@pepperdash/mobile-control-react-app-core 1.21.0-feature-add-deviceInterfaceSupport-to-joinroom-response.5 → 1.21.0-feature-add-deviceInterfaceSupport-to-joinroom-response.7

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.
@@ -29,104 +29,104 @@ const m3 = l2.withTypes(), p = i2.withTypes(), j1 = (e) => e.appConfig, w2 = w(
29
29
  function R(e) {
30
30
  return p(j2(e));
31
31
  }
32
- const D = (e) => e.rooms, S2 = (e) => w(
33
- D,
32
+ const _ = (e) => e.rooms, S2 = (e) => w(
33
+ _,
34
34
  (t) => t[e] ? t[e].configuration : void 0
35
35
  ), C2 = w(
36
- D,
36
+ _,
37
37
  (e) => e
38
38
  ), b2 = (e) => w(
39
- D,
39
+ _,
40
40
  (t) => t[e] ? t[e] : void 0
41
41
  ), I2 = (e) => w(
42
- D,
42
+ _,
43
43
  (t) => t[e] ? t[e].name : void 0
44
44
  ), y2 = (e, t) => w(
45
- D,
45
+ _,
46
46
  (n) => n[e] ? n[e].volumes[t] : void 0
47
47
  ), R2 = (e) => w(
48
- D,
48
+ _,
49
49
  (t) => t[e] ? t[e] : void 0
50
50
  ), E2 = (e) => w(
51
- D,
51
+ _,
52
52
  (t) => {
53
53
  var n, c;
54
54
  return t[e] ? (c = (n = t[e]) == null ? void 0 : n.configuration) == null ? void 0 : c.sourceList : void 0;
55
55
  }
56
56
  ), P2 = (e) => w(
57
- D,
57
+ _,
58
58
  (t) => {
59
59
  var n, c;
60
60
  return t[e] ? (c = (n = t[e]) == null ? void 0 : n.configuration) == null ? void 0 : c.audioControlPointList : void 0;
61
61
  }
62
- ), T2 = (e) => w(
63
- D,
62
+ ), D2 = (e) => w(
63
+ _,
64
64
  (t) => {
65
65
  var n, c;
66
66
  return t[e] ? (c = (n = t[e]) == null ? void 0 : n.configuration) == null ? void 0 : c.destinations : void 0;
67
67
  }
68
- ), _2 = (e) => w(
69
- D,
68
+ ), T2 = (e) => w(
69
+ _,
70
70
  (t) => {
71
71
  var n, c;
72
72
  return t[e] ? (c = (n = t[e]) == null ? void 0 : n.configuration) == null ? void 0 : c.destinationList : void 0;
73
73
  }
74
- ), D2 = (e) => w(
75
- D,
74
+ ), _2 = (e) => w(
75
+ _,
76
76
  (t) => {
77
77
  var n, c;
78
78
  return t[e] ? (c = (n = t[e]) == null ? void 0 : n.configuration) == null ? void 0 : c.environmentalDevices : void 0;
79
79
  }
80
80
  ), L2 = (e) => w(
81
- D,
81
+ _,
82
82
  (t) => {
83
83
  var n, c, r, i, d, a, g, x;
84
84
  return (c = (n = t[e]) == null ? void 0 : n.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) => w(
87
- D,
87
+ _,
88
88
  (t) => {
89
89
  var n, c, r;
90
90
  return t[e] ? (r = (c = (n = t[e]) == null ? void 0 : n.configuration) == null ? void 0 : c.destinationList.codecContent) == null ? void 0 : r.sinkKey : void 0;
91
91
  }
92
92
  ), A2 = (e) => w(
93
- D,
93
+ _,
94
94
  (t) => {
95
95
  var n;
96
96
  return t[e] ? (n = t[e]) == null ? void 0 : n.isInCall : void 0;
97
97
  }
98
98
  ), B2 = (e) => w(
99
- D,
99
+ _,
100
100
  (t) => {
101
101
  var n;
102
102
  return t[e] ? (n = t[e]) == null ? void 0 : n.isWarmingUp : void 0;
103
103
  }
104
104
  ), O2 = (e) => w(
105
- D,
105
+ _,
106
106
  (t) => {
107
107
  var n;
108
108
  return t[e] ? (n = t[e]) == null ? void 0 : n.isCoolingDown : void 0;
109
109
  }
110
110
  ), V2 = (e) => w(
111
- D,
111
+ _,
112
112
  (t) => {
113
113
  var n;
114
114
  return t[e] ? (n = t[e]) == null ? void 0 : n.isOn : void 0;
115
115
  }
116
116
  ), k2 = (e) => w(
117
- D,
117
+ _,
118
118
  (t) => {
119
119
  var n;
120
120
  return t[e] ? (n = t[e]) == null ? void 0 : n.advancedSharingActive : void 0;
121
121
  }
122
122
  ), U2 = (e) => w(
123
- D,
123
+ _,
124
124
  (t) => {
125
125
  var n;
126
126
  return t[e] ? (n = t[e]) == null ? void 0 : n.share : void 0;
127
127
  }
128
128
  ), W2 = (e) => w(
129
- D,
129
+ _,
130
130
  (t) => {
131
131
  var n, c;
132
132
  return t[e] ? (c = (n = t[e]) == null ? void 0 : n.configuration) == null ? void 0 : c.zoomRoomControllerKey : void 0;
@@ -161,7 +161,7 @@ const q6 = S1, Y6 = (e) => p(
161
161
  I2(e)
162
162
  ), H2 = (e, t) => p(
163
163
  y2(e, t)
164
- ), K2 = (e) => p(R2(e)) || void 0, z6 = (e) => p(E2(e)), J6 = (e) => p(P2(e)), X6 = (e) => p(T2(e)), Q6 = (e) => p(_2(e)), N6 = (e) => p(D2(e)), ee = (e) => p(L2(e)), te = (e) => p($2(e)), se = (e) => p(A2(e)), ne = (e) => p(B2(e)), oe = (e) => p(O2(e)), ce = (e) => p(V2(e)), re = (e) => p(k2(e)), le = (e) => p(U2(e)), ie = (e) => p((t) => F2(t, e)), ae = (e) => p(W2(e)), Y = (e) => e.runtimeConfig, G2 = w(
164
+ ), K2 = (e) => p(R2(e)) || void 0, z6 = (e) => p(E2(e)), J6 = (e) => p(P2(e)), X6 = (e) => p(D2(e)), Q6 = (e) => p(T2(e)), N6 = (e) => p(_2(e)), ee = (e) => p(L2(e)), te = (e) => p($2(e)), se = (e) => p(A2(e)), ne = (e) => p(B2(e)), oe = (e) => p(O2(e)), ce = (e) => p(V2(e)), re = (e) => p(k2(e)), le = (e) => p(U2(e)), ie = (e) => p((t) => F2(t, e)), ae = (e) => p(W2(e)), Y = (e) => e.runtimeConfig, G2 = w(
165
165
  Y,
166
166
  (e) => e.websocket.isConnected
167
167
  ), q2 = w(
@@ -262,7 +262,7 @@ const q6 = S1, Y6 = (e) => p(
262
262
  e.syncState = [];
263
263
  }
264
264
  }
265
- }), F = C3.actions, w8 = C3.reducer, x8 = {
265
+ }), k = C3.actions, w8 = C3.reducer, x8 = {
266
266
  config: {
267
267
  enableDev: !1,
268
268
  apiPath: "",
@@ -374,13 +374,13 @@ const q6 = S1, Y6 = (e) => p(
374
374
  e.touchpanelKey = t.payload;
375
375
  }
376
376
  }
377
- }), W = I3.actions, C8 = I3.reducer, b8 = u2({
377
+ }), F = I3.actions, C8 = I3.reducer, b8 = u2({
378
378
  appConfig: m8,
379
379
  runtimeConfig: C8,
380
380
  rooms: j8,
381
381
  devices: Z8,
382
382
  ui: w8
383
- }), m = d2({
383
+ }), M = d2({
384
384
  reducer: b8
385
385
  }), V1 = c2.create();
386
386
  function I8() {
@@ -394,7 +394,7 @@ function I8() {
394
394
  const r = c.data.apiPath;
395
395
  e(M8.setAppConfig(c.data));
396
396
  const i = await V1.get(`${r}/version`);
397
- i.status == 200 && i.data && e(W.setRuntimeConfig(i.data));
397
+ i.status == 200 && i.data && e(F.setRuntimeConfig(i.data));
398
398
  }
399
399
  } catch (t) {
400
400
  console.error("Error getting config", t);
@@ -439,11 +439,11 @@ var d1 = {};
439
439
  var g3;
440
440
  function R8() {
441
441
  return g3 || (g3 = 1, process.env.NODE_ENV !== "production" && function() {
442
- var e = w3, t = Symbol.for("react.element"), n = 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"), v = Symbol.for("react.suspense_list"), I = Symbol.for("react.memo"), L = Symbol.for("react.lazy"), H = Symbol.for("react.offscreen"), k = Symbol.iterator, X = "@@iterator";
442
+ var e = w3, t = Symbol.for("react.element"), n = 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"), v = Symbol.for("react.suspense_list"), I = Symbol.for("react.memo"), L = Symbol.for("react.lazy"), H = Symbol.for("react.offscreen"), U = Symbol.iterator, X = "@@iterator";
443
443
  function r1(o) {
444
444
  if (o === null || typeof o != "object")
445
445
  return null;
446
- var l = k && o[k] || o[X];
446
+ var l = U && o[U] || o[X];
447
447
  return typeof l == "function" ? l : null;
448
448
  }
449
449
  var $ = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
@@ -555,7 +555,7 @@ function R8() {
555
555
  l1++;
556
556
  }
557
557
  }
558
- function T3() {
558
+ function D3() {
559
559
  {
560
560
  if (l1--, l1 === 0) {
561
561
  var o = {
@@ -606,8 +606,8 @@ function R8() {
606
606
  }
607
607
  var E1 = !1, w1;
608
608
  {
609
- var _3 = typeof WeakMap == "function" ? WeakMap : Map;
610
- w1 = new _3();
609
+ var T3 = typeof WeakMap == "function" ? WeakMap : Map;
610
+ w1 = new T3();
611
611
  }
612
612
  function J1(o, l) {
613
613
  if (!o || E1)
@@ -657,30 +657,30 @@ function R8() {
657
657
  }
658
658
  } catch (V) {
659
659
  if (V && f && typeof V.stack == "string") {
660
- for (var M = V.stack.split(`
660
+ for (var m = V.stack.split(`
661
661
  `), O = f.stack.split(`
662
- `), T = M.length - 1, _ = O.length - 1; T >= 1 && _ >= 0 && M[T] !== O[_]; )
663
- _--;
664
- for (; T >= 1 && _ >= 0; T--, _--)
665
- if (M[T] !== O[_]) {
666
- if (T !== 1 || _ !== 1)
662
+ `), D = m.length - 1, T = O.length - 1; D >= 1 && T >= 0 && m[D] !== O[T]; )
663
+ T--;
664
+ for (; D >= 1 && T >= 0; D--, T--)
665
+ if (m[D] !== O[T]) {
666
+ if (D !== 1 || T !== 1)
667
667
  do
668
- if (T--, _--, _ < 0 || M[T] !== O[_]) {
669
- var U = `
670
- ` + M[T].replace(" at new ", " at ");
671
- return o.displayName && U.includes("<anonymous>") && (U = U.replace("<anonymous>", o.displayName)), typeof o == "function" && w1.set(o, U), U;
668
+ if (D--, T--, T < 0 || m[D] !== O[T]) {
669
+ var W = `
670
+ ` + m[D].replace(" at new ", " at ");
671
+ return o.displayName && W.includes("<anonymous>") && (W = W.replace("<anonymous>", o.displayName)), typeof o == "function" && w1.set(o, W), W;
672
672
  }
673
- while (T >= 1 && _ >= 0);
673
+ while (D >= 1 && T >= 0);
674
674
  break;
675
675
  }
676
676
  }
677
677
  } finally {
678
- E1 = !1, y1.current = y, T3(), Error.prepareStackTrace = C;
678
+ E1 = !1, y1.current = y, D3(), Error.prepareStackTrace = C;
679
679
  }
680
680
  var o1 = o ? o.displayName || o.name : "", Q = o1 ? p1(o1) : "";
681
681
  return typeof o == "function" && w1.set(o, Q), Q;
682
682
  }
683
- function D3(o, l, u) {
683
+ function _3(o, l, u) {
684
684
  return J1(o, !1);
685
685
  }
686
686
  function L3(o) {
@@ -703,7 +703,7 @@ function R8() {
703
703
  if (typeof o == "object")
704
704
  switch (o.$$typeof) {
705
705
  case g:
706
- return D3(o.render);
706
+ return _3(o.render);
707
707
  case I:
708
708
  return x1(o.type, l, u);
709
709
  case L: {
@@ -729,17 +729,17 @@ function R8() {
729
729
  var y = Function.call.bind(i1);
730
730
  for (var Z in o)
731
731
  if (y(o, Z)) {
732
- var M = void 0;
732
+ var m = void 0;
733
733
  try {
734
734
  if (typeof o[Z] != "function") {
735
735
  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 o[Z] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
736
736
  throw O.name = "Invariant Violation", O;
737
737
  }
738
- M = o[Z](l, Z, f, u, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
739
- } catch (T) {
740
- M = T;
738
+ m = o[Z](l, Z, f, u, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
739
+ } catch (D) {
740
+ m = D;
741
741
  }
742
- M && !(M instanceof Error) && (M1(C), 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(C), A("Failed %s type: %s", u, M.message), M1(null));
742
+ m && !(m instanceof Error) && (M1(C), 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(C), A("Failed %s type: %s", u, m.message), M1(null));
743
743
  }
744
744
  }
745
745
  }
@@ -815,7 +815,7 @@ function R8() {
815
815
  }
816
816
  }
817
817
  var K3 = function(o, l, u, f, C, y, Z) {
818
- var M = {
818
+ var m = {
819
819
  // This tag allows us to uniquely identify this as a React Element
820
820
  $$typeof: t,
821
821
  // Built-in properties that belong on the element
@@ -826,42 +826,42 @@ function R8() {
826
826
  // Record the component responsible for creating this element.
827
827
  _owner: y
828
828
  };
829
- return M._store = {}, Object.defineProperty(M._store, "validated", {
829
+ return m._store = {}, Object.defineProperty(m._store, "validated", {
830
830
  configurable: !1,
831
831
  enumerable: !1,
832
832
  writable: !0,
833
833
  value: !1
834
- }), Object.defineProperty(M, "_self", {
834
+ }), Object.defineProperty(m, "_self", {
835
835
  configurable: !1,
836
836
  enumerable: !1,
837
837
  writable: !1,
838
838
  value: f
839
- }), Object.defineProperty(M, "_source", {
839
+ }), Object.defineProperty(m, "_source", {
840
840
  configurable: !1,
841
841
  enumerable: !1,
842
842
  writable: !1,
843
843
  value: C
844
- }), Object.freeze && (Object.freeze(M.props), Object.freeze(M)), M;
844
+ }), Object.freeze && (Object.freeze(m.props), Object.freeze(m)), m;
845
845
  };
846
846
  function G3(o, l, u, f, C) {
847
847
  {
848
- var y, Z = {}, M = null, O = null;
849
- u !== void 0 && (e3(u), M = "" + u), U3(l) && (e3(l.key), M = "" + l.key), k3(l) && (O = l.ref, W3(l, C));
848
+ var y, Z = {}, m = null, O = null;
849
+ u !== void 0 && (e3(u), m = "" + u), U3(l) && (e3(l.key), m = "" + l.key), k3(l) && (O = l.ref, W3(l, C));
850
850
  for (y in l)
851
851
  i1.call(l, y) && !V3.hasOwnProperty(y) && (Z[y] = l[y]);
852
852
  if (o && o.defaultProps) {
853
- var T = o.defaultProps;
854
- for (y in T)
855
- Z[y] === void 0 && (Z[y] = T[y]);
853
+ var D = o.defaultProps;
854
+ for (y in D)
855
+ Z[y] === void 0 && (Z[y] = D[y]);
856
856
  }
857
- if (M || O) {
858
- var _ = typeof o == "function" ? o.displayName || o.name || "Unknown" : o;
859
- M && F3(Z, _), O && H3(Z, _);
857
+ if (m || O) {
858
+ var T = typeof o == "function" ? o.displayName || o.name || "Unknown" : o;
859
+ m && F3(Z, T), O && H3(Z, T);
860
860
  }
861
- return K3(o, M, O, C, f, t3.current, Z);
861
+ return K3(o, m, O, C, f, t3.current, Z);
862
862
  }
863
863
  }
864
- var T1 = $.ReactCurrentOwner, o3 = $.ReactDebugCurrentFrame;
864
+ var D1 = $.ReactCurrentOwner, o3 = $.ReactDebugCurrentFrame;
865
865
  function n1(o) {
866
866
  if (o) {
867
867
  var l = o._owner, u = x1(o.type, o._source, l ? l.type : null);
@@ -869,15 +869,15 @@ function R8() {
869
869
  } else
870
870
  o3.setExtraStackFrame(null);
871
871
  }
872
- var _1;
873
- _1 = !1;
874
- function D1(o) {
872
+ var T1;
873
+ T1 = !1;
874
+ function _1(o) {
875
875
  return typeof o == "object" && o !== null && o.$$typeof === t;
876
876
  }
877
877
  function c3() {
878
878
  {
879
- if (T1.current) {
880
- var o = G(T1.current.type);
879
+ if (D1.current) {
880
+ var o = G(D1.current.type);
881
881
  if (o)
882
882
  return `
883
883
 
@@ -912,7 +912,7 @@ Check the top-level render call using <` + u + ">.");
912
912
  return;
913
913
  r3[u] = !0;
914
914
  var f = "";
915
- o && o._owner && o._owner !== T1.current && (f = " It was passed a child from " + G(o._owner.type) + "."), n1(o), 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), n1(null);
915
+ o && o._owner && o._owner !== D1.current && (f = " It was passed a child from " + G(o._owner.type) + "."), n1(o), 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), n1(null);
916
916
  }
917
917
  }
918
918
  function i3(o, l) {
@@ -922,15 +922,15 @@ Check the top-level render call using <` + u + ">.");
922
922
  if (P1(o))
923
923
  for (var u = 0; u < o.length; u++) {
924
924
  var f = o[u];
925
- D1(f) && l3(f, l);
925
+ _1(f) && l3(f, l);
926
926
  }
927
- else if (D1(o))
927
+ else if (_1(o))
928
928
  o._store && (o._store.validated = !0);
929
929
  else if (o) {
930
930
  var C = r1(o);
931
931
  if (typeof C == "function" && C !== o.entries)
932
932
  for (var y = C.call(o), Z; !(Z = y.next()).done; )
933
- D1(Z.value) && l3(Z.value, l);
933
+ _1(Z.value) && l3(Z.value, l);
934
934
  }
935
935
  }
936
936
  }
@@ -951,8 +951,8 @@ Check the top-level render call using <` + u + ">.");
951
951
  if (u) {
952
952
  var f = G(l);
953
953
  $3(u, o.props, "prop", f, o);
954
- } else if (l.PropTypes !== void 0 && !_1) {
955
- _1 = !0;
954
+ } else if (l.PropTypes !== void 0 && !T1) {
955
+ T1 = !0;
956
956
  var C = G(l);
957
957
  A("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", C || "Unknown");
958
958
  }
@@ -976,28 +976,28 @@ Check the top-level render call using <` + u + ">.");
976
976
  {
977
977
  var Z = B(o);
978
978
  if (!Z) {
979
- var M = "";
980
- (o === void 0 || typeof o == "object" && o !== null && Object.keys(o).length === 0) && (M += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
979
+ var m = "";
980
+ (o === void 0 || typeof o == "object" && o !== null && Object.keys(o).length === 0) && (m += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
981
981
  var O = q3();
982
- O ? M += O : M += c3();
983
- var T;
984
- o === null ? T = "null" : P1(o) ? T = "array" : o !== void 0 && o.$$typeof === t ? (T = "<" + (G(o.type) || "Unknown") + " />", M = " Did you accidentally export a JSX literal instead of a component?") : T = typeof o, 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);
982
+ O ? m += O : m += c3();
983
+ var D;
984
+ o === null ? D = "null" : P1(o) ? D = "array" : o !== void 0 && o.$$typeof === t ? (D = "<" + (G(o.type) || "Unknown") + " />", m = " Did you accidentally export a JSX literal instead of a component?") : D = typeof o, A("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", D, m);
985
985
  }
986
- var _ = G3(o, l, u, C, y);
987
- if (_ == null)
988
- return _;
986
+ var T = G3(o, l, u, C, y);
987
+ if (T == null)
988
+ return T;
989
989
  if (Z) {
990
- var U = l.children;
991
- if (U !== void 0)
990
+ var W = l.children;
991
+ if (W !== void 0)
992
992
  if (f)
993
- if (P1(U)) {
994
- for (var o1 = 0; o1 < U.length; o1++)
995
- i3(U[o1], o);
996
- Object.freeze && Object.freeze(U);
993
+ if (P1(W)) {
994
+ for (var o1 = 0; o1 < W.length; o1++)
995
+ i3(W[o1], o);
996
+ Object.freeze && Object.freeze(W);
997
997
  } else
998
998
  A("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
999
999
  else
1000
- i3(U, o);
1000
+ i3(W, o);
1001
1001
  }
1002
1002
  if (i1.call(l, "key")) {
1003
1003
  var Q = G(o), V = Object.keys(l).filter(function(s2) {
@@ -1013,7 +1013,7 @@ React keys must be passed directly to JSX without using spread:
1013
1013
  <%s key={someKey} {...props} />`, L1, Q, t2, Q), a3[Q + L1] = !0;
1014
1014
  }
1015
1015
  }
1016
- return o === c ? J3(_) : z3(_), _;
1016
+ return o === c ? J3(T) : z3(T), T;
1017
1017
  }
1018
1018
  }
1019
1019
  function X3(o, l, u) {
@@ -1031,23 +1031,30 @@ function E8() {
1031
1031
  return f3 || (f3 = 1, process.env.NODE_ENV === "production" ? m1.exports = y8() : m1.exports = R8()), m1.exports;
1032
1032
  }
1033
1033
  var s = E8();
1034
- const P8 = "_mwfit_ppa3l_1", T8 = {
1034
+ const P8 = "_mwfit_ppa3l_1", D8 = {
1035
1035
  mwfit: P8
1036
- }, _8 = () => {
1036
+ }, T8 = () => {
1037
1037
  const { reconnect: e } = b(), t = S3(), n = h8(), c = g8();
1038
1038
  return /* @__PURE__ */ s.jsx(s.Fragment, { children: /* @__PURE__ */ s.jsxs(
1039
1039
  "div",
1040
1040
  {
1041
- className: `disconnected-message ${T8.mwfit} mx-auto text-center`,
1041
+ className: `disconnected-message ${D8.mwfit} mx-auto text-center`,
1042
1042
  children: [
1043
1043
  t === void 0 ? /* @__PURE__ */ s.jsx("h1", { children: "Connecting..." }) : /* @__PURE__ */ s.jsx("h1", { children: "Disconnected" }),
1044
1044
  n && /* @__PURE__ */ s.jsx("h5", { children: n }),
1045
- c && /* @__PURE__ */ s.jsx("button", { className: "btn btn-secondary btn-lg", onClick: e, children: "Reconnect" })
1045
+ c && /* @__PURE__ */ s.jsx(
1046
+ "button",
1047
+ {
1048
+ className: "btn btn-secondary btn-lg",
1049
+ onPointerDown: e,
1050
+ children: "Reconnect"
1051
+ }
1052
+ )
1046
1053
  ]
1047
1054
  }
1048
1055
  ) });
1049
1056
  };
1050
- class D8 {
1057
+ class _8 {
1051
1058
  constructor() {
1052
1059
  q(this, "uuid", "current-uuid");
1053
1060
  q(this, "roomKey", "current-room-key");
@@ -1055,7 +1062,7 @@ class D8 {
1055
1062
  q(this, "expiry", "current-uuid-expires");
1056
1063
  }
1057
1064
  }
1058
- const p3 = new D8(), y3 = v2({
1065
+ const p3 = new _8(), y3 = v2({
1059
1066
  sendMessage: () => null,
1060
1067
  sendSimpleMessage: () => null,
1061
1068
  addEventHandler: () => null,
@@ -1069,19 +1076,19 @@ function $8(e, t) {
1069
1076
  sessionStorage.setItem(e, t);
1070
1077
  }
1071
1078
  const A8 = ({ children: e }) => {
1072
- const [t, n] = K(), c = S3(), r = s8(), i = n8(), d = I8(), a = Z2(), g = o8(), x = c8(), v = r8(), I = h1(null), [L, H] = K(), k = h1({}), X = a1(
1079
+ const [t, n] = K(), c = S3(), r = s8(), i = n8(), d = I8(), a = Z2(), g = o8(), x = c8(), v = r8(), I = h1(null), [L, H] = K(), U = h1({}), X = a1(
1073
1080
  async (E) => {
1074
1081
  try {
1075
1082
  const S = await V1.get(
1076
1083
  `${E}/ui/joinroom?token=${t}`
1077
1084
  );
1078
- return S.status === 200 && S.data ? (m.dispatch(W.setRoomData(S.data)), !0) : !1;
1085
+ return S.status === 200 && S.data ? (M.dispatch(F.setRoomData(S.data)), !0) : !1;
1079
1086
  } catch (S) {
1080
- return console.log(S), v ? !0 : S instanceof r2 && S.response && S.response.status === 498 ? (console.error("Invalid token. Unable to join room"), m.dispatch(
1081
- F.setErrorMessage(
1087
+ return console.log(S), v ? !0 : S instanceof r2 && S.response && S.response.status === 498 ? (console.error("Invalid token. Unable to join room"), M.dispatch(
1088
+ k.setErrorMessage(
1082
1089
  `Token ${t} is invalid. Unable to join room`
1083
1090
  )
1084
- ), !1) : (console.error("Error getting room data", S), S instanceof Error ? m.dispatch(F.setErrorMessage(S.message)) : m.dispatch(F.setErrorMessage("Error getting room data")), !1);
1091
+ ), !1) : (console.error("Error getting room data", S), S instanceof Error ? M.dispatch(k.setErrorMessage(S.message)) : M.dispatch(k.setErrorMessage("Error getting room data")), !1);
1085
1092
  }
1086
1093
  },
1087
1094
  [t, v]
@@ -1097,11 +1104,11 @@ const A8 = ({ children: e }) => {
1097
1104
  $(E, { value: S });
1098
1105
  }, C1 = a1(
1099
1106
  (E, S, f1) => {
1100
- k.current[E] || (k.current[E] = {}), k.current[E][S] = f1, console.log("event handler added", E, S);
1107
+ U.current[E] || (U.current[E] = {}), U.current[E][S] = f1, console.log("event handler added", E, S);
1101
1108
  },
1102
1109
  []
1103
1110
  ), b1 = a1((E, S) => {
1104
- k.current[E] && (delete k.current[E][S], console.log("event handler removed", E, S));
1111
+ U.current[E] && (delete U.current[E][S], console.log("event handler removed", E, S));
1105
1112
  }, []);
1106
1113
  return c1(() => {
1107
1114
  let S = new URLSearchParams(window.location.search).get("token");
@@ -1123,38 +1130,38 @@ const A8 = ({ children: e }) => {
1123
1130
  console.log("connecting to websocket");
1124
1131
  const I1 = `${a.apiPath.replace("http", "ws")}/ui/join/${t}`, z = new WebSocket(I1);
1125
1132
  I.current = z, z.onopen = (B) => {
1126
- console.log("connected", B.type, B.target), m.dispatch(W.setWebsocketIsConnected(!0));
1133
+ console.log("connected", B.type, B.target), M.dispatch(F.setWebsocketIsConnected(!0));
1127
1134
  }, z.onerror = (B) => {
1128
1135
  console.error("Websocket error", B);
1129
1136
  }, z.onclose = (B) => {
1130
1137
  if (console.log("disconnected: ", B.reason, B.code), B.code === 4100) {
1131
- console.log("WebSocket closed by client (useEffect cleanup)."), m.dispatch(F.setShowReconnect(!0)), m.dispatch(W.setWebsocketIsConnected(!1)), m.dispatch(N.clearDevices()), m.dispatch(e1.clearRooms());
1138
+ console.log("WebSocket closed by client (useEffect cleanup)."), M.dispatch(k.setShowReconnect(!0)), M.dispatch(F.setWebsocketIsConnected(!1)), M.dispatch(N.clearDevices()), M.dispatch(e1.clearRooms()), M.dispatch(k.clearAllModals()), M.dispatch(k.clearSyncState());
1132
1139
  return;
1133
1140
  }
1134
1141
  if (H(!0), B.code === 4e3) {
1135
- console.log("user code changed"), m.dispatch(
1136
- W.setUserCode({ userCode: "", qrUrl: "" })
1137
- ), m.dispatch(
1138
- F.setErrorMessage(
1142
+ console.log("user code changed"), M.dispatch(
1143
+ F.setUserCode({ userCode: "", qrUrl: "" })
1144
+ ), M.dispatch(
1145
+ k.setErrorMessage(
1139
1146
  "User code changed. Click reconnect to enter the new code"
1140
1147
  )
1141
- ), m.dispatch(F.setShowReconnect(!0)), m.dispatch(W.setWebsocketIsConnected(!1)), m.dispatch(N.clearDevices()), m.dispatch(e1.clearRooms());
1148
+ ), M.dispatch(k.setShowReconnect(!0)), M.dispatch(F.setWebsocketIsConnected(!1)), M.dispatch(N.clearDevices()), M.dispatch(e1.clearRooms());
1142
1149
  return;
1143
1150
  }
1144
1151
  if (B.code === 4001 && !v) {
1145
- console.log("processor disconnected"), m.dispatch(
1146
- F.setErrorMessage(
1152
+ console.log("processor disconnected"), M.dispatch(
1153
+ k.setErrorMessage(
1147
1154
  "Processor has disconnected. Click Reconnect"
1148
1155
  )
1149
- ), m.dispatch(F.setShowReconnect(!0)), m.dispatch(W.setWebsocketIsConnected(!1)), m.dispatch(N.clearDevices()), m.dispatch(e1.clearRooms());
1156
+ ), M.dispatch(k.setShowReconnect(!0)), M.dispatch(F.setWebsocketIsConnected(!1)), M.dispatch(N.clearDevices()), M.dispatch(e1.clearRooms());
1150
1157
  return;
1151
1158
  }
1152
1159
  if (B.code === 4002) {
1153
- console.log("room combination changed"), m.dispatch(
1154
- F.setErrorMessage(
1160
+ console.log("room combination changed"), M.dispatch(
1161
+ k.setErrorMessage(
1155
1162
  "Room combination changed. Click Reconnect to re-join the room"
1156
1163
  )
1157
- ), m.dispatch(F.setShowReconnect(!0)), m.dispatch(W.setWebsocketIsConnected(!1)), m.dispatch(N.clearDevices()), m.dispatch(e1.clearRooms());
1164
+ ), M.dispatch(k.setShowReconnect(!0)), M.dispatch(F.setWebsocketIsConnected(!1)), M.dispatch(N.clearDevices()), M.dispatch(e1.clearRooms());
1158
1165
  return;
1159
1166
  }
1160
1167
  if (I.current)
@@ -1163,7 +1170,7 @@ const A8 = ({ children: e }) => {
1163
1170
  console.log("WebSocket closed by client.");
1164
1171
  return;
1165
1172
  }
1166
- console.log("websocket waitingToReconnect", L), !L && (console.log("websocket clearing state on disconnect"), m.dispatch(W.setWebsocketIsConnected(!1)), m.dispatch(N.clearDevices()), m.dispatch(e1.clearRooms()), setTimeout(() => H(void 0), 5e3));
1173
+ console.log("websocket waitingToReconnect", L), !L && (console.log("websocket clearing state on disconnect"), M.dispatch(F.setWebsocketIsConnected(!1)), M.dispatch(N.clearDevices()), M.dispatch(e1.clearRooms()), setTimeout(() => H(void 0), 5e3));
1167
1174
  }, z.onmessage = (B) => {
1168
1175
  try {
1169
1176
  const P = JSON.parse(B.data);
@@ -1174,23 +1181,23 @@ const A8 = ({ children: e }) => {
1174
1181
  if (P.type.startsWith("/system/"))
1175
1182
  switch (P.type) {
1176
1183
  case "/system/touchpanelKey":
1177
- m.dispatch(
1178
- W.setTouchpanelKey(
1184
+ M.dispatch(
1185
+ F.setTouchpanelKey(
1179
1186
  P.content
1180
1187
  )
1181
1188
  );
1182
1189
  break;
1183
1190
  case "/system/roomKey": {
1184
- m.dispatch(e1.clearRooms()), m.dispatch(N.clearDevices()), m.dispatch(
1185
- W.setCurrentRoomKey(
1191
+ M.dispatch(e1.clearRooms()), M.dispatch(N.clearDevices()), M.dispatch(
1192
+ F.setCurrentRoomKey(
1186
1193
  P.content
1187
1194
  )
1188
1195
  );
1189
1196
  break;
1190
1197
  }
1191
1198
  case "/system/userCodeChanged":
1192
- m.dispatch(
1193
- W.setUserCode(P.content)
1199
+ M.dispatch(
1200
+ F.setUserCode(P.content)
1194
1201
  );
1195
1202
  break;
1196
1203
  case "/system/roomCombinationChanged":
@@ -1202,7 +1209,7 @@ const A8 = ({ children: e }) => {
1202
1209
  }
1203
1210
  else if (P.type.startsWith("/event/")) {
1204
1211
  console.log("event message received", P);
1205
- const s1 = k.current[P.type];
1212
+ const s1 = U.current[P.type];
1206
1213
  s1 || console.log("no handlers found for event type", P.type), s1 && Object.values(s1).forEach((G) => {
1207
1214
  try {
1208
1215
  G(P);
@@ -1210,7 +1217,7 @@ const A8 = ({ children: e }) => {
1210
1217
  console.error(J);
1211
1218
  }
1212
1219
  });
1213
- } else P.type.startsWith("/room/") ? m.dispatch(e1.setRoomState(P)) : P.type.startsWith("/device/") && m.dispatch(N.setDeviceState(P));
1220
+ } else P.type.startsWith("/room/") ? M.dispatch(e1.setRoomState(P)) : P.type.startsWith("/device/") && M.dispatch(N.setDeviceState(P));
1214
1221
  } catch (P) {
1215
1222
  console.error("websocket message handling error", P);
1216
1223
  }
@@ -1237,10 +1244,10 @@ const A8 = ({ children: e }) => {
1237
1244
  removeEventHandler: b1,
1238
1245
  reconnect: r1
1239
1246
  },
1240
- children: c ? e : /* @__PURE__ */ s.jsx(_8, {})
1247
+ children: c ? e : /* @__PURE__ */ s.jsx(T8, {})
1241
1248
  }
1242
1249
  );
1243
- }, me = ({ children: e }) => /* @__PURE__ */ s.jsx(a2, { store: m, children: /* @__PURE__ */ s.jsx(A8, { children: e }) });
1250
+ }, me = ({ children: e }) => /* @__PURE__ */ s.jsx(a2, { store: M, children: /* @__PURE__ */ s.jsx(A8, { children: e }) });
1244
1251
  function b() {
1245
1252
  return h2(y3);
1246
1253
  }
@@ -1406,11 +1413,11 @@ function Pe(e) {
1406
1413
  if (t)
1407
1414
  return t.deviceInfo || void 0;
1408
1415
  }
1409
- function Te(e) {
1416
+ function De(e) {
1410
1417
  const t = `/device/${e}`, n = h(t, "up"), c = h(t, "down"), r = h(t, "left"), i = h(t, "right"), d = h(t, "select"), a = h(t, "menu"), g = h(t, "exit");
1411
1418
  return { up: n, down: c, left: r, right: i, select: d, menu: a, exit: g };
1412
1419
  }
1413
- function _e(e) {
1420
+ function Te(e) {
1414
1421
  const { sendMessage: t } = b();
1415
1422
  return { recallPreset: (c) => {
1416
1423
  t(
@@ -1419,7 +1426,7 @@ function _e(e) {
1419
1426
  );
1420
1427
  } };
1421
1428
  }
1422
- function De(e) {
1429
+ function _e(e) {
1423
1430
  const t = `/device/${e}`, n = h(t, "dvrList"), c = h(t, "record");
1424
1431
  return { dvrList: n, record: c };
1425
1432
  }
@@ -1689,9 +1696,9 @@ function r5(e) {
1689
1696
  function l5(e) {
1690
1697
  const t = m3();
1691
1698
  return [() => {
1692
- t(F.addSyncState(e));
1699
+ t(k.addSyncState(e));
1693
1700
  }, () => {
1694
- t(F.removeSyncState(e));
1701
+ t(k.removeSyncState(e));
1695
1702
  }, f8(e)];
1696
1703
  }
1697
1704
  function i5() {
@@ -1725,8 +1732,22 @@ const u5 = () => {
1725
1732
  let r;
1726
1733
  return p2(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: [
1727
1734
  /* @__PURE__ */ s.jsx("div", { className: "m-2 p-2 bg-danger rounded d-flex align-items-center", children: /* @__PURE__ */ s.jsx("span", { className: "fs-5 text-white", children: "We are sorry. Something went wrong." }) }),
1728
- /* @__PURE__ */ s.jsx("button", { className: "btn btn-primary p-2", onClick: () => n(-1), children: "Go Back" }),
1729
- /* @__PURE__ */ s.jsx("button", { className: "btn btn-primary p-2", onClick: () => t(!e), children: e ? "Hide error message" : "Show error message" }),
1735
+ /* @__PURE__ */ s.jsx(
1736
+ "button",
1737
+ {
1738
+ className: "btn btn-primary p-2",
1739
+ onPointerDown: () => n(-1),
1740
+ children: "Go Back"
1741
+ }
1742
+ ),
1743
+ /* @__PURE__ */ s.jsx(
1744
+ "button",
1745
+ {
1746
+ className: "btn btn-primary p-2",
1747
+ onPointerDown: () => t(!e),
1748
+ children: e ? "Hide error message" : "Show error message"
1749
+ }
1750
+ ),
1730
1751
  e && /* @__PURE__ */ s.jsx("p", { children: r })
1731
1752
  ] });
1732
1753
  }, k8 = "_iconbtn_16qss_1", U8 = "_iconbtnvert_16qss_7", W8 = "_iconsm_16qss_18", $1 = {
@@ -1748,7 +1769,7 @@ const u5 = () => {
1748
1769
  onPointerLeave: I,
1749
1770
  ...L
1750
1771
  }) => {
1751
- const [H, k] = K(!1), X = !d && a ? g : "", r1 = !d && (H || a);
1772
+ const [H, U] = K(!1), X = !d && a ? g : "", r1 = !d && (H || a);
1752
1773
  return /* @__PURE__ */ s.jsxs(
1753
1774
  "button",
1754
1775
  {
@@ -1757,13 +1778,13 @@ const u5 = () => {
1757
1778
  ...L,
1758
1779
  disabled: d,
1759
1780
  onPointerDown: ($) => {
1760
- k(!0), x == null || x($);
1781
+ U(!0), x == null || x($);
1761
1782
  },
1762
1783
  onPointerUp: ($) => {
1763
- k(!1), v == null || v($);
1784
+ U(!1), v == null || v($);
1764
1785
  },
1765
1786
  onPointerLeave: ($) => {
1766
- k(!1), I == null || I($);
1787
+ U(!1), I == null || I($);
1767
1788
  },
1768
1789
  children: [
1769
1790
  e && /* @__PURE__ */ s.jsx(
@@ -3452,10 +3473,10 @@ const S6 = "_grid_1cmpp_1", C6 = "_header_1cmpp_11", b6 = "_content_1cmpp_17", I
3452
3473
  /* @__PURE__ */ s.jsx("div", { className: Z1.header, children: t }),
3453
3474
  c && /* @__PURE__ */ s.jsx("div", { className: Z1.leftNav, children: c }),
3454
3475
  /* @__PURE__ */ s.jsx("div", { className: Z1.content, children: n })
3455
- ] }), T6 = "_grid_1uwfo_1", _6 = "_header_1uwfo_11", D6 = "_content_1uwfo_17", A1 = {
3456
- grid: T6,
3457
- header: _6,
3458
- content: D6
3476
+ ] }), D6 = "_grid_1uwfo_1", T6 = "_header_1uwfo_11", _6 = "_content_1uwfo_17", A1 = {
3477
+ grid: D6,
3478
+ header: T6,
3479
+ content: _6
3459
3480
  }, f5 = ({ className: e, header: t, content: n }) => /* @__PURE__ */ s.jsxs("div", { className: `${e} ${A1.grid}`, children: [
3460
3481
  /* @__PURE__ */ s.jsx("div", { className: A1.header, children: t }),
3461
3482
  /* @__PURE__ */ s.jsx("div", { className: A1.content, children: n })
@@ -3533,7 +3554,7 @@ export {
3533
3554
  j6 as iconsDictionary,
3534
3555
  M5 as roomOffSourceKey,
3535
3556
  e1 as roomsActions,
3536
- W as runtimeConfigActions,
3557
+ F as runtimeConfigActions,
3537
3558
  j3 as selectAllDevices,
3538
3559
  x2 as selectApiPath,
3539
3560
  w2 as selectAppConfig,
@@ -3552,10 +3573,10 @@ export {
3552
3573
  b2 as selectRoomByKey,
3553
3574
  $2 as selectRoomCodecContentDestinationKey,
3554
3575
  S2 as selectRoomConfiguration,
3555
- _2 as selectRoomDestinationList,
3556
- T2 as selectRoomDestinations,
3576
+ T2 as selectRoomDestinationList,
3577
+ D2 as selectRoomDestinations,
3557
3578
  F2 as selectRoomDisplayStates,
3558
- D2 as selectRoomEnvironmentalDevices,
3579
+ _2 as selectRoomEnvironmentalDevices,
3559
3580
  A2 as selectRoomInCall,
3560
3581
  O2 as selectRoomIsCoolingDown,
3561
3582
  V2 as selectRoomIsOn,
@@ -3578,8 +3599,8 @@ export {
3578
3599
  J2 as selectUserCode,
3579
3600
  G2 as selectWsIsConnected,
3580
3601
  W2 as selectZoomRoomControllerKey,
3581
- m as store,
3582
- F as uiActions,
3602
+ M as store,
3603
+ k as uiActions,
3583
3604
  w8 as uiReducer,
3584
3605
  U6 as useApiPath,
3585
3606
  Z2 as useAppConfig,
@@ -3607,10 +3628,10 @@ export {
3607
3628
  ye as useIChannel,
3608
3629
  Re as useIColor,
3609
3630
  Ee as useICommunicationMonitor,
3610
- Te as useIDPad,
3631
+ De as useIDPad,
3611
3632
  Pe as useIDeviceInfoMessenger,
3612
- _e as useIDspPresets,
3613
- De as useIDvr,
3633
+ Te as useIDspPresets,
3634
+ _e as useIDvr,
3614
3635
  Le as useIEssentialsRoomCombiner,
3615
3636
  $e as useIHasCameras,
3616
3637
  E3 as useIHasPowerControl,