@pepperdash/mobile-control-react-app-core 1.13.0 → 1.13.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,13 +1,17 @@
1
- var J3 = Object.defineProperty;
2
- var X3 = (t, e, s) => e in t ? J3(t, e, { enumerable: !0, configurable: !0, writable: !0, value: s }) : t[e] = s;
3
- var V = (t, e, s) => (X3(t, typeof e != "symbol" ? e + "" : e, s), s);
4
- import Q3, { AxiosError as N3 } from "axios";
5
- import { createSlice as d1, combineReducers as e2, configureStore as u3, createSelector as t2 } from "@reduxjs/toolkit";
6
- import { useSelector as o2, useDispatch as s2, Provider as n2 } from "react-redux";
7
- import * as d3 from "lodash";
8
- import h3, { createContext as r2, useState as H, useRef as u1, useCallback as c1, useEffect as t1, useContext as c2, useLayoutEffect as v3 } from "react";
9
- import { useNavigate as l2, useRouteError as i2, isRouteErrorResponse as a2 } from "react-router-dom";
10
- const u2 = {
1
+ var q3 = Object.defineProperty;
2
+ var Y3 = (t, e, s) => e in t ? q3(t, e, { enumerable: !0, configurable: !0, writable: !0, value: s }) : t[e] = s;
3
+ var V = (t, e, s) => (Y3(t, typeof e != "symbol" ? e + "" : e, s), s);
4
+ import z3, { AxiosError as J3 } from "axios";
5
+ import { useDispatch as X3, useSelector as Q3, Provider as N3 } from "react-redux";
6
+ import { createSlice as d1, combineReducers as e2, configureStore as t2, createSelector as o2 } from "@reduxjs/toolkit";
7
+ import * as a3 from "lodash";
8
+ import u3, { createContext as s2, useState as H, useRef as u1, useCallback as c1, useEffect as t1, useContext as n2, useLayoutEffect as d3 } from "react";
9
+ import { useNavigate as r2, useRouteError as c2, isRouteErrorResponse as l2 } from "react-router-dom";
10
+ const i2 = X3.withTypes(), p = Q3.withTypes(), a2 = () => p((t) => t.appConfig.config), K8 = () => p((t) => t.appConfig.config.apiPath), u2 = () => p((t) => t.devices);
11
+ function $(t) {
12
+ return p((e) => e.devices[t] ? e.devices[t] : void 0);
13
+ }
14
+ const d2 = {
11
15
  config: {
12
16
  enableDev: !1,
13
17
  apiPath: "",
@@ -17,32 +21,32 @@ const u2 = {
17
21
  loginMode: "",
18
22
  modes: {}
19
23
  }
20
- }, g3 = d1({
24
+ }, h3 = d1({
21
25
  name: "appConfig",
22
- initialState: u2,
26
+ initialState: d2,
23
27
  reducers: {
24
28
  setAppConfig(t, e) {
25
29
  t.config = e.payload;
26
30
  }
27
31
  }
28
- }), d2 = g3.actions, h2 = g3.reducer, r3 = {}, f3 = d1({
32
+ }), h2 = h3.actions, v2 = h3.reducer, n3 = {}, v3 = d1({
29
33
  name: "devices",
30
- initialState: r3,
34
+ initialState: n3,
31
35
  reducers: {
32
36
  setDeviceState(t, e) {
33
37
  const s = e.payload.type, r = s.slice(s.lastIndexOf("/") + 1);
34
38
  if (!r)
35
39
  return;
36
- const c = e.payload.content, u = t[r] ?? {}, i = d3.merge(u, c);
40
+ const c = e.payload.content, u = t[r] ?? {}, i = a3.merge(u, c);
37
41
  return t[r] = i, t;
38
42
  },
39
43
  clearDevices() {
40
- return r3;
44
+ return n3;
41
45
  }
42
46
  }
43
- }), N = f3.actions, v2 = f3.reducer, c3 = {}, w3 = d1({
47
+ }), N = v3.actions, g2 = v3.reducer, r3 = {}, g3 = d1({
44
48
  name: "rooms",
45
- initialState: c3,
49
+ initialState: r3,
46
50
  reducers: {
47
51
  setRoomState(t, e) {
48
52
  const s = e.payload.type, r = s.slice(s.lastIndexOf("/") + 1);
@@ -50,14 +54,14 @@ const u2 = {
50
54
  return;
51
55
  const c = e.payload.content;
52
56
  console.log(c);
53
- const u = t[r] ?? {}, i = d3.merge(u, c);
57
+ const u = t[r] ?? {}, i = a3.merge(u, c);
54
58
  return t[r] = i, console.log(t), t;
55
59
  },
56
60
  clearRooms() {
57
- return c3;
61
+ return r3;
58
62
  }
59
63
  }
60
- }), e1 = w3.actions, g2 = w3.reducer, f2 = {
64
+ }), e1 = g3.actions, f2 = g3.reducer, w2 = {
61
65
  apiVersion: "",
62
66
  serverIsRunningOnProcessorHardware: !1,
63
67
  websocket: {
@@ -85,9 +89,9 @@ const u2 = {
85
89
  userCode: "",
86
90
  qrUrl: ""
87
91
  }
88
- }, p3 = d1({
92
+ }, f3 = d1({
89
93
  name: "runtimeConfig",
90
- initialState: f2,
94
+ initialState: w2,
91
95
  reducers: {
92
96
  setRuntimeConfig(t, e) {
93
97
  t.apiVersion = e.payload.apiVersion, t.serverIsRunningOnProcessorHardware = e.payload.serverIsRunningOnProcessorHardware;
@@ -105,7 +109,7 @@ const u2 = {
105
109
  t.roomData = e.payload;
106
110
  },
107
111
  setCurrentRoomKey(t, e) {
108
- $1.dispatch(e1.clearRooms()), $1.dispatch(N.clearDevices()), t.currentRoomKey = e.payload;
112
+ m.dispatch(e1.clearRooms()), m.dispatch(N.clearDevices()), t.currentRoomKey = e.payload;
109
113
  },
110
114
  setUserCode(t, e) {
111
115
  t.roomData.userCode = e.payload.userCode, t.roomData.qrUrl = e.payload.qrUrl;
@@ -114,7 +118,7 @@ const u2 = {
114
118
  t.touchpanelKey = e.payload;
115
119
  }
116
120
  }
117
- }), W = p3.actions, w2 = p3.reducer, p2 = {
121
+ }), W = f3.actions, p2 = f3.reducer, x2 = {
118
122
  showReconnect: !1,
119
123
  error: "",
120
124
  modalVisibility: {
@@ -122,9 +126,9 @@ const u2 = {
122
126
  showIncomingCallModal: !1
123
127
  },
124
128
  popoverVisibility: {}
125
- }, x3 = d1({
129
+ }, w3 = d1({
126
130
  name: "ui",
127
- initialState: p2,
131
+ initialState: x2,
128
132
  reducers: {
129
133
  clearAllModals(t) {
130
134
  Object.entries(t.modalVisibility).forEach(([e]) => {
@@ -152,106 +156,102 @@ const u2 = {
152
156
  t.showReconnect = e.payload;
153
157
  }
154
158
  }
155
- }), q = x3.actions, x2 = x3.reducer, M3 = e2({
156
- appConfig: h2,
157
- runtimeConfig: w2,
158
- rooms: g2,
159
- devices: v2,
160
- ui: x2
161
- }), M2 = u3({
162
- reducer: M3
163
- }), $1 = M2, p = o2, m2 = () => p((t) => t.appConfig.config), q8 = () => p((t) => t.appConfig.config.apiPath), Z2 = () => p((t) => t.devices);
164
- function $(t) {
165
- return p((e) => e.devices[t] ? e.devices[t] : void 0);
166
- }
167
- const Y8 = (t) => p(
159
+ }), q = w3.actions, M2 = w3.reducer, m2 = e2({
160
+ appConfig: v2,
161
+ runtimeConfig: p2,
162
+ rooms: f2,
163
+ devices: g2,
164
+ ui: M2
165
+ }), m = t2({
166
+ reducer: m2
167
+ }), G8 = (t) => p(
168
168
  (e) => {
169
169
  var s;
170
170
  return e.rooms[t] ? (s = e.rooms[t]) == null ? void 0 : s.configuration : void 0;
171
171
  }
172
- ), A1 = (t) => p(
172
+ ), D1 = (t) => p(
173
173
  (e) => e.rooms[t] ? e.rooms[t] : void 0
174
- ), z8 = (t) => p(
174
+ ), q8 = (t) => p(
175
175
  (e) => {
176
176
  var s;
177
177
  return e.rooms[t] ? (s = e.rooms[t]) == null ? void 0 : s.name : void 0;
178
178
  }
179
- ), j2 = (t, e) => p(
179
+ ), Z2 = (t, e) => p(
180
180
  (s) => {
181
181
  var r;
182
182
  return s.rooms[t] ? (r = s.rooms[t]) == null ? void 0 : r.volumes[e] : void 0;
183
183
  }
184
- ), C2 = (t) => p(
184
+ ), j2 = (t) => p(
185
185
  (e) => e.rooms[t] ? e.rooms[t] : void 0
186
- ), J8 = (t) => p(
186
+ ), Y8 = (t) => p(
187
187
  (e) => {
188
188
  var s, r;
189
189
  return e.rooms[t] ? (r = (s = e.rooms[t]) == null ? void 0 : s.configuration) == null ? void 0 : r.sourceList : void 0;
190
190
  }
191
- ), X8 = (t) => p(
191
+ ), z8 = (t) => p(
192
192
  (e) => {
193
193
  var s, r;
194
194
  return e.rooms[t] ? (r = (s = e.rooms[t]) == null ? void 0 : s.configuration) == null ? void 0 : r.audioControlPointList : void 0;
195
195
  }
196
- ), Q8 = (t) => p(
196
+ ), J8 = (t) => p(
197
197
  (e) => {
198
198
  var s, r;
199
199
  return e.rooms[t] ? (r = (s = e.rooms[t]) == null ? void 0 : s.configuration) == null ? void 0 : r.destinations : void 0;
200
200
  }
201
- ), N8 = (t) => p(
201
+ ), X8 = (t) => p(
202
202
  (e) => {
203
203
  var s, r;
204
204
  return e.rooms[t] ? (r = (s = e.rooms[t]) == null ? void 0 : s.configuration) == null ? void 0 : r.destinationList : void 0;
205
205
  }
206
- ), e6 = (t) => p(
206
+ ), Q8 = (t) => p(
207
207
  (e) => {
208
208
  var s, r;
209
209
  return e.rooms[t] ? (r = (s = e.rooms[t]) == null ? void 0 : s.configuration) == null ? void 0 : r.environmentalDevices : void 0;
210
210
  }
211
- ), t6 = (t) => p(
211
+ ), N8 = (t) => p(
212
212
  (e) => {
213
213
  var s, r, c, u, i, g, f, w;
214
214
  return (r = (s = e.rooms[t]) == null ? void 0 : s.configuration) != null && r.destinationList.programAudio ? (i = (u = (c = e.rooms[t]) == null ? void 0 : c.configuration) == null ? void 0 : u.destinationList.programAudio) == null ? void 0 : i.sinkKey : ((w = (f = (g = e.rooms[t]) == null ? void 0 : g.configuration) == null ? void 0 : f.destinationList.defaultDisplay) == null ? void 0 : w.sinkKey) || "";
215
215
  }
216
- ), o6 = (t) => p(
216
+ ), e6 = (t) => p(
217
217
  (e) => {
218
218
  var s, r, c;
219
219
  return e.rooms[t] ? (c = (r = (s = e.rooms[t]) == null ? void 0 : s.configuration) == null ? void 0 : r.destinationList.codecContent) == null ? void 0 : c.sinkKey : void 0;
220
220
  }
221
- ), s6 = (t) => p(
221
+ ), t6 = (t) => p(
222
222
  (e) => {
223
223
  var s;
224
224
  return e.rooms[t] ? (s = e.rooms[t]) == null ? void 0 : s.isInCall : void 0;
225
225
  }
226
- ), n6 = (t) => p(
226
+ ), o6 = (t) => p(
227
227
  (e) => {
228
228
  var s;
229
229
  return e.rooms[t] ? (s = e.rooms[t]) == null ? void 0 : s.isWarmingUp : void 0;
230
230
  }
231
- ), r6 = (t) => p(
231
+ ), s6 = (t) => p(
232
232
  (e) => {
233
233
  var s;
234
234
  return e.rooms[t] ? (s = e.rooms[t]) == null ? void 0 : s.isCoolingDown : void 0;
235
235
  }
236
- ), c6 = (t) => p(
236
+ ), n6 = (t) => p(
237
237
  (e) => {
238
238
  var s;
239
239
  return e.rooms[t] ? (s = e.rooms[t]) == null ? void 0 : s.isOn : void 0;
240
240
  }
241
- ), l6 = (t) => p(
241
+ ), r6 = (t) => p(
242
242
  (e) => {
243
243
  var s;
244
244
  return e.rooms[t] ? (s = e.rooms[t]) == null ? void 0 : s.advancedSharingActive : void 0;
245
245
  }
246
- ), i6 = (t) => p(
246
+ ), c6 = (t) => p(
247
247
  (e) => {
248
248
  var s;
249
249
  return e.rooms[t] ? (s = e.rooms[t]) == null ? void 0 : s.share : void 0;
250
250
  }
251
- ), a6 = (t) => t2(
251
+ ), l6 = (t) => o2(
252
252
  [
253
253
  (e, s) => s,
254
- Z2,
254
+ u2,
255
255
  (e) => {
256
256
  var s, r;
257
257
  return (r = (s = e.rooms[t]) == null ? void 0 : s.configuration) == null ? void 0 : r.destinations;
@@ -263,35 +263,33 @@ const Y8 = (t) => p(
263
263
  const c = Object.entries(r).filter(([i]) => i !== "programAudio" && i !== "codecContent").map(([, i]) => i);
264
264
  return Object.values(s).filter((i) => Object.values(c).includes(i.key));
265
265
  }
266
- )($1.getState(), t), u6 = (t) => p(
266
+ )(m.getState(), t), i6 = (t) => p(
267
267
  (e) => {
268
268
  var s, r;
269
269
  return e.rooms[t] ? (r = (s = e.rooms[t]) == null ? void 0 : s.configuration) == null ? void 0 : r.zoomRoomControllerKey : void 0;
270
270
  }
271
- ), S2 = () => p((t) => t.runtimeConfig.websocket.isConnected), b2 = () => p((t) => t.runtimeConfig.currentRoomKey), I2 = () => p((t) => t.runtimeConfig.roomData.clientId), y2 = () => p((t) => t.runtimeConfig.roomData.systemUuid), R2 = () => p((t) => t.runtimeConfig.roomData.userCode), E2 = () => p((t) => t.runtimeConfig.serverIsRunningOnProcessorHardware), d6 = () => p((t) => {
271
+ ), C2 = () => p((t) => t.runtimeConfig.websocket.isConnected), S2 = () => p((t) => t.runtimeConfig.currentRoomKey), b2 = () => p((t) => t.runtimeConfig.roomData.clientId), I2 = () => p((t) => t.runtimeConfig.roomData.systemUuid), y2 = () => p((t) => t.runtimeConfig.roomData.userCode), R2 = () => p((t) => t.runtimeConfig.serverIsRunningOnProcessorHardware), a6 = () => p((t) => {
272
272
  var e;
273
273
  return (e = t.runtimeConfig.roomData.config) == null ? void 0 : e.runtimeInfo;
274
- }), h6 = () => p((t) => t.runtimeConfig.touchpanelKey), v6 = () => p((t) => t.runtimeConfig.touchpanelKey !== ""), g6 = () => p((t) => t.ui.modalVisibility.showShutdownModal), f6 = () => p((t) => t.ui.modalVisibility.showIncomingCallModal), w6 = (t) => p((e) => e.ui.modalVisibility[t]), p6 = (t) => p((e) => {
274
+ }), u6 = () => p((t) => t.runtimeConfig.touchpanelKey), d6 = () => p((t) => t.runtimeConfig.touchpanelKey !== ""), h6 = () => p((t) => t.ui.modalVisibility.showShutdownModal), v6 = () => p((t) => t.ui.modalVisibility.showIncomingCallModal), g6 = (t) => p((e) => e.ui.modalVisibility[t]), f6 = (t) => p((e) => {
275
275
  const s = e.ui.popoverVisibility[t];
276
276
  if (s)
277
277
  return Object.keys(s).find((r) => s[r]);
278
- }), x6 = (t, e) => p((s) => {
278
+ }), w6 = (t, e) => p((s) => {
279
279
  var r;
280
280
  return (r = s.ui.popoverVisibility[t]) == null ? void 0 : r[e];
281
- }), _2 = () => p((t) => t.ui.error), L2 = () => p((t) => t.ui.showReconnect), C = u3({
282
- reducer: M3
283
- }), $2 = s2, P1 = Q3.create();
284
- function P2() {
285
- const t = $2();
281
+ }), E2 = () => p((t) => t.ui.error), _2 = () => p((t) => t.ui.showReconnect), $1 = z3.create();
282
+ function L2() {
283
+ const t = i2();
286
284
  return async () => {
287
285
  try {
288
286
  const e = location.pathname.split("/").filter((c) => c.length > 0);
289
287
  e.length >= 5 ? e.length = 5 : e.length = 2;
290
- const s = `/${e.join("/")}`, r = await P1.get("/_local-config/_config.local.json", { baseURL: s });
288
+ const s = `/${e.join("/")}`, r = await $1.get("/_local-config/_config.local.json", { baseURL: s });
291
289
  if (r.status == 200 && r.data) {
292
290
  const c = r.data.apiPath;
293
- t(d2.setAppConfig(r.data));
294
- const u = await P1.get(`${c}/version`);
291
+ t(h2.setAppConfig(r.data));
292
+ const u = await $1.get(`${c}/version`);
295
293
  u.status == 200 && u.data && t(W.setRuntimeConfig(u.data));
296
294
  }
297
295
  } catch (e) {
@@ -300,7 +298,7 @@ function P2() {
300
298
  return !0;
301
299
  };
302
300
  }
303
- var T1 = { exports: {} }, l1 = {};
301
+ var P1 = { exports: {} }, l1 = {};
304
302
  /**
305
303
  * @license React
306
304
  * react-jsx-runtime.development.js
@@ -310,10 +308,10 @@ var T1 = { exports: {} }, l1 = {};
310
308
  * This source code is licensed under the MIT license found in the
311
309
  * LICENSE file in the root directory of this source tree.
312
310
  */
313
- var l3;
314
- function T2() {
315
- return l3 || (l3 = 1, process.env.NODE_ENV !== "production" && function() {
316
- var t = h3, e = Symbol.for("react.element"), s = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), c = Symbol.for("react.strict_mode"), u = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), g = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), w = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), T = Symbol.for("react.lazy"), F = Symbol.for("react.offscreen"), O = Symbol.iterator, z = "@@iterator";
311
+ var c3;
312
+ function $2() {
313
+ return c3 || (c3 = 1, process.env.NODE_ENV !== "production" && function() {
314
+ var t = u3, e = Symbol.for("react.element"), s = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), c = Symbol.for("react.strict_mode"), u = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), g = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), w = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), T = Symbol.for("react.lazy"), F = Symbol.for("react.offscreen"), O = Symbol.iterator, z = "@@iterator";
317
315
  function o1(n) {
318
316
  if (n === null || typeof n != "object")
319
317
  return null;
@@ -330,18 +328,18 @@ function T2() {
330
328
  }
331
329
  function x1(n, l, a) {
332
330
  {
333
- var h = P.ReactDebugCurrentFrame, j = h.getStackAddendum();
334
- j !== "" && (l += "%s", a = a.concat([j]));
331
+ var h = P.ReactDebugCurrentFrame, C = h.getStackAddendum();
332
+ C !== "" && (l += "%s", a = a.concat([C]));
335
333
  var S = a.map(function(M) {
336
334
  return String(M);
337
335
  });
338
336
  S.unshift("Warning: " + l), Function.prototype.apply.call(console[n], console, S);
339
337
  }
340
338
  }
341
- var M1 = !1, y = !1, Z = !1, h1 = !1, m1 = !1, K;
339
+ var M1 = !1, y = !1, j = !1, h1 = !1, m1 = !1, K;
342
340
  K = Symbol.for("react.module.reference");
343
341
  function A(n) {
344
- return !!(typeof n == "string" || typeof n == "function" || n === r || n === u || m1 || n === c || n === w || n === d || h1 || n === F || M1 || y || Z || typeof n == "object" && n !== null && (n.$$typeof === T || n.$$typeof === b || n.$$typeof === i || n.$$typeof === g || n.$$typeof === f || // This needs to include all possible module reference object
342
+ return !!(typeof n == "string" || typeof n == "function" || n === r || n === u || m1 || n === c || n === w || n === d || h1 || n === F || M1 || y || j || typeof n == "object" && n !== null && (n.$$typeof === T || n.$$typeof === b || n.$$typeof === i || n.$$typeof === g || n.$$typeof === f || // This needs to include all possible module reference object
345
343
  // types supported by any Flight configuration anywhere since
346
344
  // we don't know which Flight build this will end up being used
347
345
  // with.
@@ -351,8 +349,8 @@ function T2() {
351
349
  var h = n.displayName;
352
350
  if (h)
353
351
  return h;
354
- var j = l.displayName || l.name || "";
355
- return j !== "" ? a + "(" + j + ")" : a;
352
+ var C = l.displayName || l.name || "";
353
+ return C !== "" ? a + "(" + C + ")" : a;
356
354
  }
357
355
  function J(n) {
358
356
  return n.displayName || "Context";
@@ -392,7 +390,7 @@ function T2() {
392
390
  var h = n.displayName || null;
393
391
  return h !== null ? h : k(n.type) || "Memo";
394
392
  case T: {
395
- var j = n, S = j._payload, M = j._init;
393
+ var C = n, S = C._payload, M = C._init;
396
394
  try {
397
395
  return k(M(S));
398
396
  } catch {
@@ -402,18 +400,18 @@ function T2() {
402
400
  }
403
401
  return null;
404
402
  }
405
- var G = Object.assign, s1 = 0, B1, O1, V1, k1, U1, F1, W1;
406
- function H1() {
403
+ var G = Object.assign, s1 = 0, A1, B1, O1, V1, k1, U1, F1;
404
+ function W1() {
407
405
  }
408
- H1.__reactDisabledLog = !0;
409
- function C3() {
406
+ W1.__reactDisabledLog = !0;
407
+ function m3() {
410
408
  {
411
409
  if (s1 === 0) {
412
- B1 = console.log, O1 = console.info, V1 = console.warn, k1 = console.error, U1 = console.group, F1 = console.groupCollapsed, W1 = console.groupEnd;
410
+ A1 = console.log, B1 = console.info, O1 = console.warn, V1 = console.error, k1 = console.group, U1 = console.groupCollapsed, F1 = console.groupEnd;
413
411
  var n = {
414
412
  configurable: !0,
415
413
  enumerable: !0,
416
- value: H1,
414
+ value: W1,
417
415
  writable: !0
418
416
  };
419
417
  Object.defineProperties(console, {
@@ -429,7 +427,7 @@ function T2() {
429
427
  s1++;
430
428
  }
431
429
  }
432
- function S3() {
430
+ function Z3() {
433
431
  {
434
432
  if (s1--, s1 === 0) {
435
433
  var n = {
@@ -439,25 +437,25 @@ function T2() {
439
437
  };
440
438
  Object.defineProperties(console, {
441
439
  log: G({}, n, {
442
- value: B1
440
+ value: A1
443
441
  }),
444
442
  info: G({}, n, {
445
- value: O1
443
+ value: B1
446
444
  }),
447
445
  warn: G({}, n, {
448
- value: V1
446
+ value: O1
449
447
  }),
450
448
  error: G({}, n, {
451
- value: k1
449
+ value: V1
452
450
  }),
453
451
  group: G({}, n, {
454
- value: U1
452
+ value: k1
455
453
  }),
456
454
  groupCollapsed: G({}, n, {
457
- value: F1
455
+ value: U1
458
456
  }),
459
457
  groupEnd: G({}, n, {
460
- value: W1
458
+ value: F1
461
459
  })
462
460
  });
463
461
  }
@@ -470,8 +468,8 @@ function T2() {
470
468
  if (j1 === void 0)
471
469
  try {
472
470
  throw Error();
473
- } catch (j) {
474
- var h = j.stack.trim().match(/\n( *(at )?)/);
471
+ } catch (C) {
472
+ var h = C.stack.trim().match(/\n( *(at )?)/);
475
473
  j1 = h && h[1] || "";
476
474
  }
477
475
  return `
@@ -480,10 +478,10 @@ function T2() {
480
478
  }
481
479
  var C1 = !1, g1;
482
480
  {
483
- var b3 = typeof WeakMap == "function" ? WeakMap : Map;
484
- g1 = new b3();
481
+ var j3 = typeof WeakMap == "function" ? WeakMap : Map;
482
+ g1 = new j3();
485
483
  }
486
- function K1(n, l) {
484
+ function H1(n, l) {
487
485
  if (!n || C1)
488
486
  return "";
489
487
  {
@@ -493,10 +491,10 @@ function T2() {
493
491
  }
494
492
  var h;
495
493
  C1 = !0;
496
- var j = Error.prepareStackTrace;
494
+ var C = Error.prepareStackTrace;
497
495
  Error.prepareStackTrace = void 0;
498
496
  var S;
499
- S = Z1.current, Z1.current = null, C3();
497
+ S = Z1.current, Z1.current = null, m3();
500
498
  try {
501
499
  if (l) {
502
500
  var M = function() {
@@ -549,15 +547,15 @@ function T2() {
549
547
  }
550
548
  }
551
549
  } finally {
552
- C1 = !1, Z1.current = S, S3(), Error.prepareStackTrace = j;
550
+ C1 = !1, Z1.current = S, Z3(), Error.prepareStackTrace = C;
553
551
  }
554
552
  var Q = n ? n.displayName || n.name : "", Y = Q ? v1(Q) : "";
555
553
  return typeof n == "function" && g1.set(n, Y), Y;
556
554
  }
557
- function I3(n, l, a) {
558
- return K1(n, !1);
555
+ function C3(n, l, a) {
556
+ return H1(n, !1);
559
557
  }
560
- function y3(n) {
558
+ function S3(n) {
561
559
  var l = n.prototype;
562
560
  return !!(l && l.isReactComponent);
563
561
  }
@@ -565,7 +563,7 @@ function T2() {
565
563
  if (n == null)
566
564
  return "";
567
565
  if (typeof n == "function")
568
- return K1(n, y3(n));
566
+ return H1(n, S3(n));
569
567
  if (typeof n == "string")
570
568
  return v1(n);
571
569
  switch (n) {
@@ -577,28 +575,28 @@ function T2() {
577
575
  if (typeof n == "object")
578
576
  switch (n.$$typeof) {
579
577
  case f:
580
- return I3(n.render);
578
+ return C3(n.render);
581
579
  case b:
582
580
  return f1(n.type, l, a);
583
581
  case T: {
584
- var h = n, j = h._payload, S = h._init;
582
+ var h = n, C = h._payload, S = h._init;
585
583
  try {
586
- return f1(S(j), l, a);
584
+ return f1(S(C), l, a);
587
585
  } catch {
588
586
  }
589
587
  }
590
588
  }
591
589
  return "";
592
590
  }
593
- var n1 = Object.prototype.hasOwnProperty, G1 = {}, q1 = P.ReactDebugCurrentFrame;
591
+ var n1 = Object.prototype.hasOwnProperty, K1 = {}, G1 = P.ReactDebugCurrentFrame;
594
592
  function w1(n) {
595
593
  if (n) {
596
594
  var l = n._owner, a = f1(n.type, n._source, l ? l.type : null);
597
- q1.setExtraStackFrame(a);
595
+ G1.setExtraStackFrame(a);
598
596
  } else
599
- q1.setExtraStackFrame(null);
597
+ G1.setExtraStackFrame(null);
600
598
  }
601
- function R3(n, l, a, h, j) {
599
+ function b3(n, l, a, h, C) {
602
600
  {
603
601
  var S = Function.call.bind(n1);
604
602
  for (var M in n)
@@ -613,42 +611,42 @@ function T2() {
613
611
  } catch (E) {
614
612
  x = E;
615
613
  }
616
- x && !(x instanceof Error) && (w1(j), L("%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).", h || "React class", a, M, typeof x), w1(null)), x instanceof Error && !(x.message in G1) && (G1[x.message] = !0, w1(j), L("Failed %s type: %s", a, x.message), w1(null));
614
+ x && !(x instanceof Error) && (w1(C), L("%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).", h || "React class", a, M, typeof x), w1(null)), x instanceof Error && !(x.message in K1) && (K1[x.message] = !0, w1(C), L("Failed %s type: %s", a, x.message), w1(null));
617
615
  }
618
616
  }
619
617
  }
620
- var E3 = Array.isArray;
618
+ var I3 = Array.isArray;
621
619
  function S1(n) {
622
- return E3(n);
620
+ return I3(n);
623
621
  }
624
- function _3(n) {
622
+ function y3(n) {
625
623
  {
626
624
  var l = typeof Symbol == "function" && Symbol.toStringTag, a = l && n[Symbol.toStringTag] || n.constructor.name || "Object";
627
625
  return a;
628
626
  }
629
627
  }
630
- function L3(n) {
628
+ function R3(n) {
631
629
  try {
632
- return Y1(n), !1;
630
+ return q1(n), !1;
633
631
  } catch {
634
632
  return !0;
635
633
  }
636
634
  }
637
- function Y1(n) {
635
+ function q1(n) {
638
636
  return "" + n;
639
637
  }
640
- function z1(n) {
641
- if (L3(n))
642
- return L("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", _3(n)), Y1(n);
638
+ function Y1(n) {
639
+ if (R3(n))
640
+ return L("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", y3(n)), q1(n);
643
641
  }
644
- var r1 = P.ReactCurrentOwner, $3 = {
642
+ var r1 = P.ReactCurrentOwner, E3 = {
645
643
  key: !0,
646
644
  ref: !0,
647
645
  __self: !0,
648
646
  __source: !0
649
- }, J1, X1, b1;
647
+ }, z1, J1, b1;
650
648
  b1 = {};
651
- function P3(n) {
649
+ function _3(n) {
652
650
  if (n1.call(n, "ref")) {
653
651
  var l = Object.getOwnPropertyDescriptor(n, "ref").get;
654
652
  if (l && l.isReactWarning)
@@ -656,7 +654,7 @@ function T2() {
656
654
  }
657
655
  return n.ref !== void 0;
658
656
  }
659
- function T3(n) {
657
+ function L3(n) {
660
658
  if (n1.call(n, "key")) {
661
659
  var l = Object.getOwnPropertyDescriptor(n, "key").get;
662
660
  if (l && l.isReactWarning)
@@ -664,16 +662,16 @@ function T2() {
664
662
  }
665
663
  return n.key !== void 0;
666
664
  }
667
- function D3(n, l) {
665
+ function $3(n, l) {
668
666
  if (typeof n.ref == "string" && r1.current && l && r1.current.stateNode !== l) {
669
667
  var a = k(r1.current.type);
670
668
  b1[a] || (L('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', k(r1.current.type), n.ref), b1[a] = !0);
671
669
  }
672
670
  }
673
- function A3(n, l) {
671
+ function P3(n, l) {
674
672
  {
675
673
  var a = function() {
676
- J1 || (J1 = !0, L("%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));
674
+ z1 || (z1 = !0, L("%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));
677
675
  };
678
676
  a.isReactWarning = !0, Object.defineProperty(n, "key", {
679
677
  get: a,
@@ -681,10 +679,10 @@ function T2() {
681
679
  });
682
680
  }
683
681
  }
684
- function B3(n, l) {
682
+ function T3(n, l) {
685
683
  {
686
684
  var a = function() {
687
- X1 || (X1 = !0, L("%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));
685
+ J1 || (J1 = !0, L("%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));
688
686
  };
689
687
  a.isReactWarning = !0, Object.defineProperty(n, "ref", {
690
688
  get: a,
@@ -692,7 +690,7 @@ function T2() {
692
690
  });
693
691
  }
694
692
  }
695
- var O3 = function(n, l, a, h, j, S, M) {
693
+ var D3 = function(n, l, a, h, C, S, M) {
696
694
  var x = {
697
695
  // This tag allows us to uniquely identify this as a React Element
698
696
  $$typeof: e,
@@ -718,15 +716,15 @@ function T2() {
718
716
  configurable: !1,
719
717
  enumerable: !1,
720
718
  writable: !1,
721
- value: j
719
+ value: C
722
720
  }), Object.freeze && (Object.freeze(x.props), Object.freeze(x)), x;
723
721
  };
724
- function V3(n, l, a, h, j) {
722
+ function A3(n, l, a, h, C) {
725
723
  {
726
724
  var S, M = {}, x = null, D = null;
727
- a !== void 0 && (z1(a), x = "" + a), T3(l) && (z1(l.key), x = "" + l.key), P3(l) && (D = l.ref, D3(l, j));
725
+ a !== void 0 && (Y1(a), x = "" + a), L3(l) && (Y1(l.key), x = "" + l.key), _3(l) && (D = l.ref, $3(l, C));
728
726
  for (S in l)
729
- n1.call(l, S) && !$3.hasOwnProperty(S) && (M[S] = l[S]);
727
+ n1.call(l, S) && !E3.hasOwnProperty(S) && (M[S] = l[S]);
730
728
  if (n && n.defaultProps) {
731
729
  var E = n.defaultProps;
732
730
  for (S in E)
@@ -734,25 +732,25 @@ function T2() {
734
732
  }
735
733
  if (x || D) {
736
734
  var _ = typeof n == "function" ? n.displayName || n.name || "Unknown" : n;
737
- x && A3(M, _), D && B3(M, _);
735
+ x && P3(M, _), D && T3(M, _);
738
736
  }
739
- return O3(n, x, D, j, h, r1.current, M);
737
+ return D3(n, x, D, C, h, r1.current, M);
740
738
  }
741
739
  }
742
- var I1 = P.ReactCurrentOwner, Q1 = P.ReactDebugCurrentFrame;
740
+ var I1 = P.ReactCurrentOwner, X1 = P.ReactDebugCurrentFrame;
743
741
  function X(n) {
744
742
  if (n) {
745
743
  var l = n._owner, a = f1(n.type, n._source, l ? l.type : null);
746
- Q1.setExtraStackFrame(a);
744
+ X1.setExtraStackFrame(a);
747
745
  } else
748
- Q1.setExtraStackFrame(null);
746
+ X1.setExtraStackFrame(null);
749
747
  }
750
748
  var y1;
751
749
  y1 = !1;
752
750
  function R1(n) {
753
751
  return typeof n == "object" && n !== null && n.$$typeof === e;
754
752
  }
755
- function N1() {
753
+ function Q1() {
756
754
  {
757
755
  if (I1.current) {
758
756
  var n = k(I1.current.type);
@@ -764,7 +762,7 @@ Check the render method of \`` + n + "`.";
764
762
  return "";
765
763
  }
766
764
  }
767
- function k3(n) {
765
+ function B3(n) {
768
766
  {
769
767
  if (n !== void 0) {
770
768
  var l = n.fileName.replace(/^.*[\\\/]/, ""), a = n.lineNumber;
@@ -775,10 +773,10 @@ Check your code at ` + l + ":" + a + ".";
775
773
  return "";
776
774
  }
777
775
  }
778
- var e3 = {};
779
- function U3(n) {
776
+ var N1 = {};
777
+ function O3(n) {
780
778
  {
781
- var l = N1();
779
+ var l = Q1();
782
780
  if (!l) {
783
781
  var a = typeof n == "string" ? n : n.displayName || n.name;
784
782
  a && (l = `
@@ -788,39 +786,39 @@ Check the top-level render call using <` + a + ">.");
788
786
  return l;
789
787
  }
790
788
  }
791
- function t3(n, l) {
789
+ function e3(n, l) {
792
790
  {
793
791
  if (!n._store || n._store.validated || n.key != null)
794
792
  return;
795
793
  n._store.validated = !0;
796
- var a = U3(l);
797
- if (e3[a])
794
+ var a = O3(l);
795
+ if (N1[a])
798
796
  return;
799
- e3[a] = !0;
797
+ N1[a] = !0;
800
798
  var h = "";
801
799
  n && n._owner && n._owner !== I1.current && (h = " It was passed a child from " + k(n._owner.type) + "."), X(n), L('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', a, h), X(null);
802
800
  }
803
801
  }
804
- function o3(n, l) {
802
+ function t3(n, l) {
805
803
  {
806
804
  if (typeof n != "object")
807
805
  return;
808
806
  if (S1(n))
809
807
  for (var a = 0; a < n.length; a++) {
810
808
  var h = n[a];
811
- R1(h) && t3(h, l);
809
+ R1(h) && e3(h, l);
812
810
  }
813
811
  else if (R1(n))
814
812
  n._store && (n._store.validated = !0);
815
813
  else if (n) {
816
- var j = o1(n);
817
- if (typeof j == "function" && j !== n.entries)
818
- for (var S = j.call(n), M; !(M = S.next()).done; )
819
- R1(M.value) && t3(M.value, l);
814
+ var C = o1(n);
815
+ if (typeof C == "function" && C !== n.entries)
816
+ for (var S = C.call(n), M; !(M = S.next()).done; )
817
+ R1(M.value) && e3(M.value, l);
820
818
  }
821
819
  }
822
820
  }
823
- function F3(n) {
821
+ function V3(n) {
824
822
  {
825
823
  var l = n.type;
826
824
  if (l == null || typeof l == "string")
@@ -836,16 +834,16 @@ Check the top-level render call using <` + a + ">.");
836
834
  return;
837
835
  if (a) {
838
836
  var h = k(l);
839
- R3(a, n.props, "prop", h, n);
837
+ b3(a, n.props, "prop", h, n);
840
838
  } else if (l.PropTypes !== void 0 && !y1) {
841
839
  y1 = !0;
842
- var j = k(l);
843
- L("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", j || "Unknown");
840
+ var C = k(l);
841
+ L("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", C || "Unknown");
844
842
  }
845
843
  typeof l.getDefaultProps == "function" && !l.getDefaultProps.isReactClassApproved && L("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
846
844
  }
847
845
  }
848
- function W3(n) {
846
+ function k3(n) {
849
847
  {
850
848
  for (var l = Object.keys(n.props), a = 0; a < l.length; a++) {
851
849
  var h = l[a];
@@ -857,19 +855,19 @@ Check the top-level render call using <` + a + ">.");
857
855
  n.ref !== null && (X(n), L("Invalid attribute `ref` supplied to `React.Fragment`."), X(null));
858
856
  }
859
857
  }
860
- var s3 = {};
861
- function n3(n, l, a, h, j, S) {
858
+ var o3 = {};
859
+ function s3(n, l, a, h, C, S) {
862
860
  {
863
861
  var M = A(n);
864
862
  if (!M) {
865
863
  var x = "";
866
864
  (n === void 0 || typeof n == "object" && n !== null && Object.keys(n).length === 0) && (x += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
867
- var D = k3(j);
868
- D ? x += D : x += N1();
865
+ var D = B3(C);
866
+ D ? x += D : x += Q1();
869
867
  var E;
870
868
  n === null ? E = "null" : S1(n) ? E = "array" : n !== void 0 && n.$$typeof === e ? (E = "<" + (k(n.type) || "Unknown") + " />", x = " Did you accidentally export a JSX literal instead of a component?") : E = typeof n, L("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", E, x);
871
869
  }
872
- var _ = V3(n, l, a, j, S);
870
+ var _ = A3(n, l, a, C, S);
873
871
  if (_ == null)
874
872
  return _;
875
873
  if (M) {
@@ -878,38 +876,38 @@ Check the top-level render call using <` + a + ">.");
878
876
  if (h)
879
877
  if (S1(U)) {
880
878
  for (var Q = 0; Q < U.length; Q++)
881
- o3(U[Q], n);
879
+ t3(U[Q], n);
882
880
  Object.freeze && Object.freeze(U);
883
881
  } else
884
882
  L("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
885
883
  else
886
- o3(U, n);
884
+ t3(U, n);
887
885
  }
888
886
  if (n1.call(l, "key")) {
889
- var Y = k(n), B = Object.keys(l).filter(function(z3) {
890
- return z3 !== "key";
887
+ var Y = k(n), B = Object.keys(l).filter(function(G3) {
888
+ return G3 !== "key";
891
889
  }), E1 = B.length > 0 ? "{key: someKey, " + B.join(": ..., ") + ": ...}" : "{key: someKey}";
892
- if (!s3[Y + E1]) {
893
- var Y3 = B.length > 0 ? "{" + B.join(": ..., ") + ": ...}" : "{}";
890
+ if (!o3[Y + E1]) {
891
+ var K3 = B.length > 0 ? "{" + B.join(": ..., ") + ": ...}" : "{}";
894
892
  L(`A props object containing a "key" prop is being spread into JSX:
895
893
  let props = %s;
896
894
  <%s {...props} />
897
895
  React keys must be passed directly to JSX without using spread:
898
896
  let props = %s;
899
- <%s key={someKey} {...props} />`, E1, Y, Y3, Y), s3[Y + E1] = !0;
897
+ <%s key={someKey} {...props} />`, E1, Y, K3, Y), o3[Y + E1] = !0;
900
898
  }
901
899
  }
902
- return n === r ? W3(_) : F3(_), _;
900
+ return n === r ? k3(_) : V3(_), _;
903
901
  }
904
902
  }
905
- function H3(n, l, a) {
906
- return n3(n, l, a, !0);
903
+ function U3(n, l, a) {
904
+ return s3(n, l, a, !0);
907
905
  }
908
- function K3(n, l, a) {
909
- return n3(n, l, a, !1);
906
+ function F3(n, l, a) {
907
+ return s3(n, l, a, !1);
910
908
  }
911
- var G3 = K3, q3 = H3;
912
- l1.Fragment = r, l1.jsx = G3, l1.jsxs = q3;
909
+ var W3 = F3, H3 = U3;
910
+ l1.Fragment = r, l1.jsx = W3, l1.jsxs = H3;
913
911
  }()), l1;
914
912
  }
915
913
  var i1 = {};
@@ -922,12 +920,12 @@ var i1 = {};
922
920
  * This source code is licensed under the MIT license found in the
923
921
  * LICENSE file in the root directory of this source tree.
924
922
  */
925
- var i3;
926
- function D2() {
927
- if (i3)
923
+ var l3;
924
+ function P2() {
925
+ if (l3)
928
926
  return i1;
929
- i3 = 1;
930
- var t = h3, e = Symbol.for("react.element"), s = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, c = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, u = { key: !0, ref: !0, __self: !0, __source: !0 };
927
+ l3 = 1;
928
+ var t = u3, e = Symbol.for("react.element"), s = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, c = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, u = { key: !0, ref: !0, __self: !0, __source: !0 };
931
929
  function i(g, f, w) {
932
930
  var d, b = {}, T = null, F = null;
933
931
  w !== void 0 && (T = "" + w), f.key !== void 0 && (T = "" + f.key), f.ref !== void 0 && (F = f.ref);
@@ -940,19 +938,19 @@ function D2() {
940
938
  }
941
939
  return i1.Fragment = s, i1.jsx = i, i1.jsxs = i, i1;
942
940
  }
943
- process.env.NODE_ENV === "production" ? T1.exports = D2() : T1.exports = T2();
944
- var o = T1.exports;
945
- const A2 = "_mwfit_ppa3l_1", B2 = {
946
- mwfit: A2
947
- }, O2 = () => {
948
- const { reconnect: t } = I(), e = _2(), s = L2();
949
- return /* @__PURE__ */ o.jsx(o.Fragment, { children: /* @__PURE__ */ o.jsxs("div", { className: `disconnected-message ${B2.mwfit} mx-auto text-center`, children: [
941
+ process.env.NODE_ENV === "production" ? P1.exports = P2() : P1.exports = $2();
942
+ var o = P1.exports;
943
+ const T2 = "_mwfit_ppa3l_1", D2 = {
944
+ mwfit: T2
945
+ }, A2 = () => {
946
+ const { reconnect: t } = I(), e = E2(), s = _2();
947
+ return /* @__PURE__ */ o.jsx(o.Fragment, { children: /* @__PURE__ */ o.jsxs("div", { className: `disconnected-message ${D2.mwfit} mx-auto text-center`, children: [
950
948
  /* @__PURE__ */ o.jsx("h1", { children: "Disconnected" }),
951
949
  e && /* @__PURE__ */ o.jsx("h5", { children: e }),
952
950
  s && /* @__PURE__ */ o.jsx("button", { className: "btn btn-secondary btn-lg", onClick: t, children: "Reconnect" })
953
951
  ] }) });
954
952
  };
955
- class V2 {
953
+ class B2 {
956
954
  constructor() {
957
955
  V(this, "uuid", "current-uuid");
958
956
  V(this, "roomKey", "current-room-key");
@@ -960,27 +958,27 @@ class V2 {
960
958
  V(this, "expiry", "current-uuid-expires");
961
959
  }
962
960
  }
963
- const a3 = new V2(), m3 = r2({
961
+ const i3 = new B2(), p3 = s2({
964
962
  sendMessage: () => null,
965
963
  sendSimpleMessage: () => null,
966
964
  addEventHandler: () => null,
967
965
  removeEventHandler: () => null,
968
966
  reconnect: () => null
969
967
  });
970
- function k2(t) {
968
+ function O2(t) {
971
969
  return sessionStorage.getItem(t) || "";
972
970
  }
973
- function U2(t, e) {
971
+ function V2(t, e) {
974
972
  sessionStorage.setItem(t, e);
975
973
  }
976
- const F2 = ({ children: t }) => {
977
- const [e, s] = H(), r = S2(), c = b2(), u = I2(), i = P2(), g = m2(), f = y2(), w = R2(), d = E2(), b = u1(null), [T, F] = H(), O = u1({}), z = c1(
974
+ const k2 = ({ children: t }) => {
975
+ const [e, s] = H(), r = C2(), c = S2(), u = b2(), i = L2(), g = a2(), f = I2(), w = y2(), d = R2(), b = u1(null), [T, F] = H(), O = u1({}), z = c1(
978
976
  async (y) => {
979
977
  try {
980
- const Z = await P1.get(`${y}/ui/joinroom?token=${e}`);
981
- return Z.status === 200 && Z.data ? (C.dispatch(W.setRoomData(Z.data)), !0) : !1;
982
- } catch (Z) {
983
- return console.log(Z), d ? !0 : Z instanceof N3 && Z.response && Z.response.status === 498 ? (console.error("Invalid token. Unable to join room"), C.dispatch(q.setErrorMessage(`Token ${e} is invalid. Unable to join room`)), !1) : (console.error("Error getting room data", Z), Z instanceof Error ? C.dispatch(q.setErrorMessage(Z.message)) : C.dispatch(q.setErrorMessage("Error getting room data")), !1);
978
+ const j = await $1.get(`${y}/ui/joinroom?token=${e}`);
979
+ return j.status === 200 && j.data ? (m.dispatch(W.setRoomData(j.data)), !0) : !1;
980
+ } catch (j) {
981
+ return console.log(j), d ? !0 : j instanceof J3 && j.response && j.response.status === 498 ? (console.error("Invalid token. Unable to join room"), m.dispatch(q.setErrorMessage(`Token ${e} is invalid. Unable to join room`)), !1) : (console.error("Error getting room data", j), j instanceof Error ? m.dispatch(q.setErrorMessage(j.message)) : m.dispatch(q.setErrorMessage("Error getting room data")), !1);
984
982
  }
985
983
  },
986
984
  [e, d]
@@ -988,43 +986,43 @@ const F2 = ({ children: t }) => {
988
986
  const y = `${g.gatewayAppPath}?uuid=${f}&roomKey=${c}`;
989
987
  window.location.href = w ? `${y}&Code=${w}` : y;
990
988
  }, [g.gatewayAppPath, c, f, w]), P = c1(
991
- (y, Z) => {
992
- b.current && r && b.current.send(JSON.stringify({ type: y, clientId: u, content: Z }));
989
+ (y, j) => {
990
+ b.current && r && b.current.send(JSON.stringify({ type: y, clientId: u, content: j }));
993
991
  },
994
992
  [r, u]
995
- ), L = (y, Z) => {
996
- P(y, { value: Z });
993
+ ), L = (y, j) => {
994
+ P(y, { value: j });
997
995
  }, x1 = c1(
998
- (y, Z, h1) => {
999
- O.current[y] || (O.current[y] = {}), O.current[y][Z] = h1, console.log("event handler added", y, Z);
996
+ (y, j, h1) => {
997
+ O.current[y] || (O.current[y] = {}), O.current[y][j] = h1, console.log("event handler added", y, j);
1000
998
  },
1001
999
  []
1002
- ), M1 = c1((y, Z) => {
1003
- O.current[y] && (delete O.current[y][Z], console.log("event handler removed", y, Z));
1000
+ ), M1 = c1((y, j) => {
1001
+ O.current[y] && (delete O.current[y][j], console.log("event handler removed", y, j));
1004
1002
  }, []);
1005
1003
  return t1(() => {
1006
- let Z = new URLSearchParams(window.location.search).get("token");
1007
- Z ? (console.log("saving token: ", Z), U2(a3.uuid, Z)) : (Z = k2(a3.uuid), console.log("loading token: ", Z)), s(Z), i();
1004
+ let j = new URLSearchParams(window.location.search).get("token");
1005
+ j ? (console.log("saving token: ", j), V2(i3.uuid, j)) : (j = O2(i3.uuid), console.log("loading token: ", j)), s(j), i();
1008
1006
  }, []), t1(() => {
1009
1007
  async function y() {
1010
1008
  if (console.log("effect is running"), !(!g.apiPath || T || !e || !await z(g.apiPath)) && !b.current) {
1011
1009
  console.log("connecting to websocket");
1012
1010
  const m1 = `${g.apiPath.replace("http", "ws")}/ui/join/${e}`, K = new WebSocket(m1);
1013
1011
  b.current = K, K.onopen = (A) => {
1014
- console.log("connected", A.type, A.target), C.dispatch(W.setWebsocketIsConnected(!0));
1012
+ console.log("connected", A.type, A.target), m.dispatch(W.setWebsocketIsConnected(!0));
1015
1013
  }, K.onerror = (A) => {
1016
1014
  console.log(A);
1017
1015
  }, K.onclose = (A) => {
1018
1016
  if (console.log("disconnected: ", A.reason, A.code), A.code === 4e3) {
1019
- console.log("user code changed"), C.dispatch(W.setUserCode({ userCode: "", qrUrl: "" })), C.dispatch(q.setErrorMessage("User code changed. Click reconnect to enter the new code")), C.dispatch(q.setShowReconnect(!0)), C.dispatch(W.setWebsocketIsConnected(!1)), C.dispatch(N.clearDevices()), C.dispatch(e1.clearRooms());
1017
+ console.log("user code changed"), m.dispatch(W.setUserCode({ userCode: "", qrUrl: "" })), m.dispatch(q.setErrorMessage("User code changed. Click reconnect to enter the new code")), m.dispatch(q.setShowReconnect(!0)), m.dispatch(W.setWebsocketIsConnected(!1)), m.dispatch(N.clearDevices()), m.dispatch(e1.clearRooms());
1020
1018
  return;
1021
1019
  }
1022
1020
  if (A.code === 4001 && !d) {
1023
- console.log("processor disconnected"), C.dispatch(q.setErrorMessage("Processor has disconnected. Click Reconnect")), C.dispatch(q.setShowReconnect(!0)), C.dispatch(W.setWebsocketIsConnected(!1)), C.dispatch(N.clearDevices()), C.dispatch(e1.clearRooms());
1021
+ console.log("processor disconnected"), m.dispatch(q.setErrorMessage("Processor has disconnected. Click Reconnect")), m.dispatch(q.setShowReconnect(!0)), m.dispatch(W.setWebsocketIsConnected(!1)), m.dispatch(N.clearDevices()), m.dispatch(e1.clearRooms());
1024
1022
  return;
1025
1023
  }
1026
1024
  if (A.code === 4002) {
1027
- console.log("room combination changed"), C.dispatch(q.setErrorMessage("Room combination changed. Click Reconnect to re-join the room")), C.dispatch(q.setShowReconnect(!0)), C.dispatch(W.setWebsocketIsConnected(!1)), C.dispatch(N.clearDevices()), C.dispatch(e1.clearRooms());
1025
+ console.log("room combination changed"), m.dispatch(q.setErrorMessage("Room combination changed. Click Reconnect to re-join the room")), m.dispatch(q.setShowReconnect(!0)), m.dispatch(W.setWebsocketIsConnected(!1)), m.dispatch(N.clearDevices()), m.dispatch(e1.clearRooms());
1028
1026
  return;
1029
1027
  }
1030
1028
  if (b.current)
@@ -1033,7 +1031,7 @@ const F2 = ({ children: t }) => {
1033
1031
  console.log("WebSocket closed by client.");
1034
1032
  return;
1035
1033
  }
1036
- T || (C.dispatch(W.setWebsocketIsConnected(!1)), C.dispatch(N.clearDevices()), C.dispatch(e1.clearRooms()), F(!0), setTimeout(() => F(void 0), 5e3));
1034
+ T || (m.dispatch(W.setWebsocketIsConnected(!1)), m.dispatch(N.clearDevices()), m.dispatch(e1.clearRooms()), F(!0), setTimeout(() => F(void 0), 5e3));
1037
1035
  }, K.onmessage = (A) => {
1038
1036
  try {
1039
1037
  const R = JSON.parse(A.data);
@@ -1044,21 +1042,21 @@ const F2 = ({ children: t }) => {
1044
1042
  if (R.type.startsWith("/system/"))
1045
1043
  switch (R.type) {
1046
1044
  case "/system/touchpanelKey":
1047
- C.dispatch(
1045
+ m.dispatch(
1048
1046
  W.setTouchpanelKey(
1049
1047
  R.content
1050
1048
  )
1051
1049
  );
1052
1050
  break;
1053
1051
  case "/system/roomKey":
1054
- C.dispatch(
1052
+ m.dispatch(
1055
1053
  W.setCurrentRoomKey(
1056
1054
  R.content
1057
1055
  )
1058
1056
  );
1059
1057
  break;
1060
1058
  case "/system/userCodeChanged":
1061
- C.dispatch(
1059
+ m.dispatch(
1062
1060
  W.setUserCode(
1063
1061
  R.content
1064
1062
  )
@@ -1082,7 +1080,7 @@ const F2 = ({ children: t }) => {
1082
1080
  }
1083
1081
  });
1084
1082
  } else
1085
- R.type.startsWith("/room/") ? C.dispatch(e1.setRoomState(R)) : R.type.startsWith("/device/") && C.dispatch(N.setDeviceState(R));
1083
+ R.type.startsWith("/room/") ? m.dispatch(e1.setRoomState(R)) : R.type.startsWith("/device/") && m.dispatch(N.setDeviceState(R));
1086
1084
  } catch (R) {
1087
1085
  console.log(R);
1088
1086
  }
@@ -1095,7 +1093,7 @@ const F2 = ({ children: t }) => {
1095
1093
  }, [g.apiPath, z, e, T, d]), t1(() => {
1096
1094
  !c || !r || (console.log("clientId: ", u), u && (console.log("requesting status from room: ", c), P(`/room/${c}/status`, null)));
1097
1095
  }, [c, u, r, P]), /* @__PURE__ */ o.jsx(
1098
- m3.Provider,
1096
+ p3.Provider,
1099
1097
  {
1100
1098
  value: {
1101
1099
  sendMessage: P,
@@ -1104,14 +1102,14 @@ const F2 = ({ children: t }) => {
1104
1102
  removeEventHandler: M1,
1105
1103
  reconnect: o1
1106
1104
  },
1107
- children: r ? t : /* @__PURE__ */ o.jsx(O2, {})
1105
+ children: r ? t : /* @__PURE__ */ o.jsx(A2, {})
1108
1106
  }
1109
1107
  );
1110
- }, M6 = ({ children: t }) => /* @__PURE__ */ o.jsx(n2, { store: C, children: /* @__PURE__ */ o.jsx(F2, { children: t }) });
1108
+ }, p6 = ({ children: t }) => /* @__PURE__ */ o.jsx(N3, { store: m, children: /* @__PURE__ */ o.jsx(k2, { children: t }) });
1111
1109
  function I() {
1112
- return c2(m3);
1110
+ return n2(p3);
1113
1111
  }
1114
- function W2({
1112
+ function U2({
1115
1113
  onPress: t,
1116
1114
  onRelease: e,
1117
1115
  onHold: s,
@@ -1145,9 +1143,9 @@ function v(t, e) {
1145
1143
  function i() {
1146
1144
  c.current && (clearInterval(c.current), c.current = null), r(`${t}/${e}`, { value: "released" });
1147
1145
  }
1148
- return W2({ onPress: u, onRelease: i });
1146
+ return U2({ onPress: u, onRelease: i });
1149
1147
  }
1150
- function Z3(t, e) {
1148
+ function x3(t, e) {
1151
1149
  const { sendMessage: s, sendSimpleMessage: r } = I(), c = v(`${t}`, "volumeUp"), u = v(`${t}`, "volumeDown");
1152
1150
  return e ? {
1153
1151
  volumeState: e,
@@ -1159,7 +1157,7 @@ function Z3(t, e) {
1159
1157
  muteOff: () => s(`${t}/muteOff`, null)
1160
1158
  } : void 0;
1161
1159
  }
1162
- function m6(t, e) {
1160
+ function x6(t, e) {
1163
1161
  const { sendMessage: s, sendSimpleMessage: r } = I(), c = v(`${t}`, "volumeUp"), u = v(`${t}`, "volumeDown");
1164
1162
  return e ? {
1165
1163
  volumeState: e,
@@ -1171,11 +1169,11 @@ function m6(t, e) {
1171
1169
  muteOff: () => s(`${t}/muteOff`, null)
1172
1170
  } : void 0;
1173
1171
  }
1174
- function H2(t) {
1172
+ function F2(t) {
1175
1173
  const e = $(t), s = `/device/${t}`;
1176
- return Z3(s, e == null ? void 0 : e.volume);
1174
+ return x3(s, e == null ? void 0 : e.volume);
1177
1175
  }
1178
- function j3(t) {
1176
+ function M3(t) {
1179
1177
  const { sendMessage: e } = I();
1180
1178
  return { powerOn: () => {
1181
1179
  e(`/device/${t}/powerOn`, null);
@@ -1185,13 +1183,13 @@ function j3(t) {
1185
1183
  e(`/device/${t}/powerToggle`, null);
1186
1184
  } };
1187
1185
  }
1188
- function D1(t) {
1186
+ function T1(t) {
1189
1187
  const { sendMessage: e } = I(), s = $(t);
1190
1188
  return console.log("deviceState", s), s ? { itemsState: s, selectItem: (c) => {
1191
1189
  e(`/device/${t}/${c}`, null);
1192
1190
  } } : void 0;
1193
1191
  }
1194
- function K2(t) {
1192
+ function W2(t) {
1195
1193
  const { sendMessage: e } = I(), s = $(t), r = () => {
1196
1194
  e(`/device/${t}/setDefaultChannelLevels`, null);
1197
1195
  }, c = () => {
@@ -1203,8 +1201,8 @@ function K2(t) {
1203
1201
  };
1204
1202
  return s ? { levelControls: s.levelControls, setDefaultChannelLevels: r, getFullStatus: c } : void 0;
1205
1203
  }
1206
- function Z6(t) {
1207
- const e = $(t), s = j3(t), r = D1(t), c = D1(t), u = H2(t), i = K2(t);
1204
+ function M6(t) {
1205
+ const e = $(t), s = M3(t), r = T1(t), c = T1(t), u = F2(t), i = W2(t);
1208
1206
  if (e)
1209
1207
  return {
1210
1208
  avrState: e,
@@ -1215,46 +1213,46 @@ function Z6(t) {
1215
1213
  mainVolumeControl: u
1216
1214
  };
1217
1215
  }
1218
- function j6(t) {
1216
+ function m6(t) {
1219
1217
  const e = $(t);
1220
1218
  if (e)
1221
1219
  return { endpointState: e };
1222
1220
  }
1223
- function C6(t) {
1221
+ function Z6(t) {
1224
1222
  const e = `/device/${t}`, s = v(e, "chanUp"), r = v(e, "chanDown"), c = v(e, "lastChan"), u = v(e, "guide"), i = v(e, "info"), g = v(e, "exit");
1225
1223
  return { channelUp: s, channelDown: r, lastChannel: c, guide: u, info: i, exit: g };
1226
1224
  }
1227
- function S6(t) {
1225
+ function j6(t) {
1228
1226
  const e = `/device/${t}`, s = v(e, "red"), r = v(e, "green"), c = v(e, "yellow"), u = v(e, "blue");
1229
1227
  return { red: s, green: r, yellow: c, blue: u };
1230
1228
  }
1231
- function b6(t) {
1229
+ function C6(t) {
1232
1230
  const e = $(t);
1233
1231
  if (e)
1234
1232
  return {
1235
1233
  communicationMonitorState: e
1236
1234
  };
1237
1235
  }
1238
- function I6(t) {
1236
+ function S6(t) {
1239
1237
  const e = `/device/${t}`, s = v(e, "up"), r = v(e, "down"), c = v(e, "left"), u = v(e, "right"), i = v(e, "select"), g = v(e, "menu"), f = v(e, "exit");
1240
1238
  return { up: s, down: r, left: c, right: u, select: i, menu: g, exit: f };
1241
1239
  }
1242
- function y6(t) {
1240
+ function b6(t) {
1243
1241
  const e = $(t);
1244
1242
  if (e)
1245
1243
  return e.deviceInfo || void 0;
1246
1244
  }
1247
- function R6(t) {
1245
+ function I6(t) {
1248
1246
  const { sendMessage: e } = I();
1249
1247
  return { recallPreset: (r) => {
1250
1248
  e(`/device/${t}/recallPreset`, r);
1251
1249
  } };
1252
1250
  }
1253
- function E6(t) {
1251
+ function y6(t) {
1254
1252
  const e = `/device/${t}`, s = v(e, "dvrList"), r = v(e, "record");
1255
1253
  return { dvrList: s, record: r };
1256
1254
  }
1257
- const _6 = ({ className: t }) => {
1255
+ const R6 = ({ className: t }) => {
1258
1256
  const [e, s] = H();
1259
1257
  return t1(() => {
1260
1258
  setInterval(() => {
@@ -1266,7 +1264,7 @@ const _6 = ({ className: t }) => {
1266
1264
  " new change"
1267
1265
  ] });
1268
1266
  };
1269
- function L6(t) {
1267
+ function E6(t) {
1270
1268
  const { sendMessage: e } = I(), s = $(t);
1271
1269
  return s ? { roomCombinerState: s, setAutoMode: () => {
1272
1270
  e(`/device/${t}/setAutoMode`, null);
@@ -1280,8 +1278,8 @@ function L6(t) {
1280
1278
  e(`/device/${t}/setRoomCombinationScenario`, f);
1281
1279
  } } : void 0;
1282
1280
  }
1283
- function $6(t) {
1284
- const { sendMessage: e, sendSimpleMessage: s } = I(), r = $(t), c = C2(t), u = r || c;
1281
+ function _6(t) {
1282
+ const { sendMessage: e, sendSimpleMessage: s } = I(), r = $(t), c = j2(t), u = r || c;
1285
1283
  return u ? {
1286
1284
  levelState: u,
1287
1285
  setLevel: (d, b) => s(`${d}/level`, b),
@@ -1290,29 +1288,29 @@ function $6(t) {
1290
1288
  muteOff: (d) => e(`${d}/muteOff`, null)
1291
1289
  } : void 0;
1292
1290
  }
1293
- function P6(t) {
1291
+ function L6(t) {
1294
1292
  const { sendMessage: e } = I(), s = $(t);
1295
1293
  return s ? { lightingState: s, selectScene: (c) => {
1296
1294
  e(`/device/${t}/selectScene`, c);
1297
1295
  } } : void 0;
1298
1296
  }
1299
- function T6(t) {
1297
+ function $6(t) {
1300
1298
  const { sendMessage: e } = I(), s = $(t);
1301
1299
  return s ? { matrixRoutingState: s, setRoute: (c) => {
1302
1300
  e(`/device/${t}/route`, c);
1303
1301
  } } : void 0;
1304
1302
  }
1305
- function D6(t) {
1303
+ function P6(t) {
1306
1304
  const { sendMessage: e } = I();
1307
1305
  return { closeApp: () => {
1308
1306
  e(`/device/${t}/closeWebViewController`, null);
1309
1307
  } };
1310
1308
  }
1311
- function A6(t) {
1309
+ function T6(t) {
1312
1310
  const e = `/device/${t}`, s = v(e, "num0"), r = v(e, "num1"), c = v(e, "num2"), u = v(e, "num3"), i = v(e, "num4"), g = v(e, "num5"), f = v(e, "num6"), w = v(e, "num7"), d = v(e, "num8"), b = v(e, "num9"), T = v(e, "numDash"), F = v(e, "numEnter");
1313
1311
  return { digit0: s, digit1: r, digit2: c, digit3: u, digit4: i, digit5: g, digit6: f, digit7: w, digit8: d, digit9: b, keypadAccessoryButton1: T, keypadAccessoryButton2: F };
1314
1312
  }
1315
- function B6(t) {
1313
+ function D6(t) {
1316
1314
  const { sendMessage: e } = I(), s = $(t);
1317
1315
  return s ? { projectorScreenLiftControlState: s, raise: () => {
1318
1316
  e(`/device/${t}/raise`, null);
@@ -1320,29 +1318,29 @@ function B6(t) {
1320
1318
  e(`/device/${t}/lower`, null);
1321
1319
  } } : void 0;
1322
1320
  }
1323
- function O6(t) {
1324
- const { sendMessage: e } = I(), s = A1(t);
1321
+ function A6(t) {
1322
+ const { sendMessage: e } = I(), s = D1(t);
1325
1323
  return s ? { roomEventScheduleState: s, save: (c) => {
1326
1324
  e(`/room/${t}/saveScheduledEvents`, c);
1327
1325
  } } : void 0;
1328
1326
  }
1329
- function V6(t) {
1327
+ function B6(t) {
1330
1328
  const { sendMessage: e } = I();
1331
1329
  return { runDirectRoute: (r) => {
1332
1330
  e(`/room/${t}/directRoute`, r);
1333
1331
  } };
1334
1332
  }
1335
- function k6(t) {
1333
+ function O6(t) {
1336
1334
  const { sendMessage: e } = I();
1337
1335
  return { routingState: $(t), runRoute: (c) => {
1338
1336
  e(`/room/${t}/source`, c);
1339
1337
  } };
1340
1338
  }
1341
- function U6(t) {
1339
+ function V6(t) {
1342
1340
  const e = `/device/${t}`, s = v(e, "chanUp"), r = v(e, "chanDown");
1343
1341
  return { dvrList: s, replay: r };
1344
1342
  }
1345
- function F6(t) {
1343
+ function k6(t) {
1346
1344
  const { sendMessage: e } = I(), s = $(t);
1347
1345
  return s ? { shadeState: s, shadeUp: () => {
1348
1346
  e(`/device/${t}/shadeUp`, null);
@@ -1352,8 +1350,8 @@ function F6(t) {
1352
1350
  e(`/device/${t}/stopOrPreset`, null);
1353
1351
  } } : void 0;
1354
1352
  }
1355
- function W6(t) {
1356
- const { sendMessage: e } = I(), s = A1(t);
1353
+ function U6(t) {
1354
+ const { sendMessage: e } = I(), s = D1(t);
1357
1355
  return s ? { shutdownPromptTimerState: s, setShutdownPromptSeconds: (g) => {
1358
1356
  e(`/room/${t}/setShutdownPromptSeconds`, g);
1359
1357
  }, shutdownStart: () => {
@@ -1364,7 +1362,7 @@ function W6(t) {
1364
1362
  e(`/room/${t}/shutdownCancel`, null);
1365
1363
  } } : void 0;
1366
1364
  }
1367
- function H6(t) {
1365
+ function F6(t) {
1368
1366
  const { sendMessage: e } = I(), s = $(t);
1369
1367
  return s ? { switchedOutputState: s, on: () => {
1370
1368
  e(`/device/${t}/on`, null);
@@ -1372,19 +1370,19 @@ function H6(t) {
1372
1370
  e(`/device/${t}/off`, null);
1373
1371
  } } : void 0;
1374
1372
  }
1375
- function K6(t) {
1376
- const { sendMessage: e } = I(), s = A1(t);
1373
+ function W6(t) {
1374
+ const { sendMessage: e } = I(), s = D1(t);
1377
1375
  return s ? { techPasswordState: s, validatePassword: (u) => {
1378
1376
  e(`/room/${t}/validateTechPassword`, { password: u });
1379
1377
  }, setPassword: (u, i) => {
1380
1378
  e(`/room/${t}/setTechPassword`, { oldPassword: u, newPassword: i });
1381
1379
  } } : void 0;
1382
1380
  }
1383
- function G6(t) {
1381
+ function H6(t) {
1384
1382
  const e = `/device/${t}`, s = v(e, "play"), r = v(e, "pause"), c = v(e, "stop"), u = v(e, "prevTrack"), i = v(e, "nextTrack"), g = v(e, "rewind"), f = v(e, "ffwd"), w = v(e, "record");
1385
1383
  return { play: s, pause: r, stop: c, prevTrack: u, nextTrack: i, rewind: g, fastForward: f, record: w };
1386
1384
  }
1387
- function q6(t) {
1385
+ function K6(t) {
1388
1386
  const e = $(t), { sendMessage: s } = I();
1389
1387
  return e ? {
1390
1388
  touchpanelState: e,
@@ -1400,8 +1398,8 @@ function q6(t) {
1400
1398
  } }
1401
1399
  } : void 0;
1402
1400
  }
1403
- function Y6(t) {
1404
- const e = $(t), s = j3(t), r = D1(t);
1401
+ function G6(t) {
1402
+ const e = $(t), s = M3(t), r = T1(t);
1405
1403
  if (!e)
1406
1404
  return;
1407
1405
  const c = (e.powerState || e.isWarming) && !e.isCooling, u = (!e.powerState || e.isCooling) && !e.isWarming;
@@ -1412,13 +1410,13 @@ function Y6(t) {
1412
1410
  powerFb: { powerOnFb: c, powerOffFb: u }
1413
1411
  };
1414
1412
  }
1415
- function z6(t) {
1413
+ function q6(t) {
1416
1414
  const { sendMessage: e } = I();
1417
1415
  return { runDefaultPresentRoute: () => {
1418
1416
  e(`/room/${t}/defaultsource`, {});
1419
1417
  } };
1420
1418
  }
1421
- function J6(t) {
1419
+ function Y6(t) {
1422
1420
  const { sendMessage: e } = I(), s = $(t), r = (c) => {
1423
1421
  e(`/device/${t}/saveTheme`, { value: c });
1424
1422
  };
@@ -1427,7 +1425,7 @@ function J6(t) {
1427
1425
  saveTheme: r
1428
1426
  };
1429
1427
  }
1430
- const X6 = ({ config: t }) => {
1428
+ const z6 = ({ config: t }) => {
1431
1429
  const { sendMessage: e } = I();
1432
1430
  t1(() => {
1433
1431
  var r, c, u;
@@ -1456,11 +1454,11 @@ const X6 = ({ config: t }) => {
1456
1454
  });
1457
1455
  }, [t, e]);
1458
1456
  };
1459
- function Q6(t, e) {
1460
- const s = j2(t, e), r = `/room/${t}/volumes/${e}`;
1461
- return Z3(r, s);
1457
+ function J6(t, e) {
1458
+ const s = Z2(t, e), r = `/room/${t}/volumes/${e}`;
1459
+ return x3(r, s);
1462
1460
  }
1463
- function N6() {
1461
+ function X6() {
1464
1462
  const { sendMessage: t } = I();
1465
1463
  return {
1466
1464
  reboot: () => {
@@ -1471,7 +1469,7 @@ function N6() {
1471
1469
  }
1472
1470
  };
1473
1471
  }
1474
- function ee() {
1472
+ function Q6() {
1475
1473
  const [t, e] = H(), [s, r] = H();
1476
1474
  function c() {
1477
1475
  e((/* @__PURE__ */ new Date()).toLocaleDateString("en-US", { dateStyle: "long" }));
@@ -1486,9 +1484,9 @@ function ee() {
1486
1484
  return () => clearInterval(u);
1487
1485
  }, []), { date: t, time: s };
1488
1486
  }
1489
- function te(t, e) {
1487
+ function N6(t, e) {
1490
1488
  const [s, r] = H(!1), [c, u] = H(!1);
1491
- return v3(() => {
1489
+ return d3(() => {
1492
1490
  const { current: i } = t, g = () => {
1493
1491
  const f = i && i.scrollHeight > i.clientHeight, w = i && i.scrollWidth > i.clientWidth;
1494
1492
  u(f ?? !1), r(w ?? !1), e && e(f ?? !1, w ?? !1);
@@ -1496,7 +1494,7 @@ function te(t, e) {
1496
1494
  i && g();
1497
1495
  }, [t, e]), { overflowHorizontal: s, overflowVertical: c };
1498
1496
  }
1499
- function oe(t) {
1497
+ function ee(t) {
1500
1498
  var g, f;
1501
1499
  const [e, s] = H(((g = t == null ? void 0 : t.current) == null ? void 0 : g.scrollLeft) ?? 0), [r, c] = H(((f = t == null ? void 0 : t.current) == null ? void 0 : f.scrollTop) ?? 0), u = (w) => {
1502
1500
  const { current: d } = t;
@@ -1505,27 +1503,27 @@ function oe(t) {
1505
1503
  const { current: d } = t;
1506
1504
  d && (console.log(d.scrollTop), d.scrollTop += w, console.log(d.scrollTop));
1507
1505
  };
1508
- return v3(() => {
1506
+ return d3(() => {
1509
1507
  const { current: w } = t, d = () => {
1510
1508
  s((w == null ? void 0 : w.scrollLeft) ?? 0), c((w == null ? void 0 : w.scrollTop) ?? 0);
1511
1509
  };
1512
1510
  w && d();
1513
1511
  }, [t]), { horizontalScrollPosition: e, verticalScrollPosition: r, scrollHorizontal: u, scrollVertical: i };
1514
1512
  }
1515
- const se = () => {
1516
- const [t, e] = H(!1), s = l2(), r = i2();
1513
+ const te = () => {
1514
+ const [t, e] = H(!1), s = r2(), r = c2();
1517
1515
  let c;
1518
- return a2(r) ? c = r.statusText : r instanceof Error ? c = r.message : typeof r == "string" ? c = r : (console.error(r), c = "Unknown error"), /* @__PURE__ */ o.jsxs("div", { className: "d-flex flex-column align-items-center gap-5", children: [
1516
+ return l2(r) ? c = r.statusText : r instanceof Error ? c = r.message : typeof r == "string" ? c = r : (console.error(r), c = "Unknown error"), /* @__PURE__ */ o.jsxs("div", { className: "d-flex flex-column align-items-center gap-5", children: [
1519
1517
  /* @__PURE__ */ o.jsx("div", { className: "m-2 p-2 bg-danger rounded d-flex align-items-center", children: /* @__PURE__ */ o.jsx("span", { className: "fs-5 text-white", children: "We are sorry. Something went wrong." }) }),
1520
1518
  /* @__PURE__ */ o.jsx("button", { className: "btn btn-primary p-2", onClick: () => s(-1), children: "Go Back" }),
1521
1519
  /* @__PURE__ */ o.jsx("button", { className: "btn btn-primary p-2", onClick: () => e(!t), children: t ? "Hide error message" : "Show error message" }),
1522
1520
  t && /* @__PURE__ */ o.jsx("p", { children: c })
1523
1521
  ] });
1524
- }, G2 = "_iconbtn_16qss_1", q2 = "_iconbtnvert_16qss_7", Y2 = "_iconsm_16qss_18", _1 = {
1525
- iconbtn: G2,
1526
- iconbtnvert: q2,
1527
- iconsm: Y2
1528
- }, z2 = ({
1522
+ }, H2 = "_iconbtn_16qss_1", K2 = "_iconbtnvert_16qss_7", G2 = "_iconsm_16qss_18", _1 = {
1523
+ iconbtn: H2,
1524
+ iconbtnvert: K2,
1525
+ iconsm: G2
1526
+ }, q2 = ({
1529
1527
  multiIcon: t,
1530
1528
  otherContent: e = null,
1531
1529
  vert: s = !1,
@@ -1570,18 +1568,18 @@ const se = () => {
1570
1568
  ]
1571
1569
  }
1572
1570
  );
1573
- }, m = ({
1571
+ }, Z = ({
1574
1572
  ActiveImage: t,
1575
1573
  DisabledImage: e,
1576
1574
  EnabledImage: s,
1577
1575
  active: r,
1578
1576
  disabled: c
1579
- }) => c ? e : r ? t : s, J2 = ({
1577
+ }) => c ? e : r ? t : s, Y2 = ({
1580
1578
  active: t,
1581
1579
  className: e = "",
1582
1580
  disabled: s
1583
1581
  }) => /* @__PURE__ */ o.jsx(
1584
- m,
1582
+ Z,
1585
1583
  {
1586
1584
  ActiveImage: /* @__PURE__ */ o.jsx(
1587
1585
  "svg",
@@ -1628,12 +1626,12 @@ const se = () => {
1628
1626
  active: t,
1629
1627
  disabled: s
1630
1628
  }
1631
- ), X2 = ({
1629
+ ), z2 = ({
1632
1630
  active: t,
1633
1631
  className: e = "",
1634
1632
  disabled: s
1635
1633
  }) => /* @__PURE__ */ o.jsx(
1636
- m,
1634
+ Z,
1637
1635
  {
1638
1636
  ActiveImage: (
1639
1637
  /* icon-ban-active.svg */
@@ -1677,12 +1675,12 @@ const se = () => {
1677
1675
  active: t,
1678
1676
  disabled: s
1679
1677
  }
1680
- ), Q2 = ({
1678
+ ), J2 = ({
1681
1679
  active: t,
1682
1680
  className: e = "",
1683
1681
  disabled: s
1684
1682
  }) => /* @__PURE__ */ o.jsx(
1685
- m,
1683
+ Z,
1686
1684
  {
1687
1685
  ActiveImage: /* @__PURE__ */ o.jsx(
1688
1686
  "svg",
@@ -1717,12 +1715,12 @@ const se = () => {
1717
1715
  active: t,
1718
1716
  disabled: s
1719
1717
  }
1720
- ), N2 = ({
1718
+ ), X2 = ({
1721
1719
  active: t,
1722
1720
  className: e = "",
1723
1721
  disabled: s
1724
1722
  }) => /* @__PURE__ */ o.jsx(
1725
- m,
1723
+ Z,
1726
1724
  {
1727
1725
  ActiveImage: (
1728
1726
  /* icon-check-active.svg */
@@ -1766,14 +1764,14 @@ const se = () => {
1766
1764
  active: t,
1767
1765
  disabled: s
1768
1766
  }
1769
- ), e8 = ({
1767
+ ), Q2 = ({
1770
1768
  active: t,
1771
1769
  // Just to shut up the linter on this template. Prefer deleting this lint rule
1772
1770
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
1773
1771
  className: e = "",
1774
1772
  disabled: s
1775
1773
  }) => /* @__PURE__ */ o.jsx(
1776
- m,
1774
+ Z,
1777
1775
  {
1778
1776
  ActiveImage: (
1779
1777
  /* icon-controller-active.svg */
@@ -1835,12 +1833,12 @@ const se = () => {
1835
1833
  active: t,
1836
1834
  disabled: s
1837
1835
  }
1838
- ), t8 = ({
1836
+ ), N2 = ({
1839
1837
  active: t,
1840
1838
  className: e = "",
1841
1839
  disabled: s
1842
1840
  }) => /* @__PURE__ */ o.jsx(
1843
- m,
1841
+ Z,
1844
1842
  {
1845
1843
  ActiveImage: (
1846
1844
  /* icon-down-active.svg */
@@ -1884,12 +1882,12 @@ const se = () => {
1884
1882
  active: t,
1885
1883
  disabled: s
1886
1884
  }
1887
- ), o8 = ({
1885
+ ), e8 = ({
1888
1886
  active: t,
1889
1887
  className: e = "",
1890
1888
  disabled: s
1891
1889
  }) => /* @__PURE__ */ o.jsx(
1892
- m,
1890
+ Z,
1893
1891
  {
1894
1892
  ActiveImage: (
1895
1893
  /* icon-elipses-active.svg */
@@ -1933,12 +1931,12 @@ const se = () => {
1933
1931
  active: t,
1934
1932
  disabled: s
1935
1933
  }
1936
- ), s8 = ({
1934
+ ), t8 = ({
1937
1935
  active: t,
1938
1936
  className: e = "",
1939
1937
  disabled: s
1940
1938
  }) => /* @__PURE__ */ o.jsx(
1941
- m,
1939
+ Z,
1942
1940
  {
1943
1941
  ActiveImage: (
1944
1942
  /* icon-flag-active.svg */
@@ -1982,12 +1980,12 @@ const se = () => {
1982
1980
  active: t,
1983
1981
  disabled: s
1984
1982
  }
1985
- ), n8 = ({
1983
+ ), o8 = ({
1986
1984
  active: t,
1987
1985
  className: e = "",
1988
1986
  disabled: s
1989
1987
  }) => /* @__PURE__ */ o.jsx(
1990
- m,
1988
+ Z,
1991
1989
  {
1992
1990
  ActiveImage: (
1993
1991
  /* /Users/hvolmer/Downloads/SVG/icon-gear-active.svg */
@@ -2031,12 +2029,12 @@ const se = () => {
2031
2029
  active: t,
2032
2030
  disabled: s
2033
2031
  }
2034
- ), r8 = ({
2032
+ ), s8 = ({
2035
2033
  active: t,
2036
2034
  className: e = "",
2037
2035
  disabled: s
2038
2036
  }) => /* @__PURE__ */ o.jsx(
2039
- m,
2037
+ Z,
2040
2038
  {
2041
2039
  ActiveImage: (
2042
2040
  /* icon-glass-active.svg */
@@ -2080,14 +2078,14 @@ const se = () => {
2080
2078
  active: t,
2081
2079
  disabled: s
2082
2080
  }
2083
- ), c8 = ({
2081
+ ), n8 = ({
2084
2082
  active: t,
2085
2083
  // Just to shut up the linter on this template. Prefer deleting this lint rule
2086
2084
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
2087
2085
  className: e = "",
2088
2086
  disabled: s
2089
2087
  }) => /* @__PURE__ */ o.jsx(
2090
- m,
2088
+ Z,
2091
2089
  {
2092
2090
  ActiveImage: (
2093
2091
  /* icon-hdmi-active.svg */
@@ -2149,12 +2147,12 @@ const se = () => {
2149
2147
  active: t,
2150
2148
  disabled: s
2151
2149
  }
2152
- ), l8 = ({
2150
+ ), r8 = ({
2153
2151
  active: t,
2154
2152
  className: e = "",
2155
2153
  disabled: s
2156
2154
  }) => /* @__PURE__ */ o.jsx(
2157
- m,
2155
+ Z,
2158
2156
  {
2159
2157
  ActiveImage: (
2160
2158
  /* icon-laptop-active.svg */
@@ -2198,12 +2196,12 @@ const se = () => {
2198
2196
  active: t,
2199
2197
  disabled: s
2200
2198
  }
2201
- ), i8 = ({
2199
+ ), c8 = ({
2202
2200
  active: t,
2203
2201
  className: e = "",
2204
2202
  disabled: s
2205
2203
  }) => /* @__PURE__ */ o.jsx(
2206
- m,
2204
+ Z,
2207
2205
  {
2208
2206
  ActiveImage: (
2209
2207
  /* icon-left-active.svg */
@@ -2247,12 +2245,12 @@ const se = () => {
2247
2245
  active: t,
2248
2246
  disabled: s
2249
2247
  }
2250
- ), a8 = ({
2248
+ ), l8 = ({
2251
2249
  active: t,
2252
2250
  className: e = "",
2253
2251
  disabled: s
2254
2252
  }) => /* @__PURE__ */ o.jsx(
2255
- m,
2253
+ Z,
2256
2254
  {
2257
2255
  ActiveImage: (
2258
2256
  /* icon-light-active.svg */
@@ -2296,12 +2294,12 @@ const se = () => {
2296
2294
  active: t,
2297
2295
  disabled: s
2298
2296
  }
2299
- ), u8 = ({
2297
+ ), i8 = ({
2300
2298
  active: t,
2301
2299
  className: e = "",
2302
2300
  disabled: s
2303
2301
  }) => /* @__PURE__ */ o.jsx(
2304
- m,
2302
+ Z,
2305
2303
  {
2306
2304
  ActiveImage: (
2307
2305
  /* icon-moon-active.svg */
@@ -2345,12 +2343,12 @@ const se = () => {
2345
2343
  active: t,
2346
2344
  disabled: s
2347
2345
  }
2348
- ), d8 = ({
2346
+ ), a8 = ({
2349
2347
  active: t,
2350
2348
  className: e = "",
2351
2349
  disabled: s
2352
2350
  }) => /* @__PURE__ */ o.jsx(
2353
- m,
2351
+ Z,
2354
2352
  {
2355
2353
  ActiveImage: (
2356
2354
  /* icon-playstation-active.svg */
@@ -2367,12 +2365,12 @@ const se = () => {
2367
2365
  active: t,
2368
2366
  disabled: s
2369
2367
  }
2370
- ), h8 = ({
2368
+ ), u8 = ({
2371
2369
  active: t,
2372
2370
  className: e = "",
2373
2371
  disabled: s
2374
2372
  }) => /* @__PURE__ */ o.jsx(
2375
- m,
2373
+ Z,
2376
2374
  {
2377
2375
  ActiveImage: (
2378
2376
  /* icon-podium-active.svg */
@@ -2416,12 +2414,12 @@ const se = () => {
2416
2414
  active: t,
2417
2415
  disabled: s
2418
2416
  }
2419
- ), v8 = ({
2417
+ ), d8 = ({
2420
2418
  active: t,
2421
2419
  className: e = "",
2422
2420
  disabled: s
2423
2421
  }) => /* @__PURE__ */ o.jsx(
2424
- m,
2422
+ Z,
2425
2423
  {
2426
2424
  ActiveImage: (
2427
2425
  /* icon-power-active.svg */
@@ -2465,12 +2463,12 @@ const se = () => {
2465
2463
  active: t,
2466
2464
  disabled: s
2467
2465
  }
2468
- ), g8 = ({
2466
+ ), h8 = ({
2469
2467
  active: t,
2470
2468
  className: e = "",
2471
2469
  disabled: s
2472
2470
  }) => /* @__PURE__ */ o.jsx(
2473
- m,
2471
+ Z,
2474
2472
  {
2475
2473
  ActiveImage: (
2476
2474
  /* icon-privacy-active.svg */
@@ -2514,12 +2512,12 @@ const se = () => {
2514
2512
  active: t,
2515
2513
  disabled: s
2516
2514
  }
2517
- ), f8 = ({
2515
+ ), v8 = ({
2518
2516
  active: t,
2519
2517
  className: e = "",
2520
2518
  disabled: s
2521
2519
  }) => /* @__PURE__ */ o.jsx(
2522
- m,
2520
+ Z,
2523
2521
  {
2524
2522
  ActiveImage: (
2525
2523
  /* icon-question-active.svg */
@@ -2563,12 +2561,12 @@ const se = () => {
2563
2561
  active: t,
2564
2562
  disabled: s
2565
2563
  }
2566
- ), w8 = ({
2564
+ ), g8 = ({
2567
2565
  active: t,
2568
2566
  className: e = "",
2569
2567
  disabled: s
2570
2568
  }) => /* @__PURE__ */ o.jsx(
2571
- m,
2569
+ Z,
2572
2570
  {
2573
2571
  ActiveImage: (
2574
2572
  /* icon-right-active.svg */
@@ -2612,14 +2610,14 @@ const se = () => {
2612
2610
  active: t,
2613
2611
  disabled: s
2614
2612
  }
2615
- ), p8 = ({
2613
+ ), f8 = ({
2616
2614
  active: t,
2617
2615
  // Just to shut up the linter on this template. Prefer deleting this lint rule
2618
2616
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
2619
2617
  className: e = "",
2620
2618
  disabled: s
2621
2619
  }) => /* @__PURE__ */ o.jsx(
2622
- m,
2620
+ Z,
2623
2621
  {
2624
2622
  ActiveImage: (
2625
2623
  /* icon-roomPC-active.svg */
@@ -2681,12 +2679,12 @@ const se = () => {
2681
2679
  active: t,
2682
2680
  disabled: s
2683
2681
  }
2684
- ), x8 = ({
2682
+ ), w8 = ({
2685
2683
  active: t,
2686
2684
  className: e = "",
2687
2685
  disabled: s
2688
2686
  }) => /* @__PURE__ */ o.jsx(
2689
- m,
2687
+ Z,
2690
2688
  {
2691
2689
  ActiveImage: (
2692
2690
  /* icon-shade-active.svg */
@@ -2730,12 +2728,12 @@ const se = () => {
2730
2728
  active: t,
2731
2729
  disabled: s
2732
2730
  }
2733
- ), M8 = ({
2731
+ ), p8 = ({
2734
2732
  active: t,
2735
2733
  className: e = "",
2736
2734
  disabled: s
2737
2735
  }) => /* @__PURE__ */ o.jsx(
2738
- m,
2736
+ Z,
2739
2737
  {
2740
2738
  ActiveImage: (
2741
2739
  /* icon-sun-active.svg */
@@ -2779,12 +2777,12 @@ const se = () => {
2779
2777
  active: t,
2780
2778
  disabled: s
2781
2779
  }
2782
- ), m8 = ({
2780
+ ), x8 = ({
2783
2781
  active: t,
2784
2782
  className: e = "",
2785
2783
  disabled: s
2786
2784
  }) => /* @__PURE__ */ o.jsx(
2787
- m,
2785
+ Z,
2788
2786
  {
2789
2787
  ActiveImage: (
2790
2788
  /* icon-up-active.svg */
@@ -2828,12 +2826,12 @@ const se = () => {
2828
2826
  active: t,
2829
2827
  disabled: s
2830
2828
  }
2831
- ), Z8 = ({
2829
+ ), M8 = ({
2832
2830
  active: t,
2833
2831
  className: e = "",
2834
2832
  disabled: s
2835
2833
  }) => /* @__PURE__ */ o.jsx(
2836
- m,
2834
+ Z,
2837
2835
  {
2838
2836
  ActiveImage: (
2839
2837
  /* icon-volDown-active.svg */
@@ -2877,12 +2875,12 @@ const se = () => {
2877
2875
  active: t,
2878
2876
  disabled: s
2879
2877
  }
2880
- ), j8 = ({
2878
+ ), m8 = ({
2881
2879
  active: t,
2882
2880
  className: e = "",
2883
2881
  disabled: s
2884
2882
  }) => /* @__PURE__ */ o.jsx(
2885
- m,
2883
+ Z,
2886
2884
  {
2887
2885
  ActiveImage: (
2888
2886
  /* icon-volMute-active.svg */
@@ -2926,12 +2924,12 @@ const se = () => {
2926
2924
  active: t,
2927
2925
  disabled: s
2928
2926
  }
2929
- ), C8 = ({
2927
+ ), Z8 = ({
2930
2928
  active: t,
2931
2929
  className: e = "",
2932
2930
  disabled: s
2933
2931
  }) => /* @__PURE__ */ o.jsx(
2934
- m,
2932
+ Z,
2935
2933
  {
2936
2934
  ActiveImage: (
2937
2935
  /* icon-volUp-active.svg */
@@ -2975,12 +2973,12 @@ const se = () => {
2975
2973
  active: t,
2976
2974
  disabled: s
2977
2975
  }
2978
- ), S8 = ({
2976
+ ), j8 = ({
2979
2977
  active: t,
2980
2978
  className: e = "",
2981
2979
  disabled: s
2982
2980
  }) => /* @__PURE__ */ o.jsx(
2983
- m,
2981
+ Z,
2984
2982
  {
2985
2983
  ActiveImage: (
2986
2984
  /* icon-wireless-active.svg */
@@ -3024,12 +3022,12 @@ const se = () => {
3024
3022
  active: t,
3025
3023
  disabled: s
3026
3024
  }
3027
- ), b8 = ({
3025
+ ), C8 = ({
3028
3026
  active: t,
3029
3027
  className: e = "",
3030
3028
  disabled: s
3031
3029
  }) => /* @__PURE__ */ o.jsx(
3032
- m,
3030
+ Z,
3033
3031
  {
3034
3032
  ActiveImage: (
3035
3033
  /* icon-x-active.svg */
@@ -3073,12 +3071,12 @@ const se = () => {
3073
3071
  active: t,
3074
3072
  disabled: s
3075
3073
  }
3076
- ), I8 = ({
3074
+ ), S8 = ({
3077
3075
  active: t,
3078
3076
  className: e = "",
3079
3077
  disabled: s
3080
3078
  }) => /* @__PURE__ */ o.jsx(
3081
- m,
3079
+ Z,
3082
3080
  {
3083
3081
  ActiveImage: (
3084
3082
  /* icon-xbox-active.svg */
@@ -3122,12 +3120,12 @@ const se = () => {
3122
3120
  active: t,
3123
3121
  disabled: s
3124
3122
  }
3125
- ), y8 = ({
3123
+ ), b8 = ({
3126
3124
  active: t,
3127
3125
  className: e = "",
3128
3126
  disabled: s
3129
3127
  }) => /* @__PURE__ */ o.jsx(
3130
- m,
3128
+ Z,
3131
3129
  {
3132
3130
  ActiveImage: (
3133
3131
  /* icon-mic-active.svg */
@@ -3171,96 +3169,96 @@ const se = () => {
3171
3169
  active: t,
3172
3170
  disabled: s
3173
3171
  }
3174
- ), R8 = {
3175
- Alert: J2,
3176
- Camera: Q2,
3177
- DownArrow: t8,
3178
- Ban: X2,
3179
- Check: N2,
3180
- Controller: e8,
3181
- Elipses: o8,
3182
- Flag: s8,
3183
- Gear: n8,
3184
- Glass: r8,
3185
- Hdmi: c8,
3186
- Laptop: l8,
3187
- LeftArrow: i8,
3188
- Light: a8,
3189
- Mic: y8,
3190
- Moon: u8,
3191
- Playstation: d8,
3192
- Podium: h8,
3193
- Power: v8,
3194
- Privacy: g8,
3195
- Question: f8,
3196
- RightArrow: w8,
3197
- RoomPC: p8,
3198
- Shade: x8,
3199
- Sun: M8,
3200
- UpArrow: m8,
3201
- VolDown: Z8,
3202
- VolMute: j8,
3203
- VolUp: C8,
3204
- Wireless: S8,
3205
- X: b8,
3206
- Xbox: I8
3172
+ ), I8 = {
3173
+ Alert: Y2,
3174
+ Camera: J2,
3175
+ DownArrow: N2,
3176
+ Ban: z2,
3177
+ Check: X2,
3178
+ Controller: Q2,
3179
+ Elipses: e8,
3180
+ Flag: t8,
3181
+ Gear: o8,
3182
+ Glass: s8,
3183
+ Hdmi: n8,
3184
+ Laptop: r8,
3185
+ LeftArrow: c8,
3186
+ Light: l8,
3187
+ Mic: b8,
3188
+ Moon: i8,
3189
+ Playstation: a8,
3190
+ Podium: u8,
3191
+ Power: d8,
3192
+ Privacy: h8,
3193
+ Question: v8,
3194
+ RightArrow: g8,
3195
+ RoomPC: f8,
3196
+ Shade: w8,
3197
+ Sun: p8,
3198
+ UpArrow: x8,
3199
+ VolDown: M8,
3200
+ VolMute: m8,
3201
+ VolUp: Z8,
3202
+ Wireless: j8,
3203
+ X: C8,
3204
+ Xbox: S8
3207
3205
  };
3208
- function ne({
3206
+ function oe({
3209
3207
  name: t,
3210
- iconsDictionary: e = R8,
3208
+ iconsDictionary: e = I8,
3211
3209
  ...s
3212
3210
  }) {
3213
3211
  const r = e[t] ?? null;
3214
- return r || console.error(`Icon ${t} not found in dictionary`), /* @__PURE__ */ o.jsx(z2, { multiIcon: r, ...s });
3212
+ return r || console.error(`Icon ${t} not found in dictionary`), /* @__PURE__ */ o.jsx(q2, { multiIcon: r, ...s });
3215
3213
  }
3216
- const E8 = "_grid_1cmpp_1", _8 = "_header_1cmpp_11", L8 = "_content_1cmpp_17", $8 = "_footer_1cmpp_23", P8 = "_volume_1cmpp_29", a1 = {
3217
- grid: E8,
3218
- header: _8,
3219
- content: L8,
3220
- footer: $8,
3221
- volume: P8
3222
- }, re = ({ header: t, footer: e, content: s, volume: r, showVolume: c }) => /* @__PURE__ */ o.jsxs("div", { className: a1.grid, children: [
3214
+ const y8 = "_grid_1cmpp_1", R8 = "_header_1cmpp_11", E8 = "_content_1cmpp_17", _8 = "_footer_1cmpp_23", L8 = "_volume_1cmpp_29", a1 = {
3215
+ grid: y8,
3216
+ header: R8,
3217
+ content: E8,
3218
+ footer: _8,
3219
+ volume: L8
3220
+ }, se = ({ header: t, footer: e, content: s, volume: r, showVolume: c }) => /* @__PURE__ */ o.jsxs("div", { className: a1.grid, children: [
3223
3221
  /* @__PURE__ */ o.jsx("div", { className: a1.header, children: t }),
3224
3222
  /* @__PURE__ */ o.jsx("div", { className: a1.content, children: s }),
3225
3223
  c && /* @__PURE__ */ o.jsx("div", { className: a1.volume, children: r }),
3226
3224
  /* @__PURE__ */ o.jsx("div", { className: a1.footer, children: e })
3227
- ] }), T8 = "_grid_11w5q_1", D8 = "_header_11w5q_11", A8 = "_content_11w5q_17", p1 = {
3228
- grid: T8,
3229
- header: D8,
3230
- content: A8,
3225
+ ] }), $8 = "_grid_11w5q_1", P8 = "_header_11w5q_11", T8 = "_content_11w5q_17", p1 = {
3226
+ grid: $8,
3227
+ header: P8,
3228
+ content: T8,
3231
3229
  "left-nav": "_left-nav_11w5q_23"
3232
- }, ce = ({ className: t, header: e, content: s, leftNav: r }) => /* @__PURE__ */ o.jsxs("div", { className: `${t} ${p1.grid}`, children: [
3230
+ }, ne = ({ className: t, header: e, content: s, leftNav: r }) => /* @__PURE__ */ o.jsxs("div", { className: `${t} ${p1.grid}`, children: [
3233
3231
  /* @__PURE__ */ o.jsx("div", { className: p1.header, children: e }),
3234
3232
  r && /* @__PURE__ */ o.jsx("div", { className: p1.leftNav, children: r }),
3235
3233
  /* @__PURE__ */ o.jsx("div", { className: p1.content, children: s })
3236
- ] }), B8 = "_grid_1uwfo_1", O8 = "_header_1uwfo_11", V8 = "_content_1uwfo_17", L1 = {
3237
- grid: B8,
3238
- header: O8,
3239
- content: V8
3240
- }, le = ({ className: t, header: e, content: s }) => /* @__PURE__ */ o.jsxs("div", { className: `${t} ${L1.grid}`, children: [
3234
+ ] }), D8 = "_grid_1uwfo_1", A8 = "_header_1uwfo_11", B8 = "_content_1uwfo_17", L1 = {
3235
+ grid: D8,
3236
+ header: A8,
3237
+ content: B8
3238
+ }, re = ({ className: t, header: e, content: s }) => /* @__PURE__ */ o.jsxs("div", { className: `${t} ${L1.grid}`, children: [
3241
3239
  /* @__PURE__ */ o.jsx("div", { className: L1.header, children: e }),
3242
3240
  /* @__PURE__ */ o.jsx("div", { className: L1.content, children: s })
3243
3241
  ] });
3244
- function ie() {
3242
+ function ce() {
3245
3243
  return console.log(location.pathname), location.pathname;
3246
3244
  }
3247
- var k8 = /* @__PURE__ */ ((t) => (t[t.NotSet = 0] = "NotSet", t[t.Sunday = 1] = "Sunday", t[t.Monday = 2] = "Monday", t[t.Tuesday = 4] = "Tuesday", t[t.Wednesday = 8] = "Wednesday", t[t.Thursday = 16] = "Thursday", t[t.Friday = 32] = "Friday", t[t.Saturday = 64] = "Saturday", t))(k8 || {});
3248
- class ae {
3245
+ var O8 = /* @__PURE__ */ ((t) => (t[t.NotSet = 0] = "NotSet", t[t.Sunday = 1] = "Sunday", t[t.Monday = 2] = "Monday", t[t.Tuesday = 4] = "Tuesday", t[t.Wednesday = 8] = "Wednesday", t[t.Thursday = 16] = "Thursday", t[t.Friday = 32] = "Friday", t[t.Saturday = 64] = "Saturday", t))(O8 || {});
3246
+ class le {
3249
3247
  constructor(e, s) {
3250
3248
  V(this, "path");
3251
3249
  V(this, "handler");
3252
3250
  this.path = e, this.handler = s;
3253
3251
  }
3254
3252
  }
3255
- const ue = "$off";
3256
- class de {
3253
+ const ie = "$off";
3254
+ class ae {
3257
3255
  constructor() {
3258
3256
  V(this, "name", "");
3259
3257
  V(this, "iconUrl", "");
3260
3258
  V(this, "channel", "");
3261
3259
  }
3262
3260
  }
3263
- class he {
3261
+ class ue {
3264
3262
  constructor() {
3265
3263
  V(this, "currentShareText");
3266
3264
  V(this, "enabled");
@@ -3268,138 +3266,139 @@ class he {
3268
3266
  }
3269
3267
  }
3270
3268
  export {
3271
- _6 as Clock,
3272
- k8 as DaysOfWeek,
3273
- se as ErrorBox,
3274
- z2 as IconButton,
3275
- J2 as IconMultiAlert,
3276
- X2 as IconMultiBan,
3277
- Q2 as IconMultiCamera,
3278
- N2 as IconMultiCheck,
3279
- e8 as IconMultiController,
3280
- t8 as IconMultiDownArrow,
3281
- o8 as IconMultiElipses,
3282
- s8 as IconMultiFlag,
3283
- n8 as IconMultiGear,
3284
- r8 as IconMultiGlass,
3285
- c8 as IconMultiHdmi,
3286
- l8 as IconMultiLaptop,
3287
- i8 as IconMultiLeftArrow,
3288
- a8 as IconMultiLight,
3289
- u8 as IconMultiMoon,
3290
- d8 as IconMultiPlaystation,
3291
- h8 as IconMultiPodium,
3292
- v8 as IconMultiPower,
3293
- g8 as IconMultiPrivacy,
3294
- f8 as IconMultiQuestion,
3295
- w8 as IconMultiRightArrow,
3296
- p8 as IconMultiRoomPC,
3297
- x8 as IconMultiShade,
3298
- M8 as IconMultiSun,
3299
- m8 as IconMultiUpArrow,
3300
- Z8 as IconMultiVolDown,
3301
- j8 as IconMultiVolMute,
3302
- C8 as IconMultiVolUp,
3303
- S8 as IconMultiWireless,
3304
- b8 as IconMultiX,
3305
- I8 as IconMultiXbox,
3306
- re as MainLayout,
3307
- ae as MessageHandler,
3308
- M6 as MobileControlProvider,
3309
- m as MultiStateIconContainer,
3310
- ne as NamedIconButton,
3311
- de as PresetChannel,
3312
- he as ShareState,
3313
- ce as TechLayout,
3314
- le as TechPinLayout,
3315
- ie as getBaseLocation,
3316
- P1 as httpClient,
3317
- ue as roomOffSourceKey,
3318
- C as store,
3269
+ R6 as Clock,
3270
+ O8 as DaysOfWeek,
3271
+ te as ErrorBox,
3272
+ q2 as IconButton,
3273
+ Y2 as IconMultiAlert,
3274
+ z2 as IconMultiBan,
3275
+ J2 as IconMultiCamera,
3276
+ X2 as IconMultiCheck,
3277
+ Q2 as IconMultiController,
3278
+ N2 as IconMultiDownArrow,
3279
+ e8 as IconMultiElipses,
3280
+ t8 as IconMultiFlag,
3281
+ o8 as IconMultiGear,
3282
+ s8 as IconMultiGlass,
3283
+ n8 as IconMultiHdmi,
3284
+ r8 as IconMultiLaptop,
3285
+ c8 as IconMultiLeftArrow,
3286
+ l8 as IconMultiLight,
3287
+ i8 as IconMultiMoon,
3288
+ a8 as IconMultiPlaystation,
3289
+ u8 as IconMultiPodium,
3290
+ d8 as IconMultiPower,
3291
+ h8 as IconMultiPrivacy,
3292
+ v8 as IconMultiQuestion,
3293
+ g8 as IconMultiRightArrow,
3294
+ f8 as IconMultiRoomPC,
3295
+ w8 as IconMultiShade,
3296
+ p8 as IconMultiSun,
3297
+ x8 as IconMultiUpArrow,
3298
+ M8 as IconMultiVolDown,
3299
+ m8 as IconMultiVolMute,
3300
+ Z8 as IconMultiVolUp,
3301
+ j8 as IconMultiWireless,
3302
+ C8 as IconMultiX,
3303
+ S8 as IconMultiXbox,
3304
+ se as MainLayout,
3305
+ le as MessageHandler,
3306
+ p6 as MobileControlProvider,
3307
+ Z as MultiStateIconContainer,
3308
+ oe as NamedIconButton,
3309
+ ae as PresetChannel,
3310
+ ue as ShareState,
3311
+ ne as TechLayout,
3312
+ re as TechPinLayout,
3313
+ ce as getBaseLocation,
3314
+ $1 as httpClient,
3315
+ ie as roomOffSourceKey,
3316
+ m as store,
3319
3317
  q as uiActions,
3320
- x2 as uiReducer,
3321
- q8 as useApiPath,
3322
- m2 as useAppConfig,
3323
- $2 as useAppDispatch,
3324
- Z6 as useAvrControl,
3325
- I2 as useClientId,
3326
- H2 as useDeviceIBasicVolumeWithFeedback,
3327
- j6 as useEndpoint,
3328
- _2 as useError,
3329
- X6 as useGetAllDeviceStateFromRoomConfiguration,
3330
- Z2 as useGetAllDevices,
3331
- p6 as useGetCurrentPopoverIdForGroup,
3318
+ M2 as uiReducer,
3319
+ K8 as useApiPath,
3320
+ a2 as useAppConfig,
3321
+ i2 as useAppDispatch,
3322
+ p as useAppSelector,
3323
+ M6 as useAvrControl,
3324
+ b2 as useClientId,
3325
+ F2 as useDeviceIBasicVolumeWithFeedback,
3326
+ m6 as useEndpoint,
3327
+ E2 as useError,
3328
+ z6 as useGetAllDeviceStateFromRoomConfiguration,
3329
+ u2 as useGetAllDevices,
3330
+ f6 as useGetCurrentPopoverIdForGroup,
3332
3331
  $ as useGetDevice,
3333
- m6 as useGetIBasicVolumeWithFeedback,
3334
- a6 as useGetRoomDisplayStates,
3335
- u6 as useGetZoomRoomControllerKey,
3336
- Z3 as useIBasicVolumeWithFeedback,
3337
- C6 as useIChannelMessenger,
3338
- S6 as useIColor,
3339
- b6 as useICommunicationMonitor,
3340
- I6 as useIDPad,
3341
- y6 as useIDeviceInfoMessenger,
3342
- R6 as useIDspPresets,
3343
- E6 as useIDvr,
3344
- L6 as useIEssentialsRoomCombiner,
3345
- j3 as useIHasPowerControl,
3346
- D1 as useIHasSelectableItems,
3347
- $6 as useILevelControls,
3348
- P6 as useILightingScenes,
3349
- T6 as useIMatrixRouting,
3350
- D6 as useIMcCiscoCodecUserInterfaceAppControl,
3351
- A6 as useINumeric,
3352
- B6 as useIProjectorScreenLiftControl,
3353
- O6 as useIRoomEventSchedule,
3354
- z6 as useIRunDefaultPresentRoute,
3355
- V6 as useIRunDirectRouteAction,
3356
- k6 as useIRunRouteAction,
3357
- U6 as useISetTopBoxControls,
3358
- F6 as useIShadesOpenCloseStop,
3359
- W6 as useIShutdownPromptTimer,
3360
- H6 as useISwitchedOutput,
3361
- K6 as useITechPassword,
3362
- J6 as useITheme,
3363
- G6 as useITransport,
3364
- P2 as useInitialize,
3365
- v6 as useIsTouchpanel,
3366
- q6 as useMobileControlTouchpanelController,
3367
- te as useOverflow,
3368
- W2 as usePressHoldRelease,
3369
- l6 as useRoomAdvancedSharingActive,
3370
- X8 as useRoomAudioControlPointList,
3371
- o6 as useRoomCodecContentDestinationKey,
3372
- Y8 as useRoomConfiguration,
3373
- N8 as useRoomDestinationList,
3374
- Q8 as useRoomDestinations,
3375
- e6 as useRoomEnvironmentalDevices,
3376
- Q6 as useRoomIBasicVolumeWithFeedback,
3377
- s6 as useRoomInCall,
3378
- r6 as useRoomIsCoolingDown,
3379
- c6 as useRoomIsOn,
3380
- n6 as useRoomIsWarmingUp,
3381
- b2 as useRoomKey,
3382
- C2 as useRoomLevelControls,
3383
- z8 as useRoomName,
3384
- t6 as useRoomProgramAudioDestinationKey,
3385
- i6 as useRoomShareState,
3386
- J8 as useRoomSourceList,
3387
- A1 as useRoomState,
3388
- j2 as useRoomVolume,
3389
- d6 as useRuntimeInfo,
3390
- oe as useScroll,
3391
- E2 as useServerIsRunningOnProcessorHardware,
3392
- f6 as useShowIncomingCallModal,
3393
- w6 as useShowModal,
3394
- x6 as useShowPopoverById,
3395
- L2 as useShowReconnect,
3396
- g6 as useShowShutdownModal,
3397
- N6 as useSystemControl,
3398
- y2 as useSystemUuid,
3399
- ee as useTimeAndDate,
3400
- h6 as useTouchpanelKey,
3401
- Y6 as useTwoWayDisplayBase,
3402
- R2 as useUserCode,
3332
+ x6 as useGetIBasicVolumeWithFeedback,
3333
+ l6 as useGetRoomDisplayStates,
3334
+ i6 as useGetZoomRoomControllerKey,
3335
+ x3 as useIBasicVolumeWithFeedback,
3336
+ Z6 as useIChannelMessenger,
3337
+ j6 as useIColor,
3338
+ C6 as useICommunicationMonitor,
3339
+ S6 as useIDPad,
3340
+ b6 as useIDeviceInfoMessenger,
3341
+ I6 as useIDspPresets,
3342
+ y6 as useIDvr,
3343
+ E6 as useIEssentialsRoomCombiner,
3344
+ M3 as useIHasPowerControl,
3345
+ T1 as useIHasSelectableItems,
3346
+ _6 as useILevelControls,
3347
+ L6 as useILightingScenes,
3348
+ $6 as useIMatrixRouting,
3349
+ P6 as useIMcCiscoCodecUserInterfaceAppControl,
3350
+ T6 as useINumeric,
3351
+ D6 as useIProjectorScreenLiftControl,
3352
+ A6 as useIRoomEventSchedule,
3353
+ q6 as useIRunDefaultPresentRoute,
3354
+ B6 as useIRunDirectRouteAction,
3355
+ O6 as useIRunRouteAction,
3356
+ V6 as useISetTopBoxControls,
3357
+ k6 as useIShadesOpenCloseStop,
3358
+ U6 as useIShutdownPromptTimer,
3359
+ F6 as useISwitchedOutput,
3360
+ W6 as useITechPassword,
3361
+ Y6 as useITheme,
3362
+ H6 as useITransport,
3363
+ L2 as useInitialize,
3364
+ d6 as useIsTouchpanel,
3365
+ K6 as useMobileControlTouchpanelController,
3366
+ N6 as useOverflow,
3367
+ U2 as usePressHoldRelease,
3368
+ r6 as useRoomAdvancedSharingActive,
3369
+ z8 as useRoomAudioControlPointList,
3370
+ e6 as useRoomCodecContentDestinationKey,
3371
+ G8 as useRoomConfiguration,
3372
+ X8 as useRoomDestinationList,
3373
+ J8 as useRoomDestinations,
3374
+ Q8 as useRoomEnvironmentalDevices,
3375
+ J6 as useRoomIBasicVolumeWithFeedback,
3376
+ t6 as useRoomInCall,
3377
+ s6 as useRoomIsCoolingDown,
3378
+ n6 as useRoomIsOn,
3379
+ o6 as useRoomIsWarmingUp,
3380
+ S2 as useRoomKey,
3381
+ j2 as useRoomLevelControls,
3382
+ q8 as useRoomName,
3383
+ N8 as useRoomProgramAudioDestinationKey,
3384
+ c6 as useRoomShareState,
3385
+ Y8 as useRoomSourceList,
3386
+ D1 as useRoomState,
3387
+ Z2 as useRoomVolume,
3388
+ a6 as useRuntimeInfo,
3389
+ ee as useScroll,
3390
+ R2 as useServerIsRunningOnProcessorHardware,
3391
+ v6 as useShowIncomingCallModal,
3392
+ g6 as useShowModal,
3393
+ w6 as useShowPopoverById,
3394
+ _2 as useShowReconnect,
3395
+ h6 as useShowShutdownModal,
3396
+ X6 as useSystemControl,
3397
+ I2 as useSystemUuid,
3398
+ Q6 as useTimeAndDate,
3399
+ u6 as useTouchpanelKey,
3400
+ G6 as useTwoWayDisplayBase,
3401
+ y2 as useUserCode,
3403
3402
  I as useWebsocketContext,
3404
- S2 as useWsIsConnected
3403
+ C2 as useWsIsConnected
3405
3404
  };