@ikonai/sdk 0.0.20 → 0.0.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js
CHANGED
|
@@ -10,7 +10,7 @@ function ye(e) {
|
|
|
10
10
|
return Ne(e) & 4294901760;
|
|
11
11
|
}
|
|
12
12
|
function U(e) {
|
|
13
|
-
const l =
|
|
13
|
+
const l = Fe(e), i = new DataView(l.buffer, l.byteOffset, l.byteLength);
|
|
14
14
|
if (l.length < 27)
|
|
15
15
|
throw new Error("Protocol payload too short");
|
|
16
16
|
const s = i.getUint32(0, !0), d = i.getUint32(4, !0), a = i.getUint32(8, !0), c = i.getUint32(12, !0), f = i.getUint32(16, !0), w = i.getUint32(20, !0), h = i.getUint8(24), o = i.getUint8(25), r = i.getUint8(26);
|
|
@@ -33,7 +33,7 @@ function U(e) {
|
|
|
33
33
|
};
|
|
34
34
|
}
|
|
35
35
|
function M(e, l, i) {
|
|
36
|
-
const s =
|
|
36
|
+
const s = Fe(e), d = U(s);
|
|
37
37
|
if (l !== void 0 && d.opcode !== l)
|
|
38
38
|
throw new Error(`Unexpected opcode ${d.opcode}`);
|
|
39
39
|
if (i !== void 0 && d.payloadVersion !== i)
|
|
@@ -57,7 +57,7 @@ class y {
|
|
|
57
57
|
constructor(l = 1) {
|
|
58
58
|
this.version = l, this.buffer.writeByte(nn), this.buffer.writeVarUInt(l >>> 0);
|
|
59
59
|
}
|
|
60
|
-
buffer = new
|
|
60
|
+
buffer = new pe();
|
|
61
61
|
closed = !1;
|
|
62
62
|
cached;
|
|
63
63
|
writeInt32Field(l, i) {
|
|
@@ -129,7 +129,7 @@ class je {
|
|
|
129
129
|
constructor(l) {
|
|
130
130
|
this.elementType = l;
|
|
131
131
|
}
|
|
132
|
-
payload = new
|
|
132
|
+
payload = new pe();
|
|
133
133
|
count = 0;
|
|
134
134
|
writeInt32(l) {
|
|
135
135
|
this.ensureElementType(
|
|
@@ -228,7 +228,7 @@ class je {
|
|
|
228
228
|
this.payload.writeBytes(a);
|
|
229
229
|
}
|
|
230
230
|
finish() {
|
|
231
|
-
const l = new
|
|
231
|
+
const l = new pe();
|
|
232
232
|
return l.writeByte(Me(this.elementType)), l.writeVarUInt(this.count), l.writeBytes(this.payload.toUint8Array()), l.toUint8Array();
|
|
233
233
|
}
|
|
234
234
|
ensureElementType(l) {
|
|
@@ -240,7 +240,7 @@ class or {
|
|
|
240
240
|
constructor(l, i) {
|
|
241
241
|
this.keyType = l, this.valueType = i, ir(l);
|
|
242
242
|
}
|
|
243
|
-
payload = new
|
|
243
|
+
payload = new pe();
|
|
244
244
|
count = 0;
|
|
245
245
|
entryOpen = !1;
|
|
246
246
|
beginEntry() {
|
|
@@ -253,7 +253,7 @@ class or {
|
|
|
253
253
|
finish() {
|
|
254
254
|
if (this.entryOpen)
|
|
255
255
|
throw new Error("Dictionary entry not completed");
|
|
256
|
-
const l = new
|
|
256
|
+
const l = new pe();
|
|
257
257
|
return l.writeByte(Me(this.keyType)), l.writeByte(Me(this.valueType)), l.writeVarUInt(this.count), l.writeBytes(this.payload.toUint8Array()), l.toUint8Array();
|
|
258
258
|
}
|
|
259
259
|
}
|
|
@@ -455,7 +455,7 @@ class E {
|
|
|
455
455
|
offset;
|
|
456
456
|
end;
|
|
457
457
|
static create(l) {
|
|
458
|
-
const i =
|
|
458
|
+
const i = Fe(l);
|
|
459
459
|
if (i.length < 2)
|
|
460
460
|
throw new Error("Teleport payload too short");
|
|
461
461
|
if (i[0] !== nn || i[i.length - 1] !== ln)
|
|
@@ -601,7 +601,7 @@ class nr {
|
|
|
601
601
|
this.count = G(l, s, "ArrayMalformed"), this.offset = s.offset;
|
|
602
602
|
}
|
|
603
603
|
static create(l) {
|
|
604
|
-
return new nr(
|
|
604
|
+
return new nr(Fe(l));
|
|
605
605
|
}
|
|
606
606
|
next() {
|
|
607
607
|
if (this.index >= this.count) {
|
|
@@ -675,7 +675,7 @@ class lr {
|
|
|
675
675
|
this.count = G(l, i, "DictMalformed"), this.offset = i.offset;
|
|
676
676
|
}
|
|
677
677
|
static create(l) {
|
|
678
|
-
return new lr(
|
|
678
|
+
return new lr(Fe(l));
|
|
679
679
|
}
|
|
680
680
|
next() {
|
|
681
681
|
if (this.index >= this.count) {
|
|
@@ -818,7 +818,7 @@ class D {
|
|
|
818
818
|
return (l >>> 0).toString(16).padStart(i, "0");
|
|
819
819
|
}
|
|
820
820
|
}
|
|
821
|
-
class
|
|
821
|
+
class pe {
|
|
822
822
|
bytes = [];
|
|
823
823
|
writeByte(l) {
|
|
824
824
|
this.bytes.push(l & 255);
|
|
@@ -971,10 +971,10 @@ function Ye(e, l, i, s) {
|
|
|
971
971
|
function pr(e) {
|
|
972
972
|
return Array.from(e).map((l) => l.toString(16).padStart(2, "0")).join("");
|
|
973
973
|
}
|
|
974
|
-
function
|
|
974
|
+
function Fe(e) {
|
|
975
975
|
return e instanceof Uint8Array ? e : new Uint8Array(e);
|
|
976
976
|
}
|
|
977
|
-
var
|
|
977
|
+
var he;
|
|
978
978
|
((e) => {
|
|
979
979
|
e.TeleportVersion = 1, e.TeleportOpcode = 0, e.TeleportLayoutHash = 213871793, e.ActionIdFieldId = 727023925, e.DescriptionFieldId = 1368629611;
|
|
980
980
|
function l(o) {
|
|
@@ -1033,7 +1033,7 @@ var we;
|
|
|
1033
1033
|
return a(t, r);
|
|
1034
1034
|
}
|
|
1035
1035
|
e.fromProtocolMessage = h;
|
|
1036
|
-
})(
|
|
1036
|
+
})(he || (he = {}));
|
|
1037
1037
|
var Tr;
|
|
1038
1038
|
((e) => {
|
|
1039
1039
|
e.TeleportVersion = 2, e.TeleportOpcode = 1048578, e.TeleportLayoutHash = 2972842713, e.DescriptionFieldId = 1368629611, e.IsFinishedFieldId = 4172191587;
|
|
@@ -1154,7 +1154,7 @@ var Fr;
|
|
|
1154
1154
|
}
|
|
1155
1155
|
e.fromProtocolMessage = h;
|
|
1156
1156
|
})(Fr || (Fr = {}));
|
|
1157
|
-
var
|
|
1157
|
+
var mr;
|
|
1158
1158
|
((e) => {
|
|
1159
1159
|
e.TeleportVersion = 1, e.TeleportOpcode = 1048577, e.TeleportLayoutHash = 1470463683, e.ActionIdFieldId = 727023925, e.CallArgumentsJsonFieldId = 2749491771, e.ClientFunctionResultsFieldId = 3123601234, e.CallIdFieldId = 3748161056;
|
|
1160
1160
|
function l(r) {
|
|
@@ -1258,47 +1258,47 @@ var br;
|
|
|
1258
1258
|
}
|
|
1259
1259
|
r.writeToTeleport = I;
|
|
1260
1260
|
function N(T, p) {
|
|
1261
|
-
const
|
|
1262
|
-
return F(
|
|
1261
|
+
const m = E.create(T);
|
|
1262
|
+
return F(m, p);
|
|
1263
1263
|
}
|
|
1264
1264
|
r.decode = N;
|
|
1265
1265
|
function F(T, p) {
|
|
1266
|
-
const
|
|
1267
|
-
return n(
|
|
1266
|
+
const m = p ?? t();
|
|
1267
|
+
return n(m), b(T, m), m;
|
|
1268
1268
|
}
|
|
1269
1269
|
r.readFromTeleport = F;
|
|
1270
|
-
function
|
|
1271
|
-
let
|
|
1272
|
-
for (; (
|
|
1273
|
-
switch (
|
|
1270
|
+
function b(T, p) {
|
|
1271
|
+
let m;
|
|
1272
|
+
for (; (m = T.next()) !== null; )
|
|
1273
|
+
switch (m.fieldId) {
|
|
1274
1274
|
case r.ErrorFieldId: {
|
|
1275
|
-
if (
|
|
1275
|
+
if (m.isNull)
|
|
1276
1276
|
throw new Error("Field Error cannot be null");
|
|
1277
|
-
p.Error =
|
|
1277
|
+
p.Error = m.asString();
|
|
1278
1278
|
break;
|
|
1279
1279
|
}
|
|
1280
1280
|
case r.CallIndexFieldId: {
|
|
1281
|
-
if (
|
|
1281
|
+
if (m.isNull)
|
|
1282
1282
|
throw new Error("Field CallIndex cannot be null");
|
|
1283
|
-
p.CallIndex =
|
|
1283
|
+
p.CallIndex = m.asInt32();
|
|
1284
1284
|
break;
|
|
1285
1285
|
}
|
|
1286
1286
|
case r.FunctionNameFieldId: {
|
|
1287
|
-
if (
|
|
1287
|
+
if (m.isNull)
|
|
1288
1288
|
throw new Error("Field FunctionName cannot be null");
|
|
1289
|
-
p.FunctionName =
|
|
1289
|
+
p.FunctionName = m.asString();
|
|
1290
1290
|
break;
|
|
1291
1291
|
}
|
|
1292
1292
|
case r.ResultJsonFieldId: {
|
|
1293
|
-
if (
|
|
1293
|
+
if (m.isNull)
|
|
1294
1294
|
throw new Error("Field ResultJson cannot be null");
|
|
1295
|
-
p.ResultJson =
|
|
1295
|
+
p.ResultJson = m.asString();
|
|
1296
1296
|
break;
|
|
1297
1297
|
}
|
|
1298
1298
|
}
|
|
1299
1299
|
}
|
|
1300
1300
|
})(e.ActionClientFunctionResult || (e.ActionClientFunctionResult = {}));
|
|
1301
|
-
})(
|
|
1301
|
+
})(mr || (mr = {}));
|
|
1302
1302
|
var Xe;
|
|
1303
1303
|
((e) => {
|
|
1304
1304
|
e.TeleportVersion = 1, e.TeleportOpcode = 1048637, e.TeleportLayoutHash = 3197858841, e.ActionIdFieldId = 727023925, e.PayloadJsonFieldId = 3395085689;
|
|
@@ -1359,7 +1359,7 @@ var Xe;
|
|
|
1359
1359
|
}
|
|
1360
1360
|
e.fromProtocolMessage = h;
|
|
1361
1361
|
})(Xe || (Xe = {}));
|
|
1362
|
-
var
|
|
1362
|
+
var br;
|
|
1363
1363
|
((e) => {
|
|
1364
1364
|
e.TeleportVersion = 1, e.TeleportOpcode = 1048616, e.TeleportLayoutHash = 3168041334, e.ResultJsonFieldId = 3403385840, e.CallIdFieldId = 3748161056;
|
|
1365
1365
|
function l(o) {
|
|
@@ -1418,7 +1418,7 @@ var mr;
|
|
|
1418
1418
|
return a(t, r);
|
|
1419
1419
|
}
|
|
1420
1420
|
e.fromProtocolMessage = h;
|
|
1421
|
-
})(
|
|
1421
|
+
})(br || (br = {}));
|
|
1422
1422
|
var yr;
|
|
1423
1423
|
((e) => {
|
|
1424
1424
|
e.TeleportVersion = 1, e.TeleportOpcode = 1048611, e.TeleportLayoutHash = 2819248366, e.ActionIdFieldId = 727023925, e.TextFieldId = 2069861431;
|
|
@@ -1616,41 +1616,41 @@ var Nr;
|
|
|
1616
1616
|
}
|
|
1617
1617
|
r.writeToTeleport = I;
|
|
1618
1618
|
function N(T, p) {
|
|
1619
|
-
const
|
|
1620
|
-
return F(
|
|
1619
|
+
const m = E.create(T);
|
|
1620
|
+
return F(m, p);
|
|
1621
1621
|
}
|
|
1622
1622
|
r.decode = N;
|
|
1623
1623
|
function F(T, p) {
|
|
1624
|
-
const
|
|
1625
|
-
return n(
|
|
1624
|
+
const m = p ?? t();
|
|
1625
|
+
return n(m), b(T, m), m;
|
|
1626
1626
|
}
|
|
1627
1627
|
r.readFromTeleport = F;
|
|
1628
|
-
function
|
|
1629
|
-
let
|
|
1630
|
-
for (; (
|
|
1631
|
-
switch (
|
|
1628
|
+
function b(T, p) {
|
|
1629
|
+
let m;
|
|
1630
|
+
for (; (m = T.next()) !== null; )
|
|
1631
|
+
switch (m.fieldId) {
|
|
1632
1632
|
case r.LabelFieldId: {
|
|
1633
|
-
if (
|
|
1633
|
+
if (m.isNull)
|
|
1634
1634
|
throw new Error("Field Label cannot be null");
|
|
1635
|
-
p.Label =
|
|
1635
|
+
p.Label = m.asString();
|
|
1636
1636
|
break;
|
|
1637
1637
|
}
|
|
1638
1638
|
case r.ScoreFieldId: {
|
|
1639
|
-
if (
|
|
1639
|
+
if (m.isNull)
|
|
1640
1640
|
throw new Error("Field Score cannot be null");
|
|
1641
|
-
p.Score =
|
|
1641
|
+
p.Score = m.asFloat64();
|
|
1642
1642
|
break;
|
|
1643
1643
|
}
|
|
1644
1644
|
case r.IsFlaggedFieldId: {
|
|
1645
|
-
if (
|
|
1645
|
+
if (m.isNull)
|
|
1646
1646
|
throw new Error("Field IsFlagged cannot be null");
|
|
1647
|
-
p.IsFlagged =
|
|
1647
|
+
p.IsFlagged = m.asBool();
|
|
1648
1648
|
break;
|
|
1649
1649
|
}
|
|
1650
1650
|
case r.OriginalCategoryFieldId: {
|
|
1651
|
-
if (
|
|
1651
|
+
if (m.isNull)
|
|
1652
1652
|
throw new Error("Field OriginalCategory cannot be null");
|
|
1653
|
-
p.OriginalCategory =
|
|
1653
|
+
p.OriginalCategory = m.asString();
|
|
1654
1654
|
break;
|
|
1655
1655
|
}
|
|
1656
1656
|
}
|
|
@@ -2427,8 +2427,8 @@ var jr;
|
|
|
2427
2427
|
((r) => {
|
|
2428
2428
|
r.TeleportVersion = 1, r.TeleportLayoutHash = 3775948468, r.CallIndexFieldId = 719441180, r.FunctionNameFieldId = 814454131, r.ParametersFieldId = 2885165957;
|
|
2429
2429
|
function t(p) {
|
|
2430
|
-
const
|
|
2431
|
-
return n(
|
|
2430
|
+
const m = {};
|
|
2431
|
+
return n(m), p && Object.assign(m, p), m;
|
|
2432
2432
|
}
|
|
2433
2433
|
r.create = t;
|
|
2434
2434
|
function n(p) {
|
|
@@ -2436,59 +2436,59 @@ var jr;
|
|
|
2436
2436
|
}
|
|
2437
2437
|
r.reset = n;
|
|
2438
2438
|
function u(p) {
|
|
2439
|
-
const
|
|
2440
|
-
return I(p,
|
|
2439
|
+
const m = new y(r.TeleportVersion);
|
|
2440
|
+
return I(p, m), m.finish();
|
|
2441
2441
|
}
|
|
2442
2442
|
r.encode = u;
|
|
2443
|
-
function I(p,
|
|
2444
|
-
|
|
2443
|
+
function I(p, m) {
|
|
2444
|
+
m.writeInt32Field(r.CallIndexFieldId, p.CallIndex | 0), m.writeStringField(r.FunctionNameFieldId, p.FunctionName), m.writeArrayField(r.ParametersFieldId, C.Object, (P) => {
|
|
2445
2445
|
for (const V of p.Parameters)
|
|
2446
|
-
P.writeObject(
|
|
2447
|
-
|
|
2446
|
+
P.writeObject(q.TeleportVersion, (_) => {
|
|
2447
|
+
q.writeToTeleport(V, _);
|
|
2448
2448
|
});
|
|
2449
2449
|
});
|
|
2450
2450
|
}
|
|
2451
2451
|
r.writeToTeleport = I;
|
|
2452
|
-
function N(p,
|
|
2452
|
+
function N(p, m) {
|
|
2453
2453
|
const P = E.create(p);
|
|
2454
|
-
return F(P,
|
|
2454
|
+
return F(P, m);
|
|
2455
2455
|
}
|
|
2456
2456
|
r.decode = N;
|
|
2457
|
-
function F(p,
|
|
2458
|
-
const P =
|
|
2459
|
-
return n(P),
|
|
2457
|
+
function F(p, m) {
|
|
2458
|
+
const P = m ?? t();
|
|
2459
|
+
return n(P), b(p, P), P;
|
|
2460
2460
|
}
|
|
2461
2461
|
r.readFromTeleport = F;
|
|
2462
|
-
function
|
|
2462
|
+
function b(p, m) {
|
|
2463
2463
|
let P;
|
|
2464
2464
|
for (; (P = p.next()) !== null; )
|
|
2465
2465
|
switch (P.fieldId) {
|
|
2466
2466
|
case r.CallIndexFieldId: {
|
|
2467
2467
|
if (P.isNull)
|
|
2468
2468
|
throw new Error("Field CallIndex cannot be null");
|
|
2469
|
-
|
|
2469
|
+
m.CallIndex = P.asInt32();
|
|
2470
2470
|
break;
|
|
2471
2471
|
}
|
|
2472
2472
|
case r.FunctionNameFieldId: {
|
|
2473
2473
|
if (P.isNull)
|
|
2474
2474
|
throw new Error("Field FunctionName cannot be null");
|
|
2475
|
-
|
|
2475
|
+
m.FunctionName = P.asString();
|
|
2476
2476
|
break;
|
|
2477
2477
|
}
|
|
2478
2478
|
case r.ParametersFieldId: {
|
|
2479
2479
|
if (P.isNull)
|
|
2480
2480
|
throw new Error("Field Parameters cannot be null");
|
|
2481
|
-
|
|
2481
|
+
m.Parameters = T(P.asArray());
|
|
2482
2482
|
break;
|
|
2483
2483
|
}
|
|
2484
2484
|
}
|
|
2485
2485
|
}
|
|
2486
2486
|
function T(p) {
|
|
2487
|
-
const
|
|
2487
|
+
const m = [];
|
|
2488
2488
|
let P;
|
|
2489
2489
|
for (; (P = p.next()) !== null; )
|
|
2490
|
-
|
|
2491
|
-
return
|
|
2490
|
+
m.push(q.readFromTeleport(P.asObject()));
|
|
2491
|
+
return m;
|
|
2492
2492
|
}
|
|
2493
2493
|
})(e.ActionOptimisticClientCall || (e.ActionOptimisticClientCall = {}));
|
|
2494
2494
|
})(jr || (jr = {}));
|
|
@@ -4129,41 +4129,41 @@ var ct;
|
|
|
4129
4129
|
}
|
|
4130
4130
|
r.writeToTeleport = I;
|
|
4131
4131
|
function N(T, p) {
|
|
4132
|
-
const
|
|
4133
|
-
return F(
|
|
4132
|
+
const m = E.create(T);
|
|
4133
|
+
return F(m, p);
|
|
4134
4134
|
}
|
|
4135
4135
|
r.decode = N;
|
|
4136
4136
|
function F(T, p) {
|
|
4137
|
-
const
|
|
4138
|
-
return n(
|
|
4137
|
+
const m = p ?? t();
|
|
4138
|
+
return n(m), b(T, m), m;
|
|
4139
4139
|
}
|
|
4140
4140
|
r.readFromTeleport = F;
|
|
4141
|
-
function
|
|
4142
|
-
let
|
|
4143
|
-
for (; (
|
|
4144
|
-
switch (
|
|
4141
|
+
function b(T, p) {
|
|
4142
|
+
let m;
|
|
4143
|
+
for (; (m = T.next()) !== null; )
|
|
4144
|
+
switch (m.fieldId) {
|
|
4145
4145
|
case r.EventNameFieldId: {
|
|
4146
|
-
if (
|
|
4146
|
+
if (m.isNull)
|
|
4147
4147
|
throw new Error("Field EventName cannot be null");
|
|
4148
|
-
p.EventName =
|
|
4148
|
+
p.EventName = m.asString();
|
|
4149
4149
|
break;
|
|
4150
4150
|
}
|
|
4151
4151
|
case r.MessageFieldId: {
|
|
4152
|
-
if (
|
|
4152
|
+
if (m.isNull)
|
|
4153
4153
|
throw new Error("Field Message cannot be null");
|
|
4154
|
-
p.Message =
|
|
4154
|
+
p.Message = m.asString();
|
|
4155
4155
|
break;
|
|
4156
4156
|
}
|
|
4157
4157
|
case r.ParametersFieldId: {
|
|
4158
|
-
if (
|
|
4158
|
+
if (m.isNull)
|
|
4159
4159
|
throw new Error("Field Parameters cannot be null");
|
|
4160
|
-
p.Parameters =
|
|
4160
|
+
p.Parameters = m.asString();
|
|
4161
4161
|
break;
|
|
4162
4162
|
}
|
|
4163
4163
|
case r.TimeFieldId: {
|
|
4164
|
-
if (
|
|
4164
|
+
if (m.isNull)
|
|
4165
4165
|
throw new Error("Field Time cannot be null");
|
|
4166
|
-
p.Time =
|
|
4166
|
+
p.Time = m.asString();
|
|
4167
4167
|
break;
|
|
4168
4168
|
}
|
|
4169
4169
|
}
|
|
@@ -4370,41 +4370,41 @@ var ft;
|
|
|
4370
4370
|
}
|
|
4371
4371
|
r.writeToTeleport = I;
|
|
4372
4372
|
function N(T, p) {
|
|
4373
|
-
const
|
|
4374
|
-
return F(
|
|
4373
|
+
const m = E.create(T);
|
|
4374
|
+
return F(m, p);
|
|
4375
4375
|
}
|
|
4376
4376
|
r.decode = N;
|
|
4377
4377
|
function F(T, p) {
|
|
4378
|
-
const
|
|
4379
|
-
return n(
|
|
4378
|
+
const m = p ?? t();
|
|
4379
|
+
return n(m), b(T, m), m;
|
|
4380
4380
|
}
|
|
4381
4381
|
r.readFromTeleport = F;
|
|
4382
|
-
function
|
|
4383
|
-
let
|
|
4384
|
-
for (; (
|
|
4385
|
-
switch (
|
|
4382
|
+
function b(T, p) {
|
|
4383
|
+
let m;
|
|
4384
|
+
for (; (m = T.next()) !== null; )
|
|
4385
|
+
switch (m.fieldId) {
|
|
4386
4386
|
case r.MessageFieldId: {
|
|
4387
|
-
if (
|
|
4387
|
+
if (m.isNull)
|
|
4388
4388
|
throw new Error("Field Message cannot be null");
|
|
4389
|
-
p.Message =
|
|
4389
|
+
p.Message = m.asString();
|
|
4390
4390
|
break;
|
|
4391
4391
|
}
|
|
4392
4392
|
case r.ParametersFieldId: {
|
|
4393
|
-
if (
|
|
4393
|
+
if (m.isNull)
|
|
4394
4394
|
throw new Error("Field Parameters cannot be null");
|
|
4395
|
-
p.Parameters =
|
|
4395
|
+
p.Parameters = m.asString();
|
|
4396
4396
|
break;
|
|
4397
4397
|
}
|
|
4398
4398
|
case r.TypeFieldId: {
|
|
4399
|
-
if (
|
|
4399
|
+
if (m.isNull)
|
|
4400
4400
|
throw new Error("Field Type cannot be null");
|
|
4401
|
-
p.Type =
|
|
4401
|
+
p.Type = m.asInt32();
|
|
4402
4402
|
break;
|
|
4403
4403
|
}
|
|
4404
4404
|
case r.TimeFieldId: {
|
|
4405
|
-
if (
|
|
4405
|
+
if (m.isNull)
|
|
4406
4406
|
throw new Error("Field Time cannot be null");
|
|
4407
|
-
p.Time =
|
|
4407
|
+
p.Time = m.asString();
|
|
4408
4408
|
break;
|
|
4409
4409
|
}
|
|
4410
4410
|
}
|
|
@@ -4435,8 +4435,8 @@ var wt;
|
|
|
4435
4435
|
const N = I, F = u[I];
|
|
4436
4436
|
if (F == null)
|
|
4437
4437
|
continue;
|
|
4438
|
-
const
|
|
4439
|
-
|
|
4438
|
+
const b = n.beginEntry();
|
|
4439
|
+
b.writeKeyString(N), b.writeValueFloat64(F), b.complete();
|
|
4440
4440
|
}
|
|
4441
4441
|
});
|
|
4442
4442
|
}
|
|
@@ -4579,8 +4579,8 @@ var ht;
|
|
|
4579
4579
|
const N = I, F = u[I];
|
|
4580
4580
|
if (F == null)
|
|
4581
4581
|
continue;
|
|
4582
|
-
const
|
|
4583
|
-
|
|
4582
|
+
const b = n.beginEntry();
|
|
4583
|
+
b.writeKeyString(N), b.writeValueFloat32(F), b.complete();
|
|
4584
4584
|
}
|
|
4585
4585
|
});
|
|
4586
4586
|
}
|
|
@@ -4959,41 +4959,41 @@ var Tt;
|
|
|
4959
4959
|
}
|
|
4960
4960
|
r.writeToTeleport = I;
|
|
4961
4961
|
function N(T, p) {
|
|
4962
|
-
const
|
|
4963
|
-
return F(
|
|
4962
|
+
const m = E.create(T);
|
|
4963
|
+
return F(m, p);
|
|
4964
4964
|
}
|
|
4965
4965
|
r.decode = N;
|
|
4966
4966
|
function F(T, p) {
|
|
4967
|
-
const
|
|
4968
|
-
return n(
|
|
4967
|
+
const m = p ?? t();
|
|
4968
|
+
return n(m), b(T, m), m;
|
|
4969
4969
|
}
|
|
4970
4970
|
r.readFromTeleport = F;
|
|
4971
|
-
function
|
|
4972
|
-
let
|
|
4973
|
-
for (; (
|
|
4974
|
-
switch (
|
|
4971
|
+
function b(T, p) {
|
|
4972
|
+
let m;
|
|
4973
|
+
for (; (m = T.next()) !== null; )
|
|
4974
|
+
switch (m.fieldId) {
|
|
4975
4975
|
case r.EventNameFieldId: {
|
|
4976
|
-
if (
|
|
4976
|
+
if (m.isNull)
|
|
4977
4977
|
throw new Error("Field EventName cannot be null");
|
|
4978
|
-
p.EventName =
|
|
4978
|
+
p.EventName = m.asString();
|
|
4979
4979
|
break;
|
|
4980
4980
|
}
|
|
4981
4981
|
case r.UsageFieldId: {
|
|
4982
|
-
if (
|
|
4982
|
+
if (m.isNull)
|
|
4983
4983
|
throw new Error("Field Usage cannot be null");
|
|
4984
|
-
p.Usage =
|
|
4984
|
+
p.Usage = m.asFloat32();
|
|
4985
4985
|
break;
|
|
4986
4986
|
}
|
|
4987
4987
|
case r.ParametersFieldId: {
|
|
4988
|
-
if (
|
|
4988
|
+
if (m.isNull)
|
|
4989
4989
|
throw new Error("Field Parameters cannot be null");
|
|
4990
|
-
p.Parameters =
|
|
4990
|
+
p.Parameters = m.asString();
|
|
4991
4991
|
break;
|
|
4992
4992
|
}
|
|
4993
4993
|
case r.TimeFieldId: {
|
|
4994
|
-
if (
|
|
4994
|
+
if (m.isNull)
|
|
4995
4995
|
throw new Error("Field Time cannot be null");
|
|
4996
|
-
p.Time =
|
|
4996
|
+
p.Time = m.asString();
|
|
4997
4997
|
break;
|
|
4998
4998
|
}
|
|
4999
4999
|
}
|
|
@@ -5102,7 +5102,7 @@ var Ft;
|
|
|
5102
5102
|
}
|
|
5103
5103
|
e.fromProtocolMessage = h;
|
|
5104
5104
|
})(Ft || (Ft = {}));
|
|
5105
|
-
var
|
|
5105
|
+
var mt;
|
|
5106
5106
|
((e) => {
|
|
5107
5107
|
e.TeleportVersion = 1, e.TeleportOpcode = 4194309, e.TeleportLayoutHash = 2782422021, e.AverageVolumeFieldId = 205938238, e.IsFirstFieldId = 1594075008, e.TimeStampInInterleavedSamplesFieldId = 2026534360, e.SamplesFieldId = 3409001585, e.AudioEventEstimatedDurationFieldId = 3466650495, e.FrameSizeInInterleavedSamplesFieldId = 4007456593, e.IsLastFieldId = 4017217601, e.SequenceFieldId = 4065417427, e.EpochFieldId = 4086360332;
|
|
5108
5108
|
function l(o) {
|
|
@@ -5203,8 +5203,8 @@ var bt;
|
|
|
5203
5203
|
return a(t, r);
|
|
5204
5204
|
}
|
|
5205
5205
|
e.fromProtocolMessage = h;
|
|
5206
|
-
})(
|
|
5207
|
-
var
|
|
5206
|
+
})(mt || (mt = {}));
|
|
5207
|
+
var bt;
|
|
5208
5208
|
((e) => {
|
|
5209
5209
|
e.TeleportVersion = 1, e.TeleportOpcode = 4194308, e.TeleportLayoutHash = 1723412637, e.VolumeFieldId = 2079085407, e.CountFieldId = 3485914759;
|
|
5210
5210
|
function l(o) {
|
|
@@ -5263,7 +5263,7 @@ var mt;
|
|
|
5263
5263
|
return a(t, r);
|
|
5264
5264
|
}
|
|
5265
5265
|
e.fromProtocolMessage = h;
|
|
5266
|
-
})(
|
|
5266
|
+
})(bt || (bt = {}));
|
|
5267
5267
|
var re;
|
|
5268
5268
|
((e) => {
|
|
5269
5269
|
e.TeleportVersion = 1, e.TeleportOpcode = 4194305, e.TeleportLayoutHash = 2116996259, e.DescriptionFieldId = 1368629611, e.ChannelsFieldId = 2431514951, e.BitDepthFieldId = 2914494629, e.CodecFieldId = 3284746250, e.SampleRateFieldId = 4101844078;
|
|
@@ -5407,8 +5407,8 @@ var Qe;
|
|
|
5407
5407
|
function d(t, n) {
|
|
5408
5408
|
n.writeStringField(e.CertHashFieldId, t.CertHash), n.writeArrayField(e.EntrypointsFieldId, C.Object, (u) => {
|
|
5409
5409
|
for (const I of t.Entrypoints)
|
|
5410
|
-
u.writeObject(
|
|
5411
|
-
|
|
5410
|
+
u.writeObject(Ie.TeleportVersion, (N) => {
|
|
5411
|
+
Ie.writeToTeleport(I, N);
|
|
5412
5412
|
});
|
|
5413
5413
|
}), n.writeStringField(e.ChannelIdFieldId, t.ChannelId), n.writeObjectField(e.ClientContextFieldId, L.TeleportVersion, (u) => {
|
|
5414
5414
|
L.writeToTeleport(t.ClientContext, u);
|
|
@@ -5417,11 +5417,11 @@ var Qe;
|
|
|
5417
5417
|
}), n.writeDictionaryField(e.FeatureFlagsFieldId, C.String, C.Bool, (u) => {
|
|
5418
5418
|
const I = t.FeatureFlags;
|
|
5419
5419
|
for (const N of Object.keys(I)) {
|
|
5420
|
-
const F = N,
|
|
5421
|
-
if (
|
|
5420
|
+
const F = N, b = I[N];
|
|
5421
|
+
if (b == null)
|
|
5422
5422
|
continue;
|
|
5423
5423
|
const T = u.beginEntry();
|
|
5424
|
-
T.writeKeyString(F), T.writeValueBool(
|
|
5424
|
+
T.writeKeyString(F), T.writeValueBool(b), T.complete();
|
|
5425
5425
|
}
|
|
5426
5426
|
}), n.writeStringField(e.SpaceIdFieldId, t.SpaceId), n.writeStringField(e.PrimaryUserIdFieldId, t.PrimaryUserId), n.writeStringField(e.ChannelTemplateIdFieldId, t.ChannelTemplateId);
|
|
5427
5427
|
}
|
|
@@ -5510,7 +5510,7 @@ var Qe;
|
|
|
5510
5510
|
const n = [];
|
|
5511
5511
|
let u;
|
|
5512
5512
|
for (; (u = t.next()) !== null; )
|
|
5513
|
-
n.push(
|
|
5513
|
+
n.push(Ie.readFromTeleport(u.asObject()));
|
|
5514
5514
|
return n;
|
|
5515
5515
|
}
|
|
5516
5516
|
function r(t) {
|
|
@@ -5699,8 +5699,8 @@ var Ze;
|
|
|
5699
5699
|
const N = I, F = u[I];
|
|
5700
5700
|
if (F == null)
|
|
5701
5701
|
continue;
|
|
5702
|
-
const
|
|
5703
|
-
|
|
5702
|
+
const b = n.beginEntry();
|
|
5703
|
+
b.writeKeyString(N), b.writeValueString(F), b.complete();
|
|
5704
5704
|
}
|
|
5705
5705
|
}), t.writeBoolField(e.IsInternalFieldId, r.IsInternal), t.writeInt32Field(e.OpcodeGroupsToServerFieldId, r.OpcodeGroupsToServer), t.writeStringField(e.ChannelLocaleFieldId, r.ChannelLocale), t.writeInt32Field(e.ProtocolVersionFieldId, r.ProtocolVersion | 0), t.writeStringField(e.ServerSessionIdFieldId, r.ServerSessionId), t.writeStringField(e.EmbeddedSpaceIdFieldId, r.EmbeddedSpaceId);
|
|
5706
5706
|
}
|
|
@@ -5885,7 +5885,7 @@ var Ze;
|
|
|
5885
5885
|
return t;
|
|
5886
5886
|
}
|
|
5887
5887
|
})(Ze || (Ze = {}));
|
|
5888
|
-
var
|
|
5888
|
+
var Ie;
|
|
5889
5889
|
((e) => {
|
|
5890
5890
|
e.TeleportVersion = 1, e.TeleportOpcode = 0, e.TeleportLayoutHash = 2083170344, e.AuthTicketFieldId = 746516514, e.PriorityFieldId = 877841741, e.OpcodeGroupsFromServerFieldId = 1175184220, e.DescriptionFieldId = 1368629611, e.UriFieldId = 2341021724, e.TypeFieldId = 3167053791, e.OpcodeGroupsToServerFieldId = 3686066300;
|
|
5891
5891
|
function l(o) {
|
|
@@ -5974,7 +5974,7 @@ var he;
|
|
|
5974
5974
|
return a(t, r);
|
|
5975
5975
|
}
|
|
5976
5976
|
e.fromProtocolMessage = h;
|
|
5977
|
-
})(
|
|
5977
|
+
})(Ie || (Ie = {}));
|
|
5978
5978
|
var L;
|
|
5979
5979
|
((e) => {
|
|
5980
5980
|
e.TeleportVersion = 1, e.TeleportOpcode = 0, e.TeleportLayoutHash = 3224759234, e.DeviceIdFieldId = 76337612, e.InstallIdFieldId = 185396121, e.UserAgentFieldId = 388632637, e.ContextTypeFieldId = 417197284, e.HasInputFieldId = 469070965, e.UserTypeFieldId = 470595159, e.UserIdFieldId = 781727218, e.ProductIdFieldId = 834078886, e.AuthSessionIdFieldId = 1043273762, e.ReceiveAllMessagesFieldId = 1236999138, e.DescriptionFieldId = 1368629611, e.LocaleFieldId = 1715899485, e.SdkTypeFieldId = 1942830531, e.SessionIdFieldId = 1999510636, e.PreciseJoinedAtFieldId = 2079864626, e.PayloadTypeFieldId = 2142346422, e.VersionIdFieldId = 2598291686, e.UniqueSessionIdFieldId = 2719718823, e.ClientTypeFieldId = 2810953526, e.IsReadyFieldId = 2840065720, e.ParametersFieldId = 2885165957, e.IsInternalFieldId = 3586157513, e.ChannelLocaleFieldId = 3717933110, e.EmbeddedSpaceIdFieldId = 4062655306;
|
|
@@ -5999,8 +5999,8 @@ var L;
|
|
|
5999
5999
|
const N = I, F = u[I];
|
|
6000
6000
|
if (F == null)
|
|
6001
6001
|
continue;
|
|
6002
|
-
const
|
|
6003
|
-
|
|
6002
|
+
const b = n.beginEntry();
|
|
6003
|
+
b.writeKeyString(N), b.writeValueString(F), b.complete();
|
|
6004
6004
|
}
|
|
6005
6005
|
}), t.writeBoolField(e.IsInternalFieldId, r.IsInternal), t.writeStringField(e.ChannelLocaleFieldId, r.ChannelLocale), t.writeStringField(e.EmbeddedSpaceIdFieldId, r.EmbeddedSpaceId);
|
|
6006
6006
|
}
|
|
@@ -6660,8 +6660,8 @@ var qe;
|
|
|
6660
6660
|
});
|
|
6661
6661
|
}), n.writeStringField(e.FunctionNameFieldId, t.FunctionName), n.writeGuidField(e.FunctionIdFieldId, t.FunctionId), n.writeStringField(e.ClientBackendTokenFieldId, t.ClientBackendToken), n.writeArrayField(e.ParametersFieldId, C.Object, (u) => {
|
|
6662
6662
|
for (const I of t.Parameters)
|
|
6663
|
-
u.writeObject(
|
|
6664
|
-
|
|
6663
|
+
u.writeObject(q.TeleportVersion, (N) => {
|
|
6664
|
+
q.writeToTeleport(I, N);
|
|
6665
6665
|
});
|
|
6666
6666
|
}), n.writeGuidField(e.CallIdFieldId, t.CallId), n.writeGuidField(e.InstanceIdFieldId, t.InstanceId);
|
|
6667
6667
|
}
|
|
@@ -6745,14 +6745,14 @@ var qe;
|
|
|
6745
6745
|
const n = [];
|
|
6746
6746
|
let u;
|
|
6747
6747
|
for (; (u = t.next()) !== null; )
|
|
6748
|
-
n.push(
|
|
6748
|
+
n.push(q.readFromTeleport(u.asObject()));
|
|
6749
6749
|
return n;
|
|
6750
6750
|
}
|
|
6751
6751
|
((t) => {
|
|
6752
6752
|
t.TeleportVersion = 1, t.TeleportLayoutHash = 1710859415, t.IdFieldId = 2994044322, t.TypeFieldId = 3167053791;
|
|
6753
6753
|
function n(p) {
|
|
6754
|
-
const
|
|
6755
|
-
return u(
|
|
6754
|
+
const m = {};
|
|
6755
|
+
return u(m), p && Object.assign(m, p), m;
|
|
6756
6756
|
}
|
|
6757
6757
|
t.create = n;
|
|
6758
6758
|
function u(p) {
|
|
@@ -6760,38 +6760,38 @@ var qe;
|
|
|
6760
6760
|
}
|
|
6761
6761
|
t.reset = u;
|
|
6762
6762
|
function I(p) {
|
|
6763
|
-
const
|
|
6764
|
-
return N(p,
|
|
6763
|
+
const m = new y(t.TeleportVersion);
|
|
6764
|
+
return N(p, m), m.finish();
|
|
6765
6765
|
}
|
|
6766
6766
|
t.encode = I;
|
|
6767
|
-
function N(p,
|
|
6768
|
-
|
|
6767
|
+
function N(p, m) {
|
|
6768
|
+
m.writeStringField(t.IdFieldId, p.Id), m.writeStringField(t.TypeFieldId, p.Type);
|
|
6769
6769
|
}
|
|
6770
6770
|
t.writeToTeleport = N;
|
|
6771
|
-
function F(p,
|
|
6771
|
+
function F(p, m) {
|
|
6772
6772
|
const P = E.create(p);
|
|
6773
|
-
return
|
|
6773
|
+
return b(P, m);
|
|
6774
6774
|
}
|
|
6775
6775
|
t.decode = F;
|
|
6776
|
-
function
|
|
6777
|
-
const P =
|
|
6776
|
+
function b(p, m) {
|
|
6777
|
+
const P = m ?? n();
|
|
6778
6778
|
return u(P), T(p, P), P;
|
|
6779
6779
|
}
|
|
6780
|
-
t.readFromTeleport =
|
|
6781
|
-
function T(p,
|
|
6780
|
+
t.readFromTeleport = b;
|
|
6781
|
+
function T(p, m) {
|
|
6782
6782
|
let P;
|
|
6783
6783
|
for (; (P = p.next()) !== null; )
|
|
6784
6784
|
switch (P.fieldId) {
|
|
6785
6785
|
case t.IdFieldId: {
|
|
6786
6786
|
if (P.isNull)
|
|
6787
6787
|
throw new Error("Field Id cannot be null");
|
|
6788
|
-
|
|
6788
|
+
m.Id = P.asString();
|
|
6789
6789
|
break;
|
|
6790
6790
|
}
|
|
6791
6791
|
case t.TypeFieldId: {
|
|
6792
6792
|
if (P.isNull)
|
|
6793
6793
|
throw new Error("Field Type cannot be null");
|
|
6794
|
-
|
|
6794
|
+
m.Type = P.asString();
|
|
6795
6795
|
break;
|
|
6796
6796
|
}
|
|
6797
6797
|
}
|
|
@@ -7298,71 +7298,71 @@ var X;
|
|
|
7298
7298
|
}
|
|
7299
7299
|
r.writeToTeleport = I;
|
|
7300
7300
|
function N(T, p) {
|
|
7301
|
-
const
|
|
7302
|
-
return F(
|
|
7301
|
+
const m = E.create(T);
|
|
7302
|
+
return F(m, p);
|
|
7303
7303
|
}
|
|
7304
7304
|
r.decode = N;
|
|
7305
7305
|
function F(T, p) {
|
|
7306
|
-
const
|
|
7307
|
-
return n(
|
|
7306
|
+
const m = p ?? t();
|
|
7307
|
+
return n(m), b(T, m), m;
|
|
7308
7308
|
}
|
|
7309
7309
|
r.readFromTeleport = F;
|
|
7310
|
-
function
|
|
7311
|
-
let
|
|
7312
|
-
for (; (
|
|
7313
|
-
switch (
|
|
7310
|
+
function b(T, p) {
|
|
7311
|
+
let m;
|
|
7312
|
+
for (; (m = T.next()) !== null; )
|
|
7313
|
+
switch (m.fieldId) {
|
|
7314
7314
|
case r.HasDefaultValueFieldId: {
|
|
7315
|
-
if (
|
|
7315
|
+
if (m.isNull)
|
|
7316
7316
|
throw new Error("Field HasDefaultValue cannot be null");
|
|
7317
|
-
p.HasDefaultValue =
|
|
7317
|
+
p.HasDefaultValue = m.asBool();
|
|
7318
7318
|
break;
|
|
7319
7319
|
}
|
|
7320
7320
|
case r.DefaultValueJsonFieldId: {
|
|
7321
|
-
if (
|
|
7321
|
+
if (m.isNull)
|
|
7322
7322
|
throw new Error("Field DefaultValueJson cannot be null");
|
|
7323
|
-
p.DefaultValueJson =
|
|
7323
|
+
p.DefaultValueJson = m.asString();
|
|
7324
7324
|
break;
|
|
7325
7325
|
}
|
|
7326
7326
|
case r.EnumerableItemTypeNameFieldId: {
|
|
7327
|
-
if (
|
|
7327
|
+
if (m.isNull)
|
|
7328
7328
|
throw new Error("Field EnumerableItemTypeName cannot be null");
|
|
7329
|
-
p.EnumerableItemTypeName =
|
|
7329
|
+
p.EnumerableItemTypeName = m.asString();
|
|
7330
7330
|
break;
|
|
7331
7331
|
}
|
|
7332
7332
|
case r.DescriptionFieldId: {
|
|
7333
|
-
if (
|
|
7333
|
+
if (m.isNull)
|
|
7334
7334
|
throw new Error("Field Description cannot be null");
|
|
7335
|
-
p.Description =
|
|
7335
|
+
p.Description = m.asString();
|
|
7336
7336
|
break;
|
|
7337
7337
|
}
|
|
7338
7338
|
case r.DefaultValueDataFieldId: {
|
|
7339
|
-
if (
|
|
7339
|
+
if (m.isNull)
|
|
7340
7340
|
throw new Error("Field DefaultValueData cannot be null");
|
|
7341
|
-
p.DefaultValueData =
|
|
7341
|
+
p.DefaultValueData = m.asBinary();
|
|
7342
7342
|
break;
|
|
7343
7343
|
}
|
|
7344
7344
|
case r.IsEnumerableFieldId: {
|
|
7345
|
-
if (
|
|
7345
|
+
if (m.isNull)
|
|
7346
7346
|
throw new Error("Field IsEnumerable cannot be null");
|
|
7347
|
-
p.IsEnumerable =
|
|
7347
|
+
p.IsEnumerable = m.asBool();
|
|
7348
7348
|
break;
|
|
7349
7349
|
}
|
|
7350
7350
|
case r.TypeNameFieldId: {
|
|
7351
|
-
if (
|
|
7351
|
+
if (m.isNull)
|
|
7352
7352
|
throw new Error("Field TypeName cannot be null");
|
|
7353
|
-
p.TypeName =
|
|
7353
|
+
p.TypeName = m.asString();
|
|
7354
7354
|
break;
|
|
7355
7355
|
}
|
|
7356
7356
|
case r.ParameterNameFieldId: {
|
|
7357
|
-
if (
|
|
7357
|
+
if (m.isNull)
|
|
7358
7358
|
throw new Error("Field ParameterName cannot be null");
|
|
7359
|
-
p.ParameterName =
|
|
7359
|
+
p.ParameterName = m.asString();
|
|
7360
7360
|
break;
|
|
7361
7361
|
}
|
|
7362
7362
|
case r.ParameterIndexFieldId: {
|
|
7363
|
-
if (
|
|
7363
|
+
if (m.isNull)
|
|
7364
7364
|
throw new Error("Field ParameterIndex cannot be null");
|
|
7365
|
-
p.ParameterIndex =
|
|
7365
|
+
p.ParameterIndex = m.asInt32();
|
|
7366
7366
|
break;
|
|
7367
7367
|
}
|
|
7368
7368
|
}
|
|
@@ -7513,7 +7513,7 @@ var Ce;
|
|
|
7513
7513
|
}
|
|
7514
7514
|
e.fromProtocolMessage = h;
|
|
7515
7515
|
})(Ce || (Ce = {}));
|
|
7516
|
-
var
|
|
7516
|
+
var q;
|
|
7517
7517
|
((e) => {
|
|
7518
7518
|
e.TeleportVersion = 1, e.TeleportOpcode = 0, e.TeleportLayoutHash = 760727997, e.EnumerationIdFieldId = 467348717, e.EnumerableItemTypeNameFieldId = 972460562, e.ValueJsonFieldId = 1911490601, e.IsEnumerableFieldId = 2603556958, e.TypeNameFieldId = 3609695522, e.ValueDataFieldId = 4094837378, e.ParameterIndexFieldId = 4257460908;
|
|
7519
7519
|
function l(o) {
|
|
@@ -7602,7 +7602,7 @@ var Z;
|
|
|
7602
7602
|
return a(t, r);
|
|
7603
7603
|
}
|
|
7604
7604
|
e.fromProtocolMessage = h;
|
|
7605
|
-
})(
|
|
7605
|
+
})(q || (q = {}));
|
|
7606
7606
|
var te;
|
|
7607
7607
|
((e) => {
|
|
7608
7608
|
e.TeleportVersion = 1, e.TeleportOpcode = 65549, e.TeleportLayoutHash = 4089149075;
|
|
@@ -7652,8 +7652,8 @@ var Be;
|
|
|
7652
7652
|
((e) => {
|
|
7653
7653
|
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;
|
|
7654
7654
|
function l(F) {
|
|
7655
|
-
const
|
|
7656
|
-
return i(
|
|
7655
|
+
const b = {};
|
|
7656
|
+
return i(b), F && Object.assign(b, F), b;
|
|
7657
7657
|
}
|
|
7658
7658
|
e.create = l;
|
|
7659
7659
|
function i(F) {
|
|
@@ -7661,15 +7661,15 @@ var Be;
|
|
|
7661
7661
|
}
|
|
7662
7662
|
e.reset = i;
|
|
7663
7663
|
function s(F) {
|
|
7664
|
-
const
|
|
7665
|
-
return d(F,
|
|
7664
|
+
const b = new y(e.TeleportVersion);
|
|
7665
|
+
return d(F, b), b.finish();
|
|
7666
7666
|
}
|
|
7667
7667
|
e.encode = s;
|
|
7668
|
-
function d(F,
|
|
7669
|
-
|
|
7668
|
+
function d(F, b) {
|
|
7669
|
+
b.writeStringField(e.FirstUserIdFieldId, F.FirstUserId), b.writeDictionaryField(e.ClientsFieldId, C.Int32, C.Object, (T) => {
|
|
7670
7670
|
const p = F.Clients;
|
|
7671
|
-
for (const
|
|
7672
|
-
const P = Number(
|
|
7671
|
+
for (const m of Object.keys(p)) {
|
|
7672
|
+
const P = Number(m), V = p[m];
|
|
7673
7673
|
if (V == null)
|
|
7674
7674
|
continue;
|
|
7675
7675
|
const _ = T.beginEntry();
|
|
@@ -7677,10 +7677,10 @@ var Be;
|
|
|
7677
7677
|
L.writeToTeleport(V, g);
|
|
7678
7678
|
}), _.complete();
|
|
7679
7679
|
}
|
|
7680
|
-
}),
|
|
7680
|
+
}), b.writeDictionaryField(e.TrackingStreamsFieldId, C.String, C.Object, (T) => {
|
|
7681
7681
|
const p = F.TrackingStreams;
|
|
7682
|
-
for (const
|
|
7683
|
-
const P =
|
|
7682
|
+
for (const m of Object.keys(p)) {
|
|
7683
|
+
const P = m, V = p[m];
|
|
7684
7684
|
if (V == null)
|
|
7685
7685
|
continue;
|
|
7686
7686
|
const _ = T.beginEntry();
|
|
@@ -7688,10 +7688,10 @@ var Be;
|
|
|
7688
7688
|
e.TrackingStreamState.writeToTeleport(V, g);
|
|
7689
7689
|
}), _.complete();
|
|
7690
7690
|
}
|
|
7691
|
-
}),
|
|
7691
|
+
}), b.writeStringField(e.ChannelIdFieldId, F.ChannelId), b.writeStringField(e.SessionIdFieldId, F.SessionId), b.writeStringField(e.ChannelUrlFieldId, F.ChannelUrl), b.writeStringField(e.ChannelNameFieldId, F.ChannelName), b.writeStringField(e.OrganisationNameFieldId, F.OrganisationName), b.writeDictionaryField(e.FunctionsFieldId, C.Int32, C.Array, (T) => {
|
|
7692
7692
|
const p = F.Functions;
|
|
7693
|
-
for (const
|
|
7694
|
-
const P = Number(
|
|
7693
|
+
for (const m of Object.keys(p)) {
|
|
7694
|
+
const P = Number(m), V = p[m];
|
|
7695
7695
|
if (V == null)
|
|
7696
7696
|
continue;
|
|
7697
7697
|
const _ = T.beginEntry();
|
|
@@ -7702,10 +7702,10 @@ var Be;
|
|
|
7702
7702
|
});
|
|
7703
7703
|
}), _.complete();
|
|
7704
7704
|
}
|
|
7705
|
-
}),
|
|
7705
|
+
}), b.writeDictionaryField(e.UIStreamsFieldId, C.String, C.Object, (T) => {
|
|
7706
7706
|
const p = F.UIStreams;
|
|
7707
|
-
for (const
|
|
7708
|
-
const P =
|
|
7707
|
+
for (const m of Object.keys(p)) {
|
|
7708
|
+
const P = m, V = p[m];
|
|
7709
7709
|
if (V == null)
|
|
7710
7710
|
continue;
|
|
7711
7711
|
const _ = T.beginEntry();
|
|
@@ -7713,10 +7713,10 @@ var Be;
|
|
|
7713
7713
|
e.UIStreamState.writeToTeleport(V, g);
|
|
7714
7714
|
}), _.complete();
|
|
7715
7715
|
}
|
|
7716
|
-
}),
|
|
7716
|
+
}), b.writeStringField(e.SpaceIdFieldId, F.SpaceId), b.writeStringField(e.PrimaryUserIdFieldId, F.PrimaryUserId), b.writeStringField(e.ChannelInstanceIdFieldId, F.ChannelInstanceId), b.writeDictionaryField(e.AudioStreamsFieldId, C.String, C.Object, (T) => {
|
|
7717
7717
|
const p = F.AudioStreams;
|
|
7718
|
-
for (const
|
|
7719
|
-
const P =
|
|
7718
|
+
for (const m of Object.keys(p)) {
|
|
7719
|
+
const P = m, V = p[m];
|
|
7720
7720
|
if (V == null)
|
|
7721
7721
|
continue;
|
|
7722
7722
|
const _ = T.beginEntry();
|
|
@@ -7724,10 +7724,10 @@ var Be;
|
|
|
7724
7724
|
e.AudioStreamState.writeToTeleport(V, g);
|
|
7725
7725
|
}), _.complete();
|
|
7726
7726
|
}
|
|
7727
|
-
}),
|
|
7727
|
+
}), b.writeDictionaryField(e.VideoStreamsFieldId, C.String, C.Object, (T) => {
|
|
7728
7728
|
const p = F.VideoStreams;
|
|
7729
|
-
for (const
|
|
7730
|
-
const P =
|
|
7729
|
+
for (const m of Object.keys(p)) {
|
|
7730
|
+
const P = m, V = p[m];
|
|
7731
7731
|
if (V == null)
|
|
7732
7732
|
continue;
|
|
7733
7733
|
const _ = T.beginEntry();
|
|
@@ -7735,221 +7735,221 @@ var Be;
|
|
|
7735
7735
|
e.VideoStreamState.writeToTeleport(V, g);
|
|
7736
7736
|
}), _.complete();
|
|
7737
7737
|
}
|
|
7738
|
-
}),
|
|
7738
|
+
}), b.writeStringField(e.SpaceNameFieldId, F.SpaceName);
|
|
7739
7739
|
}
|
|
7740
7740
|
e.writeToTeleport = d;
|
|
7741
|
-
function a(F,
|
|
7741
|
+
function a(F, b) {
|
|
7742
7742
|
const T = E.create(F);
|
|
7743
|
-
return c(T,
|
|
7743
|
+
return c(T, b);
|
|
7744
7744
|
}
|
|
7745
7745
|
e.decode = a;
|
|
7746
|
-
function c(F,
|
|
7747
|
-
const T =
|
|
7746
|
+
function c(F, b) {
|
|
7747
|
+
const T = b ?? l();
|
|
7748
7748
|
return i(T), f(F, T), T;
|
|
7749
7749
|
}
|
|
7750
7750
|
e.readFromTeleport = c;
|
|
7751
|
-
function f(F,
|
|
7751
|
+
function f(F, b) {
|
|
7752
7752
|
let T;
|
|
7753
7753
|
for (; (T = F.next()) !== null; )
|
|
7754
7754
|
switch (T.fieldId) {
|
|
7755
7755
|
case e.FirstUserIdFieldId: {
|
|
7756
7756
|
if (T.isNull)
|
|
7757
7757
|
throw new Error("Field FirstUserId cannot be null");
|
|
7758
|
-
|
|
7758
|
+
b.FirstUserId = T.asString();
|
|
7759
7759
|
break;
|
|
7760
7760
|
}
|
|
7761
7761
|
case e.ClientsFieldId: {
|
|
7762
7762
|
if (T.isNull)
|
|
7763
7763
|
throw new Error("Field Clients cannot be null");
|
|
7764
|
-
|
|
7764
|
+
b.Clients = o(T.asDictionary());
|
|
7765
7765
|
break;
|
|
7766
7766
|
}
|
|
7767
7767
|
case e.TrackingStreamsFieldId: {
|
|
7768
7768
|
if (T.isNull)
|
|
7769
7769
|
throw new Error("Field TrackingStreams cannot be null");
|
|
7770
|
-
|
|
7770
|
+
b.TrackingStreams = r(T.asDictionary());
|
|
7771
7771
|
break;
|
|
7772
7772
|
}
|
|
7773
7773
|
case e.ChannelIdFieldId: {
|
|
7774
7774
|
if (T.isNull)
|
|
7775
7775
|
throw new Error("Field ChannelId cannot be null");
|
|
7776
|
-
|
|
7776
|
+
b.ChannelId = T.asString();
|
|
7777
7777
|
break;
|
|
7778
7778
|
}
|
|
7779
7779
|
case e.SessionIdFieldId: {
|
|
7780
7780
|
if (T.isNull)
|
|
7781
7781
|
throw new Error("Field SessionId cannot be null");
|
|
7782
|
-
|
|
7782
|
+
b.SessionId = T.asString();
|
|
7783
7783
|
break;
|
|
7784
7784
|
}
|
|
7785
7785
|
case e.ChannelUrlFieldId: {
|
|
7786
7786
|
if (T.isNull)
|
|
7787
7787
|
throw new Error("Field ChannelUrl cannot be null");
|
|
7788
|
-
|
|
7788
|
+
b.ChannelUrl = T.asString();
|
|
7789
7789
|
break;
|
|
7790
7790
|
}
|
|
7791
7791
|
case e.ChannelNameFieldId: {
|
|
7792
7792
|
if (T.isNull)
|
|
7793
7793
|
throw new Error("Field ChannelName cannot be null");
|
|
7794
|
-
|
|
7794
|
+
b.ChannelName = T.asString();
|
|
7795
7795
|
break;
|
|
7796
7796
|
}
|
|
7797
7797
|
case e.OrganisationNameFieldId: {
|
|
7798
7798
|
if (T.isNull)
|
|
7799
7799
|
throw new Error("Field OrganisationName cannot be null");
|
|
7800
|
-
|
|
7800
|
+
b.OrganisationName = T.asString();
|
|
7801
7801
|
break;
|
|
7802
7802
|
}
|
|
7803
7803
|
case e.FunctionsFieldId: {
|
|
7804
7804
|
if (T.isNull)
|
|
7805
7805
|
throw new Error("Field Functions cannot be null");
|
|
7806
|
-
|
|
7806
|
+
b.Functions = t(T.asDictionary());
|
|
7807
7807
|
break;
|
|
7808
7808
|
}
|
|
7809
7809
|
case e.UIStreamsFieldId: {
|
|
7810
7810
|
if (T.isNull)
|
|
7811
7811
|
throw new Error("Field UIStreams cannot be null");
|
|
7812
|
-
|
|
7812
|
+
b.UIStreams = n(T.asDictionary());
|
|
7813
7813
|
break;
|
|
7814
7814
|
}
|
|
7815
7815
|
case e.SpaceIdFieldId: {
|
|
7816
7816
|
if (T.isNull)
|
|
7817
7817
|
throw new Error("Field SpaceId cannot be null");
|
|
7818
|
-
|
|
7818
|
+
b.SpaceId = T.asString();
|
|
7819
7819
|
break;
|
|
7820
7820
|
}
|
|
7821
7821
|
case e.PrimaryUserIdFieldId: {
|
|
7822
7822
|
if (T.isNull)
|
|
7823
7823
|
throw new Error("Field PrimaryUserId cannot be null");
|
|
7824
|
-
|
|
7824
|
+
b.PrimaryUserId = T.asString();
|
|
7825
7825
|
break;
|
|
7826
7826
|
}
|
|
7827
7827
|
case e.ChannelInstanceIdFieldId: {
|
|
7828
7828
|
if (T.isNull)
|
|
7829
7829
|
throw new Error("Field ChannelInstanceId cannot be null");
|
|
7830
|
-
|
|
7830
|
+
b.ChannelInstanceId = T.asString();
|
|
7831
7831
|
break;
|
|
7832
7832
|
}
|
|
7833
7833
|
case e.AudioStreamsFieldId: {
|
|
7834
7834
|
if (T.isNull)
|
|
7835
7835
|
throw new Error("Field AudioStreams cannot be null");
|
|
7836
|
-
|
|
7836
|
+
b.AudioStreams = u(T.asDictionary());
|
|
7837
7837
|
break;
|
|
7838
7838
|
}
|
|
7839
7839
|
case e.VideoStreamsFieldId: {
|
|
7840
7840
|
if (T.isNull)
|
|
7841
7841
|
throw new Error("Field VideoStreams cannot be null");
|
|
7842
|
-
|
|
7842
|
+
b.VideoStreams = I(T.asDictionary());
|
|
7843
7843
|
break;
|
|
7844
7844
|
}
|
|
7845
7845
|
case e.SpaceNameFieldId: {
|
|
7846
7846
|
if (T.isNull)
|
|
7847
7847
|
throw new Error("Field SpaceName cannot be null");
|
|
7848
|
-
|
|
7848
|
+
b.SpaceName = T.asString();
|
|
7849
7849
|
break;
|
|
7850
7850
|
}
|
|
7851
7851
|
}
|
|
7852
7852
|
}
|
|
7853
|
-
function w(F,
|
|
7853
|
+
function w(F, b, T) {
|
|
7854
7854
|
const p = s(F);
|
|
7855
|
-
return k(e.TeleportOpcode, p, e.TeleportVersion,
|
|
7855
|
+
return k(e.TeleportOpcode, p, e.TeleportVersion, b, T);
|
|
7856
7856
|
}
|
|
7857
7857
|
e.toProtocolMessage = w;
|
|
7858
|
-
function h(F,
|
|
7858
|
+
function h(F, b) {
|
|
7859
7859
|
const T = M(F, e.TeleportOpcode, e.TeleportVersion);
|
|
7860
|
-
return a(T,
|
|
7860
|
+
return a(T, b);
|
|
7861
7861
|
}
|
|
7862
7862
|
e.fromProtocolMessage = h;
|
|
7863
7863
|
function o(F) {
|
|
7864
|
-
const
|
|
7864
|
+
const b = /* @__PURE__ */ Object.create(null);
|
|
7865
7865
|
let T;
|
|
7866
7866
|
for (; (T = F.next()) !== null; ) {
|
|
7867
7867
|
const p = T.key.asInt32();
|
|
7868
|
-
|
|
7868
|
+
b[p] = L.readFromTeleport(T.value.asObject());
|
|
7869
7869
|
}
|
|
7870
|
-
return
|
|
7870
|
+
return b;
|
|
7871
7871
|
}
|
|
7872
7872
|
function r(F) {
|
|
7873
|
-
const
|
|
7873
|
+
const b = /* @__PURE__ */ Object.create(null);
|
|
7874
7874
|
let T;
|
|
7875
7875
|
for (; (T = F.next()) !== null; ) {
|
|
7876
7876
|
const p = T.key.asString();
|
|
7877
|
-
|
|
7877
|
+
b[p] = e.TrackingStreamState.readFromTeleport(T.value.asObject());
|
|
7878
7878
|
}
|
|
7879
|
-
return
|
|
7879
|
+
return b;
|
|
7880
7880
|
}
|
|
7881
7881
|
function t(F) {
|
|
7882
|
-
const
|
|
7882
|
+
const b = /* @__PURE__ */ Object.create(null);
|
|
7883
7883
|
let T;
|
|
7884
7884
|
for (; (T = F.next()) !== null; ) {
|
|
7885
7885
|
const p = T.key.asInt32();
|
|
7886
|
-
|
|
7886
|
+
b[p] = N(T.value.asArray());
|
|
7887
7887
|
}
|
|
7888
|
-
return
|
|
7888
|
+
return b;
|
|
7889
7889
|
}
|
|
7890
7890
|
function n(F) {
|
|
7891
|
-
const
|
|
7891
|
+
const b = /* @__PURE__ */ Object.create(null);
|
|
7892
7892
|
let T;
|
|
7893
7893
|
for (; (T = F.next()) !== null; ) {
|
|
7894
7894
|
const p = T.key.asString();
|
|
7895
|
-
|
|
7895
|
+
b[p] = e.UIStreamState.readFromTeleport(T.value.asObject());
|
|
7896
7896
|
}
|
|
7897
|
-
return
|
|
7897
|
+
return b;
|
|
7898
7898
|
}
|
|
7899
7899
|
function u(F) {
|
|
7900
|
-
const
|
|
7900
|
+
const b = /* @__PURE__ */ Object.create(null);
|
|
7901
7901
|
let T;
|
|
7902
7902
|
for (; (T = F.next()) !== null; ) {
|
|
7903
7903
|
const p = T.key.asString();
|
|
7904
|
-
|
|
7904
|
+
b[p] = e.AudioStreamState.readFromTeleport(T.value.asObject());
|
|
7905
7905
|
}
|
|
7906
|
-
return
|
|
7906
|
+
return b;
|
|
7907
7907
|
}
|
|
7908
7908
|
function I(F) {
|
|
7909
|
-
const
|
|
7909
|
+
const b = /* @__PURE__ */ Object.create(null);
|
|
7910
7910
|
let T;
|
|
7911
7911
|
for (; (T = F.next()) !== null; ) {
|
|
7912
7912
|
const p = T.key.asString();
|
|
7913
|
-
|
|
7913
|
+
b[p] = e.VideoStreamState.readFromTeleport(T.value.asObject());
|
|
7914
7914
|
}
|
|
7915
|
-
return
|
|
7915
|
+
return b;
|
|
7916
7916
|
}
|
|
7917
7917
|
function N(F) {
|
|
7918
|
-
const
|
|
7918
|
+
const b = [];
|
|
7919
7919
|
let T;
|
|
7920
7920
|
for (; (T = F.next()) !== null; )
|
|
7921
|
-
|
|
7922
|
-
return
|
|
7921
|
+
b.push(X.readFromTeleport(T.asObject()));
|
|
7922
|
+
return b;
|
|
7923
7923
|
}
|
|
7924
7924
|
((F) => {
|
|
7925
7925
|
F.TeleportVersion = 3, F.TeleportLayoutHash = 3143891131, F.StreamIdFieldId = 161083277, F.ClientSessionIdFieldId = 325678206, F.TrackIdFieldId = 3469892363, F.InfoFieldId = 3645544153;
|
|
7926
|
-
function
|
|
7926
|
+
function b(g) {
|
|
7927
7927
|
const S = {};
|
|
7928
7928
|
return T(S), g && Object.assign(S, g), S;
|
|
7929
7929
|
}
|
|
7930
|
-
F.create =
|
|
7930
|
+
F.create = b;
|
|
7931
7931
|
function T(g) {
|
|
7932
7932
|
return g.StreamId = "", g.ClientSessionId = 0, g.TrackId = 0, g.Info = ne.create(), g;
|
|
7933
7933
|
}
|
|
7934
7934
|
F.reset = T;
|
|
7935
7935
|
function p(g) {
|
|
7936
7936
|
const S = new y(F.TeleportVersion);
|
|
7937
|
-
return
|
|
7937
|
+
return m(g, S), S.finish();
|
|
7938
7938
|
}
|
|
7939
7939
|
F.encode = p;
|
|
7940
|
-
function
|
|
7940
|
+
function m(g, S) {
|
|
7941
7941
|
S.writeStringField(F.StreamIdFieldId, g.StreamId), S.writeInt32Field(F.ClientSessionIdFieldId, g.ClientSessionId | 0), S.writeInt32Field(F.TrackIdFieldId, g.TrackId | 0), S.writeObjectField(F.InfoFieldId, ne.TeleportVersion, (O) => {
|
|
7942
7942
|
ne.writeToTeleport(g.Info, O);
|
|
7943
7943
|
});
|
|
7944
7944
|
}
|
|
7945
|
-
F.writeToTeleport =
|
|
7945
|
+
F.writeToTeleport = m;
|
|
7946
7946
|
function P(g, S) {
|
|
7947
7947
|
const O = E.create(g);
|
|
7948
7948
|
return V(O, S);
|
|
7949
7949
|
}
|
|
7950
7950
|
F.decode = P;
|
|
7951
7951
|
function V(g, S) {
|
|
7952
|
-
const O = S ??
|
|
7952
|
+
const O = S ?? b();
|
|
7953
7953
|
return T(O), _(g, O), O;
|
|
7954
7954
|
}
|
|
7955
7955
|
F.readFromTeleport = V;
|
|
@@ -7985,33 +7985,33 @@ var Be;
|
|
|
7985
7985
|
}
|
|
7986
7986
|
})(e.UIStreamState || (e.UIStreamState = {})), ((F) => {
|
|
7987
7987
|
F.TeleportVersion = 3, F.TeleportLayoutHash = 3143891131, F.StreamIdFieldId = 161083277, F.ClientSessionIdFieldId = 325678206, F.TrackIdFieldId = 3469892363, F.InfoFieldId = 3645544153;
|
|
7988
|
-
function
|
|
7988
|
+
function b(g) {
|
|
7989
7989
|
const S = {};
|
|
7990
7990
|
return T(S), g && Object.assign(S, g), S;
|
|
7991
7991
|
}
|
|
7992
|
-
F.create =
|
|
7992
|
+
F.create = b;
|
|
7993
7993
|
function T(g) {
|
|
7994
7994
|
return g.StreamId = "", g.ClientSessionId = 0, g.TrackId = 0, g.Info = re.create(), g;
|
|
7995
7995
|
}
|
|
7996
7996
|
F.reset = T;
|
|
7997
7997
|
function p(g) {
|
|
7998
7998
|
const S = new y(F.TeleportVersion);
|
|
7999
|
-
return
|
|
7999
|
+
return m(g, S), S.finish();
|
|
8000
8000
|
}
|
|
8001
8001
|
F.encode = p;
|
|
8002
|
-
function
|
|
8002
|
+
function m(g, S) {
|
|
8003
8003
|
S.writeStringField(F.StreamIdFieldId, g.StreamId), S.writeInt32Field(F.ClientSessionIdFieldId, g.ClientSessionId | 0), S.writeInt32Field(F.TrackIdFieldId, g.TrackId | 0), S.writeObjectField(F.InfoFieldId, re.TeleportVersion, (O) => {
|
|
8004
8004
|
re.writeToTeleport(g.Info, O);
|
|
8005
8005
|
});
|
|
8006
8006
|
}
|
|
8007
|
-
F.writeToTeleport =
|
|
8007
|
+
F.writeToTeleport = m;
|
|
8008
8008
|
function P(g, S) {
|
|
8009
8009
|
const O = E.create(g);
|
|
8010
8010
|
return V(O, S);
|
|
8011
8011
|
}
|
|
8012
8012
|
F.decode = P;
|
|
8013
8013
|
function V(g, S) {
|
|
8014
|
-
const O = S ??
|
|
8014
|
+
const O = S ?? b();
|
|
8015
8015
|
return T(O), _(g, O), O;
|
|
8016
8016
|
}
|
|
8017
8017
|
F.readFromTeleport = V;
|
|
@@ -8047,33 +8047,33 @@ var Be;
|
|
|
8047
8047
|
}
|
|
8048
8048
|
})(e.AudioStreamState || (e.AudioStreamState = {})), ((F) => {
|
|
8049
8049
|
F.TeleportVersion = 3, F.TeleportLayoutHash = 3143891131, F.StreamIdFieldId = 161083277, F.ClientSessionIdFieldId = 325678206, F.TrackIdFieldId = 3469892363, F.InfoFieldId = 3645544153;
|
|
8050
|
-
function
|
|
8050
|
+
function b(g) {
|
|
8051
8051
|
const S = {};
|
|
8052
8052
|
return T(S), g && Object.assign(S, g), S;
|
|
8053
8053
|
}
|
|
8054
|
-
F.create =
|
|
8054
|
+
F.create = b;
|
|
8055
8055
|
function T(g) {
|
|
8056
8056
|
return g.StreamId = "", g.ClientSessionId = 0, g.TrackId = 0, g.Info = le.create(), g;
|
|
8057
8057
|
}
|
|
8058
8058
|
F.reset = T;
|
|
8059
8059
|
function p(g) {
|
|
8060
8060
|
const S = new y(F.TeleportVersion);
|
|
8061
|
-
return
|
|
8061
|
+
return m(g, S), S.finish();
|
|
8062
8062
|
}
|
|
8063
8063
|
F.encode = p;
|
|
8064
|
-
function
|
|
8064
|
+
function m(g, S) {
|
|
8065
8065
|
S.writeStringField(F.StreamIdFieldId, g.StreamId), S.writeInt32Field(F.ClientSessionIdFieldId, g.ClientSessionId | 0), S.writeInt32Field(F.TrackIdFieldId, g.TrackId | 0), S.writeObjectField(F.InfoFieldId, le.TeleportVersion, (O) => {
|
|
8066
8066
|
le.writeToTeleport(g.Info, O);
|
|
8067
8067
|
});
|
|
8068
8068
|
}
|
|
8069
|
-
F.writeToTeleport =
|
|
8069
|
+
F.writeToTeleport = m;
|
|
8070
8070
|
function P(g, S) {
|
|
8071
8071
|
const O = E.create(g);
|
|
8072
8072
|
return V(O, S);
|
|
8073
8073
|
}
|
|
8074
8074
|
F.decode = P;
|
|
8075
8075
|
function V(g, S) {
|
|
8076
|
-
const O = S ??
|
|
8076
|
+
const O = S ?? b();
|
|
8077
8077
|
return T(O), _(g, O), O;
|
|
8078
8078
|
}
|
|
8079
8079
|
F.readFromTeleport = V;
|
|
@@ -8109,33 +8109,33 @@ var Be;
|
|
|
8109
8109
|
}
|
|
8110
8110
|
})(e.VideoStreamState || (e.VideoStreamState = {})), ((F) => {
|
|
8111
8111
|
F.TeleportVersion = 3, F.TeleportLayoutHash = 3143891131, F.StreamIdFieldId = 161083277, F.ClientSessionIdFieldId = 325678206, F.TrackIdFieldId = 3469892363, F.InfoFieldId = 3645544153;
|
|
8112
|
-
function
|
|
8112
|
+
function b(g) {
|
|
8113
8113
|
const S = {};
|
|
8114
8114
|
return T(S), g && Object.assign(S, g), S;
|
|
8115
8115
|
}
|
|
8116
|
-
F.create =
|
|
8116
|
+
F.create = b;
|
|
8117
8117
|
function T(g) {
|
|
8118
8118
|
return g.StreamId = "", g.ClientSessionId = 0, g.TrackId = 0, g.Info = oe.create(), g;
|
|
8119
8119
|
}
|
|
8120
8120
|
F.reset = T;
|
|
8121
8121
|
function p(g) {
|
|
8122
8122
|
const S = new y(F.TeleportVersion);
|
|
8123
|
-
return
|
|
8123
|
+
return m(g, S), S.finish();
|
|
8124
8124
|
}
|
|
8125
8125
|
F.encode = p;
|
|
8126
|
-
function
|
|
8126
|
+
function m(g, S) {
|
|
8127
8127
|
S.writeStringField(F.StreamIdFieldId, g.StreamId), S.writeInt32Field(F.ClientSessionIdFieldId, g.ClientSessionId | 0), S.writeInt32Field(F.TrackIdFieldId, g.TrackId | 0), S.writeObjectField(F.InfoFieldId, oe.TeleportVersion, (O) => {
|
|
8128
8128
|
oe.writeToTeleport(g.Info, O);
|
|
8129
8129
|
});
|
|
8130
8130
|
}
|
|
8131
|
-
F.writeToTeleport =
|
|
8131
|
+
F.writeToTeleport = m;
|
|
8132
8132
|
function P(g, S) {
|
|
8133
8133
|
const O = E.create(g);
|
|
8134
8134
|
return V(O, S);
|
|
8135
8135
|
}
|
|
8136
8136
|
F.decode = P;
|
|
8137
8137
|
function V(g, S) {
|
|
8138
|
-
const O = S ??
|
|
8138
|
+
const O = S ?? b();
|
|
8139
8139
|
return T(O), _(g, O), O;
|
|
8140
8140
|
}
|
|
8141
8141
|
F.readFromTeleport = V;
|
|
@@ -8244,38 +8244,38 @@ var vt;
|
|
|
8244
8244
|
e.encode = s;
|
|
8245
8245
|
function d(I, N) {
|
|
8246
8246
|
N.writeBoolField(e.DisableLegacyDefaultExtensionsFieldId, I.DisableLegacyDefaultExtensions), N.writeDictionaryField(e.DynamicConfigObsoleteFieldId, C.String, C.String, (F) => {
|
|
8247
|
-
const
|
|
8248
|
-
for (const T of Object.keys(
|
|
8249
|
-
const p = T,
|
|
8250
|
-
if (
|
|
8247
|
+
const b = I.DynamicConfigObsolete;
|
|
8248
|
+
for (const T of Object.keys(b)) {
|
|
8249
|
+
const p = T, m = b[T];
|
|
8250
|
+
if (m == null)
|
|
8251
8251
|
continue;
|
|
8252
8252
|
const P = F.beginEntry();
|
|
8253
|
-
P.writeKeyString(p), P.writeValueString(
|
|
8253
|
+
P.writeKeyString(p), P.writeValueString(m), P.complete();
|
|
8254
8254
|
}
|
|
8255
8255
|
}), N.writeArrayField(e.ExtensionsFieldId, C.Object, (F) => {
|
|
8256
|
-
for (const
|
|
8256
|
+
for (const b of I.Extensions)
|
|
8257
8257
|
F.writeObject(e.ServerExtensionInit.TeleportVersion, (T) => {
|
|
8258
|
-
e.ServerExtensionInit.writeToTeleport(
|
|
8258
|
+
e.ServerExtensionInit.writeToTeleport(b, T);
|
|
8259
8259
|
});
|
|
8260
8260
|
}), N.writeArrayField(e.TunnelPortsFieldId, C.Int32, (F) => {
|
|
8261
|
-
for (const
|
|
8262
|
-
F.writeInt32(
|
|
8261
|
+
for (const b of I.TunnelPorts)
|
|
8262
|
+
F.writeInt32(b | 0);
|
|
8263
8263
|
}), N.writeStringField(e.ChannelIdFieldId, I.ChannelId), N.writeStringField(e.SessionIdFieldId, I.SessionId), N.writeStringField(e.ChannelUrlFieldId, I.ChannelUrl), N.writeStringField(e.ChannelNameFieldId, I.ChannelName), N.writeStringField(e.DynamicConfigJsonContentFieldId, I.DynamicConfigJsonContent), N.writeStringField(e.SpaceGitRepositoryUrlFieldId, I.SpaceGitRepositoryUrl), N.writeArrayField(e.TunnelsFieldId, C.String, (F) => {
|
|
8264
|
-
for (const
|
|
8265
|
-
F.writeString(
|
|
8264
|
+
for (const b of I.Tunnels)
|
|
8265
|
+
F.writeString(b);
|
|
8266
8266
|
}), N.writeStringField(e.IkonBackendUrlFieldId, I.IkonBackendUrl), N.writeStringField(e.OrganisationNameFieldId, I.OrganisationName), N.writeArrayField(e.PluginsFieldId, C.Object, (F) => {
|
|
8267
|
-
for (const
|
|
8267
|
+
for (const b of I.Plugins)
|
|
8268
8268
|
F.writeObject(e.ServerPluginInit.TeleportVersion, (T) => {
|
|
8269
|
-
e.ServerPluginInit.writeToTeleport(
|
|
8269
|
+
e.ServerPluginInit.writeToTeleport(b, T);
|
|
8270
8270
|
});
|
|
8271
8271
|
}), N.writeStringField(e.SpaceIdFieldId, I.SpaceId), N.writeStringField(e.PrimaryUserIdFieldId, I.PrimaryUserId), N.writeStringField(e.IkonBackendTokenFieldId, I.IkonBackendToken), N.writeStringField(e.ChannelTemplateIdFieldId, I.ChannelTemplateId), N.writeDictionaryField(e.SessionIdentityFieldId, C.String, C.String, (F) => {
|
|
8272
|
-
const
|
|
8273
|
-
for (const T of Object.keys(
|
|
8274
|
-
const p = T,
|
|
8275
|
-
if (
|
|
8272
|
+
const b = I.SessionIdentity;
|
|
8273
|
+
for (const T of Object.keys(b)) {
|
|
8274
|
+
const p = T, m = b[T];
|
|
8275
|
+
if (m == null)
|
|
8276
8276
|
continue;
|
|
8277
8277
|
const P = F.beginEntry();
|
|
8278
|
-
P.writeKeyString(p), P.writeValueString(
|
|
8278
|
+
P.writeKeyString(p), P.writeValueString(m), P.complete();
|
|
8279
8279
|
}
|
|
8280
8280
|
}), N.writeStringField(e.SpaceNameFieldId, I.SpaceName);
|
|
8281
8281
|
}
|
|
@@ -8417,8 +8417,8 @@ var vt;
|
|
|
8417
8417
|
}
|
|
8418
8418
|
}
|
|
8419
8419
|
function w(I, N, F) {
|
|
8420
|
-
const
|
|
8421
|
-
return k(e.TeleportOpcode,
|
|
8420
|
+
const b = s(I);
|
|
8421
|
+
return k(e.TeleportOpcode, b, e.TeleportVersion, N, F);
|
|
8422
8422
|
}
|
|
8423
8423
|
e.toProtocolMessage = w;
|
|
8424
8424
|
function h(I, N) {
|
|
@@ -8458,8 +8458,8 @@ var vt;
|
|
|
8458
8458
|
const N = /* @__PURE__ */ Object.create(null);
|
|
8459
8459
|
let F;
|
|
8460
8460
|
for (; (F = I.next()) !== null; ) {
|
|
8461
|
-
const
|
|
8462
|
-
N[
|
|
8461
|
+
const b = F.key.asString();
|
|
8462
|
+
N[b] = F.value.asString();
|
|
8463
8463
|
}
|
|
8464
8464
|
return N;
|
|
8465
8465
|
}
|
|
@@ -8474,11 +8474,11 @@ var vt;
|
|
|
8474
8474
|
return _.Enabled = !1, _.BundleDirectoryPath = "", _.BundleDirectoryZipContent = new Uint8Array(0), _.DllName = "", _.TypeName = "", _.ConfigFilePath = "", _.ConfigJsonContent = "", _.ExtraConfigs = [], _;
|
|
8475
8475
|
}
|
|
8476
8476
|
I.reset = F;
|
|
8477
|
-
function
|
|
8477
|
+
function b(_) {
|
|
8478
8478
|
const g = new y(I.TeleportVersion);
|
|
8479
8479
|
return T(_, g), g.finish();
|
|
8480
8480
|
}
|
|
8481
|
-
I.encode =
|
|
8481
|
+
I.encode = b;
|
|
8482
8482
|
function T(_, g) {
|
|
8483
8483
|
g.writeStringField(I.BundleDirectoryPathFieldId, _.BundleDirectoryPath), g.writeBinaryField(I.BundleDirectoryZipContentFieldId, _.BundleDirectoryZipContent), g.writeStringField(I.ConfigJsonContentFieldId, _.ConfigJsonContent), g.writeStringField(I.DllNameFieldId, _.DllName), g.writeStringField(I.ConfigFilePathFieldId, _.ConfigFilePath), g.writeBoolField(I.EnabledFieldId, _.Enabled), g.writeArrayField(I.ExtraConfigsFieldId, C.Object, (S) => {
|
|
8484
8484
|
for (const O of _.ExtraConfigs)
|
|
@@ -8490,14 +8490,14 @@ var vt;
|
|
|
8490
8490
|
I.writeToTeleport = T;
|
|
8491
8491
|
function p(_, g) {
|
|
8492
8492
|
const S = E.create(_);
|
|
8493
|
-
return
|
|
8493
|
+
return m(S, g);
|
|
8494
8494
|
}
|
|
8495
8495
|
I.decode = p;
|
|
8496
|
-
function
|
|
8496
|
+
function m(_, g) {
|
|
8497
8497
|
const S = g ?? N();
|
|
8498
8498
|
return F(S), P(_, S), S;
|
|
8499
8499
|
}
|
|
8500
|
-
I.readFromTeleport =
|
|
8500
|
+
I.readFromTeleport = m;
|
|
8501
8501
|
function P(_, g) {
|
|
8502
8502
|
let S;
|
|
8503
8503
|
for (; (S = _.next()) !== null; )
|
|
@@ -8570,25 +8570,25 @@ var vt;
|
|
|
8570
8570
|
return V.FilePath = "", V.Content = "", V;
|
|
8571
8571
|
}
|
|
8572
8572
|
I.reset = F;
|
|
8573
|
-
function
|
|
8573
|
+
function b(V) {
|
|
8574
8574
|
const _ = new y(I.TeleportVersion);
|
|
8575
8575
|
return T(V, _), _.finish();
|
|
8576
8576
|
}
|
|
8577
|
-
I.encode =
|
|
8577
|
+
I.encode = b;
|
|
8578
8578
|
function T(V, _) {
|
|
8579
8579
|
_.writeStringField(I.FilePathFieldId, V.FilePath), _.writeStringField(I.ContentFieldId, V.Content);
|
|
8580
8580
|
}
|
|
8581
8581
|
I.writeToTeleport = T;
|
|
8582
8582
|
function p(V, _) {
|
|
8583
8583
|
const g = E.create(V);
|
|
8584
|
-
return
|
|
8584
|
+
return m(g, _);
|
|
8585
8585
|
}
|
|
8586
8586
|
I.decode = p;
|
|
8587
|
-
function
|
|
8587
|
+
function m(V, _) {
|
|
8588
8588
|
const g = _ ?? N();
|
|
8589
8589
|
return F(g), P(V, g), g;
|
|
8590
8590
|
}
|
|
8591
|
-
I.readFromTeleport =
|
|
8591
|
+
I.readFromTeleport = m;
|
|
8592
8592
|
function P(V, _) {
|
|
8593
8593
|
let g;
|
|
8594
8594
|
for (; (g = V.next()) !== null; )
|
|
@@ -8618,25 +8618,25 @@ var vt;
|
|
|
8618
8618
|
return V.Enabled = !1, V.TypeName = "", V.ConfigJsonContent = "", V;
|
|
8619
8619
|
}
|
|
8620
8620
|
I.reset = F;
|
|
8621
|
-
function
|
|
8621
|
+
function b(V) {
|
|
8622
8622
|
const _ = new y(I.TeleportVersion);
|
|
8623
8623
|
return T(V, _), _.finish();
|
|
8624
8624
|
}
|
|
8625
|
-
I.encode =
|
|
8625
|
+
I.encode = b;
|
|
8626
8626
|
function T(V, _) {
|
|
8627
8627
|
_.writeStringField(I.ConfigJsonContentFieldId, V.ConfigJsonContent), _.writeBoolField(I.EnabledFieldId, V.Enabled), _.writeStringField(I.TypeNameFieldId, V.TypeName);
|
|
8628
8628
|
}
|
|
8629
8629
|
I.writeToTeleport = T;
|
|
8630
8630
|
function p(V, _) {
|
|
8631
8631
|
const g = E.create(V);
|
|
8632
|
-
return
|
|
8632
|
+
return m(g, _);
|
|
8633
8633
|
}
|
|
8634
8634
|
I.decode = p;
|
|
8635
|
-
function
|
|
8635
|
+
function m(V, _) {
|
|
8636
8636
|
const g = _ ?? N();
|
|
8637
8637
|
return F(g), P(V, g), g;
|
|
8638
8638
|
}
|
|
8639
|
-
I.readFromTeleport =
|
|
8639
|
+
I.readFromTeleport = m;
|
|
8640
8640
|
function P(V, _) {
|
|
8641
8641
|
let g;
|
|
8642
8642
|
for (; (g = V.next()) !== null; )
|
|
@@ -8687,8 +8687,8 @@ var jt;
|
|
|
8687
8687
|
const N = I, F = u[I];
|
|
8688
8688
|
if (F == null)
|
|
8689
8689
|
continue;
|
|
8690
|
-
const
|
|
8691
|
-
|
|
8690
|
+
const b = n.beginEntry();
|
|
8691
|
+
b.writeKeyString(N), b.writeValueString(F), b.complete();
|
|
8692
8692
|
}
|
|
8693
8693
|
});
|
|
8694
8694
|
}
|
|
@@ -10180,8 +10180,8 @@ var ro;
|
|
|
10180
10180
|
((t) => {
|
|
10181
10181
|
t.TeleportVersion = 1, t.TeleportLayoutHash = 4085725210, t.NameFieldId = 1107713536, t.ValueFieldId = 1405462580, t.GroupFieldId = 2111279390;
|
|
10182
10182
|
function n(p) {
|
|
10183
|
-
const
|
|
10184
|
-
return u(
|
|
10183
|
+
const m = {};
|
|
10184
|
+
return u(m), p && Object.assign(m, p), m;
|
|
10185
10185
|
}
|
|
10186
10186
|
t.create = n;
|
|
10187
10187
|
function u(p) {
|
|
@@ -10189,44 +10189,44 @@ var ro;
|
|
|
10189
10189
|
}
|
|
10190
10190
|
t.reset = u;
|
|
10191
10191
|
function I(p) {
|
|
10192
|
-
const
|
|
10193
|
-
return N(p,
|
|
10192
|
+
const m = new y(t.TeleportVersion);
|
|
10193
|
+
return N(p, m), m.finish();
|
|
10194
10194
|
}
|
|
10195
10195
|
t.encode = I;
|
|
10196
|
-
function N(p,
|
|
10197
|
-
|
|
10196
|
+
function N(p, m) {
|
|
10197
|
+
m.writeStringField(t.NameFieldId, p.Name), m.writeStringField(t.ValueFieldId, p.Value), m.writeStringField(t.GroupFieldId, p.Group);
|
|
10198
10198
|
}
|
|
10199
10199
|
t.writeToTeleport = N;
|
|
10200
|
-
function F(p,
|
|
10200
|
+
function F(p, m) {
|
|
10201
10201
|
const P = E.create(p);
|
|
10202
|
-
return
|
|
10202
|
+
return b(P, m);
|
|
10203
10203
|
}
|
|
10204
10204
|
t.decode = F;
|
|
10205
|
-
function
|
|
10206
|
-
const P =
|
|
10205
|
+
function b(p, m) {
|
|
10206
|
+
const P = m ?? n();
|
|
10207
10207
|
return u(P), T(p, P), P;
|
|
10208
10208
|
}
|
|
10209
|
-
t.readFromTeleport =
|
|
10210
|
-
function T(p,
|
|
10209
|
+
t.readFromTeleport = b;
|
|
10210
|
+
function T(p, m) {
|
|
10211
10211
|
let P;
|
|
10212
10212
|
for (; (P = p.next()) !== null; )
|
|
10213
10213
|
switch (P.fieldId) {
|
|
10214
10214
|
case t.NameFieldId: {
|
|
10215
10215
|
if (P.isNull)
|
|
10216
10216
|
throw new Error("Field Name cannot be null");
|
|
10217
|
-
|
|
10217
|
+
m.Name = P.asString();
|
|
10218
10218
|
break;
|
|
10219
10219
|
}
|
|
10220
10220
|
case t.ValueFieldId: {
|
|
10221
10221
|
if (P.isNull)
|
|
10222
10222
|
throw new Error("Field Value cannot be null");
|
|
10223
|
-
|
|
10223
|
+
m.Value = P.asString();
|
|
10224
10224
|
break;
|
|
10225
10225
|
}
|
|
10226
10226
|
case t.GroupFieldId: {
|
|
10227
10227
|
if (P.isNull)
|
|
10228
10228
|
throw new Error("Field Group cannot be null");
|
|
10229
|
-
|
|
10229
|
+
m.Group = P.asString();
|
|
10230
10230
|
break;
|
|
10231
10231
|
}
|
|
10232
10232
|
}
|
|
@@ -11183,12 +11183,12 @@ var fo;
|
|
|
11183
11183
|
u.writeDictionaryField(e.PayloadsFieldId, C.String, C.Object, (I) => {
|
|
11184
11184
|
const N = n.Payloads;
|
|
11185
11185
|
for (const F of Object.keys(N)) {
|
|
11186
|
-
const
|
|
11186
|
+
const b = F, T = N[F];
|
|
11187
11187
|
if (T == null)
|
|
11188
11188
|
continue;
|
|
11189
11189
|
const p = I.beginEntry();
|
|
11190
|
-
p.writeKeyString(
|
|
11191
|
-
|
|
11190
|
+
p.writeKeyString(b), p.writeValueObject(B.TeleportVersion, (m) => {
|
|
11191
|
+
B.writeToTeleport(T, m);
|
|
11192
11192
|
}), p.complete();
|
|
11193
11193
|
}
|
|
11194
11194
|
}), u.writeStringField(e.StyleIdFieldId, n.StyleId), u.writeStringField(e.NameFieldId, n.Name), u.writeStringField(e.DescriptionFieldId, n.Description), u.writeInt32Field(e.ElementIdFieldId, n.ElementId | 0), u.writeArrayField(e.LabelsFieldId, C.String, (I) => {
|
|
@@ -11197,12 +11197,12 @@ var fo;
|
|
|
11197
11197
|
}), u.writeStringField(e.ArgumentsJsonFieldId, n.ArgumentsJson), u.writeDictionaryField(e.ActionIdsFieldId, C.String, C.Object, (I) => {
|
|
11198
11198
|
const N = n.ActionIds;
|
|
11199
11199
|
for (const F of Object.keys(N)) {
|
|
11200
|
-
const
|
|
11200
|
+
const b = F, T = N[F];
|
|
11201
11201
|
if (T == null)
|
|
11202
11202
|
continue;
|
|
11203
11203
|
const p = I.beginEntry();
|
|
11204
|
-
p.writeKeyString(
|
|
11205
|
-
|
|
11204
|
+
p.writeKeyString(b), p.writeValueObject(he.TeleportVersion, (m) => {
|
|
11205
|
+
he.writeToTeleport(T, m);
|
|
11206
11206
|
}), p.complete();
|
|
11207
11207
|
}
|
|
11208
11208
|
});
|
|
@@ -11294,7 +11294,7 @@ var fo;
|
|
|
11294
11294
|
let I;
|
|
11295
11295
|
for (; (I = n.next()) !== null; ) {
|
|
11296
11296
|
const N = I.key.asString();
|
|
11297
|
-
u[N] =
|
|
11297
|
+
u[N] = B.readFromTeleport(I.value.asObject());
|
|
11298
11298
|
}
|
|
11299
11299
|
return u;
|
|
11300
11300
|
}
|
|
@@ -11303,7 +11303,7 @@ var fo;
|
|
|
11303
11303
|
let I;
|
|
11304
11304
|
for (; (I = n.next()) !== null; ) {
|
|
11305
11305
|
const N = I.key.asString();
|
|
11306
|
-
u[N] =
|
|
11306
|
+
u[N] = he.readFromTeleport(I.value.asObject());
|
|
11307
11307
|
}
|
|
11308
11308
|
return u;
|
|
11309
11309
|
}
|
|
@@ -11469,53 +11469,53 @@ var wo;
|
|
|
11469
11469
|
}
|
|
11470
11470
|
r.writeToTeleport = I;
|
|
11471
11471
|
function N(T, p) {
|
|
11472
|
-
const
|
|
11473
|
-
return F(
|
|
11472
|
+
const m = E.create(T);
|
|
11473
|
+
return F(m, p);
|
|
11474
11474
|
}
|
|
11475
11475
|
r.decode = N;
|
|
11476
11476
|
function F(T, p) {
|
|
11477
|
-
const
|
|
11478
|
-
return n(
|
|
11477
|
+
const m = p ?? t();
|
|
11478
|
+
return n(m), b(T, m), m;
|
|
11479
11479
|
}
|
|
11480
11480
|
r.readFromTeleport = F;
|
|
11481
|
-
function
|
|
11482
|
-
let
|
|
11483
|
-
for (; (
|
|
11484
|
-
switch (
|
|
11481
|
+
function b(T, p) {
|
|
11482
|
+
let m;
|
|
11483
|
+
for (; (m = T.next()) !== null; )
|
|
11484
|
+
switch (m.fieldId) {
|
|
11485
11485
|
case r.FileNameFieldId: {
|
|
11486
|
-
if (
|
|
11486
|
+
if (m.isNull)
|
|
11487
11487
|
throw new Error("Field FileName cannot be null");
|
|
11488
|
-
p.FileName =
|
|
11488
|
+
p.FileName = m.asString();
|
|
11489
11489
|
break;
|
|
11490
11490
|
}
|
|
11491
11491
|
case r.SizeFieldId: {
|
|
11492
|
-
if (
|
|
11492
|
+
if (m.isNull)
|
|
11493
11493
|
throw new Error("Field Size cannot be null");
|
|
11494
|
-
p.Size =
|
|
11494
|
+
p.Size = m.asInt32();
|
|
11495
11495
|
break;
|
|
11496
11496
|
}
|
|
11497
11497
|
case r.NameFieldId: {
|
|
11498
|
-
if (
|
|
11498
|
+
if (m.isNull)
|
|
11499
11499
|
throw new Error("Field Name cannot be null");
|
|
11500
|
-
p.Name =
|
|
11500
|
+
p.Name = m.asString();
|
|
11501
11501
|
break;
|
|
11502
11502
|
}
|
|
11503
11503
|
case r.CreatedAtFieldId: {
|
|
11504
|
-
if (
|
|
11504
|
+
if (m.isNull)
|
|
11505
11505
|
throw new Error("Field CreatedAt cannot be null");
|
|
11506
|
-
p.CreatedAt =
|
|
11506
|
+
p.CreatedAt = m.asString();
|
|
11507
11507
|
break;
|
|
11508
11508
|
}
|
|
11509
11509
|
case r.UrlFieldId: {
|
|
11510
|
-
if (
|
|
11510
|
+
if (m.isNull)
|
|
11511
11511
|
throw new Error("Field Url cannot be null");
|
|
11512
|
-
p.Url =
|
|
11512
|
+
p.Url = m.asString();
|
|
11513
11513
|
break;
|
|
11514
11514
|
}
|
|
11515
11515
|
case r.IdFieldId: {
|
|
11516
|
-
if (
|
|
11516
|
+
if (m.isNull)
|
|
11517
11517
|
throw new Error("Field Id cannot be null");
|
|
11518
|
-
p.Id =
|
|
11518
|
+
p.Id = m.asString();
|
|
11519
11519
|
break;
|
|
11520
11520
|
}
|
|
11521
11521
|
}
|
|
@@ -12006,7 +12006,7 @@ var Fo;
|
|
|
12006
12006
|
return t;
|
|
12007
12007
|
}
|
|
12008
12008
|
})(Fo || (Fo = {}));
|
|
12009
|
-
var
|
|
12009
|
+
var mo;
|
|
12010
12010
|
((e) => {
|
|
12011
12011
|
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;
|
|
12012
12012
|
function l(r) {
|
|
@@ -12171,8 +12171,8 @@ var bo;
|
|
|
12171
12171
|
t.push(n.asString());
|
|
12172
12172
|
return t;
|
|
12173
12173
|
}
|
|
12174
|
-
})(
|
|
12175
|
-
var
|
|
12174
|
+
})(mo || (mo = {}));
|
|
12175
|
+
var bo;
|
|
12176
12176
|
((e) => {
|
|
12177
12177
|
e.TeleportVersion = 1, e.TeleportOpcode = 2097191, e.TeleportLayoutHash = 2491188219, e.ModulesFieldId = 2824693793;
|
|
12178
12178
|
function l(r) {
|
|
@@ -12255,42 +12255,42 @@ var mo;
|
|
|
12255
12255
|
r.encode = u;
|
|
12256
12256
|
function I(T, p) {
|
|
12257
12257
|
p.writeStringField(r.NameFieldId, T.Name);
|
|
12258
|
-
const
|
|
12259
|
-
|
|
12258
|
+
const m = T.Javascript;
|
|
12259
|
+
m != null && p.writeStringField(r.JavascriptFieldId, m);
|
|
12260
12260
|
}
|
|
12261
12261
|
r.writeToTeleport = I;
|
|
12262
12262
|
function N(T, p) {
|
|
12263
|
-
const
|
|
12264
|
-
return F(
|
|
12263
|
+
const m = E.create(T);
|
|
12264
|
+
return F(m, p);
|
|
12265
12265
|
}
|
|
12266
12266
|
r.decode = N;
|
|
12267
12267
|
function F(T, p) {
|
|
12268
|
-
const
|
|
12269
|
-
return n(
|
|
12268
|
+
const m = p ?? t();
|
|
12269
|
+
return n(m), b(T, m), m;
|
|
12270
12270
|
}
|
|
12271
12271
|
r.readFromTeleport = F;
|
|
12272
|
-
function
|
|
12273
|
-
let
|
|
12274
|
-
for (; (
|
|
12275
|
-
switch (
|
|
12272
|
+
function b(T, p) {
|
|
12273
|
+
let m;
|
|
12274
|
+
for (; (m = T.next()) !== null; )
|
|
12275
|
+
switch (m.fieldId) {
|
|
12276
12276
|
case r.NameFieldId: {
|
|
12277
|
-
if (
|
|
12277
|
+
if (m.isNull)
|
|
12278
12278
|
throw new Error("Field Name cannot be null");
|
|
12279
|
-
p.Name =
|
|
12279
|
+
p.Name = m.asString();
|
|
12280
12280
|
break;
|
|
12281
12281
|
}
|
|
12282
12282
|
case r.JavascriptFieldId: {
|
|
12283
|
-
if (
|
|
12283
|
+
if (m.isNull) {
|
|
12284
12284
|
p.Javascript = void 0;
|
|
12285
12285
|
break;
|
|
12286
12286
|
}
|
|
12287
|
-
p.Javascript =
|
|
12287
|
+
p.Javascript = m.asString();
|
|
12288
12288
|
break;
|
|
12289
12289
|
}
|
|
12290
12290
|
}
|
|
12291
12291
|
}
|
|
12292
12292
|
})(e.UIInitModule || (e.UIInitModule = {}));
|
|
12293
|
-
})(
|
|
12293
|
+
})(bo || (bo = {}));
|
|
12294
12294
|
var yo;
|
|
12295
12295
|
((e) => {
|
|
12296
12296
|
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;
|
|
@@ -12734,8 +12734,8 @@ var Mo;
|
|
|
12734
12734
|
((t) => {
|
|
12735
12735
|
t.TeleportVersion = 1, t.TeleportLayoutHash = 2810867083, t.TitleFieldId = 347326591, t.LongitudeFieldId = 3612634469, t.LatitudeFieldId = 4280239745;
|
|
12736
12736
|
function n(p) {
|
|
12737
|
-
const
|
|
12738
|
-
return u(
|
|
12737
|
+
const m = {};
|
|
12738
|
+
return u(m), p && Object.assign(m, p), m;
|
|
12739
12739
|
}
|
|
12740
12740
|
t.create = n;
|
|
12741
12741
|
function u(p) {
|
|
@@ -12743,44 +12743,44 @@ var Mo;
|
|
|
12743
12743
|
}
|
|
12744
12744
|
t.reset = u;
|
|
12745
12745
|
function I(p) {
|
|
12746
|
-
const
|
|
12747
|
-
return N(p,
|
|
12746
|
+
const m = new y(t.TeleportVersion);
|
|
12747
|
+
return N(p, m), m.finish();
|
|
12748
12748
|
}
|
|
12749
12749
|
t.encode = I;
|
|
12750
|
-
function N(p,
|
|
12751
|
-
|
|
12750
|
+
function N(p, m) {
|
|
12751
|
+
m.writeStringField(t.TitleFieldId, p.Title), m.writeFloat32Field(t.LongitudeFieldId, p.Longitude), m.writeFloat32Field(t.LatitudeFieldId, p.Latitude);
|
|
12752
12752
|
}
|
|
12753
12753
|
t.writeToTeleport = N;
|
|
12754
|
-
function F(p,
|
|
12754
|
+
function F(p, m) {
|
|
12755
12755
|
const P = E.create(p);
|
|
12756
|
-
return
|
|
12756
|
+
return b(P, m);
|
|
12757
12757
|
}
|
|
12758
12758
|
t.decode = F;
|
|
12759
|
-
function
|
|
12760
|
-
const P =
|
|
12759
|
+
function b(p, m) {
|
|
12760
|
+
const P = m ?? n();
|
|
12761
12761
|
return u(P), T(p, P), P;
|
|
12762
12762
|
}
|
|
12763
|
-
t.readFromTeleport =
|
|
12764
|
-
function T(p,
|
|
12763
|
+
t.readFromTeleport = b;
|
|
12764
|
+
function T(p, m) {
|
|
12765
12765
|
let P;
|
|
12766
12766
|
for (; (P = p.next()) !== null; )
|
|
12767
12767
|
switch (P.fieldId) {
|
|
12768
12768
|
case t.TitleFieldId: {
|
|
12769
12769
|
if (P.isNull)
|
|
12770
12770
|
throw new Error("Field Title cannot be null");
|
|
12771
|
-
|
|
12771
|
+
m.Title = P.asString();
|
|
12772
12772
|
break;
|
|
12773
12773
|
}
|
|
12774
12774
|
case t.LongitudeFieldId: {
|
|
12775
12775
|
if (P.isNull)
|
|
12776
12776
|
throw new Error("Field Longitude cannot be null");
|
|
12777
|
-
|
|
12777
|
+
m.Longitude = P.asFloat32();
|
|
12778
12778
|
break;
|
|
12779
12779
|
}
|
|
12780
12780
|
case t.LatitudeFieldId: {
|
|
12781
12781
|
if (P.isNull)
|
|
12782
12782
|
throw new Error("Field Latitude cannot be null");
|
|
12783
|
-
|
|
12783
|
+
m.Latitude = P.asFloat32();
|
|
12784
12784
|
break;
|
|
12785
12785
|
}
|
|
12786
12786
|
}
|
|
@@ -12881,7 +12881,7 @@ var ko;
|
|
|
12881
12881
|
return t;
|
|
12882
12882
|
}
|
|
12883
12883
|
})(ko || (ko = {}));
|
|
12884
|
-
var
|
|
12884
|
+
var B;
|
|
12885
12885
|
((e) => {
|
|
12886
12886
|
e.TeleportVersion = 1, e.TeleportOpcode = 0, e.TeleportLayoutHash = 1537116481, e.ValueFieldId = 1405462580, e.MimeTypeFieldId = 2968276160;
|
|
12887
12887
|
function l(o) {
|
|
@@ -12940,7 +12940,7 @@ var q;
|
|
|
12940
12940
|
return a(t, r);
|
|
12941
12941
|
}
|
|
12942
12942
|
e.fromProtocolMessage = h;
|
|
12943
|
-
})(
|
|
12943
|
+
})(B || (B = {}));
|
|
12944
12944
|
var So;
|
|
12945
12945
|
((e) => {
|
|
12946
12946
|
e.TeleportVersion = 1, e.TeleportOpcode = 2097181, e.TeleportLayoutHash = 393918750, e.PercentageFieldId = 117496938, e.StyleIdFieldId = 979822885, e.ElementIdFieldId = 1753055760, e.LabelsFieldId = 2329079073;
|
|
@@ -13047,11 +13047,11 @@ var Po;
|
|
|
13047
13047
|
}), n.writeStringField(e.EventActionIdFieldId, t.EventActionId), n.writeDictionaryField(e.ArgumentsJsonFieldId, C.String, C.String, (u) => {
|
|
13048
13048
|
const I = t.ArgumentsJson;
|
|
13049
13049
|
for (const N of Object.keys(I)) {
|
|
13050
|
-
const F = N,
|
|
13051
|
-
if (
|
|
13050
|
+
const F = N, b = I[N];
|
|
13051
|
+
if (b == null)
|
|
13052
13052
|
continue;
|
|
13053
13053
|
const T = u.beginEntry();
|
|
13054
|
-
T.writeKeyString(F), T.writeValueString(
|
|
13054
|
+
T.writeKeyString(F), T.writeValueString(b), T.complete();
|
|
13055
13055
|
}
|
|
13056
13056
|
});
|
|
13057
13057
|
}
|
|
@@ -13887,8 +13887,8 @@ var xo;
|
|
|
13887
13887
|
const N = I, F = u[I];
|
|
13888
13888
|
if (F == null)
|
|
13889
13889
|
continue;
|
|
13890
|
-
const
|
|
13891
|
-
|
|
13890
|
+
const b = n.beginEntry();
|
|
13891
|
+
b.writeKeyString(N), b.writeValueString(F), b.complete();
|
|
13892
13892
|
}
|
|
13893
13893
|
});
|
|
13894
13894
|
}
|
|
@@ -14009,8 +14009,8 @@ var Wo;
|
|
|
14009
14009
|
((r) => {
|
|
14010
14010
|
r.TeleportVersion = 1, r.TeleportLayoutHash = 2452306282, r.StyleIdFieldId = 979822885, r.StyleFieldId = 2374537704;
|
|
14011
14011
|
function t(p) {
|
|
14012
|
-
const
|
|
14013
|
-
return n(
|
|
14012
|
+
const m = {};
|
|
14013
|
+
return n(m), p && Object.assign(m, p), m;
|
|
14014
14014
|
}
|
|
14015
14015
|
r.create = t;
|
|
14016
14016
|
function n(p) {
|
|
@@ -14018,12 +14018,12 @@ var Wo;
|
|
|
14018
14018
|
}
|
|
14019
14019
|
r.reset = n;
|
|
14020
14020
|
function u(p) {
|
|
14021
|
-
const
|
|
14022
|
-
return I(p,
|
|
14021
|
+
const m = new y(r.TeleportVersion);
|
|
14022
|
+
return I(p, m), m.finish();
|
|
14023
14023
|
}
|
|
14024
14024
|
r.encode = u;
|
|
14025
|
-
function I(p,
|
|
14026
|
-
|
|
14025
|
+
function I(p, m) {
|
|
14026
|
+
m.writeStringField(r.StyleIdFieldId, p.StyleId), m.writeDictionaryField(r.StyleFieldId, C.String, C.String, (P) => {
|
|
14027
14027
|
const V = p.Style;
|
|
14028
14028
|
for (const _ of Object.keys(V)) {
|
|
14029
14029
|
const g = _, S = V[_];
|
|
@@ -14035,42 +14035,42 @@ var Wo;
|
|
|
14035
14035
|
});
|
|
14036
14036
|
}
|
|
14037
14037
|
r.writeToTeleport = I;
|
|
14038
|
-
function N(p,
|
|
14038
|
+
function N(p, m) {
|
|
14039
14039
|
const P = E.create(p);
|
|
14040
|
-
return F(P,
|
|
14040
|
+
return F(P, m);
|
|
14041
14041
|
}
|
|
14042
14042
|
r.decode = N;
|
|
14043
|
-
function F(p,
|
|
14044
|
-
const P =
|
|
14045
|
-
return n(P),
|
|
14043
|
+
function F(p, m) {
|
|
14044
|
+
const P = m ?? t();
|
|
14045
|
+
return n(P), b(p, P), P;
|
|
14046
14046
|
}
|
|
14047
14047
|
r.readFromTeleport = F;
|
|
14048
|
-
function
|
|
14048
|
+
function b(p, m) {
|
|
14049
14049
|
let P;
|
|
14050
14050
|
for (; (P = p.next()) !== null; )
|
|
14051
14051
|
switch (P.fieldId) {
|
|
14052
14052
|
case r.StyleIdFieldId: {
|
|
14053
14053
|
if (P.isNull)
|
|
14054
14054
|
throw new Error("Field StyleId cannot be null");
|
|
14055
|
-
|
|
14055
|
+
m.StyleId = P.asString();
|
|
14056
14056
|
break;
|
|
14057
14057
|
}
|
|
14058
14058
|
case r.StyleFieldId: {
|
|
14059
14059
|
if (P.isNull)
|
|
14060
14060
|
throw new Error("Field Style cannot be null");
|
|
14061
|
-
|
|
14061
|
+
m.Style = T(P.asDictionary());
|
|
14062
14062
|
break;
|
|
14063
14063
|
}
|
|
14064
14064
|
}
|
|
14065
14065
|
}
|
|
14066
14066
|
function T(p) {
|
|
14067
|
-
const
|
|
14067
|
+
const m = /* @__PURE__ */ Object.create(null);
|
|
14068
14068
|
let P;
|
|
14069
14069
|
for (; (P = p.next()) !== null; ) {
|
|
14070
14070
|
const V = P.key.asString();
|
|
14071
|
-
|
|
14071
|
+
m[V] = P.value.asString();
|
|
14072
14072
|
}
|
|
14073
|
-
return
|
|
14073
|
+
return m;
|
|
14074
14074
|
}
|
|
14075
14075
|
})(e.UIStylesBatchItem || (e.UIStylesBatchItem = {}));
|
|
14076
14076
|
})(Wo || (Wo = {}));
|
|
@@ -14098,10 +14098,10 @@ var Ro;
|
|
|
14098
14098
|
const N = I, F = u[I];
|
|
14099
14099
|
if (F == null)
|
|
14100
14100
|
continue;
|
|
14101
|
-
const
|
|
14102
|
-
|
|
14103
|
-
|
|
14104
|
-
}),
|
|
14101
|
+
const b = n.beginEntry();
|
|
14102
|
+
b.writeKeyString(N), b.writeValueObject(B.TeleportVersion, (T) => {
|
|
14103
|
+
B.writeToTeleport(F, T);
|
|
14104
|
+
}), b.complete();
|
|
14105
14105
|
}
|
|
14106
14106
|
});
|
|
14107
14107
|
}
|
|
@@ -14149,7 +14149,7 @@ var Ro;
|
|
|
14149
14149
|
let n;
|
|
14150
14150
|
for (; (n = r.next()) !== null; ) {
|
|
14151
14151
|
const u = n.key.asString();
|
|
14152
|
-
t[u] =
|
|
14152
|
+
t[u] = B.readFromTeleport(n.value.asObject());
|
|
14153
14153
|
}
|
|
14154
14154
|
return t;
|
|
14155
14155
|
}
|
|
@@ -14510,7 +14510,7 @@ var $o;
|
|
|
14510
14510
|
})($o || ($o = {}));
|
|
14511
14511
|
function Vn(e) {
|
|
14512
14512
|
return new Worker(
|
|
14513
|
-
"
|
|
14513
|
+
"" + new URL("assets/protocol-worker-DXLojSe-.js", import.meta.url).href,
|
|
14514
14514
|
{
|
|
14515
14515
|
type: "module",
|
|
14516
14516
|
name: e?.name
|
|
@@ -14600,7 +14600,7 @@ const jn = {
|
|
|
14600
14600
|
function Hn(e, l) {
|
|
14601
14601
|
return `[${e}] ${l}`;
|
|
14602
14602
|
}
|
|
14603
|
-
function
|
|
14603
|
+
function me(e, l, i, s) {
|
|
14604
14604
|
const d = (/* @__PURE__ */ new Date()).toISOString(), a = jn[e];
|
|
14605
14605
|
if (Oe && Oe({
|
|
14606
14606
|
timestamp: d,
|
|
@@ -14630,16 +14630,16 @@ function Fe(e, l, i, s) {
|
|
|
14630
14630
|
function z(e) {
|
|
14631
14631
|
return {
|
|
14632
14632
|
debug(l, ...i) {
|
|
14633
|
-
|
|
14633
|
+
me(0, e, l, i);
|
|
14634
14634
|
},
|
|
14635
14635
|
info(l, ...i) {
|
|
14636
|
-
|
|
14636
|
+
me(1, e, l, i);
|
|
14637
14637
|
},
|
|
14638
14638
|
warn(l, ...i) {
|
|
14639
|
-
|
|
14639
|
+
me(2, e, l, i);
|
|
14640
14640
|
},
|
|
14641
14641
|
error(l, ...i) {
|
|
14642
|
-
|
|
14642
|
+
me(3, e, l, i);
|
|
14643
14643
|
}
|
|
14644
14644
|
};
|
|
14645
14645
|
}
|
|
@@ -14679,8 +14679,8 @@ class Wn {
|
|
|
14679
14679
|
c = !0, f(), d(new A("WebSocket connection closed before opening"));
|
|
14680
14680
|
return;
|
|
14681
14681
|
}
|
|
14682
|
-
const o = h.wasClean && (h.code === 1e3 || h.code === 1001), r = h.reason || `code=${h.code}`;
|
|
14683
|
-
this.callbacks.onClose(
|
|
14682
|
+
const o = h.wasClean && (h.code === 1e3 || h.code === 1001), r = h.code === 1e3 || h.code === 1001, t = h.reason || `code=${h.code}`;
|
|
14683
|
+
this.callbacks.onClose(t, o, r);
|
|
14684
14684
|
}, this.ws.onmessage = (h) => {
|
|
14685
14685
|
this.handleProtocolMessage(new Uint8Array(h.data));
|
|
14686
14686
|
};
|
|
@@ -14820,7 +14820,7 @@ class Rn {
|
|
|
14820
14820
|
* Handle connection close.
|
|
14821
14821
|
*/
|
|
14822
14822
|
handleClose(l, i) {
|
|
14823
|
-
this.clearKeepaliveTimeout(), this.readLoopActive = !1, this.cleanup(), this.callbacks.onClose(l, i);
|
|
14823
|
+
this.clearKeepaliveTimeout(), this.readLoopActive = !1, this.cleanup(), this.callbacks.onClose(l, i, i);
|
|
14824
14824
|
}
|
|
14825
14825
|
/**
|
|
14826
14826
|
* Reset the keepalive timeout.
|
|
@@ -14849,7 +14849,7 @@ class Rn {
|
|
|
14849
14849
|
}
|
|
14850
14850
|
}
|
|
14851
14851
|
}
|
|
14852
|
-
const
|
|
14852
|
+
const ce = z("Channel");
|
|
14853
14853
|
class Gn {
|
|
14854
14854
|
state = "disconnected";
|
|
14855
14855
|
transport = null;
|
|
@@ -14892,7 +14892,7 @@ class Gn {
|
|
|
14892
14892
|
try {
|
|
14893
14893
|
await this.connectTransport(), this.setState("connected");
|
|
14894
14894
|
} catch (l) {
|
|
14895
|
-
throw
|
|
14895
|
+
throw ce.error("Channel connection failed:", l), this.setState("disconnected"), l;
|
|
14896
14896
|
}
|
|
14897
14897
|
}
|
|
14898
14898
|
/**
|
|
@@ -14906,7 +14906,7 @@ class Gn {
|
|
|
14906
14906
|
*/
|
|
14907
14907
|
send(l) {
|
|
14908
14908
|
if (!this.transport?.isConnected) {
|
|
14909
|
-
|
|
14909
|
+
ce.warn("Cannot send: channel not connected");
|
|
14910
14910
|
return;
|
|
14911
14911
|
}
|
|
14912
14912
|
this.transport.send(l);
|
|
@@ -14920,7 +14920,7 @@ class Gn {
|
|
|
14920
14920
|
keepaliveTimeoutMs: this.config.keepaliveTimeoutMs,
|
|
14921
14921
|
callbacks: {
|
|
14922
14922
|
onProtocolMessage: (s) => this.handleProtocolMessage(s),
|
|
14923
|
-
onClose: (s, d) => this.handleClose(s, d),
|
|
14923
|
+
onClose: (s, d, a) => this.handleClose(s, d, a),
|
|
14924
14924
|
onError: (s) => this.handleError(s)
|
|
14925
14925
|
}
|
|
14926
14926
|
};
|
|
@@ -14947,25 +14947,25 @@ class Gn {
|
|
|
14947
14947
|
try {
|
|
14948
14948
|
const i = l;
|
|
14949
14949
|
if (Ne(i) === j.CORE_ON_SERVER_STOPPING) {
|
|
14950
|
-
this.setState("stopped"), this.transport?.close();
|
|
14950
|
+
ce.debug("Received server stopping message"), this.setState("stopped"), this.transport?.close();
|
|
14951
14951
|
return;
|
|
14952
14952
|
}
|
|
14953
14953
|
this.config.onProtocolMessage?.(i);
|
|
14954
14954
|
} catch (i) {
|
|
14955
|
-
|
|
14955
|
+
ce.error("Failed to handle protocol message:", i), this.config.onError?.(i instanceof Error ? i : new Error(String(i)));
|
|
14956
14956
|
}
|
|
14957
14957
|
}
|
|
14958
14958
|
/**
|
|
14959
14959
|
* Handle transport close.
|
|
14960
14960
|
*/
|
|
14961
|
-
handleClose(l, i) {
|
|
14962
|
-
this.transport = null, this.config.onClose?.(l, i);
|
|
14961
|
+
handleClose(l, i, s) {
|
|
14962
|
+
this.transport = null, this.config.onClose?.(l, i, s);
|
|
14963
14963
|
}
|
|
14964
14964
|
/**
|
|
14965
14965
|
* Handle transport error.
|
|
14966
14966
|
*/
|
|
14967
14967
|
handleError(l) {
|
|
14968
|
-
|
|
14968
|
+
ce.error("Channel error:", l), this.config.onError?.(l), l instanceof cr && this.handleClose("Keepalive timeout", !1);
|
|
14969
14969
|
}
|
|
14970
14970
|
/**
|
|
14971
14971
|
* Update and notify state change.
|
|
@@ -14974,7 +14974,7 @@ class Gn {
|
|
|
14974
14974
|
this.state !== l && (this.state = l, this.config.onStateChange?.(l));
|
|
14975
14975
|
}
|
|
14976
14976
|
}
|
|
14977
|
-
const
|
|
14977
|
+
const Z = z("ChannelManager");
|
|
14978
14978
|
class Kn {
|
|
14979
14979
|
channels = /* @__PURE__ */ new Map();
|
|
14980
14980
|
// keyed by opcode group
|
|
@@ -15025,7 +15025,7 @@ class Kn {
|
|
|
15025
15025
|
d.send(l);
|
|
15026
15026
|
return;
|
|
15027
15027
|
}
|
|
15028
|
-
|
|
15028
|
+
Z.warn("No channel found for message");
|
|
15029
15029
|
}
|
|
15030
15030
|
/**
|
|
15031
15031
|
* Send a protocol message to all channels (for broadcast messages).
|
|
@@ -15056,10 +15056,10 @@ class Kn {
|
|
|
15056
15056
|
await this.connectAllChannels(a), this.config.endpointSelector?.rememberWorkingType(d), this.config.onRememberWorkingType?.(d), this.activeType = d, this.reconnectAttempts = 0, this.setState("connected");
|
|
15057
15057
|
return;
|
|
15058
15058
|
} catch (c) {
|
|
15059
|
-
|
|
15059
|
+
Z.warn(`Failed to connect using ${K[d]}: ${c}`), this.disconnectAll();
|
|
15060
15060
|
}
|
|
15061
15061
|
}
|
|
15062
|
-
throw
|
|
15062
|
+
throw Z.error("All endpoint types failed"), l || this.setState("offline"), new Error("Failed to connect using any endpoint type");
|
|
15063
15063
|
}
|
|
15064
15064
|
/**
|
|
15065
15065
|
* Connect all channels for a given endpoint type in parallel.
|
|
@@ -15087,8 +15087,8 @@ class Kn {
|
|
|
15087
15087
|
onStateChange: (s) => {
|
|
15088
15088
|
this.handleChannelStateChange(l.OpcodeGroupsFromServer, s);
|
|
15089
15089
|
},
|
|
15090
|
-
onClose: (s, d) => {
|
|
15091
|
-
this.handleChannelClose(l.OpcodeGroupsFromServer, s, d);
|
|
15090
|
+
onClose: (s, d, a) => {
|
|
15091
|
+
this.handleChannelClose(l.OpcodeGroupsFromServer, s, d, a);
|
|
15092
15092
|
},
|
|
15093
15093
|
onError: (s) => {
|
|
15094
15094
|
this.config.onError?.(s);
|
|
@@ -15116,9 +15116,14 @@ class Kn {
|
|
|
15116
15116
|
/**
|
|
15117
15117
|
* Handle channel close.
|
|
15118
15118
|
*/
|
|
15119
|
-
|
|
15120
|
-
|
|
15121
|
-
|
|
15119
|
+
handleChannelClose(l, i, s, d) {
|
|
15120
|
+
if (!(this.state === "idle" || this.state === "stopped" || this.state === "offline")) {
|
|
15121
|
+
if (s || d) {
|
|
15122
|
+
Z.debug("Channel closed by server"), this.shouldReconnect = !1, this.disconnectAll(), this.setState("stopped");
|
|
15123
|
+
return;
|
|
15124
|
+
}
|
|
15125
|
+
this.state === "connected" && (Z.error("Channel closed unexpectedly, attempting reconnect"), this.disconnectAll(), this.attemptReconnect());
|
|
15126
|
+
}
|
|
15122
15127
|
}
|
|
15123
15128
|
/**
|
|
15124
15129
|
* Attempt to reconnect with exponential backoff.
|
|
@@ -15127,16 +15132,16 @@ class Kn {
|
|
|
15127
15132
|
if (!this.shouldReconnect)
|
|
15128
15133
|
return;
|
|
15129
15134
|
if (this.reconnectAttempts >= this.config.maxReconnectAttempts) {
|
|
15130
|
-
|
|
15135
|
+
Z.error(`Max reconnect attempts (${this.config.maxReconnectAttempts}) reached`), this.setState("offline"), this.config.onError?.(new Ln(this.config.maxReconnectAttempts));
|
|
15131
15136
|
return;
|
|
15132
15137
|
}
|
|
15133
15138
|
this.setState("reconnecting"), this.reconnectAttempts++;
|
|
15134
15139
|
const l = this.config.reconnectBackoffMs * Math.pow(2, this.reconnectAttempts - 1);
|
|
15135
|
-
if (
|
|
15140
|
+
if (Z.info(`Reconnecting in ${l}ms (attempt ${this.reconnectAttempts}/${this.config.maxReconnectAttempts})`), await sn(l, this.abortController?.signal), !!this.shouldReconnect)
|
|
15136
15141
|
try {
|
|
15137
15142
|
await this.connectInternal(!0);
|
|
15138
15143
|
} catch (i) {
|
|
15139
|
-
|
|
15144
|
+
Z.error("Reconnect failed:", i), await this.attemptReconnect();
|
|
15140
15145
|
}
|
|
15141
15146
|
}
|
|
15142
15147
|
/**
|
|
@@ -15641,10 +15646,10 @@ const Fl = {
|
|
|
15641
15646
|
description: "Get the current browser URL path and query string",
|
|
15642
15647
|
returnType: { kind: "string", nullable: !0 }
|
|
15643
15648
|
};
|
|
15644
|
-
function
|
|
15649
|
+
function ml() {
|
|
15645
15650
|
return typeof window > "u" ? null : window.location.pathname + window.location.search;
|
|
15646
15651
|
}
|
|
15647
|
-
const
|
|
15652
|
+
const bl = {
|
|
15648
15653
|
name: "ikon.client.setUrl",
|
|
15649
15654
|
description: "Update the browser URL without triggering a page reload",
|
|
15650
15655
|
returnType: { kind: "boolean" },
|
|
@@ -15772,7 +15777,7 @@ function Ll(e, l) {
|
|
|
15772
15777
|
return !1;
|
|
15773
15778
|
}
|
|
15774
15779
|
}
|
|
15775
|
-
let
|
|
15780
|
+
let ue = null;
|
|
15776
15781
|
const Dl = {
|
|
15777
15782
|
name: "ikon.client.keepScreenAwake",
|
|
15778
15783
|
description: "Prevent or allow the screen to sleep",
|
|
@@ -15783,7 +15788,7 @@ async function vl(e) {
|
|
|
15783
15788
|
if (typeof navigator > "u" || !("wakeLock" in navigator))
|
|
15784
15789
|
return !1;
|
|
15785
15790
|
try {
|
|
15786
|
-
return !!e ?
|
|
15791
|
+
return !!e ? ue || (ue = await navigator.wakeLock.request("screen")) : ue && (await ue.release(), ue = null), !0;
|
|
15787
15792
|
} catch {
|
|
15788
15793
|
return !1;
|
|
15789
15794
|
}
|
|
@@ -15854,8 +15859,8 @@ const $l = [
|
|
|
15854
15859
|
{ definition: fl, handler: wl },
|
|
15855
15860
|
{ definition: hl, handler: Il },
|
|
15856
15861
|
{ definition: pl, handler: Tl },
|
|
15857
|
-
{ definition: Fl, handler:
|
|
15858
|
-
{ definition:
|
|
15862
|
+
{ definition: Fl, handler: ml },
|
|
15863
|
+
{ definition: bl, handler: yl },
|
|
15859
15864
|
{ definition: El, handler: Nl },
|
|
15860
15865
|
{ definition: gl, handler: Ml },
|
|
15861
15866
|
{ definition: kl, handler: Sl },
|
|
@@ -15898,7 +15903,7 @@ function ve(e) {
|
|
|
15898
15903
|
};
|
|
15899
15904
|
}
|
|
15900
15905
|
}
|
|
15901
|
-
function
|
|
15906
|
+
function Te(e) {
|
|
15902
15907
|
switch (e.kind) {
|
|
15903
15908
|
case "boolean":
|
|
15904
15909
|
return "System.Boolean";
|
|
@@ -15907,9 +15912,9 @@ function pe(e) {
|
|
|
15907
15912
|
case "string":
|
|
15908
15913
|
return "System.String";
|
|
15909
15914
|
case "array":
|
|
15910
|
-
return `System.Collections.Generic.List\`1[${
|
|
15915
|
+
return `System.Collections.Generic.List\`1[${Te(e.element)}]`;
|
|
15911
15916
|
case "dictionary":
|
|
15912
|
-
return `System.Collections.Generic.Dictionary\`2[${e.keyType === "int" ? "System.Int32" : "System.String"},${
|
|
15917
|
+
return `System.Collections.Generic.Dictionary\`2[${e.keyType === "int" ? "System.Int32" : "System.String"},${Te(e.value)}]`;
|
|
15913
15918
|
default:
|
|
15914
15919
|
return e;
|
|
15915
15920
|
}
|
|
@@ -15951,7 +15956,7 @@ function Xl(e, l) {
|
|
|
15951
15956
|
Description: e.description ?? "",
|
|
15952
15957
|
LlmInlineResult: e.llmInlineResult ?? !1,
|
|
15953
15958
|
LlmCallOnlyOnce: e.llmCallOnlyOnce ?? !1,
|
|
15954
|
-
ResultTypeName:
|
|
15959
|
+
ResultTypeName: Te(s),
|
|
15955
15960
|
IsEnumerable: !1,
|
|
15956
15961
|
EnumerableItemTypeName: "",
|
|
15957
15962
|
IsCancellable: !1,
|
|
@@ -15959,7 +15964,7 @@ function Xl(e, l) {
|
|
|
15959
15964
|
Parameters: i.map((a, c) => ({
|
|
15960
15965
|
ParameterIndex: c,
|
|
15961
15966
|
ParameterName: a.name,
|
|
15962
|
-
TypeName:
|
|
15967
|
+
TypeName: Te(a.descriptor),
|
|
15963
15968
|
HasDefaultValue: a.hasDefaultValue,
|
|
15964
15969
|
DefaultValueJson: a.defaultValueJson,
|
|
15965
15970
|
DefaultValueData: Yl,
|
|
@@ -16112,7 +16117,7 @@ class ql {
|
|
|
16112
16117
|
Ce.create({
|
|
16113
16118
|
CallId: l,
|
|
16114
16119
|
InstanceId: i,
|
|
16115
|
-
ResultTypeName:
|
|
16120
|
+
ResultTypeName: Te(d.returnType),
|
|
16116
16121
|
ResultJson: a,
|
|
16117
16122
|
ResultData: c
|
|
16118
16123
|
}),
|
|
@@ -16238,12 +16243,12 @@ function Ee() {
|
|
|
16238
16243
|
}
|
|
16239
16244
|
return !0;
|
|
16240
16245
|
}
|
|
16241
|
-
function
|
|
16246
|
+
function mn(e) {
|
|
16242
16247
|
return typeof AudioWorkletNode != "function" ? !1 : typeof e.audioWorklet?.addModule == "function";
|
|
16243
16248
|
}
|
|
16244
16249
|
function ni(e) {
|
|
16245
16250
|
return new Worker(
|
|
16246
|
-
"
|
|
16251
|
+
"" + new URL("assets/audio-worker-Ci3tYX2B.js", import.meta.url).href,
|
|
16247
16252
|
{
|
|
16248
16253
|
type: "module",
|
|
16249
16254
|
name: e?.name
|
|
@@ -16260,8 +16265,8 @@ const x = z("IkonAudioPlayback"), li = () => {
|
|
|
16260
16265
|
}, Je = {
|
|
16261
16266
|
enabled: !1,
|
|
16262
16267
|
statusInterval: 5
|
|
16263
|
-
},
|
|
16264
|
-
function
|
|
16268
|
+
}, fe = 48e3, J = 2, si = 2, en = 512;
|
|
16269
|
+
function we(e) {
|
|
16265
16270
|
return e instanceof Error ? `${e.name}: ${e.message}` : String(e);
|
|
16266
16271
|
}
|
|
16267
16272
|
function di(e) {
|
|
@@ -16861,7 +16866,7 @@ class Ir {
|
|
|
16861
16866
|
/** Timeout for AudioContext.resume() - normally resolves instantly, but some browsers hang indefinitely */
|
|
16862
16867
|
static RESUME_TIMEOUT_MS = 100;
|
|
16863
16868
|
audioContext = null;
|
|
16864
|
-
outputSampleRateHz =
|
|
16869
|
+
outputSampleRateHz = fe;
|
|
16865
16870
|
audioWorkletNode = null;
|
|
16866
16871
|
scriptProcessorNode = null;
|
|
16867
16872
|
scriptDiagnosticsTimer = null;
|
|
@@ -16934,20 +16939,20 @@ class Ir {
|
|
|
16934
16939
|
return;
|
|
16935
16940
|
if (!this.audioContext) {
|
|
16936
16941
|
try {
|
|
16937
|
-
this.audioContext = new AudioContext({ sampleRate:
|
|
16942
|
+
this.audioContext = new AudioContext({ sampleRate: fe });
|
|
16938
16943
|
} catch (f) {
|
|
16939
16944
|
try {
|
|
16940
16945
|
this.audioContext = new AudioContext();
|
|
16941
16946
|
} catch (w) {
|
|
16942
|
-
x.warn(`Failed to create AudioContext: ${
|
|
16947
|
+
x.warn(`Failed to create AudioContext: ${we(w)}`), this.audioContext = null;
|
|
16943
16948
|
return;
|
|
16944
16949
|
}
|
|
16945
|
-
x.debug(`AudioContext sample rate request unsupported: ${
|
|
16950
|
+
x.debug(`AudioContext sample rate request unsupported: ${we(f)}`);
|
|
16946
16951
|
}
|
|
16947
|
-
this.outputSampleRateHz = this.audioContext.sampleRate ||
|
|
16952
|
+
this.outputSampleRateHz = this.audioContext.sampleRate || fe, this.outputSampleRateHz !== fe && x.debug(`AudioContext running at ${this.outputSampleRateHz}Hz (requested ${fe}Hz)`), this.attachAudioContextHealthHandlers(this.audioContext);
|
|
16948
16953
|
}
|
|
16949
16954
|
const s = this.audioContext, d = this.resolveOutputConfig();
|
|
16950
|
-
if ((this.config.threading?.preferAudioWorklet ?? !0) &&
|
|
16955
|
+
if ((this.config.threading?.preferAudioWorklet ?? !0) && mn(s)) {
|
|
16951
16956
|
await this.ensureAudioWorklet(s, d, l, i);
|
|
16952
16957
|
return;
|
|
16953
16958
|
}
|
|
@@ -17042,7 +17047,7 @@ class Ir {
|
|
|
17042
17047
|
);
|
|
17043
17048
|
}
|
|
17044
17049
|
this.workletReady || (this.workletReady = l.audioWorklet.addModule(this.workletModuleUrl).catch((h) => {
|
|
17045
|
-
throw x.warn(`Failed to load AudioWorklet module, falling back: ${
|
|
17050
|
+
throw x.warn(`Failed to load AudioWorklet module, falling back: ${we(h)}`), h;
|
|
17046
17051
|
}));
|
|
17047
17052
|
try {
|
|
17048
17053
|
await this.workletReady;
|
|
@@ -17105,8 +17110,8 @@ class Ir {
|
|
|
17105
17110
|
I.totalSamples > 0 && (t += 1), this.readFromFallbackQueue(I, d);
|
|
17106
17111
|
for (let N = 0; N < h; N++)
|
|
17107
17112
|
for (let F = 0; F < w; F++) {
|
|
17108
|
-
const
|
|
17109
|
-
o[F][N] +=
|
|
17113
|
+
const b = d[N * w + F] ?? 0;
|
|
17114
|
+
o[F][N] += b;
|
|
17110
17115
|
}
|
|
17111
17116
|
I.ending && I.totalSamples <= 0 && n.push(u);
|
|
17112
17117
|
}
|
|
@@ -17187,7 +17192,7 @@ class Ir {
|
|
|
17187
17192
|
try {
|
|
17188
17193
|
await this.resumeWithTimeout(l), this.removeUnlockHandler();
|
|
17189
17194
|
} catch (c) {
|
|
17190
|
-
x.warn(`Failed to resume AudioContext: ${
|
|
17195
|
+
x.warn(`Failed to resume AudioContext: ${we(c)}`), this.addUnlockHandler();
|
|
17191
17196
|
}
|
|
17192
17197
|
}
|
|
17193
17198
|
async recoverAudioContext(l) {
|
|
@@ -17280,7 +17285,7 @@ class Ir {
|
|
|
17280
17285
|
try {
|
|
17281
17286
|
this.audioWorker = new ni();
|
|
17282
17287
|
} catch (r) {
|
|
17283
|
-
x.warn(`Failed to create audio worker: ${
|
|
17288
|
+
x.warn(`Failed to create audio worker: ${we(r)}`), this.protocolPort.close(), this.protocolPort = null;
|
|
17284
17289
|
return;
|
|
17285
17290
|
}
|
|
17286
17291
|
const i = this.audioWorker;
|
|
@@ -17443,7 +17448,7 @@ class Ir {
|
|
|
17443
17448
|
}
|
|
17444
17449
|
function ai(e) {
|
|
17445
17450
|
return new Worker(
|
|
17446
|
-
"
|
|
17451
|
+
"" + new URL("assets/video-worker-BoOfB8qz.js", import.meta.url).href,
|
|
17447
17452
|
{
|
|
17448
17453
|
type: "module",
|
|
17449
17454
|
name: e?.name
|
|
@@ -17753,7 +17758,7 @@ class fi {
|
|
|
17753
17758
|
}
|
|
17754
17759
|
function wi(e) {
|
|
17755
17760
|
return new Worker(
|
|
17756
|
-
"
|
|
17761
|
+
"" + new URL("assets/audio-capture-worker-C5hNMTF7.js", import.meta.url).href,
|
|
17757
17762
|
{
|
|
17758
17763
|
type: "module",
|
|
17759
17764
|
name: e?.name
|
|
@@ -17928,7 +17933,7 @@ class Ti {
|
|
|
17928
17933
|
return await navigator.mediaDevices.getUserMedia({ audio: l.constraints ?? !0 });
|
|
17929
17934
|
}
|
|
17930
17935
|
async ensureWorklet(l) {
|
|
17931
|
-
if (!
|
|
17936
|
+
if (!mn(l))
|
|
17932
17937
|
throw new Error("AudioWorklet is not supported in this browser");
|
|
17933
17938
|
this.workletModuleUrl || (this.workletModuleUrl = URL.createObjectURL(new Blob([pi()], { type: "text/javascript" }))), (!this.workletReady || this.workletContext !== l) && (this.workletContext = l, this.workletReady = l.audioWorklet.addModule(this.workletModuleUrl));
|
|
17934
17939
|
try {
|
|
@@ -17977,9 +17982,9 @@ class Ti {
|
|
|
17977
17982
|
}
|
|
17978
17983
|
});
|
|
17979
17984
|
w.connect(I), I.connect(h), t === "pcm" && (I.port.onmessage = (F) => {
|
|
17980
|
-
const
|
|
17981
|
-
if (!(!
|
|
17982
|
-
const T =
|
|
17985
|
+
const b = F.data;
|
|
17986
|
+
if (!(!b || typeof b != "object") && b.type === "pcm" && b.pcm instanceof Float32Array) {
|
|
17987
|
+
const T = b.pcm;
|
|
17983
17988
|
u.postMessage({ type: "pcm", captureId: c, pcm: T }, [T.buffer]);
|
|
17984
17989
|
}
|
|
17985
17990
|
});
|
|
@@ -18072,7 +18077,7 @@ async function Fi(e, l) {
|
|
|
18072
18077
|
);
|
|
18073
18078
|
});
|
|
18074
18079
|
}
|
|
18075
|
-
class
|
|
18080
|
+
class mi {
|
|
18076
18081
|
async acquireCameraStream(l) {
|
|
18077
18082
|
if (!navigator.mediaDevices)
|
|
18078
18083
|
throw new Error("Media devices are not available in this environment");
|
|
@@ -18136,9 +18141,9 @@ class bi {
|
|
|
18136
18141
|
}
|
|
18137
18142
|
}
|
|
18138
18143
|
}
|
|
18139
|
-
function
|
|
18144
|
+
function bi(e) {
|
|
18140
18145
|
return new Worker(
|
|
18141
|
-
"
|
|
18146
|
+
"" + new URL("assets/video-capture-worker-OBl3bsvx.js", import.meta.url).href,
|
|
18142
18147
|
{
|
|
18143
18148
|
type: "module",
|
|
18144
18149
|
name: e?.name
|
|
@@ -18172,7 +18177,7 @@ class Ni {
|
|
|
18172
18177
|
ensureWorker() {
|
|
18173
18178
|
if (this.worker)
|
|
18174
18179
|
return this.worker;
|
|
18175
|
-
const l = new
|
|
18180
|
+
const l = new bi();
|
|
18176
18181
|
return this.worker = l, l.addEventListener("message", (i) => {
|
|
18177
18182
|
const s = i.data;
|
|
18178
18183
|
s?.type === "error" && rn.warn(`Video capture worker error: ${s.error?.name ?? "Error"} ${s.error?.message ?? ""}`);
|
|
@@ -18293,17 +18298,17 @@ class gi {
|
|
|
18293
18298
|
video;
|
|
18294
18299
|
image;
|
|
18295
18300
|
constructor(l) {
|
|
18296
|
-
this.audio = new Ti(l), this.video = new Ni(l), this.image = new
|
|
18301
|
+
this.audio = new Ti(l), this.video = new Ni(l), this.image = new mi();
|
|
18297
18302
|
}
|
|
18298
18303
|
dispose() {
|
|
18299
18304
|
this.audio.dispose(), this.video.dispose();
|
|
18300
18305
|
}
|
|
18301
18306
|
}
|
|
18302
|
-
const
|
|
18307
|
+
const bn = /* @__PURE__ */ new Map();
|
|
18303
18308
|
for (const [e, l] of Object.entries(j))
|
|
18304
|
-
typeof l == "number" &&
|
|
18309
|
+
typeof l == "number" && bn.set(l, e);
|
|
18305
18310
|
function tn(e) {
|
|
18306
|
-
return
|
|
18311
|
+
return bn.get(e) ?? `UNKNOWN_${e}`;
|
|
18307
18312
|
}
|
|
18308
18313
|
const on = {
|
|
18309
18314
|
[K.WebTransport]: 0,
|
|
@@ -18606,10 +18611,7 @@ class Ji {
|
|
|
18606
18611
|
const i = new MessageChannel(), s = i.port2, d = i.port1;
|
|
18607
18612
|
if (this.protocolWorker) {
|
|
18608
18613
|
const c = this.nextProtocolSendPortId++;
|
|
18609
|
-
return this.protocolWorker.postMessage(
|
|
18610
|
-
{ type: "attachSendPort", portId: c, port: d, opcodeGroupsMask: l.opcodeGroupsMask },
|
|
18611
|
-
[d]
|
|
18612
|
-
), {
|
|
18614
|
+
return this.protocolWorker.postMessage({ type: "attachSendPort", portId: c, port: d, opcodeGroupsMask: l.opcodeGroupsMask }, [d]), {
|
|
18613
18615
|
port: s,
|
|
18614
18616
|
close: () => {
|
|
18615
18617
|
try {
|
|
@@ -18738,7 +18740,7 @@ class Ji {
|
|
|
18738
18740
|
this.currentState === "connected" && this.setState("reconnecting");
|
|
18739
18741
|
break;
|
|
18740
18742
|
case "stopped":
|
|
18741
|
-
v.info("Ikon server
|
|
18743
|
+
v.info("Ikon server has stopped"), this.clearTimers(), this.setState("offline");
|
|
18742
18744
|
break;
|
|
18743
18745
|
case "offline":
|
|
18744
18746
|
this.currentState !== "idle" && (this.clearTimers(), this.setState("offline"));
|
|
@@ -19024,7 +19026,7 @@ export {
|
|
|
19024
19026
|
Ti as IkonAudioCapture,
|
|
19025
19027
|
Ir as IkonAudioPlayback,
|
|
19026
19028
|
Ji as IkonClient,
|
|
19027
|
-
|
|
19029
|
+
mi as IkonImageCapture,
|
|
19028
19030
|
ui as IkonMedia,
|
|
19029
19031
|
gi as IkonMediaCapture,
|
|
19030
19032
|
Ni as IkonVideoCapture,
|
|
@@ -19054,7 +19056,7 @@ export {
|
|
|
19054
19056
|
tn as getOpcodeName,
|
|
19055
19057
|
fr as getOrCreateDeviceId,
|
|
19056
19058
|
Si as initializeLogSink,
|
|
19057
|
-
|
|
19059
|
+
mn as isAudioWorkletSupported,
|
|
19058
19060
|
Bo as isBrowserEnvironment,
|
|
19059
19061
|
wr as isCloudEnvironment,
|
|
19060
19062
|
zi as isConnected,
|