@pepperdash/mobile-control-react-app-core 1.21.0-feature-add-deviceInterfaceSupport-to-joinroom-response.2 → 1.21.0-feature-add-deviceInterfaceSupport-to-joinroom-response.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/mobile-control-react-app-core.es.js +848 -837
- package/dist/mobile-control-react-app-core.umd.js +9 -9
- package/dist/shared/hooks/index.d.ts +1 -0
- package/dist/shared/hooks/index.d.ts.map +1 -1
- package/dist/shared/hooks/useStateIsSynced.d.ts +7 -0
- package/dist/shared/hooks/useStateIsSynced.d.ts.map +1 -0
- package/dist/store/ui/ui.hooks.d.ts +1 -0
- package/dist/store/ui/ui.hooks.d.ts.map +1 -1
- package/dist/store/ui/ui.selectors.d.ts +27 -0
- package/dist/store/ui/ui.selectors.d.ts.map +1 -1
- package/dist/store/ui/ui.slice.d.ts +56 -0
- package/dist/store/ui/ui.slice.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
var
|
|
2
|
-
var o2 = (e, t,
|
|
3
|
-
var
|
|
4
|
-
import
|
|
5
|
-
import { useDispatch as
|
|
6
|
-
import { createSelector as w, createSlice as g1, combineReducers as
|
|
7
|
-
import w3, { createContext as
|
|
1
|
+
var n2 = Object.defineProperty;
|
|
2
|
+
var o2 = (e, t, n) => t in e ? n2(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
|
+
var q = (e, t, n) => o2(e, typeof t != "symbol" ? t + "" : t, n);
|
|
4
|
+
import c2, { AxiosError as r2 } from "axios";
|
|
5
|
+
import { useDispatch as l2, useSelector as i2, Provider as a2 } from "react-redux";
|
|
6
|
+
import { createSelector as w, createSlice as g1, combineReducers as u2, configureStore as d2 } from "@reduxjs/toolkit";
|
|
7
|
+
import w3, { createContext as v2, useState as K, useRef as h1, useCallback as a1, useEffect as c1, useContext as h2, useLayoutEffect as x3 } from "react";
|
|
8
8
|
import * as M3 from "lodash";
|
|
9
|
-
import { useNavigate as
|
|
10
|
-
const
|
|
9
|
+
import { useNavigate as g2, useRouteError as f2, isRouteErrorResponse as p2 } from "react-router-dom";
|
|
10
|
+
const m3 = l2.withTypes(), p = i2.withTypes(), j1 = (e) => e.appConfig, w2 = w(
|
|
11
11
|
j1,
|
|
12
12
|
(e) => e.config
|
|
13
13
|
), x2 = w(
|
|
@@ -19,20 +19,20 @@ const p2 = r2.withTypes(), p = l2.withTypes(), j1 = (e) => e.appConfig, w2 = w(
|
|
|
19
19
|
), m2 = w(
|
|
20
20
|
j1,
|
|
21
21
|
(e) => e.config.partnerMetadata
|
|
22
|
-
), Z2 = () => p(w2),
|
|
23
|
-
|
|
22
|
+
), Z2 = () => p(w2), U6 = () => p(x2), W6 = () => p(M2), F6 = () => p(m2), Z3 = (e) => e.devices, j3 = w(
|
|
23
|
+
Z3,
|
|
24
24
|
(e) => e
|
|
25
25
|
), j2 = (e) => w(
|
|
26
|
-
|
|
26
|
+
Z3,
|
|
27
27
|
(t) => t[e] ? t[e] : void 0
|
|
28
|
-
),
|
|
28
|
+
), H6 = () => p(j3);
|
|
29
29
|
function y(e) {
|
|
30
30
|
return p(j2(e));
|
|
31
31
|
}
|
|
32
|
-
const D = (e) => e.rooms,
|
|
32
|
+
const D = (e) => e.rooms, S2 = (e) => w(
|
|
33
33
|
D,
|
|
34
34
|
(t) => t[e] ? t[e].configuration : void 0
|
|
35
|
-
),
|
|
35
|
+
), C2 = w(
|
|
36
36
|
D,
|
|
37
37
|
(e) => e
|
|
38
38
|
), b2 = (e) => w(
|
|
@@ -43,125 +43,125 @@ const D = (e) => e.rooms, C2 = (e) => w(
|
|
|
43
43
|
(t) => t[e] ? t[e].name : void 0
|
|
44
44
|
), R2 = (e, t) => w(
|
|
45
45
|
D,
|
|
46
|
-
(
|
|
46
|
+
(n) => n[e] ? n[e].volumes[t] : void 0
|
|
47
47
|
), y2 = (e) => w(
|
|
48
48
|
D,
|
|
49
49
|
(t) => t[e] ? t[e] : void 0
|
|
50
50
|
), E2 = (e) => w(
|
|
51
51
|
D,
|
|
52
52
|
(t) => {
|
|
53
|
-
var
|
|
54
|
-
return t[e] ? (c = (
|
|
53
|
+
var n, c;
|
|
54
|
+
return t[e] ? (c = (n = t[e]) == null ? void 0 : n.configuration) == null ? void 0 : c.sourceList : void 0;
|
|
55
55
|
}
|
|
56
56
|
), P2 = (e) => w(
|
|
57
57
|
D,
|
|
58
58
|
(t) => {
|
|
59
|
-
var
|
|
60
|
-
return t[e] ? (c = (
|
|
59
|
+
var n, c;
|
|
60
|
+
return t[e] ? (c = (n = t[e]) == null ? void 0 : n.configuration) == null ? void 0 : c.audioControlPointList : void 0;
|
|
61
61
|
}
|
|
62
62
|
), T2 = (e) => w(
|
|
63
63
|
D,
|
|
64
64
|
(t) => {
|
|
65
|
-
var
|
|
66
|
-
return t[e] ? (c = (
|
|
65
|
+
var n, c;
|
|
66
|
+
return t[e] ? (c = (n = t[e]) == null ? void 0 : n.configuration) == null ? void 0 : c.destinations : void 0;
|
|
67
67
|
}
|
|
68
68
|
), _2 = (e) => w(
|
|
69
69
|
D,
|
|
70
70
|
(t) => {
|
|
71
|
-
var
|
|
72
|
-
return t[e] ? (c = (
|
|
71
|
+
var n, c;
|
|
72
|
+
return t[e] ? (c = (n = t[e]) == null ? void 0 : n.configuration) == null ? void 0 : c.destinationList : void 0;
|
|
73
73
|
}
|
|
74
74
|
), D2 = (e) => w(
|
|
75
75
|
D,
|
|
76
76
|
(t) => {
|
|
77
|
-
var
|
|
78
|
-
return t[e] ? (c = (
|
|
77
|
+
var n, c;
|
|
78
|
+
return t[e] ? (c = (n = t[e]) == null ? void 0 : n.configuration) == null ? void 0 : c.environmentalDevices : void 0;
|
|
79
79
|
}
|
|
80
80
|
), L2 = (e) => w(
|
|
81
81
|
D,
|
|
82
82
|
(t) => {
|
|
83
|
-
var
|
|
84
|
-
return (c = (
|
|
83
|
+
var n, c, r, i, d, a, g, x;
|
|
84
|
+
return (c = (n = t[e]) == null ? void 0 : n.configuration) != null && c.destinationList.programAudio ? (d = (i = (r = t[e]) == null ? void 0 : r.configuration) == null ? void 0 : i.destinationList.programAudio) == null ? void 0 : d.sinkKey : ((x = (g = (a = t[e]) == null ? void 0 : a.configuration) == null ? void 0 : g.destinationList.defaultDisplay) == null ? void 0 : x.sinkKey) || "";
|
|
85
85
|
}
|
|
86
86
|
), $2 = (e) => w(
|
|
87
87
|
D,
|
|
88
88
|
(t) => {
|
|
89
|
-
var
|
|
90
|
-
return t[e] ? (r = (c = (
|
|
89
|
+
var n, c, r;
|
|
90
|
+
return t[e] ? (r = (c = (n = t[e]) == null ? void 0 : n.configuration) == null ? void 0 : c.destinationList.codecContent) == null ? void 0 : r.sinkKey : void 0;
|
|
91
91
|
}
|
|
92
92
|
), A2 = (e) => w(
|
|
93
93
|
D,
|
|
94
94
|
(t) => {
|
|
95
|
-
var
|
|
96
|
-
return t[e] ? (
|
|
95
|
+
var n;
|
|
96
|
+
return t[e] ? (n = t[e]) == null ? void 0 : n.isInCall : void 0;
|
|
97
97
|
}
|
|
98
98
|
), B2 = (e) => w(
|
|
99
99
|
D,
|
|
100
100
|
(t) => {
|
|
101
|
-
var
|
|
102
|
-
return t[e] ? (
|
|
101
|
+
var n;
|
|
102
|
+
return t[e] ? (n = t[e]) == null ? void 0 : n.isWarmingUp : void 0;
|
|
103
103
|
}
|
|
104
104
|
), O2 = (e) => w(
|
|
105
105
|
D,
|
|
106
106
|
(t) => {
|
|
107
|
-
var
|
|
108
|
-
return t[e] ? (
|
|
107
|
+
var n;
|
|
108
|
+
return t[e] ? (n = t[e]) == null ? void 0 : n.isCoolingDown : void 0;
|
|
109
109
|
}
|
|
110
110
|
), V2 = (e) => w(
|
|
111
111
|
D,
|
|
112
112
|
(t) => {
|
|
113
|
-
var
|
|
114
|
-
return t[e] ? (
|
|
113
|
+
var n;
|
|
114
|
+
return t[e] ? (n = t[e]) == null ? void 0 : n.isOn : void 0;
|
|
115
115
|
}
|
|
116
116
|
), k2 = (e) => w(
|
|
117
117
|
D,
|
|
118
118
|
(t) => {
|
|
119
|
-
var
|
|
120
|
-
return t[e] ? (
|
|
119
|
+
var n;
|
|
120
|
+
return t[e] ? (n = t[e]) == null ? void 0 : n.advancedSharingActive : void 0;
|
|
121
121
|
}
|
|
122
122
|
), U2 = (e) => w(
|
|
123
123
|
D,
|
|
124
124
|
(t) => {
|
|
125
|
-
var
|
|
126
|
-
return t[e] ? (
|
|
125
|
+
var n;
|
|
126
|
+
return t[e] ? (n = t[e]) == null ? void 0 : n.share : void 0;
|
|
127
127
|
}
|
|
128
128
|
), W2 = (e) => w(
|
|
129
129
|
D,
|
|
130
130
|
(t) => {
|
|
131
|
-
var
|
|
132
|
-
return t[e] ? (c = (
|
|
131
|
+
var n, c;
|
|
132
|
+
return t[e] ? (c = (n = t[e]) == null ? void 0 : n.configuration) == null ? void 0 : c.zoomRoomControllerKey : void 0;
|
|
133
133
|
}
|
|
134
134
|
), F2 = w(
|
|
135
135
|
[
|
|
136
136
|
(e, t) => t,
|
|
137
|
-
() =>
|
|
137
|
+
() => j3,
|
|
138
138
|
(e, t) => {
|
|
139
|
-
var
|
|
140
|
-
return (c = (
|
|
139
|
+
var n, c;
|
|
140
|
+
return (c = (n = e.rooms[t]) == null ? void 0 : n.configuration) == null ? void 0 : c.destinations;
|
|
141
141
|
}
|
|
142
142
|
],
|
|
143
|
-
(e, t,
|
|
144
|
-
if (console.log("roomKey", e), console.log("devices", t), console.log("destinations",
|
|
145
|
-
const c = Object.entries(
|
|
143
|
+
(e, t, n) => {
|
|
144
|
+
if (console.log("roomKey", e), console.log("devices", t), console.log("destinations", n), !n) return;
|
|
145
|
+
const c = Object.entries(n).filter(([i]) => i !== "programAudio" && i !== "codecContent").map(([, i]) => i);
|
|
146
146
|
return Object.values(t).filter((i) => Object.values(c).includes(i.key));
|
|
147
147
|
}
|
|
148
148
|
);
|
|
149
|
-
function
|
|
149
|
+
function K6(e) {
|
|
150
150
|
return p(
|
|
151
|
-
|
|
151
|
+
S2(e)
|
|
152
152
|
);
|
|
153
153
|
}
|
|
154
|
-
function
|
|
155
|
-
return p(
|
|
154
|
+
function G6() {
|
|
155
|
+
return p(C2);
|
|
156
156
|
}
|
|
157
|
-
function
|
|
157
|
+
function S1(e) {
|
|
158
158
|
return p(b2(e));
|
|
159
159
|
}
|
|
160
|
-
const
|
|
160
|
+
const q6 = S1, Y6 = (e) => p(
|
|
161
161
|
I2(e)
|
|
162
162
|
), H2 = (e, t) => p(
|
|
163
163
|
R2(e, t)
|
|
164
|
-
), K2 = (e) => p(y2(e)) || void 0,
|
|
164
|
+
), K2 = (e) => p(y2(e)) || void 0, z6 = (e) => p(E2(e)), J6 = (e) => p(P2(e)), X6 = (e) => p(T2(e)), Q6 = (e) => p(_2(e)), N6 = (e) => p(D2(e)), ee = (e) => p(L2(e)), te = (e) => p($2(e)), se = (e) => p(A2(e)), ne = (e) => p(B2(e)), oe = (e) => p(O2(e)), ce = (e) => p(V2(e)), re = (e) => p(k2(e)), le = (e) => p(U2(e)), ie = (e) => p((t) => F2(t, e)), ae = (e) => p(W2(e)), Y = (e) => e.runtimeConfig, G2 = w(
|
|
165
165
|
Y,
|
|
166
166
|
(e) => e.websocket.isConnected
|
|
167
167
|
), q2 = w(
|
|
@@ -194,42 +194,31 @@ const K6 = C1, G6 = (e) => p(
|
|
|
194
194
|
), t8 = w(
|
|
195
195
|
Y,
|
|
196
196
|
(e) => e.roomData.deviceInterfaceSupport
|
|
197
|
-
),
|
|
198
|
-
|
|
199
|
-
(
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
if (o)
|
|
205
|
-
return Object.keys(o).find((c) => o[c]);
|
|
206
|
-
}
|
|
207
|
-
), i8 = (e, t) => w(
|
|
208
|
-
c1,
|
|
209
|
-
(o) => {
|
|
197
|
+
), S3 = () => p(G2), s8 = () => p(q2), n8 = () => p(Y2), o8 = () => p(z2), c8 = () => p(J2), r8 = () => p(X2), ue = () => p(Q2), de = () => p(N2), ve = () => p(e8), he = () => p(t8), t1 = (e) => e.ui, U1 = (e) => w(t1, (t) => t.modalVisibility[e]), l8 = (e) => w(t1, (t) => {
|
|
198
|
+
const n = t.popoverVisibility[e];
|
|
199
|
+
if (n)
|
|
200
|
+
return Object.keys(n).find((c) => n[c]);
|
|
201
|
+
}), i8 = (e, t) => w(
|
|
202
|
+
t1,
|
|
203
|
+
(n) => {
|
|
210
204
|
var c;
|
|
211
|
-
return ((c =
|
|
205
|
+
return ((c = n.popoverVisibility[e]) == null ? void 0 : c[t]) ?? !1;
|
|
212
206
|
}
|
|
213
|
-
), a8 = w(
|
|
214
|
-
|
|
215
|
-
(e) => e.error
|
|
216
|
-
), u8 = w(
|
|
217
|
-
c1,
|
|
207
|
+
), a8 = w(t1, (e) => e.error), u8 = w(
|
|
208
|
+
t1,
|
|
218
209
|
(e) => e.showReconnect
|
|
219
|
-
), d8 = w(
|
|
220
|
-
c1,
|
|
221
|
-
(e) => e.theme
|
|
222
|
-
), ve = () => p(U1("showShutdownModal")), he = () => p(U1("showIncomingCallModal")), ge = (e) => p(U1(e)), fe = (e) => p(l8(e)), pe = (e, t) => p(i8(e, t)), v8 = () => p(a8), h8 = () => p(u8), we = () => p(d8), g8 = {
|
|
210
|
+
), d8 = w(t1, (e) => e.theme), v8 = (e) => w(t1, (t) => t.syncState.has(e)), ge = () => p(U1("showShutdownModal")), fe = () => p(U1("showIncomingCallModal")), pe = (e) => p(U1(e)), we = (e) => p(l8(e)), xe = (e, t) => p(i8(e, t)), h8 = () => p(a8), g8 = () => p(u8), Me = () => p(d8), f8 = (e) => p(v8(e)), p8 = {
|
|
223
211
|
showReconnect: !1,
|
|
224
212
|
error: "",
|
|
225
213
|
modalVisibility: {
|
|
226
214
|
showShutdownModal: !1,
|
|
227
215
|
showIncomingCallModal: !1
|
|
228
216
|
},
|
|
229
|
-
popoverVisibility: {}
|
|
217
|
+
popoverVisibility: {},
|
|
218
|
+
syncState: /* @__PURE__ */ new Set()
|
|
230
219
|
}, C3 = g1({
|
|
231
220
|
name: "ui",
|
|
232
|
-
initialState:
|
|
221
|
+
initialState: p8,
|
|
233
222
|
reducers: {
|
|
234
223
|
clearAllModals(e) {
|
|
235
224
|
Object.entries(e.modalVisibility).forEach(([t]) => {
|
|
@@ -246,8 +235,10 @@ const K6 = C1, G6 = (e) => p(
|
|
|
246
235
|
e.modalVisibility.showIncomingCallModal = t.payload;
|
|
247
236
|
},
|
|
248
237
|
setPopoverState(e, t) {
|
|
249
|
-
e.popoverVisibility[t.payload.popoverGroup] || (e.popoverVisibility[t.payload.popoverGroup] = {}), Object.entries(
|
|
250
|
-
e.popoverVisibility[t.payload.popoverGroup]
|
|
238
|
+
e.popoverVisibility[t.payload.popoverGroup] || (e.popoverVisibility[t.payload.popoverGroup] = {}), Object.entries(
|
|
239
|
+
e.popoverVisibility[t.payload.popoverGroup]
|
|
240
|
+
).forEach(([n]) => {
|
|
241
|
+
e.popoverVisibility[t.payload.popoverGroup][n] = !1;
|
|
251
242
|
}), e.popoverVisibility[t.payload.popoverGroup][t.payload.popoverId] = t.payload.value;
|
|
252
243
|
},
|
|
253
244
|
setErrorMessage(e, t) {
|
|
@@ -258,9 +249,18 @@ const K6 = C1, G6 = (e) => p(
|
|
|
258
249
|
},
|
|
259
250
|
setTheme(e, t) {
|
|
260
251
|
e.theme = t.payload;
|
|
252
|
+
},
|
|
253
|
+
addSyncState(e, t) {
|
|
254
|
+
e.syncState.add(t.payload);
|
|
255
|
+
},
|
|
256
|
+
removeSyncState(e, t) {
|
|
257
|
+
e.syncState.delete(t.payload);
|
|
258
|
+
},
|
|
259
|
+
clearSyncState(e) {
|
|
260
|
+
e.syncState.clear();
|
|
261
261
|
}
|
|
262
262
|
}
|
|
263
|
-
}),
|
|
263
|
+
}), F = C3.actions, w8 = C3.reducer, x8 = {
|
|
264
264
|
config: {
|
|
265
265
|
enableDev: !1,
|
|
266
266
|
apiPath: "",
|
|
@@ -270,20 +270,20 @@ const K6 = C1, G6 = (e) => p(
|
|
|
270
270
|
loginMode: "",
|
|
271
271
|
modes: {}
|
|
272
272
|
}
|
|
273
|
-
},
|
|
273
|
+
}, b3 = g1({
|
|
274
274
|
name: "appConfig",
|
|
275
|
-
initialState:
|
|
275
|
+
initialState: x8,
|
|
276
276
|
reducers: {
|
|
277
277
|
setAppConfig(e, t) {
|
|
278
278
|
e.config = t.payload;
|
|
279
279
|
}
|
|
280
280
|
}
|
|
281
|
-
}),
|
|
281
|
+
}), M8 = b3.actions, m8 = b3.reducer, d3 = {}, B1 = g1({
|
|
282
282
|
name: "devices",
|
|
283
283
|
initialState: d3,
|
|
284
284
|
reducers: {
|
|
285
285
|
setDeviceState(e, t) {
|
|
286
|
-
const
|
|
286
|
+
const n = t.payload.type, c = n.slice(n.lastIndexOf("/") + 1);
|
|
287
287
|
if (!c) return;
|
|
288
288
|
const r = t.payload.content, i = e[c] ?? {}, d = M3.merge(i, r);
|
|
289
289
|
e[c] = d;
|
|
@@ -295,12 +295,12 @@ const K6 = C1, G6 = (e) => p(
|
|
|
295
295
|
}), N = {
|
|
296
296
|
setDeviceState: B1.actions.setDeviceState,
|
|
297
297
|
clearDevices: B1.actions.clearDevices
|
|
298
|
-
},
|
|
298
|
+
}, Z8 = B1.reducer, v3 = {}, O1 = g1({
|
|
299
299
|
name: "rooms",
|
|
300
300
|
initialState: v3,
|
|
301
301
|
reducers: {
|
|
302
302
|
setRoomState(e, t) {
|
|
303
|
-
const
|
|
303
|
+
const n = t.payload.type, c = n.slice(n.lastIndexOf("/") + 1);
|
|
304
304
|
if (!c) return;
|
|
305
305
|
const r = t.payload.content, i = e[c] ?? {}, d = M3.merge(i, r);
|
|
306
306
|
e[c] = d;
|
|
@@ -312,7 +312,7 @@ const K6 = C1, G6 = (e) => p(
|
|
|
312
312
|
}), e1 = {
|
|
313
313
|
setRoomState: O1.actions.setRoomState,
|
|
314
314
|
clearRooms: O1.actions.clearRooms
|
|
315
|
-
},
|
|
315
|
+
}, j8 = O1.reducer, S8 = {
|
|
316
316
|
apiVersion: "",
|
|
317
317
|
serverIsRunningOnProcessorHardware: !1,
|
|
318
318
|
websocket: {
|
|
@@ -343,9 +343,9 @@ const K6 = C1, G6 = (e) => p(
|
|
|
343
343
|
userCode: "",
|
|
344
344
|
qrUrl: ""
|
|
345
345
|
}
|
|
346
|
-
},
|
|
346
|
+
}, I3 = g1({
|
|
347
347
|
name: "runtimeConfig",
|
|
348
|
-
initialState:
|
|
348
|
+
initialState: S8,
|
|
349
349
|
reducers: {
|
|
350
350
|
setRuntimeConfig(e, t) {
|
|
351
351
|
e.apiVersion = t.payload.apiVersion, e.serverIsRunningOnProcessorHardware = t.payload.serverIsRunningOnProcessorHardware;
|
|
@@ -372,25 +372,25 @@ const K6 = C1, G6 = (e) => p(
|
|
|
372
372
|
e.touchpanelKey = t.payload;
|
|
373
373
|
}
|
|
374
374
|
}
|
|
375
|
-
}), W =
|
|
376
|
-
appConfig:
|
|
377
|
-
runtimeConfig:
|
|
378
|
-
rooms:
|
|
379
|
-
devices:
|
|
380
|
-
ui:
|
|
381
|
-
}), m =
|
|
382
|
-
reducer:
|
|
383
|
-
}), V1 =
|
|
384
|
-
function
|
|
385
|
-
const e =
|
|
375
|
+
}), W = I3.actions, C8 = I3.reducer, b8 = u2({
|
|
376
|
+
appConfig: m8,
|
|
377
|
+
runtimeConfig: C8,
|
|
378
|
+
rooms: j8,
|
|
379
|
+
devices: Z8,
|
|
380
|
+
ui: w8
|
|
381
|
+
}), m = d2({
|
|
382
|
+
reducer: b8
|
|
383
|
+
}), V1 = c2.create();
|
|
384
|
+
function I8() {
|
|
385
|
+
const e = m3();
|
|
386
386
|
return async () => {
|
|
387
387
|
try {
|
|
388
388
|
const t = location.pathname.split("/").filter((r) => r.length > 0);
|
|
389
389
|
t.length >= 5 ? t.length = 5 : t.length = 2;
|
|
390
|
-
const
|
|
390
|
+
const n = `/${t.join("/")}`, c = await V1.get("/_local-config/_config.local.json", { baseURL: n });
|
|
391
391
|
if (c.status == 200 && c.data) {
|
|
392
392
|
const r = c.data.apiPath;
|
|
393
|
-
e(
|
|
393
|
+
e(M8.setAppConfig(c.data));
|
|
394
394
|
const i = await V1.get(`${r}/version`);
|
|
395
395
|
i.status == 200 && i.data && e(W.setRuntimeConfig(i.data));
|
|
396
396
|
}
|
|
@@ -411,18 +411,18 @@ var m1 = { exports: {} }, u1 = {};
|
|
|
411
411
|
* LICENSE file in the root directory of this source tree.
|
|
412
412
|
*/
|
|
413
413
|
var h3;
|
|
414
|
-
function
|
|
414
|
+
function R8() {
|
|
415
415
|
if (h3) return u1;
|
|
416
416
|
h3 = 1;
|
|
417
|
-
var e = w3, t = Symbol.for("react.element"),
|
|
417
|
+
var e = w3, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, r = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
418
418
|
function d(a, g, x) {
|
|
419
|
-
var v, I = {}, L = null,
|
|
420
|
-
x !== void 0 && (L = "" + x), g.key !== void 0 && (L = "" + g.key), g.ref !== void 0 && (
|
|
419
|
+
var v, I = {}, L = null, H = null;
|
|
420
|
+
x !== void 0 && (L = "" + x), g.key !== void 0 && (L = "" + g.key), g.ref !== void 0 && (H = g.ref);
|
|
421
421
|
for (v in g) c.call(g, v) && !i.hasOwnProperty(v) && (I[v] = g[v]);
|
|
422
422
|
if (a && a.defaultProps) for (v in g = a.defaultProps, g) I[v] === void 0 && (I[v] = g[v]);
|
|
423
|
-
return { $$typeof: t, type: a, key: L, ref:
|
|
423
|
+
return { $$typeof: t, type: a, key: L, ref: H, props: I, _owner: r.current };
|
|
424
424
|
}
|
|
425
|
-
return u1.Fragment =
|
|
425
|
+
return u1.Fragment = n, u1.jsx = d, u1.jsxs = d, u1;
|
|
426
426
|
}
|
|
427
427
|
var d1 = {};
|
|
428
428
|
/**
|
|
@@ -435,63 +435,63 @@ var d1 = {};
|
|
|
435
435
|
* LICENSE file in the root directory of this source tree.
|
|
436
436
|
*/
|
|
437
437
|
var g3;
|
|
438
|
-
function
|
|
438
|
+
function y8() {
|
|
439
439
|
return g3 || (g3 = 1, process.env.NODE_ENV !== "production" && function() {
|
|
440
|
-
var e = w3, t = Symbol.for("react.element"),
|
|
441
|
-
function r1(
|
|
442
|
-
if (
|
|
440
|
+
var e = w3, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), a = Symbol.for("react.context"), g = Symbol.for("react.forward_ref"), x = Symbol.for("react.suspense"), v = Symbol.for("react.suspense_list"), I = Symbol.for("react.memo"), L = Symbol.for("react.lazy"), H = Symbol.for("react.offscreen"), k = Symbol.iterator, X = "@@iterator";
|
|
441
|
+
function r1(o) {
|
|
442
|
+
if (o === null || typeof o != "object")
|
|
443
443
|
return null;
|
|
444
|
-
var l = k &&
|
|
444
|
+
var l = k && o[k] || o[X];
|
|
445
445
|
return typeof l == "function" ? l : null;
|
|
446
446
|
}
|
|
447
447
|
var $ = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
448
|
-
function A(
|
|
448
|
+
function A(o) {
|
|
449
449
|
{
|
|
450
450
|
for (var l = arguments.length, u = new Array(l > 1 ? l - 1 : 0), f = 1; f < l; f++)
|
|
451
451
|
u[f - 1] = arguments[f];
|
|
452
|
-
|
|
452
|
+
C1("error", o, u);
|
|
453
453
|
}
|
|
454
454
|
}
|
|
455
|
-
function
|
|
455
|
+
function C1(o, l, u) {
|
|
456
456
|
{
|
|
457
|
-
var f = $.ReactDebugCurrentFrame,
|
|
458
|
-
|
|
457
|
+
var f = $.ReactDebugCurrentFrame, C = f.getStackAddendum();
|
|
458
|
+
C !== "" && (l += "%s", u = u.concat([C]));
|
|
459
459
|
var R = u.map(function(Z) {
|
|
460
460
|
return String(Z);
|
|
461
461
|
});
|
|
462
|
-
R.unshift("Warning: " + l), Function.prototype.apply.call(console[
|
|
462
|
+
R.unshift("Warning: " + l), Function.prototype.apply.call(console[o], console, R);
|
|
463
463
|
}
|
|
464
464
|
}
|
|
465
|
-
var b1 = !1, E = !1,
|
|
465
|
+
var b1 = !1, E = !1, S = !1, f1 = !1, I1 = !1, z;
|
|
466
466
|
z = Symbol.for("react.module.reference");
|
|
467
|
-
function B(
|
|
468
|
-
return !!(typeof
|
|
467
|
+
function B(o) {
|
|
468
|
+
return !!(typeof o == "string" || typeof o == "function" || o === c || o === i || I1 || o === r || o === x || o === v || f1 || o === H || b1 || E || S || typeof o == "object" && o !== null && (o.$$typeof === L || o.$$typeof === I || o.$$typeof === d || o.$$typeof === a || o.$$typeof === g || // This needs to include all possible module reference object
|
|
469
469
|
// types supported by any Flight configuration anywhere since
|
|
470
470
|
// we don't know which Flight build this will end up being used
|
|
471
471
|
// with.
|
|
472
|
-
|
|
472
|
+
o.$$typeof === z || o.getModuleId !== void 0));
|
|
473
473
|
}
|
|
474
|
-
function P(
|
|
475
|
-
var f =
|
|
474
|
+
function P(o, l, u) {
|
|
475
|
+
var f = o.displayName;
|
|
476
476
|
if (f)
|
|
477
477
|
return f;
|
|
478
|
-
var
|
|
479
|
-
return
|
|
478
|
+
var C = l.displayName || l.name || "";
|
|
479
|
+
return C !== "" ? u + "(" + C + ")" : u;
|
|
480
480
|
}
|
|
481
|
-
function
|
|
482
|
-
return
|
|
481
|
+
function s1(o) {
|
|
482
|
+
return o.displayName || "Context";
|
|
483
483
|
}
|
|
484
|
-
function
|
|
485
|
-
if (
|
|
484
|
+
function G(o) {
|
|
485
|
+
if (o == null)
|
|
486
486
|
return null;
|
|
487
|
-
if (typeof
|
|
488
|
-
return
|
|
489
|
-
if (typeof
|
|
490
|
-
return
|
|
491
|
-
switch (
|
|
487
|
+
if (typeof o.tag == "number" && A("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof o == "function")
|
|
488
|
+
return o.displayName || o.name || null;
|
|
489
|
+
if (typeof o == "string")
|
|
490
|
+
return o;
|
|
491
|
+
switch (o) {
|
|
492
492
|
case c:
|
|
493
493
|
return "Fragment";
|
|
494
|
-
case
|
|
494
|
+
case n:
|
|
495
495
|
return "Portal";
|
|
496
496
|
case i:
|
|
497
497
|
return "Profiler";
|
|
@@ -502,23 +502,23 @@ function I8() {
|
|
|
502
502
|
case v:
|
|
503
503
|
return "SuspenseList";
|
|
504
504
|
}
|
|
505
|
-
if (typeof
|
|
506
|
-
switch (
|
|
505
|
+
if (typeof o == "object")
|
|
506
|
+
switch (o.$$typeof) {
|
|
507
507
|
case a:
|
|
508
|
-
var l =
|
|
509
|
-
return
|
|
508
|
+
var l = o;
|
|
509
|
+
return s1(l) + ".Consumer";
|
|
510
510
|
case d:
|
|
511
|
-
var u =
|
|
512
|
-
return
|
|
511
|
+
var u = o;
|
|
512
|
+
return s1(u._context) + ".Provider";
|
|
513
513
|
case g:
|
|
514
|
-
return P(
|
|
514
|
+
return P(o, o.render, "ForwardRef");
|
|
515
515
|
case I:
|
|
516
|
-
var f =
|
|
517
|
-
return f !== null ? f :
|
|
516
|
+
var f = o.displayName || null;
|
|
517
|
+
return f !== null ? f : G(o.type) || "Memo";
|
|
518
518
|
case L: {
|
|
519
|
-
var
|
|
519
|
+
var C = o, R = C._payload, Z = C._init;
|
|
520
520
|
try {
|
|
521
|
-
return
|
|
521
|
+
return G(Z(R));
|
|
522
522
|
} catch {
|
|
523
523
|
return null;
|
|
524
524
|
}
|
|
@@ -530,57 +530,57 @@ function I8() {
|
|
|
530
530
|
function z1() {
|
|
531
531
|
}
|
|
532
532
|
z1.__reactDisabledLog = !0;
|
|
533
|
-
function
|
|
533
|
+
function P3() {
|
|
534
534
|
{
|
|
535
535
|
if (l1 === 0) {
|
|
536
536
|
W1 = console.log, F1 = console.info, H1 = console.warn, K1 = console.error, G1 = console.group, q1 = console.groupCollapsed, Y1 = console.groupEnd;
|
|
537
|
-
var
|
|
537
|
+
var o = {
|
|
538
538
|
configurable: !0,
|
|
539
539
|
enumerable: !0,
|
|
540
540
|
value: z1,
|
|
541
541
|
writable: !0
|
|
542
542
|
};
|
|
543
543
|
Object.defineProperties(console, {
|
|
544
|
-
info:
|
|
545
|
-
log:
|
|
546
|
-
warn:
|
|
547
|
-
error:
|
|
548
|
-
group:
|
|
549
|
-
groupCollapsed:
|
|
550
|
-
groupEnd:
|
|
544
|
+
info: o,
|
|
545
|
+
log: o,
|
|
546
|
+
warn: o,
|
|
547
|
+
error: o,
|
|
548
|
+
group: o,
|
|
549
|
+
groupCollapsed: o,
|
|
550
|
+
groupEnd: o
|
|
551
551
|
});
|
|
552
552
|
}
|
|
553
553
|
l1++;
|
|
554
554
|
}
|
|
555
555
|
}
|
|
556
|
-
function
|
|
556
|
+
function T3() {
|
|
557
557
|
{
|
|
558
558
|
if (l1--, l1 === 0) {
|
|
559
|
-
var
|
|
559
|
+
var o = {
|
|
560
560
|
configurable: !0,
|
|
561
561
|
enumerable: !0,
|
|
562
562
|
writable: !0
|
|
563
563
|
};
|
|
564
564
|
Object.defineProperties(console, {
|
|
565
|
-
log: J({},
|
|
565
|
+
log: J({}, o, {
|
|
566
566
|
value: W1
|
|
567
567
|
}),
|
|
568
|
-
info: J({},
|
|
568
|
+
info: J({}, o, {
|
|
569
569
|
value: F1
|
|
570
570
|
}),
|
|
571
|
-
warn: J({},
|
|
571
|
+
warn: J({}, o, {
|
|
572
572
|
value: H1
|
|
573
573
|
}),
|
|
574
|
-
error: J({},
|
|
574
|
+
error: J({}, o, {
|
|
575
575
|
value: K1
|
|
576
576
|
}),
|
|
577
|
-
group: J({},
|
|
577
|
+
group: J({}, o, {
|
|
578
578
|
value: G1
|
|
579
579
|
}),
|
|
580
|
-
groupCollapsed: J({},
|
|
580
|
+
groupCollapsed: J({}, o, {
|
|
581
581
|
value: q1
|
|
582
582
|
}),
|
|
583
|
-
groupEnd: J({},
|
|
583
|
+
groupEnd: J({}, o, {
|
|
584
584
|
value: Y1
|
|
585
585
|
})
|
|
586
586
|
});
|
|
@@ -589,38 +589,38 @@ function I8() {
|
|
|
589
589
|
}
|
|
590
590
|
}
|
|
591
591
|
var R1 = $.ReactCurrentDispatcher, y1;
|
|
592
|
-
function p1(
|
|
592
|
+
function p1(o, l, u) {
|
|
593
593
|
{
|
|
594
594
|
if (y1 === void 0)
|
|
595
595
|
try {
|
|
596
596
|
throw Error();
|
|
597
|
-
} catch (
|
|
598
|
-
var f =
|
|
597
|
+
} catch (C) {
|
|
598
|
+
var f = C.stack.trim().match(/\n( *(at )?)/);
|
|
599
599
|
y1 = f && f[1] || "";
|
|
600
600
|
}
|
|
601
601
|
return `
|
|
602
|
-
` + y1 +
|
|
602
|
+
` + y1 + o;
|
|
603
603
|
}
|
|
604
604
|
}
|
|
605
605
|
var E1 = !1, w1;
|
|
606
606
|
{
|
|
607
|
-
var
|
|
608
|
-
w1 = new
|
|
607
|
+
var _3 = typeof WeakMap == "function" ? WeakMap : Map;
|
|
608
|
+
w1 = new _3();
|
|
609
609
|
}
|
|
610
|
-
function J1(
|
|
611
|
-
if (!
|
|
610
|
+
function J1(o, l) {
|
|
611
|
+
if (!o || E1)
|
|
612
612
|
return "";
|
|
613
613
|
{
|
|
614
|
-
var u = w1.get(
|
|
614
|
+
var u = w1.get(o);
|
|
615
615
|
if (u !== void 0)
|
|
616
616
|
return u;
|
|
617
617
|
}
|
|
618
618
|
var f;
|
|
619
619
|
E1 = !0;
|
|
620
|
-
var
|
|
620
|
+
var C = Error.prepareStackTrace;
|
|
621
621
|
Error.prepareStackTrace = void 0;
|
|
622
622
|
var R;
|
|
623
|
-
R = R1.current, R1.current = null,
|
|
623
|
+
R = R1.current, R1.current = null, P3();
|
|
624
624
|
try {
|
|
625
625
|
if (l) {
|
|
626
626
|
var Z = function() {
|
|
@@ -636,14 +636,14 @@ function I8() {
|
|
|
636
636
|
} catch (V) {
|
|
637
637
|
f = V;
|
|
638
638
|
}
|
|
639
|
-
Reflect.construct(
|
|
639
|
+
Reflect.construct(o, [], Z);
|
|
640
640
|
} else {
|
|
641
641
|
try {
|
|
642
642
|
Z.call();
|
|
643
643
|
} catch (V) {
|
|
644
644
|
f = V;
|
|
645
645
|
}
|
|
646
|
-
|
|
646
|
+
o.call(Z.prototype);
|
|
647
647
|
}
|
|
648
648
|
} else {
|
|
649
649
|
try {
|
|
@@ -651,7 +651,7 @@ function I8() {
|
|
|
651
651
|
} catch (V) {
|
|
652
652
|
f = V;
|
|
653
653
|
}
|
|
654
|
-
|
|
654
|
+
o();
|
|
655
655
|
}
|
|
656
656
|
} catch (V) {
|
|
657
657
|
if (V && f && typeof V.stack == "string") {
|
|
@@ -666,48 +666,48 @@ function I8() {
|
|
|
666
666
|
if (T--, _--, _ < 0 || M[T] !== O[_]) {
|
|
667
667
|
var U = `
|
|
668
668
|
` + M[T].replace(" at new ", " at ");
|
|
669
|
-
return
|
|
669
|
+
return o.displayName && U.includes("<anonymous>") && (U = U.replace("<anonymous>", o.displayName)), typeof o == "function" && w1.set(o, U), U;
|
|
670
670
|
}
|
|
671
671
|
while (T >= 1 && _ >= 0);
|
|
672
672
|
break;
|
|
673
673
|
}
|
|
674
674
|
}
|
|
675
675
|
} finally {
|
|
676
|
-
E1 = !1, R1.current = R,
|
|
676
|
+
E1 = !1, R1.current = R, T3(), Error.prepareStackTrace = C;
|
|
677
677
|
}
|
|
678
|
-
var o1 =
|
|
679
|
-
return typeof
|
|
678
|
+
var o1 = o ? o.displayName || o.name : "", Q = o1 ? p1(o1) : "";
|
|
679
|
+
return typeof o == "function" && w1.set(o, Q), Q;
|
|
680
680
|
}
|
|
681
|
-
function
|
|
682
|
-
return J1(
|
|
681
|
+
function D3(o, l, u) {
|
|
682
|
+
return J1(o, !1);
|
|
683
683
|
}
|
|
684
|
-
function
|
|
685
|
-
var l =
|
|
684
|
+
function L3(o) {
|
|
685
|
+
var l = o.prototype;
|
|
686
686
|
return !!(l && l.isReactComponent);
|
|
687
687
|
}
|
|
688
|
-
function x1(
|
|
689
|
-
if (
|
|
688
|
+
function x1(o, l, u) {
|
|
689
|
+
if (o == null)
|
|
690
690
|
return "";
|
|
691
|
-
if (typeof
|
|
692
|
-
return J1(
|
|
693
|
-
if (typeof
|
|
694
|
-
return p1(
|
|
695
|
-
switch (
|
|
691
|
+
if (typeof o == "function")
|
|
692
|
+
return J1(o, L3(o));
|
|
693
|
+
if (typeof o == "string")
|
|
694
|
+
return p1(o);
|
|
695
|
+
switch (o) {
|
|
696
696
|
case x:
|
|
697
697
|
return p1("Suspense");
|
|
698
698
|
case v:
|
|
699
699
|
return p1("SuspenseList");
|
|
700
700
|
}
|
|
701
|
-
if (typeof
|
|
702
|
-
switch (
|
|
701
|
+
if (typeof o == "object")
|
|
702
|
+
switch (o.$$typeof) {
|
|
703
703
|
case g:
|
|
704
|
-
return
|
|
704
|
+
return D3(o.render);
|
|
705
705
|
case I:
|
|
706
|
-
return x1(
|
|
706
|
+
return x1(o.type, l, u);
|
|
707
707
|
case L: {
|
|
708
|
-
var f =
|
|
708
|
+
var f = o, C = f._payload, R = f._init;
|
|
709
709
|
try {
|
|
710
|
-
return x1(R(
|
|
710
|
+
return x1(R(C), l, u);
|
|
711
711
|
} catch {
|
|
712
712
|
}
|
|
713
713
|
}
|
|
@@ -715,109 +715,109 @@ function I8() {
|
|
|
715
715
|
return "";
|
|
716
716
|
}
|
|
717
717
|
var i1 = Object.prototype.hasOwnProperty, X1 = {}, Q1 = $.ReactDebugCurrentFrame;
|
|
718
|
-
function M1(
|
|
719
|
-
if (
|
|
720
|
-
var l =
|
|
718
|
+
function M1(o) {
|
|
719
|
+
if (o) {
|
|
720
|
+
var l = o._owner, u = x1(o.type, o._source, l ? l.type : null);
|
|
721
721
|
Q1.setExtraStackFrame(u);
|
|
722
722
|
} else
|
|
723
723
|
Q1.setExtraStackFrame(null);
|
|
724
724
|
}
|
|
725
|
-
function
|
|
725
|
+
function $3(o, l, u, f, C) {
|
|
726
726
|
{
|
|
727
727
|
var R = Function.call.bind(i1);
|
|
728
|
-
for (var Z in
|
|
729
|
-
if (R(
|
|
728
|
+
for (var Z in o)
|
|
729
|
+
if (R(o, Z)) {
|
|
730
730
|
var M = void 0;
|
|
731
731
|
try {
|
|
732
|
-
if (typeof
|
|
733
|
-
var O = Error((f || "React class") + ": " + u + " type `" + Z + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof
|
|
732
|
+
if (typeof o[Z] != "function") {
|
|
733
|
+
var O = Error((f || "React class") + ": " + u + " type `" + Z + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof o[Z] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
734
734
|
throw O.name = "Invariant Violation", O;
|
|
735
735
|
}
|
|
736
|
-
M =
|
|
736
|
+
M = o[Z](l, Z, f, u, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
737
737
|
} catch (T) {
|
|
738
738
|
M = T;
|
|
739
739
|
}
|
|
740
|
-
M && !(M instanceof Error) && (M1(
|
|
740
|
+
M && !(M instanceof Error) && (M1(C), A("%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).", f || "React class", u, Z, typeof M), M1(null)), M instanceof Error && !(M.message in X1) && (X1[M.message] = !0, M1(C), A("Failed %s type: %s", u, M.message), M1(null));
|
|
741
741
|
}
|
|
742
742
|
}
|
|
743
743
|
}
|
|
744
|
-
var
|
|
745
|
-
function P1(
|
|
746
|
-
return
|
|
744
|
+
var A3 = Array.isArray;
|
|
745
|
+
function P1(o) {
|
|
746
|
+
return A3(o);
|
|
747
747
|
}
|
|
748
|
-
function
|
|
748
|
+
function B3(o) {
|
|
749
749
|
{
|
|
750
|
-
var l = typeof Symbol == "function" && Symbol.toStringTag, u = l &&
|
|
750
|
+
var l = typeof Symbol == "function" && Symbol.toStringTag, u = l && o[Symbol.toStringTag] || o.constructor.name || "Object";
|
|
751
751
|
return u;
|
|
752
752
|
}
|
|
753
753
|
}
|
|
754
|
-
function
|
|
754
|
+
function O3(o) {
|
|
755
755
|
try {
|
|
756
|
-
return N1(
|
|
756
|
+
return N1(o), !1;
|
|
757
757
|
} catch {
|
|
758
758
|
return !0;
|
|
759
759
|
}
|
|
760
760
|
}
|
|
761
|
-
function N1(
|
|
762
|
-
return "" +
|
|
761
|
+
function N1(o) {
|
|
762
|
+
return "" + o;
|
|
763
763
|
}
|
|
764
|
-
function e3(
|
|
765
|
-
if (
|
|
766
|
-
return A("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
764
|
+
function e3(o) {
|
|
765
|
+
if (O3(o))
|
|
766
|
+
return A("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", B3(o)), N1(o);
|
|
767
767
|
}
|
|
768
|
-
var t3 = $.ReactCurrentOwner,
|
|
768
|
+
var t3 = $.ReactCurrentOwner, V3 = {
|
|
769
769
|
key: !0,
|
|
770
770
|
ref: !0,
|
|
771
771
|
__self: !0,
|
|
772
772
|
__source: !0
|
|
773
|
-
}, s3,
|
|
774
|
-
function
|
|
775
|
-
if (i1.call(
|
|
776
|
-
var l = Object.getOwnPropertyDescriptor(
|
|
773
|
+
}, s3, n3;
|
|
774
|
+
function k3(o) {
|
|
775
|
+
if (i1.call(o, "ref")) {
|
|
776
|
+
var l = Object.getOwnPropertyDescriptor(o, "ref").get;
|
|
777
777
|
if (l && l.isReactWarning)
|
|
778
778
|
return !1;
|
|
779
779
|
}
|
|
780
|
-
return
|
|
780
|
+
return o.ref !== void 0;
|
|
781
781
|
}
|
|
782
|
-
function
|
|
783
|
-
if (i1.call(
|
|
784
|
-
var l = Object.getOwnPropertyDescriptor(
|
|
782
|
+
function U3(o) {
|
|
783
|
+
if (i1.call(o, "key")) {
|
|
784
|
+
var l = Object.getOwnPropertyDescriptor(o, "key").get;
|
|
785
785
|
if (l && l.isReactWarning)
|
|
786
786
|
return !1;
|
|
787
787
|
}
|
|
788
|
-
return
|
|
788
|
+
return o.key !== void 0;
|
|
789
789
|
}
|
|
790
|
-
function
|
|
791
|
-
typeof
|
|
790
|
+
function W3(o, l) {
|
|
791
|
+
typeof o.ref == "string" && t3.current;
|
|
792
792
|
}
|
|
793
|
-
function
|
|
793
|
+
function F3(o, l) {
|
|
794
794
|
{
|
|
795
795
|
var u = function() {
|
|
796
796
|
s3 || (s3 = !0, A("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", l));
|
|
797
797
|
};
|
|
798
|
-
u.isReactWarning = !0, Object.defineProperty(
|
|
798
|
+
u.isReactWarning = !0, Object.defineProperty(o, "key", {
|
|
799
799
|
get: u,
|
|
800
800
|
configurable: !0
|
|
801
801
|
});
|
|
802
802
|
}
|
|
803
803
|
}
|
|
804
|
-
function
|
|
804
|
+
function H3(o, l) {
|
|
805
805
|
{
|
|
806
806
|
var u = function() {
|
|
807
|
-
|
|
807
|
+
n3 || (n3 = !0, A("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", l));
|
|
808
808
|
};
|
|
809
|
-
u.isReactWarning = !0, Object.defineProperty(
|
|
809
|
+
u.isReactWarning = !0, Object.defineProperty(o, "ref", {
|
|
810
810
|
get: u,
|
|
811
811
|
configurable: !0
|
|
812
812
|
});
|
|
813
813
|
}
|
|
814
814
|
}
|
|
815
|
-
var
|
|
815
|
+
var K3 = function(o, l, u, f, C, R, Z) {
|
|
816
816
|
var M = {
|
|
817
817
|
// This tag allows us to uniquely identify this as a React Element
|
|
818
818
|
$$typeof: t,
|
|
819
819
|
// Built-in properties that belong on the element
|
|
820
|
-
type:
|
|
820
|
+
type: o,
|
|
821
821
|
key: l,
|
|
822
822
|
ref: u,
|
|
823
823
|
props: Z,
|
|
@@ -838,61 +838,61 @@ function I8() {
|
|
|
838
838
|
configurable: !1,
|
|
839
839
|
enumerable: !1,
|
|
840
840
|
writable: !1,
|
|
841
|
-
value:
|
|
841
|
+
value: C
|
|
842
842
|
}), Object.freeze && (Object.freeze(M.props), Object.freeze(M)), M;
|
|
843
843
|
};
|
|
844
|
-
function
|
|
844
|
+
function G3(o, l, u, f, C) {
|
|
845
845
|
{
|
|
846
846
|
var R, Z = {}, M = null, O = null;
|
|
847
|
-
u !== void 0 && (e3(u), M = "" + u),
|
|
847
|
+
u !== void 0 && (e3(u), M = "" + u), U3(l) && (e3(l.key), M = "" + l.key), k3(l) && (O = l.ref, W3(l, C));
|
|
848
848
|
for (R in l)
|
|
849
|
-
i1.call(l, R) && !
|
|
850
|
-
if (
|
|
851
|
-
var T =
|
|
849
|
+
i1.call(l, R) && !V3.hasOwnProperty(R) && (Z[R] = l[R]);
|
|
850
|
+
if (o && o.defaultProps) {
|
|
851
|
+
var T = o.defaultProps;
|
|
852
852
|
for (R in T)
|
|
853
853
|
Z[R] === void 0 && (Z[R] = T[R]);
|
|
854
854
|
}
|
|
855
855
|
if (M || O) {
|
|
856
|
-
var _ = typeof
|
|
857
|
-
M &&
|
|
856
|
+
var _ = typeof o == "function" ? o.displayName || o.name || "Unknown" : o;
|
|
857
|
+
M && F3(Z, _), O && H3(Z, _);
|
|
858
858
|
}
|
|
859
|
-
return
|
|
859
|
+
return K3(o, M, O, C, f, t3.current, Z);
|
|
860
860
|
}
|
|
861
861
|
}
|
|
862
|
-
var T1 = $.ReactCurrentOwner,
|
|
863
|
-
function
|
|
864
|
-
if (
|
|
865
|
-
var l =
|
|
866
|
-
|
|
862
|
+
var T1 = $.ReactCurrentOwner, o3 = $.ReactDebugCurrentFrame;
|
|
863
|
+
function n1(o) {
|
|
864
|
+
if (o) {
|
|
865
|
+
var l = o._owner, u = x1(o.type, o._source, l ? l.type : null);
|
|
866
|
+
o3.setExtraStackFrame(u);
|
|
867
867
|
} else
|
|
868
|
-
|
|
868
|
+
o3.setExtraStackFrame(null);
|
|
869
869
|
}
|
|
870
870
|
var _1;
|
|
871
871
|
_1 = !1;
|
|
872
|
-
function D1(
|
|
873
|
-
return typeof
|
|
872
|
+
function D1(o) {
|
|
873
|
+
return typeof o == "object" && o !== null && o.$$typeof === t;
|
|
874
874
|
}
|
|
875
875
|
function c3() {
|
|
876
876
|
{
|
|
877
877
|
if (T1.current) {
|
|
878
|
-
var
|
|
879
|
-
if (
|
|
878
|
+
var o = G(T1.current.type);
|
|
879
|
+
if (o)
|
|
880
880
|
return `
|
|
881
881
|
|
|
882
|
-
Check the render method of \`` +
|
|
882
|
+
Check the render method of \`` + o + "`.";
|
|
883
883
|
}
|
|
884
884
|
return "";
|
|
885
885
|
}
|
|
886
886
|
}
|
|
887
|
-
function
|
|
887
|
+
function q3(o) {
|
|
888
888
|
return "";
|
|
889
889
|
}
|
|
890
890
|
var r3 = {};
|
|
891
|
-
function
|
|
891
|
+
function Y3(o) {
|
|
892
892
|
{
|
|
893
893
|
var l = c3();
|
|
894
894
|
if (!l) {
|
|
895
|
-
var u = typeof
|
|
895
|
+
var u = typeof o == "string" ? o : o.displayName || o.name;
|
|
896
896
|
u && (l = `
|
|
897
897
|
|
|
898
898
|
Check the top-level render call using <` + u + ">.");
|
|
@@ -900,41 +900,41 @@ Check the top-level render call using <` + u + ">.");
|
|
|
900
900
|
return l;
|
|
901
901
|
}
|
|
902
902
|
}
|
|
903
|
-
function l3(
|
|
903
|
+
function l3(o, l) {
|
|
904
904
|
{
|
|
905
|
-
if (!
|
|
905
|
+
if (!o._store || o._store.validated || o.key != null)
|
|
906
906
|
return;
|
|
907
|
-
|
|
908
|
-
var u =
|
|
907
|
+
o._store.validated = !0;
|
|
908
|
+
var u = Y3(l);
|
|
909
909
|
if (r3[u])
|
|
910
910
|
return;
|
|
911
911
|
r3[u] = !0;
|
|
912
912
|
var f = "";
|
|
913
|
-
|
|
913
|
+
o && o._owner && o._owner !== T1.current && (f = " It was passed a child from " + G(o._owner.type) + "."), n1(o), A('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', u, f), n1(null);
|
|
914
914
|
}
|
|
915
915
|
}
|
|
916
|
-
function i3(
|
|
916
|
+
function i3(o, l) {
|
|
917
917
|
{
|
|
918
|
-
if (typeof
|
|
918
|
+
if (typeof o != "object")
|
|
919
919
|
return;
|
|
920
|
-
if (P1(
|
|
921
|
-
for (var u = 0; u <
|
|
922
|
-
var f =
|
|
920
|
+
if (P1(o))
|
|
921
|
+
for (var u = 0; u < o.length; u++) {
|
|
922
|
+
var f = o[u];
|
|
923
923
|
D1(f) && l3(f, l);
|
|
924
924
|
}
|
|
925
|
-
else if (D1(
|
|
926
|
-
|
|
927
|
-
else if (
|
|
928
|
-
var
|
|
929
|
-
if (typeof
|
|
930
|
-
for (var R =
|
|
925
|
+
else if (D1(o))
|
|
926
|
+
o._store && (o._store.validated = !0);
|
|
927
|
+
else if (o) {
|
|
928
|
+
var C = r1(o);
|
|
929
|
+
if (typeof C == "function" && C !== o.entries)
|
|
930
|
+
for (var R = C.call(o), Z; !(Z = R.next()).done; )
|
|
931
931
|
D1(Z.value) && l3(Z.value, l);
|
|
932
932
|
}
|
|
933
933
|
}
|
|
934
934
|
}
|
|
935
|
-
function
|
|
935
|
+
function z3(o) {
|
|
936
936
|
{
|
|
937
|
-
var l =
|
|
937
|
+
var l = o.type;
|
|
938
938
|
if (l == null || typeof l == "string")
|
|
939
939
|
return;
|
|
940
940
|
var u;
|
|
@@ -947,41 +947,41 @@ Check the top-level render call using <` + u + ">.");
|
|
|
947
947
|
else
|
|
948
948
|
return;
|
|
949
949
|
if (u) {
|
|
950
|
-
var f =
|
|
951
|
-
|
|
950
|
+
var f = G(l);
|
|
951
|
+
$3(u, o.props, "prop", f, o);
|
|
952
952
|
} else if (l.PropTypes !== void 0 && !_1) {
|
|
953
953
|
_1 = !0;
|
|
954
|
-
var
|
|
955
|
-
A("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",
|
|
954
|
+
var C = G(l);
|
|
955
|
+
A("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", C || "Unknown");
|
|
956
956
|
}
|
|
957
957
|
typeof l.getDefaultProps == "function" && !l.getDefaultProps.isReactClassApproved && A("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
958
958
|
}
|
|
959
959
|
}
|
|
960
|
-
function
|
|
960
|
+
function J3(o) {
|
|
961
961
|
{
|
|
962
|
-
for (var l = Object.keys(
|
|
962
|
+
for (var l = Object.keys(o.props), u = 0; u < l.length; u++) {
|
|
963
963
|
var f = l[u];
|
|
964
964
|
if (f !== "children" && f !== "key") {
|
|
965
|
-
|
|
965
|
+
n1(o), A("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", f), n1(null);
|
|
966
966
|
break;
|
|
967
967
|
}
|
|
968
968
|
}
|
|
969
|
-
|
|
969
|
+
o.ref !== null && (n1(o), A("Invalid attribute `ref` supplied to `React.Fragment`."), n1(null));
|
|
970
970
|
}
|
|
971
971
|
}
|
|
972
972
|
var a3 = {};
|
|
973
|
-
function u3(
|
|
973
|
+
function u3(o, l, u, f, C, R) {
|
|
974
974
|
{
|
|
975
|
-
var Z = B(
|
|
975
|
+
var Z = B(o);
|
|
976
976
|
if (!Z) {
|
|
977
977
|
var M = "";
|
|
978
|
-
(
|
|
979
|
-
var O =
|
|
978
|
+
(o === void 0 || typeof o == "object" && o !== null && Object.keys(o).length === 0) && (M += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
979
|
+
var O = q3();
|
|
980
980
|
O ? M += O : M += c3();
|
|
981
981
|
var T;
|
|
982
|
-
|
|
982
|
+
o === null ? T = "null" : P1(o) ? T = "array" : o !== void 0 && o.$$typeof === t ? (T = "<" + (G(o.type) || "Unknown") + " />", M = " Did you accidentally export a JSX literal instead of a component?") : T = typeof o, A("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", T, M);
|
|
983
983
|
}
|
|
984
|
-
var _ =
|
|
984
|
+
var _ = G3(o, l, u, C, R);
|
|
985
985
|
if (_ == null)
|
|
986
986
|
return _;
|
|
987
987
|
if (Z) {
|
|
@@ -990,96 +990,96 @@ Check the top-level render call using <` + u + ">.");
|
|
|
990
990
|
if (f)
|
|
991
991
|
if (P1(U)) {
|
|
992
992
|
for (var o1 = 0; o1 < U.length; o1++)
|
|
993
|
-
i3(U[o1],
|
|
993
|
+
i3(U[o1], o);
|
|
994
994
|
Object.freeze && Object.freeze(U);
|
|
995
995
|
} else
|
|
996
996
|
A("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
997
997
|
else
|
|
998
|
-
i3(U,
|
|
998
|
+
i3(U, o);
|
|
999
999
|
}
|
|
1000
1000
|
if (i1.call(l, "key")) {
|
|
1001
|
-
var Q =
|
|
1002
|
-
return
|
|
1001
|
+
var Q = G(o), V = Object.keys(l).filter(function(s2) {
|
|
1002
|
+
return s2 !== "key";
|
|
1003
1003
|
}), L1 = V.length > 0 ? "{key: someKey, " + V.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
1004
1004
|
if (!a3[Q + L1]) {
|
|
1005
|
-
var
|
|
1005
|
+
var t2 = V.length > 0 ? "{" + V.join(": ..., ") + ": ...}" : "{}";
|
|
1006
1006
|
A(`A props object containing a "key" prop is being spread into JSX:
|
|
1007
1007
|
let props = %s;
|
|
1008
1008
|
<%s {...props} />
|
|
1009
1009
|
React keys must be passed directly to JSX without using spread:
|
|
1010
1010
|
let props = %s;
|
|
1011
|
-
<%s key={someKey} {...props} />`, L1, Q,
|
|
1011
|
+
<%s key={someKey} {...props} />`, L1, Q, t2, Q), a3[Q + L1] = !0;
|
|
1012
1012
|
}
|
|
1013
1013
|
}
|
|
1014
|
-
return
|
|
1014
|
+
return o === c ? J3(_) : z3(_), _;
|
|
1015
1015
|
}
|
|
1016
1016
|
}
|
|
1017
|
-
function
|
|
1018
|
-
return u3(
|
|
1017
|
+
function X3(o, l, u) {
|
|
1018
|
+
return u3(o, l, u, !0);
|
|
1019
1019
|
}
|
|
1020
|
-
function
|
|
1021
|
-
return u3(
|
|
1020
|
+
function Q3(o, l, u) {
|
|
1021
|
+
return u3(o, l, u, !1);
|
|
1022
1022
|
}
|
|
1023
|
-
var
|
|
1024
|
-
d1.Fragment = c, d1.jsx =
|
|
1023
|
+
var N3 = Q3, e2 = X3;
|
|
1024
|
+
d1.Fragment = c, d1.jsx = N3, d1.jsxs = e2;
|
|
1025
1025
|
}()), d1;
|
|
1026
1026
|
}
|
|
1027
1027
|
var f3;
|
|
1028
|
-
function
|
|
1029
|
-
return f3 || (f3 = 1, process.env.NODE_ENV === "production" ? m1.exports =
|
|
1028
|
+
function E8() {
|
|
1029
|
+
return f3 || (f3 = 1, process.env.NODE_ENV === "production" ? m1.exports = R8() : m1.exports = y8()), m1.exports;
|
|
1030
1030
|
}
|
|
1031
|
-
var s =
|
|
1032
|
-
const
|
|
1033
|
-
mwfit:
|
|
1034
|
-
},
|
|
1035
|
-
const { reconnect: e } = b(), t =
|
|
1031
|
+
var s = E8();
|
|
1032
|
+
const P8 = "_mwfit_ppa3l_1", T8 = {
|
|
1033
|
+
mwfit: P8
|
|
1034
|
+
}, _8 = () => {
|
|
1035
|
+
const { reconnect: e } = b(), t = S3(), n = h8(), c = g8();
|
|
1036
1036
|
return /* @__PURE__ */ s.jsx(s.Fragment, { children: /* @__PURE__ */ s.jsxs(
|
|
1037
1037
|
"div",
|
|
1038
1038
|
{
|
|
1039
|
-
className: `disconnected-message ${
|
|
1039
|
+
className: `disconnected-message ${T8.mwfit} mx-auto text-center`,
|
|
1040
1040
|
children: [
|
|
1041
1041
|
t === void 0 ? /* @__PURE__ */ s.jsx("h1", { children: "Connecting..." }) : /* @__PURE__ */ s.jsx("h1", { children: "Disconnected" }),
|
|
1042
|
-
|
|
1042
|
+
n && /* @__PURE__ */ s.jsx("h5", { children: n }),
|
|
1043
1043
|
c && /* @__PURE__ */ s.jsx("button", { className: "btn btn-secondary btn-lg", onClick: e, children: "Reconnect" })
|
|
1044
1044
|
]
|
|
1045
1045
|
}
|
|
1046
1046
|
) });
|
|
1047
1047
|
};
|
|
1048
|
-
class
|
|
1048
|
+
class D8 {
|
|
1049
1049
|
constructor() {
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1050
|
+
q(this, "uuid", "current-uuid");
|
|
1051
|
+
q(this, "roomKey", "current-room-key");
|
|
1052
|
+
q(this, "code", "current-code");
|
|
1053
|
+
q(this, "expiry", "current-uuid-expires");
|
|
1054
1054
|
}
|
|
1055
1055
|
}
|
|
1056
|
-
const p3 = new
|
|
1056
|
+
const p3 = new D8(), R3 = v2({
|
|
1057
1057
|
sendMessage: () => null,
|
|
1058
1058
|
sendSimpleMessage: () => null,
|
|
1059
1059
|
addEventHandler: () => null,
|
|
1060
1060
|
removeEventHandler: () => null,
|
|
1061
1061
|
reconnect: () => null
|
|
1062
1062
|
});
|
|
1063
|
-
function
|
|
1063
|
+
function L8(e) {
|
|
1064
1064
|
return sessionStorage.getItem(e) || "";
|
|
1065
1065
|
}
|
|
1066
|
-
function
|
|
1066
|
+
function $8(e, t) {
|
|
1067
1067
|
sessionStorage.setItem(e, t);
|
|
1068
1068
|
}
|
|
1069
|
-
const
|
|
1070
|
-
const [t,
|
|
1069
|
+
const A8 = ({ children: e }) => {
|
|
1070
|
+
const [t, n] = K(), c = S3(), r = s8(), i = n8(), d = I8(), a = Z2(), g = o8(), x = c8(), v = r8(), I = h1(null), [L, H] = K(), k = h1({}), X = a1(
|
|
1071
1071
|
async (E) => {
|
|
1072
1072
|
try {
|
|
1073
|
-
const
|
|
1073
|
+
const S = await V1.get(
|
|
1074
1074
|
`${E}/ui/joinroom?token=${t}`
|
|
1075
1075
|
);
|
|
1076
|
-
return
|
|
1077
|
-
} catch (
|
|
1078
|
-
return console.log(
|
|
1079
|
-
|
|
1076
|
+
return S.status === 200 && S.data ? (m.dispatch(W.setRoomData(S.data)), !0) : !1;
|
|
1077
|
+
} catch (S) {
|
|
1078
|
+
return console.log(S), v ? !0 : S instanceof r2 && S.response && S.response.status === 498 ? (console.error("Invalid token. Unable to join room"), m.dispatch(
|
|
1079
|
+
F.setErrorMessage(
|
|
1080
1080
|
`Token ${t} is invalid. Unable to join room`
|
|
1081
1081
|
)
|
|
1082
|
-
), !1) : (console.error("Error getting room data",
|
|
1082
|
+
), !1) : (console.error("Error getting room data", S), S instanceof Error ? m.dispatch(F.setErrorMessage(S.message)) : m.dispatch(F.setErrorMessage("Error getting room data")), !1);
|
|
1083
1083
|
}
|
|
1084
1084
|
},
|
|
1085
1085
|
[t, v]
|
|
@@ -1087,23 +1087,23 @@ const L8 = ({ children: e }) => {
|
|
|
1087
1087
|
const E = `${a.gatewayAppPath}?uuid=${g}&roomKey=${r}`;
|
|
1088
1088
|
window.location.href = x ? `${E}&Code=${x}` : E;
|
|
1089
1089
|
}, [a.gatewayAppPath, r, g, x]), $ = a1(
|
|
1090
|
-
(E,
|
|
1091
|
-
I.current && c && I.current.send(JSON.stringify({ type: E, clientId: i, content:
|
|
1090
|
+
(E, S) => {
|
|
1091
|
+
I.current && c && I.current.send(JSON.stringify({ type: E, clientId: i, content: S }));
|
|
1092
1092
|
},
|
|
1093
1093
|
[c, i]
|
|
1094
|
-
), A = (E,
|
|
1095
|
-
$(E, { value:
|
|
1096
|
-
},
|
|
1097
|
-
(E,
|
|
1098
|
-
k.current[E] || (k.current[E] = {}), k.current[E][
|
|
1094
|
+
), A = (E, S) => {
|
|
1095
|
+
$(E, { value: S });
|
|
1096
|
+
}, C1 = a1(
|
|
1097
|
+
(E, S, f1) => {
|
|
1098
|
+
k.current[E] || (k.current[E] = {}), k.current[E][S] = f1, console.log("event handler added", E, S);
|
|
1099
1099
|
},
|
|
1100
1100
|
[]
|
|
1101
|
-
), b1 = a1((E,
|
|
1102
|
-
k.current[E] && (delete k.current[E][
|
|
1101
|
+
), b1 = a1((E, S) => {
|
|
1102
|
+
k.current[E] && (delete k.current[E][S], console.log("event handler removed", E, S));
|
|
1103
1103
|
}, []);
|
|
1104
|
-
return
|
|
1105
|
-
let
|
|
1106
|
-
|
|
1104
|
+
return c1(() => {
|
|
1105
|
+
let S = new URLSearchParams(window.location.search).get("token");
|
|
1106
|
+
S ? (console.log("saving token: ", S), $8(p3.uuid, S)) : (S = L8(p3.uuid), console.log("loading token: ", S)), n(S), d();
|
|
1107
1107
|
}, []), console.log(
|
|
1108
1108
|
"connection dependencies",
|
|
1109
1109
|
a.apiPath,
|
|
@@ -1111,7 +1111,7 @@ const L8 = ({ children: e }) => {
|
|
|
1111
1111
|
t,
|
|
1112
1112
|
L,
|
|
1113
1113
|
v
|
|
1114
|
-
),
|
|
1114
|
+
), c1(() => {
|
|
1115
1115
|
async function E() {
|
|
1116
1116
|
if (console.log("Attempting to join websocket..."), !a.apiPath || L || !t || !await X(a.apiPath)) return;
|
|
1117
1117
|
if (I.current) {
|
|
@@ -1126,33 +1126,33 @@ const L8 = ({ children: e }) => {
|
|
|
1126
1126
|
console.error("Websocket error", B);
|
|
1127
1127
|
}, z.onclose = (B) => {
|
|
1128
1128
|
if (console.log("disconnected: ", B.reason, B.code), B.code === 4100) {
|
|
1129
|
-
console.log("WebSocket closed by client (useEffect cleanup)."), m.dispatch(
|
|
1129
|
+
console.log("WebSocket closed by client (useEffect cleanup)."), m.dispatch(F.setShowReconnect(!0)), m.dispatch(W.setWebsocketIsConnected(!1)), m.dispatch(N.clearDevices()), m.dispatch(e1.clearRooms());
|
|
1130
1130
|
return;
|
|
1131
1131
|
}
|
|
1132
|
-
if (
|
|
1132
|
+
if (H(!0), B.code === 4e3) {
|
|
1133
1133
|
console.log("user code changed"), m.dispatch(
|
|
1134
1134
|
W.setUserCode({ userCode: "", qrUrl: "" })
|
|
1135
1135
|
), m.dispatch(
|
|
1136
|
-
|
|
1136
|
+
F.setErrorMessage(
|
|
1137
1137
|
"User code changed. Click reconnect to enter the new code"
|
|
1138
1138
|
)
|
|
1139
|
-
), m.dispatch(
|
|
1139
|
+
), m.dispatch(F.setShowReconnect(!0)), m.dispatch(W.setWebsocketIsConnected(!1)), m.dispatch(N.clearDevices()), m.dispatch(e1.clearRooms());
|
|
1140
1140
|
return;
|
|
1141
1141
|
}
|
|
1142
1142
|
if (B.code === 4001 && !v) {
|
|
1143
1143
|
console.log("processor disconnected"), m.dispatch(
|
|
1144
|
-
|
|
1144
|
+
F.setErrorMessage(
|
|
1145
1145
|
"Processor has disconnected. Click Reconnect"
|
|
1146
1146
|
)
|
|
1147
|
-
), m.dispatch(
|
|
1147
|
+
), m.dispatch(F.setShowReconnect(!0)), m.dispatch(W.setWebsocketIsConnected(!1)), m.dispatch(N.clearDevices()), m.dispatch(e1.clearRooms());
|
|
1148
1148
|
return;
|
|
1149
1149
|
}
|
|
1150
1150
|
if (B.code === 4002) {
|
|
1151
1151
|
console.log("room combination changed"), m.dispatch(
|
|
1152
|
-
|
|
1152
|
+
F.setErrorMessage(
|
|
1153
1153
|
"Room combination changed. Click Reconnect to re-join the room"
|
|
1154
1154
|
)
|
|
1155
|
-
), m.dispatch(
|
|
1155
|
+
), m.dispatch(F.setShowReconnect(!0)), m.dispatch(W.setWebsocketIsConnected(!1)), m.dispatch(N.clearDevices()), m.dispatch(e1.clearRooms());
|
|
1156
1156
|
return;
|
|
1157
1157
|
}
|
|
1158
1158
|
if (I.current)
|
|
@@ -1161,7 +1161,7 @@ const L8 = ({ children: e }) => {
|
|
|
1161
1161
|
console.log("WebSocket closed by client.");
|
|
1162
1162
|
return;
|
|
1163
1163
|
}
|
|
1164
|
-
console.log("websocket waitingToReconnect", L), !L && (console.log("websocket clearing state on disconnect"), m.dispatch(W.setWebsocketIsConnected(!1)), m.dispatch(N.clearDevices()), m.dispatch(e1.clearRooms()), setTimeout(() =>
|
|
1164
|
+
console.log("websocket waitingToReconnect", L), !L && (console.log("websocket clearing state on disconnect"), m.dispatch(W.setWebsocketIsConnected(!1)), m.dispatch(N.clearDevices()), m.dispatch(e1.clearRooms()), setTimeout(() => H(void 0), 5e3));
|
|
1165
1165
|
}, z.onmessage = (B) => {
|
|
1166
1166
|
try {
|
|
1167
1167
|
const P = JSON.parse(B.data);
|
|
@@ -1200,10 +1200,10 @@ const L8 = ({ children: e }) => {
|
|
|
1200
1200
|
}
|
|
1201
1201
|
else if (P.type.startsWith("/event/")) {
|
|
1202
1202
|
console.log("event message received", P);
|
|
1203
|
-
const
|
|
1204
|
-
|
|
1203
|
+
const s1 = k.current[P.type];
|
|
1204
|
+
s1 || console.log("no handlers found for event type", P.type), s1 && Object.values(s1).forEach((G) => {
|
|
1205
1205
|
try {
|
|
1206
|
-
|
|
1206
|
+
G(P);
|
|
1207
1207
|
} catch (J) {
|
|
1208
1208
|
console.error(J);
|
|
1209
1209
|
}
|
|
@@ -1223,35 +1223,35 @@ const L8 = ({ children: e }) => {
|
|
|
1223
1223
|
t,
|
|
1224
1224
|
L,
|
|
1225
1225
|
v
|
|
1226
|
-
]),
|
|
1226
|
+
]), c1(() => {
|
|
1227
1227
|
!r || !c || (console.log("clientId: ", i), i && (console.log("requesting status from room: ", r), $(`/room/${r}/status`, null)));
|
|
1228
1228
|
}, [r, i, c, $]), /* @__PURE__ */ s.jsx(
|
|
1229
|
-
|
|
1229
|
+
R3.Provider,
|
|
1230
1230
|
{
|
|
1231
1231
|
value: {
|
|
1232
1232
|
sendMessage: $,
|
|
1233
1233
|
sendSimpleMessage: A,
|
|
1234
|
-
addEventHandler:
|
|
1234
|
+
addEventHandler: C1,
|
|
1235
1235
|
removeEventHandler: b1,
|
|
1236
1236
|
reconnect: r1
|
|
1237
1237
|
},
|
|
1238
|
-
children: c ? e : /* @__PURE__ */ s.jsx(
|
|
1238
|
+
children: c ? e : /* @__PURE__ */ s.jsx(_8, {})
|
|
1239
1239
|
}
|
|
1240
1240
|
);
|
|
1241
|
-
},
|
|
1241
|
+
}, me = ({ children: e }) => /* @__PURE__ */ s.jsx(a2, { store: m, children: /* @__PURE__ */ s.jsx(A8, { children: e }) });
|
|
1242
1242
|
function b() {
|
|
1243
|
-
return
|
|
1243
|
+
return h2(R3);
|
|
1244
1244
|
}
|
|
1245
|
-
function
|
|
1245
|
+
function B8({
|
|
1246
1246
|
onPress: e,
|
|
1247
1247
|
onRelease: t,
|
|
1248
|
-
onHold:
|
|
1248
|
+
onHold: n,
|
|
1249
1249
|
holdTimeMs: c = 500
|
|
1250
1250
|
}) {
|
|
1251
1251
|
const r = h1(null), i = h1(!1);
|
|
1252
1252
|
function d() {
|
|
1253
1253
|
i.current = !0, e == null || e(), r.current = setTimeout(() => {
|
|
1254
|
-
|
|
1254
|
+
n == null || n(), r.current = null;
|
|
1255
1255
|
}, c);
|
|
1256
1256
|
}
|
|
1257
1257
|
function a() {
|
|
@@ -1276,37 +1276,37 @@ function h(e, t) {
|
|
|
1276
1276
|
function d() {
|
|
1277
1277
|
r.current && (clearInterval(r.current), r.current = null), c(`${e}/${t}`, { value: "released" });
|
|
1278
1278
|
}
|
|
1279
|
-
return
|
|
1279
|
+
return B8({ onPress: i, onRelease: d });
|
|
1280
1280
|
}
|
|
1281
|
-
function
|
|
1282
|
-
const { sendMessage:
|
|
1281
|
+
function y3(e, t) {
|
|
1282
|
+
const { sendMessage: n, sendSimpleMessage: c } = b(), r = h(`${e}`, "volumeUp"), i = h(`${e}`, "volumeDown");
|
|
1283
1283
|
return t ? {
|
|
1284
1284
|
volumeState: t,
|
|
1285
1285
|
volumeUp: r,
|
|
1286
1286
|
volumeDown: i,
|
|
1287
1287
|
setLevel: (v) => c(`${e}/level`, v),
|
|
1288
|
-
muteToggle: () =>
|
|
1289
|
-
muteOn: () =>
|
|
1290
|
-
muteOff: () =>
|
|
1288
|
+
muteToggle: () => n(`${e}/muteToggle`, null),
|
|
1289
|
+
muteOn: () => n(`${e}/muteOn`, null),
|
|
1290
|
+
muteOff: () => n(`${e}/muteOff`, null)
|
|
1291
1291
|
} : void 0;
|
|
1292
1292
|
}
|
|
1293
|
-
function
|
|
1294
|
-
const { sendMessage:
|
|
1293
|
+
function Ze(e, t) {
|
|
1294
|
+
const { sendMessage: n, sendSimpleMessage: c } = b(), r = h(`${e}`, "volumeUp"), i = h(`${e}`, "volumeDown");
|
|
1295
1295
|
return t ? {
|
|
1296
1296
|
volumeState: t,
|
|
1297
1297
|
volumeUp: r,
|
|
1298
1298
|
volumeDown: i,
|
|
1299
1299
|
setLevel: (v) => c(`${e}/level`, v),
|
|
1300
|
-
muteToggle: () =>
|
|
1301
|
-
muteOn: () =>
|
|
1302
|
-
muteOff: () =>
|
|
1300
|
+
muteToggle: () => n(`${e}/muteToggle`, null),
|
|
1301
|
+
muteOn: () => n(`${e}/muteOn`, null),
|
|
1302
|
+
muteOff: () => n(`${e}/muteOff`, null)
|
|
1303
1303
|
} : void 0;
|
|
1304
1304
|
}
|
|
1305
|
-
function
|
|
1306
|
-
const t = y(e),
|
|
1307
|
-
return
|
|
1305
|
+
function O8(e) {
|
|
1306
|
+
const t = y(e), n = `/device/${e}`;
|
|
1307
|
+
return y3(n, t == null ? void 0 : t.volume);
|
|
1308
1308
|
}
|
|
1309
|
-
function
|
|
1309
|
+
function E3(e) {
|
|
1310
1310
|
const { sendMessage: t } = b();
|
|
1311
1311
|
return { powerOn: () => {
|
|
1312
1312
|
t(`/device/${e}/powerOn`, null);
|
|
@@ -1317,36 +1317,36 @@ function y3(e) {
|
|
|
1317
1317
|
} };
|
|
1318
1318
|
}
|
|
1319
1319
|
function k1(e) {
|
|
1320
|
-
const { sendMessage: t } = b(),
|
|
1321
|
-
return console.log("deviceState",
|
|
1320
|
+
const { sendMessage: t } = b(), n = y(e);
|
|
1321
|
+
return console.log("deviceState", n), n ? { itemsState: n, selectItem: (r) => {
|
|
1322
1322
|
t(`/device/${e}/${r}`, null);
|
|
1323
1323
|
} } : void 0;
|
|
1324
1324
|
}
|
|
1325
|
-
function
|
|
1326
|
-
const { sendMessage: t } = b(),
|
|
1325
|
+
function V8(e) {
|
|
1326
|
+
const { sendMessage: t } = b(), n = y(e), c = () => {
|
|
1327
1327
|
t(`/device/${e}/setDefaultChannelLevels`, null);
|
|
1328
1328
|
}, r = () => {
|
|
1329
|
-
if ((
|
|
1330
|
-
Object.keys(
|
|
1329
|
+
if ((n == null ? void 0 : n.levelControls) === void 0) return;
|
|
1330
|
+
Object.keys(n == null ? void 0 : n.levelControls).forEach((a) => {
|
|
1331
1331
|
t(`/device/${e}/${a}/fullStatus`, null);
|
|
1332
1332
|
});
|
|
1333
1333
|
};
|
|
1334
|
-
return
|
|
1334
|
+
return n ? { levelControls: n.levelControls, setDefaultChannelLevels: c, getFullStatus: r } : void 0;
|
|
1335
1335
|
}
|
|
1336
|
-
function
|
|
1337
|
-
const t = y(e),
|
|
1336
|
+
function je(e) {
|
|
1337
|
+
const t = y(e), n = E3(e), c = k1(e), r = k1(e), i = O8(e), d = V8(e);
|
|
1338
1338
|
if (t)
|
|
1339
1339
|
return {
|
|
1340
1340
|
avrState: t,
|
|
1341
|
-
powerControl:
|
|
1341
|
+
powerControl: n,
|
|
1342
1342
|
inputControl: c,
|
|
1343
1343
|
surroundSoundModes: r,
|
|
1344
1344
|
surroundChannels: d,
|
|
1345
1345
|
mainVolumeControl: i
|
|
1346
1346
|
};
|
|
1347
1347
|
}
|
|
1348
|
-
function
|
|
1349
|
-
const { sendMessage: t } = b(),
|
|
1348
|
+
function Se(e) {
|
|
1349
|
+
const { sendMessage: t } = b(), n = `/device/${e}`, c = y(e), r = h(n, "cameraUp"), i = h(n, "cameraDown"), d = h(n, "cameraLeft"), a = h(n, "cameraRight"), g = h(n, "cameraZoomIn"), x = h(n, "cameraZoomOut"), v = (I) => t("/camera/recallPreset", I);
|
|
1350
1350
|
if (c)
|
|
1351
1351
|
return {
|
|
1352
1352
|
state: c,
|
|
@@ -1359,56 +1359,56 @@ function Ze(e) {
|
|
|
1359
1359
|
recallPreset: v
|
|
1360
1360
|
};
|
|
1361
1361
|
}
|
|
1362
|
-
const
|
|
1363
|
-
const [t,
|
|
1364
|
-
return
|
|
1362
|
+
const Ce = ({ className: e }) => {
|
|
1363
|
+
const [t, n] = K();
|
|
1364
|
+
return c1(() => {
|
|
1365
1365
|
setInterval(() => {
|
|
1366
1366
|
const c = (/* @__PURE__ */ new Date()).toLocaleTimeString("en-US", { hour12: !0, hour: "numeric", minute: "numeric" });
|
|
1367
|
-
|
|
1367
|
+
n(c);
|
|
1368
1368
|
}, 1e3);
|
|
1369
1369
|
}, []), /* @__PURE__ */ s.jsxs("div", { className: e, children: [
|
|
1370
1370
|
t,
|
|
1371
1371
|
" new change"
|
|
1372
1372
|
] });
|
|
1373
1373
|
};
|
|
1374
|
-
function
|
|
1375
|
-
const { sendMessage: t } = b(),
|
|
1376
|
-
return
|
|
1374
|
+
function be(e) {
|
|
1375
|
+
const { sendMessage: t } = b(), n = y(e), c = `/device/${e}`;
|
|
1376
|
+
return n ? { state: n, recallPreset: (d, a) => {
|
|
1377
1377
|
t(`${c}/presets/recall`, { deviceKey: d, preset: a });
|
|
1378
1378
|
}, savePresets: (d) => {
|
|
1379
1379
|
t(`${c}/presets/save`, d);
|
|
1380
1380
|
} } : void 0;
|
|
1381
1381
|
}
|
|
1382
|
-
function
|
|
1382
|
+
function Ie(e) {
|
|
1383
1383
|
const t = y(e);
|
|
1384
1384
|
if (t)
|
|
1385
1385
|
return { endpointState: t };
|
|
1386
1386
|
}
|
|
1387
|
-
function
|
|
1388
|
-
const t = `/device/${e}`,
|
|
1389
|
-
return { channelUp:
|
|
1387
|
+
function Re(e) {
|
|
1388
|
+
const t = `/device/${e}`, n = h(t, "chanUp"), c = h(t, "chanDown"), r = h(t, "lastChan"), i = h(t, "guide"), d = h(t, "info"), a = h(t, "exit");
|
|
1389
|
+
return { channelUp: n, channelDown: c, lastChannel: r, guide: i, info: d, exit: a };
|
|
1390
1390
|
}
|
|
1391
|
-
function
|
|
1392
|
-
const t = `/device/${e}`,
|
|
1393
|
-
return { red:
|
|
1391
|
+
function ye(e) {
|
|
1392
|
+
const t = `/device/${e}`, n = h(t, "red"), c = h(t, "green"), r = h(t, "yellow"), i = h(t, "blue");
|
|
1393
|
+
return { red: n, green: c, yellow: r, blue: i };
|
|
1394
1394
|
}
|
|
1395
|
-
function
|
|
1395
|
+
function Ee(e) {
|
|
1396
1396
|
const t = y(e);
|
|
1397
1397
|
if (t)
|
|
1398
1398
|
return {
|
|
1399
1399
|
communicationMonitorState: t
|
|
1400
1400
|
};
|
|
1401
1401
|
}
|
|
1402
|
-
function
|
|
1402
|
+
function Pe(e) {
|
|
1403
1403
|
const t = y(e);
|
|
1404
1404
|
if (t)
|
|
1405
1405
|
return t.deviceInfo || void 0;
|
|
1406
1406
|
}
|
|
1407
|
-
function
|
|
1408
|
-
const t = `/device/${e}`,
|
|
1409
|
-
return { up:
|
|
1407
|
+
function Te(e) {
|
|
1408
|
+
const t = `/device/${e}`, n = h(t, "up"), c = h(t, "down"), r = h(t, "left"), i = h(t, "right"), d = h(t, "select"), a = h(t, "menu"), g = h(t, "exit");
|
|
1409
|
+
return { up: n, down: c, left: r, right: i, select: d, menu: a, exit: g };
|
|
1410
1410
|
}
|
|
1411
|
-
function
|
|
1411
|
+
function _e(e) {
|
|
1412
1412
|
const { sendMessage: t } = b();
|
|
1413
1413
|
return { recallPreset: (c) => {
|
|
1414
1414
|
t(
|
|
@@ -1417,13 +1417,13 @@ function Pe(e) {
|
|
|
1417
1417
|
);
|
|
1418
1418
|
} };
|
|
1419
1419
|
}
|
|
1420
|
-
function
|
|
1421
|
-
const t = `/device/${e}`,
|
|
1422
|
-
return { dvrList:
|
|
1420
|
+
function De(e) {
|
|
1421
|
+
const t = `/device/${e}`, n = h(t, "dvrList"), c = h(t, "record");
|
|
1422
|
+
return { dvrList: n, record: c };
|
|
1423
1423
|
}
|
|
1424
|
-
function
|
|
1425
|
-
const { sendMessage: t } = b(),
|
|
1426
|
-
return
|
|
1424
|
+
function Le(e) {
|
|
1425
|
+
const { sendMessage: t } = b(), n = y(e);
|
|
1426
|
+
return n ? { roomCombinerState: n, setAutoMode: () => {
|
|
1427
1427
|
t(`/device/${e}/setAutoMode`, null);
|
|
1428
1428
|
}, setManualMode: () => {
|
|
1429
1429
|
t(`/device/${e}/setManualMode`, null);
|
|
@@ -1435,52 +1435,52 @@ function _e(e) {
|
|
|
1435
1435
|
t(`/device/${e}/setRoomCombinationScenario`, g);
|
|
1436
1436
|
} } : void 0;
|
|
1437
1437
|
}
|
|
1438
|
-
function
|
|
1439
|
-
const { sendMessage: t } = b(),
|
|
1438
|
+
function $e(e) {
|
|
1439
|
+
const { sendMessage: t } = b(), n = `/device/${e}`, c = y(e);
|
|
1440
1440
|
return c ? {
|
|
1441
1441
|
state: c,
|
|
1442
1442
|
selectCamera: (i) => {
|
|
1443
|
-
t(`${
|
|
1443
|
+
t(`${n}/selectCamera`, i);
|
|
1444
1444
|
}
|
|
1445
1445
|
} : void 0;
|
|
1446
1446
|
}
|
|
1447
|
-
function
|
|
1447
|
+
function Ae(e) {
|
|
1448
1448
|
const t = y(e);
|
|
1449
1449
|
if (t)
|
|
1450
1450
|
return { state: t };
|
|
1451
1451
|
}
|
|
1452
|
-
function
|
|
1453
|
-
const { sendMessage: t, sendSimpleMessage:
|
|
1452
|
+
function Be(e) {
|
|
1453
|
+
const { sendMessage: t, sendSimpleMessage: n } = b(), c = y(e), r = K2(e), i = c || r;
|
|
1454
1454
|
return i ? {
|
|
1455
1455
|
levelState: i,
|
|
1456
|
-
setLevel: (v, I) =>
|
|
1456
|
+
setLevel: (v, I) => n(`${v}/level`, I),
|
|
1457
1457
|
muteToggle: (v) => t(`${v}/muteToggle`, null),
|
|
1458
1458
|
muteOn: (v) => t(`${v}/muteOn`, null),
|
|
1459
1459
|
muteOff: (v) => t(`${v}/muteOff`, null)
|
|
1460
1460
|
} : void 0;
|
|
1461
1461
|
}
|
|
1462
|
-
function
|
|
1463
|
-
const { sendMessage: t } = b(),
|
|
1464
|
-
return
|
|
1462
|
+
function Oe(e) {
|
|
1463
|
+
const { sendMessage: t } = b(), n = y(e);
|
|
1464
|
+
return n ? { lightingState: n, selectScene: (r) => {
|
|
1465
1465
|
t(`/device/${e}/selectScene`, r);
|
|
1466
1466
|
} } : void 0;
|
|
1467
1467
|
}
|
|
1468
|
-
function
|
|
1469
|
-
const { sendMessage: t } = b(),
|
|
1470
|
-
return
|
|
1468
|
+
function Ve(e) {
|
|
1469
|
+
const { sendMessage: t } = b(), n = y(e);
|
|
1470
|
+
return n ? { matrixRoutingState: n, setRoute: (r) => {
|
|
1471
1471
|
t(`/device/${e}/route`, r);
|
|
1472
1472
|
} } : void 0;
|
|
1473
1473
|
}
|
|
1474
|
-
function
|
|
1474
|
+
function ke(e) {
|
|
1475
1475
|
const { sendMessage: t } = b();
|
|
1476
1476
|
return { closeApp: () => {
|
|
1477
1477
|
t(`/device/${e}/closeWebViewController`, null);
|
|
1478
1478
|
} };
|
|
1479
1479
|
}
|
|
1480
|
-
function
|
|
1481
|
-
const t = `/device/${e}`,
|
|
1480
|
+
function Ue(e) {
|
|
1481
|
+
const t = `/device/${e}`, n = h(t, "num0"), c = h(t, "num1"), r = h(t, "num2"), i = h(t, "num3"), d = h(t, "num4"), a = h(t, "num5"), g = h(t, "num6"), x = h(t, "num7"), v = h(t, "num8"), I = h(t, "num9"), L = h(t, "numDash"), H = h(t, "numEnter");
|
|
1482
1482
|
return {
|
|
1483
|
-
digit0:
|
|
1483
|
+
digit0: n,
|
|
1484
1484
|
digit1: c,
|
|
1485
1485
|
digit2: r,
|
|
1486
1486
|
digit3: i,
|
|
@@ -1491,48 +1491,48 @@ function Ve(e) {
|
|
|
1491
1491
|
digit8: v,
|
|
1492
1492
|
digit9: I,
|
|
1493
1493
|
keypadAccessoryButton1: L,
|
|
1494
|
-
keypadAccessoryButton2:
|
|
1494
|
+
keypadAccessoryButton2: H
|
|
1495
1495
|
};
|
|
1496
1496
|
}
|
|
1497
|
-
function
|
|
1498
|
-
const { sendMessage: t } = b(),
|
|
1499
|
-
return
|
|
1497
|
+
function We(e) {
|
|
1498
|
+
const { sendMessage: t } = b(), n = y(e);
|
|
1499
|
+
return n ? { projectorScreenLiftControlState: n, raise: () => {
|
|
1500
1500
|
t(`/device/${e}/raise`, null);
|
|
1501
1501
|
}, lower: () => {
|
|
1502
1502
|
t(`/device/${e}/lower`, null);
|
|
1503
1503
|
} } : void 0;
|
|
1504
1504
|
}
|
|
1505
|
-
function
|
|
1506
|
-
const { sendMessage: t } = b(),
|
|
1507
|
-
return
|
|
1505
|
+
function Fe(e) {
|
|
1506
|
+
const { sendMessage: t } = b(), n = S1(e);
|
|
1507
|
+
return n ? { roomEventScheduleState: n, save: (r) => {
|
|
1508
1508
|
t(`/room/${e}/saveScheduledEvents`, r);
|
|
1509
1509
|
} } : void 0;
|
|
1510
1510
|
}
|
|
1511
|
-
function
|
|
1511
|
+
function He(e) {
|
|
1512
1512
|
const { sendMessage: t } = b();
|
|
1513
1513
|
return { runDefaultPresentRoute: () => {
|
|
1514
1514
|
t(`/room/${e}/defaultsource`, {});
|
|
1515
1515
|
} };
|
|
1516
1516
|
}
|
|
1517
|
-
function
|
|
1517
|
+
function Ke(e) {
|
|
1518
1518
|
const { sendMessage: t } = b();
|
|
1519
1519
|
return { runDirectRoute: (c) => {
|
|
1520
1520
|
t(`/room/${e}/directRoute`, c);
|
|
1521
1521
|
} };
|
|
1522
1522
|
}
|
|
1523
|
-
function
|
|
1523
|
+
function Ge(e) {
|
|
1524
1524
|
const { sendMessage: t } = b();
|
|
1525
1525
|
return { routingState: y(e), runRoute: (r) => {
|
|
1526
1526
|
t(`/room/${e}/source`, r);
|
|
1527
1527
|
} };
|
|
1528
1528
|
}
|
|
1529
|
-
function
|
|
1530
|
-
const t = `/device/${e}`,
|
|
1531
|
-
return { dvrList:
|
|
1529
|
+
function qe(e) {
|
|
1530
|
+
const t = `/device/${e}`, n = h(t, "chanUp"), c = h(t, "chanDown");
|
|
1531
|
+
return { dvrList: n, replay: c };
|
|
1532
1532
|
}
|
|
1533
|
-
function
|
|
1534
|
-
const { sendMessage: t } = b(),
|
|
1535
|
-
return
|
|
1533
|
+
function Ye(e) {
|
|
1534
|
+
const { sendMessage: t } = b(), n = y(e);
|
|
1535
|
+
return n ? { shadeState: n, shadeUp: () => {
|
|
1536
1536
|
t(`/device/${e}/shadeUp`, null);
|
|
1537
1537
|
}, shadeDown: () => {
|
|
1538
1538
|
t(`/device/${e}/shadeDown`, null);
|
|
@@ -1540,9 +1540,9 @@ function Ge(e) {
|
|
|
1540
1540
|
t(`/device/${e}/stopOrPreset`, null);
|
|
1541
1541
|
} } : void 0;
|
|
1542
1542
|
}
|
|
1543
|
-
function
|
|
1544
|
-
const { sendMessage: t } = b(),
|
|
1545
|
-
return
|
|
1543
|
+
function ze(e) {
|
|
1544
|
+
const { sendMessage: t } = b(), n = S1(e);
|
|
1545
|
+
return n ? { shutdownPromptTimerState: n, setShutdownPromptSeconds: (a) => {
|
|
1546
1546
|
t(`/room/${e}/setShutdownPromptSeconds`, a);
|
|
1547
1547
|
}, shutdownStart: () => {
|
|
1548
1548
|
t(`/room/${e}/shutdownStart`, null);
|
|
@@ -1552,39 +1552,39 @@ function qe(e) {
|
|
|
1552
1552
|
t(`/room/${e}/shutdownCancel`, null);
|
|
1553
1553
|
} } : void 0;
|
|
1554
1554
|
}
|
|
1555
|
-
function
|
|
1556
|
-
const { sendMessage: t } = b(),
|
|
1557
|
-
return
|
|
1555
|
+
function Je(e) {
|
|
1556
|
+
const { sendMessage: t } = b(), n = y(e);
|
|
1557
|
+
return n ? { switchedOutputState: n, on: () => {
|
|
1558
1558
|
t(`/device/${e}/on`, null);
|
|
1559
1559
|
}, off: () => {
|
|
1560
1560
|
t(`/device/${e}/off`, null);
|
|
1561
1561
|
} } : void 0;
|
|
1562
1562
|
}
|
|
1563
|
-
function
|
|
1564
|
-
const { sendMessage: t } = b(),
|
|
1565
|
-
return
|
|
1563
|
+
function Xe(e) {
|
|
1564
|
+
const { sendMessage: t } = b(), n = S1(e);
|
|
1565
|
+
return n ? { techPasswordState: n, validatePassword: (i) => {
|
|
1566
1566
|
t(`/room/${e}/validateTechPassword`, { password: i });
|
|
1567
1567
|
}, setPassword: (i, d) => {
|
|
1568
1568
|
t(`/room/${e}/setTechPassword`, { oldPassword: i, newPassword: d });
|
|
1569
1569
|
} } : void 0;
|
|
1570
1570
|
}
|
|
1571
|
-
function
|
|
1572
|
-
const { sendMessage: t } = b(),
|
|
1573
|
-
return
|
|
1571
|
+
function Qe(e) {
|
|
1572
|
+
const { sendMessage: t } = b(), n = y(e);
|
|
1573
|
+
return n ? { state: n, setTemperatureUnitsToCelcius: () => t(`${e}/setTemperatureUnitsToCelcius`, null), setTemperatureUnitsToFahrenheit: () => t(`${e}/setTemperatureUnitsToFahrenheit`, null) } : void 0;
|
|
1574
1574
|
}
|
|
1575
|
-
function
|
|
1576
|
-
const { sendMessage: t } = b(),
|
|
1575
|
+
function Ne(e) {
|
|
1576
|
+
const { sendMessage: t } = b(), n = y(e), c = (r) => {
|
|
1577
1577
|
t(`/device/${e}/saveTheme`, { value: r });
|
|
1578
1578
|
};
|
|
1579
1579
|
return {
|
|
1580
|
-
currentTheme:
|
|
1580
|
+
currentTheme: n == null ? void 0 : n.theme,
|
|
1581
1581
|
saveTheme: c
|
|
1582
1582
|
};
|
|
1583
1583
|
}
|
|
1584
|
-
function
|
|
1585
|
-
const t = `/device/${e}`,
|
|
1584
|
+
function e5(e) {
|
|
1585
|
+
const t = `/device/${e}`, n = h(t, "play"), c = h(t, "pause"), r = h(t, "stop"), i = h(t, "prevTrack"), d = h(t, "nextTrack"), a = h(t, "rewind"), g = h(t, "ffwd"), x = h(t, "record");
|
|
1586
1586
|
return {
|
|
1587
|
-
play:
|
|
1587
|
+
play: n,
|
|
1588
1588
|
pause: c,
|
|
1589
1589
|
stop: r,
|
|
1590
1590
|
prevTrack: i,
|
|
@@ -1594,83 +1594,83 @@ function Qe(e) {
|
|
|
1594
1594
|
record: x
|
|
1595
1595
|
};
|
|
1596
1596
|
}
|
|
1597
|
-
function
|
|
1598
|
-
const t = y(e), { sendMessage:
|
|
1597
|
+
function t5(e) {
|
|
1598
|
+
const t = y(e), { sendMessage: n } = b();
|
|
1599
1599
|
return t ? {
|
|
1600
1600
|
touchpanelState: t,
|
|
1601
1601
|
appControl: { hideApp: () => {
|
|
1602
|
-
|
|
1602
|
+
n(`/device/${e}/hideApp`, null);
|
|
1603
1603
|
}, openApp: () => {
|
|
1604
|
-
|
|
1604
|
+
n(`/device/${e}/openApp`, null);
|
|
1605
1605
|
}, closeApp: () => {
|
|
1606
|
-
|
|
1606
|
+
n(`/device/${e}/closeApp`, null);
|
|
1607
1607
|
} },
|
|
1608
1608
|
zoomControl: { endCall: () => {
|
|
1609
|
-
|
|
1609
|
+
n(`/device/${e}/endCall`, null);
|
|
1610
1610
|
} }
|
|
1611
1611
|
} : void 0;
|
|
1612
1612
|
}
|
|
1613
|
-
function
|
|
1614
|
-
const t = y(e),
|
|
1613
|
+
function s5(e) {
|
|
1614
|
+
const t = y(e), n = E3(e), c = k1(e);
|
|
1615
1615
|
if (!t) return;
|
|
1616
1616
|
const r = (t.powerState || t.isWarming) && !t.isCooling, i = (!t.powerState || t.isCooling) && !t.isWarming;
|
|
1617
1617
|
return {
|
|
1618
1618
|
displayState: t,
|
|
1619
|
-
powerControl:
|
|
1619
|
+
powerControl: n,
|
|
1620
1620
|
inputControl: c,
|
|
1621
1621
|
powerFb: { powerOnFb: r, powerOffFb: i }
|
|
1622
1622
|
};
|
|
1623
1623
|
}
|
|
1624
|
-
const
|
|
1624
|
+
const n5 = ({
|
|
1625
1625
|
config: e
|
|
1626
1626
|
}) => {
|
|
1627
1627
|
const { sendMessage: t } = b();
|
|
1628
|
-
|
|
1628
|
+
c1(() => {
|
|
1629
1629
|
var c, r, i, d;
|
|
1630
1630
|
if (!e)
|
|
1631
1631
|
return;
|
|
1632
|
-
const
|
|
1632
|
+
const n = /* @__PURE__ */ new Set();
|
|
1633
1633
|
if (e.destinations && Object.values(e.destinations).forEach((a) => {
|
|
1634
|
-
|
|
1634
|
+
n.add(a);
|
|
1635
1635
|
}), e.destinationList && Object.values(e.destinationList).forEach((a) => {
|
|
1636
|
-
|
|
1636
|
+
n.add(a.sinkKey);
|
|
1637
1637
|
}), e.audioControlPointList && Object.values((c = e.audioControlPointList) == null ? void 0 : c.levelControls).forEach(
|
|
1638
1638
|
(a) => {
|
|
1639
|
-
a.itemKey ?
|
|
1639
|
+
a.itemKey ? n.add(a.parentDeviceKey + "--" + a.itemKey) : n.add(a.parentDeviceKey);
|
|
1640
1640
|
}
|
|
1641
1641
|
), (r = e.touchpanelKeys) == null || r.forEach((a) => {
|
|
1642
|
-
|
|
1642
|
+
n.add(a);
|
|
1643
1643
|
}), (i = e.environmentalDevices) == null || i.forEach((a) => {
|
|
1644
|
-
a.deviceKey &&
|
|
1644
|
+
a.deviceKey && n.add(a.deviceKey);
|
|
1645
1645
|
}), (d = e.accessoryDeviceKeys) == null || d.forEach((a) => {
|
|
1646
|
-
|
|
1647
|
-
}), e.audioCodecKey &&
|
|
1648
|
-
|
|
1646
|
+
n.add(a);
|
|
1647
|
+
}), e.audioCodecKey && n.add(e.audioCodecKey), e.videoCodecKey && n.add(e.videoCodecKey), e.matrixRoutingKey && n.add(e.matrixRoutingKey), e.roomCombinerKey && n.add(e.roomCombinerKey), e.endpointKeys && e.endpointKeys.forEach((a) => {
|
|
1648
|
+
n.add(a);
|
|
1649
1649
|
}), e.sourceList)
|
|
1650
1650
|
for (const a of Object.values(e.sourceList))
|
|
1651
|
-
a.sourceKey && a.sourceKey !== "$off" &&
|
|
1652
|
-
console.log("requesting state for deviceKeys:",
|
|
1651
|
+
a.sourceKey && a.sourceKey !== "$off" && n.add(a.sourceKey);
|
|
1652
|
+
console.log("requesting state for deviceKeys:", n), n.forEach((a) => {
|
|
1653
1653
|
t(`/device/${a}/fullStatus`, { deviceKey: a });
|
|
1654
1654
|
});
|
|
1655
1655
|
}, [e, t]);
|
|
1656
1656
|
};
|
|
1657
|
-
function
|
|
1658
|
-
const [
|
|
1657
|
+
function o5(e, t) {
|
|
1658
|
+
const [n, c] = K(!1), [r, i] = K(!1);
|
|
1659
1659
|
return x3(() => {
|
|
1660
1660
|
const { current: d } = e, a = () => {
|
|
1661
1661
|
const g = d && d.scrollHeight > d.clientHeight, x = d && d.scrollWidth > d.clientWidth;
|
|
1662
1662
|
i(g ?? !1), c(x ?? !1), t && t(g ?? !1, x ?? !1);
|
|
1663
1663
|
};
|
|
1664
1664
|
d && a();
|
|
1665
|
-
}, [e, t]), { overflowHorizontal:
|
|
1665
|
+
}, [e, t]), { overflowHorizontal: n, overflowVertical: r };
|
|
1666
1666
|
}
|
|
1667
|
-
function
|
|
1668
|
-
const
|
|
1669
|
-
return
|
|
1667
|
+
function c5(e, t) {
|
|
1668
|
+
const n = H2(e, t), c = `/room/${e}/volumes/${t}`;
|
|
1669
|
+
return y3(c, n);
|
|
1670
1670
|
}
|
|
1671
|
-
function
|
|
1671
|
+
function r5(e) {
|
|
1672
1672
|
var a, g;
|
|
1673
|
-
const [t,
|
|
1673
|
+
const [t, n] = K(((a = e == null ? void 0 : e.current) == null ? void 0 : a.scrollLeft) ?? 0), [c, r] = K(((g = e == null ? void 0 : e.current) == null ? void 0 : g.scrollTop) ?? 0), i = (x) => {
|
|
1674
1674
|
const { current: v } = e;
|
|
1675
1675
|
v && (console.log(v.scrollLeft), v.scrollLeft += x, console.log(v.scrollLeft));
|
|
1676
1676
|
}, d = (x) => {
|
|
@@ -1679,12 +1679,20 @@ function n5(e) {
|
|
|
1679
1679
|
};
|
|
1680
1680
|
return x3(() => {
|
|
1681
1681
|
const { current: x } = e, v = () => {
|
|
1682
|
-
|
|
1682
|
+
n((x == null ? void 0 : x.scrollLeft) ?? 0), r((x == null ? void 0 : x.scrollTop) ?? 0);
|
|
1683
1683
|
};
|
|
1684
1684
|
x && v();
|
|
1685
1685
|
}, [e]), { horizontalScrollPosition: t, verticalScrollPosition: c, scrollHorizontal: i, scrollVertical: d };
|
|
1686
1686
|
}
|
|
1687
|
-
function
|
|
1687
|
+
function l5(e) {
|
|
1688
|
+
const t = m3();
|
|
1689
|
+
return [() => {
|
|
1690
|
+
t(F.addSyncState(e));
|
|
1691
|
+
}, () => {
|
|
1692
|
+
t(F.removeSyncState(e));
|
|
1693
|
+
}, f8(e)];
|
|
1694
|
+
}
|
|
1695
|
+
function i5() {
|
|
1688
1696
|
const { sendMessage: e } = b();
|
|
1689
1697
|
return {
|
|
1690
1698
|
reboot: () => {
|
|
@@ -1695,38 +1703,38 @@ function c5() {
|
|
|
1695
1703
|
}
|
|
1696
1704
|
};
|
|
1697
1705
|
}
|
|
1698
|
-
function
|
|
1699
|
-
const [e, t] =
|
|
1706
|
+
function a5() {
|
|
1707
|
+
const [e, t] = K(), [n, c] = K();
|
|
1700
1708
|
function r() {
|
|
1701
1709
|
t((/* @__PURE__ */ new Date()).toLocaleDateString("en-US", { dateStyle: "long" }));
|
|
1702
1710
|
const i = (/* @__PURE__ */ new Date()).toLocaleTimeString("en-US", { hour12: !0, hour: "numeric", minute: "numeric" });
|
|
1703
1711
|
c(i);
|
|
1704
1712
|
}
|
|
1705
|
-
return
|
|
1713
|
+
return c1(() => {
|
|
1706
1714
|
r();
|
|
1707
1715
|
const i = setInterval(() => {
|
|
1708
1716
|
r();
|
|
1709
1717
|
}, 1e3);
|
|
1710
1718
|
return () => clearInterval(i);
|
|
1711
|
-
}, []), { date: e, time:
|
|
1719
|
+
}, []), { date: e, time: n };
|
|
1712
1720
|
}
|
|
1713
|
-
const
|
|
1714
|
-
const [e, t] =
|
|
1721
|
+
const u5 = () => {
|
|
1722
|
+
const [e, t] = K(!1), n = g2(), c = f2();
|
|
1715
1723
|
let r;
|
|
1716
|
-
return
|
|
1724
|
+
return p2(c) ? r = c.statusText : c instanceof Error ? r = c.message : typeof c == "string" ? r = c : (console.error(c), r = "Unknown error"), /* @__PURE__ */ s.jsxs("div", { className: "d-flex flex-column align-items-center gap-5", children: [
|
|
1717
1725
|
/* @__PURE__ */ s.jsx("div", { className: "m-2 p-2 bg-danger rounded d-flex align-items-center", children: /* @__PURE__ */ s.jsx("span", { className: "fs-5 text-white", children: "We are sorry. Something went wrong." }) }),
|
|
1718
|
-
/* @__PURE__ */ s.jsx("button", { className: "btn btn-primary p-2", onClick: () =>
|
|
1726
|
+
/* @__PURE__ */ s.jsx("button", { className: "btn btn-primary p-2", onClick: () => n(-1), children: "Go Back" }),
|
|
1719
1727
|
/* @__PURE__ */ s.jsx("button", { className: "btn btn-primary p-2", onClick: () => t(!e), children: e ? "Hide error message" : "Show error message" }),
|
|
1720
1728
|
e && /* @__PURE__ */ s.jsx("p", { children: r })
|
|
1721
1729
|
] });
|
|
1722
|
-
},
|
|
1723
|
-
iconbtn:
|
|
1724
|
-
iconbtnvert:
|
|
1725
|
-
iconsm:
|
|
1726
|
-
},
|
|
1730
|
+
}, k8 = "_iconbtn_16qss_1", U8 = "_iconbtnvert_16qss_7", W8 = "_iconsm_16qss_18", $1 = {
|
|
1731
|
+
iconbtn: k8,
|
|
1732
|
+
iconbtnvert: U8,
|
|
1733
|
+
iconsm: W8
|
|
1734
|
+
}, F8 = ({
|
|
1727
1735
|
multiIcon: e,
|
|
1728
1736
|
otherContent: t = null,
|
|
1729
|
-
vert:
|
|
1737
|
+
vert: n = !1,
|
|
1730
1738
|
className: c,
|
|
1731
1739
|
iconClassName: r = "",
|
|
1732
1740
|
otherContentClassName: i = "",
|
|
@@ -1738,12 +1746,12 @@ const l5 = () => {
|
|
|
1738
1746
|
onPointerLeave: I,
|
|
1739
1747
|
...L
|
|
1740
1748
|
}) => {
|
|
1741
|
-
const [
|
|
1749
|
+
const [H, k] = K(!1), X = !d && a ? g : "", r1 = !d && (H || a);
|
|
1742
1750
|
return /* @__PURE__ */ s.jsxs(
|
|
1743
1751
|
"button",
|
|
1744
1752
|
{
|
|
1745
1753
|
type: "button",
|
|
1746
|
-
className: `${$1.iconbtn} ${
|
|
1754
|
+
className: `${$1.iconbtn} ${n ? $1.iconbtnvert : ""} ${c} ${X}`,
|
|
1747
1755
|
...L,
|
|
1748
1756
|
disabled: d,
|
|
1749
1757
|
onPointerDown: ($) => {
|
|
@@ -1771,13 +1779,13 @@ const l5 = () => {
|
|
|
1771
1779
|
}, j = ({
|
|
1772
1780
|
ActiveImage: e,
|
|
1773
1781
|
DisabledImage: t,
|
|
1774
|
-
EnabledImage:
|
|
1782
|
+
EnabledImage: n,
|
|
1775
1783
|
active: c,
|
|
1776
1784
|
disabled: r
|
|
1777
|
-
}) => r ? t : c ? e :
|
|
1785
|
+
}) => r ? t : c ? e : n, H8 = ({
|
|
1778
1786
|
active: e,
|
|
1779
1787
|
className: t = "",
|
|
1780
|
-
disabled:
|
|
1788
|
+
disabled: n
|
|
1781
1789
|
}) => /* @__PURE__ */ s.jsx(
|
|
1782
1790
|
j,
|
|
1783
1791
|
{
|
|
@@ -1824,12 +1832,12 @@ const l5 = () => {
|
|
|
1824
1832
|
}
|
|
1825
1833
|
),
|
|
1826
1834
|
active: e,
|
|
1827
|
-
disabled:
|
|
1835
|
+
disabled: n
|
|
1828
1836
|
}
|
|
1829
|
-
),
|
|
1837
|
+
), K8 = ({
|
|
1830
1838
|
active: e,
|
|
1831
1839
|
className: t = "",
|
|
1832
|
-
disabled:
|
|
1840
|
+
disabled: n
|
|
1833
1841
|
}) => /* @__PURE__ */ s.jsx(
|
|
1834
1842
|
j,
|
|
1835
1843
|
{
|
|
@@ -1873,12 +1881,12 @@ const l5 = () => {
|
|
|
1873
1881
|
)
|
|
1874
1882
|
),
|
|
1875
1883
|
active: e,
|
|
1876
|
-
disabled:
|
|
1884
|
+
disabled: n
|
|
1877
1885
|
}
|
|
1878
|
-
),
|
|
1886
|
+
), G8 = ({
|
|
1879
1887
|
active: e,
|
|
1880
1888
|
className: t = "",
|
|
1881
|
-
disabled:
|
|
1889
|
+
disabled: n
|
|
1882
1890
|
}) => /* @__PURE__ */ s.jsx(
|
|
1883
1891
|
j,
|
|
1884
1892
|
{
|
|
@@ -1913,12 +1921,12 @@ const l5 = () => {
|
|
|
1913
1921
|
}
|
|
1914
1922
|
),
|
|
1915
1923
|
active: e,
|
|
1916
|
-
disabled:
|
|
1924
|
+
disabled: n
|
|
1917
1925
|
}
|
|
1918
|
-
),
|
|
1926
|
+
), q8 = ({
|
|
1919
1927
|
active: e,
|
|
1920
1928
|
className: t = "",
|
|
1921
|
-
disabled:
|
|
1929
|
+
disabled: n
|
|
1922
1930
|
}) => /* @__PURE__ */ s.jsx(
|
|
1923
1931
|
j,
|
|
1924
1932
|
{
|
|
@@ -1962,13 +1970,13 @@ const l5 = () => {
|
|
|
1962
1970
|
)
|
|
1963
1971
|
),
|
|
1964
1972
|
active: e,
|
|
1965
|
-
disabled:
|
|
1973
|
+
disabled: n
|
|
1966
1974
|
}
|
|
1967
|
-
),
|
|
1975
|
+
), Y8 = ({
|
|
1968
1976
|
active: e,
|
|
1969
1977
|
// Just to shut up the linter on this template. Prefer deleting this lint rule
|
|
1970
1978
|
className: t = "",
|
|
1971
|
-
disabled:
|
|
1979
|
+
disabled: n
|
|
1972
1980
|
}) => /* @__PURE__ */ s.jsx(
|
|
1973
1981
|
j,
|
|
1974
1982
|
{
|
|
@@ -2030,12 +2038,12 @@ const l5 = () => {
|
|
|
2030
2038
|
)
|
|
2031
2039
|
),
|
|
2032
2040
|
active: e,
|
|
2033
|
-
disabled:
|
|
2041
|
+
disabled: n
|
|
2034
2042
|
}
|
|
2035
|
-
),
|
|
2043
|
+
), z8 = ({
|
|
2036
2044
|
active: e,
|
|
2037
2045
|
className: t = "",
|
|
2038
|
-
disabled:
|
|
2046
|
+
disabled: n
|
|
2039
2047
|
}) => /* @__PURE__ */ s.jsx(
|
|
2040
2048
|
j,
|
|
2041
2049
|
{
|
|
@@ -2079,12 +2087,12 @@ const l5 = () => {
|
|
|
2079
2087
|
)
|
|
2080
2088
|
),
|
|
2081
2089
|
active: e,
|
|
2082
|
-
disabled:
|
|
2090
|
+
disabled: n
|
|
2083
2091
|
}
|
|
2084
|
-
),
|
|
2092
|
+
), J8 = ({
|
|
2085
2093
|
active: e,
|
|
2086
2094
|
className: t = "",
|
|
2087
|
-
disabled:
|
|
2095
|
+
disabled: n
|
|
2088
2096
|
}) => /* @__PURE__ */ s.jsx(
|
|
2089
2097
|
j,
|
|
2090
2098
|
{
|
|
@@ -2128,12 +2136,12 @@ const l5 = () => {
|
|
|
2128
2136
|
)
|
|
2129
2137
|
),
|
|
2130
2138
|
active: e,
|
|
2131
|
-
disabled:
|
|
2139
|
+
disabled: n
|
|
2132
2140
|
}
|
|
2133
|
-
),
|
|
2141
|
+
), X8 = ({
|
|
2134
2142
|
active: e,
|
|
2135
2143
|
className: t = "",
|
|
2136
|
-
disabled:
|
|
2144
|
+
disabled: n
|
|
2137
2145
|
}) => /* @__PURE__ */ s.jsx(
|
|
2138
2146
|
j,
|
|
2139
2147
|
{
|
|
@@ -2177,12 +2185,12 @@ const l5 = () => {
|
|
|
2177
2185
|
)
|
|
2178
2186
|
),
|
|
2179
2187
|
active: e,
|
|
2180
|
-
disabled:
|
|
2188
|
+
disabled: n
|
|
2181
2189
|
}
|
|
2182
|
-
),
|
|
2190
|
+
), Q8 = ({
|
|
2183
2191
|
active: e,
|
|
2184
2192
|
className: t = "",
|
|
2185
|
-
disabled:
|
|
2193
|
+
disabled: n
|
|
2186
2194
|
}) => /* @__PURE__ */ s.jsx(
|
|
2187
2195
|
j,
|
|
2188
2196
|
{
|
|
@@ -2226,12 +2234,12 @@ const l5 = () => {
|
|
|
2226
2234
|
)
|
|
2227
2235
|
),
|
|
2228
2236
|
active: e,
|
|
2229
|
-
disabled:
|
|
2237
|
+
disabled: n
|
|
2230
2238
|
}
|
|
2231
|
-
),
|
|
2239
|
+
), N8 = ({
|
|
2232
2240
|
active: e,
|
|
2233
2241
|
className: t = "",
|
|
2234
|
-
disabled:
|
|
2242
|
+
disabled: n
|
|
2235
2243
|
}) => /* @__PURE__ */ s.jsx(
|
|
2236
2244
|
j,
|
|
2237
2245
|
{
|
|
@@ -2275,13 +2283,13 @@ const l5 = () => {
|
|
|
2275
2283
|
)
|
|
2276
2284
|
),
|
|
2277
2285
|
active: e,
|
|
2278
|
-
disabled:
|
|
2286
|
+
disabled: n
|
|
2279
2287
|
}
|
|
2280
|
-
),
|
|
2288
|
+
), e6 = ({
|
|
2281
2289
|
active: e,
|
|
2282
2290
|
// Just to shut up the linter on this template. Prefer deleting this lint rule
|
|
2283
2291
|
className: t = "",
|
|
2284
|
-
disabled:
|
|
2292
|
+
disabled: n
|
|
2285
2293
|
}) => /* @__PURE__ */ s.jsx(
|
|
2286
2294
|
j,
|
|
2287
2295
|
{
|
|
@@ -2343,12 +2351,12 @@ const l5 = () => {
|
|
|
2343
2351
|
)
|
|
2344
2352
|
),
|
|
2345
2353
|
active: e,
|
|
2346
|
-
disabled:
|
|
2354
|
+
disabled: n
|
|
2347
2355
|
}
|
|
2348
|
-
),
|
|
2356
|
+
), t6 = ({
|
|
2349
2357
|
active: e,
|
|
2350
2358
|
className: t = "",
|
|
2351
|
-
disabled:
|
|
2359
|
+
disabled: n
|
|
2352
2360
|
}) => /* @__PURE__ */ s.jsx(
|
|
2353
2361
|
j,
|
|
2354
2362
|
{
|
|
@@ -2392,12 +2400,12 @@ const l5 = () => {
|
|
|
2392
2400
|
)
|
|
2393
2401
|
),
|
|
2394
2402
|
active: e,
|
|
2395
|
-
disabled:
|
|
2403
|
+
disabled: n
|
|
2396
2404
|
}
|
|
2397
|
-
),
|
|
2405
|
+
), s6 = ({
|
|
2398
2406
|
active: e,
|
|
2399
2407
|
className: t = "",
|
|
2400
|
-
disabled:
|
|
2408
|
+
disabled: n
|
|
2401
2409
|
}) => /* @__PURE__ */ s.jsx(
|
|
2402
2410
|
j,
|
|
2403
2411
|
{
|
|
@@ -2441,12 +2449,12 @@ const l5 = () => {
|
|
|
2441
2449
|
)
|
|
2442
2450
|
),
|
|
2443
2451
|
active: e,
|
|
2444
|
-
disabled:
|
|
2452
|
+
disabled: n
|
|
2445
2453
|
}
|
|
2446
|
-
),
|
|
2454
|
+
), n6 = ({
|
|
2447
2455
|
active: e,
|
|
2448
2456
|
className: t = "",
|
|
2449
|
-
disabled:
|
|
2457
|
+
disabled: n
|
|
2450
2458
|
}) => /* @__PURE__ */ s.jsx(
|
|
2451
2459
|
j,
|
|
2452
2460
|
{
|
|
@@ -2490,12 +2498,12 @@ const l5 = () => {
|
|
|
2490
2498
|
)
|
|
2491
2499
|
),
|
|
2492
2500
|
active: e,
|
|
2493
|
-
disabled:
|
|
2501
|
+
disabled: n
|
|
2494
2502
|
}
|
|
2495
|
-
),
|
|
2503
|
+
), o6 = ({
|
|
2496
2504
|
active: e,
|
|
2497
2505
|
className: t = "",
|
|
2498
|
-
disabled:
|
|
2506
|
+
disabled: n
|
|
2499
2507
|
}) => /* @__PURE__ */ s.jsx(
|
|
2500
2508
|
j,
|
|
2501
2509
|
{
|
|
@@ -2539,12 +2547,12 @@ const l5 = () => {
|
|
|
2539
2547
|
)
|
|
2540
2548
|
),
|
|
2541
2549
|
active: e,
|
|
2542
|
-
disabled:
|
|
2550
|
+
disabled: n
|
|
2543
2551
|
}
|
|
2544
|
-
),
|
|
2552
|
+
), c6 = ({
|
|
2545
2553
|
active: e,
|
|
2546
2554
|
className: t = "",
|
|
2547
|
-
disabled:
|
|
2555
|
+
disabled: n
|
|
2548
2556
|
}) => /* @__PURE__ */ s.jsx(
|
|
2549
2557
|
j,
|
|
2550
2558
|
{
|
|
@@ -2561,12 +2569,12 @@ const l5 = () => {
|
|
|
2561
2569
|
/* @__PURE__ */ s.jsx("svg", { className: t, fill: "currentcolor", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 164.61 164.61", children: /* @__PURE__ */ s.jsx("g", { children: /* @__PURE__ */ s.jsx("path", { d: "M131.62,102.87c-1.96,2.47-6.77,4.24-6.77,4.24l-35.75,12.84v-9.47l26.31-9.37c2.99-1.07,3.44-2.58,1.02-3.38-2.42-.8-6.81-.57-9.8.51l-17.53,6.17v-9.83l1.01-.34s5.07-1.79,12.19-2.58c7.12-.78,15.85.11,22.69,2.7,7.72,2.44,8.59,6.03,6.63,8.51ZM92.51,86.75v-24.22c0-2.84-.52-5.46-3.19-6.2-2.04-.65-3.31,1.24-3.31,4.09v60.65l-16.36-5.19V43.55c6.95,1.29,17.09,4.34,22.53,6.18,13.85,4.76,18.55,10.67,18.55,24.01s-8.02,17.93-18.22,13ZM39.63,109.49c-7.92-2.23-9.24-6.88-5.63-9.56,3.34-2.47,9.01-4.33,9.01-4.33l23.45-8.34v9.51l-16.88,6.04c-2.98,1.07-3.44,2.58-1.02,3.38,2.42.79,6.81.57,9.8-.5l8.1-2.94v8.51c-.51.09-1.09.18-1.61.27-8.1,1.32-16.72.77-25.22-2.03h0ZM82.3,164.61C36.92,164.61,0,127.69,0,82.3S36.92,0,82.3,0s82.3,36.92,82.3,82.3-36.92,82.3-82.3,82.3ZM82.3,5C39.68,5,5,39.68,5,82.3s34.68,77.3,77.3,77.3,77.3-34.68,77.3-77.3S124.93,5,82.3,5Z" }) }) })
|
|
2562
2570
|
),
|
|
2563
2571
|
active: e,
|
|
2564
|
-
disabled:
|
|
2572
|
+
disabled: n
|
|
2565
2573
|
}
|
|
2566
|
-
),
|
|
2574
|
+
), r6 = ({
|
|
2567
2575
|
active: e,
|
|
2568
2576
|
className: t = "",
|
|
2569
|
-
disabled:
|
|
2577
|
+
disabled: n
|
|
2570
2578
|
}) => /* @__PURE__ */ s.jsx(
|
|
2571
2579
|
j,
|
|
2572
2580
|
{
|
|
@@ -2610,12 +2618,12 @@ const l5 = () => {
|
|
|
2610
2618
|
)
|
|
2611
2619
|
),
|
|
2612
2620
|
active: e,
|
|
2613
|
-
disabled:
|
|
2621
|
+
disabled: n
|
|
2614
2622
|
}
|
|
2615
|
-
),
|
|
2623
|
+
), l6 = ({
|
|
2616
2624
|
active: e,
|
|
2617
2625
|
className: t = "",
|
|
2618
|
-
disabled:
|
|
2626
|
+
disabled: n
|
|
2619
2627
|
}) => /* @__PURE__ */ s.jsx(
|
|
2620
2628
|
j,
|
|
2621
2629
|
{
|
|
@@ -2659,12 +2667,12 @@ const l5 = () => {
|
|
|
2659
2667
|
)
|
|
2660
2668
|
),
|
|
2661
2669
|
active: e,
|
|
2662
|
-
disabled:
|
|
2670
|
+
disabled: n
|
|
2663
2671
|
}
|
|
2664
|
-
),
|
|
2672
|
+
), i6 = ({
|
|
2665
2673
|
active: e,
|
|
2666
2674
|
className: t = "",
|
|
2667
|
-
disabled:
|
|
2675
|
+
disabled: n
|
|
2668
2676
|
}) => /* @__PURE__ */ s.jsx(
|
|
2669
2677
|
j,
|
|
2670
2678
|
{
|
|
@@ -2708,12 +2716,12 @@ const l5 = () => {
|
|
|
2708
2716
|
)
|
|
2709
2717
|
),
|
|
2710
2718
|
active: e,
|
|
2711
|
-
disabled:
|
|
2719
|
+
disabled: n
|
|
2712
2720
|
}
|
|
2713
|
-
),
|
|
2721
|
+
), a6 = ({
|
|
2714
2722
|
active: e,
|
|
2715
2723
|
className: t = "",
|
|
2716
|
-
disabled:
|
|
2724
|
+
disabled: n
|
|
2717
2725
|
}) => /* @__PURE__ */ s.jsx(
|
|
2718
2726
|
j,
|
|
2719
2727
|
{
|
|
@@ -2757,12 +2765,12 @@ const l5 = () => {
|
|
|
2757
2765
|
)
|
|
2758
2766
|
),
|
|
2759
2767
|
active: e,
|
|
2760
|
-
disabled:
|
|
2768
|
+
disabled: n
|
|
2761
2769
|
}
|
|
2762
|
-
),
|
|
2770
|
+
), u6 = ({
|
|
2763
2771
|
active: e,
|
|
2764
2772
|
className: t = "",
|
|
2765
|
-
disabled:
|
|
2773
|
+
disabled: n
|
|
2766
2774
|
}) => /* @__PURE__ */ s.jsx(
|
|
2767
2775
|
j,
|
|
2768
2776
|
{
|
|
@@ -2806,13 +2814,13 @@ const l5 = () => {
|
|
|
2806
2814
|
)
|
|
2807
2815
|
),
|
|
2808
2816
|
active: e,
|
|
2809
|
-
disabled:
|
|
2817
|
+
disabled: n
|
|
2810
2818
|
}
|
|
2811
|
-
),
|
|
2819
|
+
), d6 = ({
|
|
2812
2820
|
active: e,
|
|
2813
2821
|
// Just to shut up the linter on this template. Prefer deleting this lint rule
|
|
2814
2822
|
className: t = "",
|
|
2815
|
-
disabled:
|
|
2823
|
+
disabled: n
|
|
2816
2824
|
}) => /* @__PURE__ */ s.jsx(
|
|
2817
2825
|
j,
|
|
2818
2826
|
{
|
|
@@ -2874,12 +2882,12 @@ const l5 = () => {
|
|
|
2874
2882
|
)
|
|
2875
2883
|
),
|
|
2876
2884
|
active: e,
|
|
2877
|
-
disabled:
|
|
2885
|
+
disabled: n
|
|
2878
2886
|
}
|
|
2879
|
-
),
|
|
2887
|
+
), v6 = ({
|
|
2880
2888
|
active: e,
|
|
2881
2889
|
className: t = "",
|
|
2882
|
-
disabled:
|
|
2890
|
+
disabled: n
|
|
2883
2891
|
}) => /* @__PURE__ */ s.jsx(
|
|
2884
2892
|
j,
|
|
2885
2893
|
{
|
|
@@ -2923,12 +2931,12 @@ const l5 = () => {
|
|
|
2923
2931
|
)
|
|
2924
2932
|
),
|
|
2925
2933
|
active: e,
|
|
2926
|
-
disabled:
|
|
2934
|
+
disabled: n
|
|
2927
2935
|
}
|
|
2928
|
-
),
|
|
2936
|
+
), h6 = ({
|
|
2929
2937
|
active: e,
|
|
2930
2938
|
className: t = "",
|
|
2931
|
-
disabled:
|
|
2939
|
+
disabled: n
|
|
2932
2940
|
}) => /* @__PURE__ */ s.jsx(
|
|
2933
2941
|
j,
|
|
2934
2942
|
{
|
|
@@ -2972,14 +2980,14 @@ const l5 = () => {
|
|
|
2972
2980
|
)
|
|
2973
2981
|
),
|
|
2974
2982
|
active: e,
|
|
2975
|
-
disabled:
|
|
2983
|
+
disabled: n
|
|
2976
2984
|
}
|
|
2977
|
-
),
|
|
2985
|
+
), d5 = ({
|
|
2978
2986
|
active: e,
|
|
2979
2987
|
// Just to shut up the linter on this template. Prefer deleting this lint rule
|
|
2980
2988
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
2981
2989
|
className: t = "",
|
|
2982
|
-
disabled:
|
|
2990
|
+
disabled: n
|
|
2983
2991
|
}) => /* @__PURE__ */ s.jsx(
|
|
2984
2992
|
j,
|
|
2985
2993
|
{
|
|
@@ -2987,12 +2995,12 @@ const l5 = () => {
|
|
|
2987
2995
|
DisabledImage: void 0,
|
|
2988
2996
|
EnabledImage: void 0,
|
|
2989
2997
|
active: e,
|
|
2990
|
-
disabled:
|
|
2998
|
+
disabled: n
|
|
2991
2999
|
}
|
|
2992
|
-
),
|
|
3000
|
+
), g6 = ({
|
|
2993
3001
|
active: e,
|
|
2994
3002
|
className: t = "",
|
|
2995
|
-
disabled:
|
|
3003
|
+
disabled: n
|
|
2996
3004
|
}) => /* @__PURE__ */ s.jsx(
|
|
2997
3005
|
j,
|
|
2998
3006
|
{
|
|
@@ -3036,12 +3044,12 @@ const l5 = () => {
|
|
|
3036
3044
|
)
|
|
3037
3045
|
),
|
|
3038
3046
|
active: e,
|
|
3039
|
-
disabled:
|
|
3047
|
+
disabled: n
|
|
3040
3048
|
}
|
|
3041
|
-
),
|
|
3049
|
+
), f6 = ({
|
|
3042
3050
|
active: e,
|
|
3043
3051
|
className: t = "",
|
|
3044
|
-
disabled:
|
|
3052
|
+
disabled: n
|
|
3045
3053
|
}) => /* @__PURE__ */ s.jsx(
|
|
3046
3054
|
j,
|
|
3047
3055
|
{
|
|
@@ -3085,12 +3093,12 @@ const l5 = () => {
|
|
|
3085
3093
|
)
|
|
3086
3094
|
),
|
|
3087
3095
|
active: e,
|
|
3088
|
-
disabled:
|
|
3096
|
+
disabled: n
|
|
3089
3097
|
}
|
|
3090
|
-
),
|
|
3098
|
+
), p6 = ({
|
|
3091
3099
|
active: e,
|
|
3092
3100
|
className: t = "",
|
|
3093
|
-
disabled:
|
|
3101
|
+
disabled: n
|
|
3094
3102
|
}) => /* @__PURE__ */ s.jsx(
|
|
3095
3103
|
j,
|
|
3096
3104
|
{
|
|
@@ -3134,12 +3142,12 @@ const l5 = () => {
|
|
|
3134
3142
|
)
|
|
3135
3143
|
),
|
|
3136
3144
|
active: e,
|
|
3137
|
-
disabled:
|
|
3145
|
+
disabled: n
|
|
3138
3146
|
}
|
|
3139
|
-
),
|
|
3147
|
+
), w6 = ({
|
|
3140
3148
|
active: e,
|
|
3141
3149
|
className: t = "",
|
|
3142
|
-
disabled:
|
|
3150
|
+
disabled: n
|
|
3143
3151
|
}) => /* @__PURE__ */ s.jsx(
|
|
3144
3152
|
j,
|
|
3145
3153
|
{
|
|
@@ -3183,12 +3191,12 @@ const l5 = () => {
|
|
|
3183
3191
|
)
|
|
3184
3192
|
),
|
|
3185
3193
|
active: e,
|
|
3186
|
-
disabled:
|
|
3194
|
+
disabled: n
|
|
3187
3195
|
}
|
|
3188
|
-
),
|
|
3196
|
+
), x6 = ({
|
|
3189
3197
|
active: e,
|
|
3190
3198
|
className: t = "",
|
|
3191
|
-
disabled:
|
|
3199
|
+
disabled: n
|
|
3192
3200
|
}) => /* @__PURE__ */ s.jsx(
|
|
3193
3201
|
j,
|
|
3194
3202
|
{
|
|
@@ -3232,12 +3240,12 @@ const l5 = () => {
|
|
|
3232
3240
|
)
|
|
3233
3241
|
),
|
|
3234
3242
|
active: e,
|
|
3235
|
-
disabled:
|
|
3243
|
+
disabled: n
|
|
3236
3244
|
}
|
|
3237
|
-
),
|
|
3245
|
+
), M6 = ({
|
|
3238
3246
|
active: e,
|
|
3239
3247
|
className: t = "",
|
|
3240
|
-
disabled:
|
|
3248
|
+
disabled: n
|
|
3241
3249
|
}) => /* @__PURE__ */ s.jsx(
|
|
3242
3250
|
j,
|
|
3243
3251
|
{
|
|
@@ -3281,12 +3289,12 @@ const l5 = () => {
|
|
|
3281
3289
|
)
|
|
3282
3290
|
),
|
|
3283
3291
|
active: e,
|
|
3284
|
-
disabled:
|
|
3292
|
+
disabled: n
|
|
3285
3293
|
}
|
|
3286
|
-
),
|
|
3294
|
+
), m6 = ({
|
|
3287
3295
|
active: e,
|
|
3288
3296
|
className: t = "",
|
|
3289
|
-
disabled:
|
|
3297
|
+
disabled: n
|
|
3290
3298
|
}) => /* @__PURE__ */ s.jsx(
|
|
3291
3299
|
j,
|
|
3292
3300
|
{
|
|
@@ -3330,12 +3338,12 @@ const l5 = () => {
|
|
|
3330
3338
|
)
|
|
3331
3339
|
),
|
|
3332
3340
|
active: e,
|
|
3333
|
-
disabled:
|
|
3341
|
+
disabled: n
|
|
3334
3342
|
}
|
|
3335
|
-
),
|
|
3343
|
+
), Z6 = ({
|
|
3336
3344
|
active: e,
|
|
3337
3345
|
className: t = "",
|
|
3338
|
-
disabled:
|
|
3346
|
+
disabled: n
|
|
3339
3347
|
}) => /* @__PURE__ */ s.jsx(
|
|
3340
3348
|
j,
|
|
3341
3349
|
{
|
|
@@ -3379,152 +3387,152 @@ const l5 = () => {
|
|
|
3379
3387
|
)
|
|
3380
3388
|
),
|
|
3381
3389
|
active: e,
|
|
3382
|
-
disabled:
|
|
3383
|
-
}
|
|
3384
|
-
),
|
|
3385
|
-
Alert:
|
|
3386
|
-
Camera:
|
|
3387
|
-
DownArrow:
|
|
3388
|
-
Ban:
|
|
3389
|
-
Check:
|
|
3390
|
-
Controller:
|
|
3391
|
-
Elipses:
|
|
3392
|
-
Flag:
|
|
3393
|
-
Gear:
|
|
3394
|
-
Glass:
|
|
3395
|
-
Hdmi:
|
|
3396
|
-
Laptop:
|
|
3397
|
-
LeftArrow:
|
|
3398
|
-
Light:
|
|
3399
|
-
Mic:
|
|
3400
|
-
Moon:
|
|
3401
|
-
Playstation:
|
|
3402
|
-
Podium:
|
|
3403
|
-
Power:
|
|
3404
|
-
Privacy:
|
|
3405
|
-
Question:
|
|
3406
|
-
RightArrow:
|
|
3407
|
-
RoomPC:
|
|
3408
|
-
Shade:
|
|
3409
|
-
Sun:
|
|
3410
|
-
UpArrow:
|
|
3411
|
-
VolDown:
|
|
3412
|
-
VolMute:
|
|
3413
|
-
VolUp:
|
|
3414
|
-
Wireless:
|
|
3415
|
-
X:
|
|
3416
|
-
Xbox:
|
|
3390
|
+
disabled: n
|
|
3391
|
+
}
|
|
3392
|
+
), j6 = {
|
|
3393
|
+
Alert: H8,
|
|
3394
|
+
Camera: G8,
|
|
3395
|
+
DownArrow: z8,
|
|
3396
|
+
Ban: K8,
|
|
3397
|
+
Check: q8,
|
|
3398
|
+
Controller: Y8,
|
|
3399
|
+
Elipses: J8,
|
|
3400
|
+
Flag: X8,
|
|
3401
|
+
Gear: Q8,
|
|
3402
|
+
Glass: N8,
|
|
3403
|
+
Hdmi: e6,
|
|
3404
|
+
Laptop: t6,
|
|
3405
|
+
LeftArrow: s6,
|
|
3406
|
+
Light: n6,
|
|
3407
|
+
Mic: Z6,
|
|
3408
|
+
Moon: o6,
|
|
3409
|
+
Playstation: c6,
|
|
3410
|
+
Podium: r6,
|
|
3411
|
+
Power: l6,
|
|
3412
|
+
Privacy: i6,
|
|
3413
|
+
Question: a6,
|
|
3414
|
+
RightArrow: u6,
|
|
3415
|
+
RoomPC: d6,
|
|
3416
|
+
Shade: v6,
|
|
3417
|
+
Sun: h6,
|
|
3418
|
+
UpArrow: g6,
|
|
3419
|
+
VolDown: f6,
|
|
3420
|
+
VolMute: p6,
|
|
3421
|
+
VolUp: w6,
|
|
3422
|
+
Wireless: x6,
|
|
3423
|
+
X: M6,
|
|
3424
|
+
Xbox: m6
|
|
3417
3425
|
};
|
|
3418
|
-
function
|
|
3426
|
+
function v5({
|
|
3419
3427
|
name: e,
|
|
3420
|
-
iconsDictionary: t =
|
|
3421
|
-
...
|
|
3428
|
+
iconsDictionary: t = j6,
|
|
3429
|
+
...n
|
|
3422
3430
|
}) {
|
|
3423
3431
|
const c = t[e] ?? null;
|
|
3424
|
-
return c || console.error(`Icon ${e} not found in dictionary`), /* @__PURE__ */ s.jsx(
|
|
3425
|
-
}
|
|
3426
|
-
const
|
|
3427
|
-
grid:
|
|
3428
|
-
header:
|
|
3429
|
-
content:
|
|
3430
|
-
footer:
|
|
3431
|
-
volume:
|
|
3432
|
-
},
|
|
3432
|
+
return c || console.error(`Icon ${e} not found in dictionary`), /* @__PURE__ */ s.jsx(F8, { multiIcon: c, ...n });
|
|
3433
|
+
}
|
|
3434
|
+
const S6 = "_grid_1cmpp_1", C6 = "_header_1cmpp_11", b6 = "_content_1cmpp_17", I6 = "_footer_1cmpp_23", R6 = "_volume_1cmpp_29", v1 = {
|
|
3435
|
+
grid: S6,
|
|
3436
|
+
header: C6,
|
|
3437
|
+
content: b6,
|
|
3438
|
+
footer: I6,
|
|
3439
|
+
volume: R6
|
|
3440
|
+
}, h5 = ({ header: e, footer: t, content: n, volume: c, showVolume: r }) => /* @__PURE__ */ s.jsxs("div", { className: v1.grid, children: [
|
|
3433
3441
|
/* @__PURE__ */ s.jsx("div", { className: v1.header, children: e }),
|
|
3434
|
-
/* @__PURE__ */ s.jsx("div", { className: v1.content, children:
|
|
3442
|
+
/* @__PURE__ */ s.jsx("div", { className: v1.content, children: n }),
|
|
3435
3443
|
r && /* @__PURE__ */ s.jsx("div", { className: v1.volume, children: c }),
|
|
3436
3444
|
/* @__PURE__ */ s.jsx("div", { className: v1.footer, children: t })
|
|
3437
|
-
] }),
|
|
3438
|
-
grid:
|
|
3439
|
-
header:
|
|
3440
|
-
content:
|
|
3441
|
-
},
|
|
3445
|
+
] }), y6 = "_grid_11w5q_1", E6 = "_header_11w5q_11", P6 = "_content_11w5q_17", Z1 = {
|
|
3446
|
+
grid: y6,
|
|
3447
|
+
header: E6,
|
|
3448
|
+
content: P6
|
|
3449
|
+
}, g5 = ({ className: e, header: t, content: n, leftNav: c }) => /* @__PURE__ */ s.jsxs("div", { className: `${e} ${Z1.grid}`, children: [
|
|
3442
3450
|
/* @__PURE__ */ s.jsx("div", { className: Z1.header, children: t }),
|
|
3443
3451
|
c && /* @__PURE__ */ s.jsx("div", { className: Z1.leftNav, children: c }),
|
|
3444
|
-
/* @__PURE__ */ s.jsx("div", { className: Z1.content, children:
|
|
3445
|
-
] }),
|
|
3446
|
-
grid:
|
|
3447
|
-
header:
|
|
3448
|
-
content:
|
|
3449
|
-
},
|
|
3452
|
+
/* @__PURE__ */ s.jsx("div", { className: Z1.content, children: n })
|
|
3453
|
+
] }), T6 = "_grid_1uwfo_1", _6 = "_header_1uwfo_11", D6 = "_content_1uwfo_17", A1 = {
|
|
3454
|
+
grid: T6,
|
|
3455
|
+
header: _6,
|
|
3456
|
+
content: D6
|
|
3457
|
+
}, f5 = ({ className: e, header: t, content: n }) => /* @__PURE__ */ s.jsxs("div", { className: `${e} ${A1.grid}`, children: [
|
|
3450
3458
|
/* @__PURE__ */ s.jsx("div", { className: A1.header, children: t }),
|
|
3451
|
-
/* @__PURE__ */ s.jsx("div", { className: A1.content, children:
|
|
3459
|
+
/* @__PURE__ */ s.jsx("div", { className: A1.content, children: n })
|
|
3452
3460
|
] });
|
|
3453
|
-
class
|
|
3461
|
+
class p5 {
|
|
3454
3462
|
constructor() {
|
|
3455
|
-
|
|
3456
|
-
|
|
3457
|
-
|
|
3463
|
+
q(this, "currentShareText");
|
|
3464
|
+
q(this, "enabled");
|
|
3465
|
+
q(this, "isSharing");
|
|
3458
3466
|
}
|
|
3459
3467
|
}
|
|
3460
|
-
function
|
|
3468
|
+
function w5() {
|
|
3461
3469
|
return console.log(location.pathname), location.pathname;
|
|
3462
3470
|
}
|
|
3463
|
-
var
|
|
3464
|
-
class
|
|
3465
|
-
constructor(t,
|
|
3466
|
-
|
|
3467
|
-
|
|
3468
|
-
this.path = t, this.handler =
|
|
3471
|
+
var L6 = /* @__PURE__ */ ((e) => (e[e.NotSet = 0] = "NotSet", e[e.Sunday = 1] = "Sunday", e[e.Monday = 2] = "Monday", e[e.Tuesday = 4] = "Tuesday", e[e.Wednesday = 8] = "Wednesday", e[e.Thursday = 16] = "Thursday", e[e.Friday = 32] = "Friday", e[e.Saturday = 64] = "Saturday", e))(L6 || {});
|
|
3472
|
+
class x5 {
|
|
3473
|
+
constructor(t, n) {
|
|
3474
|
+
q(this, "path");
|
|
3475
|
+
q(this, "handler");
|
|
3476
|
+
this.path = t, this.handler = n;
|
|
3469
3477
|
}
|
|
3470
3478
|
}
|
|
3471
|
-
const
|
|
3479
|
+
const M5 = "$off";
|
|
3472
3480
|
export {
|
|
3473
|
-
|
|
3474
|
-
|
|
3475
|
-
|
|
3476
|
-
|
|
3477
|
-
|
|
3478
|
-
|
|
3479
|
-
|
|
3480
|
-
|
|
3481
|
-
|
|
3482
|
-
|
|
3483
|
-
|
|
3484
|
-
|
|
3485
|
-
|
|
3486
|
-
|
|
3487
|
-
|
|
3488
|
-
|
|
3489
|
-
|
|
3490
|
-
|
|
3491
|
-
|
|
3492
|
-
|
|
3493
|
-
|
|
3494
|
-
|
|
3495
|
-
|
|
3496
|
-
|
|
3497
|
-
|
|
3498
|
-
|
|
3499
|
-
|
|
3500
|
-
|
|
3501
|
-
|
|
3502
|
-
|
|
3503
|
-
|
|
3504
|
-
|
|
3505
|
-
|
|
3506
|
-
|
|
3507
|
-
|
|
3508
|
-
|
|
3509
|
-
|
|
3510
|
-
|
|
3511
|
-
|
|
3512
|
-
|
|
3481
|
+
Ce as Clock,
|
|
3482
|
+
L6 as DaysOfWeek,
|
|
3483
|
+
u5 as ErrorBox,
|
|
3484
|
+
F8 as IconButton,
|
|
3485
|
+
H8 as IconMultiAlert,
|
|
3486
|
+
K8 as IconMultiBan,
|
|
3487
|
+
G8 as IconMultiCamera,
|
|
3488
|
+
q8 as IconMultiCheck,
|
|
3489
|
+
Y8 as IconMultiController,
|
|
3490
|
+
z8 as IconMultiDownArrow,
|
|
3491
|
+
J8 as IconMultiElipses,
|
|
3492
|
+
X8 as IconMultiFlag,
|
|
3493
|
+
Q8 as IconMultiGear,
|
|
3494
|
+
N8 as IconMultiGlass,
|
|
3495
|
+
e6 as IconMultiHdmi,
|
|
3496
|
+
t6 as IconMultiLaptop,
|
|
3497
|
+
s6 as IconMultiLeftArrow,
|
|
3498
|
+
n6 as IconMultiLight,
|
|
3499
|
+
Z6 as IconMultiMic,
|
|
3500
|
+
o6 as IconMultiMoon,
|
|
3501
|
+
c6 as IconMultiPlaystation,
|
|
3502
|
+
r6 as IconMultiPodium,
|
|
3503
|
+
l6 as IconMultiPower,
|
|
3504
|
+
i6 as IconMultiPrivacy,
|
|
3505
|
+
a6 as IconMultiQuestion,
|
|
3506
|
+
u6 as IconMultiRightArrow,
|
|
3507
|
+
d6 as IconMultiRoomPC,
|
|
3508
|
+
v6 as IconMultiShade,
|
|
3509
|
+
h6 as IconMultiSun,
|
|
3510
|
+
d5 as IconMultiTemplate,
|
|
3511
|
+
g6 as IconMultiUpArrow,
|
|
3512
|
+
f6 as IconMultiVolDown,
|
|
3513
|
+
p6 as IconMultiVolMute,
|
|
3514
|
+
w6 as IconMultiVolUp,
|
|
3515
|
+
x6 as IconMultiWireless,
|
|
3516
|
+
M6 as IconMultiX,
|
|
3517
|
+
m6 as IconMultiXbox,
|
|
3518
|
+
h5 as MainLayout,
|
|
3519
|
+
x5 as MessageHandler,
|
|
3520
|
+
me as MobileControlProvider,
|
|
3513
3521
|
j as MultiStateIconContainer,
|
|
3514
|
-
|
|
3515
|
-
|
|
3516
|
-
|
|
3517
|
-
|
|
3518
|
-
|
|
3519
|
-
|
|
3522
|
+
v5 as NamedIconButton,
|
|
3523
|
+
p5 as ShareState,
|
|
3524
|
+
g5 as TechLayout,
|
|
3525
|
+
f5 as TechPinLayout,
|
|
3526
|
+
R3 as WebsocketContext,
|
|
3527
|
+
M8 as appConfigActions,
|
|
3520
3528
|
N as devicesActions,
|
|
3521
|
-
|
|
3529
|
+
w5 as getBaseLocation,
|
|
3522
3530
|
V1 as httpClient,
|
|
3523
|
-
|
|
3524
|
-
|
|
3531
|
+
j6 as iconsDictionary,
|
|
3532
|
+
M5 as roomOffSourceKey,
|
|
3525
3533
|
e1 as roomsActions,
|
|
3526
3534
|
W as runtimeConfigActions,
|
|
3527
|
-
|
|
3535
|
+
j3 as selectAllDevices,
|
|
3528
3536
|
x2 as selectApiPath,
|
|
3529
3537
|
w2 as selectAppConfig,
|
|
3530
3538
|
Y2 as selectClientId,
|
|
@@ -3532,6 +3540,7 @@ export {
|
|
|
3532
3540
|
j2 as selectDeviceByKey,
|
|
3533
3541
|
t8 as selectDeviceInterfaceSupport,
|
|
3534
3542
|
a8 as selectError,
|
|
3543
|
+
v8 as selectIsSyncStateValuePresent,
|
|
3535
3544
|
e8 as selectIsTouchpanel,
|
|
3536
3545
|
M2 as selectLogoPath,
|
|
3537
3546
|
U1 as selectModalVisibility,
|
|
@@ -3540,7 +3549,7 @@ export {
|
|
|
3540
3549
|
P2 as selectRoomAudioControlPointList,
|
|
3541
3550
|
b2 as selectRoomByKey,
|
|
3542
3551
|
$2 as selectRoomCodecContentDestinationKey,
|
|
3543
|
-
|
|
3552
|
+
S2 as selectRoomConfiguration,
|
|
3544
3553
|
_2 as selectRoomDestinationList,
|
|
3545
3554
|
T2 as selectRoomDestinations,
|
|
3546
3555
|
F2 as selectRoomDisplayStates,
|
|
@@ -3556,7 +3565,7 @@ export {
|
|
|
3556
3565
|
U2 as selectRoomShareState,
|
|
3557
3566
|
E2 as selectRoomSourceList,
|
|
3558
3567
|
R2 as selectRoomVolume,
|
|
3559
|
-
|
|
3568
|
+
C2 as selectRooms,
|
|
3560
3569
|
Q2 as selectRuntimeInfo,
|
|
3561
3570
|
X2 as selectServerIsRunningOnProcessorHardware,
|
|
3562
3571
|
i8 as selectShowPopoverById,
|
|
@@ -3568,103 +3577,105 @@ export {
|
|
|
3568
3577
|
G2 as selectWsIsConnected,
|
|
3569
3578
|
W2 as selectZoomRoomControllerKey,
|
|
3570
3579
|
m as store,
|
|
3571
|
-
|
|
3572
|
-
|
|
3573
|
-
|
|
3580
|
+
F as uiActions,
|
|
3581
|
+
w8 as uiReducer,
|
|
3582
|
+
U6 as useApiPath,
|
|
3574
3583
|
Z2 as useAppConfig,
|
|
3575
|
-
|
|
3584
|
+
m3 as useAppDispatch,
|
|
3576
3585
|
p as useAppSelector,
|
|
3577
|
-
|
|
3586
|
+
je as useAvrControl,
|
|
3578
3587
|
h as useButtonHeldHeartbeat,
|
|
3579
|
-
|
|
3580
|
-
|
|
3581
|
-
|
|
3582
|
-
|
|
3583
|
-
|
|
3584
|
-
|
|
3585
|
-
|
|
3586
|
-
|
|
3587
|
-
|
|
3588
|
-
|
|
3589
|
-
|
|
3588
|
+
Se as useCameraBase,
|
|
3589
|
+
n8 as useClientId,
|
|
3590
|
+
O8 as useDeviceIBasicVolumeWithFeedback,
|
|
3591
|
+
he as useDeviceInterfaceSupport,
|
|
3592
|
+
be as useDevicePresetsModel,
|
|
3593
|
+
Ie as useEndpoint,
|
|
3594
|
+
h8 as useError,
|
|
3595
|
+
n5 as useGetAllDeviceStateFromRoomConfiguration,
|
|
3596
|
+
H6 as useGetAllDevices,
|
|
3597
|
+
G6 as useGetAllRooms,
|
|
3598
|
+
we as useGetCurrentPopoverIdForGroup,
|
|
3590
3599
|
y as useGetDevice,
|
|
3591
|
-
|
|
3592
|
-
|
|
3593
|
-
|
|
3594
|
-
|
|
3595
|
-
|
|
3596
|
-
|
|
3597
|
-
|
|
3598
|
-
|
|
3599
|
-
|
|
3600
|
-
|
|
3601
|
-
|
|
3602
|
-
|
|
3603
|
-
|
|
3604
|
-
|
|
3605
|
-
|
|
3600
|
+
Ze as useGetIBasicVolumeWithFeedback,
|
|
3601
|
+
q6 as useGetRoom,
|
|
3602
|
+
ie as useGetRoomDisplayStates,
|
|
3603
|
+
ae as useGetZoomRoomControllerKey,
|
|
3604
|
+
y3 as useIBasicVolumeWithFeedback,
|
|
3605
|
+
Re as useIChannel,
|
|
3606
|
+
ye as useIColor,
|
|
3607
|
+
Ee as useICommunicationMonitor,
|
|
3608
|
+
Te as useIDPad,
|
|
3609
|
+
Pe as useIDeviceInfoMessenger,
|
|
3610
|
+
_e as useIDspPresets,
|
|
3611
|
+
De as useIDvr,
|
|
3612
|
+
Le as useIEssentialsRoomCombiner,
|
|
3613
|
+
$e as useIHasCameras,
|
|
3614
|
+
E3 as useIHasPowerControl,
|
|
3606
3615
|
k1 as useIHasSelectableItems,
|
|
3607
|
-
|
|
3608
|
-
|
|
3609
|
-
|
|
3610
|
-
|
|
3611
|
-
|
|
3612
|
-
|
|
3613
|
-
|
|
3614
|
-
|
|
3615
|
-
|
|
3616
|
-
|
|
3617
|
-
|
|
3618
|
-
|
|
3619
|
-
|
|
3620
|
-
|
|
3621
|
-
|
|
3622
|
-
|
|
3623
|
-
|
|
3624
|
-
|
|
3625
|
-
|
|
3626
|
-
|
|
3627
|
-
|
|
3628
|
-
|
|
3629
|
-
|
|
3630
|
-
|
|
3631
|
-
|
|
3632
|
-
|
|
3633
|
-
|
|
3634
|
-
|
|
3635
|
-
|
|
3636
|
-
|
|
3637
|
-
|
|
3638
|
-
|
|
3639
|
-
X6 as
|
|
3640
|
-
|
|
3641
|
-
|
|
3642
|
-
se as
|
|
3643
|
-
oe as
|
|
3644
|
-
|
|
3616
|
+
Ae as useIHumiditySensor,
|
|
3617
|
+
Be as useILevelControls,
|
|
3618
|
+
Oe as useILightingScenes,
|
|
3619
|
+
Ve as useIMatrixRouting,
|
|
3620
|
+
ke as useIMcCiscoCodecUserInterfaceAppControl,
|
|
3621
|
+
Ue as useINumeric,
|
|
3622
|
+
We as useIProjectorScreenLiftControl,
|
|
3623
|
+
Fe as useIRoomEventSchedule,
|
|
3624
|
+
He as useIRunDefaultPresentRoute,
|
|
3625
|
+
Ke as useIRunDirectRouteAction,
|
|
3626
|
+
Ge as useIRunRouteAction,
|
|
3627
|
+
qe as useISetTopBoxControls,
|
|
3628
|
+
Ye as useIShadesOpenCloseStop,
|
|
3629
|
+
ze as useIShutdownPromptTimer,
|
|
3630
|
+
Je as useISwitchedOutput,
|
|
3631
|
+
Xe as useITechPassword,
|
|
3632
|
+
Qe as useITemperatureSensor,
|
|
3633
|
+
Ne as useITheme,
|
|
3634
|
+
e5 as useITransport,
|
|
3635
|
+
I8 as useInitialize,
|
|
3636
|
+
f8 as useIsSyncStateValuePresent,
|
|
3637
|
+
ve as useIsTouchpanel,
|
|
3638
|
+
W6 as useLogoPath,
|
|
3639
|
+
t5 as useMobileControlTouchpanelController,
|
|
3640
|
+
o5 as useOverflow,
|
|
3641
|
+
F6 as usePartnerMetadata,
|
|
3642
|
+
B8 as usePressHoldRelease,
|
|
3643
|
+
re as useRoomAdvancedSharingActive,
|
|
3644
|
+
J6 as useRoomAudioControlPointList,
|
|
3645
|
+
te as useRoomCodecContentDestinationKey,
|
|
3646
|
+
K6 as useRoomConfiguration,
|
|
3647
|
+
Q6 as useRoomDestinationList,
|
|
3648
|
+
X6 as useRoomDestinations,
|
|
3649
|
+
N6 as useRoomEnvironmentalDevices,
|
|
3650
|
+
c5 as useRoomIBasicVolumeWithFeedback,
|
|
3651
|
+
se as useRoomInCall,
|
|
3652
|
+
oe as useRoomIsCoolingDown,
|
|
3653
|
+
ce as useRoomIsOn,
|
|
3654
|
+
ne as useRoomIsWarmingUp,
|
|
3645
3655
|
s8 as useRoomKey,
|
|
3646
3656
|
K2 as useRoomLevelControls,
|
|
3647
|
-
|
|
3648
|
-
|
|
3649
|
-
|
|
3650
|
-
|
|
3651
|
-
|
|
3657
|
+
Y6 as useRoomName,
|
|
3658
|
+
ee as useRoomProgramAudioDestinationKey,
|
|
3659
|
+
le as useRoomShareState,
|
|
3660
|
+
z6 as useRoomSourceList,
|
|
3661
|
+
S1 as useRoomState,
|
|
3652
3662
|
H2 as useRoomVolume,
|
|
3653
|
-
|
|
3654
|
-
|
|
3663
|
+
ue as useRuntimeInfo,
|
|
3664
|
+
r5 as useScroll,
|
|
3655
3665
|
r8 as useServerIsRunningOnProcessorHardware,
|
|
3656
|
-
|
|
3657
|
-
|
|
3658
|
-
|
|
3659
|
-
|
|
3660
|
-
|
|
3661
|
-
|
|
3662
|
-
|
|
3663
|
-
|
|
3664
|
-
|
|
3665
|
-
|
|
3666
|
-
|
|
3666
|
+
fe as useShowIncomingCallModal,
|
|
3667
|
+
pe as useShowModal,
|
|
3668
|
+
xe as useShowPopoverById,
|
|
3669
|
+
g8 as useShowReconnect,
|
|
3670
|
+
ge as useShowShutdownModal,
|
|
3671
|
+
l5 as useStateIsSynced,
|
|
3672
|
+
i5 as useSystemControl,
|
|
3673
|
+
o8 as useSystemUuid,
|
|
3674
|
+
Me as useTheme,
|
|
3675
|
+
a5 as useTimeAndDate,
|
|
3676
|
+
de as useTouchpanelKey,
|
|
3677
|
+
s5 as useTwoWayDisplayBase,
|
|
3667
3678
|
c8 as useUserCode,
|
|
3668
3679
|
b as useWebsocketContext,
|
|
3669
|
-
|
|
3680
|
+
S3 as useWsIsConnected
|
|
3670
3681
|
};
|