@pepperdash/mobile-control-react-app-core 1.22.11-fix-fix-array-merge-with-replace.1 → 1.22.11-socket-connection-issues.2

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.
@@ -29,104 +29,104 @@ const W1 = M2.withTypes(), m = x2.withTypes(), Z1 = (e) => e.appConfig, E2 = M(
29
29
  function _(e) {
30
30
  return m(P2(e));
31
31
  }
32
- const $ = (e) => e.rooms, L2 = (e) => M(
33
- $,
32
+ const A = (e) => e.rooms, L2 = (e) => M(
33
+ A,
34
34
  (t) => t[e] ? t[e].configuration : void 0
35
- ), A2 = M(
36
- $,
35
+ ), $2 = M(
36
+ A,
37
37
  (e) => e
38
- ), $2 = (e) => M(
39
- $,
38
+ ), A2 = (e) => M(
39
+ A,
40
40
  (t) => t[e] ? t[e] : void 0
41
41
  ), B2 = (e) => M(
42
- $,
42
+ A,
43
43
  (t) => t[e] ? t[e].name : void 0
44
44
  ), k2 = (e, t) => M(
45
- $,
45
+ A,
46
46
  (o) => o[e] ? o[e].volumes[t] : void 0
47
47
  ), O2 = (e) => M(
48
- $,
48
+ A,
49
49
  (t) => t[e] ? t[e] : void 0
50
50
  ), W2 = (e) => M(
51
- $,
51
+ A,
52
52
  (t) => {
53
53
  var o, c;
54
54
  return t[e] ? (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.sourceList : void 0;
55
55
  }
56
56
  ), V2 = (e) => M(
57
- $,
57
+ A,
58
58
  (t) => {
59
59
  var o, c;
60
60
  return t[e] ? (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.audioControlPointList : void 0;
61
61
  }
62
62
  ), U2 = (e) => M(
63
- $,
63
+ A,
64
64
  (t) => {
65
65
  var o, c;
66
66
  return t[e] ? (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.destinations : void 0;
67
67
  }
68
68
  ), H2 = (e) => M(
69
- $,
69
+ A,
70
70
  (t) => {
71
71
  var o, c;
72
72
  return t[e] ? (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.destinationList : void 0;
73
73
  }
74
74
  ), F2 = (e) => M(
75
- $,
75
+ A,
76
76
  (t) => {
77
77
  var o, c;
78
78
  return t[e] ? (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.environmentalDevices : void 0;
79
79
  }
80
80
  ), K2 = (e) => M(
81
- $,
81
+ A,
82
82
  (t) => {
83
83
  var o, c, r, l, v, f, h, w;
84
84
  return (c = (o = t[e]) == null ? void 0 : o.configuration) != null && c.destinationList.programAudio ? (v = (l = (r = t[e]) == null ? void 0 : r.configuration) == null ? void 0 : l.destinationList.programAudio) == null ? void 0 : v.sinkKey : ((w = (h = (f = t[e]) == null ? void 0 : f.configuration) == null ? void 0 : h.destinationList.defaultDisplay) == null ? void 0 : w.sinkKey) || "";
85
85
  }
86
86
  ), q2 = (e) => M(
87
- $,
87
+ A,
88
88
  (t) => {
89
89
  var o, c, r;
90
90
  return t[e] ? (r = (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.destinationList.codecContent) == null ? void 0 : r.sinkKey : void 0;
91
91
  }
92
92
  ), G2 = (e) => M(
93
- $,
93
+ A,
94
94
  (t) => {
95
95
  var o;
96
96
  return t[e] ? (o = t[e]) == null ? void 0 : o.isInCall : void 0;
97
97
  }
98
98
  ), Y2 = (e) => M(
99
- $,
99
+ A,
100
100
  (t) => {
101
101
  var o;
102
102
  return t[e] ? (o = t[e]) == null ? void 0 : o.isWarmingUp : void 0;
103
103
  }
104
104
  ), z2 = (e) => M(
105
- $,
105
+ A,
106
106
  (t) => {
107
107
  var o;
108
108
  return t[e] ? (o = t[e]) == null ? void 0 : o.isCoolingDown : void 0;
109
109
  }
110
110
  ), J2 = (e) => M(
111
- $,
111
+ A,
112
112
  (t) => {
113
113
  var o;
114
114
  return t[e] ? (o = t[e]) == null ? void 0 : o.isOn : void 0;
115
115
  }
116
116
  ), X2 = (e) => M(
117
- $,
117
+ A,
118
118
  (t) => {
119
119
  var o;
120
120
  return t[e] ? (o = t[e]) == null ? void 0 : o.advancedSharingActive : void 0;
121
121
  }
122
122
  ), Q2 = (e) => M(
123
- $,
123
+ A,
124
124
  (t) => {
125
125
  var o;
126
126
  return t[e] ? (o = t[e]) == null ? void 0 : o.share : void 0;
127
127
  }
128
128
  ), N2 = (e) => M(
129
- $,
129
+ A,
130
130
  (t) => {
131
131
  var o, c;
132
132
  return t[e] ? (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.zoomRoomControllerKey : void 0;
@@ -152,10 +152,10 @@ function n6(e) {
152
152
  );
153
153
  }
154
154
  function o6() {
155
- return m(A2);
155
+ return m($2);
156
156
  }
157
157
  function S1(e) {
158
- return m($2(e));
158
+ return m(A2(e));
159
159
  }
160
160
  const s6 = S1, c6 = (e) => m(
161
161
  B2(e)
@@ -216,7 +216,7 @@ const s6 = S1, c6 = (e) => m(
216
216
  ), fe = M(N, (e) => e.error), we = M(
217
217
  N,
218
218
  (e) => e.showReconnect
219
- ), me = M(N, (e) => e.theme), pe = (e) => M(N, (t) => t.syncState.includes(e)), _6 = () => m(V1("showShutdownModal")), P6 = () => m(V1("showIncomingCallModal")), L6 = (e) => m(V1(e)), A6 = (e) => m(he(e)), $6 = (e, t) => m(ge(e, t)), Me = () => m(fe), xe = () => m(we), B6 = () => m(me), Ze = (e) => m(pe(e)), Se = {
219
+ ), me = M(N, (e) => e.theme), pe = (e) => M(N, (t) => t.syncState.includes(e)), _6 = () => m(V1("showShutdownModal")), P6 = () => m(V1("showIncomingCallModal")), L6 = (e) => m(V1(e)), $6 = (e) => m(he(e)), A6 = (e, t) => m(ge(e, t)), Me = () => m(fe), xe = () => m(we), B6 = () => m(me), Ze = (e) => m(pe(e)), Se = {
220
220
  showReconnect: !1,
221
221
  error: "",
222
222
  modalVisibility: {
@@ -296,14 +296,7 @@ const s6 = S1, c6 = (e) => m(
296
296
  setDeviceState(e, t) {
297
297
  const o = t.payload.type, c = o.slice(o.lastIndexOf("/") + 1);
298
298
  if (!c) return;
299
- const r = t.payload.content, l = e[c] ?? {}, v = S3.mergeWith(
300
- {},
301
- l,
302
- r,
303
- (f, h) => {
304
- if (Array.isArray(h)) return h;
305
- }
306
- );
299
+ const r = t.payload.content, l = e[c] ?? {}, v = S3.merge(l, r);
307
300
  e[c] = v;
308
301
  },
309
302
  clearDevices() {
@@ -336,9 +329,7 @@ const g3 = {}, k1 = u1({
336
329
  setRoomState(e, t) {
337
330
  const o = t.payload.type, c = o.slice(o.lastIndexOf("/") + 1);
338
331
  if (!c) return;
339
- const r = t.payload.content, l = e[c] ?? {}, v = S3.mergeWith({}, l, r, (f, h) => {
340
- if (Array.isArray(h)) return h;
341
- });
332
+ const r = t.payload.content, l = e[c] ?? {}, v = S3.merge(l, r);
342
333
  e[c] = v;
343
334
  },
344
335
  clearRooms() {
@@ -414,16 +405,16 @@ const g3 = {}, k1 = u1({
414
405
  e.touchpanelKey = t.payload;
415
406
  }
416
407
  }
417
- }), U = D3.actions, _e = D3.reducer, L1 = M3.create(), _3 = "websocket/connect", P3 = "websocket/disconnect", L3 = "websocket/sendMessage", A3 = "websocket/addEventHandler", $3 = "websocket/removeEventHandler", B3 = "websocket/reconnect", k3 = () => ({ type: _3 }), k6 = () => ({ type: P3 }), Pe = (e, t) => ({
408
+ }), U = D3.actions, _e = D3.reducer, L1 = M3.create(), _3 = "websocket/connect", P3 = "websocket/disconnect", L3 = "websocket/sendMessage", $3 = "websocket/addEventHandler", A3 = "websocket/removeEventHandler", B3 = "websocket/reconnect", k3 = () => ({ type: _3 }), k6 = () => ({ type: P3 }), Pe = (e, t) => ({
418
409
  type: L3,
419
410
  payload: { messageType: e, content: t }
420
411
  }), Le = (e, t, o) => ({
421
- type: A3,
422
- payload: { eventType: e, key: t, callback: o }
423
- }), Ae = (e, t) => ({
424
412
  type: $3,
413
+ payload: { eventType: e, key: t, callback: o }
414
+ }), $e = (e, t) => ({
415
+ type: A3,
425
416
  payload: { eventType: e, key: t }
426
- }), $e = () => ({ type: B3 }), Be = () => {
417
+ }), Ae = () => ({ type: B3 }), Be = () => {
427
418
  const e = {
428
419
  client: null,
429
420
  token: null,
@@ -432,36 +423,36 @@ const g3 = {}, k1 = u1({
432
423
  eventHandlers: {}
433
424
  }, t = async (a) => {
434
425
  try {
435
- const Z = location.pathname.split("/").filter((b) => b.length > 0);
436
- Z.length >= 5 ? Z.length = 5 : Z.length = 2;
437
- const C = `/${Z.join("/")}`, S = await L1.get(
426
+ const S = location.pathname.split("/").filter((b) => b.length > 0);
427
+ S.length >= 5 ? S.length = 5 : S.length = 2;
428
+ const C = `/${S.join("/")}`, Z = await L1.get(
438
429
  "/_local-config/_config.local.json",
439
430
  { baseURL: C }
440
431
  );
441
- if (S.status === 200 && S.data) {
442
- const b = S.data.apiPath;
443
- a(T3.setAppConfig(S.data));
432
+ if (Z.status === 200 && Z.data) {
433
+ const b = Z.data.apiPath;
434
+ a(T3.setAppConfig(Z.data));
444
435
  const x = await L1.get(
445
436
  `${b}/version`
446
437
  );
447
438
  x.status === 200 && x.data && a(U.setRuntimeConfig(x.data));
448
439
  }
449
- } catch (Z) {
450
- console.error("Error getting config", Z);
440
+ } catch (S) {
441
+ console.error("Error getting config", S);
451
442
  }
452
443
  return !0;
453
- }, o = async (a, Z, C) => {
444
+ }, o = async (a, S, C) => {
454
445
  try {
455
- const S = await L1.get(
456
- `${a}/ui/joinroom?token=${Z}`
446
+ const Z = await L1.get(
447
+ `${a}/ui/joinroom?token=${S}`
457
448
  );
458
- return S.status === 200 && S.data ? (C(U.setRoomData(S.data)), S.data) : null;
459
- } catch (S) {
460
- return console.log(S), S instanceof p2 && S.response && S.response.status === 498 ? (console.error("Invalid token. Unable to join room"), C(
449
+ return Z.status === 200 && Z.data ? (C(U.setRoomData(Z.data)), Z.data) : null;
450
+ } catch (Z) {
451
+ return console.log(Z), Z instanceof p2 && Z.response && Z.response.status === 498 ? (console.error("Invalid token. Unable to join room"), C(
461
452
  O.setErrorMessage(
462
- `Token ${Z} is invalid. Unable to join room`
453
+ `Token ${S} is invalid. Unable to join room`
463
454
  )
464
- ), null) : (console.error("Error getting room data", S), S instanceof Error ? C(O.setErrorMessage(S.message)) : C(O.setErrorMessage("Error getting room data")), null);
455
+ ), null) : (console.error("Error getting room data", Z), Z instanceof Error ? C(O.setErrorMessage(Z.message)) : C(O.setErrorMessage("Error getting room data")), null);
465
456
  }
466
457
  }, c = (a) => {
467
458
  e.reconnectTimer && (clearTimeout(e.reconnectTimer), e.reconnectTimer = null), console.log("WebSocket middleware: Starting reconnection loop..."), e.reconnectTimer = setTimeout(() => {
@@ -471,8 +462,8 @@ const g3 = {}, k1 = u1({
471
462
  e.reconnectTimer && (console.log("WebSocket middleware: Stopping reconnection loop"), clearTimeout(e.reconnectTimer), e.reconnectTimer = null);
472
463
  }, l = (a) => {
473
464
  a(O.setShowReconnect(!0)), a(U.setWebsocketIsConnected(!1)), a(f1.clearDevices()), a(w1.clearRooms()), a(O.clearAllModals()), a(O.clearSyncState());
474
- }, v = (a, Z) => {
475
- const C = a(), S = Z ?? C.runtimeConfig.roomData.roomKey, { clientId: b } = C.runtimeConfig.roomData, x = C.runtimeConfig.websocket.isConnected;
465
+ }, v = (a, S) => {
466
+ const C = a(), Z = S ?? C.runtimeConfig.roomData.roomKey, { clientId: b } = C.runtimeConfig.roomData, x = C.runtimeConfig.websocket.isConnected;
476
467
  if (!Z || !x || !b) {
477
468
  console.log("WebSocket middleware: Cannot request room status", {
478
469
  hasRoomKey: !!Z,
@@ -481,21 +472,24 @@ const g3 = {}, k1 = u1({
481
472
  });
482
473
  return;
483
474
  }
484
- console.log("WebSocket middleware: Requesting status from room:", Z), e.client && x && e.client.send(
475
+ console.log(
476
+ "WebSocket middleware: Requesting status from room:",
477
+ Z
478
+ ), e.client && x && e.client.send(
485
479
  JSON.stringify({
486
- type: `/room/${S}/status`,
480
+ type: `/room/${Z}/status`,
487
481
  clientId: b,
488
482
  content: null
489
483
  })
490
484
  );
491
- }, f = async (a, Z) => {
485
+ }, f = async (a, S) => {
492
486
  console.log("WebSocket middleware: Attempting to connect...");
493
- const C = Z(), { apiPath: S } = C.appConfig.config, { serverIsRunningOnProcessorHardware: b } = C.runtimeConfig;
494
- if (!S || !e.token) {
487
+ const C = S(), { apiPath: Z } = C.appConfig.config, { serverIsRunningOnProcessorHardware: b } = C.runtimeConfig;
488
+ if (!Z || !e.token) {
495
489
  console.log(
496
490
  "WebSocket middleware: Cannot connect - missing requirements",
497
491
  {
498
- hasApiPath: !!S,
492
+ hasApiPath: !!Z,
499
493
  hasToken: !!e.token
500
494
  }
501
495
  );
@@ -513,7 +507,7 @@ const g3 = {}, k1 = u1({
513
507
  }
514
508
  e.waitingToReconnect = !0;
515
509
  try {
516
- const x = await o(S, e.token, a);
510
+ const x = await o(Z, e.token, a);
517
511
  if (!x) {
518
512
  console.log(
519
513
  "WebSocket middleware: Failed to get room data, will retry..."
@@ -521,7 +515,7 @@ const g3 = {}, k1 = u1({
521
515
  return;
522
516
  }
523
517
  console.log("WebSocket middleware: Connecting to websocket");
524
- const C1 = `${S.replace("http", "ws")}/ui/join/${e.token}?clientId=${x.clientId}`, K = new WebSocket(C1);
518
+ const C1 = `${Z.replace("http", "ws")}/ui/join/${e.token}?clientId=${x.clientId}`, K = new WebSocket(C1);
525
519
  e.client = K, K.onopen = (B) => {
526
520
  console.log("WebSocket middleware: Connected", B.type, B.target), e.waitingToReconnect = !1, r(), setTimeout(() => {
527
521
  e.client === K && K.readyState === WebSocket.OPEN && a(U.setWebsocketIsConnected(!0));
@@ -557,7 +551,7 @@ const g3 = {}, k1 = u1({
557
551
  return;
558
552
  }
559
553
  if (B.code === 4001)
560
- if (!!((D = Z().runtimeConfig) != null && D.touchpanelKey))
554
+ if (!!((D = S().runtimeConfig) != null && D.touchpanelKey))
561
555
  console.log(
562
556
  "WebSocket middleware: Code 4001 received with touchpanel key present, will auto-reconnect"
563
557
  );
@@ -660,27 +654,27 @@ const g3 = {}, k1 = u1({
660
654
  }
661
655
  }, h = () => {
662
656
  e.client && (console.log("WebSocket middleware: Disconnecting"), r(), e.client.close(4100, "Client requested disconnect"), e.client = null);
663
- }, w = (a, Z, C) => {
664
- const S = C(), b = S.runtimeConfig.websocket.isConnected, x = S.runtimeConfig.roomData.clientId;
657
+ }, w = (a, S, C) => {
658
+ const Z = C(), b = Z.runtimeConfig.websocket.isConnected, x = Z.runtimeConfig.roomData.clientId;
665
659
  e.client && b ? e.client.send(
666
- JSON.stringify({ type: a, clientId: x, content: Z })
660
+ JSON.stringify({ type: a, clientId: x, content: S })
667
661
  ) : console.warn("WebSocket middleware: Cannot send message - not connected");
668
- }, d = (a, Z, C) => {
669
- e.eventHandlers[a] || (e.eventHandlers[a] = {}), e.eventHandlers[a][Z] = C, console.log("WebSocket middleware: Event handler added", a, Z);
670
- }, P = (a, Z) => {
671
- e.eventHandlers[a] && (delete e.eventHandlers[a][Z], console.log(
662
+ }, d = (a, S, C) => {
663
+ e.eventHandlers[a] || (e.eventHandlers[a] = {}), e.eventHandlers[a][S] = C, console.log("WebSocket middleware: Event handler added", a, S);
664
+ }, P = (a, S) => {
665
+ e.eventHandlers[a] && (delete e.eventHandlers[a][S], console.log(
672
666
  "WebSocket middleware: Event handler removed",
673
667
  a,
674
- Z
668
+ S
675
669
  ));
676
670
  }, H = (a) => {
677
- const Z = a(), { gatewayAppPath: C } = Z.appConfig.config, S = Z.runtimeConfig.roomData.roomKey, b = Z.runtimeConfig.roomData.systemUuid, x = Z.runtimeConfig.roomData.userCode, W = `${C}?uuid=${b}&roomKey=${S}`;
671
+ const S = a(), { gatewayAppPath: C } = S.appConfig.config, Z = S.runtimeConfig.roomData.roomKey, b = S.runtimeConfig.roomData.systemUuid, x = S.runtimeConfig.roomData.userCode, W = `${C}?uuid=${b}&roomKey=${Z}`;
678
672
  window.location.href = x ? `${W}&Code=${x}` : W;
679
673
  };
680
- return (a) => (Z) => (C) => {
681
- const S = Z(C);
674
+ return (a) => (S) => (C) => {
675
+ const Z = S(C);
682
676
  if (!C || typeof C != "object" || !("type" in C))
683
- return S;
677
+ return Z;
684
678
  const b = C;
685
679
  return (async () => {
686
680
  switch (b.type) {
@@ -699,14 +693,14 @@ const g3 = {}, k1 = u1({
699
693
  a.getState
700
694
  );
701
695
  break;
702
- case A3:
696
+ case $3:
703
697
  d(
704
698
  b.payload.eventType,
705
699
  b.payload.key,
706
700
  b.payload.callback
707
701
  );
708
702
  break;
709
- case $3:
703
+ case A3:
710
704
  P(
711
705
  b.payload.eventType,
712
706
  b.payload.key
@@ -737,7 +731,7 @@ const g3 = {}, k1 = u1({
737
731
  }
738
732
  })().catch((x) => {
739
733
  console.error("WebSocket middleware: Error handling action", x);
740
- }), S;
734
+ }), Z;
741
735
  };
742
736
  }, ke = S2({
743
737
  appConfig: be,
@@ -815,11 +809,11 @@ var i1 = {};
815
809
  var m3;
816
810
  function Ve() {
817
811
  return m3 || (m3 = 1, process.env.NODE_ENV !== "production" && function() {
818
- var e = x3, t = Symbol.for("react.element"), o = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), v = Symbol.for("react.provider"), f = Symbol.for("react.context"), h = Symbol.for("react.forward_ref"), w = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), P = Symbol.for("react.memo"), H = Symbol.for("react.lazy"), a = Symbol.for("react.offscreen"), Z = Symbol.iterator, C = "@@iterator";
819
- function S(s) {
812
+ var e = x3, t = Symbol.for("react.element"), o = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), v = Symbol.for("react.provider"), f = Symbol.for("react.context"), h = Symbol.for("react.forward_ref"), w = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), P = Symbol.for("react.memo"), H = Symbol.for("react.lazy"), a = Symbol.for("react.offscreen"), S = Symbol.iterator, C = "@@iterator";
813
+ function Z(s) {
820
814
  if (s === null || typeof s != "object")
821
815
  return null;
822
- var i = Z && s[Z] || s[C];
816
+ var i = S && s[S] || s[C];
823
817
  return typeof i == "function" ? i : null;
824
818
  }
825
819
  var b = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
@@ -1035,18 +1029,18 @@ function Ve() {
1035
1029
  if (V && p && typeof V.stack == "string") {
1036
1030
  for (var j = V.stack.split(`
1037
1031
  `), k = p.stack.split(`
1038
- `), L = j.length - 1, A = k.length - 1; L >= 1 && A >= 0 && j[L] !== k[A]; )
1039
- A--;
1040
- for (; L >= 1 && A >= 0; L--, A--)
1041
- if (j[L] !== k[A]) {
1042
- if (L !== 1 || A !== 1)
1032
+ `), L = j.length - 1, $ = k.length - 1; L >= 1 && $ >= 0 && j[L] !== k[$]; )
1033
+ $--;
1034
+ for (; L >= 1 && $ >= 0; L--, $--)
1035
+ if (j[L] !== k[$]) {
1036
+ if (L !== 1 || $ !== 1)
1043
1037
  do
1044
- if (L--, A--, A < 0 || j[L] !== k[A]) {
1038
+ if (L--, $--, $ < 0 || j[L] !== k[$]) {
1045
1039
  var F = `
1046
1040
  ` + j[L].replace(" at new ", " at ");
1047
1041
  return s.displayName && F.includes("<anonymous>") && (F = F.replace("<anonymous>", s.displayName)), typeof s == "function" && v1.set(s, F), F;
1048
1042
  }
1049
- while (L >= 1 && A >= 0);
1043
+ while (L >= 1 && $ >= 0);
1050
1044
  break;
1051
1045
  }
1052
1046
  }
@@ -1231,8 +1225,8 @@ function Ve() {
1231
1225
  y[T] === void 0 && (y[T] = L[T]);
1232
1226
  }
1233
1227
  if (j || k) {
1234
- var A = typeof s == "function" ? s.displayName || s.name || "Unknown" : s;
1235
- j && n2(y, A), k && o2(y, A);
1228
+ var $ = typeof s == "function" ? s.displayName || s.name || "Unknown" : s;
1229
+ j && n2(y, $), k && o2(y, $);
1236
1230
  }
1237
1231
  return s2(s, j, k, E, p, n3.current, y);
1238
1232
  }
@@ -1303,7 +1297,7 @@ Check the top-level render call using <` + u + ">.");
1303
1297
  else if (_1(s))
1304
1298
  s._store && (s._store.validated = !0);
1305
1299
  else if (s) {
1306
- var E = S(s);
1300
+ var E = Z(s);
1307
1301
  if (typeof E == "function" && E !== s.entries)
1308
1302
  for (var T = E.call(s), y; !(y = T.next()).done; )
1309
1303
  _1(y.value) && i3(y.value, i);
@@ -1359,9 +1353,9 @@ Check the top-level render call using <` + u + ">.");
1359
1353
  var L;
1360
1354
  s === null ? L = "null" : E1(s) ? L = "array" : s !== void 0 && s.$$typeof === t ? (L = "<" + (J(s.type) || "Unknown") + " />", j = " Did you accidentally export a JSX literal instead of a component?") : L = typeof s, x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", L, j);
1361
1355
  }
1362
- var A = c2(s, i, u, E, T);
1363
- if (A == null)
1364
- return A;
1356
+ var $ = c2(s, i, u, E, T);
1357
+ if ($ == null)
1358
+ return $;
1365
1359
  if (y) {
1366
1360
  var F = i.children;
1367
1361
  if (F !== void 0)
@@ -1389,7 +1383,7 @@ React keys must be passed directly to JSX without using spread:
1389
1383
  <%s key={someKey} {...props} />`, P1, Q, g2, Q), u3[Q + P1] = !0;
1390
1384
  }
1391
1385
  }
1392
- return s === c ? a2(A) : i2(A), A;
1386
+ return s === c ? a2($) : i2($), $;
1393
1387
  }
1394
1388
  }
1395
1389
  function u2(s, i, u) {
@@ -1446,11 +1440,11 @@ const He = "_mwfit_ppa3l_1", Fe = {
1446
1440
  [t]
1447
1441
  ), v = r1(
1448
1442
  (h, w) => {
1449
- t(Ae(h, w));
1443
+ t($e(h, w));
1450
1444
  },
1451
1445
  [t]
1452
1446
  ), f = r1(() => {
1453
- t($e());
1447
+ t(Ae());
1454
1448
  }, [t]);
1455
1449
  return /* @__PURE__ */ n.jsx(
1456
1450
  O3.Provider,
@@ -2013,7 +2007,7 @@ const Pt = () => {
2013
2007
  ),
2014
2008
  e && /* @__PURE__ */ n.jsx("p", { children: r })
2015
2009
  ] });
2016
- }, Je = "_iconbtn_16qss_1", Xe = "_iconbtnvert_16qss_7", Qe = "_iconsm_16qss_18", A1 = {
2010
+ }, Je = "_iconbtn_16qss_1", Xe = "_iconbtnvert_16qss_7", Qe = "_iconsm_16qss_18", $1 = {
2017
2011
  iconbtn: Je,
2018
2012
  iconbtnvert: Xe,
2019
2013
  iconsm: Qe
@@ -2032,29 +2026,29 @@ const Pt = () => {
2032
2026
  onPointerLeave: P,
2033
2027
  ...H
2034
2028
  }) => {
2035
- const [a, Z] = Y(!1), C = !v && f ? h : "", S = !v && (a || f);
2029
+ const [a, S] = Y(!1), C = !v && f ? h : "", Z = !v && (a || f);
2036
2030
  return /* @__PURE__ */ n.jsxs(
2037
2031
  "button",
2038
2032
  {
2039
2033
  type: "button",
2040
- className: `${A1.iconbtn} ${o ? A1.iconbtnvert : ""} ${c} ${C}`,
2034
+ className: `${$1.iconbtn} ${o ? $1.iconbtnvert : ""} ${c} ${C}`,
2041
2035
  ...H,
2042
2036
  disabled: v,
2043
2037
  onPointerDown: (b) => {
2044
- Z(!0), w == null || w(b);
2038
+ S(!0), w == null || w(b);
2045
2039
  },
2046
2040
  onPointerUp: (b) => {
2047
- Z(!1), d == null || d(b);
2041
+ S(!1), d == null || d(b);
2048
2042
  },
2049
2043
  onPointerLeave: (b) => {
2050
- Z(!1), P == null || P(b);
2044
+ S(!1), P == null || P(b);
2051
2045
  },
2052
2046
  children: [
2053
2047
  e && /* @__PURE__ */ n.jsx(
2054
2048
  e,
2055
2049
  {
2056
- className: `${r || A1.iconsm}`,
2057
- active: S,
2050
+ className: `${r || $1.iconsm}`,
2051
+ active: Z,
2058
2052
  disabled: v
2059
2053
  }
2060
2054
  ),
@@ -3709,7 +3703,7 @@ const Pt = () => {
3709
3703
  X: E8,
3710
3704
  Xbox: T8
3711
3705
  };
3712
- function At({
3706
+ function $t({
3713
3707
  name: e,
3714
3708
  iconsDictionary: t = _8,
3715
3709
  ...o
@@ -3717,13 +3711,13 @@ function At({
3717
3711
  const c = t[e] ?? null;
3718
3712
  return c || console.error(`Icon ${e} not found in dictionary`), /* @__PURE__ */ n.jsx(Ne, { multiIcon: c, ...o });
3719
3713
  }
3720
- const P8 = "_grid_1cmpp_1", L8 = "_header_1cmpp_11", A8 = "_content_1cmpp_17", $8 = "_footer_1cmpp_23", B8 = "_volume_1cmpp_29", a1 = {
3714
+ const P8 = "_grid_1cmpp_1", L8 = "_header_1cmpp_11", $8 = "_content_1cmpp_17", A8 = "_footer_1cmpp_23", B8 = "_volume_1cmpp_29", a1 = {
3721
3715
  grid: P8,
3722
3716
  header: L8,
3723
- content: A8,
3724
- footer: $8,
3717
+ content: $8,
3718
+ footer: A8,
3725
3719
  volume: B8
3726
- }, $t = ({ header: e, footer: t, content: o, volume: c, showVolume: r }) => /* @__PURE__ */ n.jsxs("div", { className: a1.grid, children: [
3720
+ }, At = ({ header: e, footer: t, content: o, volume: c, showVolume: r }) => /* @__PURE__ */ n.jsxs("div", { className: a1.grid, children: [
3727
3721
  /* @__PURE__ */ n.jsx("div", { className: a1.header, children: e }),
3728
3722
  /* @__PURE__ */ n.jsx("div", { className: a1.content, children: o }),
3729
3723
  r && /* @__PURE__ */ n.jsx("div", { className: a1.volume, children: c }),
@@ -3736,13 +3730,13 @@ const P8 = "_grid_1cmpp_1", L8 = "_header_1cmpp_11", A8 = "_content_1cmpp_17", $
3736
3730
  /* @__PURE__ */ n.jsx("div", { className: p1.header, children: t }),
3737
3731
  c && /* @__PURE__ */ n.jsx("div", { className: p1.leftNav, children: c }),
3738
3732
  /* @__PURE__ */ n.jsx("div", { className: p1.content, children: o })
3739
- ] }), V8 = "_grid_1uwfo_1", U8 = "_header_1uwfo_11", H8 = "_content_1uwfo_17", $1 = {
3733
+ ] }), V8 = "_grid_1uwfo_1", U8 = "_header_1uwfo_11", H8 = "_content_1uwfo_17", A1 = {
3740
3734
  grid: V8,
3741
3735
  header: U8,
3742
3736
  content: H8
3743
- }, kt = ({ className: e, header: t, content: o }) => /* @__PURE__ */ n.jsxs("div", { className: `${e} ${$1.grid}`, children: [
3744
- /* @__PURE__ */ n.jsx("div", { className: $1.header, children: t }),
3745
- /* @__PURE__ */ n.jsx("div", { className: $1.content, children: o })
3737
+ }, kt = ({ className: e, header: t, content: o }) => /* @__PURE__ */ n.jsxs("div", { className: `${e} ${A1.grid}`, children: [
3738
+ /* @__PURE__ */ n.jsx("div", { className: A1.header, children: t }),
3739
+ /* @__PURE__ */ n.jsx("div", { className: A1.content, children: o })
3746
3740
  ] });
3747
3741
  class Ot {
3748
3742
  constructor() {
@@ -3801,19 +3795,19 @@ export {
3801
3795
  R8 as IconMultiWireless,
3802
3796
  E8 as IconMultiX,
3803
3797
  T8 as IconMultiXbox,
3804
- $t as MainLayout,
3798
+ At as MainLayout,
3805
3799
  Vt as MessageHandler,
3806
3800
  W6 as MobileControlProvider,
3807
3801
  I as MultiStateIconContainer,
3808
- At as NamedIconButton,
3802
+ $t as NamedIconButton,
3809
3803
  Ot as ShareState,
3810
3804
  Bt as TechLayout,
3811
3805
  kt as TechPinLayout,
3812
- A3 as WS_ADD_EVENT_HANDLER,
3806
+ $3 as WS_ADD_EVENT_HANDLER,
3813
3807
  _3 as WS_CONNECT,
3814
3808
  P3 as WS_DISCONNECT,
3815
3809
  B3 as WS_RECONNECT,
3816
- $3 as WS_REMOVE_EVENT_HANDLER,
3810
+ A3 as WS_REMOVE_EVENT_HANDLER,
3817
3811
  L3 as WS_SEND_MESSAGE,
3818
3812
  O3 as WebsocketContext,
3819
3813
  T3 as appConfigActions,
@@ -3842,7 +3836,7 @@ export {
3842
3836
  _2 as selectPartnerMetadata,
3843
3837
  X2 as selectRoomAdvancedSharingActive,
3844
3838
  V2 as selectRoomAudioControlPointList,
3845
- $2 as selectRoomByKey,
3839
+ A2 as selectRoomByKey,
3846
3840
  q2 as selectRoomCodecContentDestinationKey,
3847
3841
  L2 as selectRoomConfiguration,
3848
3842
  H2 as selectRoomDestinationList,
@@ -3860,7 +3854,7 @@ export {
3860
3854
  Q2 as selectRoomShareState,
3861
3855
  W2 as selectRoomSourceList,
3862
3856
  k2 as selectRoomVolume,
3863
- A2 as selectRooms,
3857
+ $2 as selectRooms,
3864
3858
  ae as selectRuntimeInfo,
3865
3859
  ie as selectServerIsRunningOnProcessorHardware,
3866
3860
  ge as selectShowPopoverById,
@@ -3892,7 +3886,7 @@ export {
3892
3886
  bt as useGetAllDeviceStateFromRoomConfiguration,
3893
3887
  t6 as useGetAllDevices,
3894
3888
  o6 as useGetAllRooms,
3895
- A6 as useGetCurrentPopoverIdForGroup,
3889
+ $6 as useGetCurrentPopoverIdForGroup,
3896
3890
  _ as useGetDevice,
3897
3891
  V6 as useGetIBasicVolume,
3898
3892
  U6 as useGetIBasicVolumeWithFeedback,
@@ -3966,7 +3960,7 @@ export {
3966
3960
  b6 as useServerIsRunningOnProcessorHardware,
3967
3961
  P6 as useShowIncomingCallModal,
3968
3962
  L6 as useShowModal,
3969
- $6 as useShowPopoverById,
3963
+ A6 as useShowPopoverById,
3970
3964
  xe as useShowReconnect,
3971
3965
  _6 as useShowShutdownModal,
3972
3966
  Tt as useStateIsSynced,
@@ -3982,7 +3976,7 @@ export {
3982
3976
  Le as wsAddEventHandler,
3983
3977
  k3 as wsConnect,
3984
3978
  k6 as wsDisconnect,
3985
- $e as wsReconnect,
3986
- Ae as wsRemoveEventHandler,
3979
+ Ae as wsReconnect,
3980
+ $e as wsRemoveEventHandler,
3987
3981
  Pe as wsSendMessage
3988
3982
  };