@pepperdash/mobile-control-react-app-core 1.20.17 → 1.21.0-1.21.0-feature-useCameraBase-and-onPressedButNotHeld.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.
Files changed (63) hide show
  1. package/dist/mobile-control-react-app-core.es.js +381 -317
  2. package/dist/mobile-control-react-app-core.umd.js +9 -9
  3. package/dist/shared/hooks/interfaces/index.d.ts +37 -35
  4. package/dist/shared/hooks/interfaces/index.d.ts.map +1 -1
  5. package/dist/shared/hooks/interfaces/useIDspPresets.d.ts +1 -1
  6. package/dist/shared/hooks/interfaces/useIDspPresets.d.ts.map +1 -1
  7. package/dist/shared/hooks/interfaces/useIHasCameras.d.ts +7 -0
  8. package/dist/shared/hooks/interfaces/useIHasCameras.d.ts.map +1 -0
  9. package/dist/shared/hooks/interfaces/useIRunDirectRouteAction.d.ts +1 -1
  10. package/dist/shared/hooks/interfaces/useIRunDirectRouteAction.d.ts.map +1 -1
  11. package/dist/store/index.d.ts +5 -0
  12. package/dist/store/index.d.ts.map +1 -1
  13. package/dist/store/runtimeConfig/runtimeConfig.slice.d.ts +0 -16
  14. package/dist/store/runtimeConfig/runtimeConfig.slice.d.ts.map +1 -1
  15. package/dist/types/interfaces/IKeyName.d.ts +0 -1
  16. package/dist/types/interfaces/IKeyName.d.ts.map +1 -1
  17. package/dist/types/state/DestinationListItem.d.ts +113 -0
  18. package/dist/types/state/DestinationListItem.d.ts.map +1 -1
  19. package/dist/types/state/LevelControlListItem.d.ts +1 -1
  20. package/dist/types/state/LevelControlListItem.d.ts.map +1 -1
  21. package/dist/types/state/PresetListItem.d.ts +1 -1
  22. package/dist/types/state/PresetListItem.d.ts.map +1 -1
  23. package/dist/types/state/environment/index.d.ts +9 -0
  24. package/dist/types/state/environment/index.d.ts.map +1 -0
  25. package/dist/types/state/index.d.ts +12 -3
  26. package/dist/types/state/index.d.ts.map +1 -1
  27. package/dist/types/state/sourceListItem.d.ts +137 -0
  28. package/dist/types/state/sourceListItem.d.ts.map +1 -1
  29. package/dist/types/state/state/DeviceState.d.ts +0 -5
  30. package/dist/types/state/state/DeviceState.d.ts.map +1 -1
  31. package/dist/types/state/state/DisplayState.d.ts +98 -5
  32. package/dist/types/state/state/DisplayState.d.ts.map +1 -1
  33. package/dist/types/state/state/ICurrentSourcesState.d.ts +19 -0
  34. package/dist/types/state/state/ICurrentSourcesState.d.ts.map +1 -0
  35. package/dist/types/state/state/IHasCamerasState.d.ts +10 -0
  36. package/dist/types/state/state/IHasCamerasState.d.ts.map +1 -0
  37. package/dist/types/state/state/IHasCurrentSourceInfoChangeState.d.ts +14 -2
  38. package/dist/types/state/state/IHasCurrentSourceInfoChangeState.d.ts.map +1 -1
  39. package/dist/types/state/state/IHasSelectableItemsState.d.ts +2 -1
  40. package/dist/types/state/state/IHasSelectableItemsState.d.ts.map +1 -1
  41. package/dist/types/state/state/MatrixRoutingState.d.ts +1 -1
  42. package/dist/types/state/state/MatrixRoutingState.d.ts.map +1 -1
  43. package/dist/types/state/state/RoomState.d.ts +2 -2
  44. package/dist/types/state/state/RoomState.d.ts.map +1 -1
  45. package/dist/types/state/state/RoutingState.d.ts +1 -1
  46. package/dist/types/state/state/RoutingState.d.ts.map +1 -1
  47. package/dist/types/state/state/index.d.ts +4 -2
  48. package/dist/types/state/state/index.d.ts.map +1 -1
  49. package/dist/types/state/volume/index.d.ts +10 -0
  50. package/dist/types/state/volume/index.d.ts.map +1 -0
  51. package/dist/types/state/volume/volumes.d.ts +0 -1
  52. package/dist/types/state/volume/volumes.d.ts.map +1 -1
  53. package/dist/utils/WebsocketContext.d.ts +1 -2
  54. package/dist/utils/WebsocketContext.d.ts.map +1 -1
  55. package/dist/utils/WebsocketProvider.d.ts +1 -1
  56. package/dist/utils/WebsocketProvider.d.ts.map +1 -1
  57. package/dist/utils/index.d.ts +3 -2
  58. package/dist/utils/index.d.ts.map +1 -1
  59. package/dist/utils/useWebsocketContext.d.ts.map +1 -1
  60. package/package.json +6 -3
  61. package/dist/types/state/state/CamerasState.d.ts +0 -13
  62. package/dist/types/state/state/CamerasState.d.ts.map +0 -1
  63. /package/dist/{mobile-control-react-app-core.css → style.css} +0 -0
@@ -26,7 +26,7 @@ const w2 = r2.withTypes(), w = l2.withTypes(), j1 = (e) => e.appConfig, p2 = p(
26
26
  m3,
27
27
  (t) => t[e] ? t[e] : void 0
28
28
  ), U6 = () => w(Z3);
29
- function _(e) {
29
+ function y(e) {
30
30
  return w(j2(e));
31
31
  }
32
32
  const L = (e) => e.rooms, C2 = (e) => p(
@@ -53,19 +53,19 @@ const L = (e) => e.rooms, C2 = (e) => p(
53
53
  var o, c;
54
54
  return t[e] ? (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.sourceList : void 0;
55
55
  }
56
- ), T2 = (e) => p(
56
+ ), P2 = (e) => p(
57
57
  L,
58
58
  (t) => {
59
59
  var o, c;
60
60
  return t[e] ? (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.audioControlPointList : void 0;
61
61
  }
62
- ), _2 = (e) => p(
62
+ ), T2 = (e) => p(
63
63
  L,
64
64
  (t) => {
65
65
  var o, c;
66
66
  return t[e] ? (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.destinations : void 0;
67
67
  }
68
- ), P2 = (e) => p(
68
+ ), _2 = (e) => p(
69
69
  L,
70
70
  (t) => {
71
71
  var o, c;
@@ -80,8 +80,8 @@ const L = (e) => e.rooms, C2 = (e) => p(
80
80
  ), D2 = (e) => p(
81
81
  L,
82
82
  (t) => {
83
- var o, c, r, i, d, a, f, x;
84
- return (c = (o = t[e]) == null ? void 0 : o.configuration) != null && c.destinationList.programAudio ? (d = (i = (r = t[e]) == null ? void 0 : r.configuration) == null ? void 0 : i.destinationList.programAudio) == null ? void 0 : d.sinkKey : ((x = (f = (a = t[e]) == null ? void 0 : a.configuration) == null ? void 0 : f.destinationList.defaultDisplay) == null ? void 0 : x.sinkKey) || "";
83
+ var o, c, r, i, d, a, g, x;
84
+ return (c = (o = t[e]) == null ? void 0 : o.configuration) != null && c.destinationList.programAudio ? (d = (i = (r = t[e]) == null ? void 0 : r.configuration) == null ? void 0 : i.destinationList.programAudio) == null ? void 0 : d.sinkKey : ((x = (g = (a = t[e]) == null ? void 0 : a.configuration) == null ? void 0 : g.destinationList.defaultDisplay) == null ? void 0 : x.sinkKey) || "";
85
85
  }
86
86
  ), $2 = (e) => p(
87
87
  L,
@@ -161,7 +161,7 @@ const H6 = C1, K6 = (e) => w(
161
161
  I2(e)
162
162
  ), H2 = (e, t) => w(
163
163
  R2(e, t)
164
- ), K2 = (e) => w(y2(e)) || void 0, G6 = (e) => w(E2(e)), q6 = (e) => w(T2(e)), Y6 = (e) => w(_2(e)), z6 = (e) => w(P2(e)), J6 = (e) => w(L2(e)), X6 = (e) => w(D2(e)), Q6 = (e) => w($2(e)), N6 = (e) => w(A2(e)), ee = (e) => w(B2(e)), te = (e) => w(O2(e)), se = (e) => w(V2(e)), oe = (e) => w(k2(e)), ne = (e) => w(U2(e)), ce = (e) => w((t) => F2(t, e)), re = (e) => w(W2(e)), J = (e) => e.runtimeConfig, G2 = p(
164
+ ), K2 = (e) => w(y2(e)) || void 0, G6 = (e) => w(E2(e)), q6 = (e) => w(P2(e)), Y6 = (e) => w(T2(e)), z6 = (e) => w(_2(e)), J6 = (e) => w(L2(e)), X6 = (e) => w(D2(e)), Q6 = (e) => w($2(e)), N6 = (e) => w(A2(e)), ee = (e) => w(B2(e)), te = (e) => w(O2(e)), se = (e) => w(V2(e)), oe = (e) => w(k2(e)), ne = (e) => w(U2(e)), ce = (e) => w((t) => F2(t, e)), re = (e) => w(W2(e)), J = (e) => e.runtimeConfig, G2 = p(
165
165
  J,
166
166
  (e) => e.websocket.isConnected
167
167
  ), q2 = p(
@@ -411,12 +411,12 @@ function S8() {
411
411
  if (v3) return u1;
412
412
  v3 = 1;
413
413
  var e = p3, t = Symbol.for("react.element"), o = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, r = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
414
- function d(a, f, x) {
415
- var h, R = {}, D = null, F = null;
416
- x !== void 0 && (D = "" + x), f.key !== void 0 && (D = "" + f.key), f.ref !== void 0 && (F = f.ref);
417
- for (h in f) c.call(f, h) && !i.hasOwnProperty(h) && (R[h] = f[h]);
418
- if (a && a.defaultProps) for (h in f = a.defaultProps, f) R[h] === void 0 && (R[h] = f[h]);
419
- return { $$typeof: t, type: a, key: D, ref: F, props: R, _owner: r.current };
414
+ function d(a, g, x) {
415
+ var h, I = {}, D = null, F = null;
416
+ x !== void 0 && (D = "" + x), g.key !== void 0 && (D = "" + g.key), g.ref !== void 0 && (F = g.ref);
417
+ for (h in g) c.call(g, h) && !i.hasOwnProperty(h) && (I[h] = g[h]);
418
+ if (a && a.defaultProps) for (h in g = a.defaultProps, g) I[h] === void 0 && (I[h] = g[h]);
419
+ return { $$typeof: t, type: a, key: D, ref: F, props: I, _owner: r.current };
420
420
  }
421
421
  return u1.Fragment = o, u1.jsx = d, u1.jsxs = d, u1;
422
422
  }
@@ -433,7 +433,7 @@ var d1 = {};
433
433
  var g3;
434
434
  function b8() {
435
435
  return g3 || (g3 = 1, process.env.NODE_ENV !== "production" && function() {
436
- var e = p3, t = Symbol.for("react.element"), o = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), a = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), x = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), R = Symbol.for("react.memo"), D = Symbol.for("react.lazy"), F = Symbol.for("react.offscreen"), k = Symbol.iterator, X = "@@iterator";
436
+ var e = p3, t = Symbol.for("react.element"), o = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), a = Symbol.for("react.context"), g = Symbol.for("react.forward_ref"), x = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), I = Symbol.for("react.memo"), D = Symbol.for("react.lazy"), F = Symbol.for("react.offscreen"), k = Symbol.iterator, X = "@@iterator";
437
437
  function r1(n) {
438
438
  if (n === null || typeof n != "object")
439
439
  return null;
@@ -443,34 +443,34 @@ function b8() {
443
443
  var $ = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
444
444
  function A(n) {
445
445
  {
446
- for (var l = arguments.length, u = new Array(l > 1 ? l - 1 : 0), v = 1; v < l; v++)
447
- u[v - 1] = arguments[v];
446
+ for (var l = arguments.length, u = new Array(l > 1 ? l - 1 : 0), f = 1; f < l; f++)
447
+ u[f - 1] = arguments[f];
448
448
  S1("error", n, u);
449
449
  }
450
450
  }
451
451
  function S1(n, l, u) {
452
452
  {
453
- var v = $.ReactDebugCurrentFrame, S = v.getStackAddendum();
453
+ var f = $.ReactDebugCurrentFrame, S = f.getStackAddendum();
454
454
  S !== "" && (l += "%s", u = u.concat([S]));
455
- var I = u.map(function(Z) {
455
+ var R = u.map(function(Z) {
456
456
  return String(Z);
457
457
  });
458
- I.unshift("Warning: " + l), Function.prototype.apply.call(console[n], console, I);
458
+ R.unshift("Warning: " + l), Function.prototype.apply.call(console[n], console, R);
459
459
  }
460
460
  }
461
- var b1 = !1, y = !1, C = !1, f1 = !1, I1 = !1, Y;
461
+ var b1 = !1, E = !1, C = !1, f1 = !1, I1 = !1, Y;
462
462
  Y = Symbol.for("react.module.reference");
463
463
  function B(n) {
464
- return !!(typeof n == "string" || typeof n == "function" || n === c || n === i || I1 || n === r || n === x || n === h || f1 || n === F || b1 || y || C || typeof n == "object" && n !== null && (n.$$typeof === D || n.$$typeof === R || n.$$typeof === d || n.$$typeof === a || n.$$typeof === f || // This needs to include all possible module reference object
464
+ return !!(typeof n == "string" || typeof n == "function" || n === c || n === i || I1 || n === r || n === x || n === h || f1 || n === F || b1 || E || C || typeof n == "object" && n !== null && (n.$$typeof === D || n.$$typeof === I || n.$$typeof === d || n.$$typeof === a || n.$$typeof === g || // This needs to include all possible module reference object
465
465
  // types supported by any Flight configuration anywhere since
466
466
  // we don't know which Flight build this will end up being used
467
467
  // with.
468
468
  n.$$typeof === Y || n.getModuleId !== void 0));
469
469
  }
470
- function E(n, l, u) {
471
- var v = n.displayName;
472
- if (v)
473
- return v;
470
+ function P(n, l, u) {
471
+ var f = n.displayName;
472
+ if (f)
473
+ return f;
474
474
  var S = l.displayName || l.name || "";
475
475
  return S !== "" ? u + "(" + S + ")" : u;
476
476
  }
@@ -506,15 +506,15 @@ function b8() {
506
506
  case d:
507
507
  var u = n;
508
508
  return t1(u._context) + ".Provider";
509
- case f:
510
- return E(n, n.render, "ForwardRef");
511
- case R:
512
- var v = n.displayName || null;
513
- return v !== null ? v : K(n.type) || "Memo";
509
+ case g:
510
+ return P(n, n.render, "ForwardRef");
511
+ case I:
512
+ var f = n.displayName || null;
513
+ return f !== null ? f : K(n.type) || "Memo";
514
514
  case D: {
515
- var S = n, I = S._payload, Z = S._init;
515
+ var S = n, R = S._payload, Z = S._init;
516
516
  try {
517
- return K(Z(I));
517
+ return K(Z(R));
518
518
  } catch {
519
519
  return null;
520
520
  }
@@ -549,7 +549,7 @@ function b8() {
549
549
  l1++;
550
550
  }
551
551
  }
552
- function T3() {
552
+ function P3() {
553
553
  {
554
554
  if (l1--, l1 === 0) {
555
555
  var n = {
@@ -591,8 +591,8 @@ function b8() {
591
591
  try {
592
592
  throw Error();
593
593
  } catch (S) {
594
- var v = S.stack.trim().match(/\n( *(at )?)/);
595
- y1 = v && v[1] || "";
594
+ var f = S.stack.trim().match(/\n( *(at )?)/);
595
+ y1 = f && f[1] || "";
596
596
  }
597
597
  return `
598
598
  ` + y1 + n;
@@ -600,8 +600,8 @@ function b8() {
600
600
  }
601
601
  var E1 = !1, p1;
602
602
  {
603
- var _3 = typeof WeakMap == "function" ? WeakMap : Map;
604
- p1 = new _3();
603
+ var T3 = typeof WeakMap == "function" ? WeakMap : Map;
604
+ p1 = new T3();
605
605
  }
606
606
  function J1(n, l) {
607
607
  if (!n || E1)
@@ -611,12 +611,12 @@ function b8() {
611
611
  if (u !== void 0)
612
612
  return u;
613
613
  }
614
- var v;
614
+ var f;
615
615
  E1 = !0;
616
616
  var S = Error.prepareStackTrace;
617
617
  Error.prepareStackTrace = void 0;
618
- var I;
619
- I = R1.current, R1.current = null, E3();
618
+ var R;
619
+ R = R1.current, R1.current = null, E3();
620
620
  try {
621
621
  if (l) {
622
622
  var Z = function() {
@@ -630,14 +630,14 @@ function b8() {
630
630
  try {
631
631
  Reflect.construct(Z, []);
632
632
  } catch (V) {
633
- v = V;
633
+ f = V;
634
634
  }
635
635
  Reflect.construct(n, [], Z);
636
636
  } else {
637
637
  try {
638
638
  Z.call();
639
639
  } catch (V) {
640
- v = V;
640
+ f = V;
641
641
  }
642
642
  n.call(Z.prototype);
643
643
  }
@@ -645,36 +645,36 @@ function b8() {
645
645
  try {
646
646
  throw Error();
647
647
  } catch (V) {
648
- v = V;
648
+ f = V;
649
649
  }
650
650
  n();
651
651
  }
652
652
  } catch (V) {
653
- if (V && v && typeof V.stack == "string") {
653
+ if (V && f && typeof V.stack == "string") {
654
654
  for (var M = V.stack.split(`
655
- `), O = v.stack.split(`
656
- `), T = M.length - 1, P = O.length - 1; T >= 1 && P >= 0 && M[T] !== O[P]; )
657
- P--;
658
- for (; T >= 1 && P >= 0; T--, P--)
659
- if (M[T] !== O[P]) {
660
- if (T !== 1 || P !== 1)
655
+ `), O = f.stack.split(`
656
+ `), T = M.length - 1, _ = O.length - 1; T >= 1 && _ >= 0 && M[T] !== O[_]; )
657
+ _--;
658
+ for (; T >= 1 && _ >= 0; T--, _--)
659
+ if (M[T] !== O[_]) {
660
+ if (T !== 1 || _ !== 1)
661
661
  do
662
- if (T--, P--, P < 0 || M[T] !== O[P]) {
662
+ if (T--, _--, _ < 0 || M[T] !== O[_]) {
663
663
  var U = `
664
664
  ` + M[T].replace(" at new ", " at ");
665
665
  return n.displayName && U.includes("<anonymous>") && (U = U.replace("<anonymous>", n.displayName)), typeof n == "function" && p1.set(n, U), U;
666
666
  }
667
- while (T >= 1 && P >= 0);
667
+ while (T >= 1 && _ >= 0);
668
668
  break;
669
669
  }
670
670
  }
671
671
  } finally {
672
- E1 = !1, R1.current = I, T3(), Error.prepareStackTrace = S;
672
+ E1 = !1, R1.current = R, P3(), Error.prepareStackTrace = S;
673
673
  }
674
674
  var o1 = n ? n.displayName || n.name : "", Q = o1 ? w1(o1) : "";
675
675
  return typeof n == "function" && p1.set(n, Q), Q;
676
676
  }
677
- function P3(n, l, u) {
677
+ function _3(n, l, u) {
678
678
  return J1(n, !1);
679
679
  }
680
680
  function L3(n) {
@@ -696,14 +696,14 @@ function b8() {
696
696
  }
697
697
  if (typeof n == "object")
698
698
  switch (n.$$typeof) {
699
- case f:
700
- return P3(n.render);
701
- case R:
699
+ case g:
700
+ return _3(n.render);
701
+ case I:
702
702
  return x1(n.type, l, u);
703
703
  case D: {
704
- var v = n, S = v._payload, I = v._init;
704
+ var f = n, S = f._payload, R = f._init;
705
705
  try {
706
- return x1(I(S), l, u);
706
+ return x1(R(S), l, u);
707
707
  } catch {
708
708
  }
709
709
  }
@@ -718,27 +718,27 @@ function b8() {
718
718
  } else
719
719
  Q1.setExtraStackFrame(null);
720
720
  }
721
- function D3(n, l, u, v, S) {
721
+ function D3(n, l, u, f, S) {
722
722
  {
723
- var I = Function.call.bind(i1);
723
+ var R = Function.call.bind(i1);
724
724
  for (var Z in n)
725
- if (I(n, Z)) {
725
+ if (R(n, Z)) {
726
726
  var M = void 0;
727
727
  try {
728
728
  if (typeof n[Z] != "function") {
729
- var O = Error((v || "React class") + ": " + u + " type `" + Z + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof n[Z] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
729
+ var O = Error((f || "React class") + ": " + u + " type `" + Z + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof n[Z] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
730
730
  throw O.name = "Invariant Violation", O;
731
731
  }
732
- M = n[Z](l, Z, v, u, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
732
+ M = n[Z](l, Z, f, u, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
733
733
  } catch (T) {
734
734
  M = T;
735
735
  }
736
- M && !(M instanceof Error) && (M1(S), A("%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).", v || "React class", u, Z, typeof M), M1(null)), M instanceof Error && !(M.message in X1) && (X1[M.message] = !0, M1(S), A("Failed %s type: %s", u, M.message), M1(null));
736
+ M && !(M instanceof Error) && (M1(S), A("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", f || "React class", u, Z, typeof M), M1(null)), M instanceof Error && !(M.message in X1) && (X1[M.message] = !0, M1(S), A("Failed %s type: %s", u, M.message), M1(null));
737
737
  }
738
738
  }
739
739
  }
740
740
  var $3 = Array.isArray;
741
- function T1(n) {
741
+ function P1(n) {
742
742
  return $3(n);
743
743
  }
744
744
  function A3(n) {
@@ -808,7 +808,7 @@ function b8() {
808
808
  });
809
809
  }
810
810
  }
811
- var H3 = function(n, l, u, v, S, I, Z) {
811
+ var H3 = function(n, l, u, f, S, R, Z) {
812
812
  var M = {
813
813
  // This tag allows us to uniquely identify this as a React Element
814
814
  $$typeof: t,
@@ -818,7 +818,7 @@ function b8() {
818
818
  ref: u,
819
819
  props: Z,
820
820
  // Record the component responsible for creating this element.
821
- _owner: I
821
+ _owner: R
822
822
  };
823
823
  return M._store = {}, Object.defineProperty(M._store, "validated", {
824
824
  configurable: !1,
@@ -829,7 +829,7 @@ function b8() {
829
829
  configurable: !1,
830
830
  enumerable: !1,
831
831
  writable: !1,
832
- value: v
832
+ value: f
833
833
  }), Object.defineProperty(M, "_source", {
834
834
  configurable: !1,
835
835
  enumerable: !1,
@@ -837,25 +837,25 @@ function b8() {
837
837
  value: S
838
838
  }), Object.freeze && (Object.freeze(M.props), Object.freeze(M)), M;
839
839
  };
840
- function K3(n, l, u, v, S) {
840
+ function K3(n, l, u, f, S) {
841
841
  {
842
- var I, Z = {}, M = null, O = null;
842
+ var R, Z = {}, M = null, O = null;
843
843
  u !== void 0 && (e3(u), M = "" + u), k3(l) && (e3(l.key), M = "" + l.key), V3(l) && (O = l.ref, U3(l, S));
844
- for (I in l)
845
- i1.call(l, I) && !O3.hasOwnProperty(I) && (Z[I] = l[I]);
844
+ for (R in l)
845
+ i1.call(l, R) && !O3.hasOwnProperty(R) && (Z[R] = l[R]);
846
846
  if (n && n.defaultProps) {
847
847
  var T = n.defaultProps;
848
- for (I in T)
849
- Z[I] === void 0 && (Z[I] = T[I]);
848
+ for (R in T)
849
+ Z[R] === void 0 && (Z[R] = T[R]);
850
850
  }
851
851
  if (M || O) {
852
- var P = typeof n == "function" ? n.displayName || n.name || "Unknown" : n;
853
- M && W3(Z, P), O && F3(Z, P);
852
+ var _ = typeof n == "function" ? n.displayName || n.name || "Unknown" : n;
853
+ M && W3(Z, _), O && F3(Z, _);
854
854
  }
855
- return H3(n, M, O, S, v, t3.current, Z);
855
+ return H3(n, M, O, S, f, t3.current, Z);
856
856
  }
857
857
  }
858
- var _1 = $.ReactCurrentOwner, n3 = $.ReactDebugCurrentFrame;
858
+ var T1 = $.ReactCurrentOwner, n3 = $.ReactDebugCurrentFrame;
859
859
  function s1(n) {
860
860
  if (n) {
861
861
  var l = n._owner, u = x1(n.type, n._source, l ? l.type : null);
@@ -863,15 +863,15 @@ function b8() {
863
863
  } else
864
864
  n3.setExtraStackFrame(null);
865
865
  }
866
- var P1;
867
- P1 = !1;
866
+ var _1;
867
+ _1 = !1;
868
868
  function L1(n) {
869
869
  return typeof n == "object" && n !== null && n.$$typeof === t;
870
870
  }
871
871
  function c3() {
872
872
  {
873
- if (_1.current) {
874
- var n = K(_1.current.type);
873
+ if (T1.current) {
874
+ var n = K(T1.current.type);
875
875
  if (n)
876
876
  return `
877
877
 
@@ -905,25 +905,25 @@ Check the top-level render call using <` + u + ">.");
905
905
  if (r3[u])
906
906
  return;
907
907
  r3[u] = !0;
908
- var v = "";
909
- n && n._owner && n._owner !== _1.current && (v = " It was passed a child from " + K(n._owner.type) + "."), s1(n), A('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', u, v), s1(null);
908
+ var f = "";
909
+ n && n._owner && n._owner !== T1.current && (f = " It was passed a child from " + K(n._owner.type) + "."), s1(n), A('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', u, f), s1(null);
910
910
  }
911
911
  }
912
912
  function i3(n, l) {
913
913
  {
914
914
  if (typeof n != "object")
915
915
  return;
916
- if (T1(n))
916
+ if (P1(n))
917
917
  for (var u = 0; u < n.length; u++) {
918
- var v = n[u];
919
- L1(v) && l3(v, l);
918
+ var f = n[u];
919
+ L1(f) && l3(f, l);
920
920
  }
921
921
  else if (L1(n))
922
922
  n._store && (n._store.validated = !0);
923
923
  else if (n) {
924
924
  var S = r1(n);
925
925
  if (typeof S == "function" && S !== n.entries)
926
- for (var I = S.call(n), Z; !(Z = I.next()).done; )
926
+ for (var R = S.call(n), Z; !(Z = R.next()).done; )
927
927
  L1(Z.value) && l3(Z.value, l);
928
928
  }
929
929
  }
@@ -936,17 +936,17 @@ Check the top-level render call using <` + u + ">.");
936
936
  var u;
937
937
  if (typeof l == "function")
938
938
  u = l.propTypes;
939
- else if (typeof l == "object" && (l.$$typeof === f || // Note: Memo only checks outer props here.
939
+ else if (typeof l == "object" && (l.$$typeof === g || // Note: Memo only checks outer props here.
940
940
  // Inner props are checked in the reconciler.
941
- l.$$typeof === R))
941
+ l.$$typeof === I))
942
942
  u = l.propTypes;
943
943
  else
944
944
  return;
945
945
  if (u) {
946
- var v = K(l);
947
- D3(u, n.props, "prop", v, n);
948
- } else if (l.PropTypes !== void 0 && !P1) {
949
- P1 = !0;
946
+ var f = K(l);
947
+ D3(u, n.props, "prop", f, n);
948
+ } else if (l.PropTypes !== void 0 && !_1) {
949
+ _1 = !0;
950
950
  var S = K(l);
951
951
  A("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", S || "Unknown");
952
952
  }
@@ -956,9 +956,9 @@ Check the top-level render call using <` + u + ">.");
956
956
  function z3(n) {
957
957
  {
958
958
  for (var l = Object.keys(n.props), u = 0; u < l.length; u++) {
959
- var v = l[u];
960
- if (v !== "children" && v !== "key") {
961
- s1(n), A("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", v), s1(null);
959
+ var f = l[u];
960
+ if (f !== "children" && f !== "key") {
961
+ s1(n), A("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", f), s1(null);
962
962
  break;
963
963
  }
964
964
  }
@@ -966,7 +966,7 @@ Check the top-level render call using <` + u + ">.");
966
966
  }
967
967
  }
968
968
  var a3 = {};
969
- function u3(n, l, u, v, S, I) {
969
+ function u3(n, l, u, f, S, R) {
970
970
  {
971
971
  var Z = B(n);
972
972
  if (!Z) {
@@ -975,16 +975,16 @@ Check the top-level render call using <` + u + ">.");
975
975
  var O = G3();
976
976
  O ? M += O : M += c3();
977
977
  var T;
978
- n === null ? T = "null" : T1(n) ? T = "array" : n !== void 0 && n.$$typeof === t ? (T = "<" + (K(n.type) || "Unknown") + " />", M = " Did you accidentally export a JSX literal instead of a component?") : T = typeof n, A("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", T, M);
978
+ n === null ? T = "null" : P1(n) ? T = "array" : n !== void 0 && n.$$typeof === t ? (T = "<" + (K(n.type) || "Unknown") + " />", M = " Did you accidentally export a JSX literal instead of a component?") : T = typeof n, A("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", T, M);
979
979
  }
980
- var P = K3(n, l, u, S, I);
981
- if (P == null)
982
- return P;
980
+ var _ = K3(n, l, u, S, R);
981
+ if (_ == null)
982
+ return _;
983
983
  if (Z) {
984
984
  var U = l.children;
985
985
  if (U !== void 0)
986
- if (v)
987
- if (T1(U)) {
986
+ if (f)
987
+ if (P1(U)) {
988
988
  for (var o1 = 0; o1 < U.length; o1++)
989
989
  i3(U[o1], n);
990
990
  Object.freeze && Object.freeze(U);
@@ -1007,7 +1007,7 @@ React keys must be passed directly to JSX without using spread:
1007
1007
  <%s key={someKey} {...props} />`, D1, Q, e2, Q), a3[Q + D1] = !0;
1008
1008
  }
1009
1009
  }
1010
- return n === c ? z3(P) : Y3(P), P;
1010
+ return n === c ? z3(_) : Y3(_), _;
1011
1011
  }
1012
1012
  }
1013
1013
  function J3(n, l, u) {
@@ -1041,7 +1041,7 @@ const R8 = "_mwfit_ppa3l_1", y8 = {
1041
1041
  }
1042
1042
  ) });
1043
1043
  };
1044
- class T8 {
1044
+ class P8 {
1045
1045
  constructor() {
1046
1046
  G(this, "uuid", "current-uuid");
1047
1047
  G(this, "roomKey", "current-room-key");
@@ -1049,61 +1049,74 @@ class T8 {
1049
1049
  G(this, "expiry", "current-uuid-expires");
1050
1050
  }
1051
1051
  }
1052
- const w3 = new T8(), I3 = d2({
1052
+ const w3 = new P8(), I3 = d2({
1053
1053
  sendMessage: () => null,
1054
1054
  sendSimpleMessage: () => null,
1055
1055
  addEventHandler: () => null,
1056
1056
  removeEventHandler: () => null,
1057
1057
  reconnect: () => null
1058
1058
  });
1059
- function _8(e) {
1059
+ function T8(e) {
1060
1060
  return sessionStorage.getItem(e) || "";
1061
1061
  }
1062
- function P8(e, t) {
1062
+ function _8(e, t) {
1063
1063
  sessionStorage.setItem(e, t);
1064
1064
  }
1065
1065
  const L8 = ({ children: e }) => {
1066
- const [t, o] = H(), c = j3(), r = t8(), i = s8(), d = C8(), a = Z2(), f = o8(), x = n8(), h = c8(), R = v1(null), [D, F] = H(), k = v1({}), X = a1(
1067
- async (y) => {
1066
+ const [t, o] = H(), c = j3(), r = t8(), i = s8(), d = C8(), a = Z2(), g = o8(), x = n8(), h = c8(), I = v1(null), [D, F] = H(), k = v1({}), X = a1(
1067
+ async (E) => {
1068
1068
  try {
1069
- const C = await V1.get(`${y}/ui/joinroom?token=${t}`);
1069
+ const C = await V1.get(
1070
+ `${E}/ui/joinroom?token=${t}`
1071
+ );
1070
1072
  return C.status === 200 && C.data ? (m.dispatch(W.setRoomData(C.data)), !0) : !1;
1071
1073
  } catch (C) {
1072
- return console.log(C), h ? !0 : C instanceof c2 && C.response && C.response.status === 498 ? (console.error("Invalid token. Unable to join room"), m.dispatch(q.setErrorMessage(`Token ${t} is invalid. Unable to join room`)), !1) : (console.error("Error getting room data", C), C instanceof Error ? m.dispatch(q.setErrorMessage(C.message)) : m.dispatch(q.setErrorMessage("Error getting room data")), !1);
1074
+ return console.log(C), h ? !0 : C instanceof c2 && C.response && C.response.status === 498 ? (console.error("Invalid token. Unable to join room"), m.dispatch(
1075
+ q.setErrorMessage(
1076
+ `Token ${t} is invalid. Unable to join room`
1077
+ )
1078
+ ), !1) : (console.error("Error getting room data", C), C instanceof Error ? m.dispatch(q.setErrorMessage(C.message)) : m.dispatch(q.setErrorMessage("Error getting room data")), !1);
1073
1079
  }
1074
1080
  },
1075
1081
  [t, h]
1076
1082
  ), r1 = a1(() => {
1077
- const y = `${a.gatewayAppPath}?uuid=${f}&roomKey=${r}`;
1078
- window.location.href = x ? `${y}&Code=${x}` : y;
1079
- }, [a.gatewayAppPath, r, f, x]), $ = a1(
1080
- (y, C) => {
1081
- R.current && c && R.current.send(JSON.stringify({ type: y, clientId: i, content: C }));
1083
+ const E = `${a.gatewayAppPath}?uuid=${g}&roomKey=${r}`;
1084
+ window.location.href = x ? `${E}&Code=${x}` : E;
1085
+ }, [a.gatewayAppPath, r, g, x]), $ = a1(
1086
+ (E, C) => {
1087
+ I.current && c && I.current.send(JSON.stringify({ type: E, clientId: i, content: C }));
1082
1088
  },
1083
1089
  [c, i]
1084
- ), A = (y, C) => {
1085
- $(y, { value: C });
1090
+ ), A = (E, C) => {
1091
+ $(E, { value: C });
1086
1092
  }, S1 = a1(
1087
- (y, C, f1) => {
1088
- k.current[y] || (k.current[y] = {}), k.current[y][C] = f1, console.log("event handler added", y, C);
1093
+ (E, C, f1) => {
1094
+ k.current[E] || (k.current[E] = {}), k.current[E][C] = f1, console.log("event handler added", E, C);
1089
1095
  },
1090
1096
  []
1091
- ), b1 = a1((y, C) => {
1092
- k.current[y] && (delete k.current[y][C], console.log("event handler removed", y, C));
1097
+ ), b1 = a1((E, C) => {
1098
+ k.current[E] && (delete k.current[E][C], console.log("event handler removed", E, C));
1093
1099
  }, []);
1094
1100
  return n1(() => {
1095
1101
  let C = new URLSearchParams(window.location.search).get("token");
1096
- C ? (console.log("saving token: ", C), P8(w3.uuid, C)) : (C = _8(w3.uuid), console.log("loading token: ", C)), o(C), d();
1097
- }, []), console.log("connection dependencies", a.apiPath, X, t, D, h), n1(() => {
1098
- async function y() {
1102
+ C ? (console.log("saving token: ", C), _8(w3.uuid, C)) : (C = T8(w3.uuid), console.log("loading token: ", C)), o(C), d();
1103
+ }, []), console.log(
1104
+ "connection dependencies",
1105
+ a.apiPath,
1106
+ X,
1107
+ t,
1108
+ D,
1109
+ h
1110
+ ), n1(() => {
1111
+ async function E() {
1099
1112
  if (console.log("Attempting to join websocket..."), !a.apiPath || D || !t || !await X(a.apiPath)) return;
1100
- if (R.current) {
1113
+ if (I.current) {
1101
1114
  console.log("websocket exists");
1102
1115
  return;
1103
1116
  }
1104
1117
  console.log("connecting to websocket");
1105
1118
  const I1 = `${a.apiPath.replace("http", "ws")}/ui/join/${t}`, Y = new WebSocket(I1);
1106
- R.current = Y, Y.onopen = (B) => {
1119
+ I.current = Y, Y.onopen = (B) => {
1107
1120
  console.log("connected", B.type, B.target), m.dispatch(W.setWebsocketIsConnected(!0));
1108
1121
  }, Y.onerror = (B) => {
1109
1122
  console.error("Websocket error", B);
@@ -1113,18 +1126,32 @@ const L8 = ({ children: e }) => {
1113
1126
  return;
1114
1127
  }
1115
1128
  if (F(!0), B.code === 4e3) {
1116
- 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());
1129
+ console.log("user code changed"), m.dispatch(
1130
+ W.setUserCode({ userCode: "", qrUrl: "" })
1131
+ ), m.dispatch(
1132
+ q.setErrorMessage(
1133
+ "User code changed. Click reconnect to enter the new code"
1134
+ )
1135
+ ), m.dispatch(q.setShowReconnect(!0)), m.dispatch(W.setWebsocketIsConnected(!1)), m.dispatch(N.clearDevices()), m.dispatch(e1.clearRooms());
1117
1136
  return;
1118
1137
  }
1119
1138
  if (B.code === 4001 && !h) {
1120
- 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());
1139
+ console.log("processor disconnected"), m.dispatch(
1140
+ q.setErrorMessage(
1141
+ "Processor has disconnected. Click Reconnect"
1142
+ )
1143
+ ), m.dispatch(q.setShowReconnect(!0)), m.dispatch(W.setWebsocketIsConnected(!1)), m.dispatch(N.clearDevices()), m.dispatch(e1.clearRooms());
1121
1144
  return;
1122
1145
  }
1123
1146
  if (B.code === 4002) {
1124
- 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());
1147
+ console.log("room combination changed"), m.dispatch(
1148
+ q.setErrorMessage(
1149
+ "Room combination changed. Click Reconnect to re-join the room"
1150
+ )
1151
+ ), m.dispatch(q.setShowReconnect(!0)), m.dispatch(W.setWebsocketIsConnected(!1)), m.dispatch(N.clearDevices()), m.dispatch(e1.clearRooms());
1125
1152
  return;
1126
1153
  }
1127
- if (R.current)
1154
+ if (I.current)
1128
1155
  console.log("WebSocket closed by server.");
1129
1156
  else {
1130
1157
  console.log("WebSocket closed by client.");
@@ -1133,62 +1160,66 @@ const L8 = ({ children: e }) => {
1133
1160
  console.log("websocket waitingToReconnect", D), !D && (console.log("websocket clearing state on disconnect"), m.dispatch(W.setWebsocketIsConnected(!1)), m.dispatch(N.clearDevices()), m.dispatch(e1.clearRooms()), setTimeout(() => F(void 0), 5e3));
1134
1161
  }, Y.onmessage = (B) => {
1135
1162
  try {
1136
- const E = JSON.parse(B.data);
1137
- if (console.log(E), E.type === "close") {
1138
- Y.close(4001, E.content);
1163
+ const P = JSON.parse(B.data);
1164
+ if (console.log(P), P.type === "close") {
1165
+ Y.close(4001, P.content);
1139
1166
  return;
1140
1167
  }
1141
- if (E.type.startsWith("/system/"))
1142
- switch (E.type) {
1168
+ if (P.type.startsWith("/system/"))
1169
+ switch (P.type) {
1143
1170
  case "/system/touchpanelKey":
1144
1171
  m.dispatch(
1145
1172
  W.setTouchpanelKey(
1146
- E.content
1173
+ P.content
1147
1174
  )
1148
1175
  );
1149
1176
  break;
1150
1177
  case "/system/roomKey": {
1151
1178
  m.dispatch(e1.clearRooms()), m.dispatch(N.clearDevices()), m.dispatch(
1152
1179
  W.setCurrentRoomKey(
1153
- E.content
1180
+ P.content
1154
1181
  )
1155
1182
  );
1156
1183
  break;
1157
1184
  }
1158
1185
  case "/system/userCodeChanged":
1159
1186
  m.dispatch(
1160
- W.setUserCode(
1161
- E.content
1162
- )
1187
+ W.setUserCode(P.content)
1163
1188
  );
1164
1189
  break;
1165
1190
  case "/system/roomCombinationChanged":
1166
1191
  window.location.reload();
1167
1192
  break;
1168
1193
  default:
1169
- console.log("unhandled system message", E);
1194
+ console.log("unhandled system message", P);
1170
1195
  break;
1171
1196
  }
1172
- else if (E.type.startsWith("/event/")) {
1173
- console.log("event message received", E);
1174
- const t1 = k.current[E.type];
1175
- t1 || console.log("no handlers found for event type", E.type), t1 && Object.values(t1).forEach((K) => {
1197
+ else if (P.type.startsWith("/event/")) {
1198
+ console.log("event message received", P);
1199
+ const t1 = k.current[P.type];
1200
+ t1 || console.log("no handlers found for event type", P.type), t1 && Object.values(t1).forEach((K) => {
1176
1201
  try {
1177
- K(E);
1202
+ K(P);
1178
1203
  } catch (z) {
1179
1204
  console.error(z);
1180
1205
  }
1181
1206
  });
1182
- } else E.type.startsWith("/room/") ? m.dispatch(e1.setRoomState(E)) : E.type.startsWith("/device/") && m.dispatch(N.setDeviceState(E));
1183
- } catch (E) {
1184
- console.error("websocket message handling error", E);
1207
+ } else P.type.startsWith("/room/") ? m.dispatch(e1.setRoomState(P)) : P.type.startsWith("/device/") && m.dispatch(N.setDeviceState(P));
1208
+ } catch (P) {
1209
+ console.error("websocket message handling error", P);
1185
1210
  }
1186
1211
  };
1187
1212
  }
1188
- return y(), console.log("App mode: production"), console.log("Is dev mode: false"), () => {
1189
- R.current && (console.log("closing websocket dev mode"), R.current.close(4100, "app running in dev mode"), R.current = null);
1213
+ return E(), console.log("App mode: production"), console.log("Is dev mode: false"), () => {
1214
+ I.current && (console.log("closing websocket dev mode"), I.current.close(4100, "app running in dev mode"), I.current = null);
1190
1215
  };
1191
- }, [a.apiPath, X, t, D, h]), n1(() => {
1216
+ }, [
1217
+ a.apiPath,
1218
+ X,
1219
+ t,
1220
+ D,
1221
+ h
1222
+ ]), n1(() => {
1192
1223
  !r || !c || (console.log("clientId: ", i), i && (console.log("requesting status from room: ", r), $(`/room/${r}/status`, null)));
1193
1224
  }, [r, i, c, $]), /* @__PURE__ */ s.jsx(
1194
1225
  I3.Provider,
@@ -1222,16 +1253,16 @@ function D8({
1222
1253
  function a() {
1223
1254
  i.current = !1, t == null || t(), r.current && (clearTimeout(r.current), r.current = null);
1224
1255
  }
1225
- function f() {
1256
+ function g() {
1226
1257
  i.current && a();
1227
1258
  }
1228
1259
  return {
1229
1260
  onPointerDown: d,
1230
1261
  onPointerUp: a,
1231
- onPointerLeave: f
1262
+ onPointerLeave: g
1232
1263
  };
1233
1264
  }
1234
- function g(e, t) {
1265
+ function v(e, t) {
1235
1266
  const { sendMessage: c } = b(), r = v1(null);
1236
1267
  function i() {
1237
1268
  c(`${e}/${t}`, { value: "pressed" }), r.current || (r.current = setInterval(() => {
@@ -1244,7 +1275,7 @@ function g(e, t) {
1244
1275
  return D8({ onPress: i, onRelease: d });
1245
1276
  }
1246
1277
  function R3(e, t) {
1247
- const { sendMessage: o, sendSimpleMessage: c } = b(), r = g(`${e}`, "volumeUp"), i = g(`${e}`, "volumeDown");
1278
+ const { sendMessage: o, sendSimpleMessage: c } = b(), r = v(`${e}`, "volumeUp"), i = v(`${e}`, "volumeDown");
1248
1279
  return t ? {
1249
1280
  volumeState: t,
1250
1281
  volumeUp: r,
@@ -1256,7 +1287,7 @@ function R3(e, t) {
1256
1287
  } : void 0;
1257
1288
  }
1258
1289
  function pe(e, t) {
1259
- const { sendMessage: o, sendSimpleMessage: c } = b(), r = g(`${e}`, "volumeUp"), i = g(`${e}`, "volumeDown");
1290
+ const { sendMessage: o, sendSimpleMessage: c } = b(), r = v(`${e}`, "volumeUp"), i = v(`${e}`, "volumeDown");
1260
1291
  return t ? {
1261
1292
  volumeState: t,
1262
1293
  volumeUp: r,
@@ -1268,7 +1299,7 @@ function pe(e, t) {
1268
1299
  } : void 0;
1269
1300
  }
1270
1301
  function $8(e) {
1271
- const t = _(e), o = `/device/${e}`;
1302
+ const t = y(e), o = `/device/${e}`;
1272
1303
  return R3(o, t == null ? void 0 : t.volume);
1273
1304
  }
1274
1305
  function y3(e) {
@@ -1282,13 +1313,13 @@ function y3(e) {
1282
1313
  } };
1283
1314
  }
1284
1315
  function k1(e) {
1285
- const { sendMessage: t } = b(), o = _(e);
1316
+ const { sendMessage: t } = b(), o = y(e);
1286
1317
  return console.log("deviceState", o), o ? { itemsState: o, selectItem: (r) => {
1287
1318
  t(`/device/${e}/${r}`, null);
1288
1319
  } } : void 0;
1289
1320
  }
1290
1321
  function A8(e) {
1291
- const { sendMessage: t } = b(), o = _(e), c = () => {
1322
+ const { sendMessage: t } = b(), o = y(e), c = () => {
1292
1323
  t(`/device/${e}/setDefaultChannelLevels`, null);
1293
1324
  }, r = () => {
1294
1325
  if ((o == null ? void 0 : o.levelControls) === void 0) return;
@@ -1299,7 +1330,7 @@ function A8(e) {
1299
1330
  return o ? { levelControls: o.levelControls, setDefaultChannelLevels: c, getFullStatus: r } : void 0;
1300
1331
  }
1301
1332
  function xe(e) {
1302
- const t = _(e), o = y3(e), c = k1(e), r = k1(e), i = $8(e), d = A8(e);
1333
+ const t = y(e), o = y3(e), c = k1(e), r = k1(e), i = $8(e), d = A8(e);
1303
1334
  if (t)
1304
1335
  return {
1305
1336
  avrState: t,
@@ -1310,7 +1341,21 @@ function xe(e) {
1310
1341
  mainVolumeControl: i
1311
1342
  };
1312
1343
  }
1313
- const Me = ({ className: e }) => {
1344
+ function Me(e) {
1345
+ const { sendMessage: t } = b(), o = `/device/${e}`, c = y(e), r = v(o, "cameraUp"), i = v(o, "cameraDown"), d = v(o, "cameraLeft"), a = v(o, "cameraRight"), g = v(o, "cameraZoomIn"), x = v(o, "cameraZoomOut"), h = (I) => t("/camera/recallPreset", I);
1346
+ if (c)
1347
+ return {
1348
+ state: c,
1349
+ zoomIn: g,
1350
+ zoomOut: x,
1351
+ up: r,
1352
+ down: i,
1353
+ left: d,
1354
+ right: a,
1355
+ recallPreset: h
1356
+ };
1357
+ }
1358
+ const me = ({ className: e }) => {
1314
1359
  const [t, o] = H();
1315
1360
  return n1(() => {
1316
1361
  setInterval(() => {
@@ -1322,102 +1367,114 @@ const Me = ({ className: e }) => {
1322
1367
  " new change"
1323
1368
  ] });
1324
1369
  };
1325
- function me(e) {
1326
- const { sendMessage: t } = b(), o = _(e), c = `/device/${e}`;
1370
+ function Ze(e) {
1371
+ const { sendMessage: t } = b(), o = y(e), c = `/device/${e}`;
1327
1372
  return o ? { state: o, recallPreset: (d, a) => {
1328
1373
  t(`${c}/presets/recall`, { deviceKey: d, preset: a });
1329
1374
  }, savePresets: (d) => {
1330
1375
  t(`${c}/presets/save`, d);
1331
1376
  } } : void 0;
1332
1377
  }
1333
- function Ze(e) {
1334
- const t = _(e);
1378
+ function je(e) {
1379
+ const t = y(e);
1335
1380
  if (t)
1336
1381
  return { endpointState: t };
1337
1382
  }
1338
- function je(e) {
1339
- const t = `/device/${e}`, o = g(t, "chanUp"), c = g(t, "chanDown"), r = g(t, "lastChan"), i = g(t, "guide"), d = g(t, "info"), a = g(t, "exit");
1383
+ function Ce(e) {
1384
+ const t = `/device/${e}`, o = v(t, "chanUp"), c = v(t, "chanDown"), r = v(t, "lastChan"), i = v(t, "guide"), d = v(t, "info"), a = v(t, "exit");
1340
1385
  return { channelUp: o, channelDown: c, lastChannel: r, guide: i, info: d, exit: a };
1341
1386
  }
1342
- function Ce(e) {
1343
- const t = `/device/${e}`, o = g(t, "red"), c = g(t, "green"), r = g(t, "yellow"), i = g(t, "blue");
1387
+ function Se(e) {
1388
+ const t = `/device/${e}`, o = v(t, "red"), c = v(t, "green"), r = v(t, "yellow"), i = v(t, "blue");
1344
1389
  return { red: o, green: c, yellow: r, blue: i };
1345
1390
  }
1346
- function Se(e) {
1347
- const t = _(e);
1391
+ function be(e) {
1392
+ const t = y(e);
1348
1393
  if (t)
1349
1394
  return {
1350
1395
  communicationMonitorState: t
1351
1396
  };
1352
1397
  }
1353
- function be(e) {
1354
- const t = _(e);
1398
+ function Ie(e) {
1399
+ const t = y(e);
1355
1400
  if (t)
1356
1401
  return t.deviceInfo || void 0;
1357
1402
  }
1358
- function Ie(e) {
1359
- const t = `/device/${e}`, o = g(t, "up"), c = g(t, "down"), r = g(t, "left"), i = g(t, "right"), d = g(t, "select"), a = g(t, "menu"), f = g(t, "exit");
1360
- return { up: o, down: c, left: r, right: i, select: d, menu: a, exit: f };
1361
- }
1362
1403
  function Re(e) {
1404
+ const t = `/device/${e}`, o = v(t, "up"), c = v(t, "down"), r = v(t, "left"), i = v(t, "right"), d = v(t, "select"), a = v(t, "menu"), g = v(t, "exit");
1405
+ return { up: o, down: c, left: r, right: i, select: d, menu: a, exit: g };
1406
+ }
1407
+ function ye(e) {
1363
1408
  const { sendMessage: t } = b();
1364
1409
  return { recallPreset: (c) => {
1365
- t(`/device/${e}/recallPreset`, c);
1410
+ t(
1411
+ `/device/${e}/recallPreset`,
1412
+ c.key || c
1413
+ );
1366
1414
  } };
1367
1415
  }
1368
- function ye(e) {
1369
- const t = `/device/${e}`, o = g(t, "dvrList"), c = g(t, "record");
1416
+ function Ee(e) {
1417
+ const t = `/device/${e}`, o = v(t, "dvrList"), c = v(t, "record");
1370
1418
  return { dvrList: o, record: c };
1371
1419
  }
1372
- function Ee(e) {
1373
- const { sendMessage: t } = b(), o = _(e);
1420
+ function Pe(e) {
1421
+ const { sendMessage: t } = b(), o = y(e);
1374
1422
  return o ? { roomCombinerState: o, setAutoMode: () => {
1375
1423
  t(`/device/${e}/setAutoMode`, null);
1376
1424
  }, setManualMode: () => {
1377
1425
  t(`/device/${e}/setManualMode`, null);
1378
1426
  }, toggleMode: () => {
1379
1427
  t(`/device/${e}/toggleMode`, null);
1380
- }, togglePartitionState: (f) => {
1381
- t(`/device/${e}/togglePartitionState`, f);
1382
- }, setRoomCombinationScenario: (f) => {
1383
- t(`/device/${e}/setRoomCombinationScenario`, f);
1428
+ }, togglePartitionState: (g) => {
1429
+ t(`/device/${e}/togglePartitionState`, g);
1430
+ }, setRoomCombinationScenario: (g) => {
1431
+ t(`/device/${e}/setRoomCombinationScenario`, g);
1384
1432
  } } : void 0;
1385
1433
  }
1386
1434
  function Te(e) {
1387
- const t = _(e);
1435
+ const { sendMessage: t } = b(), o = `/device/${e}`, c = y(e);
1436
+ return c ? {
1437
+ state: c,
1438
+ selectCamera: (i) => {
1439
+ t(`${o}/selectCamera`, i);
1440
+ }
1441
+ } : void 0;
1442
+ }
1443
+ function _e(e) {
1444
+ const t = y(e);
1388
1445
  if (t)
1389
1446
  return { state: t };
1390
1447
  }
1391
- function _e(e) {
1392
- const { sendMessage: t, sendSimpleMessage: o } = b(), c = _(e), r = K2(e), i = c || r;
1448
+ function Le(e) {
1449
+ const { sendMessage: t, sendSimpleMessage: o } = b(), c = y(e), r = K2(e), i = c || r;
1393
1450
  return i ? {
1394
1451
  levelState: i,
1395
- setLevel: (h, R) => o(`${h}/level`, R),
1452
+ setLevel: (h, I) => o(`${h}/level`, I),
1396
1453
  muteToggle: (h) => t(`${h}/muteToggle`, null),
1397
1454
  muteOn: (h) => t(`${h}/muteOn`, null),
1398
1455
  muteOff: (h) => t(`${h}/muteOff`, null)
1399
1456
  } : void 0;
1400
1457
  }
1401
- function Pe(e) {
1402
- const { sendMessage: t } = b(), o = _(e);
1458
+ function De(e) {
1459
+ const { sendMessage: t } = b(), o = y(e);
1403
1460
  return o ? { lightingState: o, selectScene: (r) => {
1404
1461
  t(`/device/${e}/selectScene`, r);
1405
1462
  } } : void 0;
1406
1463
  }
1407
- function Le(e) {
1408
- const { sendMessage: t } = b(), o = _(e);
1464
+ function $e(e) {
1465
+ const { sendMessage: t } = b(), o = y(e);
1409
1466
  return o ? { matrixRoutingState: o, setRoute: (r) => {
1410
1467
  t(`/device/${e}/route`, r);
1411
1468
  } } : void 0;
1412
1469
  }
1413
- function De(e) {
1470
+ function Ae(e) {
1414
1471
  const { sendMessage: t } = b();
1415
1472
  return { closeApp: () => {
1416
1473
  t(`/device/${e}/closeWebViewController`, null);
1417
1474
  } };
1418
1475
  }
1419
- function $e(e) {
1420
- const t = `/device/${e}`, o = g(t, "num0"), c = g(t, "num1"), r = g(t, "num2"), i = g(t, "num3"), d = g(t, "num4"), a = g(t, "num5"), f = g(t, "num6"), x = g(t, "num7"), h = g(t, "num8"), R = g(t, "num9"), D = g(t, "numDash"), F = g(t, "numEnter");
1476
+ function Be(e) {
1477
+ const t = `/device/${e}`, o = v(t, "num0"), c = v(t, "num1"), r = v(t, "num2"), i = v(t, "num3"), d = v(t, "num4"), a = v(t, "num5"), g = v(t, "num6"), x = v(t, "num7"), h = v(t, "num8"), I = v(t, "num9"), D = v(t, "numDash"), F = v(t, "numEnter");
1421
1478
  return {
1422
1479
  digit0: o,
1423
1480
  digit1: c,
@@ -1425,52 +1482,52 @@ function $e(e) {
1425
1482
  digit3: i,
1426
1483
  digit4: d,
1427
1484
  digit5: a,
1428
- digit6: f,
1485
+ digit6: g,
1429
1486
  digit7: x,
1430
1487
  digit8: h,
1431
- digit9: R,
1488
+ digit9: I,
1432
1489
  keypadAccessoryButton1: D,
1433
1490
  keypadAccessoryButton2: F
1434
1491
  };
1435
1492
  }
1436
- function Ae(e) {
1437
- const { sendMessage: t } = b(), o = _(e);
1493
+ function Oe(e) {
1494
+ const { sendMessage: t } = b(), o = y(e);
1438
1495
  return o ? { projectorScreenLiftControlState: o, raise: () => {
1439
1496
  t(`/device/${e}/raise`, null);
1440
1497
  }, lower: () => {
1441
1498
  t(`/device/${e}/lower`, null);
1442
1499
  } } : void 0;
1443
1500
  }
1444
- function Be(e) {
1501
+ function Ve(e) {
1445
1502
  const { sendMessage: t } = b(), o = C1(e);
1446
1503
  return o ? { roomEventScheduleState: o, save: (r) => {
1447
1504
  t(`/room/${e}/saveScheduledEvents`, r);
1448
1505
  } } : void 0;
1449
1506
  }
1450
- function Oe(e) {
1507
+ function ke(e) {
1451
1508
  const { sendMessage: t } = b();
1452
1509
  return { runDefaultPresentRoute: () => {
1453
1510
  t(`/room/${e}/defaultsource`, {});
1454
1511
  } };
1455
1512
  }
1456
- function Ve(e) {
1513
+ function Ue(e) {
1457
1514
  const { sendMessage: t } = b();
1458
1515
  return { runDirectRoute: (c) => {
1459
1516
  t(`/room/${e}/directRoute`, c);
1460
1517
  } };
1461
1518
  }
1462
- function ke(e) {
1519
+ function We(e) {
1463
1520
  const { sendMessage: t } = b();
1464
- return { routingState: _(e), runRoute: (r) => {
1521
+ return { routingState: y(e), runRoute: (r) => {
1465
1522
  t(`/room/${e}/source`, r);
1466
1523
  } };
1467
1524
  }
1468
- function Ue(e) {
1469
- const t = `/device/${e}`, o = g(t, "chanUp"), c = g(t, "chanDown");
1525
+ function Fe(e) {
1526
+ const t = `/device/${e}`, o = v(t, "chanUp"), c = v(t, "chanDown");
1470
1527
  return { dvrList: o, replay: c };
1471
1528
  }
1472
- function We(e) {
1473
- const { sendMessage: t } = b(), o = _(e);
1529
+ function He(e) {
1530
+ const { sendMessage: t } = b(), o = y(e);
1474
1531
  return o ? { shadeState: o, shadeUp: () => {
1475
1532
  t(`/device/${e}/shadeUp`, null);
1476
1533
  }, shadeDown: () => {
@@ -1479,7 +1536,7 @@ function We(e) {
1479
1536
  t(`/device/${e}/stopOrPreset`, null);
1480
1537
  } } : void 0;
1481
1538
  }
1482
- function Fe(e) {
1539
+ function Ke(e) {
1483
1540
  const { sendMessage: t } = b(), o = C1(e);
1484
1541
  return o ? { shutdownPromptTimerState: o, setShutdownPromptSeconds: (a) => {
1485
1542
  t(`/room/${e}/setShutdownPromptSeconds`, a);
@@ -1491,15 +1548,15 @@ function Fe(e) {
1491
1548
  t(`/room/${e}/shutdownCancel`, null);
1492
1549
  } } : void 0;
1493
1550
  }
1494
- function He(e) {
1495
- const { sendMessage: t } = b(), o = _(e);
1551
+ function Ge(e) {
1552
+ const { sendMessage: t } = b(), o = y(e);
1496
1553
  return o ? { switchedOutputState: o, on: () => {
1497
1554
  t(`/device/${e}/on`, null);
1498
1555
  }, off: () => {
1499
1556
  t(`/device/${e}/off`, null);
1500
1557
  } } : void 0;
1501
1558
  }
1502
- function Ke(e) {
1559
+ function qe(e) {
1503
1560
  const { sendMessage: t } = b(), o = C1(e);
1504
1561
  return o ? { techPasswordState: o, validatePassword: (i) => {
1505
1562
  t(`/room/${e}/validateTechPassword`, { password: i });
@@ -1507,12 +1564,12 @@ function Ke(e) {
1507
1564
  t(`/room/${e}/setTechPassword`, { oldPassword: i, newPassword: d });
1508
1565
  } } : void 0;
1509
1566
  }
1510
- function Ge(e) {
1511
- const { sendMessage: t } = b(), o = _(e);
1567
+ function Ye(e) {
1568
+ const { sendMessage: t } = b(), o = y(e);
1512
1569
  return o ? { state: o, setTemperatureUnitsToCelcius: () => t(`${e}/setTemperatureUnitsToCelcius`, null), setTemperatureUnitsToFahrenheit: () => t(`${e}/setTemperatureUnitsToFahrenheit`, null) } : void 0;
1513
1570
  }
1514
- function qe(e) {
1515
- const { sendMessage: t } = b(), o = _(e), c = (r) => {
1571
+ function ze(e) {
1572
+ const { sendMessage: t } = b(), o = y(e), c = (r) => {
1516
1573
  t(`/device/${e}/saveTheme`, { value: r });
1517
1574
  };
1518
1575
  return {
@@ -1520,8 +1577,8 @@ function qe(e) {
1520
1577
  saveTheme: c
1521
1578
  };
1522
1579
  }
1523
- function Ye(e) {
1524
- const t = `/device/${e}`, o = g(t, "play"), c = g(t, "pause"), r = g(t, "stop"), i = g(t, "prevTrack"), d = g(t, "nextTrack"), a = g(t, "rewind"), f = g(t, "ffwd"), x = g(t, "record");
1580
+ function Je(e) {
1581
+ const t = `/device/${e}`, o = v(t, "play"), c = v(t, "pause"), r = v(t, "stop"), i = v(t, "prevTrack"), d = v(t, "nextTrack"), a = v(t, "rewind"), g = v(t, "ffwd"), x = v(t, "record");
1525
1582
  return {
1526
1583
  play: o,
1527
1584
  pause: c,
@@ -1529,12 +1586,12 @@ function Ye(e) {
1529
1586
  prevTrack: i,
1530
1587
  nextTrack: d,
1531
1588
  rewind: a,
1532
- fastForward: f,
1589
+ fastForward: g,
1533
1590
  record: x
1534
1591
  };
1535
1592
  }
1536
- function ze(e) {
1537
- const t = _(e), { sendMessage: o } = b();
1593
+ function Xe(e) {
1594
+ const t = y(e), { sendMessage: o } = b();
1538
1595
  return t ? {
1539
1596
  touchpanelState: t,
1540
1597
  appControl: { hideApp: () => {
@@ -1549,8 +1606,8 @@ function ze(e) {
1549
1606
  } }
1550
1607
  } : void 0;
1551
1608
  }
1552
- function Je(e) {
1553
- const t = _(e), o = y3(e), c = k1(e);
1609
+ function Qe(e) {
1610
+ const t = y(e), o = y3(e), c = k1(e);
1554
1611
  if (!t) return;
1555
1612
  const r = (t.powerState || t.isWarming) && !t.isCooling, i = (!t.powerState || t.isCooling) && !t.isWarming;
1556
1613
  return {
@@ -1560,7 +1617,7 @@ function Je(e) {
1560
1617
  powerFb: { powerOnFb: r, powerOffFb: i }
1561
1618
  };
1562
1619
  }
1563
- const Xe = ({
1620
+ const Ne = ({
1564
1621
  config: e
1565
1622
  }) => {
1566
1623
  const { sendMessage: t } = b();
@@ -1593,23 +1650,23 @@ const Xe = ({
1593
1650
  });
1594
1651
  }, [e, t]);
1595
1652
  };
1596
- function Qe(e, t) {
1653
+ function e5(e, t) {
1597
1654
  const [o, c] = H(!1), [r, i] = H(!1);
1598
1655
  return x3(() => {
1599
1656
  const { current: d } = e, a = () => {
1600
- const f = d && d.scrollHeight > d.clientHeight, x = d && d.scrollWidth > d.clientWidth;
1601
- i(f ?? !1), c(x ?? !1), t && t(f ?? !1, x ?? !1);
1657
+ const g = d && d.scrollHeight > d.clientHeight, x = d && d.scrollWidth > d.clientWidth;
1658
+ i(g ?? !1), c(x ?? !1), t && t(g ?? !1, x ?? !1);
1602
1659
  };
1603
1660
  d && a();
1604
1661
  }, [e, t]), { overflowHorizontal: o, overflowVertical: r };
1605
1662
  }
1606
- function Ne(e, t) {
1663
+ function t5(e, t) {
1607
1664
  const o = H2(e, t), c = `/room/${e}/volumes/${t}`;
1608
1665
  return R3(c, o);
1609
1666
  }
1610
- function e5(e) {
1611
- var a, f;
1612
- const [t, o] = H(((a = e == null ? void 0 : e.current) == null ? void 0 : a.scrollLeft) ?? 0), [c, r] = H(((f = e == null ? void 0 : e.current) == null ? void 0 : f.scrollTop) ?? 0), i = (x) => {
1667
+ function s5(e) {
1668
+ var a, g;
1669
+ const [t, o] = H(((a = e == null ? void 0 : e.current) == null ? void 0 : a.scrollLeft) ?? 0), [c, r] = H(((g = e == null ? void 0 : e.current) == null ? void 0 : g.scrollTop) ?? 0), i = (x) => {
1613
1670
  const { current: h } = e;
1614
1671
  h && (console.log(h.scrollLeft), h.scrollLeft += x, console.log(h.scrollLeft));
1615
1672
  }, d = (x) => {
@@ -1623,7 +1680,7 @@ function e5(e) {
1623
1680
  x && h();
1624
1681
  }, [e]), { horizontalScrollPosition: t, verticalScrollPosition: c, scrollHorizontal: i, scrollVertical: d };
1625
1682
  }
1626
- function t5() {
1683
+ function o5() {
1627
1684
  const { sendMessage: e } = b();
1628
1685
  return {
1629
1686
  reboot: () => {
@@ -1634,7 +1691,7 @@ function t5() {
1634
1691
  }
1635
1692
  };
1636
1693
  }
1637
- function s5() {
1694
+ function n5() {
1638
1695
  const [e, t] = H(), [o, c] = H();
1639
1696
  function r() {
1640
1697
  t((/* @__PURE__ */ new Date()).toLocaleDateString("en-US", { dateStyle: "long" }));
@@ -1649,7 +1706,7 @@ function s5() {
1649
1706
  return () => clearInterval(i);
1650
1707
  }, []), { date: e, time: o };
1651
1708
  }
1652
- const o5 = () => {
1709
+ const c5 = () => {
1653
1710
  const [e, t] = H(!1), o = v2(), c = g2();
1654
1711
  let r;
1655
1712
  return f2(c) ? r = c.statusText : c instanceof Error ? r = c.message : typeof c == "string" ? r = c : (console.error(c), r = "Unknown error"), /* @__PURE__ */ s.jsxs("div", { className: "d-flex flex-column align-items-center gap-5", children: [
@@ -1671,13 +1728,13 @@ const o5 = () => {
1671
1728
  otherContentClassName: i = "",
1672
1729
  disabled: d,
1673
1730
  feedback: a,
1674
- feedbackClassName: f,
1731
+ feedbackClassName: g,
1675
1732
  onPointerDown: x,
1676
1733
  onPointerUp: h,
1677
- onPointerLeave: R,
1734
+ onPointerLeave: I,
1678
1735
  ...D
1679
1736
  }) => {
1680
- const [F, k] = H(!1), X = !d && a ? f : "", r1 = !d && (F || a);
1737
+ const [F, k] = H(!1), X = !d && a ? g : "", r1 = !d && (F || a);
1681
1738
  return /* @__PURE__ */ s.jsxs(
1682
1739
  "button",
1683
1740
  {
@@ -1692,7 +1749,7 @@ const o5 = () => {
1692
1749
  k(!1), h == null || h($);
1693
1750
  },
1694
1751
  onPointerLeave: ($) => {
1695
- k(!1), R == null || R($);
1752
+ k(!1), I == null || I($);
1696
1753
  },
1697
1754
  children: [
1698
1755
  e && /* @__PURE__ */ s.jsx(
@@ -2913,7 +2970,7 @@ const o5 = () => {
2913
2970
  active: e,
2914
2971
  disabled: o
2915
2972
  }
2916
- ), n5 = ({
2973
+ ), r5 = ({
2917
2974
  active: e,
2918
2975
  // Just to shut up the linter on this template. Prefer deleting this lint rule
2919
2976
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
@@ -3354,7 +3411,7 @@ const o5 = () => {
3354
3411
  X: w6,
3355
3412
  Xbox: p6
3356
3413
  };
3357
- function c5({
3414
+ function l5({
3358
3415
  name: e,
3359
3416
  iconsDictionary: t = M6,
3360
3417
  ...o
@@ -3368,7 +3425,7 @@ const m6 = "_grid_1cmpp_1", Z6 = "_header_1cmpp_11", j6 = "_content_1cmpp_17", C
3368
3425
  content: j6,
3369
3426
  footer: C6,
3370
3427
  volume: S6
3371
- }, r5 = ({ header: e, footer: t, content: o, volume: c, showVolume: r }) => /* @__PURE__ */ s.jsxs("div", { className: h1.grid, children: [
3428
+ }, i5 = ({ header: e, footer: t, content: o, volume: c, showVolume: r }) => /* @__PURE__ */ s.jsxs("div", { className: h1.grid, children: [
3372
3429
  /* @__PURE__ */ s.jsx("div", { className: h1.header, children: e }),
3373
3430
  /* @__PURE__ */ s.jsx("div", { className: h1.content, children: o }),
3374
3431
  r && /* @__PURE__ */ s.jsx("div", { className: h1.volume, children: c }),
@@ -3377,41 +3434,41 @@ const m6 = "_grid_1cmpp_1", Z6 = "_header_1cmpp_11", j6 = "_content_1cmpp_17", C
3377
3434
  grid: b6,
3378
3435
  header: I6,
3379
3436
  content: R6
3380
- }, l5 = ({ className: e, header: t, content: o, leftNav: c }) => /* @__PURE__ */ s.jsxs("div", { className: `${e} ${Z1.grid}`, children: [
3437
+ }, a5 = ({ className: e, header: t, content: o, leftNav: c }) => /* @__PURE__ */ s.jsxs("div", { className: `${e} ${Z1.grid}`, children: [
3381
3438
  /* @__PURE__ */ s.jsx("div", { className: Z1.header, children: t }),
3382
3439
  c && /* @__PURE__ */ s.jsx("div", { className: Z1.leftNav, children: c }),
3383
3440
  /* @__PURE__ */ s.jsx("div", { className: Z1.content, children: o })
3384
- ] }), y6 = "_grid_1uwfo_1", E6 = "_header_1uwfo_11", T6 = "_content_1uwfo_17", A1 = {
3441
+ ] }), y6 = "_grid_1uwfo_1", E6 = "_header_1uwfo_11", P6 = "_content_1uwfo_17", A1 = {
3385
3442
  grid: y6,
3386
3443
  header: E6,
3387
- content: T6
3388
- }, i5 = ({ className: e, header: t, content: o }) => /* @__PURE__ */ s.jsxs("div", { className: `${e} ${A1.grid}`, children: [
3444
+ content: P6
3445
+ }, u5 = ({ className: e, header: t, content: o }) => /* @__PURE__ */ s.jsxs("div", { className: `${e} ${A1.grid}`, children: [
3389
3446
  /* @__PURE__ */ s.jsx("div", { className: A1.header, children: t }),
3390
3447
  /* @__PURE__ */ s.jsx("div", { className: A1.content, children: o })
3391
3448
  ] });
3392
- function a5() {
3449
+ class d5 {
3450
+ constructor() {
3451
+ G(this, "currentShareText");
3452
+ G(this, "enabled");
3453
+ G(this, "isSharing");
3454
+ }
3455
+ }
3456
+ function h5() {
3393
3457
  return console.log(location.pathname), location.pathname;
3394
3458
  }
3395
- var _6 = /* @__PURE__ */ ((e) => (e[e.NotSet = 0] = "NotSet", e[e.Sunday = 1] = "Sunday", e[e.Monday = 2] = "Monday", e[e.Tuesday = 4] = "Tuesday", e[e.Wednesday = 8] = "Wednesday", e[e.Thursday = 16] = "Thursday", e[e.Friday = 32] = "Friday", e[e.Saturday = 64] = "Saturday", e))(_6 || {});
3396
- class u5 {
3459
+ var T6 = /* @__PURE__ */ ((e) => (e[e.NotSet = 0] = "NotSet", e[e.Sunday = 1] = "Sunday", e[e.Monday = 2] = "Monday", e[e.Tuesday = 4] = "Tuesday", e[e.Wednesday = 8] = "Wednesday", e[e.Thursday = 16] = "Thursday", e[e.Friday = 32] = "Friday", e[e.Saturday = 64] = "Saturday", e))(T6 || {});
3460
+ class v5 {
3397
3461
  constructor(t, o) {
3398
3462
  G(this, "path");
3399
3463
  G(this, "handler");
3400
3464
  this.path = t, this.handler = o;
3401
3465
  }
3402
3466
  }
3403
- const d5 = "$off";
3404
- class h5 {
3405
- constructor() {
3406
- G(this, "currentShareText");
3407
- G(this, "enabled");
3408
- G(this, "isSharing");
3409
- }
3410
- }
3467
+ const g5 = "$off";
3411
3468
  export {
3412
- Me as Clock,
3413
- _6 as DaysOfWeek,
3414
- o5 as ErrorBox,
3469
+ me as Clock,
3470
+ T6 as DaysOfWeek,
3471
+ c5 as ErrorBox,
3415
3472
  k8 as IconButton,
3416
3473
  U8 as IconMultiAlert,
3417
3474
  W8 as IconMultiBan,
@@ -3438,7 +3495,7 @@ export {
3438
3495
  i6 as IconMultiRoomPC,
3439
3496
  a6 as IconMultiShade,
3440
3497
  u6 as IconMultiSun,
3441
- n5 as IconMultiTemplate,
3498
+ r5 as IconMultiTemplate,
3442
3499
  d6 as IconMultiUpArrow,
3443
3500
  h6 as IconMultiVolDown,
3444
3501
  v6 as IconMultiVolMute,
@@ -3446,18 +3503,23 @@ export {
3446
3503
  f6 as IconMultiWireless,
3447
3504
  w6 as IconMultiX,
3448
3505
  p6 as IconMultiXbox,
3449
- r5 as MainLayout,
3450
- u5 as MessageHandler,
3506
+ i5 as MainLayout,
3507
+ v5 as MessageHandler,
3451
3508
  we as MobileControlProvider,
3452
3509
  j as MultiStateIconContainer,
3453
- c5 as NamedIconButton,
3454
- h5 as ShareState,
3455
- l5 as TechLayout,
3456
- i5 as TechPinLayout,
3457
- a5 as getBaseLocation,
3510
+ l5 as NamedIconButton,
3511
+ d5 as ShareState,
3512
+ a5 as TechLayout,
3513
+ u5 as TechPinLayout,
3514
+ I3 as WebsocketContext,
3515
+ w8 as appConfigActions,
3516
+ N as devicesActions,
3517
+ h5 as getBaseLocation,
3458
3518
  V1 as httpClient,
3459
3519
  M6 as iconsDictionary,
3460
- d5 as roomOffSourceKey,
3520
+ g5 as roomOffSourceKey,
3521
+ e1 as roomsActions,
3522
+ W as runtimeConfigActions,
3461
3523
  Z3 as selectAllDevices,
3462
3524
  x2 as selectApiPath,
3463
3525
  p2 as selectAppConfig,
@@ -3470,12 +3532,12 @@ export {
3470
3532
  U1 as selectModalVisibility,
3471
3533
  m2 as selectPartnerMetadata,
3472
3534
  k2 as selectRoomAdvancedSharingActive,
3473
- T2 as selectRoomAudioControlPointList,
3535
+ P2 as selectRoomAudioControlPointList,
3474
3536
  b2 as selectRoomByKey,
3475
3537
  $2 as selectRoomCodecContentDestinationKey,
3476
3538
  C2 as selectRoomConfiguration,
3477
- P2 as selectRoomDestinationList,
3478
- _2 as selectRoomDestinations,
3539
+ _2 as selectRoomDestinationList,
3540
+ T2 as selectRoomDestinations,
3479
3541
  F2 as selectRoomDisplayStates,
3480
3542
  L2 as selectRoomEnvironmentalDevices,
3481
3543
  A2 as selectRoomInCall,
@@ -3508,56 +3570,58 @@ export {
3508
3570
  w2 as useAppDispatch,
3509
3571
  w as useAppSelector,
3510
3572
  xe as useAvrControl,
3511
- g as useButtonHeldHeartbeat,
3573
+ v as useButtonHeldHeartbeat,
3574
+ Me as useCameraBase,
3512
3575
  s8 as useClientId,
3513
3576
  $8 as useDeviceIBasicVolumeWithFeedback,
3514
- me as useDevicePresetsModel,
3515
- Ze as useEndpoint,
3577
+ Ze as useDevicePresetsModel,
3578
+ je as useEndpoint,
3516
3579
  d8 as useError,
3517
- Xe as useGetAllDeviceStateFromRoomConfiguration,
3580
+ Ne as useGetAllDeviceStateFromRoomConfiguration,
3518
3581
  U6 as useGetAllDevices,
3519
3582
  F6 as useGetAllRooms,
3520
3583
  ve as useGetCurrentPopoverIdForGroup,
3521
- _ as useGetDevice,
3584
+ y as useGetDevice,
3522
3585
  pe as useGetIBasicVolumeWithFeedback,
3523
3586
  H6 as useGetRoom,
3524
3587
  ce as useGetRoomDisplayStates,
3525
3588
  re as useGetZoomRoomControllerKey,
3526
3589
  R3 as useIBasicVolumeWithFeedback,
3527
- je as useIChannel,
3528
- Ce as useIColor,
3529
- Se as useICommunicationMonitor,
3530
- Ie as useIDPad,
3531
- be as useIDeviceInfoMessenger,
3532
- Re as useIDspPresets,
3533
- ye as useIDvr,
3534
- Ee as useIEssentialsRoomCombiner,
3590
+ Ce as useIChannel,
3591
+ Se as useIColor,
3592
+ be as useICommunicationMonitor,
3593
+ Re as useIDPad,
3594
+ Ie as useIDeviceInfoMessenger,
3595
+ ye as useIDspPresets,
3596
+ Ee as useIDvr,
3597
+ Pe as useIEssentialsRoomCombiner,
3598
+ Te as useIHasCameras,
3535
3599
  y3 as useIHasPowerControl,
3536
3600
  k1 as useIHasSelectableItems,
3537
- Te as useIHumiditySensor,
3538
- _e as useILevelControls,
3539
- Pe as useILightingScenes,
3540
- Le as useIMatrixRouting,
3541
- De as useIMcCiscoCodecUserInterfaceAppControl,
3542
- $e as useINumeric,
3543
- Ae as useIProjectorScreenLiftControl,
3544
- Be as useIRoomEventSchedule,
3545
- Oe as useIRunDefaultPresentRoute,
3546
- Ve as useIRunDirectRouteAction,
3547
- ke as useIRunRouteAction,
3548
- Ue as useISetTopBoxControls,
3549
- We as useIShadesOpenCloseStop,
3550
- Fe as useIShutdownPromptTimer,
3551
- He as useISwitchedOutput,
3552
- Ke as useITechPassword,
3553
- Ge as useITemperatureSensor,
3554
- qe as useITheme,
3555
- Ye as useITransport,
3601
+ _e as useIHumiditySensor,
3602
+ Le as useILevelControls,
3603
+ De as useILightingScenes,
3604
+ $e as useIMatrixRouting,
3605
+ Ae as useIMcCiscoCodecUserInterfaceAppControl,
3606
+ Be as useINumeric,
3607
+ Oe as useIProjectorScreenLiftControl,
3608
+ Ve as useIRoomEventSchedule,
3609
+ ke as useIRunDefaultPresentRoute,
3610
+ Ue as useIRunDirectRouteAction,
3611
+ We as useIRunRouteAction,
3612
+ Fe as useISetTopBoxControls,
3613
+ He as useIShadesOpenCloseStop,
3614
+ Ke as useIShutdownPromptTimer,
3615
+ Ge as useISwitchedOutput,
3616
+ qe as useITechPassword,
3617
+ Ye as useITemperatureSensor,
3618
+ ze as useITheme,
3619
+ Je as useITransport,
3556
3620
  C8 as useInitialize,
3557
3621
  ae as useIsTouchpanel,
3558
3622
  V6 as useLogoPath,
3559
- ze as useMobileControlTouchpanelController,
3560
- Qe as useOverflow,
3623
+ Xe as useMobileControlTouchpanelController,
3624
+ e5 as useOverflow,
3561
3625
  k6 as usePartnerMetadata,
3562
3626
  D8 as usePressHoldRelease,
3563
3627
  oe as useRoomAdvancedSharingActive,
@@ -3567,7 +3631,7 @@ export {
3567
3631
  z6 as useRoomDestinationList,
3568
3632
  Y6 as useRoomDestinations,
3569
3633
  J6 as useRoomEnvironmentalDevices,
3570
- Ne as useRoomIBasicVolumeWithFeedback,
3634
+ t5 as useRoomIBasicVolumeWithFeedback,
3571
3635
  N6 as useRoomInCall,
3572
3636
  te as useRoomIsCoolingDown,
3573
3637
  se as useRoomIsOn,
@@ -3581,19 +3645,19 @@ export {
3581
3645
  C1 as useRoomState,
3582
3646
  H2 as useRoomVolume,
3583
3647
  le as useRuntimeInfo,
3584
- e5 as useScroll,
3648
+ s5 as useScroll,
3585
3649
  c8 as useServerIsRunningOnProcessorHardware,
3586
3650
  de as useShowIncomingCallModal,
3587
3651
  he as useShowModal,
3588
3652
  ge as useShowPopoverById,
3589
3653
  h8 as useShowReconnect,
3590
3654
  ue as useShowShutdownModal,
3591
- t5 as useSystemControl,
3655
+ o5 as useSystemControl,
3592
3656
  o8 as useSystemUuid,
3593
3657
  fe as useTheme,
3594
- s5 as useTimeAndDate,
3658
+ n5 as useTimeAndDate,
3595
3659
  ie as useTouchpanelKey,
3596
- Je as useTwoWayDisplayBase,
3660
+ Qe as useTwoWayDisplayBase,
3597
3661
  n8 as useUserCode,
3598
3662
  b as useWebsocketContext,
3599
3663
  j3 as useWsIsConnected