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

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 s2 = Object.defineProperty;
2
- var n2 = (e, t, n) => t in e ? s2(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
- var G = (e, t, n) => n2(e, typeof t != "symbol" ? t + "" : t, n);
4
- import o2, { AxiosError as c2 } from "axios";
5
- import { useDispatch as r2, useSelector as l2, Provider as i2 } from "react-redux";
6
- import { createSelector as w, createSlice as g1, combineReducers as a2, configureStore as u2 } from "@reduxjs/toolkit";
7
- import w3, { createContext as d2, useState as H, useRef as h1, useCallback as a1, useEffect as c1, useContext as v2, useLayoutEffect as x3 } from "react";
1
+ var n2 = Object.defineProperty;
2
+ var o2 = (e, t, n) => t in e ? n2(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
+ var q = (e, t, n) => o2(e, typeof t != "symbol" ? t + "" : t, n);
4
+ import c2, { AxiosError as r2 } from "axios";
5
+ import { useDispatch as l2, useSelector as i2, Provider as a2 } from "react-redux";
6
+ import { createSelector as w, createSlice as g1, combineReducers as u2, configureStore as d2 } from "@reduxjs/toolkit";
7
+ import w3, { createContext as v2, useState as K, useRef as h1, useCallback as a1, useEffect as c1, useContext as h2, useLayoutEffect as x3 } from "react";
8
8
  import * as M3 from "lodash";
9
- import { useNavigate as h2, useRouteError as g2, isRouteErrorResponse as f2 } from "react-router-dom";
10
- const p2 = r2.withTypes(), p = l2.withTypes(), j1 = (e) => e.appConfig, w2 = w(
9
+ import { useNavigate as g2, useRouteError as f2, isRouteErrorResponse as p2 } from "react-router-dom";
10
+ const m3 = l2.withTypes(), p = i2.withTypes(), j1 = (e) => e.appConfig, w2 = w(
11
11
  j1,
12
12
  (e) => e.config
13
13
  ), x2 = w(
@@ -19,14 +19,14 @@ const p2 = r2.withTypes(), p = l2.withTypes(), j1 = (e) => e.appConfig, w2 = w(
19
19
  ), m2 = w(
20
20
  j1,
21
21
  (e) => e.config.partnerMetadata
22
- ), Z2 = () => p(w2), k6 = () => p(x2), U6 = () => p(M2), W6 = () => p(m2), m3 = (e) => e.devices, Z3 = w(
23
- m3,
22
+ ), Z2 = () => p(w2), U6 = () => p(x2), W6 = () => p(M2), F6 = () => p(m2), Z3 = (e) => e.devices, j3 = w(
23
+ Z3,
24
24
  (e) => e
25
25
  ), j2 = (e) => w(
26
- m3,
26
+ Z3,
27
27
  (t) => t[e] ? t[e] : void 0
28
- ), F6 = () => p(Z3);
29
- function y(e) {
28
+ ), H6 = () => p(j3);
29
+ function R(e) {
30
30
  return p(j2(e));
31
31
  }
32
32
  const D = (e) => e.rooms, S2 = (e) => w(
@@ -41,10 +41,10 @@ const D = (e) => e.rooms, S2 = (e) => w(
41
41
  ), I2 = (e) => w(
42
42
  D,
43
43
  (t) => t[e] ? t[e].name : void 0
44
- ), R2 = (e, t) => w(
44
+ ), y2 = (e, t) => w(
45
45
  D,
46
46
  (n) => n[e] ? n[e].volumes[t] : void 0
47
- ), y2 = (e) => w(
47
+ ), R2 = (e) => w(
48
48
  D,
49
49
  (t) => t[e] ? t[e] : void 0
50
50
  ), E2 = (e) => w(
@@ -134,7 +134,7 @@ const D = (e) => e.rooms, S2 = (e) => w(
134
134
  ), F2 = w(
135
135
  [
136
136
  (e, t) => t,
137
- () => Z3,
137
+ () => j3,
138
138
  (e, t) => {
139
139
  var n, c;
140
140
  return (c = (n = e.rooms[t]) == null ? void 0 : n.configuration) == null ? void 0 : c.destinations;
@@ -146,22 +146,22 @@ const D = (e) => e.rooms, S2 = (e) => w(
146
146
  return Object.values(t).filter((i) => Object.values(c).includes(i.key));
147
147
  }
148
148
  );
149
- function H6(e) {
149
+ function K6(e) {
150
150
  return p(
151
151
  S2(e)
152
152
  );
153
153
  }
154
- function K6() {
154
+ function G6() {
155
155
  return p(C2);
156
156
  }
157
157
  function S1(e) {
158
158
  return p(b2(e));
159
159
  }
160
- const G6 = S1, q6 = (e) => p(
160
+ const q6 = S1, Y6 = (e) => p(
161
161
  I2(e)
162
162
  ), H2 = (e, t) => p(
163
- R2(e, t)
164
- ), K2 = (e) => p(y2(e)) || void 0, Y6 = (e) => p(E2(e)), z6 = (e) => p(P2(e)), J6 = (e) => p(T2(e)), X6 = (e) => p(_2(e)), Q6 = (e) => p(D2(e)), N6 = (e) => p(L2(e)), ee = (e) => p($2(e)), te = (e) => p(A2(e)), se = (e) => p(B2(e)), ne = (e) => p(O2(e)), oe = (e) => p(V2(e)), ce = (e) => p(k2(e)), re = (e) => p(U2(e)), le = (e) => p((t) => F2(t, e)), ie = (e) => p(W2(e)), Y = (e) => e.runtimeConfig, G2 = w(
163
+ y2(e, t)
164
+ ), K2 = (e) => p(R2(e)) || void 0, z6 = (e) => p(E2(e)), J6 = (e) => p(P2(e)), X6 = (e) => p(T2(e)), Q6 = (e) => p(_2(e)), N6 = (e) => p(D2(e)), ee = (e) => p(L2(e)), te = (e) => p($2(e)), se = (e) => p(A2(e)), ne = (e) => p(B2(e)), oe = (e) => p(O2(e)), ce = (e) => p(V2(e)), re = (e) => p(k2(e)), le = (e) => p(U2(e)), ie = (e) => p((t) => F2(t, e)), ae = (e) => p(W2(e)), Y = (e) => e.runtimeConfig, G2 = w(
165
165
  Y,
166
166
  (e) => e.websocket.isConnected
167
167
  ), q2 = w(
@@ -194,7 +194,7 @@ const G6 = S1, q6 = (e) => p(
194
194
  ), t8 = w(
195
195
  Y,
196
196
  (e) => e.roomData.deviceInterfaceSupport
197
- ), j3 = () => p(G2), s8 = () => p(q2), n8 = () => p(Y2), o8 = () => p(z2), c8 = () => p(J2), r8 = () => p(X2), ae = () => p(Q2), ue = () => p(N2), de = () => p(e8), ve = () => p(t8), t1 = (e) => e.ui, U1 = (e) => w(t1, (t) => t.modalVisibility[e]), l8 = (e) => w(t1, (t) => {
197
+ ), S3 = () => p(G2), s8 = () => p(q2), n8 = () => p(Y2), o8 = () => p(z2), c8 = () => p(J2), r8 = () => p(X2), ue = () => p(Q2), de = () => p(N2), ve = () => p(e8), he = () => p(t8), t1 = (e) => e.ui, U1 = (e) => w(t1, (t) => t.modalVisibility[e]), l8 = (e) => w(t1, (t) => {
198
198
  const n = t.popoverVisibility[e];
199
199
  if (n)
200
200
  return Object.keys(n).find((c) => n[c]);
@@ -207,7 +207,7 @@ const G6 = S1, q6 = (e) => p(
207
207
  ), a8 = w(t1, (e) => e.error), u8 = w(
208
208
  t1,
209
209
  (e) => e.showReconnect
210
- ), d8 = w(t1, (e) => e.theme), v8 = (e) => w(t1, (t) => t.syncState.has(e)), he = () => p(U1("showShutdownModal")), ge = () => p(U1("showIncomingCallModal")), fe = (e) => p(U1(e)), pe = (e) => p(l8(e)), we = (e, t) => p(i8(e, t)), h8 = () => p(a8), g8 = () => p(u8), xe = () => p(d8), Me = (e) => p(v8(e)), f8 = {
210
+ ), d8 = w(t1, (e) => e.theme), v8 = (e) => w(t1, (t) => t.syncState.includes(e)), ge = () => p(U1("showShutdownModal")), fe = () => p(U1("showIncomingCallModal")), pe = (e) => p(U1(e)), we = (e) => p(l8(e)), xe = (e, t) => p(i8(e, t)), h8 = () => p(a8), g8 = () => p(u8), Me = () => p(d8), f8 = (e) => p(v8(e)), p8 = {
211
211
  showReconnect: !1,
212
212
  error: "",
213
213
  modalVisibility: {
@@ -215,10 +215,10 @@ const G6 = S1, q6 = (e) => p(
215
215
  showIncomingCallModal: !1
216
216
  },
217
217
  popoverVisibility: {},
218
- syncState: /* @__PURE__ */ new Set()
219
- }, S3 = g1({
218
+ syncState: []
219
+ }, C3 = g1({
220
220
  name: "ui",
221
- initialState: f8,
221
+ initialState: p8,
222
222
  reducers: {
223
223
  clearAllModals(e) {
224
224
  Object.entries(e.modalVisibility).forEach(([t]) => {
@@ -251,16 +251,18 @@ const G6 = S1, q6 = (e) => p(
251
251
  e.theme = t.payload;
252
252
  },
253
253
  addSyncState(e, t) {
254
- e.syncState.add(t.payload);
254
+ e.syncState.includes(t.payload) || e.syncState.push(t.payload);
255
255
  },
256
256
  removeSyncState(e, t) {
257
- e.syncState.delete(t.payload);
257
+ e.syncState = e.syncState.filter(
258
+ (n) => n !== t.payload
259
+ );
258
260
  },
259
261
  clearSyncState(e) {
260
- e.syncState.clear();
262
+ e.syncState = [];
261
263
  }
262
264
  }
263
- }), q = S3.actions, p8 = S3.reducer, w8 = {
265
+ }), F = C3.actions, w8 = C3.reducer, x8 = {
264
266
  config: {
265
267
  enableDev: !1,
266
268
  apiPath: "",
@@ -270,15 +272,15 @@ const G6 = S1, q6 = (e) => p(
270
272
  loginMode: "",
271
273
  modes: {}
272
274
  }
273
- }, C3 = g1({
275
+ }, b3 = g1({
274
276
  name: "appConfig",
275
- initialState: w8,
277
+ initialState: x8,
276
278
  reducers: {
277
279
  setAppConfig(e, t) {
278
280
  e.config = t.payload;
279
281
  }
280
282
  }
281
- }), x8 = C3.actions, M8 = C3.reducer, d3 = {}, B1 = g1({
283
+ }), M8 = b3.actions, m8 = b3.reducer, d3 = {}, B1 = g1({
282
284
  name: "devices",
283
285
  initialState: d3,
284
286
  reducers: {
@@ -295,7 +297,7 @@ const G6 = S1, q6 = (e) => p(
295
297
  }), N = {
296
298
  setDeviceState: B1.actions.setDeviceState,
297
299
  clearDevices: B1.actions.clearDevices
298
- }, m8 = B1.reducer, v3 = {}, O1 = g1({
300
+ }, Z8 = B1.reducer, v3 = {}, O1 = g1({
299
301
  name: "rooms",
300
302
  initialState: v3,
301
303
  reducers: {
@@ -312,7 +314,7 @@ const G6 = S1, q6 = (e) => p(
312
314
  }), e1 = {
313
315
  setRoomState: O1.actions.setRoomState,
314
316
  clearRooms: O1.actions.clearRooms
315
- }, Z8 = O1.reducer, j8 = {
317
+ }, j8 = O1.reducer, S8 = {
316
318
  apiVersion: "",
317
319
  serverIsRunningOnProcessorHardware: !1,
318
320
  websocket: {
@@ -343,9 +345,9 @@ const G6 = S1, q6 = (e) => p(
343
345
  userCode: "",
344
346
  qrUrl: ""
345
347
  }
346
- }, b3 = g1({
348
+ }, I3 = g1({
347
349
  name: "runtimeConfig",
348
- initialState: j8,
350
+ initialState: S8,
349
351
  reducers: {
350
352
  setRuntimeConfig(e, t) {
351
353
  e.apiVersion = t.payload.apiVersion, e.serverIsRunningOnProcessorHardware = t.payload.serverIsRunningOnProcessorHardware;
@@ -372,17 +374,17 @@ const G6 = S1, q6 = (e) => p(
372
374
  e.touchpanelKey = t.payload;
373
375
  }
374
376
  }
375
- }), W = b3.actions, S8 = b3.reducer, C8 = a2({
376
- appConfig: M8,
377
- runtimeConfig: S8,
378
- rooms: Z8,
379
- devices: m8,
380
- ui: p8
381
- }), m = u2({
382
- reducer: C8
383
- }), V1 = o2.create();
384
- function b8() {
385
- const e = p2();
377
+ }), W = I3.actions, C8 = I3.reducer, b8 = u2({
378
+ appConfig: m8,
379
+ runtimeConfig: C8,
380
+ rooms: j8,
381
+ devices: Z8,
382
+ ui: w8
383
+ }), m = d2({
384
+ reducer: b8
385
+ }), V1 = c2.create();
386
+ function I8() {
387
+ const e = m3();
386
388
  return async () => {
387
389
  try {
388
390
  const t = location.pathname.split("/").filter((r) => r.length > 0);
@@ -390,7 +392,7 @@ function b8() {
390
392
  const n = `/${t.join("/")}`, c = await V1.get("/_local-config/_config.local.json", { baseURL: n });
391
393
  if (c.status == 200 && c.data) {
392
394
  const r = c.data.apiPath;
393
- e(x8.setAppConfig(c.data));
395
+ e(M8.setAppConfig(c.data));
394
396
  const i = await V1.get(`${r}/version`);
395
397
  i.status == 200 && i.data && e(W.setRuntimeConfig(i.data));
396
398
  }
@@ -411,16 +413,16 @@ var m1 = { exports: {} }, u1 = {};
411
413
  * LICENSE file in the root directory of this source tree.
412
414
  */
413
415
  var h3;
414
- function I8() {
416
+ function y8() {
415
417
  if (h3) return u1;
416
418
  h3 = 1;
417
419
  var e = w3, t = Symbol.for("react.element"), n = 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 };
418
420
  function d(a, g, x) {
419
- var v, I = {}, L = null, F = null;
420
- x !== void 0 && (L = "" + x), g.key !== void 0 && (L = "" + g.key), g.ref !== void 0 && (F = g.ref);
421
+ var v, I = {}, L = null, H = null;
422
+ x !== void 0 && (L = "" + x), g.key !== void 0 && (L = "" + g.key), g.ref !== void 0 && (H = g.ref);
421
423
  for (v in g) c.call(g, v) && !i.hasOwnProperty(v) && (I[v] = g[v]);
422
424
  if (a && a.defaultProps) for (v in g = a.defaultProps, g) I[v] === void 0 && (I[v] = g[v]);
423
- return { $$typeof: t, type: a, key: L, ref: F, props: I, _owner: r.current };
425
+ return { $$typeof: t, type: a, key: L, ref: H, props: I, _owner: r.current };
424
426
  }
425
427
  return u1.Fragment = n, u1.jsx = d, u1.jsxs = d, u1;
426
428
  }
@@ -437,7 +439,7 @@ var d1 = {};
437
439
  var g3;
438
440
  function R8() {
439
441
  return g3 || (g3 = 1, process.env.NODE_ENV !== "production" && function() {
440
- var e = w3, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), a = Symbol.for("react.context"), g = Symbol.for("react.forward_ref"), x = Symbol.for("react.suspense"), v = Symbol.for("react.suspense_list"), I = Symbol.for("react.memo"), L = Symbol.for("react.lazy"), F = Symbol.for("react.offscreen"), k = Symbol.iterator, X = "@@iterator";
442
+ var e = w3, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), a = Symbol.for("react.context"), g = Symbol.for("react.forward_ref"), x = Symbol.for("react.suspense"), v = Symbol.for("react.suspense_list"), I = Symbol.for("react.memo"), L = Symbol.for("react.lazy"), H = Symbol.for("react.offscreen"), k = Symbol.iterator, X = "@@iterator";
441
443
  function r1(o) {
442
444
  if (o === null || typeof o != "object")
443
445
  return null;
@@ -456,16 +458,16 @@ function R8() {
456
458
  {
457
459
  var f = $.ReactDebugCurrentFrame, C = f.getStackAddendum();
458
460
  C !== "" && (l += "%s", u = u.concat([C]));
459
- var R = u.map(function(Z) {
461
+ var y = u.map(function(Z) {
460
462
  return String(Z);
461
463
  });
462
- R.unshift("Warning: " + l), Function.prototype.apply.call(console[o], console, R);
464
+ y.unshift("Warning: " + l), Function.prototype.apply.call(console[o], console, y);
463
465
  }
464
466
  }
465
467
  var b1 = !1, E = !1, S = !1, f1 = !1, I1 = !1, z;
466
468
  z = Symbol.for("react.module.reference");
467
469
  function B(o) {
468
- return !!(typeof o == "string" || typeof o == "function" || o === c || o === i || I1 || o === r || o === x || o === v || f1 || o === F || b1 || E || S || typeof o == "object" && o !== null && (o.$$typeof === L || o.$$typeof === I || o.$$typeof === d || o.$$typeof === a || o.$$typeof === g || // This needs to include all possible module reference object
470
+ return !!(typeof o == "string" || typeof o == "function" || o === c || o === i || I1 || o === r || o === x || o === v || f1 || o === H || b1 || E || S || typeof o == "object" && o !== null && (o.$$typeof === L || o.$$typeof === I || o.$$typeof === d || o.$$typeof === a || o.$$typeof === g || // This needs to include all possible module reference object
469
471
  // types supported by any Flight configuration anywhere since
470
472
  // we don't know which Flight build this will end up being used
471
473
  // with.
@@ -481,7 +483,7 @@ function R8() {
481
483
  function s1(o) {
482
484
  return o.displayName || "Context";
483
485
  }
484
- function K(o) {
486
+ function G(o) {
485
487
  if (o == null)
486
488
  return null;
487
489
  if (typeof o.tag == "number" && A("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof o == "function")
@@ -514,11 +516,11 @@ function R8() {
514
516
  return P(o, o.render, "ForwardRef");
515
517
  case I:
516
518
  var f = o.displayName || null;
517
- return f !== null ? f : K(o.type) || "Memo";
519
+ return f !== null ? f : G(o.type) || "Memo";
518
520
  case L: {
519
- var C = o, R = C._payload, Z = C._init;
521
+ var C = o, y = C._payload, Z = C._init;
520
522
  try {
521
- return K(Z(R));
523
+ return G(Z(y));
522
524
  } catch {
523
525
  return null;
524
526
  }
@@ -530,7 +532,7 @@ function R8() {
530
532
  function z1() {
531
533
  }
532
534
  z1.__reactDisabledLog = !0;
533
- function E3() {
535
+ function P3() {
534
536
  {
535
537
  if (l1 === 0) {
536
538
  W1 = console.log, F1 = console.info, H1 = console.warn, K1 = console.error, G1 = console.group, q1 = console.groupCollapsed, Y1 = console.groupEnd;
@@ -553,7 +555,7 @@ function R8() {
553
555
  l1++;
554
556
  }
555
557
  }
556
- function P3() {
558
+ function T3() {
557
559
  {
558
560
  if (l1--, l1 === 0) {
559
561
  var o = {
@@ -588,24 +590,24 @@ function R8() {
588
590
  l1 < 0 && A("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
589
591
  }
590
592
  }
591
- var R1 = $.ReactCurrentDispatcher, y1;
593
+ var y1 = $.ReactCurrentDispatcher, R1;
592
594
  function p1(o, l, u) {
593
595
  {
594
- if (y1 === void 0)
596
+ if (R1 === void 0)
595
597
  try {
596
598
  throw Error();
597
599
  } catch (C) {
598
600
  var f = C.stack.trim().match(/\n( *(at )?)/);
599
- y1 = f && f[1] || "";
601
+ R1 = f && f[1] || "";
600
602
  }
601
603
  return `
602
- ` + y1 + o;
604
+ ` + R1 + o;
603
605
  }
604
606
  }
605
607
  var E1 = !1, w1;
606
608
  {
607
- var T3 = typeof WeakMap == "function" ? WeakMap : Map;
608
- w1 = new T3();
609
+ var _3 = typeof WeakMap == "function" ? WeakMap : Map;
610
+ w1 = new _3();
609
611
  }
610
612
  function J1(o, l) {
611
613
  if (!o || E1)
@@ -619,8 +621,8 @@ function R8() {
619
621
  E1 = !0;
620
622
  var C = Error.prepareStackTrace;
621
623
  Error.prepareStackTrace = void 0;
622
- var R;
623
- R = R1.current, R1.current = null, E3();
624
+ var y;
625
+ y = y1.current, y1.current = null, P3();
624
626
  try {
625
627
  if (l) {
626
628
  var Z = function() {
@@ -673,15 +675,15 @@ function R8() {
673
675
  }
674
676
  }
675
677
  } finally {
676
- E1 = !1, R1.current = R, P3(), Error.prepareStackTrace = C;
678
+ E1 = !1, y1.current = y, T3(), Error.prepareStackTrace = C;
677
679
  }
678
680
  var o1 = o ? o.displayName || o.name : "", Q = o1 ? p1(o1) : "";
679
681
  return typeof o == "function" && w1.set(o, Q), Q;
680
682
  }
681
- function _3(o, l, u) {
683
+ function D3(o, l, u) {
682
684
  return J1(o, !1);
683
685
  }
684
- function D3(o) {
686
+ function L3(o) {
685
687
  var l = o.prototype;
686
688
  return !!(l && l.isReactComponent);
687
689
  }
@@ -689,7 +691,7 @@ function R8() {
689
691
  if (o == null)
690
692
  return "";
691
693
  if (typeof o == "function")
692
- return J1(o, D3(o));
694
+ return J1(o, L3(o));
693
695
  if (typeof o == "string")
694
696
  return p1(o);
695
697
  switch (o) {
@@ -701,13 +703,13 @@ function R8() {
701
703
  if (typeof o == "object")
702
704
  switch (o.$$typeof) {
703
705
  case g:
704
- return _3(o.render);
706
+ return D3(o.render);
705
707
  case I:
706
708
  return x1(o.type, l, u);
707
709
  case L: {
708
- var f = o, C = f._payload, R = f._init;
710
+ var f = o, C = f._payload, y = f._init;
709
711
  try {
710
- return x1(R(C), l, u);
712
+ return x1(y(C), l, u);
711
713
  } catch {
712
714
  }
713
715
  }
@@ -722,11 +724,11 @@ function R8() {
722
724
  } else
723
725
  Q1.setExtraStackFrame(null);
724
726
  }
725
- function L3(o, l, u, f, C) {
727
+ function $3(o, l, u, f, C) {
726
728
  {
727
- var R = Function.call.bind(i1);
729
+ var y = Function.call.bind(i1);
728
730
  for (var Z in o)
729
- if (R(o, Z)) {
731
+ if (y(o, Z)) {
730
732
  var M = void 0;
731
733
  try {
732
734
  if (typeof o[Z] != "function") {
@@ -741,17 +743,17 @@ function R8() {
741
743
  }
742
744
  }
743
745
  }
744
- var $3 = Array.isArray;
746
+ var A3 = Array.isArray;
745
747
  function P1(o) {
746
- return $3(o);
748
+ return A3(o);
747
749
  }
748
- function A3(o) {
750
+ function B3(o) {
749
751
  {
750
752
  var l = typeof Symbol == "function" && Symbol.toStringTag, u = l && o[Symbol.toStringTag] || o.constructor.name || "Object";
751
753
  return u;
752
754
  }
753
755
  }
754
- function B3(o) {
756
+ function O3(o) {
755
757
  try {
756
758
  return N1(o), !1;
757
759
  } catch {
@@ -762,16 +764,16 @@ function R8() {
762
764
  return "" + o;
763
765
  }
764
766
  function e3(o) {
765
- if (B3(o))
766
- return A("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", A3(o)), N1(o);
767
+ if (O3(o))
768
+ return A("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", B3(o)), N1(o);
767
769
  }
768
- var t3 = $.ReactCurrentOwner, O3 = {
770
+ var t3 = $.ReactCurrentOwner, V3 = {
769
771
  key: !0,
770
772
  ref: !0,
771
773
  __self: !0,
772
774
  __source: !0
773
775
  }, s3, n3;
774
- function V3(o) {
776
+ function k3(o) {
775
777
  if (i1.call(o, "ref")) {
776
778
  var l = Object.getOwnPropertyDescriptor(o, "ref").get;
777
779
  if (l && l.isReactWarning)
@@ -779,7 +781,7 @@ function R8() {
779
781
  }
780
782
  return o.ref !== void 0;
781
783
  }
782
- function k3(o) {
784
+ function U3(o) {
783
785
  if (i1.call(o, "key")) {
784
786
  var l = Object.getOwnPropertyDescriptor(o, "key").get;
785
787
  if (l && l.isReactWarning)
@@ -787,10 +789,10 @@ function R8() {
787
789
  }
788
790
  return o.key !== void 0;
789
791
  }
790
- function U3(o, l) {
792
+ function W3(o, l) {
791
793
  typeof o.ref == "string" && t3.current;
792
794
  }
793
- function W3(o, l) {
795
+ function F3(o, l) {
794
796
  {
795
797
  var u = function() {
796
798
  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));
@@ -801,7 +803,7 @@ function R8() {
801
803
  });
802
804
  }
803
805
  }
804
- function F3(o, l) {
806
+ function H3(o, l) {
805
807
  {
806
808
  var u = function() {
807
809
  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));
@@ -812,7 +814,7 @@ function R8() {
812
814
  });
813
815
  }
814
816
  }
815
- var H3 = function(o, l, u, f, C, R, Z) {
817
+ var K3 = function(o, l, u, f, C, y, Z) {
816
818
  var M = {
817
819
  // This tag allows us to uniquely identify this as a React Element
818
820
  $$typeof: t,
@@ -822,7 +824,7 @@ function R8() {
822
824
  ref: u,
823
825
  props: Z,
824
826
  // Record the component responsible for creating this element.
825
- _owner: R
827
+ _owner: y
826
828
  };
827
829
  return M._store = {}, Object.defineProperty(M._store, "validated", {
828
830
  configurable: !1,
@@ -841,22 +843,22 @@ function R8() {
841
843
  value: C
842
844
  }), Object.freeze && (Object.freeze(M.props), Object.freeze(M)), M;
843
845
  };
844
- function K3(o, l, u, f, C) {
846
+ function G3(o, l, u, f, C) {
845
847
  {
846
- var R, Z = {}, M = null, O = null;
847
- u !== void 0 && (e3(u), M = "" + u), k3(l) && (e3(l.key), M = "" + l.key), V3(l) && (O = l.ref, U3(l, C));
848
- for (R in l)
849
- i1.call(l, R) && !O3.hasOwnProperty(R) && (Z[R] = l[R]);
848
+ var y, Z = {}, M = null, O = null;
849
+ u !== void 0 && (e3(u), M = "" + u), U3(l) && (e3(l.key), M = "" + l.key), k3(l) && (O = l.ref, W3(l, C));
850
+ for (y in l)
851
+ i1.call(l, y) && !V3.hasOwnProperty(y) && (Z[y] = l[y]);
850
852
  if (o && o.defaultProps) {
851
853
  var T = o.defaultProps;
852
- for (R in T)
853
- Z[R] === void 0 && (Z[R] = T[R]);
854
+ for (y in T)
855
+ Z[y] === void 0 && (Z[y] = T[y]);
854
856
  }
855
857
  if (M || O) {
856
858
  var _ = typeof o == "function" ? o.displayName || o.name || "Unknown" : o;
857
- M && W3(Z, _), O && F3(Z, _);
859
+ M && F3(Z, _), O && H3(Z, _);
858
860
  }
859
- return H3(o, M, O, C, f, t3.current, Z);
861
+ return K3(o, M, O, C, f, t3.current, Z);
860
862
  }
861
863
  }
862
864
  var T1 = $.ReactCurrentOwner, o3 = $.ReactDebugCurrentFrame;
@@ -875,7 +877,7 @@ function R8() {
875
877
  function c3() {
876
878
  {
877
879
  if (T1.current) {
878
- var o = K(T1.current.type);
880
+ var o = G(T1.current.type);
879
881
  if (o)
880
882
  return `
881
883
 
@@ -884,11 +886,11 @@ Check the render method of \`` + o + "`.";
884
886
  return "";
885
887
  }
886
888
  }
887
- function G3(o) {
889
+ function q3(o) {
888
890
  return "";
889
891
  }
890
892
  var r3 = {};
891
- function q3(o) {
893
+ function Y3(o) {
892
894
  {
893
895
  var l = c3();
894
896
  if (!l) {
@@ -905,12 +907,12 @@ Check the top-level render call using <` + u + ">.");
905
907
  if (!o._store || o._store.validated || o.key != null)
906
908
  return;
907
909
  o._store.validated = !0;
908
- var u = q3(l);
910
+ var u = Y3(l);
909
911
  if (r3[u])
910
912
  return;
911
913
  r3[u] = !0;
912
914
  var f = "";
913
- o && o._owner && o._owner !== T1.current && (f = " It was passed a child from " + K(o._owner.type) + "."), n1(o), A('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', u, f), n1(null);
915
+ o && o._owner && o._owner !== T1.current && (f = " It was passed a child from " + G(o._owner.type) + "."), n1(o), A('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', u, f), n1(null);
914
916
  }
915
917
  }
916
918
  function i3(o, l) {
@@ -927,12 +929,12 @@ Check the top-level render call using <` + u + ">.");
927
929
  else if (o) {
928
930
  var C = r1(o);
929
931
  if (typeof C == "function" && C !== o.entries)
930
- for (var R = C.call(o), Z; !(Z = R.next()).done; )
932
+ for (var y = C.call(o), Z; !(Z = y.next()).done; )
931
933
  D1(Z.value) && l3(Z.value, l);
932
934
  }
933
935
  }
934
936
  }
935
- function Y3(o) {
937
+ function z3(o) {
936
938
  {
937
939
  var l = o.type;
938
940
  if (l == null || typeof l == "string")
@@ -947,17 +949,17 @@ Check the top-level render call using <` + u + ">.");
947
949
  else
948
950
  return;
949
951
  if (u) {
950
- var f = K(l);
951
- L3(u, o.props, "prop", f, o);
952
+ var f = G(l);
953
+ $3(u, o.props, "prop", f, o);
952
954
  } else if (l.PropTypes !== void 0 && !_1) {
953
955
  _1 = !0;
954
- var C = K(l);
956
+ var C = G(l);
955
957
  A("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", C || "Unknown");
956
958
  }
957
959
  typeof l.getDefaultProps == "function" && !l.getDefaultProps.isReactClassApproved && A("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
958
960
  }
959
961
  }
960
- function z3(o) {
962
+ function J3(o) {
961
963
  {
962
964
  for (var l = Object.keys(o.props), u = 0; u < l.length; u++) {
963
965
  var f = l[u];
@@ -970,18 +972,18 @@ Check the top-level render call using <` + u + ">.");
970
972
  }
971
973
  }
972
974
  var a3 = {};
973
- function u3(o, l, u, f, C, R) {
975
+ function u3(o, l, u, f, C, y) {
974
976
  {
975
977
  var Z = B(o);
976
978
  if (!Z) {
977
979
  var M = "";
978
980
  (o === void 0 || typeof o == "object" && o !== null && Object.keys(o).length === 0) && (M += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
979
- var O = G3();
981
+ var O = q3();
980
982
  O ? M += O : M += c3();
981
983
  var T;
982
- o === null ? T = "null" : P1(o) ? T = "array" : o !== void 0 && o.$$typeof === t ? (T = "<" + (K(o.type) || "Unknown") + " />", M = " Did you accidentally export a JSX literal instead of a component?") : T = typeof o, A("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", T, M);
984
+ o === null ? T = "null" : P1(o) ? T = "array" : o !== void 0 && o.$$typeof === t ? (T = "<" + (G(o.type) || "Unknown") + " />", M = " Did you accidentally export a JSX literal instead of a component?") : T = typeof o, A("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", T, M);
983
985
  }
984
- var _ = K3(o, l, u, C, R);
986
+ var _ = G3(o, l, u, C, y);
985
987
  if (_ == null)
986
988
  return _;
987
989
  if (Z) {
@@ -998,45 +1000,45 @@ Check the top-level render call using <` + u + ">.");
998
1000
  i3(U, o);
999
1001
  }
1000
1002
  if (i1.call(l, "key")) {
1001
- var Q = K(o), V = Object.keys(l).filter(function(t2) {
1002
- return t2 !== "key";
1003
+ var Q = G(o), V = Object.keys(l).filter(function(s2) {
1004
+ return s2 !== "key";
1003
1005
  }), L1 = V.length > 0 ? "{key: someKey, " + V.join(": ..., ") + ": ...}" : "{key: someKey}";
1004
1006
  if (!a3[Q + L1]) {
1005
- var e2 = V.length > 0 ? "{" + V.join(": ..., ") + ": ...}" : "{}";
1007
+ var t2 = V.length > 0 ? "{" + V.join(": ..., ") + ": ...}" : "{}";
1006
1008
  A(`A props object containing a "key" prop is being spread into JSX:
1007
1009
  let props = %s;
1008
1010
  <%s {...props} />
1009
1011
  React keys must be passed directly to JSX without using spread:
1010
1012
  let props = %s;
1011
- <%s key={someKey} {...props} />`, L1, Q, e2, Q), a3[Q + L1] = !0;
1013
+ <%s key={someKey} {...props} />`, L1, Q, t2, Q), a3[Q + L1] = !0;
1012
1014
  }
1013
1015
  }
1014
- return o === c ? z3(_) : Y3(_), _;
1016
+ return o === c ? J3(_) : z3(_), _;
1015
1017
  }
1016
1018
  }
1017
- function J3(o, l, u) {
1019
+ function X3(o, l, u) {
1018
1020
  return u3(o, l, u, !0);
1019
1021
  }
1020
- function X3(o, l, u) {
1022
+ function Q3(o, l, u) {
1021
1023
  return u3(o, l, u, !1);
1022
1024
  }
1023
- var Q3 = X3, N3 = J3;
1024
- d1.Fragment = c, d1.jsx = Q3, d1.jsxs = N3;
1025
+ var N3 = Q3, e2 = X3;
1026
+ d1.Fragment = c, d1.jsx = N3, d1.jsxs = e2;
1025
1027
  }()), d1;
1026
1028
  }
1027
1029
  var f3;
1028
- function y8() {
1029
- return f3 || (f3 = 1, process.env.NODE_ENV === "production" ? m1.exports = I8() : m1.exports = R8()), m1.exports;
1030
+ function E8() {
1031
+ return f3 || (f3 = 1, process.env.NODE_ENV === "production" ? m1.exports = y8() : m1.exports = R8()), m1.exports;
1030
1032
  }
1031
- var s = y8();
1032
- const E8 = "_mwfit_ppa3l_1", P8 = {
1033
- mwfit: E8
1034
- }, T8 = () => {
1035
- const { reconnect: e } = b(), t = j3(), n = h8(), c = g8();
1033
+ var s = E8();
1034
+ const P8 = "_mwfit_ppa3l_1", T8 = {
1035
+ mwfit: P8
1036
+ }, _8 = () => {
1037
+ const { reconnect: e } = b(), t = S3(), n = h8(), c = g8();
1036
1038
  return /* @__PURE__ */ s.jsx(s.Fragment, { children: /* @__PURE__ */ s.jsxs(
1037
1039
  "div",
1038
1040
  {
1039
- className: `disconnected-message ${P8.mwfit} mx-auto text-center`,
1041
+ className: `disconnected-message ${T8.mwfit} mx-auto text-center`,
1040
1042
  children: [
1041
1043
  t === void 0 ? /* @__PURE__ */ s.jsx("h1", { children: "Connecting..." }) : /* @__PURE__ */ s.jsx("h1", { children: "Disconnected" }),
1042
1044
  n && /* @__PURE__ */ s.jsx("h5", { children: n }),
@@ -1045,29 +1047,29 @@ const E8 = "_mwfit_ppa3l_1", P8 = {
1045
1047
  }
1046
1048
  ) });
1047
1049
  };
1048
- class _8 {
1050
+ class D8 {
1049
1051
  constructor() {
1050
- G(this, "uuid", "current-uuid");
1051
- G(this, "roomKey", "current-room-key");
1052
- G(this, "code", "current-code");
1053
- G(this, "expiry", "current-uuid-expires");
1052
+ q(this, "uuid", "current-uuid");
1053
+ q(this, "roomKey", "current-room-key");
1054
+ q(this, "code", "current-code");
1055
+ q(this, "expiry", "current-uuid-expires");
1054
1056
  }
1055
1057
  }
1056
- const p3 = new _8(), I3 = d2({
1058
+ const p3 = new D8(), y3 = v2({
1057
1059
  sendMessage: () => null,
1058
1060
  sendSimpleMessage: () => null,
1059
1061
  addEventHandler: () => null,
1060
1062
  removeEventHandler: () => null,
1061
1063
  reconnect: () => null
1062
1064
  });
1063
- function D8(e) {
1065
+ function L8(e) {
1064
1066
  return sessionStorage.getItem(e) || "";
1065
1067
  }
1066
- function L8(e, t) {
1068
+ function $8(e, t) {
1067
1069
  sessionStorage.setItem(e, t);
1068
1070
  }
1069
- const $8 = ({ children: e }) => {
1070
- const [t, n] = H(), c = j3(), r = s8(), i = n8(), d = b8(), a = Z2(), g = o8(), x = c8(), v = r8(), I = h1(null), [L, F] = H(), k = h1({}), X = a1(
1071
+ const A8 = ({ children: e }) => {
1072
+ const [t, n] = K(), c = S3(), r = s8(), i = n8(), d = I8(), a = Z2(), g = o8(), x = c8(), v = r8(), I = h1(null), [L, H] = K(), k = h1({}), X = a1(
1071
1073
  async (E) => {
1072
1074
  try {
1073
1075
  const S = await V1.get(
@@ -1075,11 +1077,11 @@ const $8 = ({ children: e }) => {
1075
1077
  );
1076
1078
  return S.status === 200 && S.data ? (m.dispatch(W.setRoomData(S.data)), !0) : !1;
1077
1079
  } catch (S) {
1078
- return console.log(S), v ? !0 : S instanceof c2 && S.response && S.response.status === 498 ? (console.error("Invalid token. Unable to join room"), m.dispatch(
1079
- q.setErrorMessage(
1080
+ return console.log(S), v ? !0 : S instanceof r2 && S.response && S.response.status === 498 ? (console.error("Invalid token. Unable to join room"), m.dispatch(
1081
+ F.setErrorMessage(
1080
1082
  `Token ${t} is invalid. Unable to join room`
1081
1083
  )
1082
- ), !1) : (console.error("Error getting room data", S), S instanceof Error ? m.dispatch(q.setErrorMessage(S.message)) : m.dispatch(q.setErrorMessage("Error getting room data")), !1);
1084
+ ), !1) : (console.error("Error getting room data", S), S instanceof Error ? m.dispatch(F.setErrorMessage(S.message)) : m.dispatch(F.setErrorMessage("Error getting room data")), !1);
1083
1085
  }
1084
1086
  },
1085
1087
  [t, v]
@@ -1103,7 +1105,7 @@ const $8 = ({ children: e }) => {
1103
1105
  }, []);
1104
1106
  return c1(() => {
1105
1107
  let S = new URLSearchParams(window.location.search).get("token");
1106
- S ? (console.log("saving token: ", S), L8(p3.uuid, S)) : (S = D8(p3.uuid), console.log("loading token: ", S)), n(S), d();
1108
+ S ? (console.log("saving token: ", S), $8(p3.uuid, S)) : (S = L8(p3.uuid), console.log("loading token: ", S)), n(S), d();
1107
1109
  }, []), console.log(
1108
1110
  "connection dependencies",
1109
1111
  a.apiPath,
@@ -1126,33 +1128,33 @@ const $8 = ({ children: e }) => {
1126
1128
  console.error("Websocket error", B);
1127
1129
  }, z.onclose = (B) => {
1128
1130
  if (console.log("disconnected: ", B.reason, B.code), B.code === 4100) {
1129
- console.log("WebSocket closed by client (useEffect cleanup)."), m.dispatch(q.setShowReconnect(!0)), m.dispatch(W.setWebsocketIsConnected(!1)), m.dispatch(N.clearDevices()), m.dispatch(e1.clearRooms());
1131
+ console.log("WebSocket closed by client (useEffect cleanup)."), m.dispatch(F.setShowReconnect(!0)), m.dispatch(W.setWebsocketIsConnected(!1)), m.dispatch(N.clearDevices()), m.dispatch(e1.clearRooms());
1130
1132
  return;
1131
1133
  }
1132
- if (F(!0), B.code === 4e3) {
1134
+ if (H(!0), B.code === 4e3) {
1133
1135
  console.log("user code changed"), m.dispatch(
1134
1136
  W.setUserCode({ userCode: "", qrUrl: "" })
1135
1137
  ), m.dispatch(
1136
- q.setErrorMessage(
1138
+ F.setErrorMessage(
1137
1139
  "User code changed. Click reconnect to enter the new code"
1138
1140
  )
1139
- ), m.dispatch(q.setShowReconnect(!0)), m.dispatch(W.setWebsocketIsConnected(!1)), m.dispatch(N.clearDevices()), m.dispatch(e1.clearRooms());
1141
+ ), m.dispatch(F.setShowReconnect(!0)), m.dispatch(W.setWebsocketIsConnected(!1)), m.dispatch(N.clearDevices()), m.dispatch(e1.clearRooms());
1140
1142
  return;
1141
1143
  }
1142
1144
  if (B.code === 4001 && !v) {
1143
1145
  console.log("processor disconnected"), m.dispatch(
1144
- q.setErrorMessage(
1146
+ F.setErrorMessage(
1145
1147
  "Processor has disconnected. Click Reconnect"
1146
1148
  )
1147
- ), m.dispatch(q.setShowReconnect(!0)), m.dispatch(W.setWebsocketIsConnected(!1)), m.dispatch(N.clearDevices()), m.dispatch(e1.clearRooms());
1149
+ ), m.dispatch(F.setShowReconnect(!0)), m.dispatch(W.setWebsocketIsConnected(!1)), m.dispatch(N.clearDevices()), m.dispatch(e1.clearRooms());
1148
1150
  return;
1149
1151
  }
1150
1152
  if (B.code === 4002) {
1151
1153
  console.log("room combination changed"), m.dispatch(
1152
- q.setErrorMessage(
1154
+ F.setErrorMessage(
1153
1155
  "Room combination changed. Click Reconnect to re-join the room"
1154
1156
  )
1155
- ), m.dispatch(q.setShowReconnect(!0)), m.dispatch(W.setWebsocketIsConnected(!1)), m.dispatch(N.clearDevices()), m.dispatch(e1.clearRooms());
1157
+ ), m.dispatch(F.setShowReconnect(!0)), m.dispatch(W.setWebsocketIsConnected(!1)), m.dispatch(N.clearDevices()), m.dispatch(e1.clearRooms());
1156
1158
  return;
1157
1159
  }
1158
1160
  if (I.current)
@@ -1161,7 +1163,7 @@ const $8 = ({ children: e }) => {
1161
1163
  console.log("WebSocket closed by client.");
1162
1164
  return;
1163
1165
  }
1164
- console.log("websocket waitingToReconnect", L), !L && (console.log("websocket clearing state on disconnect"), m.dispatch(W.setWebsocketIsConnected(!1)), m.dispatch(N.clearDevices()), m.dispatch(e1.clearRooms()), setTimeout(() => F(void 0), 5e3));
1166
+ console.log("websocket waitingToReconnect", L), !L && (console.log("websocket clearing state on disconnect"), m.dispatch(W.setWebsocketIsConnected(!1)), m.dispatch(N.clearDevices()), m.dispatch(e1.clearRooms()), setTimeout(() => H(void 0), 5e3));
1165
1167
  }, z.onmessage = (B) => {
1166
1168
  try {
1167
1169
  const P = JSON.parse(B.data);
@@ -1201,9 +1203,9 @@ const $8 = ({ children: e }) => {
1201
1203
  else if (P.type.startsWith("/event/")) {
1202
1204
  console.log("event message received", P);
1203
1205
  const s1 = k.current[P.type];
1204
- s1 || console.log("no handlers found for event type", P.type), s1 && Object.values(s1).forEach((K) => {
1206
+ s1 || console.log("no handlers found for event type", P.type), s1 && Object.values(s1).forEach((G) => {
1205
1207
  try {
1206
- K(P);
1208
+ G(P);
1207
1209
  } catch (J) {
1208
1210
  console.error(J);
1209
1211
  }
@@ -1226,7 +1228,7 @@ const $8 = ({ children: e }) => {
1226
1228
  ]), c1(() => {
1227
1229
  !r || !c || (console.log("clientId: ", i), i && (console.log("requesting status from room: ", r), $(`/room/${r}/status`, null)));
1228
1230
  }, [r, i, c, $]), /* @__PURE__ */ s.jsx(
1229
- I3.Provider,
1231
+ y3.Provider,
1230
1232
  {
1231
1233
  value: {
1232
1234
  sendMessage: $,
@@ -1235,14 +1237,14 @@ const $8 = ({ children: e }) => {
1235
1237
  removeEventHandler: b1,
1236
1238
  reconnect: r1
1237
1239
  },
1238
- children: c ? e : /* @__PURE__ */ s.jsx(T8, {})
1240
+ children: c ? e : /* @__PURE__ */ s.jsx(_8, {})
1239
1241
  }
1240
1242
  );
1241
- }, me = ({ children: e }) => /* @__PURE__ */ s.jsx(i2, { store: m, children: /* @__PURE__ */ s.jsx($8, { children: e }) });
1243
+ }, me = ({ children: e }) => /* @__PURE__ */ s.jsx(a2, { store: m, children: /* @__PURE__ */ s.jsx(A8, { children: e }) });
1242
1244
  function b() {
1243
- return v2(I3);
1245
+ return h2(y3);
1244
1246
  }
1245
- function A8({
1247
+ function B8({
1246
1248
  onPress: e,
1247
1249
  onRelease: t,
1248
1250
  onHold: n,
@@ -1276,7 +1278,7 @@ function h(e, t) {
1276
1278
  function d() {
1277
1279
  r.current && (clearInterval(r.current), r.current = null), c(`${e}/${t}`, { value: "released" });
1278
1280
  }
1279
- return A8({ onPress: i, onRelease: d });
1281
+ return B8({ onPress: i, onRelease: d });
1280
1282
  }
1281
1283
  function R3(e, t) {
1282
1284
  const { sendMessage: n, sendSimpleMessage: c } = b(), r = h(`${e}`, "volumeUp"), i = h(`${e}`, "volumeDown");
@@ -1302,11 +1304,11 @@ function Ze(e, t) {
1302
1304
  muteOff: () => n(`${e}/muteOff`, null)
1303
1305
  } : void 0;
1304
1306
  }
1305
- function B8(e) {
1306
- const t = y(e), n = `/device/${e}`;
1307
+ function O8(e) {
1308
+ const t = R(e), n = `/device/${e}`;
1307
1309
  return R3(n, t == null ? void 0 : t.volume);
1308
1310
  }
1309
- function y3(e) {
1311
+ function E3(e) {
1310
1312
  const { sendMessage: t } = b();
1311
1313
  return { powerOn: () => {
1312
1314
  t(`/device/${e}/powerOn`, null);
@@ -1317,13 +1319,13 @@ function y3(e) {
1317
1319
  } };
1318
1320
  }
1319
1321
  function k1(e) {
1320
- const { sendMessage: t } = b(), n = y(e);
1322
+ const { sendMessage: t } = b(), n = R(e);
1321
1323
  return console.log("deviceState", n), n ? { itemsState: n, selectItem: (r) => {
1322
1324
  t(`/device/${e}/${r}`, null);
1323
1325
  } } : void 0;
1324
1326
  }
1325
- function O8(e) {
1326
- const { sendMessage: t } = b(), n = y(e), c = () => {
1327
+ function V8(e) {
1328
+ const { sendMessage: t } = b(), n = R(e), c = () => {
1327
1329
  t(`/device/${e}/setDefaultChannelLevels`, null);
1328
1330
  }, r = () => {
1329
1331
  if ((n == null ? void 0 : n.levelControls) === void 0) return;
@@ -1334,7 +1336,7 @@ function O8(e) {
1334
1336
  return n ? { levelControls: n.levelControls, setDefaultChannelLevels: c, getFullStatus: r } : void 0;
1335
1337
  }
1336
1338
  function je(e) {
1337
- const t = y(e), n = y3(e), c = k1(e), r = k1(e), i = B8(e), d = O8(e);
1339
+ const t = R(e), n = E3(e), c = k1(e), r = k1(e), i = O8(e), d = V8(e);
1338
1340
  if (t)
1339
1341
  return {
1340
1342
  avrState: t,
@@ -1346,7 +1348,7 @@ function je(e) {
1346
1348
  };
1347
1349
  }
1348
1350
  function Se(e) {
1349
- const { sendMessage: t } = b(), n = `/device/${e}`, c = y(e), r = h(n, "cameraUp"), i = h(n, "cameraDown"), d = h(n, "cameraLeft"), a = h(n, "cameraRight"), g = h(n, "cameraZoomIn"), x = h(n, "cameraZoomOut"), v = (I) => t("/camera/recallPreset", I);
1351
+ const { sendMessage: t } = b(), n = `/device/${e}`, c = R(e), r = h(n, "cameraUp"), i = h(n, "cameraDown"), d = h(n, "cameraLeft"), a = h(n, "cameraRight"), g = h(n, "cameraZoomIn"), x = h(n, "cameraZoomOut"), v = (I) => t("/camera/recallPreset", I);
1350
1352
  if (c)
1351
1353
  return {
1352
1354
  state: c,
@@ -1360,7 +1362,7 @@ function Se(e) {
1360
1362
  };
1361
1363
  }
1362
1364
  const Ce = ({ className: e }) => {
1363
- const [t, n] = H();
1365
+ const [t, n] = K();
1364
1366
  return c1(() => {
1365
1367
  setInterval(() => {
1366
1368
  const c = (/* @__PURE__ */ new Date()).toLocaleTimeString("en-US", { hour12: !0, hour: "numeric", minute: "numeric" });
@@ -1372,7 +1374,7 @@ const Ce = ({ className: e }) => {
1372
1374
  ] });
1373
1375
  };
1374
1376
  function be(e) {
1375
- const { sendMessage: t } = b(), n = y(e), c = `/device/${e}`;
1377
+ const { sendMessage: t } = b(), n = R(e), c = `/device/${e}`;
1376
1378
  return n ? { state: n, recallPreset: (d, a) => {
1377
1379
  t(`${c}/presets/recall`, { deviceKey: d, preset: a });
1378
1380
  }, savePresets: (d) => {
@@ -1380,27 +1382,27 @@ function be(e) {
1380
1382
  } } : void 0;
1381
1383
  }
1382
1384
  function Ie(e) {
1383
- const t = y(e);
1385
+ const t = R(e);
1384
1386
  if (t)
1385
1387
  return { endpointState: t };
1386
1388
  }
1387
- function Re(e) {
1389
+ function ye(e) {
1388
1390
  const t = `/device/${e}`, n = h(t, "chanUp"), c = h(t, "chanDown"), r = h(t, "lastChan"), i = h(t, "guide"), d = h(t, "info"), a = h(t, "exit");
1389
1391
  return { channelUp: n, channelDown: c, lastChannel: r, guide: i, info: d, exit: a };
1390
1392
  }
1391
- function ye(e) {
1393
+ function Re(e) {
1392
1394
  const t = `/device/${e}`, n = h(t, "red"), c = h(t, "green"), r = h(t, "yellow"), i = h(t, "blue");
1393
1395
  return { red: n, green: c, yellow: r, blue: i };
1394
1396
  }
1395
1397
  function Ee(e) {
1396
- const t = y(e);
1398
+ const t = R(e);
1397
1399
  if (t)
1398
1400
  return {
1399
1401
  communicationMonitorState: t
1400
1402
  };
1401
1403
  }
1402
1404
  function Pe(e) {
1403
- const t = y(e);
1405
+ const t = R(e);
1404
1406
  if (t)
1405
1407
  return t.deviceInfo || void 0;
1406
1408
  }
@@ -1422,7 +1424,7 @@ function De(e) {
1422
1424
  return { dvrList: n, record: c };
1423
1425
  }
1424
1426
  function Le(e) {
1425
- const { sendMessage: t } = b(), n = y(e);
1427
+ const { sendMessage: t } = b(), n = R(e);
1426
1428
  return n ? { roomCombinerState: n, setAutoMode: () => {
1427
1429
  t(`/device/${e}/setAutoMode`, null);
1428
1430
  }, setManualMode: () => {
@@ -1436,7 +1438,7 @@ function Le(e) {
1436
1438
  } } : void 0;
1437
1439
  }
1438
1440
  function $e(e) {
1439
- const { sendMessage: t } = b(), n = `/device/${e}`, c = y(e);
1441
+ const { sendMessage: t } = b(), n = `/device/${e}`, c = R(e);
1440
1442
  return c ? {
1441
1443
  state: c,
1442
1444
  selectCamera: (i) => {
@@ -1445,12 +1447,12 @@ function $e(e) {
1445
1447
  } : void 0;
1446
1448
  }
1447
1449
  function Ae(e) {
1448
- const t = y(e);
1450
+ const t = R(e);
1449
1451
  if (t)
1450
1452
  return { state: t };
1451
1453
  }
1452
1454
  function Be(e) {
1453
- const { sendMessage: t, sendSimpleMessage: n } = b(), c = y(e), r = K2(e), i = c || r;
1455
+ const { sendMessage: t, sendSimpleMessage: n } = b(), c = R(e), r = K2(e), i = c || r;
1454
1456
  return i ? {
1455
1457
  levelState: i,
1456
1458
  setLevel: (v, I) => n(`${v}/level`, I),
@@ -1460,13 +1462,13 @@ function Be(e) {
1460
1462
  } : void 0;
1461
1463
  }
1462
1464
  function Oe(e) {
1463
- const { sendMessage: t } = b(), n = y(e);
1465
+ const { sendMessage: t } = b(), n = R(e);
1464
1466
  return n ? { lightingState: n, selectScene: (r) => {
1465
1467
  t(`/device/${e}/selectScene`, r);
1466
1468
  } } : void 0;
1467
1469
  }
1468
1470
  function Ve(e) {
1469
- const { sendMessage: t } = b(), n = y(e);
1471
+ const { sendMessage: t } = b(), n = R(e);
1470
1472
  return n ? { matrixRoutingState: n, setRoute: (r) => {
1471
1473
  t(`/device/${e}/route`, r);
1472
1474
  } } : void 0;
@@ -1478,7 +1480,7 @@ function ke(e) {
1478
1480
  } };
1479
1481
  }
1480
1482
  function Ue(e) {
1481
- const t = `/device/${e}`, n = h(t, "num0"), c = h(t, "num1"), r = h(t, "num2"), i = h(t, "num3"), d = h(t, "num4"), a = h(t, "num5"), g = h(t, "num6"), x = h(t, "num7"), v = h(t, "num8"), I = h(t, "num9"), L = h(t, "numDash"), F = h(t, "numEnter");
1483
+ const t = `/device/${e}`, n = h(t, "num0"), c = h(t, "num1"), r = h(t, "num2"), i = h(t, "num3"), d = h(t, "num4"), a = h(t, "num5"), g = h(t, "num6"), x = h(t, "num7"), v = h(t, "num8"), I = h(t, "num9"), L = h(t, "numDash"), H = h(t, "numEnter");
1482
1484
  return {
1483
1485
  digit0: n,
1484
1486
  digit1: c,
@@ -1491,11 +1493,11 @@ function Ue(e) {
1491
1493
  digit8: v,
1492
1494
  digit9: I,
1493
1495
  keypadAccessoryButton1: L,
1494
- keypadAccessoryButton2: F
1496
+ keypadAccessoryButton2: H
1495
1497
  };
1496
1498
  }
1497
1499
  function We(e) {
1498
- const { sendMessage: t } = b(), n = y(e);
1500
+ const { sendMessage: t } = b(), n = R(e);
1499
1501
  return n ? { projectorScreenLiftControlState: n, raise: () => {
1500
1502
  t(`/device/${e}/raise`, null);
1501
1503
  }, lower: () => {
@@ -1522,7 +1524,7 @@ function Ke(e) {
1522
1524
  }
1523
1525
  function Ge(e) {
1524
1526
  const { sendMessage: t } = b();
1525
- return { routingState: y(e), runRoute: (r) => {
1527
+ return { routingState: R(e), runRoute: (r) => {
1526
1528
  t(`/room/${e}/source`, r);
1527
1529
  } };
1528
1530
  }
@@ -1531,7 +1533,7 @@ function qe(e) {
1531
1533
  return { dvrList: n, replay: c };
1532
1534
  }
1533
1535
  function Ye(e) {
1534
- const { sendMessage: t } = b(), n = y(e);
1536
+ const { sendMessage: t } = b(), n = R(e);
1535
1537
  return n ? { shadeState: n, shadeUp: () => {
1536
1538
  t(`/device/${e}/shadeUp`, null);
1537
1539
  }, shadeDown: () => {
@@ -1553,7 +1555,7 @@ function ze(e) {
1553
1555
  } } : void 0;
1554
1556
  }
1555
1557
  function Je(e) {
1556
- const { sendMessage: t } = b(), n = y(e);
1558
+ const { sendMessage: t } = b(), n = R(e);
1557
1559
  return n ? { switchedOutputState: n, on: () => {
1558
1560
  t(`/device/${e}/on`, null);
1559
1561
  }, off: () => {
@@ -1569,11 +1571,11 @@ function Xe(e) {
1569
1571
  } } : void 0;
1570
1572
  }
1571
1573
  function Qe(e) {
1572
- const { sendMessage: t } = b(), n = y(e);
1574
+ const { sendMessage: t } = b(), n = R(e);
1573
1575
  return n ? { state: n, setTemperatureUnitsToCelcius: () => t(`${e}/setTemperatureUnitsToCelcius`, null), setTemperatureUnitsToFahrenheit: () => t(`${e}/setTemperatureUnitsToFahrenheit`, null) } : void 0;
1574
1576
  }
1575
1577
  function Ne(e) {
1576
- const { sendMessage: t } = b(), n = y(e), c = (r) => {
1578
+ const { sendMessage: t } = b(), n = R(e), c = (r) => {
1577
1579
  t(`/device/${e}/saveTheme`, { value: r });
1578
1580
  };
1579
1581
  return {
@@ -1595,7 +1597,7 @@ function e5(e) {
1595
1597
  };
1596
1598
  }
1597
1599
  function t5(e) {
1598
- const t = y(e), { sendMessage: n } = b();
1600
+ const t = R(e), { sendMessage: n } = b();
1599
1601
  return t ? {
1600
1602
  touchpanelState: t,
1601
1603
  appControl: { hideApp: () => {
@@ -1611,7 +1613,7 @@ function t5(e) {
1611
1613
  } : void 0;
1612
1614
  }
1613
1615
  function s5(e) {
1614
- const t = y(e), n = y3(e), c = k1(e);
1616
+ const t = R(e), n = E3(e), c = k1(e);
1615
1617
  if (!t) return;
1616
1618
  const r = (t.powerState || t.isWarming) && !t.isCooling, i = (!t.powerState || t.isCooling) && !t.isWarming;
1617
1619
  return {
@@ -1655,7 +1657,7 @@ const n5 = ({
1655
1657
  }, [e, t]);
1656
1658
  };
1657
1659
  function o5(e, t) {
1658
- const [n, c] = H(!1), [r, i] = H(!1);
1660
+ const [n, c] = K(!1), [r, i] = K(!1);
1659
1661
  return x3(() => {
1660
1662
  const { current: d } = e, a = () => {
1661
1663
  const g = d && d.scrollHeight > d.clientHeight, x = d && d.scrollWidth > d.clientWidth;
@@ -1670,7 +1672,7 @@ function c5(e, t) {
1670
1672
  }
1671
1673
  function r5(e) {
1672
1674
  var a, g;
1673
- const [t, n] = H(((a = e == null ? void 0 : e.current) == null ? void 0 : a.scrollLeft) ?? 0), [c, r] = H(((g = e == null ? void 0 : e.current) == null ? void 0 : g.scrollTop) ?? 0), i = (x) => {
1675
+ const [t, n] = K(((a = e == null ? void 0 : e.current) == null ? void 0 : a.scrollLeft) ?? 0), [c, r] = K(((g = e == null ? void 0 : e.current) == null ? void 0 : g.scrollTop) ?? 0), i = (x) => {
1674
1676
  const { current: v } = e;
1675
1677
  v && (console.log(v.scrollLeft), v.scrollLeft += x, console.log(v.scrollLeft));
1676
1678
  }, d = (x) => {
@@ -1684,7 +1686,15 @@ function r5(e) {
1684
1686
  x && v();
1685
1687
  }, [e]), { horizontalScrollPosition: t, verticalScrollPosition: c, scrollHorizontal: i, scrollVertical: d };
1686
1688
  }
1687
- function l5() {
1689
+ function l5(e) {
1690
+ const t = m3();
1691
+ return [() => {
1692
+ t(F.addSyncState(e));
1693
+ }, () => {
1694
+ t(F.removeSyncState(e));
1695
+ }, f8(e)];
1696
+ }
1697
+ function i5() {
1688
1698
  const { sendMessage: e } = b();
1689
1699
  return {
1690
1700
  reboot: () => {
@@ -1695,8 +1705,8 @@ function l5() {
1695
1705
  }
1696
1706
  };
1697
1707
  }
1698
- function i5() {
1699
- const [e, t] = H(), [n, c] = H();
1708
+ function a5() {
1709
+ const [e, t] = K(), [n, c] = K();
1700
1710
  function r() {
1701
1711
  t((/* @__PURE__ */ new Date()).toLocaleDateString("en-US", { dateStyle: "long" }));
1702
1712
  const i = (/* @__PURE__ */ new Date()).toLocaleTimeString("en-US", { hour12: !0, hour: "numeric", minute: "numeric" });
@@ -1710,20 +1720,20 @@ function i5() {
1710
1720
  return () => clearInterval(i);
1711
1721
  }, []), { date: e, time: n };
1712
1722
  }
1713
- const a5 = () => {
1714
- const [e, t] = H(!1), n = h2(), c = g2();
1723
+ const u5 = () => {
1724
+ const [e, t] = K(!1), n = g2(), c = f2();
1715
1725
  let r;
1716
- return f2(c) ? r = c.statusText : c instanceof Error ? r = c.message : typeof c == "string" ? r = c : (console.error(c), r = "Unknown error"), /* @__PURE__ */ s.jsxs("div", { className: "d-flex flex-column align-items-center gap-5", children: [
1726
+ 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: [
1717
1727
  /* @__PURE__ */ s.jsx("div", { className: "m-2 p-2 bg-danger rounded d-flex align-items-center", children: /* @__PURE__ */ s.jsx("span", { className: "fs-5 text-white", children: "We are sorry. Something went wrong." }) }),
1718
1728
  /* @__PURE__ */ s.jsx("button", { className: "btn btn-primary p-2", onClick: () => n(-1), children: "Go Back" }),
1719
1729
  /* @__PURE__ */ s.jsx("button", { className: "btn btn-primary p-2", onClick: () => t(!e), children: e ? "Hide error message" : "Show error message" }),
1720
1730
  e && /* @__PURE__ */ s.jsx("p", { children: r })
1721
1731
  ] });
1722
- }, V8 = "_iconbtn_16qss_1", k8 = "_iconbtnvert_16qss_7", U8 = "_iconsm_16qss_18", $1 = {
1723
- iconbtn: V8,
1724
- iconbtnvert: k8,
1725
- iconsm: U8
1726
- }, W8 = ({
1732
+ }, k8 = "_iconbtn_16qss_1", U8 = "_iconbtnvert_16qss_7", W8 = "_iconsm_16qss_18", $1 = {
1733
+ iconbtn: k8,
1734
+ iconbtnvert: U8,
1735
+ iconsm: W8
1736
+ }, F8 = ({
1727
1737
  multiIcon: e,
1728
1738
  otherContent: t = null,
1729
1739
  vert: n = !1,
@@ -1738,7 +1748,7 @@ const a5 = () => {
1738
1748
  onPointerLeave: I,
1739
1749
  ...L
1740
1750
  }) => {
1741
- const [F, k] = H(!1), X = !d && a ? g : "", r1 = !d && (F || a);
1751
+ const [H, k] = K(!1), X = !d && a ? g : "", r1 = !d && (H || a);
1742
1752
  return /* @__PURE__ */ s.jsxs(
1743
1753
  "button",
1744
1754
  {
@@ -1774,7 +1784,7 @@ const a5 = () => {
1774
1784
  EnabledImage: n,
1775
1785
  active: c,
1776
1786
  disabled: r
1777
- }) => r ? t : c ? e : n, F8 = ({
1787
+ }) => r ? t : c ? e : n, H8 = ({
1778
1788
  active: e,
1779
1789
  className: t = "",
1780
1790
  disabled: n
@@ -1826,7 +1836,7 @@ const a5 = () => {
1826
1836
  active: e,
1827
1837
  disabled: n
1828
1838
  }
1829
- ), H8 = ({
1839
+ ), K8 = ({
1830
1840
  active: e,
1831
1841
  className: t = "",
1832
1842
  disabled: n
@@ -1875,7 +1885,7 @@ const a5 = () => {
1875
1885
  active: e,
1876
1886
  disabled: n
1877
1887
  }
1878
- ), K8 = ({
1888
+ ), G8 = ({
1879
1889
  active: e,
1880
1890
  className: t = "",
1881
1891
  disabled: n
@@ -1915,7 +1925,7 @@ const a5 = () => {
1915
1925
  active: e,
1916
1926
  disabled: n
1917
1927
  }
1918
- ), G8 = ({
1928
+ ), q8 = ({
1919
1929
  active: e,
1920
1930
  className: t = "",
1921
1931
  disabled: n
@@ -1964,7 +1974,7 @@ const a5 = () => {
1964
1974
  active: e,
1965
1975
  disabled: n
1966
1976
  }
1967
- ), q8 = ({
1977
+ ), Y8 = ({
1968
1978
  active: e,
1969
1979
  // Just to shut up the linter on this template. Prefer deleting this lint rule
1970
1980
  className: t = "",
@@ -2032,7 +2042,7 @@ const a5 = () => {
2032
2042
  active: e,
2033
2043
  disabled: n
2034
2044
  }
2035
- ), Y8 = ({
2045
+ ), z8 = ({
2036
2046
  active: e,
2037
2047
  className: t = "",
2038
2048
  disabled: n
@@ -2081,7 +2091,7 @@ const a5 = () => {
2081
2091
  active: e,
2082
2092
  disabled: n
2083
2093
  }
2084
- ), z8 = ({
2094
+ ), J8 = ({
2085
2095
  active: e,
2086
2096
  className: t = "",
2087
2097
  disabled: n
@@ -2130,7 +2140,7 @@ const a5 = () => {
2130
2140
  active: e,
2131
2141
  disabled: n
2132
2142
  }
2133
- ), J8 = ({
2143
+ ), X8 = ({
2134
2144
  active: e,
2135
2145
  className: t = "",
2136
2146
  disabled: n
@@ -2179,7 +2189,7 @@ const a5 = () => {
2179
2189
  active: e,
2180
2190
  disabled: n
2181
2191
  }
2182
- ), X8 = ({
2192
+ ), Q8 = ({
2183
2193
  active: e,
2184
2194
  className: t = "",
2185
2195
  disabled: n
@@ -2228,7 +2238,7 @@ const a5 = () => {
2228
2238
  active: e,
2229
2239
  disabled: n
2230
2240
  }
2231
- ), Q8 = ({
2241
+ ), N8 = ({
2232
2242
  active: e,
2233
2243
  className: t = "",
2234
2244
  disabled: n
@@ -2277,7 +2287,7 @@ const a5 = () => {
2277
2287
  active: e,
2278
2288
  disabled: n
2279
2289
  }
2280
- ), N8 = ({
2290
+ ), e6 = ({
2281
2291
  active: e,
2282
2292
  // Just to shut up the linter on this template. Prefer deleting this lint rule
2283
2293
  className: t = "",
@@ -2345,7 +2355,7 @@ const a5 = () => {
2345
2355
  active: e,
2346
2356
  disabled: n
2347
2357
  }
2348
- ), e6 = ({
2358
+ ), t6 = ({
2349
2359
  active: e,
2350
2360
  className: t = "",
2351
2361
  disabled: n
@@ -2394,7 +2404,7 @@ const a5 = () => {
2394
2404
  active: e,
2395
2405
  disabled: n
2396
2406
  }
2397
- ), t6 = ({
2407
+ ), s6 = ({
2398
2408
  active: e,
2399
2409
  className: t = "",
2400
2410
  disabled: n
@@ -2443,7 +2453,7 @@ const a5 = () => {
2443
2453
  active: e,
2444
2454
  disabled: n
2445
2455
  }
2446
- ), s6 = ({
2456
+ ), n6 = ({
2447
2457
  active: e,
2448
2458
  className: t = "",
2449
2459
  disabled: n
@@ -2492,7 +2502,7 @@ const a5 = () => {
2492
2502
  active: e,
2493
2503
  disabled: n
2494
2504
  }
2495
- ), n6 = ({
2505
+ ), o6 = ({
2496
2506
  active: e,
2497
2507
  className: t = "",
2498
2508
  disabled: n
@@ -2541,7 +2551,7 @@ const a5 = () => {
2541
2551
  active: e,
2542
2552
  disabled: n
2543
2553
  }
2544
- ), o6 = ({
2554
+ ), c6 = ({
2545
2555
  active: e,
2546
2556
  className: t = "",
2547
2557
  disabled: n
@@ -2563,7 +2573,7 @@ const a5 = () => {
2563
2573
  active: e,
2564
2574
  disabled: n
2565
2575
  }
2566
- ), c6 = ({
2576
+ ), r6 = ({
2567
2577
  active: e,
2568
2578
  className: t = "",
2569
2579
  disabled: n
@@ -2612,7 +2622,7 @@ const a5 = () => {
2612
2622
  active: e,
2613
2623
  disabled: n
2614
2624
  }
2615
- ), r6 = ({
2625
+ ), l6 = ({
2616
2626
  active: e,
2617
2627
  className: t = "",
2618
2628
  disabled: n
@@ -2661,7 +2671,7 @@ const a5 = () => {
2661
2671
  active: e,
2662
2672
  disabled: n
2663
2673
  }
2664
- ), l6 = ({
2674
+ ), i6 = ({
2665
2675
  active: e,
2666
2676
  className: t = "",
2667
2677
  disabled: n
@@ -2710,7 +2720,7 @@ const a5 = () => {
2710
2720
  active: e,
2711
2721
  disabled: n
2712
2722
  }
2713
- ), i6 = ({
2723
+ ), a6 = ({
2714
2724
  active: e,
2715
2725
  className: t = "",
2716
2726
  disabled: n
@@ -2759,7 +2769,7 @@ const a5 = () => {
2759
2769
  active: e,
2760
2770
  disabled: n
2761
2771
  }
2762
- ), a6 = ({
2772
+ ), u6 = ({
2763
2773
  active: e,
2764
2774
  className: t = "",
2765
2775
  disabled: n
@@ -2808,7 +2818,7 @@ const a5 = () => {
2808
2818
  active: e,
2809
2819
  disabled: n
2810
2820
  }
2811
- ), u6 = ({
2821
+ ), d6 = ({
2812
2822
  active: e,
2813
2823
  // Just to shut up the linter on this template. Prefer deleting this lint rule
2814
2824
  className: t = "",
@@ -2876,7 +2886,7 @@ const a5 = () => {
2876
2886
  active: e,
2877
2887
  disabled: n
2878
2888
  }
2879
- ), d6 = ({
2889
+ ), v6 = ({
2880
2890
  active: e,
2881
2891
  className: t = "",
2882
2892
  disabled: n
@@ -2925,7 +2935,7 @@ const a5 = () => {
2925
2935
  active: e,
2926
2936
  disabled: n
2927
2937
  }
2928
- ), v6 = ({
2938
+ ), h6 = ({
2929
2939
  active: e,
2930
2940
  className: t = "",
2931
2941
  disabled: n
@@ -2974,7 +2984,7 @@ const a5 = () => {
2974
2984
  active: e,
2975
2985
  disabled: n
2976
2986
  }
2977
- ), u5 = ({
2987
+ ), d5 = ({
2978
2988
  active: e,
2979
2989
  // Just to shut up the linter on this template. Prefer deleting this lint rule
2980
2990
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
@@ -2989,7 +2999,7 @@ const a5 = () => {
2989
2999
  active: e,
2990
3000
  disabled: n
2991
3001
  }
2992
- ), h6 = ({
3002
+ ), g6 = ({
2993
3003
  active: e,
2994
3004
  className: t = "",
2995
3005
  disabled: n
@@ -3038,7 +3048,7 @@ const a5 = () => {
3038
3048
  active: e,
3039
3049
  disabled: n
3040
3050
  }
3041
- ), g6 = ({
3051
+ ), f6 = ({
3042
3052
  active: e,
3043
3053
  className: t = "",
3044
3054
  disabled: n
@@ -3087,7 +3097,7 @@ const a5 = () => {
3087
3097
  active: e,
3088
3098
  disabled: n
3089
3099
  }
3090
- ), f6 = ({
3100
+ ), p6 = ({
3091
3101
  active: e,
3092
3102
  className: t = "",
3093
3103
  disabled: n
@@ -3136,7 +3146,7 @@ const a5 = () => {
3136
3146
  active: e,
3137
3147
  disabled: n
3138
3148
  }
3139
- ), p6 = ({
3149
+ ), w6 = ({
3140
3150
  active: e,
3141
3151
  className: t = "",
3142
3152
  disabled: n
@@ -3185,7 +3195,7 @@ const a5 = () => {
3185
3195
  active: e,
3186
3196
  disabled: n
3187
3197
  }
3188
- ), w6 = ({
3198
+ ), x6 = ({
3189
3199
  active: e,
3190
3200
  className: t = "",
3191
3201
  disabled: n
@@ -3234,7 +3244,7 @@ const a5 = () => {
3234
3244
  active: e,
3235
3245
  disabled: n
3236
3246
  }
3237
- ), x6 = ({
3247
+ ), M6 = ({
3238
3248
  active: e,
3239
3249
  className: t = "",
3240
3250
  disabled: n
@@ -3283,7 +3293,7 @@ const a5 = () => {
3283
3293
  active: e,
3284
3294
  disabled: n
3285
3295
  }
3286
- ), M6 = ({
3296
+ ), m6 = ({
3287
3297
  active: e,
3288
3298
  className: t = "",
3289
3299
  disabled: n
@@ -3332,7 +3342,7 @@ const a5 = () => {
3332
3342
  active: e,
3333
3343
  disabled: n
3334
3344
  }
3335
- ), m6 = ({
3345
+ ), Z6 = ({
3336
3346
  active: e,
3337
3347
  className: t = "",
3338
3348
  disabled: n
@@ -3381,150 +3391,150 @@ const a5 = () => {
3381
3391
  active: e,
3382
3392
  disabled: n
3383
3393
  }
3384
- ), Z6 = {
3385
- Alert: F8,
3386
- Camera: K8,
3387
- DownArrow: Y8,
3388
- Ban: H8,
3389
- Check: G8,
3390
- Controller: q8,
3391
- Elipses: z8,
3392
- Flag: J8,
3393
- Gear: X8,
3394
- Glass: Q8,
3395
- Hdmi: N8,
3396
- Laptop: e6,
3397
- LeftArrow: t6,
3398
- Light: s6,
3399
- Mic: m6,
3400
- Moon: n6,
3401
- Playstation: o6,
3402
- Podium: c6,
3403
- Power: r6,
3404
- Privacy: l6,
3405
- Question: i6,
3406
- RightArrow: a6,
3407
- RoomPC: u6,
3408
- Shade: d6,
3409
- Sun: v6,
3410
- UpArrow: h6,
3411
- VolDown: g6,
3412
- VolMute: f6,
3413
- VolUp: p6,
3414
- Wireless: w6,
3415
- X: x6,
3416
- Xbox: M6
3394
+ ), j6 = {
3395
+ Alert: H8,
3396
+ Camera: G8,
3397
+ DownArrow: z8,
3398
+ Ban: K8,
3399
+ Check: q8,
3400
+ Controller: Y8,
3401
+ Elipses: J8,
3402
+ Flag: X8,
3403
+ Gear: Q8,
3404
+ Glass: N8,
3405
+ Hdmi: e6,
3406
+ Laptop: t6,
3407
+ LeftArrow: s6,
3408
+ Light: n6,
3409
+ Mic: Z6,
3410
+ Moon: o6,
3411
+ Playstation: c6,
3412
+ Podium: r6,
3413
+ Power: l6,
3414
+ Privacy: i6,
3415
+ Question: a6,
3416
+ RightArrow: u6,
3417
+ RoomPC: d6,
3418
+ Shade: v6,
3419
+ Sun: h6,
3420
+ UpArrow: g6,
3421
+ VolDown: f6,
3422
+ VolMute: p6,
3423
+ VolUp: w6,
3424
+ Wireless: x6,
3425
+ X: M6,
3426
+ Xbox: m6
3417
3427
  };
3418
- function d5({
3428
+ function v5({
3419
3429
  name: e,
3420
- iconsDictionary: t = Z6,
3430
+ iconsDictionary: t = j6,
3421
3431
  ...n
3422
3432
  }) {
3423
3433
  const c = t[e] ?? null;
3424
- return c || console.error(`Icon ${e} not found in dictionary`), /* @__PURE__ */ s.jsx(W8, { multiIcon: c, ...n });
3425
- }
3426
- const j6 = "_grid_1cmpp_1", S6 = "_header_1cmpp_11", C6 = "_content_1cmpp_17", b6 = "_footer_1cmpp_23", I6 = "_volume_1cmpp_29", v1 = {
3427
- grid: j6,
3428
- header: S6,
3429
- content: C6,
3430
- footer: b6,
3431
- volume: I6
3432
- }, v5 = ({ header: e, footer: t, content: n, volume: c, showVolume: r }) => /* @__PURE__ */ s.jsxs("div", { className: v1.grid, children: [
3434
+ return c || console.error(`Icon ${e} not found in dictionary`), /* @__PURE__ */ s.jsx(F8, { multiIcon: c, ...n });
3435
+ }
3436
+ const S6 = "_grid_1cmpp_1", C6 = "_header_1cmpp_11", b6 = "_content_1cmpp_17", I6 = "_footer_1cmpp_23", y6 = "_volume_1cmpp_29", v1 = {
3437
+ grid: S6,
3438
+ header: C6,
3439
+ content: b6,
3440
+ footer: I6,
3441
+ volume: y6
3442
+ }, h5 = ({ header: e, footer: t, content: n, volume: c, showVolume: r }) => /* @__PURE__ */ s.jsxs("div", { className: v1.grid, children: [
3433
3443
  /* @__PURE__ */ s.jsx("div", { className: v1.header, children: e }),
3434
3444
  /* @__PURE__ */ s.jsx("div", { className: v1.content, children: n }),
3435
3445
  r && /* @__PURE__ */ s.jsx("div", { className: v1.volume, children: c }),
3436
3446
  /* @__PURE__ */ s.jsx("div", { className: v1.footer, children: t })
3437
- ] }), R6 = "_grid_11w5q_1", y6 = "_header_11w5q_11", E6 = "_content_11w5q_17", Z1 = {
3447
+ ] }), R6 = "_grid_11w5q_1", E6 = "_header_11w5q_11", P6 = "_content_11w5q_17", Z1 = {
3438
3448
  grid: R6,
3439
- header: y6,
3440
- content: E6
3441
- }, h5 = ({ className: e, header: t, content: n, leftNav: c }) => /* @__PURE__ */ s.jsxs("div", { className: `${e} ${Z1.grid}`, children: [
3449
+ header: E6,
3450
+ content: P6
3451
+ }, g5 = ({ className: e, header: t, content: n, leftNav: c }) => /* @__PURE__ */ s.jsxs("div", { className: `${e} ${Z1.grid}`, children: [
3442
3452
  /* @__PURE__ */ s.jsx("div", { className: Z1.header, children: t }),
3443
3453
  c && /* @__PURE__ */ s.jsx("div", { className: Z1.leftNav, children: c }),
3444
3454
  /* @__PURE__ */ s.jsx("div", { className: Z1.content, children: n })
3445
- ] }), P6 = "_grid_1uwfo_1", T6 = "_header_1uwfo_11", _6 = "_content_1uwfo_17", A1 = {
3446
- grid: P6,
3447
- header: T6,
3448
- content: _6
3449
- }, g5 = ({ className: e, header: t, content: n }) => /* @__PURE__ */ s.jsxs("div", { className: `${e} ${A1.grid}`, children: [
3455
+ ] }), T6 = "_grid_1uwfo_1", _6 = "_header_1uwfo_11", D6 = "_content_1uwfo_17", A1 = {
3456
+ grid: T6,
3457
+ header: _6,
3458
+ content: D6
3459
+ }, f5 = ({ className: e, header: t, content: n }) => /* @__PURE__ */ s.jsxs("div", { className: `${e} ${A1.grid}`, children: [
3450
3460
  /* @__PURE__ */ s.jsx("div", { className: A1.header, children: t }),
3451
3461
  /* @__PURE__ */ s.jsx("div", { className: A1.content, children: n })
3452
3462
  ] });
3453
- class f5 {
3463
+ class p5 {
3454
3464
  constructor() {
3455
- G(this, "currentShareText");
3456
- G(this, "enabled");
3457
- G(this, "isSharing");
3465
+ q(this, "currentShareText");
3466
+ q(this, "enabled");
3467
+ q(this, "isSharing");
3458
3468
  }
3459
3469
  }
3460
- function p5() {
3470
+ function w5() {
3461
3471
  return console.log(location.pathname), location.pathname;
3462
3472
  }
3463
- var D6 = /* @__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))(D6 || {});
3464
- class w5 {
3473
+ var L6 = /* @__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))(L6 || {});
3474
+ class x5 {
3465
3475
  constructor(t, n) {
3466
- G(this, "path");
3467
- G(this, "handler");
3476
+ q(this, "path");
3477
+ q(this, "handler");
3468
3478
  this.path = t, this.handler = n;
3469
3479
  }
3470
3480
  }
3471
- const x5 = "$off";
3481
+ const M5 = "$off";
3472
3482
  export {
3473
3483
  Ce as Clock,
3474
- D6 as DaysOfWeek,
3475
- a5 as ErrorBox,
3476
- W8 as IconButton,
3477
- F8 as IconMultiAlert,
3478
- H8 as IconMultiBan,
3479
- K8 as IconMultiCamera,
3480
- G8 as IconMultiCheck,
3481
- q8 as IconMultiController,
3482
- Y8 as IconMultiDownArrow,
3483
- z8 as IconMultiElipses,
3484
- J8 as IconMultiFlag,
3485
- X8 as IconMultiGear,
3486
- Q8 as IconMultiGlass,
3487
- N8 as IconMultiHdmi,
3488
- e6 as IconMultiLaptop,
3489
- t6 as IconMultiLeftArrow,
3490
- s6 as IconMultiLight,
3491
- m6 as IconMultiMic,
3492
- n6 as IconMultiMoon,
3493
- o6 as IconMultiPlaystation,
3494
- c6 as IconMultiPodium,
3495
- r6 as IconMultiPower,
3496
- l6 as IconMultiPrivacy,
3497
- i6 as IconMultiQuestion,
3498
- a6 as IconMultiRightArrow,
3499
- u6 as IconMultiRoomPC,
3500
- d6 as IconMultiShade,
3501
- v6 as IconMultiSun,
3502
- u5 as IconMultiTemplate,
3503
- h6 as IconMultiUpArrow,
3504
- g6 as IconMultiVolDown,
3505
- f6 as IconMultiVolMute,
3506
- p6 as IconMultiVolUp,
3507
- w6 as IconMultiWireless,
3508
- x6 as IconMultiX,
3509
- M6 as IconMultiXbox,
3510
- v5 as MainLayout,
3511
- w5 as MessageHandler,
3484
+ L6 as DaysOfWeek,
3485
+ u5 as ErrorBox,
3486
+ F8 as IconButton,
3487
+ H8 as IconMultiAlert,
3488
+ K8 as IconMultiBan,
3489
+ G8 as IconMultiCamera,
3490
+ q8 as IconMultiCheck,
3491
+ Y8 as IconMultiController,
3492
+ z8 as IconMultiDownArrow,
3493
+ J8 as IconMultiElipses,
3494
+ X8 as IconMultiFlag,
3495
+ Q8 as IconMultiGear,
3496
+ N8 as IconMultiGlass,
3497
+ e6 as IconMultiHdmi,
3498
+ t6 as IconMultiLaptop,
3499
+ s6 as IconMultiLeftArrow,
3500
+ n6 as IconMultiLight,
3501
+ Z6 as IconMultiMic,
3502
+ o6 as IconMultiMoon,
3503
+ c6 as IconMultiPlaystation,
3504
+ r6 as IconMultiPodium,
3505
+ l6 as IconMultiPower,
3506
+ i6 as IconMultiPrivacy,
3507
+ a6 as IconMultiQuestion,
3508
+ u6 as IconMultiRightArrow,
3509
+ d6 as IconMultiRoomPC,
3510
+ v6 as IconMultiShade,
3511
+ h6 as IconMultiSun,
3512
+ d5 as IconMultiTemplate,
3513
+ g6 as IconMultiUpArrow,
3514
+ f6 as IconMultiVolDown,
3515
+ p6 as IconMultiVolMute,
3516
+ w6 as IconMultiVolUp,
3517
+ x6 as IconMultiWireless,
3518
+ M6 as IconMultiX,
3519
+ m6 as IconMultiXbox,
3520
+ h5 as MainLayout,
3521
+ x5 as MessageHandler,
3512
3522
  me as MobileControlProvider,
3513
3523
  j as MultiStateIconContainer,
3514
- d5 as NamedIconButton,
3515
- f5 as ShareState,
3516
- h5 as TechLayout,
3517
- g5 as TechPinLayout,
3518
- I3 as WebsocketContext,
3519
- x8 as appConfigActions,
3524
+ v5 as NamedIconButton,
3525
+ p5 as ShareState,
3526
+ g5 as TechLayout,
3527
+ f5 as TechPinLayout,
3528
+ y3 as WebsocketContext,
3529
+ M8 as appConfigActions,
3520
3530
  N as devicesActions,
3521
- p5 as getBaseLocation,
3531
+ w5 as getBaseLocation,
3522
3532
  V1 as httpClient,
3523
- Z6 as iconsDictionary,
3524
- x5 as roomOffSourceKey,
3533
+ j6 as iconsDictionary,
3534
+ M5 as roomOffSourceKey,
3525
3535
  e1 as roomsActions,
3526
3536
  W as runtimeConfigActions,
3527
- Z3 as selectAllDevices,
3537
+ j3 as selectAllDevices,
3528
3538
  x2 as selectApiPath,
3529
3539
  w2 as selectAppConfig,
3530
3540
  Y2 as selectClientId,
@@ -3551,12 +3561,12 @@ export {
3551
3561
  V2 as selectRoomIsOn,
3552
3562
  B2 as selectRoomIsWarmingUp,
3553
3563
  q2 as selectRoomKey,
3554
- y2 as selectRoomLevelControls,
3564
+ R2 as selectRoomLevelControls,
3555
3565
  I2 as selectRoomName,
3556
3566
  L2 as selectRoomProgramAudioDestinationKey,
3557
3567
  U2 as selectRoomShareState,
3558
3568
  E2 as selectRoomSourceList,
3559
- R2 as selectRoomVolume,
3569
+ y2 as selectRoomVolume,
3560
3570
  C2 as selectRooms,
3561
3571
  Q2 as selectRuntimeInfo,
3562
3572
  X2 as selectServerIsRunningOnProcessorHardware,
@@ -3569,33 +3579,33 @@ export {
3569
3579
  G2 as selectWsIsConnected,
3570
3580
  W2 as selectZoomRoomControllerKey,
3571
3581
  m as store,
3572
- q as uiActions,
3573
- p8 as uiReducer,
3574
- k6 as useApiPath,
3582
+ F as uiActions,
3583
+ w8 as uiReducer,
3584
+ U6 as useApiPath,
3575
3585
  Z2 as useAppConfig,
3576
- p2 as useAppDispatch,
3586
+ m3 as useAppDispatch,
3577
3587
  p as useAppSelector,
3578
3588
  je as useAvrControl,
3579
3589
  h as useButtonHeldHeartbeat,
3580
3590
  Se as useCameraBase,
3581
3591
  n8 as useClientId,
3582
- B8 as useDeviceIBasicVolumeWithFeedback,
3583
- ve as useDeviceInterfaceSupport,
3592
+ O8 as useDeviceIBasicVolumeWithFeedback,
3593
+ he as useDeviceInterfaceSupport,
3584
3594
  be as useDevicePresetsModel,
3585
3595
  Ie as useEndpoint,
3586
3596
  h8 as useError,
3587
3597
  n5 as useGetAllDeviceStateFromRoomConfiguration,
3588
- F6 as useGetAllDevices,
3589
- K6 as useGetAllRooms,
3590
- pe as useGetCurrentPopoverIdForGroup,
3591
- y as useGetDevice,
3598
+ H6 as useGetAllDevices,
3599
+ G6 as useGetAllRooms,
3600
+ we as useGetCurrentPopoverIdForGroup,
3601
+ R as useGetDevice,
3592
3602
  Ze as useGetIBasicVolumeWithFeedback,
3593
- G6 as useGetRoom,
3594
- le as useGetRoomDisplayStates,
3595
- ie as useGetZoomRoomControllerKey,
3603
+ q6 as useGetRoom,
3604
+ ie as useGetRoomDisplayStates,
3605
+ ae as useGetZoomRoomControllerKey,
3596
3606
  R3 as useIBasicVolumeWithFeedback,
3597
- Re as useIChannel,
3598
- ye as useIColor,
3607
+ ye as useIChannel,
3608
+ Re as useIColor,
3599
3609
  Ee as useICommunicationMonitor,
3600
3610
  Te as useIDPad,
3601
3611
  Pe as useIDeviceInfoMessenger,
@@ -3603,7 +3613,7 @@ export {
3603
3613
  De as useIDvr,
3604
3614
  Le as useIEssentialsRoomCombiner,
3605
3615
  $e as useIHasCameras,
3606
- y3 as useIHasPowerControl,
3616
+ E3 as useIHasPowerControl,
3607
3617
  k1 as useIHasSelectableItems,
3608
3618
  Ae as useIHumiditySensor,
3609
3619
  Be as useILevelControls,
@@ -3624,49 +3634,50 @@ export {
3624
3634
  Qe as useITemperatureSensor,
3625
3635
  Ne as useITheme,
3626
3636
  e5 as useITransport,
3627
- b8 as useInitialize,
3628
- Me as useIsSyncStateValuePresent,
3629
- de as useIsTouchpanel,
3630
- U6 as useLogoPath,
3637
+ I8 as useInitialize,
3638
+ f8 as useIsSyncStateValuePresent,
3639
+ ve as useIsTouchpanel,
3640
+ W6 as useLogoPath,
3631
3641
  t5 as useMobileControlTouchpanelController,
3632
3642
  o5 as useOverflow,
3633
- W6 as usePartnerMetadata,
3634
- A8 as usePressHoldRelease,
3635
- ce as useRoomAdvancedSharingActive,
3636
- z6 as useRoomAudioControlPointList,
3637
- ee as useRoomCodecContentDestinationKey,
3638
- H6 as useRoomConfiguration,
3639
- X6 as useRoomDestinationList,
3640
- J6 as useRoomDestinations,
3641
- Q6 as useRoomEnvironmentalDevices,
3643
+ F6 as usePartnerMetadata,
3644
+ B8 as usePressHoldRelease,
3645
+ re as useRoomAdvancedSharingActive,
3646
+ J6 as useRoomAudioControlPointList,
3647
+ te as useRoomCodecContentDestinationKey,
3648
+ K6 as useRoomConfiguration,
3649
+ Q6 as useRoomDestinationList,
3650
+ X6 as useRoomDestinations,
3651
+ N6 as useRoomEnvironmentalDevices,
3642
3652
  c5 as useRoomIBasicVolumeWithFeedback,
3643
- te as useRoomInCall,
3644
- ne as useRoomIsCoolingDown,
3645
- oe as useRoomIsOn,
3646
- se as useRoomIsWarmingUp,
3653
+ se as useRoomInCall,
3654
+ oe as useRoomIsCoolingDown,
3655
+ ce as useRoomIsOn,
3656
+ ne as useRoomIsWarmingUp,
3647
3657
  s8 as useRoomKey,
3648
3658
  K2 as useRoomLevelControls,
3649
- q6 as useRoomName,
3650
- N6 as useRoomProgramAudioDestinationKey,
3651
- re as useRoomShareState,
3652
- Y6 as useRoomSourceList,
3659
+ Y6 as useRoomName,
3660
+ ee as useRoomProgramAudioDestinationKey,
3661
+ le as useRoomShareState,
3662
+ z6 as useRoomSourceList,
3653
3663
  S1 as useRoomState,
3654
3664
  H2 as useRoomVolume,
3655
- ae as useRuntimeInfo,
3665
+ ue as useRuntimeInfo,
3656
3666
  r5 as useScroll,
3657
3667
  r8 as useServerIsRunningOnProcessorHardware,
3658
- ge as useShowIncomingCallModal,
3659
- fe as useShowModal,
3660
- we as useShowPopoverById,
3668
+ fe as useShowIncomingCallModal,
3669
+ pe as useShowModal,
3670
+ xe as useShowPopoverById,
3661
3671
  g8 as useShowReconnect,
3662
- he as useShowShutdownModal,
3663
- l5 as useSystemControl,
3672
+ ge as useShowShutdownModal,
3673
+ l5 as useStateIsSynced,
3674
+ i5 as useSystemControl,
3664
3675
  o8 as useSystemUuid,
3665
- xe as useTheme,
3666
- i5 as useTimeAndDate,
3667
- ue as useTouchpanelKey,
3676
+ Me as useTheme,
3677
+ a5 as useTimeAndDate,
3678
+ de as useTouchpanelKey,
3668
3679
  s5 as useTwoWayDisplayBase,
3669
3680
  c8 as useUserCode,
3670
3681
  b as useWebsocketContext,
3671
- j3 as useWsIsConnected
3682
+ S3 as useWsIsConnected
3672
3683
  };