@pepperdash/mobile-control-react-app-core 1.22.6-volume-hook-fix.1 → 1.22.6-volume-hook-fix.2
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,23 +1,23 @@
|
|
|
1
1
|
var w2 = Object.defineProperty;
|
|
2
2
|
var p2 = (e, t, o) => t in e ? w2(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o;
|
|
3
3
|
var q = (e, t, o) => p2(e, typeof t != "symbol" ? t + "" : t, o);
|
|
4
|
-
import
|
|
4
|
+
import M3, { AxiosError as m2 } from "axios";
|
|
5
5
|
import { useDispatch as M2, useSelector as x2, Provider as Z2 } from "react-redux";
|
|
6
6
|
import { createSelector as p, createSlice as a1, combineReducers as S2, configureStore as j2 } from "@reduxjs/toolkit";
|
|
7
|
-
import
|
|
7
|
+
import x3, { createContext as C2, useEffect as m1, useCallback as c1, useContext as b2, useRef as A1, useMemo as M1, useState as Y, useLayoutEffect as Z3 } from "react";
|
|
8
8
|
import { useNavigate as y2, useRouteError as I2, isRouteErrorResponse as R2 } from "react-router-dom";
|
|
9
9
|
import * as S3 from "lodash";
|
|
10
|
-
const
|
|
11
|
-
|
|
10
|
+
const W1 = M2.withTypes(), f = x2.withTypes(), x1 = (e) => e.appConfig, E2 = p(
|
|
11
|
+
x1,
|
|
12
12
|
(e) => e.config
|
|
13
13
|
), T2 = p(
|
|
14
|
-
|
|
14
|
+
x1,
|
|
15
15
|
(e) => e.config.apiPath
|
|
16
16
|
), D2 = p(
|
|
17
|
-
|
|
17
|
+
x1,
|
|
18
18
|
(e) => e.config.logoPath
|
|
19
19
|
), _2 = p(
|
|
20
|
-
|
|
20
|
+
x1,
|
|
21
21
|
(e) => e.config.partnerMetadata
|
|
22
22
|
), X8 = () => f(E2), Q8 = () => f(T2), N8 = () => f(D2), e6 = () => f(_2), j3 = (e) => e.devices, C3 = p(
|
|
23
23
|
j3,
|
|
@@ -154,10 +154,10 @@ function n6(e) {
|
|
|
154
154
|
function o6() {
|
|
155
155
|
return f($2);
|
|
156
156
|
}
|
|
157
|
-
function
|
|
157
|
+
function Z1(e) {
|
|
158
158
|
return f(A2(e));
|
|
159
159
|
}
|
|
160
|
-
const s6 =
|
|
160
|
+
const s6 = Z1, c6 = (e) => f(
|
|
161
161
|
B2(e)
|
|
162
162
|
), te = (e, t) => f(
|
|
163
163
|
k2(e, t)
|
|
@@ -203,7 +203,7 @@ const s6 = x1, c6 = (e) => f(
|
|
|
203
203
|
), ve = (e, t) => p(
|
|
204
204
|
y3(e),
|
|
205
205
|
(o) => o.includes(t)
|
|
206
|
-
), I3 = () => f(oe), Z6 = () => f(se), S6 = () => f(ce), j6 = () => f(re), C6 = () => f(le), b6 = () => f(ie), y6 = () => f(ae), I6 = () => f(ue), R6 = () => f(de), E6 = () => f(b3), T6 = (e) => f(y3(e)), D6 = (e, t) => f(ve(e, t)), N = (e) => e.ui,
|
|
206
|
+
), I3 = () => f(oe), Z6 = () => f(se), S6 = () => f(ce), j6 = () => f(re), C6 = () => f(le), b6 = () => f(ie), y6 = () => f(ae), I6 = () => f(ue), R6 = () => f(de), E6 = () => f(b3), T6 = (e) => f(y3(e)), D6 = (e, t) => f(ve(e, t)), N = (e) => e.ui, V1 = (e) => p(N, (t) => t.modalVisibility[e]), he = (e) => p(N, (t) => {
|
|
207
207
|
const o = t.popoverVisibility[e];
|
|
208
208
|
if (o)
|
|
209
209
|
return Object.keys(o).find((c) => o[c]);
|
|
@@ -216,7 +216,7 @@ const s6 = x1, c6 = (e) => f(
|
|
|
216
216
|
), fe = p(N, (e) => e.error), we = p(
|
|
217
217
|
N,
|
|
218
218
|
(e) => e.showReconnect
|
|
219
|
-
), pe = p(N, (e) => e.theme), me = (e) => p(N, (t) => t.syncState.includes(e)), _6 = () => f(
|
|
219
|
+
), pe = p(N, (e) => e.theme), me = (e) => p(N, (t) => t.syncState.includes(e)), _6 = () => f(V1("showShutdownModal")), P6 = () => f(V1("showIncomingCallModal")), L6 = (e) => f(V1(e)), $6 = (e) => f(he(e)), A6 = (e, t) => f(ge(e, t)), Me = () => f(fe), xe = () => f(we), B6 = () => f(pe), Ze = (e) => f(me(e)), Se = {
|
|
220
220
|
showReconnect: !1,
|
|
221
221
|
error: "",
|
|
222
222
|
modalVisibility: {
|
|
@@ -289,9 +289,9 @@ const s6 = x1, c6 = (e) => f(
|
|
|
289
289
|
e.config = t.payload;
|
|
290
290
|
}
|
|
291
291
|
}
|
|
292
|
-
}), T3 = E3.actions, be = E3.reducer,
|
|
292
|
+
}), T3 = E3.actions, be = E3.reducer, v3 = {}, B1 = a1({
|
|
293
293
|
name: "devices",
|
|
294
|
-
initialState:
|
|
294
|
+
initialState: v3,
|
|
295
295
|
reducers: {
|
|
296
296
|
setDeviceState(e, t) {
|
|
297
297
|
const o = t.payload.type, c = o.slice(o.lastIndexOf("/") + 1);
|
|
@@ -300,13 +300,13 @@ const s6 = x1, c6 = (e) => f(
|
|
|
300
300
|
e[c] = v;
|
|
301
301
|
},
|
|
302
302
|
clearDevices() {
|
|
303
|
-
return
|
|
303
|
+
return v3;
|
|
304
304
|
}
|
|
305
305
|
}
|
|
306
306
|
}), g1 = {
|
|
307
|
-
setDeviceState:
|
|
308
|
-
clearDevices:
|
|
309
|
-
}, ye =
|
|
307
|
+
setDeviceState: B1.actions.setDeviceState,
|
|
308
|
+
clearDevices: B1.actions.clearDevices
|
|
309
|
+
}, ye = B1.reducer;
|
|
310
310
|
class Ie {
|
|
311
311
|
constructor() {
|
|
312
312
|
q(this, "uuid", "current-uuid");
|
|
@@ -315,16 +315,16 @@ class Ie {
|
|
|
315
315
|
q(this, "expiry", "current-uuid-expires");
|
|
316
316
|
}
|
|
317
317
|
}
|
|
318
|
-
const
|
|
318
|
+
const h3 = new Ie();
|
|
319
319
|
function Re(e) {
|
|
320
320
|
return sessionStorage.getItem(e) || "";
|
|
321
321
|
}
|
|
322
322
|
function Ee(e, t) {
|
|
323
323
|
sessionStorage.setItem(e, t);
|
|
324
324
|
}
|
|
325
|
-
const
|
|
325
|
+
const g3 = {}, k1 = a1({
|
|
326
326
|
name: "rooms",
|
|
327
|
-
initialState:
|
|
327
|
+
initialState: g3,
|
|
328
328
|
reducers: {
|
|
329
329
|
setRoomState(e, t) {
|
|
330
330
|
const o = t.payload.type, c = o.slice(o.lastIndexOf("/") + 1);
|
|
@@ -333,13 +333,13 @@ const h3 = {}, B1 = a1({
|
|
|
333
333
|
e[c] = v;
|
|
334
334
|
},
|
|
335
335
|
clearRooms() {
|
|
336
|
-
return
|
|
336
|
+
return g3;
|
|
337
337
|
}
|
|
338
338
|
}
|
|
339
339
|
}), f1 = {
|
|
340
|
-
setRoomState:
|
|
341
|
-
clearRooms:
|
|
342
|
-
}, Te =
|
|
340
|
+
setRoomState: k1.actions.setRoomState,
|
|
341
|
+
clearRooms: k1.actions.clearRooms
|
|
342
|
+
}, Te = k1.reducer, De = {
|
|
343
343
|
apiVersion: "",
|
|
344
344
|
serverIsRunningOnProcessorHardware: !1,
|
|
345
345
|
websocket: {
|
|
@@ -405,7 +405,7 @@ const h3 = {}, B1 = a1({
|
|
|
405
405
|
e.touchpanelKey = t.payload;
|
|
406
406
|
}
|
|
407
407
|
}
|
|
408
|
-
}), U = D3.actions, _e = D3.reducer,
|
|
408
|
+
}), U = D3.actions, _e = D3.reducer, P1 = M3.create(), _3 = "websocket/connect", P3 = "websocket/disconnect", L3 = "websocket/sendMessage", $3 = "websocket/addEventHandler", A3 = "websocket/removeEventHandler", B3 = "websocket/reconnect", k3 = () => ({ type: _3 }), k6 = () => ({ type: P3 }), Pe = (e, t) => ({
|
|
409
409
|
type: L3,
|
|
410
410
|
payload: { messageType: e, content: t }
|
|
411
411
|
}), Le = (e, t, o) => ({
|
|
@@ -425,14 +425,14 @@ const h3 = {}, B1 = a1({
|
|
|
425
425
|
try {
|
|
426
426
|
const Z = location.pathname.split("/").filter((b) => b.length > 0);
|
|
427
427
|
Z.length >= 5 ? Z.length = 5 : Z.length = 2;
|
|
428
|
-
const j = `/${Z.join("/")}`, C = await
|
|
428
|
+
const j = `/${Z.join("/")}`, C = await P1.get(
|
|
429
429
|
"/_local-config/_config.local.json",
|
|
430
430
|
{ baseURL: j }
|
|
431
431
|
);
|
|
432
432
|
if (C.status === 200 && C.data) {
|
|
433
433
|
const b = C.data.apiPath;
|
|
434
434
|
a(T3.setAppConfig(C.data));
|
|
435
|
-
const x = await
|
|
435
|
+
const x = await P1.get(
|
|
436
436
|
`${b}/version`
|
|
437
437
|
);
|
|
438
438
|
x.status === 200 && x.data && a(U.setRuntimeConfig(x.data));
|
|
@@ -443,7 +443,7 @@ const h3 = {}, B1 = a1({
|
|
|
443
443
|
return !0;
|
|
444
444
|
}, o = async (a, Z, j) => {
|
|
445
445
|
try {
|
|
446
|
-
const C = await
|
|
446
|
+
const C = await P1.get(
|
|
447
447
|
`${a}/ui/joinroom?token=${Z}`
|
|
448
448
|
);
|
|
449
449
|
return C.status === 200 && C.data ? (j(U.setRoomData(C.data)), !0) : !1;
|
|
@@ -511,7 +511,7 @@ const h3 = {}, B1 = a1({
|
|
|
511
511
|
return;
|
|
512
512
|
}
|
|
513
513
|
console.log("WebSocket middleware: Connecting to websocket");
|
|
514
|
-
const
|
|
514
|
+
const j1 = `${C.replace("http", "ws")}/ui/join/${e.token}`, K = new WebSocket(j1);
|
|
515
515
|
e.client = K, K.onopen = (B) => {
|
|
516
516
|
console.log("WebSocket middleware: Connected", B.type, B.target), e.waitingToReconnect = !1, r(), setTimeout(() => {
|
|
517
517
|
e.client === K && K.readyState === WebSocket.OPEN && a(U.setWebsocketIsConnected(!0));
|
|
@@ -633,10 +633,10 @@ const h3 = {}, B1 = a1({
|
|
|
633
633
|
), z && Object.values(z).forEach((n1) => {
|
|
634
634
|
try {
|
|
635
635
|
n1(D);
|
|
636
|
-
} catch (
|
|
636
|
+
} catch (C1) {
|
|
637
637
|
console.error(
|
|
638
638
|
"WebSocket middleware: Event handler error",
|
|
639
|
-
|
|
639
|
+
C1
|
|
640
640
|
);
|
|
641
641
|
}
|
|
642
642
|
});
|
|
@@ -676,7 +676,7 @@ const h3 = {}, B1 = a1({
|
|
|
676
676
|
switch (b.type) {
|
|
677
677
|
case _3: {
|
|
678
678
|
let W = new URLSearchParams(window.location.search).get("token");
|
|
679
|
-
W ? (console.log("WebSocket middleware: Saving token"), Ee(
|
|
679
|
+
W ? (console.log("WebSocket middleware: Saving token"), Ee(h3.uuid, W)) : (W = Re(h3.uuid), console.log("WebSocket middleware: Loading token")), e.token = W, await t(a.dispatch), await u(a.dispatch, a.getState);
|
|
680
680
|
break;
|
|
681
681
|
}
|
|
682
682
|
case P3:
|
|
@@ -743,21 +743,21 @@ const h3 = {}, B1 = a1({
|
|
|
743
743
|
ignoredActions: ["websocket/addEventHandler"]
|
|
744
744
|
}
|
|
745
745
|
}).concat(Be())
|
|
746
|
-
}),
|
|
746
|
+
}), f3 = M3.create();
|
|
747
747
|
function O6() {
|
|
748
|
-
const e =
|
|
748
|
+
const e = W1();
|
|
749
749
|
return async () => {
|
|
750
750
|
try {
|
|
751
751
|
const t = location.pathname.split("/").filter((r) => r.length > 0);
|
|
752
752
|
t.length >= 5 ? t.length = 5 : t.length = 2;
|
|
753
|
-
const o = `/${t.join("/")}`, c = await
|
|
753
|
+
const o = `/${t.join("/")}`, c = await f3.get(
|
|
754
754
|
"/_local-config/_config.local.json",
|
|
755
755
|
{ baseURL: o }
|
|
756
756
|
);
|
|
757
757
|
if (c.status == 200 && c.data) {
|
|
758
758
|
const r = c.data.apiPath;
|
|
759
759
|
e(T3.setAppConfig(c.data));
|
|
760
|
-
const i = await
|
|
760
|
+
const i = await f3.get(
|
|
761
761
|
`${r}/version`
|
|
762
762
|
);
|
|
763
763
|
i.status == 200 && i.data && e(U.setRuntimeConfig(i.data));
|
|
@@ -778,11 +778,11 @@ var w1 = { exports: {} }, r1 = {};
|
|
|
778
778
|
* This source code is licensed under the MIT license found in the
|
|
779
779
|
* LICENSE file in the root directory of this source tree.
|
|
780
780
|
*/
|
|
781
|
-
var
|
|
781
|
+
var w3;
|
|
782
782
|
function We() {
|
|
783
|
-
if (
|
|
784
|
-
|
|
785
|
-
var e =
|
|
783
|
+
if (w3) return r1;
|
|
784
|
+
w3 = 1;
|
|
785
|
+
var e = x3, t = Symbol.for("react.element"), o = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, r = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
786
786
|
function v(u, h, m) {
|
|
787
787
|
var M, P = {}, H = null, a = null;
|
|
788
788
|
m !== void 0 && (H = "" + m), h.key !== void 0 && (H = "" + h.key), h.ref !== void 0 && (a = h.ref);
|
|
@@ -802,10 +802,10 @@ var l1 = {};
|
|
|
802
802
|
* This source code is licensed under the MIT license found in the
|
|
803
803
|
* LICENSE file in the root directory of this source tree.
|
|
804
804
|
*/
|
|
805
|
-
var
|
|
805
|
+
var p3;
|
|
806
806
|
function Ve() {
|
|
807
|
-
return
|
|
808
|
-
var e =
|
|
807
|
+
return p3 || (p3 = 1, process.env.NODE_ENV !== "production" && function() {
|
|
808
|
+
var e = x3, t = Symbol.for("react.element"), o = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), v = Symbol.for("react.provider"), u = Symbol.for("react.context"), h = Symbol.for("react.forward_ref"), m = Symbol.for("react.suspense"), M = Symbol.for("react.suspense_list"), P = Symbol.for("react.memo"), H = Symbol.for("react.lazy"), a = Symbol.for("react.offscreen"), Z = Symbol.iterator, j = "@@iterator";
|
|
809
809
|
function C(s) {
|
|
810
810
|
if (s === null || typeof s != "object")
|
|
811
811
|
return null;
|
|
@@ -830,10 +830,10 @@ function Ve() {
|
|
|
830
830
|
T.unshift("Warning: " + l), Function.prototype.apply.call(console[s], console, T);
|
|
831
831
|
}
|
|
832
832
|
}
|
|
833
|
-
var
|
|
833
|
+
var j1 = !1, K = !1, B = !1, D = !1, z = !1, n1;
|
|
834
834
|
n1 = Symbol.for("react.module.reference");
|
|
835
|
-
function
|
|
836
|
-
return !!(typeof s == "string" || typeof s == "function" || s === c || s === i || z || s === r || s === m || s === M || D || s === a ||
|
|
835
|
+
function C1(s) {
|
|
836
|
+
return !!(typeof s == "string" || typeof s == "function" || s === c || s === i || z || s === r || s === m || s === M || D || s === a || j1 || K || B || typeof s == "object" && s !== null && (s.$$typeof === H || s.$$typeof === P || s.$$typeof === v || s.$$typeof === u || s.$$typeof === h || // This needs to include all possible module reference object
|
|
837
837
|
// types supported by any Flight configuration anywhere since
|
|
838
838
|
// we don't know which Flight build this will end up being used
|
|
839
839
|
// with.
|
|
@@ -846,7 +846,7 @@ function Ve() {
|
|
|
846
846
|
var E = l.displayName || l.name || "";
|
|
847
847
|
return E !== "" ? d + "(" + E + ")" : d;
|
|
848
848
|
}
|
|
849
|
-
function
|
|
849
|
+
function U1(s) {
|
|
850
850
|
return s.displayName || "Context";
|
|
851
851
|
}
|
|
852
852
|
function J(s) {
|
|
@@ -874,10 +874,10 @@ function Ve() {
|
|
|
874
874
|
switch (s.$$typeof) {
|
|
875
875
|
case u:
|
|
876
876
|
var l = s;
|
|
877
|
-
return
|
|
877
|
+
return U1(l) + ".Consumer";
|
|
878
878
|
case v:
|
|
879
879
|
var d = s;
|
|
880
|
-
return
|
|
880
|
+
return U1(d._context) + ".Provider";
|
|
881
881
|
case h:
|
|
882
882
|
return U3(s, s.render, "ForwardRef");
|
|
883
883
|
case P:
|
|
@@ -894,18 +894,18 @@ function Ve() {
|
|
|
894
894
|
}
|
|
895
895
|
return null;
|
|
896
896
|
}
|
|
897
|
-
var X = Object.assign, o1 = 0,
|
|
898
|
-
function
|
|
897
|
+
var X = Object.assign, o1 = 0, H1, F1, K1, q1, G1, Y1, z1;
|
|
898
|
+
function J1() {
|
|
899
899
|
}
|
|
900
|
-
|
|
900
|
+
J1.__reactDisabledLog = !0;
|
|
901
901
|
function H3() {
|
|
902
902
|
{
|
|
903
903
|
if (o1 === 0) {
|
|
904
|
-
|
|
904
|
+
H1 = console.log, F1 = console.info, K1 = console.warn, q1 = console.error, G1 = console.group, Y1 = console.groupCollapsed, z1 = console.groupEnd;
|
|
905
905
|
var s = {
|
|
906
906
|
configurable: !0,
|
|
907
907
|
enumerable: !0,
|
|
908
|
-
value:
|
|
908
|
+
value: J1,
|
|
909
909
|
writable: !0
|
|
910
910
|
};
|
|
911
911
|
Object.defineProperties(console, {
|
|
@@ -931,52 +931,52 @@ function Ve() {
|
|
|
931
931
|
};
|
|
932
932
|
Object.defineProperties(console, {
|
|
933
933
|
log: X({}, s, {
|
|
934
|
-
value:
|
|
934
|
+
value: H1
|
|
935
935
|
}),
|
|
936
936
|
info: X({}, s, {
|
|
937
|
-
value:
|
|
937
|
+
value: F1
|
|
938
938
|
}),
|
|
939
939
|
warn: X({}, s, {
|
|
940
|
-
value:
|
|
940
|
+
value: K1
|
|
941
941
|
}),
|
|
942
942
|
error: X({}, s, {
|
|
943
|
-
value:
|
|
943
|
+
value: q1
|
|
944
944
|
}),
|
|
945
945
|
group: X({}, s, {
|
|
946
|
-
value:
|
|
946
|
+
value: G1
|
|
947
947
|
}),
|
|
948
948
|
groupCollapsed: X({}, s, {
|
|
949
|
-
value:
|
|
949
|
+
value: Y1
|
|
950
950
|
}),
|
|
951
951
|
groupEnd: X({}, s, {
|
|
952
|
-
value:
|
|
952
|
+
value: z1
|
|
953
953
|
})
|
|
954
954
|
});
|
|
955
955
|
}
|
|
956
956
|
o1 < 0 && x("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
957
957
|
}
|
|
958
958
|
}
|
|
959
|
-
var
|
|
959
|
+
var b1 = b.ReactCurrentDispatcher, y1;
|
|
960
960
|
function u1(s, l, d) {
|
|
961
961
|
{
|
|
962
|
-
if (
|
|
962
|
+
if (y1 === void 0)
|
|
963
963
|
try {
|
|
964
964
|
throw Error();
|
|
965
965
|
} catch (E) {
|
|
966
966
|
var w = E.stack.trim().match(/\n( *(at )?)/);
|
|
967
|
-
|
|
967
|
+
y1 = w && w[1] || "";
|
|
968
968
|
}
|
|
969
969
|
return `
|
|
970
|
-
` +
|
|
970
|
+
` + y1 + s;
|
|
971
971
|
}
|
|
972
972
|
}
|
|
973
|
-
var
|
|
973
|
+
var I1 = !1, d1;
|
|
974
974
|
{
|
|
975
975
|
var K3 = typeof WeakMap == "function" ? WeakMap : Map;
|
|
976
976
|
d1 = new K3();
|
|
977
977
|
}
|
|
978
|
-
function
|
|
979
|
-
if (!s ||
|
|
978
|
+
function X1(s, l) {
|
|
979
|
+
if (!s || I1)
|
|
980
980
|
return "";
|
|
981
981
|
{
|
|
982
982
|
var d = d1.get(s);
|
|
@@ -984,11 +984,11 @@ function Ve() {
|
|
|
984
984
|
return d;
|
|
985
985
|
}
|
|
986
986
|
var w;
|
|
987
|
-
|
|
987
|
+
I1 = !0;
|
|
988
988
|
var E = Error.prepareStackTrace;
|
|
989
989
|
Error.prepareStackTrace = void 0;
|
|
990
990
|
var T;
|
|
991
|
-
T =
|
|
991
|
+
T = b1.current, b1.current = null, H3();
|
|
992
992
|
try {
|
|
993
993
|
if (l) {
|
|
994
994
|
var y = function() {
|
|
@@ -1041,13 +1041,13 @@ function Ve() {
|
|
|
1041
1041
|
}
|
|
1042
1042
|
}
|
|
1043
1043
|
} finally {
|
|
1044
|
-
|
|
1044
|
+
I1 = !1, b1.current = T, F3(), Error.prepareStackTrace = E;
|
|
1045
1045
|
}
|
|
1046
1046
|
var t1 = s ? s.displayName || s.name : "", Q = t1 ? u1(t1) : "";
|
|
1047
1047
|
return typeof s == "function" && d1.set(s, Q), Q;
|
|
1048
1048
|
}
|
|
1049
1049
|
function q3(s, l, d) {
|
|
1050
|
-
return
|
|
1050
|
+
return X1(s, !1);
|
|
1051
1051
|
}
|
|
1052
1052
|
function G3(s) {
|
|
1053
1053
|
var l = s.prototype;
|
|
@@ -1057,7 +1057,7 @@ function Ve() {
|
|
|
1057
1057
|
if (s == null)
|
|
1058
1058
|
return "";
|
|
1059
1059
|
if (typeof s == "function")
|
|
1060
|
-
return
|
|
1060
|
+
return X1(s, G3(s));
|
|
1061
1061
|
if (typeof s == "string")
|
|
1062
1062
|
return u1(s);
|
|
1063
1063
|
switch (s) {
|
|
@@ -1082,13 +1082,13 @@ function Ve() {
|
|
|
1082
1082
|
}
|
|
1083
1083
|
return "";
|
|
1084
1084
|
}
|
|
1085
|
-
var s1 = Object.prototype.hasOwnProperty,
|
|
1085
|
+
var s1 = Object.prototype.hasOwnProperty, Q1 = {}, N1 = b.ReactDebugCurrentFrame;
|
|
1086
1086
|
function h1(s) {
|
|
1087
1087
|
if (s) {
|
|
1088
1088
|
var l = s._owner, d = v1(s.type, s._source, l ? l.type : null);
|
|
1089
|
-
|
|
1089
|
+
N1.setExtraStackFrame(d);
|
|
1090
1090
|
} else
|
|
1091
|
-
|
|
1091
|
+
N1.setExtraStackFrame(null);
|
|
1092
1092
|
}
|
|
1093
1093
|
function Y3(s, l, d, w, E) {
|
|
1094
1094
|
{
|
|
@@ -1105,12 +1105,12 @@ function Ve() {
|
|
|
1105
1105
|
} catch (L) {
|
|
1106
1106
|
S = L;
|
|
1107
1107
|
}
|
|
1108
|
-
S && !(S instanceof Error) && (h1(E), x("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", w || "React class", d, y, typeof S), h1(null)), S instanceof Error && !(S.message in
|
|
1108
|
+
S && !(S instanceof Error) && (h1(E), x("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", w || "React class", d, y, typeof S), h1(null)), S instanceof Error && !(S.message in Q1) && (Q1[S.message] = !0, h1(E), x("Failed %s type: %s", d, S.message), h1(null));
|
|
1109
1109
|
}
|
|
1110
1110
|
}
|
|
1111
1111
|
}
|
|
1112
1112
|
var z3 = Array.isArray;
|
|
1113
|
-
function
|
|
1113
|
+
function R1(s) {
|
|
1114
1114
|
return z3(s);
|
|
1115
1115
|
}
|
|
1116
1116
|
function J3(s) {
|
|
@@ -1121,24 +1121,24 @@ function Ve() {
|
|
|
1121
1121
|
}
|
|
1122
1122
|
function X3(s) {
|
|
1123
1123
|
try {
|
|
1124
|
-
return
|
|
1124
|
+
return e3(s), !1;
|
|
1125
1125
|
} catch {
|
|
1126
1126
|
return !0;
|
|
1127
1127
|
}
|
|
1128
1128
|
}
|
|
1129
|
-
function
|
|
1129
|
+
function e3(s) {
|
|
1130
1130
|
return "" + s;
|
|
1131
1131
|
}
|
|
1132
|
-
function
|
|
1132
|
+
function t3(s) {
|
|
1133
1133
|
if (X3(s))
|
|
1134
|
-
return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", J3(s)),
|
|
1134
|
+
return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", J3(s)), e3(s);
|
|
1135
1135
|
}
|
|
1136
|
-
var
|
|
1136
|
+
var n3 = b.ReactCurrentOwner, Q3 = {
|
|
1137
1137
|
key: !0,
|
|
1138
1138
|
ref: !0,
|
|
1139
1139
|
__self: !0,
|
|
1140
1140
|
__source: !0
|
|
1141
|
-
},
|
|
1141
|
+
}, o3, s3;
|
|
1142
1142
|
function N3(s) {
|
|
1143
1143
|
if (s1.call(s, "ref")) {
|
|
1144
1144
|
var l = Object.getOwnPropertyDescriptor(s, "ref").get;
|
|
@@ -1156,12 +1156,12 @@ function Ve() {
|
|
|
1156
1156
|
return s.key !== void 0;
|
|
1157
1157
|
}
|
|
1158
1158
|
function t2(s, l) {
|
|
1159
|
-
typeof s.ref == "string" &&
|
|
1159
|
+
typeof s.ref == "string" && n3.current;
|
|
1160
1160
|
}
|
|
1161
1161
|
function n2(s, l) {
|
|
1162
1162
|
{
|
|
1163
1163
|
var d = function() {
|
|
1164
|
-
|
|
1164
|
+
o3 || (o3 = !0, x("%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));
|
|
1165
1165
|
};
|
|
1166
1166
|
d.isReactWarning = !0, Object.defineProperty(s, "key", {
|
|
1167
1167
|
get: d,
|
|
@@ -1172,7 +1172,7 @@ function Ve() {
|
|
|
1172
1172
|
function o2(s, l) {
|
|
1173
1173
|
{
|
|
1174
1174
|
var d = function() {
|
|
1175
|
-
|
|
1175
|
+
s3 || (s3 = !0, x("%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));
|
|
1176
1176
|
};
|
|
1177
1177
|
d.isReactWarning = !0, Object.defineProperty(s, "ref", {
|
|
1178
1178
|
get: d,
|
|
@@ -1212,7 +1212,7 @@ function Ve() {
|
|
|
1212
1212
|
function c2(s, l, d, w, E) {
|
|
1213
1213
|
{
|
|
1214
1214
|
var T, y = {}, S = null, k = null;
|
|
1215
|
-
d !== void 0 && (
|
|
1215
|
+
d !== void 0 && (t3(d), S = "" + d), e2(l) && (t3(l.key), S = "" + l.key), N3(l) && (k = l.ref, t2(l, E));
|
|
1216
1216
|
for (T in l)
|
|
1217
1217
|
s1.call(l, T) && !Q3.hasOwnProperty(T) && (y[T] = l[T]);
|
|
1218
1218
|
if (s && s.defaultProps) {
|
|
@@ -1224,26 +1224,26 @@ function Ve() {
|
|
|
1224
1224
|
var $ = typeof s == "function" ? s.displayName || s.name || "Unknown" : s;
|
|
1225
1225
|
S && n2(y, $), k && o2(y, $);
|
|
1226
1226
|
}
|
|
1227
|
-
return s2(s, S, k, E, w,
|
|
1227
|
+
return s2(s, S, k, E, w, n3.current, y);
|
|
1228
1228
|
}
|
|
1229
1229
|
}
|
|
1230
|
-
var
|
|
1230
|
+
var E1 = b.ReactCurrentOwner, c3 = b.ReactDebugCurrentFrame;
|
|
1231
1231
|
function e1(s) {
|
|
1232
1232
|
if (s) {
|
|
1233
1233
|
var l = s._owner, d = v1(s.type, s._source, l ? l.type : null);
|
|
1234
|
-
|
|
1234
|
+
c3.setExtraStackFrame(d);
|
|
1235
1235
|
} else
|
|
1236
|
-
|
|
1236
|
+
c3.setExtraStackFrame(null);
|
|
1237
1237
|
}
|
|
1238
|
-
var
|
|
1239
|
-
|
|
1240
|
-
function
|
|
1238
|
+
var T1;
|
|
1239
|
+
T1 = !1;
|
|
1240
|
+
function D1(s) {
|
|
1241
1241
|
return typeof s == "object" && s !== null && s.$$typeof === t;
|
|
1242
1242
|
}
|
|
1243
|
-
function
|
|
1243
|
+
function r3() {
|
|
1244
1244
|
{
|
|
1245
|
-
if (
|
|
1246
|
-
var s = J(
|
|
1245
|
+
if (E1.current) {
|
|
1246
|
+
var s = J(E1.current.type);
|
|
1247
1247
|
if (s)
|
|
1248
1248
|
return `
|
|
1249
1249
|
|
|
@@ -1255,10 +1255,10 @@ Check the render method of \`` + s + "`.";
|
|
|
1255
1255
|
function r2(s) {
|
|
1256
1256
|
return "";
|
|
1257
1257
|
}
|
|
1258
|
-
var
|
|
1258
|
+
var l3 = {};
|
|
1259
1259
|
function l2(s) {
|
|
1260
1260
|
{
|
|
1261
|
-
var l =
|
|
1261
|
+
var l = r3();
|
|
1262
1262
|
if (!l) {
|
|
1263
1263
|
var d = typeof s == "string" ? s : s.displayName || s.name;
|
|
1264
1264
|
d && (l = `
|
|
@@ -1268,35 +1268,35 @@ Check the top-level render call using <` + d + ">.");
|
|
|
1268
1268
|
return l;
|
|
1269
1269
|
}
|
|
1270
1270
|
}
|
|
1271
|
-
function
|
|
1271
|
+
function i3(s, l) {
|
|
1272
1272
|
{
|
|
1273
1273
|
if (!s._store || s._store.validated || s.key != null)
|
|
1274
1274
|
return;
|
|
1275
1275
|
s._store.validated = !0;
|
|
1276
1276
|
var d = l2(l);
|
|
1277
|
-
if (
|
|
1277
|
+
if (l3[d])
|
|
1278
1278
|
return;
|
|
1279
|
-
|
|
1279
|
+
l3[d] = !0;
|
|
1280
1280
|
var w = "";
|
|
1281
|
-
s && s._owner && s._owner !==
|
|
1281
|
+
s && s._owner && s._owner !== E1.current && (w = " It was passed a child from " + J(s._owner.type) + "."), e1(s), x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', d, w), e1(null);
|
|
1282
1282
|
}
|
|
1283
1283
|
}
|
|
1284
|
-
function
|
|
1284
|
+
function a3(s, l) {
|
|
1285
1285
|
{
|
|
1286
1286
|
if (typeof s != "object")
|
|
1287
1287
|
return;
|
|
1288
|
-
if (
|
|
1288
|
+
if (R1(s))
|
|
1289
1289
|
for (var d = 0; d < s.length; d++) {
|
|
1290
1290
|
var w = s[d];
|
|
1291
|
-
|
|
1291
|
+
D1(w) && i3(w, l);
|
|
1292
1292
|
}
|
|
1293
|
-
else if (
|
|
1293
|
+
else if (D1(s))
|
|
1294
1294
|
s._store && (s._store.validated = !0);
|
|
1295
1295
|
else if (s) {
|
|
1296
1296
|
var E = C(s);
|
|
1297
1297
|
if (typeof E == "function" && E !== s.entries)
|
|
1298
1298
|
for (var T = E.call(s), y; !(y = T.next()).done; )
|
|
1299
|
-
|
|
1299
|
+
D1(y.value) && i3(y.value, l);
|
|
1300
1300
|
}
|
|
1301
1301
|
}
|
|
1302
1302
|
}
|
|
@@ -1317,8 +1317,8 @@ Check the top-level render call using <` + d + ">.");
|
|
|
1317
1317
|
if (d) {
|
|
1318
1318
|
var w = J(l);
|
|
1319
1319
|
Y3(d, s.props, "prop", w, s);
|
|
1320
|
-
} else if (l.PropTypes !== void 0 && !
|
|
1321
|
-
|
|
1320
|
+
} else if (l.PropTypes !== void 0 && !T1) {
|
|
1321
|
+
T1 = !0;
|
|
1322
1322
|
var E = J(l);
|
|
1323
1323
|
x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", E || "Unknown");
|
|
1324
1324
|
}
|
|
@@ -1337,17 +1337,17 @@ Check the top-level render call using <` + d + ">.");
|
|
|
1337
1337
|
s.ref !== null && (e1(s), x("Invalid attribute `ref` supplied to `React.Fragment`."), e1(null));
|
|
1338
1338
|
}
|
|
1339
1339
|
}
|
|
1340
|
-
var
|
|
1341
|
-
function
|
|
1340
|
+
var u3 = {};
|
|
1341
|
+
function d3(s, l, d, w, E, T) {
|
|
1342
1342
|
{
|
|
1343
|
-
var y =
|
|
1343
|
+
var y = C1(s);
|
|
1344
1344
|
if (!y) {
|
|
1345
1345
|
var S = "";
|
|
1346
1346
|
(s === void 0 || typeof s == "object" && s !== null && Object.keys(s).length === 0) && (S += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
1347
1347
|
var k = r2();
|
|
1348
|
-
k ? S += k : S +=
|
|
1348
|
+
k ? S += k : S += r3();
|
|
1349
1349
|
var L;
|
|
1350
|
-
s === null ? L = "null" :
|
|
1350
|
+
s === null ? L = "null" : R1(s) ? L = "array" : s !== void 0 && s.$$typeof === t ? (L = "<" + (J(s.type) || "Unknown") + " />", S = " Did you accidentally export a JSX literal instead of a component?") : L = typeof s, x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", L, S);
|
|
1351
1351
|
}
|
|
1352
1352
|
var $ = c2(s, l, d, E, T);
|
|
1353
1353
|
if ($ == null)
|
|
@@ -1356,45 +1356,45 @@ Check the top-level render call using <` + d + ">.");
|
|
|
1356
1356
|
var F = l.children;
|
|
1357
1357
|
if (F !== void 0)
|
|
1358
1358
|
if (w)
|
|
1359
|
-
if (
|
|
1359
|
+
if (R1(F)) {
|
|
1360
1360
|
for (var t1 = 0; t1 < F.length; t1++)
|
|
1361
|
-
|
|
1361
|
+
a3(F[t1], s);
|
|
1362
1362
|
Object.freeze && Object.freeze(F);
|
|
1363
1363
|
} else
|
|
1364
1364
|
x("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
1365
1365
|
else
|
|
1366
|
-
|
|
1366
|
+
a3(F, s);
|
|
1367
1367
|
}
|
|
1368
1368
|
if (s1.call(l, "key")) {
|
|
1369
1369
|
var Q = J(s), V = Object.keys(l).filter(function(f2) {
|
|
1370
1370
|
return f2 !== "key";
|
|
1371
|
-
}),
|
|
1372
|
-
if (!
|
|
1371
|
+
}), _1 = V.length > 0 ? "{key: someKey, " + V.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
1372
|
+
if (!u3[Q + _1]) {
|
|
1373
1373
|
var g2 = V.length > 0 ? "{" + V.join(": ..., ") + ": ...}" : "{}";
|
|
1374
1374
|
x(`A props object containing a "key" prop is being spread into JSX:
|
|
1375
1375
|
let props = %s;
|
|
1376
1376
|
<%s {...props} />
|
|
1377
1377
|
React keys must be passed directly to JSX without using spread:
|
|
1378
1378
|
let props = %s;
|
|
1379
|
-
<%s key={someKey} {...props} />`,
|
|
1379
|
+
<%s key={someKey} {...props} />`, _1, Q, g2, Q), u3[Q + _1] = !0;
|
|
1380
1380
|
}
|
|
1381
1381
|
}
|
|
1382
1382
|
return s === c ? a2($) : i2($), $;
|
|
1383
1383
|
}
|
|
1384
1384
|
}
|
|
1385
1385
|
function u2(s, l, d) {
|
|
1386
|
-
return
|
|
1386
|
+
return d3(s, l, d, !0);
|
|
1387
1387
|
}
|
|
1388
1388
|
function d2(s, l, d) {
|
|
1389
|
-
return
|
|
1389
|
+
return d3(s, l, d, !1);
|
|
1390
1390
|
}
|
|
1391
1391
|
var v2 = d2, h2 = u2;
|
|
1392
1392
|
l1.Fragment = c, l1.jsx = v2, l1.jsxs = h2;
|
|
1393
1393
|
}()), l1;
|
|
1394
1394
|
}
|
|
1395
|
-
var
|
|
1395
|
+
var m3;
|
|
1396
1396
|
function Ue() {
|
|
1397
|
-
return
|
|
1397
|
+
return m3 || (m3 = 1, process.env.NODE_ENV === "production" ? w1.exports = We() : w1.exports = Ve()), w1.exports;
|
|
1398
1398
|
}
|
|
1399
1399
|
var n = Ue();
|
|
1400
1400
|
const He = "_mwfit_ppa3l_1", Fe = {
|
|
@@ -1415,7 +1415,7 @@ const He = "_mwfit_ppa3l_1", Fe = {
|
|
|
1415
1415
|
removeEventHandler: () => null,
|
|
1416
1416
|
reconnect: () => null
|
|
1417
1417
|
}), qe = ({ children: e }) => {
|
|
1418
|
-
const t =
|
|
1418
|
+
const t = W1(), o = I3();
|
|
1419
1419
|
m1(() => {
|
|
1420
1420
|
t(k3());
|
|
1421
1421
|
}, [t]);
|
|
@@ -1465,7 +1465,7 @@ function Ge({
|
|
|
1465
1465
|
onHold: o,
|
|
1466
1466
|
holdTimeMs: c = 500
|
|
1467
1467
|
}) {
|
|
1468
|
-
const r =
|
|
1468
|
+
const r = A1(null), i = A1(!1);
|
|
1469
1469
|
function v() {
|
|
1470
1470
|
i.current = !0, e == null || e(), r.current = setTimeout(() => {
|
|
1471
1471
|
o == null || o(), r.current = null;
|
|
@@ -1484,7 +1484,7 @@ function Ge({
|
|
|
1484
1484
|
};
|
|
1485
1485
|
}
|
|
1486
1486
|
function g(e, t) {
|
|
1487
|
-
const { sendMessage: c } = R(), r =
|
|
1487
|
+
const { sendMessage: c } = R(), r = A1(null);
|
|
1488
1488
|
function i() {
|
|
1489
1489
|
c(`${e}/${t}`, { value: "pressed" }), r.current || (r.current = setInterval(() => {
|
|
1490
1490
|
c(`${e}/${t}`, { value: "held" });
|
|
@@ -1495,25 +1495,25 @@ function g(e, t) {
|
|
|
1495
1495
|
}
|
|
1496
1496
|
return Ge({ onPress: i, onRelease: v });
|
|
1497
1497
|
}
|
|
1498
|
-
function
|
|
1498
|
+
function S1(e) {
|
|
1499
1499
|
const { sendMessage: t } = R(), o = g(`${e}`, "volumeUp"), c = g(`${e}`, "volumeDown");
|
|
1500
|
-
return {
|
|
1500
|
+
return M1(() => ({
|
|
1501
1501
|
volumeUp: o,
|
|
1502
1502
|
volumeDown: c,
|
|
1503
1503
|
muteToggle: () => t(`${e}/muteToggle`, null)
|
|
1504
|
-
};
|
|
1504
|
+
}), [e, t, o, c]);
|
|
1505
1505
|
}
|
|
1506
1506
|
function V6(e) {
|
|
1507
1507
|
const { sendMessage: t } = R(), o = g(`${e}`, "volumeUp"), c = g(`${e}`, "volumeDown");
|
|
1508
|
-
return {
|
|
1508
|
+
return M1(() => ({
|
|
1509
1509
|
volumeUp: o,
|
|
1510
1510
|
volumeDown: c,
|
|
1511
1511
|
muteToggle: () => t(`${e}/muteToggle`, null)
|
|
1512
|
-
};
|
|
1512
|
+
}), [e, t, o, c]);
|
|
1513
1513
|
}
|
|
1514
1514
|
function W3(e, t) {
|
|
1515
|
-
const { sendMessage: o, sendSimpleMessage: c } = R(), r =
|
|
1516
|
-
return
|
|
1515
|
+
const { sendMessage: o, sendSimpleMessage: c } = R(), r = S1(e);
|
|
1516
|
+
return M1(() => {
|
|
1517
1517
|
if (!r) {
|
|
1518
1518
|
console.log("baseVolume is undefined");
|
|
1519
1519
|
return;
|
|
@@ -1532,8 +1532,8 @@ function W3(e, t) {
|
|
|
1532
1532
|
}, [r, t, e, o, c]);
|
|
1533
1533
|
}
|
|
1534
1534
|
function U6(e, t) {
|
|
1535
|
-
const { sendMessage: o, sendSimpleMessage: c } = R(), r =
|
|
1536
|
-
return
|
|
1535
|
+
const { sendMessage: o, sendSimpleMessage: c } = R(), r = S1(e);
|
|
1536
|
+
return M1(() => {
|
|
1537
1537
|
if (!r) {
|
|
1538
1538
|
console.log("baseVolume is undefined");
|
|
1539
1539
|
return;
|
|
@@ -1565,7 +1565,7 @@ function V3(e) {
|
|
|
1565
1565
|
t(`/device/${e}/powerToggle`, null);
|
|
1566
1566
|
} };
|
|
1567
1567
|
}
|
|
1568
|
-
function
|
|
1568
|
+
function O1(e) {
|
|
1569
1569
|
const { sendMessage: t } = R(), o = _(e);
|
|
1570
1570
|
return console.log("deviceState", o), o ? { itemsState: o, selectItem: (r) => {
|
|
1571
1571
|
t(`/device/${e}/${r}`, null);
|
|
@@ -1583,7 +1583,7 @@ function ze(e) {
|
|
|
1583
1583
|
return o ? { levelControls: o.levelControls, setDefaultChannelLevels: c, getFullStatus: r } : void 0;
|
|
1584
1584
|
}
|
|
1585
1585
|
function H6(e) {
|
|
1586
|
-
const t = _(e), o = V3(e), c =
|
|
1586
|
+
const t = _(e), o = V3(e), c = O1(e), r = O1(e), i = Ye(e), v = ze(e);
|
|
1587
1587
|
if (t)
|
|
1588
1588
|
return {
|
|
1589
1589
|
avrState: t,
|
|
@@ -1752,7 +1752,7 @@ function at(e) {
|
|
|
1752
1752
|
} } : void 0;
|
|
1753
1753
|
}
|
|
1754
1754
|
function ut(e) {
|
|
1755
|
-
const { sendMessage: t } = R(), o =
|
|
1755
|
+
const { sendMessage: t } = R(), o = Z1(e);
|
|
1756
1756
|
return o ? { roomEventScheduleState: o, save: (r) => {
|
|
1757
1757
|
t(`/room/${e}/saveScheduledEvents`, r);
|
|
1758
1758
|
} } : void 0;
|
|
@@ -1790,7 +1790,7 @@ function ft(e) {
|
|
|
1790
1790
|
} } : void 0;
|
|
1791
1791
|
}
|
|
1792
1792
|
function wt(e) {
|
|
1793
|
-
const { sendMessage: t } = R(), o =
|
|
1793
|
+
const { sendMessage: t } = R(), o = Z1(e);
|
|
1794
1794
|
return o ? { shutdownPromptTimerState: o, setShutdownPromptSeconds: (u) => {
|
|
1795
1795
|
t(`/room/${e}/setShutdownPromptSeconds`, u);
|
|
1796
1796
|
}, shutdownStart: () => {
|
|
@@ -1810,7 +1810,7 @@ function pt(e) {
|
|
|
1810
1810
|
} } : void 0;
|
|
1811
1811
|
}
|
|
1812
1812
|
function mt(e) {
|
|
1813
|
-
const { sendMessage: t } = R(), o =
|
|
1813
|
+
const { sendMessage: t } = R(), o = Z1(e);
|
|
1814
1814
|
return o ? { techPasswordState: o, validatePassword: (i) => {
|
|
1815
1815
|
t(`/room/${e}/validateTechPassword`, { password: i });
|
|
1816
1816
|
}, setPassword: (i, v) => {
|
|
@@ -1860,7 +1860,7 @@ function St(e) {
|
|
|
1860
1860
|
} : void 0;
|
|
1861
1861
|
}
|
|
1862
1862
|
function jt(e) {
|
|
1863
|
-
const t = _(e), o = V3(e), c =
|
|
1863
|
+
const t = _(e), o = V3(e), c = O1(e);
|
|
1864
1864
|
if (!t) return;
|
|
1865
1865
|
const r = (t.powerState || t.isWarming) && !t.isCooling, i = (!t.powerState || t.isCooling) && !t.isWarming;
|
|
1866
1866
|
return {
|
|
@@ -1872,7 +1872,7 @@ function jt(e) {
|
|
|
1872
1872
|
}
|
|
1873
1873
|
function Ct(e) {
|
|
1874
1874
|
const t = `/device/${e}`;
|
|
1875
|
-
return
|
|
1875
|
+
return S1(t);
|
|
1876
1876
|
}
|
|
1877
1877
|
const bt = ({
|
|
1878
1878
|
config: e
|
|
@@ -1919,7 +1919,7 @@ function yt(e, t) {
|
|
|
1919
1919
|
}
|
|
1920
1920
|
function It(e, t) {
|
|
1921
1921
|
const o = `/room/${e}/volumes/${t}`;
|
|
1922
|
-
return
|
|
1922
|
+
return S1(o);
|
|
1923
1923
|
}
|
|
1924
1924
|
function Rt(e, t) {
|
|
1925
1925
|
const o = te(e, t), c = `/room/${e}/volumes/${t}`;
|
|
@@ -1942,7 +1942,7 @@ function Et(e) {
|
|
|
1942
1942
|
}, [e]), { horizontalScrollPosition: t, verticalScrollPosition: c, scrollHorizontal: i, scrollVertical: v };
|
|
1943
1943
|
}
|
|
1944
1944
|
function Tt(e) {
|
|
1945
|
-
const t =
|
|
1945
|
+
const t = W1();
|
|
1946
1946
|
return [() => {
|
|
1947
1947
|
t(O.addSyncState(e));
|
|
1948
1948
|
}, () => {
|
|
@@ -1998,7 +1998,7 @@ const Pt = () => {
|
|
|
1998
1998
|
),
|
|
1999
1999
|
e && /* @__PURE__ */ n.jsx("p", { children: r })
|
|
2000
2000
|
] });
|
|
2001
|
-
}, Je = "_iconbtn_16qss_1", Xe = "_iconbtnvert_16qss_7", Qe = "_iconsm_16qss_18",
|
|
2001
|
+
}, Je = "_iconbtn_16qss_1", Xe = "_iconbtnvert_16qss_7", Qe = "_iconsm_16qss_18", L1 = {
|
|
2002
2002
|
iconbtn: Je,
|
|
2003
2003
|
iconbtnvert: Xe,
|
|
2004
2004
|
iconsm: Qe
|
|
@@ -2022,7 +2022,7 @@ const Pt = () => {
|
|
|
2022
2022
|
"button",
|
|
2023
2023
|
{
|
|
2024
2024
|
type: "button",
|
|
2025
|
-
className: `${
|
|
2025
|
+
className: `${L1.iconbtn} ${o ? L1.iconbtnvert : ""} ${c} ${j}`,
|
|
2026
2026
|
...H,
|
|
2027
2027
|
disabled: v,
|
|
2028
2028
|
onPointerDown: (b) => {
|
|
@@ -2038,7 +2038,7 @@ const Pt = () => {
|
|
|
2038
2038
|
e && /* @__PURE__ */ n.jsx(
|
|
2039
2039
|
e,
|
|
2040
2040
|
{
|
|
2041
|
-
className: `${r ||
|
|
2041
|
+
className: `${r || L1.iconsm}`,
|
|
2042
2042
|
active: C,
|
|
2043
2043
|
disabled: v
|
|
2044
2044
|
}
|
|
@@ -3721,13 +3721,13 @@ const P8 = "_grid_1cmpp_1", L8 = "_header_1cmpp_11", $8 = "_content_1cmpp_17", A
|
|
|
3721
3721
|
/* @__PURE__ */ n.jsx("div", { className: p1.header, children: t }),
|
|
3722
3722
|
c && /* @__PURE__ */ n.jsx("div", { className: p1.leftNav, children: c }),
|
|
3723
3723
|
/* @__PURE__ */ n.jsx("div", { className: p1.content, children: o })
|
|
3724
|
-
] }), V8 = "_grid_1uwfo_1", U8 = "_header_1uwfo_11", H8 = "_content_1uwfo_17",
|
|
3724
|
+
] }), V8 = "_grid_1uwfo_1", U8 = "_header_1uwfo_11", H8 = "_content_1uwfo_17", $1 = {
|
|
3725
3725
|
grid: V8,
|
|
3726
3726
|
header: U8,
|
|
3727
3727
|
content: H8
|
|
3728
|
-
}, kt = ({ className: e, header: t, content: o }) => /* @__PURE__ */ n.jsxs("div", { className: `${e} ${
|
|
3729
|
-
/* @__PURE__ */ n.jsx("div", { className:
|
|
3730
|
-
/* @__PURE__ */ n.jsx("div", { className:
|
|
3728
|
+
}, kt = ({ className: e, header: t, content: o }) => /* @__PURE__ */ n.jsxs("div", { className: `${e} ${$1.grid}`, children: [
|
|
3729
|
+
/* @__PURE__ */ n.jsx("div", { className: $1.header, children: t }),
|
|
3730
|
+
/* @__PURE__ */ n.jsx("div", { className: $1.content, children: o })
|
|
3731
3731
|
] });
|
|
3732
3732
|
class Ot {
|
|
3733
3733
|
constructor() {
|
|
@@ -3805,7 +3805,7 @@ export {
|
|
|
3805
3805
|
Be as createWebSocketMiddleware,
|
|
3806
3806
|
g1 as devicesActions,
|
|
3807
3807
|
Wt as getBaseLocation,
|
|
3808
|
-
|
|
3808
|
+
f3 as httpClient,
|
|
3809
3809
|
_8 as iconsDictionary,
|
|
3810
3810
|
Ut as roomOffSourceKey,
|
|
3811
3811
|
f1 as roomsActions,
|
|
@@ -3823,7 +3823,7 @@ export {
|
|
|
3823
3823
|
me as selectIsSyncStateValuePresent,
|
|
3824
3824
|
de as selectIsTouchpanel,
|
|
3825
3825
|
D2 as selectLogoPath,
|
|
3826
|
-
|
|
3826
|
+
V1 as selectModalVisibility,
|
|
3827
3827
|
_2 as selectPartnerMetadata,
|
|
3828
3828
|
X2 as selectRoomAdvancedSharingActive,
|
|
3829
3829
|
V2 as selectRoomAudioControlPointList,
|
|
@@ -3861,7 +3861,7 @@ export {
|
|
|
3861
3861
|
je as uiReducer,
|
|
3862
3862
|
Q8 as useApiPath,
|
|
3863
3863
|
X8 as useAppConfig,
|
|
3864
|
-
|
|
3864
|
+
W1 as useAppDispatch,
|
|
3865
3865
|
f as useAppSelector,
|
|
3866
3866
|
H6 as useAvrControl,
|
|
3867
3867
|
g as useButtonHeldHeartbeat,
|
|
@@ -3884,7 +3884,7 @@ export {
|
|
|
3884
3884
|
s6 as useGetRoom,
|
|
3885
3885
|
M6 as useGetRoomDisplayStates,
|
|
3886
3886
|
x6 as useGetZoomRoomControllerKey,
|
|
3887
|
-
|
|
3887
|
+
S1 as useIBasicVolume,
|
|
3888
3888
|
W3 as useIBasicVolumeWithFeedback,
|
|
3889
3889
|
G6 as useIChannel,
|
|
3890
3890
|
Y6 as useIColor,
|
|
@@ -3896,7 +3896,7 @@ export {
|
|
|
3896
3896
|
tt as useIEssentialsRoomCombiner,
|
|
3897
3897
|
nt as useIHasCameras,
|
|
3898
3898
|
V3 as useIHasPowerControl,
|
|
3899
|
-
|
|
3899
|
+
O1 as useIHasSelectableItems,
|
|
3900
3900
|
ot as useIHumiditySensor,
|
|
3901
3901
|
st as useILevelControls,
|
|
3902
3902
|
ct as useILightingScenes,
|
|
@@ -3944,7 +3944,7 @@ export {
|
|
|
3944
3944
|
d6 as useRoomProgramAudioDestinationKey,
|
|
3945
3945
|
m6 as useRoomShareState,
|
|
3946
3946
|
r6 as useRoomSourceList,
|
|
3947
|
-
|
|
3947
|
+
Z1 as useRoomState,
|
|
3948
3948
|
te as useRoomVolume,
|
|
3949
3949
|
y6 as useRuntimeInfo,
|
|
3950
3950
|
Et as useScroll,
|