@pepperdash/mobile-control-react-app-core 1.25.0-feat-deprecate-interfaces-array.5 → 1.25.0-feat-essentials-v3.1

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,132 +1,132 @@
1
1
  var w2 = Object.defineProperty;
2
- var p2 = (e, t, o) => t in e ? w2(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o;
3
- var q = (e, t, o) => p2(e, typeof t != "symbol" ? t + "" : t, o);
4
- import M3, { AxiosError as m2 } from "axios";
2
+ var m2 = (e, t, o) => t in e ? w2(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o;
3
+ var q = (e, t, o) => m2(e, typeof t != "symbol" ? t + "" : t, o);
4
+ import M3, { AxiosError as p2 } from "axios";
5
5
  import { useDispatch as M2, useSelector as x2, Provider as Z2 } from "react-redux";
6
- import { createSelector as M, createSlice as d1, combineReducers as S2, configureStore as j2 } from "@reduxjs/toolkit";
7
- import x3, { createContext as C2, useEffect as x1, useCallback as r1, useContext as b2, useRef as u1, useMemo as X, useState as Y, useLayoutEffect as Z3 } from "react";
6
+ import { createSelector as M, createSlice as v1, combineReducers as S2, configureStore as j2 } from "@reduxjs/toolkit";
7
+ import x3, { createContext as C2, useEffect as Z1, useCallback as l1, useContext as b2, useRef as d1, useMemo as N, useState as Y, useLayoutEffect as Z3 } from "react";
8
8
  import { useNavigate as y2, useRouteError as I2, isRouteErrorResponse as R2 } from "react-router-dom";
9
9
  import * as S3 from "lodash";
10
- const W1 = M2.withTypes(), p = x2.withTypes(), Z1 = (e) => e.appConfig, E2 = M(
11
- Z1,
10
+ const W1 = M2.withTypes(), m = x2.withTypes(), S1 = (e) => e.appConfig, E2 = M(
11
+ S1,
12
12
  (e) => e.config
13
13
  ), T2 = M(
14
- Z1,
14
+ S1,
15
15
  (e) => e.config.apiPath
16
16
  ), D2 = M(
17
- Z1,
17
+ S1,
18
18
  (e) => e.config.logoPath
19
19
  ), _2 = M(
20
- Z1,
20
+ S1,
21
21
  (e) => e.config.partnerMetadata
22
- ), X8 = () => p(E2), Q8 = () => p(T2), N8 = () => p(D2), e6 = () => p(_2), j3 = (e) => e.devices, C3 = M(
22
+ ), X8 = () => m(E2), Q8 = () => m(T2), N8 = () => m(D2), e6 = () => m(_2), j3 = (e) => e.devices, C3 = M(
23
23
  j3,
24
24
  (e) => e
25
- ), A2 = (e) => M(
25
+ ), $2 = (e) => M(
26
26
  j3,
27
27
  (t) => t[e] ? t[e] : void 0
28
- ), t6 = () => p(C3);
28
+ ), t6 = () => m(C3);
29
29
  function D(e) {
30
- return p(A2(e));
30
+ return m($2(e));
31
31
  }
32
- const P = (e) => e.rooms, $2 = (e) => M(
33
- P,
32
+ const A = (e) => e.rooms, P2 = (e) => M(
33
+ A,
34
34
  (t) => t[e] ? t[e].configuration : void 0
35
35
  ), L2 = M(
36
- P,
36
+ A,
37
37
  (e) => e
38
- ), P2 = (e) => M(
39
- P,
38
+ ), A2 = (e) => M(
39
+ A,
40
40
  (t) => t[e] ? t[e] : void 0
41
- ), B2 = (e) => M(
42
- P,
41
+ ), O2 = (e) => M(
42
+ A,
43
43
  (t) => t[e] ? t[e].name : void 0
44
- ), O2 = (e, t) => M(
45
- P,
44
+ ), B2 = (e, t) => M(
45
+ A,
46
46
  (o) => o[e] ? o[e].volumes[t] : void 0
47
47
  ), k2 = (e) => M(
48
- P,
48
+ A,
49
49
  (t) => t[e] ? t[e] : void 0
50
50
  ), W2 = (e) => M(
51
- P,
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
- P,
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
- P,
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
- ), F2 = (e) => M(
69
- P,
68
+ ), H2 = (e) => M(
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
- ), H2 = (e) => M(
75
- P,
74
+ ), F2 = (e) => M(
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
- P,
81
+ A,
82
82
  (t) => {
83
- var o, c, r, l, u, g, h, f;
84
- return (c = (o = t[e]) == null ? void 0 : o.configuration) != null && c.destinationList.programAudio ? (u = (l = (r = t[e]) == null ? void 0 : r.configuration) == null ? void 0 : l.destinationList.programAudio) == null ? void 0 : u.sinkKey : ((f = (h = (g = t[e]) == null ? void 0 : g.configuration) == null ? void 0 : h.destinationList.defaultDisplay) == null ? void 0 : f.sinkKey) || "";
83
+ var o, c, r, l, a, g, h, f;
84
+ return (c = (o = t[e]) == null ? void 0 : o.configuration) != null && c.destinationList.programAudio ? (a = (l = (r = t[e]) == null ? void 0 : r.configuration) == null ? void 0 : l.destinationList.programAudio) == null ? void 0 : a.sinkKey : ((f = (h = (g = t[e]) == null ? void 0 : g.configuration) == null ? void 0 : h.destinationList.defaultDisplay) == null ? void 0 : f.sinkKey) || "";
85
85
  }
86
86
  ), q2 = (e) => M(
87
- P,
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
- P,
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
- P,
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
- P,
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
- P,
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
- P,
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
- P,
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
- P,
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;
@@ -147,21 +147,21 @@ const P = (e) => e.rooms, $2 = (e) => M(
147
147
  }
148
148
  );
149
149
  function n6(e) {
150
- return p(
151
- $2(e)
150
+ return m(
151
+ P2(e)
152
152
  );
153
153
  }
154
154
  function o6() {
155
- return p(L2);
155
+ return m(L2);
156
156
  }
157
- function S1(e) {
158
- return p(P2(e));
157
+ function j1(e) {
158
+ return m(A2(e));
159
159
  }
160
- const s6 = S1, c6 = (e) => p(
161
- B2(e)
162
- ), te = (e, t) => p(
163
- O2(e, t)
164
- ), ne = (e) => p(k2(e)) || void 0, r6 = (e) => p(W2(e)), l6 = (e) => p(V2(e)), i6 = (e) => p(U2(e)), a6 = (e) => p(F2(e)), u6 = (e) => p(H2(e)), d6 = (e) => p(K2(e)), v6 = (e) => p(q2(e)), h6 = (e) => p(G2(e)), g6 = (e) => p(Y2(e)), f6 = (e) => p(z2(e)), w6 = (e) => p(J2(e)), p6 = (e) => p(X2(e)), m6 = (e) => p(Q2(e)), M6 = (e) => p((t) => ee(t, e)), x6 = (e) => p(N2(e)), G = (e) => e.runtimeConfig, oe = M(
160
+ const s6 = j1, c6 = (e) => m(
161
+ O2(e)
162
+ ), te = (e, t) => m(
163
+ B2(e, t)
164
+ ), ne = (e) => m(k2(e)) || void 0, r6 = (e) => m(W2(e)), l6 = (e) => m(V2(e)), i6 = (e) => m(U2(e)), a6 = (e) => m(H2(e)), u6 = (e) => m(F2(e)), d6 = (e) => m(K2(e)), v6 = (e) => m(q2(e)), h6 = (e) => m(G2(e)), g6 = (e) => m(Y2(e)), f6 = (e) => m(z2(e)), w6 = (e) => m(J2(e)), m6 = (e) => m(X2(e)), p6 = (e) => m(Q2(e)), M6 = (e) => m((t) => ee(t, e)), x6 = (e) => m(N2(e)), G = (e) => e.runtimeConfig, oe = M(
165
165
  G,
166
166
  (e) => e.websocket.isConnected
167
167
  ), se = M(
@@ -203,7 +203,7 @@ const s6 = S1, c6 = (e) => p(
203
203
  ), ve = (e, t) => M(
204
204
  y3(e),
205
205
  (o) => o.includes(t)
206
- ), I3 = () => p(oe), Z6 = () => p(se), S6 = () => p(ce), j6 = () => p(re), C6 = () => p(le), b6 = () => p(ie), y6 = () => p(ae), I6 = () => p(ue), R6 = () => p(de), E6 = () => p(b3), T6 = (e) => p(y3(e)), D6 = (e, t) => p(ve(e, t)), e1 = (e) => e.ui, V1 = (e) => M(e1, (t) => t.modalVisibility[e]), he = (e) => M(e1, (t) => {
206
+ ), I3 = () => m(oe), Z6 = () => m(se), S6 = () => m(ce), j6 = () => m(re), C6 = () => m(le), b6 = () => m(ie), y6 = () => m(ae), I6 = () => m(ue), R6 = () => m(de), E6 = () => m(b3), T6 = (e) => m(y3(e)), D6 = (e, t) => m(ve(e, t)), e1 = (e) => e.ui, V1 = (e) => M(e1, (t) => t.modalVisibility[e]), he = (e) => M(e1, (t) => {
207
207
  const o = t.popoverVisibility[e];
208
208
  if (o)
209
209
  return Object.keys(o).find((c) => o[c]);
@@ -216,7 +216,7 @@ const s6 = S1, c6 = (e) => p(
216
216
  ), fe = M(e1, (e) => e.error), we = M(
217
217
  e1,
218
218
  (e) => e.showReconnect
219
- ), pe = M(e1, (e) => e.theme), me = (e) => M(e1, (t) => t.syncState.includes(e)), _6 = () => p(V1("showShutdownModal")), A6 = () => p(V1("showIncomingCallModal")), $6 = (e) => p(V1(e)), L6 = (e) => p(he(e)), P6 = (e, t) => p(ge(e, t)), Me = () => p(fe), xe = () => p(we), B6 = () => p(pe), Ze = (e) => p(me(e)), Se = {
219
+ ), me = M(e1, (e) => e.theme), pe = (e) => M(e1, (t) => t.syncState.includes(e)), _6 = () => m(V1("showShutdownModal")), $6 = () => m(V1("showIncomingCallModal")), P6 = (e) => m(V1(e)), L6 = (e) => m(he(e)), A6 = (e, t) => m(ge(e, t)), Me = () => m(fe), xe = () => m(we), O6 = () => m(me), Ze = (e) => m(pe(e)), Se = {
220
220
  showReconnect: !1,
221
221
  error: "",
222
222
  modalVisibility: {
@@ -225,7 +225,7 @@ const s6 = S1, c6 = (e) => p(
225
225
  },
226
226
  popoverVisibility: {},
227
227
  syncState: []
228
- }, R3 = d1({
228
+ }, R3 = v1({
229
229
  name: "ui",
230
230
  initialState: Se,
231
231
  reducers: {
@@ -271,7 +271,7 @@ const s6 = S1, c6 = (e) => p(
271
271
  e.syncState = [];
272
272
  }
273
273
  }
274
- }), k = R3.actions, je = R3.reducer, Ce = {
274
+ }), W = R3.actions, je = R3.reducer, Ce = {
275
275
  config: {
276
276
  enableDev: !1,
277
277
  apiPath: "",
@@ -281,7 +281,7 @@ const s6 = S1, c6 = (e) => p(
281
281
  loginMode: "",
282
282
  modes: {}
283
283
  }
284
- }, E3 = d1({
284
+ }, E3 = v1({
285
285
  name: "appConfig",
286
286
  initialState: Ce,
287
287
  reducers: {
@@ -289,14 +289,14 @@ const s6 = S1, c6 = (e) => p(
289
289
  e.config = t.payload;
290
290
  }
291
291
  }
292
- }), T3 = E3.actions, be = E3.reducer, v3 = {}, B1 = d1({
292
+ }), T3 = E3.actions, be = E3.reducer, v3 = {}, O1 = v1({
293
293
  name: "devices",
294
294
  initialState: v3,
295
295
  reducers: {
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] ?? {}, u = S3.mergeWith(
299
+ const r = t.payload.content, l = e[c] ?? {}, a = S3.mergeWith(
300
300
  {},
301
301
  l,
302
302
  r,
@@ -304,16 +304,16 @@ const s6 = S1, c6 = (e) => p(
304
304
  if (Array.isArray(h)) return h.slice();
305
305
  }
306
306
  );
307
- e[c] = u;
307
+ e[c] = a;
308
308
  },
309
309
  clearDevices() {
310
310
  return v3;
311
311
  }
312
312
  }
313
- }), w1 = {
314
- setDeviceState: B1.actions.setDeviceState,
315
- clearDevices: B1.actions.clearDevices
316
- }, ye = B1.reducer;
313
+ }), m1 = {
314
+ setDeviceState: O1.actions.setDeviceState,
315
+ clearDevices: O1.actions.clearDevices
316
+ }, ye = O1.reducer;
317
317
  class Ie {
318
318
  constructor() {
319
319
  q(this, "uuid", "current-uuid");
@@ -329,26 +329,26 @@ function Re(e) {
329
329
  function Ee(e, t) {
330
330
  sessionStorage.setItem(e, t);
331
331
  }
332
- const g3 = {}, O1 = d1({
332
+ const g3 = {}, B1 = v1({
333
333
  name: "rooms",
334
334
  initialState: g3,
335
335
  reducers: {
336
336
  setRoomState(e, t) {
337
337
  const o = t.payload.type, c = o.slice(o.lastIndexOf("/") + 1);
338
338
  if (!c) return;
339
- const r = t.payload.content, l = e[c] ?? {}, u = S3.mergeWith({}, l, r, (g, h) => {
339
+ const r = t.payload.content, l = e[c] ?? {}, a = S3.mergeWith({}, l, r, (g, h) => {
340
340
  if (Array.isArray(h)) return h;
341
341
  });
342
- e[c] = u;
342
+ e[c] = a;
343
343
  },
344
344
  clearRooms() {
345
345
  return g3;
346
346
  }
347
347
  }
348
348
  }), p1 = {
349
- setRoomState: O1.actions.setRoomState,
350
- clearRooms: O1.actions.clearRooms
351
- }, Te = O1.reducer, De = {
349
+ setRoomState: B1.actions.setRoomState,
350
+ clearRooms: B1.actions.clearRooms
351
+ }, Te = B1.reducer, De = {
352
352
  apiVersion: "",
353
353
  serverIsRunningOnProcessorHardware: !1,
354
354
  websocket: {
@@ -379,7 +379,7 @@ const g3 = {}, O1 = d1({
379
379
  userCode: "",
380
380
  qrUrl: ""
381
381
  }
382
- }, D3 = d1({
382
+ }, D3 = v1({
383
383
  name: "runtimeConfig",
384
384
  initialState: De,
385
385
  reducers: {
@@ -414,83 +414,96 @@ const g3 = {}, O1 = d1({
414
414
  e.touchpanelKey = t.payload;
415
415
  }
416
416
  }
417
- }), U = D3.actions, _e = D3.reducer, $1 = M3.create(), _3 = "websocket/connect", A3 = "websocket/disconnect", $3 = "websocket/sendMessage", L3 = "websocket/addEventHandler", P3 = "websocket/removeEventHandler", B3 = "websocket/reconnect", O3 = () => ({ type: _3 }), O6 = () => ({ type: A3 }), Ae = (e, t) => ({
418
- type: $3,
417
+ }), U = D3.actions, _e = D3.reducer, P1 = M3.create(), _3 = "websocket/connect", $3 = "websocket/disconnect", P3 = "websocket/sendMessage", L3 = "websocket/addEventHandler", A3 = "websocket/removeEventHandler", O3 = "websocket/reconnect", B3 = () => ({ type: _3 }), B6 = () => ({ type: $3 }), $e = (e, t) => ({
418
+ type: P3,
419
419
  payload: { messageType: e, content: t }
420
- }), $e = (e, t, o) => ({
420
+ }), Pe = (e, t, o) => ({
421
421
  type: L3,
422
422
  payload: { eventType: e, key: t, callback: o }
423
423
  }), Le = (e, t) => ({
424
- type: P3,
424
+ type: A3,
425
425
  payload: { eventType: e, key: t }
426
- }), Pe = () => ({ type: B3 }), Be = () => {
426
+ }), Ae = () => ({ type: O3 }), Oe = () => {
427
427
  const e = {
428
428
  client: null,
429
429
  token: null,
430
430
  waitingToReconnect: !1,
431
431
  reconnectTimer: null,
432
432
  eventHandlers: {}
433
- }, t = async (a) => {
433
+ }, t = async (u) => {
434
434
  try {
435
- const Z = location.pathname.split("/").filter((b) => b.length > 0);
435
+ const Z = location.pathname.split("/").filter((C) => C.length > 0);
436
436
  Z.length >= 5 ? Z.length = 5 : Z.length = 2;
437
- const C = `/${Z.join("/")}`, S = await $1.get(
437
+ const j = `/${Z.join("/")}`, S = await P1.get(
438
438
  "/_local-config/_config.local.json",
439
- { baseURL: C }
439
+ { baseURL: j }
440
440
  );
441
441
  if (S.status === 200 && S.data) {
442
- const b = S.data.apiPath;
443
- a(T3.setAppConfig(S.data));
444
- const x = await $1.get(
445
- `${b}/version`
442
+ const C = S.data.apiPath;
443
+ u(T3.setAppConfig(S.data));
444
+ const x = await P1.get(
445
+ `${C}/version`
446
446
  );
447
- x.status === 200 && x.data && a(U.setRuntimeConfig(x.data));
447
+ x.status === 200 && x.data && u(U.setRuntimeConfig(x.data));
448
448
  }
449
449
  } catch (Z) {
450
450
  console.error("Error getting config", Z);
451
451
  }
452
452
  return !0;
453
- }, o = async (a, Z, C) => {
453
+ }, o = async (u, Z, j) => {
454
454
  try {
455
- const S = await $1.get(
456
- `${a}/ui/joinroom?token=${Z}`
455
+ const S = await P1.get(
456
+ `${u}/ui/joinroom?token=${Z}`
457
457
  );
458
- return S.status === 200 && S.data ? (C(U.setRoomData(S.data)), S.data) : null;
458
+ return S.status === 200 && S.data ? (j(U.setRoomData(S.data)), S.data) : null;
459
459
  } catch (S) {
460
- return console.log(S), S instanceof m2 && S.response && S.response.status === 498 ? (console.error("Invalid token. Unable to join room"), C(
461
- k.setErrorMessage(
460
+ return console.log(S), S instanceof p2 && S.response && S.response.status === 498 ? (console.error("Invalid token. Unable to join room"), j(
461
+ W.setErrorMessage(
462
462
  `Token ${Z} is invalid. Unable to join room`
463
463
  )
464
- ), null) : (console.error("Error getting room data", S), S instanceof Error ? C(k.setErrorMessage(S.message)) : C(k.setErrorMessage("Error getting room data")), null);
464
+ ), null) : (console.error("Error getting room data", S), S instanceof Error ? j(W.setErrorMessage(S.message)) : j(W.setErrorMessage("Error getting room data")), null);
465
465
  }
466
- }, c = (a) => {
466
+ }, c = (u) => {
467
467
  e.reconnectTimer && (clearTimeout(e.reconnectTimer), e.reconnectTimer = null), console.log("WebSocket middleware: Starting reconnection loop..."), e.reconnectTimer = setTimeout(() => {
468
- e.waitingToReconnect = !1, e.reconnectTimer = null, console.log("WebSocket middleware: Attempting automatic reconnection..."), a(O3());
468
+ e.waitingToReconnect = !1, e.reconnectTimer = null, console.log("WebSocket middleware: Attempting automatic reconnection..."), u(B3());
469
469
  }, 5e3);
470
470
  }, r = () => {
471
471
  e.reconnectTimer && (console.log("WebSocket middleware: Stopping reconnection loop"), clearTimeout(e.reconnectTimer), e.reconnectTimer = null);
472
- }, l = (a) => {
473
- a(k.setShowReconnect(!0)), a(U.setWebsocketIsConnected(!1)), a(w1.clearDevices()), a(p1.clearRooms()), a(k.clearAllModals()), a(k.clearSyncState());
474
- }, u = (a, Z) => {
475
- const C = a(), S = Z ?? C.runtimeConfig.roomData.roomKey, { clientId: b } = C.runtimeConfig.roomData, x = C.runtimeConfig.websocket.isConnected;
476
- if (!Z || !x || !b) {
472
+ }, l = (u) => {
473
+ u(W.setShowReconnect(!0)), u(U.setWebsocketIsConnected(!1)), u(m1.clearDevices()), u(p1.clearRooms()), u(W.clearAllModals()), u(W.clearSyncState());
474
+ }, a = (u, Z) => {
475
+ var F;
476
+ const j = u(), S = Z ?? j.runtimeConfig.roomData.roomKey, { clientId: C } = j.runtimeConfig.roomData, x = j.runtimeConfig.websocket.isConnected, O = (F = j.runtimeConfig.roomData.config) == null ? void 0 : F.runtimeInfo.essentialsVersion;
477
+ console.log("WebSocket middleware: Essentials version", {
478
+ essentialsVersion: O
479
+ });
480
+ const o1 = O == null ? void 0 : O.startsWith("3.");
481
+ if (!Z || !x || !C) {
477
482
  console.log("WebSocket middleware: Cannot request room status", {
478
483
  hasRoomKey: !!Z,
479
484
  isConnected: x,
480
- hasClientId: !!b
485
+ hasClientId: !!C
481
486
  });
482
487
  return;
483
488
  }
484
- console.log("WebSocket middleware: Requesting status from room:", Z), e.client && x && e.client.send(
489
+ console.log("WebSocket middleware: Requesting status from room:", Z), e.client && x && (o1 ? (console.log(
490
+ "WebSocket middleware: Essentials V3 detected, requesting additional status..."
491
+ ), e.client.send(
492
+ JSON.stringify({
493
+ type: `/room/${S}/fullStatus`,
494
+ clientId: C,
495
+ content: null
496
+ })
497
+ )) : e.client.send(
485
498
  JSON.stringify({
486
499
  type: `/room/${S}/status`,
487
- clientId: b,
500
+ clientId: C,
488
501
  content: null
489
502
  })
490
- );
491
- }, g = async (a, Z) => {
503
+ ));
504
+ }, g = async (u, Z) => {
492
505
  console.log("WebSocket middleware: Attempting to connect...");
493
- const C = Z(), { apiPath: S } = C.appConfig.config, { serverIsRunningOnProcessorHardware: b } = C.runtimeConfig;
506
+ const j = Z(), { apiPath: S } = j.appConfig.config, { serverIsRunningOnProcessorHardware: C } = j.runtimeConfig;
494
507
  if (!S || !e.token) {
495
508
  console.log(
496
509
  "WebSocket middleware: Cannot connect - missing requirements",
@@ -513,47 +526,47 @@ const g3 = {}, O1 = d1({
513
526
  }
514
527
  e.waitingToReconnect = !0;
515
528
  try {
516
- const x = await o(S, e.token, a);
529
+ const x = await o(S, e.token, u);
517
530
  if (!x) {
518
531
  console.log(
519
532
  "WebSocket middleware: Failed to get room data, will retry..."
520
- ), c(a);
533
+ ), c(u);
521
534
  return;
522
535
  }
523
536
  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);
525
- e.client = K, K.onopen = (B) => {
537
+ const o1 = `${S.replace("http", "ws")}/ui/join/${e.token}?clientId=${x.clientId}`, F = new WebSocket(o1);
538
+ e.client = F, F.onopen = (B) => {
526
539
  console.log("WebSocket middleware: Connected", B.type, B.target), e.waitingToReconnect = !1, r(), setTimeout(() => {
527
- e.client === K && K.readyState === WebSocket.OPEN && a(U.setWebsocketIsConnected(!0));
540
+ e.client === F && F.readyState === WebSocket.OPEN && u(U.setWebsocketIsConnected(!0));
528
541
  }, 100);
529
- }, K.onerror = (B) => {
530
- console.error("WebSocket middleware: Error", B), l(a);
531
- }, K.onclose = (B) => {
542
+ }, F.onerror = (B) => {
543
+ console.error("WebSocket middleware: Error", B), l(u);
544
+ }, F.onclose = (B) => {
532
545
  var _;
533
546
  if (console.log(
534
547
  "WebSocket middleware: Disconnected",
535
548
  B.reason,
536
549
  B.code
537
550
  ), B.code === 4100) {
538
- console.log("WebSocket middleware: Closed by client (cleanup)"), r(), l(a);
551
+ console.log("WebSocket middleware: Closed by client (cleanup)"), r(), l(u);
539
552
  return;
540
553
  }
541
554
  if (e.waitingToReconnect = !0, B.code === 4e3) {
542
- console.log("WebSocket middleware: User code changed"), r(), a(
555
+ console.log("WebSocket middleware: User code changed"), r(), u(
543
556
  U.setUserCode({ userCode: "", qrUrl: "" })
544
- ), a(
545
- k.setErrorMessage(
557
+ ), u(
558
+ W.setErrorMessage(
546
559
  "User code changed. Click reconnect to enter the new code"
547
560
  )
548
- ), l(a);
561
+ ), l(u);
549
562
  return;
550
563
  }
551
564
  if (B.code === 4002) {
552
- console.log("WebSocket middleware: Room combination changed"), r(), a(
553
- k.setErrorMessage(
565
+ console.log("WebSocket middleware: Room combination changed"), r(), u(
566
+ W.setErrorMessage(
554
567
  "Room combination changed. Click Reconnect to re-join the room"
555
568
  )
556
- ), l(a);
569
+ ), l(u);
557
570
  return;
558
571
  }
559
572
  if (B.code === 4001)
@@ -561,18 +574,18 @@ const g3 = {}, O1 = d1({
561
574
  console.log(
562
575
  "WebSocket middleware: Code 4001 received with touchpanel key present, will auto-reconnect"
563
576
  );
564
- else if (b)
577
+ else if (C)
565
578
  console.log(
566
579
  "WebSocket middleware: Code 4001 on processor hardware (no touchpanel key), will auto-reconnect"
567
580
  );
568
581
  else {
569
582
  console.log(
570
583
  "WebSocket middleware: Processor disconnected (no touchpanel key, not on processor hardware)"
571
- ), r(), a(
572
- k.setErrorMessage(
584
+ ), r(), u(
585
+ W.setErrorMessage(
573
586
  "Processor has disconnected. Click Reconnect to continue."
574
587
  )
575
- ), l(a);
588
+ ), l(u);
576
589
  return;
577
590
  }
578
591
  if (e.client)
@@ -583,36 +596,36 @@ const g3 = {}, O1 = d1({
583
596
  console.log("WebSocket middleware: Closed by client");
584
597
  return;
585
598
  }
586
- e.client = null, console.log("WebSocket middleware: Clearing state on disconnect"), a(
587
- k.setErrorMessage(
599
+ e.client = null, console.log("WebSocket middleware: Clearing state on disconnect"), u(
600
+ W.setErrorMessage(
588
601
  "Connection lost. Attempting to reconnect..."
589
602
  )
590
- ), a(U.setWebsocketIsConnected(!1)), a(w1.clearDevices()), a(p1.clearRooms()), a(k.clearAllModals()), a(k.clearSyncState()), c(a);
591
- }, K.onmessage = (B) => {
603
+ ), u(U.setWebsocketIsConnected(!1)), u(m1.clearDevices()), u(p1.clearRooms()), u(W.clearAllModals()), u(W.clearSyncState()), c(u);
604
+ }, F.onmessage = (B) => {
592
605
  try {
593
606
  const _ = JSON.parse(B.data);
594
607
  if (_.type === "close") {
595
- K.close(4001, _.content);
608
+ F.close(4001, _.content);
596
609
  return;
597
610
  }
598
611
  if (_.type.startsWith("/system/"))
599
612
  switch (_.type) {
600
613
  case "/system/touchpanelKey":
601
- a(
614
+ u(
602
615
  U.setTouchpanelKey(
603
616
  _.content
604
617
  )
605
618
  );
606
619
  break;
607
620
  case "/system/roomKey":
608
- a(p1.clearRooms()), a(w1.clearDevices()), a(k.clearSyncState()), a(
621
+ u(p1.clearRooms()), u(m1.clearDevices()), u(W.clearSyncState()), u(
609
622
  U.setCurrentRoomKey(
610
623
  _.content
611
624
  )
612
625
  );
613
626
  break;
614
627
  case "/system/userCodeChanged":
615
- a(
628
+ u(
616
629
  U.setUserCode(_.content)
617
630
  );
618
631
  break;
@@ -621,7 +634,7 @@ const g3 = {}, O1 = d1({
621
634
  break;
622
635
  case "/system/deviceInterfaces": {
623
636
  const z = _.content;
624
- a(
637
+ u(
625
638
  U.setDeviceInterfaces(
626
639
  z.deviceInterfaces
627
640
  )
@@ -640,9 +653,9 @@ const g3 = {}, O1 = d1({
640
653
  z || console.log(
641
654
  "WebSocket middleware: No handlers found for event type",
642
655
  _.type
643
- ), z && Object.values(z).forEach((o1) => {
656
+ ), z && Object.values(z).forEach((s1) => {
644
657
  try {
645
- o1(_);
658
+ s1(_);
646
659
  } catch (b1) {
647
660
  console.error(
648
661
  "WebSocket middleware: Event handler error",
@@ -650,7 +663,7 @@ const g3 = {}, O1 = d1({
650
663
  );
651
664
  }
652
665
  });
653
- } else _.type.startsWith("/room/") ? a(p1.setRoomState(_)) : _.type.startsWith("/device/") && a(w1.setDeviceState(_));
666
+ } else _.type.startsWith("/room/") ? u(p1.setRoomState(_)) : _.type.startsWith("/device/") && u(m1.setDeviceState(_));
654
667
  } catch (_) {
655
668
  console.error("WebSocket middleware: Message handling error", _);
656
669
  }
@@ -660,78 +673,78 @@ const g3 = {}, O1 = d1({
660
673
  }
661
674
  }, h = () => {
662
675
  e.client && (console.log("WebSocket middleware: Disconnecting"), r(), e.client.close(4100, "Client requested disconnect"), e.client = null);
663
- }, f = (a, Z, C) => {
664
- const S = C(), b = S.runtimeConfig.websocket.isConnected, x = S.runtimeConfig.roomData.clientId;
665
- e.client && b ? e.client.send(
666
- JSON.stringify({ type: a, clientId: x, content: Z })
676
+ }, f = (u, Z, j) => {
677
+ const S = j(), C = S.runtimeConfig.websocket.isConnected, x = S.runtimeConfig.roomData.clientId;
678
+ e.client && C ? e.client.send(
679
+ JSON.stringify({ type: u, clientId: x, content: Z })
667
680
  ) : 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
- }, A = (a, Z) => {
671
- e.eventHandlers[a] && (delete e.eventHandlers[a][Z], console.log(
681
+ }, d = (u, Z, j) => {
682
+ e.eventHandlers[u] || (e.eventHandlers[u] = {}), e.eventHandlers[u][Z] = j, console.log("WebSocket middleware: Event handler added", u, Z);
683
+ }, $ = (u, Z) => {
684
+ e.eventHandlers[u] && (delete e.eventHandlers[u][Z], console.log(
672
685
  "WebSocket middleware: Event handler removed",
673
- a,
686
+ u,
674
687
  Z
675
688
  ));
676
- }, F = (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}`;
678
- window.location.href = x ? `${W}&Code=${x}` : W;
689
+ }, H = (u) => {
690
+ const Z = u(), { gatewayAppPath: j } = Z.appConfig.config, S = Z.runtimeConfig.roomData.roomKey, C = Z.runtimeConfig.roomData.systemUuid, x = Z.runtimeConfig.roomData.userCode, O = `${j}?uuid=${C}&roomKey=${S}`;
691
+ window.location.href = x ? `${O}&Code=${x}` : O;
679
692
  };
680
- return (a) => (Z) => (C) => {
681
- const S = Z(C);
682
- if (!C || typeof C != "object" || !("type" in C))
693
+ return (u) => (Z) => (j) => {
694
+ const S = Z(j);
695
+ if (!j || typeof j != "object" || !("type" in j))
683
696
  return S;
684
- const b = C;
697
+ const C = j;
685
698
  return (async () => {
686
- switch (b.type) {
699
+ switch (C.type) {
687
700
  case _3: {
688
- let W = new URLSearchParams(window.location.search).get("token");
689
- W ? (console.log("WebSocket middleware: Saving token"), Ee(h3.uuid, W)) : (W = Re(h3.uuid), console.log("WebSocket middleware: Loading token")), e.token = W, await t(a.dispatch), await g(a.dispatch, a.getState);
701
+ let O = new URLSearchParams(window.location.search).get("token");
702
+ O ? (console.log("WebSocket middleware: Saving token"), Ee(h3.uuid, O)) : (O = Re(h3.uuid), console.log("WebSocket middleware: Loading token")), e.token = O, await t(u.dispatch), await g(u.dispatch, u.getState);
690
703
  break;
691
704
  }
692
- case A3:
705
+ case $3:
693
706
  h();
694
707
  break;
695
- case $3:
708
+ case P3:
696
709
  f(
697
- b.payload.messageType,
698
- b.payload.content,
699
- a.getState
710
+ C.payload.messageType,
711
+ C.payload.content,
712
+ u.getState
700
713
  );
701
714
  break;
702
715
  case L3:
703
716
  d(
704
- b.payload.eventType,
705
- b.payload.key,
706
- b.payload.callback
717
+ C.payload.eventType,
718
+ C.payload.key,
719
+ C.payload.callback
707
720
  );
708
721
  break;
709
- case P3:
710
- A(
711
- b.payload.eventType,
712
- b.payload.key
722
+ case A3:
723
+ $(
724
+ C.payload.eventType,
725
+ C.payload.key
713
726
  );
714
727
  break;
715
- case B3:
716
- F(a.getState);
728
+ case O3:
729
+ H(u.getState);
717
730
  break;
718
731
  default:
719
- if (C.type === U.setWebsocketIsConnected.type)
720
- C.payload === !0 && (console.log(
732
+ if (j.type === U.setWebsocketIsConnected.type)
733
+ j.payload === !0 && (console.log(
721
734
  "[WebSocket Middleware] Connection established, requesting room status..."
722
- ), setTimeout(() => u(a.getState), 100));
723
- else if (C.type === U.setRoomData.type) {
724
- const x = a.getState(), W = C.payload;
725
- x.runtimeConfig.websocket.isConnected && (W != null && W.clientId) && (console.log(
735
+ ), setTimeout(() => a(u.getState), 100));
736
+ else if (j.type === U.setRoomData.type) {
737
+ const x = u.getState(), O = j.payload;
738
+ x.runtimeConfig.websocket.isConnected && (O != null && O.clientId) && (console.log(
726
739
  "[WebSocket Middleware] Room data received, requesting room status..."
727
- ), setTimeout(() => u(a.getState), 100));
728
- } else if (C.type === U.setCurrentRoomKey.type) {
729
- const x = C.payload;
740
+ ), setTimeout(() => a(u.getState), 100));
741
+ } else if (j.type === U.setCurrentRoomKey.type) {
742
+ const x = j.payload;
730
743
  x && (console.log(
731
744
  "[WebSocket Middleware] Room changed to:",
732
745
  x,
733
746
  ", requesting room status..."
734
- ), setTimeout(() => u(a.getState, x), 100));
747
+ ), setTimeout(() => a(u.getState, x), 100));
735
748
  }
736
749
  break;
737
750
  }
@@ -739,20 +752,20 @@ const g3 = {}, O1 = d1({
739
752
  console.error("WebSocket middleware: Error handling action", x);
740
753
  }), S;
741
754
  };
742
- }, Oe = S2({
755
+ }, Be = S2({
743
756
  appConfig: be,
744
757
  runtimeConfig: _e,
745
758
  rooms: Te,
746
759
  devices: ye,
747
760
  ui: je
748
761
  }), ke = j2({
749
- reducer: Oe,
762
+ reducer: Be,
750
763
  middleware: (e) => e({
751
764
  serializableCheck: {
752
765
  // Ignore WebSocket actions with callbacks
753
766
  ignoredActions: ["websocket/addEventHandler"]
754
767
  }
755
- }).concat(Be())
768
+ }).concat(Oe())
756
769
  }), f3 = M3.create();
757
770
  function k6() {
758
771
  const e = W1();
@@ -778,7 +791,7 @@ function k6() {
778
791
  return !0;
779
792
  };
780
793
  }
781
- var m1 = { exports: {} }, l1 = {};
794
+ var M1 = { exports: {} }, i1 = {};
782
795
  /**
783
796
  * @license React
784
797
  * react-jsx-runtime.production.min.js
@@ -790,19 +803,19 @@ var m1 = { exports: {} }, l1 = {};
790
803
  */
791
804
  var w3;
792
805
  function We() {
793
- if (w3) return l1;
806
+ if (w3) return i1;
794
807
  w3 = 1;
795
808
  var e = x3, 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, l = { key: !0, ref: !0, __self: !0, __source: !0 };
796
- function u(g, h, f) {
797
- var d, A = {}, F = null, a = null;
798
- f !== void 0 && (F = "" + f), h.key !== void 0 && (F = "" + h.key), h.ref !== void 0 && (a = h.ref);
799
- for (d in h) c.call(h, d) && !l.hasOwnProperty(d) && (A[d] = h[d]);
800
- if (g && g.defaultProps) for (d in h = g.defaultProps, h) A[d] === void 0 && (A[d] = h[d]);
801
- return { $$typeof: t, type: g, key: F, ref: a, props: A, _owner: r.current };
809
+ function a(g, h, f) {
810
+ var d, $ = {}, H = null, u = null;
811
+ f !== void 0 && (H = "" + f), h.key !== void 0 && (H = "" + h.key), h.ref !== void 0 && (u = h.ref);
812
+ for (d in h) c.call(h, d) && !l.hasOwnProperty(d) && ($[d] = h[d]);
813
+ if (g && g.defaultProps) for (d in h = g.defaultProps, h) $[d] === void 0 && ($[d] = h[d]);
814
+ return { $$typeof: t, type: g, key: H, ref: u, props: $, _owner: r.current };
802
815
  }
803
- return l1.Fragment = o, l1.jsx = u, l1.jsxs = u, l1;
816
+ return i1.Fragment = o, i1.jsx = a, i1.jsxs = a, i1;
804
817
  }
805
- var i1 = {};
818
+ var a1 = {};
806
819
  /**
807
820
  * @license React
808
821
  * react-jsx-runtime.development.js
@@ -812,47 +825,47 @@ var i1 = {};
812
825
  * This source code is licensed under the MIT license found in the
813
826
  * LICENSE file in the root directory of this source tree.
814
827
  */
815
- var p3;
828
+ var m3;
816
829
  function Ve() {
817
- return p3 || (p3 = 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"), u = Symbol.for("react.provider"), g = Symbol.for("react.context"), h = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), A = Symbol.for("react.memo"), F = Symbol.for("react.lazy"), a = Symbol.for("react.offscreen"), Z = Symbol.iterator, C = "@@iterator";
830
+ return m3 || (m3 = 1, process.env.NODE_ENV !== "production" && (function() {
831
+ 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"), a = Symbol.for("react.provider"), g = Symbol.for("react.context"), h = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), $ = Symbol.for("react.memo"), H = Symbol.for("react.lazy"), u = Symbol.for("react.offscreen"), Z = Symbol.iterator, j = "@@iterator";
819
832
  function S(s) {
820
833
  if (s === null || typeof s != "object")
821
834
  return null;
822
- var i = Z && s[Z] || s[C];
835
+ var i = Z && s[Z] || s[j];
823
836
  return typeof i == "function" ? i : null;
824
837
  }
825
- var b = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
838
+ var C = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
826
839
  function x(s) {
827
840
  {
828
- for (var i = arguments.length, v = new Array(i > 1 ? i - 1 : 0), m = 1; m < i; m++)
829
- v[m - 1] = arguments[m];
830
- W("error", s, v);
841
+ for (var i = arguments.length, v = new Array(i > 1 ? i - 1 : 0), p = 1; p < i; p++)
842
+ v[p - 1] = arguments[p];
843
+ O("error", s, v);
831
844
  }
832
845
  }
833
- function W(s, i, v) {
846
+ function O(s, i, v) {
834
847
  {
835
- var m = b.ReactDebugCurrentFrame, E = m.getStackAddendum();
848
+ var p = C.ReactDebugCurrentFrame, E = p.getStackAddendum();
836
849
  E !== "" && (i += "%s", v = v.concat([E]));
837
- var T = v.map(function(y) {
838
- return String(y);
850
+ var T = v.map(function(I) {
851
+ return String(I);
839
852
  });
840
853
  T.unshift("Warning: " + i), Function.prototype.apply.call(console[s], console, T);
841
854
  }
842
855
  }
843
- var C1 = !1, K = !1, B = !1, _ = !1, z = !1, o1;
844
- o1 = Symbol.for("react.module.reference");
856
+ var o1 = !1, F = !1, B = !1, _ = !1, z = !1, s1;
857
+ s1 = Symbol.for("react.module.reference");
845
858
  function b1(s) {
846
- return !!(typeof s == "string" || typeof s == "function" || s === c || s === l || z || s === r || s === f || s === d || _ || s === a || C1 || K || B || typeof s == "object" && s !== null && (s.$$typeof === F || s.$$typeof === A || s.$$typeof === u || s.$$typeof === g || s.$$typeof === h || // This needs to include all possible module reference object
859
+ return !!(typeof s == "string" || typeof s == "function" || s === c || s === l || z || s === r || s === f || s === d || _ || s === u || o1 || F || B || typeof s == "object" && s !== null && (s.$$typeof === H || s.$$typeof === $ || s.$$typeof === a || s.$$typeof === g || s.$$typeof === h || // This needs to include all possible module reference object
847
860
  // types supported by any Flight configuration anywhere since
848
861
  // we don't know which Flight build this will end up being used
849
862
  // with.
850
- s.$$typeof === o1 || s.getModuleId !== void 0));
863
+ s.$$typeof === s1 || s.getModuleId !== void 0));
851
864
  }
852
865
  function U3(s, i, v) {
853
- var m = s.displayName;
854
- if (m)
855
- return m;
866
+ var p = s.displayName;
867
+ if (p)
868
+ return p;
856
869
  var E = i.displayName || i.name || "";
857
870
  return E !== "" ? v + "(" + E + ")" : v;
858
871
  }
@@ -885,18 +898,18 @@ function Ve() {
885
898
  case g:
886
899
  var i = s;
887
900
  return U1(i) + ".Consumer";
888
- case u:
901
+ case a:
889
902
  var v = s;
890
903
  return U1(v._context) + ".Provider";
891
904
  case h:
892
905
  return U3(s, s.render, "ForwardRef");
893
- case A:
894
- var m = s.displayName || null;
895
- return m !== null ? m : J(s.type) || "Memo";
896
- case F: {
897
- var E = s, T = E._payload, y = E._init;
906
+ case $:
907
+ var p = s.displayName || null;
908
+ return p !== null ? p : J(s.type) || "Memo";
909
+ case H: {
910
+ var E = s, T = E._payload, I = E._init;
898
911
  try {
899
- return J(y(T));
912
+ return J(I(T));
900
913
  } catch {
901
914
  return null;
902
915
  }
@@ -904,14 +917,14 @@ function Ve() {
904
917
  }
905
918
  return null;
906
919
  }
907
- var Q = Object.assign, s1 = 0, F1, H1, K1, q1, G1, Y1, z1;
920
+ var X = Object.assign, c1 = 0, H1, F1, K1, q1, G1, Y1, z1;
908
921
  function J1() {
909
922
  }
910
923
  J1.__reactDisabledLog = !0;
911
- function F3() {
924
+ function H3() {
912
925
  {
913
- if (s1 === 0) {
914
- F1 = console.log, H1 = console.info, K1 = console.warn, q1 = console.error, G1 = console.group, Y1 = console.groupCollapsed, z1 = console.groupEnd;
926
+ if (c1 === 0) {
927
+ H1 = console.log, F1 = console.info, K1 = console.warn, q1 = console.error, G1 = console.group, Y1 = console.groupCollapsed, z1 = console.groupEnd;
915
928
  var s = {
916
929
  configurable: !0,
917
930
  enumerable: !0,
@@ -928,133 +941,133 @@ function Ve() {
928
941
  groupEnd: s
929
942
  });
930
943
  }
931
- s1++;
944
+ c1++;
932
945
  }
933
946
  }
934
- function H3() {
947
+ function F3() {
935
948
  {
936
- if (s1--, s1 === 0) {
949
+ if (c1--, c1 === 0) {
937
950
  var s = {
938
951
  configurable: !0,
939
952
  enumerable: !0,
940
953
  writable: !0
941
954
  };
942
955
  Object.defineProperties(console, {
943
- log: Q({}, s, {
944
- value: F1
945
- }),
946
- info: Q({}, s, {
956
+ log: X({}, s, {
947
957
  value: H1
948
958
  }),
949
- warn: Q({}, s, {
959
+ info: X({}, s, {
960
+ value: F1
961
+ }),
962
+ warn: X({}, s, {
950
963
  value: K1
951
964
  }),
952
- error: Q({}, s, {
965
+ error: X({}, s, {
953
966
  value: q1
954
967
  }),
955
- group: Q({}, s, {
968
+ group: X({}, s, {
956
969
  value: G1
957
970
  }),
958
- groupCollapsed: Q({}, s, {
971
+ groupCollapsed: X({}, s, {
959
972
  value: Y1
960
973
  }),
961
- groupEnd: Q({}, s, {
974
+ groupEnd: X({}, s, {
962
975
  value: z1
963
976
  })
964
977
  });
965
978
  }
966
- s1 < 0 && x("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
979
+ c1 < 0 && x("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
967
980
  }
968
981
  }
969
- var y1 = b.ReactCurrentDispatcher, I1;
970
- function v1(s, i, v) {
982
+ var y1 = C.ReactCurrentDispatcher, I1;
983
+ function h1(s, i, v) {
971
984
  {
972
985
  if (I1 === void 0)
973
986
  try {
974
987
  throw Error();
975
988
  } catch (E) {
976
- var m = E.stack.trim().match(/\n( *(at )?)/);
977
- I1 = m && m[1] || "";
989
+ var p = E.stack.trim().match(/\n( *(at )?)/);
990
+ I1 = p && p[1] || "";
978
991
  }
979
992
  return `
980
993
  ` + I1 + s;
981
994
  }
982
995
  }
983
- var R1 = !1, h1;
996
+ var R1 = !1, g1;
984
997
  {
985
998
  var K3 = typeof WeakMap == "function" ? WeakMap : Map;
986
- h1 = new K3();
999
+ g1 = new K3();
987
1000
  }
988
1001
  function X1(s, i) {
989
1002
  if (!s || R1)
990
1003
  return "";
991
1004
  {
992
- var v = h1.get(s);
1005
+ var v = g1.get(s);
993
1006
  if (v !== void 0)
994
1007
  return v;
995
1008
  }
996
- var m;
1009
+ var p;
997
1010
  R1 = !0;
998
1011
  var E = Error.prepareStackTrace;
999
1012
  Error.prepareStackTrace = void 0;
1000
1013
  var T;
1001
- T = y1.current, y1.current = null, F3();
1014
+ T = y1.current, y1.current = null, H3();
1002
1015
  try {
1003
1016
  if (i) {
1004
- var y = function() {
1017
+ var I = function() {
1005
1018
  throw Error();
1006
1019
  };
1007
- if (Object.defineProperty(y.prototype, "props", {
1020
+ if (Object.defineProperty(I.prototype, "props", {
1008
1021
  set: function() {
1009
1022
  throw Error();
1010
1023
  }
1011
1024
  }), typeof Reflect == "object" && Reflect.construct) {
1012
1025
  try {
1013
- Reflect.construct(y, []);
1026
+ Reflect.construct(I, []);
1014
1027
  } catch (V) {
1015
- m = V;
1028
+ p = V;
1016
1029
  }
1017
- Reflect.construct(s, [], y);
1030
+ Reflect.construct(s, [], I);
1018
1031
  } else {
1019
1032
  try {
1020
- y.call();
1033
+ I.call();
1021
1034
  } catch (V) {
1022
- m = V;
1035
+ p = V;
1023
1036
  }
1024
- s.call(y.prototype);
1037
+ s.call(I.prototype);
1025
1038
  }
1026
1039
  } else {
1027
1040
  try {
1028
1041
  throw Error();
1029
1042
  } catch (V) {
1030
- m = V;
1043
+ p = V;
1031
1044
  }
1032
1045
  s();
1033
1046
  }
1034
1047
  } catch (V) {
1035
- if (V && m && typeof V.stack == "string") {
1036
- for (var j = V.stack.split(`
1037
- `), O = m.stack.split(`
1038
- `), $ = j.length - 1, L = O.length - 1; $ >= 1 && L >= 0 && j[$] !== O[L]; )
1048
+ if (V && p && typeof V.stack == "string") {
1049
+ for (var b = V.stack.split(`
1050
+ `), k = p.stack.split(`
1051
+ `), P = b.length - 1, L = k.length - 1; P >= 1 && L >= 0 && b[P] !== k[L]; )
1039
1052
  L--;
1040
- for (; $ >= 1 && L >= 0; $--, L--)
1041
- if (j[$] !== O[L]) {
1042
- if ($ !== 1 || L !== 1)
1053
+ for (; P >= 1 && L >= 0; P--, L--)
1054
+ if (b[P] !== k[L]) {
1055
+ if (P !== 1 || L !== 1)
1043
1056
  do
1044
- if ($--, L--, L < 0 || j[$] !== O[L]) {
1045
- var H = `
1046
- ` + j[$].replace(" at new ", " at ");
1047
- return s.displayName && H.includes("<anonymous>") && (H = H.replace("<anonymous>", s.displayName)), typeof s == "function" && h1.set(s, H), H;
1057
+ if (P--, L--, L < 0 || b[P] !== k[L]) {
1058
+ var K = `
1059
+ ` + b[P].replace(" at new ", " at ");
1060
+ return s.displayName && K.includes("<anonymous>") && (K = K.replace("<anonymous>", s.displayName)), typeof s == "function" && g1.set(s, K), K;
1048
1061
  }
1049
- while ($ >= 1 && L >= 0);
1062
+ while (P >= 1 && L >= 0);
1050
1063
  break;
1051
1064
  }
1052
1065
  }
1053
1066
  } finally {
1054
- R1 = !1, y1.current = T, H3(), Error.prepareStackTrace = E;
1067
+ R1 = !1, y1.current = T, F3(), Error.prepareStackTrace = E;
1055
1068
  }
1056
- var n1 = s ? s.displayName || s.name : "", N = n1 ? v1(n1) : "";
1057
- return typeof s == "function" && h1.set(s, N), N;
1069
+ var n1 = s ? s.displayName || s.name : "", Q = n1 ? h1(n1) : "";
1070
+ return typeof s == "function" && g1.set(s, Q), Q;
1058
1071
  }
1059
1072
  function q3(s, i, v) {
1060
1073
  return X1(s, !1);
@@ -1063,59 +1076,59 @@ function Ve() {
1063
1076
  var i = s.prototype;
1064
1077
  return !!(i && i.isReactComponent);
1065
1078
  }
1066
- function g1(s, i, v) {
1079
+ function f1(s, i, v) {
1067
1080
  if (s == null)
1068
1081
  return "";
1069
1082
  if (typeof s == "function")
1070
1083
  return X1(s, G3(s));
1071
1084
  if (typeof s == "string")
1072
- return v1(s);
1085
+ return h1(s);
1073
1086
  switch (s) {
1074
1087
  case f:
1075
- return v1("Suspense");
1088
+ return h1("Suspense");
1076
1089
  case d:
1077
- return v1("SuspenseList");
1090
+ return h1("SuspenseList");
1078
1091
  }
1079
1092
  if (typeof s == "object")
1080
1093
  switch (s.$$typeof) {
1081
1094
  case h:
1082
1095
  return q3(s.render);
1083
- case A:
1084
- return g1(s.type, i, v);
1085
- case F: {
1086
- var m = s, E = m._payload, T = m._init;
1096
+ case $:
1097
+ return f1(s.type, i, v);
1098
+ case H: {
1099
+ var p = s, E = p._payload, T = p._init;
1087
1100
  try {
1088
- return g1(T(E), i, v);
1101
+ return f1(T(E), i, v);
1089
1102
  } catch {
1090
1103
  }
1091
1104
  }
1092
1105
  }
1093
1106
  return "";
1094
1107
  }
1095
- var c1 = Object.prototype.hasOwnProperty, Q1 = {}, N1 = b.ReactDebugCurrentFrame;
1096
- function f1(s) {
1108
+ var r1 = Object.prototype.hasOwnProperty, Q1 = {}, N1 = C.ReactDebugCurrentFrame;
1109
+ function w1(s) {
1097
1110
  if (s) {
1098
- var i = s._owner, v = g1(s.type, s._source, i ? i.type : null);
1111
+ var i = s._owner, v = f1(s.type, s._source, i ? i.type : null);
1099
1112
  N1.setExtraStackFrame(v);
1100
1113
  } else
1101
1114
  N1.setExtraStackFrame(null);
1102
1115
  }
1103
- function Y3(s, i, v, m, E) {
1116
+ function Y3(s, i, v, p, E) {
1104
1117
  {
1105
- var T = Function.call.bind(c1);
1106
- for (var y in s)
1107
- if (T(s, y)) {
1108
- var j = void 0;
1118
+ var T = Function.call.bind(r1);
1119
+ for (var I in s)
1120
+ if (T(s, I)) {
1121
+ var b = void 0;
1109
1122
  try {
1110
- if (typeof s[y] != "function") {
1111
- var O = Error((m || "React class") + ": " + v + " 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`.");
1112
- throw O.name = "Invariant Violation", O;
1123
+ if (typeof s[I] != "function") {
1124
+ var k = Error((p || "React class") + ": " + v + " type `" + I + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof s[I] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
1125
+ throw k.name = "Invariant Violation", k;
1113
1126
  }
1114
- j = s[y](i, y, m, v, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
1115
- } catch ($) {
1116
- j = $;
1127
+ b = s[I](i, I, p, v, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
1128
+ } catch (P) {
1129
+ b = P;
1117
1130
  }
1118
- j && !(j instanceof Error) && (f1(E), x("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", m || "React class", v, y, typeof j), f1(null)), j instanceof Error && !(j.message in Q1) && (Q1[j.message] = !0, f1(E), x("Failed %s type: %s", v, j.message), f1(null));
1131
+ b && !(b instanceof Error) && (w1(E), x("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", p || "React class", v, I, typeof b), w1(null)), b instanceof Error && !(b.message in Q1) && (Q1[b.message] = !0, w1(E), x("Failed %s type: %s", v, b.message), w1(null));
1119
1132
  }
1120
1133
  }
1121
1134
  }
@@ -1143,14 +1156,14 @@ function Ve() {
1143
1156
  if (X3(s))
1144
1157
  return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", J3(s)), e3(s);
1145
1158
  }
1146
- var n3 = b.ReactCurrentOwner, Q3 = {
1159
+ var n3 = C.ReactCurrentOwner, Q3 = {
1147
1160
  key: !0,
1148
1161
  ref: !0,
1149
1162
  __self: !0,
1150
1163
  __source: !0
1151
1164
  }, o3, s3;
1152
1165
  function N3(s) {
1153
- if (c1.call(s, "ref")) {
1166
+ if (r1.call(s, "ref")) {
1154
1167
  var i = Object.getOwnPropertyDescriptor(s, "ref").get;
1155
1168
  if (i && i.isReactWarning)
1156
1169
  return !1;
@@ -1158,7 +1171,7 @@ function Ve() {
1158
1171
  return s.ref !== void 0;
1159
1172
  }
1160
1173
  function e2(s) {
1161
- if (c1.call(s, "key")) {
1174
+ if (r1.call(s, "key")) {
1162
1175
  var i = Object.getOwnPropertyDescriptor(s, "key").get;
1163
1176
  if (i && i.isReactWarning)
1164
1177
  return !1;
@@ -1190,57 +1203,57 @@ function Ve() {
1190
1203
  });
1191
1204
  }
1192
1205
  }
1193
- var s2 = function(s, i, v, m, E, T, y) {
1194
- var j = {
1206
+ var s2 = function(s, i, v, p, E, T, I) {
1207
+ var b = {
1195
1208
  // This tag allows us to uniquely identify this as a React Element
1196
1209
  $$typeof: t,
1197
1210
  // Built-in properties that belong on the element
1198
1211
  type: s,
1199
1212
  key: i,
1200
1213
  ref: v,
1201
- props: y,
1214
+ props: I,
1202
1215
  // Record the component responsible for creating this element.
1203
1216
  _owner: T
1204
1217
  };
1205
- return j._store = {}, Object.defineProperty(j._store, "validated", {
1218
+ return b._store = {}, Object.defineProperty(b._store, "validated", {
1206
1219
  configurable: !1,
1207
1220
  enumerable: !1,
1208
1221
  writable: !0,
1209
1222
  value: !1
1210
- }), Object.defineProperty(j, "_self", {
1223
+ }), Object.defineProperty(b, "_self", {
1211
1224
  configurable: !1,
1212
1225
  enumerable: !1,
1213
1226
  writable: !1,
1214
- value: m
1215
- }), Object.defineProperty(j, "_source", {
1227
+ value: p
1228
+ }), Object.defineProperty(b, "_source", {
1216
1229
  configurable: !1,
1217
1230
  enumerable: !1,
1218
1231
  writable: !1,
1219
1232
  value: E
1220
- }), Object.freeze && (Object.freeze(j.props), Object.freeze(j)), j;
1233
+ }), Object.freeze && (Object.freeze(b.props), Object.freeze(b)), b;
1221
1234
  };
1222
- function c2(s, i, v, m, E) {
1235
+ function c2(s, i, v, p, E) {
1223
1236
  {
1224
- var T, y = {}, j = null, O = null;
1225
- v !== void 0 && (t3(v), j = "" + v), e2(i) && (t3(i.key), j = "" + i.key), N3(i) && (O = i.ref, t2(i, E));
1237
+ var T, I = {}, b = null, k = null;
1238
+ v !== void 0 && (t3(v), b = "" + v), e2(i) && (t3(i.key), b = "" + i.key), N3(i) && (k = i.ref, t2(i, E));
1226
1239
  for (T in i)
1227
- c1.call(i, T) && !Q3.hasOwnProperty(T) && (y[T] = i[T]);
1240
+ r1.call(i, T) && !Q3.hasOwnProperty(T) && (I[T] = i[T]);
1228
1241
  if (s && s.defaultProps) {
1229
- var $ = s.defaultProps;
1230
- for (T in $)
1231
- y[T] === void 0 && (y[T] = $[T]);
1242
+ var P = s.defaultProps;
1243
+ for (T in P)
1244
+ I[T] === void 0 && (I[T] = P[T]);
1232
1245
  }
1233
- if (j || O) {
1246
+ if (b || k) {
1234
1247
  var L = typeof s == "function" ? s.displayName || s.name || "Unknown" : s;
1235
- j && n2(y, L), O && o2(y, L);
1248
+ b && n2(I, L), k && o2(I, L);
1236
1249
  }
1237
- return s2(s, j, O, E, m, n3.current, y);
1250
+ return s2(s, b, k, E, p, n3.current, I);
1238
1251
  }
1239
1252
  }
1240
- var T1 = b.ReactCurrentOwner, c3 = b.ReactDebugCurrentFrame;
1253
+ var T1 = C.ReactCurrentOwner, c3 = C.ReactDebugCurrentFrame;
1241
1254
  function t1(s) {
1242
1255
  if (s) {
1243
- var i = s._owner, v = g1(s.type, s._source, i ? i.type : null);
1256
+ var i = s._owner, v = f1(s.type, s._source, i ? i.type : null);
1244
1257
  c3.setExtraStackFrame(v);
1245
1258
  } else
1246
1259
  c3.setExtraStackFrame(null);
@@ -1287,8 +1300,8 @@ Check the top-level render call using <` + v + ">.");
1287
1300
  if (l3[v])
1288
1301
  return;
1289
1302
  l3[v] = !0;
1290
- var m = "";
1291
- s && s._owner && s._owner !== T1.current && (m = " It was passed a child from " + J(s._owner.type) + "."), t1(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.', v, m), t1(null);
1303
+ var p = "";
1304
+ s && s._owner && s._owner !== T1.current && (p = " It was passed a child from " + J(s._owner.type) + "."), t1(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.', v, p), t1(null);
1292
1305
  }
1293
1306
  }
1294
1307
  function a3(s, i) {
@@ -1297,16 +1310,16 @@ Check the top-level render call using <` + v + ">.");
1297
1310
  return;
1298
1311
  if (E1(s))
1299
1312
  for (var v = 0; v < s.length; v++) {
1300
- var m = s[v];
1301
- _1(m) && i3(m, i);
1313
+ var p = s[v];
1314
+ _1(p) && i3(p, i);
1302
1315
  }
1303
1316
  else if (_1(s))
1304
1317
  s._store && (s._store.validated = !0);
1305
1318
  else if (s) {
1306
1319
  var E = S(s);
1307
1320
  if (typeof E == "function" && E !== s.entries)
1308
- for (var T = E.call(s), y; !(y = T.next()).done; )
1309
- _1(y.value) && i3(y.value, i);
1321
+ for (var T = E.call(s), I; !(I = T.next()).done; )
1322
+ _1(I.value) && i3(I.value, i);
1310
1323
  }
1311
1324
  }
1312
1325
  }
@@ -1320,13 +1333,13 @@ Check the top-level render call using <` + v + ">.");
1320
1333
  v = i.propTypes;
1321
1334
  else if (typeof i == "object" && (i.$$typeof === h || // Note: Memo only checks outer props here.
1322
1335
  // Inner props are checked in the reconciler.
1323
- i.$$typeof === A))
1336
+ i.$$typeof === $))
1324
1337
  v = i.propTypes;
1325
1338
  else
1326
1339
  return;
1327
1340
  if (v) {
1328
- var m = J(i);
1329
- Y3(v, s.props, "prop", m, s);
1341
+ var p = J(i);
1342
+ Y3(v, s.props, "prop", p, s);
1330
1343
  } else if (i.PropTypes !== void 0 && !D1) {
1331
1344
  D1 = !0;
1332
1345
  var E = J(i);
@@ -1338,9 +1351,9 @@ Check the top-level render call using <` + v + ">.");
1338
1351
  function a2(s) {
1339
1352
  {
1340
1353
  for (var i = Object.keys(s.props), v = 0; v < i.length; v++) {
1341
- var m = i[v];
1342
- if (m !== "children" && m !== "key") {
1343
- t1(s), x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", m), t1(null);
1354
+ var p = i[v];
1355
+ if (p !== "children" && p !== "key") {
1356
+ t1(s), x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", p), t1(null);
1344
1357
  break;
1345
1358
  }
1346
1359
  }
@@ -1348,45 +1361,45 @@ Check the top-level render call using <` + v + ">.");
1348
1361
  }
1349
1362
  }
1350
1363
  var u3 = {};
1351
- function d3(s, i, v, m, E, T) {
1364
+ function d3(s, i, v, p, E, T) {
1352
1365
  {
1353
- var y = b1(s);
1354
- if (!y) {
1355
- var j = "";
1356
- (s === void 0 || typeof s == "object" && s !== null && Object.keys(s).length === 0) && (j += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
1357
- var O = r2();
1358
- O ? j += O : j += r3();
1359
- var $;
1360
- s === null ? $ = "null" : E1(s) ? $ = "array" : s !== void 0 && s.$$typeof === t ? ($ = "<" + (J(s.type) || "Unknown") + " />", j = " Did you accidentally export a JSX literal instead of a component?") : $ = 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", $, j);
1366
+ var I = b1(s);
1367
+ if (!I) {
1368
+ var b = "";
1369
+ (s === void 0 || typeof s == "object" && s !== null && Object.keys(s).length === 0) && (b += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
1370
+ var k = r2();
1371
+ k ? b += k : b += r3();
1372
+ var P;
1373
+ s === null ? P = "null" : E1(s) ? P = "array" : s !== void 0 && s.$$typeof === t ? (P = "<" + (J(s.type) || "Unknown") + " />", b = " Did you accidentally export a JSX literal instead of a component?") : P = 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", P, b);
1361
1374
  }
1362
1375
  var L = c2(s, i, v, E, T);
1363
1376
  if (L == null)
1364
1377
  return L;
1365
- if (y) {
1366
- var H = i.children;
1367
- if (H !== void 0)
1368
- if (m)
1369
- if (E1(H)) {
1370
- for (var n1 = 0; n1 < H.length; n1++)
1371
- a3(H[n1], s);
1372
- Object.freeze && Object.freeze(H);
1378
+ if (I) {
1379
+ var K = i.children;
1380
+ if (K !== void 0)
1381
+ if (p)
1382
+ if (E1(K)) {
1383
+ for (var n1 = 0; n1 < K.length; n1++)
1384
+ a3(K[n1], s);
1385
+ Object.freeze && Object.freeze(K);
1373
1386
  } else
1374
1387
  x("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
1375
1388
  else
1376
- a3(H, s);
1389
+ a3(K, s);
1377
1390
  }
1378
- if (c1.call(i, "key")) {
1379
- var N = J(s), V = Object.keys(i).filter(function(f2) {
1391
+ if (r1.call(i, "key")) {
1392
+ var Q = J(s), V = Object.keys(i).filter(function(f2) {
1380
1393
  return f2 !== "key";
1381
- }), A1 = V.length > 0 ? "{key: someKey, " + V.join(": ..., ") + ": ...}" : "{key: someKey}";
1382
- if (!u3[N + A1]) {
1394
+ }), $1 = V.length > 0 ? "{key: someKey, " + V.join(": ..., ") + ": ...}" : "{key: someKey}";
1395
+ if (!u3[Q + $1]) {
1383
1396
  var g2 = V.length > 0 ? "{" + V.join(": ..., ") + ": ...}" : "{}";
1384
1397
  x(`A props object containing a "key" prop is being spread into JSX:
1385
1398
  let props = %s;
1386
1399
  <%s {...props} />
1387
1400
  React keys must be passed directly to JSX without using spread:
1388
1401
  let props = %s;
1389
- <%s key={someKey} {...props} />`, A1, N, g2, N), u3[N + A1] = !0;
1402
+ <%s key={someKey} {...props} />`, $1, Q, g2, Q), u3[Q + $1] = !0;
1390
1403
  }
1391
1404
  }
1392
1405
  return s === c ? a2(L) : i2(L), L;
@@ -1399,20 +1412,20 @@ React keys must be passed directly to JSX without using spread:
1399
1412
  return d3(s, i, v, !1);
1400
1413
  }
1401
1414
  var v2 = d2, h2 = u2;
1402
- i1.Fragment = c, i1.jsx = v2, i1.jsxs = h2;
1403
- })()), i1;
1415
+ a1.Fragment = c, a1.jsx = v2, a1.jsxs = h2;
1416
+ })()), a1;
1404
1417
  }
1405
- var m3;
1418
+ var p3;
1406
1419
  function Ue() {
1407
- return m3 || (m3 = 1, process.env.NODE_ENV === "production" ? m1.exports = We() : m1.exports = Ve()), m1.exports;
1420
+ return p3 || (p3 = 1, process.env.NODE_ENV === "production" ? M1.exports = We() : M1.exports = Ve()), M1.exports;
1408
1421
  }
1409
1422
  var n = Ue();
1410
- const Fe = "_mwfit_ppa3l_1", He = {
1411
- mwfit: Fe
1423
+ const He = "_mwfit_ppa3l_1", Fe = {
1424
+ mwfit: He
1412
1425
  }, Ke = () => {
1413
- const { reconnect: e } = I(), t = I3(), o = Me(), c = xe();
1426
+ const { reconnect: e } = y(), t = I3(), o = Me(), c = xe();
1414
1427
  return /* @__PURE__ */ n.jsxs("div", { className: "vh-100 d-flex flex-column flex-grow-1 justify-content-center align-items-center gap-5 ", children: [
1415
- /* @__PURE__ */ n.jsxs("div", { className: `${He.mwfit} mx-auto text-center`, children: [
1428
+ /* @__PURE__ */ n.jsxs("div", { className: `${Fe.mwfit} mx-auto text-center`, children: [
1416
1429
  t === void 0 ? /* @__PURE__ */ n.jsx("h2", { children: "Connecting..." }) : /* @__PURE__ */ n.jsx("h2", { children: "Disconnected" }),
1417
1430
  o && /* @__PURE__ */ n.jsx("h5", { className: "mt-1", children: o })
1418
1431
  ] }),
@@ -1426,31 +1439,31 @@ const Fe = "_mwfit_ppa3l_1", He = {
1426
1439
  reconnect: () => null
1427
1440
  }), qe = ({ children: e }) => {
1428
1441
  const t = W1(), o = I3();
1429
- x1(() => {
1430
- t(O3());
1442
+ Z1(() => {
1443
+ t(B3());
1431
1444
  }, [t]);
1432
- const c = r1(
1445
+ const c = l1(
1433
1446
  (h, f) => {
1434
- t(Ae(h, f));
1447
+ t($e(h, f));
1435
1448
  },
1436
1449
  [t]
1437
- ), r = r1(
1450
+ ), r = l1(
1438
1451
  (h, f) => {
1439
1452
  c(h, { value: f });
1440
1453
  },
1441
1454
  [c]
1442
- ), l = r1(
1455
+ ), l = l1(
1443
1456
  (h, f, d) => {
1444
- t($e(h, f, d));
1457
+ t(Pe(h, f, d));
1445
1458
  },
1446
1459
  [t]
1447
- ), u = r1(
1460
+ ), a = l1(
1448
1461
  (h, f) => {
1449
1462
  t(Le(h, f));
1450
1463
  },
1451
1464
  [t]
1452
- ), g = r1(() => {
1453
- t(Pe());
1465
+ ), g = l1(() => {
1466
+ t(Ae());
1454
1467
  }, [t]);
1455
1468
  return /* @__PURE__ */ n.jsx(
1456
1469
  k3.Provider,
@@ -1459,14 +1472,14 @@ const Fe = "_mwfit_ppa3l_1", He = {
1459
1472
  sendMessage: c,
1460
1473
  sendSimpleMessage: r,
1461
1474
  addEventHandler: l,
1462
- removeEventHandler: u,
1475
+ removeEventHandler: a,
1463
1476
  reconnect: g
1464
1477
  },
1465
1478
  children: o ? e : /* @__PURE__ */ n.jsx(Ke, {})
1466
1479
  }
1467
1480
  );
1468
1481
  }, W6 = ({ children: e }) => /* @__PURE__ */ n.jsx(Z2, { store: ke, children: /* @__PURE__ */ n.jsx(qe, { children: e }) });
1469
- function I() {
1482
+ function y() {
1470
1483
  return b2(k3);
1471
1484
  }
1472
1485
  function Ge({
@@ -1476,17 +1489,17 @@ function Ge({
1476
1489
  onPressedButNotHeld: c,
1477
1490
  holdTimeMs: r = 500
1478
1491
  }) {
1479
- const l = u1(null), u = u1(!1), g = u1(!1);
1492
+ const l = d1(null), a = d1(!1), g = d1(!1);
1480
1493
  function h() {
1481
- u.current = !0, g.current = !1, e == null || e(), l.current = setTimeout(() => {
1494
+ a.current = !0, g.current = !1, e == null || e(), l.current = setTimeout(() => {
1482
1495
  g.current = !0, o == null || o(), l.current = null;
1483
1496
  }, r);
1484
1497
  }
1485
1498
  function f() {
1486
- u.current = !1, t == null || t(), l.current && (clearTimeout(l.current), l.current = null, g.current || c == null || c());
1499
+ a.current = !1, t == null || t(), l.current && (clearTimeout(l.current), l.current = null, g.current || c == null || c());
1487
1500
  }
1488
1501
  function d() {
1489
- u.current && f();
1502
+ a.current && f();
1490
1503
  }
1491
1504
  return {
1492
1505
  onPointerDown: h,
@@ -1495,36 +1508,36 @@ function Ge({
1495
1508
  };
1496
1509
  }
1497
1510
  function w(e, t) {
1498
- const { sendMessage: c } = I(), r = u1(null);
1511
+ const { sendMessage: c } = y(), r = d1(null);
1499
1512
  function l() {
1500
1513
  c(`${e}/${t}`, { value: "pressed" }), r.current || (r.current = setInterval(() => {
1501
1514
  c(`${e}/${t}`, { value: "held" });
1502
1515
  }, 250));
1503
1516
  }
1504
- function u() {
1517
+ function a() {
1505
1518
  r.current && (clearInterval(r.current), r.current = null), c(`${e}/${t}`, { value: "released" });
1506
1519
  }
1507
- return Ge({ onPress: l, onRelease: u });
1520
+ return Ge({ onPress: l, onRelease: a });
1508
1521
  }
1509
- function j1(e) {
1510
- const { sendMessage: t } = I(), o = w(`${e}`, "volumeUp"), c = w(`${e}`, "volumeDown");
1511
- return X(() => ({
1522
+ function C1(e) {
1523
+ const { sendMessage: t } = y(), o = w(`${e}`, "volumeUp"), c = w(`${e}`, "volumeDown");
1524
+ return N(() => ({
1512
1525
  volumeUp: o,
1513
1526
  volumeDown: c,
1514
1527
  muteToggle: () => t(`${e}/muteToggle`, null)
1515
1528
  }), [e, t, o, c]);
1516
1529
  }
1517
1530
  function V6(e) {
1518
- const { sendMessage: t } = I(), o = w(`${e}`, "volumeUp"), c = w(`${e}`, "volumeDown");
1519
- return X(() => ({
1531
+ const { sendMessage: t } = y(), o = w(`${e}`, "volumeUp"), c = w(`${e}`, "volumeDown");
1532
+ return N(() => ({
1520
1533
  volumeUp: o,
1521
1534
  volumeDown: c,
1522
1535
  muteToggle: () => t(`${e}/muteToggle`, null)
1523
1536
  }), [e, t, o, c]);
1524
1537
  }
1525
1538
  function W3(e, t) {
1526
- const { sendMessage: o, sendSimpleMessage: c } = I(), r = j1(e);
1527
- return X(() => {
1539
+ const { sendMessage: o, sendSimpleMessage: c } = y(), r = C1(e);
1540
+ return N(() => {
1528
1541
  if (!r) {
1529
1542
  console.log("baseVolume is undefined");
1530
1543
  return;
@@ -1543,8 +1556,8 @@ function W3(e, t) {
1543
1556
  }, [r, t, e, o, c]);
1544
1557
  }
1545
1558
  function U6(e, t) {
1546
- const { sendMessage: o, sendSimpleMessage: c } = I(), r = j1(e);
1547
- return X(() => !r || !t ? void 0 : {
1559
+ const { sendMessage: o, sendSimpleMessage: c } = y(), r = C1(e);
1560
+ return N(() => !r || !t ? void 0 : {
1548
1561
  ...r,
1549
1562
  volumeState: t,
1550
1563
  setLevel: (h) => c(`${e}/level`, h),
@@ -1553,30 +1566,31 @@ function U6(e, t) {
1553
1566
  }, [r, t, e, o, c]);
1554
1567
  }
1555
1568
  function Ye(e) {
1556
- const t = D(e), o = `/device/${e}`, c = X(() => {
1569
+ const t = D(e), o = `/device/${e}`, c = N(() => {
1557
1570
  if (t)
1558
1571
  return t.volume;
1559
1572
  }, [t]);
1560
1573
  return W3(o, c);
1561
1574
  }
1562
1575
  function V3(e) {
1563
- const { sendMessage: t } = I();
1576
+ var a;
1577
+ const { sendMessage: t } = y(), o = (a = D(e)) == null ? void 0 : a.powerState;
1564
1578
  return { powerOn: () => {
1565
1579
  t(`/device/${e}/powerOn`, null);
1566
1580
  }, powerOff: () => {
1567
1581
  t(`/device/${e}/powerOff`, null);
1568
1582
  }, powerToggle: () => {
1569
1583
  t(`/device/${e}/powerToggle`, null);
1570
- } };
1584
+ }, powerState: o };
1571
1585
  }
1572
1586
  function k1(e) {
1573
- const { sendMessage: t } = I(), o = D(e);
1587
+ const { sendMessage: t } = y(), o = D(e);
1574
1588
  return console.log("deviceState", o), o ? { itemsState: o, selectItem: (r) => {
1575
1589
  t(`/device/${e}/${r}`, null);
1576
1590
  } } : void 0;
1577
1591
  }
1578
1592
  function ze(e) {
1579
- const { sendMessage: t } = I(), o = D(e), c = () => {
1593
+ const { sendMessage: t } = y(), o = D(e), c = () => {
1580
1594
  t(`/device/${e}/setDefaultChannelLevels`, null);
1581
1595
  }, r = () => {
1582
1596
  if ((o == null ? void 0 : o.levelControls) === void 0) return;
@@ -1586,20 +1600,20 @@ function ze(e) {
1586
1600
  };
1587
1601
  return o ? { levelControls: o.levelControls, setDefaultChannelLevels: c, getFullStatus: r } : void 0;
1588
1602
  }
1589
- function F6(e) {
1590
- const t = D(e), o = V3(e), c = k1(e), r = k1(e), l = Ye(e), u = ze(e);
1603
+ function H6(e) {
1604
+ const t = D(e), o = V3(e), c = k1(e), r = k1(e), l = Ye(e), a = ze(e);
1591
1605
  if (t)
1592
1606
  return {
1593
1607
  avrState: t,
1594
1608
  powerControl: o,
1595
1609
  inputControl: c,
1596
1610
  surroundSoundModes: r,
1597
- surroundChannels: u,
1611
+ surroundChannels: a,
1598
1612
  mainVolumeControl: l
1599
1613
  };
1600
1614
  }
1601
- function H6(e) {
1602
- const { sendMessage: t } = I(), o = `/device/${e}`, c = D(e), r = w(o, "cameraUp"), l = w(o, "cameraDown"), u = w(o, "cameraLeft"), g = w(o, "cameraRight"), h = w(o, "cameraZoomIn"), f = w(o, "cameraZoomOut"), d = (A) => t("/camera/recallPreset", A);
1615
+ function F6(e) {
1616
+ const { sendMessage: t } = y(), o = `/device/${e}`, c = D(e), r = w(o, "cameraUp"), l = w(o, "cameraDown"), a = w(o, "cameraLeft"), g = w(o, "cameraRight"), h = w(o, "cameraZoomIn"), f = w(o, "cameraZoomOut"), d = ($) => t("/camera/recallPreset", $);
1603
1617
  if (c)
1604
1618
  return {
1605
1619
  state: c,
@@ -1607,14 +1621,14 @@ function H6(e) {
1607
1621
  zoomOut: f,
1608
1622
  up: r,
1609
1623
  down: l,
1610
- left: u,
1624
+ left: a,
1611
1625
  right: g,
1612
1626
  recallPreset: d
1613
1627
  };
1614
1628
  }
1615
1629
  const K6 = ({ className: e }) => {
1616
1630
  const [t, o] = Y();
1617
- return x1(() => {
1631
+ return Z1(() => {
1618
1632
  setInterval(() => {
1619
1633
  const c = (/* @__PURE__ */ new Date()).toLocaleTimeString("en-US", { hour12: !0, hour: "numeric", minute: "numeric" });
1620
1634
  o(c);
@@ -1625,11 +1639,11 @@ const K6 = ({ className: e }) => {
1625
1639
  ] });
1626
1640
  };
1627
1641
  function q6(e) {
1628
- const { sendMessage: t } = I(), o = D(e), c = `/device/${e}`;
1629
- return o ? { state: o, recallPreset: (u, g) => {
1630
- t(`${c}/presets/recall`, { deviceKey: u, preset: g });
1631
- }, savePresets: (u) => {
1632
- t(`${c}/presets/save`, u);
1642
+ const { sendMessage: t } = y(), o = D(e), c = `/device/${e}`;
1643
+ return o ? { state: o, recallPreset: (a, g) => {
1644
+ t(`${c}/presets/recall`, { deviceKey: a, preset: g });
1645
+ }, savePresets: (a) => {
1646
+ t(`${c}/presets/save`, a);
1633
1647
  } } : void 0;
1634
1648
  }
1635
1649
  function G6(e) {
@@ -1638,49 +1652,31 @@ function G6(e) {
1638
1652
  return { endpointState: t };
1639
1653
  }
1640
1654
  function Y6(e) {
1641
- const t = D(e);
1642
- if (t)
1643
- return {
1644
- state: t
1645
- };
1655
+ const t = `/device/${e}`, o = w(t, "chanUp"), c = w(t, "chanDown"), r = w(t, "lastChan"), l = w(t, "guide"), a = w(t, "info"), g = w(t, "exit");
1656
+ return { channelUp: o, channelDown: c, lastChannel: r, guide: l, info: a, exit: g };
1646
1657
  }
1647
1658
  function z6(e) {
1648
- const { sendMessage: t } = I(), o = D(e), c = X(() => {
1649
- const r = `/device/${e}`;
1650
- return { setEntry: (u, g, h) => t(`${r}/setEntry`, { index: u, name: g, number: h }) };
1651
- }, [e, t]);
1652
- if (o)
1653
- return {
1654
- phonebookEntries: o.phonebookEntries ?? [],
1655
- ...c
1656
- };
1657
- }
1658
- function J6(e) {
1659
- const t = `/device/${e}`, o = w(t, "chanUp"), c = w(t, "chanDown"), r = w(t, "lastChan"), l = w(t, "guide"), u = w(t, "info"), g = w(t, "exit");
1660
- return { channelUp: o, channelDown: c, lastChannel: r, guide: l, info: u, exit: g };
1661
- }
1662
- function X6(e) {
1663
1659
  const t = `/device/${e}`, o = w(t, "red"), c = w(t, "green"), r = w(t, "yellow"), l = w(t, "blue");
1664
1660
  return { red: o, green: c, yellow: r, blue: l };
1665
1661
  }
1666
- function Q6(e) {
1662
+ function J6(e) {
1667
1663
  const t = D(e);
1668
1664
  if (t)
1669
1665
  return {
1670
1666
  communicationMonitorState: t
1671
1667
  };
1672
1668
  }
1673
- function N6(e) {
1669
+ function X6(e) {
1674
1670
  const t = D(e);
1675
1671
  if (t)
1676
1672
  return t.deviceInfo || void 0;
1677
1673
  }
1678
- function et(e) {
1679
- const t = `/device/${e}`, o = w(t, "up"), c = w(t, "down"), r = w(t, "left"), l = w(t, "right"), u = w(t, "select"), g = w(t, "menu"), h = w(t, "exit");
1680
- return { up: o, down: c, left: r, right: l, select: u, menu: g, exit: h };
1674
+ function Q6(e) {
1675
+ const t = `/device/${e}`, o = w(t, "up"), c = w(t, "down"), r = w(t, "left"), l = w(t, "right"), a = w(t, "select"), g = w(t, "menu"), h = w(t, "exit");
1676
+ return { up: o, down: c, left: r, right: l, select: a, menu: g, exit: h };
1681
1677
  }
1682
- function tt(e) {
1683
- const { sendMessage: t } = I();
1678
+ function N6(e) {
1679
+ const { sendMessage: t } = y();
1684
1680
  return { recallPreset: (c) => {
1685
1681
  t(
1686
1682
  `/device/${e}/recallPreset`,
@@ -1688,12 +1684,12 @@ function tt(e) {
1688
1684
  );
1689
1685
  } };
1690
1686
  }
1691
- function nt(e) {
1687
+ function et(e) {
1692
1688
  const t = `/device/${e}`, o = w(t, "dvrList"), c = w(t, "record");
1693
1689
  return { dvrList: o, record: c };
1694
1690
  }
1695
- function ot(e) {
1696
- const { sendMessage: t } = I(), o = D(e);
1691
+ function tt(e) {
1692
+ const { sendMessage: t } = y(), o = D(e);
1697
1693
  return o ? { roomCombinerState: o, setAutoMode: () => {
1698
1694
  t(`/device/${e}/setAutoMode`, null);
1699
1695
  }, setManualMode: () => {
@@ -1706,8 +1702,30 @@ function ot(e) {
1706
1702
  t(`/device/${e}/setRoomCombinationScenario`, h);
1707
1703
  } } : void 0;
1708
1704
  }
1705
+ function nt(e) {
1706
+ var a;
1707
+ const { sendMessage: t } = y(), o = (a = D(e)) == null ? void 0 : a.cameraIsMuted, c = () => {
1708
+ t(`/device/${e}/cameraMuteOn`, null);
1709
+ }, r = () => {
1710
+ t(`/device/${e}/cameraMuteOff`, null);
1711
+ }, l = () => {
1712
+ t(`/device/${e}/cameraMuteToggle`, null);
1713
+ };
1714
+ if (o)
1715
+ return { cameraMuteOn: c, cameraMuteOff: r, cameraMuteToggle: l, cameraIsMuted: o };
1716
+ }
1717
+ function ot(e) {
1718
+ var l;
1719
+ const { sendMessage: t } = y(), o = (l = D(e)) == null ? void 0 : l.presets, c = (a) => {
1720
+ t(`/device/${e}/recallPreset`, a);
1721
+ }, r = (a) => {
1722
+ t(`/device/${e}/savePreset`, a);
1723
+ };
1724
+ if (o)
1725
+ return { recallPreset: c, savePreset: r, presets: o };
1726
+ }
1709
1727
  function st(e) {
1710
- const { sendMessage: t } = I(), o = `/device/${e}`, c = D(e);
1728
+ const { sendMessage: t } = y(), o = `/device/${e}`, c = D(e);
1711
1729
  return c ? {
1712
1730
  state: c,
1713
1731
  selectCamera: (l) => {
@@ -1716,12 +1734,12 @@ function st(e) {
1716
1734
  } : void 0;
1717
1735
  }
1718
1736
  function ct(e) {
1719
- const { sendMessage: t } = I(), o = D(e);
1720
- return X(() => o ? {
1737
+ const { sendMessage: t } = y(), o = D(e);
1738
+ return N(() => o ? {
1721
1739
  state: o,
1722
- dial: (u) => t(`/device/${e}/dial`, { value: u }),
1740
+ dial: (a) => t(`/device/${e}/dial`, { value: a }),
1723
1741
  endAllCalls: () => t(`/device/${e}/endAllCalls`, null),
1724
- sendDtmf: (u) => t(`/device/${e}/dtmf`, { value: u })
1742
+ sendDtmf: (a) => t(`/device/${e}/dtmf`, { value: a })
1725
1743
  } : void 0, [e, t, o]);
1726
1744
  }
1727
1745
  function rt(e) {
@@ -1730,52 +1748,52 @@ function rt(e) {
1730
1748
  return { state: t };
1731
1749
  }
1732
1750
  function lt(e) {
1733
- const { sendMessage: t, sendSimpleMessage: o } = I(), c = D(e), r = ne(e), l = c || r;
1751
+ const { sendMessage: t, sendSimpleMessage: o } = y(), c = D(e), r = ne(e), l = c || r;
1734
1752
  return l ? {
1735
1753
  levelState: l,
1736
- setLevel: (d, A) => o(`${d}/level`, A),
1754
+ setLevel: (d, $) => o(`${d}/level`, $),
1737
1755
  muteToggle: (d) => t(`${d}/muteToggle`, null),
1738
1756
  muteOn: (d) => t(`${d}/muteOn`, null),
1739
1757
  muteOff: (d) => t(`${d}/muteOff`, null)
1740
1758
  } : void 0;
1741
1759
  }
1742
1760
  function it(e) {
1743
- const { sendMessage: t } = I(), o = D(e);
1761
+ const { sendMessage: t } = y(), o = D(e);
1744
1762
  return o ? { lightingState: o, selectScene: (r) => {
1745
1763
  t(`/device/${e}/selectScene`, r);
1746
1764
  } } : void 0;
1747
1765
  }
1748
1766
  function at(e) {
1749
- const { sendMessage: t } = I(), o = D(e);
1767
+ const { sendMessage: t } = y(), o = D(e);
1750
1768
  return o ? { matrixRoutingState: o, setRoute: (r) => {
1751
1769
  t(`/device/${e}/route`, r);
1752
1770
  } } : void 0;
1753
1771
  }
1754
1772
  function ut(e) {
1755
- const { sendMessage: t } = I();
1773
+ const { sendMessage: t } = y();
1756
1774
  return { closeApp: () => {
1757
1775
  t(`/device/${e}/closeWebViewController`, null);
1758
1776
  } };
1759
1777
  }
1760
1778
  function dt(e) {
1761
- const t = `/device/${e}`, o = w(t, "num0"), c = w(t, "num1"), r = w(t, "num2"), l = w(t, "num3"), u = w(t, "num4"), g = w(t, "num5"), h = w(t, "num6"), f = w(t, "num7"), d = w(t, "num8"), A = w(t, "num9"), F = w(t, "numDash"), a = w(t, "numEnter");
1779
+ const t = `/device/${e}`, o = w(t, "num0"), c = w(t, "num1"), r = w(t, "num2"), l = w(t, "num3"), a = w(t, "num4"), g = w(t, "num5"), h = w(t, "num6"), f = w(t, "num7"), d = w(t, "num8"), $ = w(t, "num9"), H = w(t, "numDash"), u = w(t, "numEnter");
1762
1780
  return {
1763
1781
  digit0: o,
1764
1782
  digit1: c,
1765
1783
  digit2: r,
1766
1784
  digit3: l,
1767
- digit4: u,
1785
+ digit4: a,
1768
1786
  digit5: g,
1769
1787
  digit6: h,
1770
1788
  digit7: f,
1771
1789
  digit8: d,
1772
- digit9: A,
1773
- keypadAccessoryButton1: F,
1774
- keypadAccessoryButton2: a
1790
+ digit9: $,
1791
+ keypadAccessoryButton1: H,
1792
+ keypadAccessoryButton2: u
1775
1793
  };
1776
1794
  }
1777
1795
  function vt(e) {
1778
- const { sendMessage: t } = I(), o = D(e);
1796
+ const { sendMessage: t } = y(), o = D(e);
1779
1797
  return o ? { projectorScreenLiftControlState: o, raise: () => {
1780
1798
  t(`/device/${e}/raise`, null);
1781
1799
  }, lower: () => {
@@ -1783,35 +1801,35 @@ function vt(e) {
1783
1801
  } } : void 0;
1784
1802
  }
1785
1803
  function ht(e) {
1786
- const { sendMessage: t } = I(), o = S1(e);
1804
+ const { sendMessage: t } = y(), o = j1(e);
1787
1805
  return o ? { roomEventScheduleState: o, save: (r) => {
1788
1806
  t(`/room/${e}/saveScheduledEvents`, r);
1789
1807
  } } : void 0;
1790
1808
  }
1791
1809
  function gt(e) {
1792
- const { sendMessage: t } = I();
1810
+ const { sendMessage: t } = y();
1793
1811
  return { runDefaultPresentRoute: () => {
1794
1812
  t(`/room/${e}/defaultsource`, {});
1795
1813
  } };
1796
1814
  }
1797
1815
  function ft(e) {
1798
- const { sendMessage: t } = I();
1816
+ const { sendMessage: t } = y();
1799
1817
  return { runDirectRoute: (c) => {
1800
1818
  t(`/room/${e}/directRoute`, c);
1801
1819
  } };
1802
1820
  }
1803
1821
  function wt(e) {
1804
- const { sendMessage: t } = I();
1822
+ const { sendMessage: t } = y();
1805
1823
  return { routingState: D(e), runRoute: (r) => {
1806
1824
  t(`/room/${e}/source`, r);
1807
1825
  } };
1808
1826
  }
1809
- function pt(e) {
1827
+ function mt(e) {
1810
1828
  const t = `/device/${e}`, o = w(t, "chanUp"), c = w(t, "chanDown");
1811
1829
  return { dvrList: o, replay: c };
1812
1830
  }
1813
- function mt(e) {
1814
- const { sendMessage: t } = I(), o = D(e);
1831
+ function pt(e) {
1832
+ const { sendMessage: t } = y(), o = D(e);
1815
1833
  return o ? { shadeState: o, shadeUp: () => {
1816
1834
  t(`/device/${e}/shadeUp`, null);
1817
1835
  }, shadeDown: () => {
@@ -1821,7 +1839,7 @@ function mt(e) {
1821
1839
  } } : void 0;
1822
1840
  }
1823
1841
  function Mt(e) {
1824
- const { sendMessage: t } = I(), o = S1(e);
1842
+ const { sendMessage: t } = y(), o = j1(e);
1825
1843
  return o ? { shutdownPromptTimerState: o, setShutdownPromptSeconds: (g) => {
1826
1844
  t(`/room/${e}/setShutdownPromptSeconds`, g);
1827
1845
  }, shutdownStart: () => {
@@ -1833,7 +1851,7 @@ function Mt(e) {
1833
1851
  } } : void 0;
1834
1852
  }
1835
1853
  function xt(e) {
1836
- const { sendMessage: t } = I(), o = D(e);
1854
+ const { sendMessage: t } = y(), o = D(e);
1837
1855
  return o ? { switchedOutputState: o, on: () => {
1838
1856
  t(`/device/${e}/on`, null);
1839
1857
  }, off: () => {
@@ -1841,19 +1859,19 @@ function xt(e) {
1841
1859
  } } : void 0;
1842
1860
  }
1843
1861
  function Zt(e) {
1844
- const { sendMessage: t } = I(), o = S1(e);
1862
+ const { sendMessage: t } = y(), o = j1(e);
1845
1863
  return o ? { techPasswordState: o, validatePassword: (l) => {
1846
1864
  t(`/room/${e}/validateTechPassword`, { password: l });
1847
- }, setPassword: (l, u) => {
1848
- t(`/room/${e}/setTechPassword`, { oldPassword: l, newPassword: u });
1865
+ }, setPassword: (l, a) => {
1866
+ t(`/room/${e}/setTechPassword`, { oldPassword: l, newPassword: a });
1849
1867
  } } : void 0;
1850
1868
  }
1851
1869
  function St(e) {
1852
- const { sendMessage: t } = I(), o = D(e);
1870
+ const { sendMessage: t } = y(), o = D(e);
1853
1871
  return o ? { state: o, setTemperatureUnitsToCelcius: () => t(`${e}/setTemperatureUnitsToCelcius`, null), setTemperatureUnitsToFahrenheit: () => t(`${e}/setTemperatureUnitsToFahrenheit`, null) } : void 0;
1854
1872
  }
1855
1873
  function jt(e) {
1856
- const { sendMessage: t } = I(), o = D(e), c = (r) => {
1874
+ const { sendMessage: t } = y(), o = D(e), c = (r) => {
1857
1875
  t(`/device/${e}/saveTheme`, { value: r });
1858
1876
  };
1859
1877
  return {
@@ -1862,20 +1880,20 @@ function jt(e) {
1862
1880
  };
1863
1881
  }
1864
1882
  function Ct(e) {
1865
- const t = `/device/${e}`, o = w(t, "play"), c = w(t, "pause"), r = w(t, "stop"), l = w(t, "prevTrack"), u = w(t, "nextTrack"), g = w(t, "rewind"), h = w(t, "ffwd"), f = w(t, "record");
1883
+ const t = `/device/${e}`, o = w(t, "play"), c = w(t, "pause"), r = w(t, "stop"), l = w(t, "prevTrack"), a = w(t, "nextTrack"), g = w(t, "rewind"), h = w(t, "ffwd"), f = w(t, "record");
1866
1884
  return {
1867
1885
  play: o,
1868
1886
  pause: c,
1869
1887
  stop: r,
1870
1888
  prevTrack: l,
1871
- nextTrack: u,
1889
+ nextTrack: a,
1872
1890
  rewind: g,
1873
1891
  fastForward: h,
1874
1892
  record: f
1875
1893
  };
1876
1894
  }
1877
1895
  function bt(e) {
1878
- const t = D(e), { sendMessage: o } = I();
1896
+ const t = D(e), { sendMessage: o } = y();
1879
1897
  return t ? {
1880
1898
  touchpanelState: t,
1881
1899
  appControl: { hideApp: () => {
@@ -1903,13 +1921,13 @@ function yt(e) {
1903
1921
  }
1904
1922
  function It(e) {
1905
1923
  const t = `/device/${e}`;
1906
- return j1(t);
1924
+ return C1(t);
1907
1925
  }
1908
1926
  const Rt = ({
1909
1927
  config: e
1910
1928
  }, t = !0) => {
1911
- const { sendMessage: o } = I(), c = u1(!1), r = X(() => {
1912
- var u, g, h, f;
1929
+ const { sendMessage: o } = y(), c = d1(!1), r = N(() => {
1930
+ var a, g, h, f;
1913
1931
  if (!e)
1914
1932
  return;
1915
1933
  const l = /* @__PURE__ */ new Set();
@@ -1917,7 +1935,7 @@ const Rt = ({
1917
1935
  l.add(d);
1918
1936
  }), e.destinationList && Object.values(e.destinationList).forEach((d) => {
1919
1937
  l.add(d.sinkKey);
1920
- }), e.audioControlPointList && Object.values((u = e.audioControlPointList) == null ? void 0 : u.levelControls).forEach(
1938
+ }), e.audioControlPointList && Object.values((a = e.audioControlPointList) == null ? void 0 : a.levelControls).forEach(
1921
1939
  (d) => {
1922
1940
  d.itemKey ? l.add(d.parentDeviceKey + "--" + d.itemKey) : l.add(d.parentDeviceKey);
1923
1941
  }
@@ -1934,7 +1952,7 @@ const Rt = ({
1934
1952
  d.sourceKey && d.sourceKey !== "$off" && l.add(d.sourceKey);
1935
1953
  return l;
1936
1954
  }, [e]);
1937
- return x1(() => {
1955
+ return Z1(() => {
1938
1956
  !t || !r || r.size === 0 || c.current || (console.log("requesting state for deviceKeys:", r), r.forEach((l) => {
1939
1957
  o(`/device/${l}/fullStatus`, { deviceKey: l });
1940
1958
  }), c.current = !0);
@@ -1943,16 +1961,16 @@ const Rt = ({
1943
1961
  function Et(e, t) {
1944
1962
  const [o, c] = Y(!1), [r, l] = Y(!1);
1945
1963
  return Z3(() => {
1946
- const { current: u } = e, g = () => {
1947
- const h = u && u.scrollHeight > u.clientHeight, f = u && u.scrollWidth > u.clientWidth;
1964
+ const { current: a } = e, g = () => {
1965
+ const h = a && a.scrollHeight > a.clientHeight, f = a && a.scrollWidth > a.clientWidth;
1948
1966
  l(h ?? !1), c(f ?? !1), t && t(h ?? !1, f ?? !1);
1949
1967
  };
1950
- u && g();
1968
+ a && g();
1951
1969
  }, [e, t]), { overflowHorizontal: o, overflowVertical: r };
1952
1970
  }
1953
1971
  function Tt(e, t) {
1954
1972
  const o = `/room/${e}/volumes/${t}`;
1955
- return j1(o);
1973
+ return C1(o);
1956
1974
  }
1957
1975
  function Dt(e, t) {
1958
1976
  const o = te(e, t), c = `/room/${e}/volumes/${t}`;
@@ -1963,7 +1981,7 @@ function _t(e) {
1963
1981
  const [t, o] = Y(((g = e == null ? void 0 : e.current) == null ? void 0 : g.scrollLeft) ?? 0), [c, r] = Y(((h = e == null ? void 0 : e.current) == null ? void 0 : h.scrollTop) ?? 0), l = (f) => {
1964
1982
  const { current: d } = e;
1965
1983
  d && (console.log(d.scrollLeft), d.scrollLeft += f, console.log(d.scrollLeft));
1966
- }, u = (f) => {
1984
+ }, a = (f) => {
1967
1985
  const { current: d } = e;
1968
1986
  d && (console.log(d.scrollTop), d.scrollTop += f, console.log(d.scrollTop));
1969
1987
  };
@@ -1972,18 +1990,18 @@ function _t(e) {
1972
1990
  o((f == null ? void 0 : f.scrollLeft) ?? 0), r((f == null ? void 0 : f.scrollTop) ?? 0);
1973
1991
  };
1974
1992
  f && d();
1975
- }, [e]), { horizontalScrollPosition: t, verticalScrollPosition: c, scrollHorizontal: l, scrollVertical: u };
1993
+ }, [e]), { horizontalScrollPosition: t, verticalScrollPosition: c, scrollHorizontal: l, scrollVertical: a };
1976
1994
  }
1977
- function At(e) {
1995
+ function $t(e) {
1978
1996
  const t = W1();
1979
1997
  return [() => {
1980
- t(k.addSyncState(e));
1998
+ t(W.addSyncState(e));
1981
1999
  }, () => {
1982
- t(k.removeSyncState(e));
2000
+ t(W.removeSyncState(e));
1983
2001
  }, Ze(e)];
1984
2002
  }
1985
- function $t() {
1986
- const { sendMessage: e } = I();
2003
+ function Pt() {
2004
+ const { sendMessage: e } = y();
1987
2005
  return {
1988
2006
  reboot: () => {
1989
2007
  e("/system/reboot", null);
@@ -2000,7 +2018,7 @@ function Lt() {
2000
2018
  const l = (/* @__PURE__ */ new Date()).toLocaleTimeString("en-US", { hour12: !0, hour: "numeric", minute: "numeric" });
2001
2019
  c(l);
2002
2020
  }
2003
- return x1(() => {
2021
+ return Z1(() => {
2004
2022
  r();
2005
2023
  const l = setInterval(() => {
2006
2024
  r();
@@ -2008,7 +2026,7 @@ function Lt() {
2008
2026
  return () => clearInterval(l);
2009
2027
  }, []), { date: e, time: o };
2010
2028
  }
2011
- const Pt = () => {
2029
+ const At = () => {
2012
2030
  const [e, t] = Y(!1), o = y2(), c = I2();
2013
2031
  let r;
2014
2032
  return R2(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: [
@@ -2042,30 +2060,30 @@ const Pt = () => {
2042
2060
  className: c,
2043
2061
  iconClassName: r = "",
2044
2062
  otherContentClassName: l = "",
2045
- disabled: u,
2063
+ disabled: a,
2046
2064
  feedback: g,
2047
2065
  feedbackClassName: h,
2048
2066
  onPointerDown: f,
2049
2067
  onPointerUp: d,
2050
- onPointerLeave: A,
2051
- ...F
2068
+ onPointerLeave: $,
2069
+ ...H
2052
2070
  }) => {
2053
- const [a, Z] = Y(!1), C = !u && g ? h : "", S = !u && (a || g);
2071
+ const [u, Z] = Y(!1), j = !a && g ? h : "", S = !a && (u || g);
2054
2072
  return /* @__PURE__ */ n.jsxs(
2055
2073
  "button",
2056
2074
  {
2057
2075
  type: "button",
2058
- className: `${L1.iconbtn} ${o ? L1.iconbtnvert : ""} ${c} ${C}`,
2059
- ...F,
2060
- disabled: u,
2061
- onPointerDown: (b) => {
2062
- Z(!0), f == null || f(b);
2076
+ className: `${L1.iconbtn} ${o ? L1.iconbtnvert : ""} ${c} ${j}`,
2077
+ ...H,
2078
+ disabled: a,
2079
+ onPointerDown: (C) => {
2080
+ Z(!0), f == null || f(C);
2063
2081
  },
2064
- onPointerUp: (b) => {
2065
- Z(!1), d == null || d(b);
2082
+ onPointerUp: (C) => {
2083
+ Z(!1), d == null || d(C);
2066
2084
  },
2067
- onPointerLeave: (b) => {
2068
- Z(!1), A == null || A(b);
2085
+ onPointerLeave: (C) => {
2086
+ Z(!1), $ == null || $(C);
2069
2087
  },
2070
2088
  children: [
2071
2089
  e && /* @__PURE__ */ n.jsx(
@@ -2073,7 +2091,7 @@ const Pt = () => {
2073
2091
  {
2074
2092
  className: `${r || L1.iconsm}`,
2075
2093
  active: S,
2076
- disabled: u
2094
+ disabled: a
2077
2095
  }
2078
2096
  ),
2079
2097
  l ? /* @__PURE__ */ n.jsx("div", { className: l, children: t }) : /* @__PURE__ */ n.jsx("div", { children: t })
@@ -2924,7 +2942,7 @@ const Pt = () => {
2924
2942
  active: e,
2925
2943
  disabled: o
2926
2944
  }
2927
- ), p8 = ({
2945
+ ), m8 = ({
2928
2946
  active: e,
2929
2947
  className: t = "",
2930
2948
  disabled: o
@@ -2973,7 +2991,7 @@ const Pt = () => {
2973
2991
  active: e,
2974
2992
  disabled: o
2975
2993
  }
2976
- ), m8 = ({
2994
+ ), p8 = ({
2977
2995
  active: e,
2978
2996
  className: t = "",
2979
2997
  disabled: o
@@ -3286,7 +3304,7 @@ const Pt = () => {
3286
3304
  active: e,
3287
3305
  disabled: o
3288
3306
  }
3289
- ), Bt = ({
3307
+ ), Ot = ({
3290
3308
  active: e,
3291
3309
  // Just to shut up the linter on this template. Prefer deleting this lint rule
3292
3310
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
@@ -3712,8 +3730,8 @@ const Pt = () => {
3712
3730
  Moon: g8,
3713
3731
  Playstation: f8,
3714
3732
  Podium: w8,
3715
- Power: p8,
3716
- Privacy: m8,
3733
+ Power: m8,
3734
+ Privacy: p8,
3717
3735
  Question: M8,
3718
3736
  RightArrow: x8,
3719
3737
  RoomPC: Z8,
@@ -3727,7 +3745,7 @@ const Pt = () => {
3727
3745
  X: E8,
3728
3746
  Xbox: T8
3729
3747
  };
3730
- function Ot({
3748
+ function Bt({
3731
3749
  name: e,
3732
3750
  iconsDictionary: t = _8,
3733
3751
  ...o
@@ -3735,32 +3753,32 @@ function Ot({
3735
3753
  const c = t[e] ?? null;
3736
3754
  return c || console.error(`Icon ${e} not found in dictionary`), /* @__PURE__ */ n.jsx(Ne, { multiIcon: c, ...o });
3737
3755
  }
3738
- const A8 = "_grid_1cmpp_1", $8 = "_header_1cmpp_11", L8 = "_content_1cmpp_17", P8 = "_footer_1cmpp_23", B8 = "_volume_1cmpp_29", a1 = {
3739
- grid: A8,
3740
- header: $8,
3756
+ const $8 = "_grid_1cmpp_1", P8 = "_header_1cmpp_11", L8 = "_content_1cmpp_17", A8 = "_footer_1cmpp_23", O8 = "_volume_1cmpp_29", u1 = {
3757
+ grid: $8,
3758
+ header: P8,
3741
3759
  content: L8,
3742
- footer: P8,
3743
- volume: B8
3744
- }, kt = ({ header: e, footer: t, content: o, volume: c, showVolume: r }) => /* @__PURE__ */ n.jsxs("div", { className: a1.grid, children: [
3745
- /* @__PURE__ */ n.jsx("div", { className: a1.header, children: e }),
3746
- /* @__PURE__ */ n.jsx("div", { className: a1.content, children: o }),
3747
- r && /* @__PURE__ */ n.jsx("div", { className: a1.volume, children: c }),
3748
- /* @__PURE__ */ n.jsx("div", { className: a1.footer, children: t })
3749
- ] }), O8 = "_grid_11w5q_1", k8 = "_header_11w5q_11", W8 = "_content_11w5q_17", M1 = {
3750
- grid: O8,
3760
+ footer: A8,
3761
+ volume: O8
3762
+ }, kt = ({ header: e, footer: t, content: o, volume: c, showVolume: r }) => /* @__PURE__ */ n.jsxs("div", { className: u1.grid, children: [
3763
+ /* @__PURE__ */ n.jsx("div", { className: u1.header, children: e }),
3764
+ /* @__PURE__ */ n.jsx("div", { className: u1.content, children: o }),
3765
+ r && /* @__PURE__ */ n.jsx("div", { className: u1.volume, children: c }),
3766
+ /* @__PURE__ */ n.jsx("div", { className: u1.footer, children: t })
3767
+ ] }), B8 = "_grid_11w5q_1", k8 = "_header_11w5q_11", W8 = "_content_11w5q_17", x1 = {
3768
+ grid: B8,
3751
3769
  header: k8,
3752
3770
  content: W8
3753
- }, Wt = ({ className: e, header: t, content: o, leftNav: c }) => /* @__PURE__ */ n.jsxs("div", { className: `${e} ${M1.grid}`, children: [
3754
- /* @__PURE__ */ n.jsx("div", { className: M1.header, children: t }),
3755
- c && /* @__PURE__ */ n.jsx("div", { className: M1.leftNav, children: c }),
3756
- /* @__PURE__ */ n.jsx("div", { className: M1.content, children: o })
3757
- ] }), V8 = "_grid_1uwfo_1", U8 = "_header_1uwfo_11", F8 = "_content_1uwfo_17", P1 = {
3771
+ }, Wt = ({ className: e, header: t, content: o, leftNav: c }) => /* @__PURE__ */ n.jsxs("div", { className: `${e} ${x1.grid}`, children: [
3772
+ /* @__PURE__ */ n.jsx("div", { className: x1.header, children: t }),
3773
+ c && /* @__PURE__ */ n.jsx("div", { className: x1.leftNav, children: c }),
3774
+ /* @__PURE__ */ n.jsx("div", { className: x1.content, children: o })
3775
+ ] }), V8 = "_grid_1uwfo_1", U8 = "_header_1uwfo_11", H8 = "_content_1uwfo_17", A1 = {
3758
3776
  grid: V8,
3759
3777
  header: U8,
3760
- content: F8
3761
- }, Vt = ({ className: e, header: t, content: o }) => /* @__PURE__ */ n.jsxs("div", { className: `${e} ${P1.grid}`, children: [
3762
- /* @__PURE__ */ n.jsx("div", { className: P1.header, children: t }),
3763
- /* @__PURE__ */ n.jsx("div", { className: P1.content, children: o })
3778
+ content: H8
3779
+ }, Vt = ({ className: e, header: t, content: o }) => /* @__PURE__ */ n.jsxs("div", { className: `${e} ${A1.grid}`, children: [
3780
+ /* @__PURE__ */ n.jsx("div", { className: A1.header, children: t }),
3781
+ /* @__PURE__ */ n.jsx("div", { className: A1.content, children: o })
3764
3782
  ] });
3765
3783
  class Ut {
3766
3784
  constructor() {
@@ -3769,11 +3787,11 @@ class Ut {
3769
3787
  q(this, "isSharing");
3770
3788
  }
3771
3789
  }
3772
- function Ft() {
3790
+ function Ht() {
3773
3791
  return console.log(location.pathname), location.pathname;
3774
3792
  }
3775
- var H8 = /* @__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))(H8 || {});
3776
- class Ht {
3793
+ var F8 = /* @__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))(F8 || {});
3794
+ class Ft {
3777
3795
  constructor(t, o) {
3778
3796
  q(this, "path");
3779
3797
  q(this, "handler");
@@ -3783,8 +3801,8 @@ class Ht {
3783
3801
  const Kt = "$off";
3784
3802
  export {
3785
3803
  K6 as Clock,
3786
- H8 as DaysOfWeek,
3787
- Pt as ErrorBox,
3804
+ F8 as DaysOfWeek,
3805
+ At as ErrorBox,
3788
3806
  Ne as IconButton,
3789
3807
  e8 as IconMultiAlert,
3790
3808
  t8 as IconMultiBan,
@@ -3804,14 +3822,14 @@ export {
3804
3822
  g8 as IconMultiMoon,
3805
3823
  f8 as IconMultiPlaystation,
3806
3824
  w8 as IconMultiPodium,
3807
- p8 as IconMultiPower,
3808
- m8 as IconMultiPrivacy,
3825
+ m8 as IconMultiPower,
3826
+ p8 as IconMultiPrivacy,
3809
3827
  M8 as IconMultiQuestion,
3810
3828
  x8 as IconMultiRightArrow,
3811
3829
  Z8 as IconMultiRoomPC,
3812
3830
  S8 as IconMultiShade,
3813
3831
  j8 as IconMultiSun,
3814
- Bt as IconMultiTemplate,
3832
+ Ot as IconMultiTemplate,
3815
3833
  C8 as IconMultiUpArrow,
3816
3834
  b8 as IconMultiVolDown,
3817
3835
  y8 as IconMultiVolMute,
@@ -3820,24 +3838,24 @@ export {
3820
3838
  E8 as IconMultiX,
3821
3839
  T8 as IconMultiXbox,
3822
3840
  kt as MainLayout,
3823
- Ht as MessageHandler,
3841
+ Ft as MessageHandler,
3824
3842
  W6 as MobileControlProvider,
3825
3843
  R as MultiStateIconContainer,
3826
- Ot as NamedIconButton,
3844
+ Bt as NamedIconButton,
3827
3845
  Ut as ShareState,
3828
3846
  Wt as TechLayout,
3829
3847
  Vt as TechPinLayout,
3830
3848
  L3 as WS_ADD_EVENT_HANDLER,
3831
3849
  _3 as WS_CONNECT,
3832
- A3 as WS_DISCONNECT,
3833
- B3 as WS_RECONNECT,
3834
- P3 as WS_REMOVE_EVENT_HANDLER,
3835
- $3 as WS_SEND_MESSAGE,
3850
+ $3 as WS_DISCONNECT,
3851
+ O3 as WS_RECONNECT,
3852
+ A3 as WS_REMOVE_EVENT_HANDLER,
3853
+ P3 as WS_SEND_MESSAGE,
3836
3854
  k3 as WebsocketContext,
3837
3855
  T3 as appConfigActions,
3838
- Be as createWebSocketMiddleware,
3839
- w1 as devicesActions,
3840
- Ft as getBaseLocation,
3856
+ Oe as createWebSocketMiddleware,
3857
+ m1 as devicesActions,
3858
+ Ht as getBaseLocation,
3841
3859
  f3 as httpClient,
3842
3860
  _8 as iconsDictionary,
3843
3861
  Kt as roomOffSourceKey,
@@ -3848,57 +3866,57 @@ export {
3848
3866
  E2 as selectAppConfig,
3849
3867
  ce as selectClientId,
3850
3868
  he as selectCurrentPopoverIdForGroup,
3851
- A2 as selectDeviceByKey,
3869
+ $2 as selectDeviceByKey,
3852
3870
  b3 as selectDeviceInterfaceSupport,
3853
3871
  ve as selectDeviceSupportsInterface,
3854
3872
  fe as selectError,
3855
3873
  y3 as selectInterfacesForDevice,
3856
- me as selectIsSyncStateValuePresent,
3874
+ pe as selectIsSyncStateValuePresent,
3857
3875
  de as selectIsTouchpanel,
3858
3876
  D2 as selectLogoPath,
3859
3877
  V1 as selectModalVisibility,
3860
3878
  _2 as selectPartnerMetadata,
3861
3879
  X2 as selectRoomAdvancedSharingActive,
3862
3880
  V2 as selectRoomAudioControlPointList,
3863
- P2 as selectRoomByKey,
3881
+ A2 as selectRoomByKey,
3864
3882
  q2 as selectRoomCodecContentDestinationKey,
3865
- $2 as selectRoomConfiguration,
3866
- F2 as selectRoomDestinationList,
3883
+ P2 as selectRoomConfiguration,
3884
+ H2 as selectRoomDestinationList,
3867
3885
  U2 as selectRoomDestinations,
3868
3886
  ee as selectRoomDisplayStates,
3869
- H2 as selectRoomEnvironmentalDevices,
3887
+ F2 as selectRoomEnvironmentalDevices,
3870
3888
  G2 as selectRoomInCall,
3871
3889
  z2 as selectRoomIsCoolingDown,
3872
3890
  J2 as selectRoomIsOn,
3873
3891
  Y2 as selectRoomIsWarmingUp,
3874
3892
  se as selectRoomKey,
3875
3893
  k2 as selectRoomLevelControls,
3876
- B2 as selectRoomName,
3894
+ O2 as selectRoomName,
3877
3895
  K2 as selectRoomProgramAudioDestinationKey,
3878
3896
  Q2 as selectRoomShareState,
3879
3897
  W2 as selectRoomSourceList,
3880
- O2 as selectRoomVolume,
3898
+ B2 as selectRoomVolume,
3881
3899
  L2 as selectRooms,
3882
3900
  ae as selectRuntimeInfo,
3883
3901
  ie as selectServerIsRunningOnProcessorHardware,
3884
3902
  ge as selectShowPopoverById,
3885
3903
  we as selectShowReconnect,
3886
3904
  re as selectSystemUuid,
3887
- pe as selectTheme,
3905
+ me as selectTheme,
3888
3906
  ue as selectTouchpanelKey,
3889
3907
  le as selectUserCode,
3890
3908
  oe as selectWsIsConnected,
3891
3909
  N2 as selectZoomRoomControllerKey,
3892
3910
  ke as store,
3893
- k as uiActions,
3911
+ W as uiActions,
3894
3912
  je as uiReducer,
3895
3913
  Q8 as useApiPath,
3896
3914
  X8 as useAppConfig,
3897
3915
  W1 as useAppDispatch,
3898
- p as useAppSelector,
3899
- F6 as useAvrControl,
3916
+ m as useAppSelector,
3917
+ H6 as useAvrControl,
3900
3918
  w as useButtonHeldHeartbeat,
3901
- H6 as useCameraBase,
3919
+ F6 as useCameraBase,
3902
3920
  S6 as useClientId,
3903
3921
  It as useDeviceIBasicVolume,
3904
3922
  Ye as useDeviceIBasicVolumeWithFeedback,
@@ -3917,18 +3935,18 @@ export {
3917
3935
  s6 as useGetRoom,
3918
3936
  M6 as useGetRoomDisplayStates,
3919
3937
  x6 as useGetZoomRoomControllerKey,
3920
- Y6 as useIAudioCodecInfo,
3921
- z6 as useIAudioCodecPhonebook,
3922
- j1 as useIBasicVolume,
3938
+ C1 as useIBasicVolume,
3923
3939
  W3 as useIBasicVolumeWithFeedback,
3924
- J6 as useIChannel,
3925
- X6 as useIColor,
3926
- Q6 as useICommunicationMonitor,
3927
- et as useIDPad,
3928
- N6 as useIDeviceInfoMessenger,
3929
- tt as useIDspPresets,
3930
- nt as useIDvr,
3931
- ot as useIEssentialsRoomCombiner,
3940
+ Y6 as useIChannel,
3941
+ z6 as useIColor,
3942
+ J6 as useICommunicationMonitor,
3943
+ Q6 as useIDPad,
3944
+ X6 as useIDeviceInfoMessenger,
3945
+ N6 as useIDspPresets,
3946
+ et as useIDvr,
3947
+ tt as useIEssentialsRoomCombiner,
3948
+ nt as useIHasCameraMute,
3949
+ ot as useIHasCameraPresets,
3932
3950
  st as useIHasCameras,
3933
3951
  ct as useIHasDialer,
3934
3952
  V3 as useIHasPowerControl,
@@ -3944,8 +3962,8 @@ export {
3944
3962
  gt as useIRunDefaultPresentRoute,
3945
3963
  ft as useIRunDirectRouteAction,
3946
3964
  wt as useIRunRouteAction,
3947
- pt as useISetTopBoxControls,
3948
- mt as useIShadesOpenCloseStop,
3965
+ mt as useISetTopBoxControls,
3966
+ pt as useIShadesOpenCloseStop,
3949
3967
  Mt as useIShutdownPromptTimer,
3950
3968
  xt as useISwitchedOutput,
3951
3969
  Zt as useITechPassword,
@@ -3961,7 +3979,7 @@ export {
3961
3979
  Et as useOverflow,
3962
3980
  e6 as usePartnerMetadata,
3963
3981
  Ge as usePressHoldRelease,
3964
- p6 as useRoomAdvancedSharingActive,
3982
+ m6 as useRoomAdvancedSharingActive,
3965
3983
  l6 as useRoomAudioControlPointList,
3966
3984
  v6 as useRoomCodecContentDestinationKey,
3967
3985
  n6 as useRoomConfiguration,
@@ -3978,32 +3996,32 @@ export {
3978
3996
  ne as useRoomLevelControls,
3979
3997
  c6 as useRoomName,
3980
3998
  d6 as useRoomProgramAudioDestinationKey,
3981
- m6 as useRoomShareState,
3999
+ p6 as useRoomShareState,
3982
4000
  r6 as useRoomSourceList,
3983
- S1 as useRoomState,
4001
+ j1 as useRoomState,
3984
4002
  te as useRoomVolume,
3985
4003
  y6 as useRuntimeInfo,
3986
4004
  _t as useScroll,
3987
4005
  b6 as useServerIsRunningOnProcessorHardware,
3988
- A6 as useShowIncomingCallModal,
3989
- $6 as useShowModal,
3990
- P6 as useShowPopoverById,
4006
+ $6 as useShowIncomingCallModal,
4007
+ P6 as useShowModal,
4008
+ A6 as useShowPopoverById,
3991
4009
  xe as useShowReconnect,
3992
4010
  _6 as useShowShutdownModal,
3993
- At as useStateIsSynced,
3994
- $t as useSystemControl,
4011
+ $t as useStateIsSynced,
4012
+ Pt as useSystemControl,
3995
4013
  j6 as useSystemUuid,
3996
- B6 as useTheme,
4014
+ O6 as useTheme,
3997
4015
  Lt as useTimeAndDate,
3998
4016
  I6 as useTouchpanelKey,
3999
4017
  yt as useTwoWayDisplayBase,
4000
4018
  C6 as useUserCode,
4001
- I as useWebsocketContext,
4019
+ y as useWebsocketContext,
4002
4020
  I3 as useWsIsConnected,
4003
- $e as wsAddEventHandler,
4004
- O3 as wsConnect,
4005
- O6 as wsDisconnect,
4006
- Pe as wsReconnect,
4021
+ Pe as wsAddEventHandler,
4022
+ B3 as wsConnect,
4023
+ B6 as wsDisconnect,
4024
+ Ae as wsReconnect,
4007
4025
  Le as wsRemoveEventHandler,
4008
- Ae as wsSendMessage
4026
+ $e as wsSendMessage
4009
4027
  };