@pepperdash/mobile-control-react-app-core 1.22.3 → 1.22.4

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.
@@ -1,13 +1,13 @@
1
1
  var h2 = Object.defineProperty;
2
2
  var g2 = (e, t, o) => t in e ? h2(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o;
3
- var K = (e, t, o) => g2(e, typeof t != "symbol" ? t + "" : t, o);
4
- import p3, { AxiosError as f2 } from "axios";
5
- import { useDispatch as w2, useSelector as m2, Provider as p2 } from "react-redux";
6
- import { createSelector as M, createSlice as i1, combineReducers as M2, configureStore as x2 } from "@reduxjs/toolkit";
7
- import M3, { createContext as Z2, useEffect as p1, useCallback as s1, useContext as S2, useRef as $1, useState as G, useLayoutEffect as x3 } from "react";
3
+ var q = (e, t, o) => g2(e, typeof t != "symbol" ? t + "" : t, o);
4
+ import m3, { AxiosError as f2 } from "axios";
5
+ import { useDispatch as w2, useSelector as p2, Provider as m2 } from "react-redux";
6
+ import { createSelector as M, createSlice as a1, combineReducers as M2, configureStore as x2 } from "@reduxjs/toolkit";
7
+ import M3, { createContext as Z2, useEffect as m1, useCallback as c1, useContext as S2, useRef as $1, useState as Y, useLayoutEffect as x3 } from "react";
8
8
  import { useNavigate as j2, useRouteError as C2, isRouteErrorResponse as b2 } from "react-router-dom";
9
9
  import * as Z3 from "lodash";
10
- const k1 = w2.withTypes(), w = m2.withTypes(), M1 = (e) => e.appConfig, y2 = M(
10
+ const O1 = w2.withTypes(), w = p2.withTypes(), M1 = (e) => e.appConfig, y2 = M(
11
11
  M1,
12
12
  (e) => e.config
13
13
  ), I2 = M(
@@ -26,7 +26,7 @@ const k1 = w2.withTypes(), w = m2.withTypes(), M1 = (e) => e.appConfig, y2 = M(
26
26
  S3,
27
27
  (t) => t[e] ? t[e] : void 0
28
28
  ), Q8 = () => w(j3);
29
- function D(e) {
29
+ function _(e) {
30
30
  return w(T2(e));
31
31
  }
32
32
  const A = (e) => e.rooms, D2 = (e) => M(
@@ -53,13 +53,13 @@ const A = (e) => e.rooms, D2 = (e) => M(
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
- ), O2 = (e) => M(
56
+ ), k2 = (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
- ), k2 = (e) => M(
62
+ ), O2 = (e) => M(
63
63
  A,
64
64
  (t) => {
65
65
  var o, c;
@@ -80,8 +80,8 @@ const A = (e) => e.rooms, D2 = (e) => M(
80
80
  ), U2 = (e) => M(
81
81
  A,
82
82
  (t) => {
83
- var o, c, r, i, v, u, h, m;
84
- return (c = (o = t[e]) == null ? void 0 : o.configuration) != null && c.destinationList.programAudio ? (v = (i = (r = t[e]) == null ? void 0 : r.configuration) == null ? void 0 : i.destinationList.programAudio) == null ? void 0 : v.sinkKey : ((m = (h = (u = t[e]) == null ? void 0 : u.configuration) == null ? void 0 : h.destinationList.defaultDisplay) == null ? void 0 : m.sinkKey) || "";
83
+ var o, c, r, i, v, u, h, p;
84
+ return (c = (o = t[e]) == null ? void 0 : o.configuration) != null && c.destinationList.programAudio ? (v = (i = (r = t[e]) == null ? void 0 : r.configuration) == null ? void 0 : i.destinationList.programAudio) == null ? void 0 : v.sinkKey : ((p = (h = (u = t[e]) == null ? void 0 : u.configuration) == null ? void 0 : h.destinationList.defaultDisplay) == null ? void 0 : p.sinkKey) || "";
85
85
  }
86
86
  ), H2 = (e) => M(
87
87
  A,
@@ -161,40 +161,40 @@ const t6 = x1, n6 = (e) => w(
161
161
  L2(e)
162
162
  ), Q2 = (e, t) => w(
163
163
  $2(e, t)
164
- ), N2 = (e) => w(A2(e)) || void 0, o6 = (e) => w(B2(e)), s6 = (e) => w(O2(e)), c6 = (e) => w(k2(e)), r6 = (e) => w(W2(e)), l6 = (e) => w(V2(e)), i6 = (e) => w(U2(e)), a6 = (e) => w(H2(e)), u6 = (e) => w(F2(e)), d6 = (e) => w(K2(e)), v6 = (e) => w(q2(e)), h6 = (e) => w(G2(e)), g6 = (e) => w(Y2(e)), f6 = (e) => w(z2(e)), w6 = (e) => w((t) => X2(t, e)), m6 = (e) => w(J2(e)), q = (e) => e.runtimeConfig, ee = M(
165
- q,
164
+ ), N2 = (e) => w(A2(e)) || void 0, o6 = (e) => w(B2(e)), s6 = (e) => w(k2(e)), c6 = (e) => w(O2(e)), r6 = (e) => w(W2(e)), l6 = (e) => w(V2(e)), i6 = (e) => w(U2(e)), a6 = (e) => w(H2(e)), u6 = (e) => w(F2(e)), d6 = (e) => w(K2(e)), v6 = (e) => w(q2(e)), h6 = (e) => w(G2(e)), g6 = (e) => w(Y2(e)), f6 = (e) => w(z2(e)), w6 = (e) => w((t) => X2(t, e)), p6 = (e) => w(J2(e)), G = (e) => e.runtimeConfig, ee = M(
165
+ G,
166
166
  (e) => e.websocket.isConnected
167
167
  ), te = M(
168
- q,
168
+ G,
169
169
  (e) => e.currentRoomKey
170
170
  ), ne = M(
171
- q,
171
+ G,
172
172
  (e) => e.roomData.clientId
173
173
  ), oe = M(
174
- q,
174
+ G,
175
175
  (e) => e.roomData.systemUuid
176
176
  ), se = M(
177
- q,
177
+ G,
178
178
  (e) => e.roomData.userCode
179
179
  ), ce = M(
180
- q,
180
+ G,
181
181
  (e) => e.serverIsRunningOnProcessorHardware
182
182
  ), re = M(
183
- q,
183
+ G,
184
184
  (e) => {
185
185
  var t;
186
186
  return (t = e.roomData.config) == null ? void 0 : t.runtimeInfo;
187
187
  }
188
188
  ), le = M(
189
- q,
189
+ G,
190
190
  (e) => e.touchpanelKey
191
191
  ), ie = M(
192
- q,
192
+ G,
193
193
  (e) => e.touchpanelKey !== ""
194
194
  ), ae = M(
195
- q,
195
+ G,
196
196
  (e) => e.roomData.deviceInterfaceSupport
197
- ), C3 = () => w(ee), p6 = () => w(te), M6 = () => w(ne), x6 = () => w(oe), Z6 = () => w(se), S6 = () => w(ce), j6 = () => w(re), C6 = () => w(le), b6 = () => w(ie), y6 = () => w(ae), N = (e) => e.ui, W1 = (e) => M(N, (t) => t.modalVisibility[e]), ue = (e) => M(N, (t) => {
197
+ ), C3 = () => w(ee), m6 = () => w(te), M6 = () => w(ne), x6 = () => w(oe), Z6 = () => w(se), S6 = () => w(ce), j6 = () => w(re), C6 = () => w(le), b6 = () => w(ie), y6 = () => w(ae), N = (e) => e.ui, W1 = (e) => M(N, (t) => t.modalVisibility[e]), ue = (e) => M(N, (t) => {
198
198
  const o = t.popoverVisibility[e];
199
199
  if (o)
200
200
  return Object.keys(o).find((c) => o[c]);
@@ -207,7 +207,7 @@ const t6 = x1, n6 = (e) => w(
207
207
  ), ve = M(N, (e) => e.error), he = M(
208
208
  N,
209
209
  (e) => e.showReconnect
210
- ), ge = M(N, (e) => e.theme), fe = (e) => M(N, (t) => t.syncState.includes(e)), I6 = () => w(W1("showShutdownModal")), R6 = () => w(W1("showIncomingCallModal")), E6 = (e) => w(W1(e)), T6 = (e) => w(ue(e)), D6 = (e, t) => w(de(e, t)), we = () => w(ve), me = () => w(he), _6 = () => w(ge), pe = (e) => w(fe(e)), Me = {
210
+ ), ge = M(N, (e) => e.theme), fe = (e) => M(N, (t) => t.syncState.includes(e)), I6 = () => w(W1("showShutdownModal")), R6 = () => w(W1("showIncomingCallModal")), E6 = (e) => w(W1(e)), T6 = (e) => w(ue(e)), D6 = (e, t) => w(de(e, t)), we = () => w(ve), pe = () => w(he), _6 = () => w(ge), me = (e) => w(fe(e)), Me = {
211
211
  showReconnect: !1,
212
212
  error: "",
213
213
  modalVisibility: {
@@ -216,7 +216,7 @@ const t6 = x1, n6 = (e) => w(
216
216
  },
217
217
  popoverVisibility: {},
218
218
  syncState: []
219
- }, b3 = i1({
219
+ }, b3 = a1({
220
220
  name: "ui",
221
221
  initialState: Me,
222
222
  reducers: {
@@ -262,7 +262,7 @@ const t6 = x1, n6 = (e) => w(
262
262
  e.syncState = [];
263
263
  }
264
264
  }
265
- }), k = b3.actions, xe = b3.reducer, Ze = {
265
+ }), O = b3.actions, xe = b3.reducer, Ze = {
266
266
  config: {
267
267
  enableDev: !1,
268
268
  apiPath: "",
@@ -272,7 +272,7 @@ const t6 = x1, n6 = (e) => w(
272
272
  loginMode: "",
273
273
  modes: {}
274
274
  }
275
- }, y3 = i1({
275
+ }, y3 = a1({
276
276
  name: "appConfig",
277
277
  initialState: Ze,
278
278
  reducers: {
@@ -280,7 +280,7 @@ const t6 = x1, n6 = (e) => w(
280
280
  e.config = t.payload;
281
281
  }
282
282
  }
283
- }), I3 = y3.actions, Se = y3.reducer, d3 = {}, A1 = i1({
283
+ }), I3 = y3.actions, Se = y3.reducer, d3 = {}, A1 = a1({
284
284
  name: "devices",
285
285
  initialState: d3,
286
286
  reducers: {
@@ -300,10 +300,10 @@ const t6 = x1, n6 = (e) => w(
300
300
  }, je = A1.reducer;
301
301
  class Ce {
302
302
  constructor() {
303
- K(this, "uuid", "current-uuid");
304
- K(this, "roomKey", "current-room-key");
305
- K(this, "code", "current-code");
306
- K(this, "expiry", "current-uuid-expires");
303
+ q(this, "uuid", "current-uuid");
304
+ q(this, "roomKey", "current-room-key");
305
+ q(this, "code", "current-code");
306
+ q(this, "expiry", "current-uuid-expires");
307
307
  }
308
308
  }
309
309
  const v3 = new Ce();
@@ -313,7 +313,7 @@ function be(e) {
313
313
  function ye(e, t) {
314
314
  sessionStorage.setItem(e, t);
315
315
  }
316
- const h3 = {}, B1 = i1({
316
+ const h3 = {}, B1 = a1({
317
317
  name: "rooms",
318
318
  initialState: h3,
319
319
  reducers: {
@@ -361,7 +361,7 @@ const h3 = {}, B1 = i1({
361
361
  userCode: "",
362
362
  qrUrl: ""
363
363
  }
364
- }, R3 = i1({
364
+ }, R3 = a1({
365
365
  name: "runtimeConfig",
366
366
  initialState: Re,
367
367
  reducers: {
@@ -396,7 +396,7 @@ const h3 = {}, B1 = i1({
396
396
  e.touchpanelKey = t.payload;
397
397
  }
398
398
  }
399
- }), U = R3.actions, Ee = R3.reducer, _1 = p3.create(), E3 = "websocket/connect", T3 = "websocket/disconnect", D3 = "websocket/sendMessage", _3 = "websocket/addEventHandler", P3 = "websocket/removeEventHandler", L3 = "websocket/reconnect", $3 = () => ({ type: E3 }), P6 = () => ({ type: T3 }), Te = (e, t) => ({
399
+ }), U = R3.actions, Ee = R3.reducer, _1 = m3.create(), E3 = "websocket/connect", T3 = "websocket/disconnect", D3 = "websocket/sendMessage", _3 = "websocket/addEventHandler", P3 = "websocket/removeEventHandler", L3 = "websocket/reconnect", $3 = () => ({ type: E3 }), P6 = () => ({ type: T3 }), Te = (e, t) => ({
400
400
  type: D3,
401
401
  payload: { messageType: e, content: t }
402
402
  }), De = (e, t, o) => ({
@@ -440,10 +440,10 @@ const h3 = {}, B1 = i1({
440
440
  return C.status === 200 && C.data ? (j(U.setRoomData(C.data)), !0) : !1;
441
441
  } catch (C) {
442
442
  return console.log(C), C instanceof f2 && C.response && C.response.status === 498 ? (console.error("Invalid token. Unable to join room"), j(
443
- k.setErrorMessage(
443
+ O.setErrorMessage(
444
444
  `Token ${Z} is invalid. Unable to join room`
445
445
  )
446
- ), !1) : (console.error("Error getting room data", C), C instanceof Error ? j(k.setErrorMessage(C.message)) : j(k.setErrorMessage("Error getting room data")), !1);
446
+ ), !1) : (console.error("Error getting room data", C), C instanceof Error ? j(O.setErrorMessage(C.message)) : j(O.setErrorMessage("Error getting room data")), !1);
447
447
  }
448
448
  }, c = (a) => {
449
449
  e.reconnectTimer && (clearTimeout(e.reconnectTimer), e.reconnectTimer = null), console.log("WebSocket middleware: Starting reconnection loop..."), e.reconnectTimer = setTimeout(() => {
@@ -452,7 +452,7 @@ const h3 = {}, B1 = i1({
452
452
  }, r = () => {
453
453
  e.reconnectTimer && (console.log("WebSocket middleware: Stopping reconnection loop"), clearTimeout(e.reconnectTimer), e.reconnectTimer = null);
454
454
  }, i = (a) => {
455
- a(k.setShowReconnect(!0)), a(U.setWebsocketIsConnected(!1)), a(g1.clearDevices()), a(f1.clearRooms()), a(k.clearAllModals()), a(k.clearSyncState());
455
+ a(O.setShowReconnect(!0)), a(U.setWebsocketIsConnected(!1)), a(g1.clearDevices()), a(f1.clearRooms()), a(O.clearAllModals()), a(O.clearSyncState());
456
456
  }, v = (a, Z) => {
457
457
  const j = a(), C = Z ?? j.runtimeConfig.roomData.roomKey, { clientId: b } = j.runtimeConfig.roomData, x = j.runtimeConfig.websocket.isConnected;
458
458
  if (!Z || !x || !b) {
@@ -502,12 +502,15 @@ const h3 = {}, B1 = i1({
502
502
  return;
503
503
  }
504
504
  console.log("WebSocket middleware: Connecting to websocket");
505
- const S1 = `${C.replace("http", "ws")}/ui/join/${e.token}`, Y = new WebSocket(S1);
506
- e.client = Y, Y.onopen = (B) => {
507
- console.log("WebSocket middleware: Connected", B.type, B.target), e.waitingToReconnect = !1, r(), a(U.setWebsocketIsConnected(!0));
508
- }, Y.onerror = (B) => {
505
+ const S1 = `${C.replace("http", "ws")}/ui/join/${e.token}`, K = new WebSocket(S1);
506
+ e.client = K, K.onopen = (B) => {
507
+ console.log("WebSocket middleware: Connected", B.type, B.target), e.waitingToReconnect = !1, r(), setTimeout(() => {
508
+ e.client === K && K.readyState === WebSocket.OPEN && a(U.setWebsocketIsConnected(!0));
509
+ }, 100);
510
+ }, K.onerror = (B) => {
509
511
  console.error("WebSocket middleware: Error", B), i(a);
510
- }, Y.onclose = (B) => {
512
+ }, K.onclose = (B) => {
513
+ var D;
511
514
  if (console.log(
512
515
  "WebSocket middleware: Disconnected",
513
516
  B.reason,
@@ -520,7 +523,7 @@ const h3 = {}, B1 = i1({
520
523
  console.log("WebSocket middleware: User code changed"), r(), a(
521
524
  U.setUserCode({ userCode: "", qrUrl: "" })
522
525
  ), a(
523
- k.setErrorMessage(
526
+ O.setErrorMessage(
524
527
  "User code changed. Click reconnect to enter the new code"
525
528
  )
526
529
  ), i(a);
@@ -528,22 +531,31 @@ const h3 = {}, B1 = i1({
528
531
  }
529
532
  if (B.code === 4002) {
530
533
  console.log("WebSocket middleware: Room combination changed"), r(), a(
531
- k.setErrorMessage(
534
+ O.setErrorMessage(
532
535
  "Room combination changed. Click Reconnect to re-join the room"
533
536
  )
534
537
  ), i(a);
535
538
  return;
536
539
  }
537
- if (B.code === 4001 && !b) {
538
- console.log(
539
- "WebSocket middleware: Processor disconnected (not on processor hardware)"
540
- ), r(), a(
541
- k.setErrorMessage(
542
- "Processor has disconnected. Click Reconnect"
543
- )
544
- ), i(a);
545
- return;
546
- }
540
+ if (B.code === 4001)
541
+ if (!!((D = Z().runtimeConfig) != null && D.touchpanelKey))
542
+ console.log(
543
+ "WebSocket middleware: Code 4001 received with touchpanel key present, will auto-reconnect"
544
+ );
545
+ else if (b)
546
+ console.log(
547
+ "WebSocket middleware: Code 4001 on processor hardware (no touchpanel key), will auto-reconnect"
548
+ );
549
+ else {
550
+ console.log(
551
+ "WebSocket middleware: Processor disconnected (no touchpanel key, not on processor hardware)"
552
+ ), r(), a(
553
+ O.setErrorMessage(
554
+ "Processor has disconnected. Click Reconnect to continue."
555
+ )
556
+ ), i(a);
557
+ return;
558
+ }
547
559
  if (e.client)
548
560
  console.log(
549
561
  "WebSocket middleware: Closed by server, will auto-reconnect"
@@ -553,46 +565,46 @@ const h3 = {}, B1 = i1({
553
565
  return;
554
566
  }
555
567
  e.client = null, console.log("WebSocket middleware: Clearing state on disconnect"), a(
556
- k.setErrorMessage(
568
+ O.setErrorMessage(
557
569
  "Connection lost. Attempting to reconnect..."
558
570
  )
559
- ), a(U.setWebsocketIsConnected(!1)), a(g1.clearDevices()), a(f1.clearRooms()), a(k.clearAllModals()), a(k.clearSyncState()), c(a);
560
- }, Y.onmessage = (B) => {
571
+ ), a(U.setWebsocketIsConnected(!1)), a(g1.clearDevices()), a(f1.clearRooms()), a(O.clearAllModals()), a(O.clearSyncState()), c(a);
572
+ }, K.onmessage = (B) => {
561
573
  try {
562
- const P = JSON.parse(B.data);
563
- if (P.type === "close") {
564
- Y.close(4001, P.content);
574
+ const D = JSON.parse(B.data);
575
+ if (D.type === "close") {
576
+ K.close(4001, D.content);
565
577
  return;
566
578
  }
567
- if (P.type.startsWith("/system/"))
568
- switch (P.type) {
579
+ if (D.type.startsWith("/system/"))
580
+ switch (D.type) {
569
581
  case "/system/touchpanelKey":
570
582
  a(
571
583
  U.setTouchpanelKey(
572
- P.content
584
+ D.content
573
585
  )
574
586
  );
575
587
  break;
576
588
  case "/system/roomKey":
577
- a(f1.clearRooms()), a(g1.clearDevices()), a(k.clearSyncState()), a(
589
+ a(f1.clearRooms()), a(g1.clearDevices()), a(O.clearSyncState()), a(
578
590
  U.setCurrentRoomKey(
579
- P.content
591
+ D.content
580
592
  )
581
593
  );
582
594
  break;
583
595
  case "/system/userCodeChanged":
584
596
  a(
585
- U.setUserCode(P.content)
597
+ U.setUserCode(D.content)
586
598
  );
587
599
  break;
588
600
  case "/system/roomCombinationChanged":
589
601
  window.location.reload();
590
602
  break;
591
603
  case "/system/deviceInterfaces": {
592
- const J = P.content;
604
+ const z = D.content;
593
605
  a(
594
606
  U.setDeviceInterfaces(
595
- J.deviceInterfaces
607
+ z.deviceInterfaces
596
608
  )
597
609
  );
598
610
  break;
@@ -600,18 +612,18 @@ const h3 = {}, B1 = i1({
600
612
  default:
601
613
  console.log(
602
614
  "WebSocket middleware: Unhandled system message",
603
- P
615
+ D
604
616
  );
605
617
  break;
606
618
  }
607
- else if (P.type.startsWith("/event/")) {
608
- const J = e.eventHandlers[P.type];
609
- J || console.log(
619
+ else if (D.type.startsWith("/event/")) {
620
+ const z = e.eventHandlers[D.type];
621
+ z || console.log(
610
622
  "WebSocket middleware: No handlers found for event type",
611
- P.type
612
- ), J && Object.values(J).forEach((a1) => {
623
+ D.type
624
+ ), z && Object.values(z).forEach((n1) => {
613
625
  try {
614
- a1(P);
626
+ n1(D);
615
627
  } catch (j1) {
616
628
  console.error(
617
629
  "WebSocket middleware: Event handler error",
@@ -619,9 +631,9 @@ const h3 = {}, B1 = i1({
619
631
  );
620
632
  }
621
633
  });
622
- } else P.type.startsWith("/room/") ? a(f1.setRoomState(P)) : P.type.startsWith("/device/") && a(g1.setDeviceState(P));
623
- } catch (P) {
624
- console.error("WebSocket middleware: Message handling error", P);
634
+ } else D.type.startsWith("/room/") ? a(f1.setRoomState(D)) : D.type.startsWith("/device/") && a(g1.setDeviceState(D));
635
+ } catch (D) {
636
+ console.error("WebSocket middleware: Message handling error", D);
625
637
  }
626
638
  }, e.waitingToReconnect = !1;
627
639
  } catch (x) {
@@ -629,14 +641,14 @@ const h3 = {}, B1 = i1({
629
641
  }
630
642
  }, h = () => {
631
643
  e.client && (console.log("WebSocket middleware: Disconnecting"), r(), e.client.close(4100, "Client requested disconnect"), e.client = null);
632
- }, m = (a, Z, j) => {
644
+ }, p = (a, Z, j) => {
633
645
  const C = j(), b = C.runtimeConfig.websocket.isConnected, x = C.runtimeConfig.roomData.clientId;
634
646
  e.client && b ? e.client.send(
635
647
  JSON.stringify({ type: a, clientId: x, content: Z })
636
648
  ) : console.warn("WebSocket middleware: Cannot send message - not connected");
637
- }, p = (a, Z, j) => {
649
+ }, m = (a, Z, j) => {
638
650
  e.eventHandlers[a] || (e.eventHandlers[a] = {}), e.eventHandlers[a][Z] = j, console.log("WebSocket middleware: Event handler added", a, Z);
639
- }, _ = (a, Z) => {
651
+ }, P = (a, Z) => {
640
652
  e.eventHandlers[a] && (delete e.eventHandlers[a][Z], console.log(
641
653
  "WebSocket middleware: Event handler removed",
642
654
  a,
@@ -662,21 +674,21 @@ const h3 = {}, B1 = i1({
662
674
  h();
663
675
  break;
664
676
  case D3:
665
- m(
677
+ p(
666
678
  b.payload.messageType,
667
679
  b.payload.content,
668
680
  a.getState
669
681
  );
670
682
  break;
671
683
  case _3:
672
- p(
684
+ m(
673
685
  b.payload.eventType,
674
686
  b.payload.key,
675
687
  b.payload.callback
676
688
  );
677
689
  break;
678
690
  case P3:
679
- _(
691
+ P(
680
692
  b.payload.eventType,
681
693
  b.payload.key
682
694
  );
@@ -722,9 +734,9 @@ const h3 = {}, B1 = i1({
722
734
  ignoredActions: ["websocket/addEventHandler"]
723
735
  }
724
736
  }).concat(Le())
725
- }), g3 = p3.create();
737
+ }), g3 = m3.create();
726
738
  function L6() {
727
- const e = k1();
739
+ const e = O1();
728
740
  return async () => {
729
741
  try {
730
742
  const t = location.pathname.split("/").filter((r) => r.length > 0);
@@ -747,7 +759,7 @@ function L6() {
747
759
  return !0;
748
760
  };
749
761
  }
750
- var w1 = { exports: {} }, c1 = {};
762
+ var w1 = { exports: {} }, r1 = {};
751
763
  /**
752
764
  * @license React
753
765
  * react-jsx-runtime.production.min.js
@@ -759,19 +771,19 @@ var w1 = { exports: {} }, c1 = {};
759
771
  */
760
772
  var f3;
761
773
  function Be() {
762
- if (f3) return c1;
774
+ if (f3) return r1;
763
775
  f3 = 1;
764
776
  var e = M3, t = Symbol.for("react.element"), o = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, r = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
765
- function v(u, h, m) {
766
- var p, _ = {}, H = null, a = null;
767
- m !== void 0 && (H = "" + m), h.key !== void 0 && (H = "" + h.key), h.ref !== void 0 && (a = h.ref);
768
- for (p in h) c.call(h, p) && !i.hasOwnProperty(p) && (_[p] = h[p]);
769
- if (u && u.defaultProps) for (p in h = u.defaultProps, h) _[p] === void 0 && (_[p] = h[p]);
770
- return { $$typeof: t, type: u, key: H, ref: a, props: _, _owner: r.current };
777
+ function v(u, h, p) {
778
+ var m, P = {}, H = null, a = null;
779
+ p !== void 0 && (H = "" + p), h.key !== void 0 && (H = "" + h.key), h.ref !== void 0 && (a = h.ref);
780
+ for (m in h) c.call(h, m) && !i.hasOwnProperty(m) && (P[m] = h[m]);
781
+ if (u && u.defaultProps) for (m in h = u.defaultProps, h) P[m] === void 0 && (P[m] = h[m]);
782
+ return { $$typeof: t, type: u, key: H, ref: a, props: P, _owner: r.current };
771
783
  }
772
- return c1.Fragment = o, c1.jsx = v, c1.jsxs = v, c1;
784
+ return r1.Fragment = o, r1.jsx = v, r1.jsxs = v, r1;
773
785
  }
774
- var r1 = {};
786
+ var l1 = {};
775
787
  /**
776
788
  * @license React
777
789
  * react-jsx-runtime.development.js
@@ -782,9 +794,9 @@ var r1 = {};
782
794
  * LICENSE file in the root directory of this source tree.
783
795
  */
784
796
  var w3;
785
- function Oe() {
797
+ function ke() {
786
798
  return w3 || (w3 = 1, process.env.NODE_ENV !== "production" && function() {
787
- var e = M3, t = Symbol.for("react.element"), o = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), v = Symbol.for("react.provider"), u = Symbol.for("react.context"), h = Symbol.for("react.forward_ref"), m = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), _ = Symbol.for("react.memo"), H = Symbol.for("react.lazy"), a = Symbol.for("react.offscreen"), Z = Symbol.iterator, j = "@@iterator";
799
+ var e = M3, t = Symbol.for("react.element"), o = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), v = Symbol.for("react.provider"), u = Symbol.for("react.context"), h = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"), m = Symbol.for("react.suspense_list"), P = Symbol.for("react.memo"), H = Symbol.for("react.lazy"), a = Symbol.for("react.offscreen"), Z = Symbol.iterator, j = "@@iterator";
788
800
  function C(s) {
789
801
  if (s === null || typeof s != "object")
790
802
  return null;
@@ -809,16 +821,16 @@ function Oe() {
809
821
  T.unshift("Warning: " + l), Function.prototype.apply.call(console[s], console, T);
810
822
  }
811
823
  }
812
- var S1 = !1, Y = !1, B = !1, P = !1, J = !1, a1;
813
- a1 = Symbol.for("react.module.reference");
824
+ var S1 = !1, K = !1, B = !1, D = !1, z = !1, n1;
825
+ n1 = Symbol.for("react.module.reference");
814
826
  function j1(s) {
815
- return !!(typeof s == "string" || typeof s == "function" || s === c || s === i || J || s === r || s === m || s === p || P || s === a || S1 || Y || B || typeof s == "object" && s !== null && (s.$$typeof === H || s.$$typeof === _ || s.$$typeof === v || s.$$typeof === u || s.$$typeof === h || // This needs to include all possible module reference object
827
+ return !!(typeof s == "string" || typeof s == "function" || s === c || s === i || z || s === r || s === p || s === m || D || s === a || S1 || K || B || typeof s == "object" && s !== null && (s.$$typeof === H || s.$$typeof === P || s.$$typeof === v || s.$$typeof === u || s.$$typeof === h || // This needs to include all possible module reference object
816
828
  // types supported by any Flight configuration anywhere since
817
829
  // we don't know which Flight build this will end up being used
818
830
  // with.
819
- s.$$typeof === a1 || s.getModuleId !== void 0));
831
+ s.$$typeof === n1 || s.getModuleId !== void 0));
820
832
  }
821
- function k3(s, l, d) {
833
+ function O3(s, l, d) {
822
834
  var f = s.displayName;
823
835
  if (f)
824
836
  return f;
@@ -828,7 +840,7 @@ function Oe() {
828
840
  function V1(s) {
829
841
  return s.displayName || "Context";
830
842
  }
831
- function z(s) {
843
+ function J(s) {
832
844
  if (s == null)
833
845
  return null;
834
846
  if (typeof s.tag == "number" && x("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof s == "function")
@@ -844,9 +856,9 @@ function Oe() {
844
856
  return "Profiler";
845
857
  case r:
846
858
  return "StrictMode";
847
- case m:
848
- return "Suspense";
849
859
  case p:
860
+ return "Suspense";
861
+ case m:
850
862
  return "SuspenseList";
851
863
  }
852
864
  if (typeof s == "object")
@@ -858,14 +870,14 @@ function Oe() {
858
870
  var d = s;
859
871
  return V1(d._context) + ".Provider";
860
872
  case h:
861
- return k3(s, s.render, "ForwardRef");
862
- case _:
873
+ return O3(s, s.render, "ForwardRef");
874
+ case P:
863
875
  var f = s.displayName || null;
864
- return f !== null ? f : z(s.type) || "Memo";
876
+ return f !== null ? f : J(s.type) || "Memo";
865
877
  case H: {
866
878
  var E = s, T = E._payload, y = E._init;
867
879
  try {
868
- return z(y(T));
880
+ return J(y(T));
869
881
  } catch {
870
882
  return null;
871
883
  }
@@ -873,13 +885,13 @@ function Oe() {
873
885
  }
874
886
  return null;
875
887
  }
876
- var X = Object.assign, n1 = 0, U1, H1, F1, K1, q1, G1, Y1;
888
+ var X = Object.assign, o1 = 0, U1, H1, F1, K1, q1, G1, Y1;
877
889
  function z1() {
878
890
  }
879
891
  z1.__reactDisabledLog = !0;
880
892
  function W3() {
881
893
  {
882
- if (n1 === 0) {
894
+ if (o1 === 0) {
883
895
  U1 = console.log, H1 = console.info, F1 = console.warn, K1 = console.error, q1 = console.group, G1 = console.groupCollapsed, Y1 = console.groupEnd;
884
896
  var s = {
885
897
  configurable: !0,
@@ -897,12 +909,12 @@ function Oe() {
897
909
  groupEnd: s
898
910
  });
899
911
  }
900
- n1++;
912
+ o1++;
901
913
  }
902
914
  }
903
915
  function V3() {
904
916
  {
905
- if (n1--, n1 === 0) {
917
+ if (o1--, o1 === 0) {
906
918
  var s = {
907
919
  configurable: !0,
908
920
  enumerable: !0,
@@ -932,7 +944,7 @@ function Oe() {
932
944
  })
933
945
  });
934
946
  }
935
- n1 < 0 && x("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
947
+ o1 < 0 && x("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
936
948
  }
937
949
  }
938
950
  var C1 = b.ReactCurrentDispatcher, b1;
@@ -1003,14 +1015,14 @@ function Oe() {
1003
1015
  } catch (V) {
1004
1016
  if (V && f && typeof V.stack == "string") {
1005
1017
  for (var S = V.stack.split(`
1006
- `), O = f.stack.split(`
1007
- `), L = S.length - 1, $ = O.length - 1; L >= 1 && $ >= 0 && S[L] !== O[$]; )
1018
+ `), k = f.stack.split(`
1019
+ `), L = S.length - 1, $ = k.length - 1; L >= 1 && $ >= 0 && S[L] !== k[$]; )
1008
1020
  $--;
1009
1021
  for (; L >= 1 && $ >= 0; L--, $--)
1010
- if (S[L] !== O[$]) {
1022
+ if (S[L] !== k[$]) {
1011
1023
  if (L !== 1 || $ !== 1)
1012
1024
  do
1013
- if (L--, $--, $ < 0 || S[L] !== O[$]) {
1025
+ if (L--, $--, $ < 0 || S[L] !== k[$]) {
1014
1026
  var F = `
1015
1027
  ` + S[L].replace(" at new ", " at ");
1016
1028
  return s.displayName && F.includes("<anonymous>") && (F = F.replace("<anonymous>", s.displayName)), typeof s == "function" && d1.set(s, F), F;
@@ -1040,16 +1052,16 @@ function Oe() {
1040
1052
  if (typeof s == "string")
1041
1053
  return u1(s);
1042
1054
  switch (s) {
1043
- case m:
1044
- return u1("Suspense");
1045
1055
  case p:
1056
+ return u1("Suspense");
1057
+ case m:
1046
1058
  return u1("SuspenseList");
1047
1059
  }
1048
1060
  if (typeof s == "object")
1049
1061
  switch (s.$$typeof) {
1050
1062
  case h:
1051
1063
  return H3(s.render);
1052
- case _:
1064
+ case P:
1053
1065
  return v1(s.type, l, d);
1054
1066
  case H: {
1055
1067
  var f = s, E = f._payload, T = f._init;
@@ -1061,7 +1073,7 @@ function Oe() {
1061
1073
  }
1062
1074
  return "";
1063
1075
  }
1064
- var o1 = Object.prototype.hasOwnProperty, X1 = {}, Q1 = b.ReactDebugCurrentFrame;
1076
+ var s1 = Object.prototype.hasOwnProperty, X1 = {}, Q1 = b.ReactDebugCurrentFrame;
1065
1077
  function h1(s) {
1066
1078
  if (s) {
1067
1079
  var l = s._owner, d = v1(s.type, s._source, l ? l.type : null);
@@ -1071,14 +1083,14 @@ function Oe() {
1071
1083
  }
1072
1084
  function K3(s, l, d, f, E) {
1073
1085
  {
1074
- var T = Function.call.bind(o1);
1086
+ var T = Function.call.bind(s1);
1075
1087
  for (var y in s)
1076
1088
  if (T(s, y)) {
1077
1089
  var S = void 0;
1078
1090
  try {
1079
1091
  if (typeof s[y] != "function") {
1080
- var O = Error((f || "React class") + ": " + d + " type `" + y + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof s[y] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
1081
- throw O.name = "Invariant Violation", O;
1092
+ var k = Error((f || "React class") + ": " + d + " type `" + y + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof s[y] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
1093
+ throw k.name = "Invariant Violation", k;
1082
1094
  }
1083
1095
  S = s[y](l, y, f, d, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
1084
1096
  } catch (L) {
@@ -1119,7 +1131,7 @@ function Oe() {
1119
1131
  __source: !0
1120
1132
  }, n3, o3;
1121
1133
  function J3(s) {
1122
- if (o1.call(s, "ref")) {
1134
+ if (s1.call(s, "ref")) {
1123
1135
  var l = Object.getOwnPropertyDescriptor(s, "ref").get;
1124
1136
  if (l && l.isReactWarning)
1125
1137
  return !1;
@@ -1127,7 +1139,7 @@ function Oe() {
1127
1139
  return s.ref !== void 0;
1128
1140
  }
1129
1141
  function X3(s) {
1130
- if (o1.call(s, "key")) {
1142
+ if (s1.call(s, "key")) {
1131
1143
  var l = Object.getOwnPropertyDescriptor(s, "key").get;
1132
1144
  if (l && l.isReactWarning)
1133
1145
  return !1;
@@ -1190,20 +1202,20 @@ function Oe() {
1190
1202
  };
1191
1203
  function n2(s, l, d, f, E) {
1192
1204
  {
1193
- var T, y = {}, S = null, O = null;
1194
- d !== void 0 && (e3(d), S = "" + d), X3(l) && (e3(l.key), S = "" + l.key), J3(l) && (O = l.ref, Q3(l, E));
1205
+ var T, y = {}, S = null, k = null;
1206
+ d !== void 0 && (e3(d), S = "" + d), X3(l) && (e3(l.key), S = "" + l.key), J3(l) && (k = l.ref, Q3(l, E));
1195
1207
  for (T in l)
1196
- o1.call(l, T) && !z3.hasOwnProperty(T) && (y[T] = l[T]);
1208
+ s1.call(l, T) && !z3.hasOwnProperty(T) && (y[T] = l[T]);
1197
1209
  if (s && s.defaultProps) {
1198
1210
  var L = s.defaultProps;
1199
1211
  for (T in L)
1200
1212
  y[T] === void 0 && (y[T] = L[T]);
1201
1213
  }
1202
- if (S || O) {
1214
+ if (S || k) {
1203
1215
  var $ = typeof s == "function" ? s.displayName || s.name || "Unknown" : s;
1204
- S && N3(y, $), O && e2(y, $);
1216
+ S && N3(y, $), k && e2(y, $);
1205
1217
  }
1206
- return t2(s, S, O, E, f, t3.current, y);
1218
+ return t2(s, S, k, E, f, t3.current, y);
1207
1219
  }
1208
1220
  }
1209
1221
  var R1 = b.ReactCurrentOwner, s3 = b.ReactDebugCurrentFrame;
@@ -1222,7 +1234,7 @@ function Oe() {
1222
1234
  function c3() {
1223
1235
  {
1224
1236
  if (R1.current) {
1225
- var s = z(R1.current.type);
1237
+ var s = J(R1.current.type);
1226
1238
  if (s)
1227
1239
  return `
1228
1240
 
@@ -1257,7 +1269,7 @@ Check the top-level render call using <` + d + ">.");
1257
1269
  return;
1258
1270
  r3[d] = !0;
1259
1271
  var f = "";
1260
- s && s._owner && s._owner !== R1.current && (f = " It was passed a child from " + z(s._owner.type) + "."), e1(s), x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', d, f), e1(null);
1272
+ s && s._owner && s._owner !== R1.current && (f = " It was passed a child from " + J(s._owner.type) + "."), e1(s), x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', d, f), e1(null);
1261
1273
  }
1262
1274
  }
1263
1275
  function i3(s, l) {
@@ -1289,16 +1301,16 @@ Check the top-level render call using <` + d + ">.");
1289
1301
  d = l.propTypes;
1290
1302
  else if (typeof l == "object" && (l.$$typeof === h || // Note: Memo only checks outer props here.
1291
1303
  // Inner props are checked in the reconciler.
1292
- l.$$typeof === _))
1304
+ l.$$typeof === P))
1293
1305
  d = l.propTypes;
1294
1306
  else
1295
1307
  return;
1296
1308
  if (d) {
1297
- var f = z(l);
1309
+ var f = J(l);
1298
1310
  K3(d, s.props, "prop", f, s);
1299
1311
  } else if (l.PropTypes !== void 0 && !E1) {
1300
1312
  E1 = !0;
1301
- var E = z(l);
1313
+ var E = J(l);
1302
1314
  x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", E || "Unknown");
1303
1315
  }
1304
1316
  typeof l.getDefaultProps == "function" && !l.getDefaultProps.isReactClassApproved && x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
@@ -1323,10 +1335,10 @@ Check the top-level render call using <` + d + ">.");
1323
1335
  if (!y) {
1324
1336
  var S = "";
1325
1337
  (s === void 0 || typeof s == "object" && s !== null && Object.keys(s).length === 0) && (S += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
1326
- var O = o2();
1327
- O ? S += O : S += c3();
1338
+ var k = o2();
1339
+ k ? S += k : S += c3();
1328
1340
  var L;
1329
- s === null ? L = "null" : I1(s) ? L = "array" : s !== void 0 && s.$$typeof === t ? (L = "<" + (z(s.type) || "Unknown") + " />", S = " 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, S);
1341
+ s === null ? L = "null" : I1(s) ? L = "array" : s !== void 0 && s.$$typeof === t ? (L = "<" + (J(s.type) || "Unknown") + " />", S = " 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, S);
1330
1342
  }
1331
1343
  var $ = n2(s, l, d, E, T);
1332
1344
  if ($ == null)
@@ -1344,8 +1356,8 @@ Check the top-level render call using <` + d + ">.");
1344
1356
  else
1345
1357
  i3(F, s);
1346
1358
  }
1347
- if (o1.call(l, "key")) {
1348
- var Q = z(s), V = Object.keys(l).filter(function(v2) {
1359
+ if (s1.call(l, "key")) {
1360
+ var Q = J(s), V = Object.keys(l).filter(function(v2) {
1349
1361
  return v2 !== "key";
1350
1362
  }), D1 = V.length > 0 ? "{key: someKey, " + V.join(": ..., ") + ": ...}" : "{key: someKey}";
1351
1363
  if (!a3[Q + D1]) {
@@ -1368,30 +1380,25 @@ React keys must be passed directly to JSX without using spread:
1368
1380
  return u3(s, l, d, !1);
1369
1381
  }
1370
1382
  var a2 = i2, u2 = l2;
1371
- r1.Fragment = c, r1.jsx = a2, r1.jsxs = u2;
1372
- }()), r1;
1383
+ l1.Fragment = c, l1.jsx = a2, l1.jsxs = u2;
1384
+ }()), l1;
1373
1385
  }
1374
- var m3;
1375
- function ke() {
1376
- return m3 || (m3 = 1, process.env.NODE_ENV === "production" ? w1.exports = Be() : w1.exports = Oe()), w1.exports;
1386
+ var p3;
1387
+ function Oe() {
1388
+ return p3 || (p3 = 1, process.env.NODE_ENV === "production" ? w1.exports = Be() : w1.exports = ke()), w1.exports;
1377
1389
  }
1378
- var n = ke();
1390
+ var n = Oe();
1379
1391
  const We = "_mwfit_ppa3l_1", Ve = {
1380
1392
  mwfit: We
1381
1393
  }, Ue = () => {
1382
- const { reconnect: e } = R(), t = C3(), o = we(), c = me();
1383
- return /* @__PURE__ */ n.jsx("div", { className: "vh-100 d-flex flex-grow-1 justify-content-center align-items-center", children: /* @__PURE__ */ n.jsxs("div", { className: `${Ve.mwfit} mx-auto text-center`, children: [
1384
- t === void 0 ? /* @__PURE__ */ n.jsx("h3", { children: "Connecting..." }) : /* @__PURE__ */ n.jsx("h3", { children: "Disconnected" }),
1385
- o && /* @__PURE__ */ n.jsx("h6", { children: o }),
1386
- c && /* @__PURE__ */ n.jsx(
1387
- "button",
1388
- {
1389
- className: "btn btn-secondary btn-lg",
1390
- onPointerDown: e,
1391
- children: "Reconnect"
1392
- }
1393
- )
1394
- ] }) });
1394
+ const { reconnect: e } = R(), t = C3(), o = we(), c = pe();
1395
+ return /* @__PURE__ */ n.jsxs("div", { className: "vh-100 d-flex flex-column flex-grow-1 justify-content-center align-items-center gap-5 ", children: [
1396
+ /* @__PURE__ */ n.jsxs("div", { className: `${Ve.mwfit} mx-auto text-center`, children: [
1397
+ t === void 0 ? /* @__PURE__ */ n.jsx("h2", { children: "Connecting..." }) : /* @__PURE__ */ n.jsx("h2", { children: "Disconnected" }),
1398
+ o && /* @__PURE__ */ n.jsx("h5", { className: "mt-1", children: o })
1399
+ ] }),
1400
+ c && /* @__PURE__ */ n.jsx("button", { className: "btn btn-secondary btn-lg", onPointerDown: e, children: "Reconnect" })
1401
+ ] });
1395
1402
  }, A3 = Z2({
1396
1403
  sendMessage: () => null,
1397
1404
  sendSimpleMessage: () => null,
@@ -1399,31 +1406,31 @@ const We = "_mwfit_ppa3l_1", Ve = {
1399
1406
  removeEventHandler: () => null,
1400
1407
  reconnect: () => null
1401
1408
  }), He = ({ children: e }) => {
1402
- const t = k1(), o = C3();
1403
- p1(() => {
1409
+ const t = O1(), o = C3();
1410
+ m1(() => {
1404
1411
  t($3());
1405
1412
  }, [t]);
1406
- const c = s1(
1407
- (h, m) => {
1408
- t(Te(h, m));
1413
+ const c = c1(
1414
+ (h, p) => {
1415
+ t(Te(h, p));
1409
1416
  },
1410
1417
  [t]
1411
- ), r = s1(
1412
- (h, m) => {
1413
- c(h, { value: m });
1418
+ ), r = c1(
1419
+ (h, p) => {
1420
+ c(h, { value: p });
1414
1421
  },
1415
1422
  [c]
1416
- ), i = s1(
1417
- (h, m, p) => {
1418
- t(De(h, m, p));
1423
+ ), i = c1(
1424
+ (h, p, m) => {
1425
+ t(De(h, p, m));
1419
1426
  },
1420
1427
  [t]
1421
- ), v = s1(
1422
- (h, m) => {
1423
- t(_e(h, m));
1428
+ ), v = c1(
1429
+ (h, p) => {
1430
+ t(_e(h, p));
1424
1431
  },
1425
1432
  [t]
1426
- ), u = s1(() => {
1433
+ ), u = c1(() => {
1427
1434
  t(Pe());
1428
1435
  }, [t]);
1429
1436
  return /* @__PURE__ */ n.jsx(
@@ -1439,7 +1446,7 @@ const We = "_mwfit_ppa3l_1", Ve = {
1439
1446
  children: o ? e : /* @__PURE__ */ n.jsx(Ue, {})
1440
1447
  }
1441
1448
  );
1442
- }, $6 = ({ children: e }) => /* @__PURE__ */ n.jsx(p2, { store: Ae, children: /* @__PURE__ */ n.jsx(He, { children: e }) });
1449
+ }, $6 = ({ children: e }) => /* @__PURE__ */ n.jsx(m2, { store: Ae, children: /* @__PURE__ */ n.jsx(He, { children: e }) });
1443
1450
  function R() {
1444
1451
  return S2(A3);
1445
1452
  }
@@ -1532,10 +1539,10 @@ function B6(e, t) {
1532
1539
  };
1533
1540
  }
1534
1541
  function Ke(e) {
1535
- const t = D(e), o = `/device/${e}`;
1542
+ const t = _(e), o = `/device/${e}`;
1536
1543
  return B3(o, t == null ? void 0 : t.volume);
1537
1544
  }
1538
- function O3(e) {
1545
+ function k3(e) {
1539
1546
  const { sendMessage: t } = R();
1540
1547
  return { powerOn: () => {
1541
1548
  t(`/device/${e}/powerOn`, null);
@@ -1545,14 +1552,14 @@ function O3(e) {
1545
1552
  t(`/device/${e}/powerToggle`, null);
1546
1553
  } };
1547
1554
  }
1548
- function O1(e) {
1549
- const { sendMessage: t } = R(), o = D(e);
1555
+ function k1(e) {
1556
+ const { sendMessage: t } = R(), o = _(e);
1550
1557
  return console.log("deviceState", o), o ? { itemsState: o, selectItem: (r) => {
1551
1558
  t(`/device/${e}/${r}`, null);
1552
1559
  } } : void 0;
1553
1560
  }
1554
1561
  function qe(e) {
1555
- const { sendMessage: t } = R(), o = D(e), c = () => {
1562
+ const { sendMessage: t } = R(), o = _(e), c = () => {
1556
1563
  t(`/device/${e}/setDefaultChannelLevels`, null);
1557
1564
  }, r = () => {
1558
1565
  if ((o == null ? void 0 : o.levelControls) === void 0) return;
@@ -1562,8 +1569,8 @@ function qe(e) {
1562
1569
  };
1563
1570
  return o ? { levelControls: o.levelControls, setDefaultChannelLevels: c, getFullStatus: r } : void 0;
1564
1571
  }
1565
- function O6(e) {
1566
- const t = D(e), o = O3(e), c = O1(e), r = O1(e), i = Ke(e), v = qe(e);
1572
+ function k6(e) {
1573
+ const t = _(e), o = k3(e), c = k1(e), r = k1(e), i = Ke(e), v = qe(e);
1567
1574
  if (t)
1568
1575
  return {
1569
1576
  avrState: t,
@@ -1574,9 +1581,9 @@ function O6(e) {
1574
1581
  mainVolumeControl: i
1575
1582
  };
1576
1583
  }
1577
- const k6 = ({ className: e }) => {
1578
- const [t, o] = G();
1579
- return p1(() => {
1584
+ const O6 = ({ className: e }) => {
1585
+ const [t, o] = Y();
1586
+ return m1(() => {
1580
1587
  setInterval(() => {
1581
1588
  const c = (/* @__PURE__ */ new Date()).toLocaleTimeString("en-US", { hour12: !0, hour: "numeric", minute: "numeric" });
1582
1589
  o(c);
@@ -1587,7 +1594,7 @@ const k6 = ({ className: e }) => {
1587
1594
  ] });
1588
1595
  };
1589
1596
  function W6(e) {
1590
- const { sendMessage: t } = R(), o = D(e), c = `/device/${e}`;
1597
+ const { sendMessage: t } = R(), o = _(e), c = `/device/${e}`;
1591
1598
  return o ? { state: o, recallPreset: (v, u) => {
1592
1599
  t(`${c}/presets/recall`, { deviceKey: v, preset: u });
1593
1600
  }, savePresets: (v) => {
@@ -1595,7 +1602,7 @@ function W6(e) {
1595
1602
  } } : void 0;
1596
1603
  }
1597
1604
  function V6(e) {
1598
- const t = D(e);
1605
+ const t = _(e);
1599
1606
  if (t)
1600
1607
  return { endpointState: t };
1601
1608
  }
@@ -1608,14 +1615,14 @@ function H6(e) {
1608
1615
  return { red: o, green: c, yellow: r, blue: i };
1609
1616
  }
1610
1617
  function F6(e) {
1611
- const t = D(e);
1618
+ const t = _(e);
1612
1619
  if (t)
1613
1620
  return {
1614
1621
  communicationMonitorState: t
1615
1622
  };
1616
1623
  }
1617
1624
  function K6(e) {
1618
- const t = D(e);
1625
+ const t = _(e);
1619
1626
  if (t)
1620
1627
  return t.deviceInfo || void 0;
1621
1628
  }
@@ -1624,17 +1631,17 @@ function q6(e) {
1624
1631
  return { up: o, down: c, left: r, right: i, select: v, menu: u, exit: h };
1625
1632
  }
1626
1633
  function G6(e) {
1627
- const { sendMessage: t } = R(), o = `/device/${e}`, c = D(e), r = g(o, "cameraUp"), i = g(o, "cameraDown"), v = g(o, "cameraLeft"), u = g(o, "cameraRight"), h = g(o, "cameraZoomIn"), m = g(o, "cameraZoomOut"), p = (_) => t("/camera/recallPreset", _);
1634
+ const { sendMessage: t } = R(), o = `/device/${e}`, c = _(e), r = g(o, "cameraUp"), i = g(o, "cameraDown"), v = g(o, "cameraLeft"), u = g(o, "cameraRight"), h = g(o, "cameraZoomIn"), p = g(o, "cameraZoomOut"), m = (P) => t("/camera/recallPreset", P);
1628
1635
  if (c)
1629
1636
  return {
1630
1637
  state: c,
1631
1638
  zoomIn: h,
1632
- zoomOut: m,
1639
+ zoomOut: p,
1633
1640
  up: r,
1634
1641
  down: i,
1635
1642
  left: v,
1636
1643
  right: u,
1637
- recallPreset: p
1644
+ recallPreset: m
1638
1645
  };
1639
1646
  }
1640
1647
  function Y6(e) {
@@ -1651,7 +1658,7 @@ function z6(e) {
1651
1658
  return { dvrList: o, record: c };
1652
1659
  }
1653
1660
  function J6(e) {
1654
- const { sendMessage: t } = R(), o = D(e);
1661
+ const { sendMessage: t } = R(), o = _(e);
1655
1662
  return o ? { roomCombinerState: o, setAutoMode: () => {
1656
1663
  t(`/device/${e}/setAutoMode`, null);
1657
1664
  }, setManualMode: () => {
@@ -1665,7 +1672,7 @@ function J6(e) {
1665
1672
  } } : void 0;
1666
1673
  }
1667
1674
  function X6(e) {
1668
- const { sendMessage: t } = R(), o = `/device/${e}`, c = D(e);
1675
+ const { sendMessage: t } = R(), o = `/device/${e}`, c = _(e);
1669
1676
  return c ? {
1670
1677
  state: c,
1671
1678
  selectCamera: (i) => {
@@ -1674,28 +1681,28 @@ function X6(e) {
1674
1681
  } : void 0;
1675
1682
  }
1676
1683
  function Q6(e) {
1677
- const t = D(e);
1684
+ const t = _(e);
1678
1685
  if (t)
1679
1686
  return { state: t };
1680
1687
  }
1681
1688
  function N6(e) {
1682
- const { sendMessage: t, sendSimpleMessage: o } = R(), c = D(e), r = N2(e), i = c || r;
1689
+ const { sendMessage: t, sendSimpleMessage: o } = R(), c = _(e), r = N2(e), i = c || r;
1683
1690
  return i ? {
1684
1691
  levelState: i,
1685
- setLevel: (p, _) => o(`${p}/level`, _),
1686
- muteToggle: (p) => t(`${p}/muteToggle`, null),
1687
- muteOn: (p) => t(`${p}/muteOn`, null),
1688
- muteOff: (p) => t(`${p}/muteOff`, null)
1692
+ setLevel: (m, P) => o(`${m}/level`, P),
1693
+ muteToggle: (m) => t(`${m}/muteToggle`, null),
1694
+ muteOn: (m) => t(`${m}/muteOn`, null),
1695
+ muteOff: (m) => t(`${m}/muteOff`, null)
1689
1696
  } : void 0;
1690
1697
  }
1691
1698
  function et(e) {
1692
- const { sendMessage: t } = R(), o = D(e);
1699
+ const { sendMessage: t } = R(), o = _(e);
1693
1700
  return o ? { lightingState: o, selectScene: (r) => {
1694
1701
  t(`/device/${e}/selectScene`, r);
1695
1702
  } } : void 0;
1696
1703
  }
1697
1704
  function tt(e) {
1698
- const { sendMessage: t } = R(), o = D(e);
1705
+ const { sendMessage: t } = R(), o = _(e);
1699
1706
  return o ? { matrixRoutingState: o, setRoute: (r) => {
1700
1707
  t(`/device/${e}/route`, r);
1701
1708
  } } : void 0;
@@ -1707,7 +1714,7 @@ function nt(e) {
1707
1714
  } };
1708
1715
  }
1709
1716
  function ot(e) {
1710
- const t = `/device/${e}`, o = g(t, "num0"), c = g(t, "num1"), r = g(t, "num2"), i = g(t, "num3"), v = g(t, "num4"), u = g(t, "num5"), h = g(t, "num6"), m = g(t, "num7"), p = g(t, "num8"), _ = g(t, "num9"), H = g(t, "numDash"), a = g(t, "numEnter");
1717
+ const t = `/device/${e}`, o = g(t, "num0"), c = g(t, "num1"), r = g(t, "num2"), i = g(t, "num3"), v = g(t, "num4"), u = g(t, "num5"), h = g(t, "num6"), p = g(t, "num7"), m = g(t, "num8"), P = g(t, "num9"), H = g(t, "numDash"), a = g(t, "numEnter");
1711
1718
  return {
1712
1719
  digit0: o,
1713
1720
  digit1: c,
@@ -1716,15 +1723,15 @@ function ot(e) {
1716
1723
  digit4: v,
1717
1724
  digit5: u,
1718
1725
  digit6: h,
1719
- digit7: m,
1720
- digit8: p,
1721
- digit9: _,
1726
+ digit7: p,
1727
+ digit8: m,
1728
+ digit9: P,
1722
1729
  keypadAccessoryButton1: H,
1723
1730
  keypadAccessoryButton2: a
1724
1731
  };
1725
1732
  }
1726
1733
  function st(e) {
1727
- const { sendMessage: t } = R(), o = D(e);
1734
+ const { sendMessage: t } = R(), o = _(e);
1728
1735
  return o ? { projectorScreenLiftControlState: o, raise: () => {
1729
1736
  t(`/device/${e}/raise`, null);
1730
1737
  }, lower: () => {
@@ -1751,7 +1758,7 @@ function lt(e) {
1751
1758
  }
1752
1759
  function it(e) {
1753
1760
  const { sendMessage: t } = R();
1754
- return { routingState: D(e), runRoute: (r) => {
1761
+ return { routingState: _(e), runRoute: (r) => {
1755
1762
  t(`/room/${e}/source`, r);
1756
1763
  } };
1757
1764
  }
@@ -1760,7 +1767,7 @@ function at(e) {
1760
1767
  return { dvrList: o, replay: c };
1761
1768
  }
1762
1769
  function ut(e) {
1763
- const { sendMessage: t } = R(), o = D(e);
1770
+ const { sendMessage: t } = R(), o = _(e);
1764
1771
  return o ? { shadeState: o, shadeUp: () => {
1765
1772
  t(`/device/${e}/shadeUp`, null);
1766
1773
  }, shadeDown: () => {
@@ -1782,7 +1789,7 @@ function dt(e) {
1782
1789
  } } : void 0;
1783
1790
  }
1784
1791
  function vt(e) {
1785
- const { sendMessage: t } = R(), o = D(e);
1792
+ const { sendMessage: t } = R(), o = _(e);
1786
1793
  return o ? { switchedOutputState: o, on: () => {
1787
1794
  t(`/device/${e}/on`, null);
1788
1795
  }, off: () => {
@@ -1798,11 +1805,11 @@ function ht(e) {
1798
1805
  } } : void 0;
1799
1806
  }
1800
1807
  function gt(e) {
1801
- const { sendMessage: t } = R(), o = D(e);
1808
+ const { sendMessage: t } = R(), o = _(e);
1802
1809
  return o ? { state: o, setTemperatureUnitsToCelcius: () => t(`${e}/setTemperatureUnitsToCelcius`, null), setTemperatureUnitsToFahrenheit: () => t(`${e}/setTemperatureUnitsToFahrenheit`, null) } : void 0;
1803
1810
  }
1804
1811
  function ft(e) {
1805
- const { sendMessage: t } = R(), o = D(e), c = (r) => {
1812
+ const { sendMessage: t } = R(), o = _(e), c = (r) => {
1806
1813
  t(`/device/${e}/saveTheme`, { value: r });
1807
1814
  };
1808
1815
  return {
@@ -1811,7 +1818,7 @@ function ft(e) {
1811
1818
  };
1812
1819
  }
1813
1820
  function wt(e) {
1814
- const t = `/device/${e}`, o = g(t, "play"), c = g(t, "pause"), r = g(t, "stop"), i = g(t, "prevTrack"), v = g(t, "nextTrack"), u = g(t, "rewind"), h = g(t, "ffwd"), m = g(t, "record");
1821
+ const t = `/device/${e}`, o = g(t, "play"), c = g(t, "pause"), r = g(t, "stop"), i = g(t, "prevTrack"), v = g(t, "nextTrack"), u = g(t, "rewind"), h = g(t, "ffwd"), p = g(t, "record");
1815
1822
  return {
1816
1823
  play: o,
1817
1824
  pause: c,
@@ -1820,11 +1827,11 @@ function wt(e) {
1820
1827
  nextTrack: v,
1821
1828
  rewind: u,
1822
1829
  fastForward: h,
1823
- record: m
1830
+ record: p
1824
1831
  };
1825
1832
  }
1826
- function mt(e) {
1827
- const t = D(e), { sendMessage: o } = R();
1833
+ function pt(e) {
1834
+ const t = _(e), { sendMessage: o } = R();
1828
1835
  return t ? {
1829
1836
  touchpanelState: t,
1830
1837
  appControl: { hideApp: () => {
@@ -1839,8 +1846,8 @@ function mt(e) {
1839
1846
  } }
1840
1847
  } : void 0;
1841
1848
  }
1842
- function pt(e) {
1843
- const t = D(e), o = O3(e), c = O1(e);
1849
+ function mt(e) {
1850
+ const t = _(e), o = k3(e), c = k1(e);
1844
1851
  if (!t) return;
1845
1852
  const r = (t.powerState || t.isWarming) && !t.isCooling, i = (!t.powerState || t.isCooling) && !t.isWarming;
1846
1853
  return {
@@ -1858,7 +1865,7 @@ const xt = ({
1858
1865
  config: e
1859
1866
  }) => {
1860
1867
  const { sendMessage: t } = R();
1861
- p1(() => {
1868
+ m1(() => {
1862
1869
  var c, r, i, v;
1863
1870
  if (!e)
1864
1871
  return;
@@ -1888,11 +1895,11 @@ const xt = ({
1888
1895
  }, [e, t]);
1889
1896
  };
1890
1897
  function Zt(e, t) {
1891
- const [o, c] = G(!1), [r, i] = G(!1);
1898
+ const [o, c] = Y(!1), [r, i] = Y(!1);
1892
1899
  return x3(() => {
1893
1900
  const { current: v } = e, u = () => {
1894
- const h = v && v.scrollHeight > v.clientHeight, m = v && v.scrollWidth > v.clientWidth;
1895
- i(h ?? !1), c(m ?? !1), t && t(h ?? !1, m ?? !1);
1901
+ const h = v && v.scrollHeight > v.clientHeight, p = v && v.scrollWidth > v.clientWidth;
1902
+ i(h ?? !1), c(p ?? !1), t && t(h ?? !1, p ?? !1);
1896
1903
  };
1897
1904
  v && u();
1898
1905
  }, [e, t]), { overflowHorizontal: o, overflowVertical: r };
@@ -1907,27 +1914,27 @@ function jt(e, t) {
1907
1914
  }
1908
1915
  function Ct(e) {
1909
1916
  var u, h;
1910
- const [t, o] = G(((u = e == null ? void 0 : e.current) == null ? void 0 : u.scrollLeft) ?? 0), [c, r] = G(((h = e == null ? void 0 : e.current) == null ? void 0 : h.scrollTop) ?? 0), i = (m) => {
1911
- const { current: p } = e;
1912
- p && (console.log(p.scrollLeft), p.scrollLeft += m, console.log(p.scrollLeft));
1913
- }, v = (m) => {
1914
- const { current: p } = e;
1915
- p && (console.log(p.scrollTop), p.scrollTop += m, console.log(p.scrollTop));
1917
+ const [t, o] = Y(((u = e == null ? void 0 : e.current) == null ? void 0 : u.scrollLeft) ?? 0), [c, r] = Y(((h = e == null ? void 0 : e.current) == null ? void 0 : h.scrollTop) ?? 0), i = (p) => {
1918
+ const { current: m } = e;
1919
+ m && (console.log(m.scrollLeft), m.scrollLeft += p, console.log(m.scrollLeft));
1920
+ }, v = (p) => {
1921
+ const { current: m } = e;
1922
+ m && (console.log(m.scrollTop), m.scrollTop += p, console.log(m.scrollTop));
1916
1923
  };
1917
1924
  return x3(() => {
1918
- const { current: m } = e, p = () => {
1919
- o((m == null ? void 0 : m.scrollLeft) ?? 0), r((m == null ? void 0 : m.scrollTop) ?? 0);
1925
+ const { current: p } = e, m = () => {
1926
+ o((p == null ? void 0 : p.scrollLeft) ?? 0), r((p == null ? void 0 : p.scrollTop) ?? 0);
1920
1927
  };
1921
- m && p();
1928
+ p && m();
1922
1929
  }, [e]), { horizontalScrollPosition: t, verticalScrollPosition: c, scrollHorizontal: i, scrollVertical: v };
1923
1930
  }
1924
1931
  function bt(e) {
1925
- const t = k1();
1932
+ const t = O1();
1926
1933
  return [() => {
1927
- t(k.addSyncState(e));
1934
+ t(O.addSyncState(e));
1928
1935
  }, () => {
1929
- t(k.removeSyncState(e));
1930
- }, pe(e)];
1936
+ t(O.removeSyncState(e));
1937
+ }, me(e)];
1931
1938
  }
1932
1939
  function yt() {
1933
1940
  const { sendMessage: e } = R();
@@ -1941,13 +1948,13 @@ function yt() {
1941
1948
  };
1942
1949
  }
1943
1950
  function It() {
1944
- const [e, t] = G(), [o, c] = G();
1951
+ const [e, t] = Y(), [o, c] = Y();
1945
1952
  function r() {
1946
1953
  t((/* @__PURE__ */ new Date()).toLocaleDateString("en-US", { dateStyle: "long" }));
1947
1954
  const i = (/* @__PURE__ */ new Date()).toLocaleTimeString("en-US", { hour12: !0, hour: "numeric", minute: "numeric" });
1948
1955
  c(i);
1949
1956
  }
1950
- return p1(() => {
1957
+ return m1(() => {
1951
1958
  r();
1952
1959
  const i = setInterval(() => {
1953
1960
  r();
@@ -1956,7 +1963,7 @@ function It() {
1956
1963
  }, []), { date: e, time: o };
1957
1964
  }
1958
1965
  const Rt = () => {
1959
- const [e, t] = G(!1), o = j2(), c = C2();
1966
+ const [e, t] = Y(!1), o = j2(), c = C2();
1960
1967
  let r;
1961
1968
  return b2(c) ? r = c.statusText : c instanceof Error ? r = c.message : typeof c == "string" ? r = c : (console.error(c), r = "Unknown error"), /* @__PURE__ */ n.jsxs("div", { className: "d-flex flex-column align-items-center gap-5", children: [
1962
1969
  /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger rounded d-flex align-items-center", children: /* @__PURE__ */ n.jsx("span", { className: "fs-5 text-white", children: "We are sorry. Something went wrong." }) }),
@@ -1992,12 +1999,12 @@ const Rt = () => {
1992
1999
  disabled: v,
1993
2000
  feedback: u,
1994
2001
  feedbackClassName: h,
1995
- onPointerDown: m,
1996
- onPointerUp: p,
1997
- onPointerLeave: _,
2002
+ onPointerDown: p,
2003
+ onPointerUp: m,
2004
+ onPointerLeave: P,
1998
2005
  ...H
1999
2006
  }) => {
2000
- const [a, Z] = G(!1), j = !v && u ? h : "", C = !v && (a || u);
2007
+ const [a, Z] = Y(!1), j = !v && u ? h : "", C = !v && (a || u);
2001
2008
  return /* @__PURE__ */ n.jsxs(
2002
2009
  "button",
2003
2010
  {
@@ -2006,13 +2013,13 @@ const Rt = () => {
2006
2013
  ...H,
2007
2014
  disabled: v,
2008
2015
  onPointerDown: (b) => {
2009
- Z(!0), m == null || m(b);
2016
+ Z(!0), p == null || p(b);
2010
2017
  },
2011
2018
  onPointerUp: (b) => {
2012
- Z(!1), p == null || p(b);
2019
+ Z(!1), m == null || m(b);
2013
2020
  },
2014
2021
  onPointerLeave: (b) => {
2015
- Z(!1), _ == null || _(b);
2022
+ Z(!1), P == null || P(b);
2016
2023
  },
2017
2024
  children: [
2018
2025
  e && /* @__PURE__ */ n.jsx(
@@ -3018,7 +3025,7 @@ const Rt = () => {
3018
3025
  active: e,
3019
3026
  disabled: o
3020
3027
  }
3021
- ), m8 = ({
3028
+ ), p8 = ({
3022
3029
  active: e,
3023
3030
  className: t = "",
3024
3031
  disabled: o
@@ -3067,7 +3074,7 @@ const Rt = () => {
3067
3074
  active: e,
3068
3075
  disabled: o
3069
3076
  }
3070
- ), p8 = ({
3077
+ ), m8 = ({
3071
3078
  active: e,
3072
3079
  // Just to shut up the linter on this template. Prefer deleting this lint rule
3073
3080
  className: t = "",
@@ -3662,8 +3669,8 @@ const Rt = () => {
3662
3669
  Power: g8,
3663
3670
  Privacy: f8,
3664
3671
  Question: w8,
3665
- RightArrow: m8,
3666
- RoomPC: p8,
3672
+ RightArrow: p8,
3673
+ RoomPC: m8,
3667
3674
  Shade: M8,
3668
3675
  Sun: x8,
3669
3676
  UpArrow: Z8,
@@ -3682,28 +3689,28 @@ function Tt({
3682
3689
  const c = t[e] ?? null;
3683
3690
  return c || console.error(`Icon ${e} not found in dictionary`), /* @__PURE__ */ n.jsx(Je, { multiIcon: c, ...o });
3684
3691
  }
3685
- const T8 = "_grid_1cmpp_1", D8 = "_header_1cmpp_11", _8 = "_content_1cmpp_17", P8 = "_footer_1cmpp_23", L8 = "_volume_1cmpp_29", l1 = {
3692
+ const T8 = "_grid_1cmpp_1", D8 = "_header_1cmpp_11", _8 = "_content_1cmpp_17", P8 = "_footer_1cmpp_23", L8 = "_volume_1cmpp_29", i1 = {
3686
3693
  grid: T8,
3687
3694
  header: D8,
3688
3695
  content: _8,
3689
3696
  footer: P8,
3690
3697
  volume: L8
3691
- }, Dt = ({ header: e, footer: t, content: o, volume: c, showVolume: r }) => /* @__PURE__ */ n.jsxs("div", { className: l1.grid, children: [
3692
- /* @__PURE__ */ n.jsx("div", { className: l1.header, children: e }),
3693
- /* @__PURE__ */ n.jsx("div", { className: l1.content, children: o }),
3694
- r && /* @__PURE__ */ n.jsx("div", { className: l1.volume, children: c }),
3695
- /* @__PURE__ */ n.jsx("div", { className: l1.footer, children: t })
3696
- ] }), $8 = "_grid_11w5q_1", A8 = "_header_11w5q_11", B8 = "_content_11w5q_17", m1 = {
3698
+ }, Dt = ({ header: e, footer: t, content: o, volume: c, showVolume: r }) => /* @__PURE__ */ n.jsxs("div", { className: i1.grid, children: [
3699
+ /* @__PURE__ */ n.jsx("div", { className: i1.header, children: e }),
3700
+ /* @__PURE__ */ n.jsx("div", { className: i1.content, children: o }),
3701
+ r && /* @__PURE__ */ n.jsx("div", { className: i1.volume, children: c }),
3702
+ /* @__PURE__ */ n.jsx("div", { className: i1.footer, children: t })
3703
+ ] }), $8 = "_grid_11w5q_1", A8 = "_header_11w5q_11", B8 = "_content_11w5q_17", p1 = {
3697
3704
  grid: $8,
3698
3705
  header: A8,
3699
3706
  content: B8
3700
- }, _t = ({ className: e, header: t, content: o, leftNav: c }) => /* @__PURE__ */ n.jsxs("div", { className: `${e} ${m1.grid}`, children: [
3701
- /* @__PURE__ */ n.jsx("div", { className: m1.header, children: t }),
3702
- c && /* @__PURE__ */ n.jsx("div", { className: m1.leftNav, children: c }),
3703
- /* @__PURE__ */ n.jsx("div", { className: m1.content, children: o })
3704
- ] }), O8 = "_grid_1uwfo_1", k8 = "_header_1uwfo_11", W8 = "_content_1uwfo_17", L1 = {
3705
- grid: O8,
3706
- header: k8,
3707
+ }, _t = ({ className: e, header: t, content: o, leftNav: c }) => /* @__PURE__ */ n.jsxs("div", { className: `${e} ${p1.grid}`, children: [
3708
+ /* @__PURE__ */ n.jsx("div", { className: p1.header, children: t }),
3709
+ c && /* @__PURE__ */ n.jsx("div", { className: p1.leftNav, children: c }),
3710
+ /* @__PURE__ */ n.jsx("div", { className: p1.content, children: o })
3711
+ ] }), k8 = "_grid_1uwfo_1", O8 = "_header_1uwfo_11", W8 = "_content_1uwfo_17", L1 = {
3712
+ grid: k8,
3713
+ header: O8,
3707
3714
  content: W8
3708
3715
  }, Pt = ({ className: e, header: t, content: o }) => /* @__PURE__ */ n.jsxs("div", { className: `${e} ${L1.grid}`, children: [
3709
3716
  /* @__PURE__ */ n.jsx("div", { className: L1.header, children: t }),
@@ -3711,9 +3718,9 @@ const T8 = "_grid_1cmpp_1", D8 = "_header_1cmpp_11", _8 = "_content_1cmpp_17", P
3711
3718
  ] });
3712
3719
  class Lt {
3713
3720
  constructor() {
3714
- K(this, "currentShareText");
3715
- K(this, "enabled");
3716
- K(this, "isSharing");
3721
+ q(this, "currentShareText");
3722
+ q(this, "enabled");
3723
+ q(this, "isSharing");
3717
3724
  }
3718
3725
  }
3719
3726
  function $t() {
@@ -3722,14 +3729,14 @@ function $t() {
3722
3729
  var V8 = /* @__PURE__ */ ((e) => (e[e.NotSet = 0] = "NotSet", e[e.Sunday = 1] = "Sunday", e[e.Monday = 2] = "Monday", e[e.Tuesday = 4] = "Tuesday", e[e.Wednesday = 8] = "Wednesday", e[e.Thursday = 16] = "Thursday", e[e.Friday = 32] = "Friday", e[e.Saturday = 64] = "Saturday", e))(V8 || {});
3723
3730
  class At {
3724
3731
  constructor(t, o) {
3725
- K(this, "path");
3726
- K(this, "handler");
3732
+ q(this, "path");
3733
+ q(this, "handler");
3727
3734
  this.path = t, this.handler = o;
3728
3735
  }
3729
3736
  }
3730
3737
  const Bt = "$off";
3731
3738
  export {
3732
- k6 as Clock,
3739
+ O6 as Clock,
3733
3740
  V8 as DaysOfWeek,
3734
3741
  Rt as ErrorBox,
3735
3742
  Je as IconButton,
@@ -3754,8 +3761,8 @@ export {
3754
3761
  g8 as IconMultiPower,
3755
3762
  f8 as IconMultiPrivacy,
3756
3763
  w8 as IconMultiQuestion,
3757
- m8 as IconMultiRightArrow,
3758
- p8 as IconMultiRoomPC,
3764
+ p8 as IconMultiRightArrow,
3765
+ m8 as IconMultiRoomPC,
3759
3766
  M8 as IconMultiShade,
3760
3767
  x8 as IconMultiSun,
3761
3768
  Et as IconMultiTemplate,
@@ -3804,12 +3811,12 @@ export {
3804
3811
  W1 as selectModalVisibility,
3805
3812
  E2 as selectPartnerMetadata,
3806
3813
  Y2 as selectRoomAdvancedSharingActive,
3807
- O2 as selectRoomAudioControlPointList,
3814
+ k2 as selectRoomAudioControlPointList,
3808
3815
  P2 as selectRoomByKey,
3809
3816
  H2 as selectRoomCodecContentDestinationKey,
3810
3817
  D2 as selectRoomConfiguration,
3811
3818
  W2 as selectRoomDestinationList,
3812
- k2 as selectRoomDestinations,
3819
+ O2 as selectRoomDestinations,
3813
3820
  X2 as selectRoomDisplayStates,
3814
3821
  V2 as selectRoomEnvironmentalDevices,
3815
3822
  F2 as selectRoomInCall,
@@ -3835,13 +3842,13 @@ export {
3835
3842
  ee as selectWsIsConnected,
3836
3843
  J2 as selectZoomRoomControllerKey,
3837
3844
  Ae as store,
3838
- k as uiActions,
3845
+ O as uiActions,
3839
3846
  xe as uiReducer,
3840
3847
  z8 as useApiPath,
3841
3848
  Y8 as useAppConfig,
3842
- k1 as useAppDispatch,
3849
+ O1 as useAppDispatch,
3843
3850
  w as useAppSelector,
3844
- O6 as useAvrControl,
3851
+ k6 as useAvrControl,
3845
3852
  g as useButtonHeldHeartbeat,
3846
3853
  G6 as useCameraBase,
3847
3854
  M6 as useClientId,
@@ -3855,12 +3862,12 @@ export {
3855
3862
  Q8 as useGetAllDevices,
3856
3863
  e6 as useGetAllRooms,
3857
3864
  T6 as useGetCurrentPopoverIdForGroup,
3858
- D as useGetDevice,
3865
+ _ as useGetDevice,
3859
3866
  A6 as useGetIBasicVolume,
3860
3867
  B6 as useGetIBasicVolumeWithFeedback,
3861
3868
  t6 as useGetRoom,
3862
3869
  w6 as useGetRoomDisplayStates,
3863
- m6 as useGetZoomRoomControllerKey,
3870
+ p6 as useGetZoomRoomControllerKey,
3864
3871
  Z1 as useIBasicVolume,
3865
3872
  B3 as useIBasicVolumeWithFeedback,
3866
3873
  U6 as useIChannel,
@@ -3872,8 +3879,8 @@ export {
3872
3879
  z6 as useIDvr,
3873
3880
  J6 as useIEssentialsRoomCombiner,
3874
3881
  X6 as useIHasCameras,
3875
- O3 as useIHasPowerControl,
3876
- O1 as useIHasSelectableItems,
3882
+ k3 as useIHasPowerControl,
3883
+ k1 as useIHasSelectableItems,
3877
3884
  Q6 as useIHumiditySensor,
3878
3885
  N6 as useILevelControls,
3879
3886
  et as useILightingScenes,
@@ -3894,10 +3901,10 @@ export {
3894
3901
  ft as useITheme,
3895
3902
  wt as useITransport,
3896
3903
  L6 as useInitialize,
3897
- pe as useIsSyncStateValuePresent,
3904
+ me as useIsSyncStateValuePresent,
3898
3905
  b6 as useIsTouchpanel,
3899
3906
  J8 as useLogoPath,
3900
- mt as useMobileControlTouchpanelController,
3907
+ pt as useMobileControlTouchpanelController,
3901
3908
  Zt as useOverflow,
3902
3909
  X8 as usePartnerMetadata,
3903
3910
  Fe as usePressHoldRelease,
@@ -3914,7 +3921,7 @@ export {
3914
3921
  v6 as useRoomIsCoolingDown,
3915
3922
  h6 as useRoomIsOn,
3916
3923
  d6 as useRoomIsWarmingUp,
3917
- p6 as useRoomKey,
3924
+ m6 as useRoomKey,
3918
3925
  N2 as useRoomLevelControls,
3919
3926
  n6 as useRoomName,
3920
3927
  i6 as useRoomProgramAudioDestinationKey,
@@ -3928,7 +3935,7 @@ export {
3928
3935
  R6 as useShowIncomingCallModal,
3929
3936
  E6 as useShowModal,
3930
3937
  D6 as useShowPopoverById,
3931
- me as useShowReconnect,
3938
+ pe as useShowReconnect,
3932
3939
  I6 as useShowShutdownModal,
3933
3940
  bt as useStateIsSynced,
3934
3941
  yt as useSystemControl,
@@ -3936,7 +3943,7 @@ export {
3936
3943
  _6 as useTheme,
3937
3944
  It as useTimeAndDate,
3938
3945
  C6 as useTouchpanelKey,
3939
- pt as useTwoWayDisplayBase,
3946
+ mt as useTwoWayDisplayBase,
3940
3947
  Z6 as useUserCode,
3941
3948
  R as useWebsocketContext,
3942
3949
  C3 as useWsIsConnected,