@pepperdash/mobile-control-react-app-core 1.21.0-ibasic-volume.3 → 1.21.0-ibasic-volume.4

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.
@@ -4,8 +4,8 @@ var G = (e, t, o) => n2(e, typeof t != "symbol" ? t + "" : t, o);
4
4
  import c2, { AxiosError as r2 } from "axios";
5
5
  import { useDispatch as l2, useSelector as i2, Provider as a2 } from "react-redux";
6
6
  import { createSelector as w, createSlice as g1, combineReducers as u2, configureStore as d2 } from "@reduxjs/toolkit";
7
- import w3, { createContext as h2, useState as H, useRef as v1, useCallback as a1, useEffect as n1, useContext as v2, useLayoutEffect as x3 } from "react";
8
- import * as M3 from "lodash";
7
+ import x3, { createContext as h2, useState as H, useRef as v1, useCallback as a1, useEffect as n1, useContext as v2, useLayoutEffect as M3 } from "react";
8
+ import * as m3 from "lodash";
9
9
  import { useNavigate as g2, useRouteError as f2, isRouteErrorResponse as p2 } from "react-router-dom";
10
10
  const w2 = l2.withTypes(), f = i2.withTypes(), j1 = (e) => e.appConfig, x2 = w(
11
11
  j1,
@@ -19,13 +19,13 @@ const w2 = l2.withTypes(), f = i2.withTypes(), j1 = (e) => e.appConfig, x2 = w(
19
19
  ), Z2 = w(
20
20
  j1,
21
21
  (e) => e.config.partnerMetadata
22
- ), j2 = () => f(x2), V6 = () => f(M2), k6 = () => f(m2), U6 = () => f(Z2), m3 = (e) => e.devices, Z3 = w(
23
- m3,
22
+ ), j2 = () => f(x2), V6 = () => f(M2), k6 = () => f(m2), U6 = () => f(Z2), Z3 = (e) => e.devices, j3 = w(
23
+ Z3,
24
24
  (e) => e
25
25
  ), S2 = (e) => w(
26
- m3,
26
+ Z3,
27
27
  (t) => t[e] ? t[e] : void 0
28
- ), W6 = () => f(Z3);
28
+ ), W6 = () => f(j3);
29
29
  function P(e) {
30
30
  return f(S2(e));
31
31
  }
@@ -134,7 +134,7 @@ const L = (e) => e.rooms, C2 = (e) => w(
134
134
  ), H2 = w(
135
135
  [
136
136
  (e, t) => t,
137
- () => Z3,
137
+ () => j3,
138
138
  (e, t) => {
139
139
  var o, c;
140
140
  return (c = (o = e.rooms[t]) == null ? void 0 : o.configuration) == null ? void 0 : c.destinations;
@@ -191,7 +191,7 @@ const K6 = S1, G6 = (e) => f(
191
191
  ), t8 = w(
192
192
  J,
193
193
  (e) => e.touchpanelKey !== ""
194
- ), j3 = () => f(q2), s8 = () => f(Y2), o8 = () => f(z2), n8 = () => f(J2), c8 = () => f(X2), r8 = () => f(Q2), ie = () => f(N2), ae = () => f(e8), ue = () => f(t8), c1 = (e) => e.ui, U1 = (e) => w(
194
+ ), S3 = () => f(q2), s8 = () => f(Y2), o8 = () => f(z2), n8 = () => f(J2), c8 = () => f(X2), r8 = () => f(Q2), ie = () => f(N2), ae = () => f(e8), ue = () => f(t8), c1 = (e) => e.ui, U1 = (e) => w(
195
195
  c1,
196
196
  (t) => t.modalVisibility[e]
197
197
  ), l8 = (e) => w(
@@ -224,7 +224,7 @@ const K6 = S1, G6 = (e) => f(
224
224
  showIncomingCallModal: !1
225
225
  },
226
226
  popoverVisibility: {}
227
- }, S3 = g1({
227
+ }, C3 = g1({
228
228
  name: "ui",
229
229
  initialState: g8,
230
230
  reducers: {
@@ -257,7 +257,7 @@ const K6 = S1, G6 = (e) => f(
257
257
  e.theme = t.payload;
258
258
  }
259
259
  }
260
- }), q = S3.actions, f8 = S3.reducer, p8 = {
260
+ }), q = C3.actions, f8 = C3.reducer, p8 = {
261
261
  config: {
262
262
  enableDev: !1,
263
263
  apiPath: "",
@@ -267,7 +267,7 @@ const K6 = S1, G6 = (e) => f(
267
267
  loginMode: "",
268
268
  modes: {}
269
269
  }
270
- }, C3 = g1({
270
+ }, b3 = g1({
271
271
  name: "appConfig",
272
272
  initialState: p8,
273
273
  reducers: {
@@ -275,35 +275,35 @@ const K6 = S1, G6 = (e) => f(
275
275
  e.config = t.payload;
276
276
  }
277
277
  }
278
- }), w8 = C3.actions, x8 = C3.reducer, d3 = {}, B1 = g1({
278
+ }), w8 = b3.actions, x8 = b3.reducer, h3 = {}, B1 = g1({
279
279
  name: "devices",
280
- initialState: d3,
280
+ initialState: h3,
281
281
  reducers: {
282
282
  setDeviceState(e, t) {
283
283
  const o = t.payload.type, c = o.slice(o.lastIndexOf("/") + 1);
284
284
  if (!c) return;
285
- const r = t.payload.content, i = e[c] ?? {}, d = M3.merge(i, r);
285
+ const r = t.payload.content, i = e[c] ?? {}, d = m3.merge(i, r);
286
286
  e[c] = d;
287
287
  },
288
288
  clearDevices() {
289
- return d3;
289
+ return h3;
290
290
  }
291
291
  }
292
292
  }), N = {
293
293
  setDeviceState: B1.actions.setDeviceState,
294
294
  clearDevices: B1.actions.clearDevices
295
- }, M8 = B1.reducer, h3 = {}, O1 = g1({
295
+ }, M8 = B1.reducer, v3 = {}, O1 = g1({
296
296
  name: "rooms",
297
- initialState: h3,
297
+ initialState: v3,
298
298
  reducers: {
299
299
  setRoomState(e, t) {
300
300
  const o = t.payload.type, c = o.slice(o.lastIndexOf("/") + 1);
301
301
  if (!c) return;
302
- const r = t.payload.content, i = e[c] ?? {}, d = M3.merge(i, r);
302
+ const r = t.payload.content, i = e[c] ?? {}, d = m3.merge(i, r);
303
303
  e[c] = d;
304
304
  },
305
305
  clearRooms() {
306
- return h3;
306
+ return v3;
307
307
  }
308
308
  }
309
309
  }), e1 = {
@@ -339,7 +339,7 @@ const K6 = S1, G6 = (e) => f(
339
339
  userCode: "",
340
340
  qrUrl: ""
341
341
  }
342
- }, b3 = g1({
342
+ }, I3 = g1({
343
343
  name: "runtimeConfig",
344
344
  initialState: Z8,
345
345
  reducers: {
@@ -368,7 +368,7 @@ const K6 = S1, G6 = (e) => f(
368
368
  e.touchpanelKey = t.payload;
369
369
  }
370
370
  }
371
- }), W = b3.actions, j8 = b3.reducer, S8 = u2({
371
+ }), W = I3.actions, j8 = I3.reducer, S8 = u2({
372
372
  appConfig: x8,
373
373
  runtimeConfig: j8,
374
374
  rooms: m8,
@@ -406,11 +406,11 @@ var m1 = { exports: {} }, u1 = {};
406
406
  * This source code is licensed under the MIT license found in the
407
407
  * LICENSE file in the root directory of this source tree.
408
408
  */
409
- var v3;
409
+ var g3;
410
410
  function b8() {
411
- if (v3) return u1;
412
- v3 = 1;
413
- var e = w3, 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 };
411
+ if (g3) return u1;
412
+ g3 = 1;
413
+ var e = x3, 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
414
  function d(a, h, x) {
415
415
  var g, R = {}, D = null, F = null;
416
416
  x !== void 0 && (D = "" + x), h.key !== void 0 && (D = "" + h.key), h.ref !== void 0 && (F = h.ref);
@@ -430,10 +430,10 @@ var d1 = {};
430
430
  * This source code is licensed under the MIT license found in the
431
431
  * LICENSE file in the root directory of this source tree.
432
432
  */
433
- var g3;
433
+ var f3;
434
434
  function I8() {
435
- return g3 || (g3 = 1, process.env.NODE_ENV !== "production" && function() {
436
- var e = w3, 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"), h = Symbol.for("react.forward_ref"), x = Symbol.for("react.suspense"), g = 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";
435
+ return f3 || (f3 = 1, process.env.NODE_ENV !== "production" && function() {
436
+ var e = x3, 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"), h = Symbol.for("react.forward_ref"), x = Symbol.for("react.suspense"), g = 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";
437
437
  function r1(n) {
438
438
  if (n === null || typeof n != "object")
439
439
  return null;
@@ -522,18 +522,18 @@ function I8() {
522
522
  }
523
523
  return null;
524
524
  }
525
- var z = Object.assign, l1 = 0, W1, F1, H1, K1, G1, q1, Y1;
526
- function z1() {
525
+ var z = Object.assign, l1 = 0, F1, H1, K1, G1, q1, Y1, z1;
526
+ function J1() {
527
527
  }
528
- z1.__reactDisabledLog = !0;
528
+ J1.__reactDisabledLog = !0;
529
529
  function _3() {
530
530
  {
531
531
  if (l1 === 0) {
532
- W1 = console.log, F1 = console.info, H1 = console.warn, K1 = console.error, G1 = console.group, q1 = console.groupCollapsed, Y1 = console.groupEnd;
532
+ F1 = console.log, H1 = console.info, K1 = console.warn, G1 = console.error, q1 = console.group, Y1 = console.groupCollapsed, z1 = console.groupEnd;
533
533
  var n = {
534
534
  configurable: !0,
535
535
  enumerable: !0,
536
- value: z1,
536
+ value: J1,
537
537
  writable: !0
538
538
  };
539
539
  Object.defineProperties(console, {
@@ -559,25 +559,25 @@ function I8() {
559
559
  };
560
560
  Object.defineProperties(console, {
561
561
  log: z({}, n, {
562
- value: W1
562
+ value: F1
563
563
  }),
564
564
  info: z({}, n, {
565
- value: F1
565
+ value: H1
566
566
  }),
567
567
  warn: z({}, n, {
568
- value: H1
568
+ value: K1
569
569
  }),
570
570
  error: z({}, n, {
571
- value: K1
571
+ value: G1
572
572
  }),
573
573
  group: z({}, n, {
574
- value: G1
574
+ value: q1
575
575
  }),
576
576
  groupCollapsed: z({}, n, {
577
- value: q1
577
+ value: Y1
578
578
  }),
579
579
  groupEnd: z({}, n, {
580
- value: Y1
580
+ value: z1
581
581
  })
582
582
  });
583
583
  }
@@ -603,7 +603,7 @@ function I8() {
603
603
  var T3 = typeof WeakMap == "function" ? WeakMap : Map;
604
604
  w1 = new T3();
605
605
  }
606
- function J1(n, l) {
606
+ function X1(n, l) {
607
607
  if (!n || E1)
608
608
  return "";
609
609
  {
@@ -675,7 +675,7 @@ function I8() {
675
675
  return typeof n == "function" && w1.set(n, Q), Q;
676
676
  }
677
677
  function L3(n, l, u) {
678
- return J1(n, !1);
678
+ return X1(n, !1);
679
679
  }
680
680
  function D3(n) {
681
681
  var l = n.prototype;
@@ -685,7 +685,7 @@ function I8() {
685
685
  if (n == null)
686
686
  return "";
687
687
  if (typeof n == "function")
688
- return J1(n, D3(n));
688
+ return X1(n, D3(n));
689
689
  if (typeof n == "string")
690
690
  return p1(n);
691
691
  switch (n) {
@@ -710,13 +710,13 @@ function I8() {
710
710
  }
711
711
  return "";
712
712
  }
713
- var i1 = Object.prototype.hasOwnProperty, X1 = {}, Q1 = $.ReactDebugCurrentFrame;
713
+ var i1 = Object.prototype.hasOwnProperty, Q1 = {}, N1 = $.ReactDebugCurrentFrame;
714
714
  function M1(n) {
715
715
  if (n) {
716
716
  var l = n._owner, u = x1(n.type, n._source, l ? l.type : null);
717
- Q1.setExtraStackFrame(u);
717
+ N1.setExtraStackFrame(u);
718
718
  } else
719
- Q1.setExtraStackFrame(null);
719
+ N1.setExtraStackFrame(null);
720
720
  }
721
721
  function $3(n, l, u, v, C) {
722
722
  {
@@ -733,7 +733,7 @@ function I8() {
733
733
  } catch (_) {
734
734
  M = _;
735
735
  }
736
- 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).", v || "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));
736
+ 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).", v || "React class", u, Z, typeof M), M1(null)), M instanceof Error && !(M.message in Q1) && (Q1[M.message] = !0, M1(C), A("Failed %s type: %s", u, M.message), M1(null));
737
737
  }
738
738
  }
739
739
  }
@@ -749,24 +749,24 @@ function I8() {
749
749
  }
750
750
  function O3(n) {
751
751
  try {
752
- return N1(n), !1;
752
+ return e3(n), !1;
753
753
  } catch {
754
754
  return !0;
755
755
  }
756
756
  }
757
- function N1(n) {
757
+ function e3(n) {
758
758
  return "" + n;
759
759
  }
760
- function e3(n) {
760
+ function t3(n) {
761
761
  if (O3(n))
762
- return A("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", B3(n)), N1(n);
762
+ return A("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", B3(n)), e3(n);
763
763
  }
764
- var t3 = $.ReactCurrentOwner, V3 = {
764
+ var s3 = $.ReactCurrentOwner, V3 = {
765
765
  key: !0,
766
766
  ref: !0,
767
767
  __self: !0,
768
768
  __source: !0
769
- }, s3, o3;
769
+ }, o3, n3;
770
770
  function k3(n) {
771
771
  if (i1.call(n, "ref")) {
772
772
  var l = Object.getOwnPropertyDescriptor(n, "ref").get;
@@ -784,12 +784,12 @@ function I8() {
784
784
  return n.key !== void 0;
785
785
  }
786
786
  function W3(n, l) {
787
- typeof n.ref == "string" && t3.current;
787
+ typeof n.ref == "string" && s3.current;
788
788
  }
789
789
  function F3(n, l) {
790
790
  {
791
791
  var u = function() {
792
- s3 || (s3 = !0, A("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", l));
792
+ o3 || (o3 = !0, A("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", l));
793
793
  };
794
794
  u.isReactWarning = !0, Object.defineProperty(n, "key", {
795
795
  get: u,
@@ -800,7 +800,7 @@ function I8() {
800
800
  function H3(n, l) {
801
801
  {
802
802
  var u = function() {
803
- o3 || (o3 = !0, A("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", l));
803
+ n3 || (n3 = !0, A("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", l));
804
804
  };
805
805
  u.isReactWarning = !0, Object.defineProperty(n, "ref", {
806
806
  get: u,
@@ -840,7 +840,7 @@ function I8() {
840
840
  function G3(n, l, u, v, C) {
841
841
  {
842
842
  var I, Z = {}, M = null, O = null;
843
- u !== void 0 && (e3(u), M = "" + u), U3(l) && (e3(l.key), M = "" + l.key), k3(l) && (O = l.ref, W3(l, C));
843
+ u !== void 0 && (t3(u), M = "" + u), U3(l) && (t3(l.key), M = "" + l.key), k3(l) && (O = l.ref, W3(l, C));
844
844
  for (I in l)
845
845
  i1.call(l, I) && !V3.hasOwnProperty(I) && (Z[I] = l[I]);
846
846
  if (n && n.defaultProps) {
@@ -852,23 +852,23 @@ function I8() {
852
852
  var T = typeof n == "function" ? n.displayName || n.name || "Unknown" : n;
853
853
  M && F3(Z, T), O && H3(Z, T);
854
854
  }
855
- return K3(n, M, O, C, v, t3.current, Z);
855
+ return K3(n, M, O, C, v, s3.current, Z);
856
856
  }
857
857
  }
858
- var P1 = $.ReactCurrentOwner, n3 = $.ReactDebugCurrentFrame;
858
+ var P1 = $.ReactCurrentOwner, c3 = $.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);
862
- n3.setExtraStackFrame(u);
862
+ c3.setExtraStackFrame(u);
863
863
  } else
864
- n3.setExtraStackFrame(null);
864
+ c3.setExtraStackFrame(null);
865
865
  }
866
866
  var T1;
867
867
  T1 = !1;
868
868
  function L1(n) {
869
869
  return typeof n == "object" && n !== null && n.$$typeof === t;
870
870
  }
871
- function c3() {
871
+ function r3() {
872
872
  {
873
873
  if (P1.current) {
874
874
  var n = K(P1.current.type);
@@ -883,10 +883,10 @@ Check the render method of \`` + n + "`.";
883
883
  function q3(n) {
884
884
  return "";
885
885
  }
886
- var r3 = {};
886
+ var l3 = {};
887
887
  function Y3(n) {
888
888
  {
889
- var l = c3();
889
+ var l = r3();
890
890
  if (!l) {
891
891
  var u = typeof n == "string" ? n : n.displayName || n.name;
892
892
  u && (l = `
@@ -896,27 +896,27 @@ Check the top-level render call using <` + u + ">.");
896
896
  return l;
897
897
  }
898
898
  }
899
- function l3(n, l) {
899
+ function i3(n, l) {
900
900
  {
901
901
  if (!n._store || n._store.validated || n.key != null)
902
902
  return;
903
903
  n._store.validated = !0;
904
904
  var u = Y3(l);
905
- if (r3[u])
905
+ if (l3[u])
906
906
  return;
907
- r3[u] = !0;
907
+ l3[u] = !0;
908
908
  var v = "";
909
909
  n && n._owner && n._owner !== P1.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);
910
910
  }
911
911
  }
912
- function i3(n, l) {
912
+ function a3(n, l) {
913
913
  {
914
914
  if (typeof n != "object")
915
915
  return;
916
916
  if (_1(n))
917
917
  for (var u = 0; u < n.length; u++) {
918
918
  var v = n[u];
919
- L1(v) && l3(v, l);
919
+ L1(v) && i3(v, l);
920
920
  }
921
921
  else if (L1(n))
922
922
  n._store && (n._store.validated = !0);
@@ -924,7 +924,7 @@ Check the top-level render call using <` + u + ">.");
924
924
  var C = r1(n);
925
925
  if (typeof C == "function" && C !== n.entries)
926
926
  for (var I = C.call(n), Z; !(Z = I.next()).done; )
927
- L1(Z.value) && l3(Z.value, l);
927
+ L1(Z.value) && i3(Z.value, l);
928
928
  }
929
929
  }
930
930
  }
@@ -965,15 +965,15 @@ Check the top-level render call using <` + u + ">.");
965
965
  n.ref !== null && (s1(n), A("Invalid attribute `ref` supplied to `React.Fragment`."), s1(null));
966
966
  }
967
967
  }
968
- var a3 = {};
969
- function u3(n, l, u, v, C, I) {
968
+ var u3 = {};
969
+ function d3(n, l, u, v, C, I) {
970
970
  {
971
971
  var Z = B(n);
972
972
  if (!Z) {
973
973
  var M = "";
974
974
  (n === void 0 || typeof n == "object" && n !== null && Object.keys(n).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.");
975
975
  var O = q3();
976
- O ? M += O : M += c3();
976
+ O ? M += O : M += r3();
977
977
  var _;
978
978
  n === null ? _ = "null" : _1(n) ? _ = "array" : n !== void 0 && n.$$typeof === t ? (_ = "<" + (K(n.type) || "Unknown") + " />", M = " Did you accidentally export a JSX literal instead of a component?") : _ = 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", _, M);
979
979
  }
@@ -986,49 +986,49 @@ Check the top-level render call using <` + u + ">.");
986
986
  if (v)
987
987
  if (_1(U)) {
988
988
  for (var o1 = 0; o1 < U.length; o1++)
989
- i3(U[o1], n);
989
+ a3(U[o1], n);
990
990
  Object.freeze && Object.freeze(U);
991
991
  } else
992
992
  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.");
993
993
  else
994
- i3(U, n);
994
+ a3(U, n);
995
995
  }
996
996
  if (i1.call(l, "key")) {
997
997
  var Q = K(n), V = Object.keys(l).filter(function(s2) {
998
998
  return s2 !== "key";
999
999
  }), D1 = V.length > 0 ? "{key: someKey, " + V.join(": ..., ") + ": ...}" : "{key: someKey}";
1000
- if (!a3[Q + D1]) {
1000
+ if (!u3[Q + D1]) {
1001
1001
  var t2 = V.length > 0 ? "{" + V.join(": ..., ") + ": ...}" : "{}";
1002
1002
  A(`A props object containing a "key" prop is being spread into JSX:
1003
1003
  let props = %s;
1004
1004
  <%s {...props} />
1005
1005
  React keys must be passed directly to JSX without using spread:
1006
1006
  let props = %s;
1007
- <%s key={someKey} {...props} />`, D1, Q, t2, Q), a3[Q + D1] = !0;
1007
+ <%s key={someKey} {...props} />`, D1, Q, t2, Q), u3[Q + D1] = !0;
1008
1008
  }
1009
1009
  }
1010
1010
  return n === c ? J3(T) : z3(T), T;
1011
1011
  }
1012
1012
  }
1013
1013
  function X3(n, l, u) {
1014
- return u3(n, l, u, !0);
1014
+ return d3(n, l, u, !0);
1015
1015
  }
1016
1016
  function Q3(n, l, u) {
1017
- return u3(n, l, u, !1);
1017
+ return d3(n, l, u, !1);
1018
1018
  }
1019
1019
  var N3 = Q3, e2 = X3;
1020
1020
  d1.Fragment = c, d1.jsx = N3, d1.jsxs = e2;
1021
1021
  }()), d1;
1022
1022
  }
1023
- var f3;
1023
+ var p3;
1024
1024
  function R8() {
1025
- return f3 || (f3 = 1, process.env.NODE_ENV === "production" ? m1.exports = b8() : m1.exports = I8()), m1.exports;
1025
+ return p3 || (p3 = 1, process.env.NODE_ENV === "production" ? m1.exports = b8() : m1.exports = I8()), m1.exports;
1026
1026
  }
1027
1027
  var s = R8();
1028
1028
  const y8 = "_mwfit_ppa3l_1", E8 = {
1029
1029
  mwfit: y8
1030
1030
  }, _8 = () => {
1031
- const { reconnect: e } = b(), t = j3(), o = h8(), c = v8();
1031
+ const { reconnect: e } = b(), t = S3(), o = h8(), c = v8();
1032
1032
  return /* @__PURE__ */ s.jsx(s.Fragment, { children: /* @__PURE__ */ s.jsxs(
1033
1033
  "div",
1034
1034
  {
@@ -1049,7 +1049,7 @@ class P8 {
1049
1049
  G(this, "expiry", "current-uuid-expires");
1050
1050
  }
1051
1051
  }
1052
- const p3 = new P8(), I3 = h2({
1052
+ const w3 = new P8(), R3 = h2({
1053
1053
  sendMessage: () => null,
1054
1054
  sendSimpleMessage: () => null,
1055
1055
  addEventHandler: () => null,
@@ -1063,7 +1063,7 @@ function L8(e, t) {
1063
1063
  sessionStorage.setItem(e, t);
1064
1064
  }
1065
1065
  const D8 = ({ children: e }) => {
1066
- const [t, o] = H(), c = j3(), r = s8(), i = o8(), d = C8(), a = j2(), h = n8(), x = c8(), g = r8(), R = v1(null), [D, F] = H(), k = v1({}), X = a1(
1066
+ const [t, o] = H(), c = S3(), r = s8(), i = o8(), d = C8(), a = j2(), h = n8(), x = c8(), g = r8(), R = v1(null), [D, F] = H(), k = v1({}), X = a1(
1067
1067
  async (y) => {
1068
1068
  try {
1069
1069
  const S = await V1.get(`${y}/ui/joinroom?token=${t}`);
@@ -1093,7 +1093,7 @@ const D8 = ({ children: e }) => {
1093
1093
  }, []);
1094
1094
  return n1(() => {
1095
1095
  let S = new URLSearchParams(window.location.search).get("token");
1096
- S ? (console.log("saving token: ", S), L8(p3.uuid, S)) : (S = T8(p3.uuid), console.log("loading token: ", S)), o(S), d();
1096
+ S ? (console.log("saving token: ", S), L8(w3.uuid, S)) : (S = T8(w3.uuid), console.log("loading token: ", S)), o(S), d();
1097
1097
  }, []), console.log("connection dependencies", a.apiPath, X, t, D, g), n1(() => {
1098
1098
  async function y() {
1099
1099
  if (console.log("Attempting to join websocket..."), !a.apiPath || D || !t || !await X(a.apiPath)) return;
@@ -1191,7 +1191,7 @@ const D8 = ({ children: e }) => {
1191
1191
  }, [a.apiPath, X, t, D, g]), n1(() => {
1192
1192
  !r || !c || (console.log("clientId: ", i), i && (console.log("requesting status from room: ", r), $(`/room/${r}/status`, null)));
1193
1193
  }, [r, i, c, $]), /* @__PURE__ */ s.jsx(
1194
- I3.Provider,
1194
+ R3.Provider,
1195
1195
  {
1196
1196
  value: {
1197
1197
  sendMessage: $,
@@ -1205,7 +1205,7 @@ const D8 = ({ children: e }) => {
1205
1205
  );
1206
1206
  }, we = ({ children: e }) => /* @__PURE__ */ s.jsx(a2, { store: m, children: /* @__PURE__ */ s.jsx(D8, { children: e }) });
1207
1207
  function b() {
1208
- return v2(I3);
1208
+ return v2(R3);
1209
1209
  }
1210
1210
  function $8({
1211
1211
  onPress: e,
@@ -1243,7 +1243,7 @@ function p(e, t) {
1243
1243
  }
1244
1244
  return $8({ onPress: i, onRelease: d });
1245
1245
  }
1246
- function R3(e) {
1246
+ function W1(e) {
1247
1247
  const { sendMessage: t } = b(), o = p(`${e}`, "volumeUp"), c = p(`${e}`, "volumeDown");
1248
1248
  return {
1249
1249
  volumeUp: o,
@@ -1252,7 +1252,7 @@ function R3(e) {
1252
1252
  };
1253
1253
  }
1254
1254
  function y3(e, t) {
1255
- const { sendMessage: o, sendSimpleMessage: c } = b(), r = R3(e);
1255
+ const { sendMessage: o, sendSimpleMessage: c } = b(), r = W1(e);
1256
1256
  if (!r) {
1257
1257
  console.log("baseVolume is undefined");
1258
1258
  return;
@@ -1270,7 +1270,7 @@ function y3(e, t) {
1270
1270
  };
1271
1271
  }
1272
1272
  function xe(e, t) {
1273
- const { sendMessage: o, sendSimpleMessage: c } = b(), r = R3(e);
1273
+ const { sendMessage: o, sendSimpleMessage: c } = b(), r = W1(e);
1274
1274
  if (!r) {
1275
1275
  console.log("baseVolume is undefined");
1276
1276
  return;
@@ -1580,7 +1580,11 @@ function Xe(e) {
1580
1580
  powerFb: { powerOnFb: r, powerOffFb: i }
1581
1581
  };
1582
1582
  }
1583
- const Qe = ({
1583
+ function Qe(e) {
1584
+ const t = `/device/${e}`;
1585
+ return W1(t);
1586
+ }
1587
+ const Ne = ({
1584
1588
  config: e
1585
1589
  }) => {
1586
1590
  const { sendMessage: t } = b();
@@ -1613,9 +1617,9 @@ const Qe = ({
1613
1617
  });
1614
1618
  }, [e, t]);
1615
1619
  };
1616
- function Ne(e, t) {
1620
+ function e5(e, t) {
1617
1621
  const [o, c] = H(!1), [r, i] = H(!1);
1618
- return x3(() => {
1622
+ return M3(() => {
1619
1623
  const { current: d } = e, a = () => {
1620
1624
  const h = d && d.scrollHeight > d.clientHeight, x = d && d.scrollWidth > d.clientWidth;
1621
1625
  i(h ?? !1), c(x ?? !1), t && t(h ?? !1, x ?? !1);
@@ -1623,11 +1627,11 @@ function Ne(e, t) {
1623
1627
  d && a();
1624
1628
  }, [e, t]), { overflowHorizontal: o, overflowVertical: r };
1625
1629
  }
1626
- function e5(e, t) {
1630
+ function t5(e, t) {
1627
1631
  const o = K2(e, t), c = `/room/${e}/volumes/${t}`;
1628
1632
  return y3(c, o);
1629
1633
  }
1630
- function t5(e) {
1634
+ function s5(e) {
1631
1635
  var a, h;
1632
1636
  const [t, o] = H(((a = e == null ? void 0 : e.current) == null ? void 0 : a.scrollLeft) ?? 0), [c, r] = H(((h = e == null ? void 0 : e.current) == null ? void 0 : h.scrollTop) ?? 0), i = (x) => {
1633
1637
  const { current: g } = e;
@@ -1636,14 +1640,14 @@ function t5(e) {
1636
1640
  const { current: g } = e;
1637
1641
  g && (console.log(g.scrollTop), g.scrollTop += x, console.log(g.scrollTop));
1638
1642
  };
1639
- return x3(() => {
1643
+ return M3(() => {
1640
1644
  const { current: x } = e, g = () => {
1641
1645
  o((x == null ? void 0 : x.scrollLeft) ?? 0), r((x == null ? void 0 : x.scrollTop) ?? 0);
1642
1646
  };
1643
1647
  x && g();
1644
1648
  }, [e]), { horizontalScrollPosition: t, verticalScrollPosition: c, scrollHorizontal: i, scrollVertical: d };
1645
1649
  }
1646
- function s5() {
1650
+ function o5() {
1647
1651
  const { sendMessage: e } = b();
1648
1652
  return {
1649
1653
  reboot: () => {
@@ -1654,7 +1658,7 @@ function s5() {
1654
1658
  }
1655
1659
  };
1656
1660
  }
1657
- function o5() {
1661
+ function n5() {
1658
1662
  const [e, t] = H(), [o, c] = H();
1659
1663
  function r() {
1660
1664
  t((/* @__PURE__ */ new Date()).toLocaleDateString("en-US", { dateStyle: "long" }));
@@ -1669,7 +1673,7 @@ function o5() {
1669
1673
  return () => clearInterval(i);
1670
1674
  }, []), { date: e, time: o };
1671
1675
  }
1672
- const n5 = () => {
1676
+ const c5 = () => {
1673
1677
  const [e, t] = H(!1), o = g2(), c = f2();
1674
1678
  let r;
1675
1679
  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: [
@@ -2933,7 +2937,7 @@ const n5 = () => {
2933
2937
  active: e,
2934
2938
  disabled: o
2935
2939
  }
2936
- ), c5 = ({
2940
+ ), r5 = ({
2937
2941
  active: e,
2938
2942
  // Just to shut up the linter on this template. Prefer deleting this lint rule
2939
2943
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
@@ -3374,7 +3378,7 @@ const n5 = () => {
3374
3378
  X: w6,
3375
3379
  Xbox: x6
3376
3380
  };
3377
- function r5({
3381
+ function l5({
3378
3382
  name: e,
3379
3383
  iconsDictionary: t = m6,
3380
3384
  ...o
@@ -3388,7 +3392,7 @@ const Z6 = "_grid_1cmpp_1", j6 = "_header_1cmpp_11", S6 = "_content_1cmpp_17", C
3388
3392
  content: S6,
3389
3393
  footer: C6,
3390
3394
  volume: b6
3391
- }, l5 = ({ header: e, footer: t, content: o, volume: c, showVolume: r }) => /* @__PURE__ */ s.jsxs("div", { className: h1.grid, children: [
3395
+ }, i5 = ({ header: e, footer: t, content: o, volume: c, showVolume: r }) => /* @__PURE__ */ s.jsxs("div", { className: h1.grid, children: [
3392
3396
  /* @__PURE__ */ s.jsx("div", { className: h1.header, children: e }),
3393
3397
  /* @__PURE__ */ s.jsx("div", { className: h1.content, children: o }),
3394
3398
  r && /* @__PURE__ */ s.jsx("div", { className: h1.volume, children: c }),
@@ -3397,7 +3401,7 @@ const Z6 = "_grid_1cmpp_1", j6 = "_header_1cmpp_11", S6 = "_content_1cmpp_17", C
3397
3401
  grid: I6,
3398
3402
  header: R6,
3399
3403
  content: y6
3400
- }, i5 = ({ className: e, header: t, content: o, leftNav: c }) => /* @__PURE__ */ s.jsxs("div", { className: `${e} ${Z1.grid}`, children: [
3404
+ }, a5 = ({ className: e, header: t, content: o, leftNav: c }) => /* @__PURE__ */ s.jsxs("div", { className: `${e} ${Z1.grid}`, children: [
3401
3405
  /* @__PURE__ */ s.jsx("div", { className: Z1.header, children: t }),
3402
3406
  c && /* @__PURE__ */ s.jsx("div", { className: Z1.leftNav, children: c }),
3403
3407
  /* @__PURE__ */ s.jsx("div", { className: Z1.content, children: o })
@@ -3405,23 +3409,23 @@ const Z6 = "_grid_1cmpp_1", j6 = "_header_1cmpp_11", S6 = "_content_1cmpp_17", C
3405
3409
  grid: E6,
3406
3410
  header: _6,
3407
3411
  content: P6
3408
- }, a5 = ({ className: e, header: t, content: o }) => /* @__PURE__ */ s.jsxs("div", { className: `${e} ${A1.grid}`, children: [
3412
+ }, u5 = ({ className: e, header: t, content: o }) => /* @__PURE__ */ s.jsxs("div", { className: `${e} ${A1.grid}`, children: [
3409
3413
  /* @__PURE__ */ s.jsx("div", { className: A1.header, children: t }),
3410
3414
  /* @__PURE__ */ s.jsx("div", { className: A1.content, children: o })
3411
3415
  ] });
3412
- function u5() {
3416
+ function d5() {
3413
3417
  return console.log(location.pathname), location.pathname;
3414
3418
  }
3415
3419
  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 || {});
3416
- class d5 {
3420
+ class h5 {
3417
3421
  constructor(t, o) {
3418
3422
  G(this, "path");
3419
3423
  G(this, "handler");
3420
3424
  this.path = t, this.handler = o;
3421
3425
  }
3422
3426
  }
3423
- const h5 = "$off";
3424
- class v5 {
3427
+ const v5 = "$off";
3428
+ class g5 {
3425
3429
  constructor() {
3426
3430
  G(this, "currentShareText");
3427
3431
  G(this, "enabled");
@@ -3431,7 +3435,7 @@ class v5 {
3431
3435
  export {
3432
3436
  me as Clock,
3433
3437
  T6 as DaysOfWeek,
3434
- n5 as ErrorBox,
3438
+ c5 as ErrorBox,
3435
3439
  U8 as IconButton,
3436
3440
  W8 as IconMultiAlert,
3437
3441
  F8 as IconMultiBan,
@@ -3458,7 +3462,7 @@ export {
3458
3462
  a6 as IconMultiRoomPC,
3459
3463
  u6 as IconMultiShade,
3460
3464
  d6 as IconMultiSun,
3461
- c5 as IconMultiTemplate,
3465
+ r5 as IconMultiTemplate,
3462
3466
  h6 as IconMultiUpArrow,
3463
3467
  v6 as IconMultiVolDown,
3464
3468
  g6 as IconMultiVolMute,
@@ -3466,19 +3470,19 @@ export {
3466
3470
  p6 as IconMultiWireless,
3467
3471
  w6 as IconMultiX,
3468
3472
  x6 as IconMultiXbox,
3469
- l5 as MainLayout,
3470
- d5 as MessageHandler,
3473
+ i5 as MainLayout,
3474
+ h5 as MessageHandler,
3471
3475
  we as MobileControlProvider,
3472
3476
  j as MultiStateIconContainer,
3473
- r5 as NamedIconButton,
3474
- v5 as ShareState,
3475
- i5 as TechLayout,
3476
- a5 as TechPinLayout,
3477
- u5 as getBaseLocation,
3477
+ l5 as NamedIconButton,
3478
+ g5 as ShareState,
3479
+ a5 as TechLayout,
3480
+ u5 as TechPinLayout,
3481
+ d5 as getBaseLocation,
3478
3482
  V1 as httpClient,
3479
3483
  m6 as iconsDictionary,
3480
- h5 as roomOffSourceKey,
3481
- Z3 as selectAllDevices,
3484
+ v5 as roomOffSourceKey,
3485
+ j3 as selectAllDevices,
3482
3486
  M2 as selectApiPath,
3483
3487
  x2 as selectAppConfig,
3484
3488
  z2 as selectClientId,
@@ -3530,11 +3534,12 @@ export {
3530
3534
  Me as useAvrControl,
3531
3535
  p as useButtonHeldHeartbeat,
3532
3536
  o8 as useClientId,
3537
+ Qe as useDeviceIBasicVolume,
3533
3538
  A8 as useDeviceIBasicVolumeWithFeedback,
3534
3539
  Ze as useDevicePresetsModel,
3535
3540
  je as useEndpoint,
3536
3541
  h8 as useError,
3537
- Qe as useGetAllDeviceStateFromRoomConfiguration,
3542
+ Ne as useGetAllDeviceStateFromRoomConfiguration,
3538
3543
  W6 as useGetAllDevices,
3539
3544
  H6 as useGetAllRooms,
3540
3545
  ge as useGetCurrentPopoverIdForGroup,
@@ -3577,7 +3582,7 @@ export {
3577
3582
  ue as useIsTouchpanel,
3578
3583
  k6 as useLogoPath,
3579
3584
  Je as useMobileControlTouchpanelController,
3580
- Ne as useOverflow,
3585
+ e5 as useOverflow,
3581
3586
  U6 as usePartnerMetadata,
3582
3587
  $8 as usePressHoldRelease,
3583
3588
  ne as useRoomAdvancedSharingActive,
@@ -3587,7 +3592,7 @@ export {
3587
3592
  J6 as useRoomDestinationList,
3588
3593
  z6 as useRoomDestinations,
3589
3594
  X6 as useRoomEnvironmentalDevices,
3590
- e5 as useRoomIBasicVolumeWithFeedback,
3595
+ t5 as useRoomIBasicVolumeWithFeedback,
3591
3596
  ee as useRoomInCall,
3592
3597
  se as useRoomIsCoolingDown,
3593
3598
  oe as useRoomIsOn,
@@ -3601,20 +3606,20 @@ export {
3601
3606
  S1 as useRoomState,
3602
3607
  K2 as useRoomVolume,
3603
3608
  ie as useRuntimeInfo,
3604
- t5 as useScroll,
3609
+ s5 as useScroll,
3605
3610
  r8 as useServerIsRunningOnProcessorHardware,
3606
3611
  he as useShowIncomingCallModal,
3607
3612
  ve as useShowModal,
3608
3613
  fe as useShowPopoverById,
3609
3614
  v8 as useShowReconnect,
3610
3615
  de as useShowShutdownModal,
3611
- s5 as useSystemControl,
3616
+ o5 as useSystemControl,
3612
3617
  n8 as useSystemUuid,
3613
3618
  pe as useTheme,
3614
- o5 as useTimeAndDate,
3619
+ n5 as useTimeAndDate,
3615
3620
  ae as useTouchpanelKey,
3616
3621
  Xe as useTwoWayDisplayBase,
3617
3622
  c8 as useUserCode,
3618
3623
  b as useWebsocketContext,
3619
- j3 as useWsIsConnected
3624
+ S3 as useWsIsConnected
3620
3625
  };