@ikonai/sdk-ui 1.0.45 → 1.0.46
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/assets/{ui-worker-CqlmdF39.js → ui-worker-Ci6o-6Bv.js} +470 -454
- package/index.js +427 -411
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -25,7 +25,7 @@ function Qt(t) {
|
|
|
25
25
|
flags: E
|
|
26
26
|
};
|
|
27
27
|
}
|
|
28
|
-
async function
|
|
28
|
+
async function V(t, e, r) {
|
|
29
29
|
const s = G(t), n = Qt(s);
|
|
30
30
|
if (e !== void 0 && n.opcode !== e)
|
|
31
31
|
throw new Error(`Unexpected opcode ${n.opcode}`);
|
|
@@ -458,7 +458,7 @@ class re {
|
|
|
458
458
|
throw new Error(`Dictionary value type is ${w[this.valueType]}, expected ${w[e]}`);
|
|
459
459
|
}
|
|
460
460
|
}
|
|
461
|
-
class
|
|
461
|
+
class m {
|
|
462
462
|
constructor(e, r, s) {
|
|
463
463
|
this.buffer = e, this.version = r, this.offset = s, this.end = e.length - 1;
|
|
464
464
|
}
|
|
@@ -471,7 +471,7 @@ class O {
|
|
|
471
471
|
if (r[0] !== it || r[r.length - 1] !== at)
|
|
472
472
|
throw new Error("Teleport object missing markers");
|
|
473
473
|
const s = { offset: 1 }, n = y(r, s, "InvalidLength");
|
|
474
|
-
return new
|
|
474
|
+
return new m(r, n, s.offset);
|
|
475
475
|
}
|
|
476
476
|
next() {
|
|
477
477
|
if (this.offset >= this.end)
|
|
@@ -486,15 +486,15 @@ class O {
|
|
|
486
486
|
const n = P(s);
|
|
487
487
|
let i;
|
|
488
488
|
if (n >= 0)
|
|
489
|
-
|
|
489
|
+
S(this.buffer, this.offset, n), i = this.buffer.subarray(this.offset, this.offset + n), this.offset += n;
|
|
490
490
|
else {
|
|
491
491
|
const a = { offset: this.offset }, o = y(this.buffer, a, "InvalidLength");
|
|
492
|
-
|
|
492
|
+
S(this.buffer, a.offset, o), i = this.buffer.subarray(a.offset, a.offset + o), this.offset = a.offset + o;
|
|
493
493
|
}
|
|
494
494
|
return new se(e, s, i);
|
|
495
495
|
}
|
|
496
496
|
}
|
|
497
|
-
class
|
|
497
|
+
class O {
|
|
498
498
|
constructor(e, r) {
|
|
499
499
|
this.type = e, this.payload = r;
|
|
500
500
|
}
|
|
@@ -568,7 +568,7 @@ class m {
|
|
|
568
568
|
return this.ensureType(
|
|
569
569
|
11
|
|
570
570
|
/* Object */
|
|
571
|
-
),
|
|
571
|
+
), m.create(this.payload);
|
|
572
572
|
}
|
|
573
573
|
asArray() {
|
|
574
574
|
return this.ensureType(
|
|
@@ -587,7 +587,7 @@ class m {
|
|
|
587
587
|
throw new Error(`Teleport value has type ${w[this.type]}, expected ${w[e]}`);
|
|
588
588
|
}
|
|
589
589
|
}
|
|
590
|
-
class se extends
|
|
590
|
+
class se extends O {
|
|
591
591
|
constructor(e, r, s) {
|
|
592
592
|
super(r, s), this.fieldId = e;
|
|
593
593
|
}
|
|
@@ -633,20 +633,20 @@ class J {
|
|
|
633
633
|
case 6:
|
|
634
634
|
case 14: {
|
|
635
635
|
const e = P(this.elementType);
|
|
636
|
-
|
|
636
|
+
S(this.payload, this.offset, e);
|
|
637
637
|
const r = this.payload.subarray(this.offset, this.offset + e);
|
|
638
638
|
return this.offset += e, new M(this.elementType, r);
|
|
639
639
|
}
|
|
640
640
|
case 12:
|
|
641
641
|
case 13: {
|
|
642
642
|
const e = { offset: this.offset }, r = y(this.payload, e, "ArrayMalformed");
|
|
643
|
-
|
|
643
|
+
S(this.payload, e.offset, r);
|
|
644
644
|
const s = this.payload.subarray(e.offset, e.offset + r);
|
|
645
645
|
return this.offset = e.offset + r, new M(this.elementType, s);
|
|
646
646
|
}
|
|
647
647
|
case 11: {
|
|
648
648
|
const e = { offset: this.offset }, r = y(this.payload, e, "ArrayMalformed");
|
|
649
|
-
|
|
649
|
+
S(this.payload, e.offset, r);
|
|
650
650
|
const s = this.payload.subarray(e.offset, e.offset + r);
|
|
651
651
|
return this.offset = e.offset + r, new M(11, s);
|
|
652
652
|
}
|
|
@@ -663,7 +663,7 @@ class J {
|
|
|
663
663
|
}
|
|
664
664
|
}
|
|
665
665
|
}
|
|
666
|
-
class M extends
|
|
666
|
+
class M extends O {
|
|
667
667
|
constructor(e, r) {
|
|
668
668
|
super(e, r);
|
|
669
669
|
}
|
|
@@ -699,15 +699,15 @@ class q {
|
|
|
699
699
|
readKey() {
|
|
700
700
|
const e = P(this.keyType);
|
|
701
701
|
if (e >= 0) {
|
|
702
|
-
|
|
702
|
+
S(this.payload, this.offset, e);
|
|
703
703
|
const r = this.payload.subarray(this.offset, this.offset + e);
|
|
704
|
-
return this.offset += e, new
|
|
704
|
+
return this.offset += e, new O(this.keyType, r);
|
|
705
705
|
}
|
|
706
706
|
if (this.keyType === 12 || this.keyType === 13) {
|
|
707
707
|
const r = { offset: this.offset }, s = y(this.payload, r, "DictMalformed");
|
|
708
|
-
|
|
708
|
+
S(this.payload, r.offset, s);
|
|
709
709
|
const n = this.payload.subarray(r.offset, r.offset + s);
|
|
710
|
-
return this.offset = r.offset + s, new
|
|
710
|
+
return this.offset = r.offset + s, new O(this.keyType, n);
|
|
711
711
|
}
|
|
712
712
|
throw new Error("Unsupported dictionary key type");
|
|
713
713
|
}
|
|
@@ -716,23 +716,23 @@ class q {
|
|
|
716
716
|
case 12:
|
|
717
717
|
case 13: {
|
|
718
718
|
const e = { offset: this.offset }, r = y(this.payload, e, "DictMalformed");
|
|
719
|
-
|
|
719
|
+
S(this.payload, e.offset, r);
|
|
720
720
|
const s = this.payload.subarray(e.offset, e.offset + r);
|
|
721
|
-
return this.offset = e.offset + r, new
|
|
721
|
+
return this.offset = e.offset + r, new O(this.valueType, s);
|
|
722
722
|
}
|
|
723
723
|
case 11: {
|
|
724
724
|
const e = { offset: this.offset }, r = y(this.payload, e, "DictMalformed");
|
|
725
|
-
|
|
725
|
+
S(this.payload, e.offset, r);
|
|
726
726
|
const s = this.payload.subarray(e.offset, e.offset + r);
|
|
727
|
-
return this.offset = e.offset + r, new
|
|
727
|
+
return this.offset = e.offset + r, new O(11, s);
|
|
728
728
|
}
|
|
729
729
|
case 9: {
|
|
730
730
|
const e = Z(this.payload, this.offset), r = this.payload.subarray(this.offset, this.offset + e);
|
|
731
|
-
return this.offset += e, new
|
|
731
|
+
return this.offset += e, new O(9, r);
|
|
732
732
|
}
|
|
733
733
|
case 10: {
|
|
734
734
|
const e = tt(this.payload, this.offset), r = this.payload.subarray(this.offset, this.offset + e);
|
|
735
|
-
return this.offset += e, new
|
|
735
|
+
return this.offset += e, new O(10, r);
|
|
736
736
|
}
|
|
737
737
|
case 3:
|
|
738
738
|
case 5:
|
|
@@ -744,9 +744,9 @@ class q {
|
|
|
744
744
|
case 14:
|
|
745
745
|
case 1: {
|
|
746
746
|
const e = P(this.valueType);
|
|
747
|
-
|
|
747
|
+
S(this.payload, this.offset, e);
|
|
748
748
|
const r = this.payload.subarray(this.offset, this.offset + e);
|
|
749
|
-
return this.offset += e, new
|
|
749
|
+
return this.offset += e, new O(this.valueType, r);
|
|
750
750
|
}
|
|
751
751
|
default:
|
|
752
752
|
throw new Error(`Unsupported dictionary value type ${w[this.valueType]}`);
|
|
@@ -931,7 +931,7 @@ function Q(t) {
|
|
|
931
931
|
if (t === 9 || t === 11 || t === 10 || t === 1)
|
|
932
932
|
throw new Error("Dictionary keys must be primitive Teleport types");
|
|
933
933
|
}
|
|
934
|
-
function
|
|
934
|
+
function S(t, e, r) {
|
|
935
935
|
if (e < 0 || r < 0 || e + r > t.length)
|
|
936
936
|
throw new Error("Teleport payload exceeds bounds");
|
|
937
937
|
}
|
|
@@ -947,7 +947,7 @@ function Z(t, e) {
|
|
|
947
947
|
const n = { offset: e + 1 }, i = y(t, n, "ArrayMalformed"), a = P(s);
|
|
948
948
|
if (a >= 0) {
|
|
949
949
|
const I = a * i;
|
|
950
|
-
return
|
|
950
|
+
return S(t, n.offset, I), n.offset + I - e;
|
|
951
951
|
}
|
|
952
952
|
let o = n.offset;
|
|
953
953
|
for (let I = 0; I < i; I++)
|
|
@@ -970,16 +970,16 @@ function tt(t, e) {
|
|
|
970
970
|
function j(t, e, r, s) {
|
|
971
971
|
const n = P(t);
|
|
972
972
|
if (n >= 0)
|
|
973
|
-
return
|
|
973
|
+
return S(e, r, n), r + n;
|
|
974
974
|
switch (t) {
|
|
975
975
|
case 12:
|
|
976
976
|
case 13: {
|
|
977
977
|
const i = { offset: r }, a = y(e, i, s);
|
|
978
|
-
return
|
|
978
|
+
return S(e, i.offset, a), i.offset + a;
|
|
979
979
|
}
|
|
980
980
|
case 11: {
|
|
981
981
|
const i = { offset: r }, a = y(e, i, s);
|
|
982
|
-
return
|
|
982
|
+
return S(e, i.offset, a), i.offset + a;
|
|
983
983
|
}
|
|
984
984
|
case 9:
|
|
985
985
|
return r + Z(e, r);
|
|
@@ -995,20 +995,20 @@ function st(t) {
|
|
|
995
995
|
function G(t) {
|
|
996
996
|
return t instanceof Uint8Array ? t : new Uint8Array(t);
|
|
997
997
|
}
|
|
998
|
-
var ot = /* @__PURE__ */ ((t) => (t[t.Unknown = 0] = "Unknown", t[t.Opus = 1] = "Opus", t[t.Mp3 = 2] = "Mp3", t[t.RawPcm16 = 3] = "RawPcm16", t))(ot || {}), lt = /* @__PURE__ */ ((t) => (t[t.Unknown = 0] = "Unknown", t[t.MobileWeb = 1] = "MobileWeb", t[t.MobileApp = 2] = "MobileApp", t[t.DesktopWeb = 3] = "DesktopWeb", t[t.DesktopApp = 4] = "DesktopApp", t))(lt || {}), It = /* @__PURE__ */ ((t) => (t[t.Unknown = 0] = "Unknown", t[t.Backend = 2] = "Backend", t[t.Server = 4] = "Server", t[t.Plugin = 8] = "Plugin", t[t.Browser = 16] = "Browser", t))(It || {}), Et = /* @__PURE__ */ ((t) => (t[t.Unknown = 0] = "Unknown", t[t.MessagePack = 1] = "MessagePack", t[t.MemoryPack = 2] = "MemoryPack", t[t.Json = 4] = "Json", t[t.Teleport = 8] = "Teleport", t[t.All = 15] = "All", t))(Et || {}), _t = /* @__PURE__ */ ((t) => (t[t.Face = 0] = "Face", t[t.Hands = 1] = "Hands", t[t.Pose = 2] = "Pose", t[t.All = 3] = "All", t))(_t || {}), ht = /* @__PURE__ */ ((t) => (t[t.Css = 0] = "Css", t[t.Flutter = 1] = "Flutter", t))(ht || {}), ut = /* @__PURE__ */ ((t) => (t[t.Unknown = 0] = "Unknown", t[t.Machine = 1] = "Machine", t[t.Human = 2] = "Human", t))(ut || {}), ct = /* @__PURE__ */ ((t) => (t[t.Unknown = 0] = "Unknown", t[t.H264 = 1] = "H264", t[t.Vp8 = 2] = "Vp8", t[t.Vp9 = 3] = "Vp9", t[t.Av1 = 4] = "Av1", t))(ct || {}), ft = /* @__PURE__ */ ((t) => (t[t.Unknown = 0] = "Unknown", t[t.DotNet = 1] = "DotNet", t[t.TypeScript = 2] = "TypeScript", t[t.Cpp = 3] = "Cpp", t[t.Dart = 4] = "Dart", t[t.Rust = 5] = "Rust", t))(ft || {}), Tt = /* @__PURE__ */ ((t) => (t[t.Local = 0] = "Local", t[t.Cloud = 1] = "Cloud", t))(Tt || {}), At = /* @__PURE__ */ ((t) => (t[t.Bundle = 0] = "Bundle", t[t.GitSource = 1] = "GitSource", t))(At || {}), L = /* @__PURE__ */ ((t) => (t[t.NONE = 0] = "NONE", t[t.CONSTANT_GROUP_BITS = 15] = "CONSTANT_GROUP_BITS", t[t.CONSTANT_GROUP_OFFSET = 16] = "CONSTANT_GROUP_OFFSET", t[t.GROUP_CORE = 65536] = "GROUP_CORE", t[t.CORE_AUTH_RESPONSE = 65537] = "CORE_AUTH_RESPONSE", t[t.CORE_AUTH_TICKET = 65538] = "CORE_AUTH_TICKET", t[t.CORE_GLOBAL_STATE = 65539] = "CORE_GLOBAL_STATE", t[t.CORE_ON_SERVER_STATUS_PING = 65540] = "CORE_ON_SERVER_STATUS_PING", t[t.CORE_ON_USER_JOINED = 65541] = "CORE_ON_USER_JOINED", t[t.CORE_ON_USER_LEFT = 65542] = "CORE_ON_USER_LEFT", t[t.CORE_ON_CLIENT_JOINED = 65543] = "CORE_ON_CLIENT_JOINED", t[t.CORE_ON_CLIENT_LEFT = 65544] = "CORE_ON_CLIENT_LEFT", t[t.CORE_ON_SERVER_STARTED = 65545] = "CORE_ON_SERVER_STARTED", t[t.CORE_ON_SERVER_STOPPED = 65546] = "CORE_ON_SERVER_STOPPED", t[t.CORE_ON_SERVER_STOPPING = 65547] = "CORE_ON_SERVER_STOPPING", t[t.CORE_ON_CLIENT_READY = 65548] = "CORE_ON_CLIENT_READY", t[t.CORE_CLIENT_READY = 65549] = "CORE_CLIENT_READY", t[t.CORE_SERVER_INIT = 65550] = "CORE_SERVER_INIT", t[t.CORE_ON_PLUGIN_RELOADED = 65551] = "CORE_ON_PLUGIN_RELOADED", t[t.CORE_SERVER_START = 65552] = "CORE_SERVER_START", t[t.CORE_SERVER_STOP = 65553] = "CORE_SERVER_STOP", t[t.CORE_ON_HOSTED_SERVER_EXIT = 65554] = "CORE_ON_HOSTED_SERVER_EXIT", t[t.CORE_DYNAMIC_CONFIG = 65555] = "CORE_DYNAMIC_CONFIG", t[t.CORE_PROXY_RPC_AUTH_TICKET = 65556] = "CORE_PROXY_RPC_AUTH_TICKET", t[t.CORE_SERVER_INIT2 = 65557] = "CORE_SERVER_INIT2", t[t.CORE_UPDATE_CLIENT_CONTEXT = 65558] = "CORE_UPDATE_CLIENT_CONTEXT", t[t.CORE_BACKGROUND_WORK_ACTIVE = 65559] = "CORE_BACKGROUND_WORK_ACTIVE", t[t.CORE_WEBRTC_OFFER = 65566] = "CORE_WEBRTC_OFFER", t[t.CORE_WEBRTC_ANSWER = 65567] = "CORE_WEBRTC_ANSWER", t[t.CORE_WEBRTC_ICE_CANDIDATE = 65568] = "CORE_WEBRTC_ICE_CANDIDATE", t[t.CORE_WEBRTC_READY = 65569] = "CORE_WEBRTC_READY", t[t.CORE_WEBRTC_AUDIO_SEGMENT = 65570] = "CORE_WEBRTC_AUDIO_SEGMENT", t[t.CORE_WEBRTC_TRACK_MAP = 65571] = "CORE_WEBRTC_TRACK_MAP", t[t.CORE_RELAY_AGENT_AUTH = 65576] = "CORE_RELAY_AGENT_AUTH", t[t.CORE_RELAY_AGENT_AUTH_RESULT = 65577] = "CORE_RELAY_AGENT_AUTH_RESULT", t[t.CORE_RELAY_HEARTBEAT = 65578] = "CORE_RELAY_HEARTBEAT", t[t.CORE_RELAY_TCP_CONNECTION_OPENED = 65579] = "CORE_RELAY_TCP_CONNECTION_OPENED", t[t.CORE_RELAY_TCP_CONNECTION_CLOSED = 65580] = "CORE_RELAY_TCP_CONNECTION_CLOSED", t[t.CORE_RELAY_TCP_DATA = 65581] = "CORE_RELAY_TCP_DATA", t[t.CORE_RELAY_UDP_DATA = 65582] = "CORE_RELAY_UDP_DATA", t[t.CORE_RELAY_ADD_TUNNEL = 65583] = "CORE_RELAY_ADD_TUNNEL", t[t.CORE_RELAY_TUNNEL_ADDED = 65584] = "CORE_RELAY_TUNNEL_ADDED", t[t.CORE_RELAY_REMOVE_TUNNEL = 65585] = "CORE_RELAY_REMOVE_TUNNEL", t[t.GROUP_KEEPALIVE = 131072] = "GROUP_KEEPALIVE", t[t.KEEPALIVE_REQUEST = 131073] = "KEEPALIVE_REQUEST", t[t.KEEPALIVE_RESPONSE = 131074] = "KEEPALIVE_RESPONSE", t[t.GROUP_EVENTS = 262144] = "GROUP_EVENTS", t[t.EVENTS_PROFILE_UPDATE = 262145] = "EVENTS_PROFILE_UPDATE", t[t.EVENTS_CHANNEL_COMPLETE = 262146] = "EVENTS_CHANNEL_COMPLETE", t[t.EVENTS_SPEECH_PLAYBACK_COMPLETE = 262147] = "EVENTS_SPEECH_PLAYBACK_COMPLETE", t[t.GROUP_ANALYTICS = 524288] = "GROUP_ANALYTICS", t[t.ANALYTICS_LOGS = 524289] = "ANALYTICS_LOGS", t[t.ANALYTICS_EVENTS = 524290] = "ANALYTICS_EVENTS", t[t.ANALYTICS_USAGES = 524291] = "ANALYTICS_USAGES", t[t.ANALYTICS_USAGE = 524292] = "ANALYTICS_USAGE", t[t.ANALYTICS_SPECIAL_LOG = 524293] = "ANALYTICS_SPECIAL_LOG", t[t.ANALYTICS_PROCESSING_UPDATE = 524294] = "ANALYTICS_PROCESSING_UPDATE", t[t.ANALYTICS_REACTIVE_PROCESSING_UPDATE = 524295] = "ANALYTICS_REACTIVE_PROCESSING_UPDATE", t[t.ANALYTICS_IKON_PROXY_SERVER_STATS = 524296] = "ANALYTICS_IKON_PROXY_SERVER_STATS", t[t.ANALYTICS_IKON_RELAY_SERVER_STATS = 524297] = "ANALYTICS_IKON_RELAY_SERVER_STATS", t[t.ANALYTICS_IKON_TURN_SERVER_STATS = 524298] = "ANALYTICS_IKON_TURN_SERVER_STATS", t[t.GROUP_ACTIONS = 1048576] = "GROUP_ACTIONS", t[t.ACTION_CALL = 1048577] = "ACTION_CALL", t[t.ACTION_ACTIVE = 1048578] = "ACTION_ACTIVE", t[t.ACTION_TEXT_OUTPUT = 1048579] = "ACTION_TEXT_OUTPUT", t[t.ACTION_TEXT_OUTPUT_DELTA = 1048580] = "ACTION_TEXT_OUTPUT_DELTA", t[t.ACTION_TEXT_OUTPUT_DELTA_FULL = 1048581] = "ACTION_TEXT_OUTPUT_DELTA_FULL", t[t.ACTION_SET_STATE = 1048582] = "ACTION_SET_STATE", t[t.ACTION_TAP = 1048583] = "ACTION_TAP", t[t.ACTION_PAN = 1048584] = "ACTION_PAN", t[t.ACTION_ZOOM = 1048585] = "ACTION_ZOOM", t[t.ACTION_FILE_UPLOAD_BEGIN = 1048586] = "ACTION_FILE_UPLOAD_BEGIN", t[t.ACTION_FILE_UPLOAD_DATA = 1048587] = "ACTION_FILE_UPLOAD_DATA", t[t.ACTION_FILE_UPLOAD_ACK = 1048588] = "ACTION_FILE_UPLOAD_ACK", t[t.ACTION_FILE_UPLOAD_END = 1048589] = "ACTION_FILE_UPLOAD_END", t[t.ACTION_FILE_UPLOAD_RESULT = 1048590] = "ACTION_FILE_UPLOAD_RESULT", t[t.ACTION_OPEN_CHANNEL = 1048591] = "ACTION_OPEN_CHANNEL", t[t.ACTION_OPEN_EXTERNAL_URL = 1048592] = "ACTION_OPEN_EXTERNAL_URL", t[t.ACTION_UI_OPEN_VIEW = 1048593] = "ACTION_UI_OPEN_VIEW", t[t.ACTION_UI_CLOSE_VIEW = 1048594] = "ACTION_UI_CLOSE_VIEW", t[t.ACTION_UI_BLOCKING_BEGIN = 1048595] = "ACTION_UI_BLOCKING_BEGIN", t[t.ACTION_UI_BLOCKING_END = 1048596] = "ACTION_UI_BLOCKING_END", t[t.ACTION_UI_UPDATE_TEXT_DELTA = 1048597] = "ACTION_UI_UPDATE_TEXT_DELTA", t[t.ACTION_UI_DELETE_CONTAINER = 1048598] = "ACTION_UI_DELETE_CONTAINER", t[t.ACTION_UPDATE_GFX_SHADER = 1048599] = "ACTION_UPDATE_GFX_SHADER", t[t.ACTION_FUNCTION_REGISTER = 1048600] = "ACTION_FUNCTION_REGISTER", t[t.ACTION_FUNCTION_CALL = 1048601] = "ACTION_FUNCTION_CALL", t[t.ACTION_FUNCTION_RESULT = 1048602] = "ACTION_FUNCTION_RESULT", t[t.ACTION_GENERATE_ANSWER = 1048603] = "ACTION_GENERATE_ANSWER", t[t.ACTION_REGENERATE_ANSWER = 1048604] = "ACTION_REGENERATE_ANSWER", t[t.ACTION_CLEAR_CHAT_MESSAGE_HISTORY = 1048605] = "ACTION_CLEAR_CHAT_MESSAGE_HISTORY", t[t.ACTION_CLEAR_STATE = 1048606] = "ACTION_CLEAR_STATE", t[t.ACTION_RELOAD_CHANNELS = 1048607] = "ACTION_RELOAD_CHANNELS", t[t.ACTION_RELOAD_PROFILE = 1048608] = "ACTION_RELOAD_PROFILE", t[t.ACTION_CLASSIFICATION_RESULT = 1048609] = "ACTION_CLASSIFICATION_RESULT", t[t.ACTION_AUDIO_STOP = 1048610] = "ACTION_AUDIO_STOP", t[t.ACTION_CALL_TEXT = 1048611] = "ACTION_CALL_TEXT", t[t.ACTION_RELOAD_APPLICATION = 1048612] = "ACTION_RELOAD_APPLICATION", t[t.ACTION_CANCEL_GENERATION = 1048613] = "ACTION_CANCEL_GENERATION", t[t.ACTION_UI_SET_CONTAINER_STABLE = 1048614] = "ACTION_UI_SET_CONTAINER_STABLE", t[t.ACTION_SPEECH_RECOGNIZED = 1048615] = "ACTION_SPEECH_RECOGNIZED", t[t.ACTION_CALL_RESULT = 1048616] = "ACTION_CALL_RESULT", t[t.ACTION_RELOAD_PROVIDER = 1048617] = "ACTION_RELOAD_PROVIDER", t[t.ACTION_DOWNLOAD = 1048618] = "ACTION_DOWNLOAD", t[t.ACTION_SCROLL_TO_CONTAINER = 1048619] = "ACTION_SCROLL_TO_CONTAINER", t[t.ACTION_UI_CLEAR_STREAM = 1048620] = "ACTION_UI_CLEAR_STREAM", t[t.ACTION_PLAY_SOUND = 1048621] = "ACTION_PLAY_SOUND", t[t.ACTION_ENTER_FULLSCREEN = 1048622] = "ACTION_ENTER_FULLSCREEN", t[t.ACTION_STOP_SOUND = 1048623] = "ACTION_STOP_SOUND", t[t.ACTION_START_RECORDING = 1048624] = "ACTION_START_RECORDING", t[t.ACTION_STOP_RECORDING = 1048625] = "ACTION_STOP_RECORDING", t[t.ACTION_FUNCTION_ENUMERATION_ITEM = 1048627] = "ACTION_FUNCTION_ENUMERATION_ITEM", t[t.ACTION_FUNCTION_ENUMERATION_END = 1048628] = "ACTION_FUNCTION_ENUMERATION_END", t[t.ACTION_FUNCTION_CANCEL = 1048629] = "ACTION_FUNCTION_CANCEL", t[t.ACTION_FUNCTION_DISPOSE = 1048630] = "ACTION_FUNCTION_DISPOSE", t[t.ACTION_FUNCTION_ERROR = 1048631] = "ACTION_FUNCTION_ERROR", t[t.ACTION_FUNCTION_ACK = 1048632] = "ACTION_FUNCTION_ACK", t[t.ACTION_FUNCTION_AWAITING_APPROVAL = 1048633] = "ACTION_FUNCTION_AWAITING_APPROVAL", t[t.ACTION_FUNCTION_APPROVAL_REQUIRED = 1048634] = "ACTION_FUNCTION_APPROVAL_REQUIRED", t[t.ACTION_FUNCTION_APPROVAL_RESPONSE = 1048635] = "ACTION_FUNCTION_APPROVAL_RESPONSE", t[t.UI_UPDATE_ACK = 1048636] = "UI_UPDATE_ACK", t[t.ACTION_CALL2 = 1048637] = "ACTION_CALL2", t[t.ACTION_FUNCTION_REGISTER_BATCH = 1048638] = "ACTION_FUNCTION_REGISTER_BATCH", t[t.ACTION_TRIGGER_GIT_PULL = 1048639] = "ACTION_TRIGGER_GIT_PULL", t[t.ACTION_FILE_UPLOAD_CALLBACK = 1048640] = "ACTION_FILE_UPLOAD_CALLBACK", t[t.ACTION_CUSTOM_USER_MESSAGE = 1048641] = "ACTION_CUSTOM_USER_MESSAGE", t[t.ACTION_URL_CHANGED = 1048642] = "ACTION_URL_CHANGED", t[t.ACTION_FILE_UPLOAD_PRE_START2 = 1048643] = "ACTION_FILE_UPLOAD_PRE_START2", t[t.ACTION_FILE_UPLOAD_PRE_START_RESPONSE2 = 1048644] = "ACTION_FILE_UPLOAD_PRE_START_RESPONSE2", t[t.ACTION_FILE_UPLOAD_START2 = 1048645] = "ACTION_FILE_UPLOAD_START2", t[t.ACTION_FILE_UPLOAD_START_RESPONSE2 = 1048646] = "ACTION_FILE_UPLOAD_START_RESPONSE2", t[t.ACTION_FILE_UPLOAD_DATA2 = 1048647] = "ACTION_FILE_UPLOAD_DATA2", t[t.ACTION_FILE_UPLOAD_ACK2 = 1048648] = "ACTION_FILE_UPLOAD_ACK2", t[t.ACTION_FILE_UPLOAD_END2 = 1048649] = "ACTION_FILE_UPLOAD_END2", t[t.ACTION_FILE_UPLOAD_COMPLETE2 = 1048650] = "ACTION_FILE_UPLOAD_COMPLETE2", t[t.ACTION_FUNCTION_ENUMERATION_ITEM_BATCH = 1048651] = "ACTION_FUNCTION_ENUMERATION_ITEM_BATCH", t[t.GROUP_UI = 2097152] = "GROUP_UI", t[t.UI_STREAM_BEGIN = 2097153] = "UI_STREAM_BEGIN", t[t.UI_STREAM_END = 2097154] = "UI_STREAM_END", t[t.UI_CONTAINER_BEGIN = 2097155] = "UI_CONTAINER_BEGIN", t[t.UI_CONTAINER_END = 2097156] = "UI_CONTAINER_END", t[t.UI_SECTION_BEGIN = 2097157] = "UI_SECTION_BEGIN", t[t.UI_SECTION_END = 2097158] = "UI_SECTION_END", t[t.UI_LIST_BEGIN = 2097159] = "UI_LIST_BEGIN", t[t.UI_LIST_ITEM = 2097160] = "UI_LIST_ITEM", t[t.UI_LIST_END = 2097161] = "UI_LIST_END", t[t.UI_TEXT = 2097162] = "UI_TEXT", t[t.UI_HEADER = 2097163] = "UI_HEADER", t[t.UI_SEPARATOR = 2097164] = "UI_SEPARATOR", t[t.UI_BUTTON = 2097165] = "UI_BUTTON", t[t.UI_ICON_BUTTON = 2097166] = "UI_ICON_BUTTON", t[t.UI_IMAGE = 2097167] = "UI_IMAGE", t[t.UI_FILE = 2097168] = "UI_FILE", t[t.UI_BADGE = 2097169] = "UI_BADGE", t[t.UI_CONTENT_LINK = 2097170] = "UI_CONTENT_LINK", t[t.UI_MAP = 2097171] = "UI_MAP", t[t.UI_VEGA_CHART = 2097172] = "UI_VEGA_CHART", t[t.UI_ICON = 2097173] = "UI_ICON", t[t.UI_FILE_UPLOAD_SECTION_BEGIN = 2097174] = "UI_FILE_UPLOAD_SECTION_BEGIN", t[t.UI_FILE_UPLOAD_SECTION_END = 2097175] = "UI_FILE_UPLOAD_SECTION_END", t[t.UI_MATERIAL_SYMBOL = 2097176] = "UI_MATERIAL_SYMBOL", t[t.UI_BUTTON_BEGIN = 2097177] = "UI_BUTTON_BEGIN", t[t.UI_BUTTON_END = 2097178] = "UI_BUTTON_END", t[t.UI_CONTAINER_DELETE = 2097179] = "UI_CONTAINER_DELETE", t[t.UI_INPUT_TEXT = 2097180] = "UI_INPUT_TEXT", t[t.UI_PROGRESS_BAR = 2097181] = "UI_PROGRESS_BAR", t[t.UI_UPDATE_BEGIN = 2097182] = "UI_UPDATE_BEGIN", t[t.UI_UPDATE_END = 2097183] = "UI_UPDATE_END", t[t.UI_AUTOCOMPLETE = 2097184] = "UI_AUTOCOMPLETE", t[t.UI_CHECKBOX = 2097185] = "UI_CHECKBOX", t[t.UI_QS = 2097186] = "UI_QS", t[t.UI_ELEMENT = 2097187] = "UI_ELEMENT", t[t.UI_STYLES = 2097188] = "UI_STYLES", t[t.UI_SVG = 2097189] = "UI_SVG", t[t.UI_UPDATE = 2097190] = "UI_UPDATE", t[t.UI_INIT = 2097191] = "UI_INIT", t[t.UI_STYLES_BATCH = 2097192] = "UI_STYLES_BATCH", t[t.UI_STYLES_DELETE = 2097193] = "UI_STYLES_DELETE", t[t.GROUP_COMMON = 4128768] = "GROUP_COMMON", t[t.GROUP_AUDIO = 4194304] = "GROUP_AUDIO", t[t.AUDIO_STREAM_BEGIN = 4194305] = "AUDIO_STREAM_BEGIN", t[t.AUDIO_STREAM_END = 4194306] = "AUDIO_STREAM_END", t[t.AUDIO_FRAME = 4194307] = "AUDIO_FRAME", t[t.AUDIO_FRAME_VOLUME = 4194308] = "AUDIO_FRAME_VOLUME", t[t.AUDIO_FRAME2 = 4194309] = "AUDIO_FRAME2", t[t.AUDIO_SHAPE_FRAME = 4194310] = "AUDIO_SHAPE_FRAME", t[t.GROUP_VIDEO = 8388608] = "GROUP_VIDEO", t[t.VIDEO_STREAM_BEGIN = 8388609] = "VIDEO_STREAM_BEGIN", t[t.VIDEO_STREAM_END = 8388610] = "VIDEO_STREAM_END", t[t.VIDEO_FRAME = 8388611] = "VIDEO_FRAME", t[t.VIDEO_REQUEST_IDR_FRAME = 8388612] = "VIDEO_REQUEST_IDR_FRAME", t[t.VIDEO_INVALIDATE_FRAME = 8388613] = "VIDEO_INVALIDATE_FRAME", t[t.GROUP_TRACKING = 16777216] = "GROUP_TRACKING", t[t.TRACKING_STREAM_BEGIN = 16777217] = "TRACKING_STREAM_BEGIN", t[t.TRACKING_STREAM_END = 16777218] = "TRACKING_STREAM_END", t[t.TRACKING_FRAME = 16777219] = "TRACKING_FRAME", t[t.GROUP_SCENE = 33554432] = "GROUP_SCENE", t[t.SCENE_MESH = 33554433] = "SCENE_MESH", t[t.SCENE_ARRAY = 33554434] = "SCENE_ARRAY", t[t.GROUP_ALL = 67043328] = "GROUP_ALL", t[t.GROUP_APP_LOCAL = 1073741824] = "GROUP_APP_LOCAL", t[t.CONSTANT_GROUP_MASK = 2147418112] = "CONSTANT_GROUP_MASK", t))(L || {});
|
|
999
|
-
const le = 161083277, Ie = 265814330, Ee = 1368629611, _e = 2431514951, he =
|
|
1000
|
-
function St(t) {
|
|
1001
|
-
const e = {};
|
|
1002
|
-
return Nt(e), e;
|
|
1003
|
-
}
|
|
998
|
+
var ot = /* @__PURE__ */ ((t) => (t[t.Unknown = 0] = "Unknown", t[t.Opus = 1] = "Opus", t[t.Mp3 = 2] = "Mp3", t[t.RawPcm16 = 3] = "RawPcm16", t))(ot || {}), lt = /* @__PURE__ */ ((t) => (t[t.Unknown = 0] = "Unknown", t[t.MobileWeb = 1] = "MobileWeb", t[t.MobileApp = 2] = "MobileApp", t[t.DesktopWeb = 3] = "DesktopWeb", t[t.DesktopApp = 4] = "DesktopApp", t))(lt || {}), It = /* @__PURE__ */ ((t) => (t[t.Unknown = 0] = "Unknown", t[t.Backend = 2] = "Backend", t[t.Server = 4] = "Server", t[t.Plugin = 8] = "Plugin", t[t.Browser = 16] = "Browser", t))(It || {}), Et = /* @__PURE__ */ ((t) => (t[t.Unknown = 0] = "Unknown", t[t.MessagePack = 1] = "MessagePack", t[t.MemoryPack = 2] = "MemoryPack", t[t.Json = 4] = "Json", t[t.Teleport = 8] = "Teleport", t[t.All = 15] = "All", t))(Et || {}), _t = /* @__PURE__ */ ((t) => (t[t.Face = 0] = "Face", t[t.Hands = 1] = "Hands", t[t.Pose = 2] = "Pose", t[t.All = 3] = "All", t))(_t || {}), ht = /* @__PURE__ */ ((t) => (t[t.Css = 0] = "Css", t[t.Flutter = 1] = "Flutter", t))(ht || {}), ut = /* @__PURE__ */ ((t) => (t[t.Unknown = 0] = "Unknown", t[t.Machine = 1] = "Machine", t[t.Human = 2] = "Human", t))(ut || {}), ct = /* @__PURE__ */ ((t) => (t[t.Unknown = 0] = "Unknown", t[t.H264 = 1] = "H264", t[t.Vp8 = 2] = "Vp8", t[t.Vp9 = 3] = "Vp9", t[t.Av1 = 4] = "Av1", t))(ct || {}), ft = /* @__PURE__ */ ((t) => (t[t.Unknown = 0] = "Unknown", t[t.DotNet = 1] = "DotNet", t[t.TypeScript = 2] = "TypeScript", t[t.Cpp = 3] = "Cpp", t[t.Dart = 4] = "Dart", t[t.Rust = 5] = "Rust", t))(ft || {}), Tt = /* @__PURE__ */ ((t) => (t[t.Local = 0] = "Local", t[t.Cloud = 1] = "Cloud", t))(Tt || {}), At = /* @__PURE__ */ ((t) => (t[t.Bundle = 0] = "Bundle", t[t.GitSource = 1] = "GitSource", t))(At || {}), L = /* @__PURE__ */ ((t) => (t[t.NONE = 0] = "NONE", t[t.CONSTANT_GROUP_BITS = 15] = "CONSTANT_GROUP_BITS", t[t.CONSTANT_GROUP_OFFSET = 16] = "CONSTANT_GROUP_OFFSET", t[t.GROUP_CORE = 65536] = "GROUP_CORE", t[t.CORE_AUTH_RESPONSE = 65537] = "CORE_AUTH_RESPONSE", t[t.CORE_AUTH_TICKET = 65538] = "CORE_AUTH_TICKET", t[t.CORE_GLOBAL_STATE = 65539] = "CORE_GLOBAL_STATE", t[t.CORE_ON_SERVER_STATUS_PING = 65540] = "CORE_ON_SERVER_STATUS_PING", t[t.CORE_ON_USER_JOINED = 65541] = "CORE_ON_USER_JOINED", t[t.CORE_ON_USER_LEFT = 65542] = "CORE_ON_USER_LEFT", t[t.CORE_ON_CLIENT_JOINED = 65543] = "CORE_ON_CLIENT_JOINED", t[t.CORE_ON_CLIENT_LEFT = 65544] = "CORE_ON_CLIENT_LEFT", t[t.CORE_ON_SERVER_STARTED = 65545] = "CORE_ON_SERVER_STARTED", t[t.CORE_ON_SERVER_STOPPED = 65546] = "CORE_ON_SERVER_STOPPED", t[t.CORE_ON_SERVER_STOPPING = 65547] = "CORE_ON_SERVER_STOPPING", t[t.CORE_ON_CLIENT_READY = 65548] = "CORE_ON_CLIENT_READY", t[t.CORE_CLIENT_READY = 65549] = "CORE_CLIENT_READY", t[t.CORE_SERVER_INIT = 65550] = "CORE_SERVER_INIT", t[t.CORE_ON_PLUGIN_RELOADED = 65551] = "CORE_ON_PLUGIN_RELOADED", t[t.CORE_SERVER_START = 65552] = "CORE_SERVER_START", t[t.CORE_SERVER_STOP = 65553] = "CORE_SERVER_STOP", t[t.CORE_ON_HOSTED_SERVER_EXIT = 65554] = "CORE_ON_HOSTED_SERVER_EXIT", t[t.CORE_DYNAMIC_CONFIG = 65555] = "CORE_DYNAMIC_CONFIG", t[t.CORE_PROXY_RPC_AUTH_TICKET = 65556] = "CORE_PROXY_RPC_AUTH_TICKET", t[t.CORE_SERVER_INIT2 = 65557] = "CORE_SERVER_INIT2", t[t.CORE_UPDATE_CLIENT_CONTEXT = 65558] = "CORE_UPDATE_CLIENT_CONTEXT", t[t.CORE_BACKGROUND_WORK_ACTIVE = 65559] = "CORE_BACKGROUND_WORK_ACTIVE", t[t.CORE_WEBRTC_OFFER = 65566] = "CORE_WEBRTC_OFFER", t[t.CORE_WEBRTC_ANSWER = 65567] = "CORE_WEBRTC_ANSWER", t[t.CORE_WEBRTC_ICE_CANDIDATE = 65568] = "CORE_WEBRTC_ICE_CANDIDATE", t[t.CORE_WEBRTC_READY = 65569] = "CORE_WEBRTC_READY", t[t.CORE_WEBRTC_AUDIO_SEGMENT = 65570] = "CORE_WEBRTC_AUDIO_SEGMENT", t[t.CORE_WEBRTC_TRACK_MAP = 65571] = "CORE_WEBRTC_TRACK_MAP", t[t.CORE_WEBRTC_VIDEO_CAPTURE = 65572] = "CORE_WEBRTC_VIDEO_CAPTURE", t[t.CORE_RELAY_AGENT_AUTH = 65576] = "CORE_RELAY_AGENT_AUTH", t[t.CORE_RELAY_AGENT_AUTH_RESULT = 65577] = "CORE_RELAY_AGENT_AUTH_RESULT", t[t.CORE_RELAY_HEARTBEAT = 65578] = "CORE_RELAY_HEARTBEAT", t[t.CORE_RELAY_TCP_CONNECTION_OPENED = 65579] = "CORE_RELAY_TCP_CONNECTION_OPENED", t[t.CORE_RELAY_TCP_CONNECTION_CLOSED = 65580] = "CORE_RELAY_TCP_CONNECTION_CLOSED", t[t.CORE_RELAY_TCP_DATA = 65581] = "CORE_RELAY_TCP_DATA", t[t.CORE_RELAY_UDP_DATA = 65582] = "CORE_RELAY_UDP_DATA", t[t.CORE_RELAY_ADD_TUNNEL = 65583] = "CORE_RELAY_ADD_TUNNEL", t[t.CORE_RELAY_TUNNEL_ADDED = 65584] = "CORE_RELAY_TUNNEL_ADDED", t[t.CORE_RELAY_REMOVE_TUNNEL = 65585] = "CORE_RELAY_REMOVE_TUNNEL", t[t.GROUP_KEEPALIVE = 131072] = "GROUP_KEEPALIVE", t[t.KEEPALIVE_REQUEST = 131073] = "KEEPALIVE_REQUEST", t[t.KEEPALIVE_RESPONSE = 131074] = "KEEPALIVE_RESPONSE", t[t.GROUP_EVENTS = 262144] = "GROUP_EVENTS", t[t.EVENTS_PROFILE_UPDATE = 262145] = "EVENTS_PROFILE_UPDATE", t[t.EVENTS_CHANNEL_COMPLETE = 262146] = "EVENTS_CHANNEL_COMPLETE", t[t.EVENTS_SPEECH_PLAYBACK_COMPLETE = 262147] = "EVENTS_SPEECH_PLAYBACK_COMPLETE", t[t.GROUP_ANALYTICS = 524288] = "GROUP_ANALYTICS", t[t.ANALYTICS_LOGS = 524289] = "ANALYTICS_LOGS", t[t.ANALYTICS_EVENTS = 524290] = "ANALYTICS_EVENTS", t[t.ANALYTICS_USAGES = 524291] = "ANALYTICS_USAGES", t[t.ANALYTICS_USAGE = 524292] = "ANALYTICS_USAGE", t[t.ANALYTICS_SPECIAL_LOG = 524293] = "ANALYTICS_SPECIAL_LOG", t[t.ANALYTICS_PROCESSING_UPDATE = 524294] = "ANALYTICS_PROCESSING_UPDATE", t[t.ANALYTICS_REACTIVE_PROCESSING_UPDATE = 524295] = "ANALYTICS_REACTIVE_PROCESSING_UPDATE", t[t.ANALYTICS_IKON_PROXY_SERVER_STATS = 524296] = "ANALYTICS_IKON_PROXY_SERVER_STATS", t[t.ANALYTICS_IKON_RELAY_SERVER_STATS = 524297] = "ANALYTICS_IKON_RELAY_SERVER_STATS", t[t.ANALYTICS_IKON_TURN_SERVER_STATS = 524298] = "ANALYTICS_IKON_TURN_SERVER_STATS", t[t.GROUP_ACTIONS = 1048576] = "GROUP_ACTIONS", t[t.ACTION_CALL = 1048577] = "ACTION_CALL", t[t.ACTION_ACTIVE = 1048578] = "ACTION_ACTIVE", t[t.ACTION_TEXT_OUTPUT = 1048579] = "ACTION_TEXT_OUTPUT", t[t.ACTION_TEXT_OUTPUT_DELTA = 1048580] = "ACTION_TEXT_OUTPUT_DELTA", t[t.ACTION_TEXT_OUTPUT_DELTA_FULL = 1048581] = "ACTION_TEXT_OUTPUT_DELTA_FULL", t[t.ACTION_SET_STATE = 1048582] = "ACTION_SET_STATE", t[t.ACTION_TAP = 1048583] = "ACTION_TAP", t[t.ACTION_PAN = 1048584] = "ACTION_PAN", t[t.ACTION_ZOOM = 1048585] = "ACTION_ZOOM", t[t.ACTION_FILE_UPLOAD_BEGIN = 1048586] = "ACTION_FILE_UPLOAD_BEGIN", t[t.ACTION_FILE_UPLOAD_DATA = 1048587] = "ACTION_FILE_UPLOAD_DATA", t[t.ACTION_FILE_UPLOAD_ACK = 1048588] = "ACTION_FILE_UPLOAD_ACK", t[t.ACTION_FILE_UPLOAD_END = 1048589] = "ACTION_FILE_UPLOAD_END", t[t.ACTION_FILE_UPLOAD_RESULT = 1048590] = "ACTION_FILE_UPLOAD_RESULT", t[t.ACTION_OPEN_CHANNEL = 1048591] = "ACTION_OPEN_CHANNEL", t[t.ACTION_OPEN_EXTERNAL_URL = 1048592] = "ACTION_OPEN_EXTERNAL_URL", t[t.ACTION_UI_OPEN_VIEW = 1048593] = "ACTION_UI_OPEN_VIEW", t[t.ACTION_UI_CLOSE_VIEW = 1048594] = "ACTION_UI_CLOSE_VIEW", t[t.ACTION_UI_BLOCKING_BEGIN = 1048595] = "ACTION_UI_BLOCKING_BEGIN", t[t.ACTION_UI_BLOCKING_END = 1048596] = "ACTION_UI_BLOCKING_END", t[t.ACTION_UI_UPDATE_TEXT_DELTA = 1048597] = "ACTION_UI_UPDATE_TEXT_DELTA", t[t.ACTION_UI_DELETE_CONTAINER = 1048598] = "ACTION_UI_DELETE_CONTAINER", t[t.ACTION_UPDATE_GFX_SHADER = 1048599] = "ACTION_UPDATE_GFX_SHADER", t[t.ACTION_FUNCTION_REGISTER = 1048600] = "ACTION_FUNCTION_REGISTER", t[t.ACTION_FUNCTION_CALL = 1048601] = "ACTION_FUNCTION_CALL", t[t.ACTION_FUNCTION_RESULT = 1048602] = "ACTION_FUNCTION_RESULT", t[t.ACTION_GENERATE_ANSWER = 1048603] = "ACTION_GENERATE_ANSWER", t[t.ACTION_REGENERATE_ANSWER = 1048604] = "ACTION_REGENERATE_ANSWER", t[t.ACTION_CLEAR_CHAT_MESSAGE_HISTORY = 1048605] = "ACTION_CLEAR_CHAT_MESSAGE_HISTORY", t[t.ACTION_CLEAR_STATE = 1048606] = "ACTION_CLEAR_STATE", t[t.ACTION_RELOAD_CHANNELS = 1048607] = "ACTION_RELOAD_CHANNELS", t[t.ACTION_RELOAD_PROFILE = 1048608] = "ACTION_RELOAD_PROFILE", t[t.ACTION_CLASSIFICATION_RESULT = 1048609] = "ACTION_CLASSIFICATION_RESULT", t[t.ACTION_AUDIO_STOP = 1048610] = "ACTION_AUDIO_STOP", t[t.ACTION_CALL_TEXT = 1048611] = "ACTION_CALL_TEXT", t[t.ACTION_RELOAD_APPLICATION = 1048612] = "ACTION_RELOAD_APPLICATION", t[t.ACTION_CANCEL_GENERATION = 1048613] = "ACTION_CANCEL_GENERATION", t[t.ACTION_UI_SET_CONTAINER_STABLE = 1048614] = "ACTION_UI_SET_CONTAINER_STABLE", t[t.ACTION_SPEECH_RECOGNIZED = 1048615] = "ACTION_SPEECH_RECOGNIZED", t[t.ACTION_CALL_RESULT = 1048616] = "ACTION_CALL_RESULT", t[t.ACTION_RELOAD_PROVIDER = 1048617] = "ACTION_RELOAD_PROVIDER", t[t.ACTION_DOWNLOAD = 1048618] = "ACTION_DOWNLOAD", t[t.ACTION_SCROLL_TO_CONTAINER = 1048619] = "ACTION_SCROLL_TO_CONTAINER", t[t.ACTION_UI_CLEAR_STREAM = 1048620] = "ACTION_UI_CLEAR_STREAM", t[t.ACTION_PLAY_SOUND = 1048621] = "ACTION_PLAY_SOUND", t[t.ACTION_ENTER_FULLSCREEN = 1048622] = "ACTION_ENTER_FULLSCREEN", t[t.ACTION_STOP_SOUND = 1048623] = "ACTION_STOP_SOUND", t[t.ACTION_START_RECORDING = 1048624] = "ACTION_START_RECORDING", t[t.ACTION_STOP_RECORDING = 1048625] = "ACTION_STOP_RECORDING", t[t.ACTION_FUNCTION_ENUMERATION_ITEM = 1048627] = "ACTION_FUNCTION_ENUMERATION_ITEM", t[t.ACTION_FUNCTION_ENUMERATION_END = 1048628] = "ACTION_FUNCTION_ENUMERATION_END", t[t.ACTION_FUNCTION_CANCEL = 1048629] = "ACTION_FUNCTION_CANCEL", t[t.ACTION_FUNCTION_DISPOSE = 1048630] = "ACTION_FUNCTION_DISPOSE", t[t.ACTION_FUNCTION_ERROR = 1048631] = "ACTION_FUNCTION_ERROR", t[t.ACTION_FUNCTION_ACK = 1048632] = "ACTION_FUNCTION_ACK", t[t.ACTION_FUNCTION_AWAITING_APPROVAL = 1048633] = "ACTION_FUNCTION_AWAITING_APPROVAL", t[t.ACTION_FUNCTION_APPROVAL_REQUIRED = 1048634] = "ACTION_FUNCTION_APPROVAL_REQUIRED", t[t.ACTION_FUNCTION_APPROVAL_RESPONSE = 1048635] = "ACTION_FUNCTION_APPROVAL_RESPONSE", t[t.UI_UPDATE_ACK = 1048636] = "UI_UPDATE_ACK", t[t.ACTION_CALL2 = 1048637] = "ACTION_CALL2", t[t.ACTION_FUNCTION_REGISTER_BATCH = 1048638] = "ACTION_FUNCTION_REGISTER_BATCH", t[t.ACTION_TRIGGER_GIT_PULL = 1048639] = "ACTION_TRIGGER_GIT_PULL", t[t.ACTION_FILE_UPLOAD_CALLBACK = 1048640] = "ACTION_FILE_UPLOAD_CALLBACK", t[t.ACTION_CUSTOM_USER_MESSAGE = 1048641] = "ACTION_CUSTOM_USER_MESSAGE", t[t.ACTION_URL_CHANGED = 1048642] = "ACTION_URL_CHANGED", t[t.ACTION_FILE_UPLOAD_PRE_START2 = 1048643] = "ACTION_FILE_UPLOAD_PRE_START2", t[t.ACTION_FILE_UPLOAD_PRE_START_RESPONSE2 = 1048644] = "ACTION_FILE_UPLOAD_PRE_START_RESPONSE2", t[t.ACTION_FILE_UPLOAD_START2 = 1048645] = "ACTION_FILE_UPLOAD_START2", t[t.ACTION_FILE_UPLOAD_START_RESPONSE2 = 1048646] = "ACTION_FILE_UPLOAD_START_RESPONSE2", t[t.ACTION_FILE_UPLOAD_DATA2 = 1048647] = "ACTION_FILE_UPLOAD_DATA2", t[t.ACTION_FILE_UPLOAD_ACK2 = 1048648] = "ACTION_FILE_UPLOAD_ACK2", t[t.ACTION_FILE_UPLOAD_END2 = 1048649] = "ACTION_FILE_UPLOAD_END2", t[t.ACTION_FILE_UPLOAD_COMPLETE2 = 1048650] = "ACTION_FILE_UPLOAD_COMPLETE2", t[t.ACTION_FUNCTION_ENUMERATION_ITEM_BATCH = 1048651] = "ACTION_FUNCTION_ENUMERATION_ITEM_BATCH", t[t.ACTION_CALL_ACK = 1048652] = "ACTION_CALL_ACK", t[t.GROUP_UI = 2097152] = "GROUP_UI", t[t.UI_STREAM_BEGIN = 2097153] = "UI_STREAM_BEGIN", t[t.UI_STREAM_END = 2097154] = "UI_STREAM_END", t[t.UI_CONTAINER_BEGIN = 2097155] = "UI_CONTAINER_BEGIN", t[t.UI_CONTAINER_END = 2097156] = "UI_CONTAINER_END", t[t.UI_SECTION_BEGIN = 2097157] = "UI_SECTION_BEGIN", t[t.UI_SECTION_END = 2097158] = "UI_SECTION_END", t[t.UI_LIST_BEGIN = 2097159] = "UI_LIST_BEGIN", t[t.UI_LIST_ITEM = 2097160] = "UI_LIST_ITEM", t[t.UI_LIST_END = 2097161] = "UI_LIST_END", t[t.UI_TEXT = 2097162] = "UI_TEXT", t[t.UI_HEADER = 2097163] = "UI_HEADER", t[t.UI_SEPARATOR = 2097164] = "UI_SEPARATOR", t[t.UI_BUTTON = 2097165] = "UI_BUTTON", t[t.UI_ICON_BUTTON = 2097166] = "UI_ICON_BUTTON", t[t.UI_IMAGE = 2097167] = "UI_IMAGE", t[t.UI_FILE = 2097168] = "UI_FILE", t[t.UI_BADGE = 2097169] = "UI_BADGE", t[t.UI_CONTENT_LINK = 2097170] = "UI_CONTENT_LINK", t[t.UI_MAP = 2097171] = "UI_MAP", t[t.UI_VEGA_CHART = 2097172] = "UI_VEGA_CHART", t[t.UI_ICON = 2097173] = "UI_ICON", t[t.UI_FILE_UPLOAD_SECTION_BEGIN = 2097174] = "UI_FILE_UPLOAD_SECTION_BEGIN", t[t.UI_FILE_UPLOAD_SECTION_END = 2097175] = "UI_FILE_UPLOAD_SECTION_END", t[t.UI_MATERIAL_SYMBOL = 2097176] = "UI_MATERIAL_SYMBOL", t[t.UI_BUTTON_BEGIN = 2097177] = "UI_BUTTON_BEGIN", t[t.UI_BUTTON_END = 2097178] = "UI_BUTTON_END", t[t.UI_CONTAINER_DELETE = 2097179] = "UI_CONTAINER_DELETE", t[t.UI_INPUT_TEXT = 2097180] = "UI_INPUT_TEXT", t[t.UI_PROGRESS_BAR = 2097181] = "UI_PROGRESS_BAR", t[t.UI_UPDATE_BEGIN = 2097182] = "UI_UPDATE_BEGIN", t[t.UI_UPDATE_END = 2097183] = "UI_UPDATE_END", t[t.UI_AUTOCOMPLETE = 2097184] = "UI_AUTOCOMPLETE", t[t.UI_CHECKBOX = 2097185] = "UI_CHECKBOX", t[t.UI_QS = 2097186] = "UI_QS", t[t.UI_ELEMENT = 2097187] = "UI_ELEMENT", t[t.UI_STYLES = 2097188] = "UI_STYLES", t[t.UI_SVG = 2097189] = "UI_SVG", t[t.UI_UPDATE = 2097190] = "UI_UPDATE", t[t.UI_INIT = 2097191] = "UI_INIT", t[t.UI_STYLES_BATCH = 2097192] = "UI_STYLES_BATCH", t[t.UI_STYLES_DELETE = 2097193] = "UI_STYLES_DELETE", t[t.GROUP_COMMON = 4128768] = "GROUP_COMMON", t[t.GROUP_AUDIO = 4194304] = "GROUP_AUDIO", t[t.AUDIO_STREAM_BEGIN = 4194305] = "AUDIO_STREAM_BEGIN", t[t.AUDIO_STREAM_END = 4194306] = "AUDIO_STREAM_END", t[t.AUDIO_FRAME = 4194307] = "AUDIO_FRAME", t[t.AUDIO_FRAME_VOLUME = 4194308] = "AUDIO_FRAME_VOLUME", t[t.AUDIO_FRAME2 = 4194309] = "AUDIO_FRAME2", t[t.AUDIO_SHAPE_FRAME = 4194310] = "AUDIO_SHAPE_FRAME", t[t.GROUP_VIDEO = 8388608] = "GROUP_VIDEO", t[t.VIDEO_STREAM_BEGIN = 8388609] = "VIDEO_STREAM_BEGIN", t[t.VIDEO_STREAM_END = 8388610] = "VIDEO_STREAM_END", t[t.VIDEO_FRAME = 8388611] = "VIDEO_FRAME", t[t.VIDEO_REQUEST_IDR_FRAME = 8388612] = "VIDEO_REQUEST_IDR_FRAME", t[t.VIDEO_INVALIDATE_FRAME = 8388613] = "VIDEO_INVALIDATE_FRAME", t[t.GROUP_TRACKING = 16777216] = "GROUP_TRACKING", t[t.TRACKING_STREAM_BEGIN = 16777217] = "TRACKING_STREAM_BEGIN", t[t.TRACKING_STREAM_END = 16777218] = "TRACKING_STREAM_END", t[t.TRACKING_FRAME = 16777219] = "TRACKING_FRAME", t[t.GROUP_SCENE = 33554432] = "GROUP_SCENE", t[t.SCENE_MESH = 33554433] = "SCENE_MESH", t[t.SCENE_ARRAY = 33554434] = "SCENE_ARRAY", t[t.GROUP_ALL = 67043328] = "GROUP_ALL", t[t.GROUP_APP_LOCAL = 1073741824] = "GROUP_APP_LOCAL", t[t.CONSTANT_GROUP_MASK = 2147418112] = "CONSTANT_GROUP_MASK", t))(L || {});
|
|
999
|
+
const le = 161083277, Ie = 265814330, Ee = 1368629611, _e = 2431514951, he = 2514959030, ue = 2745379226, ce = 3282782683, fe = 3284746250, Te = 4101844078;
|
|
1004
1000
|
function Nt(t) {
|
|
1005
|
-
|
|
1001
|
+
const e = {};
|
|
1002
|
+
return St(e), e;
|
|
1006
1003
|
}
|
|
1007
|
-
function
|
|
1008
|
-
|
|
1009
|
-
return Nt(r), Ae(t, r), r;
|
|
1004
|
+
function St(t) {
|
|
1005
|
+
return t.StreamId = "", t.Description = "", t.SourceType = "", t.Codec = ot.Unknown, t.CodecDetails = "", t.SampleRate = 0, t.Channels = 0, t.ShapeSets = void 0, t.CorrelationId = void 0, t;
|
|
1010
1006
|
}
|
|
1011
1007
|
function Ae(t, e) {
|
|
1008
|
+
const r = e ?? Nt();
|
|
1009
|
+
return St(r), Ne(t, r), r;
|
|
1010
|
+
}
|
|
1011
|
+
function Ne(t, e) {
|
|
1012
1012
|
let r;
|
|
1013
1013
|
for (; (r = t.next()) !== null; )
|
|
1014
1014
|
switch (r.fieldId) {
|
|
@@ -1036,21 +1036,29 @@ function Ae(t, e) {
|
|
|
1036
1036
|
break;
|
|
1037
1037
|
}
|
|
1038
1038
|
case he: {
|
|
1039
|
+
if (r.isNull) {
|
|
1040
|
+
e.CorrelationId = void 0;
|
|
1041
|
+
break;
|
|
1042
|
+
}
|
|
1043
|
+
e.CorrelationId = r.asString();
|
|
1044
|
+
break;
|
|
1045
|
+
}
|
|
1046
|
+
case ue: {
|
|
1039
1047
|
if (r.isNull) throw new Error();
|
|
1040
1048
|
e.CodecDetails = r.asString();
|
|
1041
1049
|
break;
|
|
1042
1050
|
}
|
|
1043
|
-
case
|
|
1051
|
+
case ce: {
|
|
1044
1052
|
if (r.isNull) throw new Error();
|
|
1045
1053
|
e.SourceType = r.asString();
|
|
1046
1054
|
break;
|
|
1047
1055
|
}
|
|
1048
|
-
case
|
|
1056
|
+
case fe: {
|
|
1049
1057
|
if (r.isNull) throw new Error();
|
|
1050
1058
|
e.Codec = r.asInt32();
|
|
1051
1059
|
break;
|
|
1052
1060
|
}
|
|
1053
|
-
case
|
|
1061
|
+
case Te: {
|
|
1054
1062
|
if (r.isNull) throw new Error();
|
|
1055
1063
|
e.SampleRate = r.asInt32();
|
|
1056
1064
|
break;
|
|
@@ -1061,71 +1069,71 @@ function Se(t) {
|
|
|
1061
1069
|
const e = [];
|
|
1062
1070
|
let r;
|
|
1063
1071
|
for (; (r = t.next()) !== null; )
|
|
1064
|
-
e.push(
|
|
1072
|
+
e.push(Ue(r.asObject()));
|
|
1065
1073
|
return e;
|
|
1066
1074
|
}
|
|
1067
|
-
const
|
|
1068
|
-
function
|
|
1075
|
+
const de = 1107713536, ye = 1154362099, we = 1185721362;
|
|
1076
|
+
function Ce(t) {
|
|
1069
1077
|
const e = {};
|
|
1070
1078
|
return dt(e), e;
|
|
1071
1079
|
}
|
|
1072
1080
|
function dt(t) {
|
|
1073
1081
|
return t.SetId = 0, t.Name = "", t.ShapeNames = [], t;
|
|
1074
1082
|
}
|
|
1075
|
-
function Ce(t, e) {
|
|
1076
|
-
const r = e ?? we();
|
|
1077
|
-
return dt(r), Ue(t, r), r;
|
|
1078
|
-
}
|
|
1079
1083
|
function Ue(t, e) {
|
|
1084
|
+
const r = e ?? Ce();
|
|
1085
|
+
return dt(r), De(t, r), r;
|
|
1086
|
+
}
|
|
1087
|
+
function De(t, e) {
|
|
1080
1088
|
let r;
|
|
1081
1089
|
for (; (r = t.next()) !== null; )
|
|
1082
1090
|
switch (r.fieldId) {
|
|
1083
|
-
case
|
|
1091
|
+
case de: {
|
|
1084
1092
|
if (r.isNull) throw new Error();
|
|
1085
1093
|
e.Name = r.asString();
|
|
1086
1094
|
break;
|
|
1087
1095
|
}
|
|
1088
|
-
case
|
|
1096
|
+
case ye: {
|
|
1089
1097
|
if (r.isNull) throw new Error();
|
|
1090
1098
|
e.SetId = r.asUInt32();
|
|
1091
1099
|
break;
|
|
1092
1100
|
}
|
|
1093
|
-
case
|
|
1101
|
+
case we: {
|
|
1094
1102
|
if (r.isNull) throw new Error();
|
|
1095
|
-
e.ShapeNames =
|
|
1103
|
+
e.ShapeNames = Re(r.asArray());
|
|
1096
1104
|
break;
|
|
1097
1105
|
}
|
|
1098
1106
|
}
|
|
1099
1107
|
}
|
|
1100
|
-
function
|
|
1108
|
+
function Re(t) {
|
|
1101
1109
|
const e = [];
|
|
1102
1110
|
let r;
|
|
1103
1111
|
for (; (r = t.next()) !== null; )
|
|
1104
1112
|
e.push(r.asString());
|
|
1105
1113
|
return e;
|
|
1106
1114
|
}
|
|
1107
|
-
const
|
|
1108
|
-
function
|
|
1115
|
+
const Le = 76337612, Oe = 185396121, me = 250031587, ge = 388632637, Fe = 417197284, be = 469070965, Pe = 470595159, ke = 594855258, Me = 781727218, pe = 834078886, Be = 1043273762, Ve = 1236999138, ve = 1286979607, Ge = 1368629611, xe = 1715899485, He = 1942830531, Ye = 1999510636, We = 2033288346, Ke = 2079864626, $e = 2142346422, je = 2228539873, Xe = 2232517119, ze = 2598291686, Je = 2719718823, qe = 2810953526, Qe = 2840065720, Ze = 2885165957, tr = 3542818975, er = 3586157513, rr = 3717933110, sr = 4062655306;
|
|
1116
|
+
function nr(t) {
|
|
1109
1117
|
const e = {};
|
|
1110
1118
|
return yt(e), e;
|
|
1111
1119
|
}
|
|
1112
1120
|
function yt(t) {
|
|
1113
1121
|
return t.ContextType = It.Unknown, t.UserType = ut.Unknown, t.PayloadType = Et.Unknown, t.Description = "", t.UserId = "", t.DeviceId = "", t.ProductId = "", t.VersionId = "", t.InstallId = "", t.Locale = "", t.SessionId = -1, t.IsInternal = !1, t.IsReady = !1, t.HasInput = !1, t.ChannelLocale = "", t.EmbeddedSpaceId = "", t.AuthSessionId = "", t.ReceiveAllMessages = !1, t.PreciseJoinedAt = 0n, t.UserAgent = "", t.ClientType = lt.Unknown, t.UniqueSessionId = "", t.Parameters = /* @__PURE__ */ Object.create(null), t.SdkType = ft.Unknown, t.ViewportWidth = 0, t.ViewportHeight = 0, t.Theme = "", t.Timezone = "", t.IsTouchDevice = !1, t.InitialPath = "", t.StyleFormat = ht.Css, t;
|
|
1114
1122
|
}
|
|
1115
|
-
function nr(t, e) {
|
|
1116
|
-
const r = e ?? sr();
|
|
1117
|
-
return yt(r), ir(t, r), r;
|
|
1118
|
-
}
|
|
1119
1123
|
function ir(t, e) {
|
|
1124
|
+
const r = e ?? nr();
|
|
1125
|
+
return yt(r), ar(t, r), r;
|
|
1126
|
+
}
|
|
1127
|
+
function ar(t, e) {
|
|
1120
1128
|
let r;
|
|
1121
1129
|
for (; (r = t.next()) !== null; )
|
|
1122
1130
|
switch (r.fieldId) {
|
|
1123
|
-
case
|
|
1131
|
+
case Le: {
|
|
1124
1132
|
if (r.isNull) throw new Error();
|
|
1125
1133
|
e.DeviceId = r.asString();
|
|
1126
1134
|
break;
|
|
1127
1135
|
}
|
|
1128
|
-
case
|
|
1136
|
+
case Oe: {
|
|
1129
1137
|
if (r.isNull) throw new Error();
|
|
1130
1138
|
e.InstallId = r.asString();
|
|
1131
1139
|
break;
|
|
@@ -1135,42 +1143,42 @@ function ir(t, e) {
|
|
|
1135
1143
|
e.Theme = r.asString();
|
|
1136
1144
|
break;
|
|
1137
1145
|
}
|
|
1138
|
-
case
|
|
1146
|
+
case ge: {
|
|
1139
1147
|
if (r.isNull) throw new Error();
|
|
1140
1148
|
e.UserAgent = r.asString();
|
|
1141
1149
|
break;
|
|
1142
1150
|
}
|
|
1143
|
-
case
|
|
1151
|
+
case Fe: {
|
|
1144
1152
|
if (r.isNull) throw new Error();
|
|
1145
1153
|
e.ContextType = r.asInt32();
|
|
1146
1154
|
break;
|
|
1147
1155
|
}
|
|
1148
|
-
case
|
|
1156
|
+
case be: {
|
|
1149
1157
|
if (r.isNull) throw new Error();
|
|
1150
1158
|
e.HasInput = r.asBool();
|
|
1151
1159
|
break;
|
|
1152
1160
|
}
|
|
1153
|
-
case
|
|
1161
|
+
case Pe: {
|
|
1154
1162
|
if (r.isNull) throw new Error();
|
|
1155
1163
|
e.UserType = r.asInt32();
|
|
1156
1164
|
break;
|
|
1157
1165
|
}
|
|
1158
|
-
case
|
|
1166
|
+
case ke: {
|
|
1159
1167
|
if (r.isNull) throw new Error();
|
|
1160
1168
|
e.InitialPath = r.asString();
|
|
1161
1169
|
break;
|
|
1162
1170
|
}
|
|
1163
|
-
case
|
|
1171
|
+
case Me: {
|
|
1164
1172
|
if (r.isNull) throw new Error();
|
|
1165
1173
|
e.UserId = r.asString();
|
|
1166
1174
|
break;
|
|
1167
1175
|
}
|
|
1168
|
-
case
|
|
1176
|
+
case pe: {
|
|
1169
1177
|
if (r.isNull) throw new Error();
|
|
1170
1178
|
e.ProductId = r.asString();
|
|
1171
1179
|
break;
|
|
1172
1180
|
}
|
|
1173
|
-
case
|
|
1181
|
+
case Be: {
|
|
1174
1182
|
if (r.isNull) throw new Error();
|
|
1175
1183
|
e.AuthSessionId = r.asString();
|
|
1176
1184
|
break;
|
|
@@ -1180,104 +1188,104 @@ function ir(t, e) {
|
|
|
1180
1188
|
e.ReceiveAllMessages = r.asBool();
|
|
1181
1189
|
break;
|
|
1182
1190
|
}
|
|
1183
|
-
case
|
|
1191
|
+
case ve: {
|
|
1184
1192
|
if (r.isNull) throw new Error();
|
|
1185
1193
|
e.ViewportHeight = r.asInt32();
|
|
1186
1194
|
break;
|
|
1187
1195
|
}
|
|
1188
|
-
case
|
|
1196
|
+
case Ge: {
|
|
1189
1197
|
if (r.isNull) throw new Error();
|
|
1190
1198
|
e.Description = r.asString();
|
|
1191
1199
|
break;
|
|
1192
1200
|
}
|
|
1193
|
-
case
|
|
1201
|
+
case xe: {
|
|
1194
1202
|
if (r.isNull) throw new Error();
|
|
1195
1203
|
e.Locale = r.asString();
|
|
1196
1204
|
break;
|
|
1197
1205
|
}
|
|
1198
|
-
case
|
|
1206
|
+
case He: {
|
|
1199
1207
|
if (r.isNull) throw new Error();
|
|
1200
1208
|
e.SdkType = r.asInt32();
|
|
1201
1209
|
break;
|
|
1202
1210
|
}
|
|
1203
|
-
case
|
|
1211
|
+
case Ye: {
|
|
1204
1212
|
if (r.isNull) throw new Error();
|
|
1205
1213
|
e.SessionId = r.asInt32();
|
|
1206
1214
|
break;
|
|
1207
1215
|
}
|
|
1208
|
-
case
|
|
1216
|
+
case We: {
|
|
1209
1217
|
if (r.isNull) throw new Error();
|
|
1210
1218
|
e.ViewportWidth = r.asInt32();
|
|
1211
1219
|
break;
|
|
1212
1220
|
}
|
|
1213
|
-
case
|
|
1221
|
+
case Ke: {
|
|
1214
1222
|
if (r.isNull) throw new Error();
|
|
1215
1223
|
e.PreciseJoinedAt = r.asUInt64();
|
|
1216
1224
|
break;
|
|
1217
1225
|
}
|
|
1218
|
-
case
|
|
1226
|
+
case $e: {
|
|
1219
1227
|
if (r.isNull) throw new Error();
|
|
1220
1228
|
e.PayloadType = r.asInt32();
|
|
1221
1229
|
break;
|
|
1222
1230
|
}
|
|
1223
|
-
case
|
|
1231
|
+
case je: {
|
|
1224
1232
|
if (r.isNull) throw new Error();
|
|
1225
1233
|
e.StyleFormat = r.asInt32();
|
|
1226
1234
|
break;
|
|
1227
1235
|
}
|
|
1228
|
-
case
|
|
1236
|
+
case Xe: {
|
|
1229
1237
|
if (r.isNull) throw new Error();
|
|
1230
1238
|
e.IsTouchDevice = r.asBool();
|
|
1231
1239
|
break;
|
|
1232
1240
|
}
|
|
1233
|
-
case
|
|
1241
|
+
case ze: {
|
|
1234
1242
|
if (r.isNull) throw new Error();
|
|
1235
1243
|
e.VersionId = r.asString();
|
|
1236
1244
|
break;
|
|
1237
1245
|
}
|
|
1238
|
-
case
|
|
1246
|
+
case Je: {
|
|
1239
1247
|
if (r.isNull) throw new Error();
|
|
1240
1248
|
e.UniqueSessionId = r.asString();
|
|
1241
1249
|
break;
|
|
1242
1250
|
}
|
|
1243
|
-
case
|
|
1251
|
+
case qe: {
|
|
1244
1252
|
if (r.isNull) throw new Error();
|
|
1245
1253
|
e.ClientType = r.asInt32();
|
|
1246
1254
|
break;
|
|
1247
1255
|
}
|
|
1248
|
-
case
|
|
1256
|
+
case Qe: {
|
|
1249
1257
|
if (r.isNull) throw new Error();
|
|
1250
1258
|
e.IsReady = r.asBool();
|
|
1251
1259
|
break;
|
|
1252
1260
|
}
|
|
1253
|
-
case
|
|
1261
|
+
case Ze: {
|
|
1254
1262
|
if (r.isNull) throw new Error();
|
|
1255
|
-
e.Parameters =
|
|
1263
|
+
e.Parameters = or(r.asDictionary());
|
|
1256
1264
|
break;
|
|
1257
1265
|
}
|
|
1258
|
-
case
|
|
1266
|
+
case tr: {
|
|
1259
1267
|
if (r.isNull) throw new Error();
|
|
1260
1268
|
e.Timezone = r.asString();
|
|
1261
1269
|
break;
|
|
1262
1270
|
}
|
|
1263
|
-
case
|
|
1271
|
+
case er: {
|
|
1264
1272
|
if (r.isNull) throw new Error();
|
|
1265
1273
|
e.IsInternal = r.asBool();
|
|
1266
1274
|
break;
|
|
1267
1275
|
}
|
|
1268
|
-
case
|
|
1276
|
+
case rr: {
|
|
1269
1277
|
if (r.isNull) throw new Error();
|
|
1270
1278
|
e.ChannelLocale = r.asString();
|
|
1271
1279
|
break;
|
|
1272
1280
|
}
|
|
1273
|
-
case
|
|
1281
|
+
case sr: {
|
|
1274
1282
|
if (r.isNull) throw new Error();
|
|
1275
1283
|
e.EmbeddedSpaceId = r.asString();
|
|
1276
1284
|
break;
|
|
1277
1285
|
}
|
|
1278
1286
|
}
|
|
1279
1287
|
}
|
|
1280
|
-
function
|
|
1288
|
+
function or(t) {
|
|
1281
1289
|
const e = /* @__PURE__ */ Object.create(null);
|
|
1282
1290
|
let r;
|
|
1283
1291
|
for (; (r = t.next()) !== null; ) {
|
|
@@ -1286,75 +1294,75 @@ function ar(t) {
|
|
|
1286
1294
|
}
|
|
1287
1295
|
return e;
|
|
1288
1296
|
}
|
|
1289
|
-
const
|
|
1290
|
-
function
|
|
1297
|
+
const lr = 703025676, Ir = 814454131, Er = 972460562, _r = 976255570, hr = 1368629611, ur = 1479280922, cr = 1533537016, fr = 1909301063, Tr = 2274386296, Ar = 2603556958, Nr = 2885165957, Sr = 3568439632;
|
|
1298
|
+
function dr(t) {
|
|
1291
1299
|
const e = {};
|
|
1292
1300
|
return wt(e), e;
|
|
1293
1301
|
}
|
|
1294
1302
|
function wt(t) {
|
|
1295
1303
|
return t.FunctionId = c.fromBytes(new Uint8Array(16)), t.FunctionName = "", t.Parameters = [], t.ResultTypeName = "", t.IsEnumerable = !1, t.EnumerableItemTypeName = "", t.IsCancellable = !1, t.Description = "", t.LlmInlineResult = !1, t.LlmCallOnlyOnce = !1, t.RequiresInstance = !1, t.Versions = [], t;
|
|
1296
1304
|
}
|
|
1297
|
-
function dr(t, e) {
|
|
1298
|
-
const r = e ?? Nr();
|
|
1299
|
-
return wt(r), yr(t, r), r;
|
|
1300
|
-
}
|
|
1301
1305
|
function yr(t, e) {
|
|
1306
|
+
const r = e ?? dr();
|
|
1307
|
+
return wt(r), wr(t, r), r;
|
|
1308
|
+
}
|
|
1309
|
+
function wr(t, e) {
|
|
1302
1310
|
let r;
|
|
1303
1311
|
for (; (r = t.next()) !== null; )
|
|
1304
1312
|
switch (r.fieldId) {
|
|
1305
|
-
case
|
|
1313
|
+
case lr: {
|
|
1306
1314
|
if (r.isNull) throw new Error();
|
|
1307
1315
|
e.ResultTypeName = r.asString();
|
|
1308
1316
|
break;
|
|
1309
1317
|
}
|
|
1310
|
-
case
|
|
1318
|
+
case Ir: {
|
|
1311
1319
|
if (r.isNull) throw new Error();
|
|
1312
1320
|
e.FunctionName = r.asString();
|
|
1313
1321
|
break;
|
|
1314
1322
|
}
|
|
1315
|
-
case
|
|
1323
|
+
case Er: {
|
|
1316
1324
|
if (r.isNull) throw new Error();
|
|
1317
1325
|
e.EnumerableItemTypeName = r.asString();
|
|
1318
1326
|
break;
|
|
1319
1327
|
}
|
|
1320
|
-
case
|
|
1328
|
+
case _r: {
|
|
1321
1329
|
if (r.isNull) throw new Error();
|
|
1322
1330
|
e.FunctionId = r.asGuid();
|
|
1323
1331
|
break;
|
|
1324
1332
|
}
|
|
1325
|
-
case
|
|
1333
|
+
case hr: {
|
|
1326
1334
|
if (r.isNull) throw new Error();
|
|
1327
1335
|
e.Description = r.asString();
|
|
1328
1336
|
break;
|
|
1329
1337
|
}
|
|
1330
|
-
case
|
|
1338
|
+
case ur: {
|
|
1331
1339
|
if (r.isNull) throw new Error();
|
|
1332
1340
|
e.IsCancellable = r.asBool();
|
|
1333
1341
|
break;
|
|
1334
1342
|
}
|
|
1335
|
-
case
|
|
1343
|
+
case cr: {
|
|
1336
1344
|
if (r.isNull) throw new Error();
|
|
1337
1345
|
e.RequiresInstance = r.asBool();
|
|
1338
1346
|
break;
|
|
1339
1347
|
}
|
|
1340
|
-
case
|
|
1348
|
+
case fr: {
|
|
1341
1349
|
if (r.isNull) throw new Error();
|
|
1342
|
-
e.Versions =
|
|
1350
|
+
e.Versions = Cr(r.asArray());
|
|
1343
1351
|
break;
|
|
1344
1352
|
}
|
|
1345
|
-
case
|
|
1353
|
+
case Tr: {
|
|
1346
1354
|
if (r.isNull) throw new Error();
|
|
1347
1355
|
e.LlmInlineResult = r.asBool();
|
|
1348
1356
|
break;
|
|
1349
1357
|
}
|
|
1350
|
-
case
|
|
1358
|
+
case Ar: {
|
|
1351
1359
|
if (r.isNull) throw new Error();
|
|
1352
1360
|
e.IsEnumerable = r.asBool();
|
|
1353
1361
|
break;
|
|
1354
1362
|
}
|
|
1355
|
-
case
|
|
1363
|
+
case Nr: {
|
|
1356
1364
|
if (r.isNull) throw new Error();
|
|
1357
|
-
e.Parameters =
|
|
1365
|
+
e.Parameters = Ur(r.asArray());
|
|
1358
1366
|
break;
|
|
1359
1367
|
}
|
|
1360
1368
|
case Sr: {
|
|
@@ -1364,52 +1372,52 @@ function yr(t, e) {
|
|
|
1364
1372
|
}
|
|
1365
1373
|
}
|
|
1366
1374
|
}
|
|
1367
|
-
function
|
|
1375
|
+
function Cr(t) {
|
|
1368
1376
|
const e = [];
|
|
1369
1377
|
let r;
|
|
1370
1378
|
for (; (r = t.next()) !== null; )
|
|
1371
1379
|
e.push(r.asString());
|
|
1372
1380
|
return e;
|
|
1373
1381
|
}
|
|
1374
|
-
function
|
|
1382
|
+
function Ur(t) {
|
|
1375
1383
|
const e = [];
|
|
1376
1384
|
let r;
|
|
1377
1385
|
for (; (r = t.next()) !== null; )
|
|
1378
|
-
e.push(
|
|
1386
|
+
e.push(Mr(r.asObject()));
|
|
1379
1387
|
return e;
|
|
1380
1388
|
}
|
|
1381
|
-
const
|
|
1382
|
-
function
|
|
1389
|
+
const Dr = 607861992, Rr = 894485888, Lr = 972460562, Or = 1368629611, mr = 1883521406, gr = 2603556958, Fr = 3609695522, br = 4075263697, Pr = 4257460908;
|
|
1390
|
+
function kr(t) {
|
|
1383
1391
|
const e = {};
|
|
1384
1392
|
return Ct(e), e;
|
|
1385
1393
|
}
|
|
1386
1394
|
function Ct(t) {
|
|
1387
1395
|
return t.ParameterIndex = 0, t.ParameterName = "", t.TypeName = "", t.HasDefaultValue = !1, t.DefaultValueJson = "", t.DefaultValueData = new Uint8Array(0), t.IsEnumerable = !1, t.EnumerableItemTypeName = "", t.Description = "", t;
|
|
1388
1396
|
}
|
|
1389
|
-
function kr(t, e) {
|
|
1390
|
-
const r = e ?? Pr();
|
|
1391
|
-
return Ct(r), Mr(t, r), r;
|
|
1392
|
-
}
|
|
1393
1397
|
function Mr(t, e) {
|
|
1398
|
+
const r = e ?? kr();
|
|
1399
|
+
return Ct(r), pr(t, r), r;
|
|
1400
|
+
}
|
|
1401
|
+
function pr(t, e) {
|
|
1394
1402
|
let r;
|
|
1395
1403
|
for (; (r = t.next()) !== null; )
|
|
1396
1404
|
switch (r.fieldId) {
|
|
1397
|
-
case
|
|
1405
|
+
case Dr: {
|
|
1398
1406
|
if (r.isNull) throw new Error();
|
|
1399
1407
|
e.HasDefaultValue = r.asBool();
|
|
1400
1408
|
break;
|
|
1401
1409
|
}
|
|
1402
|
-
case
|
|
1410
|
+
case Rr: {
|
|
1403
1411
|
if (r.isNull) throw new Error();
|
|
1404
1412
|
e.DefaultValueJson = r.asString();
|
|
1405
1413
|
break;
|
|
1406
1414
|
}
|
|
1407
|
-
case
|
|
1415
|
+
case Lr: {
|
|
1408
1416
|
if (r.isNull) throw new Error();
|
|
1409
1417
|
e.EnumerableItemTypeName = r.asString();
|
|
1410
1418
|
break;
|
|
1411
1419
|
}
|
|
1412
|
-
case
|
|
1420
|
+
case Or: {
|
|
1413
1421
|
if (r.isNull) throw new Error();
|
|
1414
1422
|
e.Description = r.asString();
|
|
1415
1423
|
break;
|
|
@@ -1419,29 +1427,29 @@ function Mr(t, e) {
|
|
|
1419
1427
|
e.DefaultValueData = r.asBinary();
|
|
1420
1428
|
break;
|
|
1421
1429
|
}
|
|
1422
|
-
case
|
|
1430
|
+
case gr: {
|
|
1423
1431
|
if (r.isNull) throw new Error();
|
|
1424
1432
|
e.IsEnumerable = r.asBool();
|
|
1425
1433
|
break;
|
|
1426
1434
|
}
|
|
1427
|
-
case
|
|
1435
|
+
case Fr: {
|
|
1428
1436
|
if (r.isNull) throw new Error();
|
|
1429
1437
|
e.TypeName = r.asString();
|
|
1430
1438
|
break;
|
|
1431
1439
|
}
|
|
1432
|
-
case
|
|
1440
|
+
case br: {
|
|
1433
1441
|
if (r.isNull) throw new Error();
|
|
1434
1442
|
e.ParameterName = r.asString();
|
|
1435
1443
|
break;
|
|
1436
1444
|
}
|
|
1437
|
-
case
|
|
1445
|
+
case Pr: {
|
|
1438
1446
|
if (r.isNull) throw new Error();
|
|
1439
1447
|
e.ParameterIndex = r.asInt32();
|
|
1440
1448
|
break;
|
|
1441
1449
|
}
|
|
1442
1450
|
}
|
|
1443
1451
|
}
|
|
1444
|
-
const
|
|
1452
|
+
const Br = 3167053791, Vr = 3342364356, vr = 3612929027;
|
|
1445
1453
|
function Ut(t) {
|
|
1446
1454
|
const e = {};
|
|
1447
1455
|
return Dt(e), e;
|
|
@@ -1449,126 +1457,126 @@ function Ut(t) {
|
|
|
1449
1457
|
function Dt(t) {
|
|
1450
1458
|
return t.Category = "", t.Type = _t.Face, t.FaceBlendshapes = [], t;
|
|
1451
1459
|
}
|
|
1452
|
-
function
|
|
1460
|
+
function Gr(t, e) {
|
|
1453
1461
|
const r = e ?? Ut();
|
|
1454
|
-
return Dt(r),
|
|
1462
|
+
return Dt(r), xr(t, r), r;
|
|
1455
1463
|
}
|
|
1456
|
-
function
|
|
1464
|
+
function xr(t, e) {
|
|
1457
1465
|
let r;
|
|
1458
1466
|
for (; (r = t.next()) !== null; )
|
|
1459
1467
|
switch (r.fieldId) {
|
|
1460
|
-
case
|
|
1468
|
+
case Br: {
|
|
1461
1469
|
if (r.isNull) throw new Error();
|
|
1462
1470
|
e.Type = r.asInt32();
|
|
1463
1471
|
break;
|
|
1464
1472
|
}
|
|
1465
1473
|
case Vr: {
|
|
1466
1474
|
if (r.isNull) throw new Error();
|
|
1467
|
-
e.FaceBlendshapes =
|
|
1475
|
+
e.FaceBlendshapes = Hr(r.asArray());
|
|
1468
1476
|
break;
|
|
1469
1477
|
}
|
|
1470
|
-
case
|
|
1478
|
+
case vr: {
|
|
1471
1479
|
if (r.isNull) throw new Error();
|
|
1472
1480
|
e.Category = r.asString();
|
|
1473
1481
|
break;
|
|
1474
1482
|
}
|
|
1475
1483
|
}
|
|
1476
1484
|
}
|
|
1477
|
-
function
|
|
1485
|
+
function Hr(t) {
|
|
1478
1486
|
const e = [];
|
|
1479
1487
|
let r;
|
|
1480
1488
|
for (; (r = t.next()) !== null; )
|
|
1481
1489
|
e.push(r.asString());
|
|
1482
1490
|
return e;
|
|
1483
1491
|
}
|
|
1484
|
-
const
|
|
1485
|
-
function
|
|
1492
|
+
const Yr = 1405462580, Wr = 2968276160;
|
|
1493
|
+
function Kr(t) {
|
|
1486
1494
|
const e = {};
|
|
1487
1495
|
return Rt(e), e;
|
|
1488
1496
|
}
|
|
1489
1497
|
function Rt(t) {
|
|
1490
1498
|
return t.MimeType = "", t.Value = new Uint8Array(0), t;
|
|
1491
1499
|
}
|
|
1492
|
-
function Kr(t, e) {
|
|
1493
|
-
const r = e ?? Wr();
|
|
1494
|
-
return Rt(r), $r(t, r), r;
|
|
1495
|
-
}
|
|
1496
1500
|
function $r(t, e) {
|
|
1501
|
+
const r = e ?? Kr();
|
|
1502
|
+
return Rt(r), jr(t, r), r;
|
|
1503
|
+
}
|
|
1504
|
+
function jr(t, e) {
|
|
1497
1505
|
let r;
|
|
1498
1506
|
for (; (r = t.next()) !== null; )
|
|
1499
1507
|
switch (r.fieldId) {
|
|
1500
|
-
case
|
|
1508
|
+
case Yr: {
|
|
1501
1509
|
if (r.isNull) throw new Error();
|
|
1502
1510
|
e.Value = r.asBinary();
|
|
1503
1511
|
break;
|
|
1504
1512
|
}
|
|
1505
|
-
case
|
|
1513
|
+
case Wr: {
|
|
1506
1514
|
if (r.isNull) throw new Error();
|
|
1507
1515
|
e.MimeType = r.asString();
|
|
1508
1516
|
break;
|
|
1509
1517
|
}
|
|
1510
1518
|
}
|
|
1511
1519
|
}
|
|
1512
|
-
const
|
|
1520
|
+
const Xr = 3612929027;
|
|
1513
1521
|
function Lt(t) {
|
|
1514
1522
|
const e = {};
|
|
1515
|
-
return
|
|
1523
|
+
return Ot(e), e;
|
|
1516
1524
|
}
|
|
1517
|
-
function
|
|
1525
|
+
function Ot(t) {
|
|
1518
1526
|
return t.Category = "", t;
|
|
1519
1527
|
}
|
|
1520
|
-
function
|
|
1528
|
+
function zr(t, e) {
|
|
1521
1529
|
const r = e ?? Lt();
|
|
1522
|
-
return
|
|
1530
|
+
return Ot(r), Jr(t, r), r;
|
|
1523
1531
|
}
|
|
1524
|
-
function
|
|
1532
|
+
function Jr(t, e) {
|
|
1525
1533
|
let r;
|
|
1526
1534
|
for (; (r = t.next()) !== null; )
|
|
1527
1535
|
switch (r.fieldId) {
|
|
1528
|
-
case
|
|
1536
|
+
case Xr: {
|
|
1529
1537
|
if (r.isNull) throw new Error();
|
|
1530
1538
|
e.Category = r.asString();
|
|
1531
1539
|
break;
|
|
1532
1540
|
}
|
|
1533
1541
|
}
|
|
1534
1542
|
}
|
|
1535
|
-
const
|
|
1536
|
-
function
|
|
1543
|
+
const qr = 2097188, Qr = 979822885, Zr = 2374537704;
|
|
1544
|
+
function ts(t) {
|
|
1537
1545
|
const e = {};
|
|
1538
|
-
return
|
|
1546
|
+
return mt(e), e;
|
|
1539
1547
|
}
|
|
1540
|
-
function
|
|
1548
|
+
function mt(t) {
|
|
1541
1549
|
return t.StyleId = "", t.Style = /* @__PURE__ */ Object.create(null), t;
|
|
1542
1550
|
}
|
|
1543
|
-
function ts(t, e) {
|
|
1544
|
-
const r = O.create(t);
|
|
1545
|
-
return es(r, e);
|
|
1546
|
-
}
|
|
1547
1551
|
function es(t, e) {
|
|
1548
|
-
const r =
|
|
1549
|
-
return
|
|
1552
|
+
const r = m.create(t);
|
|
1553
|
+
return rs(r, e);
|
|
1550
1554
|
}
|
|
1551
1555
|
function rs(t, e) {
|
|
1556
|
+
const r = e ?? ts();
|
|
1557
|
+
return mt(r), ss(t, r), r;
|
|
1558
|
+
}
|
|
1559
|
+
function ss(t, e) {
|
|
1552
1560
|
let r;
|
|
1553
1561
|
for (; (r = t.next()) !== null; )
|
|
1554
1562
|
switch (r.fieldId) {
|
|
1555
|
-
case
|
|
1563
|
+
case Qr: {
|
|
1556
1564
|
if (r.isNull) throw new Error();
|
|
1557
1565
|
e.StyleId = r.asString();
|
|
1558
1566
|
break;
|
|
1559
1567
|
}
|
|
1560
|
-
case
|
|
1568
|
+
case Zr: {
|
|
1561
1569
|
if (r.isNull) throw new Error();
|
|
1562
|
-
e.Style =
|
|
1570
|
+
e.Style = is(r.asDictionary());
|
|
1563
1571
|
break;
|
|
1564
1572
|
}
|
|
1565
1573
|
}
|
|
1566
1574
|
}
|
|
1567
|
-
async function
|
|
1568
|
-
const r = await
|
|
1569
|
-
return
|
|
1575
|
+
async function ns(t, e) {
|
|
1576
|
+
const r = await V(t, qr);
|
|
1577
|
+
return es(r, e);
|
|
1570
1578
|
}
|
|
1571
|
-
function
|
|
1579
|
+
function is(t) {
|
|
1572
1580
|
const e = /* @__PURE__ */ Object.create(null);
|
|
1573
1581
|
let r;
|
|
1574
1582
|
for (; (r = t.next()) !== null; ) {
|
|
@@ -1577,66 +1585,66 @@ function ns(t) {
|
|
|
1577
1585
|
}
|
|
1578
1586
|
return e;
|
|
1579
1587
|
}
|
|
1580
|
-
const
|
|
1581
|
-
function
|
|
1588
|
+
const as = 2097192, os = 2136687806;
|
|
1589
|
+
function ls(t) {
|
|
1582
1590
|
const e = {};
|
|
1583
1591
|
return gt(e), e;
|
|
1584
1592
|
}
|
|
1585
1593
|
function gt(t) {
|
|
1586
1594
|
return t.Styles = [], t;
|
|
1587
1595
|
}
|
|
1588
|
-
function ls(t, e) {
|
|
1589
|
-
const r = O.create(t);
|
|
1590
|
-
return Is(r, e);
|
|
1591
|
-
}
|
|
1592
1596
|
function Is(t, e) {
|
|
1593
|
-
const r =
|
|
1594
|
-
return
|
|
1597
|
+
const r = m.create(t);
|
|
1598
|
+
return Es(r, e);
|
|
1595
1599
|
}
|
|
1596
1600
|
function Es(t, e) {
|
|
1601
|
+
const r = e ?? ls();
|
|
1602
|
+
return gt(r), _s(t, r), r;
|
|
1603
|
+
}
|
|
1604
|
+
function _s(t, e) {
|
|
1597
1605
|
let r;
|
|
1598
1606
|
for (; (r = t.next()) !== null; )
|
|
1599
1607
|
switch (r.fieldId) {
|
|
1600
|
-
case
|
|
1608
|
+
case os: {
|
|
1601
1609
|
if (r.isNull) throw new Error();
|
|
1602
|
-
e.Styles =
|
|
1610
|
+
e.Styles = us(r.asArray());
|
|
1603
1611
|
break;
|
|
1604
1612
|
}
|
|
1605
1613
|
}
|
|
1606
1614
|
}
|
|
1607
|
-
async function
|
|
1608
|
-
const r = await
|
|
1609
|
-
return
|
|
1615
|
+
async function hs(t, e) {
|
|
1616
|
+
const r = await V(t, as);
|
|
1617
|
+
return Is(r, e);
|
|
1610
1618
|
}
|
|
1611
|
-
function
|
|
1619
|
+
function us(t) {
|
|
1612
1620
|
const e = [];
|
|
1613
1621
|
let r;
|
|
1614
1622
|
for (; (r = t.next()) !== null; )
|
|
1615
|
-
e.push(
|
|
1623
|
+
e.push(As(r.asObject()));
|
|
1616
1624
|
return e;
|
|
1617
1625
|
}
|
|
1618
|
-
const
|
|
1619
|
-
function
|
|
1626
|
+
const cs = 979822885, fs = 2374537704;
|
|
1627
|
+
function Ts(t) {
|
|
1620
1628
|
const e = {};
|
|
1621
1629
|
return Ft(e), e;
|
|
1622
1630
|
}
|
|
1623
1631
|
function Ft(t) {
|
|
1624
1632
|
return t.StyleId = "", t.Style = /* @__PURE__ */ Object.create(null), t;
|
|
1625
1633
|
}
|
|
1626
|
-
function Ts(t, e) {
|
|
1627
|
-
const r = e ?? fs();
|
|
1628
|
-
return Ft(r), As(t, r), r;
|
|
1629
|
-
}
|
|
1630
1634
|
function As(t, e) {
|
|
1635
|
+
const r = e ?? Ts();
|
|
1636
|
+
return Ft(r), Ns(t, r), r;
|
|
1637
|
+
}
|
|
1638
|
+
function Ns(t, e) {
|
|
1631
1639
|
let r;
|
|
1632
1640
|
for (; (r = t.next()) !== null; )
|
|
1633
1641
|
switch (r.fieldId) {
|
|
1634
|
-
case
|
|
1642
|
+
case cs: {
|
|
1635
1643
|
if (r.isNull) throw new Error();
|
|
1636
1644
|
e.StyleId = r.asString();
|
|
1637
1645
|
break;
|
|
1638
1646
|
}
|
|
1639
|
-
case
|
|
1647
|
+
case fs: {
|
|
1640
1648
|
if (r.isNull) throw new Error();
|
|
1641
1649
|
e.Style = Ss(r.asDictionary());
|
|
1642
1650
|
break;
|
|
@@ -1652,61 +1660,61 @@ function Ss(t) {
|
|
|
1652
1660
|
}
|
|
1653
1661
|
return e;
|
|
1654
1662
|
}
|
|
1655
|
-
const
|
|
1656
|
-
function
|
|
1663
|
+
const ds = 2097193, ys = 1415642792;
|
|
1664
|
+
function ws(t) {
|
|
1657
1665
|
const e = {};
|
|
1658
1666
|
return bt(e), e;
|
|
1659
1667
|
}
|
|
1660
1668
|
function bt(t) {
|
|
1661
1669
|
return t.StyleIds = [], t;
|
|
1662
1670
|
}
|
|
1663
|
-
function ws(t, e) {
|
|
1664
|
-
const r = O.create(t);
|
|
1665
|
-
return Cs(r, e);
|
|
1666
|
-
}
|
|
1667
1671
|
function Cs(t, e) {
|
|
1668
|
-
const r =
|
|
1669
|
-
return
|
|
1672
|
+
const r = m.create(t);
|
|
1673
|
+
return Us(r, e);
|
|
1670
1674
|
}
|
|
1671
1675
|
function Us(t, e) {
|
|
1676
|
+
const r = e ?? ws();
|
|
1677
|
+
return bt(r), Ds(t, r), r;
|
|
1678
|
+
}
|
|
1679
|
+
function Ds(t, e) {
|
|
1672
1680
|
let r;
|
|
1673
1681
|
for (; (r = t.next()) !== null; )
|
|
1674
1682
|
switch (r.fieldId) {
|
|
1675
|
-
case
|
|
1683
|
+
case ys: {
|
|
1676
1684
|
if (r.isNull) throw new Error();
|
|
1677
|
-
e.StyleIds =
|
|
1685
|
+
e.StyleIds = Ls(r.asArray());
|
|
1678
1686
|
break;
|
|
1679
1687
|
}
|
|
1680
1688
|
}
|
|
1681
1689
|
}
|
|
1682
|
-
async function
|
|
1683
|
-
const r = await
|
|
1684
|
-
return
|
|
1690
|
+
async function Rs(t, e) {
|
|
1691
|
+
const r = await V(t, ds);
|
|
1692
|
+
return Cs(r, e);
|
|
1685
1693
|
}
|
|
1686
|
-
function
|
|
1694
|
+
function Ls(t) {
|
|
1687
1695
|
const e = [];
|
|
1688
1696
|
let r;
|
|
1689
1697
|
for (; (r = t.next()) !== null; )
|
|
1690
1698
|
e.push(r.asString());
|
|
1691
1699
|
return e;
|
|
1692
1700
|
}
|
|
1693
|
-
const
|
|
1694
|
-
function
|
|
1701
|
+
const Os = 2097190, ms = 425183262, gs = 653781469;
|
|
1702
|
+
function Fs(t) {
|
|
1695
1703
|
const e = {};
|
|
1696
1704
|
return Pt(e), e;
|
|
1697
1705
|
}
|
|
1698
1706
|
function Pt(t) {
|
|
1699
1707
|
return t.Json = "", t.Payloads = /* @__PURE__ */ Object.create(null), t;
|
|
1700
1708
|
}
|
|
1701
|
-
function Fs(t, e) {
|
|
1702
|
-
const r = O.create(t);
|
|
1703
|
-
return bs(r, e);
|
|
1704
|
-
}
|
|
1705
1709
|
function bs(t, e) {
|
|
1706
|
-
const r =
|
|
1707
|
-
return
|
|
1710
|
+
const r = m.create(t);
|
|
1711
|
+
return Ps(r, e);
|
|
1708
1712
|
}
|
|
1709
1713
|
function Ps(t, e) {
|
|
1714
|
+
const r = e ?? Fs();
|
|
1715
|
+
return Pt(r), ks(t, r), r;
|
|
1716
|
+
}
|
|
1717
|
+
function ks(t, e) {
|
|
1710
1718
|
let r;
|
|
1711
1719
|
for (; (r = t.next()) !== null; )
|
|
1712
1720
|
switch (r.fieldId) {
|
|
@@ -1715,431 +1723,439 @@ function Ps(t, e) {
|
|
|
1715
1723
|
e.Json = r.asString();
|
|
1716
1724
|
break;
|
|
1717
1725
|
}
|
|
1718
|
-
case
|
|
1726
|
+
case gs: {
|
|
1719
1727
|
if (r.isNull) throw new Error();
|
|
1720
|
-
e.Payloads =
|
|
1728
|
+
e.Payloads = ps(r.asDictionary());
|
|
1721
1729
|
break;
|
|
1722
1730
|
}
|
|
1723
1731
|
}
|
|
1724
1732
|
}
|
|
1725
|
-
async function
|
|
1726
|
-
const r = await
|
|
1727
|
-
return
|
|
1733
|
+
async function Ms(t, e) {
|
|
1734
|
+
const r = await V(t, Os);
|
|
1735
|
+
return bs(r, e);
|
|
1728
1736
|
}
|
|
1729
|
-
function
|
|
1737
|
+
function ps(t) {
|
|
1730
1738
|
const e = /* @__PURE__ */ Object.create(null);
|
|
1731
1739
|
let r;
|
|
1732
1740
|
for (; (r = t.next()) !== null; ) {
|
|
1733
1741
|
const s = r.key.asString();
|
|
1734
|
-
e[s] =
|
|
1742
|
+
e[s] = $r(r.value.asObject());
|
|
1735
1743
|
}
|
|
1736
1744
|
return e;
|
|
1737
1745
|
}
|
|
1738
|
-
const kt = 1,
|
|
1739
|
-
function
|
|
1746
|
+
const kt = 1, Bs = 1048636, Vs = 2610786289;
|
|
1747
|
+
function vs(t) {
|
|
1740
1748
|
const e = new v(kt);
|
|
1741
|
-
return
|
|
1749
|
+
return Gs(t, e), e.finish();
|
|
1742
1750
|
}
|
|
1743
|
-
function
|
|
1751
|
+
function Gs(t, e) {
|
|
1744
1752
|
e.writeUInt32Field(Vs, t.Version >>> 0);
|
|
1745
1753
|
}
|
|
1746
|
-
function
|
|
1747
|
-
const s =
|
|
1748
|
-
return Zt(
|
|
1754
|
+
function xs(t, e, r) {
|
|
1755
|
+
const s = vs(t);
|
|
1756
|
+
return Zt(Bs, s, kt, e, r);
|
|
1749
1757
|
}
|
|
1750
|
-
const
|
|
1758
|
+
const Hs = 161083277, Ys = 164808083, Ws = 1368629611, Ks = 2514959030, $s = 2745379226, js = 2950031986, Xs = 3282782683, zs = 3284746250, Js = 4065070594;
|
|
1751
1759
|
function Mt(t) {
|
|
1752
1760
|
const e = {};
|
|
1753
1761
|
return pt(e), e;
|
|
1754
1762
|
}
|
|
1755
1763
|
function pt(t) {
|
|
1756
|
-
return t.StreamId = "", t.Description = "", t.SourceType = "", t.Codec = ct.H264, t.CodecDetails = "", t.Width = 0, t.Height = 0, t.Framerate = 30, t;
|
|
1764
|
+
return t.StreamId = "", t.Description = "", t.SourceType = "", t.Codec = ct.H264, t.CodecDetails = "", t.Width = 0, t.Height = 0, t.Framerate = 30, t.CorrelationId = void 0, t;
|
|
1757
1765
|
}
|
|
1758
|
-
function
|
|
1766
|
+
function qs(t, e) {
|
|
1759
1767
|
const r = e ?? Mt();
|
|
1760
|
-
return pt(r),
|
|
1768
|
+
return pt(r), Qs(t, r), r;
|
|
1761
1769
|
}
|
|
1762
|
-
function
|
|
1770
|
+
function Qs(t, e) {
|
|
1763
1771
|
let r;
|
|
1764
1772
|
for (; (r = t.next()) !== null; )
|
|
1765
1773
|
switch (r.fieldId) {
|
|
1766
|
-
case
|
|
1774
|
+
case Hs: {
|
|
1767
1775
|
if (r.isNull) throw new Error();
|
|
1768
1776
|
e.StreamId = r.asString();
|
|
1769
1777
|
break;
|
|
1770
1778
|
}
|
|
1771
|
-
case
|
|
1779
|
+
case Ys: {
|
|
1772
1780
|
if (r.isNull) throw new Error();
|
|
1773
1781
|
e.Framerate = r.asFloat64();
|
|
1774
1782
|
break;
|
|
1775
1783
|
}
|
|
1776
|
-
case
|
|
1784
|
+
case Ws: {
|
|
1777
1785
|
if (r.isNull) throw new Error();
|
|
1778
1786
|
e.Description = r.asString();
|
|
1779
1787
|
break;
|
|
1780
1788
|
}
|
|
1781
|
-
case
|
|
1789
|
+
case Ks: {
|
|
1790
|
+
if (r.isNull) {
|
|
1791
|
+
e.CorrelationId = void 0;
|
|
1792
|
+
break;
|
|
1793
|
+
}
|
|
1794
|
+
e.CorrelationId = r.asString();
|
|
1795
|
+
break;
|
|
1796
|
+
}
|
|
1797
|
+
case $s: {
|
|
1782
1798
|
if (r.isNull) throw new Error();
|
|
1783
1799
|
e.CodecDetails = r.asString();
|
|
1784
1800
|
break;
|
|
1785
1801
|
}
|
|
1786
|
-
case
|
|
1802
|
+
case js: {
|
|
1787
1803
|
if (r.isNull) throw new Error();
|
|
1788
1804
|
e.Height = r.asInt32();
|
|
1789
1805
|
break;
|
|
1790
1806
|
}
|
|
1791
|
-
case
|
|
1807
|
+
case Xs: {
|
|
1792
1808
|
if (r.isNull) throw new Error();
|
|
1793
1809
|
e.SourceType = r.asString();
|
|
1794
1810
|
break;
|
|
1795
1811
|
}
|
|
1796
|
-
case
|
|
1812
|
+
case zs: {
|
|
1797
1813
|
if (r.isNull) throw new Error();
|
|
1798
1814
|
e.Codec = r.asInt32();
|
|
1799
1815
|
break;
|
|
1800
1816
|
}
|
|
1801
|
-
case
|
|
1817
|
+
case Js: {
|
|
1802
1818
|
if (r.isNull) throw new Error();
|
|
1803
1819
|
e.Width = r.asInt32();
|
|
1804
1820
|
break;
|
|
1805
1821
|
}
|
|
1806
1822
|
}
|
|
1807
1823
|
}
|
|
1808
|
-
const
|
|
1809
|
-
function
|
|
1824
|
+
const Zs = 65539, tn = 693643444, en = 1144553441, rn = 1497620243, sn = 1559330978, nn = 1976546434, an = 1999510636, on = 2271236852, ln = 2277643855, In = 2469008121, En = 3042922213, _n = 3064612128, hn = 3219210453, un = 3504054055, cn = 3678477544, fn = 3696445035, Tn = 3707543140, An = 3712281496, Nn = 3895362455, Sn = 3897397815, dn = 4225107827;
|
|
1825
|
+
function yn(t) {
|
|
1810
1826
|
const e = {};
|
|
1811
|
-
return
|
|
1827
|
+
return Bt(e), e;
|
|
1812
1828
|
}
|
|
1813
|
-
function
|
|
1829
|
+
function Bt(t) {
|
|
1814
1830
|
return t.Clients = /* @__PURE__ */ Object.create(null), t.Functions = /* @__PURE__ */ Object.create(null), t.UIStreams = /* @__PURE__ */ Object.create(null), t.AudioStreams = /* @__PURE__ */ Object.create(null), t.VideoStreams = /* @__PURE__ */ Object.create(null), t.TrackingStreams = /* @__PURE__ */ Object.create(null), t.SpaceId = "", t.ChannelId = "", t.SessionId = "", t.ChannelUrl = "", t.SessionChannelUrl = "", t.FirstUserId = "", t.PrimaryUserId = "", t.OrganisationName = "", t.SpaceName = "", t.ChannelName = "", t.ServerRunType = Tt.Local, t.AppSourceType = At.Bundle, t.PublicAccess = !1, t.DebugMode = !1, t;
|
|
1815
1831
|
}
|
|
1816
|
-
function
|
|
1817
|
-
const r =
|
|
1818
|
-
return
|
|
1832
|
+
function wn(t, e) {
|
|
1833
|
+
const r = m.create(t);
|
|
1834
|
+
return Cn(r, e);
|
|
1819
1835
|
}
|
|
1820
|
-
function
|
|
1821
|
-
const r = e ??
|
|
1822
|
-
return
|
|
1836
|
+
function Cn(t, e) {
|
|
1837
|
+
const r = e ?? yn();
|
|
1838
|
+
return Bt(r), Un(t, r), r;
|
|
1823
1839
|
}
|
|
1824
|
-
function
|
|
1840
|
+
function Un(t, e) {
|
|
1825
1841
|
let r;
|
|
1826
1842
|
for (; (r = t.next()) !== null; )
|
|
1827
1843
|
switch (r.fieldId) {
|
|
1828
|
-
case
|
|
1844
|
+
case tn: {
|
|
1829
1845
|
if (r.isNull) throw new Error();
|
|
1830
1846
|
e.FirstUserId = r.asString();
|
|
1831
1847
|
break;
|
|
1832
1848
|
}
|
|
1833
|
-
case
|
|
1849
|
+
case en: {
|
|
1834
1850
|
if (r.isNull) throw new Error();
|
|
1835
|
-
e.Clients =
|
|
1851
|
+
e.Clients = Rn(r.asDictionary());
|
|
1836
1852
|
break;
|
|
1837
1853
|
}
|
|
1838
|
-
case
|
|
1854
|
+
case rn: {
|
|
1839
1855
|
if (r.isNull) throw new Error();
|
|
1840
|
-
e.TrackingStreams =
|
|
1856
|
+
e.TrackingStreams = Ln(r.asDictionary());
|
|
1841
1857
|
break;
|
|
1842
1858
|
}
|
|
1843
|
-
case
|
|
1859
|
+
case sn: {
|
|
1844
1860
|
if (r.isNull) throw new Error();
|
|
1845
1861
|
e.ChannelId = r.asString();
|
|
1846
1862
|
break;
|
|
1847
1863
|
}
|
|
1848
|
-
case
|
|
1864
|
+
case nn: {
|
|
1849
1865
|
if (r.isNull) throw new Error();
|
|
1850
1866
|
e.AppSourceType = r.asInt32();
|
|
1851
1867
|
break;
|
|
1852
1868
|
}
|
|
1853
|
-
case
|
|
1869
|
+
case an: {
|
|
1854
1870
|
if (r.isNull) throw new Error();
|
|
1855
1871
|
e.SessionId = r.asString();
|
|
1856
1872
|
break;
|
|
1857
1873
|
}
|
|
1858
|
-
case
|
|
1874
|
+
case on: {
|
|
1859
1875
|
if (r.isNull) throw new Error();
|
|
1860
1876
|
e.SessionChannelUrl = r.asString();
|
|
1861
1877
|
break;
|
|
1862
1878
|
}
|
|
1863
|
-
case
|
|
1879
|
+
case ln: {
|
|
1864
1880
|
if (r.isNull) throw new Error();
|
|
1865
1881
|
e.ChannelUrl = r.asString();
|
|
1866
1882
|
break;
|
|
1867
1883
|
}
|
|
1868
|
-
case
|
|
1884
|
+
case In: {
|
|
1869
1885
|
if (r.isNull) throw new Error();
|
|
1870
1886
|
e.ChannelName = r.asString();
|
|
1871
1887
|
break;
|
|
1872
1888
|
}
|
|
1873
|
-
case
|
|
1889
|
+
case En: {
|
|
1874
1890
|
if (r.isNull) throw new Error();
|
|
1875
1891
|
e.PublicAccess = r.asBool();
|
|
1876
1892
|
break;
|
|
1877
1893
|
}
|
|
1878
|
-
case
|
|
1894
|
+
case _n: {
|
|
1879
1895
|
if (r.isNull) throw new Error();
|
|
1880
1896
|
e.ServerRunType = r.asInt32();
|
|
1881
1897
|
break;
|
|
1882
1898
|
}
|
|
1883
|
-
case
|
|
1899
|
+
case hn: {
|
|
1884
1900
|
if (r.isNull) throw new Error();
|
|
1885
1901
|
e.OrganisationName = r.asString();
|
|
1886
1902
|
break;
|
|
1887
1903
|
}
|
|
1888
|
-
case
|
|
1904
|
+
case un: {
|
|
1889
1905
|
if (r.isNull) throw new Error();
|
|
1890
1906
|
e.DebugMode = r.asBool();
|
|
1891
1907
|
break;
|
|
1892
1908
|
}
|
|
1893
|
-
case
|
|
1909
|
+
case cn: {
|
|
1894
1910
|
if (r.isNull) throw new Error();
|
|
1895
|
-
e.Functions =
|
|
1911
|
+
e.Functions = On(r.asDictionary());
|
|
1896
1912
|
break;
|
|
1897
1913
|
}
|
|
1898
|
-
case
|
|
1914
|
+
case fn: {
|
|
1899
1915
|
if (r.isNull) throw new Error();
|
|
1900
|
-
e.UIStreams =
|
|
1916
|
+
e.UIStreams = mn(r.asDictionary());
|
|
1901
1917
|
break;
|
|
1902
1918
|
}
|
|
1903
|
-
case
|
|
1919
|
+
case Tn: {
|
|
1904
1920
|
if (r.isNull) throw new Error();
|
|
1905
1921
|
e.SpaceId = r.asString();
|
|
1906
1922
|
break;
|
|
1907
1923
|
}
|
|
1908
|
-
case
|
|
1924
|
+
case An: {
|
|
1909
1925
|
if (r.isNull) throw new Error();
|
|
1910
1926
|
e.PrimaryUserId = r.asString();
|
|
1911
1927
|
break;
|
|
1912
1928
|
}
|
|
1913
|
-
case
|
|
1929
|
+
case Nn: {
|
|
1914
1930
|
if (r.isNull) throw new Error();
|
|
1915
|
-
e.AudioStreams =
|
|
1931
|
+
e.AudioStreams = gn(r.asDictionary());
|
|
1916
1932
|
break;
|
|
1917
1933
|
}
|
|
1918
|
-
case
|
|
1934
|
+
case Sn: {
|
|
1919
1935
|
if (r.isNull) throw new Error();
|
|
1920
|
-
e.VideoStreams =
|
|
1936
|
+
e.VideoStreams = Fn(r.asDictionary());
|
|
1921
1937
|
break;
|
|
1922
1938
|
}
|
|
1923
|
-
case
|
|
1939
|
+
case dn: {
|
|
1924
1940
|
if (r.isNull) throw new Error();
|
|
1925
1941
|
e.SpaceName = r.asString();
|
|
1926
1942
|
break;
|
|
1927
1943
|
}
|
|
1928
1944
|
}
|
|
1929
1945
|
}
|
|
1930
|
-
async function
|
|
1931
|
-
const r = await
|
|
1932
|
-
return
|
|
1946
|
+
async function Dn(t, e) {
|
|
1947
|
+
const r = await V(t, Zs);
|
|
1948
|
+
return wn(r, e);
|
|
1933
1949
|
}
|
|
1934
|
-
function
|
|
1950
|
+
function Rn(t) {
|
|
1935
1951
|
const e = /* @__PURE__ */ Object.create(null);
|
|
1936
1952
|
let r;
|
|
1937
1953
|
for (; (r = t.next()) !== null; ) {
|
|
1938
1954
|
const s = r.key.asInt32();
|
|
1939
|
-
e[s] =
|
|
1955
|
+
e[s] = ir(r.value.asObject());
|
|
1940
1956
|
}
|
|
1941
1957
|
return e;
|
|
1942
1958
|
}
|
|
1943
|
-
function
|
|
1959
|
+
function Ln(t) {
|
|
1944
1960
|
const e = /* @__PURE__ */ Object.create(null);
|
|
1945
1961
|
let r;
|
|
1946
1962
|
for (; (r = t.next()) !== null; ) {
|
|
1947
1963
|
const s = r.key.asString();
|
|
1948
|
-
e[s] =
|
|
1964
|
+
e[s] = ii(r.value.asObject());
|
|
1949
1965
|
}
|
|
1950
1966
|
return e;
|
|
1951
1967
|
}
|
|
1952
|
-
function
|
|
1968
|
+
function On(t) {
|
|
1953
1969
|
const e = /* @__PURE__ */ Object.create(null);
|
|
1954
1970
|
let r;
|
|
1955
1971
|
for (; (r = t.next()) !== null; ) {
|
|
1956
1972
|
const s = r.key.asInt32();
|
|
1957
|
-
e[s] =
|
|
1973
|
+
e[s] = bn(r.value.asArray());
|
|
1958
1974
|
}
|
|
1959
1975
|
return e;
|
|
1960
1976
|
}
|
|
1961
|
-
function
|
|
1977
|
+
function mn(t) {
|
|
1962
1978
|
const e = /* @__PURE__ */ Object.create(null);
|
|
1963
1979
|
let r;
|
|
1964
1980
|
for (; (r = t.next()) !== null; ) {
|
|
1965
1981
|
const s = r.key.asString();
|
|
1966
|
-
e[s] =
|
|
1982
|
+
e[s] = Vn(r.value.asObject());
|
|
1967
1983
|
}
|
|
1968
1984
|
return e;
|
|
1969
1985
|
}
|
|
1970
|
-
function
|
|
1986
|
+
function gn(t) {
|
|
1971
1987
|
const e = /* @__PURE__ */ Object.create(null);
|
|
1972
1988
|
let r;
|
|
1973
1989
|
for (; (r = t.next()) !== null; ) {
|
|
1974
1990
|
const s = r.key.asString();
|
|
1975
|
-
e[s] =
|
|
1991
|
+
e[s] = Kn(r.value.asObject());
|
|
1976
1992
|
}
|
|
1977
1993
|
return e;
|
|
1978
1994
|
}
|
|
1979
|
-
function
|
|
1995
|
+
function Fn(t) {
|
|
1980
1996
|
const e = /* @__PURE__ */ Object.create(null);
|
|
1981
1997
|
let r;
|
|
1982
1998
|
for (; (r = t.next()) !== null; ) {
|
|
1983
1999
|
const s = r.key.asString();
|
|
1984
|
-
e[s] =
|
|
2000
|
+
e[s] = Qn(r.value.asObject());
|
|
1985
2001
|
}
|
|
1986
2002
|
return e;
|
|
1987
2003
|
}
|
|
1988
|
-
function
|
|
2004
|
+
function bn(t) {
|
|
1989
2005
|
const e = [];
|
|
1990
2006
|
let r;
|
|
1991
2007
|
for (; (r = t.next()) !== null; )
|
|
1992
|
-
e.push(
|
|
2008
|
+
e.push(yr(r.asObject()));
|
|
1993
2009
|
return e;
|
|
1994
2010
|
}
|
|
1995
|
-
const
|
|
1996
|
-
function
|
|
2011
|
+
const Pn = 161083277, kn = 325678206, Mn = 3469892363, pn = 3645544153;
|
|
2012
|
+
function Bn(t) {
|
|
1997
2013
|
const e = {};
|
|
1998
|
-
return
|
|
2014
|
+
return Vt(e), e;
|
|
1999
2015
|
}
|
|
2000
|
-
function
|
|
2016
|
+
function Vt(t) {
|
|
2001
2017
|
return t.StreamId = "", t.ClientSessionId = 0, t.TrackId = 0, t.Info = Lt(), t;
|
|
2002
2018
|
}
|
|
2003
|
-
function pn(t, e) {
|
|
2004
|
-
const r = e ?? Mn();
|
|
2005
|
-
return Bt(r), Vn(t, r), r;
|
|
2006
|
-
}
|
|
2007
2019
|
function Vn(t, e) {
|
|
2020
|
+
const r = e ?? Bn();
|
|
2021
|
+
return Vt(r), vn(t, r), r;
|
|
2022
|
+
}
|
|
2023
|
+
function vn(t, e) {
|
|
2008
2024
|
let r;
|
|
2009
2025
|
for (; (r = t.next()) !== null; )
|
|
2010
2026
|
switch (r.fieldId) {
|
|
2011
|
-
case
|
|
2027
|
+
case Pn: {
|
|
2012
2028
|
if (r.isNull) throw new Error();
|
|
2013
2029
|
e.StreamId = r.asString();
|
|
2014
2030
|
break;
|
|
2015
2031
|
}
|
|
2016
|
-
case
|
|
2032
|
+
case kn: {
|
|
2017
2033
|
if (r.isNull) throw new Error();
|
|
2018
2034
|
e.ClientSessionId = r.asInt32();
|
|
2019
2035
|
break;
|
|
2020
2036
|
}
|
|
2021
|
-
case
|
|
2037
|
+
case Mn: {
|
|
2022
2038
|
if (r.isNull) throw new Error();
|
|
2023
2039
|
e.TrackId = r.asInt32();
|
|
2024
2040
|
break;
|
|
2025
2041
|
}
|
|
2026
|
-
case
|
|
2042
|
+
case pn: {
|
|
2027
2043
|
if (r.isNull) throw new Error();
|
|
2028
|
-
e.Info =
|
|
2044
|
+
e.Info = zr(r.asObject());
|
|
2029
2045
|
break;
|
|
2030
2046
|
}
|
|
2031
2047
|
}
|
|
2032
2048
|
}
|
|
2033
|
-
const
|
|
2034
|
-
function
|
|
2049
|
+
const Gn = 161083277, xn = 325678206, Hn = 3469892363, Yn = 3645544153;
|
|
2050
|
+
function Wn(t) {
|
|
2035
2051
|
const e = {};
|
|
2036
2052
|
return vt(e), e;
|
|
2037
2053
|
}
|
|
2038
2054
|
function vt(t) {
|
|
2039
|
-
return t.StreamId = "", t.ClientSessionId = 0, t.TrackId = 0, t.Info =
|
|
2055
|
+
return t.StreamId = "", t.ClientSessionId = 0, t.TrackId = 0, t.Info = Nt(), t;
|
|
2040
2056
|
}
|
|
2041
|
-
function
|
|
2042
|
-
const r = e ??
|
|
2043
|
-
return vt(r),
|
|
2057
|
+
function Kn(t, e) {
|
|
2058
|
+
const r = e ?? Wn();
|
|
2059
|
+
return vt(r), $n(t, r), r;
|
|
2044
2060
|
}
|
|
2045
|
-
function
|
|
2061
|
+
function $n(t, e) {
|
|
2046
2062
|
let r;
|
|
2047
2063
|
for (; (r = t.next()) !== null; )
|
|
2048
2064
|
switch (r.fieldId) {
|
|
2049
|
-
case
|
|
2065
|
+
case Gn: {
|
|
2050
2066
|
if (r.isNull) throw new Error();
|
|
2051
2067
|
e.StreamId = r.asString();
|
|
2052
2068
|
break;
|
|
2053
2069
|
}
|
|
2054
|
-
case
|
|
2070
|
+
case xn: {
|
|
2055
2071
|
if (r.isNull) throw new Error();
|
|
2056
2072
|
e.ClientSessionId = r.asInt32();
|
|
2057
2073
|
break;
|
|
2058
2074
|
}
|
|
2059
|
-
case
|
|
2075
|
+
case Hn: {
|
|
2060
2076
|
if (r.isNull) throw new Error();
|
|
2061
2077
|
e.TrackId = r.asInt32();
|
|
2062
2078
|
break;
|
|
2063
2079
|
}
|
|
2064
|
-
case
|
|
2080
|
+
case Yn: {
|
|
2065
2081
|
if (r.isNull) throw new Error();
|
|
2066
|
-
e.Info =
|
|
2082
|
+
e.Info = Ae(r.asObject());
|
|
2067
2083
|
break;
|
|
2068
2084
|
}
|
|
2069
2085
|
}
|
|
2070
2086
|
}
|
|
2071
|
-
const
|
|
2072
|
-
function
|
|
2087
|
+
const jn = 161083277, Xn = 325678206, zn = 3469892363, Jn = 3645544153;
|
|
2088
|
+
function qn(t) {
|
|
2073
2089
|
const e = {};
|
|
2074
2090
|
return Gt(e), e;
|
|
2075
2091
|
}
|
|
2076
2092
|
function Gt(t) {
|
|
2077
2093
|
return t.StreamId = "", t.ClientSessionId = 0, t.TrackId = 0, t.Info = Mt(), t;
|
|
2078
2094
|
}
|
|
2079
|
-
function
|
|
2080
|
-
const r = e ??
|
|
2081
|
-
return Gt(r),
|
|
2095
|
+
function Qn(t, e) {
|
|
2096
|
+
const r = e ?? qn();
|
|
2097
|
+
return Gt(r), Zn(t, r), r;
|
|
2082
2098
|
}
|
|
2083
|
-
function
|
|
2099
|
+
function Zn(t, e) {
|
|
2084
2100
|
let r;
|
|
2085
2101
|
for (; (r = t.next()) !== null; )
|
|
2086
2102
|
switch (r.fieldId) {
|
|
2087
|
-
case
|
|
2103
|
+
case jn: {
|
|
2088
2104
|
if (r.isNull) throw new Error();
|
|
2089
2105
|
e.StreamId = r.asString();
|
|
2090
2106
|
break;
|
|
2091
2107
|
}
|
|
2092
|
-
case
|
|
2108
|
+
case Xn: {
|
|
2093
2109
|
if (r.isNull) throw new Error();
|
|
2094
2110
|
e.ClientSessionId = r.asInt32();
|
|
2095
2111
|
break;
|
|
2096
2112
|
}
|
|
2097
|
-
case
|
|
2113
|
+
case zn: {
|
|
2098
2114
|
if (r.isNull) throw new Error();
|
|
2099
2115
|
e.TrackId = r.asInt32();
|
|
2100
2116
|
break;
|
|
2101
2117
|
}
|
|
2102
|
-
case
|
|
2118
|
+
case Jn: {
|
|
2103
2119
|
if (r.isNull) throw new Error();
|
|
2104
|
-
e.Info =
|
|
2120
|
+
e.Info = qs(r.asObject());
|
|
2105
2121
|
break;
|
|
2106
2122
|
}
|
|
2107
2123
|
}
|
|
2108
2124
|
}
|
|
2109
|
-
const
|
|
2110
|
-
function
|
|
2125
|
+
const ti = 161083277, ei = 325678206, ri = 3469892363, si = 3645544153;
|
|
2126
|
+
function ni(t) {
|
|
2111
2127
|
const e = {};
|
|
2112
2128
|
return xt(e), e;
|
|
2113
2129
|
}
|
|
2114
2130
|
function xt(t) {
|
|
2115
2131
|
return t.StreamId = "", t.ClientSessionId = 0, t.TrackId = 0, t.Info = Ut(), t;
|
|
2116
2132
|
}
|
|
2117
|
-
function
|
|
2118
|
-
const r = e ??
|
|
2119
|
-
return xt(r),
|
|
2133
|
+
function ii(t, e) {
|
|
2134
|
+
const r = e ?? ni();
|
|
2135
|
+
return xt(r), ai(t, r), r;
|
|
2120
2136
|
}
|
|
2121
|
-
function
|
|
2137
|
+
function ai(t, e) {
|
|
2122
2138
|
let r;
|
|
2123
2139
|
for (; (r = t.next()) !== null; )
|
|
2124
2140
|
switch (r.fieldId) {
|
|
2125
|
-
case
|
|
2141
|
+
case ti: {
|
|
2126
2142
|
if (r.isNull) throw new Error();
|
|
2127
2143
|
e.StreamId = r.asString();
|
|
2128
2144
|
break;
|
|
2129
2145
|
}
|
|
2130
|
-
case
|
|
2146
|
+
case ei: {
|
|
2131
2147
|
if (r.isNull) throw new Error();
|
|
2132
2148
|
e.ClientSessionId = r.asInt32();
|
|
2133
2149
|
break;
|
|
2134
2150
|
}
|
|
2135
|
-
case
|
|
2151
|
+
case ri: {
|
|
2136
2152
|
if (r.isNull) throw new Error();
|
|
2137
2153
|
e.TrackId = r.asInt32();
|
|
2138
2154
|
break;
|
|
2139
2155
|
}
|
|
2140
|
-
case
|
|
2156
|
+
case si: {
|
|
2141
2157
|
if (r.isNull) throw new Error();
|
|
2142
|
-
e.Info =
|
|
2158
|
+
e.Info = Gr(r.asObject());
|
|
2143
2159
|
break;
|
|
2144
2160
|
}
|
|
2145
2161
|
}
|
|
@@ -2201,7 +2217,7 @@ function et(t, e) {
|
|
|
2201
2217
|
...l ? { sourceMarker: l } : {}
|
|
2202
2218
|
};
|
|
2203
2219
|
}
|
|
2204
|
-
function
|
|
2220
|
+
function oi(t, e) {
|
|
2205
2221
|
if (!C(t))
|
|
2206
2222
|
throw new Error(`Invalid text delta at ${e}`);
|
|
2207
2223
|
const r = t.NodeId, s = t.PropertyName, n = t.Start, i = t.End, a = t.InsertedText;
|
|
@@ -2228,7 +2244,7 @@ function ii(t, e) {
|
|
|
2228
2244
|
insertedText: a
|
|
2229
2245
|
};
|
|
2230
2246
|
}
|
|
2231
|
-
function
|
|
2247
|
+
function li(t, e) {
|
|
2232
2248
|
if (!C(t))
|
|
2233
2249
|
throw new Error(`Invalid child insert at ${e}`);
|
|
2234
2250
|
const r = t.Index, s = t.Node;
|
|
@@ -2241,7 +2257,7 @@ function ai(t, e) {
|
|
|
2241
2257
|
node: et(s, `${e}.node`)
|
|
2242
2258
|
};
|
|
2243
2259
|
}
|
|
2244
|
-
function
|
|
2260
|
+
function Ii(t, e) {
|
|
2245
2261
|
if (!C(t))
|
|
2246
2262
|
throw new Error(`Invalid child move at ${e}`);
|
|
2247
2263
|
const r = t.NodeId, s = t.FromIndex, n = t.ToIndex;
|
|
@@ -2257,7 +2273,7 @@ function oi(t, e) {
|
|
|
2257
2273
|
toIndex: n
|
|
2258
2274
|
};
|
|
2259
2275
|
}
|
|
2260
|
-
function
|
|
2276
|
+
function Ei(t, e) {
|
|
2261
2277
|
if (!C(t))
|
|
2262
2278
|
throw new Error(`Invalid child remove at ${e}`);
|
|
2263
2279
|
const r = t.NodeId, s = t.Index;
|
|
@@ -2270,18 +2286,18 @@ function li(t, e) {
|
|
|
2270
2286
|
index: s
|
|
2271
2287
|
};
|
|
2272
2288
|
}
|
|
2273
|
-
function
|
|
2289
|
+
function _i(t, e) {
|
|
2274
2290
|
if (!C(t))
|
|
2275
2291
|
throw new Error(`Invalid node change at ${e}`);
|
|
2276
2292
|
const r = t.nodeId;
|
|
2277
2293
|
if (typeof r != "string" || r.length === 0)
|
|
2278
2294
|
throw new Error(`Invalid node change nodeId at ${e}`);
|
|
2279
2295
|
const s = Array.isArray(t.inserts) ? t.inserts.map(
|
|
2280
|
-
(l, E) =>
|
|
2296
|
+
(l, E) => li(l ?? {}, `${e}.inserts[${E}]`)
|
|
2281
2297
|
) : void 0, n = Array.isArray(t.moves) ? t.moves.map(
|
|
2282
|
-
(l, E) =>
|
|
2298
|
+
(l, E) => Ii(l ?? {}, `${e}.moves[${E}]`)
|
|
2283
2299
|
) : void 0, i = Array.isArray(t.removals) ? t.removals.map(
|
|
2284
|
-
(l, E) =>
|
|
2300
|
+
(l, E) => Ei(l ?? {}, `${e}.removals[${E}]`)
|
|
2285
2301
|
) : void 0;
|
|
2286
2302
|
let a;
|
|
2287
2303
|
if (C(t.changedProps)) {
|
|
@@ -2294,7 +2310,7 @@ function Ii(t, e) {
|
|
|
2294
2310
|
}
|
|
2295
2311
|
}
|
|
2296
2312
|
const o = Array.isArray(t.textUpdates) ? t.textUpdates.map(
|
|
2297
|
-
(l, E) =>
|
|
2313
|
+
(l, E) => oi(l ?? {}, `${e}.textUpdates[${E}]`)
|
|
2298
2314
|
) : void 0, I = t.styleIds, _ = I !== void 0 ? Yt(I, e, r, !0) : void 0;
|
|
2299
2315
|
return {
|
|
2300
2316
|
nodeId: r,
|
|
@@ -2306,19 +2322,19 @@ function Ii(t, e) {
|
|
|
2306
2322
|
..._ !== void 0 ? { styleIds: _ } : {}
|
|
2307
2323
|
};
|
|
2308
2324
|
}
|
|
2309
|
-
function
|
|
2325
|
+
function hi(t) {
|
|
2310
2326
|
const e = /* @__PURE__ */ new Map();
|
|
2311
2327
|
for (const [r, s] of Object.entries(t))
|
|
2312
2328
|
e.set(r, s);
|
|
2313
2329
|
return e;
|
|
2314
2330
|
}
|
|
2315
|
-
function
|
|
2331
|
+
function ui(t, e, r) {
|
|
2316
2332
|
if (!t || typeof t != "object")
|
|
2317
2333
|
throw new U("UI update graph is missing");
|
|
2318
2334
|
const s = et(t, "graph");
|
|
2319
2335
|
if (s.type !== "root")
|
|
2320
2336
|
throw new U('UI update root element must have type "root"');
|
|
2321
|
-
const n =
|
|
2337
|
+
const n = fi(s.props, e);
|
|
2322
2338
|
return {
|
|
2323
2339
|
type: "full",
|
|
2324
2340
|
version: r,
|
|
@@ -2326,7 +2342,7 @@ function _i(t, e, r) {
|
|
|
2326
2342
|
metadata: n
|
|
2327
2343
|
};
|
|
2328
2344
|
}
|
|
2329
|
-
function
|
|
2345
|
+
function ci(t, e, r) {
|
|
2330
2346
|
if (!Array.isArray(t))
|
|
2331
2347
|
throw new U("UI diff changes must be an array");
|
|
2332
2348
|
if (!C(e))
|
|
@@ -2335,7 +2351,7 @@ function hi(t, e, r) {
|
|
|
2335
2351
|
if (typeof s != "string" || s.length === 0)
|
|
2336
2352
|
throw new U("UI diff metadata is missing viewId");
|
|
2337
2353
|
const n = t.map(
|
|
2338
|
-
(o, I) =>
|
|
2354
|
+
(o, I) => _i(o ?? {}, `changes[${I}]`)
|
|
2339
2355
|
), i = typeof e.isUpdate == "boolean" ? e.isUpdate : void 0, a = {
|
|
2340
2356
|
viewId: s,
|
|
2341
2357
|
...i !== void 0 ? { isUpdate: i } : {}
|
|
@@ -2347,7 +2363,7 @@ function hi(t, e, r) {
|
|
|
2347
2363
|
metadata: a
|
|
2348
2364
|
};
|
|
2349
2365
|
}
|
|
2350
|
-
function
|
|
2366
|
+
function fi(t, e) {
|
|
2351
2367
|
const r = t.viewId;
|
|
2352
2368
|
if (typeof r != "string" || r.length === 0)
|
|
2353
2369
|
throw new U("UI update root is missing viewId");
|
|
@@ -2362,7 +2378,7 @@ class U extends Error {
|
|
|
2362
2378
|
super(e), this.causeError = r, this.name = "UiUpdateParseError", r instanceof Error && (this.stack = r.stack);
|
|
2363
2379
|
}
|
|
2364
2380
|
}
|
|
2365
|
-
function
|
|
2381
|
+
function Ti(t) {
|
|
2366
2382
|
let e;
|
|
2367
2383
|
try {
|
|
2368
2384
|
e = JSON.parse(t.Json);
|
|
@@ -2376,13 +2392,13 @@ function ci(t) {
|
|
|
2376
2392
|
throw new U(`Unknown UI update type: ${String(r)}`);
|
|
2377
2393
|
if (typeof s != "number")
|
|
2378
2394
|
throw new U("UI update version must be a number");
|
|
2379
|
-
const n = r === "full" ?
|
|
2395
|
+
const n = r === "full" ? ui(e.graph, e.metadata, s) : ci(e.changes, e.metadata, s), i = t.Payloads ? hi(t.Payloads) : /* @__PURE__ */ new Map();
|
|
2380
2396
|
return {
|
|
2381
2397
|
snapshot: n,
|
|
2382
2398
|
payloads: i
|
|
2383
2399
|
};
|
|
2384
2400
|
}
|
|
2385
|
-
class
|
|
2401
|
+
class Ai {
|
|
2386
2402
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
2387
2403
|
cache = /* @__PURE__ */ new Map();
|
|
2388
2404
|
/**
|
|
@@ -2463,7 +2479,7 @@ class fi {
|
|
|
2463
2479
|
return this.cache.size;
|
|
2464
2480
|
}
|
|
2465
2481
|
}
|
|
2466
|
-
class
|
|
2482
|
+
class Ni {
|
|
2467
2483
|
views = /* @__PURE__ */ new Map();
|
|
2468
2484
|
listeners = /* @__PURE__ */ new Set();
|
|
2469
2485
|
payloads = /* @__PURE__ */ new Map();
|
|
@@ -2483,7 +2499,7 @@ class Ti {
|
|
|
2483
2499
|
viewsDirty = !0;
|
|
2484
2500
|
payloadsDirty = !0;
|
|
2485
2501
|
// Handler cache for stable event handlers
|
|
2486
|
-
handlerCache = new
|
|
2502
|
+
handlerCache = new Ai();
|
|
2487
2503
|
apply(e) {
|
|
2488
2504
|
if (this.snapshotMode) {
|
|
2489
2505
|
if (e.snapshot.type !== "full")
|
|
@@ -2506,11 +2522,11 @@ class Ti {
|
|
|
2506
2522
|
this.rootViewId || (this.rootViewId = i, I = !0, this.structureChanged = !0);
|
|
2507
2523
|
const _ = a.root;
|
|
2508
2524
|
if (r.type === "full")
|
|
2509
|
-
a.root = r.root, a.version = r.version, I = !0, this.viewsDirty = !0, this.structureChanged = !0, r.root &&
|
|
2525
|
+
a.root = r.root, a.version = r.version, I = !0, this.viewsDirty = !0, this.structureChanged = !0, r.root && B(r.root, this.changedNodeIds);
|
|
2510
2526
|
else {
|
|
2511
2527
|
if (!_)
|
|
2512
2528
|
return !1;
|
|
2513
|
-
const l =
|
|
2529
|
+
const l = di(_, r.changes);
|
|
2514
2530
|
l !== _ ? (a.root = l, I = !0, this.viewsDirty = !0, $(_, l, this.changedNodeIds)) : a.root = l, a.version = r.version;
|
|
2515
2531
|
}
|
|
2516
2532
|
for (const [l, E] of s)
|
|
@@ -2539,7 +2555,7 @@ class Ti {
|
|
|
2539
2555
|
if (e.upsertViews && e.upsertViews.length > 0)
|
|
2540
2556
|
for (const [l, E] of e.upsertViews) {
|
|
2541
2557
|
const h = a(), T = h.get(l);
|
|
2542
|
-
T !== E && (h.set(l, E), s = !0, T ? $(T, E, this.changedNodeIds) : (
|
|
2558
|
+
T !== E && (h.set(l, E), s = !0, T ? $(T, E, this.changedNodeIds) : (B(E, this.changedNodeIds), this.structureChanged = !0));
|
|
2543
2559
|
}
|
|
2544
2560
|
if (e.deletePayloads && e.deletePayloads.length > 0)
|
|
2545
2561
|
for (const l of e.deletePayloads)
|
|
@@ -2569,7 +2585,7 @@ class Ti {
|
|
|
2569
2585
|
(r.rootViewId !== e.rootViewId || r.views.size !== e.views.size) && (this.structureChanged = !0);
|
|
2570
2586
|
for (const [n, i] of e.views) {
|
|
2571
2587
|
const a = r.views.get(n);
|
|
2572
|
-
a ? $(a, i, this.changedNodeIds) : (
|
|
2588
|
+
a ? $(a, i, this.changedNodeIds) : (B(i, this.changedNodeIds), this.structureChanged = !0);
|
|
2573
2589
|
}
|
|
2574
2590
|
for (const n of this.changedNodeIds)
|
|
2575
2591
|
this.nodeVersions.set(n, (this.nodeVersions.get(n) ?? 0) + 1);
|
|
@@ -2653,7 +2669,7 @@ class Ti {
|
|
|
2653
2669
|
}
|
|
2654
2670
|
}
|
|
2655
2671
|
}
|
|
2656
|
-
class
|
|
2672
|
+
class Si {
|
|
2657
2673
|
streams = /* @__PURE__ */ new Map();
|
|
2658
2674
|
listeners = /* @__PURE__ */ new Set();
|
|
2659
2675
|
apply(e, r) {
|
|
@@ -2717,14 +2733,14 @@ class Ai {
|
|
|
2717
2733
|
}
|
|
2718
2734
|
getOrCreateStreamEntry(e) {
|
|
2719
2735
|
let r = this.streams.get(e);
|
|
2720
|
-
return r || (r = { store: new
|
|
2736
|
+
return r || (r = { store: new Ni() }, this.streams.set(e, r)), r;
|
|
2721
2737
|
}
|
|
2722
2738
|
notify(e) {
|
|
2723
2739
|
for (const r of this.listeners)
|
|
2724
2740
|
r(e);
|
|
2725
2741
|
}
|
|
2726
2742
|
}
|
|
2727
|
-
function
|
|
2743
|
+
function di(t, e, r) {
|
|
2728
2744
|
if (e.length === 0)
|
|
2729
2745
|
return t;
|
|
2730
2746
|
const s = /* @__PURE__ */ new Map();
|
|
@@ -2736,20 +2752,20 @@ function Wt(t, e, r) {
|
|
|
2736
2752
|
const s = e.get(t.id);
|
|
2737
2753
|
let n = t, i = !1;
|
|
2738
2754
|
if (s?.textUpdates && s.textUpdates.length > 0) {
|
|
2739
|
-
const u =
|
|
2755
|
+
const u = Ui(t, s.textUpdates);
|
|
2740
2756
|
n = u.node, i = u.changed;
|
|
2741
2757
|
}
|
|
2742
2758
|
let a = !1, o = n.props;
|
|
2743
2759
|
if (s?.changedProps && s.changedProps.size > 0)
|
|
2744
|
-
for (const [u,
|
|
2760
|
+
for (const [u, N] of s.changedProps.entries()) {
|
|
2745
2761
|
const f = o[u];
|
|
2746
|
-
if (
|
|
2762
|
+
if (N === void 0)
|
|
2747
2763
|
(f !== void 0 || u in o) && (a || (o = p(o), a = !0), delete o[u]);
|
|
2748
|
-
else if (X(
|
|
2749
|
-
const A = p(
|
|
2764
|
+
else if (X(N)) {
|
|
2765
|
+
const A = p(N);
|
|
2750
2766
|
k(A, f) || (a || (o = p(o), a = !0), o[u] = A);
|
|
2751
2767
|
} else
|
|
2752
|
-
k(
|
|
2768
|
+
k(N, f) || (a || (o = p(o), a = !0), o[u] = N);
|
|
2753
2769
|
}
|
|
2754
2770
|
let I = !1, _ = n.styleIds;
|
|
2755
2771
|
s?.styleIds !== void 0 && (jt(n.styleIds, s.styleIds) || (_ = s.styleIds, I = !0));
|
|
@@ -2758,8 +2774,8 @@ function Wt(t, e, r) {
|
|
|
2758
2774
|
if (s?.removals && s.removals.length > 0 || s?.moves && s.moves.length > 0 || s?.inserts && s.inserts.length > 0) {
|
|
2759
2775
|
const u = E.slice();
|
|
2760
2776
|
if (s?.removals && s.removals.length > 0) {
|
|
2761
|
-
const
|
|
2762
|
-
for (const f of
|
|
2777
|
+
const N = [...s.removals].sort((f, A) => A.index - f.index);
|
|
2778
|
+
for (const f of N)
|
|
2763
2779
|
if (f.index >= 0 && f.index < u.length && u[f.index].id === f.nodeId)
|
|
2764
2780
|
u.splice(f.index, 1);
|
|
2765
2781
|
else {
|
|
@@ -2769,12 +2785,12 @@ function Wt(t, e, r) {
|
|
|
2769
2785
|
h = !0;
|
|
2770
2786
|
}
|
|
2771
2787
|
if (s?.moves && s.moves.length > 0) {
|
|
2772
|
-
const
|
|
2773
|
-
for (const A of
|
|
2788
|
+
const N = [...s.moves].sort((A, D) => A.toIndex - D.toIndex), f = /* @__PURE__ */ new Map();
|
|
2789
|
+
for (const A of N) {
|
|
2774
2790
|
const D = u.findIndex((K) => K.id === A.nodeId);
|
|
2775
2791
|
D >= 0 && (f.set(A.nodeId, u[D]), u.splice(D, 1));
|
|
2776
2792
|
}
|
|
2777
|
-
for (const A of
|
|
2793
|
+
for (const A of N) {
|
|
2778
2794
|
const D = f.get(A.nodeId);
|
|
2779
2795
|
if (D) {
|
|
2780
2796
|
const K = Math.min(A.toIndex, u.length);
|
|
@@ -2784,8 +2800,8 @@ function Wt(t, e, r) {
|
|
|
2784
2800
|
h = !0;
|
|
2785
2801
|
}
|
|
2786
2802
|
if (s?.inserts && s.inserts.length > 0) {
|
|
2787
|
-
const
|
|
2788
|
-
for (const f of
|
|
2803
|
+
const N = [...s.inserts].sort((f, A) => f.index - A.index);
|
|
2804
|
+
for (const f of N) {
|
|
2789
2805
|
const A = Math.min(f.index, u.length);
|
|
2790
2806
|
u.splice(A, 0, f.node);
|
|
2791
2807
|
}
|
|
@@ -2795,8 +2811,8 @@ function Wt(t, e, r) {
|
|
|
2795
2811
|
}
|
|
2796
2812
|
let d;
|
|
2797
2813
|
for (let u = 0; u < E.length; u++) {
|
|
2798
|
-
const
|
|
2799
|
-
f !==
|
|
2814
|
+
const N = E[u], f = Wt(N, e);
|
|
2815
|
+
f !== N && (d || (d = E.slice()), d[u] = f);
|
|
2800
2816
|
}
|
|
2801
2817
|
return d && (E = d, h = !0), i || a || I || h ? !a && !h && !I ? n : {
|
|
2802
2818
|
id: t.id,
|
|
@@ -2807,13 +2823,13 @@ function Wt(t, e, r) {
|
|
|
2807
2823
|
...t.sourceMarker ? { sourceMarker: t.sourceMarker } : {}
|
|
2808
2824
|
} : t;
|
|
2809
2825
|
}
|
|
2810
|
-
function
|
|
2826
|
+
function B(t, e) {
|
|
2811
2827
|
if (e.add(t.id), t.children)
|
|
2812
2828
|
for (const r of t.children)
|
|
2813
|
-
|
|
2829
|
+
B(r, e);
|
|
2814
2830
|
}
|
|
2815
2831
|
const x = [];
|
|
2816
|
-
function
|
|
2832
|
+
function yi(t) {
|
|
2817
2833
|
for (; x.length <= t; )
|
|
2818
2834
|
x.push(/* @__PURE__ */ new Map());
|
|
2819
2835
|
return x[t].clear(), x[t];
|
|
@@ -2824,21 +2840,21 @@ function $(t, e, r) {
|
|
|
2824
2840
|
function Kt(t, e, r, s) {
|
|
2825
2841
|
if (t === e)
|
|
2826
2842
|
return;
|
|
2827
|
-
(t.type !== e.type || !
|
|
2843
|
+
(t.type !== e.type || !wi(t.props, e.props) || !jt(t.styleIds, e.styleIds)) && r.add(e.id);
|
|
2828
2844
|
const i = t.children ?? [], a = e.children ?? [];
|
|
2829
2845
|
if (i !== a) {
|
|
2830
|
-
const o =
|
|
2846
|
+
const o = yi(s);
|
|
2831
2847
|
for (const _ of i)
|
|
2832
2848
|
o.set(_.id, _);
|
|
2833
2849
|
let I = !1;
|
|
2834
2850
|
for (let _ = 0; _ < a.length; _++) {
|
|
2835
2851
|
const l = a[_], E = o.get(l.id);
|
|
2836
|
-
E ? (Kt(E, l, r, s + 1), !I && _ < i.length && i[_].id !== l.id && (I = !0)) : (
|
|
2852
|
+
E ? (Kt(E, l, r, s + 1), !I && _ < i.length && i[_].id !== l.id && (I = !0)) : (B(l, r), I = !0);
|
|
2837
2853
|
}
|
|
2838
2854
|
(i.length !== a.length || I) && r.add(e.id);
|
|
2839
2855
|
}
|
|
2840
2856
|
}
|
|
2841
|
-
function
|
|
2857
|
+
function wi(t, e) {
|
|
2842
2858
|
return k(t, e);
|
|
2843
2859
|
}
|
|
2844
2860
|
function $t(t, e) {
|
|
@@ -2854,7 +2870,7 @@ function $t(t, e) {
|
|
|
2854
2870
|
function jt(t, e) {
|
|
2855
2871
|
return k(t, e);
|
|
2856
2872
|
}
|
|
2857
|
-
function
|
|
2873
|
+
function Ci(t, e) {
|
|
2858
2874
|
if (e.length === 0)
|
|
2859
2875
|
return t;
|
|
2860
2876
|
const r = [...e].sort((i, a) => i.start - a.start);
|
|
@@ -2862,7 +2878,7 @@ function yi(t, e) {
|
|
|
2862
2878
|
for (const i of r) {
|
|
2863
2879
|
const a = nt(i.start + n, 0, s.length);
|
|
2864
2880
|
if (i.end == null) {
|
|
2865
|
-
const l = s.slice(a), E =
|
|
2881
|
+
const l = s.slice(a), E = Di(l, i.insertedText);
|
|
2866
2882
|
s = s.slice(0, a) + i.insertedText + l.slice(E), n += i.insertedText.length - E;
|
|
2867
2883
|
continue;
|
|
2868
2884
|
}
|
|
@@ -2871,7 +2887,7 @@ function yi(t, e) {
|
|
|
2871
2887
|
}
|
|
2872
2888
|
return s;
|
|
2873
2889
|
}
|
|
2874
|
-
function
|
|
2890
|
+
function Ui(t, e, r) {
|
|
2875
2891
|
if (e.length === 0)
|
|
2876
2892
|
return { node: t, changed: !1 };
|
|
2877
2893
|
const s = /* @__PURE__ */ new Map();
|
|
@@ -2891,7 +2907,7 @@ function Xt(t, e, r) {
|
|
|
2891
2907
|
E ? E.push(l) : _.set(l.propertyName, [l]);
|
|
2892
2908
|
}
|
|
2893
2909
|
for (const [l, E] of _.entries()) {
|
|
2894
|
-
const h = i[l], d =
|
|
2910
|
+
const h = i[l], d = Ci(typeof h == "string" ? h : "", E);
|
|
2895
2911
|
n || (i = p(i), n = !0), i[l] = d;
|
|
2896
2912
|
}
|
|
2897
2913
|
}
|
|
@@ -2921,7 +2937,7 @@ function Xt(t, e, r) {
|
|
|
2921
2937
|
function nt(t, e, r) {
|
|
2922
2938
|
return Math.max(e, Math.min(r, t));
|
|
2923
2939
|
}
|
|
2924
|
-
function
|
|
2940
|
+
function Di(t, e) {
|
|
2925
2941
|
const r = Math.min(t.length, e.length);
|
|
2926
2942
|
let s = 0;
|
|
2927
2943
|
for (; s < r && t.charCodeAt(s) === e.charCodeAt(s); )
|
|
@@ -2961,9 +2977,9 @@ function k(t, e) {
|
|
|
2961
2977
|
}
|
|
2962
2978
|
return !1;
|
|
2963
2979
|
}
|
|
2964
|
-
function
|
|
2980
|
+
function Ri(t) {
|
|
2965
2981
|
return new Worker(
|
|
2966
|
-
"" + new URL("assets/ui-worker-
|
|
2982
|
+
"" + new URL("assets/ui-worker-Ci6o-6Bv.js", import.meta.url).href,
|
|
2967
2983
|
{
|
|
2968
2984
|
type: "module",
|
|
2969
2985
|
name: t?.name
|
|
@@ -2971,11 +2987,11 @@ function Ui(t) {
|
|
|
2971
2987
|
);
|
|
2972
2988
|
}
|
|
2973
2989
|
const R = Jt("IkonUiCore");
|
|
2974
|
-
class
|
|
2990
|
+
class mi {
|
|
2975
2991
|
unsubscribeProtocolMessages;
|
|
2976
2992
|
unsubscribeState;
|
|
2977
2993
|
client = null;
|
|
2978
|
-
uiStore = new
|
|
2994
|
+
uiStore = new Si();
|
|
2979
2995
|
uiWorker = null;
|
|
2980
2996
|
uiStyles = /* @__PURE__ */ new Map();
|
|
2981
2997
|
uiUpdateListeners = /* @__PURE__ */ new Set();
|
|
@@ -3038,7 +3054,7 @@ class Li {
|
|
|
3038
3054
|
}
|
|
3039
3055
|
startUiWorker(e) {
|
|
3040
3056
|
try {
|
|
3041
|
-
this.uiWorker = new
|
|
3057
|
+
this.uiWorker = new Ri();
|
|
3042
3058
|
} catch (n) {
|
|
3043
3059
|
R.warn("Failed to create UI worker, falling back to main thread", n), this.uiWorker = null;
|
|
3044
3060
|
return;
|
|
@@ -3154,7 +3170,7 @@ class Li {
|
|
|
3154
3170
|
}
|
|
3155
3171
|
}
|
|
3156
3172
|
handleGlobalState(e) {
|
|
3157
|
-
|
|
3173
|
+
Dn(e).then((r) => {
|
|
3158
3174
|
const s = /* @__PURE__ */ new Set();
|
|
3159
3175
|
for (const n of Object.values(r.UIStreams ?? {}))
|
|
3160
3176
|
s.add(n.StreamId), this.uiStore.setCategory(n.StreamId, n.Info?.Category);
|
|
@@ -3166,15 +3182,15 @@ class Li {
|
|
|
3166
3182
|
}
|
|
3167
3183
|
handleUiUpdate(e) {
|
|
3168
3184
|
const r = rt(e), s = `${r.senderId}_${r.trackId}`;
|
|
3169
|
-
|
|
3170
|
-
const i =
|
|
3185
|
+
Ms(e).then((n) => {
|
|
3186
|
+
const i = Ti(n);
|
|
3171
3187
|
this.notifyUiUpdate(s, i), this.uiStore.apply(s, i), this.sendUiUpdateAck(r.trackId, i.snapshot.version, r.senderId);
|
|
3172
3188
|
}).catch((n) => {
|
|
3173
3189
|
n instanceof U ? R.warn("Failed to parse UI update", n.causeError ?? n) : R.error("Failed to apply UI update", n);
|
|
3174
3190
|
});
|
|
3175
3191
|
}
|
|
3176
3192
|
handleUiStyles(e) {
|
|
3177
|
-
|
|
3193
|
+
ns(e).then((r) => {
|
|
3178
3194
|
if (!r.StyleId) return;
|
|
3179
3195
|
const s = {
|
|
3180
3196
|
styleId: r.StyleId,
|
|
@@ -3187,7 +3203,7 @@ class Li {
|
|
|
3187
3203
|
});
|
|
3188
3204
|
}
|
|
3189
3205
|
handleUiStylesBatch(e) {
|
|
3190
|
-
|
|
3206
|
+
hs(e).then((r) => {
|
|
3191
3207
|
if (r.Styles)
|
|
3192
3208
|
for (const s of r.Styles) {
|
|
3193
3209
|
if (!s.StyleId) continue;
|
|
@@ -3203,7 +3219,7 @@ class Li {
|
|
|
3203
3219
|
});
|
|
3204
3220
|
}
|
|
3205
3221
|
handleUiStylesDelete(e) {
|
|
3206
|
-
|
|
3222
|
+
Rs(e).then((r) => {
|
|
3207
3223
|
if (!(!r.StyleIds || r.StyleIds.length === 0)) {
|
|
3208
3224
|
for (const s of r.StyleIds)
|
|
3209
3225
|
this.uiStyles.delete(s);
|
|
@@ -3236,7 +3252,7 @@ class Li {
|
|
|
3236
3252
|
sendUiUpdateAck(e, r, s) {
|
|
3237
3253
|
if (this.client && !(!Number.isFinite(r) || r < 0))
|
|
3238
3254
|
try {
|
|
3239
|
-
const n = s !== void 0 ? { trackId: e, targetIds: [s] } : { trackId: e }, i =
|
|
3255
|
+
const n = s !== void 0 ? { trackId: e, targetIds: [s] } : { trackId: e }, i = xs({ Version: r }, this.client.sessionId ?? 0, n);
|
|
3240
3256
|
this.client.sendProtocolMessage(i);
|
|
3241
3257
|
} catch (n) {
|
|
3242
3258
|
R.warn("Failed to send UI update ack", n);
|
|
@@ -3244,10 +3260,10 @@ class Li {
|
|
|
3244
3260
|
}
|
|
3245
3261
|
}
|
|
3246
3262
|
export {
|
|
3247
|
-
|
|
3248
|
-
|
|
3249
|
-
|
|
3250
|
-
|
|
3263
|
+
Ai as HandlerCache,
|
|
3264
|
+
mi as IkonUiCore,
|
|
3265
|
+
Si as UiStore,
|
|
3266
|
+
Ni as UiStreamStore,
|
|
3251
3267
|
U as UiUpdateParseError,
|
|
3252
|
-
|
|
3268
|
+
Ti as parseUiUpdate
|
|
3253
3269
|
};
|