@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.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
import
|
|
5
|
-
import { useDispatch as
|
|
6
|
-
import { createSelector as w, createSlice as g1, combineReducers as
|
|
7
|
-
import w3, { createContext as
|
|
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
|
|
10
|
-
const
|
|
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,13 +19,13 @@ 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),
|
|
23
|
-
|
|
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
|
-
|
|
26
|
+
Z3,
|
|
27
27
|
(t) => t[e] ? t[e] : void 0
|
|
28
|
-
),
|
|
28
|
+
), H6 = () => p(j3);
|
|
29
29
|
function y(e) {
|
|
30
30
|
return p(j2(e));
|
|
31
31
|
}
|
|
@@ -134,7 +134,7 @@ const D = (e) => e.rooms, S2 = (e) => w(
|
|
|
134
134
|
), F2 = w(
|
|
135
135
|
[
|
|
136
136
|
(e, t) => t,
|
|
137
|
-
() =>
|
|
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
|
|
149
|
+
function K6(e) {
|
|
150
150
|
return p(
|
|
151
151
|
S2(e)
|
|
152
152
|
);
|
|
153
153
|
}
|
|
154
|
-
function
|
|
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
|
|
160
|
+
const q6 = S1, Y6 = (e) => p(
|
|
161
161
|
I2(e)
|
|
162
162
|
), H2 = (e, t) => p(
|
|
163
163
|
R2(e, t)
|
|
164
|
-
), K2 = (e) => p(y2(e)) || void 0,
|
|
164
|
+
), K2 = (e) => p(y2(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
|
-
),
|
|
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)),
|
|
210
|
+
), d8 = w(t1, (e) => e.theme), v8 = (e) => w(t1, (t) => t.syncState.has(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: {
|
|
@@ -216,9 +216,9 @@ const G6 = S1, q6 = (e) => p(
|
|
|
216
216
|
},
|
|
217
217
|
popoverVisibility: {},
|
|
218
218
|
syncState: /* @__PURE__ */ new Set()
|
|
219
|
-
},
|
|
219
|
+
}, C3 = g1({
|
|
220
220
|
name: "ui",
|
|
221
|
-
initialState:
|
|
221
|
+
initialState: p8,
|
|
222
222
|
reducers: {
|
|
223
223
|
clearAllModals(e) {
|
|
224
224
|
Object.entries(e.modalVisibility).forEach(([t]) => {
|
|
@@ -260,7 +260,7 @@ const G6 = S1, q6 = (e) => p(
|
|
|
260
260
|
e.syncState.clear();
|
|
261
261
|
}
|
|
262
262
|
}
|
|
263
|
-
}),
|
|
263
|
+
}), F = C3.actions, w8 = C3.reducer, x8 = {
|
|
264
264
|
config: {
|
|
265
265
|
enableDev: !1,
|
|
266
266
|
apiPath: "",
|
|
@@ -270,15 +270,15 @@ const G6 = S1, q6 = (e) => p(
|
|
|
270
270
|
loginMode: "",
|
|
271
271
|
modes: {}
|
|
272
272
|
}
|
|
273
|
-
},
|
|
273
|
+
}, b3 = g1({
|
|
274
274
|
name: "appConfig",
|
|
275
|
-
initialState:
|
|
275
|
+
initialState: x8,
|
|
276
276
|
reducers: {
|
|
277
277
|
setAppConfig(e, t) {
|
|
278
278
|
e.config = t.payload;
|
|
279
279
|
}
|
|
280
280
|
}
|
|
281
|
-
}),
|
|
281
|
+
}), M8 = b3.actions, m8 = b3.reducer, d3 = {}, B1 = g1({
|
|
282
282
|
name: "devices",
|
|
283
283
|
initialState: d3,
|
|
284
284
|
reducers: {
|
|
@@ -295,7 +295,7 @@ const G6 = S1, q6 = (e) => p(
|
|
|
295
295
|
}), N = {
|
|
296
296
|
setDeviceState: B1.actions.setDeviceState,
|
|
297
297
|
clearDevices: B1.actions.clearDevices
|
|
298
|
-
},
|
|
298
|
+
}, Z8 = B1.reducer, v3 = {}, O1 = g1({
|
|
299
299
|
name: "rooms",
|
|
300
300
|
initialState: v3,
|
|
301
301
|
reducers: {
|
|
@@ -312,7 +312,7 @@ const G6 = S1, q6 = (e) => p(
|
|
|
312
312
|
}), e1 = {
|
|
313
313
|
setRoomState: O1.actions.setRoomState,
|
|
314
314
|
clearRooms: O1.actions.clearRooms
|
|
315
|
-
},
|
|
315
|
+
}, j8 = O1.reducer, S8 = {
|
|
316
316
|
apiVersion: "",
|
|
317
317
|
serverIsRunningOnProcessorHardware: !1,
|
|
318
318
|
websocket: {
|
|
@@ -343,9 +343,9 @@ const G6 = S1, q6 = (e) => p(
|
|
|
343
343
|
userCode: "",
|
|
344
344
|
qrUrl: ""
|
|
345
345
|
}
|
|
346
|
-
},
|
|
346
|
+
}, I3 = g1({
|
|
347
347
|
name: "runtimeConfig",
|
|
348
|
-
initialState:
|
|
348
|
+
initialState: S8,
|
|
349
349
|
reducers: {
|
|
350
350
|
setRuntimeConfig(e, t) {
|
|
351
351
|
e.apiVersion = t.payload.apiVersion, e.serverIsRunningOnProcessorHardware = t.payload.serverIsRunningOnProcessorHardware;
|
|
@@ -372,17 +372,17 @@ const G6 = S1, q6 = (e) => p(
|
|
|
372
372
|
e.touchpanelKey = t.payload;
|
|
373
373
|
}
|
|
374
374
|
}
|
|
375
|
-
}), W =
|
|
376
|
-
appConfig:
|
|
377
|
-
runtimeConfig:
|
|
378
|
-
rooms:
|
|
379
|
-
devices:
|
|
380
|
-
ui:
|
|
381
|
-
}), m =
|
|
382
|
-
reducer:
|
|
383
|
-
}), V1 =
|
|
384
|
-
function
|
|
385
|
-
const e =
|
|
375
|
+
}), W = I3.actions, C8 = I3.reducer, b8 = u2({
|
|
376
|
+
appConfig: m8,
|
|
377
|
+
runtimeConfig: C8,
|
|
378
|
+
rooms: j8,
|
|
379
|
+
devices: Z8,
|
|
380
|
+
ui: w8
|
|
381
|
+
}), m = d2({
|
|
382
|
+
reducer: b8
|
|
383
|
+
}), V1 = c2.create();
|
|
384
|
+
function I8() {
|
|
385
|
+
const e = m3();
|
|
386
386
|
return async () => {
|
|
387
387
|
try {
|
|
388
388
|
const t = location.pathname.split("/").filter((r) => r.length > 0);
|
|
@@ -390,7 +390,7 @@ function b8() {
|
|
|
390
390
|
const n = `/${t.join("/")}`, c = await V1.get("/_local-config/_config.local.json", { baseURL: n });
|
|
391
391
|
if (c.status == 200 && c.data) {
|
|
392
392
|
const r = c.data.apiPath;
|
|
393
|
-
e(
|
|
393
|
+
e(M8.setAppConfig(c.data));
|
|
394
394
|
const i = await V1.get(`${r}/version`);
|
|
395
395
|
i.status == 200 && i.data && e(W.setRuntimeConfig(i.data));
|
|
396
396
|
}
|
|
@@ -411,16 +411,16 @@ var m1 = { exports: {} }, u1 = {};
|
|
|
411
411
|
* LICENSE file in the root directory of this source tree.
|
|
412
412
|
*/
|
|
413
413
|
var h3;
|
|
414
|
-
function
|
|
414
|
+
function R8() {
|
|
415
415
|
if (h3) return u1;
|
|
416
416
|
h3 = 1;
|
|
417
417
|
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
418
|
function d(a, g, x) {
|
|
419
|
-
var v, I = {}, L = null,
|
|
420
|
-
x !== void 0 && (L = "" + x), g.key !== void 0 && (L = "" + g.key), g.ref !== void 0 && (
|
|
419
|
+
var v, I = {}, L = null, H = null;
|
|
420
|
+
x !== void 0 && (L = "" + x), g.key !== void 0 && (L = "" + g.key), g.ref !== void 0 && (H = g.ref);
|
|
421
421
|
for (v in g) c.call(g, v) && !i.hasOwnProperty(v) && (I[v] = g[v]);
|
|
422
422
|
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:
|
|
423
|
+
return { $$typeof: t, type: a, key: L, ref: H, props: I, _owner: r.current };
|
|
424
424
|
}
|
|
425
425
|
return u1.Fragment = n, u1.jsx = d, u1.jsxs = d, u1;
|
|
426
426
|
}
|
|
@@ -435,9 +435,9 @@ var d1 = {};
|
|
|
435
435
|
* LICENSE file in the root directory of this source tree.
|
|
436
436
|
*/
|
|
437
437
|
var g3;
|
|
438
|
-
function
|
|
438
|
+
function y8() {
|
|
439
439
|
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"),
|
|
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"), H = Symbol.for("react.offscreen"), k = Symbol.iterator, X = "@@iterator";
|
|
441
441
|
function r1(o) {
|
|
442
442
|
if (o === null || typeof o != "object")
|
|
443
443
|
return null;
|
|
@@ -465,7 +465,7 @@ function R8() {
|
|
|
465
465
|
var b1 = !1, E = !1, S = !1, f1 = !1, I1 = !1, z;
|
|
466
466
|
z = Symbol.for("react.module.reference");
|
|
467
467
|
function B(o) {
|
|
468
|
-
return !!(typeof o == "string" || typeof o == "function" || o === c || o === i || I1 || o === r || o === x || o === v || f1 || o ===
|
|
468
|
+
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
469
|
// types supported by any Flight configuration anywhere since
|
|
470
470
|
// we don't know which Flight build this will end up being used
|
|
471
471
|
// with.
|
|
@@ -481,7 +481,7 @@ function R8() {
|
|
|
481
481
|
function s1(o) {
|
|
482
482
|
return o.displayName || "Context";
|
|
483
483
|
}
|
|
484
|
-
function
|
|
484
|
+
function G(o) {
|
|
485
485
|
if (o == null)
|
|
486
486
|
return null;
|
|
487
487
|
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 +514,11 @@ function R8() {
|
|
|
514
514
|
return P(o, o.render, "ForwardRef");
|
|
515
515
|
case I:
|
|
516
516
|
var f = o.displayName || null;
|
|
517
|
-
return f !== null ? f :
|
|
517
|
+
return f !== null ? f : G(o.type) || "Memo";
|
|
518
518
|
case L: {
|
|
519
519
|
var C = o, R = C._payload, Z = C._init;
|
|
520
520
|
try {
|
|
521
|
-
return
|
|
521
|
+
return G(Z(R));
|
|
522
522
|
} catch {
|
|
523
523
|
return null;
|
|
524
524
|
}
|
|
@@ -530,7 +530,7 @@ function R8() {
|
|
|
530
530
|
function z1() {
|
|
531
531
|
}
|
|
532
532
|
z1.__reactDisabledLog = !0;
|
|
533
|
-
function
|
|
533
|
+
function P3() {
|
|
534
534
|
{
|
|
535
535
|
if (l1 === 0) {
|
|
536
536
|
W1 = console.log, F1 = console.info, H1 = console.warn, K1 = console.error, G1 = console.group, q1 = console.groupCollapsed, Y1 = console.groupEnd;
|
|
@@ -553,7 +553,7 @@ function R8() {
|
|
|
553
553
|
l1++;
|
|
554
554
|
}
|
|
555
555
|
}
|
|
556
|
-
function
|
|
556
|
+
function T3() {
|
|
557
557
|
{
|
|
558
558
|
if (l1--, l1 === 0) {
|
|
559
559
|
var o = {
|
|
@@ -604,8 +604,8 @@ function R8() {
|
|
|
604
604
|
}
|
|
605
605
|
var E1 = !1, w1;
|
|
606
606
|
{
|
|
607
|
-
var
|
|
608
|
-
w1 = new
|
|
607
|
+
var _3 = typeof WeakMap == "function" ? WeakMap : Map;
|
|
608
|
+
w1 = new _3();
|
|
609
609
|
}
|
|
610
610
|
function J1(o, l) {
|
|
611
611
|
if (!o || E1)
|
|
@@ -620,7 +620,7 @@ function R8() {
|
|
|
620
620
|
var C = Error.prepareStackTrace;
|
|
621
621
|
Error.prepareStackTrace = void 0;
|
|
622
622
|
var R;
|
|
623
|
-
R = R1.current, R1.current = null,
|
|
623
|
+
R = R1.current, R1.current = null, P3();
|
|
624
624
|
try {
|
|
625
625
|
if (l) {
|
|
626
626
|
var Z = function() {
|
|
@@ -673,15 +673,15 @@ function R8() {
|
|
|
673
673
|
}
|
|
674
674
|
}
|
|
675
675
|
} finally {
|
|
676
|
-
E1 = !1, R1.current = R,
|
|
676
|
+
E1 = !1, R1.current = R, T3(), Error.prepareStackTrace = C;
|
|
677
677
|
}
|
|
678
678
|
var o1 = o ? o.displayName || o.name : "", Q = o1 ? p1(o1) : "";
|
|
679
679
|
return typeof o == "function" && w1.set(o, Q), Q;
|
|
680
680
|
}
|
|
681
|
-
function
|
|
681
|
+
function D3(o, l, u) {
|
|
682
682
|
return J1(o, !1);
|
|
683
683
|
}
|
|
684
|
-
function
|
|
684
|
+
function L3(o) {
|
|
685
685
|
var l = o.prototype;
|
|
686
686
|
return !!(l && l.isReactComponent);
|
|
687
687
|
}
|
|
@@ -689,7 +689,7 @@ function R8() {
|
|
|
689
689
|
if (o == null)
|
|
690
690
|
return "";
|
|
691
691
|
if (typeof o == "function")
|
|
692
|
-
return J1(o,
|
|
692
|
+
return J1(o, L3(o));
|
|
693
693
|
if (typeof o == "string")
|
|
694
694
|
return p1(o);
|
|
695
695
|
switch (o) {
|
|
@@ -701,7 +701,7 @@ function R8() {
|
|
|
701
701
|
if (typeof o == "object")
|
|
702
702
|
switch (o.$$typeof) {
|
|
703
703
|
case g:
|
|
704
|
-
return
|
|
704
|
+
return D3(o.render);
|
|
705
705
|
case I:
|
|
706
706
|
return x1(o.type, l, u);
|
|
707
707
|
case L: {
|
|
@@ -722,7 +722,7 @@ function R8() {
|
|
|
722
722
|
} else
|
|
723
723
|
Q1.setExtraStackFrame(null);
|
|
724
724
|
}
|
|
725
|
-
function
|
|
725
|
+
function $3(o, l, u, f, C) {
|
|
726
726
|
{
|
|
727
727
|
var R = Function.call.bind(i1);
|
|
728
728
|
for (var Z in o)
|
|
@@ -741,17 +741,17 @@ function R8() {
|
|
|
741
741
|
}
|
|
742
742
|
}
|
|
743
743
|
}
|
|
744
|
-
var
|
|
744
|
+
var A3 = Array.isArray;
|
|
745
745
|
function P1(o) {
|
|
746
|
-
return
|
|
746
|
+
return A3(o);
|
|
747
747
|
}
|
|
748
|
-
function
|
|
748
|
+
function B3(o) {
|
|
749
749
|
{
|
|
750
750
|
var l = typeof Symbol == "function" && Symbol.toStringTag, u = l && o[Symbol.toStringTag] || o.constructor.name || "Object";
|
|
751
751
|
return u;
|
|
752
752
|
}
|
|
753
753
|
}
|
|
754
|
-
function
|
|
754
|
+
function O3(o) {
|
|
755
755
|
try {
|
|
756
756
|
return N1(o), !1;
|
|
757
757
|
} catch {
|
|
@@ -762,16 +762,16 @@ function R8() {
|
|
|
762
762
|
return "" + o;
|
|
763
763
|
}
|
|
764
764
|
function e3(o) {
|
|
765
|
-
if (
|
|
766
|
-
return A("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
765
|
+
if (O3(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.", B3(o)), N1(o);
|
|
767
767
|
}
|
|
768
|
-
var t3 = $.ReactCurrentOwner,
|
|
768
|
+
var t3 = $.ReactCurrentOwner, V3 = {
|
|
769
769
|
key: !0,
|
|
770
770
|
ref: !0,
|
|
771
771
|
__self: !0,
|
|
772
772
|
__source: !0
|
|
773
773
|
}, s3, n3;
|
|
774
|
-
function
|
|
774
|
+
function k3(o) {
|
|
775
775
|
if (i1.call(o, "ref")) {
|
|
776
776
|
var l = Object.getOwnPropertyDescriptor(o, "ref").get;
|
|
777
777
|
if (l && l.isReactWarning)
|
|
@@ -779,7 +779,7 @@ function R8() {
|
|
|
779
779
|
}
|
|
780
780
|
return o.ref !== void 0;
|
|
781
781
|
}
|
|
782
|
-
function
|
|
782
|
+
function U3(o) {
|
|
783
783
|
if (i1.call(o, "key")) {
|
|
784
784
|
var l = Object.getOwnPropertyDescriptor(o, "key").get;
|
|
785
785
|
if (l && l.isReactWarning)
|
|
@@ -787,10 +787,10 @@ function R8() {
|
|
|
787
787
|
}
|
|
788
788
|
return o.key !== void 0;
|
|
789
789
|
}
|
|
790
|
-
function
|
|
790
|
+
function W3(o, l) {
|
|
791
791
|
typeof o.ref == "string" && t3.current;
|
|
792
792
|
}
|
|
793
|
-
function
|
|
793
|
+
function F3(o, l) {
|
|
794
794
|
{
|
|
795
795
|
var u = function() {
|
|
796
796
|
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 +801,7 @@ function R8() {
|
|
|
801
801
|
});
|
|
802
802
|
}
|
|
803
803
|
}
|
|
804
|
-
function
|
|
804
|
+
function H3(o, l) {
|
|
805
805
|
{
|
|
806
806
|
var u = function() {
|
|
807
807
|
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 +812,7 @@ function R8() {
|
|
|
812
812
|
});
|
|
813
813
|
}
|
|
814
814
|
}
|
|
815
|
-
var
|
|
815
|
+
var K3 = function(o, l, u, f, C, R, Z) {
|
|
816
816
|
var M = {
|
|
817
817
|
// This tag allows us to uniquely identify this as a React Element
|
|
818
818
|
$$typeof: t,
|
|
@@ -841,12 +841,12 @@ function R8() {
|
|
|
841
841
|
value: C
|
|
842
842
|
}), Object.freeze && (Object.freeze(M.props), Object.freeze(M)), M;
|
|
843
843
|
};
|
|
844
|
-
function
|
|
844
|
+
function G3(o, l, u, f, C) {
|
|
845
845
|
{
|
|
846
846
|
var R, Z = {}, M = null, O = null;
|
|
847
|
-
u !== void 0 && (e3(u), M = "" + u),
|
|
847
|
+
u !== void 0 && (e3(u), M = "" + u), U3(l) && (e3(l.key), M = "" + l.key), k3(l) && (O = l.ref, W3(l, C));
|
|
848
848
|
for (R in l)
|
|
849
|
-
i1.call(l, R) && !
|
|
849
|
+
i1.call(l, R) && !V3.hasOwnProperty(R) && (Z[R] = l[R]);
|
|
850
850
|
if (o && o.defaultProps) {
|
|
851
851
|
var T = o.defaultProps;
|
|
852
852
|
for (R in T)
|
|
@@ -854,9 +854,9 @@ function R8() {
|
|
|
854
854
|
}
|
|
855
855
|
if (M || O) {
|
|
856
856
|
var _ = typeof o == "function" ? o.displayName || o.name || "Unknown" : o;
|
|
857
|
-
M &&
|
|
857
|
+
M && F3(Z, _), O && H3(Z, _);
|
|
858
858
|
}
|
|
859
|
-
return
|
|
859
|
+
return K3(o, M, O, C, f, t3.current, Z);
|
|
860
860
|
}
|
|
861
861
|
}
|
|
862
862
|
var T1 = $.ReactCurrentOwner, o3 = $.ReactDebugCurrentFrame;
|
|
@@ -875,7 +875,7 @@ function R8() {
|
|
|
875
875
|
function c3() {
|
|
876
876
|
{
|
|
877
877
|
if (T1.current) {
|
|
878
|
-
var o =
|
|
878
|
+
var o = G(T1.current.type);
|
|
879
879
|
if (o)
|
|
880
880
|
return `
|
|
881
881
|
|
|
@@ -884,11 +884,11 @@ Check the render method of \`` + o + "`.";
|
|
|
884
884
|
return "";
|
|
885
885
|
}
|
|
886
886
|
}
|
|
887
|
-
function
|
|
887
|
+
function q3(o) {
|
|
888
888
|
return "";
|
|
889
889
|
}
|
|
890
890
|
var r3 = {};
|
|
891
|
-
function
|
|
891
|
+
function Y3(o) {
|
|
892
892
|
{
|
|
893
893
|
var l = c3();
|
|
894
894
|
if (!l) {
|
|
@@ -905,12 +905,12 @@ Check the top-level render call using <` + u + ">.");
|
|
|
905
905
|
if (!o._store || o._store.validated || o.key != null)
|
|
906
906
|
return;
|
|
907
907
|
o._store.validated = !0;
|
|
908
|
-
var u =
|
|
908
|
+
var u = Y3(l);
|
|
909
909
|
if (r3[u])
|
|
910
910
|
return;
|
|
911
911
|
r3[u] = !0;
|
|
912
912
|
var f = "";
|
|
913
|
-
o && o._owner && o._owner !== T1.current && (f = " It was passed a child from " +
|
|
913
|
+
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
914
|
}
|
|
915
915
|
}
|
|
916
916
|
function i3(o, l) {
|
|
@@ -932,7 +932,7 @@ Check the top-level render call using <` + u + ">.");
|
|
|
932
932
|
}
|
|
933
933
|
}
|
|
934
934
|
}
|
|
935
|
-
function
|
|
935
|
+
function z3(o) {
|
|
936
936
|
{
|
|
937
937
|
var l = o.type;
|
|
938
938
|
if (l == null || typeof l == "string")
|
|
@@ -947,17 +947,17 @@ Check the top-level render call using <` + u + ">.");
|
|
|
947
947
|
else
|
|
948
948
|
return;
|
|
949
949
|
if (u) {
|
|
950
|
-
var f =
|
|
951
|
-
|
|
950
|
+
var f = G(l);
|
|
951
|
+
$3(u, o.props, "prop", f, o);
|
|
952
952
|
} else if (l.PropTypes !== void 0 && !_1) {
|
|
953
953
|
_1 = !0;
|
|
954
|
-
var C =
|
|
954
|
+
var C = G(l);
|
|
955
955
|
A("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", C || "Unknown");
|
|
956
956
|
}
|
|
957
957
|
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
958
|
}
|
|
959
959
|
}
|
|
960
|
-
function
|
|
960
|
+
function J3(o) {
|
|
961
961
|
{
|
|
962
962
|
for (var l = Object.keys(o.props), u = 0; u < l.length; u++) {
|
|
963
963
|
var f = l[u];
|
|
@@ -976,12 +976,12 @@ Check the top-level render call using <` + u + ">.");
|
|
|
976
976
|
if (!Z) {
|
|
977
977
|
var M = "";
|
|
978
978
|
(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 =
|
|
979
|
+
var O = q3();
|
|
980
980
|
O ? M += O : M += c3();
|
|
981
981
|
var T;
|
|
982
|
-
o === null ? T = "null" : P1(o) ? T = "array" : o !== void 0 && o.$$typeof === t ? (T = "<" + (
|
|
982
|
+
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
983
|
}
|
|
984
|
-
var _ =
|
|
984
|
+
var _ = G3(o, l, u, C, R);
|
|
985
985
|
if (_ == null)
|
|
986
986
|
return _;
|
|
987
987
|
if (Z) {
|
|
@@ -998,45 +998,45 @@ Check the top-level render call using <` + u + ">.");
|
|
|
998
998
|
i3(U, o);
|
|
999
999
|
}
|
|
1000
1000
|
if (i1.call(l, "key")) {
|
|
1001
|
-
var Q =
|
|
1002
|
-
return
|
|
1001
|
+
var Q = G(o), V = Object.keys(l).filter(function(s2) {
|
|
1002
|
+
return s2 !== "key";
|
|
1003
1003
|
}), L1 = V.length > 0 ? "{key: someKey, " + V.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
1004
1004
|
if (!a3[Q + L1]) {
|
|
1005
|
-
var
|
|
1005
|
+
var t2 = V.length > 0 ? "{" + V.join(": ..., ") + ": ...}" : "{}";
|
|
1006
1006
|
A(`A props object containing a "key" prop is being spread into JSX:
|
|
1007
1007
|
let props = %s;
|
|
1008
1008
|
<%s {...props} />
|
|
1009
1009
|
React keys must be passed directly to JSX without using spread:
|
|
1010
1010
|
let props = %s;
|
|
1011
|
-
<%s key={someKey} {...props} />`, L1, Q,
|
|
1011
|
+
<%s key={someKey} {...props} />`, L1, Q, t2, Q), a3[Q + L1] = !0;
|
|
1012
1012
|
}
|
|
1013
1013
|
}
|
|
1014
|
-
return o === c ?
|
|
1014
|
+
return o === c ? J3(_) : z3(_), _;
|
|
1015
1015
|
}
|
|
1016
1016
|
}
|
|
1017
|
-
function
|
|
1017
|
+
function X3(o, l, u) {
|
|
1018
1018
|
return u3(o, l, u, !0);
|
|
1019
1019
|
}
|
|
1020
|
-
function
|
|
1020
|
+
function Q3(o, l, u) {
|
|
1021
1021
|
return u3(o, l, u, !1);
|
|
1022
1022
|
}
|
|
1023
|
-
var
|
|
1024
|
-
d1.Fragment = c, d1.jsx =
|
|
1023
|
+
var N3 = Q3, e2 = X3;
|
|
1024
|
+
d1.Fragment = c, d1.jsx = N3, d1.jsxs = e2;
|
|
1025
1025
|
}()), d1;
|
|
1026
1026
|
}
|
|
1027
1027
|
var f3;
|
|
1028
|
-
function
|
|
1029
|
-
return f3 || (f3 = 1, process.env.NODE_ENV === "production" ? m1.exports =
|
|
1028
|
+
function E8() {
|
|
1029
|
+
return f3 || (f3 = 1, process.env.NODE_ENV === "production" ? m1.exports = R8() : m1.exports = y8()), m1.exports;
|
|
1030
1030
|
}
|
|
1031
|
-
var s =
|
|
1032
|
-
const
|
|
1033
|
-
mwfit:
|
|
1034
|
-
},
|
|
1035
|
-
const { reconnect: e } = b(), t =
|
|
1031
|
+
var s = E8();
|
|
1032
|
+
const P8 = "_mwfit_ppa3l_1", T8 = {
|
|
1033
|
+
mwfit: P8
|
|
1034
|
+
}, _8 = () => {
|
|
1035
|
+
const { reconnect: e } = b(), t = S3(), n = h8(), c = g8();
|
|
1036
1036
|
return /* @__PURE__ */ s.jsx(s.Fragment, { children: /* @__PURE__ */ s.jsxs(
|
|
1037
1037
|
"div",
|
|
1038
1038
|
{
|
|
1039
|
-
className: `disconnected-message ${
|
|
1039
|
+
className: `disconnected-message ${T8.mwfit} mx-auto text-center`,
|
|
1040
1040
|
children: [
|
|
1041
1041
|
t === void 0 ? /* @__PURE__ */ s.jsx("h1", { children: "Connecting..." }) : /* @__PURE__ */ s.jsx("h1", { children: "Disconnected" }),
|
|
1042
1042
|
n && /* @__PURE__ */ s.jsx("h5", { children: n }),
|
|
@@ -1045,29 +1045,29 @@ const E8 = "_mwfit_ppa3l_1", P8 = {
|
|
|
1045
1045
|
}
|
|
1046
1046
|
) });
|
|
1047
1047
|
};
|
|
1048
|
-
class
|
|
1048
|
+
class D8 {
|
|
1049
1049
|
constructor() {
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1050
|
+
q(this, "uuid", "current-uuid");
|
|
1051
|
+
q(this, "roomKey", "current-room-key");
|
|
1052
|
+
q(this, "code", "current-code");
|
|
1053
|
+
q(this, "expiry", "current-uuid-expires");
|
|
1054
1054
|
}
|
|
1055
1055
|
}
|
|
1056
|
-
const p3 = new
|
|
1056
|
+
const p3 = new D8(), R3 = v2({
|
|
1057
1057
|
sendMessage: () => null,
|
|
1058
1058
|
sendSimpleMessage: () => null,
|
|
1059
1059
|
addEventHandler: () => null,
|
|
1060
1060
|
removeEventHandler: () => null,
|
|
1061
1061
|
reconnect: () => null
|
|
1062
1062
|
});
|
|
1063
|
-
function
|
|
1063
|
+
function L8(e) {
|
|
1064
1064
|
return sessionStorage.getItem(e) || "";
|
|
1065
1065
|
}
|
|
1066
|
-
function
|
|
1066
|
+
function $8(e, t) {
|
|
1067
1067
|
sessionStorage.setItem(e, t);
|
|
1068
1068
|
}
|
|
1069
|
-
const
|
|
1070
|
-
const [t, n] =
|
|
1069
|
+
const A8 = ({ children: e }) => {
|
|
1070
|
+
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
1071
|
async (E) => {
|
|
1072
1072
|
try {
|
|
1073
1073
|
const S = await V1.get(
|
|
@@ -1075,11 +1075,11 @@ const $8 = ({ children: e }) => {
|
|
|
1075
1075
|
);
|
|
1076
1076
|
return S.status === 200 && S.data ? (m.dispatch(W.setRoomData(S.data)), !0) : !1;
|
|
1077
1077
|
} catch (S) {
|
|
1078
|
-
return console.log(S), v ? !0 : S instanceof
|
|
1079
|
-
|
|
1078
|
+
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(
|
|
1079
|
+
F.setErrorMessage(
|
|
1080
1080
|
`Token ${t} is invalid. Unable to join room`
|
|
1081
1081
|
)
|
|
1082
|
-
), !1) : (console.error("Error getting room data", S), S instanceof Error ? m.dispatch(
|
|
1082
|
+
), !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
1083
|
}
|
|
1084
1084
|
},
|
|
1085
1085
|
[t, v]
|
|
@@ -1103,7 +1103,7 @@ const $8 = ({ children: e }) => {
|
|
|
1103
1103
|
}, []);
|
|
1104
1104
|
return c1(() => {
|
|
1105
1105
|
let S = new URLSearchParams(window.location.search).get("token");
|
|
1106
|
-
S ? (console.log("saving token: ", S),
|
|
1106
|
+
S ? (console.log("saving token: ", S), $8(p3.uuid, S)) : (S = L8(p3.uuid), console.log("loading token: ", S)), n(S), d();
|
|
1107
1107
|
}, []), console.log(
|
|
1108
1108
|
"connection dependencies",
|
|
1109
1109
|
a.apiPath,
|
|
@@ -1126,33 +1126,33 @@ const $8 = ({ children: e }) => {
|
|
|
1126
1126
|
console.error("Websocket error", B);
|
|
1127
1127
|
}, z.onclose = (B) => {
|
|
1128
1128
|
if (console.log("disconnected: ", B.reason, B.code), B.code === 4100) {
|
|
1129
|
-
console.log("WebSocket closed by client (useEffect cleanup)."), m.dispatch(
|
|
1129
|
+
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
1130
|
return;
|
|
1131
1131
|
}
|
|
1132
|
-
if (
|
|
1132
|
+
if (H(!0), B.code === 4e3) {
|
|
1133
1133
|
console.log("user code changed"), m.dispatch(
|
|
1134
1134
|
W.setUserCode({ userCode: "", qrUrl: "" })
|
|
1135
1135
|
), m.dispatch(
|
|
1136
|
-
|
|
1136
|
+
F.setErrorMessage(
|
|
1137
1137
|
"User code changed. Click reconnect to enter the new code"
|
|
1138
1138
|
)
|
|
1139
|
-
), m.dispatch(
|
|
1139
|
+
), m.dispatch(F.setShowReconnect(!0)), m.dispatch(W.setWebsocketIsConnected(!1)), m.dispatch(N.clearDevices()), m.dispatch(e1.clearRooms());
|
|
1140
1140
|
return;
|
|
1141
1141
|
}
|
|
1142
1142
|
if (B.code === 4001 && !v) {
|
|
1143
1143
|
console.log("processor disconnected"), m.dispatch(
|
|
1144
|
-
|
|
1144
|
+
F.setErrorMessage(
|
|
1145
1145
|
"Processor has disconnected. Click Reconnect"
|
|
1146
1146
|
)
|
|
1147
|
-
), m.dispatch(
|
|
1147
|
+
), m.dispatch(F.setShowReconnect(!0)), m.dispatch(W.setWebsocketIsConnected(!1)), m.dispatch(N.clearDevices()), m.dispatch(e1.clearRooms());
|
|
1148
1148
|
return;
|
|
1149
1149
|
}
|
|
1150
1150
|
if (B.code === 4002) {
|
|
1151
1151
|
console.log("room combination changed"), m.dispatch(
|
|
1152
|
-
|
|
1152
|
+
F.setErrorMessage(
|
|
1153
1153
|
"Room combination changed. Click Reconnect to re-join the room"
|
|
1154
1154
|
)
|
|
1155
|
-
), m.dispatch(
|
|
1155
|
+
), m.dispatch(F.setShowReconnect(!0)), m.dispatch(W.setWebsocketIsConnected(!1)), m.dispatch(N.clearDevices()), m.dispatch(e1.clearRooms());
|
|
1156
1156
|
return;
|
|
1157
1157
|
}
|
|
1158
1158
|
if (I.current)
|
|
@@ -1161,7 +1161,7 @@ const $8 = ({ children: e }) => {
|
|
|
1161
1161
|
console.log("WebSocket closed by client.");
|
|
1162
1162
|
return;
|
|
1163
1163
|
}
|
|
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(() =>
|
|
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(() => H(void 0), 5e3));
|
|
1165
1165
|
}, z.onmessage = (B) => {
|
|
1166
1166
|
try {
|
|
1167
1167
|
const P = JSON.parse(B.data);
|
|
@@ -1201,9 +1201,9 @@ const $8 = ({ children: e }) => {
|
|
|
1201
1201
|
else if (P.type.startsWith("/event/")) {
|
|
1202
1202
|
console.log("event message received", P);
|
|
1203
1203
|
const s1 = k.current[P.type];
|
|
1204
|
-
s1 || console.log("no handlers found for event type", P.type), s1 && Object.values(s1).forEach((
|
|
1204
|
+
s1 || console.log("no handlers found for event type", P.type), s1 && Object.values(s1).forEach((G) => {
|
|
1205
1205
|
try {
|
|
1206
|
-
|
|
1206
|
+
G(P);
|
|
1207
1207
|
} catch (J) {
|
|
1208
1208
|
console.error(J);
|
|
1209
1209
|
}
|
|
@@ -1226,7 +1226,7 @@ const $8 = ({ children: e }) => {
|
|
|
1226
1226
|
]), c1(() => {
|
|
1227
1227
|
!r || !c || (console.log("clientId: ", i), i && (console.log("requesting status from room: ", r), $(`/room/${r}/status`, null)));
|
|
1228
1228
|
}, [r, i, c, $]), /* @__PURE__ */ s.jsx(
|
|
1229
|
-
|
|
1229
|
+
R3.Provider,
|
|
1230
1230
|
{
|
|
1231
1231
|
value: {
|
|
1232
1232
|
sendMessage: $,
|
|
@@ -1235,14 +1235,14 @@ const $8 = ({ children: e }) => {
|
|
|
1235
1235
|
removeEventHandler: b1,
|
|
1236
1236
|
reconnect: r1
|
|
1237
1237
|
},
|
|
1238
|
-
children: c ? e : /* @__PURE__ */ s.jsx(
|
|
1238
|
+
children: c ? e : /* @__PURE__ */ s.jsx(_8, {})
|
|
1239
1239
|
}
|
|
1240
1240
|
);
|
|
1241
|
-
}, me = ({ children: e }) => /* @__PURE__ */ s.jsx(
|
|
1241
|
+
}, me = ({ children: e }) => /* @__PURE__ */ s.jsx(a2, { store: m, children: /* @__PURE__ */ s.jsx(A8, { children: e }) });
|
|
1242
1242
|
function b() {
|
|
1243
|
-
return
|
|
1243
|
+
return h2(R3);
|
|
1244
1244
|
}
|
|
1245
|
-
function
|
|
1245
|
+
function B8({
|
|
1246
1246
|
onPress: e,
|
|
1247
1247
|
onRelease: t,
|
|
1248
1248
|
onHold: n,
|
|
@@ -1276,9 +1276,9 @@ function h(e, t) {
|
|
|
1276
1276
|
function d() {
|
|
1277
1277
|
r.current && (clearInterval(r.current), r.current = null), c(`${e}/${t}`, { value: "released" });
|
|
1278
1278
|
}
|
|
1279
|
-
return
|
|
1279
|
+
return B8({ onPress: i, onRelease: d });
|
|
1280
1280
|
}
|
|
1281
|
-
function
|
|
1281
|
+
function y3(e, t) {
|
|
1282
1282
|
const { sendMessage: n, sendSimpleMessage: c } = b(), r = h(`${e}`, "volumeUp"), i = h(`${e}`, "volumeDown");
|
|
1283
1283
|
return t ? {
|
|
1284
1284
|
volumeState: t,
|
|
@@ -1302,11 +1302,11 @@ function Ze(e, t) {
|
|
|
1302
1302
|
muteOff: () => n(`${e}/muteOff`, null)
|
|
1303
1303
|
} : void 0;
|
|
1304
1304
|
}
|
|
1305
|
-
function
|
|
1305
|
+
function O8(e) {
|
|
1306
1306
|
const t = y(e), n = `/device/${e}`;
|
|
1307
|
-
return
|
|
1307
|
+
return y3(n, t == null ? void 0 : t.volume);
|
|
1308
1308
|
}
|
|
1309
|
-
function
|
|
1309
|
+
function E3(e) {
|
|
1310
1310
|
const { sendMessage: t } = b();
|
|
1311
1311
|
return { powerOn: () => {
|
|
1312
1312
|
t(`/device/${e}/powerOn`, null);
|
|
@@ -1322,7 +1322,7 @@ function k1(e) {
|
|
|
1322
1322
|
t(`/device/${e}/${r}`, null);
|
|
1323
1323
|
} } : void 0;
|
|
1324
1324
|
}
|
|
1325
|
-
function
|
|
1325
|
+
function V8(e) {
|
|
1326
1326
|
const { sendMessage: t } = b(), n = y(e), c = () => {
|
|
1327
1327
|
t(`/device/${e}/setDefaultChannelLevels`, null);
|
|
1328
1328
|
}, r = () => {
|
|
@@ -1334,7 +1334,7 @@ function O8(e) {
|
|
|
1334
1334
|
return n ? { levelControls: n.levelControls, setDefaultChannelLevels: c, getFullStatus: r } : void 0;
|
|
1335
1335
|
}
|
|
1336
1336
|
function je(e) {
|
|
1337
|
-
const t = y(e), n =
|
|
1337
|
+
const t = y(e), n = E3(e), c = k1(e), r = k1(e), i = O8(e), d = V8(e);
|
|
1338
1338
|
if (t)
|
|
1339
1339
|
return {
|
|
1340
1340
|
avrState: t,
|
|
@@ -1360,7 +1360,7 @@ function Se(e) {
|
|
|
1360
1360
|
};
|
|
1361
1361
|
}
|
|
1362
1362
|
const Ce = ({ className: e }) => {
|
|
1363
|
-
const [t, n] =
|
|
1363
|
+
const [t, n] = K();
|
|
1364
1364
|
return c1(() => {
|
|
1365
1365
|
setInterval(() => {
|
|
1366
1366
|
const c = (/* @__PURE__ */ new Date()).toLocaleTimeString("en-US", { hour12: !0, hour: "numeric", minute: "numeric" });
|
|
@@ -1478,7 +1478,7 @@ function ke(e) {
|
|
|
1478
1478
|
} };
|
|
1479
1479
|
}
|
|
1480
1480
|
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"),
|
|
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"), H = h(t, "numEnter");
|
|
1482
1482
|
return {
|
|
1483
1483
|
digit0: n,
|
|
1484
1484
|
digit1: c,
|
|
@@ -1491,7 +1491,7 @@ function Ue(e) {
|
|
|
1491
1491
|
digit8: v,
|
|
1492
1492
|
digit9: I,
|
|
1493
1493
|
keypadAccessoryButton1: L,
|
|
1494
|
-
keypadAccessoryButton2:
|
|
1494
|
+
keypadAccessoryButton2: H
|
|
1495
1495
|
};
|
|
1496
1496
|
}
|
|
1497
1497
|
function We(e) {
|
|
@@ -1611,7 +1611,7 @@ function t5(e) {
|
|
|
1611
1611
|
} : void 0;
|
|
1612
1612
|
}
|
|
1613
1613
|
function s5(e) {
|
|
1614
|
-
const t = y(e), n =
|
|
1614
|
+
const t = y(e), n = E3(e), c = k1(e);
|
|
1615
1615
|
if (!t) return;
|
|
1616
1616
|
const r = (t.powerState || t.isWarming) && !t.isCooling, i = (!t.powerState || t.isCooling) && !t.isWarming;
|
|
1617
1617
|
return {
|
|
@@ -1655,7 +1655,7 @@ const n5 = ({
|
|
|
1655
1655
|
}, [e, t]);
|
|
1656
1656
|
};
|
|
1657
1657
|
function o5(e, t) {
|
|
1658
|
-
const [n, c] =
|
|
1658
|
+
const [n, c] = K(!1), [r, i] = K(!1);
|
|
1659
1659
|
return x3(() => {
|
|
1660
1660
|
const { current: d } = e, a = () => {
|
|
1661
1661
|
const g = d && d.scrollHeight > d.clientHeight, x = d && d.scrollWidth > d.clientWidth;
|
|
@@ -1666,11 +1666,11 @@ function o5(e, t) {
|
|
|
1666
1666
|
}
|
|
1667
1667
|
function c5(e, t) {
|
|
1668
1668
|
const n = H2(e, t), c = `/room/${e}/volumes/${t}`;
|
|
1669
|
-
return
|
|
1669
|
+
return y3(c, n);
|
|
1670
1670
|
}
|
|
1671
1671
|
function r5(e) {
|
|
1672
1672
|
var a, g;
|
|
1673
|
-
const [t, n] =
|
|
1673
|
+
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
1674
|
const { current: v } = e;
|
|
1675
1675
|
v && (console.log(v.scrollLeft), v.scrollLeft += x, console.log(v.scrollLeft));
|
|
1676
1676
|
}, d = (x) => {
|
|
@@ -1684,7 +1684,15 @@ function r5(e) {
|
|
|
1684
1684
|
x && v();
|
|
1685
1685
|
}, [e]), { horizontalScrollPosition: t, verticalScrollPosition: c, scrollHorizontal: i, scrollVertical: d };
|
|
1686
1686
|
}
|
|
1687
|
-
function l5() {
|
|
1687
|
+
function l5(e) {
|
|
1688
|
+
const t = m3();
|
|
1689
|
+
return [() => {
|
|
1690
|
+
t(F.addSyncState(e));
|
|
1691
|
+
}, () => {
|
|
1692
|
+
t(F.removeSyncState(e));
|
|
1693
|
+
}, f8(e)];
|
|
1694
|
+
}
|
|
1695
|
+
function i5() {
|
|
1688
1696
|
const { sendMessage: e } = b();
|
|
1689
1697
|
return {
|
|
1690
1698
|
reboot: () => {
|
|
@@ -1695,8 +1703,8 @@ function l5() {
|
|
|
1695
1703
|
}
|
|
1696
1704
|
};
|
|
1697
1705
|
}
|
|
1698
|
-
function
|
|
1699
|
-
const [e, t] =
|
|
1706
|
+
function a5() {
|
|
1707
|
+
const [e, t] = K(), [n, c] = K();
|
|
1700
1708
|
function r() {
|
|
1701
1709
|
t((/* @__PURE__ */ new Date()).toLocaleDateString("en-US", { dateStyle: "long" }));
|
|
1702
1710
|
const i = (/* @__PURE__ */ new Date()).toLocaleTimeString("en-US", { hour12: !0, hour: "numeric", minute: "numeric" });
|
|
@@ -1710,20 +1718,20 @@ function i5() {
|
|
|
1710
1718
|
return () => clearInterval(i);
|
|
1711
1719
|
}, []), { date: e, time: n };
|
|
1712
1720
|
}
|
|
1713
|
-
const
|
|
1714
|
-
const [e, t] =
|
|
1721
|
+
const u5 = () => {
|
|
1722
|
+
const [e, t] = K(!1), n = g2(), c = f2();
|
|
1715
1723
|
let r;
|
|
1716
|
-
return
|
|
1724
|
+
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
1725
|
/* @__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
1726
|
/* @__PURE__ */ s.jsx("button", { className: "btn btn-primary p-2", onClick: () => n(-1), children: "Go Back" }),
|
|
1719
1727
|
/* @__PURE__ */ s.jsx("button", { className: "btn btn-primary p-2", onClick: () => t(!e), children: e ? "Hide error message" : "Show error message" }),
|
|
1720
1728
|
e && /* @__PURE__ */ s.jsx("p", { children: r })
|
|
1721
1729
|
] });
|
|
1722
|
-
},
|
|
1723
|
-
iconbtn:
|
|
1724
|
-
iconbtnvert:
|
|
1725
|
-
iconsm:
|
|
1726
|
-
},
|
|
1730
|
+
}, k8 = "_iconbtn_16qss_1", U8 = "_iconbtnvert_16qss_7", W8 = "_iconsm_16qss_18", $1 = {
|
|
1731
|
+
iconbtn: k8,
|
|
1732
|
+
iconbtnvert: U8,
|
|
1733
|
+
iconsm: W8
|
|
1734
|
+
}, F8 = ({
|
|
1727
1735
|
multiIcon: e,
|
|
1728
1736
|
otherContent: t = null,
|
|
1729
1737
|
vert: n = !1,
|
|
@@ -1738,7 +1746,7 @@ const a5 = () => {
|
|
|
1738
1746
|
onPointerLeave: I,
|
|
1739
1747
|
...L
|
|
1740
1748
|
}) => {
|
|
1741
|
-
const [
|
|
1749
|
+
const [H, k] = K(!1), X = !d && a ? g : "", r1 = !d && (H || a);
|
|
1742
1750
|
return /* @__PURE__ */ s.jsxs(
|
|
1743
1751
|
"button",
|
|
1744
1752
|
{
|
|
@@ -1774,7 +1782,7 @@ const a5 = () => {
|
|
|
1774
1782
|
EnabledImage: n,
|
|
1775
1783
|
active: c,
|
|
1776
1784
|
disabled: r
|
|
1777
|
-
}) => r ? t : c ? e : n,
|
|
1785
|
+
}) => r ? t : c ? e : n, H8 = ({
|
|
1778
1786
|
active: e,
|
|
1779
1787
|
className: t = "",
|
|
1780
1788
|
disabled: n
|
|
@@ -1826,7 +1834,7 @@ const a5 = () => {
|
|
|
1826
1834
|
active: e,
|
|
1827
1835
|
disabled: n
|
|
1828
1836
|
}
|
|
1829
|
-
),
|
|
1837
|
+
), K8 = ({
|
|
1830
1838
|
active: e,
|
|
1831
1839
|
className: t = "",
|
|
1832
1840
|
disabled: n
|
|
@@ -1875,7 +1883,7 @@ const a5 = () => {
|
|
|
1875
1883
|
active: e,
|
|
1876
1884
|
disabled: n
|
|
1877
1885
|
}
|
|
1878
|
-
),
|
|
1886
|
+
), G8 = ({
|
|
1879
1887
|
active: e,
|
|
1880
1888
|
className: t = "",
|
|
1881
1889
|
disabled: n
|
|
@@ -1915,7 +1923,7 @@ const a5 = () => {
|
|
|
1915
1923
|
active: e,
|
|
1916
1924
|
disabled: n
|
|
1917
1925
|
}
|
|
1918
|
-
),
|
|
1926
|
+
), q8 = ({
|
|
1919
1927
|
active: e,
|
|
1920
1928
|
className: t = "",
|
|
1921
1929
|
disabled: n
|
|
@@ -1964,7 +1972,7 @@ const a5 = () => {
|
|
|
1964
1972
|
active: e,
|
|
1965
1973
|
disabled: n
|
|
1966
1974
|
}
|
|
1967
|
-
),
|
|
1975
|
+
), Y8 = ({
|
|
1968
1976
|
active: e,
|
|
1969
1977
|
// Just to shut up the linter on this template. Prefer deleting this lint rule
|
|
1970
1978
|
className: t = "",
|
|
@@ -2032,7 +2040,7 @@ const a5 = () => {
|
|
|
2032
2040
|
active: e,
|
|
2033
2041
|
disabled: n
|
|
2034
2042
|
}
|
|
2035
|
-
),
|
|
2043
|
+
), z8 = ({
|
|
2036
2044
|
active: e,
|
|
2037
2045
|
className: t = "",
|
|
2038
2046
|
disabled: n
|
|
@@ -2081,7 +2089,7 @@ const a5 = () => {
|
|
|
2081
2089
|
active: e,
|
|
2082
2090
|
disabled: n
|
|
2083
2091
|
}
|
|
2084
|
-
),
|
|
2092
|
+
), J8 = ({
|
|
2085
2093
|
active: e,
|
|
2086
2094
|
className: t = "",
|
|
2087
2095
|
disabled: n
|
|
@@ -2130,7 +2138,7 @@ const a5 = () => {
|
|
|
2130
2138
|
active: e,
|
|
2131
2139
|
disabled: n
|
|
2132
2140
|
}
|
|
2133
|
-
),
|
|
2141
|
+
), X8 = ({
|
|
2134
2142
|
active: e,
|
|
2135
2143
|
className: t = "",
|
|
2136
2144
|
disabled: n
|
|
@@ -2179,7 +2187,7 @@ const a5 = () => {
|
|
|
2179
2187
|
active: e,
|
|
2180
2188
|
disabled: n
|
|
2181
2189
|
}
|
|
2182
|
-
),
|
|
2190
|
+
), Q8 = ({
|
|
2183
2191
|
active: e,
|
|
2184
2192
|
className: t = "",
|
|
2185
2193
|
disabled: n
|
|
@@ -2228,7 +2236,7 @@ const a5 = () => {
|
|
|
2228
2236
|
active: e,
|
|
2229
2237
|
disabled: n
|
|
2230
2238
|
}
|
|
2231
|
-
),
|
|
2239
|
+
), N8 = ({
|
|
2232
2240
|
active: e,
|
|
2233
2241
|
className: t = "",
|
|
2234
2242
|
disabled: n
|
|
@@ -2277,7 +2285,7 @@ const a5 = () => {
|
|
|
2277
2285
|
active: e,
|
|
2278
2286
|
disabled: n
|
|
2279
2287
|
}
|
|
2280
|
-
),
|
|
2288
|
+
), e6 = ({
|
|
2281
2289
|
active: e,
|
|
2282
2290
|
// Just to shut up the linter on this template. Prefer deleting this lint rule
|
|
2283
2291
|
className: t = "",
|
|
@@ -2345,7 +2353,7 @@ const a5 = () => {
|
|
|
2345
2353
|
active: e,
|
|
2346
2354
|
disabled: n
|
|
2347
2355
|
}
|
|
2348
|
-
),
|
|
2356
|
+
), t6 = ({
|
|
2349
2357
|
active: e,
|
|
2350
2358
|
className: t = "",
|
|
2351
2359
|
disabled: n
|
|
@@ -2394,7 +2402,7 @@ const a5 = () => {
|
|
|
2394
2402
|
active: e,
|
|
2395
2403
|
disabled: n
|
|
2396
2404
|
}
|
|
2397
|
-
),
|
|
2405
|
+
), s6 = ({
|
|
2398
2406
|
active: e,
|
|
2399
2407
|
className: t = "",
|
|
2400
2408
|
disabled: n
|
|
@@ -2443,7 +2451,7 @@ const a5 = () => {
|
|
|
2443
2451
|
active: e,
|
|
2444
2452
|
disabled: n
|
|
2445
2453
|
}
|
|
2446
|
-
),
|
|
2454
|
+
), n6 = ({
|
|
2447
2455
|
active: e,
|
|
2448
2456
|
className: t = "",
|
|
2449
2457
|
disabled: n
|
|
@@ -2492,7 +2500,7 @@ const a5 = () => {
|
|
|
2492
2500
|
active: e,
|
|
2493
2501
|
disabled: n
|
|
2494
2502
|
}
|
|
2495
|
-
),
|
|
2503
|
+
), o6 = ({
|
|
2496
2504
|
active: e,
|
|
2497
2505
|
className: t = "",
|
|
2498
2506
|
disabled: n
|
|
@@ -2541,7 +2549,7 @@ const a5 = () => {
|
|
|
2541
2549
|
active: e,
|
|
2542
2550
|
disabled: n
|
|
2543
2551
|
}
|
|
2544
|
-
),
|
|
2552
|
+
), c6 = ({
|
|
2545
2553
|
active: e,
|
|
2546
2554
|
className: t = "",
|
|
2547
2555
|
disabled: n
|
|
@@ -2563,7 +2571,7 @@ const a5 = () => {
|
|
|
2563
2571
|
active: e,
|
|
2564
2572
|
disabled: n
|
|
2565
2573
|
}
|
|
2566
|
-
),
|
|
2574
|
+
), r6 = ({
|
|
2567
2575
|
active: e,
|
|
2568
2576
|
className: t = "",
|
|
2569
2577
|
disabled: n
|
|
@@ -2612,7 +2620,7 @@ const a5 = () => {
|
|
|
2612
2620
|
active: e,
|
|
2613
2621
|
disabled: n
|
|
2614
2622
|
}
|
|
2615
|
-
),
|
|
2623
|
+
), l6 = ({
|
|
2616
2624
|
active: e,
|
|
2617
2625
|
className: t = "",
|
|
2618
2626
|
disabled: n
|
|
@@ -2661,7 +2669,7 @@ const a5 = () => {
|
|
|
2661
2669
|
active: e,
|
|
2662
2670
|
disabled: n
|
|
2663
2671
|
}
|
|
2664
|
-
),
|
|
2672
|
+
), i6 = ({
|
|
2665
2673
|
active: e,
|
|
2666
2674
|
className: t = "",
|
|
2667
2675
|
disabled: n
|
|
@@ -2710,7 +2718,7 @@ const a5 = () => {
|
|
|
2710
2718
|
active: e,
|
|
2711
2719
|
disabled: n
|
|
2712
2720
|
}
|
|
2713
|
-
),
|
|
2721
|
+
), a6 = ({
|
|
2714
2722
|
active: e,
|
|
2715
2723
|
className: t = "",
|
|
2716
2724
|
disabled: n
|
|
@@ -2759,7 +2767,7 @@ const a5 = () => {
|
|
|
2759
2767
|
active: e,
|
|
2760
2768
|
disabled: n
|
|
2761
2769
|
}
|
|
2762
|
-
),
|
|
2770
|
+
), u6 = ({
|
|
2763
2771
|
active: e,
|
|
2764
2772
|
className: t = "",
|
|
2765
2773
|
disabled: n
|
|
@@ -2808,7 +2816,7 @@ const a5 = () => {
|
|
|
2808
2816
|
active: e,
|
|
2809
2817
|
disabled: n
|
|
2810
2818
|
}
|
|
2811
|
-
),
|
|
2819
|
+
), d6 = ({
|
|
2812
2820
|
active: e,
|
|
2813
2821
|
// Just to shut up the linter on this template. Prefer deleting this lint rule
|
|
2814
2822
|
className: t = "",
|
|
@@ -2876,7 +2884,7 @@ const a5 = () => {
|
|
|
2876
2884
|
active: e,
|
|
2877
2885
|
disabled: n
|
|
2878
2886
|
}
|
|
2879
|
-
),
|
|
2887
|
+
), v6 = ({
|
|
2880
2888
|
active: e,
|
|
2881
2889
|
className: t = "",
|
|
2882
2890
|
disabled: n
|
|
@@ -2925,7 +2933,7 @@ const a5 = () => {
|
|
|
2925
2933
|
active: e,
|
|
2926
2934
|
disabled: n
|
|
2927
2935
|
}
|
|
2928
|
-
),
|
|
2936
|
+
), h6 = ({
|
|
2929
2937
|
active: e,
|
|
2930
2938
|
className: t = "",
|
|
2931
2939
|
disabled: n
|
|
@@ -2974,7 +2982,7 @@ const a5 = () => {
|
|
|
2974
2982
|
active: e,
|
|
2975
2983
|
disabled: n
|
|
2976
2984
|
}
|
|
2977
|
-
),
|
|
2985
|
+
), d5 = ({
|
|
2978
2986
|
active: e,
|
|
2979
2987
|
// Just to shut up the linter on this template. Prefer deleting this lint rule
|
|
2980
2988
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
@@ -2989,7 +2997,7 @@ const a5 = () => {
|
|
|
2989
2997
|
active: e,
|
|
2990
2998
|
disabled: n
|
|
2991
2999
|
}
|
|
2992
|
-
),
|
|
3000
|
+
), g6 = ({
|
|
2993
3001
|
active: e,
|
|
2994
3002
|
className: t = "",
|
|
2995
3003
|
disabled: n
|
|
@@ -3038,7 +3046,7 @@ const a5 = () => {
|
|
|
3038
3046
|
active: e,
|
|
3039
3047
|
disabled: n
|
|
3040
3048
|
}
|
|
3041
|
-
),
|
|
3049
|
+
), f6 = ({
|
|
3042
3050
|
active: e,
|
|
3043
3051
|
className: t = "",
|
|
3044
3052
|
disabled: n
|
|
@@ -3087,7 +3095,7 @@ const a5 = () => {
|
|
|
3087
3095
|
active: e,
|
|
3088
3096
|
disabled: n
|
|
3089
3097
|
}
|
|
3090
|
-
),
|
|
3098
|
+
), p6 = ({
|
|
3091
3099
|
active: e,
|
|
3092
3100
|
className: t = "",
|
|
3093
3101
|
disabled: n
|
|
@@ -3136,7 +3144,7 @@ const a5 = () => {
|
|
|
3136
3144
|
active: e,
|
|
3137
3145
|
disabled: n
|
|
3138
3146
|
}
|
|
3139
|
-
),
|
|
3147
|
+
), w6 = ({
|
|
3140
3148
|
active: e,
|
|
3141
3149
|
className: t = "",
|
|
3142
3150
|
disabled: n
|
|
@@ -3185,7 +3193,7 @@ const a5 = () => {
|
|
|
3185
3193
|
active: e,
|
|
3186
3194
|
disabled: n
|
|
3187
3195
|
}
|
|
3188
|
-
),
|
|
3196
|
+
), x6 = ({
|
|
3189
3197
|
active: e,
|
|
3190
3198
|
className: t = "",
|
|
3191
3199
|
disabled: n
|
|
@@ -3234,7 +3242,7 @@ const a5 = () => {
|
|
|
3234
3242
|
active: e,
|
|
3235
3243
|
disabled: n
|
|
3236
3244
|
}
|
|
3237
|
-
),
|
|
3245
|
+
), M6 = ({
|
|
3238
3246
|
active: e,
|
|
3239
3247
|
className: t = "",
|
|
3240
3248
|
disabled: n
|
|
@@ -3283,7 +3291,7 @@ const a5 = () => {
|
|
|
3283
3291
|
active: e,
|
|
3284
3292
|
disabled: n
|
|
3285
3293
|
}
|
|
3286
|
-
),
|
|
3294
|
+
), m6 = ({
|
|
3287
3295
|
active: e,
|
|
3288
3296
|
className: t = "",
|
|
3289
3297
|
disabled: n
|
|
@@ -3332,7 +3340,7 @@ const a5 = () => {
|
|
|
3332
3340
|
active: e,
|
|
3333
3341
|
disabled: n
|
|
3334
3342
|
}
|
|
3335
|
-
),
|
|
3343
|
+
), Z6 = ({
|
|
3336
3344
|
active: e,
|
|
3337
3345
|
className: t = "",
|
|
3338
3346
|
disabled: n
|
|
@@ -3381,150 +3389,150 @@ const a5 = () => {
|
|
|
3381
3389
|
active: e,
|
|
3382
3390
|
disabled: n
|
|
3383
3391
|
}
|
|
3384
|
-
),
|
|
3385
|
-
Alert:
|
|
3386
|
-
Camera:
|
|
3387
|
-
DownArrow:
|
|
3388
|
-
Ban:
|
|
3389
|
-
Check:
|
|
3390
|
-
Controller:
|
|
3391
|
-
Elipses:
|
|
3392
|
-
Flag:
|
|
3393
|
-
Gear:
|
|
3394
|
-
Glass:
|
|
3395
|
-
Hdmi:
|
|
3396
|
-
Laptop:
|
|
3397
|
-
LeftArrow:
|
|
3398
|
-
Light:
|
|
3399
|
-
Mic:
|
|
3400
|
-
Moon:
|
|
3401
|
-
Playstation:
|
|
3402
|
-
Podium:
|
|
3403
|
-
Power:
|
|
3404
|
-
Privacy:
|
|
3405
|
-
Question:
|
|
3406
|
-
RightArrow:
|
|
3407
|
-
RoomPC:
|
|
3408
|
-
Shade:
|
|
3409
|
-
Sun:
|
|
3410
|
-
UpArrow:
|
|
3411
|
-
VolDown:
|
|
3412
|
-
VolMute:
|
|
3413
|
-
VolUp:
|
|
3414
|
-
Wireless:
|
|
3415
|
-
X:
|
|
3416
|
-
Xbox:
|
|
3392
|
+
), j6 = {
|
|
3393
|
+
Alert: H8,
|
|
3394
|
+
Camera: G8,
|
|
3395
|
+
DownArrow: z8,
|
|
3396
|
+
Ban: K8,
|
|
3397
|
+
Check: q8,
|
|
3398
|
+
Controller: Y8,
|
|
3399
|
+
Elipses: J8,
|
|
3400
|
+
Flag: X8,
|
|
3401
|
+
Gear: Q8,
|
|
3402
|
+
Glass: N8,
|
|
3403
|
+
Hdmi: e6,
|
|
3404
|
+
Laptop: t6,
|
|
3405
|
+
LeftArrow: s6,
|
|
3406
|
+
Light: n6,
|
|
3407
|
+
Mic: Z6,
|
|
3408
|
+
Moon: o6,
|
|
3409
|
+
Playstation: c6,
|
|
3410
|
+
Podium: r6,
|
|
3411
|
+
Power: l6,
|
|
3412
|
+
Privacy: i6,
|
|
3413
|
+
Question: a6,
|
|
3414
|
+
RightArrow: u6,
|
|
3415
|
+
RoomPC: d6,
|
|
3416
|
+
Shade: v6,
|
|
3417
|
+
Sun: h6,
|
|
3418
|
+
UpArrow: g6,
|
|
3419
|
+
VolDown: f6,
|
|
3420
|
+
VolMute: p6,
|
|
3421
|
+
VolUp: w6,
|
|
3422
|
+
Wireless: x6,
|
|
3423
|
+
X: M6,
|
|
3424
|
+
Xbox: m6
|
|
3417
3425
|
};
|
|
3418
|
-
function
|
|
3426
|
+
function v5({
|
|
3419
3427
|
name: e,
|
|
3420
|
-
iconsDictionary: t =
|
|
3428
|
+
iconsDictionary: t = j6,
|
|
3421
3429
|
...n
|
|
3422
3430
|
}) {
|
|
3423
3431
|
const c = t[e] ?? null;
|
|
3424
|
-
return c || console.error(`Icon ${e} not found in dictionary`), /* @__PURE__ */ s.jsx(
|
|
3425
|
-
}
|
|
3426
|
-
const
|
|
3427
|
-
grid:
|
|
3428
|
-
header:
|
|
3429
|
-
content:
|
|
3430
|
-
footer:
|
|
3431
|
-
volume:
|
|
3432
|
-
},
|
|
3432
|
+
return c || console.error(`Icon ${e} not found in dictionary`), /* @__PURE__ */ s.jsx(F8, { multiIcon: c, ...n });
|
|
3433
|
+
}
|
|
3434
|
+
const S6 = "_grid_1cmpp_1", C6 = "_header_1cmpp_11", b6 = "_content_1cmpp_17", I6 = "_footer_1cmpp_23", R6 = "_volume_1cmpp_29", v1 = {
|
|
3435
|
+
grid: S6,
|
|
3436
|
+
header: C6,
|
|
3437
|
+
content: b6,
|
|
3438
|
+
footer: I6,
|
|
3439
|
+
volume: R6
|
|
3440
|
+
}, h5 = ({ header: e, footer: t, content: n, volume: c, showVolume: r }) => /* @__PURE__ */ s.jsxs("div", { className: v1.grid, children: [
|
|
3433
3441
|
/* @__PURE__ */ s.jsx("div", { className: v1.header, children: e }),
|
|
3434
3442
|
/* @__PURE__ */ s.jsx("div", { className: v1.content, children: n }),
|
|
3435
3443
|
r && /* @__PURE__ */ s.jsx("div", { className: v1.volume, children: c }),
|
|
3436
3444
|
/* @__PURE__ */ s.jsx("div", { className: v1.footer, children: t })
|
|
3437
|
-
] }),
|
|
3438
|
-
grid:
|
|
3439
|
-
header:
|
|
3440
|
-
content:
|
|
3441
|
-
},
|
|
3445
|
+
] }), y6 = "_grid_11w5q_1", E6 = "_header_11w5q_11", P6 = "_content_11w5q_17", Z1 = {
|
|
3446
|
+
grid: y6,
|
|
3447
|
+
header: E6,
|
|
3448
|
+
content: P6
|
|
3449
|
+
}, g5 = ({ className: e, header: t, content: n, leftNav: c }) => /* @__PURE__ */ s.jsxs("div", { className: `${e} ${Z1.grid}`, children: [
|
|
3442
3450
|
/* @__PURE__ */ s.jsx("div", { className: Z1.header, children: t }),
|
|
3443
3451
|
c && /* @__PURE__ */ s.jsx("div", { className: Z1.leftNav, children: c }),
|
|
3444
3452
|
/* @__PURE__ */ s.jsx("div", { className: Z1.content, children: n })
|
|
3445
|
-
] }),
|
|
3446
|
-
grid:
|
|
3447
|
-
header:
|
|
3448
|
-
content:
|
|
3449
|
-
},
|
|
3453
|
+
] }), T6 = "_grid_1uwfo_1", _6 = "_header_1uwfo_11", D6 = "_content_1uwfo_17", A1 = {
|
|
3454
|
+
grid: T6,
|
|
3455
|
+
header: _6,
|
|
3456
|
+
content: D6
|
|
3457
|
+
}, f5 = ({ className: e, header: t, content: n }) => /* @__PURE__ */ s.jsxs("div", { className: `${e} ${A1.grid}`, children: [
|
|
3450
3458
|
/* @__PURE__ */ s.jsx("div", { className: A1.header, children: t }),
|
|
3451
3459
|
/* @__PURE__ */ s.jsx("div", { className: A1.content, children: n })
|
|
3452
3460
|
] });
|
|
3453
|
-
class
|
|
3461
|
+
class p5 {
|
|
3454
3462
|
constructor() {
|
|
3455
|
-
|
|
3456
|
-
|
|
3457
|
-
|
|
3463
|
+
q(this, "currentShareText");
|
|
3464
|
+
q(this, "enabled");
|
|
3465
|
+
q(this, "isSharing");
|
|
3458
3466
|
}
|
|
3459
3467
|
}
|
|
3460
|
-
function
|
|
3468
|
+
function w5() {
|
|
3461
3469
|
return console.log(location.pathname), location.pathname;
|
|
3462
3470
|
}
|
|
3463
|
-
var
|
|
3464
|
-
class
|
|
3471
|
+
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 || {});
|
|
3472
|
+
class x5 {
|
|
3465
3473
|
constructor(t, n) {
|
|
3466
|
-
|
|
3467
|
-
|
|
3474
|
+
q(this, "path");
|
|
3475
|
+
q(this, "handler");
|
|
3468
3476
|
this.path = t, this.handler = n;
|
|
3469
3477
|
}
|
|
3470
3478
|
}
|
|
3471
|
-
const
|
|
3479
|
+
const M5 = "$off";
|
|
3472
3480
|
export {
|
|
3473
3481
|
Ce as Clock,
|
|
3474
|
-
|
|
3475
|
-
|
|
3476
|
-
|
|
3477
|
-
|
|
3478
|
-
|
|
3479
|
-
|
|
3480
|
-
|
|
3481
|
-
|
|
3482
|
-
|
|
3483
|
-
|
|
3484
|
-
|
|
3485
|
-
|
|
3486
|
-
|
|
3487
|
-
|
|
3488
|
-
|
|
3489
|
-
|
|
3490
|
-
|
|
3491
|
-
|
|
3492
|
-
|
|
3493
|
-
|
|
3494
|
-
|
|
3495
|
-
|
|
3496
|
-
|
|
3497
|
-
|
|
3498
|
-
|
|
3499
|
-
|
|
3500
|
-
|
|
3501
|
-
|
|
3502
|
-
|
|
3503
|
-
|
|
3504
|
-
|
|
3505
|
-
|
|
3506
|
-
|
|
3507
|
-
|
|
3508
|
-
|
|
3509
|
-
|
|
3510
|
-
|
|
3511
|
-
|
|
3482
|
+
L6 as DaysOfWeek,
|
|
3483
|
+
u5 as ErrorBox,
|
|
3484
|
+
F8 as IconButton,
|
|
3485
|
+
H8 as IconMultiAlert,
|
|
3486
|
+
K8 as IconMultiBan,
|
|
3487
|
+
G8 as IconMultiCamera,
|
|
3488
|
+
q8 as IconMultiCheck,
|
|
3489
|
+
Y8 as IconMultiController,
|
|
3490
|
+
z8 as IconMultiDownArrow,
|
|
3491
|
+
J8 as IconMultiElipses,
|
|
3492
|
+
X8 as IconMultiFlag,
|
|
3493
|
+
Q8 as IconMultiGear,
|
|
3494
|
+
N8 as IconMultiGlass,
|
|
3495
|
+
e6 as IconMultiHdmi,
|
|
3496
|
+
t6 as IconMultiLaptop,
|
|
3497
|
+
s6 as IconMultiLeftArrow,
|
|
3498
|
+
n6 as IconMultiLight,
|
|
3499
|
+
Z6 as IconMultiMic,
|
|
3500
|
+
o6 as IconMultiMoon,
|
|
3501
|
+
c6 as IconMultiPlaystation,
|
|
3502
|
+
r6 as IconMultiPodium,
|
|
3503
|
+
l6 as IconMultiPower,
|
|
3504
|
+
i6 as IconMultiPrivacy,
|
|
3505
|
+
a6 as IconMultiQuestion,
|
|
3506
|
+
u6 as IconMultiRightArrow,
|
|
3507
|
+
d6 as IconMultiRoomPC,
|
|
3508
|
+
v6 as IconMultiShade,
|
|
3509
|
+
h6 as IconMultiSun,
|
|
3510
|
+
d5 as IconMultiTemplate,
|
|
3511
|
+
g6 as IconMultiUpArrow,
|
|
3512
|
+
f6 as IconMultiVolDown,
|
|
3513
|
+
p6 as IconMultiVolMute,
|
|
3514
|
+
w6 as IconMultiVolUp,
|
|
3515
|
+
x6 as IconMultiWireless,
|
|
3516
|
+
M6 as IconMultiX,
|
|
3517
|
+
m6 as IconMultiXbox,
|
|
3518
|
+
h5 as MainLayout,
|
|
3519
|
+
x5 as MessageHandler,
|
|
3512
3520
|
me as MobileControlProvider,
|
|
3513
3521
|
j as MultiStateIconContainer,
|
|
3514
|
-
|
|
3515
|
-
|
|
3516
|
-
|
|
3517
|
-
|
|
3518
|
-
|
|
3519
|
-
|
|
3522
|
+
v5 as NamedIconButton,
|
|
3523
|
+
p5 as ShareState,
|
|
3524
|
+
g5 as TechLayout,
|
|
3525
|
+
f5 as TechPinLayout,
|
|
3526
|
+
R3 as WebsocketContext,
|
|
3527
|
+
M8 as appConfigActions,
|
|
3520
3528
|
N as devicesActions,
|
|
3521
|
-
|
|
3529
|
+
w5 as getBaseLocation,
|
|
3522
3530
|
V1 as httpClient,
|
|
3523
|
-
|
|
3524
|
-
|
|
3531
|
+
j6 as iconsDictionary,
|
|
3532
|
+
M5 as roomOffSourceKey,
|
|
3525
3533
|
e1 as roomsActions,
|
|
3526
3534
|
W as runtimeConfigActions,
|
|
3527
|
-
|
|
3535
|
+
j3 as selectAllDevices,
|
|
3528
3536
|
x2 as selectApiPath,
|
|
3529
3537
|
w2 as selectAppConfig,
|
|
3530
3538
|
Y2 as selectClientId,
|
|
@@ -3569,31 +3577,31 @@ export {
|
|
|
3569
3577
|
G2 as selectWsIsConnected,
|
|
3570
3578
|
W2 as selectZoomRoomControllerKey,
|
|
3571
3579
|
m as store,
|
|
3572
|
-
|
|
3573
|
-
|
|
3574
|
-
|
|
3580
|
+
F as uiActions,
|
|
3581
|
+
w8 as uiReducer,
|
|
3582
|
+
U6 as useApiPath,
|
|
3575
3583
|
Z2 as useAppConfig,
|
|
3576
|
-
|
|
3584
|
+
m3 as useAppDispatch,
|
|
3577
3585
|
p as useAppSelector,
|
|
3578
3586
|
je as useAvrControl,
|
|
3579
3587
|
h as useButtonHeldHeartbeat,
|
|
3580
3588
|
Se as useCameraBase,
|
|
3581
3589
|
n8 as useClientId,
|
|
3582
|
-
|
|
3583
|
-
|
|
3590
|
+
O8 as useDeviceIBasicVolumeWithFeedback,
|
|
3591
|
+
he as useDeviceInterfaceSupport,
|
|
3584
3592
|
be as useDevicePresetsModel,
|
|
3585
3593
|
Ie as useEndpoint,
|
|
3586
3594
|
h8 as useError,
|
|
3587
3595
|
n5 as useGetAllDeviceStateFromRoomConfiguration,
|
|
3588
|
-
|
|
3589
|
-
|
|
3590
|
-
|
|
3596
|
+
H6 as useGetAllDevices,
|
|
3597
|
+
G6 as useGetAllRooms,
|
|
3598
|
+
we as useGetCurrentPopoverIdForGroup,
|
|
3591
3599
|
y as useGetDevice,
|
|
3592
3600
|
Ze as useGetIBasicVolumeWithFeedback,
|
|
3593
|
-
|
|
3594
|
-
|
|
3595
|
-
|
|
3596
|
-
|
|
3601
|
+
q6 as useGetRoom,
|
|
3602
|
+
ie as useGetRoomDisplayStates,
|
|
3603
|
+
ae as useGetZoomRoomControllerKey,
|
|
3604
|
+
y3 as useIBasicVolumeWithFeedback,
|
|
3597
3605
|
Re as useIChannel,
|
|
3598
3606
|
ye as useIColor,
|
|
3599
3607
|
Ee as useICommunicationMonitor,
|
|
@@ -3603,7 +3611,7 @@ export {
|
|
|
3603
3611
|
De as useIDvr,
|
|
3604
3612
|
Le as useIEssentialsRoomCombiner,
|
|
3605
3613
|
$e as useIHasCameras,
|
|
3606
|
-
|
|
3614
|
+
E3 as useIHasPowerControl,
|
|
3607
3615
|
k1 as useIHasSelectableItems,
|
|
3608
3616
|
Ae as useIHumiditySensor,
|
|
3609
3617
|
Be as useILevelControls,
|
|
@@ -3624,49 +3632,50 @@ export {
|
|
|
3624
3632
|
Qe as useITemperatureSensor,
|
|
3625
3633
|
Ne as useITheme,
|
|
3626
3634
|
e5 as useITransport,
|
|
3627
|
-
|
|
3628
|
-
|
|
3629
|
-
|
|
3630
|
-
|
|
3635
|
+
I8 as useInitialize,
|
|
3636
|
+
f8 as useIsSyncStateValuePresent,
|
|
3637
|
+
ve as useIsTouchpanel,
|
|
3638
|
+
W6 as useLogoPath,
|
|
3631
3639
|
t5 as useMobileControlTouchpanelController,
|
|
3632
3640
|
o5 as useOverflow,
|
|
3633
|
-
|
|
3634
|
-
|
|
3635
|
-
|
|
3636
|
-
|
|
3637
|
-
|
|
3638
|
-
|
|
3639
|
-
|
|
3640
|
-
|
|
3641
|
-
|
|
3641
|
+
F6 as usePartnerMetadata,
|
|
3642
|
+
B8 as usePressHoldRelease,
|
|
3643
|
+
re as useRoomAdvancedSharingActive,
|
|
3644
|
+
J6 as useRoomAudioControlPointList,
|
|
3645
|
+
te as useRoomCodecContentDestinationKey,
|
|
3646
|
+
K6 as useRoomConfiguration,
|
|
3647
|
+
Q6 as useRoomDestinationList,
|
|
3648
|
+
X6 as useRoomDestinations,
|
|
3649
|
+
N6 as useRoomEnvironmentalDevices,
|
|
3642
3650
|
c5 as useRoomIBasicVolumeWithFeedback,
|
|
3643
|
-
|
|
3644
|
-
|
|
3645
|
-
|
|
3646
|
-
|
|
3651
|
+
se as useRoomInCall,
|
|
3652
|
+
oe as useRoomIsCoolingDown,
|
|
3653
|
+
ce as useRoomIsOn,
|
|
3654
|
+
ne as useRoomIsWarmingUp,
|
|
3647
3655
|
s8 as useRoomKey,
|
|
3648
3656
|
K2 as useRoomLevelControls,
|
|
3649
|
-
|
|
3650
|
-
|
|
3651
|
-
|
|
3652
|
-
|
|
3657
|
+
Y6 as useRoomName,
|
|
3658
|
+
ee as useRoomProgramAudioDestinationKey,
|
|
3659
|
+
le as useRoomShareState,
|
|
3660
|
+
z6 as useRoomSourceList,
|
|
3653
3661
|
S1 as useRoomState,
|
|
3654
3662
|
H2 as useRoomVolume,
|
|
3655
|
-
|
|
3663
|
+
ue as useRuntimeInfo,
|
|
3656
3664
|
r5 as useScroll,
|
|
3657
3665
|
r8 as useServerIsRunningOnProcessorHardware,
|
|
3658
|
-
|
|
3659
|
-
|
|
3660
|
-
|
|
3666
|
+
fe as useShowIncomingCallModal,
|
|
3667
|
+
pe as useShowModal,
|
|
3668
|
+
xe as useShowPopoverById,
|
|
3661
3669
|
g8 as useShowReconnect,
|
|
3662
|
-
|
|
3663
|
-
l5 as
|
|
3670
|
+
ge as useShowShutdownModal,
|
|
3671
|
+
l5 as useStateIsSynced,
|
|
3672
|
+
i5 as useSystemControl,
|
|
3664
3673
|
o8 as useSystemUuid,
|
|
3665
|
-
|
|
3666
|
-
|
|
3667
|
-
|
|
3674
|
+
Me as useTheme,
|
|
3675
|
+
a5 as useTimeAndDate,
|
|
3676
|
+
de as useTouchpanelKey,
|
|
3668
3677
|
s5 as useTwoWayDisplayBase,
|
|
3669
3678
|
c8 as useUserCode,
|
|
3670
3679
|
b as useWebsocketContext,
|
|
3671
|
-
|
|
3680
|
+
S3 as useWsIsConnected
|
|
3672
3681
|
};
|