@pepperdash/mobile-control-react-app-core 1.13.1 → 1.14.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.
@@ -7,9 +7,9 @@ import { createSlice as d1, combineReducers as e2, configureStore as t2, createS
7
7
  import * as a3 from "lodash";
8
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
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);
10
+ const i2 = X3.withTypes(), w = Q3.withTypes(), a2 = () => w((t) => t.appConfig.config), K8 = () => w((t) => t.appConfig.config.apiPath), u2 = () => w((t) => t.devices);
11
+ function T(t) {
12
+ return w((e) => e.devices[t] ? e.devices[t] : void 0);
13
13
  }
14
14
  const d2 = {
15
15
  config: {
@@ -109,7 +109,7 @@ const d2 = {
109
109
  t.roomData = e.payload;
110
110
  },
111
111
  setCurrentRoomKey(t, e) {
112
- m.dispatch(e1.clearRooms()), m.dispatch(N.clearDevices()), t.currentRoomKey = e.payload;
112
+ t.currentRoomKey = e.payload;
113
113
  },
114
114
  setUserCode(t, e) {
115
115
  t.roomData.userCode = e.payload.userCode, t.roomData.qrUrl = e.payload.qrUrl;
@@ -118,7 +118,7 @@ const d2 = {
118
118
  t.touchpanelKey = e.payload;
119
119
  }
120
120
  }
121
- }), W = f3.actions, p2 = f3.reducer, x2 = {
121
+ }), F = f3.actions, p2 = f3.reducer, x2 = {
122
122
  showReconnect: !1,
123
123
  error: "",
124
124
  modalVisibility: {
@@ -154,96 +154,99 @@ const d2 = {
154
154
  },
155
155
  setShowReconnect(t, e) {
156
156
  t.showReconnect = e.payload;
157
+ },
158
+ setTheme(t, e) {
159
+ t.theme = e.payload;
157
160
  }
158
161
  }
159
- }), q = w3.actions, M2 = w3.reducer, m2 = e2({
162
+ }), q = w3.actions, m2 = w3.reducer, M2 = e2({
160
163
  appConfig: v2,
161
164
  runtimeConfig: p2,
162
165
  rooms: f2,
163
166
  devices: g2,
164
- ui: M2
165
- }), m = t2({
166
- reducer: m2
167
- }), G8 = (t) => p(
167
+ ui: m2
168
+ }), M = t2({
169
+ reducer: M2
170
+ }), G8 = (t) => w(
168
171
  (e) => {
169
172
  var s;
170
173
  return e.rooms[t] ? (s = e.rooms[t]) == null ? void 0 : s.configuration : void 0;
171
174
  }
172
- ), D1 = (t) => p(
175
+ ), D1 = (t) => w(
173
176
  (e) => e.rooms[t] ? e.rooms[t] : void 0
174
- ), q8 = (t) => p(
177
+ ), q8 = (t) => w(
175
178
  (e) => {
176
179
  var s;
177
180
  return e.rooms[t] ? (s = e.rooms[t]) == null ? void 0 : s.name : void 0;
178
181
  }
179
- ), Z2 = (t, e) => p(
182
+ ), Z2 = (t, e) => w(
180
183
  (s) => {
181
184
  var r;
182
185
  return s.rooms[t] ? (r = s.rooms[t]) == null ? void 0 : r.volumes[e] : void 0;
183
186
  }
184
- ), j2 = (t) => p(
187
+ ), j2 = (t) => w(
185
188
  (e) => e.rooms[t] ? e.rooms[t] : void 0
186
- ), Y8 = (t) => p(
189
+ ), Y8 = (t) => w(
187
190
  (e) => {
188
191
  var s, r;
189
192
  return e.rooms[t] ? (r = (s = e.rooms[t]) == null ? void 0 : s.configuration) == null ? void 0 : r.sourceList : void 0;
190
193
  }
191
- ), z8 = (t) => p(
194
+ ), z8 = (t) => w(
192
195
  (e) => {
193
196
  var s, r;
194
197
  return e.rooms[t] ? (r = (s = e.rooms[t]) == null ? void 0 : s.configuration) == null ? void 0 : r.audioControlPointList : void 0;
195
198
  }
196
- ), J8 = (t) => p(
199
+ ), J8 = (t) => w(
197
200
  (e) => {
198
201
  var s, r;
199
202
  return e.rooms[t] ? (r = (s = e.rooms[t]) == null ? void 0 : s.configuration) == null ? void 0 : r.destinations : void 0;
200
203
  }
201
- ), X8 = (t) => p(
204
+ ), X8 = (t) => w(
202
205
  (e) => {
203
206
  var s, r;
204
207
  return e.rooms[t] ? (r = (s = e.rooms[t]) == null ? void 0 : s.configuration) == null ? void 0 : r.destinationList : void 0;
205
208
  }
206
- ), Q8 = (t) => p(
209
+ ), Q8 = (t) => w(
207
210
  (e) => {
208
211
  var s, r;
209
212
  return e.rooms[t] ? (r = (s = e.rooms[t]) == null ? void 0 : s.configuration) == null ? void 0 : r.environmentalDevices : void 0;
210
213
  }
211
- ), N8 = (t) => p(
214
+ ), N8 = (t) => w(
212
215
  (e) => {
213
- var s, r, c, u, i, g, f, w;
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) || "";
216
+ var s, r, c, u, i, g, f, p;
217
+ 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 : ((p = (f = (g = e.rooms[t]) == null ? void 0 : g.configuration) == null ? void 0 : f.destinationList.defaultDisplay) == null ? void 0 : p.sinkKey) || "";
215
218
  }
216
- ), e6 = (t) => p(
219
+ ), e6 = (t) => w(
217
220
  (e) => {
218
221
  var s, r, c;
219
222
  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
223
  }
221
- ), t6 = (t) => p(
224
+ ), t6 = (t) => w(
222
225
  (e) => {
223
226
  var s;
224
227
  return e.rooms[t] ? (s = e.rooms[t]) == null ? void 0 : s.isInCall : void 0;
225
228
  }
226
- ), o6 = (t) => p(
229
+ ), o6 = (t) => w(
227
230
  (e) => {
228
231
  var s;
229
232
  return e.rooms[t] ? (s = e.rooms[t]) == null ? void 0 : s.isWarmingUp : void 0;
230
233
  }
231
- ), s6 = (t) => p(
234
+ ), s6 = (t) => w(
232
235
  (e) => {
233
236
  var s;
234
237
  return e.rooms[t] ? (s = e.rooms[t]) == null ? void 0 : s.isCoolingDown : void 0;
235
238
  }
236
- ), n6 = (t) => p(
239
+ ), n6 = (t) => w(
237
240
  (e) => {
238
241
  var s;
239
242
  return e.rooms[t] ? (s = e.rooms[t]) == null ? void 0 : s.isOn : void 0;
240
243
  }
241
- ), r6 = (t) => p(
244
+ ), r6 = (t) => w(
242
245
  (e) => {
243
246
  var s;
244
247
  return e.rooms[t] ? (s = e.rooms[t]) == null ? void 0 : s.advancedSharingActive : void 0;
245
248
  }
246
- ), c6 = (t) => p(
249
+ ), c6 = (t) => w(
247
250
  (e) => {
248
251
  var s;
249
252
  return e.rooms[t] ? (s = e.rooms[t]) == null ? void 0 : s.share : void 0;
@@ -263,34 +266,34 @@ const d2 = {
263
266
  const c = Object.entries(r).filter(([i]) => i !== "programAudio" && i !== "codecContent").map(([, i]) => i);
264
267
  return Object.values(s).filter((i) => Object.values(c).includes(i.key));
265
268
  }
266
- )(m.getState(), t), i6 = (t) => p(
269
+ )(M.getState(), t), i6 = (t) => w(
267
270
  (e) => {
268
271
  var s, r;
269
272
  return e.rooms[t] ? (r = (s = e.rooms[t]) == null ? void 0 : s.configuration) == null ? void 0 : r.zoomRoomControllerKey : void 0;
270
273
  }
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) => {
274
+ ), C2 = () => w((t) => t.runtimeConfig.websocket.isConnected), S2 = () => w((t) => t.runtimeConfig.currentRoomKey), b2 = () => w((t) => t.runtimeConfig.roomData.clientId), I2 = () => w((t) => t.runtimeConfig.roomData.systemUuid), y2 = () => w((t) => t.runtimeConfig.roomData.userCode), R2 = () => w((t) => t.runtimeConfig.serverIsRunningOnProcessorHardware), a6 = () => w((t) => {
272
275
  var e;
273
276
  return (e = t.runtimeConfig.roomData.config) == null ? void 0 : e.runtimeInfo;
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) => {
277
+ }), u6 = () => w((t) => t.runtimeConfig.touchpanelKey), d6 = () => w((t) => t.runtimeConfig.touchpanelKey !== ""), h6 = () => w((t) => t.ui.modalVisibility.showShutdownModal), v6 = () => w((t) => t.ui.modalVisibility.showIncomingCallModal), g6 = (t) => w((e) => e.ui.modalVisibility[t]), f6 = (t) => w((e) => {
275
278
  const s = e.ui.popoverVisibility[t];
276
279
  if (s)
277
280
  return Object.keys(s).find((r) => s[r]);
278
- }), w6 = (t, e) => p((s) => {
281
+ }), w6 = (t, e) => w((s) => {
279
282
  var r;
280
283
  return (r = s.ui.popoverVisibility[t]) == null ? void 0 : r[e];
281
- }), E2 = () => p((t) => t.ui.error), _2 = () => p((t) => t.ui.showReconnect), $1 = z3.create();
284
+ }), E2 = () => w((t) => t.ui.error), _2 = () => w((t) => t.ui.showReconnect), p6 = () => w((t) => t.ui.theme), T1 = z3.create();
282
285
  function L2() {
283
286
  const t = i2();
284
287
  return async () => {
285
288
  try {
286
289
  const e = location.pathname.split("/").filter((c) => c.length > 0);
287
290
  e.length >= 5 ? e.length = 5 : e.length = 2;
288
- const s = `/${e.join("/")}`, r = await $1.get("/_local-config/_config.local.json", { baseURL: s });
291
+ const s = `/${e.join("/")}`, r = await T1.get("/_local-config/_config.local.json", { baseURL: s });
289
292
  if (r.status == 200 && r.data) {
290
293
  const c = r.data.apiPath;
291
294
  t(h2.setAppConfig(r.data));
292
- const u = await $1.get(`${c}/version`);
293
- u.status == 200 && u.data && t(W.setRuntimeConfig(u.data));
295
+ const u = await T1.get(`${c}/version`);
296
+ u.status == 200 && u.data && t(F.setRuntimeConfig(u.data));
294
297
  }
295
298
  } catch (e) {
296
299
  console.error("Error getting config", e);
@@ -298,7 +301,7 @@ function L2() {
298
301
  return !0;
299
302
  };
300
303
  }
301
- var P1 = { exports: {} }, l1 = {};
304
+ var $1 = { exports: {} }, l1 = {};
302
305
  /**
303
306
  * @license React
304
307
  * react-jsx-runtime.development.js
@@ -309,16 +312,16 @@ var P1 = { exports: {} }, l1 = {};
309
312
  * LICENSE file in the root directory of this source tree.
310
313
  */
311
314
  var c3;
312
- function $2() {
315
+ function T2() {
313
316
  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
+ 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"), p = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), P = Symbol.for("react.lazy"), W = Symbol.for("react.offscreen"), O = Symbol.iterator, z = "@@iterator";
315
318
  function o1(n) {
316
319
  if (n === null || typeof n != "object")
317
320
  return null;
318
321
  var l = O && n[O] || n[z];
319
322
  return typeof l == "function" ? l : null;
320
323
  }
321
- var P = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
324
+ var $ = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
322
325
  function L(n) {
323
326
  {
324
327
  for (var l = arguments.length, a = new Array(l > 1 ? l - 1 : 0), h = 1; h < l; h++)
@@ -328,18 +331,18 @@ function $2() {
328
331
  }
329
332
  function x1(n, l, a) {
330
333
  {
331
- var h = P.ReactDebugCurrentFrame, C = h.getStackAddendum();
334
+ var h = $.ReactDebugCurrentFrame, C = h.getStackAddendum();
332
335
  C !== "" && (l += "%s", a = a.concat([C]));
333
- var S = a.map(function(M) {
334
- return String(M);
336
+ var S = a.map(function(m) {
337
+ return String(m);
335
338
  });
336
339
  S.unshift("Warning: " + l), Function.prototype.apply.call(console[n], console, S);
337
340
  }
338
341
  }
339
- var M1 = !1, y = !1, j = !1, h1 = !1, m1 = !1, K;
342
+ var m1 = !1, y = !1, j = !1, h1 = !1, M1 = !1, K;
340
343
  K = Symbol.for("react.module.reference");
341
344
  function A(n) {
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
+ return !!(typeof n == "string" || typeof n == "function" || n === r || n === u || M1 || n === c || n === p || n === d || h1 || n === W || m1 || y || j || typeof n == "object" && n !== null && (n.$$typeof === P || n.$$typeof === b || n.$$typeof === i || n.$$typeof === g || n.$$typeof === f || // This needs to include all possible module reference object
343
346
  // types supported by any Flight configuration anywhere since
344
347
  // we don't know which Flight build this will end up being used
345
348
  // with.
@@ -371,7 +374,7 @@ function $2() {
371
374
  return "Profiler";
372
375
  case c:
373
376
  return "StrictMode";
374
- case w:
377
+ case p:
375
378
  return "Suspense";
376
379
  case d:
377
380
  return "SuspenseList";
@@ -389,10 +392,10 @@ function $2() {
389
392
  case b:
390
393
  var h = n.displayName || null;
391
394
  return h !== null ? h : k(n.type) || "Memo";
392
- case T: {
393
- var C = n, S = C._payload, M = C._init;
395
+ case P: {
396
+ var C = n, S = C._payload, m = C._init;
394
397
  try {
395
- return k(M(S));
398
+ return k(m(S));
396
399
  } catch {
397
400
  return null;
398
401
  }
@@ -400,18 +403,18 @@ function $2() {
400
403
  }
401
404
  return null;
402
405
  }
403
- var G = Object.assign, s1 = 0, A1, B1, O1, V1, k1, U1, F1;
404
- function W1() {
406
+ var G = Object.assign, s1 = 0, A1, B1, O1, V1, k1, U1, W1;
407
+ function F1() {
405
408
  }
406
- W1.__reactDisabledLog = !0;
407
- function m3() {
409
+ F1.__reactDisabledLog = !0;
410
+ function M3() {
408
411
  {
409
412
  if (s1 === 0) {
410
- A1 = console.log, B1 = console.info, O1 = console.warn, V1 = console.error, k1 = console.group, U1 = console.groupCollapsed, F1 = console.groupEnd;
413
+ A1 = console.log, B1 = console.info, O1 = console.warn, V1 = console.error, k1 = console.group, U1 = console.groupCollapsed, W1 = console.groupEnd;
411
414
  var n = {
412
415
  configurable: !0,
413
416
  enumerable: !0,
414
- value: W1,
417
+ value: F1,
415
418
  writable: !0
416
419
  };
417
420
  Object.defineProperties(console, {
@@ -455,14 +458,14 @@ function $2() {
455
458
  value: U1
456
459
  }),
457
460
  groupEnd: G({}, n, {
458
- value: F1
461
+ value: W1
459
462
  })
460
463
  });
461
464
  }
462
465
  s1 < 0 && L("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
463
466
  }
464
467
  }
465
- var Z1 = P.ReactCurrentDispatcher, j1;
468
+ var Z1 = $.ReactCurrentDispatcher, j1;
466
469
  function v1(n, l, a) {
467
470
  {
468
471
  if (j1 === void 0)
@@ -494,30 +497,30 @@ function $2() {
494
497
  var C = Error.prepareStackTrace;
495
498
  Error.prepareStackTrace = void 0;
496
499
  var S;
497
- S = Z1.current, Z1.current = null, m3();
500
+ S = Z1.current, Z1.current = null, M3();
498
501
  try {
499
502
  if (l) {
500
- var M = function() {
503
+ var m = function() {
501
504
  throw Error();
502
505
  };
503
- if (Object.defineProperty(M.prototype, "props", {
506
+ if (Object.defineProperty(m.prototype, "props", {
504
507
  set: function() {
505
508
  throw Error();
506
509
  }
507
510
  }), typeof Reflect == "object" && Reflect.construct) {
508
511
  try {
509
- Reflect.construct(M, []);
512
+ Reflect.construct(m, []);
510
513
  } catch (B) {
511
514
  h = B;
512
515
  }
513
- Reflect.construct(n, [], M);
516
+ Reflect.construct(n, [], m);
514
517
  } else {
515
518
  try {
516
- M.call();
519
+ m.call();
517
520
  } catch (B) {
518
521
  h = B;
519
522
  }
520
- n.call(M.prototype);
523
+ n.call(m.prototype);
521
524
  }
522
525
  } else {
523
526
  try {
@@ -567,7 +570,7 @@ function $2() {
567
570
  if (typeof n == "string")
568
571
  return v1(n);
569
572
  switch (n) {
570
- case w:
573
+ case p:
571
574
  return v1("Suspense");
572
575
  case d:
573
576
  return v1("SuspenseList");
@@ -578,7 +581,7 @@ function $2() {
578
581
  return C3(n.render);
579
582
  case b:
580
583
  return f1(n.type, l, a);
581
- case T: {
584
+ case P: {
582
585
  var h = n, C = h._payload, S = h._init;
583
586
  try {
584
587
  return f1(S(C), l, a);
@@ -588,7 +591,7 @@ function $2() {
588
591
  }
589
592
  return "";
590
593
  }
591
- var n1 = Object.prototype.hasOwnProperty, K1 = {}, G1 = P.ReactDebugCurrentFrame;
594
+ var n1 = Object.prototype.hasOwnProperty, K1 = {}, G1 = $.ReactDebugCurrentFrame;
592
595
  function w1(n) {
593
596
  if (n) {
594
597
  var l = n._owner, a = f1(n.type, n._source, l ? l.type : null);
@@ -599,19 +602,19 @@ function $2() {
599
602
  function b3(n, l, a, h, C) {
600
603
  {
601
604
  var S = Function.call.bind(n1);
602
- for (var M in n)
603
- if (S(n, M)) {
605
+ for (var m in n)
606
+ if (S(n, m)) {
604
607
  var x = void 0;
605
608
  try {
606
- if (typeof n[M] != "function") {
607
- var D = Error((h || "React class") + ": " + a + " type `" + M + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof n[M] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
609
+ if (typeof n[m] != "function") {
610
+ var D = Error((h || "React class") + ": " + a + " type `" + m + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof n[m] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
608
611
  throw D.name = "Invariant Violation", D;
609
612
  }
610
- x = n[M](l, M, h, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
613
+ x = n[m](l, m, h, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
611
614
  } catch (E) {
612
615
  x = E;
613
616
  }
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
+ 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));
615
618
  }
616
619
  }
617
620
  }
@@ -639,7 +642,7 @@ function $2() {
639
642
  if (R3(n))
640
643
  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);
641
644
  }
642
- var r1 = P.ReactCurrentOwner, E3 = {
645
+ var r1 = $.ReactCurrentOwner, E3 = {
643
646
  key: !0,
644
647
  ref: !0,
645
648
  __self: !0,
@@ -662,13 +665,13 @@ function $2() {
662
665
  }
663
666
  return n.key !== void 0;
664
667
  }
665
- function $3(n, l) {
668
+ function T3(n, l) {
666
669
  if (typeof n.ref == "string" && r1.current && l && r1.current.stateNode !== l) {
667
670
  var a = k(r1.current.type);
668
671
  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);
669
672
  }
670
673
  }
671
- function P3(n, l) {
674
+ function $3(n, l) {
672
675
  {
673
676
  var a = function() {
674
677
  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));
@@ -679,7 +682,7 @@ function $2() {
679
682
  });
680
683
  }
681
684
  }
682
- function T3(n, l) {
685
+ function P3(n, l) {
683
686
  {
684
687
  var a = function() {
685
688
  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));
@@ -690,7 +693,7 @@ function $2() {
690
693
  });
691
694
  }
692
695
  }
693
- var D3 = function(n, l, a, h, C, S, M) {
696
+ var D3 = function(n, l, a, h, C, S, m) {
694
697
  var x = {
695
698
  // This tag allows us to uniquely identify this as a React Element
696
699
  $$typeof: e,
@@ -698,7 +701,7 @@ function $2() {
698
701
  type: n,
699
702
  key: l,
700
703
  ref: a,
701
- props: M,
704
+ props: m,
702
705
  // Record the component responsible for creating this element.
703
706
  _owner: S
704
707
  };
@@ -721,23 +724,23 @@ function $2() {
721
724
  };
722
725
  function A3(n, l, a, h, C) {
723
726
  {
724
- var S, M = {}, x = null, D = null;
725
- a !== void 0 && (Y1(a), x = "" + a), L3(l) && (Y1(l.key), x = "" + l.key), _3(l) && (D = l.ref, $3(l, C));
727
+ var S, m = {}, x = null, D = null;
728
+ a !== void 0 && (Y1(a), x = "" + a), L3(l) && (Y1(l.key), x = "" + l.key), _3(l) && (D = l.ref, T3(l, C));
726
729
  for (S in l)
727
- n1.call(l, S) && !E3.hasOwnProperty(S) && (M[S] = l[S]);
730
+ n1.call(l, S) && !E3.hasOwnProperty(S) && (m[S] = l[S]);
728
731
  if (n && n.defaultProps) {
729
732
  var E = n.defaultProps;
730
733
  for (S in E)
731
- M[S] === void 0 && (M[S] = E[S]);
734
+ m[S] === void 0 && (m[S] = E[S]);
732
735
  }
733
736
  if (x || D) {
734
737
  var _ = typeof n == "function" ? n.displayName || n.name || "Unknown" : n;
735
- x && P3(M, _), D && T3(M, _);
738
+ x && $3(m, _), D && P3(m, _);
736
739
  }
737
- return D3(n, x, D, C, h, r1.current, M);
740
+ return D3(n, x, D, C, h, r1.current, m);
738
741
  }
739
742
  }
740
- var I1 = P.ReactCurrentOwner, X1 = P.ReactDebugCurrentFrame;
743
+ var I1 = $.ReactCurrentOwner, X1 = $.ReactDebugCurrentFrame;
741
744
  function X(n) {
742
745
  if (n) {
743
746
  var l = n._owner, a = f1(n.type, n._source, l ? l.type : null);
@@ -813,8 +816,8 @@ Check the top-level render call using <` + a + ">.");
813
816
  else if (n) {
814
817
  var C = o1(n);
815
818
  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);
819
+ for (var S = C.call(n), m; !(m = S.next()).done; )
820
+ R1(m.value) && e3(m.value, l);
818
821
  }
819
822
  }
820
823
  }
@@ -858,8 +861,8 @@ Check the top-level render call using <` + a + ">.");
858
861
  var o3 = {};
859
862
  function s3(n, l, a, h, C, S) {
860
863
  {
861
- var M = A(n);
862
- if (!M) {
864
+ var m = A(n);
865
+ if (!m) {
863
866
  var x = "";
864
867
  (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.");
865
868
  var D = B3(C);
@@ -870,7 +873,7 @@ Check the top-level render call using <` + a + ">.");
870
873
  var _ = A3(n, l, a, C, S);
871
874
  if (_ == null)
872
875
  return _;
873
- if (M) {
876
+ if (m) {
874
877
  var U = l.children;
875
878
  if (U !== void 0)
876
879
  if (h)
@@ -903,11 +906,11 @@ React keys must be passed directly to JSX without using spread:
903
906
  function U3(n, l, a) {
904
907
  return s3(n, l, a, !0);
905
908
  }
906
- function F3(n, l, a) {
909
+ function W3(n, l, a) {
907
910
  return s3(n, l, a, !1);
908
911
  }
909
- var W3 = F3, H3 = U3;
910
- l1.Fragment = r, l1.jsx = W3, l1.jsxs = H3;
912
+ var F3 = W3, H3 = U3;
913
+ l1.Fragment = r, l1.jsx = F3, l1.jsxs = H3;
911
914
  }()), l1;
912
915
  }
913
916
  var i1 = {};
@@ -921,27 +924,27 @@ var i1 = {};
921
924
  * LICENSE file in the root directory of this source tree.
922
925
  */
923
926
  var l3;
924
- function P2() {
927
+ function $2() {
925
928
  if (l3)
926
929
  return i1;
927
930
  l3 = 1;
928
931
  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 };
929
- function i(g, f, w) {
930
- var d, b = {}, T = null, F = null;
931
- w !== void 0 && (T = "" + w), f.key !== void 0 && (T = "" + f.key), f.ref !== void 0 && (F = f.ref);
932
+ function i(g, f, p) {
933
+ var d, b = {}, P = null, W = null;
934
+ p !== void 0 && (P = "" + p), f.key !== void 0 && (P = "" + f.key), f.ref !== void 0 && (W = f.ref);
932
935
  for (d in f)
933
936
  r.call(f, d) && !u.hasOwnProperty(d) && (b[d] = f[d]);
934
937
  if (g && g.defaultProps)
935
938
  for (d in f = g.defaultProps, f)
936
939
  b[d] === void 0 && (b[d] = f[d]);
937
- return { $$typeof: e, type: g, key: T, ref: F, props: b, _owner: c.current };
940
+ return { $$typeof: e, type: g, key: P, ref: W, props: b, _owner: c.current };
938
941
  }
939
942
  return i1.Fragment = s, i1.jsx = i, i1.jsxs = i, i1;
940
943
  }
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
944
+ process.env.NODE_ENV === "production" ? $1.exports = $2() : $1.exports = T2();
945
+ var o = $1.exports;
946
+ const P2 = "_mwfit_ppa3l_1", D2 = {
947
+ mwfit: P2
945
948
  }, A2 = () => {
946
949
  const { reconnect: t } = I(), e = E2(), s = _2();
947
950
  return /* @__PURE__ */ o.jsx(o.Fragment, { children: /* @__PURE__ */ o.jsxs("div", { className: `disconnected-message ${D2.mwfit} mx-auto text-center`, children: [
@@ -972,32 +975,32 @@ function V2(t, e) {
972
975
  sessionStorage.setItem(t, e);
973
976
  }
974
977
  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
+ const [e, s] = H(), r = C2(), c = S2(), u = b2(), i = L2(), g = a2(), f = I2(), p = y2(), d = R2(), b = u1(null), [P, W] = H(), O = u1({}), z = c1(
976
979
  async (y) => {
977
980
  try {
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;
981
+ const j = await T1.get(`${y}/ui/joinroom?token=${e}`);
982
+ return j.status === 200 && j.data ? (M.dispatch(F.setRoomData(j.data)), !0) : !1;
980
983
  } 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
+ 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);
982
985
  }
983
986
  },
984
987
  [e, d]
985
988
  ), o1 = c1(() => {
986
989
  const y = `${g.gatewayAppPath}?uuid=${f}&roomKey=${c}`;
987
- window.location.href = w ? `${y}&Code=${w}` : y;
988
- }, [g.gatewayAppPath, c, f, w]), P = c1(
990
+ window.location.href = p ? `${y}&Code=${p}` : y;
991
+ }, [g.gatewayAppPath, c, f, p]), $ = c1(
989
992
  (y, j) => {
990
993
  b.current && r && b.current.send(JSON.stringify({ type: y, clientId: u, content: j }));
991
994
  },
992
995
  [r, u]
993
996
  ), L = (y, j) => {
994
- P(y, { value: j });
997
+ $(y, { value: j });
995
998
  }, x1 = c1(
996
999
  (y, j, h1) => {
997
1000
  O.current[y] || (O.current[y] = {}), O.current[y][j] = h1, console.log("event handler added", y, j);
998
1001
  },
999
1002
  []
1000
- ), M1 = c1((y, j) => {
1003
+ ), m1 = c1((y, j) => {
1001
1004
  O.current[y] && (delete O.current[y][j], console.log("event handler removed", y, j));
1002
1005
  }, []);
1003
1006
  return t1(() => {
@@ -1005,24 +1008,24 @@ const k2 = ({ children: t }) => {
1005
1008
  j ? (console.log("saving token: ", j), V2(i3.uuid, j)) : (j = O2(i3.uuid), console.log("loading token: ", j)), s(j), i();
1006
1009
  }, []), t1(() => {
1007
1010
  async function y() {
1008
- if (console.log("effect is running"), !(!g.apiPath || T || !e || !await z(g.apiPath)) && !b.current) {
1011
+ if (console.log("effect is running"), !(!g.apiPath || P || !e || !await z(g.apiPath)) && !b.current) {
1009
1012
  console.log("connecting to websocket");
1010
- const m1 = `${g.apiPath.replace("http", "ws")}/ui/join/${e}`, K = new WebSocket(m1);
1013
+ const M1 = `${g.apiPath.replace("http", "ws")}/ui/join/${e}`, K = new WebSocket(M1);
1011
1014
  b.current = K, K.onopen = (A) => {
1012
- console.log("connected", A.type, A.target), m.dispatch(W.setWebsocketIsConnected(!0));
1015
+ console.log("connected", A.type, A.target), M.dispatch(F.setWebsocketIsConnected(!0));
1013
1016
  }, K.onerror = (A) => {
1014
1017
  console.log(A);
1015
1018
  }, K.onclose = (A) => {
1016
1019
  if (console.log("disconnected: ", A.reason, A.code), A.code === 4e3) {
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
+ console.log("user code changed"), M.dispatch(F.setUserCode({ userCode: "", qrUrl: "" })), M.dispatch(q.setErrorMessage("User code changed. Click reconnect to enter the new code")), M.dispatch(q.setShowReconnect(!0)), M.dispatch(F.setWebsocketIsConnected(!1)), M.dispatch(N.clearDevices()), M.dispatch(e1.clearRooms());
1018
1021
  return;
1019
1022
  }
1020
1023
  if (A.code === 4001 && !d) {
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
+ console.log("processor disconnected"), M.dispatch(q.setErrorMessage("Processor has disconnected. Click Reconnect")), M.dispatch(q.setShowReconnect(!0)), M.dispatch(F.setWebsocketIsConnected(!1)), M.dispatch(N.clearDevices()), M.dispatch(e1.clearRooms());
1022
1025
  return;
1023
1026
  }
1024
1027
  if (A.code === 4002) {
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
+ 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(F.setWebsocketIsConnected(!1)), M.dispatch(N.clearDevices()), M.dispatch(e1.clearRooms());
1026
1029
  return;
1027
1030
  }
1028
1031
  if (b.current)
@@ -1031,7 +1034,7 @@ const k2 = ({ children: t }) => {
1031
1034
  console.log("WebSocket closed by client.");
1032
1035
  return;
1033
1036
  }
1034
- T || (m.dispatch(W.setWebsocketIsConnected(!1)), m.dispatch(N.clearDevices()), m.dispatch(e1.clearRooms()), F(!0), setTimeout(() => F(void 0), 5e3));
1037
+ P || (M.dispatch(F.setWebsocketIsConnected(!1)), M.dispatch(N.clearDevices()), M.dispatch(e1.clearRooms()), W(!0), setTimeout(() => W(void 0), 5e3));
1035
1038
  }, K.onmessage = (A) => {
1036
1039
  try {
1037
1040
  const R = JSON.parse(A.data);
@@ -1042,22 +1045,23 @@ const k2 = ({ children: t }) => {
1042
1045
  if (R.type.startsWith("/system/"))
1043
1046
  switch (R.type) {
1044
1047
  case "/system/touchpanelKey":
1045
- m.dispatch(
1046
- W.setTouchpanelKey(
1048
+ M.dispatch(
1049
+ F.setTouchpanelKey(
1047
1050
  R.content
1048
1051
  )
1049
1052
  );
1050
1053
  break;
1051
- case "/system/roomKey":
1052
- m.dispatch(
1053
- W.setCurrentRoomKey(
1054
+ case "/system/roomKey": {
1055
+ M.dispatch(e1.clearRooms()), M.dispatch(N.clearDevices()), M.dispatch(
1056
+ F.setCurrentRoomKey(
1054
1057
  R.content
1055
1058
  )
1056
1059
  );
1057
1060
  break;
1061
+ }
1058
1062
  case "/system/userCodeChanged":
1059
- m.dispatch(
1060
- W.setUserCode(
1063
+ M.dispatch(
1064
+ F.setUserCode(
1061
1065
  R.content
1062
1066
  )
1063
1067
  );
@@ -1080,7 +1084,7 @@ const k2 = ({ children: t }) => {
1080
1084
  }
1081
1085
  });
1082
1086
  } else
1083
- R.type.startsWith("/room/") ? m.dispatch(e1.setRoomState(R)) : R.type.startsWith("/device/") && m.dispatch(N.setDeviceState(R));
1087
+ R.type.startsWith("/room/") ? M.dispatch(e1.setRoomState(R)) : R.type.startsWith("/device/") && M.dispatch(N.setDeviceState(R));
1084
1088
  } catch (R) {
1085
1089
  console.log(R);
1086
1090
  }
@@ -1090,22 +1094,22 @@ const k2 = ({ children: t }) => {
1090
1094
  return y(), () => {
1091
1095
  b.current && b.current.close(), b.current = null;
1092
1096
  };
1093
- }, [g.apiPath, z, e, T, d]), t1(() => {
1094
- !c || !r || (console.log("clientId: ", u), u && (console.log("requesting status from room: ", c), P(`/room/${c}/status`, null)));
1095
- }, [c, u, r, P]), /* @__PURE__ */ o.jsx(
1097
+ }, [g.apiPath, z, e, P, d]), t1(() => {
1098
+ !c || !r || (console.log("clientId: ", u), u && (console.log("requesting status from room: ", c), $(`/room/${c}/status`, null)));
1099
+ }, [c, u, r, $]), /* @__PURE__ */ o.jsx(
1096
1100
  p3.Provider,
1097
1101
  {
1098
1102
  value: {
1099
- sendMessage: P,
1103
+ sendMessage: $,
1100
1104
  sendSimpleMessage: L,
1101
1105
  addEventHandler: x1,
1102
- removeEventHandler: M1,
1106
+ removeEventHandler: m1,
1103
1107
  reconnect: o1
1104
1108
  },
1105
1109
  children: r ? t : /* @__PURE__ */ o.jsx(A2, {})
1106
1110
  }
1107
1111
  );
1108
- }, p6 = ({ children: t }) => /* @__PURE__ */ o.jsx(N3, { store: m, children: /* @__PURE__ */ o.jsx(k2, { children: t }) });
1112
+ }, x6 = ({ children: t }) => /* @__PURE__ */ o.jsx(N3, { store: M, children: /* @__PURE__ */ o.jsx(k2, { children: t }) });
1109
1113
  function I() {
1110
1114
  return n2(p3);
1111
1115
  }
@@ -1157,7 +1161,7 @@ function x3(t, e) {
1157
1161
  muteOff: () => s(`${t}/muteOff`, null)
1158
1162
  } : void 0;
1159
1163
  }
1160
- function x6(t, e) {
1164
+ function m6(t, e) {
1161
1165
  const { sendMessage: s, sendSimpleMessage: r } = I(), c = v(`${t}`, "volumeUp"), u = v(`${t}`, "volumeDown");
1162
1166
  return e ? {
1163
1167
  volumeState: e,
@@ -1169,11 +1173,11 @@ function x6(t, e) {
1169
1173
  muteOff: () => s(`${t}/muteOff`, null)
1170
1174
  } : void 0;
1171
1175
  }
1172
- function F2(t) {
1173
- const e = $(t), s = `/device/${t}`;
1176
+ function W2(t) {
1177
+ const e = T(t), s = `/device/${t}`;
1174
1178
  return x3(s, e == null ? void 0 : e.volume);
1175
1179
  }
1176
- function M3(t) {
1180
+ function m3(t) {
1177
1181
  const { sendMessage: e } = I();
1178
1182
  return { powerOn: () => {
1179
1183
  e(`/device/${t}/powerOn`, null);
@@ -1183,14 +1187,14 @@ function M3(t) {
1183
1187
  e(`/device/${t}/powerToggle`, null);
1184
1188
  } };
1185
1189
  }
1186
- function T1(t) {
1187
- const { sendMessage: e } = I(), s = $(t);
1190
+ function P1(t) {
1191
+ const { sendMessage: e } = I(), s = T(t);
1188
1192
  return console.log("deviceState", s), s ? { itemsState: s, selectItem: (c) => {
1189
1193
  e(`/device/${t}/${c}`, null);
1190
1194
  } } : void 0;
1191
1195
  }
1192
- function W2(t) {
1193
- const { sendMessage: e } = I(), s = $(t), r = () => {
1196
+ function F2(t) {
1197
+ const { sendMessage: e } = I(), s = T(t), r = () => {
1194
1198
  e(`/device/${t}/setDefaultChannelLevels`, null);
1195
1199
  }, c = () => {
1196
1200
  if ((s == null ? void 0 : s.levelControls) === void 0)
@@ -1202,7 +1206,7 @@ function W2(t) {
1202
1206
  return s ? { levelControls: s.levelControls, setDefaultChannelLevels: r, getFullStatus: c } : void 0;
1203
1207
  }
1204
1208
  function M6(t) {
1205
- const e = $(t), s = M3(t), r = T1(t), c = T1(t), u = F2(t), i = W2(t);
1209
+ const e = T(t), s = m3(t), r = P1(t), c = P1(t), u = W2(t), i = F2(t);
1206
1210
  if (e)
1207
1211
  return {
1208
1212
  avrState: e,
@@ -1213,46 +1217,46 @@ function M6(t) {
1213
1217
  mainVolumeControl: u
1214
1218
  };
1215
1219
  }
1216
- function m6(t) {
1217
- const e = $(t);
1220
+ function Z6(t) {
1221
+ const e = T(t);
1218
1222
  if (e)
1219
1223
  return { endpointState: e };
1220
1224
  }
1221
- function Z6(t) {
1225
+ function j6(t) {
1222
1226
  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");
1223
1227
  return { channelUp: s, channelDown: r, lastChannel: c, guide: u, info: i, exit: g };
1224
1228
  }
1225
- function j6(t) {
1229
+ function C6(t) {
1226
1230
  const e = `/device/${t}`, s = v(e, "red"), r = v(e, "green"), c = v(e, "yellow"), u = v(e, "blue");
1227
1231
  return { red: s, green: r, yellow: c, blue: u };
1228
1232
  }
1229
- function C6(t) {
1230
- const e = $(t);
1233
+ function S6(t) {
1234
+ const e = T(t);
1231
1235
  if (e)
1232
1236
  return {
1233
1237
  communicationMonitorState: e
1234
1238
  };
1235
1239
  }
1236
- function S6(t) {
1240
+ function b6(t) {
1237
1241
  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");
1238
1242
  return { up: s, down: r, left: c, right: u, select: i, menu: g, exit: f };
1239
1243
  }
1240
- function b6(t) {
1241
- const e = $(t);
1244
+ function I6(t) {
1245
+ const e = T(t);
1242
1246
  if (e)
1243
1247
  return e.deviceInfo || void 0;
1244
1248
  }
1245
- function I6(t) {
1249
+ function y6(t) {
1246
1250
  const { sendMessage: e } = I();
1247
1251
  return { recallPreset: (r) => {
1248
1252
  e(`/device/${t}/recallPreset`, r);
1249
1253
  } };
1250
1254
  }
1251
- function y6(t) {
1255
+ function R6(t) {
1252
1256
  const e = `/device/${t}`, s = v(e, "dvrList"), r = v(e, "record");
1253
1257
  return { dvrList: s, record: r };
1254
1258
  }
1255
- const R6 = ({ className: t }) => {
1259
+ const E6 = ({ className: t }) => {
1256
1260
  const [e, s] = H();
1257
1261
  return t1(() => {
1258
1262
  setInterval(() => {
@@ -1264,8 +1268,8 @@ const R6 = ({ className: t }) => {
1264
1268
  " new change"
1265
1269
  ] });
1266
1270
  };
1267
- function E6(t) {
1268
- const { sendMessage: e } = I(), s = $(t);
1271
+ function _6(t) {
1272
+ const { sendMessage: e } = I(), s = T(t);
1269
1273
  return s ? { roomCombinerState: s, setAutoMode: () => {
1270
1274
  e(`/device/${t}/setAutoMode`, null);
1271
1275
  }, setManualMode: () => {
@@ -1278,8 +1282,8 @@ function E6(t) {
1278
1282
  e(`/device/${t}/setRoomCombinationScenario`, f);
1279
1283
  } } : void 0;
1280
1284
  }
1281
- function _6(t) {
1282
- const { sendMessage: e, sendSimpleMessage: s } = I(), r = $(t), c = j2(t), u = r || c;
1285
+ function L6(t) {
1286
+ const { sendMessage: e, sendSimpleMessage: s } = I(), r = T(t), c = j2(t), u = r || c;
1283
1287
  return u ? {
1284
1288
  levelState: u,
1285
1289
  setLevel: (d, b) => s(`${d}/level`, b),
@@ -1288,14 +1292,14 @@ function _6(t) {
1288
1292
  muteOff: (d) => e(`${d}/muteOff`, null)
1289
1293
  } : void 0;
1290
1294
  }
1291
- function L6(t) {
1292
- const { sendMessage: e } = I(), s = $(t);
1295
+ function T6(t) {
1296
+ const { sendMessage: e } = I(), s = T(t);
1293
1297
  return s ? { lightingState: s, selectScene: (c) => {
1294
1298
  e(`/device/${t}/selectScene`, c);
1295
1299
  } } : void 0;
1296
1300
  }
1297
1301
  function $6(t) {
1298
- const { sendMessage: e } = I(), s = $(t);
1302
+ const { sendMessage: e } = I(), s = T(t);
1299
1303
  return s ? { matrixRoutingState: s, setRoute: (c) => {
1300
1304
  e(`/device/${t}/route`, c);
1301
1305
  } } : void 0;
@@ -1306,42 +1310,42 @@ function P6(t) {
1306
1310
  e(`/device/${t}/closeWebViewController`, null);
1307
1311
  } };
1308
1312
  }
1309
- function T6(t) {
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");
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 };
1312
- }
1313
1313
  function D6(t) {
1314
- const { sendMessage: e } = I(), s = $(t);
1314
+ 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"), p = v(e, "num7"), d = v(e, "num8"), b = v(e, "num9"), P = v(e, "numDash"), W = v(e, "numEnter");
1315
+ return { digit0: s, digit1: r, digit2: c, digit3: u, digit4: i, digit5: g, digit6: f, digit7: p, digit8: d, digit9: b, keypadAccessoryButton1: P, keypadAccessoryButton2: W };
1316
+ }
1317
+ function A6(t) {
1318
+ const { sendMessage: e } = I(), s = T(t);
1315
1319
  return s ? { projectorScreenLiftControlState: s, raise: () => {
1316
1320
  e(`/device/${t}/raise`, null);
1317
1321
  }, lower: () => {
1318
1322
  e(`/device/${t}/lower`, null);
1319
1323
  } } : void 0;
1320
1324
  }
1321
- function A6(t) {
1325
+ function B6(t) {
1322
1326
  const { sendMessage: e } = I(), s = D1(t);
1323
1327
  return s ? { roomEventScheduleState: s, save: (c) => {
1324
1328
  e(`/room/${t}/saveScheduledEvents`, c);
1325
1329
  } } : void 0;
1326
1330
  }
1327
- function B6(t) {
1331
+ function O6(t) {
1328
1332
  const { sendMessage: e } = I();
1329
1333
  return { runDirectRoute: (r) => {
1330
1334
  e(`/room/${t}/directRoute`, r);
1331
1335
  } };
1332
1336
  }
1333
- function O6(t) {
1337
+ function V6(t) {
1334
1338
  const { sendMessage: e } = I();
1335
- return { routingState: $(t), runRoute: (c) => {
1339
+ return { routingState: T(t), runRoute: (c) => {
1336
1340
  e(`/room/${t}/source`, c);
1337
1341
  } };
1338
1342
  }
1339
- function V6(t) {
1343
+ function k6(t) {
1340
1344
  const e = `/device/${t}`, s = v(e, "chanUp"), r = v(e, "chanDown");
1341
1345
  return { dvrList: s, replay: r };
1342
1346
  }
1343
- function k6(t) {
1344
- const { sendMessage: e } = I(), s = $(t);
1347
+ function U6(t) {
1348
+ const { sendMessage: e } = I(), s = T(t);
1345
1349
  return s ? { shadeState: s, shadeUp: () => {
1346
1350
  e(`/device/${t}/shadeUp`, null);
1347
1351
  }, shadeDown: () => {
@@ -1350,7 +1354,7 @@ function k6(t) {
1350
1354
  e(`/device/${t}/stopOrPreset`, null);
1351
1355
  } } : void 0;
1352
1356
  }
1353
- function U6(t) {
1357
+ function W6(t) {
1354
1358
  const { sendMessage: e } = I(), s = D1(t);
1355
1359
  return s ? { shutdownPromptTimerState: s, setShutdownPromptSeconds: (g) => {
1356
1360
  e(`/room/${t}/setShutdownPromptSeconds`, g);
@@ -1363,14 +1367,14 @@ function U6(t) {
1363
1367
  } } : void 0;
1364
1368
  }
1365
1369
  function F6(t) {
1366
- const { sendMessage: e } = I(), s = $(t);
1370
+ const { sendMessage: e } = I(), s = T(t);
1367
1371
  return s ? { switchedOutputState: s, on: () => {
1368
1372
  e(`/device/${t}/on`, null);
1369
1373
  }, off: () => {
1370
1374
  e(`/device/${t}/off`, null);
1371
1375
  } } : void 0;
1372
1376
  }
1373
- function W6(t) {
1377
+ function H6(t) {
1374
1378
  const { sendMessage: e } = I(), s = D1(t);
1375
1379
  return s ? { techPasswordState: s, validatePassword: (u) => {
1376
1380
  e(`/room/${t}/validateTechPassword`, { password: u });
@@ -1378,12 +1382,12 @@ function W6(t) {
1378
1382
  e(`/room/${t}/setTechPassword`, { oldPassword: u, newPassword: i });
1379
1383
  } } : void 0;
1380
1384
  }
1381
- function H6(t) {
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");
1383
- return { play: s, pause: r, stop: c, prevTrack: u, nextTrack: i, rewind: g, fastForward: f, record: w };
1384
- }
1385
1385
  function K6(t) {
1386
- const e = $(t), { sendMessage: s } = I();
1386
+ 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"), p = v(e, "record");
1387
+ return { play: s, pause: r, stop: c, prevTrack: u, nextTrack: i, rewind: g, fastForward: f, record: p };
1388
+ }
1389
+ function G6(t) {
1390
+ const e = T(t), { sendMessage: s } = I();
1387
1391
  return e ? {
1388
1392
  touchpanelState: e,
1389
1393
  appControl: { hideApp: () => {
@@ -1398,8 +1402,8 @@ function K6(t) {
1398
1402
  } }
1399
1403
  } : void 0;
1400
1404
  }
1401
- function G6(t) {
1402
- const e = $(t), s = M3(t), r = T1(t);
1405
+ function q6(t) {
1406
+ const e = T(t), s = m3(t), r = P1(t);
1403
1407
  if (!e)
1404
1408
  return;
1405
1409
  const c = (e.powerState || e.isWarming) && !e.isCooling, u = (!e.powerState || e.isCooling) && !e.isWarming;
@@ -1410,14 +1414,14 @@ function G6(t) {
1410
1414
  powerFb: { powerOnFb: c, powerOffFb: u }
1411
1415
  };
1412
1416
  }
1413
- function q6(t) {
1417
+ function Y6(t) {
1414
1418
  const { sendMessage: e } = I();
1415
1419
  return { runDefaultPresentRoute: () => {
1416
1420
  e(`/room/${t}/defaultsource`, {});
1417
1421
  } };
1418
1422
  }
1419
- function Y6(t) {
1420
- const { sendMessage: e } = I(), s = $(t), r = (c) => {
1423
+ function z6(t) {
1424
+ const { sendMessage: e } = I(), s = T(t), r = (c) => {
1421
1425
  e(`/device/${t}/saveTheme`, { value: c });
1422
1426
  };
1423
1427
  return {
@@ -1425,7 +1429,7 @@ function Y6(t) {
1425
1429
  saveTheme: r
1426
1430
  };
1427
1431
  }
1428
- const z6 = ({ config: t }) => {
1432
+ const J6 = ({ config: t }) => {
1429
1433
  const { sendMessage: e } = I();
1430
1434
  t1(() => {
1431
1435
  var r, c, u;
@@ -1454,11 +1458,11 @@ const z6 = ({ config: t }) => {
1454
1458
  });
1455
1459
  }, [t, e]);
1456
1460
  };
1457
- function J6(t, e) {
1461
+ function X6(t, e) {
1458
1462
  const s = Z2(t, e), r = `/room/${t}/volumes/${e}`;
1459
1463
  return x3(r, s);
1460
1464
  }
1461
- function X6() {
1465
+ function Q6() {
1462
1466
  const { sendMessage: t } = I();
1463
1467
  return {
1464
1468
  reboot: () => {
@@ -1469,7 +1473,7 @@ function X6() {
1469
1473
  }
1470
1474
  };
1471
1475
  }
1472
- function Q6() {
1476
+ function N6() {
1473
1477
  const [t, e] = H(), [s, r] = H();
1474
1478
  function c() {
1475
1479
  e((/* @__PURE__ */ new Date()).toLocaleDateString("en-US", { dateStyle: "long" }));
@@ -1484,33 +1488,33 @@ function Q6() {
1484
1488
  return () => clearInterval(u);
1485
1489
  }, []), { date: t, time: s };
1486
1490
  }
1487
- function N6(t, e) {
1491
+ function ee(t, e) {
1488
1492
  const [s, r] = H(!1), [c, u] = H(!1);
1489
1493
  return d3(() => {
1490
1494
  const { current: i } = t, g = () => {
1491
- const f = i && i.scrollHeight > i.clientHeight, w = i && i.scrollWidth > i.clientWidth;
1492
- u(f ?? !1), r(w ?? !1), e && e(f ?? !1, w ?? !1);
1495
+ const f = i && i.scrollHeight > i.clientHeight, p = i && i.scrollWidth > i.clientWidth;
1496
+ u(f ?? !1), r(p ?? !1), e && e(f ?? !1, p ?? !1);
1493
1497
  };
1494
1498
  i && g();
1495
1499
  }, [t, e]), { overflowHorizontal: s, overflowVertical: c };
1496
1500
  }
1497
- function ee(t) {
1501
+ function te(t) {
1498
1502
  var g, f;
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) => {
1503
+ 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 = (p) => {
1500
1504
  const { current: d } = t;
1501
- d && (console.log(d.scrollLeft), d.scrollLeft += w, console.log(d.scrollLeft));
1502
- }, i = (w) => {
1505
+ d && (console.log(d.scrollLeft), d.scrollLeft += p, console.log(d.scrollLeft));
1506
+ }, i = (p) => {
1503
1507
  const { current: d } = t;
1504
- d && (console.log(d.scrollTop), d.scrollTop += w, console.log(d.scrollTop));
1508
+ d && (console.log(d.scrollTop), d.scrollTop += p, console.log(d.scrollTop));
1505
1509
  };
1506
1510
  return d3(() => {
1507
- const { current: w } = t, d = () => {
1508
- s((w == null ? void 0 : w.scrollLeft) ?? 0), c((w == null ? void 0 : w.scrollTop) ?? 0);
1511
+ const { current: p } = t, d = () => {
1512
+ s((p == null ? void 0 : p.scrollLeft) ?? 0), c((p == null ? void 0 : p.scrollTop) ?? 0);
1509
1513
  };
1510
- w && d();
1514
+ p && d();
1511
1515
  }, [t]), { horizontalScrollPosition: e, verticalScrollPosition: r, scrollHorizontal: u, scrollVertical: i };
1512
1516
  }
1513
- const te = () => {
1517
+ const oe = () => {
1514
1518
  const [t, e] = H(!1), s = r2(), r = c2();
1515
1519
  let c;
1516
1520
  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: [
@@ -1533,27 +1537,27 @@ const te = () => {
1533
1537
  disabled: i,
1534
1538
  feedback: g,
1535
1539
  feedbackClassName: f,
1536
- onPointerDown: w,
1540
+ onPointerDown: p,
1537
1541
  onPointerUp: d,
1538
1542
  onPointerLeave: b,
1539
- ...T
1543
+ ...P
1540
1544
  }) => {
1541
- const [F, O] = H(!1), z = !i && g ? f : "", o1 = !i && (F || g);
1545
+ const [W, O] = H(!1), z = !i && g ? f : "", o1 = !i && (W || g);
1542
1546
  return /* @__PURE__ */ o.jsxs(
1543
1547
  "button",
1544
1548
  {
1545
1549
  type: "button",
1546
1550
  className: `${_1.iconbtn} ${s ? _1.iconbtnvert : ""} ${r} ${z}`,
1547
- ...T,
1551
+ ...P,
1548
1552
  disabled: i,
1549
- onPointerDown: (P) => {
1550
- O(!0), w == null || w(P);
1553
+ onPointerDown: ($) => {
1554
+ O(!0), p == null || p($);
1551
1555
  },
1552
- onPointerUp: (P) => {
1553
- O(!1), d == null || d(P);
1556
+ onPointerUp: ($) => {
1557
+ O(!1), d == null || d($);
1554
1558
  },
1555
- onPointerLeave: (P) => {
1556
- O(!1), b == null || b(P);
1559
+ onPointerLeave: ($) => {
1560
+ O(!1), b == null || b($);
1557
1561
  },
1558
1562
  children: [
1559
1563
  t && /* @__PURE__ */ o.jsx(
@@ -1786,7 +1790,7 @@ const te = () => {
1786
1790
  "path",
1787
1791
  {
1788
1792
  d: "M111.57,63.01c-.5-1.94-1.51-3.52-3.02-4.74-1.51-1.22-3.27-1.83-5.28-1.83h-42.04c-2.01,0-3.79.61-5.34,1.83-1.54,1.22-2.53,2.8-2.96,4.74l-9.06,36.11c-.14.43-.22,1.08-.22,1.94,0,2.01.74,3.7,2.21,5.07,1.47,1.37,3.25,2.05,5.34,2.05,1.37,0,2.6-.36,3.72-1.08,1.11-.72,1.96-1.69,2.53-2.91l3.02-6.14c1.08-2.23,2.66-3.97,4.74-5.23,2.08-1.26,4.35-1.89,6.79-1.89h20.48c2.44,0,4.71.65,6.79,1.94,2.08,1.29,3.7,3.02,4.85,5.17l3.02,6.14c.58,1.22,1.42,2.19,2.53,2.91,1.11.72,2.35,1.08,3.72,1.08,2.01,0,3.74-.66,5.17-1.99,1.44-1.33,2.19-3,2.26-5.01,0,.07-.07-.61-.22-2.05l-9.06-36.11ZM94.27,61.98c.83-.83,1.85-1.24,3.07-1.24s2.25.41,3.07,1.24c.83.83,1.24,1.85,1.24,3.07s-.41,2.25-1.24,3.07c-.83.83-1.85,1.24-3.07,1.24s-2.25-.41-3.07-1.24c-.83-.83-1.24-1.85-1.24-3.07s.41-2.25,1.24-3.07ZM77.02,76c-.61.61-1.38.92-2.32.92h-4.31v4.31c0,.93-.31,1.71-.92,2.32-.61.61-1.38.92-2.32.92s-1.71-.31-2.32-.92c-.61-.61-.92-1.38-.92-2.32v-4.31h-4.31c-.93,0-1.71-.31-2.32-.92-.61-.61-.92-1.38-.92-2.32s.31-1.71.92-2.32c.61-.61,1.38-.92,2.32-.92h4.31v-4.31c0-.93.31-1.71.92-2.32.61-.61,1.38-.92,2.32-.92s1.71.31,2.32.92c.61.61.92,1.38.92,2.32v4.31h4.31c.93,0,1.71.31,2.32.92s.92,1.38.92,2.32-.31,1.71-.92,2.32ZM91.79,76.75c-.83.83-1.85,1.24-3.07,1.24s-2.25-.41-3.07-1.24c-.83-.83-1.24-1.85-1.24-3.07s.41-2.25,1.24-3.07c.83-.83,1.85-1.24,3.07-1.24s2.25.41,3.07,1.24c.83.83,1.24,1.85,1.24,3.07s-.41,2.25-1.24,3.07ZM100.41,85.38c-.83.83-1.85,1.24-3.07,1.24s-2.25-.41-3.07-1.24c-.83-.83-1.24-1.85-1.24-3.07s.41-2.25,1.24-3.07c.83-.83,1.85-1.24,3.07-1.24s2.25.41,3.07,1.24c.83.83,1.24,1.85,1.24,3.07s-.41,2.25-1.24,3.07ZM109.04,76.75c-.83.83-1.85,1.24-3.07,1.24s-2.25-.41-3.07-1.24c-.83-.83-1.24-1.85-1.24-3.07s.41-2.25,1.24-3.07c.83-.83,1.85-1.24,3.07-1.24s2.25.41,3.07,1.24,1.24,1.85,1.24,3.07-.41,2.25-1.24,3.07ZM82.3,0C36.92,0,0,36.92,0,82.3s36.92,82.3,82.3,82.3,82.3-36.92,82.3-82.3S127.69,0,82.3,0ZM124.89,112.22c-3.13,3.05-6.88,4.58-11.27,4.58-3.02,0-5.82-.79-8.41-2.37-2.59-1.58-4.53-3.74-5.82-6.47l-3.02-6.25c-.36-.72-.9-1.26-1.62-1.62-.72-.36-1.47-.54-2.26-.54h-20.48c-.79,0-1.55.18-2.26.54-.72.36-1.26.9-1.62,1.62l-3.02,6.25c-1.29,2.73-3.23,4.89-5.82,6.47-2.59,1.58-5.39,2.37-8.41,2.37-4.31,0-8-1.55-11.05-4.64-3.05-3.09-4.65-6.83-4.8-11.21,0-.65.04-1.29.11-1.94.07-.65.18-1.29.32-1.94l9.06-36.22c1.01-3.88,3.05-7.03,6.15-9.43,3.09-2.41,6.61-3.61,10.56-3.61h42.04c3.95,0,7.47,1.2,10.56,3.61,3.09,2.41,5.14,5.55,6.14,9.43l9.06,36.22c.14.65.27,1.31.38,1.99s.16,1.35.16,1.99c0,4.38-1.56,8.1-4.69,11.16Z",
1789
- "stroke-width": "0"
1793
+ strokeWidth: "0"
1790
1794
  }
1791
1795
  ) })
1792
1796
  }
@@ -1805,7 +1809,7 @@ const te = () => {
1805
1809
  "path",
1806
1810
  {
1807
1811
  d: "M96.54,86.55l5.04-5.04c.04.26.07.52.07.8,0,1.22-.41,2.25-1.24,3.07-.83.83-1.85,1.24-3.07,1.24-.28,0-.54-.03-.8-.07ZM105.97,77.99c1.22,0,2.25-.41,3.07-1.24.83-.83,1.24-1.85,1.24-3.07,0-.28-.03-.54-.07-.8l-5.04,5.04c.26.04.52.07.8.07ZM129.04,97.07l-8.6-34.41-7.15,7.15,7.35,29.31c.14,1.44.22,2.12.22,2.05-.07,2.01-.83,3.68-2.26,5.01-1.44,1.33-3.16,1.99-5.17,1.99-1.37,0-2.6-.36-3.72-1.08-1.11-.72-1.96-1.69-2.53-2.91l-3.02-6.14c-1.15-2.16-2.77-3.88-4.85-5.17-2.08-1.29-4.35-1.94-6.79-1.94h-.33l-8.62,8.62h8.95c.79,0,1.55.18,2.26.54.72.36,1.26.9,1.62,1.62l3.02,6.25c1.29,2.73,3.23,4.89,5.82,6.47,2.59,1.58,5.39,2.37,8.41,2.37,4.38,0,8.14-1.53,11.27-4.58,3.13-3.05,4.69-6.77,4.69-11.16,0-.65-.05-1.31-.16-1.99s-.23-1.35-.38-1.99ZM43.77,102.35c-.07-.42-.12-.84-.12-1.29,0-.86.07-1.51.22-1.94l9.06-36.11c.43-1.94,1.42-3.52,2.96-4.74,1.54-1.22,3.32-1.83,5.34-1.83h28.46l8.62-8.62h-37.09c-3.95,0-7.47,1.2-10.56,3.61-3.09,2.41-5.14,5.55-6.14,9.43l-9.06,36.22c-.14.65-.25,1.29-.32,1.94-.07.65-.11,1.29-.11,1.94.1,2.92.85,5.55,2.24,7.9l6.5-6.5ZM74.7,70.45h-4.31v-4.31c0-.93-.31-1.71-.92-2.32-.61-.61-1.38-.92-2.32-.92s-1.71.31-2.32.92c-.61.61-.92,1.38-.92,2.32v4.31h-4.31c-.93,0-1.71.31-2.32.92s-.92,1.38-.92,2.32.31,1.71.92,2.32c.61.61,1.38.92,2.32.92h4.31v4.31c0,.31.05.59.11.86l11.53-11.53c-.27-.07-.56-.11-.86-.11ZM164.61,82.3c0,45.38-36.92,82.3-82.3,82.3S0,127.69,0,82.3,36.92,0,82.3,0s82.3,36.92,82.3,82.3ZM5,82.3c0,19.83,7.51,37.93,19.82,51.63L133.93,24.83c-13.7-12.32-31.8-19.83-51.63-19.83C39.68,5,5,39.68,5,82.3ZM159.61,82.3c0-19.83-7.51-37.93-19.83-51.63L30.68,139.78c13.7,12.32,31.8,19.83,51.63,19.83,42.63,0,77.3-34.68,77.3-77.3Z",
1808
- "stroke-width": "0"
1812
+ strokeWidth: "0"
1809
1813
  }
1810
1814
  ) })
1811
1815
  }
@@ -1824,7 +1828,7 @@ const te = () => {
1824
1828
  "path",
1825
1829
  {
1826
1830
  d: "M50.88,116.8c-4.31,0-8-1.55-11.05-4.64-3.05-3.09-4.65-6.83-4.8-11.21,0-.65.04-1.29.11-1.94s.18-1.29.32-1.94l9.06-36.22c1.01-3.88,3.05-7.03,6.14-9.43s6.61-3.61,10.56-3.61h42.04c3.95,0,7.47,1.2,10.56,3.61s5.14,5.55,6.14,9.43l9.06,36.22c.14.65.27,1.31.38,1.99s.16,1.35.16,1.99c0,4.38-1.56,8.1-4.69,11.16s-6.88,4.58-11.27,4.58c-3.02,0-5.82-.79-8.41-2.37s-4.53-3.74-5.82-6.47l-3.02-6.25c-.36-.72-.9-1.26-1.62-1.62s-1.47-.54-2.26-.54h-20.48c-.79,0-1.55.18-2.26.54s-1.26.9-1.62,1.62l-3.02,6.25c-1.29,2.73-3.23,4.89-5.82,6.47s-5.39,2.37-8.41,2.37ZM51.2,108.18c1.37,0,2.61-.36,3.72-1.08,1.11-.72,1.96-1.69,2.53-2.91l3.02-6.14c1.08-2.23,2.66-3.97,4.74-5.23s4.35-1.89,6.79-1.89h20.48c2.44,0,4.71.65,6.79,1.94s3.7,3.02,4.85,5.17l3.02,6.14c.57,1.22,1.42,2.19,2.53,2.91,1.11.72,2.35,1.08,3.72,1.08,2.01,0,3.74-.66,5.17-1.99,1.44-1.33,2.19-3,2.26-5.01,0,.07-.07-.61-.22-2.05l-9.06-36.11c-.5-1.94-1.51-3.52-3.02-4.74s-3.27-1.83-5.28-1.83h-42.04c-2.01,0-3.79.61-5.34,1.83s-2.53,2.8-2.96,4.74l-9.06,36.11c-.14.43-.22,1.08-.22,1.94,0,2.01.74,3.7,2.21,5.07,1.47,1.37,3.25,2.05,5.34,2.05ZM88.72,77.99c1.22,0,2.25-.41,3.07-1.24s1.24-1.85,1.24-3.07-.41-2.25-1.24-3.07-1.85-1.24-3.07-1.24-2.25.41-3.07,1.24c-.83.83-1.24,1.85-1.24,3.07s.41,2.25,1.24,3.07c.83.83,1.85,1.24,3.07,1.24ZM97.34,69.37c1.22,0,2.25-.41,3.07-1.24s1.24-1.85,1.24-3.07-.41-2.25-1.24-3.07-1.85-1.24-3.07-1.24-2.25.41-3.07,1.24-1.24,1.85-1.24,3.07.41,2.25,1.24,3.07,1.85,1.24,3.07,1.24ZM97.34,86.62c1.22,0,2.25-.41,3.07-1.24s1.24-1.85,1.24-3.07-.41-2.25-1.24-3.07c-.83-.83-1.85-1.24-3.07-1.24s-2.25.41-3.07,1.24c-.83.83-1.24,1.85-1.24,3.07s.41,2.25,1.24,3.07,1.85,1.24,3.07,1.24ZM105.97,77.99c1.22,0,2.25-.41,3.07-1.24s1.24-1.85,1.24-3.07-.41-2.25-1.24-3.07-1.85-1.24-3.07-1.24-2.25.41-3.07,1.24-1.24,1.85-1.24,3.07.41,2.25,1.24,3.07,1.85,1.24,3.07,1.24ZM67.16,84.46c.93,0,1.71-.31,2.32-.92s.92-1.38.92-2.32v-4.31h4.31c.93,0,1.71-.31,2.32-.92s.92-1.38.92-2.32-.31-1.71-.92-2.32-1.38-.92-2.32-.92h-4.31v-4.31c0-.93-.31-1.71-.92-2.32s-1.38-.92-2.32-.92-1.71.31-2.32.92-.92,1.38-.92,2.32v4.31h-4.31c-.93,0-1.71.31-2.32.92s-.92,1.38-.92,2.32.31,1.71.92,2.32,1.38.92,2.32.92h4.31v4.31c0,.93.31,1.71.92,2.32s1.38.92,2.32.92ZM82.3,164.61C36.92,164.61,0,127.69,0,82.3S36.92,0,82.3,0s82.3,36.92,82.3,82.3-36.92,82.3-82.3,82.3ZM82.3,5C39.68,5,5,39.68,5,82.3s34.68,77.3,77.3,77.3,77.3-34.68,77.3-77.3S124.93,5,82.3,5Z",
1827
- "stroke-width": "0"
1831
+ strokeWidth: "0"
1828
1832
  }
1829
1833
  ) })
1830
1834
  }
@@ -2632,7 +2636,7 @@ const te = () => {
2632
2636
  "path",
2633
2637
  {
2634
2638
  d: "M78.42,76.11v.67c0,1.66-1.34,3-3,3h-28.5c-1.66,0-3-1.34-3-3v-.67c0-1.66,1.34-3,3-3h28.5c1.66,0,3,1.34,3,3ZM75.42,63.11h-28.5c-1.66,0-3,1.34-3,3v.67c0,1.66,1.34,3,3,3h28.5c1.66,0,3-1.34,3-3v-.67c0-1.66-1.34-3-3-3ZM74.67,110.78c-2.07,0-3.75,1.68-3.75,3.75s1.68,3.75,3.75,3.75,3.75-1.68,3.75-3.75-1.68-3.75-3.75-3.75ZM164.61,82.3c0,45.38-36.92,82.3-82.3,82.3S0,127.69,0,82.3,36.92,0,82.3,0s82.3,36.92,82.3,82.3ZM82.63,60.68c0-2.15-1.74-3.89-3.89-3.89h-34.83c-2.15,0-3.89,1.74-3.89,3.89v59.64c0,2.15,1.74,3.89,3.89,3.89h34.83c2.15,0,3.89-1.74,3.89-3.89v-59.64ZM124.59,44.82c0-2.44-1.98-4.43-4.43-4.43H54.78c-2.44,0-4.43,1.98-4.43,4.43v6.96h6.06v-1.66c0-1.47,1.19-2.66,2.66-2.66h56.8c1.47,0,2.66,1.19,2.66,2.66v32.53c0,1.47-1.19,2.66-2.66,2.66h-28.24v20.48h21.98c0-4.6-5.41-11.57-13.23-13.41h23.77c2.44,0,4.43-1.98,4.43-4.43v-43.13Z",
2635
- "stroke-width": "0"
2639
+ strokeWidth: "0"
2636
2640
  }
2637
2641
  ) })
2638
2642
  }
@@ -2651,7 +2655,7 @@ const te = () => {
2651
2655
  "path",
2652
2656
  {
2653
2657
  d: "M82.3,0C36.92,0,0,36.92,0,82.3s36.92,82.3,82.3,82.3,82.3-36.92,82.3-82.3S127.69,0,82.3,0ZM82.3,5c19.83,0,37.93,7.51,51.63,19.83L24.83,133.93c-12.32-13.7-19.83-31.8-19.83-51.63C5,39.68,39.68,5,82.3,5ZM82.3,159.61c-19.83,0-37.93-7.51-51.63-19.83L139.78,30.68c12.32,13.7,19.82,31.8,19.82,51.63,0,42.63-34.68,77.3-77.3,77.3ZM56.41,51.79h-6.06v-6.96c0-2.44,1.98-4.43,4.43-4.43h50.95l-7.07,7.07h-39.58c-1.47,0-2.66,1.19-2.66,2.66v1.66ZM40.02,106.1v-45.42c0-2.15,1.74-3.89,3.89-3.89h34.83c2.15,0,3.89,1.74,3.89,3.89v2.81l-4.45,4.45c.15-.36.23-.75.23-1.16v-.67c0-1.66-1.34-3-3-3h-28.5c-1.66,0-3,1.34-3,3v.67c0,1.66,1.34,3,3,3h28.5c.41,0,.8-.08,1.16-.23l-3.57,3.57h-26.09c-1.66,0-3,1.34-3,3v.67c0,1.66,1.34,3,3,3h19.43l-26.32,26.32ZM124.59,58.5v29.46c0,2.44-1.98,4.43-4.43,4.43h-23.77c7.81,1.84,13.23,8.81,13.23,13.41h-21.98v-10.34l10.15-10.15h18.09c1.47,0,2.66-1.19,2.66-2.66v-18.09l6.06-6.06ZM58.88,124.21h19.86c2.15,0,3.89-1.74,3.89-3.89v-19.86l-23.75,23.75ZM74.67,118.28c-2.07,0-3.75-1.68-3.75-3.75s1.68-3.75,3.75-3.75,3.75,1.68,3.75,3.75-1.68,3.75-3.75,3.75Z",
2654
- "stroke-width": "0"
2658
+ strokeWidth: "0"
2655
2659
  }
2656
2660
  ) })
2657
2661
  }
@@ -2670,7 +2674,7 @@ const te = () => {
2670
2674
  "path",
2671
2675
  {
2672
2676
  d: "M78.74,56.79h-34.83c-2.15,0-3.89,1.74-3.89,3.89v59.64c0,2.15,1.74,3.89,3.89,3.89h34.83c2.15,0,3.89-1.74,3.89-3.89v-59.64c0-2.15-1.74-3.89-3.89-3.89ZM74.67,118.28c-2.07,0-3.75-1.68-3.75-3.75s1.68-3.75,3.75-3.75,3.75,1.68,3.75,3.75-1.68,3.75-3.75,3.75ZM78.42,76.78c0,1.66-1.34,3-3,3h-28.5c-1.66,0-3-1.34-3-3v-.67c0-1.66,1.34-3,3-3h28.5c1.66,0,3,1.34,3,3v.67ZM78.42,66.78c0,1.66-1.34,3-3,3h-28.5c-1.66,0-3-1.34-3-3v-.67c0-1.66,1.34-3,3-3h28.5c1.66,0,3,1.34,3,3v.67ZM124.59,44.82v43.13c0,2.44-1.98,4.43-4.43,4.43h-23.77c7.81,1.84,13.23,8.81,13.23,13.41h-21.98v-20.48h28.24c1.47,0,2.66-1.19,2.66-2.66v-32.53c0-1.47-1.19-2.66-2.66-2.66h-56.8c-1.47,0-2.66,1.19-2.66,2.66v1.66h-6.06v-6.96c0-2.44,1.98-4.43,4.43-4.43h65.38c2.44,0,4.43,1.98,4.43,4.43ZM82.3,164.61C36.92,164.61,0,127.69,0,82.3S36.92,0,82.3,0s82.3,36.92,82.3,82.3-36.92,82.3-82.3,82.3ZM82.3,5C39.68,5,5,39.68,5,82.3s34.68,77.3,77.3,77.3,77.3-34.68,77.3-77.3S124.93,5,82.3,5Z",
2673
- "stroke-width": "0"
2677
+ strokeWidth: "0"
2674
2678
  }
2675
2679
  ) }) })
2676
2680
  }
@@ -2826,7 +2830,7 @@ const te = () => {
2826
2830
  active: t,
2827
2831
  disabled: s
2828
2832
  }
2829
- ), M8 = ({
2833
+ ), m8 = ({
2830
2834
  active: t,
2831
2835
  className: e = "",
2832
2836
  disabled: s
@@ -2875,7 +2879,7 @@ const te = () => {
2875
2879
  active: t,
2876
2880
  disabled: s
2877
2881
  }
2878
- ), m8 = ({
2882
+ ), M8 = ({
2879
2883
  active: t,
2880
2884
  className: e = "",
2881
2885
  disabled: s
@@ -3196,14 +3200,14 @@ const te = () => {
3196
3200
  Shade: w8,
3197
3201
  Sun: p8,
3198
3202
  UpArrow: x8,
3199
- VolDown: M8,
3200
- VolMute: m8,
3203
+ VolDown: m8,
3204
+ VolMute: M8,
3201
3205
  VolUp: Z8,
3202
3206
  Wireless: j8,
3203
3207
  X: C8,
3204
3208
  Xbox: S8
3205
3209
  };
3206
- function oe({
3210
+ function se({
3207
3211
  name: t,
3208
3212
  iconsDictionary: e = I8,
3209
3213
  ...s
@@ -3217,17 +3221,17 @@ const y8 = "_grid_1cmpp_1", R8 = "_header_1cmpp_11", E8 = "_content_1cmpp_17", _
3217
3221
  content: E8,
3218
3222
  footer: _8,
3219
3223
  volume: L8
3220
- }, se = ({ header: t, footer: e, content: s, volume: r, showVolume: c }) => /* @__PURE__ */ o.jsxs("div", { className: a1.grid, children: [
3224
+ }, ne = ({ header: t, footer: e, content: s, volume: r, showVolume: c }) => /* @__PURE__ */ o.jsxs("div", { className: a1.grid, children: [
3221
3225
  /* @__PURE__ */ o.jsx("div", { className: a1.header, children: t }),
3222
3226
  /* @__PURE__ */ o.jsx("div", { className: a1.content, children: s }),
3223
3227
  c && /* @__PURE__ */ o.jsx("div", { className: a1.volume, children: r }),
3224
3228
  /* @__PURE__ */ o.jsx("div", { className: a1.footer, children: e })
3225
- ] }), $8 = "_grid_11w5q_1", P8 = "_header_11w5q_11", T8 = "_content_11w5q_17", p1 = {
3226
- grid: $8,
3227
- header: P8,
3228
- content: T8,
3229
+ ] }), T8 = "_grid_11w5q_1", $8 = "_header_11w5q_11", P8 = "_content_11w5q_17", p1 = {
3230
+ grid: T8,
3231
+ header: $8,
3232
+ content: P8,
3229
3233
  "left-nav": "_left-nav_11w5q_23"
3230
- }, ne = ({ className: t, header: e, content: s, leftNav: r }) => /* @__PURE__ */ o.jsxs("div", { className: `${t} ${p1.grid}`, children: [
3234
+ }, re = ({ className: t, header: e, content: s, leftNav: r }) => /* @__PURE__ */ o.jsxs("div", { className: `${t} ${p1.grid}`, children: [
3231
3235
  /* @__PURE__ */ o.jsx("div", { className: p1.header, children: e }),
3232
3236
  r && /* @__PURE__ */ o.jsx("div", { className: p1.leftNav, children: r }),
3233
3237
  /* @__PURE__ */ o.jsx("div", { className: p1.content, children: s })
@@ -3235,30 +3239,30 @@ const y8 = "_grid_1cmpp_1", R8 = "_header_1cmpp_11", E8 = "_content_1cmpp_17", _
3235
3239
  grid: D8,
3236
3240
  header: A8,
3237
3241
  content: B8
3238
- }, re = ({ className: t, header: e, content: s }) => /* @__PURE__ */ o.jsxs("div", { className: `${t} ${L1.grid}`, children: [
3242
+ }, ce = ({ className: t, header: e, content: s }) => /* @__PURE__ */ o.jsxs("div", { className: `${t} ${L1.grid}`, children: [
3239
3243
  /* @__PURE__ */ o.jsx("div", { className: L1.header, children: e }),
3240
3244
  /* @__PURE__ */ o.jsx("div", { className: L1.content, children: s })
3241
3245
  ] });
3242
- function ce() {
3246
+ function le() {
3243
3247
  return console.log(location.pathname), location.pathname;
3244
3248
  }
3245
3249
  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 {
3250
+ class ie {
3247
3251
  constructor(e, s) {
3248
3252
  V(this, "path");
3249
3253
  V(this, "handler");
3250
3254
  this.path = e, this.handler = s;
3251
3255
  }
3252
3256
  }
3253
- const ie = "$off";
3254
- class ae {
3257
+ const ae = "$off";
3258
+ class ue {
3255
3259
  constructor() {
3256
3260
  V(this, "name", "");
3257
3261
  V(this, "iconUrl", "");
3258
3262
  V(this, "channel", "");
3259
3263
  }
3260
3264
  }
3261
- class ue {
3265
+ class de {
3262
3266
  constructor() {
3263
3267
  V(this, "currentShareText");
3264
3268
  V(this, "enabled");
@@ -3266,9 +3270,9 @@ class ue {
3266
3270
  }
3267
3271
  }
3268
3272
  export {
3269
- R6 as Clock,
3273
+ E6 as Clock,
3270
3274
  O8 as DaysOfWeek,
3271
- te as ErrorBox,
3275
+ oe as ErrorBox,
3272
3276
  q2 as IconButton,
3273
3277
  Y2 as IconMultiAlert,
3274
3278
  z2 as IconMultiBan,
@@ -3295,75 +3299,75 @@ export {
3295
3299
  w8 as IconMultiShade,
3296
3300
  p8 as IconMultiSun,
3297
3301
  x8 as IconMultiUpArrow,
3298
- M8 as IconMultiVolDown,
3299
- m8 as IconMultiVolMute,
3302
+ m8 as IconMultiVolDown,
3303
+ M8 as IconMultiVolMute,
3300
3304
  Z8 as IconMultiVolUp,
3301
3305
  j8 as IconMultiWireless,
3302
3306
  C8 as IconMultiX,
3303
3307
  S8 as IconMultiXbox,
3304
- se as MainLayout,
3305
- le as MessageHandler,
3306
- p6 as MobileControlProvider,
3308
+ ne as MainLayout,
3309
+ ie as MessageHandler,
3310
+ x6 as MobileControlProvider,
3307
3311
  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,
3312
+ se as NamedIconButton,
3313
+ ue as PresetChannel,
3314
+ de as ShareState,
3315
+ re as TechLayout,
3316
+ ce as TechPinLayout,
3317
+ le as getBaseLocation,
3318
+ T1 as httpClient,
3319
+ ae as roomOffSourceKey,
3320
+ M as store,
3317
3321
  q as uiActions,
3318
- M2 as uiReducer,
3322
+ m2 as uiReducer,
3319
3323
  K8 as useApiPath,
3320
3324
  a2 as useAppConfig,
3321
3325
  i2 as useAppDispatch,
3322
- p as useAppSelector,
3326
+ w as useAppSelector,
3323
3327
  M6 as useAvrControl,
3324
3328
  b2 as useClientId,
3325
- F2 as useDeviceIBasicVolumeWithFeedback,
3326
- m6 as useEndpoint,
3329
+ W2 as useDeviceIBasicVolumeWithFeedback,
3330
+ Z6 as useEndpoint,
3327
3331
  E2 as useError,
3328
- z6 as useGetAllDeviceStateFromRoomConfiguration,
3332
+ J6 as useGetAllDeviceStateFromRoomConfiguration,
3329
3333
  u2 as useGetAllDevices,
3330
3334
  f6 as useGetCurrentPopoverIdForGroup,
3331
- $ as useGetDevice,
3332
- x6 as useGetIBasicVolumeWithFeedback,
3335
+ T as useGetDevice,
3336
+ m6 as useGetIBasicVolumeWithFeedback,
3333
3337
  l6 as useGetRoomDisplayStates,
3334
3338
  i6 as useGetZoomRoomControllerKey,
3335
3339
  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,
3340
+ j6 as useIChannelMessenger,
3341
+ C6 as useIColor,
3342
+ S6 as useICommunicationMonitor,
3343
+ b6 as useIDPad,
3344
+ I6 as useIDeviceInfoMessenger,
3345
+ y6 as useIDspPresets,
3346
+ R6 as useIDvr,
3347
+ _6 as useIEssentialsRoomCombiner,
3348
+ m3 as useIHasPowerControl,
3349
+ P1 as useIHasSelectableItems,
3350
+ L6 as useILevelControls,
3351
+ T6 as useILightingScenes,
3348
3352
  $6 as useIMatrixRouting,
3349
3353
  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,
3354
+ D6 as useINumeric,
3355
+ A6 as useIProjectorScreenLiftControl,
3356
+ B6 as useIRoomEventSchedule,
3357
+ Y6 as useIRunDefaultPresentRoute,
3358
+ O6 as useIRunDirectRouteAction,
3359
+ V6 as useIRunRouteAction,
3360
+ k6 as useISetTopBoxControls,
3361
+ U6 as useIShadesOpenCloseStop,
3362
+ W6 as useIShutdownPromptTimer,
3359
3363
  F6 as useISwitchedOutput,
3360
- W6 as useITechPassword,
3361
- Y6 as useITheme,
3362
- H6 as useITransport,
3364
+ H6 as useITechPassword,
3365
+ z6 as useITheme,
3366
+ K6 as useITransport,
3363
3367
  L2 as useInitialize,
3364
3368
  d6 as useIsTouchpanel,
3365
- K6 as useMobileControlTouchpanelController,
3366
- N6 as useOverflow,
3369
+ G6 as useMobileControlTouchpanelController,
3370
+ ee as useOverflow,
3367
3371
  U2 as usePressHoldRelease,
3368
3372
  r6 as useRoomAdvancedSharingActive,
3369
3373
  z8 as useRoomAudioControlPointList,
@@ -3372,7 +3376,7 @@ export {
3372
3376
  X8 as useRoomDestinationList,
3373
3377
  J8 as useRoomDestinations,
3374
3378
  Q8 as useRoomEnvironmentalDevices,
3375
- J6 as useRoomIBasicVolumeWithFeedback,
3379
+ X6 as useRoomIBasicVolumeWithFeedback,
3376
3380
  t6 as useRoomInCall,
3377
3381
  s6 as useRoomIsCoolingDown,
3378
3382
  n6 as useRoomIsOn,
@@ -3386,18 +3390,19 @@ export {
3386
3390
  D1 as useRoomState,
3387
3391
  Z2 as useRoomVolume,
3388
3392
  a6 as useRuntimeInfo,
3389
- ee as useScroll,
3393
+ te as useScroll,
3390
3394
  R2 as useServerIsRunningOnProcessorHardware,
3391
3395
  v6 as useShowIncomingCallModal,
3392
3396
  g6 as useShowModal,
3393
3397
  w6 as useShowPopoverById,
3394
3398
  _2 as useShowReconnect,
3395
3399
  h6 as useShowShutdownModal,
3396
- X6 as useSystemControl,
3400
+ Q6 as useSystemControl,
3397
3401
  I2 as useSystemUuid,
3398
- Q6 as useTimeAndDate,
3402
+ p6 as useTheme,
3403
+ N6 as useTimeAndDate,
3399
3404
  u6 as useTouchpanelKey,
3400
- G6 as useTwoWayDisplayBase,
3405
+ q6 as useTwoWayDisplayBase,
3401
3406
  y2 as useUserCode,
3402
3407
  I as useWebsocketContext,
3403
3408
  C2 as useWsIsConnected