@pepperdash/mobile-control-react-app-core 1.25.0-feat-deprecate-interfaces-array.2 → 1.25.0-feat-deprecate-interfaces-array.3
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.
- package/dist/mobile-control-react-app-core.es.js +369 -352
- package/dist/mobile-control-react-app-core.umd.js +9 -9
- package/dist/shared/hooks/interfaces/index.d.ts +3 -11
- package/dist/shared/hooks/interfaces/index.d.ts.map +1 -1
- package/dist/shared/hooks/interfaces/useIAudioCodecInfo.d.ts +16 -0
- package/dist/shared/hooks/interfaces/useIAudioCodecInfo.d.ts.map +1 -0
- package/dist/shared/hooks/interfaces/useIHasDialer.d.ts +18 -0
- package/dist/shared/hooks/interfaces/useIHasDialer.d.ts.map +1 -0
- package/package.json +1 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
var w2 = Object.defineProperty;
|
|
2
|
-
var
|
|
3
|
-
var q = (e, t, o) =>
|
|
4
|
-
import M3, { AxiosError as
|
|
2
|
+
var m2 = (e, t, o) => t in e ? w2(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o;
|
|
3
|
+
var q = (e, t, o) => m2(e, typeof t != "symbol" ? t + "" : t, o);
|
|
4
|
+
import M3, { AxiosError as p2 } from "axios";
|
|
5
5
|
import { useDispatch as M2, useSelector as x2, Provider as Z2 } from "react-redux";
|
|
6
6
|
import { createSelector as M, createSlice as d1, combineReducers as S2, configureStore as j2 } from "@reduxjs/toolkit";
|
|
7
|
-
import x3, { createContext as C2, useEffect as x1, useCallback as r1, useContext as b2, useRef as u1, useMemo as
|
|
7
|
+
import x3, { createContext as C2, useEffect as x1, useCallback as r1, useContext as b2, useRef as u1, useMemo as N, 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 W1 = M2.withTypes(),
|
|
10
|
+
const W1 = M2.withTypes(), m = x2.withTypes(), Z1 = (e) => e.appConfig, E2 = M(
|
|
11
11
|
Z1,
|
|
12
12
|
(e) => e.config
|
|
13
13
|
), T2 = M(
|
|
@@ -19,20 +19,20 @@ const W1 = M2.withTypes(), p = x2.withTypes(), Z1 = (e) => e.appConfig, E2 = M(
|
|
|
19
19
|
), _2 = M(
|
|
20
20
|
Z1,
|
|
21
21
|
(e) => e.config.partnerMetadata
|
|
22
|
-
), X8 = () =>
|
|
22
|
+
), X8 = () => m(E2), Q8 = () => m(T2), N8 = () => m(D2), e6 = () => m(_2), j3 = (e) => e.devices, C3 = M(
|
|
23
23
|
j3,
|
|
24
24
|
(e) => e
|
|
25
|
-
),
|
|
25
|
+
), A2 = (e) => M(
|
|
26
26
|
j3,
|
|
27
27
|
(t) => t[e] ? t[e] : void 0
|
|
28
|
-
), t6 = () =>
|
|
28
|
+
), t6 = () => m(C3);
|
|
29
29
|
function _(e) {
|
|
30
|
-
return
|
|
30
|
+
return m(A2(e));
|
|
31
31
|
}
|
|
32
|
-
const $ = (e) => e.rooms,
|
|
32
|
+
const $ = (e) => e.rooms, L2 = (e) => M(
|
|
33
33
|
$,
|
|
34
34
|
(t) => t[e] ? t[e].configuration : void 0
|
|
35
|
-
),
|
|
35
|
+
), P2 = M(
|
|
36
36
|
$,
|
|
37
37
|
(e) => e
|
|
38
38
|
), $2 = (e) => M(
|
|
@@ -147,21 +147,21 @@ const $ = (e) => e.rooms, P2 = (e) => M(
|
|
|
147
147
|
}
|
|
148
148
|
);
|
|
149
149
|
function n6(e) {
|
|
150
|
-
return
|
|
151
|
-
|
|
150
|
+
return m(
|
|
151
|
+
L2(e)
|
|
152
152
|
);
|
|
153
153
|
}
|
|
154
154
|
function o6() {
|
|
155
|
-
return
|
|
155
|
+
return m(P2);
|
|
156
156
|
}
|
|
157
157
|
function S1(e) {
|
|
158
|
-
return
|
|
158
|
+
return m($2(e));
|
|
159
159
|
}
|
|
160
|
-
const s6 = S1, c6 = (e) =>
|
|
160
|
+
const s6 = S1, c6 = (e) => m(
|
|
161
161
|
k2(e)
|
|
162
|
-
), te = (e, t) =>
|
|
162
|
+
), te = (e, t) => m(
|
|
163
163
|
B2(e, t)
|
|
164
|
-
), ne = (e) =>
|
|
164
|
+
), ne = (e) => m(O2(e)) || void 0, r6 = (e) => m(W2(e)), l6 = (e) => m(V2(e)), i6 = (e) => m(U2(e)), a6 = (e) => m(F2(e)), u6 = (e) => m(H2(e)), d6 = (e) => m(K2(e)), v6 = (e) => m(q2(e)), h6 = (e) => m(G2(e)), g6 = (e) => m(Y2(e)), f6 = (e) => m(z2(e)), w6 = (e) => m(J2(e)), m6 = (e) => m(X2(e)), p6 = (e) => m(Q2(e)), M6 = (e) => m((t) => ee(t, e)), x6 = (e) => m(N2(e)), G = (e) => e.runtimeConfig, oe = M(
|
|
165
165
|
G,
|
|
166
166
|
(e) => e.websocket.isConnected
|
|
167
167
|
), se = M(
|
|
@@ -203,20 +203,20 @@ const s6 = S1, c6 = (e) => p(
|
|
|
203
203
|
), ve = (e, t) => M(
|
|
204
204
|
y3(e),
|
|
205
205
|
(o) => o.includes(t)
|
|
206
|
-
), I3 = () =>
|
|
206
|
+
), I3 = () => m(oe), Z6 = () => m(se), S6 = () => m(ce), j6 = () => m(re), C6 = () => m(le), b6 = () => m(ie), y6 = () => m(ae), I6 = () => m(ue), R6 = () => m(de), E6 = () => m(b3), T6 = (e) => m(y3(e)), D6 = (e, t) => m(ve(e, t)), e1 = (e) => e.ui, V1 = (e) => M(e1, (t) => t.modalVisibility[e]), he = (e) => M(e1, (t) => {
|
|
207
207
|
const o = t.popoverVisibility[e];
|
|
208
208
|
if (o)
|
|
209
209
|
return Object.keys(o).find((c) => o[c]);
|
|
210
210
|
}), ge = (e, t) => M(
|
|
211
|
-
|
|
211
|
+
e1,
|
|
212
212
|
(o) => {
|
|
213
213
|
var c;
|
|
214
214
|
return ((c = o.popoverVisibility[e]) == null ? void 0 : c[t]) ?? !1;
|
|
215
215
|
}
|
|
216
|
-
), fe = M(
|
|
217
|
-
|
|
216
|
+
), fe = M(e1, (e) => e.error), we = M(
|
|
217
|
+
e1,
|
|
218
218
|
(e) => e.showReconnect
|
|
219
|
-
),
|
|
219
|
+
), me = M(e1, (e) => e.theme), pe = (e) => M(e1, (t) => t.syncState.includes(e)), _6 = () => m(V1("showShutdownModal")), A6 = () => m(V1("showIncomingCallModal")), L6 = (e) => m(V1(e)), P6 = (e) => m(he(e)), $6 = (e, t) => m(ge(e, t)), Me = () => m(fe), xe = () => m(we), k6 = () => m(me), Ze = (e) => m(pe(e)), Se = {
|
|
220
220
|
showReconnect: !1,
|
|
221
221
|
error: "",
|
|
222
222
|
modalVisibility: {
|
|
@@ -345,7 +345,7 @@ const g3 = {}, B1 = d1({
|
|
|
345
345
|
return g3;
|
|
346
346
|
}
|
|
347
347
|
}
|
|
348
|
-
}),
|
|
348
|
+
}), m1 = {
|
|
349
349
|
setRoomState: B1.actions.setRoomState,
|
|
350
350
|
clearRooms: B1.actions.clearRooms
|
|
351
351
|
}, Te = B1.reducer, De = {
|
|
@@ -414,13 +414,13 @@ const g3 = {}, B1 = d1({
|
|
|
414
414
|
e.touchpanelKey = t.payload;
|
|
415
415
|
}
|
|
416
416
|
}
|
|
417
|
-
}), U = D3.actions, _e = D3.reducer,
|
|
418
|
-
type:
|
|
417
|
+
}), U = D3.actions, _e = D3.reducer, L1 = M3.create(), _3 = "websocket/connect", A3 = "websocket/disconnect", L3 = "websocket/sendMessage", P3 = "websocket/addEventHandler", $3 = "websocket/removeEventHandler", k3 = "websocket/reconnect", B3 = () => ({ type: _3 }), B6 = () => ({ type: A3 }), Ae = (e, t) => ({
|
|
418
|
+
type: L3,
|
|
419
419
|
payload: { messageType: e, content: t }
|
|
420
|
-
}),
|
|
421
|
-
type:
|
|
420
|
+
}), Le = (e, t, o) => ({
|
|
421
|
+
type: P3,
|
|
422
422
|
payload: { eventType: e, key: t, callback: o }
|
|
423
|
-
}),
|
|
423
|
+
}), Pe = (e, t) => ({
|
|
424
424
|
type: $3,
|
|
425
425
|
payload: { eventType: e, key: t }
|
|
426
426
|
}), $e = () => ({ type: k3 }), ke = () => {
|
|
@@ -434,14 +434,14 @@ const g3 = {}, B1 = d1({
|
|
|
434
434
|
try {
|
|
435
435
|
const Z = location.pathname.split("/").filter((b) => b.length > 0);
|
|
436
436
|
Z.length >= 5 ? Z.length = 5 : Z.length = 2;
|
|
437
|
-
const C = `/${Z.join("/")}`, S = await
|
|
437
|
+
const C = `/${Z.join("/")}`, S = await L1.get(
|
|
438
438
|
"/_local-config/_config.local.json",
|
|
439
439
|
{ baseURL: C }
|
|
440
440
|
);
|
|
441
441
|
if (S.status === 200 && S.data) {
|
|
442
442
|
const b = S.data.apiPath;
|
|
443
443
|
a(T3.setAppConfig(S.data));
|
|
444
|
-
const x = await
|
|
444
|
+
const x = await L1.get(
|
|
445
445
|
`${b}/version`
|
|
446
446
|
);
|
|
447
447
|
x.status === 200 && x.data && a(U.setRuntimeConfig(x.data));
|
|
@@ -452,12 +452,12 @@ const g3 = {}, B1 = d1({
|
|
|
452
452
|
return !0;
|
|
453
453
|
}, o = async (a, Z, C) => {
|
|
454
454
|
try {
|
|
455
|
-
const S = await
|
|
455
|
+
const S = await L1.get(
|
|
456
456
|
`${a}/ui/joinroom?token=${Z}`
|
|
457
457
|
);
|
|
458
458
|
return S.status === 200 && S.data ? (C(U.setRoomData(S.data)), S.data) : null;
|
|
459
459
|
} catch (S) {
|
|
460
|
-
return console.log(S), S instanceof
|
|
460
|
+
return console.log(S), S instanceof p2 && S.response && S.response.status === 498 ? (console.error("Invalid token. Unable to join room"), C(
|
|
461
461
|
O.setErrorMessage(
|
|
462
462
|
`Token ${Z} is invalid. Unable to join room`
|
|
463
463
|
)
|
|
@@ -470,7 +470,7 @@ const g3 = {}, B1 = d1({
|
|
|
470
470
|
}, r = () => {
|
|
471
471
|
e.reconnectTimer && (console.log("WebSocket middleware: Stopping reconnection loop"), clearTimeout(e.reconnectTimer), e.reconnectTimer = null);
|
|
472
472
|
}, l = (a) => {
|
|
473
|
-
a(O.setShowReconnect(!0)), a(U.setWebsocketIsConnected(!1)), a(w1.clearDevices()), a(
|
|
473
|
+
a(O.setShowReconnect(!0)), a(U.setWebsocketIsConnected(!1)), a(w1.clearDevices()), a(m1.clearRooms()), a(O.clearAllModals()), a(O.clearSyncState());
|
|
474
474
|
}, v = (a, Z) => {
|
|
475
475
|
const C = a(), S = Z ?? C.runtimeConfig.roomData.roomKey, { clientId: b } = C.runtimeConfig.roomData, x = C.runtimeConfig.websocket.isConnected;
|
|
476
476
|
if (!Z || !x || !b) {
|
|
@@ -587,7 +587,7 @@ const g3 = {}, B1 = d1({
|
|
|
587
587
|
O.setErrorMessage(
|
|
588
588
|
"Connection lost. Attempting to reconnect..."
|
|
589
589
|
)
|
|
590
|
-
), a(U.setWebsocketIsConnected(!1)), a(w1.clearDevices()), a(
|
|
590
|
+
), a(U.setWebsocketIsConnected(!1)), a(w1.clearDevices()), a(m1.clearRooms()), a(O.clearAllModals()), a(O.clearSyncState()), c(a);
|
|
591
591
|
}, K.onmessage = (k) => {
|
|
592
592
|
try {
|
|
593
593
|
const D = JSON.parse(k.data);
|
|
@@ -605,7 +605,7 @@ const g3 = {}, B1 = d1({
|
|
|
605
605
|
);
|
|
606
606
|
break;
|
|
607
607
|
case "/system/roomKey":
|
|
608
|
-
a(
|
|
608
|
+
a(m1.clearRooms()), a(w1.clearDevices()), a(O.clearSyncState()), a(
|
|
609
609
|
U.setCurrentRoomKey(
|
|
610
610
|
D.content
|
|
611
611
|
)
|
|
@@ -650,7 +650,7 @@ const g3 = {}, B1 = d1({
|
|
|
650
650
|
);
|
|
651
651
|
}
|
|
652
652
|
});
|
|
653
|
-
} else D.type.startsWith("/room/") ? a(
|
|
653
|
+
} else D.type.startsWith("/room/") ? a(m1.setRoomState(D)) : D.type.startsWith("/device/") && a(w1.setDeviceState(D));
|
|
654
654
|
} catch (D) {
|
|
655
655
|
console.error("WebSocket middleware: Message handling error", D);
|
|
656
656
|
}
|
|
@@ -667,7 +667,7 @@ const g3 = {}, B1 = d1({
|
|
|
667
667
|
) : console.warn("WebSocket middleware: Cannot send message - not connected");
|
|
668
668
|
}, u = (a, Z, C) => {
|
|
669
669
|
e.eventHandlers[a] || (e.eventHandlers[a] = {}), e.eventHandlers[a][Z] = C, console.log("WebSocket middleware: Event handler added", a, Z);
|
|
670
|
-
},
|
|
670
|
+
}, A = (a, Z) => {
|
|
671
671
|
e.eventHandlers[a] && (delete e.eventHandlers[a][Z], console.log(
|
|
672
672
|
"WebSocket middleware: Event handler removed",
|
|
673
673
|
a,
|
|
@@ -689,17 +689,17 @@ const g3 = {}, B1 = d1({
|
|
|
689
689
|
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 g(a.dispatch, a.getState);
|
|
690
690
|
break;
|
|
691
691
|
}
|
|
692
|
-
case
|
|
692
|
+
case A3:
|
|
693
693
|
h();
|
|
694
694
|
break;
|
|
695
|
-
case
|
|
695
|
+
case L3:
|
|
696
696
|
f(
|
|
697
697
|
b.payload.messageType,
|
|
698
698
|
b.payload.content,
|
|
699
699
|
a.getState
|
|
700
700
|
);
|
|
701
701
|
break;
|
|
702
|
-
case
|
|
702
|
+
case P3:
|
|
703
703
|
u(
|
|
704
704
|
b.payload.eventType,
|
|
705
705
|
b.payload.key,
|
|
@@ -707,7 +707,7 @@ const g3 = {}, B1 = d1({
|
|
|
707
707
|
);
|
|
708
708
|
break;
|
|
709
709
|
case $3:
|
|
710
|
-
|
|
710
|
+
A(
|
|
711
711
|
b.payload.eventType,
|
|
712
712
|
b.payload.key
|
|
713
713
|
);
|
|
@@ -778,7 +778,7 @@ function O6() {
|
|
|
778
778
|
return !0;
|
|
779
779
|
};
|
|
780
780
|
}
|
|
781
|
-
var
|
|
781
|
+
var p1 = { exports: {} }, l1 = {};
|
|
782
782
|
/**
|
|
783
783
|
* @license React
|
|
784
784
|
* react-jsx-runtime.production.min.js
|
|
@@ -794,11 +794,11 @@ function We() {
|
|
|
794
794
|
w3 = 1;
|
|
795
795
|
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, l = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
796
796
|
function v(g, h, f) {
|
|
797
|
-
var u,
|
|
797
|
+
var u, A = {}, F = null, a = null;
|
|
798
798
|
f !== void 0 && (F = "" + f), h.key !== void 0 && (F = "" + h.key), h.ref !== void 0 && (a = h.ref);
|
|
799
|
-
for (u in h) c.call(h, u) && !l.hasOwnProperty(u) && (
|
|
800
|
-
if (g && g.defaultProps) for (u in h = g.defaultProps, h)
|
|
801
|
-
return { $$typeof: t, type: g, key: F, ref: a, props:
|
|
799
|
+
for (u in h) c.call(h, u) && !l.hasOwnProperty(u) && (A[u] = h[u]);
|
|
800
|
+
if (g && g.defaultProps) for (u in h = g.defaultProps, h) A[u] === void 0 && (A[u] = h[u]);
|
|
801
|
+
return { $$typeof: t, type: g, key: F, ref: a, props: A, _owner: r.current };
|
|
802
802
|
}
|
|
803
803
|
return l1.Fragment = o, l1.jsx = v, l1.jsxs = v, l1;
|
|
804
804
|
}
|
|
@@ -812,10 +812,10 @@ var i1 = {};
|
|
|
812
812
|
* This source code is licensed under the MIT license found in the
|
|
813
813
|
* LICENSE file in the root directory of this source tree.
|
|
814
814
|
*/
|
|
815
|
-
var
|
|
815
|
+
var m3;
|
|
816
816
|
function Ve() {
|
|
817
|
-
return
|
|
818
|
-
var e = x3, t = Symbol.for("react.element"), o = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), v = Symbol.for("react.provider"), g = Symbol.for("react.context"), h = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"),
|
|
817
|
+
return m3 || (m3 = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
818
|
+
var e = x3, t = Symbol.for("react.element"), o = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), v = Symbol.for("react.provider"), g = Symbol.for("react.context"), h = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), A = Symbol.for("react.memo"), F = Symbol.for("react.lazy"), a = Symbol.for("react.offscreen"), Z = Symbol.iterator, C = "@@iterator";
|
|
819
819
|
function S(s) {
|
|
820
820
|
if (s === null || typeof s != "object")
|
|
821
821
|
return null;
|
|
@@ -825,14 +825,14 @@ function Ve() {
|
|
|
825
825
|
var b = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
826
826
|
function x(s) {
|
|
827
827
|
{
|
|
828
|
-
for (var i = arguments.length, d = new Array(i > 1 ? i - 1 : 0),
|
|
829
|
-
d[
|
|
828
|
+
for (var i = arguments.length, d = new Array(i > 1 ? i - 1 : 0), p = 1; p < i; p++)
|
|
829
|
+
d[p - 1] = arguments[p];
|
|
830
830
|
W("error", s, d);
|
|
831
831
|
}
|
|
832
832
|
}
|
|
833
833
|
function W(s, i, d) {
|
|
834
834
|
{
|
|
835
|
-
var
|
|
835
|
+
var p = b.ReactDebugCurrentFrame, E = p.getStackAddendum();
|
|
836
836
|
E !== "" && (i += "%s", d = d.concat([E]));
|
|
837
837
|
var T = d.map(function(y) {
|
|
838
838
|
return String(y);
|
|
@@ -843,16 +843,16 @@ function Ve() {
|
|
|
843
843
|
var C1 = !1, K = !1, k = !1, D = !1, z = !1, o1;
|
|
844
844
|
o1 = Symbol.for("react.module.reference");
|
|
845
845
|
function b1(s) {
|
|
846
|
-
return !!(typeof s == "string" || typeof s == "function" || s === c || s === l || z || s === r || s === f || s === u || D || s === a || C1 || K || k || typeof s == "object" && s !== null && (s.$$typeof === F || s.$$typeof ===
|
|
846
|
+
return !!(typeof s == "string" || typeof s == "function" || s === c || s === l || z || s === r || s === f || s === u || D || s === a || C1 || K || k || typeof s == "object" && s !== null && (s.$$typeof === F || s.$$typeof === A || s.$$typeof === v || s.$$typeof === g || s.$$typeof === h || // This needs to include all possible module reference object
|
|
847
847
|
// types supported by any Flight configuration anywhere since
|
|
848
848
|
// we don't know which Flight build this will end up being used
|
|
849
849
|
// with.
|
|
850
850
|
s.$$typeof === o1 || s.getModuleId !== void 0));
|
|
851
851
|
}
|
|
852
852
|
function U3(s, i, d) {
|
|
853
|
-
var
|
|
854
|
-
if (
|
|
855
|
-
return
|
|
853
|
+
var p = s.displayName;
|
|
854
|
+
if (p)
|
|
855
|
+
return p;
|
|
856
856
|
var E = i.displayName || i.name || "";
|
|
857
857
|
return E !== "" ? d + "(" + E + ")" : d;
|
|
858
858
|
}
|
|
@@ -890,9 +890,9 @@ function Ve() {
|
|
|
890
890
|
return U1(d._context) + ".Provider";
|
|
891
891
|
case h:
|
|
892
892
|
return U3(s, s.render, "ForwardRef");
|
|
893
|
-
case
|
|
894
|
-
var
|
|
895
|
-
return
|
|
893
|
+
case A:
|
|
894
|
+
var p = s.displayName || null;
|
|
895
|
+
return p !== null ? p : J(s.type) || "Memo";
|
|
896
896
|
case F: {
|
|
897
897
|
var E = s, T = E._payload, y = E._init;
|
|
898
898
|
try {
|
|
@@ -973,8 +973,8 @@ function Ve() {
|
|
|
973
973
|
try {
|
|
974
974
|
throw Error();
|
|
975
975
|
} catch (E) {
|
|
976
|
-
var
|
|
977
|
-
I1 =
|
|
976
|
+
var p = E.stack.trim().match(/\n( *(at )?)/);
|
|
977
|
+
I1 = p && p[1] || "";
|
|
978
978
|
}
|
|
979
979
|
return `
|
|
980
980
|
` + I1 + s;
|
|
@@ -993,7 +993,7 @@ function Ve() {
|
|
|
993
993
|
if (d !== void 0)
|
|
994
994
|
return d;
|
|
995
995
|
}
|
|
996
|
-
var
|
|
996
|
+
var p;
|
|
997
997
|
R1 = !0;
|
|
998
998
|
var E = Error.prepareStackTrace;
|
|
999
999
|
Error.prepareStackTrace = void 0;
|
|
@@ -1012,14 +1012,14 @@ function Ve() {
|
|
|
1012
1012
|
try {
|
|
1013
1013
|
Reflect.construct(y, []);
|
|
1014
1014
|
} catch (V) {
|
|
1015
|
-
|
|
1015
|
+
p = V;
|
|
1016
1016
|
}
|
|
1017
1017
|
Reflect.construct(s, [], y);
|
|
1018
1018
|
} else {
|
|
1019
1019
|
try {
|
|
1020
1020
|
y.call();
|
|
1021
1021
|
} catch (V) {
|
|
1022
|
-
|
|
1022
|
+
p = V;
|
|
1023
1023
|
}
|
|
1024
1024
|
s.call(y.prototype);
|
|
1025
1025
|
}
|
|
@@ -1027,33 +1027,33 @@ function Ve() {
|
|
|
1027
1027
|
try {
|
|
1028
1028
|
throw Error();
|
|
1029
1029
|
} catch (V) {
|
|
1030
|
-
|
|
1030
|
+
p = V;
|
|
1031
1031
|
}
|
|
1032
1032
|
s();
|
|
1033
1033
|
}
|
|
1034
1034
|
} catch (V) {
|
|
1035
|
-
if (V &&
|
|
1035
|
+
if (V && p && typeof V.stack == "string") {
|
|
1036
1036
|
for (var j = V.stack.split(`
|
|
1037
|
-
`), B =
|
|
1038
|
-
`),
|
|
1039
|
-
|
|
1040
|
-
for (;
|
|
1041
|
-
if (j[
|
|
1042
|
-
if (
|
|
1037
|
+
`), B = p.stack.split(`
|
|
1038
|
+
`), L = j.length - 1, P = B.length - 1; L >= 1 && P >= 0 && j[L] !== B[P]; )
|
|
1039
|
+
P--;
|
|
1040
|
+
for (; L >= 1 && P >= 0; L--, P--)
|
|
1041
|
+
if (j[L] !== B[P]) {
|
|
1042
|
+
if (L !== 1 || P !== 1)
|
|
1043
1043
|
do
|
|
1044
|
-
if (
|
|
1044
|
+
if (L--, P--, P < 0 || j[L] !== B[P]) {
|
|
1045
1045
|
var H = `
|
|
1046
|
-
` + j[
|
|
1046
|
+
` + j[L].replace(" at new ", " at ");
|
|
1047
1047
|
return s.displayName && H.includes("<anonymous>") && (H = H.replace("<anonymous>", s.displayName)), typeof s == "function" && h1.set(s, H), H;
|
|
1048
1048
|
}
|
|
1049
|
-
while (
|
|
1049
|
+
while (L >= 1 && P >= 0);
|
|
1050
1050
|
break;
|
|
1051
1051
|
}
|
|
1052
1052
|
}
|
|
1053
1053
|
} finally {
|
|
1054
1054
|
R1 = !1, y1.current = T, H3(), Error.prepareStackTrace = E;
|
|
1055
1055
|
}
|
|
1056
|
-
var
|
|
1056
|
+
var n1 = s ? s.displayName || s.name : "", Q = n1 ? v1(n1) : "";
|
|
1057
1057
|
return typeof s == "function" && h1.set(s, Q), Q;
|
|
1058
1058
|
}
|
|
1059
1059
|
function q3(s, i, d) {
|
|
@@ -1080,10 +1080,10 @@ function Ve() {
|
|
|
1080
1080
|
switch (s.$$typeof) {
|
|
1081
1081
|
case h:
|
|
1082
1082
|
return q3(s.render);
|
|
1083
|
-
case
|
|
1083
|
+
case A:
|
|
1084
1084
|
return g1(s.type, i, d);
|
|
1085
1085
|
case F: {
|
|
1086
|
-
var
|
|
1086
|
+
var p = s, E = p._payload, T = p._init;
|
|
1087
1087
|
try {
|
|
1088
1088
|
return g1(T(E), i, d);
|
|
1089
1089
|
} catch {
|
|
@@ -1100,7 +1100,7 @@ function Ve() {
|
|
|
1100
1100
|
} else
|
|
1101
1101
|
N1.setExtraStackFrame(null);
|
|
1102
1102
|
}
|
|
1103
|
-
function Y3(s, i, d,
|
|
1103
|
+
function Y3(s, i, d, p, E) {
|
|
1104
1104
|
{
|
|
1105
1105
|
var T = Function.call.bind(c1);
|
|
1106
1106
|
for (var y in s)
|
|
@@ -1108,14 +1108,14 @@ function Ve() {
|
|
|
1108
1108
|
var j = void 0;
|
|
1109
1109
|
try {
|
|
1110
1110
|
if (typeof s[y] != "function") {
|
|
1111
|
-
var B = Error((
|
|
1111
|
+
var B = Error((p || "React class") + ": " + d + " type `" + y + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof s[y] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
1112
1112
|
throw B.name = "Invariant Violation", B;
|
|
1113
1113
|
}
|
|
1114
|
-
j = s[y](i, y,
|
|
1115
|
-
} catch (
|
|
1116
|
-
j =
|
|
1114
|
+
j = s[y](i, y, p, d, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
1115
|
+
} catch (L) {
|
|
1116
|
+
j = L;
|
|
1117
1117
|
}
|
|
1118
|
-
j && !(j instanceof Error) && (f1(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).",
|
|
1118
|
+
j && !(j instanceof Error) && (f1(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).", p || "React class", d, y, typeof j), f1(null)), j instanceof Error && !(j.message in Q1) && (Q1[j.message] = !0, f1(E), x("Failed %s type: %s", d, j.message), f1(null));
|
|
1119
1119
|
}
|
|
1120
1120
|
}
|
|
1121
1121
|
}
|
|
@@ -1190,7 +1190,7 @@ function Ve() {
|
|
|
1190
1190
|
});
|
|
1191
1191
|
}
|
|
1192
1192
|
}
|
|
1193
|
-
var s2 = function(s, i, d,
|
|
1193
|
+
var s2 = function(s, i, d, p, E, T, y) {
|
|
1194
1194
|
var j = {
|
|
1195
1195
|
// This tag allows us to uniquely identify this as a React Element
|
|
1196
1196
|
$$typeof: t,
|
|
@@ -1211,7 +1211,7 @@ function Ve() {
|
|
|
1211
1211
|
configurable: !1,
|
|
1212
1212
|
enumerable: !1,
|
|
1213
1213
|
writable: !1,
|
|
1214
|
-
value:
|
|
1214
|
+
value: p
|
|
1215
1215
|
}), Object.defineProperty(j, "_source", {
|
|
1216
1216
|
configurable: !1,
|
|
1217
1217
|
enumerable: !1,
|
|
@@ -1219,26 +1219,26 @@ function Ve() {
|
|
|
1219
1219
|
value: E
|
|
1220
1220
|
}), Object.freeze && (Object.freeze(j.props), Object.freeze(j)), j;
|
|
1221
1221
|
};
|
|
1222
|
-
function c2(s, i, d,
|
|
1222
|
+
function c2(s, i, d, p, E) {
|
|
1223
1223
|
{
|
|
1224
1224
|
var T, y = {}, j = null, B = null;
|
|
1225
1225
|
d !== void 0 && (t3(d), j = "" + d), e2(i) && (t3(i.key), j = "" + i.key), N3(i) && (B = i.ref, t2(i, E));
|
|
1226
1226
|
for (T in i)
|
|
1227
1227
|
c1.call(i, T) && !Q3.hasOwnProperty(T) && (y[T] = i[T]);
|
|
1228
1228
|
if (s && s.defaultProps) {
|
|
1229
|
-
var
|
|
1230
|
-
for (T in
|
|
1231
|
-
y[T] === void 0 && (y[T] =
|
|
1229
|
+
var L = s.defaultProps;
|
|
1230
|
+
for (T in L)
|
|
1231
|
+
y[T] === void 0 && (y[T] = L[T]);
|
|
1232
1232
|
}
|
|
1233
1233
|
if (j || B) {
|
|
1234
|
-
var
|
|
1235
|
-
j && n2(y,
|
|
1234
|
+
var P = typeof s == "function" ? s.displayName || s.name || "Unknown" : s;
|
|
1235
|
+
j && n2(y, P), B && o2(y, P);
|
|
1236
1236
|
}
|
|
1237
|
-
return s2(s, j, B, E,
|
|
1237
|
+
return s2(s, j, B, E, p, n3.current, y);
|
|
1238
1238
|
}
|
|
1239
1239
|
}
|
|
1240
1240
|
var T1 = b.ReactCurrentOwner, c3 = b.ReactDebugCurrentFrame;
|
|
1241
|
-
function
|
|
1241
|
+
function t1(s) {
|
|
1242
1242
|
if (s) {
|
|
1243
1243
|
var i = s._owner, d = g1(s.type, s._source, i ? i.type : null);
|
|
1244
1244
|
c3.setExtraStackFrame(d);
|
|
@@ -1287,8 +1287,8 @@ Check the top-level render call using <` + d + ">.");
|
|
|
1287
1287
|
if (l3[d])
|
|
1288
1288
|
return;
|
|
1289
1289
|
l3[d] = !0;
|
|
1290
|
-
var
|
|
1291
|
-
s && s._owner && s._owner !== T1.current && (
|
|
1290
|
+
var p = "";
|
|
1291
|
+
s && s._owner && s._owner !== T1.current && (p = " It was passed a child from " + J(s._owner.type) + "."), t1(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, p), t1(null);
|
|
1292
1292
|
}
|
|
1293
1293
|
}
|
|
1294
1294
|
function a3(s, i) {
|
|
@@ -1297,8 +1297,8 @@ Check the top-level render call using <` + d + ">.");
|
|
|
1297
1297
|
return;
|
|
1298
1298
|
if (E1(s))
|
|
1299
1299
|
for (var d = 0; d < s.length; d++) {
|
|
1300
|
-
var
|
|
1301
|
-
_1(
|
|
1300
|
+
var p = s[d];
|
|
1301
|
+
_1(p) && i3(p, i);
|
|
1302
1302
|
}
|
|
1303
1303
|
else if (_1(s))
|
|
1304
1304
|
s._store && (s._store.validated = !0);
|
|
@@ -1320,13 +1320,13 @@ Check the top-level render call using <` + d + ">.");
|
|
|
1320
1320
|
d = i.propTypes;
|
|
1321
1321
|
else if (typeof i == "object" && (i.$$typeof === h || // Note: Memo only checks outer props here.
|
|
1322
1322
|
// Inner props are checked in the reconciler.
|
|
1323
|
-
i.$$typeof ===
|
|
1323
|
+
i.$$typeof === A))
|
|
1324
1324
|
d = i.propTypes;
|
|
1325
1325
|
else
|
|
1326
1326
|
return;
|
|
1327
1327
|
if (d) {
|
|
1328
|
-
var
|
|
1329
|
-
Y3(d, s.props, "prop",
|
|
1328
|
+
var p = J(i);
|
|
1329
|
+
Y3(d, s.props, "prop", p, s);
|
|
1330
1330
|
} else if (i.PropTypes !== void 0 && !D1) {
|
|
1331
1331
|
D1 = !0;
|
|
1332
1332
|
var E = J(i);
|
|
@@ -1338,17 +1338,17 @@ Check the top-level render call using <` + d + ">.");
|
|
|
1338
1338
|
function a2(s) {
|
|
1339
1339
|
{
|
|
1340
1340
|
for (var i = Object.keys(s.props), d = 0; d < i.length; d++) {
|
|
1341
|
-
var
|
|
1342
|
-
if (
|
|
1343
|
-
|
|
1341
|
+
var p = i[d];
|
|
1342
|
+
if (p !== "children" && p !== "key") {
|
|
1343
|
+
t1(s), x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", p), t1(null);
|
|
1344
1344
|
break;
|
|
1345
1345
|
}
|
|
1346
1346
|
}
|
|
1347
|
-
s.ref !== null && (
|
|
1347
|
+
s.ref !== null && (t1(s), x("Invalid attribute `ref` supplied to `React.Fragment`."), t1(null));
|
|
1348
1348
|
}
|
|
1349
1349
|
}
|
|
1350
1350
|
var u3 = {};
|
|
1351
|
-
function d3(s, i, d,
|
|
1351
|
+
function d3(s, i, d, p, E, T) {
|
|
1352
1352
|
{
|
|
1353
1353
|
var y = b1(s);
|
|
1354
1354
|
if (!y) {
|
|
@@ -1356,19 +1356,19 @@ Check the top-level render call using <` + d + ">.");
|
|
|
1356
1356
|
(s === void 0 || typeof s == "object" && s !== null && Object.keys(s).length === 0) && (j += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
1357
1357
|
var B = r2();
|
|
1358
1358
|
B ? j += B : j += r3();
|
|
1359
|
-
var
|
|
1360
|
-
s === null ?
|
|
1359
|
+
var L;
|
|
1360
|
+
s === null ? L = "null" : E1(s) ? L = "array" : s !== void 0 && s.$$typeof === t ? (L = "<" + (J(s.type) || "Unknown") + " />", j = " 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, j);
|
|
1361
1361
|
}
|
|
1362
|
-
var
|
|
1363
|
-
if (
|
|
1364
|
-
return
|
|
1362
|
+
var P = c2(s, i, d, E, T);
|
|
1363
|
+
if (P == null)
|
|
1364
|
+
return P;
|
|
1365
1365
|
if (y) {
|
|
1366
1366
|
var H = i.children;
|
|
1367
1367
|
if (H !== void 0)
|
|
1368
|
-
if (
|
|
1368
|
+
if (p)
|
|
1369
1369
|
if (E1(H)) {
|
|
1370
|
-
for (var
|
|
1371
|
-
a3(H[
|
|
1370
|
+
for (var n1 = 0; n1 < H.length; n1++)
|
|
1371
|
+
a3(H[n1], s);
|
|
1372
1372
|
Object.freeze && Object.freeze(H);
|
|
1373
1373
|
} else
|
|
1374
1374
|
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.");
|
|
@@ -1378,18 +1378,18 @@ Check the top-level render call using <` + d + ">.");
|
|
|
1378
1378
|
if (c1.call(i, "key")) {
|
|
1379
1379
|
var Q = J(s), V = Object.keys(i).filter(function(f2) {
|
|
1380
1380
|
return f2 !== "key";
|
|
1381
|
-
}),
|
|
1382
|
-
if (!u3[Q +
|
|
1381
|
+
}), A1 = V.length > 0 ? "{key: someKey, " + V.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
1382
|
+
if (!u3[Q + A1]) {
|
|
1383
1383
|
var g2 = V.length > 0 ? "{" + V.join(": ..., ") + ": ...}" : "{}";
|
|
1384
1384
|
x(`A props object containing a "key" prop is being spread into JSX:
|
|
1385
1385
|
let props = %s;
|
|
1386
1386
|
<%s {...props} />
|
|
1387
1387
|
React keys must be passed directly to JSX without using spread:
|
|
1388
1388
|
let props = %s;
|
|
1389
|
-
<%s key={someKey} {...props} />`,
|
|
1389
|
+
<%s key={someKey} {...props} />`, A1, Q, g2, Q), u3[Q + A1] = !0;
|
|
1390
1390
|
}
|
|
1391
1391
|
}
|
|
1392
|
-
return s === c ? a2(
|
|
1392
|
+
return s === c ? a2(P) : i2(P), P;
|
|
1393
1393
|
}
|
|
1394
1394
|
}
|
|
1395
1395
|
function u2(s, i, d) {
|
|
@@ -1402,15 +1402,15 @@ React keys must be passed directly to JSX without using spread:
|
|
|
1402
1402
|
i1.Fragment = c, i1.jsx = v2, i1.jsxs = h2;
|
|
1403
1403
|
})()), i1;
|
|
1404
1404
|
}
|
|
1405
|
-
var
|
|
1405
|
+
var p3;
|
|
1406
1406
|
function Ue() {
|
|
1407
|
-
return
|
|
1407
|
+
return p3 || (p3 = 1, process.env.NODE_ENV === "production" ? p1.exports = We() : p1.exports = Ve()), p1.exports;
|
|
1408
1408
|
}
|
|
1409
1409
|
var n = Ue();
|
|
1410
1410
|
const Fe = "_mwfit_ppa3l_1", He = {
|
|
1411
1411
|
mwfit: Fe
|
|
1412
1412
|
}, Ke = () => {
|
|
1413
|
-
const { reconnect: e } =
|
|
1413
|
+
const { reconnect: e } = I(), t = I3(), o = Me(), c = xe();
|
|
1414
1414
|
return /* @__PURE__ */ n.jsxs("div", { className: "vh-100 d-flex flex-column flex-grow-1 justify-content-center align-items-center gap-5 ", children: [
|
|
1415
1415
|
/* @__PURE__ */ n.jsxs("div", { className: `${He.mwfit} mx-auto text-center`, children: [
|
|
1416
1416
|
t === void 0 ? /* @__PURE__ */ n.jsx("h2", { children: "Connecting..." }) : /* @__PURE__ */ n.jsx("h2", { children: "Disconnected" }),
|
|
@@ -1431,7 +1431,7 @@ const Fe = "_mwfit_ppa3l_1", He = {
|
|
|
1431
1431
|
}, [t]);
|
|
1432
1432
|
const c = r1(
|
|
1433
1433
|
(h, f) => {
|
|
1434
|
-
t(
|
|
1434
|
+
t(Ae(h, f));
|
|
1435
1435
|
},
|
|
1436
1436
|
[t]
|
|
1437
1437
|
), r = r1(
|
|
@@ -1441,12 +1441,12 @@ const Fe = "_mwfit_ppa3l_1", He = {
|
|
|
1441
1441
|
[c]
|
|
1442
1442
|
), l = r1(
|
|
1443
1443
|
(h, f, u) => {
|
|
1444
|
-
t(
|
|
1444
|
+
t(Le(h, f, u));
|
|
1445
1445
|
},
|
|
1446
1446
|
[t]
|
|
1447
1447
|
), v = r1(
|
|
1448
1448
|
(h, f) => {
|
|
1449
|
-
t(
|
|
1449
|
+
t(Pe(h, f));
|
|
1450
1450
|
},
|
|
1451
1451
|
[t]
|
|
1452
1452
|
), g = r1(() => {
|
|
@@ -1466,7 +1466,7 @@ const Fe = "_mwfit_ppa3l_1", He = {
|
|
|
1466
1466
|
}
|
|
1467
1467
|
);
|
|
1468
1468
|
}, W6 = ({ children: e }) => /* @__PURE__ */ n.jsx(Z2, { store: Oe, children: /* @__PURE__ */ n.jsx(qe, { children: e }) });
|
|
1469
|
-
function
|
|
1469
|
+
function I() {
|
|
1470
1470
|
return b2(O3);
|
|
1471
1471
|
}
|
|
1472
1472
|
function Ge({
|
|
@@ -1495,7 +1495,7 @@ function Ge({
|
|
|
1495
1495
|
};
|
|
1496
1496
|
}
|
|
1497
1497
|
function w(e, t) {
|
|
1498
|
-
const { sendMessage: c } =
|
|
1498
|
+
const { sendMessage: c } = I(), r = u1(null);
|
|
1499
1499
|
function l() {
|
|
1500
1500
|
c(`${e}/${t}`, { value: "pressed" }), r.current || (r.current = setInterval(() => {
|
|
1501
1501
|
c(`${e}/${t}`, { value: "held" });
|
|
@@ -1507,24 +1507,24 @@ function w(e, t) {
|
|
|
1507
1507
|
return Ge({ onPress: l, onRelease: v });
|
|
1508
1508
|
}
|
|
1509
1509
|
function j1(e) {
|
|
1510
|
-
const { sendMessage: t } =
|
|
1511
|
-
return
|
|
1510
|
+
const { sendMessage: t } = I(), o = w(`${e}`, "volumeUp"), c = w(`${e}`, "volumeDown");
|
|
1511
|
+
return N(() => ({
|
|
1512
1512
|
volumeUp: o,
|
|
1513
1513
|
volumeDown: c,
|
|
1514
1514
|
muteToggle: () => t(`${e}/muteToggle`, null)
|
|
1515
1515
|
}), [e, t, o, c]);
|
|
1516
1516
|
}
|
|
1517
1517
|
function V6(e) {
|
|
1518
|
-
const { sendMessage: t } =
|
|
1519
|
-
return
|
|
1518
|
+
const { sendMessage: t } = I(), o = w(`${e}`, "volumeUp"), c = w(`${e}`, "volumeDown");
|
|
1519
|
+
return N(() => ({
|
|
1520
1520
|
volumeUp: o,
|
|
1521
1521
|
volumeDown: c,
|
|
1522
1522
|
muteToggle: () => t(`${e}/muteToggle`, null)
|
|
1523
1523
|
}), [e, t, o, c]);
|
|
1524
1524
|
}
|
|
1525
1525
|
function W3(e, t) {
|
|
1526
|
-
const { sendMessage: o, sendSimpleMessage: c } =
|
|
1527
|
-
return
|
|
1526
|
+
const { sendMessage: o, sendSimpleMessage: c } = I(), r = j1(e);
|
|
1527
|
+
return N(() => {
|
|
1528
1528
|
if (!r) {
|
|
1529
1529
|
console.log("baseVolume is undefined");
|
|
1530
1530
|
return;
|
|
@@ -1543,8 +1543,8 @@ function W3(e, t) {
|
|
|
1543
1543
|
}, [r, t, e, o, c]);
|
|
1544
1544
|
}
|
|
1545
1545
|
function U6(e, t) {
|
|
1546
|
-
const { sendMessage: o, sendSimpleMessage: c } =
|
|
1547
|
-
return
|
|
1546
|
+
const { sendMessage: o, sendSimpleMessage: c } = I(), r = j1(e);
|
|
1547
|
+
return N(() => !r || !t ? void 0 : {
|
|
1548
1548
|
...r,
|
|
1549
1549
|
volumeState: t,
|
|
1550
1550
|
setLevel: (h) => c(`${e}/level`, h),
|
|
@@ -1553,14 +1553,14 @@ function U6(e, t) {
|
|
|
1553
1553
|
}, [r, t, e, o, c]);
|
|
1554
1554
|
}
|
|
1555
1555
|
function Ye(e) {
|
|
1556
|
-
const t = _(e), o = `/device/${e}`, c =
|
|
1556
|
+
const t = _(e), o = `/device/${e}`, c = N(() => {
|
|
1557
1557
|
if (t)
|
|
1558
1558
|
return t.volume;
|
|
1559
1559
|
}, [t]);
|
|
1560
1560
|
return W3(o, c);
|
|
1561
1561
|
}
|
|
1562
1562
|
function V3(e) {
|
|
1563
|
-
const { sendMessage: t } =
|
|
1563
|
+
const { sendMessage: t } = I();
|
|
1564
1564
|
return { powerOn: () => {
|
|
1565
1565
|
t(`/device/${e}/powerOn`, null);
|
|
1566
1566
|
}, powerOff: () => {
|
|
@@ -1570,13 +1570,13 @@ function V3(e) {
|
|
|
1570
1570
|
} };
|
|
1571
1571
|
}
|
|
1572
1572
|
function O1(e) {
|
|
1573
|
-
const { sendMessage: t } =
|
|
1573
|
+
const { sendMessage: t } = I(), o = _(e);
|
|
1574
1574
|
return console.log("deviceState", o), o ? { itemsState: o, selectItem: (r) => {
|
|
1575
1575
|
t(`/device/${e}/${r}`, null);
|
|
1576
1576
|
} } : void 0;
|
|
1577
1577
|
}
|
|
1578
1578
|
function ze(e) {
|
|
1579
|
-
const { sendMessage: t } =
|
|
1579
|
+
const { sendMessage: t } = I(), o = _(e), c = () => {
|
|
1580
1580
|
t(`/device/${e}/setDefaultChannelLevels`, null);
|
|
1581
1581
|
}, r = () => {
|
|
1582
1582
|
if ((o == null ? void 0 : o.levelControls) === void 0) return;
|
|
@@ -1598,7 +1598,21 @@ function F6(e) {
|
|
|
1598
1598
|
mainVolumeControl: l
|
|
1599
1599
|
};
|
|
1600
1600
|
}
|
|
1601
|
-
|
|
1601
|
+
function H6(e) {
|
|
1602
|
+
const { sendMessage: t } = I(), o = `/device/${e}`, c = _(e), r = w(o, "cameraUp"), l = w(o, "cameraDown"), v = w(o, "cameraLeft"), g = w(o, "cameraRight"), h = w(o, "cameraZoomIn"), f = w(o, "cameraZoomOut"), u = (A) => t("/camera/recallPreset", A);
|
|
1603
|
+
if (c)
|
|
1604
|
+
return {
|
|
1605
|
+
state: c,
|
|
1606
|
+
zoomIn: h,
|
|
1607
|
+
zoomOut: f,
|
|
1608
|
+
up: r,
|
|
1609
|
+
down: l,
|
|
1610
|
+
left: v,
|
|
1611
|
+
right: g,
|
|
1612
|
+
recallPreset: u
|
|
1613
|
+
};
|
|
1614
|
+
}
|
|
1615
|
+
const K6 = ({ className: e }) => {
|
|
1602
1616
|
const [t, o] = Y();
|
|
1603
1617
|
return x1(() => {
|
|
1604
1618
|
setInterval(() => {
|
|
@@ -1610,59 +1624,52 @@ const H6 = ({ className: e }) => {
|
|
|
1610
1624
|
" new change"
|
|
1611
1625
|
] });
|
|
1612
1626
|
};
|
|
1613
|
-
function
|
|
1614
|
-
const { sendMessage: t } =
|
|
1627
|
+
function q6(e) {
|
|
1628
|
+
const { sendMessage: t } = I(), o = _(e), c = `/device/${e}`;
|
|
1615
1629
|
return o ? { state: o, recallPreset: (v, g) => {
|
|
1616
1630
|
t(`${c}/presets/recall`, { deviceKey: v, preset: g });
|
|
1617
1631
|
}, savePresets: (v) => {
|
|
1618
1632
|
t(`${c}/presets/save`, v);
|
|
1619
1633
|
} } : void 0;
|
|
1620
1634
|
}
|
|
1621
|
-
function
|
|
1635
|
+
function G6(e) {
|
|
1622
1636
|
const t = _(e);
|
|
1623
1637
|
if (t)
|
|
1624
1638
|
return { endpointState: t };
|
|
1625
1639
|
}
|
|
1626
|
-
function
|
|
1640
|
+
function Y6(e) {
|
|
1641
|
+
const t = _(e);
|
|
1642
|
+
if (t)
|
|
1643
|
+
return {
|
|
1644
|
+
phoneNumber: t.phoneNumber
|
|
1645
|
+
};
|
|
1646
|
+
}
|
|
1647
|
+
function z6(e) {
|
|
1627
1648
|
const t = `/device/${e}`, o = w(t, "chanUp"), c = w(t, "chanDown"), r = w(t, "lastChan"), l = w(t, "guide"), v = w(t, "info"), g = w(t, "exit");
|
|
1628
1649
|
return { channelUp: o, channelDown: c, lastChannel: r, guide: l, info: v, exit: g };
|
|
1629
1650
|
}
|
|
1630
|
-
function
|
|
1651
|
+
function J6(e) {
|
|
1631
1652
|
const t = `/device/${e}`, o = w(t, "red"), c = w(t, "green"), r = w(t, "yellow"), l = w(t, "blue");
|
|
1632
1653
|
return { red: o, green: c, yellow: r, blue: l };
|
|
1633
1654
|
}
|
|
1634
|
-
function
|
|
1655
|
+
function X6(e) {
|
|
1635
1656
|
const t = _(e);
|
|
1636
1657
|
if (t)
|
|
1637
1658
|
return {
|
|
1638
1659
|
communicationMonitorState: t
|
|
1639
1660
|
};
|
|
1640
1661
|
}
|
|
1641
|
-
function
|
|
1662
|
+
function Q6(e) {
|
|
1642
1663
|
const t = _(e);
|
|
1643
1664
|
if (t)
|
|
1644
1665
|
return t.deviceInfo || void 0;
|
|
1645
1666
|
}
|
|
1646
|
-
function
|
|
1667
|
+
function N6(e) {
|
|
1647
1668
|
const t = `/device/${e}`, o = w(t, "up"), c = w(t, "down"), r = w(t, "left"), l = w(t, "right"), v = w(t, "select"), g = w(t, "menu"), h = w(t, "exit");
|
|
1648
1669
|
return { up: o, down: c, left: r, right: l, select: v, menu: g, exit: h };
|
|
1649
1670
|
}
|
|
1650
|
-
function
|
|
1651
|
-
const { sendMessage: t } =
|
|
1652
|
-
if (c)
|
|
1653
|
-
return {
|
|
1654
|
-
state: c,
|
|
1655
|
-
zoomIn: h,
|
|
1656
|
-
zoomOut: f,
|
|
1657
|
-
up: r,
|
|
1658
|
-
down: l,
|
|
1659
|
-
left: v,
|
|
1660
|
-
right: g,
|
|
1661
|
-
recallPreset: u
|
|
1662
|
-
};
|
|
1663
|
-
}
|
|
1664
|
-
function N6(e) {
|
|
1665
|
-
const { sendMessage: t } = R();
|
|
1671
|
+
function et(e) {
|
|
1672
|
+
const { sendMessage: t } = I();
|
|
1666
1673
|
return { recallPreset: (c) => {
|
|
1667
1674
|
t(
|
|
1668
1675
|
`/device/${e}/recallPreset`,
|
|
@@ -1670,12 +1677,12 @@ function N6(e) {
|
|
|
1670
1677
|
);
|
|
1671
1678
|
} };
|
|
1672
1679
|
}
|
|
1673
|
-
function
|
|
1680
|
+
function tt(e) {
|
|
1674
1681
|
const t = `/device/${e}`, o = w(t, "dvrList"), c = w(t, "record");
|
|
1675
1682
|
return { dvrList: o, record: c };
|
|
1676
1683
|
}
|
|
1677
|
-
function
|
|
1678
|
-
const { sendMessage: t } =
|
|
1684
|
+
function nt(e) {
|
|
1685
|
+
const { sendMessage: t } = I(), o = _(e);
|
|
1679
1686
|
return o ? { roomCombinerState: o, setAutoMode: () => {
|
|
1680
1687
|
t(`/device/${e}/setAutoMode`, null);
|
|
1681
1688
|
}, setManualMode: () => {
|
|
@@ -1688,8 +1695,8 @@ function tt(e) {
|
|
|
1688
1695
|
t(`/device/${e}/setRoomCombinationScenario`, h);
|
|
1689
1696
|
} } : void 0;
|
|
1690
1697
|
}
|
|
1691
|
-
function
|
|
1692
|
-
const { sendMessage: t } =
|
|
1698
|
+
function ot(e) {
|
|
1699
|
+
const { sendMessage: t } = I(), o = `/device/${e}`, c = _(e);
|
|
1693
1700
|
return c ? {
|
|
1694
1701
|
state: c,
|
|
1695
1702
|
selectCamera: (l) => {
|
|
@@ -1697,41 +1704,49 @@ function nt(e) {
|
|
|
1697
1704
|
}
|
|
1698
1705
|
} : void 0;
|
|
1699
1706
|
}
|
|
1700
|
-
function
|
|
1707
|
+
function st(e) {
|
|
1708
|
+
const { sendMessage: t } = I();
|
|
1709
|
+
return N(() => ({
|
|
1710
|
+
dial: (l) => t(`${e}/dial`, { value: l }),
|
|
1711
|
+
endAllCalls: () => t(`${e}/endAllCalls`, null),
|
|
1712
|
+
sendDtmf: (l) => t(`${e}/dtmf`, { value: l })
|
|
1713
|
+
}), [e, t]);
|
|
1714
|
+
}
|
|
1715
|
+
function ct(e) {
|
|
1701
1716
|
const t = _(e);
|
|
1702
1717
|
if (t)
|
|
1703
1718
|
return { state: t };
|
|
1704
1719
|
}
|
|
1705
|
-
function
|
|
1706
|
-
const { sendMessage: t, sendSimpleMessage: o } =
|
|
1720
|
+
function rt(e) {
|
|
1721
|
+
const { sendMessage: t, sendSimpleMessage: o } = I(), c = _(e), r = ne(e), l = c || r;
|
|
1707
1722
|
return l ? {
|
|
1708
1723
|
levelState: l,
|
|
1709
|
-
setLevel: (u,
|
|
1724
|
+
setLevel: (u, A) => o(`${u}/level`, A),
|
|
1710
1725
|
muteToggle: (u) => t(`${u}/muteToggle`, null),
|
|
1711
1726
|
muteOn: (u) => t(`${u}/muteOn`, null),
|
|
1712
1727
|
muteOff: (u) => t(`${u}/muteOff`, null)
|
|
1713
1728
|
} : void 0;
|
|
1714
1729
|
}
|
|
1715
|
-
function
|
|
1716
|
-
const { sendMessage: t } =
|
|
1730
|
+
function lt(e) {
|
|
1731
|
+
const { sendMessage: t } = I(), o = _(e);
|
|
1717
1732
|
return o ? { lightingState: o, selectScene: (r) => {
|
|
1718
1733
|
t(`/device/${e}/selectScene`, r);
|
|
1719
1734
|
} } : void 0;
|
|
1720
1735
|
}
|
|
1721
|
-
function
|
|
1722
|
-
const { sendMessage: t } =
|
|
1736
|
+
function it(e) {
|
|
1737
|
+
const { sendMessage: t } = I(), o = _(e);
|
|
1723
1738
|
return o ? { matrixRoutingState: o, setRoute: (r) => {
|
|
1724
1739
|
t(`/device/${e}/route`, r);
|
|
1725
1740
|
} } : void 0;
|
|
1726
1741
|
}
|
|
1727
|
-
function
|
|
1728
|
-
const { sendMessage: t } =
|
|
1742
|
+
function at(e) {
|
|
1743
|
+
const { sendMessage: t } = I();
|
|
1729
1744
|
return { closeApp: () => {
|
|
1730
1745
|
t(`/device/${e}/closeWebViewController`, null);
|
|
1731
1746
|
} };
|
|
1732
1747
|
}
|
|
1733
|
-
function
|
|
1734
|
-
const t = `/device/${e}`, o = w(t, "num0"), c = w(t, "num1"), r = w(t, "num2"), l = w(t, "num3"), v = w(t, "num4"), g = w(t, "num5"), h = w(t, "num6"), f = w(t, "num7"), u = w(t, "num8"),
|
|
1748
|
+
function ut(e) {
|
|
1749
|
+
const t = `/device/${e}`, o = w(t, "num0"), c = w(t, "num1"), r = w(t, "num2"), l = w(t, "num3"), v = w(t, "num4"), g = w(t, "num5"), h = w(t, "num6"), f = w(t, "num7"), u = w(t, "num8"), A = w(t, "num9"), F = w(t, "numDash"), a = w(t, "numEnter");
|
|
1735
1750
|
return {
|
|
1736
1751
|
digit0: o,
|
|
1737
1752
|
digit1: c,
|
|
@@ -1742,49 +1757,49 @@ function it(e) {
|
|
|
1742
1757
|
digit6: h,
|
|
1743
1758
|
digit7: f,
|
|
1744
1759
|
digit8: u,
|
|
1745
|
-
digit9:
|
|
1760
|
+
digit9: A,
|
|
1746
1761
|
keypadAccessoryButton1: F,
|
|
1747
1762
|
keypadAccessoryButton2: a
|
|
1748
1763
|
};
|
|
1749
1764
|
}
|
|
1750
|
-
function
|
|
1751
|
-
const { sendMessage: t } =
|
|
1765
|
+
function dt(e) {
|
|
1766
|
+
const { sendMessage: t } = I(), o = _(e);
|
|
1752
1767
|
return o ? { projectorScreenLiftControlState: o, raise: () => {
|
|
1753
1768
|
t(`/device/${e}/raise`, null);
|
|
1754
1769
|
}, lower: () => {
|
|
1755
1770
|
t(`/device/${e}/lower`, null);
|
|
1756
1771
|
} } : void 0;
|
|
1757
1772
|
}
|
|
1758
|
-
function
|
|
1759
|
-
const { sendMessage: t } =
|
|
1773
|
+
function vt(e) {
|
|
1774
|
+
const { sendMessage: t } = I(), o = S1(e);
|
|
1760
1775
|
return o ? { roomEventScheduleState: o, save: (r) => {
|
|
1761
1776
|
t(`/room/${e}/saveScheduledEvents`, r);
|
|
1762
1777
|
} } : void 0;
|
|
1763
1778
|
}
|
|
1764
|
-
function
|
|
1765
|
-
const { sendMessage: t } =
|
|
1779
|
+
function ht(e) {
|
|
1780
|
+
const { sendMessage: t } = I();
|
|
1766
1781
|
return { runDefaultPresentRoute: () => {
|
|
1767
1782
|
t(`/room/${e}/defaultsource`, {});
|
|
1768
1783
|
} };
|
|
1769
1784
|
}
|
|
1770
|
-
function
|
|
1771
|
-
const { sendMessage: t } =
|
|
1785
|
+
function gt(e) {
|
|
1786
|
+
const { sendMessage: t } = I();
|
|
1772
1787
|
return { runDirectRoute: (c) => {
|
|
1773
1788
|
t(`/room/${e}/directRoute`, c);
|
|
1774
1789
|
} };
|
|
1775
1790
|
}
|
|
1776
|
-
function
|
|
1777
|
-
const { sendMessage: t } =
|
|
1791
|
+
function ft(e) {
|
|
1792
|
+
const { sendMessage: t } = I();
|
|
1778
1793
|
return { routingState: _(e), runRoute: (r) => {
|
|
1779
1794
|
t(`/room/${e}/source`, r);
|
|
1780
1795
|
} };
|
|
1781
1796
|
}
|
|
1782
|
-
function
|
|
1797
|
+
function wt(e) {
|
|
1783
1798
|
const t = `/device/${e}`, o = w(t, "chanUp"), c = w(t, "chanDown");
|
|
1784
1799
|
return { dvrList: o, replay: c };
|
|
1785
1800
|
}
|
|
1786
|
-
function
|
|
1787
|
-
const { sendMessage: t } =
|
|
1801
|
+
function mt(e) {
|
|
1802
|
+
const { sendMessage: t } = I(), o = _(e);
|
|
1788
1803
|
return o ? { shadeState: o, shadeUp: () => {
|
|
1789
1804
|
t(`/device/${e}/shadeUp`, null);
|
|
1790
1805
|
}, shadeDown: () => {
|
|
@@ -1793,8 +1808,8 @@ function ft(e) {
|
|
|
1793
1808
|
t(`/device/${e}/stopOrPreset`, null);
|
|
1794
1809
|
} } : void 0;
|
|
1795
1810
|
}
|
|
1796
|
-
function
|
|
1797
|
-
const { sendMessage: t } =
|
|
1811
|
+
function pt(e) {
|
|
1812
|
+
const { sendMessage: t } = I(), o = S1(e);
|
|
1798
1813
|
return o ? { shutdownPromptTimerState: o, setShutdownPromptSeconds: (g) => {
|
|
1799
1814
|
t(`/room/${e}/setShutdownPromptSeconds`, g);
|
|
1800
1815
|
}, shutdownStart: () => {
|
|
@@ -1805,28 +1820,28 @@ function wt(e) {
|
|
|
1805
1820
|
t(`/room/${e}/shutdownCancel`, null);
|
|
1806
1821
|
} } : void 0;
|
|
1807
1822
|
}
|
|
1808
|
-
function
|
|
1809
|
-
const { sendMessage: t } =
|
|
1823
|
+
function Mt(e) {
|
|
1824
|
+
const { sendMessage: t } = I(), o = _(e);
|
|
1810
1825
|
return o ? { switchedOutputState: o, on: () => {
|
|
1811
1826
|
t(`/device/${e}/on`, null);
|
|
1812
1827
|
}, off: () => {
|
|
1813
1828
|
t(`/device/${e}/off`, null);
|
|
1814
1829
|
} } : void 0;
|
|
1815
1830
|
}
|
|
1816
|
-
function
|
|
1817
|
-
const { sendMessage: t } =
|
|
1831
|
+
function xt(e) {
|
|
1832
|
+
const { sendMessage: t } = I(), o = S1(e);
|
|
1818
1833
|
return o ? { techPasswordState: o, validatePassword: (l) => {
|
|
1819
1834
|
t(`/room/${e}/validateTechPassword`, { password: l });
|
|
1820
1835
|
}, setPassword: (l, v) => {
|
|
1821
1836
|
t(`/room/${e}/setTechPassword`, { oldPassword: l, newPassword: v });
|
|
1822
1837
|
} } : void 0;
|
|
1823
1838
|
}
|
|
1824
|
-
function
|
|
1825
|
-
const { sendMessage: t } =
|
|
1839
|
+
function Zt(e) {
|
|
1840
|
+
const { sendMessage: t } = I(), o = _(e);
|
|
1826
1841
|
return o ? { state: o, setTemperatureUnitsToCelcius: () => t(`${e}/setTemperatureUnitsToCelcius`, null), setTemperatureUnitsToFahrenheit: () => t(`${e}/setTemperatureUnitsToFahrenheit`, null) } : void 0;
|
|
1827
1842
|
}
|
|
1828
|
-
function
|
|
1829
|
-
const { sendMessage: t } =
|
|
1843
|
+
function St(e) {
|
|
1844
|
+
const { sendMessage: t } = I(), o = _(e), c = (r) => {
|
|
1830
1845
|
t(`/device/${e}/saveTheme`, { value: r });
|
|
1831
1846
|
};
|
|
1832
1847
|
return {
|
|
@@ -1834,7 +1849,7 @@ function xt(e) {
|
|
|
1834
1849
|
saveTheme: c
|
|
1835
1850
|
};
|
|
1836
1851
|
}
|
|
1837
|
-
function
|
|
1852
|
+
function jt(e) {
|
|
1838
1853
|
const t = `/device/${e}`, o = w(t, "play"), c = w(t, "pause"), r = w(t, "stop"), l = w(t, "prevTrack"), v = w(t, "nextTrack"), g = w(t, "rewind"), h = w(t, "ffwd"), f = w(t, "record");
|
|
1839
1854
|
return {
|
|
1840
1855
|
play: o,
|
|
@@ -1847,8 +1862,8 @@ function Zt(e) {
|
|
|
1847
1862
|
record: f
|
|
1848
1863
|
};
|
|
1849
1864
|
}
|
|
1850
|
-
function
|
|
1851
|
-
const t = _(e), { sendMessage: o } =
|
|
1865
|
+
function Ct(e) {
|
|
1866
|
+
const t = _(e), { sendMessage: o } = I();
|
|
1852
1867
|
return t ? {
|
|
1853
1868
|
touchpanelState: t,
|
|
1854
1869
|
appControl: { hideApp: () => {
|
|
@@ -1863,7 +1878,7 @@ function St(e) {
|
|
|
1863
1878
|
} }
|
|
1864
1879
|
} : void 0;
|
|
1865
1880
|
}
|
|
1866
|
-
function
|
|
1881
|
+
function bt(e) {
|
|
1867
1882
|
const t = _(e), o = V3(e), c = O1(e);
|
|
1868
1883
|
if (!t) return;
|
|
1869
1884
|
const r = (t.powerState || t.isWarming) && !t.isCooling, l = (!t.powerState || t.isCooling) && !t.isWarming;
|
|
@@ -1874,14 +1889,14 @@ function jt(e) {
|
|
|
1874
1889
|
powerFb: { powerOnFb: r, powerOffFb: l }
|
|
1875
1890
|
};
|
|
1876
1891
|
}
|
|
1877
|
-
function
|
|
1892
|
+
function yt(e) {
|
|
1878
1893
|
const t = `/device/${e}`;
|
|
1879
1894
|
return j1(t);
|
|
1880
1895
|
}
|
|
1881
|
-
const
|
|
1896
|
+
const It = ({
|
|
1882
1897
|
config: e
|
|
1883
1898
|
}, t = !0) => {
|
|
1884
|
-
const { sendMessage: o } =
|
|
1899
|
+
const { sendMessage: o } = I(), c = u1(!1), r = N(() => {
|
|
1885
1900
|
var v, g, h, f;
|
|
1886
1901
|
if (!e)
|
|
1887
1902
|
return;
|
|
@@ -1913,7 +1928,7 @@ const bt = ({
|
|
|
1913
1928
|
}), c.current = !0);
|
|
1914
1929
|
}, [r, t, o]), r;
|
|
1915
1930
|
};
|
|
1916
|
-
function
|
|
1931
|
+
function Rt(e, t) {
|
|
1917
1932
|
const [o, c] = Y(!1), [r, l] = Y(!1);
|
|
1918
1933
|
return Z3(() => {
|
|
1919
1934
|
const { current: v } = e, g = () => {
|
|
@@ -1923,15 +1938,15 @@ function yt(e, t) {
|
|
|
1923
1938
|
v && g();
|
|
1924
1939
|
}, [e, t]), { overflowHorizontal: o, overflowVertical: r };
|
|
1925
1940
|
}
|
|
1926
|
-
function
|
|
1941
|
+
function Et(e, t) {
|
|
1927
1942
|
const o = `/room/${e}/volumes/${t}`;
|
|
1928
1943
|
return j1(o);
|
|
1929
1944
|
}
|
|
1930
|
-
function
|
|
1945
|
+
function Tt(e, t) {
|
|
1931
1946
|
const o = te(e, t), c = `/room/${e}/volumes/${t}`;
|
|
1932
1947
|
return W3(c, o);
|
|
1933
1948
|
}
|
|
1934
|
-
function
|
|
1949
|
+
function Dt(e) {
|
|
1935
1950
|
var g, h;
|
|
1936
1951
|
const [t, o] = Y(((g = e == null ? void 0 : e.current) == null ? void 0 : g.scrollLeft) ?? 0), [c, r] = Y(((h = e == null ? void 0 : e.current) == null ? void 0 : h.scrollTop) ?? 0), l = (f) => {
|
|
1937
1952
|
const { current: u } = e;
|
|
@@ -1947,7 +1962,7 @@ function Et(e) {
|
|
|
1947
1962
|
f && u();
|
|
1948
1963
|
}, [e]), { horizontalScrollPosition: t, verticalScrollPosition: c, scrollHorizontal: l, scrollVertical: v };
|
|
1949
1964
|
}
|
|
1950
|
-
function
|
|
1965
|
+
function _t(e) {
|
|
1951
1966
|
const t = W1();
|
|
1952
1967
|
return [() => {
|
|
1953
1968
|
t(O.addSyncState(e));
|
|
@@ -1955,8 +1970,8 @@ function Tt(e) {
|
|
|
1955
1970
|
t(O.removeSyncState(e));
|
|
1956
1971
|
}, Ze(e)];
|
|
1957
1972
|
}
|
|
1958
|
-
function
|
|
1959
|
-
const { sendMessage: e } =
|
|
1973
|
+
function At() {
|
|
1974
|
+
const { sendMessage: e } = I();
|
|
1960
1975
|
return {
|
|
1961
1976
|
reboot: () => {
|
|
1962
1977
|
e("/system/reboot", null);
|
|
@@ -1966,7 +1981,7 @@ function Dt() {
|
|
|
1966
1981
|
}
|
|
1967
1982
|
};
|
|
1968
1983
|
}
|
|
1969
|
-
function
|
|
1984
|
+
function Lt() {
|
|
1970
1985
|
const [e, t] = Y(), [o, c] = Y();
|
|
1971
1986
|
function r() {
|
|
1972
1987
|
t((/* @__PURE__ */ new Date()).toLocaleDateString("en-US", { dateStyle: "long" }));
|
|
@@ -1981,7 +1996,7 @@ function _t() {
|
|
|
1981
1996
|
return () => clearInterval(l);
|
|
1982
1997
|
}, []), { date: e, time: o };
|
|
1983
1998
|
}
|
|
1984
|
-
const
|
|
1999
|
+
const Pt = () => {
|
|
1985
2000
|
const [e, t] = Y(!1), o = y2(), c = I2();
|
|
1986
2001
|
let r;
|
|
1987
2002
|
return R2(c) ? r = c.statusText : c instanceof Error ? r = c.message : typeof c == "string" ? r = c : (console.error(c), r = "Unknown error"), /* @__PURE__ */ n.jsxs("div", { className: "d-flex flex-column align-items-center gap-5", children: [
|
|
@@ -2004,7 +2019,7 @@ const Lt = () => {
|
|
|
2004
2019
|
),
|
|
2005
2020
|
e && /* @__PURE__ */ n.jsx("p", { children: r })
|
|
2006
2021
|
] });
|
|
2007
|
-
}, Je = "_iconbtn_16qss_1", Xe = "_iconbtnvert_16qss_7", Qe = "_iconsm_16qss_18",
|
|
2022
|
+
}, Je = "_iconbtn_16qss_1", Xe = "_iconbtnvert_16qss_7", Qe = "_iconsm_16qss_18", P1 = {
|
|
2008
2023
|
iconbtn: Je,
|
|
2009
2024
|
iconbtnvert: Xe,
|
|
2010
2025
|
iconsm: Qe
|
|
@@ -2020,7 +2035,7 @@ const Lt = () => {
|
|
|
2020
2035
|
feedbackClassName: h,
|
|
2021
2036
|
onPointerDown: f,
|
|
2022
2037
|
onPointerUp: u,
|
|
2023
|
-
onPointerLeave:
|
|
2038
|
+
onPointerLeave: A,
|
|
2024
2039
|
...F
|
|
2025
2040
|
}) => {
|
|
2026
2041
|
const [a, Z] = Y(!1), C = !v && g ? h : "", S = !v && (a || g);
|
|
@@ -2028,7 +2043,7 @@ const Lt = () => {
|
|
|
2028
2043
|
"button",
|
|
2029
2044
|
{
|
|
2030
2045
|
type: "button",
|
|
2031
|
-
className: `${
|
|
2046
|
+
className: `${P1.iconbtn} ${o ? P1.iconbtnvert : ""} ${c} ${C}`,
|
|
2032
2047
|
...F,
|
|
2033
2048
|
disabled: v,
|
|
2034
2049
|
onPointerDown: (b) => {
|
|
@@ -2038,13 +2053,13 @@ const Lt = () => {
|
|
|
2038
2053
|
Z(!1), u == null || u(b);
|
|
2039
2054
|
},
|
|
2040
2055
|
onPointerLeave: (b) => {
|
|
2041
|
-
Z(!1),
|
|
2056
|
+
Z(!1), A == null || A(b);
|
|
2042
2057
|
},
|
|
2043
2058
|
children: [
|
|
2044
2059
|
e && /* @__PURE__ */ n.jsx(
|
|
2045
2060
|
e,
|
|
2046
2061
|
{
|
|
2047
|
-
className: `${r ||
|
|
2062
|
+
className: `${r || P1.iconsm}`,
|
|
2048
2063
|
active: S,
|
|
2049
2064
|
disabled: v
|
|
2050
2065
|
}
|
|
@@ -2053,7 +2068,7 @@ const Lt = () => {
|
|
|
2053
2068
|
]
|
|
2054
2069
|
}
|
|
2055
2070
|
);
|
|
2056
|
-
},
|
|
2071
|
+
}, R = ({
|
|
2057
2072
|
ActiveImage: e,
|
|
2058
2073
|
DisabledImage: t,
|
|
2059
2074
|
EnabledImage: o,
|
|
@@ -2064,7 +2079,7 @@ const Lt = () => {
|
|
|
2064
2079
|
className: t = "",
|
|
2065
2080
|
disabled: o
|
|
2066
2081
|
}) => /* @__PURE__ */ n.jsx(
|
|
2067
|
-
|
|
2082
|
+
R,
|
|
2068
2083
|
{
|
|
2069
2084
|
ActiveImage: /* @__PURE__ */ n.jsx(
|
|
2070
2085
|
"svg",
|
|
@@ -2116,7 +2131,7 @@ const Lt = () => {
|
|
|
2116
2131
|
className: t = "",
|
|
2117
2132
|
disabled: o
|
|
2118
2133
|
}) => /* @__PURE__ */ n.jsx(
|
|
2119
|
-
|
|
2134
|
+
R,
|
|
2120
2135
|
{
|
|
2121
2136
|
ActiveImage: (
|
|
2122
2137
|
/* icon-ban-active.svg */
|
|
@@ -2165,7 +2180,7 @@ const Lt = () => {
|
|
|
2165
2180
|
className: t = "",
|
|
2166
2181
|
disabled: o
|
|
2167
2182
|
}) => /* @__PURE__ */ n.jsx(
|
|
2168
|
-
|
|
2183
|
+
R,
|
|
2169
2184
|
{
|
|
2170
2185
|
ActiveImage: /* @__PURE__ */ n.jsx(
|
|
2171
2186
|
"svg",
|
|
@@ -2205,7 +2220,7 @@ const Lt = () => {
|
|
|
2205
2220
|
className: t = "",
|
|
2206
2221
|
disabled: o
|
|
2207
2222
|
}) => /* @__PURE__ */ n.jsx(
|
|
2208
|
-
|
|
2223
|
+
R,
|
|
2209
2224
|
{
|
|
2210
2225
|
ActiveImage: (
|
|
2211
2226
|
/* icon-check-active.svg */
|
|
@@ -2255,7 +2270,7 @@ const Lt = () => {
|
|
|
2255
2270
|
className: t = "",
|
|
2256
2271
|
disabled: o
|
|
2257
2272
|
}) => /* @__PURE__ */ n.jsx(
|
|
2258
|
-
|
|
2273
|
+
R,
|
|
2259
2274
|
{
|
|
2260
2275
|
ActiveImage: (
|
|
2261
2276
|
/* icon-controller-active.svg */
|
|
@@ -2322,7 +2337,7 @@ const Lt = () => {
|
|
|
2322
2337
|
className: t = "",
|
|
2323
2338
|
disabled: o
|
|
2324
2339
|
}) => /* @__PURE__ */ n.jsx(
|
|
2325
|
-
|
|
2340
|
+
R,
|
|
2326
2341
|
{
|
|
2327
2342
|
ActiveImage: (
|
|
2328
2343
|
/* icon-down-active.svg */
|
|
@@ -2371,7 +2386,7 @@ const Lt = () => {
|
|
|
2371
2386
|
className: t = "",
|
|
2372
2387
|
disabled: o
|
|
2373
2388
|
}) => /* @__PURE__ */ n.jsx(
|
|
2374
|
-
|
|
2389
|
+
R,
|
|
2375
2390
|
{
|
|
2376
2391
|
ActiveImage: (
|
|
2377
2392
|
/* icon-elipses-active.svg */
|
|
@@ -2420,7 +2435,7 @@ const Lt = () => {
|
|
|
2420
2435
|
className: t = "",
|
|
2421
2436
|
disabled: o
|
|
2422
2437
|
}) => /* @__PURE__ */ n.jsx(
|
|
2423
|
-
|
|
2438
|
+
R,
|
|
2424
2439
|
{
|
|
2425
2440
|
ActiveImage: (
|
|
2426
2441
|
/* icon-flag-active.svg */
|
|
@@ -2469,7 +2484,7 @@ const Lt = () => {
|
|
|
2469
2484
|
className: t = "",
|
|
2470
2485
|
disabled: o
|
|
2471
2486
|
}) => /* @__PURE__ */ n.jsx(
|
|
2472
|
-
|
|
2487
|
+
R,
|
|
2473
2488
|
{
|
|
2474
2489
|
ActiveImage: (
|
|
2475
2490
|
/* /Users/hvolmer/Downloads/SVG/icon-gear-active.svg */
|
|
@@ -2518,7 +2533,7 @@ const Lt = () => {
|
|
|
2518
2533
|
className: t = "",
|
|
2519
2534
|
disabled: o
|
|
2520
2535
|
}) => /* @__PURE__ */ n.jsx(
|
|
2521
|
-
|
|
2536
|
+
R,
|
|
2522
2537
|
{
|
|
2523
2538
|
ActiveImage: (
|
|
2524
2539
|
/* icon-glass-active.svg */
|
|
@@ -2568,7 +2583,7 @@ const Lt = () => {
|
|
|
2568
2583
|
className: t = "",
|
|
2569
2584
|
disabled: o
|
|
2570
2585
|
}) => /* @__PURE__ */ n.jsx(
|
|
2571
|
-
|
|
2586
|
+
R,
|
|
2572
2587
|
{
|
|
2573
2588
|
ActiveImage: (
|
|
2574
2589
|
/* icon-hdmi-active.svg */
|
|
@@ -2635,7 +2650,7 @@ const Lt = () => {
|
|
|
2635
2650
|
className: t = "",
|
|
2636
2651
|
disabled: o
|
|
2637
2652
|
}) => /* @__PURE__ */ n.jsx(
|
|
2638
|
-
|
|
2653
|
+
R,
|
|
2639
2654
|
{
|
|
2640
2655
|
ActiveImage: (
|
|
2641
2656
|
/* icon-laptop-active.svg */
|
|
@@ -2684,7 +2699,7 @@ const Lt = () => {
|
|
|
2684
2699
|
className: t = "",
|
|
2685
2700
|
disabled: o
|
|
2686
2701
|
}) => /* @__PURE__ */ n.jsx(
|
|
2687
|
-
|
|
2702
|
+
R,
|
|
2688
2703
|
{
|
|
2689
2704
|
ActiveImage: (
|
|
2690
2705
|
/* icon-left-active.svg */
|
|
@@ -2733,7 +2748,7 @@ const Lt = () => {
|
|
|
2733
2748
|
className: t = "",
|
|
2734
2749
|
disabled: o
|
|
2735
2750
|
}) => /* @__PURE__ */ n.jsx(
|
|
2736
|
-
|
|
2751
|
+
R,
|
|
2737
2752
|
{
|
|
2738
2753
|
ActiveImage: (
|
|
2739
2754
|
/* icon-light-active.svg */
|
|
@@ -2782,7 +2797,7 @@ const Lt = () => {
|
|
|
2782
2797
|
className: t = "",
|
|
2783
2798
|
disabled: o
|
|
2784
2799
|
}) => /* @__PURE__ */ n.jsx(
|
|
2785
|
-
|
|
2800
|
+
R,
|
|
2786
2801
|
{
|
|
2787
2802
|
ActiveImage: (
|
|
2788
2803
|
/* icon-moon-active.svg */
|
|
@@ -2831,7 +2846,7 @@ const Lt = () => {
|
|
|
2831
2846
|
className: t = "",
|
|
2832
2847
|
disabled: o
|
|
2833
2848
|
}) => /* @__PURE__ */ n.jsx(
|
|
2834
|
-
|
|
2849
|
+
R,
|
|
2835
2850
|
{
|
|
2836
2851
|
ActiveImage: (
|
|
2837
2852
|
/* icon-playstation-active.svg */
|
|
@@ -2853,7 +2868,7 @@ const Lt = () => {
|
|
|
2853
2868
|
className: t = "",
|
|
2854
2869
|
disabled: o
|
|
2855
2870
|
}) => /* @__PURE__ */ n.jsx(
|
|
2856
|
-
|
|
2871
|
+
R,
|
|
2857
2872
|
{
|
|
2858
2873
|
ActiveImage: (
|
|
2859
2874
|
/* icon-podium-active.svg */
|
|
@@ -2897,12 +2912,12 @@ const Lt = () => {
|
|
|
2897
2912
|
active: e,
|
|
2898
2913
|
disabled: o
|
|
2899
2914
|
}
|
|
2900
|
-
),
|
|
2915
|
+
), m8 = ({
|
|
2901
2916
|
active: e,
|
|
2902
2917
|
className: t = "",
|
|
2903
2918
|
disabled: o
|
|
2904
2919
|
}) => /* @__PURE__ */ n.jsx(
|
|
2905
|
-
|
|
2920
|
+
R,
|
|
2906
2921
|
{
|
|
2907
2922
|
ActiveImage: (
|
|
2908
2923
|
/* icon-power-active.svg */
|
|
@@ -2946,12 +2961,12 @@ const Lt = () => {
|
|
|
2946
2961
|
active: e,
|
|
2947
2962
|
disabled: o
|
|
2948
2963
|
}
|
|
2949
|
-
),
|
|
2964
|
+
), p8 = ({
|
|
2950
2965
|
active: e,
|
|
2951
2966
|
className: t = "",
|
|
2952
2967
|
disabled: o
|
|
2953
2968
|
}) => /* @__PURE__ */ n.jsx(
|
|
2954
|
-
|
|
2969
|
+
R,
|
|
2955
2970
|
{
|
|
2956
2971
|
ActiveImage: (
|
|
2957
2972
|
/* icon-privacy-active.svg */
|
|
@@ -3000,7 +3015,7 @@ const Lt = () => {
|
|
|
3000
3015
|
className: t = "",
|
|
3001
3016
|
disabled: o
|
|
3002
3017
|
}) => /* @__PURE__ */ n.jsx(
|
|
3003
|
-
|
|
3018
|
+
R,
|
|
3004
3019
|
{
|
|
3005
3020
|
ActiveImage: (
|
|
3006
3021
|
/* icon-question-active.svg */
|
|
@@ -3049,7 +3064,7 @@ const Lt = () => {
|
|
|
3049
3064
|
className: t = "",
|
|
3050
3065
|
disabled: o
|
|
3051
3066
|
}) => /* @__PURE__ */ n.jsx(
|
|
3052
|
-
|
|
3067
|
+
R,
|
|
3053
3068
|
{
|
|
3054
3069
|
ActiveImage: (
|
|
3055
3070
|
/* icon-right-active.svg */
|
|
@@ -3099,7 +3114,7 @@ const Lt = () => {
|
|
|
3099
3114
|
className: t = "",
|
|
3100
3115
|
disabled: o
|
|
3101
3116
|
}) => /* @__PURE__ */ n.jsx(
|
|
3102
|
-
|
|
3117
|
+
R,
|
|
3103
3118
|
{
|
|
3104
3119
|
ActiveImage: (
|
|
3105
3120
|
/* icon-roomPC-active.svg */
|
|
@@ -3166,7 +3181,7 @@ const Lt = () => {
|
|
|
3166
3181
|
className: t = "",
|
|
3167
3182
|
disabled: o
|
|
3168
3183
|
}) => /* @__PURE__ */ n.jsx(
|
|
3169
|
-
|
|
3184
|
+
R,
|
|
3170
3185
|
{
|
|
3171
3186
|
ActiveImage: (
|
|
3172
3187
|
/* icon-shade-active.svg */
|
|
@@ -3215,7 +3230,7 @@ const Lt = () => {
|
|
|
3215
3230
|
className: t = "",
|
|
3216
3231
|
disabled: o
|
|
3217
3232
|
}) => /* @__PURE__ */ n.jsx(
|
|
3218
|
-
|
|
3233
|
+
R,
|
|
3219
3234
|
{
|
|
3220
3235
|
ActiveImage: (
|
|
3221
3236
|
/* icon-sun-active.svg */
|
|
@@ -3259,14 +3274,14 @@ const Lt = () => {
|
|
|
3259
3274
|
active: e,
|
|
3260
3275
|
disabled: o
|
|
3261
3276
|
}
|
|
3262
|
-
),
|
|
3277
|
+
), $t = ({
|
|
3263
3278
|
active: e,
|
|
3264
3279
|
// Just to shut up the linter on this template. Prefer deleting this lint rule
|
|
3265
3280
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
3266
3281
|
className: t = "",
|
|
3267
3282
|
disabled: o
|
|
3268
3283
|
}) => /* @__PURE__ */ n.jsx(
|
|
3269
|
-
|
|
3284
|
+
R,
|
|
3270
3285
|
{
|
|
3271
3286
|
ActiveImage: void 0,
|
|
3272
3287
|
DisabledImage: void 0,
|
|
@@ -3279,7 +3294,7 @@ const Lt = () => {
|
|
|
3279
3294
|
className: t = "",
|
|
3280
3295
|
disabled: o
|
|
3281
3296
|
}) => /* @__PURE__ */ n.jsx(
|
|
3282
|
-
|
|
3297
|
+
R,
|
|
3283
3298
|
{
|
|
3284
3299
|
ActiveImage: (
|
|
3285
3300
|
/* icon-up-active.svg */
|
|
@@ -3328,7 +3343,7 @@ const Lt = () => {
|
|
|
3328
3343
|
className: t = "",
|
|
3329
3344
|
disabled: o
|
|
3330
3345
|
}) => /* @__PURE__ */ n.jsx(
|
|
3331
|
-
|
|
3346
|
+
R,
|
|
3332
3347
|
{
|
|
3333
3348
|
ActiveImage: (
|
|
3334
3349
|
/* icon-volDown-active.svg */
|
|
@@ -3377,7 +3392,7 @@ const Lt = () => {
|
|
|
3377
3392
|
className: t = "",
|
|
3378
3393
|
disabled: o
|
|
3379
3394
|
}) => /* @__PURE__ */ n.jsx(
|
|
3380
|
-
|
|
3395
|
+
R,
|
|
3381
3396
|
{
|
|
3382
3397
|
ActiveImage: (
|
|
3383
3398
|
/* icon-volMute-active.svg */
|
|
@@ -3426,7 +3441,7 @@ const Lt = () => {
|
|
|
3426
3441
|
className: t = "",
|
|
3427
3442
|
disabled: o
|
|
3428
3443
|
}) => /* @__PURE__ */ n.jsx(
|
|
3429
|
-
|
|
3444
|
+
R,
|
|
3430
3445
|
{
|
|
3431
3446
|
ActiveImage: (
|
|
3432
3447
|
/* icon-volUp-active.svg */
|
|
@@ -3475,7 +3490,7 @@ const Lt = () => {
|
|
|
3475
3490
|
className: t = "",
|
|
3476
3491
|
disabled: o
|
|
3477
3492
|
}) => /* @__PURE__ */ n.jsx(
|
|
3478
|
-
|
|
3493
|
+
R,
|
|
3479
3494
|
{
|
|
3480
3495
|
ActiveImage: (
|
|
3481
3496
|
/* icon-wireless-active.svg */
|
|
@@ -3524,7 +3539,7 @@ const Lt = () => {
|
|
|
3524
3539
|
className: t = "",
|
|
3525
3540
|
disabled: o
|
|
3526
3541
|
}) => /* @__PURE__ */ n.jsx(
|
|
3527
|
-
|
|
3542
|
+
R,
|
|
3528
3543
|
{
|
|
3529
3544
|
ActiveImage: (
|
|
3530
3545
|
/* icon-x-active.svg */
|
|
@@ -3573,7 +3588,7 @@ const Lt = () => {
|
|
|
3573
3588
|
className: t = "",
|
|
3574
3589
|
disabled: o
|
|
3575
3590
|
}) => /* @__PURE__ */ n.jsx(
|
|
3576
|
-
|
|
3591
|
+
R,
|
|
3577
3592
|
{
|
|
3578
3593
|
ActiveImage: (
|
|
3579
3594
|
/* icon-xbox-active.svg */
|
|
@@ -3622,7 +3637,7 @@ const Lt = () => {
|
|
|
3622
3637
|
className: t = "",
|
|
3623
3638
|
disabled: o
|
|
3624
3639
|
}) => /* @__PURE__ */ n.jsx(
|
|
3625
|
-
|
|
3640
|
+
R,
|
|
3626
3641
|
{
|
|
3627
3642
|
ActiveImage: (
|
|
3628
3643
|
/* icon-mic-active.svg */
|
|
@@ -3685,8 +3700,8 @@ const Lt = () => {
|
|
|
3685
3700
|
Moon: g8,
|
|
3686
3701
|
Playstation: f8,
|
|
3687
3702
|
Podium: w8,
|
|
3688
|
-
Power:
|
|
3689
|
-
Privacy:
|
|
3703
|
+
Power: m8,
|
|
3704
|
+
Privacy: p8,
|
|
3690
3705
|
Question: M8,
|
|
3691
3706
|
RightArrow: x8,
|
|
3692
3707
|
RoomPC: Z8,
|
|
@@ -3700,7 +3715,7 @@ const Lt = () => {
|
|
|
3700
3715
|
X: E8,
|
|
3701
3716
|
Xbox: T8
|
|
3702
3717
|
};
|
|
3703
|
-
function
|
|
3718
|
+
function kt({
|
|
3704
3719
|
name: e,
|
|
3705
3720
|
iconsDictionary: t = _8,
|
|
3706
3721
|
...o
|
|
@@ -3708,13 +3723,13 @@ function At({
|
|
|
3708
3723
|
const c = t[e] ?? null;
|
|
3709
3724
|
return c || console.error(`Icon ${e} not found in dictionary`), /* @__PURE__ */ n.jsx(Ne, { multiIcon: c, ...o });
|
|
3710
3725
|
}
|
|
3711
|
-
const
|
|
3712
|
-
grid:
|
|
3713
|
-
header:
|
|
3714
|
-
content:
|
|
3726
|
+
const A8 = "_grid_1cmpp_1", L8 = "_header_1cmpp_11", P8 = "_content_1cmpp_17", $8 = "_footer_1cmpp_23", k8 = "_volume_1cmpp_29", a1 = {
|
|
3727
|
+
grid: A8,
|
|
3728
|
+
header: L8,
|
|
3729
|
+
content: P8,
|
|
3715
3730
|
footer: $8,
|
|
3716
3731
|
volume: k8
|
|
3717
|
-
},
|
|
3732
|
+
}, Bt = ({ header: e, footer: t, content: o, volume: c, showVolume: r }) => /* @__PURE__ */ n.jsxs("div", { className: a1.grid, children: [
|
|
3718
3733
|
/* @__PURE__ */ n.jsx("div", { className: a1.header, children: e }),
|
|
3719
3734
|
/* @__PURE__ */ n.jsx("div", { className: a1.content, children: o }),
|
|
3720
3735
|
r && /* @__PURE__ */ n.jsx("div", { className: a1.volume, children: c }),
|
|
@@ -3723,7 +3738,7 @@ const L8 = "_grid_1cmpp_1", P8 = "_header_1cmpp_11", A8 = "_content_1cmpp_17", $
|
|
|
3723
3738
|
grid: B8,
|
|
3724
3739
|
header: O8,
|
|
3725
3740
|
content: W8
|
|
3726
|
-
},
|
|
3741
|
+
}, Ot = ({ className: e, header: t, content: o, leftNav: c }) => /* @__PURE__ */ n.jsxs("div", { className: `${e} ${M1.grid}`, children: [
|
|
3727
3742
|
/* @__PURE__ */ n.jsx("div", { className: M1.header, children: t }),
|
|
3728
3743
|
c && /* @__PURE__ */ n.jsx("div", { className: M1.leftNav, children: c }),
|
|
3729
3744
|
/* @__PURE__ */ n.jsx("div", { className: M1.content, children: o })
|
|
@@ -3731,33 +3746,33 @@ const L8 = "_grid_1cmpp_1", P8 = "_header_1cmpp_11", A8 = "_content_1cmpp_17", $
|
|
|
3731
3746
|
grid: V8,
|
|
3732
3747
|
header: U8,
|
|
3733
3748
|
content: F8
|
|
3734
|
-
},
|
|
3749
|
+
}, Wt = ({ className: e, header: t, content: o }) => /* @__PURE__ */ n.jsxs("div", { className: `${e} ${$1.grid}`, children: [
|
|
3735
3750
|
/* @__PURE__ */ n.jsx("div", { className: $1.header, children: t }),
|
|
3736
3751
|
/* @__PURE__ */ n.jsx("div", { className: $1.content, children: o })
|
|
3737
3752
|
] });
|
|
3738
|
-
class
|
|
3753
|
+
class Vt {
|
|
3739
3754
|
constructor() {
|
|
3740
3755
|
q(this, "currentShareText");
|
|
3741
3756
|
q(this, "enabled");
|
|
3742
3757
|
q(this, "isSharing");
|
|
3743
3758
|
}
|
|
3744
3759
|
}
|
|
3745
|
-
function
|
|
3760
|
+
function Ut() {
|
|
3746
3761
|
return console.log(location.pathname), location.pathname;
|
|
3747
3762
|
}
|
|
3748
3763
|
var H8 = /* @__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))(H8 || {});
|
|
3749
|
-
class
|
|
3764
|
+
class Ft {
|
|
3750
3765
|
constructor(t, o) {
|
|
3751
3766
|
q(this, "path");
|
|
3752
3767
|
q(this, "handler");
|
|
3753
3768
|
this.path = t, this.handler = o;
|
|
3754
3769
|
}
|
|
3755
3770
|
}
|
|
3756
|
-
const
|
|
3771
|
+
const Ht = "$off";
|
|
3757
3772
|
export {
|
|
3758
|
-
|
|
3773
|
+
K6 as Clock,
|
|
3759
3774
|
H8 as DaysOfWeek,
|
|
3760
|
-
|
|
3775
|
+
Pt as ErrorBox,
|
|
3761
3776
|
Ne as IconButton,
|
|
3762
3777
|
e8 as IconMultiAlert,
|
|
3763
3778
|
t8 as IconMultiBan,
|
|
@@ -3777,14 +3792,14 @@ export {
|
|
|
3777
3792
|
g8 as IconMultiMoon,
|
|
3778
3793
|
f8 as IconMultiPlaystation,
|
|
3779
3794
|
w8 as IconMultiPodium,
|
|
3780
|
-
|
|
3781
|
-
|
|
3795
|
+
m8 as IconMultiPower,
|
|
3796
|
+
p8 as IconMultiPrivacy,
|
|
3782
3797
|
M8 as IconMultiQuestion,
|
|
3783
3798
|
x8 as IconMultiRightArrow,
|
|
3784
3799
|
Z8 as IconMultiRoomPC,
|
|
3785
3800
|
S8 as IconMultiShade,
|
|
3786
3801
|
j8 as IconMultiSun,
|
|
3787
|
-
|
|
3802
|
+
$t as IconMultiTemplate,
|
|
3788
3803
|
C8 as IconMultiUpArrow,
|
|
3789
3804
|
b8 as IconMultiVolDown,
|
|
3790
3805
|
y8 as IconMultiVolMute,
|
|
@@ -3792,41 +3807,41 @@ export {
|
|
|
3792
3807
|
R8 as IconMultiWireless,
|
|
3793
3808
|
E8 as IconMultiX,
|
|
3794
3809
|
T8 as IconMultiXbox,
|
|
3795
|
-
|
|
3796
|
-
|
|
3810
|
+
Bt as MainLayout,
|
|
3811
|
+
Ft as MessageHandler,
|
|
3797
3812
|
W6 as MobileControlProvider,
|
|
3798
|
-
|
|
3799
|
-
|
|
3800
|
-
|
|
3801
|
-
|
|
3802
|
-
|
|
3803
|
-
|
|
3813
|
+
R as MultiStateIconContainer,
|
|
3814
|
+
kt as NamedIconButton,
|
|
3815
|
+
Vt as ShareState,
|
|
3816
|
+
Ot as TechLayout,
|
|
3817
|
+
Wt as TechPinLayout,
|
|
3818
|
+
P3 as WS_ADD_EVENT_HANDLER,
|
|
3804
3819
|
_3 as WS_CONNECT,
|
|
3805
|
-
|
|
3820
|
+
A3 as WS_DISCONNECT,
|
|
3806
3821
|
k3 as WS_RECONNECT,
|
|
3807
3822
|
$3 as WS_REMOVE_EVENT_HANDLER,
|
|
3808
|
-
|
|
3823
|
+
L3 as WS_SEND_MESSAGE,
|
|
3809
3824
|
O3 as WebsocketContext,
|
|
3810
3825
|
T3 as appConfigActions,
|
|
3811
3826
|
ke as createWebSocketMiddleware,
|
|
3812
3827
|
w1 as devicesActions,
|
|
3813
|
-
|
|
3828
|
+
Ut as getBaseLocation,
|
|
3814
3829
|
f3 as httpClient,
|
|
3815
3830
|
_8 as iconsDictionary,
|
|
3816
|
-
|
|
3817
|
-
|
|
3831
|
+
Ht as roomOffSourceKey,
|
|
3832
|
+
m1 as roomsActions,
|
|
3818
3833
|
U as runtimeConfigActions,
|
|
3819
3834
|
C3 as selectAllDevices,
|
|
3820
3835
|
T2 as selectApiPath,
|
|
3821
3836
|
E2 as selectAppConfig,
|
|
3822
3837
|
ce as selectClientId,
|
|
3823
3838
|
he as selectCurrentPopoverIdForGroup,
|
|
3824
|
-
|
|
3839
|
+
A2 as selectDeviceByKey,
|
|
3825
3840
|
b3 as selectDeviceInterfaceSupport,
|
|
3826
3841
|
ve as selectDeviceSupportsInterface,
|
|
3827
3842
|
fe as selectError,
|
|
3828
3843
|
y3 as selectInterfacesForDevice,
|
|
3829
|
-
|
|
3844
|
+
pe as selectIsSyncStateValuePresent,
|
|
3830
3845
|
de as selectIsTouchpanel,
|
|
3831
3846
|
D2 as selectLogoPath,
|
|
3832
3847
|
V1 as selectModalVisibility,
|
|
@@ -3835,7 +3850,7 @@ export {
|
|
|
3835
3850
|
V2 as selectRoomAudioControlPointList,
|
|
3836
3851
|
$2 as selectRoomByKey,
|
|
3837
3852
|
q2 as selectRoomCodecContentDestinationKey,
|
|
3838
|
-
|
|
3853
|
+
L2 as selectRoomConfiguration,
|
|
3839
3854
|
F2 as selectRoomDestinationList,
|
|
3840
3855
|
U2 as selectRoomDestinations,
|
|
3841
3856
|
ee as selectRoomDisplayStates,
|
|
@@ -3851,13 +3866,13 @@ export {
|
|
|
3851
3866
|
Q2 as selectRoomShareState,
|
|
3852
3867
|
W2 as selectRoomSourceList,
|
|
3853
3868
|
B2 as selectRoomVolume,
|
|
3854
|
-
|
|
3869
|
+
P2 as selectRooms,
|
|
3855
3870
|
ae as selectRuntimeInfo,
|
|
3856
3871
|
ie as selectServerIsRunningOnProcessorHardware,
|
|
3857
3872
|
ge as selectShowPopoverById,
|
|
3858
3873
|
we as selectShowReconnect,
|
|
3859
3874
|
re as selectSystemUuid,
|
|
3860
|
-
|
|
3875
|
+
me as selectTheme,
|
|
3861
3876
|
ue as selectTouchpanelKey,
|
|
3862
3877
|
le as selectUserCode,
|
|
3863
3878
|
oe as selectWsIsConnected,
|
|
@@ -3868,78 +3883,80 @@ export {
|
|
|
3868
3883
|
Q8 as useApiPath,
|
|
3869
3884
|
X8 as useAppConfig,
|
|
3870
3885
|
W1 as useAppDispatch,
|
|
3871
|
-
|
|
3886
|
+
m as useAppSelector,
|
|
3872
3887
|
F6 as useAvrControl,
|
|
3873
3888
|
w as useButtonHeldHeartbeat,
|
|
3874
|
-
|
|
3889
|
+
H6 as useCameraBase,
|
|
3875
3890
|
S6 as useClientId,
|
|
3876
|
-
|
|
3891
|
+
yt as useDeviceIBasicVolume,
|
|
3877
3892
|
Ye as useDeviceIBasicVolumeWithFeedback,
|
|
3878
3893
|
E6 as useDeviceInterfaceSupport,
|
|
3879
|
-
|
|
3894
|
+
q6 as useDevicePresetsModel,
|
|
3880
3895
|
D6 as useDeviceSupportsInterface,
|
|
3881
|
-
|
|
3896
|
+
G6 as useEndpoint,
|
|
3882
3897
|
Me as useError,
|
|
3883
|
-
|
|
3898
|
+
It as useGetAllDeviceStateFromRoomConfiguration,
|
|
3884
3899
|
t6 as useGetAllDevices,
|
|
3885
3900
|
o6 as useGetAllRooms,
|
|
3886
|
-
|
|
3901
|
+
P6 as useGetCurrentPopoverIdForGroup,
|
|
3887
3902
|
_ as useGetDevice,
|
|
3888
3903
|
V6 as useGetIBasicVolume,
|
|
3889
3904
|
U6 as useGetIBasicVolumeWithFeedback,
|
|
3890
3905
|
s6 as useGetRoom,
|
|
3891
3906
|
M6 as useGetRoomDisplayStates,
|
|
3892
3907
|
x6 as useGetZoomRoomControllerKey,
|
|
3908
|
+
Y6 as useIAudioCodecInfo,
|
|
3893
3909
|
j1 as useIBasicVolume,
|
|
3894
3910
|
W3 as useIBasicVolumeWithFeedback,
|
|
3895
|
-
|
|
3896
|
-
|
|
3897
|
-
|
|
3898
|
-
|
|
3899
|
-
|
|
3900
|
-
|
|
3901
|
-
|
|
3902
|
-
|
|
3903
|
-
|
|
3911
|
+
z6 as useIChannel,
|
|
3912
|
+
J6 as useIColor,
|
|
3913
|
+
X6 as useICommunicationMonitor,
|
|
3914
|
+
N6 as useIDPad,
|
|
3915
|
+
Q6 as useIDeviceInfoMessenger,
|
|
3916
|
+
et as useIDspPresets,
|
|
3917
|
+
tt as useIDvr,
|
|
3918
|
+
nt as useIEssentialsRoomCombiner,
|
|
3919
|
+
ot as useIHasCameras,
|
|
3920
|
+
st as useIHasDialer,
|
|
3904
3921
|
V3 as useIHasPowerControl,
|
|
3905
3922
|
O1 as useIHasSelectableItems,
|
|
3906
|
-
|
|
3907
|
-
|
|
3908
|
-
|
|
3909
|
-
|
|
3910
|
-
|
|
3911
|
-
|
|
3912
|
-
|
|
3913
|
-
|
|
3914
|
-
|
|
3915
|
-
|
|
3916
|
-
|
|
3917
|
-
|
|
3918
|
-
|
|
3919
|
-
|
|
3920
|
-
|
|
3921
|
-
|
|
3922
|
-
|
|
3923
|
-
|
|
3924
|
-
|
|
3923
|
+
ct as useIHumiditySensor,
|
|
3924
|
+
rt as useILevelControls,
|
|
3925
|
+
lt as useILightingScenes,
|
|
3926
|
+
it as useIMatrixRouting,
|
|
3927
|
+
at as useIMcCiscoCodecUserInterfaceAppControl,
|
|
3928
|
+
ut as useINumeric,
|
|
3929
|
+
dt as useIProjectorScreenLiftControl,
|
|
3930
|
+
vt as useIRoomEventSchedule,
|
|
3931
|
+
ht as useIRunDefaultPresentRoute,
|
|
3932
|
+
gt as useIRunDirectRouteAction,
|
|
3933
|
+
ft as useIRunRouteAction,
|
|
3934
|
+
wt as useISetTopBoxControls,
|
|
3935
|
+
mt as useIShadesOpenCloseStop,
|
|
3936
|
+
pt as useIShutdownPromptTimer,
|
|
3937
|
+
Mt as useISwitchedOutput,
|
|
3938
|
+
xt as useITechPassword,
|
|
3939
|
+
Zt as useITemperatureSensor,
|
|
3940
|
+
St as useITheme,
|
|
3941
|
+
jt as useITransport,
|
|
3925
3942
|
O6 as useInitialize,
|
|
3926
3943
|
T6 as useInterfacesForDevice,
|
|
3927
3944
|
Ze as useIsSyncStateValuePresent,
|
|
3928
3945
|
R6 as useIsTouchpanel,
|
|
3929
3946
|
N8 as useLogoPath,
|
|
3930
|
-
|
|
3931
|
-
|
|
3947
|
+
Ct as useMobileControlTouchpanelController,
|
|
3948
|
+
Rt as useOverflow,
|
|
3932
3949
|
e6 as usePartnerMetadata,
|
|
3933
3950
|
Ge as usePressHoldRelease,
|
|
3934
|
-
|
|
3951
|
+
m6 as useRoomAdvancedSharingActive,
|
|
3935
3952
|
l6 as useRoomAudioControlPointList,
|
|
3936
3953
|
v6 as useRoomCodecContentDestinationKey,
|
|
3937
3954
|
n6 as useRoomConfiguration,
|
|
3938
3955
|
a6 as useRoomDestinationList,
|
|
3939
3956
|
i6 as useRoomDestinations,
|
|
3940
3957
|
u6 as useRoomEnvironmentalDevices,
|
|
3941
|
-
|
|
3942
|
-
|
|
3958
|
+
Et as useRoomIBasicVolume,
|
|
3959
|
+
Tt as useRoomIBasicVolumeWithFeedback,
|
|
3943
3960
|
h6 as useRoomInCall,
|
|
3944
3961
|
f6 as useRoomIsCoolingDown,
|
|
3945
3962
|
w6 as useRoomIsOn,
|
|
@@ -3948,32 +3965,32 @@ export {
|
|
|
3948
3965
|
ne as useRoomLevelControls,
|
|
3949
3966
|
c6 as useRoomName,
|
|
3950
3967
|
d6 as useRoomProgramAudioDestinationKey,
|
|
3951
|
-
|
|
3968
|
+
p6 as useRoomShareState,
|
|
3952
3969
|
r6 as useRoomSourceList,
|
|
3953
3970
|
S1 as useRoomState,
|
|
3954
3971
|
te as useRoomVolume,
|
|
3955
3972
|
y6 as useRuntimeInfo,
|
|
3956
|
-
|
|
3973
|
+
Dt as useScroll,
|
|
3957
3974
|
b6 as useServerIsRunningOnProcessorHardware,
|
|
3958
|
-
|
|
3959
|
-
|
|
3975
|
+
A6 as useShowIncomingCallModal,
|
|
3976
|
+
L6 as useShowModal,
|
|
3960
3977
|
$6 as useShowPopoverById,
|
|
3961
3978
|
xe as useShowReconnect,
|
|
3962
3979
|
_6 as useShowShutdownModal,
|
|
3963
|
-
|
|
3964
|
-
|
|
3980
|
+
_t as useStateIsSynced,
|
|
3981
|
+
At as useSystemControl,
|
|
3965
3982
|
j6 as useSystemUuid,
|
|
3966
3983
|
k6 as useTheme,
|
|
3967
|
-
|
|
3984
|
+
Lt as useTimeAndDate,
|
|
3968
3985
|
I6 as useTouchpanelKey,
|
|
3969
|
-
|
|
3986
|
+
bt as useTwoWayDisplayBase,
|
|
3970
3987
|
C6 as useUserCode,
|
|
3971
|
-
|
|
3988
|
+
I as useWebsocketContext,
|
|
3972
3989
|
I3 as useWsIsConnected,
|
|
3973
|
-
|
|
3990
|
+
Le as wsAddEventHandler,
|
|
3974
3991
|
B3 as wsConnect,
|
|
3975
3992
|
B6 as wsDisconnect,
|
|
3976
3993
|
$e as wsReconnect,
|
|
3977
|
-
|
|
3978
|
-
|
|
3994
|
+
Pe as wsRemoveEventHandler,
|
|
3995
|
+
Ae as wsSendMessage
|
|
3979
3996
|
};
|