@pepperdash/mobile-control-react-app-core 1.25.0-feat-essentials-v3.17 → 1.25.0-feat-essentials-v3.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,13 +1,13 @@
1
- var p2 = Object.defineProperty;
2
- var w2 = (e, t, n) => t in e ? p2(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
1
+ var m2 = Object.defineProperty;
2
+ var w2 = (e, t, n) => t in e ? m2(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var G = (e, t, n) => w2(e, typeof t != "symbol" ? t + "" : t, n);
4
4
  import M3, { AxiosError as M2 } from "axios";
5
5
  import { useDispatch as x2, useSelector as S2, Provider as Z2 } from "react-redux";
6
6
  import { createSelector as x, createSlice as v1, combineReducers as C2, configureStore as j2 } from "@reduxjs/toolkit";
7
7
  import x3, { createContext as b2, useEffect as S1, useCallback as l1, useContext as I2, useRef as d1, useMemo as E, useState as Y, useLayoutEffect as S3 } from "react";
8
- import { useNavigate as y2, useRouteError as R2, isRouteErrorResponse as P2 } from "react-router-dom";
8
+ import { useNavigate as y2, useRouteError as R2, isRouteErrorResponse as $2 } from "react-router-dom";
9
9
  import * as Z3 from "lodash";
10
- const V1 = x2.withTypes(), w = S2.withTypes(), Z1 = (e) => e.appConfig, $2 = x(
10
+ const V1 = x2.withTypes(), w = S2.withTypes(), Z1 = (e) => e.appConfig, P2 = x(
11
11
  Z1,
12
12
  (e) => e.config
13
13
  ), E2 = x(
@@ -19,7 +19,7 @@ const V1 = x2.withTypes(), w = S2.withTypes(), Z1 = (e) => e.appConfig, $2 = x(
19
19
  ), D2 = x(
20
20
  Z1,
21
21
  (e) => e.config.partnerMetadata
22
- ), Xt = () => w($2), Qt = () => w(E2), Nt = () => w(T2), e8 = () => w(D2), C3 = (e) => e.devices, j3 = x(
22
+ ), Xt = () => w(P2), Qt = () => w(E2), Nt = () => w(T2), e8 = () => w(D2), C3 = (e) => e.devices, j3 = x(
23
23
  C3,
24
24
  (e) => e
25
25
  ), A2 = (e) => x(
@@ -161,7 +161,7 @@ const s8 = C1, c8 = (e) => w(
161
161
  O2(e)
162
162
  ), ne = (e, t) => w(
163
163
  W2(e, t)
164
- ), oe = (e) => w(V2(e)) || void 0, r8 = (e) => w(k2(e)), l8 = (e) => w(F2(e)), i8 = (e) => w(H2(e)), a8 = (e) => w(U2(e)), u8 = (e) => w(K2(e)), d8 = (e) => w(q2(e)), v8 = (e) => w(G2(e)), g8 = (e) => w(z2(e)), h8 = (e) => w(Y2(e)), f8 = (e) => w(J2(e)), m8 = (e) => w(X2(e)), p8 = (e) => w(Q2(e)), w8 = (e) => w(N2(e)), M8 = (e) => w((t) => te(t, e)), x8 = (e) => w(ee(e)), z = (e) => e.runtimeConfig, se = x(
164
+ ), oe = (e) => w(V2(e)) || void 0, r8 = (e) => w(k2(e)), l8 = (e) => w(F2(e)), i8 = (e) => w(H2(e)), a8 = (e) => w(U2(e)), u8 = (e) => w(K2(e)), d8 = (e) => w(q2(e)), v8 = (e) => w(G2(e)), g8 = (e) => w(z2(e)), h8 = (e) => w(Y2(e)), f8 = (e) => w(J2(e)), p8 = (e) => w(X2(e)), m8 = (e) => w(Q2(e)), w8 = (e) => w(N2(e)), M8 = (e) => w((t) => te(t, e)), x8 = (e) => w(ee(e)), z = (e) => e.runtimeConfig, se = x(
165
165
  z,
166
166
  (e) => e.websocket.isConnected
167
167
  ), ce = x(
@@ -203,7 +203,7 @@ const s8 = C1, c8 = (e) => w(
203
203
  ), ge = (e, t) => x(
204
204
  I3(e),
205
205
  (n) => n.includes(t)
206
- ), y3 = () => w(se), S8 = () => w(ce), Z8 = () => w(re), C8 = () => w(le), j8 = () => w(ie), b8 = () => w(ae), I8 = () => w(ue), y8 = () => w(de), R8 = () => w(ve), P8 = () => w(b3), $8 = (e) => w(I3(e)), E8 = (e, t) => w(ge(e, t)), e1 = (e) => e.ui, k1 = (e) => x(e1, (t) => t.modalVisibility[e]), he = (e) => x(e1, (t) => {
206
+ ), y3 = () => w(se), S8 = () => w(ce), Z8 = () => w(re), C8 = () => w(le), j8 = () => w(ie), b8 = () => w(ae), I8 = () => w(ue), y8 = () => w(de), R8 = () => w(ve), $8 = () => w(b3), P8 = (e) => w(I3(e)), E8 = (e, t) => w(ge(e, t)), e1 = (e) => e.ui, k1 = (e) => x(e1, (t) => t.modalVisibility[e]), he = (e) => x(e1, (t) => {
207
207
  const n = t.popoverVisibility[e];
208
208
  if (n)
209
209
  return Object.keys(n).find((s) => n[s]);
@@ -213,10 +213,10 @@ const s8 = C1, c8 = (e) => w(
213
213
  var s;
214
214
  return ((s = n.popoverVisibility[e]) == null ? void 0 : s[t]) ?? !1;
215
215
  }
216
- ), me = x(e1, (e) => e.error), pe = x(
216
+ ), pe = x(e1, (e) => e.error), me = x(
217
217
  e1,
218
218
  (e) => e.showReconnect
219
- ), we = x(e1, (e) => e.theme), R3 = (e) => x(e1, (t) => t.syncState.includes(e)), T8 = () => w(k1("showShutdownModal")), D8 = () => w(k1("showIncomingCallModal")), A8 = (e) => w(k1(e)), L8 = (e) => w(he(e)), _8 = (e, t) => w(fe(e, t)), Me = () => w(me), xe = () => w(pe), B8 = () => w(we), Se = (e) => w(R3(e)), O8 = () => w(R3("initialSyncComplete")), Ze = {
219
+ ), we = x(e1, (e) => e.theme), R3 = (e) => x(e1, (t) => t.syncState.includes(e)), T8 = () => w(k1("showShutdownModal")), D8 = () => w(k1("showIncomingCallModal")), A8 = (e) => w(k1(e)), L8 = (e) => w(he(e)), _8 = (e, t) => w(fe(e, t)), Me = () => w(pe), xe = () => w(me), B8 = () => w(we), Se = (e) => w(R3(e)), O8 = () => w(R3("initialSyncComplete")), Ze = {
220
220
  showReconnect: !1,
221
221
  error: "",
222
222
  modalVisibility: {
@@ -225,7 +225,7 @@ const s8 = C1, c8 = (e) => w(
225
225
  },
226
226
  popoverVisibility: {},
227
227
  syncState: []
228
- }, P3 = v1({
228
+ }, $3 = v1({
229
229
  name: "ui",
230
230
  initialState: Ze,
231
231
  reducers: {
@@ -271,7 +271,7 @@ const s8 = C1, c8 = (e) => w(
271
271
  e.syncState = [];
272
272
  }
273
273
  }
274
- }), V = P3.actions, Ce = P3.reducer, je = {
274
+ }), V = $3.actions, Ce = $3.reducer, je = {
275
275
  config: {
276
276
  enableDev: !1,
277
277
  apiPath: "",
@@ -281,7 +281,7 @@ const s8 = C1, c8 = (e) => w(
281
281
  loginMode: "",
282
282
  modes: {}
283
283
  }
284
- }, $3 = v1({
284
+ }, P3 = v1({
285
285
  name: "appConfig",
286
286
  initialState: je,
287
287
  reducers: {
@@ -289,7 +289,7 @@ const s8 = C1, c8 = (e) => w(
289
289
  e.config = t.payload;
290
290
  }
291
291
  }
292
- }), E3 = $3.actions, be = $3.reducer, v3 = {}, B1 = v1({
292
+ }), E3 = P3.actions, be = P3.reducer, v3 = {}, B1 = v1({
293
293
  name: "devices",
294
294
  initialState: v3,
295
295
  reducers: {
@@ -310,7 +310,7 @@ const s8 = C1, c8 = (e) => w(
310
310
  return v3;
311
311
  }
312
312
  }
313
- }), p1 = {
313
+ }), m1 = {
314
314
  setDeviceState: B1.actions.setDeviceState,
315
315
  clearDevices: B1.actions.clearDevices
316
316
  }, Ie = B1.reducer;
@@ -326,7 +326,7 @@ const g3 = new ye();
326
326
  function Re(e) {
327
327
  return sessionStorage.getItem(e) || "";
328
328
  }
329
- function Pe(e, t) {
329
+ function $e(e, t) {
330
330
  sessionStorage.setItem(e, t);
331
331
  }
332
332
  const h3 = {}, O1 = v1({
@@ -348,7 +348,7 @@ const h3 = {}, O1 = v1({
348
348
  }), w1 = {
349
349
  setRoomState: O1.actions.setRoomState,
350
350
  clearRooms: O1.actions.clearRooms
351
- }, $e = O1.reducer, Ee = {
351
+ }, Pe = O1.reducer, Ee = {
352
352
  apiVersion: "",
353
353
  serverIsRunningOnProcessorHardware: !1,
354
354
  websocket: {
@@ -470,7 +470,7 @@ const h3 = {}, O1 = v1({
470
470
  }, r = () => {
471
471
  e.reconnectTimer && (console.log("WebSocket middleware: Stopping reconnection loop"), clearTimeout(e.reconnectTimer), e.reconnectTimer = null);
472
472
  }, l = (v) => {
473
- v(V.setShowReconnect(!0)), v(U.setWebsocketIsConnected(!1)), v(p1.clearDevices()), v(w1.clearRooms()), v(V.clearAllModals()), v(V.clearSyncState());
473
+ v(V.setShowReconnect(!0)), v(U.setWebsocketIsConnected(!1)), v(m1.clearDevices()), v(w1.clearRooms()), v(V.clearAllModals()), v(V.clearSyncState());
474
474
  }, i = (v, C) => {
475
475
  var K;
476
476
  const b = v(), j = C ?? b.runtimeConfig.roomData.roomKey, { clientId: I } = b.runtimeConfig.roomData, Z = b.runtimeConfig.websocket.isConnected, W = (K = b.runtimeConfig.roomData.config) == null ? void 0 : K.runtimeInfo.essentialsVersion;
@@ -600,7 +600,7 @@ const h3 = {}, O1 = v1({
600
600
  V.setErrorMessage(
601
601
  "Connection lost. Attempting to reconnect..."
602
602
  )
603
- ), v(U.setWebsocketIsConnected(!1)), v(p1.clearDevices()), v(w1.clearRooms()), v(V.clearAllModals()), v(V.clearSyncState()), s(v);
603
+ ), v(U.setWebsocketIsConnected(!1)), v(m1.clearDevices()), v(w1.clearRooms()), v(V.clearAllModals()), v(V.clearSyncState()), s(v);
604
604
  }, K.onmessage = (k) => {
605
605
  try {
606
606
  const D = JSON.parse(k.data);
@@ -618,7 +618,7 @@ const h3 = {}, O1 = v1({
618
618
  );
619
619
  break;
620
620
  case "/system/roomKey":
621
- v(w1.clearRooms()), v(p1.clearDevices()), v(V.clearSyncState()), v(
621
+ v(w1.clearRooms()), v(m1.clearDevices()), v(V.clearSyncState()), v(
622
622
  U.setCurrentRoomKey(
623
623
  D.content
624
624
  )
@@ -666,7 +666,7 @@ const h3 = {}, O1 = v1({
666
666
  );
667
667
  }
668
668
  });
669
- } else D.type.startsWith("/room/") ? v(w1.setRoomState(D)) : D.type.startsWith("/device/") && v(p1.setDeviceState(D));
669
+ } else D.type.startsWith("/room/") ? v(w1.setRoomState(D)) : D.type.startsWith("/device/") && v(m1.setDeviceState(D));
670
670
  } catch (D) {
671
671
  console.error("WebSocket middleware: Message handling error", D);
672
672
  }
@@ -702,7 +702,7 @@ const h3 = {}, O1 = v1({
702
702
  switch (I.type) {
703
703
  case D3: {
704
704
  let W = new URLSearchParams(window.location.search).get("token");
705
- W ? (console.log("WebSocket middleware: Saving token"), Pe(g3.uuid, W)) : (W = Re(g3.uuid), console.log("WebSocket middleware: Loading token")), e.token = W, await t(v.dispatch), await g(v.dispatch, v.getState);
705
+ W ? (console.log("WebSocket middleware: Saving token"), $e(g3.uuid, W)) : (W = Re(g3.uuid), console.log("WebSocket middleware: Loading token")), e.token = W, await t(v.dispatch), await g(v.dispatch, v.getState);
706
706
  break;
707
707
  }
708
708
  case A3:
@@ -758,7 +758,7 @@ const h3 = {}, O1 = v1({
758
758
  }, Oe = C2({
759
759
  appConfig: be,
760
760
  runtimeConfig: Te,
761
- rooms: $e,
761
+ rooms: Pe,
762
762
  devices: Ie,
763
763
  ui: Ce
764
764
  }), We = j2({
@@ -804,10 +804,10 @@ var M1 = { exports: {} }, i1 = {};
804
804
  * This source code is licensed under the MIT license found in the
805
805
  * LICENSE file in the root directory of this source tree.
806
806
  */
807
- var m3;
807
+ var p3;
808
808
  function Ve() {
809
- if (m3) return i1;
810
- m3 = 1;
809
+ if (p3) return i1;
810
+ p3 = 1;
811
811
  var e = x3, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), s = Object.prototype.hasOwnProperty, r = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, l = { key: !0, ref: !0, __self: !0, __source: !0 };
812
812
  function i(g, d, f) {
813
813
  var u, L = {}, A = null, v = null;
@@ -828,9 +828,9 @@ var a1 = {};
828
828
  * This source code is licensed under the MIT license found in the
829
829
  * LICENSE file in the root directory of this source tree.
830
830
  */
831
- var p3;
831
+ var m3;
832
832
  function ke() {
833
- return p3 || (p3 = 1, process.env.NODE_ENV !== "production" && (function() {
833
+ return m3 || (m3 = 1, process.env.NODE_ENV !== "production" && (function() {
834
834
  var e = x3, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), g = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), L = Symbol.for("react.memo"), A = Symbol.for("react.lazy"), v = Symbol.for("react.offscreen"), C = Symbol.iterator, b = "@@iterator";
835
835
  function j(c) {
836
836
  if (c === null || typeof c != "object")
@@ -848,8 +848,8 @@ function ke() {
848
848
  }
849
849
  function W(c, a, h) {
850
850
  {
851
- var M = I.ReactDebugCurrentFrame, $ = M.getStackAddendum();
852
- $ !== "" && (a += "%s", h = h.concat([$]));
851
+ var M = I.ReactDebugCurrentFrame, P = M.getStackAddendum();
852
+ P !== "" && (a += "%s", h = h.concat([P]));
853
853
  var T = h.map(function(R) {
854
854
  return String(R);
855
855
  });
@@ -869,8 +869,8 @@ function ke() {
869
869
  var M = c.displayName;
870
870
  if (M)
871
871
  return M;
872
- var $ = a.displayName || a.name || "";
873
- return $ !== "" ? h + "(" + $ + ")" : h;
872
+ var P = a.displayName || a.name || "";
873
+ return P !== "" ? h + "(" + P + ")" : h;
874
874
  }
875
875
  function F1(c) {
876
876
  return c.displayName || "Context";
@@ -910,7 +910,7 @@ function ke() {
910
910
  var M = c.displayName || null;
911
911
  return M !== null ? M : X(c.type) || "Memo";
912
912
  case A: {
913
- var $ = c, T = $._payload, R = $._init;
913
+ var P = c, T = P._payload, R = P._init;
914
914
  try {
915
915
  return X(R(T));
916
916
  } catch {
@@ -988,8 +988,8 @@ function ke() {
988
988
  if (y1 === void 0)
989
989
  try {
990
990
  throw Error();
991
- } catch ($) {
992
- var M = $.stack.trim().match(/\n( *(at )?)/);
991
+ } catch (P) {
992
+ var M = P.stack.trim().match(/\n( *(at )?)/);
993
993
  y1 = M && M[1] || "";
994
994
  }
995
995
  return `
@@ -1011,7 +1011,7 @@ function ke() {
1011
1011
  }
1012
1012
  var M;
1013
1013
  R1 = !0;
1014
- var $ = Error.prepareStackTrace;
1014
+ var P = Error.prepareStackTrace;
1015
1015
  Error.prepareStackTrace = void 0;
1016
1016
  var T;
1017
1017
  T = I1.current, I1.current = null, U3();
@@ -1067,7 +1067,7 @@ function ke() {
1067
1067
  }
1068
1068
  }
1069
1069
  } finally {
1070
- R1 = !1, I1.current = T, K3(), Error.prepareStackTrace = $;
1070
+ R1 = !1, I1.current = T, K3(), Error.prepareStackTrace = P;
1071
1071
  }
1072
1072
  var n1 = c ? c.displayName || c.name : "", N = n1 ? g1(n1) : "";
1073
1073
  return typeof c == "function" && h1.set(c, N), N;
@@ -1099,9 +1099,9 @@ function ke() {
1099
1099
  case L:
1100
1100
  return f1(c.type, a, h);
1101
1101
  case A: {
1102
- var M = c, $ = M._payload, T = M._init;
1102
+ var M = c, P = M._payload, T = M._init;
1103
1103
  try {
1104
- return f1(T($), a, h);
1104
+ return f1(T(P), a, h);
1105
1105
  } catch {
1106
1106
  }
1107
1107
  }
@@ -1109,14 +1109,14 @@ function ke() {
1109
1109
  return "";
1110
1110
  }
1111
1111
  var r1 = Object.prototype.hasOwnProperty, Q1 = {}, N1 = I.ReactDebugCurrentFrame;
1112
- function m1(c) {
1112
+ function p1(c) {
1113
1113
  if (c) {
1114
1114
  var a = c._owner, h = f1(c.type, c._source, a ? a.type : null);
1115
1115
  N1.setExtraStackFrame(h);
1116
1116
  } else
1117
1117
  N1.setExtraStackFrame(null);
1118
1118
  }
1119
- function Y3(c, a, h, M, $) {
1119
+ function Y3(c, a, h, M, P) {
1120
1120
  {
1121
1121
  var T = Function.call.bind(r1);
1122
1122
  for (var R in c)
@@ -1131,12 +1131,12 @@ function ke() {
1131
1131
  } catch (_) {
1132
1132
  y = _;
1133
1133
  }
1134
- y && !(y instanceof Error) && (m1($), Z("%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).", M || "React class", h, R, typeof y), m1(null)), y instanceof Error && !(y.message in Q1) && (Q1[y.message] = !0, m1($), Z("Failed %s type: %s", h, y.message), m1(null));
1134
+ y && !(y instanceof Error) && (p1(P), Z("%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).", M || "React class", h, R, typeof y), p1(null)), y instanceof Error && !(y.message in Q1) && (Q1[y.message] = !0, p1(P), Z("Failed %s type: %s", h, y.message), p1(null));
1135
1135
  }
1136
1136
  }
1137
1137
  }
1138
1138
  var J3 = Array.isArray;
1139
- function P1(c) {
1139
+ function $1(c) {
1140
1140
  return J3(c);
1141
1141
  }
1142
1142
  function X3(c) {
@@ -1206,7 +1206,7 @@ function ke() {
1206
1206
  });
1207
1207
  }
1208
1208
  }
1209
- var c2 = function(c, a, h, M, $, T, R) {
1209
+ var c2 = function(c, a, h, M, P, T, R) {
1210
1210
  var y = {
1211
1211
  // This tag allows us to uniquely identify this as a React Element
1212
1212
  $$typeof: t,
@@ -1232,13 +1232,13 @@ function ke() {
1232
1232
  configurable: !1,
1233
1233
  enumerable: !1,
1234
1234
  writable: !1,
1235
- value: $
1235
+ value: P
1236
1236
  }), Object.freeze && (Object.freeze(y.props), Object.freeze(y)), y;
1237
1237
  };
1238
- function r2(c, a, h, M, $) {
1238
+ function r2(c, a, h, M, P) {
1239
1239
  {
1240
1240
  var T, R = {}, y = null, F = null;
1241
- h !== void 0 && (t3(h), y = "" + h), t2(a) && (t3(a.key), y = "" + a.key), e2(a) && (F = a.ref, n2(a, $));
1241
+ h !== void 0 && (t3(h), y = "" + h), t2(a) && (t3(a.key), y = "" + a.key), e2(a) && (F = a.ref, n2(a, P));
1242
1242
  for (T in a)
1243
1243
  r1.call(a, T) && !N3.hasOwnProperty(T) && (R[T] = a[T]);
1244
1244
  if (c && c.defaultProps) {
@@ -1250,10 +1250,10 @@ function ke() {
1250
1250
  var B = typeof c == "function" ? c.displayName || c.name || "Unknown" : c;
1251
1251
  y && o2(R, B), F && s2(R, B);
1252
1252
  }
1253
- return c2(c, y, F, $, M, n3.current, R);
1253
+ return c2(c, y, F, P, M, n3.current, R);
1254
1254
  }
1255
1255
  }
1256
- var $1 = I.ReactCurrentOwner, c3 = I.ReactDebugCurrentFrame;
1256
+ var P1 = I.ReactCurrentOwner, c3 = I.ReactDebugCurrentFrame;
1257
1257
  function t1(c) {
1258
1258
  if (c) {
1259
1259
  var a = c._owner, h = f1(c.type, c._source, a ? a.type : null);
@@ -1268,8 +1268,8 @@ function ke() {
1268
1268
  }
1269
1269
  function r3() {
1270
1270
  {
1271
- if ($1.current) {
1272
- var c = X($1.current.type);
1271
+ if (P1.current) {
1272
+ var c = X(P1.current.type);
1273
1273
  if (c)
1274
1274
  return `
1275
1275
 
@@ -1304,14 +1304,14 @@ Check the top-level render call using <` + h + ">.");
1304
1304
  return;
1305
1305
  l3[h] = !0;
1306
1306
  var M = "";
1307
- c && c._owner && c._owner !== $1.current && (M = " It was passed a child from " + X(c._owner.type) + "."), t1(c), Z('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', h, M), t1(null);
1307
+ c && c._owner && c._owner !== P1.current && (M = " It was passed a child from " + X(c._owner.type) + "."), t1(c), Z('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', h, M), t1(null);
1308
1308
  }
1309
1309
  }
1310
1310
  function a3(c, a) {
1311
1311
  {
1312
1312
  if (typeof c != "object")
1313
1313
  return;
1314
- if (P1(c))
1314
+ if ($1(c))
1315
1315
  for (var h = 0; h < c.length; h++) {
1316
1316
  var M = c[h];
1317
1317
  T1(M) && i3(M, a);
@@ -1319,9 +1319,9 @@ Check the top-level render call using <` + h + ">.");
1319
1319
  else if (T1(c))
1320
1320
  c._store && (c._store.validated = !0);
1321
1321
  else if (c) {
1322
- var $ = j(c);
1323
- if (typeof $ == "function" && $ !== c.entries)
1324
- for (var T = $.call(c), R; !(R = T.next()).done; )
1322
+ var P = j(c);
1323
+ if (typeof P == "function" && P !== c.entries)
1324
+ for (var T = P.call(c), R; !(R = T.next()).done; )
1325
1325
  T1(R.value) && i3(R.value, a);
1326
1326
  }
1327
1327
  }
@@ -1345,8 +1345,8 @@ Check the top-level render call using <` + h + ">.");
1345
1345
  Y3(h, c.props, "prop", M, c);
1346
1346
  } else if (a.PropTypes !== void 0 && !E1) {
1347
1347
  E1 = !0;
1348
- var $ = X(a);
1349
- Z("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", $ || "Unknown");
1348
+ var P = X(a);
1349
+ Z("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", P || "Unknown");
1350
1350
  }
1351
1351
  typeof a.getDefaultProps == "function" && !a.getDefaultProps.isReactClassApproved && Z("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
1352
1352
  }
@@ -1364,7 +1364,7 @@ Check the top-level render call using <` + h + ">.");
1364
1364
  }
1365
1365
  }
1366
1366
  var u3 = {};
1367
- function d3(c, a, h, M, $, T) {
1367
+ function d3(c, a, h, M, P, T) {
1368
1368
  {
1369
1369
  var R = b1(c);
1370
1370
  if (!R) {
@@ -1373,16 +1373,16 @@ Check the top-level render call using <` + h + ">.");
1373
1373
  var F = l2();
1374
1374
  F ? y += F : y += r3();
1375
1375
  var _;
1376
- c === null ? _ = "null" : P1(c) ? _ = "array" : c !== void 0 && c.$$typeof === t ? (_ = "<" + (X(c.type) || "Unknown") + " />", y = " Did you accidentally export a JSX literal instead of a component?") : _ = typeof c, Z("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", _, y);
1376
+ c === null ? _ = "null" : $1(c) ? _ = "array" : c !== void 0 && c.$$typeof === t ? (_ = "<" + (X(c.type) || "Unknown") + " />", y = " Did you accidentally export a JSX literal instead of a component?") : _ = typeof c, Z("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", _, y);
1377
1377
  }
1378
- var B = r2(c, a, h, $, T);
1378
+ var B = r2(c, a, h, P, T);
1379
1379
  if (B == null)
1380
1380
  return B;
1381
1381
  if (R) {
1382
1382
  var q = a.children;
1383
1383
  if (q !== void 0)
1384
1384
  if (M)
1385
- if (P1(q)) {
1385
+ if ($1(q)) {
1386
1386
  for (var n1 = 0; n1 < q.length; n1++)
1387
1387
  a3(q[n1], c);
1388
1388
  Object.freeze && Object.freeze(q);
@@ -1392,8 +1392,8 @@ Check the top-level render call using <` + h + ">.");
1392
1392
  a3(q, c);
1393
1393
  }
1394
1394
  if (r1.call(a, "key")) {
1395
- var N = X(c), H = Object.keys(a).filter(function(m2) {
1396
- return m2 !== "key";
1395
+ var N = X(c), H = Object.keys(a).filter(function(p2) {
1396
+ return p2 !== "key";
1397
1397
  }), D1 = H.length > 0 ? "{key: someKey, " + H.join(": ..., ") + ": ...}" : "{key: someKey}";
1398
1398
  if (!u3[N + D1]) {
1399
1399
  var f2 = H.length > 0 ? "{" + H.join(": ..., ") + ": ...}" : "{}";
@@ -1426,7 +1426,7 @@ var o = Fe();
1426
1426
  const He = "_mwfit_ppa3l_1", Ue = {
1427
1427
  mwfit: He
1428
1428
  }, Ke = () => {
1429
- const { reconnect: e } = m(), t = y3(), n = Me(), s = xe();
1429
+ const { reconnect: e } = p(), t = y3(), n = Me(), s = xe();
1430
1430
  return /* @__PURE__ */ o.jsxs("div", { className: "vh-100 d-flex flex-column flex-grow-1 justify-content-center align-items-center gap-5 ", children: [
1431
1431
  /* @__PURE__ */ o.jsxs("div", { className: `${Ue.mwfit} mx-auto text-center`, children: [
1432
1432
  t === void 0 ? /* @__PURE__ */ o.jsx("h2", { children: "Connecting..." }) : /* @__PURE__ */ o.jsx("h2", { children: "Disconnected" }),
@@ -1482,7 +1482,7 @@ const He = "_mwfit_ppa3l_1", Ue = {
1482
1482
  }
1483
1483
  );
1484
1484
  }, k8 = ({ children: e }) => /* @__PURE__ */ o.jsx(Z2, { store: We, children: /* @__PURE__ */ o.jsx(qe, { children: e }) });
1485
- function m() {
1485
+ function p() {
1486
1486
  return I2(V3);
1487
1487
  }
1488
1488
  function Ge({
@@ -1510,8 +1510,8 @@ function Ge({
1510
1510
  onPointerLeave: u
1511
1511
  };
1512
1512
  }
1513
- function p(e, t) {
1514
- const { sendMessage: s } = m(), r = d1(null);
1513
+ function m(e, t) {
1514
+ const { sendMessage: s } = p(), r = d1(null);
1515
1515
  function l() {
1516
1516
  s(`${e}/${t}`, { value: "pressed" }), r.current || (r.current = setInterval(() => {
1517
1517
  s(`${e}/${t}`, { value: "held" });
@@ -1523,7 +1523,7 @@ function p(e, t) {
1523
1523
  return Ge({ onPress: l, onRelease: i });
1524
1524
  }
1525
1525
  function j1(e) {
1526
- const { sendMessage: t } = m(), n = p(`${e}`, "volumeUp"), s = p(`${e}`, "volumeDown");
1526
+ const { sendMessage: t } = p(), n = m(`${e}`, "volumeUp"), s = m(`${e}`, "volumeDown");
1527
1527
  return E(() => ({
1528
1528
  volumeUp: n,
1529
1529
  volumeDown: s,
@@ -1531,7 +1531,7 @@ function j1(e) {
1531
1531
  }), [e, t, n, s]);
1532
1532
  }
1533
1533
  function F8(e) {
1534
- const { sendMessage: t } = m(), n = p(`${e}`, "volumeUp"), s = p(`${e}`, "volumeDown");
1534
+ const { sendMessage: t } = p(), n = m(`${e}`, "volumeUp"), s = m(`${e}`, "volumeDown");
1535
1535
  return E(() => ({
1536
1536
  volumeUp: n,
1537
1537
  volumeDown: s,
@@ -1539,7 +1539,7 @@ function F8(e) {
1539
1539
  }), [e, t, n, s]);
1540
1540
  }
1541
1541
  function k3(e, t) {
1542
- const { sendMessage: n, sendSimpleMessage: s } = m(), r = j1(e);
1542
+ const { sendMessage: n, sendSimpleMessage: s } = p(), r = j1(e);
1543
1543
  return E(() => {
1544
1544
  if (!r) {
1545
1545
  console.log("baseVolume is undefined");
@@ -1559,7 +1559,7 @@ function k3(e, t) {
1559
1559
  }, [r, t, e, n, s]);
1560
1560
  }
1561
1561
  function H8(e, t) {
1562
- const { sendMessage: n, sendSimpleMessage: s } = m(), r = j1(e);
1562
+ const { sendMessage: n, sendSimpleMessage: s } = p(), r = j1(e);
1563
1563
  return E(() => !r || !t ? void 0 : {
1564
1564
  ...r,
1565
1565
  volumeState: t,
@@ -1577,7 +1577,7 @@ function ze(e) {
1577
1577
  }
1578
1578
  function F3(e) {
1579
1579
  var i;
1580
- const { sendMessage: t } = m(), n = (i = S(e)) == null ? void 0 : i.powerState;
1580
+ const { sendMessage: t } = p(), n = (i = S(e)) == null ? void 0 : i.powerState;
1581
1581
  return { powerOn: () => {
1582
1582
  t(`/device/${e}/powerOn`, null);
1583
1583
  }, powerOff: () => {
@@ -1587,13 +1587,13 @@ function F3(e) {
1587
1587
  }, powerState: n };
1588
1588
  }
1589
1589
  function W1(e) {
1590
- const { sendMessage: t } = m(), n = S(e);
1590
+ const { sendMessage: t } = p(), n = S(e);
1591
1591
  return console.log("deviceState", n), n ? { itemsState: n, selectItem: (r) => {
1592
1592
  t(`/device/${e}/${r}`, null);
1593
1593
  } } : void 0;
1594
1594
  }
1595
1595
  function Ye(e) {
1596
- const { sendMessage: t } = m(), n = S(e), s = () => {
1596
+ const { sendMessage: t } = p(), n = S(e), s = () => {
1597
1597
  t(`/device/${e}/setDefaultChannelLevels`, null);
1598
1598
  }, r = () => {
1599
1599
  if ((n == null ? void 0 : n.levelControls) === void 0) return;
@@ -1616,7 +1616,7 @@ function U8(e) {
1616
1616
  };
1617
1617
  }
1618
1618
  function K8(e) {
1619
- const { sendMessage: t } = m(), n = `/device/${e}`, s = S(e), r = p(n, "cameraUp"), l = p(n, "cameraDown"), i = p(n, "cameraLeft"), g = p(n, "cameraRight"), d = p(n, "cameraZoomIn"), f = p(n, "cameraZoomOut"), u = (L) => t("/camera/recallPreset", L);
1619
+ const { sendMessage: t } = p(), n = `/device/${e}`, s = S(e), r = m(n, "cameraUp"), l = m(n, "cameraDown"), i = m(n, "cameraLeft"), g = m(n, "cameraRight"), d = m(n, "cameraZoomIn"), f = m(n, "cameraZoomOut"), u = (L) => t("/camera/recallPreset", L);
1620
1620
  if (s)
1621
1621
  return {
1622
1622
  state: s,
@@ -1642,7 +1642,7 @@ const q8 = ({ className: e }) => {
1642
1642
  ] });
1643
1643
  };
1644
1644
  function G8(e) {
1645
- const { sendMessage: t } = m(), n = S(e), s = `/device/${e}`;
1645
+ const { sendMessage: t } = p(), n = S(e), s = `/device/${e}`;
1646
1646
  return n ? { state: n, recallPreset: (i, g) => {
1647
1647
  t(`${s}/presets/recall`, { deviceKey: i, preset: g });
1648
1648
  }, savePresets: (i) => {
@@ -1662,7 +1662,7 @@ function Y8(e) {
1662
1662
  };
1663
1663
  }
1664
1664
  function J8(e) {
1665
- const { sendMessage: t } = m(), n = S(e), s = E(() => {
1665
+ const { sendMessage: t } = p(), n = S(e), s = E(() => {
1666
1666
  const r = `/device/${e}`;
1667
1667
  return { setEntry: (g, d, f) => t(`${r}/setEntry`, { index: g, name: d, number: f }), dialEntry: (g) => t(`${r}/dialEntry`, { value: g }) };
1668
1668
  }, [e, t]);
@@ -1673,34 +1673,49 @@ function J8(e) {
1673
1673
  };
1674
1674
  }
1675
1675
  function X8(e) {
1676
- const t = `/device/${e}`, n = p(t, "chanUp"), s = p(t, "chanDown"), r = p(t, "lastChan"), l = p(t, "guide"), i = p(t, "info"), g = p(t, "exit");
1676
+ const t = `/device/${e}`, n = m(t, "chanUp"), s = m(t, "chanDown"), r = m(t, "lastChan"), l = m(t, "guide"), i = m(t, "info"), g = m(t, "exit");
1677
1677
  return { channelUp: n, channelDown: s, lastChannel: r, guide: l, info: i, exit: g };
1678
1678
  }
1679
1679
  function Q8(e) {
1680
- const t = `/device/${e}`, n = p(t, "red"), s = p(t, "green"), r = p(t, "yellow"), l = p(t, "blue");
1681
- return { red: n, green: s, yellow: r, blue: l };
1680
+ const { sendMessage: t } = p(), n = S(e);
1681
+ return E(() => {
1682
+ if (!n) return;
1683
+ const s = `/device/${e}`;
1684
+ return {
1685
+ state: n,
1686
+ getCallControlsStatus: () => t(`${s}/callControlsStatus`, null),
1687
+ dialMeeting: (f) => t(`${s}/dialMeeting`, f),
1688
+ endCallById: (f) => t(`${s}/endCallById`, { value: f }),
1689
+ acceptById: (f) => t(`${s}/acceptById`, { value: f }),
1690
+ rejectById: (f) => t(`${s}/rejectById`, { value: f })
1691
+ };
1692
+ }, [e, t, n]);
1682
1693
  }
1683
1694
  function N8(e) {
1695
+ const t = `/device/${e}`, n = m(t, "red"), s = m(t, "green"), r = m(t, "yellow"), l = m(t, "blue");
1696
+ return { red: n, green: s, yellow: r, blue: l };
1697
+ }
1698
+ function e6(e) {
1684
1699
  const t = S(e);
1685
1700
  if (t)
1686
1701
  return {
1687
1702
  communicationMonitorState: t
1688
1703
  };
1689
1704
  }
1690
- function e6(e) {
1705
+ function t6(e) {
1691
1706
  const t = S(e);
1692
1707
  if (t)
1693
1708
  return {
1694
1709
  currentSourcesState: t
1695
1710
  };
1696
1711
  }
1697
- function t6(e) {
1712
+ function n6(e) {
1698
1713
  const t = S(e);
1699
1714
  if (t)
1700
1715
  return t.deviceInfo || void 0;
1701
1716
  }
1702
- function n6(e) {
1703
- const { sendMessage: t } = m(), n = S(e);
1717
+ function o6(e) {
1718
+ const { sendMessage: t } = p(), n = S(e);
1704
1719
  return E(() => {
1705
1720
  if (!n) return;
1706
1721
  const s = `/device/${e}`;
@@ -1715,12 +1730,12 @@ function n6(e) {
1715
1730
  };
1716
1731
  }, [e, t, n]);
1717
1732
  }
1718
- function o6(e) {
1719
- const t = `/device/${e}`, n = p(t, "up"), s = p(t, "down"), r = p(t, "left"), l = p(t, "right"), i = p(t, "select"), g = p(t, "menu"), d = p(t, "exit");
1733
+ function s6(e) {
1734
+ const t = `/device/${e}`, n = m(t, "up"), s = m(t, "down"), r = m(t, "left"), l = m(t, "right"), i = m(t, "select"), g = m(t, "menu"), d = m(t, "exit");
1720
1735
  return { up: n, down: s, left: r, right: l, select: i, menu: g, exit: d };
1721
1736
  }
1722
- function s6(e) {
1723
- const { sendMessage: t } = m();
1737
+ function c6(e) {
1738
+ const { sendMessage: t } = p();
1724
1739
  return { recallPreset: (s) => {
1725
1740
  t(
1726
1741
  `/device/${e}/recallPreset`,
@@ -1728,12 +1743,12 @@ function s6(e) {
1728
1743
  );
1729
1744
  } };
1730
1745
  }
1731
- function c6(e) {
1732
- const t = `/device/${e}`, n = p(t, "dvrList"), s = p(t, "record");
1746
+ function r6(e) {
1747
+ const t = `/device/${e}`, n = m(t, "dvrList"), s = m(t, "record");
1733
1748
  return { dvrList: n, record: s };
1734
1749
  }
1735
- function r6(e) {
1736
- const { sendMessage: t } = m(), n = S(e);
1750
+ function l6(e) {
1751
+ const { sendMessage: t } = p(), n = S(e);
1737
1752
  return n ? { roomCombinerState: n, setAutoMode: () => {
1738
1753
  t(`/device/${e}/setAutoMode`, null);
1739
1754
  }, setManualMode: () => {
@@ -1746,8 +1761,8 @@ function r6(e) {
1746
1761
  t(`/device/${e}/setRoomCombinationScenario`, d);
1747
1762
  } } : void 0;
1748
1763
  }
1749
- function l6(e) {
1750
- const { sendMessage: t } = m(), n = S(e);
1764
+ function i6(e) {
1765
+ const { sendMessage: t } = p(), n = S(e);
1751
1766
  return E(() => {
1752
1767
  if (!n) return;
1753
1768
  const s = `/device/${e}`;
@@ -1759,9 +1774,9 @@ function l6(e) {
1759
1774
  };
1760
1775
  }, [e, t, n]);
1761
1776
  }
1762
- function i6(e) {
1777
+ function a6(e) {
1763
1778
  var i;
1764
- const { sendMessage: t } = m(), n = (i = S(e)) == null ? void 0 : i.cameraIsMuted, s = () => {
1779
+ const { sendMessage: t } = p(), n = (i = S(e)) == null ? void 0 : i.cameraIsMuted, s = () => {
1765
1780
  t(`/device/${e}/cameraMuteOn`, null);
1766
1781
  }, r = () => {
1767
1782
  t(`/device/${e}/cameraMuteOff`, null);
@@ -1771,9 +1786,9 @@ function i6(e) {
1771
1786
  if (n)
1772
1787
  return { cameraMuteOn: s, cameraMuteOff: r, cameraMuteToggle: l, cameraIsMuted: n };
1773
1788
  }
1774
- function a6(e) {
1789
+ function u6(e) {
1775
1790
  var l;
1776
- const { sendMessage: t } = m(), n = (l = S(e)) == null ? void 0 : l.presets, s = (i) => {
1791
+ const { sendMessage: t } = p(), n = (l = S(e)) == null ? void 0 : l.presets, s = (i) => {
1777
1792
  t(`/device/${e}/recallPreset`, i);
1778
1793
  }, r = (i) => {
1779
1794
  t(`/device/${e}/savePreset`, i);
@@ -1781,8 +1796,8 @@ function a6(e) {
1781
1796
  if (n)
1782
1797
  return { recallPreset: s, savePreset: r, presets: n };
1783
1798
  }
1784
- function u6(e) {
1785
- const { sendMessage: t } = m(), n = `/device/${e}`, s = S(e);
1799
+ function d6(e) {
1800
+ const { sendMessage: t } = p(), n = `/device/${e}`, s = S(e);
1786
1801
  return s ? {
1787
1802
  state: s,
1788
1803
  selectCamera: (l) => {
@@ -1790,8 +1805,8 @@ function u6(e) {
1790
1805
  }
1791
1806
  } : void 0;
1792
1807
  }
1793
- function d6(e) {
1794
- const { sendMessage: t } = m(), n = S(e);
1808
+ function v6(e) {
1809
+ const { sendMessage: t } = p(), n = S(e);
1795
1810
  return E(() => {
1796
1811
  if (!n) return;
1797
1812
  const s = `/device/${e}`;
@@ -1801,8 +1816,8 @@ function d6(e) {
1801
1816
  };
1802
1817
  }, [e, t, n]);
1803
1818
  }
1804
- function v6(e) {
1805
- const { sendMessage: t } = m();
1819
+ function g6(e) {
1820
+ const { sendMessage: t } = p();
1806
1821
  return E(() => {
1807
1822
  const n = `/device/${e}`;
1808
1823
  return {
@@ -1811,8 +1826,8 @@ function v6(e) {
1811
1826
  };
1812
1827
  }, [e, t]);
1813
1828
  }
1814
- function g6(e) {
1815
- const { sendMessage: t } = m(), n = S(e);
1829
+ function h6(e) {
1830
+ const { sendMessage: t } = p(), n = S(e);
1816
1831
  return E(() => n ? {
1817
1832
  state: n,
1818
1833
  dial: (d) => t(`/device/${e}/dial`, { value: d }),
@@ -1822,8 +1837,8 @@ function g6(e) {
1822
1837
  rejectCall: (d) => t(`/device/${e}/rejectCall`, d)
1823
1838
  } : void 0, [e, t, n]);
1824
1839
  }
1825
- function h6(e) {
1826
- const { sendMessage: t } = m(), n = S(e);
1840
+ function f6(e) {
1841
+ const { sendMessage: t } = p(), n = S(e);
1827
1842
  return E(() => {
1828
1843
  if (!n) return;
1829
1844
  const s = `/device/${e}`;
@@ -1838,8 +1853,8 @@ function h6(e) {
1838
1853
  };
1839
1854
  }, [e, t, n]);
1840
1855
  }
1841
- function f6(e) {
1842
- const { sendMessage: t } = m(), n = S(e);
1856
+ function p6(e) {
1857
+ const { sendMessage: t } = p(), n = S(e);
1843
1858
  return E(() => {
1844
1859
  if (!n) return;
1845
1860
  const s = `/device/${e}`;
@@ -1852,7 +1867,7 @@ function f6(e) {
1852
1867
  }, [e, t, n]);
1853
1868
  }
1854
1869
  function m6(e) {
1855
- const { sendMessage: t } = m(), n = S(e);
1870
+ const { sendMessage: t } = p(), n = S(e);
1856
1871
  return E(() => {
1857
1872
  if (!n) return;
1858
1873
  const s = `/device/${e}`;
@@ -1865,8 +1880,8 @@ function m6(e) {
1865
1880
  };
1866
1881
  }, [e, t, n]);
1867
1882
  }
1868
- function p6(e) {
1869
- const { sendMessage: t } = m();
1883
+ function w6(e) {
1884
+ const { sendMessage: t } = p();
1870
1885
  return E(() => {
1871
1886
  const n = `/device/${e}`;
1872
1887
  return {
@@ -1876,8 +1891,8 @@ function p6(e) {
1876
1891
  };
1877
1892
  }, [e, t]);
1878
1893
  }
1879
- function w6(e) {
1880
- const { sendMessage: t } = m(), n = S(e);
1894
+ function M6(e) {
1895
+ const { sendMessage: t } = p(), n = S(e);
1881
1896
  return E(() => {
1882
1897
  if (!n) return;
1883
1898
  const s = `/device/${e}`;
@@ -1889,8 +1904,8 @@ function w6(e) {
1889
1904
  };
1890
1905
  }, [e, t, n]);
1891
1906
  }
1892
- function M6(e) {
1893
- const { sendMessage: t } = m(), n = S(e);
1907
+ function x6(e) {
1908
+ const { sendMessage: t } = p(), n = S(e);
1894
1909
  return E(() => {
1895
1910
  if (!n) return;
1896
1911
  const s = `/device/${e}`;
@@ -1905,8 +1920,8 @@ function M6(e) {
1905
1920
  };
1906
1921
  }, [e, t, n]);
1907
1922
  }
1908
- function x6(e) {
1909
- const { sendMessage: t } = m();
1923
+ function S6(e) {
1924
+ const { sendMessage: t } = p();
1910
1925
  return E(() => {
1911
1926
  const n = `/device/${e}`;
1912
1927
  return {
@@ -1916,8 +1931,8 @@ function x6(e) {
1916
1931
  };
1917
1932
  }, [e, t]);
1918
1933
  }
1919
- function S6(e) {
1920
- const { sendMessage: t } = m(), n = S(e);
1934
+ function Z6(e) {
1935
+ const { sendMessage: t } = p(), n = S(e);
1921
1936
  return E(() => {
1922
1937
  if (!n) return;
1923
1938
  const s = `/device/${e}`;
@@ -1929,8 +1944,8 @@ function S6(e) {
1929
1944
  };
1930
1945
  }, [e, t, n]);
1931
1946
  }
1932
- function Z6(e) {
1933
- const { sendMessage: t } = m();
1947
+ function C6(e) {
1948
+ const { sendMessage: t } = p();
1934
1949
  return E(() => {
1935
1950
  const n = `/device/${e}`;
1936
1951
  return {
@@ -1939,8 +1954,8 @@ function Z6(e) {
1939
1954
  };
1940
1955
  }, [e, t]);
1941
1956
  }
1942
- function C6(e) {
1943
- const { sendMessage: t } = m(), n = S(e);
1957
+ function j6(e) {
1958
+ const { sendMessage: t } = p(), n = S(e);
1944
1959
  return E(() => {
1945
1960
  if (!n) return;
1946
1961
  const s = `/device/${e}`;
@@ -1950,8 +1965,8 @@ function C6(e) {
1950
1965
  };
1951
1966
  }, [e, t, n]);
1952
1967
  }
1953
- function j6(e) {
1954
- const { sendMessage: t } = m(), n = S(e);
1968
+ function b6(e) {
1969
+ const { sendMessage: t } = p(), n = S(e);
1955
1970
  return E(() => {
1956
1971
  if (!n) return;
1957
1972
  const s = `/device/${e}`;
@@ -1962,8 +1977,8 @@ function j6(e) {
1962
1977
  };
1963
1978
  }, [e, t, n]);
1964
1979
  }
1965
- function b6(e) {
1966
- const { sendMessage: t } = m(), n = S(e);
1980
+ function I6(e) {
1981
+ const { sendMessage: t } = p(), n = S(e);
1967
1982
  return E(() => {
1968
1983
  if (!n) return;
1969
1984
  const s = `/device/${e}`;
@@ -1974,8 +1989,8 @@ function b6(e) {
1974
1989
  };
1975
1990
  }, [e, t, n]);
1976
1991
  }
1977
- function I6(e) {
1978
- const { sendMessage: t } = m(), n = S(e);
1992
+ function y6(e) {
1993
+ const { sendMessage: t } = p(), n = S(e);
1979
1994
  return E(() => {
1980
1995
  if (!n) return;
1981
1996
  const s = `/device/${e}`;
@@ -1986,8 +2001,8 @@ function I6(e) {
1986
2001
  };
1987
2002
  }, [e, t, n]);
1988
2003
  }
1989
- function y6(e) {
1990
- const { sendMessage: t } = m(), n = S(e);
2004
+ function R6(e) {
2005
+ const { sendMessage: t } = p(), n = S(e);
1991
2006
  return E(() => {
1992
2007
  if (!n) return;
1993
2008
  const s = `/device/${e}`;
@@ -2000,8 +2015,8 @@ function y6(e) {
2000
2015
  };
2001
2016
  }, [e, t, n]);
2002
2017
  }
2003
- function R6(e) {
2004
- const { sendMessage: t, sendSimpleMessage: n } = m(), s = S(e), r = oe(e), l = s || r;
2018
+ function $6(e) {
2019
+ const { sendMessage: t, sendSimpleMessage: n } = p(), s = S(e), r = oe(e), l = s || r;
2005
2020
  return l ? {
2006
2021
  levelState: l,
2007
2022
  setLevel: (u, L) => n(`${u}/level`, L),
@@ -2011,25 +2026,25 @@ function R6(e) {
2011
2026
  } : void 0;
2012
2027
  }
2013
2028
  function P6(e) {
2014
- const { sendMessage: t } = m(), n = S(e);
2029
+ const { sendMessage: t } = p(), n = S(e);
2015
2030
  return n ? { lightingState: n, selectScene: (r) => {
2016
2031
  t(`/device/${e}/selectScene`, r);
2017
2032
  } } : void 0;
2018
2033
  }
2019
- function $6(e) {
2020
- const { sendMessage: t } = m(), n = S(e);
2034
+ function E6(e) {
2035
+ const { sendMessage: t } = p(), n = S(e);
2021
2036
  return n ? { matrixRoutingState: n, setRoute: (r) => {
2022
2037
  t(`/device/${e}/route`, r);
2023
2038
  } } : void 0;
2024
2039
  }
2025
- function E6(e) {
2026
- const { sendMessage: t } = m();
2040
+ function T6(e) {
2041
+ const { sendMessage: t } = p();
2027
2042
  return { closeApp: () => {
2028
2043
  t(`/device/${e}/closeWebViewController`, null);
2029
2044
  } };
2030
2045
  }
2031
- function T6(e) {
2032
- const t = `/device/${e}`, n = p(t, "num0"), s = p(t, "num1"), r = p(t, "num2"), l = p(t, "num3"), i = p(t, "num4"), g = p(t, "num5"), d = p(t, "num6"), f = p(t, "num7"), u = p(t, "num8"), L = p(t, "num9"), A = p(t, "numDash"), v = p(t, "numEnter");
2046
+ function D6(e) {
2047
+ const t = `/device/${e}`, n = m(t, "num0"), s = m(t, "num1"), r = m(t, "num2"), l = m(t, "num3"), i = m(t, "num4"), g = m(t, "num5"), d = m(t, "num6"), f = m(t, "num7"), u = m(t, "num8"), L = m(t, "num9"), A = m(t, "numDash"), v = m(t, "numEnter");
2033
2048
  return {
2034
2049
  digit0: n,
2035
2050
  digit1: s,
@@ -2045,44 +2060,44 @@ function T6(e) {
2045
2060
  keypadAccessoryButton2: v
2046
2061
  };
2047
2062
  }
2048
- function D6(e) {
2049
- const { sendMessage: t } = m(), n = S(e);
2063
+ function A6(e) {
2064
+ const { sendMessage: t } = p(), n = S(e);
2050
2065
  return n ? { projectorScreenLiftControlState: n, raise: () => {
2051
2066
  t(`/device/${e}/raise`, null);
2052
2067
  }, lower: () => {
2053
2068
  t(`/device/${e}/lower`, null);
2054
2069
  } } : void 0;
2055
2070
  }
2056
- function A6(e) {
2057
- const { sendMessage: t } = m(), n = C1(e);
2071
+ function L6(e) {
2072
+ const { sendMessage: t } = p(), n = C1(e);
2058
2073
  return n ? { roomEventScheduleState: n, save: (r) => {
2059
2074
  t(`/room/${e}/saveScheduledEvents`, r);
2060
2075
  } } : void 0;
2061
2076
  }
2062
- function L6(e) {
2063
- const { sendMessage: t } = m();
2077
+ function _6(e) {
2078
+ const { sendMessage: t } = p();
2064
2079
  return { runDefaultPresentRoute: () => {
2065
2080
  t(`/room/${e}/defaultsource`, {});
2066
2081
  } };
2067
2082
  }
2068
- function _6(e) {
2069
- const { sendMessage: t } = m();
2083
+ function B6(e) {
2084
+ const { sendMessage: t } = p();
2070
2085
  return { runDirectRoute: (s) => {
2071
2086
  t(`/room/${e}/directRoute`, s);
2072
2087
  } };
2073
2088
  }
2074
- function B6(e) {
2075
- const { sendMessage: t } = m();
2089
+ function O6(e) {
2090
+ const { sendMessage: t } = p();
2076
2091
  return { routingState: S(e), runRoute: (r) => {
2077
2092
  t(`/room/${e}/source`, r);
2078
2093
  } };
2079
2094
  }
2080
- function O6(e) {
2081
- const t = `/device/${e}`, n = p(t, "chanUp"), s = p(t, "chanDown");
2095
+ function W6(e) {
2096
+ const t = `/device/${e}`, n = m(t, "chanUp"), s = m(t, "chanDown");
2082
2097
  return { dvrList: n, replay: s };
2083
2098
  }
2084
- function W6(e) {
2085
- const { sendMessage: t } = m(), n = S(e);
2099
+ function V6(e) {
2100
+ const { sendMessage: t } = p(), n = S(e);
2086
2101
  return n ? { shadeState: n, shadeUp: () => {
2087
2102
  t(`/device/${e}/shadeUp`, null);
2088
2103
  }, shadeDown: () => {
@@ -2091,8 +2106,8 @@ function W6(e) {
2091
2106
  t(`/device/${e}/stopOrPreset`, null);
2092
2107
  } } : void 0;
2093
2108
  }
2094
- function V6(e) {
2095
- const { sendMessage: t } = m(), n = C1(e);
2109
+ function k6(e) {
2110
+ const { sendMessage: t } = p(), n = C1(e);
2096
2111
  return n ? { shutdownPromptTimerState: n, setShutdownPromptSeconds: (g) => {
2097
2112
  t(`/room/${e}/setShutdownPromptSeconds`, g);
2098
2113
  }, shutdownStart: () => {
@@ -2103,28 +2118,28 @@ function V6(e) {
2103
2118
  t(`/room/${e}/shutdownCancel`, null);
2104
2119
  } } : void 0;
2105
2120
  }
2106
- function k6(e) {
2107
- const { sendMessage: t } = m(), n = S(e);
2121
+ function F6(e) {
2122
+ const { sendMessage: t } = p(), n = S(e);
2108
2123
  return n ? { switchedOutputState: n, on: () => {
2109
2124
  t(`/device/${e}/on`, null);
2110
2125
  }, off: () => {
2111
2126
  t(`/device/${e}/off`, null);
2112
2127
  } } : void 0;
2113
2128
  }
2114
- function F6(e) {
2115
- const { sendMessage: t } = m(), n = C1(e);
2129
+ function H6(e) {
2130
+ const { sendMessage: t } = p(), n = C1(e);
2116
2131
  return n ? { techPasswordState: n, validatePassword: (l) => {
2117
2132
  t(`/room/${e}/validateTechPassword`, { password: l });
2118
2133
  }, setPassword: (l, i) => {
2119
2134
  t(`/room/${e}/setTechPassword`, { oldPassword: l, newPassword: i });
2120
2135
  } } : void 0;
2121
2136
  }
2122
- function H6(e) {
2123
- const { sendMessage: t } = m(), n = S(e);
2137
+ function U6(e) {
2138
+ const { sendMessage: t } = p(), n = S(e);
2124
2139
  return n ? { state: n, setTemperatureUnitsToCelcius: () => t(`${e}/setTemperatureUnitsToCelcius`, null), setTemperatureUnitsToFahrenheit: () => t(`${e}/setTemperatureUnitsToFahrenheit`, null) } : void 0;
2125
2140
  }
2126
- function U6(e) {
2127
- const { sendMessage: t } = m(), n = S(e), s = (r) => {
2141
+ function K6(e) {
2142
+ const { sendMessage: t } = p(), n = S(e), s = (r) => {
2128
2143
  t(`/device/${e}/saveTheme`, { value: r });
2129
2144
  };
2130
2145
  return {
@@ -2132,8 +2147,8 @@ function U6(e) {
2132
2147
  saveTheme: s
2133
2148
  };
2134
2149
  }
2135
- function K6(e) {
2136
- const t = `/device/${e}`, n = p(t, "play"), s = p(t, "pause"), r = p(t, "stop"), l = p(t, "prevTrack"), i = p(t, "nextTrack"), g = p(t, "rewind"), d = p(t, "ffwd"), f = p(t, "record");
2150
+ function q6(e) {
2151
+ const t = `/device/${e}`, n = m(t, "play"), s = m(t, "pause"), r = m(t, "stop"), l = m(t, "prevTrack"), i = m(t, "nextTrack"), g = m(t, "rewind"), d = m(t, "ffwd"), f = m(t, "record");
2137
2152
  return {
2138
2153
  play: n,
2139
2154
  pause: s,
@@ -2145,15 +2160,15 @@ function K6(e) {
2145
2160
  record: f
2146
2161
  };
2147
2162
  }
2148
- function q6(e) {
2163
+ function G6(e) {
2149
2164
  const t = S(e);
2150
2165
  return E(() => {
2151
2166
  if (t)
2152
2167
  return { state: t };
2153
2168
  }, [t]);
2154
2169
  }
2155
- function G6(e) {
2156
- const t = S(e), { sendMessage: n } = m();
2170
+ function z6(e) {
2171
+ const t = S(e), { sendMessage: n } = p();
2157
2172
  return t ? {
2158
2173
  touchpanelState: t,
2159
2174
  appControl: { hideApp: () => {
@@ -2168,7 +2183,7 @@ function G6(e) {
2168
2183
  } }
2169
2184
  } : void 0;
2170
2185
  }
2171
- function z6(e) {
2186
+ function Y6(e) {
2172
2187
  const t = S(e), n = F3(e), s = W1(e);
2173
2188
  if (!t) return;
2174
2189
  const r = (t.powerState || t.isWarming) && !t.isCooling, l = (!t.powerState || t.isCooling) && !t.isWarming;
@@ -2179,8 +2194,8 @@ function z6(e) {
2179
2194
  powerFb: { powerOnFb: r, powerOffFb: l }
2180
2195
  };
2181
2196
  }
2182
- function Y6(e) {
2183
- const { sendMessage: t } = m(), n = S(e);
2197
+ function J6(e) {
2198
+ const { sendMessage: t } = p(), n = S(e);
2184
2199
  return E(() => {
2185
2200
  if (!n) return;
2186
2201
  const s = `/device/${e}`;
@@ -2197,14 +2212,14 @@ function Y6(e) {
2197
2212
  };
2198
2213
  }, [e, t, n]);
2199
2214
  }
2200
- function J6(e) {
2215
+ function X6(e) {
2201
2216
  const t = `/device/${e}`;
2202
2217
  return j1(t);
2203
2218
  }
2204
- const X6 = ({
2219
+ const Q6 = ({
2205
2220
  config: e
2206
2221
  }, t = !0) => {
2207
- const { sendMessage: n } = m(), s = d1(!1), r = E(() => {
2222
+ const { sendMessage: n } = p(), s = d1(!1), r = E(() => {
2208
2223
  var i, g, d, f;
2209
2224
  if (!e)
2210
2225
  return;
@@ -2237,7 +2252,7 @@ const X6 = ({
2237
2252
  console.log("requesting batch state for deviceKeys:", l), n("/system/batchDeviceFullStatus", { deviceKeys: l }), s.current = !0;
2238
2253
  }, [r, t, n]), r;
2239
2254
  };
2240
- function Q6(e, t) {
2255
+ function N6(e, t) {
2241
2256
  const [n, s] = Y(!1), [r, l] = Y(!1);
2242
2257
  return S3(() => {
2243
2258
  const { current: i } = e, g = () => {
@@ -2247,15 +2262,15 @@ function Q6(e, t) {
2247
2262
  i && g();
2248
2263
  }, [e, t]), { overflowHorizontal: n, overflowVertical: r };
2249
2264
  }
2250
- function N6(e, t) {
2265
+ function en(e, t) {
2251
2266
  const n = `/room/${e}/volumes/${t}`;
2252
2267
  return j1(n);
2253
2268
  }
2254
- function en(e, t) {
2269
+ function tn(e, t) {
2255
2270
  const n = ne(e, t), s = `/room/${e}/volumes/${t}`;
2256
2271
  return k3(s, n);
2257
2272
  }
2258
- function tn(e) {
2273
+ function nn(e) {
2259
2274
  var g, d;
2260
2275
  const [t, n] = Y(((g = e == null ? void 0 : e.current) == null ? void 0 : g.scrollLeft) ?? 0), [s, r] = Y(((d = e == null ? void 0 : e.current) == null ? void 0 : d.scrollTop) ?? 0), l = (f) => {
2261
2276
  const { current: u } = e;
@@ -2271,7 +2286,7 @@ function tn(e) {
2271
2286
  f && u();
2272
2287
  }, [e]), { horizontalScrollPosition: t, verticalScrollPosition: s, scrollHorizontal: l, scrollVertical: i };
2273
2288
  }
2274
- function nn(e) {
2289
+ function on(e) {
2275
2290
  const t = V1();
2276
2291
  return [() => {
2277
2292
  t(V.addSyncState(e));
@@ -2279,8 +2294,8 @@ function nn(e) {
2279
2294
  t(V.removeSyncState(e));
2280
2295
  }, Se(e)];
2281
2296
  }
2282
- function on() {
2283
- const { sendMessage: e } = m();
2297
+ function sn() {
2298
+ const { sendMessage: e } = p();
2284
2299
  return {
2285
2300
  reboot: () => {
2286
2301
  e("/system/reboot", null);
@@ -2290,7 +2305,7 @@ function on() {
2290
2305
  }
2291
2306
  };
2292
2307
  }
2293
- function sn() {
2308
+ function cn() {
2294
2309
  const [e, t] = Y(), [n, s] = Y();
2295
2310
  function r() {
2296
2311
  t((/* @__PURE__ */ new Date()).toLocaleDateString("en-US", { dateStyle: "long" }));
@@ -2305,10 +2320,10 @@ function sn() {
2305
2320
  return () => clearInterval(l);
2306
2321
  }, []), { date: e, time: n };
2307
2322
  }
2308
- const cn = () => {
2323
+ const rn = () => {
2309
2324
  const [e, t] = Y(!1), n = y2(), s = R2();
2310
2325
  let r;
2311
- return P2(s) ? r = s.statusText : s instanceof Error ? r = s.message : typeof s == "string" ? r = s : (console.error(s), r = "Unknown error"), /* @__PURE__ */ o.jsxs("div", { className: "d-flex flex-column align-items-center gap-5", children: [
2326
+ return $2(s) ? r = s.statusText : s instanceof Error ? r = s.message : typeof s == "string" ? r = s : (console.error(s), r = "Unknown error"), /* @__PURE__ */ o.jsxs("div", { className: "d-flex flex-column align-items-center gap-5", children: [
2312
2327
  /* @__PURE__ */ o.jsx("div", { className: "m-2 p-2 bg-danger rounded d-flex align-items-center", children: /* @__PURE__ */ o.jsx("span", { className: "fs-5 text-white", children: "We are sorry. Something went wrong." }) }),
2313
2328
  /* @__PURE__ */ o.jsx(
2314
2329
  "button",
@@ -2377,7 +2392,7 @@ const cn = () => {
2377
2392
  ]
2378
2393
  }
2379
2394
  );
2380
- }, P = ({
2395
+ }, $ = ({
2381
2396
  ActiveImage: e,
2382
2397
  DisabledImage: t,
2383
2398
  EnabledImage: n,
@@ -2388,7 +2403,7 @@ const cn = () => {
2388
2403
  className: t = "",
2389
2404
  disabled: n
2390
2405
  }) => /* @__PURE__ */ o.jsx(
2391
- P,
2406
+ $,
2392
2407
  {
2393
2408
  ActiveImage: /* @__PURE__ */ o.jsx(
2394
2409
  "svg",
@@ -2440,7 +2455,7 @@ const cn = () => {
2440
2455
  className: t = "",
2441
2456
  disabled: n
2442
2457
  }) => /* @__PURE__ */ o.jsx(
2443
- P,
2458
+ $,
2444
2459
  {
2445
2460
  ActiveImage: (
2446
2461
  /* icon-ban-active.svg */
@@ -2489,7 +2504,7 @@ const cn = () => {
2489
2504
  className: t = "",
2490
2505
  disabled: n
2491
2506
  }) => /* @__PURE__ */ o.jsx(
2492
- P,
2507
+ $,
2493
2508
  {
2494
2509
  ActiveImage: /* @__PURE__ */ o.jsx(
2495
2510
  "svg",
@@ -2529,7 +2544,7 @@ const cn = () => {
2529
2544
  className: t = "",
2530
2545
  disabled: n
2531
2546
  }) => /* @__PURE__ */ o.jsx(
2532
- P,
2547
+ $,
2533
2548
  {
2534
2549
  ActiveImage: (
2535
2550
  /* icon-check-active.svg */
@@ -2579,7 +2594,7 @@ const cn = () => {
2579
2594
  className: t = "",
2580
2595
  disabled: n
2581
2596
  }) => /* @__PURE__ */ o.jsx(
2582
- P,
2597
+ $,
2583
2598
  {
2584
2599
  ActiveImage: (
2585
2600
  /* icon-controller-active.svg */
@@ -2646,7 +2661,7 @@ const cn = () => {
2646
2661
  className: t = "",
2647
2662
  disabled: n
2648
2663
  }) => /* @__PURE__ */ o.jsx(
2649
- P,
2664
+ $,
2650
2665
  {
2651
2666
  ActiveImage: (
2652
2667
  /* icon-down-active.svg */
@@ -2695,7 +2710,7 @@ const cn = () => {
2695
2710
  className: t = "",
2696
2711
  disabled: n
2697
2712
  }) => /* @__PURE__ */ o.jsx(
2698
- P,
2713
+ $,
2699
2714
  {
2700
2715
  ActiveImage: (
2701
2716
  /* icon-elipses-active.svg */
@@ -2744,7 +2759,7 @@ const cn = () => {
2744
2759
  className: t = "",
2745
2760
  disabled: n
2746
2761
  }) => /* @__PURE__ */ o.jsx(
2747
- P,
2762
+ $,
2748
2763
  {
2749
2764
  ActiveImage: (
2750
2765
  /* icon-flag-active.svg */
@@ -2793,7 +2808,7 @@ const cn = () => {
2793
2808
  className: t = "",
2794
2809
  disabled: n
2795
2810
  }) => /* @__PURE__ */ o.jsx(
2796
- P,
2811
+ $,
2797
2812
  {
2798
2813
  ActiveImage: (
2799
2814
  /* /Users/hvolmer/Downloads/SVG/icon-gear-active.svg */
@@ -2842,7 +2857,7 @@ const cn = () => {
2842
2857
  className: t = "",
2843
2858
  disabled: n
2844
2859
  }) => /* @__PURE__ */ o.jsx(
2845
- P,
2860
+ $,
2846
2861
  {
2847
2862
  ActiveImage: (
2848
2863
  /* icon-glass-active.svg */
@@ -2892,7 +2907,7 @@ const cn = () => {
2892
2907
  className: t = "",
2893
2908
  disabled: n
2894
2909
  }) => /* @__PURE__ */ o.jsx(
2895
- P,
2910
+ $,
2896
2911
  {
2897
2912
  ActiveImage: (
2898
2913
  /* icon-hdmi-active.svg */
@@ -2959,7 +2974,7 @@ const cn = () => {
2959
2974
  className: t = "",
2960
2975
  disabled: n
2961
2976
  }) => /* @__PURE__ */ o.jsx(
2962
- P,
2977
+ $,
2963
2978
  {
2964
2979
  ActiveImage: (
2965
2980
  /* icon-laptop-active.svg */
@@ -3008,7 +3023,7 @@ const cn = () => {
3008
3023
  className: t = "",
3009
3024
  disabled: n
3010
3025
  }) => /* @__PURE__ */ o.jsx(
3011
- P,
3026
+ $,
3012
3027
  {
3013
3028
  ActiveImage: (
3014
3029
  /* icon-left-active.svg */
@@ -3057,7 +3072,7 @@ const cn = () => {
3057
3072
  className: t = "",
3058
3073
  disabled: n
3059
3074
  }) => /* @__PURE__ */ o.jsx(
3060
- P,
3075
+ $,
3061
3076
  {
3062
3077
  ActiveImage: (
3063
3078
  /* icon-light-active.svg */
@@ -3106,7 +3121,7 @@ const cn = () => {
3106
3121
  className: t = "",
3107
3122
  disabled: n
3108
3123
  }) => /* @__PURE__ */ o.jsx(
3109
- P,
3124
+ $,
3110
3125
  {
3111
3126
  ActiveImage: (
3112
3127
  /* icon-moon-active.svg */
@@ -3155,7 +3170,7 @@ const cn = () => {
3155
3170
  className: t = "",
3156
3171
  disabled: n
3157
3172
  }) => /* @__PURE__ */ o.jsx(
3158
- P,
3173
+ $,
3159
3174
  {
3160
3175
  ActiveImage: (
3161
3176
  /* icon-playstation-active.svg */
@@ -3172,12 +3187,12 @@ const cn = () => {
3172
3187
  active: e,
3173
3188
  disabled: n
3174
3189
  }
3175
- ), mt = ({
3190
+ ), pt = ({
3176
3191
  active: e,
3177
3192
  className: t = "",
3178
3193
  disabled: n
3179
3194
  }) => /* @__PURE__ */ o.jsx(
3180
- P,
3195
+ $,
3181
3196
  {
3182
3197
  ActiveImage: (
3183
3198
  /* icon-podium-active.svg */
@@ -3221,12 +3236,12 @@ const cn = () => {
3221
3236
  active: e,
3222
3237
  disabled: n
3223
3238
  }
3224
- ), pt = ({
3239
+ ), mt = ({
3225
3240
  active: e,
3226
3241
  className: t = "",
3227
3242
  disabled: n
3228
3243
  }) => /* @__PURE__ */ o.jsx(
3229
- P,
3244
+ $,
3230
3245
  {
3231
3246
  ActiveImage: (
3232
3247
  /* icon-power-active.svg */
@@ -3275,7 +3290,7 @@ const cn = () => {
3275
3290
  className: t = "",
3276
3291
  disabled: n
3277
3292
  }) => /* @__PURE__ */ o.jsx(
3278
- P,
3293
+ $,
3279
3294
  {
3280
3295
  ActiveImage: (
3281
3296
  /* icon-privacy-active.svg */
@@ -3324,7 +3339,7 @@ const cn = () => {
3324
3339
  className: t = "",
3325
3340
  disabled: n
3326
3341
  }) => /* @__PURE__ */ o.jsx(
3327
- P,
3342
+ $,
3328
3343
  {
3329
3344
  ActiveImage: (
3330
3345
  /* icon-question-active.svg */
@@ -3373,7 +3388,7 @@ const cn = () => {
3373
3388
  className: t = "",
3374
3389
  disabled: n
3375
3390
  }) => /* @__PURE__ */ o.jsx(
3376
- P,
3391
+ $,
3377
3392
  {
3378
3393
  ActiveImage: (
3379
3394
  /* icon-right-active.svg */
@@ -3423,7 +3438,7 @@ const cn = () => {
3423
3438
  className: t = "",
3424
3439
  disabled: n
3425
3440
  }) => /* @__PURE__ */ o.jsx(
3426
- P,
3441
+ $,
3427
3442
  {
3428
3443
  ActiveImage: (
3429
3444
  /* icon-roomPC-active.svg */
@@ -3490,7 +3505,7 @@ const cn = () => {
3490
3505
  className: t = "",
3491
3506
  disabled: n
3492
3507
  }) => /* @__PURE__ */ o.jsx(
3493
- P,
3508
+ $,
3494
3509
  {
3495
3510
  ActiveImage: (
3496
3511
  /* icon-shade-active.svg */
@@ -3539,7 +3554,7 @@ const cn = () => {
3539
3554
  className: t = "",
3540
3555
  disabled: n
3541
3556
  }) => /* @__PURE__ */ o.jsx(
3542
- P,
3557
+ $,
3543
3558
  {
3544
3559
  ActiveImage: (
3545
3560
  /* icon-sun-active.svg */
@@ -3583,14 +3598,14 @@ const cn = () => {
3583
3598
  active: e,
3584
3599
  disabled: n
3585
3600
  }
3586
- ), rn = ({
3601
+ ), ln = ({
3587
3602
  active: e,
3588
3603
  // Just to shut up the linter on this template. Prefer deleting this lint rule
3589
3604
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
3590
3605
  className: t = "",
3591
3606
  disabled: n
3592
3607
  }) => /* @__PURE__ */ o.jsx(
3593
- P,
3608
+ $,
3594
3609
  {
3595
3610
  ActiveImage: void 0,
3596
3611
  DisabledImage: void 0,
@@ -3603,7 +3618,7 @@ const cn = () => {
3603
3618
  className: t = "",
3604
3619
  disabled: n
3605
3620
  }) => /* @__PURE__ */ o.jsx(
3606
- P,
3621
+ $,
3607
3622
  {
3608
3623
  ActiveImage: (
3609
3624
  /* icon-up-active.svg */
@@ -3652,7 +3667,7 @@ const cn = () => {
3652
3667
  className: t = "",
3653
3668
  disabled: n
3654
3669
  }) => /* @__PURE__ */ o.jsx(
3655
- P,
3670
+ $,
3656
3671
  {
3657
3672
  ActiveImage: (
3658
3673
  /* icon-volDown-active.svg */
@@ -3701,7 +3716,7 @@ const cn = () => {
3701
3716
  className: t = "",
3702
3717
  disabled: n
3703
3718
  }) => /* @__PURE__ */ o.jsx(
3704
- P,
3719
+ $,
3705
3720
  {
3706
3721
  ActiveImage: (
3707
3722
  /* icon-volMute-active.svg */
@@ -3750,7 +3765,7 @@ const cn = () => {
3750
3765
  className: t = "",
3751
3766
  disabled: n
3752
3767
  }) => /* @__PURE__ */ o.jsx(
3753
- P,
3768
+ $,
3754
3769
  {
3755
3770
  ActiveImage: (
3756
3771
  /* icon-volUp-active.svg */
@@ -3799,7 +3814,7 @@ const cn = () => {
3799
3814
  className: t = "",
3800
3815
  disabled: n
3801
3816
  }) => /* @__PURE__ */ o.jsx(
3802
- P,
3817
+ $,
3803
3818
  {
3804
3819
  ActiveImage: (
3805
3820
  /* icon-wireless-active.svg */
@@ -3843,12 +3858,12 @@ const cn = () => {
3843
3858
  active: e,
3844
3859
  disabled: n
3845
3860
  }
3846
- ), Pt = ({
3861
+ ), $t = ({
3847
3862
  active: e,
3848
3863
  className: t = "",
3849
3864
  disabled: n
3850
3865
  }) => /* @__PURE__ */ o.jsx(
3851
- P,
3866
+ $,
3852
3867
  {
3853
3868
  ActiveImage: (
3854
3869
  /* icon-x-active.svg */
@@ -3892,12 +3907,12 @@ const cn = () => {
3892
3907
  active: e,
3893
3908
  disabled: n
3894
3909
  }
3895
- ), $t = ({
3910
+ ), Pt = ({
3896
3911
  active: e,
3897
3912
  className: t = "",
3898
3913
  disabled: n
3899
3914
  }) => /* @__PURE__ */ o.jsx(
3900
- P,
3915
+ $,
3901
3916
  {
3902
3917
  ActiveImage: (
3903
3918
  /* icon-xbox-active.svg */
@@ -3946,7 +3961,7 @@ const cn = () => {
3946
3961
  className: t = "",
3947
3962
  disabled: n
3948
3963
  }) => /* @__PURE__ */ o.jsx(
3949
- P,
3964
+ $,
3950
3965
  {
3951
3966
  ActiveImage: (
3952
3967
  /* icon-mic-active.svg */
@@ -4008,8 +4023,8 @@ const cn = () => {
4008
4023
  Mic: Et,
4009
4024
  Moon: ht,
4010
4025
  Playstation: ft,
4011
- Podium: mt,
4012
- Power: pt,
4026
+ Podium: pt,
4027
+ Power: mt,
4013
4028
  Privacy: wt,
4014
4029
  Question: Mt,
4015
4030
  RightArrow: xt,
@@ -4021,10 +4036,10 @@ const cn = () => {
4021
4036
  VolMute: It,
4022
4037
  VolUp: yt,
4023
4038
  Wireless: Rt,
4024
- X: Pt,
4025
- Xbox: $t
4039
+ X: $t,
4040
+ Xbox: Pt
4026
4041
  };
4027
- function ln({
4042
+ function an({
4028
4043
  name: e,
4029
4044
  iconsDictionary: t = Tt,
4030
4045
  ...n
@@ -4038,7 +4053,7 @@ const Dt = "_grid_1cmpp_1", At = "_header_1cmpp_11", Lt = "_content_1cmpp_17", _
4038
4053
  content: Lt,
4039
4054
  footer: _t,
4040
4055
  volume: Bt
4041
- }, an = ({ header: e, footer: t, content: n, volume: s, showVolume: r }) => /* @__PURE__ */ o.jsxs("div", { className: u1.grid, children: [
4056
+ }, un = ({ header: e, footer: t, content: n, volume: s, showVolume: r }) => /* @__PURE__ */ o.jsxs("div", { className: u1.grid, children: [
4042
4057
  /* @__PURE__ */ o.jsx("div", { className: u1.header, children: e }),
4043
4058
  /* @__PURE__ */ o.jsx("div", { className: u1.content, children: n }),
4044
4059
  r && /* @__PURE__ */ o.jsx("div", { className: u1.volume, children: s }),
@@ -4047,7 +4062,7 @@ const Dt = "_grid_1cmpp_1", At = "_header_1cmpp_11", Lt = "_content_1cmpp_17", _
4047
4062
  grid: Ot,
4048
4063
  header: Wt,
4049
4064
  content: Vt
4050
- }, un = ({ className: e, header: t, content: n, leftNav: s }) => /* @__PURE__ */ o.jsxs("div", { className: `${e} ${x1.grid}`, children: [
4065
+ }, dn = ({ className: e, header: t, content: n, leftNav: s }) => /* @__PURE__ */ o.jsxs("div", { className: `${e} ${x1.grid}`, children: [
4051
4066
  /* @__PURE__ */ o.jsx("div", { className: x1.header, children: t }),
4052
4067
  s && /* @__PURE__ */ o.jsx("div", { className: x1.leftNav, children: s }),
4053
4068
  /* @__PURE__ */ o.jsx("div", { className: x1.content, children: n })
@@ -4055,33 +4070,33 @@ const Dt = "_grid_1cmpp_1", At = "_header_1cmpp_11", Lt = "_content_1cmpp_17", _
4055
4070
  grid: kt,
4056
4071
  header: Ft,
4057
4072
  content: Ht
4058
- }, dn = ({ className: e, header: t, content: n }) => /* @__PURE__ */ o.jsxs("div", { className: `${e} ${_1.grid}`, children: [
4073
+ }, vn = ({ className: e, header: t, content: n }) => /* @__PURE__ */ o.jsxs("div", { className: `${e} ${_1.grid}`, children: [
4059
4074
  /* @__PURE__ */ o.jsx("div", { className: _1.header, children: t }),
4060
4075
  /* @__PURE__ */ o.jsx("div", { className: _1.content, children: n })
4061
4076
  ] });
4062
- class vn {
4077
+ class gn {
4063
4078
  constructor() {
4064
4079
  G(this, "currentShareText");
4065
4080
  G(this, "enabled");
4066
4081
  G(this, "isSharing");
4067
4082
  }
4068
4083
  }
4069
- function gn() {
4084
+ function hn() {
4070
4085
  return console.log(location.pathname), location.pathname;
4071
4086
  }
4072
4087
  var Ut = /* @__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))(Ut || {});
4073
- class hn {
4088
+ class fn {
4074
4089
  constructor(t, n) {
4075
4090
  G(this, "path");
4076
4091
  G(this, "handler");
4077
4092
  this.path = t, this.handler = n;
4078
4093
  }
4079
4094
  }
4080
- const fn = "$off";
4095
+ const pn = "$off";
4081
4096
  export {
4082
4097
  q8 as Clock,
4083
4098
  Ut as DaysOfWeek,
4084
- cn as ErrorBox,
4099
+ rn as ErrorBox,
4085
4100
  Ne as IconButton,
4086
4101
  et as IconMultiAlert,
4087
4102
  tt as IconMultiBan,
@@ -4100,30 +4115,30 @@ export {
4100
4115
  Et as IconMultiMic,
4101
4116
  ht as IconMultiMoon,
4102
4117
  ft as IconMultiPlaystation,
4103
- mt as IconMultiPodium,
4104
- pt as IconMultiPower,
4118
+ pt as IconMultiPodium,
4119
+ mt as IconMultiPower,
4105
4120
  wt as IconMultiPrivacy,
4106
4121
  Mt as IconMultiQuestion,
4107
4122
  xt as IconMultiRightArrow,
4108
4123
  St as IconMultiRoomPC,
4109
4124
  Zt as IconMultiShade,
4110
4125
  Ct as IconMultiSun,
4111
- rn as IconMultiTemplate,
4126
+ ln as IconMultiTemplate,
4112
4127
  jt as IconMultiUpArrow,
4113
4128
  bt as IconMultiVolDown,
4114
4129
  It as IconMultiVolMute,
4115
4130
  yt as IconMultiVolUp,
4116
4131
  Rt as IconMultiWireless,
4117
- Pt as IconMultiX,
4118
- $t as IconMultiXbox,
4119
- an as MainLayout,
4120
- hn as MessageHandler,
4132
+ $t as IconMultiX,
4133
+ Pt as IconMultiXbox,
4134
+ un as MainLayout,
4135
+ fn as MessageHandler,
4121
4136
  k8 as MobileControlProvider,
4122
- P as MultiStateIconContainer,
4123
- ln as NamedIconButton,
4124
- vn as ShareState,
4125
- un as TechLayout,
4126
- dn as TechPinLayout,
4137
+ $ as MultiStateIconContainer,
4138
+ an as NamedIconButton,
4139
+ gn as ShareState,
4140
+ dn as TechLayout,
4141
+ vn as TechPinLayout,
4127
4142
  _3 as WS_ADD_EVENT_HANDLER,
4128
4143
  D3 as WS_CONNECT,
4129
4144
  A3 as WS_DISCONNECT,
@@ -4133,22 +4148,22 @@ export {
4133
4148
  V3 as WebsocketContext,
4134
4149
  E3 as appConfigActions,
4135
4150
  Be as createWebSocketMiddleware,
4136
- p1 as devicesActions,
4137
- gn as getBaseLocation,
4151
+ m1 as devicesActions,
4152
+ hn as getBaseLocation,
4138
4153
  f3 as httpClient,
4139
4154
  Tt as iconsDictionary,
4140
- fn as roomOffSourceKey,
4155
+ pn as roomOffSourceKey,
4141
4156
  w1 as roomsActions,
4142
4157
  U as runtimeConfigActions,
4143
4158
  j3 as selectAllDevices,
4144
4159
  E2 as selectApiPath,
4145
- $2 as selectAppConfig,
4160
+ P2 as selectAppConfig,
4146
4161
  re as selectClientId,
4147
4162
  he as selectCurrentPopoverIdForGroup,
4148
4163
  A2 as selectDeviceByKey,
4149
4164
  b3 as selectDeviceInterfaceSupport,
4150
4165
  ge as selectDeviceSupportsInterface,
4151
- me as selectError,
4166
+ pe as selectError,
4152
4167
  I3 as selectInterfacesForDevice,
4153
4168
  R3 as selectIsSyncStateValuePresent,
4154
4169
  ve as selectIsTouchpanel,
@@ -4179,7 +4194,7 @@ export {
4179
4194
  ue as selectRuntimeInfo,
4180
4195
  ae as selectServerIsRunningOnProcessorHardware,
4181
4196
  fe as selectShowPopoverById,
4182
- pe as selectShowReconnect,
4197
+ me as selectShowReconnect,
4183
4198
  le as selectSystemUuid,
4184
4199
  we as selectTheme,
4185
4200
  de as selectTouchpanelKey,
@@ -4194,17 +4209,17 @@ export {
4194
4209
  V1 as useAppDispatch,
4195
4210
  w as useAppSelector,
4196
4211
  U8 as useAvrControl,
4197
- p as useButtonHeldHeartbeat,
4212
+ m as useButtonHeldHeartbeat,
4198
4213
  K8 as useCameraBase,
4199
4214
  Z8 as useClientId,
4200
- J6 as useDeviceIBasicVolume,
4215
+ X6 as useDeviceIBasicVolume,
4201
4216
  ze as useDeviceIBasicVolumeWithFeedback,
4202
- P8 as useDeviceInterfaceSupport,
4217
+ $8 as useDeviceInterfaceSupport,
4203
4218
  G8 as useDevicePresetsModel,
4204
4219
  E8 as useDeviceSupportsInterface,
4205
4220
  z8 as useEndpoint,
4206
4221
  Me as useError,
4207
- X6 as useGetAllDeviceStateFromRoomConfiguration,
4222
+ Q6 as useGetAllDeviceStateFromRoomConfiguration,
4208
4223
  t8 as useGetAllDevices,
4209
4224
  o8 as useGetAllRooms,
4210
4225
  L8 as useGetCurrentPopoverIdForGroup,
@@ -4219,80 +4234,81 @@ export {
4219
4234
  j1 as useIBasicVolume,
4220
4235
  k3 as useIBasicVolumeWithFeedback,
4221
4236
  X8 as useIChannel,
4222
- Q8 as useIColor,
4223
- N8 as useICommunicationMonitor,
4224
- e6 as useICurrentSources,
4225
- o6 as useIDPad,
4226
- t6 as useIDeviceInfoMessenger,
4227
- n6 as useIDialerCallStatus,
4228
- s6 as useIDspPresets,
4229
- c6 as useIDvr,
4230
- r6 as useIEssentialsRoomCombiner,
4231
- l6 as useIHasCameraAutoMode,
4232
- i6 as useIHasCameraMute,
4233
- a6 as useIHasCameraPresets,
4234
- u6 as useIHasCameras,
4235
- d6 as useIHasCodecLayouts,
4236
- v6 as useIHasCodecRoomPresetsActions,
4237
- g6 as useIHasDialer,
4238
- h6 as useIHasDirectory,
4239
- f6 as useIHasMeetingLock,
4237
+ Q8 as useICodecCallControls,
4238
+ N8 as useIColor,
4239
+ e6 as useICommunicationMonitor,
4240
+ t6 as useICurrentSources,
4241
+ s6 as useIDPad,
4242
+ n6 as useIDeviceInfoMessenger,
4243
+ o6 as useIDialerCallStatus,
4244
+ c6 as useIDspPresets,
4245
+ r6 as useIDvr,
4246
+ l6 as useIEssentialsRoomCombiner,
4247
+ i6 as useIHasCameraAutoMode,
4248
+ a6 as useIHasCameraMute,
4249
+ u6 as useIHasCameraPresets,
4250
+ d6 as useIHasCameras,
4251
+ v6 as useIHasCodecLayouts,
4252
+ g6 as useIHasCodecRoomPresetsActions,
4253
+ h6 as useIHasDialer,
4254
+ f6 as useIHasDirectory,
4255
+ p6 as useIHasMeetingLock,
4240
4256
  m6 as useIHasMeetingRecording,
4241
- p6 as useIHasParticipantAudioMute,
4242
- w6 as useIHasParticipantPinUnpin,
4243
- x6 as useIHasParticipantVideoMute,
4244
- M6 as useIHasParticipants,
4245
- S6 as useIHasPhoneDialing,
4257
+ w6 as useIHasParticipantAudioMute,
4258
+ M6 as useIHasParticipantPinUnpin,
4259
+ S6 as useIHasParticipantVideoMute,
4260
+ x6 as useIHasParticipants,
4261
+ Z6 as useIHasPhoneDialing,
4246
4262
  F3 as useIHasPowerControl,
4247
- Z6 as useIHasPresentationOnlyMeeting,
4248
- C6 as useIHasScheduleAwareness,
4263
+ C6 as useIHasPresentationOnlyMeeting,
4264
+ j6 as useIHasScheduleAwareness,
4249
4265
  W1 as useIHasSelectableItems,
4250
- j6 as useIHasSelfviewPosition,
4251
- b6 as useIHasSelfviewSize,
4252
- I6 as useIHasStartMeeting,
4266
+ b6 as useIHasSelfviewPosition,
4267
+ I6 as useIHasSelfviewSize,
4268
+ y6 as useIHasStartMeeting,
4253
4269
  Ye as useIHasSurroundChannels,
4254
- y6 as useIHasZoomRoomLayouts,
4255
- R6 as useILevelControls,
4270
+ R6 as useIHasZoomRoomLayouts,
4271
+ $6 as useILevelControls,
4256
4272
  P6 as useILightingScenes,
4257
- $6 as useIMatrixRouting,
4258
- E6 as useIMcCiscoCodecUserInterfaceAppControl,
4259
- T6 as useINumeric,
4260
- D6 as useIProjectorScreenLiftControl,
4261
- A6 as useIRoomEventSchedule,
4262
- L6 as useIRunDefaultPresentRoute,
4263
- _6 as useIRunDirectRouteAction,
4264
- B6 as useIRunRouteAction,
4265
- O6 as useISetTopBoxControls,
4266
- W6 as useIShadesOpenCloseStop,
4267
- V6 as useIShutdownPromptTimer,
4268
- k6 as useISwitchedOutput,
4269
- F6 as useITechPassword,
4270
- H6 as useITemperatureSensor,
4271
- U6 as useITheme,
4272
- K6 as useITransport,
4273
- q6 as useIZoomWirelessShareInstructions,
4273
+ E6 as useIMatrixRouting,
4274
+ T6 as useIMcCiscoCodecUserInterfaceAppControl,
4275
+ D6 as useINumeric,
4276
+ A6 as useIProjectorScreenLiftControl,
4277
+ L6 as useIRoomEventSchedule,
4278
+ _6 as useIRunDefaultPresentRoute,
4279
+ B6 as useIRunDirectRouteAction,
4280
+ O6 as useIRunRouteAction,
4281
+ W6 as useISetTopBoxControls,
4282
+ V6 as useIShadesOpenCloseStop,
4283
+ k6 as useIShutdownPromptTimer,
4284
+ F6 as useISwitchedOutput,
4285
+ H6 as useITechPassword,
4286
+ U6 as useITemperatureSensor,
4287
+ K6 as useITheme,
4288
+ q6 as useITransport,
4289
+ G6 as useIZoomWirelessShareInstructions,
4274
4290
  V8 as useInitialize,
4275
- $8 as useInterfacesForDevice,
4291
+ P8 as useInterfacesForDevice,
4276
4292
  O8 as useIsInitialSyncComplete,
4277
4293
  Se as useIsSyncStateValuePresent,
4278
4294
  R8 as useIsTouchpanel,
4279
4295
  Nt as useLogoPath,
4280
- G6 as useMobileControlTouchpanelController,
4281
- Q6 as useOverflow,
4296
+ z6 as useMobileControlTouchpanelController,
4297
+ N6 as useOverflow,
4282
4298
  e8 as usePartnerMetadata,
4283
4299
  Ge as usePressHoldRelease,
4284
- p8 as useRoomAdvancedSharingActive,
4300
+ m8 as useRoomAdvancedSharingActive,
4285
4301
  l8 as useRoomAudioControlPointList,
4286
4302
  v8 as useRoomCodecContentDestinationKey,
4287
4303
  n8 as useRoomConfiguration,
4288
4304
  a8 as useRoomDestinationList,
4289
4305
  i8 as useRoomDestinations,
4290
4306
  u8 as useRoomEnvironmentalDevices,
4291
- N6 as useRoomIBasicVolume,
4292
- en as useRoomIBasicVolumeWithFeedback,
4307
+ en as useRoomIBasicVolume,
4308
+ tn as useRoomIBasicVolumeWithFeedback,
4293
4309
  g8 as useRoomInCall,
4294
4310
  f8 as useRoomIsCoolingDown,
4295
- m8 as useRoomIsOn,
4311
+ p8 as useRoomIsOn,
4296
4312
  h8 as useRoomIsWarmingUp,
4297
4313
  S8 as useRoomKey,
4298
4314
  oe as useRoomLevelControls,
@@ -4303,24 +4319,24 @@ export {
4303
4319
  C1 as useRoomState,
4304
4320
  ne as useRoomVolume,
4305
4321
  I8 as useRuntimeInfo,
4306
- tn as useScroll,
4322
+ nn as useScroll,
4307
4323
  b8 as useServerIsRunningOnProcessorHardware,
4308
4324
  D8 as useShowIncomingCallModal,
4309
4325
  A8 as useShowModal,
4310
4326
  _8 as useShowPopoverById,
4311
4327
  xe as useShowReconnect,
4312
4328
  T8 as useShowShutdownModal,
4313
- nn as useStateIsSynced,
4314
- on as useSystemControl,
4329
+ on as useStateIsSynced,
4330
+ sn as useSystemControl,
4315
4331
  C8 as useSystemUuid,
4316
4332
  B8 as useTheme,
4317
- sn as useTimeAndDate,
4333
+ cn as useTimeAndDate,
4318
4334
  y8 as useTouchpanelKey,
4319
- z6 as useTwoWayDisplayBase,
4335
+ Y6 as useTwoWayDisplayBase,
4320
4336
  j8 as useUserCode,
4321
- m as useWebsocketContext,
4337
+ p as useWebsocketContext,
4322
4338
  y3 as useWsIsConnected,
4323
- Y6 as useZoomRoom,
4339
+ J6 as useZoomRoom,
4324
4340
  Ae as wsAddEventHandler,
4325
4341
  W3 as wsConnect,
4326
4342
  W8 as wsDisconnect,