@pepperdash/mobile-control-react-app-core 1.21.0 → 1.22.0

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,140 +1,140 @@
1
- var v2 = Object.defineProperty;
2
- var h2 = (e, t, o) => t in e ? v2(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o;
3
- var K = (e, t, o) => h2(e, typeof t != "symbol" ? t + "" : t, o);
4
- import p3, { AxiosError as g2 } from "axios";
5
- import { useDispatch as f2, useSelector as w2, Provider as p2 } from "react-redux";
6
- import { createSelector as M, createSlice as i1, combineReducers as m2, configureStore as M2 } from "@reduxjs/toolkit";
7
- import m3, { createContext as x2, useEffect as m1, useCallback as s1, useContext as Z2, useRef as L1, useState as G, useLayoutEffect as M3 } from "react";
8
- import { useNavigate as S2, useRouteError as j2, isRouteErrorResponse as C2 } from "react-router-dom";
9
- import * as x3 from "lodash";
10
- const O1 = f2.withTypes(), m = w2.withTypes(), M1 = (e) => e.appConfig, b2 = M(
1
+ var h2 = Object.defineProperty;
2
+ var g2 = (e, t, o) => t in e ? h2(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o;
3
+ var K = (e, t, o) => g2(e, typeof t != "symbol" ? t + "" : t, o);
4
+ import p3, { AxiosError as f2 } from "axios";
5
+ import { useDispatch as w2, useSelector as m2, Provider as p2 } from "react-redux";
6
+ import { createSelector as M, createSlice as i1, combineReducers as M2, configureStore as x2 } from "@reduxjs/toolkit";
7
+ import M3, { createContext as Z2, useEffect as p1, useCallback as s1, useContext as S2, useRef as $1, useState as G, useLayoutEffect as x3 } from "react";
8
+ import { useNavigate as j2, useRouteError as C2, isRouteErrorResponse as b2 } from "react-router-dom";
9
+ import * as Z3 from "lodash";
10
+ const k1 = w2.withTypes(), w = m2.withTypes(), M1 = (e) => e.appConfig, y2 = M(
11
11
  M1,
12
12
  (e) => e.config
13
- ), y2 = M(
13
+ ), I2 = M(
14
14
  M1,
15
15
  (e) => e.config.apiPath
16
- ), I2 = M(
16
+ ), R2 = M(
17
17
  M1,
18
18
  (e) => e.config.logoPath
19
- ), R2 = M(
19
+ ), E2 = M(
20
20
  M1,
21
21
  (e) => e.config.partnerMetadata
22
- ), G8 = () => m(b2), Y8 = () => m(y2), z8 = () => m(I2), J8 = () => m(R2), Z3 = (e) => e.devices, S3 = M(
23
- Z3,
22
+ ), Y8 = () => w(y2), z8 = () => w(I2), J8 = () => w(R2), X8 = () => w(E2), S3 = (e) => e.devices, j3 = M(
23
+ S3,
24
24
  (e) => e
25
- ), E2 = (e) => M(
26
- Z3,
25
+ ), T2 = (e) => M(
26
+ S3,
27
27
  (t) => t[e] ? t[e] : void 0
28
- ), X8 = () => m(S3);
28
+ ), Q8 = () => w(j3);
29
29
  function D(e) {
30
- return m(E2(e));
30
+ return w(T2(e));
31
31
  }
32
- const $ = (e) => e.rooms, T2 = (e) => M(
33
- $,
32
+ const A = (e) => e.rooms, D2 = (e) => M(
33
+ A,
34
34
  (t) => t[e] ? t[e].configuration : void 0
35
- ), D2 = M(
36
- $,
35
+ ), _2 = M(
36
+ A,
37
37
  (e) => e
38
- ), _2 = (e) => M(
39
- $,
40
- (t) => t[e] ? t[e] : void 0
41
38
  ), P2 = (e) => M(
42
- $,
39
+ A,
40
+ (t) => t[e] ? t[e] : void 0
41
+ ), L2 = (e) => M(
42
+ A,
43
43
  (t) => t[e] ? t[e].name : void 0
44
- ), L2 = (e, t) => M(
45
- $,
44
+ ), $2 = (e, t) => M(
45
+ A,
46
46
  (o) => o[e] ? o[e].volumes[t] : void 0
47
47
  ), A2 = (e) => M(
48
- $,
48
+ A,
49
49
  (t) => t[e] ? t[e] : void 0
50
- ), $2 = (e) => M(
51
- $,
50
+ ), B2 = (e) => M(
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
- ), B2 = (e) => M(
57
- $,
56
+ ), O2 = (e) => M(
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
- ), O2 = (e) => M(
63
- $,
62
+ ), k2 = (e) => M(
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
- ), k2 = (e) => M(
69
- $,
68
+ ), W2 = (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
- ), W2 = (e) => M(
75
- $,
74
+ ), V2 = (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
- ), V2 = (e) => M(
81
- $,
80
+ ), U2 = (e) => M(
81
+ A,
82
82
  (t) => {
83
- var o, c, r, i, v, u, h, w;
84
- return (c = (o = t[e]) == null ? void 0 : o.configuration) != null && c.destinationList.programAudio ? (v = (i = (r = t[e]) == null ? void 0 : r.configuration) == null ? void 0 : i.destinationList.programAudio) == null ? void 0 : v.sinkKey : ((w = (h = (u = t[e]) == null ? void 0 : u.configuration) == null ? void 0 : h.destinationList.defaultDisplay) == null ? void 0 : w.sinkKey) || "";
83
+ var o, c, r, i, v, u, h, m;
84
+ return (c = (o = t[e]) == null ? void 0 : o.configuration) != null && c.destinationList.programAudio ? (v = (i = (r = t[e]) == null ? void 0 : r.configuration) == null ? void 0 : i.destinationList.programAudio) == null ? void 0 : v.sinkKey : ((m = (h = (u = t[e]) == null ? void 0 : u.configuration) == null ? void 0 : h.destinationList.defaultDisplay) == null ? void 0 : m.sinkKey) || "";
85
85
  }
86
- ), U2 = (e) => M(
87
- $,
86
+ ), H2 = (e) => M(
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
- ), H2 = (e) => M(
93
- $,
92
+ ), F2 = (e) => M(
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
- ), F2 = (e) => M(
99
- $,
98
+ ), K2 = (e) => M(
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
- ), K2 = (e) => M(
105
- $,
104
+ ), q2 = (e) => M(
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
- ), q2 = (e) => M(
111
- $,
110
+ ), G2 = (e) => M(
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
- ), G2 = (e) => M(
117
- $,
116
+ ), Y2 = (e) => M(
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
- ), Y2 = (e) => M(
123
- $,
122
+ ), z2 = (e) => M(
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
- ), z2 = (e) => M(
129
- $,
128
+ ), J2 = (e) => M(
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;
133
133
  }
134
- ), J2 = M(
134
+ ), X2 = M(
135
135
  [
136
136
  (e, t) => t,
137
- () => S3,
137
+ () => j3,
138
138
  (e, t) => {
139
139
  var o, c;
140
140
  return (c = (o = e.rooms[t]) == null ? void 0 : o.configuration) == null ? void 0 : c.destinations;
@@ -146,68 +146,68 @@ const $ = (e) => e.rooms, T2 = (e) => M(
146
146
  return Object.values(t).filter((i) => Object.values(c).includes(i.key));
147
147
  }
148
148
  );
149
- function Q8(e) {
150
- return m(
151
- T2(e)
149
+ function N8(e) {
150
+ return w(
151
+ D2(e)
152
152
  );
153
153
  }
154
- function N8() {
155
- return m(D2);
154
+ function e6() {
155
+ return w(_2);
156
156
  }
157
157
  function x1(e) {
158
- return m(_2(e));
158
+ return w(P2(e));
159
159
  }
160
- const e6 = x1, t6 = (e) => m(
161
- P2(e)
162
- ), X2 = (e, t) => m(
163
- L2(e, t)
164
- ), Q2 = (e) => m(A2(e)) || void 0, n6 = (e) => m($2(e)), o6 = (e) => m(B2(e)), s6 = (e) => m(O2(e)), c6 = (e) => m(k2(e)), 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((t) => J2(t, e)), w6 = (e) => m(z2(e)), q = (e) => e.runtimeConfig, N2 = M(
160
+ const t6 = x1, n6 = (e) => w(
161
+ L2(e)
162
+ ), Q2 = (e, t) => w(
163
+ $2(e, t)
164
+ ), N2 = (e) => w(A2(e)) || void 0, o6 = (e) => w(B2(e)), s6 = (e) => w(O2(e)), c6 = (e) => w(k2(e)), r6 = (e) => w(W2(e)), l6 = (e) => w(V2(e)), i6 = (e) => w(U2(e)), a6 = (e) => w(H2(e)), u6 = (e) => w(F2(e)), d6 = (e) => w(K2(e)), v6 = (e) => w(q2(e)), h6 = (e) => w(G2(e)), g6 = (e) => w(Y2(e)), f6 = (e) => w(z2(e)), w6 = (e) => w((t) => X2(t, e)), m6 = (e) => w(J2(e)), q = (e) => e.runtimeConfig, ee = M(
165
165
  q,
166
166
  (e) => e.websocket.isConnected
167
- ), ee = M(
167
+ ), te = M(
168
168
  q,
169
169
  (e) => e.currentRoomKey
170
- ), te = M(
170
+ ), ne = M(
171
171
  q,
172
172
  (e) => e.roomData.clientId
173
- ), ne = M(
173
+ ), oe = M(
174
174
  q,
175
175
  (e) => e.roomData.systemUuid
176
- ), oe = M(
176
+ ), se = M(
177
177
  q,
178
178
  (e) => e.roomData.userCode
179
- ), se = M(
179
+ ), ce = M(
180
180
  q,
181
181
  (e) => e.serverIsRunningOnProcessorHardware
182
- ), ce = M(
182
+ ), re = M(
183
183
  q,
184
184
  (e) => {
185
185
  var t;
186
186
  return (t = e.roomData.config) == null ? void 0 : t.runtimeInfo;
187
187
  }
188
- ), re = M(
188
+ ), le = M(
189
189
  q,
190
190
  (e) => e.touchpanelKey
191
- ), le = M(
191
+ ), ie = M(
192
192
  q,
193
193
  (e) => e.touchpanelKey !== ""
194
- ), ie = M(
194
+ ), ae = M(
195
195
  q,
196
196
  (e) => e.roomData.deviceInterfaceSupport
197
- ), j3 = () => m(N2), p6 = () => m(ee), m6 = () => m(te), M6 = () => m(ne), x6 = () => m(oe), Z6 = () => m(se), S6 = () => m(ce), j6 = () => m(re), C6 = () => m(le), b6 = () => m(ie), Q = (e) => e.ui, k1 = (e) => M(Q, (t) => t.modalVisibility[e]), ae = (e) => M(Q, (t) => {
197
+ ), C3 = () => w(ee), p6 = () => w(te), M6 = () => w(ne), x6 = () => w(oe), Z6 = () => w(se), S6 = () => w(ce), j6 = () => w(re), C6 = () => w(le), b6 = () => w(ie), y6 = () => w(ae), Q = (e) => e.ui, W1 = (e) => M(Q, (t) => t.modalVisibility[e]), ue = (e) => M(Q, (t) => {
198
198
  const o = t.popoverVisibility[e];
199
199
  if (o)
200
200
  return Object.keys(o).find((c) => o[c]);
201
- }), ue = (e, t) => M(
201
+ }), de = (e, t) => M(
202
202
  Q,
203
203
  (o) => {
204
204
  var c;
205
205
  return ((c = o.popoverVisibility[e]) == null ? void 0 : c[t]) ?? !1;
206
206
  }
207
- ), de = M(Q, (e) => e.error), ve = M(
207
+ ), ve = M(Q, (e) => e.error), he = M(
208
208
  Q,
209
209
  (e) => e.showReconnect
210
- ), he = M(Q, (e) => e.theme), ge = (e) => M(Q, (t) => t.syncState.includes(e)), y6 = () => m(k1("showShutdownModal")), I6 = () => m(k1("showIncomingCallModal")), R6 = (e) => m(k1(e)), E6 = (e) => m(ae(e)), T6 = (e, t) => m(ue(e, t)), fe = () => m(de), we = () => m(ve), D6 = () => m(he), pe = (e) => m(ge(e)), me = {
210
+ ), ge = M(Q, (e) => e.theme), fe = (e) => M(Q, (t) => t.syncState.includes(e)), I6 = () => w(W1("showShutdownModal")), R6 = () => w(W1("showIncomingCallModal")), E6 = (e) => w(W1(e)), T6 = (e) => w(ue(e)), D6 = (e, t) => w(de(e, t)), we = () => w(ve), me = () => w(he), _6 = () => w(ge), pe = (e) => w(fe(e)), Me = {
211
211
  showReconnect: !1,
212
212
  error: "",
213
213
  modalVisibility: {
@@ -216,9 +216,9 @@ const e6 = x1, t6 = (e) => m(
216
216
  },
217
217
  popoverVisibility: {},
218
218
  syncState: []
219
- }, C3 = i1({
219
+ }, b3 = i1({
220
220
  name: "ui",
221
- initialState: me,
221
+ initialState: Me,
222
222
  reducers: {
223
223
  clearAllModals(e) {
224
224
  Object.entries(e.modalVisibility).forEach(([t]) => {
@@ -262,7 +262,7 @@ const e6 = x1, t6 = (e) => m(
262
262
  e.syncState = [];
263
263
  }
264
264
  }
265
- }), k = C3.actions, Me = C3.reducer, xe = {
265
+ }), k = b3.actions, xe = b3.reducer, Ze = {
266
266
  config: {
267
267
  enableDev: !1,
268
268
  apiPath: "",
@@ -272,33 +272,33 @@ const e6 = x1, t6 = (e) => m(
272
272
  loginMode: "",
273
273
  modes: {}
274
274
  }
275
- }, b3 = i1({
275
+ }, y3 = i1({
276
276
  name: "appConfig",
277
- initialState: xe,
277
+ initialState: Ze,
278
278
  reducers: {
279
279
  setAppConfig(e, t) {
280
280
  e.config = t.payload;
281
281
  }
282
282
  }
283
- }), y3 = b3.actions, Ze = b3.reducer, u3 = {}, A1 = i1({
283
+ }), I3 = y3.actions, Se = y3.reducer, d3 = {}, A1 = i1({
284
284
  name: "devices",
285
- initialState: u3,
285
+ initialState: d3,
286
286
  reducers: {
287
287
  setDeviceState(e, t) {
288
288
  const o = t.payload.type, c = o.slice(o.lastIndexOf("/") + 1);
289
289
  if (!c) return;
290
- const r = t.payload.content, i = e[c] ?? {}, v = x3.merge(i, r);
290
+ const r = t.payload.content, i = e[c] ?? {}, v = Z3.merge(i, r);
291
291
  e[c] = v;
292
292
  },
293
293
  clearDevices() {
294
- return u3;
294
+ return d3;
295
295
  }
296
296
  }
297
297
  }), g1 = {
298
298
  setDeviceState: A1.actions.setDeviceState,
299
299
  clearDevices: A1.actions.clearDevices
300
- }, Se = A1.reducer;
301
- class je {
300
+ }, je = A1.reducer;
301
+ class Ce {
302
302
  constructor() {
303
303
  K(this, "uuid", "current-uuid");
304
304
  K(this, "roomKey", "current-room-key");
@@ -306,31 +306,31 @@ class je {
306
306
  K(this, "expiry", "current-uuid-expires");
307
307
  }
308
308
  }
309
- const d3 = new je();
310
- function Ce(e) {
309
+ const v3 = new Ce();
310
+ function be(e) {
311
311
  return sessionStorage.getItem(e) || "";
312
312
  }
313
- function be(e, t) {
313
+ function ye(e, t) {
314
314
  sessionStorage.setItem(e, t);
315
315
  }
316
- const v3 = {}, $1 = i1({
316
+ const h3 = {}, B1 = i1({
317
317
  name: "rooms",
318
- initialState: v3,
318
+ initialState: h3,
319
319
  reducers: {
320
320
  setRoomState(e, t) {
321
321
  const o = t.payload.type, c = o.slice(o.lastIndexOf("/") + 1);
322
322
  if (!c) return;
323
- const r = t.payload.content, i = e[c] ?? {}, v = x3.merge(i, r);
323
+ const r = t.payload.content, i = e[c] ?? {}, v = Z3.merge(i, r);
324
324
  e[c] = v;
325
325
  },
326
326
  clearRooms() {
327
- return v3;
327
+ return h3;
328
328
  }
329
329
  }
330
330
  }), f1 = {
331
- setRoomState: $1.actions.setRoomState,
332
- clearRooms: $1.actions.clearRooms
333
- }, ye = $1.reducer, Ie = {
331
+ setRoomState: B1.actions.setRoomState,
332
+ clearRooms: B1.actions.clearRooms
333
+ }, Ie = B1.reducer, Re = {
334
334
  apiVersion: "",
335
335
  serverIsRunningOnProcessorHardware: !1,
336
336
  websocket: {
@@ -361,9 +361,9 @@ const v3 = {}, $1 = i1({
361
361
  userCode: "",
362
362
  qrUrl: ""
363
363
  }
364
- }, I3 = i1({
364
+ }, R3 = i1({
365
365
  name: "runtimeConfig",
366
- initialState: Ie,
366
+ initialState: Re,
367
367
  reducers: {
368
368
  setRuntimeConfig(e, t) {
369
369
  e.apiVersion = t.payload.apiVersion, e.serverIsRunningOnProcessorHardware = t.payload.serverIsRunningOnProcessorHardware;
@@ -390,16 +390,16 @@ const v3 = {}, $1 = i1({
390
390
  e.touchpanelKey = t.payload;
391
391
  }
392
392
  }
393
- }), H = I3.actions, Re = I3.reducer, D1 = p3.create(), R3 = "websocket/connect", E3 = "websocket/disconnect", T3 = "websocket/sendMessage", D3 = "websocket/addEventHandler", _3 = "websocket/removeEventHandler", P3 = "websocket/reconnect", L3 = () => ({ type: R3 }), _6 = () => ({ type: E3 }), Ee = (e, t) => ({
394
- type: T3,
395
- payload: { messageType: e, content: t }
396
- }), Te = (e, t, o) => ({
393
+ }), H = R3.actions, Ee = R3.reducer, _1 = p3.create(), E3 = "websocket/connect", T3 = "websocket/disconnect", D3 = "websocket/sendMessage", _3 = "websocket/addEventHandler", P3 = "websocket/removeEventHandler", L3 = "websocket/reconnect", $3 = () => ({ type: E3 }), P6 = () => ({ type: T3 }), Te = (e, t) => ({
397
394
  type: D3,
398
- payload: { eventType: e, key: t, callback: o }
399
- }), De = (e, t) => ({
395
+ payload: { messageType: e, content: t }
396
+ }), De = (e, t, o) => ({
400
397
  type: _3,
398
+ payload: { eventType: e, key: t, callback: o }
399
+ }), _e = (e, t) => ({
400
+ type: P3,
401
401
  payload: { eventType: e, key: t }
402
- }), _e = () => ({ type: P3 }), Pe = () => {
402
+ }), Pe = () => ({ type: L3 }), Le = () => {
403
403
  const e = {
404
404
  client: null,
405
405
  token: null,
@@ -410,14 +410,14 @@ const v3 = {}, $1 = i1({
410
410
  try {
411
411
  const x = location.pathname.split("/").filter((b) => b.length > 0);
412
412
  x.length >= 5 ? x.length = 5 : x.length = 2;
413
- const S = `/${x.join("/")}`, Z = await D1.get(
413
+ const S = `/${x.join("/")}`, Z = await _1.get(
414
414
  "/_local-config/_config.local.json",
415
415
  { baseURL: S }
416
416
  );
417
417
  if (Z.status === 200 && Z.data) {
418
418
  const b = Z.data.apiPath;
419
- a(y3.setAppConfig(Z.data));
420
- const j = await D1.get(
419
+ a(I3.setAppConfig(Z.data));
420
+ const j = await _1.get(
421
421
  `${b}/version`
422
422
  );
423
423
  j.status === 200 && j.data && a(H.setRuntimeConfig(j.data));
@@ -428,12 +428,12 @@ const v3 = {}, $1 = i1({
428
428
  return !0;
429
429
  }, o = async (a, x, S) => {
430
430
  try {
431
- const Z = await D1.get(
431
+ const Z = await _1.get(
432
432
  `${a}/ui/joinroom?token=${x}`
433
433
  );
434
434
  return Z.status === 200 && Z.data ? (S(H.setRoomData(Z.data)), !0) : !1;
435
435
  } catch (Z) {
436
- return console.log(Z), Z instanceof g2 && Z.response && Z.response.status === 498 ? (console.error("Invalid token. Unable to join room"), S(
436
+ return console.log(Z), Z instanceof f2 && Z.response && Z.response.status === 498 ? (console.error("Invalid token. Unable to join room"), S(
437
437
  k.setErrorMessage(
438
438
  `Token ${x} is invalid. Unable to join room`
439
439
  )
@@ -441,7 +441,7 @@ const v3 = {}, $1 = i1({
441
441
  }
442
442
  }, c = (a) => {
443
443
  e.reconnectTimer && (clearTimeout(e.reconnectTimer), e.reconnectTimer = null), console.log("WebSocket middleware: Starting reconnection loop..."), e.reconnectTimer = setTimeout(() => {
444
- e.waitingToReconnect = !1, e.reconnectTimer = null, console.log("WebSocket middleware: Attempting automatic reconnection..."), a(L3());
444
+ e.waitingToReconnect = !1, e.reconnectTimer = null, console.log("WebSocket middleware: Attempting automatic reconnection..."), a($3());
445
445
  }, 5e3);
446
446
  }, r = () => {
447
447
  e.reconnectTimer && (console.log("WebSocket middleware: Stopping reconnection loop"), clearTimeout(e.reconnectTimer), e.reconnectTimer = null);
@@ -496,7 +496,7 @@ const v3 = {}, $1 = i1({
496
496
  return;
497
497
  }
498
498
  console.log("WebSocket middleware: Connecting to websocket");
499
- const Z1 = `${Z.replace("http", "ws")}/ui/join/${e.token}`, Y = new WebSocket(Z1);
499
+ const S1 = `${Z.replace("http", "ws")}/ui/join/${e.token}`, Y = new WebSocket(S1);
500
500
  e.client = Y, Y.onopen = (B) => {
501
501
  console.log("WebSocket middleware: Connected", B.type, B.target), e.waitingToReconnect = !1, r(), a(H.setWebsocketIsConnected(!0));
502
502
  }, Y.onerror = (B) => {
@@ -597,10 +597,10 @@ const v3 = {}, $1 = i1({
597
597
  ), t1 && Object.values(t1).forEach((a1) => {
598
598
  try {
599
599
  a1(L);
600
- } catch (S1) {
600
+ } catch (j1) {
601
601
  console.error(
602
602
  "WebSocket middleware: Event handler error",
603
- S1
603
+ j1
604
604
  );
605
605
  }
606
606
  });
@@ -614,12 +614,12 @@ const v3 = {}, $1 = i1({
614
614
  }
615
615
  }, h = () => {
616
616
  e.client && (console.log("WebSocket middleware: Disconnecting"), r(), e.client.close(4100, "Client requested disconnect"), e.client = null);
617
- }, w = (a, x, S) => {
617
+ }, m = (a, x, S) => {
618
618
  const Z = S(), b = Z.runtimeConfig.websocket.isConnected, j = Z.runtimeConfig.roomData.clientId;
619
619
  e.client && b ? e.client.send(
620
620
  JSON.stringify({ type: a, clientId: j, content: x })
621
621
  ) : console.warn("WebSocket middleware: Cannot send message - not connected");
622
- }, f = (a, x, S) => {
622
+ }, p = (a, x, S) => {
623
623
  e.eventHandlers[a] || (e.eventHandlers[a] = {}), e.eventHandlers[a][x] = S, console.log("WebSocket middleware: Event handler added", a, x);
624
624
  }, _ = (a, x) => {
625
625
  e.eventHandlers[a] && (delete e.eventHandlers[a][x], console.log(
@@ -638,35 +638,35 @@ const v3 = {}, $1 = i1({
638
638
  const b = S;
639
639
  return (async () => {
640
640
  switch (b.type) {
641
- case R3: {
641
+ case E3: {
642
642
  let W = new URLSearchParams(window.location.search).get("token");
643
- W ? (console.log("WebSocket middleware: Saving token"), be(d3.uuid, W)) : (W = Ce(d3.uuid), console.log("WebSocket middleware: Loading token")), e.token = W, await t(a.dispatch), await u(a.dispatch, a.getState);
643
+ W ? (console.log("WebSocket middleware: Saving token"), ye(v3.uuid, W)) : (W = be(v3.uuid), console.log("WebSocket middleware: Loading token")), e.token = W, await t(a.dispatch), await u(a.dispatch, a.getState);
644
644
  break;
645
645
  }
646
- case E3:
646
+ case T3:
647
647
  h();
648
648
  break;
649
- case T3:
650
- w(
649
+ case D3:
650
+ m(
651
651
  b.payload.messageType,
652
652
  b.payload.content,
653
653
  a.getState
654
654
  );
655
655
  break;
656
- case D3:
657
- f(
656
+ case _3:
657
+ p(
658
658
  b.payload.eventType,
659
659
  b.payload.key,
660
660
  b.payload.callback
661
661
  );
662
662
  break;
663
- case _3:
663
+ case P3:
664
664
  _(
665
665
  b.payload.eventType,
666
666
  b.payload.key
667
667
  );
668
668
  break;
669
- case P3:
669
+ case L3:
670
670
  U(a.getState);
671
671
  break;
672
672
  default:
@@ -693,35 +693,35 @@ const v3 = {}, $1 = i1({
693
693
  console.error("WebSocket middleware: Error handling action", j);
694
694
  }), Z;
695
695
  };
696
- }, Le = m2({
697
- appConfig: Ze,
698
- runtimeConfig: Re,
699
- rooms: ye,
700
- devices: Se,
701
- ui: Me
702
- }), Ae = M2({
703
- reducer: Le,
696
+ }, $e = M2({
697
+ appConfig: Se,
698
+ runtimeConfig: Ee,
699
+ rooms: Ie,
700
+ devices: je,
701
+ ui: xe
702
+ }), Ae = x2({
703
+ reducer: $e,
704
704
  middleware: (e) => e({
705
705
  serializableCheck: {
706
706
  // Ignore WebSocket actions with callbacks
707
707
  ignoredActions: ["websocket/addEventHandler"]
708
708
  }
709
- }).concat(Pe())
710
- }), h3 = p3.create();
711
- function P6() {
712
- const e = O1();
709
+ }).concat(Le())
710
+ }), g3 = p3.create();
711
+ function L6() {
712
+ const e = k1();
713
713
  return async () => {
714
714
  try {
715
715
  const t = location.pathname.split("/").filter((r) => r.length > 0);
716
716
  t.length >= 5 ? t.length = 5 : t.length = 2;
717
- const o = `/${t.join("/")}`, c = await h3.get(
717
+ const o = `/${t.join("/")}`, c = await g3.get(
718
718
  "/_local-config/_config.local.json",
719
719
  { baseURL: o }
720
720
  );
721
721
  if (c.status == 200 && c.data) {
722
722
  const r = c.data.apiPath;
723
- e(y3.setAppConfig(c.data));
724
- const i = await h3.get(
723
+ e(I3.setAppConfig(c.data));
724
+ const i = await g3.get(
725
725
  `${r}/version`
726
726
  );
727
727
  i.status == 200 && i.data && e(H.setRuntimeConfig(i.data));
@@ -742,16 +742,16 @@ var w1 = { exports: {} }, c1 = {};
742
742
  * This source code is licensed under the MIT license found in the
743
743
  * LICENSE file in the root directory of this source tree.
744
744
  */
745
- var g3;
746
- function $e() {
747
- if (g3) return c1;
748
- g3 = 1;
749
- var e = m3, t = Symbol.for("react.element"), o = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, r = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
750
- function v(u, h, w) {
751
- var f, _ = {}, U = null, a = null;
752
- w !== void 0 && (U = "" + w), h.key !== void 0 && (U = "" + h.key), h.ref !== void 0 && (a = h.ref);
753
- for (f in h) c.call(h, f) && !i.hasOwnProperty(f) && (_[f] = h[f]);
754
- if (u && u.defaultProps) for (f in h = u.defaultProps, h) _[f] === void 0 && (_[f] = h[f]);
745
+ var f3;
746
+ function Be() {
747
+ if (f3) return c1;
748
+ f3 = 1;
749
+ var e = M3, t = Symbol.for("react.element"), o = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, r = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
750
+ function v(u, h, m) {
751
+ var p, _ = {}, U = null, a = null;
752
+ m !== void 0 && (U = "" + m), h.key !== void 0 && (U = "" + h.key), h.ref !== void 0 && (a = h.ref);
753
+ for (p in h) c.call(h, p) && !i.hasOwnProperty(p) && (_[p] = h[p]);
754
+ if (u && u.defaultProps) for (p in h = u.defaultProps, h) _[p] === void 0 && (_[p] = h[p]);
755
755
  return { $$typeof: t, type: u, key: U, ref: a, props: _, _owner: r.current };
756
756
  }
757
757
  return c1.Fragment = o, c1.jsx = v, c1.jsxs = v, c1;
@@ -766,10 +766,10 @@ var r1 = {};
766
766
  * This source code is licensed under the MIT license found in the
767
767
  * LICENSE file in the root directory of this source tree.
768
768
  */
769
- var f3;
770
- function Be() {
771
- return f3 || (f3 = 1, process.env.NODE_ENV !== "production" && function() {
772
- var e = m3, t = Symbol.for("react.element"), o = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), v = Symbol.for("react.provider"), u = Symbol.for("react.context"), h = Symbol.for("react.forward_ref"), w = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), _ = Symbol.for("react.memo"), U = Symbol.for("react.lazy"), a = Symbol.for("react.offscreen"), x = Symbol.iterator, S = "@@iterator";
769
+ var w3;
770
+ function Oe() {
771
+ return w3 || (w3 = 1, process.env.NODE_ENV !== "production" && function() {
772
+ var e = M3, t = Symbol.for("react.element"), o = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), v = Symbol.for("react.provider"), u = Symbol.for("react.context"), h = Symbol.for("react.forward_ref"), m = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), _ = Symbol.for("react.memo"), U = Symbol.for("react.lazy"), a = Symbol.for("react.offscreen"), x = Symbol.iterator, S = "@@iterator";
773
773
  function Z(s) {
774
774
  if (s === null || typeof s != "object")
775
775
  return null;
@@ -779,38 +779,38 @@ function Be() {
779
779
  var b = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
780
780
  function j(s) {
781
781
  {
782
- for (var l = arguments.length, d = new Array(l > 1 ? l - 1 : 0), p = 1; p < l; p++)
783
- d[p - 1] = arguments[p];
782
+ for (var l = arguments.length, d = new Array(l > 1 ? l - 1 : 0), f = 1; f < l; f++)
783
+ d[f - 1] = arguments[f];
784
784
  W("error", s, d);
785
785
  }
786
786
  }
787
787
  function W(s, l, d) {
788
788
  {
789
- var p = b.ReactDebugCurrentFrame, R = p.getStackAddendum();
790
- R !== "" && (l += "%s", d = d.concat([R]));
789
+ var f = b.ReactDebugCurrentFrame, E = f.getStackAddendum();
790
+ E !== "" && (l += "%s", d = d.concat([E]));
791
791
  var T = d.map(function(y) {
792
792
  return String(y);
793
793
  });
794
794
  T.unshift("Warning: " + l), Function.prototype.apply.call(console[s], console, T);
795
795
  }
796
796
  }
797
- var Z1 = !1, Y = !1, B = !1, L = !1, t1 = !1, a1;
797
+ var S1 = !1, Y = !1, B = !1, L = !1, t1 = !1, a1;
798
798
  a1 = Symbol.for("react.module.reference");
799
- function S1(s) {
800
- return !!(typeof s == "string" || typeof s == "function" || s === c || s === i || t1 || s === r || s === w || s === f || L || s === a || Z1 || Y || B || typeof s == "object" && s !== null && (s.$$typeof === U || s.$$typeof === _ || s.$$typeof === v || s.$$typeof === u || s.$$typeof === h || // This needs to include all possible module reference object
799
+ function j1(s) {
800
+ return !!(typeof s == "string" || typeof s == "function" || s === c || s === i || t1 || s === r || s === m || s === p || L || s === a || S1 || Y || B || typeof s == "object" && s !== null && (s.$$typeof === U || s.$$typeof === _ || s.$$typeof === v || s.$$typeof === u || s.$$typeof === h || // This needs to include all possible module reference object
801
801
  // types supported by any Flight configuration anywhere since
802
802
  // we don't know which Flight build this will end up being used
803
803
  // with.
804
804
  s.$$typeof === a1 || s.getModuleId !== void 0));
805
805
  }
806
- function O3(s, l, d) {
807
- var p = s.displayName;
808
- if (p)
809
- return p;
810
- var R = l.displayName || l.name || "";
811
- return R !== "" ? d + "(" + R + ")" : d;
806
+ function k3(s, l, d) {
807
+ var f = s.displayName;
808
+ if (f)
809
+ return f;
810
+ var E = l.displayName || l.name || "";
811
+ return E !== "" ? d + "(" + E + ")" : d;
812
812
  }
813
- function W1(s) {
813
+ function V1(s) {
814
814
  return s.displayName || "Context";
815
815
  }
816
816
  function z(s) {
@@ -829,26 +829,26 @@ function Be() {
829
829
  return "Profiler";
830
830
  case r:
831
831
  return "StrictMode";
832
- case w:
832
+ case m:
833
833
  return "Suspense";
834
- case f:
834
+ case p:
835
835
  return "SuspenseList";
836
836
  }
837
837
  if (typeof s == "object")
838
838
  switch (s.$$typeof) {
839
839
  case u:
840
840
  var l = s;
841
- return W1(l) + ".Consumer";
841
+ return V1(l) + ".Consumer";
842
842
  case v:
843
843
  var d = s;
844
- return W1(d._context) + ".Provider";
844
+ return V1(d._context) + ".Provider";
845
845
  case h:
846
- return O3(s, s.render, "ForwardRef");
846
+ return k3(s, s.render, "ForwardRef");
847
847
  case _:
848
- var p = s.displayName || null;
849
- return p !== null ? p : z(s.type) || "Memo";
848
+ var f = s.displayName || null;
849
+ return f !== null ? f : z(s.type) || "Memo";
850
850
  case U: {
851
- var R = s, T = R._payload, y = R._init;
851
+ var E = s, T = E._payload, y = E._init;
852
852
  try {
853
853
  return z(y(T));
854
854
  } catch {
@@ -858,18 +858,18 @@ function Be() {
858
858
  }
859
859
  return null;
860
860
  }
861
- var J = Object.assign, n1 = 0, V1, U1, H1, F1, K1, q1, G1;
862
- function Y1() {
861
+ var J = Object.assign, n1 = 0, U1, H1, F1, K1, q1, G1, Y1;
862
+ function z1() {
863
863
  }
864
- Y1.__reactDisabledLog = !0;
865
- function k3() {
864
+ z1.__reactDisabledLog = !0;
865
+ function W3() {
866
866
  {
867
867
  if (n1 === 0) {
868
- V1 = console.log, U1 = console.info, H1 = console.warn, F1 = console.error, K1 = console.group, q1 = console.groupCollapsed, G1 = console.groupEnd;
868
+ U1 = console.log, H1 = console.info, F1 = console.warn, K1 = console.error, q1 = console.group, G1 = console.groupCollapsed, Y1 = console.groupEnd;
869
869
  var s = {
870
870
  configurable: !0,
871
871
  enumerable: !0,
872
- value: Y1,
872
+ value: z1,
873
873
  writable: !0
874
874
  };
875
875
  Object.defineProperties(console, {
@@ -885,7 +885,7 @@ function Be() {
885
885
  n1++;
886
886
  }
887
887
  }
888
- function W3() {
888
+ function V3() {
889
889
  {
890
890
  if (n1--, n1 === 0) {
891
891
  var s = {
@@ -895,64 +895,64 @@ function Be() {
895
895
  };
896
896
  Object.defineProperties(console, {
897
897
  log: J({}, s, {
898
- value: V1
898
+ value: U1
899
899
  }),
900
900
  info: J({}, s, {
901
- value: U1
901
+ value: H1
902
902
  }),
903
903
  warn: J({}, s, {
904
- value: H1
904
+ value: F1
905
905
  }),
906
906
  error: J({}, s, {
907
- value: F1
907
+ value: K1
908
908
  }),
909
909
  group: J({}, s, {
910
- value: K1
910
+ value: q1
911
911
  }),
912
912
  groupCollapsed: J({}, s, {
913
- value: q1
913
+ value: G1
914
914
  }),
915
915
  groupEnd: J({}, s, {
916
- value: G1
916
+ value: Y1
917
917
  })
918
918
  });
919
919
  }
920
920
  n1 < 0 && j("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
921
921
  }
922
922
  }
923
- var j1 = b.ReactCurrentDispatcher, C1;
923
+ var C1 = b.ReactCurrentDispatcher, b1;
924
924
  function u1(s, l, d) {
925
925
  {
926
- if (C1 === void 0)
926
+ if (b1 === void 0)
927
927
  try {
928
928
  throw Error();
929
- } catch (R) {
930
- var p = R.stack.trim().match(/\n( *(at )?)/);
931
- C1 = p && p[1] || "";
929
+ } catch (E) {
930
+ var f = E.stack.trim().match(/\n( *(at )?)/);
931
+ b1 = f && f[1] || "";
932
932
  }
933
933
  return `
934
- ` + C1 + s;
934
+ ` + b1 + s;
935
935
  }
936
936
  }
937
- var b1 = !1, d1;
937
+ var y1 = !1, d1;
938
938
  {
939
- var V3 = typeof WeakMap == "function" ? WeakMap : Map;
940
- d1 = new V3();
939
+ var U3 = typeof WeakMap == "function" ? WeakMap : Map;
940
+ d1 = new U3();
941
941
  }
942
- function z1(s, l) {
943
- if (!s || b1)
942
+ function J1(s, l) {
943
+ if (!s || y1)
944
944
  return "";
945
945
  {
946
946
  var d = d1.get(s);
947
947
  if (d !== void 0)
948
948
  return d;
949
949
  }
950
- var p;
951
- b1 = !0;
952
- var R = Error.prepareStackTrace;
950
+ var f;
951
+ y1 = !0;
952
+ var E = Error.prepareStackTrace;
953
953
  Error.prepareStackTrace = void 0;
954
954
  var T;
955
- T = j1.current, j1.current = null, k3();
955
+ T = C1.current, C1.current = null, W3();
956
956
  try {
957
957
  if (l) {
958
958
  var y = function() {
@@ -966,14 +966,14 @@ function Be() {
966
966
  try {
967
967
  Reflect.construct(y, []);
968
968
  } catch (V) {
969
- p = V;
969
+ f = V;
970
970
  }
971
971
  Reflect.construct(s, [], y);
972
972
  } else {
973
973
  try {
974
974
  y.call();
975
975
  } catch (V) {
976
- p = V;
976
+ f = V;
977
977
  }
978
978
  s.call(y.prototype);
979
979
  }
@@ -981,39 +981,39 @@ function Be() {
981
981
  try {
982
982
  throw Error();
983
983
  } catch (V) {
984
- p = V;
984
+ f = V;
985
985
  }
986
986
  s();
987
987
  }
988
988
  } catch (V) {
989
- if (V && p && typeof V.stack == "string") {
989
+ if (V && f && typeof V.stack == "string") {
990
990
  for (var C = V.stack.split(`
991
- `), O = p.stack.split(`
992
- `), P = C.length - 1, A = O.length - 1; P >= 1 && A >= 0 && C[P] !== O[A]; )
993
- A--;
994
- for (; P >= 1 && A >= 0; P--, A--)
995
- if (C[P] !== O[A]) {
996
- if (P !== 1 || A !== 1)
991
+ `), O = f.stack.split(`
992
+ `), P = C.length - 1, $ = O.length - 1; P >= 1 && $ >= 0 && C[P] !== O[$]; )
993
+ $--;
994
+ for (; P >= 1 && $ >= 0; P--, $--)
995
+ if (C[P] !== O[$]) {
996
+ if (P !== 1 || $ !== 1)
997
997
  do
998
- if (P--, A--, A < 0 || C[P] !== O[A]) {
998
+ if (P--, $--, $ < 0 || C[P] !== O[$]) {
999
999
  var F = `
1000
1000
  ` + C[P].replace(" at new ", " at ");
1001
1001
  return s.displayName && F.includes("<anonymous>") && (F = F.replace("<anonymous>", s.displayName)), typeof s == "function" && d1.set(s, F), F;
1002
1002
  }
1003
- while (P >= 1 && A >= 0);
1003
+ while (P >= 1 && $ >= 0);
1004
1004
  break;
1005
1005
  }
1006
1006
  }
1007
1007
  } finally {
1008
- b1 = !1, j1.current = T, W3(), Error.prepareStackTrace = R;
1008
+ y1 = !1, C1.current = T, V3(), Error.prepareStackTrace = E;
1009
1009
  }
1010
1010
  var e1 = s ? s.displayName || s.name : "", X = e1 ? u1(e1) : "";
1011
1011
  return typeof s == "function" && d1.set(s, X), X;
1012
1012
  }
1013
- function U3(s, l, d) {
1014
- return z1(s, !1);
1013
+ function H3(s, l, d) {
1014
+ return J1(s, !1);
1015
1015
  }
1016
- function H3(s) {
1016
+ function F3(s) {
1017
1017
  var l = s.prototype;
1018
1018
  return !!(l && l.isReactComponent);
1019
1019
  }
@@ -1021,40 +1021,40 @@ function Be() {
1021
1021
  if (s == null)
1022
1022
  return "";
1023
1023
  if (typeof s == "function")
1024
- return z1(s, H3(s));
1024
+ return J1(s, F3(s));
1025
1025
  if (typeof s == "string")
1026
1026
  return u1(s);
1027
1027
  switch (s) {
1028
- case w:
1028
+ case m:
1029
1029
  return u1("Suspense");
1030
- case f:
1030
+ case p:
1031
1031
  return u1("SuspenseList");
1032
1032
  }
1033
1033
  if (typeof s == "object")
1034
1034
  switch (s.$$typeof) {
1035
1035
  case h:
1036
- return U3(s.render);
1036
+ return H3(s.render);
1037
1037
  case _:
1038
1038
  return v1(s.type, l, d);
1039
1039
  case U: {
1040
- var p = s, R = p._payload, T = p._init;
1040
+ var f = s, E = f._payload, T = f._init;
1041
1041
  try {
1042
- return v1(T(R), l, d);
1042
+ return v1(T(E), l, d);
1043
1043
  } catch {
1044
1044
  }
1045
1045
  }
1046
1046
  }
1047
1047
  return "";
1048
1048
  }
1049
- var o1 = Object.prototype.hasOwnProperty, J1 = {}, X1 = b.ReactDebugCurrentFrame;
1049
+ var o1 = Object.prototype.hasOwnProperty, X1 = {}, Q1 = b.ReactDebugCurrentFrame;
1050
1050
  function h1(s) {
1051
1051
  if (s) {
1052
1052
  var l = s._owner, d = v1(s.type, s._source, l ? l.type : null);
1053
- X1.setExtraStackFrame(d);
1053
+ Q1.setExtraStackFrame(d);
1054
1054
  } else
1055
- X1.setExtraStackFrame(null);
1055
+ Q1.setExtraStackFrame(null);
1056
1056
  }
1057
- function F3(s, l, d, p, R) {
1057
+ function K3(s, l, d, f, E) {
1058
1058
  {
1059
1059
  var T = Function.call.bind(o1);
1060
1060
  for (var y in s)
@@ -1062,48 +1062,48 @@ function Be() {
1062
1062
  var C = void 0;
1063
1063
  try {
1064
1064
  if (typeof s[y] != "function") {
1065
- var O = Error((p || "React class") + ": " + d + " type `" + y + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof s[y] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
1065
+ var O = Error((f || "React class") + ": " + d + " type `" + y + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof s[y] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
1066
1066
  throw O.name = "Invariant Violation", O;
1067
1067
  }
1068
- C = s[y](l, y, p, d, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
1068
+ C = s[y](l, y, f, d, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
1069
1069
  } catch (P) {
1070
1070
  C = P;
1071
1071
  }
1072
- C && !(C instanceof Error) && (h1(R), j("%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", d, y, typeof C), h1(null)), C instanceof Error && !(C.message in J1) && (J1[C.message] = !0, h1(R), j("Failed %s type: %s", d, C.message), h1(null));
1072
+ C && !(C instanceof Error) && (h1(E), j("%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).", f || "React class", d, y, typeof C), h1(null)), C instanceof Error && !(C.message in X1) && (X1[C.message] = !0, h1(E), j("Failed %s type: %s", d, C.message), h1(null));
1073
1073
  }
1074
1074
  }
1075
1075
  }
1076
- var K3 = Array.isArray;
1077
- function y1(s) {
1078
- return K3(s);
1076
+ var q3 = Array.isArray;
1077
+ function I1(s) {
1078
+ return q3(s);
1079
1079
  }
1080
- function q3(s) {
1080
+ function G3(s) {
1081
1081
  {
1082
1082
  var l = typeof Symbol == "function" && Symbol.toStringTag, d = l && s[Symbol.toStringTag] || s.constructor.name || "Object";
1083
1083
  return d;
1084
1084
  }
1085
1085
  }
1086
- function G3(s) {
1086
+ function Y3(s) {
1087
1087
  try {
1088
- return Q1(s), !1;
1088
+ return N1(s), !1;
1089
1089
  } catch {
1090
1090
  return !0;
1091
1091
  }
1092
1092
  }
1093
- function Q1(s) {
1093
+ function N1(s) {
1094
1094
  return "" + s;
1095
1095
  }
1096
- function N1(s) {
1097
- if (G3(s))
1098
- return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", q3(s)), Q1(s);
1096
+ function e3(s) {
1097
+ if (Y3(s))
1098
+ return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", G3(s)), N1(s);
1099
1099
  }
1100
- var e3 = b.ReactCurrentOwner, Y3 = {
1100
+ var t3 = b.ReactCurrentOwner, z3 = {
1101
1101
  key: !0,
1102
1102
  ref: !0,
1103
1103
  __self: !0,
1104
1104
  __source: !0
1105
- }, t3, n3;
1106
- function z3(s) {
1105
+ }, n3, o3;
1106
+ function J3(s) {
1107
1107
  if (o1.call(s, "ref")) {
1108
1108
  var l = Object.getOwnPropertyDescriptor(s, "ref").get;
1109
1109
  if (l && l.isReactWarning)
@@ -1111,7 +1111,7 @@ function Be() {
1111
1111
  }
1112
1112
  return s.ref !== void 0;
1113
1113
  }
1114
- function J3(s) {
1114
+ function X3(s) {
1115
1115
  if (o1.call(s, "key")) {
1116
1116
  var l = Object.getOwnPropertyDescriptor(s, "key").get;
1117
1117
  if (l && l.isReactWarning)
@@ -1119,13 +1119,13 @@ function Be() {
1119
1119
  }
1120
1120
  return s.key !== void 0;
1121
1121
  }
1122
- function X3(s, l) {
1123
- typeof s.ref == "string" && e3.current;
1124
- }
1125
1122
  function Q3(s, l) {
1123
+ typeof s.ref == "string" && t3.current;
1124
+ }
1125
+ function N3(s, l) {
1126
1126
  {
1127
1127
  var d = function() {
1128
- t3 || (t3 = !0, j("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", l));
1128
+ n3 || (n3 = !0, j("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", l));
1129
1129
  };
1130
1130
  d.isReactWarning = !0, Object.defineProperty(s, "key", {
1131
1131
  get: d,
@@ -1133,10 +1133,10 @@ function Be() {
1133
1133
  });
1134
1134
  }
1135
1135
  }
1136
- function N3(s, l) {
1136
+ function e2(s, l) {
1137
1137
  {
1138
1138
  var d = function() {
1139
- n3 || (n3 = !0, j("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", l));
1139
+ o3 || (o3 = !0, j("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", l));
1140
1140
  };
1141
1141
  d.isReactWarning = !0, Object.defineProperty(s, "ref", {
1142
1142
  get: d,
@@ -1144,7 +1144,7 @@ function Be() {
1144
1144
  });
1145
1145
  }
1146
1146
  }
1147
- var e2 = function(s, l, d, p, R, T, y) {
1147
+ var t2 = function(s, l, d, f, E, T, y) {
1148
1148
  var C = {
1149
1149
  // This tag allows us to uniquely identify this as a React Element
1150
1150
  $$typeof: t,
@@ -1165,49 +1165,49 @@ function Be() {
1165
1165
  configurable: !1,
1166
1166
  enumerable: !1,
1167
1167
  writable: !1,
1168
- value: p
1168
+ value: f
1169
1169
  }), Object.defineProperty(C, "_source", {
1170
1170
  configurable: !1,
1171
1171
  enumerable: !1,
1172
1172
  writable: !1,
1173
- value: R
1173
+ value: E
1174
1174
  }), Object.freeze && (Object.freeze(C.props), Object.freeze(C)), C;
1175
1175
  };
1176
- function t2(s, l, d, p, R) {
1176
+ function n2(s, l, d, f, E) {
1177
1177
  {
1178
1178
  var T, y = {}, C = null, O = null;
1179
- d !== void 0 && (N1(d), C = "" + d), J3(l) && (N1(l.key), C = "" + l.key), z3(l) && (O = l.ref, X3(l, R));
1179
+ d !== void 0 && (e3(d), C = "" + d), X3(l) && (e3(l.key), C = "" + l.key), J3(l) && (O = l.ref, Q3(l, E));
1180
1180
  for (T in l)
1181
- o1.call(l, T) && !Y3.hasOwnProperty(T) && (y[T] = l[T]);
1181
+ o1.call(l, T) && !z3.hasOwnProperty(T) && (y[T] = l[T]);
1182
1182
  if (s && s.defaultProps) {
1183
1183
  var P = s.defaultProps;
1184
1184
  for (T in P)
1185
1185
  y[T] === void 0 && (y[T] = P[T]);
1186
1186
  }
1187
1187
  if (C || O) {
1188
- var A = typeof s == "function" ? s.displayName || s.name || "Unknown" : s;
1189
- C && Q3(y, A), O && N3(y, A);
1188
+ var $ = typeof s == "function" ? s.displayName || s.name || "Unknown" : s;
1189
+ C && N3(y, $), O && e2(y, $);
1190
1190
  }
1191
- return e2(s, C, O, R, p, e3.current, y);
1191
+ return t2(s, C, O, E, f, t3.current, y);
1192
1192
  }
1193
1193
  }
1194
- var I1 = b.ReactCurrentOwner, o3 = b.ReactDebugCurrentFrame;
1194
+ var R1 = b.ReactCurrentOwner, s3 = b.ReactDebugCurrentFrame;
1195
1195
  function N(s) {
1196
1196
  if (s) {
1197
1197
  var l = s._owner, d = v1(s.type, s._source, l ? l.type : null);
1198
- o3.setExtraStackFrame(d);
1198
+ s3.setExtraStackFrame(d);
1199
1199
  } else
1200
- o3.setExtraStackFrame(null);
1200
+ s3.setExtraStackFrame(null);
1201
1201
  }
1202
- var R1;
1203
- R1 = !1;
1204
- function E1(s) {
1202
+ var E1;
1203
+ E1 = !1;
1204
+ function T1(s) {
1205
1205
  return typeof s == "object" && s !== null && s.$$typeof === t;
1206
1206
  }
1207
- function s3() {
1207
+ function c3() {
1208
1208
  {
1209
- if (I1.current) {
1210
- var s = z(I1.current.type);
1209
+ if (R1.current) {
1210
+ var s = z(R1.current.type);
1211
1211
  if (s)
1212
1212
  return `
1213
1213
 
@@ -1216,13 +1216,13 @@ Check the render method of \`` + s + "`.";
1216
1216
  return "";
1217
1217
  }
1218
1218
  }
1219
- function n2(s) {
1219
+ function o2(s) {
1220
1220
  return "";
1221
1221
  }
1222
- var c3 = {};
1223
- function o2(s) {
1222
+ var r3 = {};
1223
+ function s2(s) {
1224
1224
  {
1225
- var l = s3();
1225
+ var l = c3();
1226
1226
  if (!l) {
1227
1227
  var d = typeof s == "string" ? s : s.displayName || s.name;
1228
1228
  d && (l = `
@@ -1232,39 +1232,39 @@ Check the top-level render call using <` + d + ">.");
1232
1232
  return l;
1233
1233
  }
1234
1234
  }
1235
- function r3(s, l) {
1235
+ function l3(s, l) {
1236
1236
  {
1237
1237
  if (!s._store || s._store.validated || s.key != null)
1238
1238
  return;
1239
1239
  s._store.validated = !0;
1240
- var d = o2(l);
1241
- if (c3[d])
1240
+ var d = s2(l);
1241
+ if (r3[d])
1242
1242
  return;
1243
- c3[d] = !0;
1244
- var p = "";
1245
- s && s._owner && s._owner !== I1.current && (p = " It was passed a child from " + z(s._owner.type) + "."), N(s), j('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', d, p), N(null);
1243
+ r3[d] = !0;
1244
+ var f = "";
1245
+ s && s._owner && s._owner !== R1.current && (f = " It was passed a child from " + z(s._owner.type) + "."), N(s), j('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', d, f), N(null);
1246
1246
  }
1247
1247
  }
1248
- function l3(s, l) {
1248
+ function i3(s, l) {
1249
1249
  {
1250
1250
  if (typeof s != "object")
1251
1251
  return;
1252
- if (y1(s))
1252
+ if (I1(s))
1253
1253
  for (var d = 0; d < s.length; d++) {
1254
- var p = s[d];
1255
- E1(p) && r3(p, l);
1254
+ var f = s[d];
1255
+ T1(f) && l3(f, l);
1256
1256
  }
1257
- else if (E1(s))
1257
+ else if (T1(s))
1258
1258
  s._store && (s._store.validated = !0);
1259
1259
  else if (s) {
1260
- var R = Z(s);
1261
- if (typeof R == "function" && R !== s.entries)
1262
- for (var T = R.call(s), y; !(y = T.next()).done; )
1263
- E1(y.value) && r3(y.value, l);
1260
+ var E = Z(s);
1261
+ if (typeof E == "function" && E !== s.entries)
1262
+ for (var T = E.call(s), y; !(y = T.next()).done; )
1263
+ T1(y.value) && l3(y.value, l);
1264
1264
  }
1265
1265
  }
1266
1266
  }
1267
- function s2(s) {
1267
+ function c2(s) {
1268
1268
  {
1269
1269
  var l = s.type;
1270
1270
  if (l == null || typeof l == "string")
@@ -1279,96 +1279,96 @@ Check the top-level render call using <` + d + ">.");
1279
1279
  else
1280
1280
  return;
1281
1281
  if (d) {
1282
- var p = z(l);
1283
- F3(d, s.props, "prop", p, s);
1284
- } else if (l.PropTypes !== void 0 && !R1) {
1285
- R1 = !0;
1286
- var R = z(l);
1287
- j("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", R || "Unknown");
1282
+ var f = z(l);
1283
+ K3(d, s.props, "prop", f, s);
1284
+ } else if (l.PropTypes !== void 0 && !E1) {
1285
+ E1 = !0;
1286
+ var E = z(l);
1287
+ j("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", E || "Unknown");
1288
1288
  }
1289
1289
  typeof l.getDefaultProps == "function" && !l.getDefaultProps.isReactClassApproved && j("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
1290
1290
  }
1291
1291
  }
1292
- function c2(s) {
1292
+ function r2(s) {
1293
1293
  {
1294
1294
  for (var l = Object.keys(s.props), d = 0; d < l.length; d++) {
1295
- var p = l[d];
1296
- if (p !== "children" && p !== "key") {
1297
- N(s), j("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", p), N(null);
1295
+ var f = l[d];
1296
+ if (f !== "children" && f !== "key") {
1297
+ N(s), j("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", f), N(null);
1298
1298
  break;
1299
1299
  }
1300
1300
  }
1301
1301
  s.ref !== null && (N(s), j("Invalid attribute `ref` supplied to `React.Fragment`."), N(null));
1302
1302
  }
1303
1303
  }
1304
- var i3 = {};
1305
- function a3(s, l, d, p, R, T) {
1304
+ var a3 = {};
1305
+ function u3(s, l, d, f, E, T) {
1306
1306
  {
1307
- var y = S1(s);
1307
+ var y = j1(s);
1308
1308
  if (!y) {
1309
1309
  var C = "";
1310
1310
  (s === void 0 || typeof s == "object" && s !== null && Object.keys(s).length === 0) && (C += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
1311
- var O = n2();
1312
- O ? C += O : C += s3();
1311
+ var O = o2();
1312
+ O ? C += O : C += c3();
1313
1313
  var P;
1314
- s === null ? P = "null" : y1(s) ? P = "array" : s !== void 0 && s.$$typeof === t ? (P = "<" + (z(s.type) || "Unknown") + " />", C = " Did you accidentally export a JSX literal instead of a component?") : P = typeof s, j("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", P, C);
1314
+ s === null ? P = "null" : I1(s) ? P = "array" : s !== void 0 && s.$$typeof === t ? (P = "<" + (z(s.type) || "Unknown") + " />", C = " Did you accidentally export a JSX literal instead of a component?") : P = typeof s, j("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", P, C);
1315
1315
  }
1316
- var A = t2(s, l, d, R, T);
1317
- if (A == null)
1318
- return A;
1316
+ var $ = n2(s, l, d, E, T);
1317
+ if ($ == null)
1318
+ return $;
1319
1319
  if (y) {
1320
1320
  var F = l.children;
1321
1321
  if (F !== void 0)
1322
- if (p)
1323
- if (y1(F)) {
1322
+ if (f)
1323
+ if (I1(F)) {
1324
1324
  for (var e1 = 0; e1 < F.length; e1++)
1325
- l3(F[e1], s);
1325
+ i3(F[e1], s);
1326
1326
  Object.freeze && Object.freeze(F);
1327
1327
  } else
1328
1328
  j("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
1329
1329
  else
1330
- l3(F, s);
1330
+ i3(F, s);
1331
1331
  }
1332
1332
  if (o1.call(l, "key")) {
1333
- var X = z(s), V = Object.keys(l).filter(function(d2) {
1334
- return d2 !== "key";
1335
- }), T1 = V.length > 0 ? "{key: someKey, " + V.join(": ..., ") + ": ...}" : "{key: someKey}";
1336
- if (!i3[X + T1]) {
1337
- var u2 = V.length > 0 ? "{" + V.join(": ..., ") + ": ...}" : "{}";
1333
+ var X = z(s), V = Object.keys(l).filter(function(v2) {
1334
+ return v2 !== "key";
1335
+ }), D1 = V.length > 0 ? "{key: someKey, " + V.join(": ..., ") + ": ...}" : "{key: someKey}";
1336
+ if (!a3[X + D1]) {
1337
+ var d2 = V.length > 0 ? "{" + V.join(": ..., ") + ": ...}" : "{}";
1338
1338
  j(`A props object containing a "key" prop is being spread into JSX:
1339
1339
  let props = %s;
1340
1340
  <%s {...props} />
1341
1341
  React keys must be passed directly to JSX without using spread:
1342
1342
  let props = %s;
1343
- <%s key={someKey} {...props} />`, T1, X, u2, X), i3[X + T1] = !0;
1343
+ <%s key={someKey} {...props} />`, D1, X, d2, X), a3[X + D1] = !0;
1344
1344
  }
1345
1345
  }
1346
- return s === c ? c2(A) : s2(A), A;
1346
+ return s === c ? r2($) : c2($), $;
1347
1347
  }
1348
1348
  }
1349
- function r2(s, l, d) {
1350
- return a3(s, l, d, !0);
1351
- }
1352
1349
  function l2(s, l, d) {
1353
- return a3(s, l, d, !1);
1350
+ return u3(s, l, d, !0);
1351
+ }
1352
+ function i2(s, l, d) {
1353
+ return u3(s, l, d, !1);
1354
1354
  }
1355
- var i2 = l2, a2 = r2;
1356
- r1.Fragment = c, r1.jsx = i2, r1.jsxs = a2;
1355
+ var a2 = i2, u2 = l2;
1356
+ r1.Fragment = c, r1.jsx = a2, r1.jsxs = u2;
1357
1357
  }()), r1;
1358
1358
  }
1359
- var w3;
1360
- function Oe() {
1361
- return w3 || (w3 = 1, process.env.NODE_ENV === "production" ? w1.exports = $e() : w1.exports = Be()), w1.exports;
1359
+ var m3;
1360
+ function ke() {
1361
+ return m3 || (m3 = 1, process.env.NODE_ENV === "production" ? w1.exports = Be() : w1.exports = Oe()), w1.exports;
1362
1362
  }
1363
- var n = Oe();
1364
- const ke = "_mwfit_ppa3l_1", We = {
1365
- mwfit: ke
1366
- }, Ve = () => {
1367
- const { reconnect: e } = E(), t = j3(), o = fe(), c = we();
1363
+ var n = ke();
1364
+ const We = "_mwfit_ppa3l_1", Ve = {
1365
+ mwfit: We
1366
+ }, Ue = () => {
1367
+ const { reconnect: e } = R(), t = C3(), o = we(), c = me();
1368
1368
  return /* @__PURE__ */ n.jsx(n.Fragment, { children: /* @__PURE__ */ n.jsxs(
1369
1369
  "div",
1370
1370
  {
1371
- className: `disconnected-message ${We.mwfit} mx-auto text-center`,
1371
+ className: `disconnected-message ${Ve.mwfit} mx-auto text-center`,
1372
1372
  children: [
1373
1373
  t === void 0 ? /* @__PURE__ */ n.jsx("h1", { children: "Connecting..." }) : /* @__PURE__ */ n.jsx("h1", { children: "Disconnected" }),
1374
1374
  o && /* @__PURE__ */ n.jsx("h5", { children: o }),
@@ -1383,39 +1383,39 @@ const ke = "_mwfit_ppa3l_1", We = {
1383
1383
  ]
1384
1384
  }
1385
1385
  ) });
1386
- }, A3 = x2({
1386
+ }, A3 = Z2({
1387
1387
  sendMessage: () => null,
1388
1388
  sendSimpleMessage: () => null,
1389
1389
  addEventHandler: () => null,
1390
1390
  removeEventHandler: () => null,
1391
1391
  reconnect: () => null
1392
- }), Ue = ({ children: e }) => {
1393
- const t = O1(), o = j3();
1394
- m1(() => {
1395
- t(L3());
1392
+ }), He = ({ children: e }) => {
1393
+ const t = k1(), o = C3();
1394
+ p1(() => {
1395
+ t($3());
1396
1396
  }, [t]);
1397
1397
  const c = s1(
1398
- (h, w) => {
1399
- t(Ee(h, w));
1398
+ (h, m) => {
1399
+ t(Te(h, m));
1400
1400
  },
1401
1401
  [t]
1402
1402
  ), r = s1(
1403
- (h, w) => {
1404
- c(h, { value: w });
1403
+ (h, m) => {
1404
+ c(h, { value: m });
1405
1405
  },
1406
1406
  [c]
1407
1407
  ), i = s1(
1408
- (h, w, f) => {
1409
- t(Te(h, w, f));
1408
+ (h, m, p) => {
1409
+ t(De(h, m, p));
1410
1410
  },
1411
1411
  [t]
1412
1412
  ), v = s1(
1413
- (h, w) => {
1414
- t(De(h, w));
1413
+ (h, m) => {
1414
+ t(_e(h, m));
1415
1415
  },
1416
1416
  [t]
1417
1417
  ), u = s1(() => {
1418
- t(_e());
1418
+ t(Pe());
1419
1419
  }, [t]);
1420
1420
  return /* @__PURE__ */ n.jsx(
1421
1421
  A3.Provider,
@@ -1427,20 +1427,20 @@ const ke = "_mwfit_ppa3l_1", We = {
1427
1427
  removeEventHandler: v,
1428
1428
  reconnect: u
1429
1429
  },
1430
- children: o ? e : /* @__PURE__ */ n.jsx(Ve, {})
1430
+ children: o ? e : /* @__PURE__ */ n.jsx(Ue, {})
1431
1431
  }
1432
1432
  );
1433
- }, L6 = ({ children: e }) => /* @__PURE__ */ n.jsx(p2, { store: Ae, children: /* @__PURE__ */ n.jsx(Ue, { children: e }) });
1434
- function E() {
1435
- return Z2(A3);
1433
+ }, $6 = ({ children: e }) => /* @__PURE__ */ n.jsx(p2, { store: Ae, children: /* @__PURE__ */ n.jsx(He, { children: e }) });
1434
+ function R() {
1435
+ return S2(A3);
1436
1436
  }
1437
- function He({
1437
+ function Fe({
1438
1438
  onPress: e,
1439
1439
  onRelease: t,
1440
1440
  onHold: o,
1441
1441
  holdTimeMs: c = 500
1442
1442
  }) {
1443
- const r = L1(null), i = L1(!1);
1443
+ const r = $1(null), i = $1(!1);
1444
1444
  function v() {
1445
1445
  i.current = !0, e == null || e(), r.current = setTimeout(() => {
1446
1446
  o == null || o(), r.current = null;
@@ -1459,7 +1459,7 @@ function He({
1459
1459
  };
1460
1460
  }
1461
1461
  function g(e, t) {
1462
- const { sendMessage: c } = E(), r = L1(null);
1462
+ const { sendMessage: c } = R(), r = $1(null);
1463
1463
  function i() {
1464
1464
  c(`${e}/${t}`, { value: "pressed" }), r.current || (r.current = setInterval(() => {
1465
1465
  c(`${e}/${t}`, { value: "held" });
@@ -1468,38 +1468,66 @@ function g(e, t) {
1468
1468
  function v() {
1469
1469
  r.current && (clearInterval(r.current), r.current = null), c(`${e}/${t}`, { value: "released" });
1470
1470
  }
1471
- return He({ onPress: i, onRelease: v });
1471
+ return Fe({ onPress: i, onRelease: v });
1472
1472
  }
1473
- function $3(e, t) {
1474
- const { sendMessage: o, sendSimpleMessage: c } = E(), r = g(`${e}`, "volumeUp"), i = g(`${e}`, "volumeDown");
1475
- return t ? {
1473
+ function Z1(e) {
1474
+ const { sendMessage: t } = R(), o = g(`${e}`, "volumeUp"), c = g(`${e}`, "volumeDown");
1475
+ return {
1476
+ volumeUp: o,
1477
+ volumeDown: c,
1478
+ muteToggle: () => t(`${e}/muteToggle`, null)
1479
+ };
1480
+ }
1481
+ function A6(e) {
1482
+ const { sendMessage: t } = R(), o = g(`${e}`, "volumeUp"), c = g(`${e}`, "volumeDown");
1483
+ return {
1484
+ volumeUp: o,
1485
+ volumeDown: c,
1486
+ muteToggle: () => t(`${e}/muteToggle`, null)
1487
+ };
1488
+ }
1489
+ function B3(e, t) {
1490
+ const { sendMessage: o, sendSimpleMessage: c } = R(), r = Z1(e);
1491
+ if (!r) {
1492
+ console.log("baseVolume is undefined");
1493
+ return;
1494
+ }
1495
+ if (!t) {
1496
+ console.log("volumeState is undefined");
1497
+ return;
1498
+ }
1499
+ return {
1500
+ ...r,
1476
1501
  volumeState: t,
1477
- volumeUp: r,
1478
- volumeDown: i,
1479
- setLevel: (f) => c(`${e}/level`, f),
1480
- muteToggle: () => o(`${e}/muteToggle`, null),
1502
+ setLevel: (h) => c(`${e}/level`, h),
1481
1503
  muteOn: () => o(`${e}/muteOn`, null),
1482
1504
  muteOff: () => o(`${e}/muteOff`, null)
1483
- } : void 0;
1505
+ };
1484
1506
  }
1485
- function A6(e, t) {
1486
- const { sendMessage: o, sendSimpleMessage: c } = E(), r = g(`${e}`, "volumeUp"), i = g(`${e}`, "volumeDown");
1487
- return t ? {
1507
+ function B6(e, t) {
1508
+ const { sendMessage: o, sendSimpleMessage: c } = R(), r = Z1(e);
1509
+ if (!r) {
1510
+ console.log("baseVolume is undefined");
1511
+ return;
1512
+ }
1513
+ if (!t) {
1514
+ console.log("volumeState is undefined");
1515
+ return;
1516
+ }
1517
+ return {
1518
+ ...r,
1488
1519
  volumeState: t,
1489
- volumeUp: r,
1490
- volumeDown: i,
1491
- setLevel: (f) => c(`${e}/level`, f),
1492
- muteToggle: () => o(`${e}/muteToggle`, null),
1520
+ setLevel: (h) => c(`${e}/level`, h),
1493
1521
  muteOn: () => o(`${e}/muteOn`, null),
1494
1522
  muteOff: () => o(`${e}/muteOff`, null)
1495
- } : void 0;
1523
+ };
1496
1524
  }
1497
- function Fe(e) {
1525
+ function Ke(e) {
1498
1526
  const t = D(e), o = `/device/${e}`;
1499
- return $3(o, t == null ? void 0 : t.volume);
1527
+ return B3(o, t == null ? void 0 : t.volume);
1500
1528
  }
1501
- function B3(e) {
1502
- const { sendMessage: t } = E();
1529
+ function O3(e) {
1530
+ const { sendMessage: t } = R();
1503
1531
  return { powerOn: () => {
1504
1532
  t(`/device/${e}/powerOn`, null);
1505
1533
  }, powerOff: () => {
@@ -1508,14 +1536,14 @@ function B3(e) {
1508
1536
  t(`/device/${e}/powerToggle`, null);
1509
1537
  } };
1510
1538
  }
1511
- function B1(e) {
1512
- const { sendMessage: t } = E(), o = D(e);
1539
+ function O1(e) {
1540
+ const { sendMessage: t } = R(), o = D(e);
1513
1541
  return console.log("deviceState", o), o ? { itemsState: o, selectItem: (r) => {
1514
1542
  t(`/device/${e}/${r}`, null);
1515
1543
  } } : void 0;
1516
1544
  }
1517
- function Ke(e) {
1518
- const { sendMessage: t } = E(), o = D(e), c = () => {
1545
+ function qe(e) {
1546
+ const { sendMessage: t } = R(), o = D(e), c = () => {
1519
1547
  t(`/device/${e}/setDefaultChannelLevels`, null);
1520
1548
  }, r = () => {
1521
1549
  if ((o == null ? void 0 : o.levelControls) === void 0) return;
@@ -1525,8 +1553,8 @@ function Ke(e) {
1525
1553
  };
1526
1554
  return o ? { levelControls: o.levelControls, setDefaultChannelLevels: c, getFullStatus: r } : void 0;
1527
1555
  }
1528
- function $6(e) {
1529
- const t = D(e), o = B3(e), c = B1(e), r = B1(e), i = Fe(e), v = Ke(e);
1556
+ function O6(e) {
1557
+ const t = D(e), o = O3(e), c = O1(e), r = O1(e), i = Ke(e), v = qe(e);
1530
1558
  if (t)
1531
1559
  return {
1532
1560
  avrState: t,
@@ -1537,23 +1565,9 @@ function $6(e) {
1537
1565
  mainVolumeControl: i
1538
1566
  };
1539
1567
  }
1540
- function B6(e) {
1541
- const { sendMessage: t } = E(), o = `/device/${e}`, c = D(e), r = g(o, "cameraUp"), i = g(o, "cameraDown"), v = g(o, "cameraLeft"), u = g(o, "cameraRight"), h = g(o, "cameraZoomIn"), w = g(o, "cameraZoomOut"), f = (_) => t("/camera/recallPreset", _);
1542
- if (c)
1543
- return {
1544
- state: c,
1545
- zoomIn: h,
1546
- zoomOut: w,
1547
- up: r,
1548
- down: i,
1549
- left: v,
1550
- right: u,
1551
- recallPreset: f
1552
- };
1553
- }
1554
- const O6 = ({ className: e }) => {
1568
+ const k6 = ({ className: e }) => {
1555
1569
  const [t, o] = G();
1556
- return m1(() => {
1570
+ return p1(() => {
1557
1571
  setInterval(() => {
1558
1572
  const c = (/* @__PURE__ */ new Date()).toLocaleTimeString("en-US", { hour12: !0, hour: "numeric", minute: "numeric" });
1559
1573
  o(c);
@@ -1563,45 +1577,59 @@ const O6 = ({ className: e }) => {
1563
1577
  " new change"
1564
1578
  ] });
1565
1579
  };
1566
- function k6(e) {
1567
- const { sendMessage: t } = E(), o = D(e), c = `/device/${e}`;
1580
+ function W6(e) {
1581
+ const { sendMessage: t } = R(), o = D(e), c = `/device/${e}`;
1568
1582
  return o ? { state: o, recallPreset: (v, u) => {
1569
1583
  t(`${c}/presets/recall`, { deviceKey: v, preset: u });
1570
1584
  }, savePresets: (v) => {
1571
1585
  t(`${c}/presets/save`, v);
1572
1586
  } } : void 0;
1573
1587
  }
1574
- function W6(e) {
1588
+ function V6(e) {
1575
1589
  const t = D(e);
1576
1590
  if (t)
1577
1591
  return { endpointState: t };
1578
1592
  }
1579
- function V6(e) {
1593
+ function U6(e) {
1580
1594
  const t = `/device/${e}`, o = g(t, "chanUp"), c = g(t, "chanDown"), r = g(t, "lastChan"), i = g(t, "guide"), v = g(t, "info"), u = g(t, "exit");
1581
1595
  return { channelUp: o, channelDown: c, lastChannel: r, guide: i, info: v, exit: u };
1582
1596
  }
1583
- function U6(e) {
1597
+ function H6(e) {
1584
1598
  const t = `/device/${e}`, o = g(t, "red"), c = g(t, "green"), r = g(t, "yellow"), i = g(t, "blue");
1585
1599
  return { red: o, green: c, yellow: r, blue: i };
1586
1600
  }
1587
- function H6(e) {
1601
+ function F6(e) {
1588
1602
  const t = D(e);
1589
1603
  if (t)
1590
1604
  return {
1591
1605
  communicationMonitorState: t
1592
1606
  };
1593
1607
  }
1594
- function F6(e) {
1608
+ function K6(e) {
1595
1609
  const t = D(e);
1596
1610
  if (t)
1597
1611
  return t.deviceInfo || void 0;
1598
1612
  }
1599
- function K6(e) {
1613
+ function q6(e) {
1600
1614
  const t = `/device/${e}`, o = g(t, "up"), c = g(t, "down"), r = g(t, "left"), i = g(t, "right"), v = g(t, "select"), u = g(t, "menu"), h = g(t, "exit");
1601
1615
  return { up: o, down: c, left: r, right: i, select: v, menu: u, exit: h };
1602
1616
  }
1603
- function q6(e) {
1604
- const { sendMessage: t } = E();
1617
+ function G6(e) {
1618
+ const { sendMessage: t } = R(), o = `/device/${e}`, c = D(e), r = g(o, "cameraUp"), i = g(o, "cameraDown"), v = g(o, "cameraLeft"), u = g(o, "cameraRight"), h = g(o, "cameraZoomIn"), m = g(o, "cameraZoomOut"), p = (_) => t("/camera/recallPreset", _);
1619
+ if (c)
1620
+ return {
1621
+ state: c,
1622
+ zoomIn: h,
1623
+ zoomOut: m,
1624
+ up: r,
1625
+ down: i,
1626
+ left: v,
1627
+ right: u,
1628
+ recallPreset: p
1629
+ };
1630
+ }
1631
+ function Y6(e) {
1632
+ const { sendMessage: t } = R();
1605
1633
  return { recallPreset: (c) => {
1606
1634
  t(
1607
1635
  `/device/${e}/recallPreset`,
@@ -1609,12 +1637,12 @@ function q6(e) {
1609
1637
  );
1610
1638
  } };
1611
1639
  }
1612
- function G6(e) {
1640
+ function z6(e) {
1613
1641
  const t = `/device/${e}`, o = g(t, "dvrList"), c = g(t, "record");
1614
1642
  return { dvrList: o, record: c };
1615
1643
  }
1616
- function Y6(e) {
1617
- const { sendMessage: t } = E(), o = D(e);
1644
+ function J6(e) {
1645
+ const { sendMessage: t } = R(), o = D(e);
1618
1646
  return o ? { roomCombinerState: o, setAutoMode: () => {
1619
1647
  t(`/device/${e}/setAutoMode`, null);
1620
1648
  }, setManualMode: () => {
@@ -1627,8 +1655,8 @@ function Y6(e) {
1627
1655
  t(`/device/${e}/setRoomCombinationScenario`, h);
1628
1656
  } } : void 0;
1629
1657
  }
1630
- function z6(e) {
1631
- const { sendMessage: t } = E(), o = `/device/${e}`, c = D(e);
1658
+ function X6(e) {
1659
+ const { sendMessage: t } = R(), o = `/device/${e}`, c = D(e);
1632
1660
  return c ? {
1633
1661
  state: c,
1634
1662
  selectCamera: (i) => {
@@ -1636,41 +1664,41 @@ function z6(e) {
1636
1664
  }
1637
1665
  } : void 0;
1638
1666
  }
1639
- function J6(e) {
1667
+ function Q6(e) {
1640
1668
  const t = D(e);
1641
1669
  if (t)
1642
1670
  return { state: t };
1643
1671
  }
1644
- function X6(e) {
1645
- const { sendMessage: t, sendSimpleMessage: o } = E(), c = D(e), r = Q2(e), i = c || r;
1672
+ function N6(e) {
1673
+ const { sendMessage: t, sendSimpleMessage: o } = R(), c = D(e), r = N2(e), i = c || r;
1646
1674
  return i ? {
1647
1675
  levelState: i,
1648
- setLevel: (f, _) => o(`${f}/level`, _),
1649
- muteToggle: (f) => t(`${f}/muteToggle`, null),
1650
- muteOn: (f) => t(`${f}/muteOn`, null),
1651
- muteOff: (f) => t(`${f}/muteOff`, null)
1676
+ setLevel: (p, _) => o(`${p}/level`, _),
1677
+ muteToggle: (p) => t(`${p}/muteToggle`, null),
1678
+ muteOn: (p) => t(`${p}/muteOn`, null),
1679
+ muteOff: (p) => t(`${p}/muteOff`, null)
1652
1680
  } : void 0;
1653
1681
  }
1654
- function Q6(e) {
1655
- const { sendMessage: t } = E(), o = D(e);
1682
+ function et(e) {
1683
+ const { sendMessage: t } = R(), o = D(e);
1656
1684
  return o ? { lightingState: o, selectScene: (r) => {
1657
1685
  t(`/device/${e}/selectScene`, r);
1658
1686
  } } : void 0;
1659
1687
  }
1660
- function N6(e) {
1661
- const { sendMessage: t } = E(), o = D(e);
1688
+ function tt(e) {
1689
+ const { sendMessage: t } = R(), o = D(e);
1662
1690
  return o ? { matrixRoutingState: o, setRoute: (r) => {
1663
1691
  t(`/device/${e}/route`, r);
1664
1692
  } } : void 0;
1665
1693
  }
1666
- function et(e) {
1667
- const { sendMessage: t } = E();
1694
+ function nt(e) {
1695
+ const { sendMessage: t } = R();
1668
1696
  return { closeApp: () => {
1669
1697
  t(`/device/${e}/closeWebViewController`, null);
1670
1698
  } };
1671
1699
  }
1672
- function tt(e) {
1673
- const t = `/device/${e}`, o = g(t, "num0"), c = g(t, "num1"), r = g(t, "num2"), i = g(t, "num3"), v = g(t, "num4"), u = g(t, "num5"), h = g(t, "num6"), w = g(t, "num7"), f = g(t, "num8"), _ = g(t, "num9"), U = g(t, "numDash"), a = g(t, "numEnter");
1700
+ function ot(e) {
1701
+ const t = `/device/${e}`, o = g(t, "num0"), c = g(t, "num1"), r = g(t, "num2"), i = g(t, "num3"), v = g(t, "num4"), u = g(t, "num5"), h = g(t, "num6"), m = g(t, "num7"), p = g(t, "num8"), _ = g(t, "num9"), U = g(t, "numDash"), a = g(t, "numEnter");
1674
1702
  return {
1675
1703
  digit0: o,
1676
1704
  digit1: c,
@@ -1679,51 +1707,51 @@ function tt(e) {
1679
1707
  digit4: v,
1680
1708
  digit5: u,
1681
1709
  digit6: h,
1682
- digit7: w,
1683
- digit8: f,
1710
+ digit7: m,
1711
+ digit8: p,
1684
1712
  digit9: _,
1685
1713
  keypadAccessoryButton1: U,
1686
1714
  keypadAccessoryButton2: a
1687
1715
  };
1688
1716
  }
1689
- function nt(e) {
1690
- const { sendMessage: t } = E(), o = D(e);
1717
+ function st(e) {
1718
+ const { sendMessage: t } = R(), o = D(e);
1691
1719
  return o ? { projectorScreenLiftControlState: o, raise: () => {
1692
1720
  t(`/device/${e}/raise`, null);
1693
1721
  }, lower: () => {
1694
1722
  t(`/device/${e}/lower`, null);
1695
1723
  } } : void 0;
1696
1724
  }
1697
- function ot(e) {
1698
- const { sendMessage: t } = E(), o = x1(e);
1725
+ function ct(e) {
1726
+ const { sendMessage: t } = R(), o = x1(e);
1699
1727
  return o ? { roomEventScheduleState: o, save: (r) => {
1700
1728
  t(`/room/${e}/saveScheduledEvents`, r);
1701
1729
  } } : void 0;
1702
1730
  }
1703
- function st(e) {
1704
- const { sendMessage: t } = E();
1731
+ function rt(e) {
1732
+ const { sendMessage: t } = R();
1705
1733
  return { runDefaultPresentRoute: () => {
1706
1734
  t(`/room/${e}/defaultsource`, {});
1707
1735
  } };
1708
1736
  }
1709
- function ct(e) {
1710
- const { sendMessage: t } = E();
1737
+ function lt(e) {
1738
+ const { sendMessage: t } = R();
1711
1739
  return { runDirectRoute: (c) => {
1712
1740
  t(`/room/${e}/directRoute`, c);
1713
1741
  } };
1714
1742
  }
1715
- function rt(e) {
1716
- const { sendMessage: t } = E();
1743
+ function it(e) {
1744
+ const { sendMessage: t } = R();
1717
1745
  return { routingState: D(e), runRoute: (r) => {
1718
1746
  t(`/room/${e}/source`, r);
1719
1747
  } };
1720
1748
  }
1721
- function lt(e) {
1749
+ function at(e) {
1722
1750
  const t = `/device/${e}`, o = g(t, "chanUp"), c = g(t, "chanDown");
1723
1751
  return { dvrList: o, replay: c };
1724
1752
  }
1725
- function it(e) {
1726
- const { sendMessage: t } = E(), o = D(e);
1753
+ function ut(e) {
1754
+ const { sendMessage: t } = R(), o = D(e);
1727
1755
  return o ? { shadeState: o, shadeUp: () => {
1728
1756
  t(`/device/${e}/shadeUp`, null);
1729
1757
  }, shadeDown: () => {
@@ -1732,8 +1760,8 @@ function it(e) {
1732
1760
  t(`/device/${e}/stopOrPreset`, null);
1733
1761
  } } : void 0;
1734
1762
  }
1735
- function at(e) {
1736
- const { sendMessage: t } = E(), o = x1(e);
1763
+ function dt(e) {
1764
+ const { sendMessage: t } = R(), o = x1(e);
1737
1765
  return o ? { shutdownPromptTimerState: o, setShutdownPromptSeconds: (u) => {
1738
1766
  t(`/room/${e}/setShutdownPromptSeconds`, u);
1739
1767
  }, shutdownStart: () => {
@@ -1744,28 +1772,28 @@ function at(e) {
1744
1772
  t(`/room/${e}/shutdownCancel`, null);
1745
1773
  } } : void 0;
1746
1774
  }
1747
- function ut(e) {
1748
- const { sendMessage: t } = E(), o = D(e);
1775
+ function vt(e) {
1776
+ const { sendMessage: t } = R(), o = D(e);
1749
1777
  return o ? { switchedOutputState: o, on: () => {
1750
1778
  t(`/device/${e}/on`, null);
1751
1779
  }, off: () => {
1752
1780
  t(`/device/${e}/off`, null);
1753
1781
  } } : void 0;
1754
1782
  }
1755
- function dt(e) {
1756
- const { sendMessage: t } = E(), o = x1(e);
1783
+ function ht(e) {
1784
+ const { sendMessage: t } = R(), o = x1(e);
1757
1785
  return o ? { techPasswordState: o, validatePassword: (i) => {
1758
1786
  t(`/room/${e}/validateTechPassword`, { password: i });
1759
1787
  }, setPassword: (i, v) => {
1760
1788
  t(`/room/${e}/setTechPassword`, { oldPassword: i, newPassword: v });
1761
1789
  } } : void 0;
1762
1790
  }
1763
- function vt(e) {
1764
- const { sendMessage: t } = E(), o = D(e);
1791
+ function gt(e) {
1792
+ const { sendMessage: t } = R(), o = D(e);
1765
1793
  return o ? { state: o, setTemperatureUnitsToCelcius: () => t(`${e}/setTemperatureUnitsToCelcius`, null), setTemperatureUnitsToFahrenheit: () => t(`${e}/setTemperatureUnitsToFahrenheit`, null) } : void 0;
1766
1794
  }
1767
- function ht(e) {
1768
- const { sendMessage: t } = E(), o = D(e), c = (r) => {
1795
+ function ft(e) {
1796
+ const { sendMessage: t } = R(), o = D(e), c = (r) => {
1769
1797
  t(`/device/${e}/saveTheme`, { value: r });
1770
1798
  };
1771
1799
  return {
@@ -1773,8 +1801,8 @@ function ht(e) {
1773
1801
  saveTheme: c
1774
1802
  };
1775
1803
  }
1776
- function gt(e) {
1777
- const t = `/device/${e}`, o = g(t, "play"), c = g(t, "pause"), r = g(t, "stop"), i = g(t, "prevTrack"), v = g(t, "nextTrack"), u = g(t, "rewind"), h = g(t, "ffwd"), w = g(t, "record");
1804
+ function wt(e) {
1805
+ const t = `/device/${e}`, o = g(t, "play"), c = g(t, "pause"), r = g(t, "stop"), i = g(t, "prevTrack"), v = g(t, "nextTrack"), u = g(t, "rewind"), h = g(t, "ffwd"), m = g(t, "record");
1778
1806
  return {
1779
1807
  play: o,
1780
1808
  pause: c,
@@ -1783,11 +1811,11 @@ function gt(e) {
1783
1811
  nextTrack: v,
1784
1812
  rewind: u,
1785
1813
  fastForward: h,
1786
- record: w
1814
+ record: m
1787
1815
  };
1788
1816
  }
1789
- function ft(e) {
1790
- const t = D(e), { sendMessage: o } = E();
1817
+ function mt(e) {
1818
+ const t = D(e), { sendMessage: o } = R();
1791
1819
  return t ? {
1792
1820
  touchpanelState: t,
1793
1821
  appControl: { hideApp: () => {
@@ -1802,8 +1830,8 @@ function ft(e) {
1802
1830
  } }
1803
1831
  } : void 0;
1804
1832
  }
1805
- function wt(e) {
1806
- const t = D(e), o = B3(e), c = B1(e);
1833
+ function pt(e) {
1834
+ const t = D(e), o = O3(e), c = O1(e);
1807
1835
  if (!t) return;
1808
1836
  const r = (t.powerState || t.isWarming) && !t.isCooling, i = (!t.powerState || t.isCooling) && !t.isWarming;
1809
1837
  return {
@@ -1813,11 +1841,15 @@ function wt(e) {
1813
1841
  powerFb: { powerOnFb: r, powerOffFb: i }
1814
1842
  };
1815
1843
  }
1816
- const pt = ({
1844
+ function Mt(e) {
1845
+ const t = `/device/${e}`;
1846
+ return Z1(t);
1847
+ }
1848
+ const xt = ({
1817
1849
  config: e
1818
1850
  }) => {
1819
- const { sendMessage: t } = E();
1820
- m1(() => {
1851
+ const { sendMessage: t } = R();
1852
+ p1(() => {
1821
1853
  var c, r, i, v;
1822
1854
  if (!e)
1823
1855
  return;
@@ -1846,46 +1878,50 @@ const pt = ({
1846
1878
  });
1847
1879
  }, [e, t]);
1848
1880
  };
1849
- function mt(e, t) {
1881
+ function Zt(e, t) {
1850
1882
  const [o, c] = G(!1), [r, i] = G(!1);
1851
- return M3(() => {
1883
+ return x3(() => {
1852
1884
  const { current: v } = e, u = () => {
1853
- const h = v && v.scrollHeight > v.clientHeight, w = v && v.scrollWidth > v.clientWidth;
1854
- i(h ?? !1), c(w ?? !1), t && t(h ?? !1, w ?? !1);
1885
+ const h = v && v.scrollHeight > v.clientHeight, m = v && v.scrollWidth > v.clientWidth;
1886
+ i(h ?? !1), c(m ?? !1), t && t(h ?? !1, m ?? !1);
1855
1887
  };
1856
1888
  v && u();
1857
1889
  }, [e, t]), { overflowHorizontal: o, overflowVertical: r };
1858
1890
  }
1859
- function Mt(e, t) {
1860
- const o = X2(e, t), c = `/room/${e}/volumes/${t}`;
1861
- return $3(c, o);
1891
+ function St(e, t) {
1892
+ const o = `/room/${e}/volumes/${t}`;
1893
+ return Z1(o);
1862
1894
  }
1863
- function xt(e) {
1895
+ function jt(e, t) {
1896
+ const o = Q2(e, t), c = `/room/${e}/volumes/${t}`;
1897
+ return B3(c, o);
1898
+ }
1899
+ function Ct(e) {
1864
1900
  var u, h;
1865
- const [t, o] = G(((u = e == null ? void 0 : e.current) == null ? void 0 : u.scrollLeft) ?? 0), [c, r] = G(((h = e == null ? void 0 : e.current) == null ? void 0 : h.scrollTop) ?? 0), i = (w) => {
1866
- const { current: f } = e;
1867
- f && (console.log(f.scrollLeft), f.scrollLeft += w, console.log(f.scrollLeft));
1868
- }, v = (w) => {
1869
- const { current: f } = e;
1870
- f && (console.log(f.scrollTop), f.scrollTop += w, console.log(f.scrollTop));
1901
+ const [t, o] = G(((u = e == null ? void 0 : e.current) == null ? void 0 : u.scrollLeft) ?? 0), [c, r] = G(((h = e == null ? void 0 : e.current) == null ? void 0 : h.scrollTop) ?? 0), i = (m) => {
1902
+ const { current: p } = e;
1903
+ p && (console.log(p.scrollLeft), p.scrollLeft += m, console.log(p.scrollLeft));
1904
+ }, v = (m) => {
1905
+ const { current: p } = e;
1906
+ p && (console.log(p.scrollTop), p.scrollTop += m, console.log(p.scrollTop));
1871
1907
  };
1872
- return M3(() => {
1873
- const { current: w } = e, f = () => {
1874
- o((w == null ? void 0 : w.scrollLeft) ?? 0), r((w == null ? void 0 : w.scrollTop) ?? 0);
1908
+ return x3(() => {
1909
+ const { current: m } = e, p = () => {
1910
+ o((m == null ? void 0 : m.scrollLeft) ?? 0), r((m == null ? void 0 : m.scrollTop) ?? 0);
1875
1911
  };
1876
- w && f();
1912
+ m && p();
1877
1913
  }, [e]), { horizontalScrollPosition: t, verticalScrollPosition: c, scrollHorizontal: i, scrollVertical: v };
1878
1914
  }
1879
- function Zt(e) {
1880
- const t = O1();
1915
+ function bt(e) {
1916
+ const t = k1();
1881
1917
  return [() => {
1882
1918
  t(k.addSyncState(e));
1883
1919
  }, () => {
1884
1920
  t(k.removeSyncState(e));
1885
1921
  }, pe(e)];
1886
1922
  }
1887
- function St() {
1888
- const { sendMessage: e } = E();
1923
+ function yt() {
1924
+ const { sendMessage: e } = R();
1889
1925
  return {
1890
1926
  reboot: () => {
1891
1927
  e("/system/reboot", null);
@@ -1895,14 +1931,14 @@ function St() {
1895
1931
  }
1896
1932
  };
1897
1933
  }
1898
- function jt() {
1934
+ function It() {
1899
1935
  const [e, t] = G(), [o, c] = G();
1900
1936
  function r() {
1901
1937
  t((/* @__PURE__ */ new Date()).toLocaleDateString("en-US", { dateStyle: "long" }));
1902
1938
  const i = (/* @__PURE__ */ new Date()).toLocaleTimeString("en-US", { hour12: !0, hour: "numeric", minute: "numeric" });
1903
1939
  c(i);
1904
1940
  }
1905
- return m1(() => {
1941
+ return p1(() => {
1906
1942
  r();
1907
1943
  const i = setInterval(() => {
1908
1944
  r();
@@ -1910,10 +1946,10 @@ function jt() {
1910
1946
  return () => clearInterval(i);
1911
1947
  }, []), { date: e, time: o };
1912
1948
  }
1913
- const Ct = () => {
1914
- const [e, t] = G(!1), o = S2(), c = j2();
1949
+ const Rt = () => {
1950
+ const [e, t] = G(!1), o = j2(), c = C2();
1915
1951
  let r;
1916
- return C2(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: [
1952
+ return b2(c) ? r = c.statusText : c instanceof Error ? r = c.message : typeof c == "string" ? r = c : (console.error(c), r = "Unknown error"), /* @__PURE__ */ n.jsxs("div", { className: "d-flex flex-column align-items-center gap-5", children: [
1917
1953
  /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger rounded d-flex align-items-center", children: /* @__PURE__ */ n.jsx("span", { className: "fs-5 text-white", children: "We are sorry. Something went wrong." }) }),
1918
1954
  /* @__PURE__ */ n.jsx(
1919
1955
  "button",
@@ -1933,11 +1969,11 @@ const Ct = () => {
1933
1969
  ),
1934
1970
  e && /* @__PURE__ */ n.jsx("p", { children: r })
1935
1971
  ] });
1936
- }, qe = "_iconbtn_16qss_1", Ge = "_iconbtnvert_16qss_7", Ye = "_iconsm_16qss_18", _1 = {
1937
- iconbtn: qe,
1938
- iconbtnvert: Ge,
1939
- iconsm: Ye
1940
- }, ze = ({
1972
+ }, Ge = "_iconbtn_16qss_1", Ye = "_iconbtnvert_16qss_7", ze = "_iconsm_16qss_18", P1 = {
1973
+ iconbtn: Ge,
1974
+ iconbtnvert: Ye,
1975
+ iconsm: ze
1976
+ }, Je = ({
1941
1977
  multiIcon: e,
1942
1978
  otherContent: t = null,
1943
1979
  vert: o = !1,
@@ -1947,8 +1983,8 @@ const Ct = () => {
1947
1983
  disabled: v,
1948
1984
  feedback: u,
1949
1985
  feedbackClassName: h,
1950
- onPointerDown: w,
1951
- onPointerUp: f,
1986
+ onPointerDown: m,
1987
+ onPointerUp: p,
1952
1988
  onPointerLeave: _,
1953
1989
  ...U
1954
1990
  }) => {
@@ -1957,14 +1993,14 @@ const Ct = () => {
1957
1993
  "button",
1958
1994
  {
1959
1995
  type: "button",
1960
- className: `${_1.iconbtn} ${o ? _1.iconbtnvert : ""} ${c} ${S}`,
1996
+ className: `${P1.iconbtn} ${o ? P1.iconbtnvert : ""} ${c} ${S}`,
1961
1997
  ...U,
1962
1998
  disabled: v,
1963
1999
  onPointerDown: (b) => {
1964
- x(!0), w == null || w(b);
2000
+ x(!0), m == null || m(b);
1965
2001
  },
1966
2002
  onPointerUp: (b) => {
1967
- x(!1), f == null || f(b);
2003
+ x(!1), p == null || p(b);
1968
2004
  },
1969
2005
  onPointerLeave: (b) => {
1970
2006
  x(!1), _ == null || _(b);
@@ -1973,7 +2009,7 @@ const Ct = () => {
1973
2009
  e && /* @__PURE__ */ n.jsx(
1974
2010
  e,
1975
2011
  {
1976
- className: `${r || _1.iconsm}`,
2012
+ className: `${r || P1.iconsm}`,
1977
2013
  active: Z,
1978
2014
  disabled: v
1979
2015
  }
@@ -1988,7 +2024,7 @@ const Ct = () => {
1988
2024
  EnabledImage: o,
1989
2025
  active: c,
1990
2026
  disabled: r
1991
- }) => r ? t : c ? e : o, Je = ({
2027
+ }) => r ? t : c ? e : o, Xe = ({
1992
2028
  active: e,
1993
2029
  className: t = "",
1994
2030
  disabled: o
@@ -2040,7 +2076,7 @@ const Ct = () => {
2040
2076
  active: e,
2041
2077
  disabled: o
2042
2078
  }
2043
- ), Xe = ({
2079
+ ), Qe = ({
2044
2080
  active: e,
2045
2081
  className: t = "",
2046
2082
  disabled: o
@@ -2089,7 +2125,7 @@ const Ct = () => {
2089
2125
  active: e,
2090
2126
  disabled: o
2091
2127
  }
2092
- ), Qe = ({
2128
+ ), Ne = ({
2093
2129
  active: e,
2094
2130
  className: t = "",
2095
2131
  disabled: o
@@ -2129,7 +2165,7 @@ const Ct = () => {
2129
2165
  active: e,
2130
2166
  disabled: o
2131
2167
  }
2132
- ), Ne = ({
2168
+ ), e8 = ({
2133
2169
  active: e,
2134
2170
  className: t = "",
2135
2171
  disabled: o
@@ -2178,7 +2214,7 @@ const Ct = () => {
2178
2214
  active: e,
2179
2215
  disabled: o
2180
2216
  }
2181
- ), e8 = ({
2217
+ ), t8 = ({
2182
2218
  active: e,
2183
2219
  // Just to shut up the linter on this template. Prefer deleting this lint rule
2184
2220
  className: t = "",
@@ -2246,7 +2282,7 @@ const Ct = () => {
2246
2282
  active: e,
2247
2283
  disabled: o
2248
2284
  }
2249
- ), t8 = ({
2285
+ ), n8 = ({
2250
2286
  active: e,
2251
2287
  className: t = "",
2252
2288
  disabled: o
@@ -2295,7 +2331,7 @@ const Ct = () => {
2295
2331
  active: e,
2296
2332
  disabled: o
2297
2333
  }
2298
- ), n8 = ({
2334
+ ), o8 = ({
2299
2335
  active: e,
2300
2336
  className: t = "",
2301
2337
  disabled: o
@@ -2344,7 +2380,7 @@ const Ct = () => {
2344
2380
  active: e,
2345
2381
  disabled: o
2346
2382
  }
2347
- ), o8 = ({
2383
+ ), s8 = ({
2348
2384
  active: e,
2349
2385
  className: t = "",
2350
2386
  disabled: o
@@ -2393,7 +2429,7 @@ const Ct = () => {
2393
2429
  active: e,
2394
2430
  disabled: o
2395
2431
  }
2396
- ), s8 = ({
2432
+ ), c8 = ({
2397
2433
  active: e,
2398
2434
  className: t = "",
2399
2435
  disabled: o
@@ -2442,7 +2478,7 @@ const Ct = () => {
2442
2478
  active: e,
2443
2479
  disabled: o
2444
2480
  }
2445
- ), c8 = ({
2481
+ ), r8 = ({
2446
2482
  active: e,
2447
2483
  className: t = "",
2448
2484
  disabled: o
@@ -2491,7 +2527,7 @@ const Ct = () => {
2491
2527
  active: e,
2492
2528
  disabled: o
2493
2529
  }
2494
- ), r8 = ({
2530
+ ), l8 = ({
2495
2531
  active: e,
2496
2532
  // Just to shut up the linter on this template. Prefer deleting this lint rule
2497
2533
  className: t = "",
@@ -2559,7 +2595,7 @@ const Ct = () => {
2559
2595
  active: e,
2560
2596
  disabled: o
2561
2597
  }
2562
- ), l8 = ({
2598
+ ), i8 = ({
2563
2599
  active: e,
2564
2600
  className: t = "",
2565
2601
  disabled: o
@@ -2608,7 +2644,7 @@ const Ct = () => {
2608
2644
  active: e,
2609
2645
  disabled: o
2610
2646
  }
2611
- ), i8 = ({
2647
+ ), a8 = ({
2612
2648
  active: e,
2613
2649
  className: t = "",
2614
2650
  disabled: o
@@ -2657,7 +2693,7 @@ const Ct = () => {
2657
2693
  active: e,
2658
2694
  disabled: o
2659
2695
  }
2660
- ), a8 = ({
2696
+ ), u8 = ({
2661
2697
  active: e,
2662
2698
  className: t = "",
2663
2699
  disabled: o
@@ -2706,7 +2742,7 @@ const Ct = () => {
2706
2742
  active: e,
2707
2743
  disabled: o
2708
2744
  }
2709
- ), u8 = ({
2745
+ ), d8 = ({
2710
2746
  active: e,
2711
2747
  className: t = "",
2712
2748
  disabled: o
@@ -2755,7 +2791,7 @@ const Ct = () => {
2755
2791
  active: e,
2756
2792
  disabled: o
2757
2793
  }
2758
- ), d8 = ({
2794
+ ), v8 = ({
2759
2795
  active: e,
2760
2796
  className: t = "",
2761
2797
  disabled: o
@@ -2777,7 +2813,7 @@ const Ct = () => {
2777
2813
  active: e,
2778
2814
  disabled: o
2779
2815
  }
2780
- ), v8 = ({
2816
+ ), h8 = ({
2781
2817
  active: e,
2782
2818
  className: t = "",
2783
2819
  disabled: o
@@ -2826,7 +2862,7 @@ const Ct = () => {
2826
2862
  active: e,
2827
2863
  disabled: o
2828
2864
  }
2829
- ), h8 = ({
2865
+ ), g8 = ({
2830
2866
  active: e,
2831
2867
  className: t = "",
2832
2868
  disabled: o
@@ -2875,7 +2911,7 @@ const Ct = () => {
2875
2911
  active: e,
2876
2912
  disabled: o
2877
2913
  }
2878
- ), g8 = ({
2914
+ ), f8 = ({
2879
2915
  active: e,
2880
2916
  className: t = "",
2881
2917
  disabled: o
@@ -2924,7 +2960,7 @@ const Ct = () => {
2924
2960
  active: e,
2925
2961
  disabled: o
2926
2962
  }
2927
- ), f8 = ({
2963
+ ), w8 = ({
2928
2964
  active: e,
2929
2965
  className: t = "",
2930
2966
  disabled: o
@@ -2973,7 +3009,7 @@ const Ct = () => {
2973
3009
  active: e,
2974
3010
  disabled: o
2975
3011
  }
2976
- ), w8 = ({
3012
+ ), m8 = ({
2977
3013
  active: e,
2978
3014
  className: t = "",
2979
3015
  disabled: o
@@ -3090,7 +3126,7 @@ const Ct = () => {
3090
3126
  active: e,
3091
3127
  disabled: o
3092
3128
  }
3093
- ), m8 = ({
3129
+ ), M8 = ({
3094
3130
  active: e,
3095
3131
  className: t = "",
3096
3132
  disabled: o
@@ -3139,7 +3175,7 @@ const Ct = () => {
3139
3175
  active: e,
3140
3176
  disabled: o
3141
3177
  }
3142
- ), M8 = ({
3178
+ ), x8 = ({
3143
3179
  active: e,
3144
3180
  className: t = "",
3145
3181
  disabled: o
@@ -3188,7 +3224,7 @@ const Ct = () => {
3188
3224
  active: e,
3189
3225
  disabled: o
3190
3226
  }
3191
- ), bt = ({
3227
+ ), Et = ({
3192
3228
  active: e,
3193
3229
  // Just to shut up the linter on this template. Prefer deleting this lint rule
3194
3230
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
@@ -3203,7 +3239,7 @@ const Ct = () => {
3203
3239
  active: e,
3204
3240
  disabled: o
3205
3241
  }
3206
- ), x8 = ({
3242
+ ), Z8 = ({
3207
3243
  active: e,
3208
3244
  className: t = "",
3209
3245
  disabled: o
@@ -3252,7 +3288,7 @@ const Ct = () => {
3252
3288
  active: e,
3253
3289
  disabled: o
3254
3290
  }
3255
- ), Z8 = ({
3291
+ ), S8 = ({
3256
3292
  active: e,
3257
3293
  className: t = "",
3258
3294
  disabled: o
@@ -3301,7 +3337,7 @@ const Ct = () => {
3301
3337
  active: e,
3302
3338
  disabled: o
3303
3339
  }
3304
- ), S8 = ({
3340
+ ), j8 = ({
3305
3341
  active: e,
3306
3342
  className: t = "",
3307
3343
  disabled: o
@@ -3350,7 +3386,7 @@ const Ct = () => {
3350
3386
  active: e,
3351
3387
  disabled: o
3352
3388
  }
3353
- ), j8 = ({
3389
+ ), C8 = ({
3354
3390
  active: e,
3355
3391
  className: t = "",
3356
3392
  disabled: o
@@ -3399,7 +3435,7 @@ const Ct = () => {
3399
3435
  active: e,
3400
3436
  disabled: o
3401
3437
  }
3402
- ), C8 = ({
3438
+ ), b8 = ({
3403
3439
  active: e,
3404
3440
  className: t = "",
3405
3441
  disabled: o
@@ -3448,7 +3484,7 @@ const Ct = () => {
3448
3484
  active: e,
3449
3485
  disabled: o
3450
3486
  }
3451
- ), b8 = ({
3487
+ ), y8 = ({
3452
3488
  active: e,
3453
3489
  className: t = "",
3454
3490
  disabled: o
@@ -3497,7 +3533,7 @@ const Ct = () => {
3497
3533
  active: e,
3498
3534
  disabled: o
3499
3535
  }
3500
- ), y8 = ({
3536
+ ), I8 = ({
3501
3537
  active: e,
3502
3538
  className: t = "",
3503
3539
  disabled: o
@@ -3546,7 +3582,7 @@ const Ct = () => {
3546
3582
  active: e,
3547
3583
  disabled: o
3548
3584
  }
3549
- ), I8 = ({
3585
+ ), R8 = ({
3550
3586
  active: e,
3551
3587
  className: t = "",
3552
3588
  disabled: o
@@ -3595,306 +3631,310 @@ const Ct = () => {
3595
3631
  active: e,
3596
3632
  disabled: o
3597
3633
  }
3598
- ), R8 = {
3599
- Alert: Je,
3600
- Camera: Qe,
3601
- DownArrow: t8,
3602
- Ban: Xe,
3603
- Check: Ne,
3604
- Controller: e8,
3605
- Elipses: n8,
3606
- Flag: o8,
3607
- Gear: s8,
3608
- Glass: c8,
3609
- Hdmi: r8,
3610
- Laptop: l8,
3611
- LeftArrow: i8,
3612
- Light: a8,
3613
- Mic: I8,
3614
- Moon: u8,
3615
- Playstation: d8,
3616
- Podium: v8,
3617
- Power: h8,
3618
- Privacy: g8,
3619
- Question: f8,
3620
- RightArrow: w8,
3634
+ ), E8 = {
3635
+ Alert: Xe,
3636
+ Camera: Ne,
3637
+ DownArrow: n8,
3638
+ Ban: Qe,
3639
+ Check: e8,
3640
+ Controller: t8,
3641
+ Elipses: o8,
3642
+ Flag: s8,
3643
+ Gear: c8,
3644
+ Glass: r8,
3645
+ Hdmi: l8,
3646
+ Laptop: i8,
3647
+ LeftArrow: a8,
3648
+ Light: u8,
3649
+ Mic: R8,
3650
+ Moon: d8,
3651
+ Playstation: v8,
3652
+ Podium: h8,
3653
+ Power: g8,
3654
+ Privacy: f8,
3655
+ Question: w8,
3656
+ RightArrow: m8,
3621
3657
  RoomPC: p8,
3622
- Shade: m8,
3623
- Sun: M8,
3624
- UpArrow: x8,
3625
- VolDown: Z8,
3626
- VolMute: S8,
3627
- VolUp: j8,
3628
- Wireless: C8,
3629
- X: b8,
3630
- Xbox: y8
3658
+ Shade: M8,
3659
+ Sun: x8,
3660
+ UpArrow: Z8,
3661
+ VolDown: S8,
3662
+ VolMute: j8,
3663
+ VolUp: C8,
3664
+ Wireless: b8,
3665
+ X: y8,
3666
+ Xbox: I8
3631
3667
  };
3632
- function yt({
3668
+ function Tt({
3633
3669
  name: e,
3634
- iconsDictionary: t = R8,
3670
+ iconsDictionary: t = E8,
3635
3671
  ...o
3636
3672
  }) {
3637
3673
  const c = t[e] ?? null;
3638
- return c || console.error(`Icon ${e} not found in dictionary`), /* @__PURE__ */ n.jsx(ze, { multiIcon: c, ...o });
3639
- }
3640
- const E8 = "_grid_1cmpp_1", T8 = "_header_1cmpp_11", D8 = "_content_1cmpp_17", _8 = "_footer_1cmpp_23", P8 = "_volume_1cmpp_29", l1 = {
3641
- grid: E8,
3642
- header: T8,
3643
- content: D8,
3644
- footer: _8,
3645
- volume: P8
3646
- }, It = ({ header: e, footer: t, content: o, volume: c, showVolume: r }) => /* @__PURE__ */ n.jsxs("div", { className: l1.grid, children: [
3674
+ return c || console.error(`Icon ${e} not found in dictionary`), /* @__PURE__ */ n.jsx(Je, { multiIcon: c, ...o });
3675
+ }
3676
+ const T8 = "_grid_1cmpp_1", D8 = "_header_1cmpp_11", _8 = "_content_1cmpp_17", P8 = "_footer_1cmpp_23", L8 = "_volume_1cmpp_29", l1 = {
3677
+ grid: T8,
3678
+ header: D8,
3679
+ content: _8,
3680
+ footer: P8,
3681
+ volume: L8
3682
+ }, Dt = ({ header: e, footer: t, content: o, volume: c, showVolume: r }) => /* @__PURE__ */ n.jsxs("div", { className: l1.grid, children: [
3647
3683
  /* @__PURE__ */ n.jsx("div", { className: l1.header, children: e }),
3648
3684
  /* @__PURE__ */ n.jsx("div", { className: l1.content, children: o }),
3649
3685
  r && /* @__PURE__ */ n.jsx("div", { className: l1.volume, children: c }),
3650
3686
  /* @__PURE__ */ n.jsx("div", { className: l1.footer, children: t })
3651
- ] }), L8 = "_grid_11w5q_1", A8 = "_header_11w5q_11", $8 = "_content_11w5q_17", p1 = {
3652
- grid: L8,
3687
+ ] }), $8 = "_grid_11w5q_1", A8 = "_header_11w5q_11", B8 = "_content_11w5q_17", m1 = {
3688
+ grid: $8,
3653
3689
  header: A8,
3654
- content: $8
3655
- }, Rt = ({ className: e, header: t, content: o, leftNav: c }) => /* @__PURE__ */ n.jsxs("div", { className: `${e} ${p1.grid}`, children: [
3656
- /* @__PURE__ */ n.jsx("div", { className: p1.header, children: t }),
3657
- c && /* @__PURE__ */ n.jsx("div", { className: p1.leftNav, children: c }),
3658
- /* @__PURE__ */ n.jsx("div", { className: p1.content, children: o })
3659
- ] }), B8 = "_grid_1uwfo_1", O8 = "_header_1uwfo_11", k8 = "_content_1uwfo_17", P1 = {
3660
- grid: B8,
3661
- header: O8,
3662
- content: k8
3663
- }, Et = ({ className: e, header: t, content: o }) => /* @__PURE__ */ n.jsxs("div", { className: `${e} ${P1.grid}`, children: [
3664
- /* @__PURE__ */ n.jsx("div", { className: P1.header, children: t }),
3665
- /* @__PURE__ */ n.jsx("div", { className: P1.content, children: o })
3690
+ content: B8
3691
+ }, _t = ({ className: e, header: t, content: o, leftNav: c }) => /* @__PURE__ */ n.jsxs("div", { className: `${e} ${m1.grid}`, children: [
3692
+ /* @__PURE__ */ n.jsx("div", { className: m1.header, children: t }),
3693
+ c && /* @__PURE__ */ n.jsx("div", { className: m1.leftNav, children: c }),
3694
+ /* @__PURE__ */ n.jsx("div", { className: m1.content, children: o })
3695
+ ] }), O8 = "_grid_1uwfo_1", k8 = "_header_1uwfo_11", W8 = "_content_1uwfo_17", L1 = {
3696
+ grid: O8,
3697
+ header: k8,
3698
+ content: W8
3699
+ }, Pt = ({ className: e, header: t, content: o }) => /* @__PURE__ */ n.jsxs("div", { className: `${e} ${L1.grid}`, children: [
3700
+ /* @__PURE__ */ n.jsx("div", { className: L1.header, children: t }),
3701
+ /* @__PURE__ */ n.jsx("div", { className: L1.content, children: o })
3666
3702
  ] });
3667
- class Tt {
3703
+ class Lt {
3668
3704
  constructor() {
3669
3705
  K(this, "currentShareText");
3670
3706
  K(this, "enabled");
3671
3707
  K(this, "isSharing");
3672
3708
  }
3673
3709
  }
3674
- function Dt() {
3710
+ function $t() {
3675
3711
  return console.log(location.pathname), location.pathname;
3676
3712
  }
3677
- var W8 = /* @__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))(W8 || {});
3678
- class _t {
3713
+ var V8 = /* @__PURE__ */ ((e) => (e[e.NotSet = 0] = "NotSet", e[e.Sunday = 1] = "Sunday", e[e.Monday = 2] = "Monday", e[e.Tuesday = 4] = "Tuesday", e[e.Wednesday = 8] = "Wednesday", e[e.Thursday = 16] = "Thursday", e[e.Friday = 32] = "Friday", e[e.Saturday = 64] = "Saturday", e))(V8 || {});
3714
+ class At {
3679
3715
  constructor(t, o) {
3680
3716
  K(this, "path");
3681
3717
  K(this, "handler");
3682
3718
  this.path = t, this.handler = o;
3683
3719
  }
3684
3720
  }
3685
- const Pt = "$off";
3721
+ const Bt = "$off";
3686
3722
  export {
3687
- O6 as Clock,
3688
- W8 as DaysOfWeek,
3689
- Ct as ErrorBox,
3690
- ze as IconButton,
3691
- Je as IconMultiAlert,
3692
- Xe as IconMultiBan,
3693
- Qe as IconMultiCamera,
3694
- Ne as IconMultiCheck,
3695
- e8 as IconMultiController,
3696
- t8 as IconMultiDownArrow,
3697
- n8 as IconMultiElipses,
3698
- o8 as IconMultiFlag,
3699
- s8 as IconMultiGear,
3700
- c8 as IconMultiGlass,
3701
- r8 as IconMultiHdmi,
3702
- l8 as IconMultiLaptop,
3703
- i8 as IconMultiLeftArrow,
3704
- a8 as IconMultiLight,
3705
- I8 as IconMultiMic,
3706
- u8 as IconMultiMoon,
3707
- d8 as IconMultiPlaystation,
3708
- v8 as IconMultiPodium,
3709
- h8 as IconMultiPower,
3710
- g8 as IconMultiPrivacy,
3711
- f8 as IconMultiQuestion,
3712
- w8 as IconMultiRightArrow,
3723
+ k6 as Clock,
3724
+ V8 as DaysOfWeek,
3725
+ Rt as ErrorBox,
3726
+ Je as IconButton,
3727
+ Xe as IconMultiAlert,
3728
+ Qe as IconMultiBan,
3729
+ Ne as IconMultiCamera,
3730
+ e8 as IconMultiCheck,
3731
+ t8 as IconMultiController,
3732
+ n8 as IconMultiDownArrow,
3733
+ o8 as IconMultiElipses,
3734
+ s8 as IconMultiFlag,
3735
+ c8 as IconMultiGear,
3736
+ r8 as IconMultiGlass,
3737
+ l8 as IconMultiHdmi,
3738
+ i8 as IconMultiLaptop,
3739
+ a8 as IconMultiLeftArrow,
3740
+ u8 as IconMultiLight,
3741
+ R8 as IconMultiMic,
3742
+ d8 as IconMultiMoon,
3743
+ v8 as IconMultiPlaystation,
3744
+ h8 as IconMultiPodium,
3745
+ g8 as IconMultiPower,
3746
+ f8 as IconMultiPrivacy,
3747
+ w8 as IconMultiQuestion,
3748
+ m8 as IconMultiRightArrow,
3713
3749
  p8 as IconMultiRoomPC,
3714
- m8 as IconMultiShade,
3715
- M8 as IconMultiSun,
3716
- bt as IconMultiTemplate,
3717
- x8 as IconMultiUpArrow,
3718
- Z8 as IconMultiVolDown,
3719
- S8 as IconMultiVolMute,
3720
- j8 as IconMultiVolUp,
3721
- C8 as IconMultiWireless,
3722
- b8 as IconMultiX,
3723
- y8 as IconMultiXbox,
3724
- It as MainLayout,
3725
- _t as MessageHandler,
3726
- L6 as MobileControlProvider,
3750
+ M8 as IconMultiShade,
3751
+ x8 as IconMultiSun,
3752
+ Et as IconMultiTemplate,
3753
+ Z8 as IconMultiUpArrow,
3754
+ S8 as IconMultiVolDown,
3755
+ j8 as IconMultiVolMute,
3756
+ C8 as IconMultiVolUp,
3757
+ b8 as IconMultiWireless,
3758
+ y8 as IconMultiX,
3759
+ I8 as IconMultiXbox,
3760
+ Dt as MainLayout,
3761
+ At as MessageHandler,
3762
+ $6 as MobileControlProvider,
3727
3763
  I as MultiStateIconContainer,
3728
- yt as NamedIconButton,
3729
- Tt as ShareState,
3730
- Rt as TechLayout,
3731
- Et as TechPinLayout,
3732
- D3 as WS_ADD_EVENT_HANDLER,
3733
- R3 as WS_CONNECT,
3734
- E3 as WS_DISCONNECT,
3735
- P3 as WS_RECONNECT,
3736
- _3 as WS_REMOVE_EVENT_HANDLER,
3737
- T3 as WS_SEND_MESSAGE,
3764
+ Tt as NamedIconButton,
3765
+ Lt as ShareState,
3766
+ _t as TechLayout,
3767
+ Pt as TechPinLayout,
3768
+ _3 as WS_ADD_EVENT_HANDLER,
3769
+ E3 as WS_CONNECT,
3770
+ T3 as WS_DISCONNECT,
3771
+ L3 as WS_RECONNECT,
3772
+ P3 as WS_REMOVE_EVENT_HANDLER,
3773
+ D3 as WS_SEND_MESSAGE,
3738
3774
  A3 as WebsocketContext,
3739
- y3 as appConfigActions,
3740
- Pe as createWebSocketMiddleware,
3775
+ I3 as appConfigActions,
3776
+ Le as createWebSocketMiddleware,
3741
3777
  g1 as devicesActions,
3742
- Dt as getBaseLocation,
3743
- h3 as httpClient,
3744
- R8 as iconsDictionary,
3745
- Pt as roomOffSourceKey,
3778
+ $t as getBaseLocation,
3779
+ g3 as httpClient,
3780
+ E8 as iconsDictionary,
3781
+ Bt as roomOffSourceKey,
3746
3782
  f1 as roomsActions,
3747
3783
  H as runtimeConfigActions,
3748
- S3 as selectAllDevices,
3749
- y2 as selectApiPath,
3750
- b2 as selectAppConfig,
3751
- te as selectClientId,
3752
- ae as selectCurrentPopoverIdForGroup,
3753
- E2 as selectDeviceByKey,
3754
- ie as selectDeviceInterfaceSupport,
3755
- de as selectError,
3756
- ge as selectIsSyncStateValuePresent,
3757
- le as selectIsTouchpanel,
3758
- I2 as selectLogoPath,
3759
- k1 as selectModalVisibility,
3760
- R2 as selectPartnerMetadata,
3761
- G2 as selectRoomAdvancedSharingActive,
3762
- B2 as selectRoomAudioControlPointList,
3763
- _2 as selectRoomByKey,
3764
- U2 as selectRoomCodecContentDestinationKey,
3765
- T2 as selectRoomConfiguration,
3766
- k2 as selectRoomDestinationList,
3767
- O2 as selectRoomDestinations,
3768
- J2 as selectRoomDisplayStates,
3769
- W2 as selectRoomEnvironmentalDevices,
3770
- H2 as selectRoomInCall,
3771
- K2 as selectRoomIsCoolingDown,
3772
- q2 as selectRoomIsOn,
3773
- F2 as selectRoomIsWarmingUp,
3774
- ee as selectRoomKey,
3784
+ j3 as selectAllDevices,
3785
+ I2 as selectApiPath,
3786
+ y2 as selectAppConfig,
3787
+ ne as selectClientId,
3788
+ ue as selectCurrentPopoverIdForGroup,
3789
+ T2 as selectDeviceByKey,
3790
+ ae as selectDeviceInterfaceSupport,
3791
+ ve as selectError,
3792
+ fe as selectIsSyncStateValuePresent,
3793
+ ie as selectIsTouchpanel,
3794
+ R2 as selectLogoPath,
3795
+ W1 as selectModalVisibility,
3796
+ E2 as selectPartnerMetadata,
3797
+ Y2 as selectRoomAdvancedSharingActive,
3798
+ O2 as selectRoomAudioControlPointList,
3799
+ P2 as selectRoomByKey,
3800
+ H2 as selectRoomCodecContentDestinationKey,
3801
+ D2 as selectRoomConfiguration,
3802
+ W2 as selectRoomDestinationList,
3803
+ k2 as selectRoomDestinations,
3804
+ X2 as selectRoomDisplayStates,
3805
+ V2 as selectRoomEnvironmentalDevices,
3806
+ F2 as selectRoomInCall,
3807
+ q2 as selectRoomIsCoolingDown,
3808
+ G2 as selectRoomIsOn,
3809
+ K2 as selectRoomIsWarmingUp,
3810
+ te as selectRoomKey,
3775
3811
  A2 as selectRoomLevelControls,
3776
- P2 as selectRoomName,
3777
- V2 as selectRoomProgramAudioDestinationKey,
3778
- Y2 as selectRoomShareState,
3779
- $2 as selectRoomSourceList,
3780
- L2 as selectRoomVolume,
3781
- D2 as selectRooms,
3782
- ce as selectRuntimeInfo,
3783
- se as selectServerIsRunningOnProcessorHardware,
3784
- ue as selectShowPopoverById,
3785
- ve as selectShowReconnect,
3786
- ne as selectSystemUuid,
3787
- he as selectTheme,
3788
- re as selectTouchpanelKey,
3789
- oe as selectUserCode,
3790
- N2 as selectWsIsConnected,
3791
- z2 as selectZoomRoomControllerKey,
3812
+ L2 as selectRoomName,
3813
+ U2 as selectRoomProgramAudioDestinationKey,
3814
+ z2 as selectRoomShareState,
3815
+ B2 as selectRoomSourceList,
3816
+ $2 as selectRoomVolume,
3817
+ _2 as selectRooms,
3818
+ re as selectRuntimeInfo,
3819
+ ce as selectServerIsRunningOnProcessorHardware,
3820
+ de as selectShowPopoverById,
3821
+ he as selectShowReconnect,
3822
+ oe as selectSystemUuid,
3823
+ ge as selectTheme,
3824
+ le as selectTouchpanelKey,
3825
+ se as selectUserCode,
3826
+ ee as selectWsIsConnected,
3827
+ J2 as selectZoomRoomControllerKey,
3792
3828
  Ae as store,
3793
3829
  k as uiActions,
3794
- Me as uiReducer,
3795
- Y8 as useApiPath,
3796
- G8 as useAppConfig,
3797
- O1 as useAppDispatch,
3798
- m as useAppSelector,
3799
- $6 as useAvrControl,
3830
+ xe as uiReducer,
3831
+ z8 as useApiPath,
3832
+ Y8 as useAppConfig,
3833
+ k1 as useAppDispatch,
3834
+ w as useAppSelector,
3835
+ O6 as useAvrControl,
3800
3836
  g as useButtonHeldHeartbeat,
3801
- B6 as useCameraBase,
3802
- m6 as useClientId,
3803
- Fe as useDeviceIBasicVolumeWithFeedback,
3804
- b6 as useDeviceInterfaceSupport,
3805
- k6 as useDevicePresetsModel,
3806
- W6 as useEndpoint,
3807
- fe as useError,
3808
- pt as useGetAllDeviceStateFromRoomConfiguration,
3809
- X8 as useGetAllDevices,
3810
- N8 as useGetAllRooms,
3811
- E6 as useGetCurrentPopoverIdForGroup,
3837
+ G6 as useCameraBase,
3838
+ M6 as useClientId,
3839
+ Mt as useDeviceIBasicVolume,
3840
+ Ke as useDeviceIBasicVolumeWithFeedback,
3841
+ y6 as useDeviceInterfaceSupport,
3842
+ W6 as useDevicePresetsModel,
3843
+ V6 as useEndpoint,
3844
+ we as useError,
3845
+ xt as useGetAllDeviceStateFromRoomConfiguration,
3846
+ Q8 as useGetAllDevices,
3847
+ e6 as useGetAllRooms,
3848
+ T6 as useGetCurrentPopoverIdForGroup,
3812
3849
  D as useGetDevice,
3813
- A6 as useGetIBasicVolumeWithFeedback,
3814
- e6 as useGetRoom,
3815
- f6 as useGetRoomDisplayStates,
3816
- w6 as useGetZoomRoomControllerKey,
3817
- $3 as useIBasicVolumeWithFeedback,
3818
- V6 as useIChannel,
3819
- U6 as useIColor,
3820
- H6 as useICommunicationMonitor,
3821
- K6 as useIDPad,
3822
- F6 as useIDeviceInfoMessenger,
3823
- q6 as useIDspPresets,
3824
- G6 as useIDvr,
3825
- Y6 as useIEssentialsRoomCombiner,
3826
- z6 as useIHasCameras,
3827
- B3 as useIHasPowerControl,
3828
- B1 as useIHasSelectableItems,
3829
- J6 as useIHumiditySensor,
3830
- X6 as useILevelControls,
3831
- Q6 as useILightingScenes,
3832
- N6 as useIMatrixRouting,
3833
- et as useIMcCiscoCodecUserInterfaceAppControl,
3834
- tt as useINumeric,
3835
- nt as useIProjectorScreenLiftControl,
3836
- ot as useIRoomEventSchedule,
3837
- st as useIRunDefaultPresentRoute,
3838
- ct as useIRunDirectRouteAction,
3839
- rt as useIRunRouteAction,
3840
- lt as useISetTopBoxControls,
3841
- it as useIShadesOpenCloseStop,
3842
- at as useIShutdownPromptTimer,
3843
- ut as useISwitchedOutput,
3844
- dt as useITechPassword,
3845
- vt as useITemperatureSensor,
3846
- ht as useITheme,
3847
- gt as useITransport,
3848
- P6 as useInitialize,
3850
+ A6 as useGetIBasicVolume,
3851
+ B6 as useGetIBasicVolumeWithFeedback,
3852
+ t6 as useGetRoom,
3853
+ w6 as useGetRoomDisplayStates,
3854
+ m6 as useGetZoomRoomControllerKey,
3855
+ Z1 as useIBasicVolume,
3856
+ B3 as useIBasicVolumeWithFeedback,
3857
+ U6 as useIChannel,
3858
+ H6 as useIColor,
3859
+ F6 as useICommunicationMonitor,
3860
+ q6 as useIDPad,
3861
+ K6 as useIDeviceInfoMessenger,
3862
+ Y6 as useIDspPresets,
3863
+ z6 as useIDvr,
3864
+ J6 as useIEssentialsRoomCombiner,
3865
+ X6 as useIHasCameras,
3866
+ O3 as useIHasPowerControl,
3867
+ O1 as useIHasSelectableItems,
3868
+ Q6 as useIHumiditySensor,
3869
+ N6 as useILevelControls,
3870
+ et as useILightingScenes,
3871
+ tt as useIMatrixRouting,
3872
+ nt as useIMcCiscoCodecUserInterfaceAppControl,
3873
+ ot as useINumeric,
3874
+ st as useIProjectorScreenLiftControl,
3875
+ ct as useIRoomEventSchedule,
3876
+ rt as useIRunDefaultPresentRoute,
3877
+ lt as useIRunDirectRouteAction,
3878
+ it as useIRunRouteAction,
3879
+ at as useISetTopBoxControls,
3880
+ ut as useIShadesOpenCloseStop,
3881
+ dt as useIShutdownPromptTimer,
3882
+ vt as useISwitchedOutput,
3883
+ ht as useITechPassword,
3884
+ gt as useITemperatureSensor,
3885
+ ft as useITheme,
3886
+ wt as useITransport,
3887
+ L6 as useInitialize,
3849
3888
  pe as useIsSyncStateValuePresent,
3850
- C6 as useIsTouchpanel,
3851
- z8 as useLogoPath,
3852
- ft as useMobileControlTouchpanelController,
3853
- mt as useOverflow,
3854
- J8 as usePartnerMetadata,
3855
- He as usePressHoldRelease,
3856
- h6 as useRoomAdvancedSharingActive,
3857
- o6 as useRoomAudioControlPointList,
3858
- i6 as useRoomCodecContentDestinationKey,
3859
- Q8 as useRoomConfiguration,
3860
- c6 as useRoomDestinationList,
3861
- s6 as useRoomDestinations,
3862
- r6 as useRoomEnvironmentalDevices,
3863
- Mt as useRoomIBasicVolumeWithFeedback,
3864
- a6 as useRoomInCall,
3865
- d6 as useRoomIsCoolingDown,
3866
- v6 as useRoomIsOn,
3867
- u6 as useRoomIsWarmingUp,
3889
+ b6 as useIsTouchpanel,
3890
+ J8 as useLogoPath,
3891
+ mt as useMobileControlTouchpanelController,
3892
+ Zt as useOverflow,
3893
+ X8 as usePartnerMetadata,
3894
+ Fe as usePressHoldRelease,
3895
+ g6 as useRoomAdvancedSharingActive,
3896
+ s6 as useRoomAudioControlPointList,
3897
+ a6 as useRoomCodecContentDestinationKey,
3898
+ N8 as useRoomConfiguration,
3899
+ r6 as useRoomDestinationList,
3900
+ c6 as useRoomDestinations,
3901
+ l6 as useRoomEnvironmentalDevices,
3902
+ St as useRoomIBasicVolume,
3903
+ jt as useRoomIBasicVolumeWithFeedback,
3904
+ u6 as useRoomInCall,
3905
+ v6 as useRoomIsCoolingDown,
3906
+ h6 as useRoomIsOn,
3907
+ d6 as useRoomIsWarmingUp,
3868
3908
  p6 as useRoomKey,
3869
- Q2 as useRoomLevelControls,
3870
- t6 as useRoomName,
3871
- l6 as useRoomProgramAudioDestinationKey,
3872
- g6 as useRoomShareState,
3873
- n6 as useRoomSourceList,
3909
+ N2 as useRoomLevelControls,
3910
+ n6 as useRoomName,
3911
+ i6 as useRoomProgramAudioDestinationKey,
3912
+ f6 as useRoomShareState,
3913
+ o6 as useRoomSourceList,
3874
3914
  x1 as useRoomState,
3875
- X2 as useRoomVolume,
3876
- S6 as useRuntimeInfo,
3877
- xt as useScroll,
3878
- Z6 as useServerIsRunningOnProcessorHardware,
3879
- I6 as useShowIncomingCallModal,
3880
- R6 as useShowModal,
3881
- T6 as useShowPopoverById,
3882
- we as useShowReconnect,
3883
- y6 as useShowShutdownModal,
3884
- Zt as useStateIsSynced,
3885
- St as useSystemControl,
3886
- M6 as useSystemUuid,
3887
- D6 as useTheme,
3888
- jt as useTimeAndDate,
3889
- j6 as useTouchpanelKey,
3890
- wt as useTwoWayDisplayBase,
3891
- x6 as useUserCode,
3892
- E as useWebsocketContext,
3893
- j3 as useWsIsConnected,
3894
- Te as wsAddEventHandler,
3895
- L3 as wsConnect,
3896
- _6 as wsDisconnect,
3897
- _e as wsReconnect,
3898
- De as wsRemoveEventHandler,
3899
- Ee as wsSendMessage
3915
+ Q2 as useRoomVolume,
3916
+ j6 as useRuntimeInfo,
3917
+ Ct as useScroll,
3918
+ S6 as useServerIsRunningOnProcessorHardware,
3919
+ R6 as useShowIncomingCallModal,
3920
+ E6 as useShowModal,
3921
+ D6 as useShowPopoverById,
3922
+ me as useShowReconnect,
3923
+ I6 as useShowShutdownModal,
3924
+ bt as useStateIsSynced,
3925
+ yt as useSystemControl,
3926
+ x6 as useSystemUuid,
3927
+ _6 as useTheme,
3928
+ It as useTimeAndDate,
3929
+ C6 as useTouchpanelKey,
3930
+ pt as useTwoWayDisplayBase,
3931
+ Z6 as useUserCode,
3932
+ R as useWebsocketContext,
3933
+ C3 as useWsIsConnected,
3934
+ De as wsAddEventHandler,
3935
+ $3 as wsConnect,
3936
+ P6 as wsDisconnect,
3937
+ Pe as wsReconnect,
3938
+ _e as wsRemoveEventHandler,
3939
+ Te as wsSendMessage
3900
3940
  };