@pepperdash/mobile-control-react-app-core 1.22.5 → 1.22.6-volume-hook-fix.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/mobile-control-react-app-core.es.js +714 -710
- package/dist/mobile-control-react-app-core.umd.js +8 -8
- package/dist/shared/hooks/interfaces/useIBasicVolume.d.ts.map +1 -1
- package/dist/shared/hooks/interfaces/useIBasicVolumeWithFeedback.d.ts +3 -0
- package/dist/shared/hooks/interfaces/useIBasicVolumeWithFeedback.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,140 +1,140 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var q = (e, t, o) =>
|
|
4
|
-
import
|
|
5
|
-
import { useDispatch as
|
|
6
|
-
import { createSelector as p, createSlice as a1, combineReducers as
|
|
7
|
-
import
|
|
8
|
-
import { useNavigate as
|
|
9
|
-
import * as
|
|
10
|
-
const
|
|
11
|
-
|
|
1
|
+
var w2 = Object.defineProperty;
|
|
2
|
+
var p2 = (e, t, o) => t in e ? w2(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o;
|
|
3
|
+
var q = (e, t, o) => p2(e, typeof t != "symbol" ? t + "" : t, o);
|
|
4
|
+
import M3, { AxiosError as m2 } from "axios";
|
|
5
|
+
import { useDispatch as M2, useSelector as x2, Provider as Z2 } from "react-redux";
|
|
6
|
+
import { createSelector as p, createSlice as a1, combineReducers as S2, configureStore as j2 } from "@reduxjs/toolkit";
|
|
7
|
+
import x3, { createContext as C2, useEffect as m1, useCallback as c1, useContext as b2, useRef as A1, useMemo as M1, useState as Y, useLayoutEffect as Z3 } from "react";
|
|
8
|
+
import { useNavigate as y2, useRouteError as I2, isRouteErrorResponse as R2 } from "react-router-dom";
|
|
9
|
+
import * as S3 from "lodash";
|
|
10
|
+
const W1 = M2.withTypes(), f = x2.withTypes(), x1 = (e) => e.appConfig, E2 = p(
|
|
11
|
+
x1,
|
|
12
12
|
(e) => e.config
|
|
13
|
-
), E2 = p(
|
|
14
|
-
M1,
|
|
15
|
-
(e) => e.config.apiPath
|
|
16
13
|
), T2 = p(
|
|
17
|
-
|
|
18
|
-
(e) => e.config.
|
|
14
|
+
x1,
|
|
15
|
+
(e) => e.config.apiPath
|
|
19
16
|
), D2 = p(
|
|
20
|
-
|
|
17
|
+
x1,
|
|
18
|
+
(e) => e.config.logoPath
|
|
19
|
+
), _2 = p(
|
|
20
|
+
x1,
|
|
21
21
|
(e) => e.config.partnerMetadata
|
|
22
|
-
),
|
|
23
|
-
|
|
22
|
+
), X8 = () => f(E2), Q8 = () => f(T2), N8 = () => f(D2), e6 = () => f(_2), j3 = (e) => e.devices, C3 = p(
|
|
23
|
+
j3,
|
|
24
24
|
(e) => e
|
|
25
|
-
),
|
|
26
|
-
|
|
25
|
+
), P2 = (e) => p(
|
|
26
|
+
j3,
|
|
27
27
|
(t) => t[e] ? t[e] : void 0
|
|
28
|
-
),
|
|
28
|
+
), t6 = () => f(C3);
|
|
29
29
|
function _(e) {
|
|
30
|
-
return f(
|
|
30
|
+
return f(P2(e));
|
|
31
31
|
}
|
|
32
|
-
const A = (e) => e.rooms,
|
|
32
|
+
const A = (e) => e.rooms, L2 = (e) => p(
|
|
33
33
|
A,
|
|
34
34
|
(t) => t[e] ? t[e].configuration : void 0
|
|
35
|
-
),
|
|
35
|
+
), $2 = p(
|
|
36
36
|
A,
|
|
37
37
|
(e) => e
|
|
38
|
-
),
|
|
38
|
+
), A2 = (e) => p(
|
|
39
39
|
A,
|
|
40
40
|
(t) => t[e] ? t[e] : void 0
|
|
41
|
-
),
|
|
41
|
+
), B2 = (e) => p(
|
|
42
42
|
A,
|
|
43
43
|
(t) => t[e] ? t[e].name : void 0
|
|
44
|
-
),
|
|
44
|
+
), k2 = (e, t) => p(
|
|
45
45
|
A,
|
|
46
46
|
(o) => o[e] ? o[e].volumes[t] : void 0
|
|
47
|
-
),
|
|
47
|
+
), O2 = (e) => p(
|
|
48
48
|
A,
|
|
49
49
|
(t) => t[e] ? t[e] : void 0
|
|
50
|
-
),
|
|
50
|
+
), W2 = (e) => p(
|
|
51
51
|
A,
|
|
52
52
|
(t) => {
|
|
53
53
|
var o, c;
|
|
54
54
|
return t[e] ? (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.sourceList : void 0;
|
|
55
55
|
}
|
|
56
|
-
),
|
|
56
|
+
), V2 = (e) => p(
|
|
57
57
|
A,
|
|
58
58
|
(t) => {
|
|
59
59
|
var o, c;
|
|
60
60
|
return t[e] ? (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.audioControlPointList : void 0;
|
|
61
61
|
}
|
|
62
|
-
),
|
|
62
|
+
), U2 = (e) => p(
|
|
63
63
|
A,
|
|
64
64
|
(t) => {
|
|
65
65
|
var o, c;
|
|
66
66
|
return t[e] ? (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.destinations : void 0;
|
|
67
67
|
}
|
|
68
|
-
),
|
|
68
|
+
), H2 = (e) => p(
|
|
69
69
|
A,
|
|
70
70
|
(t) => {
|
|
71
71
|
var o, c;
|
|
72
72
|
return t[e] ? (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.destinationList : void 0;
|
|
73
73
|
}
|
|
74
|
-
),
|
|
74
|
+
), F2 = (e) => p(
|
|
75
75
|
A,
|
|
76
76
|
(t) => {
|
|
77
77
|
var o, c;
|
|
78
78
|
return t[e] ? (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.environmentalDevices : void 0;
|
|
79
79
|
}
|
|
80
|
-
),
|
|
80
|
+
), K2 = (e) => p(
|
|
81
81
|
A,
|
|
82
82
|
(t) => {
|
|
83
83
|
var o, c, r, i, v, u, h, m;
|
|
84
84
|
return (c = (o = t[e]) == null ? void 0 : o.configuration) != null && c.destinationList.programAudio ? (v = (i = (r = t[e]) == null ? void 0 : r.configuration) == null ? void 0 : i.destinationList.programAudio) == null ? void 0 : v.sinkKey : ((m = (h = (u = t[e]) == null ? void 0 : u.configuration) == null ? void 0 : h.destinationList.defaultDisplay) == null ? void 0 : m.sinkKey) || "";
|
|
85
85
|
}
|
|
86
|
-
),
|
|
86
|
+
), q2 = (e) => p(
|
|
87
87
|
A,
|
|
88
88
|
(t) => {
|
|
89
89
|
var o, c, r;
|
|
90
90
|
return t[e] ? (r = (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.destinationList.codecContent) == null ? void 0 : r.sinkKey : void 0;
|
|
91
91
|
}
|
|
92
|
-
),
|
|
92
|
+
), G2 = (e) => p(
|
|
93
93
|
A,
|
|
94
94
|
(t) => {
|
|
95
95
|
var o;
|
|
96
96
|
return t[e] ? (o = t[e]) == null ? void 0 : o.isInCall : void 0;
|
|
97
97
|
}
|
|
98
|
-
),
|
|
98
|
+
), Y2 = (e) => p(
|
|
99
99
|
A,
|
|
100
100
|
(t) => {
|
|
101
101
|
var o;
|
|
102
102
|
return t[e] ? (o = t[e]) == null ? void 0 : o.isWarmingUp : void 0;
|
|
103
103
|
}
|
|
104
|
-
),
|
|
104
|
+
), z2 = (e) => p(
|
|
105
105
|
A,
|
|
106
106
|
(t) => {
|
|
107
107
|
var o;
|
|
108
108
|
return t[e] ? (o = t[e]) == null ? void 0 : o.isCoolingDown : void 0;
|
|
109
109
|
}
|
|
110
|
-
),
|
|
110
|
+
), J2 = (e) => p(
|
|
111
111
|
A,
|
|
112
112
|
(t) => {
|
|
113
113
|
var o;
|
|
114
114
|
return t[e] ? (o = t[e]) == null ? void 0 : o.isOn : void 0;
|
|
115
115
|
}
|
|
116
|
-
),
|
|
116
|
+
), X2 = (e) => p(
|
|
117
117
|
A,
|
|
118
118
|
(t) => {
|
|
119
119
|
var o;
|
|
120
120
|
return t[e] ? (o = t[e]) == null ? void 0 : o.advancedSharingActive : void 0;
|
|
121
121
|
}
|
|
122
|
-
),
|
|
122
|
+
), Q2 = (e) => p(
|
|
123
123
|
A,
|
|
124
124
|
(t) => {
|
|
125
125
|
var o;
|
|
126
126
|
return t[e] ? (o = t[e]) == null ? void 0 : o.share : void 0;
|
|
127
127
|
}
|
|
128
|
-
),
|
|
128
|
+
), N2 = (e) => p(
|
|
129
129
|
A,
|
|
130
130
|
(t) => {
|
|
131
131
|
var o, c;
|
|
132
132
|
return t[e] ? (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.zoomRoomControllerKey : void 0;
|
|
133
133
|
}
|
|
134
|
-
),
|
|
134
|
+
), ee = p(
|
|
135
135
|
[
|
|
136
136
|
(e, t) => t,
|
|
137
|
-
() =>
|
|
137
|
+
() => C3,
|
|
138
138
|
(e, t) => {
|
|
139
139
|
var o, c;
|
|
140
140
|
return (c = (o = e.rooms[t]) == null ? void 0 : o.configuration) == null ? void 0 : c.destinations;
|
|
@@ -146,77 +146,77 @@ const A = (e) => e.rooms, P2 = (e) => p(
|
|
|
146
146
|
return Object.values(t).filter((i) => Object.values(c).includes(i.key));
|
|
147
147
|
}
|
|
148
148
|
);
|
|
149
|
-
function
|
|
149
|
+
function n6(e) {
|
|
150
150
|
return f(
|
|
151
|
-
|
|
151
|
+
L2(e)
|
|
152
152
|
);
|
|
153
153
|
}
|
|
154
|
-
function
|
|
155
|
-
return f(
|
|
154
|
+
function o6() {
|
|
155
|
+
return f($2);
|
|
156
156
|
}
|
|
157
|
-
function
|
|
158
|
-
return f(
|
|
157
|
+
function Z1(e) {
|
|
158
|
+
return f(A2(e));
|
|
159
159
|
}
|
|
160
|
-
const
|
|
161
|
-
|
|
162
|
-
),
|
|
163
|
-
|
|
164
|
-
),
|
|
160
|
+
const s6 = Z1, c6 = (e) => f(
|
|
161
|
+
B2(e)
|
|
162
|
+
), te = (e, t) => f(
|
|
163
|
+
k2(e, t)
|
|
164
|
+
), ne = (e) => f(O2(e)) || void 0, r6 = (e) => f(W2(e)), l6 = (e) => f(V2(e)), i6 = (e) => f(U2(e)), a6 = (e) => f(H2(e)), u6 = (e) => f(F2(e)), d6 = (e) => f(K2(e)), v6 = (e) => f(q2(e)), h6 = (e) => f(G2(e)), g6 = (e) => f(Y2(e)), f6 = (e) => f(z2(e)), w6 = (e) => f(J2(e)), p6 = (e) => f(X2(e)), m6 = (e) => f(Q2(e)), M6 = (e) => f((t) => ee(t, e)), x6 = (e) => f(N2(e)), G = (e) => e.runtimeConfig, oe = p(
|
|
165
165
|
G,
|
|
166
166
|
(e) => e.websocket.isConnected
|
|
167
|
-
),
|
|
167
|
+
), se = p(
|
|
168
168
|
G,
|
|
169
169
|
(e) => e.currentRoomKey
|
|
170
|
-
),
|
|
170
|
+
), ce = p(
|
|
171
171
|
G,
|
|
172
172
|
(e) => e.roomData.clientId
|
|
173
|
-
),
|
|
173
|
+
), re = p(
|
|
174
174
|
G,
|
|
175
175
|
(e) => e.roomData.systemUuid
|
|
176
|
-
),
|
|
176
|
+
), le = p(
|
|
177
177
|
G,
|
|
178
178
|
(e) => e.roomData.userCode
|
|
179
|
-
),
|
|
179
|
+
), ie = p(
|
|
180
180
|
G,
|
|
181
181
|
(e) => e.serverIsRunningOnProcessorHardware
|
|
182
|
-
),
|
|
182
|
+
), ae = p(
|
|
183
183
|
G,
|
|
184
184
|
(e) => {
|
|
185
185
|
var t;
|
|
186
186
|
return (t = e.roomData.config) == null ? void 0 : t.runtimeInfo;
|
|
187
187
|
}
|
|
188
|
-
),
|
|
188
|
+
), ue = p(
|
|
189
189
|
G,
|
|
190
190
|
(e) => e.touchpanelKey
|
|
191
|
-
),
|
|
191
|
+
), de = p(
|
|
192
192
|
G,
|
|
193
193
|
(e) => e.touchpanelKey !== ""
|
|
194
|
-
),
|
|
194
|
+
), b3 = p(
|
|
195
195
|
G,
|
|
196
196
|
(e) => e.roomData.deviceInterfaceSupport
|
|
197
|
-
),
|
|
198
|
-
|
|
197
|
+
), y3 = (e) => p(
|
|
198
|
+
b3,
|
|
199
199
|
(t) => {
|
|
200
200
|
var o;
|
|
201
201
|
return ((o = t == null ? void 0 : t[e]) == null ? void 0 : o.interfaces) ?? [];
|
|
202
202
|
}
|
|
203
|
-
),
|
|
204
|
-
|
|
203
|
+
), ve = (e, t) => p(
|
|
204
|
+
y3(e),
|
|
205
205
|
(o) => o.includes(t)
|
|
206
|
-
),
|
|
206
|
+
), I3 = () => f(oe), Z6 = () => f(se), S6 = () => f(ce), j6 = () => f(re), C6 = () => f(le), b6 = () => f(ie), y6 = () => f(ae), I6 = () => f(ue), R6 = () => f(de), E6 = () => f(b3), T6 = (e) => f(y3(e)), D6 = (e, t) => f(ve(e, t)), N = (e) => e.ui, V1 = (e) => p(N, (t) => t.modalVisibility[e]), he = (e) => p(N, (t) => {
|
|
207
207
|
const o = t.popoverVisibility[e];
|
|
208
208
|
if (o)
|
|
209
209
|
return Object.keys(o).find((c) => o[c]);
|
|
210
|
-
}),
|
|
210
|
+
}), ge = (e, t) => p(
|
|
211
211
|
N,
|
|
212
212
|
(o) => {
|
|
213
213
|
var c;
|
|
214
214
|
return ((c = o.popoverVisibility[e]) == null ? void 0 : c[t]) ?? !1;
|
|
215
215
|
}
|
|
216
|
-
),
|
|
216
|
+
), fe = p(N, (e) => e.error), we = p(
|
|
217
217
|
N,
|
|
218
218
|
(e) => e.showReconnect
|
|
219
|
-
),
|
|
219
|
+
), pe = p(N, (e) => e.theme), me = (e) => p(N, (t) => t.syncState.includes(e)), _6 = () => f(V1("showShutdownModal")), P6 = () => f(V1("showIncomingCallModal")), L6 = (e) => f(V1(e)), $6 = (e) => f(he(e)), A6 = (e, t) => f(ge(e, t)), Me = () => f(fe), xe = () => f(we), B6 = () => f(pe), Ze = (e) => f(me(e)), Se = {
|
|
220
220
|
showReconnect: !1,
|
|
221
221
|
error: "",
|
|
222
222
|
modalVisibility: {
|
|
@@ -225,9 +225,9 @@ const o6 = x1, s6 = (e) => f(
|
|
|
225
225
|
},
|
|
226
226
|
popoverVisibility: {},
|
|
227
227
|
syncState: []
|
|
228
|
-
},
|
|
228
|
+
}, R3 = a1({
|
|
229
229
|
name: "ui",
|
|
230
|
-
initialState:
|
|
230
|
+
initialState: Se,
|
|
231
231
|
reducers: {
|
|
232
232
|
clearAllModals(e) {
|
|
233
233
|
Object.entries(e.modalVisibility).forEach(([t]) => {
|
|
@@ -271,7 +271,7 @@ const o6 = x1, s6 = (e) => f(
|
|
|
271
271
|
e.syncState = [];
|
|
272
272
|
}
|
|
273
273
|
}
|
|
274
|
-
}), O =
|
|
274
|
+
}), O = R3.actions, je = R3.reducer, Ce = {
|
|
275
275
|
config: {
|
|
276
276
|
enableDev: !1,
|
|
277
277
|
apiPath: "",
|
|
@@ -281,33 +281,33 @@ const o6 = x1, s6 = (e) => f(
|
|
|
281
281
|
loginMode: "",
|
|
282
282
|
modes: {}
|
|
283
283
|
}
|
|
284
|
-
},
|
|
284
|
+
}, E3 = a1({
|
|
285
285
|
name: "appConfig",
|
|
286
|
-
initialState:
|
|
286
|
+
initialState: Ce,
|
|
287
287
|
reducers: {
|
|
288
288
|
setAppConfig(e, t) {
|
|
289
289
|
e.config = t.payload;
|
|
290
290
|
}
|
|
291
291
|
}
|
|
292
|
-
}),
|
|
292
|
+
}), T3 = E3.actions, be = E3.reducer, v3 = {}, B1 = a1({
|
|
293
293
|
name: "devices",
|
|
294
|
-
initialState:
|
|
294
|
+
initialState: v3,
|
|
295
295
|
reducers: {
|
|
296
296
|
setDeviceState(e, t) {
|
|
297
297
|
const o = t.payload.type, c = o.slice(o.lastIndexOf("/") + 1);
|
|
298
298
|
if (!c) return;
|
|
299
|
-
const r = t.payload.content, i = e[c] ?? {}, v =
|
|
299
|
+
const r = t.payload.content, i = e[c] ?? {}, v = S3.merge(i, r);
|
|
300
300
|
e[c] = v;
|
|
301
301
|
},
|
|
302
302
|
clearDevices() {
|
|
303
|
-
return
|
|
303
|
+
return v3;
|
|
304
304
|
}
|
|
305
305
|
}
|
|
306
306
|
}), g1 = {
|
|
307
|
-
setDeviceState:
|
|
308
|
-
clearDevices:
|
|
309
|
-
},
|
|
310
|
-
class
|
|
307
|
+
setDeviceState: B1.actions.setDeviceState,
|
|
308
|
+
clearDevices: B1.actions.clearDevices
|
|
309
|
+
}, ye = B1.reducer;
|
|
310
|
+
class Ie {
|
|
311
311
|
constructor() {
|
|
312
312
|
q(this, "uuid", "current-uuid");
|
|
313
313
|
q(this, "roomKey", "current-room-key");
|
|
@@ -315,31 +315,31 @@ class ye {
|
|
|
315
315
|
q(this, "expiry", "current-uuid-expires");
|
|
316
316
|
}
|
|
317
317
|
}
|
|
318
|
-
const
|
|
319
|
-
function
|
|
318
|
+
const h3 = new Ie();
|
|
319
|
+
function Re(e) {
|
|
320
320
|
return sessionStorage.getItem(e) || "";
|
|
321
321
|
}
|
|
322
|
-
function
|
|
322
|
+
function Ee(e, t) {
|
|
323
323
|
sessionStorage.setItem(e, t);
|
|
324
324
|
}
|
|
325
|
-
const
|
|
325
|
+
const g3 = {}, k1 = a1({
|
|
326
326
|
name: "rooms",
|
|
327
|
-
initialState:
|
|
327
|
+
initialState: g3,
|
|
328
328
|
reducers: {
|
|
329
329
|
setRoomState(e, t) {
|
|
330
330
|
const o = t.payload.type, c = o.slice(o.lastIndexOf("/") + 1);
|
|
331
331
|
if (!c) return;
|
|
332
|
-
const r = t.payload.content, i = e[c] ?? {}, v =
|
|
332
|
+
const r = t.payload.content, i = e[c] ?? {}, v = S3.merge(i, r);
|
|
333
333
|
e[c] = v;
|
|
334
334
|
},
|
|
335
335
|
clearRooms() {
|
|
336
|
-
return
|
|
336
|
+
return g3;
|
|
337
337
|
}
|
|
338
338
|
}
|
|
339
339
|
}), f1 = {
|
|
340
|
-
setRoomState:
|
|
341
|
-
clearRooms:
|
|
342
|
-
},
|
|
340
|
+
setRoomState: k1.actions.setRoomState,
|
|
341
|
+
clearRooms: k1.actions.clearRooms
|
|
342
|
+
}, Te = k1.reducer, De = {
|
|
343
343
|
apiVersion: "",
|
|
344
344
|
serverIsRunningOnProcessorHardware: !1,
|
|
345
345
|
websocket: {
|
|
@@ -370,9 +370,9 @@ const h3 = {}, B1 = a1({
|
|
|
370
370
|
userCode: "",
|
|
371
371
|
qrUrl: ""
|
|
372
372
|
}
|
|
373
|
-
},
|
|
373
|
+
}, D3 = a1({
|
|
374
374
|
name: "runtimeConfig",
|
|
375
|
-
initialState:
|
|
375
|
+
initialState: De,
|
|
376
376
|
reducers: {
|
|
377
377
|
setRuntimeConfig(e, t) {
|
|
378
378
|
e.apiVersion = t.payload.apiVersion, e.serverIsRunningOnProcessorHardware = t.payload.serverIsRunningOnProcessorHardware;
|
|
@@ -405,16 +405,16 @@ const h3 = {}, B1 = a1({
|
|
|
405
405
|
e.touchpanelKey = t.payload;
|
|
406
406
|
}
|
|
407
407
|
}
|
|
408
|
-
}), U =
|
|
409
|
-
type: P3,
|
|
410
|
-
payload: { messageType: e, content: t }
|
|
411
|
-
}), Pe = (e, t, o) => ({
|
|
408
|
+
}), U = D3.actions, _e = D3.reducer, P1 = M3.create(), _3 = "websocket/connect", P3 = "websocket/disconnect", L3 = "websocket/sendMessage", $3 = "websocket/addEventHandler", A3 = "websocket/removeEventHandler", B3 = "websocket/reconnect", k3 = () => ({ type: _3 }), k6 = () => ({ type: P3 }), Pe = (e, t) => ({
|
|
412
409
|
type: L3,
|
|
413
|
-
payload: {
|
|
414
|
-
}), Le = (e, t) => ({
|
|
410
|
+
payload: { messageType: e, content: t }
|
|
411
|
+
}), Le = (e, t, o) => ({
|
|
415
412
|
type: $3,
|
|
413
|
+
payload: { eventType: e, key: t, callback: o }
|
|
414
|
+
}), $e = (e, t) => ({
|
|
415
|
+
type: A3,
|
|
416
416
|
payload: { eventType: e, key: t }
|
|
417
|
-
}),
|
|
417
|
+
}), Ae = () => ({ type: B3 }), Be = () => {
|
|
418
418
|
const e = {
|
|
419
419
|
client: null,
|
|
420
420
|
token: null,
|
|
@@ -425,14 +425,14 @@ const h3 = {}, B1 = a1({
|
|
|
425
425
|
try {
|
|
426
426
|
const Z = location.pathname.split("/").filter((b) => b.length > 0);
|
|
427
427
|
Z.length >= 5 ? Z.length = 5 : Z.length = 2;
|
|
428
|
-
const j = `/${Z.join("/")}`, C = await
|
|
428
|
+
const j = `/${Z.join("/")}`, C = await P1.get(
|
|
429
429
|
"/_local-config/_config.local.json",
|
|
430
430
|
{ baseURL: j }
|
|
431
431
|
);
|
|
432
432
|
if (C.status === 200 && C.data) {
|
|
433
433
|
const b = C.data.apiPath;
|
|
434
|
-
a(
|
|
435
|
-
const x = await
|
|
434
|
+
a(T3.setAppConfig(C.data));
|
|
435
|
+
const x = await P1.get(
|
|
436
436
|
`${b}/version`
|
|
437
437
|
);
|
|
438
438
|
x.status === 200 && x.data && a(U.setRuntimeConfig(x.data));
|
|
@@ -443,12 +443,12 @@ const h3 = {}, B1 = a1({
|
|
|
443
443
|
return !0;
|
|
444
444
|
}, o = async (a, Z, j) => {
|
|
445
445
|
try {
|
|
446
|
-
const C = await
|
|
446
|
+
const C = await P1.get(
|
|
447
447
|
`${a}/ui/joinroom?token=${Z}`
|
|
448
448
|
);
|
|
449
449
|
return C.status === 200 && C.data ? (j(U.setRoomData(C.data)), !0) : !1;
|
|
450
450
|
} catch (C) {
|
|
451
|
-
return console.log(C), C instanceof
|
|
451
|
+
return console.log(C), C instanceof m2 && C.response && C.response.status === 498 ? (console.error("Invalid token. Unable to join room"), j(
|
|
452
452
|
O.setErrorMessage(
|
|
453
453
|
`Token ${Z} is invalid. Unable to join room`
|
|
454
454
|
)
|
|
@@ -456,7 +456,7 @@ const h3 = {}, B1 = a1({
|
|
|
456
456
|
}
|
|
457
457
|
}, c = (a) => {
|
|
458
458
|
e.reconnectTimer && (clearTimeout(e.reconnectTimer), e.reconnectTimer = null), console.log("WebSocket middleware: Starting reconnection loop..."), e.reconnectTimer = setTimeout(() => {
|
|
459
|
-
e.waitingToReconnect = !1, e.reconnectTimer = null, console.log("WebSocket middleware: Attempting automatic reconnection..."), a(
|
|
459
|
+
e.waitingToReconnect = !1, e.reconnectTimer = null, console.log("WebSocket middleware: Attempting automatic reconnection..."), a(k3());
|
|
460
460
|
}, 5e3);
|
|
461
461
|
}, r = () => {
|
|
462
462
|
e.reconnectTimer && (console.log("WebSocket middleware: Stopping reconnection loop"), clearTimeout(e.reconnectTimer), e.reconnectTimer = null);
|
|
@@ -511,7 +511,7 @@ const h3 = {}, B1 = a1({
|
|
|
511
511
|
return;
|
|
512
512
|
}
|
|
513
513
|
console.log("WebSocket middleware: Connecting to websocket");
|
|
514
|
-
const
|
|
514
|
+
const j1 = `${C.replace("http", "ws")}/ui/join/${e.token}`, K = new WebSocket(j1);
|
|
515
515
|
e.client = K, K.onopen = (B) => {
|
|
516
516
|
console.log("WebSocket middleware: Connected", B.type, B.target), e.waitingToReconnect = !1, r(), setTimeout(() => {
|
|
517
517
|
e.client === K && K.readyState === WebSocket.OPEN && a(U.setWebsocketIsConnected(!0));
|
|
@@ -633,10 +633,10 @@ const h3 = {}, B1 = a1({
|
|
|
633
633
|
), z && Object.values(z).forEach((n1) => {
|
|
634
634
|
try {
|
|
635
635
|
n1(D);
|
|
636
|
-
} catch (
|
|
636
|
+
} catch (C1) {
|
|
637
637
|
console.error(
|
|
638
638
|
"WebSocket middleware: Event handler error",
|
|
639
|
-
|
|
639
|
+
C1
|
|
640
640
|
);
|
|
641
641
|
}
|
|
642
642
|
});
|
|
@@ -674,35 +674,35 @@ const h3 = {}, B1 = a1({
|
|
|
674
674
|
const b = j;
|
|
675
675
|
return (async () => {
|
|
676
676
|
switch (b.type) {
|
|
677
|
-
case
|
|
677
|
+
case _3: {
|
|
678
678
|
let W = new URLSearchParams(window.location.search).get("token");
|
|
679
|
-
W ? (console.log("WebSocket middleware: Saving token"),
|
|
679
|
+
W ? (console.log("WebSocket middleware: Saving token"), Ee(h3.uuid, W)) : (W = Re(h3.uuid), console.log("WebSocket middleware: Loading token")), e.token = W, await t(a.dispatch), await u(a.dispatch, a.getState);
|
|
680
680
|
break;
|
|
681
681
|
}
|
|
682
|
-
case
|
|
682
|
+
case P3:
|
|
683
683
|
h();
|
|
684
684
|
break;
|
|
685
|
-
case
|
|
685
|
+
case L3:
|
|
686
686
|
m(
|
|
687
687
|
b.payload.messageType,
|
|
688
688
|
b.payload.content,
|
|
689
689
|
a.getState
|
|
690
690
|
);
|
|
691
691
|
break;
|
|
692
|
-
case
|
|
692
|
+
case $3:
|
|
693
693
|
M(
|
|
694
694
|
b.payload.eventType,
|
|
695
695
|
b.payload.key,
|
|
696
696
|
b.payload.callback
|
|
697
697
|
);
|
|
698
698
|
break;
|
|
699
|
-
case
|
|
699
|
+
case A3:
|
|
700
700
|
P(
|
|
701
701
|
b.payload.eventType,
|
|
702
702
|
b.payload.key
|
|
703
703
|
);
|
|
704
704
|
break;
|
|
705
|
-
case
|
|
705
|
+
case B3:
|
|
706
706
|
H(a.getState);
|
|
707
707
|
break;
|
|
708
708
|
default:
|
|
@@ -729,35 +729,35 @@ const h3 = {}, B1 = a1({
|
|
|
729
729
|
console.error("WebSocket middleware: Error handling action", x);
|
|
730
730
|
}), C;
|
|
731
731
|
};
|
|
732
|
-
},
|
|
733
|
-
appConfig:
|
|
734
|
-
runtimeConfig:
|
|
735
|
-
rooms:
|
|
736
|
-
devices:
|
|
737
|
-
ui:
|
|
738
|
-
}),
|
|
739
|
-
reducer:
|
|
732
|
+
}, ke = S2({
|
|
733
|
+
appConfig: be,
|
|
734
|
+
runtimeConfig: _e,
|
|
735
|
+
rooms: Te,
|
|
736
|
+
devices: ye,
|
|
737
|
+
ui: je
|
|
738
|
+
}), Oe = j2({
|
|
739
|
+
reducer: ke,
|
|
740
740
|
middleware: (e) => e({
|
|
741
741
|
serializableCheck: {
|
|
742
742
|
// Ignore WebSocket actions with callbacks
|
|
743
743
|
ignoredActions: ["websocket/addEventHandler"]
|
|
744
744
|
}
|
|
745
|
-
}).concat(
|
|
746
|
-
}),
|
|
747
|
-
function
|
|
748
|
-
const e =
|
|
745
|
+
}).concat(Be())
|
|
746
|
+
}), f3 = M3.create();
|
|
747
|
+
function O6() {
|
|
748
|
+
const e = W1();
|
|
749
749
|
return async () => {
|
|
750
750
|
try {
|
|
751
751
|
const t = location.pathname.split("/").filter((r) => r.length > 0);
|
|
752
752
|
t.length >= 5 ? t.length = 5 : t.length = 2;
|
|
753
|
-
const o = `/${t.join("/")}`, c = await
|
|
753
|
+
const o = `/${t.join("/")}`, c = await f3.get(
|
|
754
754
|
"/_local-config/_config.local.json",
|
|
755
755
|
{ baseURL: o }
|
|
756
756
|
);
|
|
757
757
|
if (c.status == 200 && c.data) {
|
|
758
758
|
const r = c.data.apiPath;
|
|
759
|
-
e(
|
|
760
|
-
const i = await
|
|
759
|
+
e(T3.setAppConfig(c.data));
|
|
760
|
+
const i = await f3.get(
|
|
761
761
|
`${r}/version`
|
|
762
762
|
);
|
|
763
763
|
i.status == 200 && i.data && e(U.setRuntimeConfig(i.data));
|
|
@@ -778,11 +778,11 @@ var w1 = { exports: {} }, r1 = {};
|
|
|
778
778
|
* This source code is licensed under the MIT license found in the
|
|
779
779
|
* LICENSE file in the root directory of this source tree.
|
|
780
780
|
*/
|
|
781
|
-
var
|
|
782
|
-
function
|
|
783
|
-
if (
|
|
784
|
-
|
|
785
|
-
var e =
|
|
781
|
+
var w3;
|
|
782
|
+
function We() {
|
|
783
|
+
if (w3) return r1;
|
|
784
|
+
w3 = 1;
|
|
785
|
+
var e = x3, t = Symbol.for("react.element"), o = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, r = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
786
786
|
function v(u, h, m) {
|
|
787
787
|
var M, P = {}, H = null, a = null;
|
|
788
788
|
m !== void 0 && (H = "" + m), h.key !== void 0 && (H = "" + h.key), h.ref !== void 0 && (a = h.ref);
|
|
@@ -802,10 +802,10 @@ var l1 = {};
|
|
|
802
802
|
* This source code is licensed under the MIT license found in the
|
|
803
803
|
* LICENSE file in the root directory of this source tree.
|
|
804
804
|
*/
|
|
805
|
-
var
|
|
806
|
-
function
|
|
807
|
-
return
|
|
808
|
-
var e =
|
|
805
|
+
var p3;
|
|
806
|
+
function Ve() {
|
|
807
|
+
return p3 || (p3 = 1, process.env.NODE_ENV !== "production" && function() {
|
|
808
|
+
var e = x3, t = Symbol.for("react.element"), o = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), v = Symbol.for("react.provider"), u = Symbol.for("react.context"), h = Symbol.for("react.forward_ref"), m = Symbol.for("react.suspense"), M = Symbol.for("react.suspense_list"), P = Symbol.for("react.memo"), H = Symbol.for("react.lazy"), a = Symbol.for("react.offscreen"), Z = Symbol.iterator, j = "@@iterator";
|
|
809
809
|
function C(s) {
|
|
810
810
|
if (s === null || typeof s != "object")
|
|
811
811
|
return null;
|
|
@@ -830,23 +830,23 @@ function We() {
|
|
|
830
830
|
T.unshift("Warning: " + l), Function.prototype.apply.call(console[s], console, T);
|
|
831
831
|
}
|
|
832
832
|
}
|
|
833
|
-
var
|
|
833
|
+
var j1 = !1, K = !1, B = !1, D = !1, z = !1, n1;
|
|
834
834
|
n1 = Symbol.for("react.module.reference");
|
|
835
|
-
function
|
|
836
|
-
return !!(typeof s == "string" || typeof s == "function" || s === c || s === i || z || s === r || s === m || s === M || D || s === a ||
|
|
835
|
+
function C1(s) {
|
|
836
|
+
return !!(typeof s == "string" || typeof s == "function" || s === c || s === i || z || s === r || s === m || s === M || D || s === a || j1 || K || B || typeof s == "object" && s !== null && (s.$$typeof === H || s.$$typeof === P || s.$$typeof === v || s.$$typeof === u || s.$$typeof === h || // This needs to include all possible module reference object
|
|
837
837
|
// types supported by any Flight configuration anywhere since
|
|
838
838
|
// we don't know which Flight build this will end up being used
|
|
839
839
|
// with.
|
|
840
840
|
s.$$typeof === n1 || s.getModuleId !== void 0));
|
|
841
841
|
}
|
|
842
|
-
function
|
|
842
|
+
function U3(s, l, d) {
|
|
843
843
|
var w = s.displayName;
|
|
844
844
|
if (w)
|
|
845
845
|
return w;
|
|
846
846
|
var E = l.displayName || l.name || "";
|
|
847
847
|
return E !== "" ? d + "(" + E + ")" : d;
|
|
848
848
|
}
|
|
849
|
-
function
|
|
849
|
+
function U1(s) {
|
|
850
850
|
return s.displayName || "Context";
|
|
851
851
|
}
|
|
852
852
|
function J(s) {
|
|
@@ -874,12 +874,12 @@ function We() {
|
|
|
874
874
|
switch (s.$$typeof) {
|
|
875
875
|
case u:
|
|
876
876
|
var l = s;
|
|
877
|
-
return
|
|
877
|
+
return U1(l) + ".Consumer";
|
|
878
878
|
case v:
|
|
879
879
|
var d = s;
|
|
880
|
-
return
|
|
880
|
+
return U1(d._context) + ".Provider";
|
|
881
881
|
case h:
|
|
882
|
-
return
|
|
882
|
+
return U3(s, s.render, "ForwardRef");
|
|
883
883
|
case P:
|
|
884
884
|
var w = s.displayName || null;
|
|
885
885
|
return w !== null ? w : J(s.type) || "Memo";
|
|
@@ -894,18 +894,18 @@ function We() {
|
|
|
894
894
|
}
|
|
895
895
|
return null;
|
|
896
896
|
}
|
|
897
|
-
var X = Object.assign, o1 = 0,
|
|
898
|
-
function
|
|
897
|
+
var X = Object.assign, o1 = 0, H1, F1, K1, q1, G1, Y1, z1;
|
|
898
|
+
function J1() {
|
|
899
899
|
}
|
|
900
|
-
|
|
901
|
-
function
|
|
900
|
+
J1.__reactDisabledLog = !0;
|
|
901
|
+
function H3() {
|
|
902
902
|
{
|
|
903
903
|
if (o1 === 0) {
|
|
904
|
-
|
|
904
|
+
H1 = console.log, F1 = console.info, K1 = console.warn, q1 = console.error, G1 = console.group, Y1 = console.groupCollapsed, z1 = console.groupEnd;
|
|
905
905
|
var s = {
|
|
906
906
|
configurable: !0,
|
|
907
907
|
enumerable: !0,
|
|
908
|
-
value:
|
|
908
|
+
value: J1,
|
|
909
909
|
writable: !0
|
|
910
910
|
};
|
|
911
911
|
Object.defineProperties(console, {
|
|
@@ -921,7 +921,7 @@ function We() {
|
|
|
921
921
|
o1++;
|
|
922
922
|
}
|
|
923
923
|
}
|
|
924
|
-
function
|
|
924
|
+
function F3() {
|
|
925
925
|
{
|
|
926
926
|
if (o1--, o1 === 0) {
|
|
927
927
|
var s = {
|
|
@@ -931,52 +931,52 @@ function We() {
|
|
|
931
931
|
};
|
|
932
932
|
Object.defineProperties(console, {
|
|
933
933
|
log: X({}, s, {
|
|
934
|
-
value:
|
|
934
|
+
value: H1
|
|
935
935
|
}),
|
|
936
936
|
info: X({}, s, {
|
|
937
|
-
value:
|
|
937
|
+
value: F1
|
|
938
938
|
}),
|
|
939
939
|
warn: X({}, s, {
|
|
940
|
-
value:
|
|
940
|
+
value: K1
|
|
941
941
|
}),
|
|
942
942
|
error: X({}, s, {
|
|
943
|
-
value:
|
|
943
|
+
value: q1
|
|
944
944
|
}),
|
|
945
945
|
group: X({}, s, {
|
|
946
|
-
value:
|
|
946
|
+
value: G1
|
|
947
947
|
}),
|
|
948
948
|
groupCollapsed: X({}, s, {
|
|
949
|
-
value:
|
|
949
|
+
value: Y1
|
|
950
950
|
}),
|
|
951
951
|
groupEnd: X({}, s, {
|
|
952
|
-
value:
|
|
952
|
+
value: z1
|
|
953
953
|
})
|
|
954
954
|
});
|
|
955
955
|
}
|
|
956
956
|
o1 < 0 && x("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
957
957
|
}
|
|
958
958
|
}
|
|
959
|
-
var
|
|
959
|
+
var b1 = b.ReactCurrentDispatcher, y1;
|
|
960
960
|
function u1(s, l, d) {
|
|
961
961
|
{
|
|
962
|
-
if (
|
|
962
|
+
if (y1 === void 0)
|
|
963
963
|
try {
|
|
964
964
|
throw Error();
|
|
965
965
|
} catch (E) {
|
|
966
966
|
var w = E.stack.trim().match(/\n( *(at )?)/);
|
|
967
|
-
|
|
967
|
+
y1 = w && w[1] || "";
|
|
968
968
|
}
|
|
969
969
|
return `
|
|
970
|
-
` +
|
|
970
|
+
` + y1 + s;
|
|
971
971
|
}
|
|
972
972
|
}
|
|
973
|
-
var
|
|
973
|
+
var I1 = !1, d1;
|
|
974
974
|
{
|
|
975
|
-
var
|
|
976
|
-
d1 = new
|
|
975
|
+
var K3 = typeof WeakMap == "function" ? WeakMap : Map;
|
|
976
|
+
d1 = new K3();
|
|
977
977
|
}
|
|
978
|
-
function
|
|
979
|
-
if (!s ||
|
|
978
|
+
function X1(s, l) {
|
|
979
|
+
if (!s || I1)
|
|
980
980
|
return "";
|
|
981
981
|
{
|
|
982
982
|
var d = d1.get(s);
|
|
@@ -984,11 +984,11 @@ function We() {
|
|
|
984
984
|
return d;
|
|
985
985
|
}
|
|
986
986
|
var w;
|
|
987
|
-
|
|
987
|
+
I1 = !0;
|
|
988
988
|
var E = Error.prepareStackTrace;
|
|
989
989
|
Error.prepareStackTrace = void 0;
|
|
990
990
|
var T;
|
|
991
|
-
T =
|
|
991
|
+
T = b1.current, b1.current = null, H3();
|
|
992
992
|
try {
|
|
993
993
|
if (l) {
|
|
994
994
|
var y = function() {
|
|
@@ -1041,15 +1041,15 @@ function We() {
|
|
|
1041
1041
|
}
|
|
1042
1042
|
}
|
|
1043
1043
|
} finally {
|
|
1044
|
-
|
|
1044
|
+
I1 = !1, b1.current = T, F3(), Error.prepareStackTrace = E;
|
|
1045
1045
|
}
|
|
1046
1046
|
var t1 = s ? s.displayName || s.name : "", Q = t1 ? u1(t1) : "";
|
|
1047
1047
|
return typeof s == "function" && d1.set(s, Q), Q;
|
|
1048
1048
|
}
|
|
1049
|
-
function
|
|
1050
|
-
return
|
|
1049
|
+
function q3(s, l, d) {
|
|
1050
|
+
return X1(s, !1);
|
|
1051
1051
|
}
|
|
1052
|
-
function
|
|
1052
|
+
function G3(s) {
|
|
1053
1053
|
var l = s.prototype;
|
|
1054
1054
|
return !!(l && l.isReactComponent);
|
|
1055
1055
|
}
|
|
@@ -1057,7 +1057,7 @@ function We() {
|
|
|
1057
1057
|
if (s == null)
|
|
1058
1058
|
return "";
|
|
1059
1059
|
if (typeof s == "function")
|
|
1060
|
-
return
|
|
1060
|
+
return X1(s, G3(s));
|
|
1061
1061
|
if (typeof s == "string")
|
|
1062
1062
|
return u1(s);
|
|
1063
1063
|
switch (s) {
|
|
@@ -1069,7 +1069,7 @@ function We() {
|
|
|
1069
1069
|
if (typeof s == "object")
|
|
1070
1070
|
switch (s.$$typeof) {
|
|
1071
1071
|
case h:
|
|
1072
|
-
return
|
|
1072
|
+
return q3(s.render);
|
|
1073
1073
|
case P:
|
|
1074
1074
|
return v1(s.type, l, d);
|
|
1075
1075
|
case H: {
|
|
@@ -1082,15 +1082,15 @@ function We() {
|
|
|
1082
1082
|
}
|
|
1083
1083
|
return "";
|
|
1084
1084
|
}
|
|
1085
|
-
var s1 = Object.prototype.hasOwnProperty,
|
|
1085
|
+
var s1 = Object.prototype.hasOwnProperty, Q1 = {}, N1 = b.ReactDebugCurrentFrame;
|
|
1086
1086
|
function h1(s) {
|
|
1087
1087
|
if (s) {
|
|
1088
1088
|
var l = s._owner, d = v1(s.type, s._source, l ? l.type : null);
|
|
1089
|
-
|
|
1089
|
+
N1.setExtraStackFrame(d);
|
|
1090
1090
|
} else
|
|
1091
|
-
|
|
1091
|
+
N1.setExtraStackFrame(null);
|
|
1092
1092
|
}
|
|
1093
|
-
function
|
|
1093
|
+
function Y3(s, l, d, w, E) {
|
|
1094
1094
|
{
|
|
1095
1095
|
var T = Function.call.bind(s1);
|
|
1096
1096
|
for (var y in s)
|
|
@@ -1105,41 +1105,41 @@ function We() {
|
|
|
1105
1105
|
} catch (L) {
|
|
1106
1106
|
S = L;
|
|
1107
1107
|
}
|
|
1108
|
-
S && !(S instanceof Error) && (h1(E), x("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", w || "React class", d, y, typeof S), h1(null)), S instanceof Error && !(S.message in
|
|
1108
|
+
S && !(S instanceof Error) && (h1(E), x("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", w || "React class", d, y, typeof S), h1(null)), S instanceof Error && !(S.message in Q1) && (Q1[S.message] = !0, h1(E), x("Failed %s type: %s", d, S.message), h1(null));
|
|
1109
1109
|
}
|
|
1110
1110
|
}
|
|
1111
1111
|
}
|
|
1112
|
-
var
|
|
1113
|
-
function
|
|
1114
|
-
return
|
|
1112
|
+
var z3 = Array.isArray;
|
|
1113
|
+
function R1(s) {
|
|
1114
|
+
return z3(s);
|
|
1115
1115
|
}
|
|
1116
|
-
function
|
|
1116
|
+
function J3(s) {
|
|
1117
1117
|
{
|
|
1118
1118
|
var l = typeof Symbol == "function" && Symbol.toStringTag, d = l && s[Symbol.toStringTag] || s.constructor.name || "Object";
|
|
1119
1119
|
return d;
|
|
1120
1120
|
}
|
|
1121
1121
|
}
|
|
1122
|
-
function
|
|
1122
|
+
function X3(s) {
|
|
1123
1123
|
try {
|
|
1124
|
-
return
|
|
1124
|
+
return e3(s), !1;
|
|
1125
1125
|
} catch {
|
|
1126
1126
|
return !0;
|
|
1127
1127
|
}
|
|
1128
1128
|
}
|
|
1129
|
-
function
|
|
1129
|
+
function e3(s) {
|
|
1130
1130
|
return "" + s;
|
|
1131
1131
|
}
|
|
1132
|
-
function
|
|
1133
|
-
if (
|
|
1134
|
-
return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
1132
|
+
function t3(s) {
|
|
1133
|
+
if (X3(s))
|
|
1134
|
+
return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", J3(s)), e3(s);
|
|
1135
1135
|
}
|
|
1136
|
-
var
|
|
1136
|
+
var n3 = b.ReactCurrentOwner, Q3 = {
|
|
1137
1137
|
key: !0,
|
|
1138
1138
|
ref: !0,
|
|
1139
1139
|
__self: !0,
|
|
1140
1140
|
__source: !0
|
|
1141
|
-
},
|
|
1142
|
-
function
|
|
1141
|
+
}, o3, s3;
|
|
1142
|
+
function N3(s) {
|
|
1143
1143
|
if (s1.call(s, "ref")) {
|
|
1144
1144
|
var l = Object.getOwnPropertyDescriptor(s, "ref").get;
|
|
1145
1145
|
if (l && l.isReactWarning)
|
|
@@ -1147,7 +1147,7 @@ function We() {
|
|
|
1147
1147
|
}
|
|
1148
1148
|
return s.ref !== void 0;
|
|
1149
1149
|
}
|
|
1150
|
-
function
|
|
1150
|
+
function e2(s) {
|
|
1151
1151
|
if (s1.call(s, "key")) {
|
|
1152
1152
|
var l = Object.getOwnPropertyDescriptor(s, "key").get;
|
|
1153
1153
|
if (l && l.isReactWarning)
|
|
@@ -1155,13 +1155,13 @@ function We() {
|
|
|
1155
1155
|
}
|
|
1156
1156
|
return s.key !== void 0;
|
|
1157
1157
|
}
|
|
1158
|
-
function e2(s, l) {
|
|
1159
|
-
typeof s.ref == "string" && t3.current;
|
|
1160
|
-
}
|
|
1161
1158
|
function t2(s, l) {
|
|
1159
|
+
typeof s.ref == "string" && n3.current;
|
|
1160
|
+
}
|
|
1161
|
+
function n2(s, l) {
|
|
1162
1162
|
{
|
|
1163
1163
|
var d = function() {
|
|
1164
|
-
|
|
1164
|
+
o3 || (o3 = !0, x("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", l));
|
|
1165
1165
|
};
|
|
1166
1166
|
d.isReactWarning = !0, Object.defineProperty(s, "key", {
|
|
1167
1167
|
get: d,
|
|
@@ -1169,10 +1169,10 @@ function We() {
|
|
|
1169
1169
|
});
|
|
1170
1170
|
}
|
|
1171
1171
|
}
|
|
1172
|
-
function
|
|
1172
|
+
function o2(s, l) {
|
|
1173
1173
|
{
|
|
1174
1174
|
var d = function() {
|
|
1175
|
-
|
|
1175
|
+
s3 || (s3 = !0, x("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", l));
|
|
1176
1176
|
};
|
|
1177
1177
|
d.isReactWarning = !0, Object.defineProperty(s, "ref", {
|
|
1178
1178
|
get: d,
|
|
@@ -1180,7 +1180,7 @@ function We() {
|
|
|
1180
1180
|
});
|
|
1181
1181
|
}
|
|
1182
1182
|
}
|
|
1183
|
-
var
|
|
1183
|
+
var s2 = function(s, l, d, w, E, T, y) {
|
|
1184
1184
|
var S = {
|
|
1185
1185
|
// This tag allows us to uniquely identify this as a React Element
|
|
1186
1186
|
$$typeof: t,
|
|
@@ -1209,12 +1209,12 @@ function We() {
|
|
|
1209
1209
|
value: E
|
|
1210
1210
|
}), Object.freeze && (Object.freeze(S.props), Object.freeze(S)), S;
|
|
1211
1211
|
};
|
|
1212
|
-
function
|
|
1212
|
+
function c2(s, l, d, w, E) {
|
|
1213
1213
|
{
|
|
1214
1214
|
var T, y = {}, S = null, k = null;
|
|
1215
|
-
d !== void 0 && (
|
|
1215
|
+
d !== void 0 && (t3(d), S = "" + d), e2(l) && (t3(l.key), S = "" + l.key), N3(l) && (k = l.ref, t2(l, E));
|
|
1216
1216
|
for (T in l)
|
|
1217
|
-
s1.call(l, T) && !
|
|
1217
|
+
s1.call(l, T) && !Q3.hasOwnProperty(T) && (y[T] = l[T]);
|
|
1218
1218
|
if (s && s.defaultProps) {
|
|
1219
1219
|
var L = s.defaultProps;
|
|
1220
1220
|
for (T in L)
|
|
@@ -1222,28 +1222,28 @@ function We() {
|
|
|
1222
1222
|
}
|
|
1223
1223
|
if (S || k) {
|
|
1224
1224
|
var $ = typeof s == "function" ? s.displayName || s.name || "Unknown" : s;
|
|
1225
|
-
S &&
|
|
1225
|
+
S && n2(y, $), k && o2(y, $);
|
|
1226
1226
|
}
|
|
1227
|
-
return
|
|
1227
|
+
return s2(s, S, k, E, w, n3.current, y);
|
|
1228
1228
|
}
|
|
1229
1229
|
}
|
|
1230
|
-
var
|
|
1230
|
+
var E1 = b.ReactCurrentOwner, c3 = b.ReactDebugCurrentFrame;
|
|
1231
1231
|
function e1(s) {
|
|
1232
1232
|
if (s) {
|
|
1233
1233
|
var l = s._owner, d = v1(s.type, s._source, l ? l.type : null);
|
|
1234
|
-
|
|
1234
|
+
c3.setExtraStackFrame(d);
|
|
1235
1235
|
} else
|
|
1236
|
-
|
|
1236
|
+
c3.setExtraStackFrame(null);
|
|
1237
1237
|
}
|
|
1238
|
-
var
|
|
1239
|
-
|
|
1240
|
-
function
|
|
1238
|
+
var T1;
|
|
1239
|
+
T1 = !1;
|
|
1240
|
+
function D1(s) {
|
|
1241
1241
|
return typeof s == "object" && s !== null && s.$$typeof === t;
|
|
1242
1242
|
}
|
|
1243
|
-
function
|
|
1243
|
+
function r3() {
|
|
1244
1244
|
{
|
|
1245
|
-
if (
|
|
1246
|
-
var s = J(
|
|
1245
|
+
if (E1.current) {
|
|
1246
|
+
var s = J(E1.current.type);
|
|
1247
1247
|
if (s)
|
|
1248
1248
|
return `
|
|
1249
1249
|
|
|
@@ -1252,13 +1252,13 @@ Check the render method of \`` + s + "`.";
|
|
|
1252
1252
|
return "";
|
|
1253
1253
|
}
|
|
1254
1254
|
}
|
|
1255
|
-
function
|
|
1255
|
+
function r2(s) {
|
|
1256
1256
|
return "";
|
|
1257
1257
|
}
|
|
1258
|
-
var
|
|
1259
|
-
function
|
|
1258
|
+
var l3 = {};
|
|
1259
|
+
function l2(s) {
|
|
1260
1260
|
{
|
|
1261
|
-
var l =
|
|
1261
|
+
var l = r3();
|
|
1262
1262
|
if (!l) {
|
|
1263
1263
|
var d = typeof s == "string" ? s : s.displayName || s.name;
|
|
1264
1264
|
d && (l = `
|
|
@@ -1268,39 +1268,39 @@ Check the top-level render call using <` + d + ">.");
|
|
|
1268
1268
|
return l;
|
|
1269
1269
|
}
|
|
1270
1270
|
}
|
|
1271
|
-
function
|
|
1271
|
+
function i3(s, l) {
|
|
1272
1272
|
{
|
|
1273
1273
|
if (!s._store || s._store.validated || s.key != null)
|
|
1274
1274
|
return;
|
|
1275
1275
|
s._store.validated = !0;
|
|
1276
|
-
var d =
|
|
1277
|
-
if (
|
|
1276
|
+
var d = l2(l);
|
|
1277
|
+
if (l3[d])
|
|
1278
1278
|
return;
|
|
1279
|
-
|
|
1279
|
+
l3[d] = !0;
|
|
1280
1280
|
var w = "";
|
|
1281
|
-
s && s._owner && s._owner !==
|
|
1281
|
+
s && s._owner && s._owner !== E1.current && (w = " It was passed a child from " + J(s._owner.type) + "."), e1(s), x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', d, w), e1(null);
|
|
1282
1282
|
}
|
|
1283
1283
|
}
|
|
1284
|
-
function
|
|
1284
|
+
function a3(s, l) {
|
|
1285
1285
|
{
|
|
1286
1286
|
if (typeof s != "object")
|
|
1287
1287
|
return;
|
|
1288
|
-
if (
|
|
1288
|
+
if (R1(s))
|
|
1289
1289
|
for (var d = 0; d < s.length; d++) {
|
|
1290
1290
|
var w = s[d];
|
|
1291
|
-
|
|
1291
|
+
D1(w) && i3(w, l);
|
|
1292
1292
|
}
|
|
1293
|
-
else if (
|
|
1293
|
+
else if (D1(s))
|
|
1294
1294
|
s._store && (s._store.validated = !0);
|
|
1295
1295
|
else if (s) {
|
|
1296
1296
|
var E = C(s);
|
|
1297
1297
|
if (typeof E == "function" && E !== s.entries)
|
|
1298
1298
|
for (var T = E.call(s), y; !(y = T.next()).done; )
|
|
1299
|
-
|
|
1299
|
+
D1(y.value) && i3(y.value, l);
|
|
1300
1300
|
}
|
|
1301
1301
|
}
|
|
1302
1302
|
}
|
|
1303
|
-
function
|
|
1303
|
+
function i2(s) {
|
|
1304
1304
|
{
|
|
1305
1305
|
var l = s.type;
|
|
1306
1306
|
if (l == null || typeof l == "string")
|
|
@@ -1316,16 +1316,16 @@ Check the top-level render call using <` + d + ">.");
|
|
|
1316
1316
|
return;
|
|
1317
1317
|
if (d) {
|
|
1318
1318
|
var w = J(l);
|
|
1319
|
-
|
|
1320
|
-
} else if (l.PropTypes !== void 0 && !
|
|
1321
|
-
|
|
1319
|
+
Y3(d, s.props, "prop", w, s);
|
|
1320
|
+
} else if (l.PropTypes !== void 0 && !T1) {
|
|
1321
|
+
T1 = !0;
|
|
1322
1322
|
var E = J(l);
|
|
1323
1323
|
x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", E || "Unknown");
|
|
1324
1324
|
}
|
|
1325
1325
|
typeof l.getDefaultProps == "function" && !l.getDefaultProps.isReactClassApproved && x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
1326
1326
|
}
|
|
1327
1327
|
}
|
|
1328
|
-
function
|
|
1328
|
+
function a2(s) {
|
|
1329
1329
|
{
|
|
1330
1330
|
for (var l = Object.keys(s.props), d = 0; d < l.length; d++) {
|
|
1331
1331
|
var w = l[d];
|
|
@@ -1337,91 +1337,91 @@ Check the top-level render call using <` + d + ">.");
|
|
|
1337
1337
|
s.ref !== null && (e1(s), x("Invalid attribute `ref` supplied to `React.Fragment`."), e1(null));
|
|
1338
1338
|
}
|
|
1339
1339
|
}
|
|
1340
|
-
var
|
|
1341
|
-
function
|
|
1340
|
+
var u3 = {};
|
|
1341
|
+
function d3(s, l, d, w, E, T) {
|
|
1342
1342
|
{
|
|
1343
|
-
var y =
|
|
1343
|
+
var y = C1(s);
|
|
1344
1344
|
if (!y) {
|
|
1345
1345
|
var S = "";
|
|
1346
1346
|
(s === void 0 || typeof s == "object" && s !== null && Object.keys(s).length === 0) && (S += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
1347
|
-
var k =
|
|
1348
|
-
k ? S += k : S +=
|
|
1347
|
+
var k = r2();
|
|
1348
|
+
k ? S += k : S += r3();
|
|
1349
1349
|
var L;
|
|
1350
|
-
s === null ? L = "null" :
|
|
1350
|
+
s === null ? L = "null" : R1(s) ? L = "array" : s !== void 0 && s.$$typeof === t ? (L = "<" + (J(s.type) || "Unknown") + " />", S = " Did you accidentally export a JSX literal instead of a component?") : L = typeof s, x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", L, S);
|
|
1351
1351
|
}
|
|
1352
|
-
var $ =
|
|
1352
|
+
var $ = c2(s, l, d, E, T);
|
|
1353
1353
|
if ($ == null)
|
|
1354
1354
|
return $;
|
|
1355
1355
|
if (y) {
|
|
1356
1356
|
var F = l.children;
|
|
1357
1357
|
if (F !== void 0)
|
|
1358
1358
|
if (w)
|
|
1359
|
-
if (
|
|
1359
|
+
if (R1(F)) {
|
|
1360
1360
|
for (var t1 = 0; t1 < F.length; t1++)
|
|
1361
|
-
|
|
1361
|
+
a3(F[t1], s);
|
|
1362
1362
|
Object.freeze && Object.freeze(F);
|
|
1363
1363
|
} else
|
|
1364
1364
|
x("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
1365
1365
|
else
|
|
1366
|
-
|
|
1366
|
+
a3(F, s);
|
|
1367
1367
|
}
|
|
1368
1368
|
if (s1.call(l, "key")) {
|
|
1369
|
-
var Q = J(s), V = Object.keys(l).filter(function(
|
|
1370
|
-
return
|
|
1371
|
-
}),
|
|
1372
|
-
if (!
|
|
1373
|
-
var
|
|
1369
|
+
var Q = J(s), V = Object.keys(l).filter(function(f2) {
|
|
1370
|
+
return f2 !== "key";
|
|
1371
|
+
}), _1 = V.length > 0 ? "{key: someKey, " + V.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
1372
|
+
if (!u3[Q + _1]) {
|
|
1373
|
+
var g2 = V.length > 0 ? "{" + V.join(": ..., ") + ": ...}" : "{}";
|
|
1374
1374
|
x(`A props object containing a "key" prop is being spread into JSX:
|
|
1375
1375
|
let props = %s;
|
|
1376
1376
|
<%s {...props} />
|
|
1377
1377
|
React keys must be passed directly to JSX without using spread:
|
|
1378
1378
|
let props = %s;
|
|
1379
|
-
<%s key={someKey} {...props} />`,
|
|
1379
|
+
<%s key={someKey} {...props} />`, _1, Q, g2, Q), u3[Q + _1] = !0;
|
|
1380
1380
|
}
|
|
1381
1381
|
}
|
|
1382
|
-
return s === c ?
|
|
1382
|
+
return s === c ? a2($) : i2($), $;
|
|
1383
1383
|
}
|
|
1384
1384
|
}
|
|
1385
|
-
function a2(s, l, d) {
|
|
1386
|
-
return u3(s, l, d, !0);
|
|
1387
|
-
}
|
|
1388
1385
|
function u2(s, l, d) {
|
|
1389
|
-
return
|
|
1386
|
+
return d3(s, l, d, !0);
|
|
1387
|
+
}
|
|
1388
|
+
function d2(s, l, d) {
|
|
1389
|
+
return d3(s, l, d, !1);
|
|
1390
1390
|
}
|
|
1391
|
-
var
|
|
1392
|
-
l1.Fragment = c, l1.jsx =
|
|
1391
|
+
var v2 = d2, h2 = u2;
|
|
1392
|
+
l1.Fragment = c, l1.jsx = v2, l1.jsxs = h2;
|
|
1393
1393
|
}()), l1;
|
|
1394
1394
|
}
|
|
1395
|
-
var
|
|
1396
|
-
function
|
|
1397
|
-
return
|
|
1395
|
+
var m3;
|
|
1396
|
+
function Ue() {
|
|
1397
|
+
return m3 || (m3 = 1, process.env.NODE_ENV === "production" ? w1.exports = We() : w1.exports = Ve()), w1.exports;
|
|
1398
1398
|
}
|
|
1399
|
-
var n =
|
|
1400
|
-
const
|
|
1401
|
-
mwfit:
|
|
1402
|
-
},
|
|
1403
|
-
const { reconnect: e } = R(), t =
|
|
1399
|
+
var n = Ue();
|
|
1400
|
+
const He = "_mwfit_ppa3l_1", Fe = {
|
|
1401
|
+
mwfit: He
|
|
1402
|
+
}, Ke = () => {
|
|
1403
|
+
const { reconnect: e } = R(), t = I3(), o = Me(), c = xe();
|
|
1404
1404
|
return /* @__PURE__ */ n.jsxs("div", { className: "vh-100 d-flex flex-column flex-grow-1 justify-content-center align-items-center gap-5 ", children: [
|
|
1405
|
-
/* @__PURE__ */ n.jsxs("div", { className: `${
|
|
1405
|
+
/* @__PURE__ */ n.jsxs("div", { className: `${Fe.mwfit} mx-auto text-center`, children: [
|
|
1406
1406
|
t === void 0 ? /* @__PURE__ */ n.jsx("h2", { children: "Connecting..." }) : /* @__PURE__ */ n.jsx("h2", { children: "Disconnected" }),
|
|
1407
1407
|
o && /* @__PURE__ */ n.jsx("h5", { className: "mt-1", children: o })
|
|
1408
1408
|
] }),
|
|
1409
1409
|
c && /* @__PURE__ */ n.jsx("button", { className: "btn btn-secondary btn-lg", onPointerDown: e, children: "Reconnect" })
|
|
1410
1410
|
] });
|
|
1411
|
-
},
|
|
1411
|
+
}, O3 = C2({
|
|
1412
1412
|
sendMessage: () => null,
|
|
1413
1413
|
sendSimpleMessage: () => null,
|
|
1414
1414
|
addEventHandler: () => null,
|
|
1415
1415
|
removeEventHandler: () => null,
|
|
1416
1416
|
reconnect: () => null
|
|
1417
|
-
}),
|
|
1418
|
-
const t =
|
|
1417
|
+
}), qe = ({ children: e }) => {
|
|
1418
|
+
const t = W1(), o = I3();
|
|
1419
1419
|
m1(() => {
|
|
1420
|
-
t(
|
|
1420
|
+
t(k3());
|
|
1421
1421
|
}, [t]);
|
|
1422
1422
|
const c = c1(
|
|
1423
1423
|
(h, m) => {
|
|
1424
|
-
t(
|
|
1424
|
+
t(Pe(h, m));
|
|
1425
1425
|
},
|
|
1426
1426
|
[t]
|
|
1427
1427
|
), r = c1(
|
|
@@ -1431,19 +1431,19 @@ const Ue = "_mwfit_ppa3l_1", He = {
|
|
|
1431
1431
|
[c]
|
|
1432
1432
|
), i = c1(
|
|
1433
1433
|
(h, m, M) => {
|
|
1434
|
-
t(
|
|
1434
|
+
t(Le(h, m, M));
|
|
1435
1435
|
},
|
|
1436
1436
|
[t]
|
|
1437
1437
|
), v = c1(
|
|
1438
1438
|
(h, m) => {
|
|
1439
|
-
t(
|
|
1439
|
+
t($e(h, m));
|
|
1440
1440
|
},
|
|
1441
1441
|
[t]
|
|
1442
1442
|
), u = c1(() => {
|
|
1443
|
-
t(
|
|
1443
|
+
t(Ae());
|
|
1444
1444
|
}, [t]);
|
|
1445
1445
|
return /* @__PURE__ */ n.jsx(
|
|
1446
|
-
|
|
1446
|
+
O3.Provider,
|
|
1447
1447
|
{
|
|
1448
1448
|
value: {
|
|
1449
1449
|
sendMessage: c,
|
|
@@ -1452,20 +1452,20 @@ const Ue = "_mwfit_ppa3l_1", He = {
|
|
|
1452
1452
|
removeEventHandler: v,
|
|
1453
1453
|
reconnect: u
|
|
1454
1454
|
},
|
|
1455
|
-
children: o ? e : /* @__PURE__ */ n.jsx(
|
|
1455
|
+
children: o ? e : /* @__PURE__ */ n.jsx(Ke, {})
|
|
1456
1456
|
}
|
|
1457
1457
|
);
|
|
1458
|
-
},
|
|
1458
|
+
}, W6 = ({ children: e }) => /* @__PURE__ */ n.jsx(Z2, { store: Oe, children: /* @__PURE__ */ n.jsx(qe, { children: e }) });
|
|
1459
1459
|
function R() {
|
|
1460
|
-
return
|
|
1460
|
+
return b2(O3);
|
|
1461
1461
|
}
|
|
1462
|
-
function
|
|
1462
|
+
function Ge({
|
|
1463
1463
|
onPress: e,
|
|
1464
1464
|
onRelease: t,
|
|
1465
1465
|
onHold: o,
|
|
1466
1466
|
holdTimeMs: c = 500
|
|
1467
1467
|
}) {
|
|
1468
|
-
const r =
|
|
1468
|
+
const r = A1(null), i = A1(!1);
|
|
1469
1469
|
function v() {
|
|
1470
1470
|
i.current = !0, e == null || e(), r.current = setTimeout(() => {
|
|
1471
1471
|
o == null || o(), r.current = null;
|
|
@@ -1484,7 +1484,7 @@ function qe({
|
|
|
1484
1484
|
};
|
|
1485
1485
|
}
|
|
1486
1486
|
function g(e, t) {
|
|
1487
|
-
const { sendMessage: c } = R(), r =
|
|
1487
|
+
const { sendMessage: c } = R(), r = A1(null);
|
|
1488
1488
|
function i() {
|
|
1489
1489
|
c(`${e}/${t}`, { value: "pressed" }), r.current || (r.current = setInterval(() => {
|
|
1490
1490
|
c(`${e}/${t}`, { value: "held" });
|
|
@@ -1493,65 +1493,69 @@ function g(e, t) {
|
|
|
1493
1493
|
function v() {
|
|
1494
1494
|
r.current && (clearInterval(r.current), r.current = null), c(`${e}/${t}`, { value: "released" });
|
|
1495
1495
|
}
|
|
1496
|
-
return
|
|
1496
|
+
return Ge({ onPress: i, onRelease: v });
|
|
1497
1497
|
}
|
|
1498
|
-
function
|
|
1498
|
+
function S1(e) {
|
|
1499
1499
|
const { sendMessage: t } = R(), o = g(`${e}`, "volumeUp"), c = g(`${e}`, "volumeDown");
|
|
1500
|
-
return {
|
|
1500
|
+
return M1(() => ({
|
|
1501
1501
|
volumeUp: o,
|
|
1502
1502
|
volumeDown: c,
|
|
1503
1503
|
muteToggle: () => t(`${e}/muteToggle`, null)
|
|
1504
|
-
};
|
|
1504
|
+
}), [e, t, o, c]);
|
|
1505
1505
|
}
|
|
1506
|
-
function
|
|
1506
|
+
function V6(e) {
|
|
1507
1507
|
const { sendMessage: t } = R(), o = g(`${e}`, "volumeUp"), c = g(`${e}`, "volumeDown");
|
|
1508
|
-
return {
|
|
1508
|
+
return M1(() => ({
|
|
1509
1509
|
volumeUp: o,
|
|
1510
1510
|
volumeDown: c,
|
|
1511
1511
|
muteToggle: () => t(`${e}/muteToggle`, null)
|
|
1512
|
-
};
|
|
1512
|
+
}), [e, t, o, c]);
|
|
1513
1513
|
}
|
|
1514
|
-
function
|
|
1515
|
-
const { sendMessage: o, sendSimpleMessage: c } = R(), r =
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1514
|
+
function W3(e, t) {
|
|
1515
|
+
const { sendMessage: o, sendSimpleMessage: c } = R(), r = S1(e);
|
|
1516
|
+
return M1(() => {
|
|
1517
|
+
if (!r) {
|
|
1518
|
+
console.log("baseVolume is undefined");
|
|
1519
|
+
return;
|
|
1520
|
+
}
|
|
1521
|
+
if (!t) {
|
|
1522
|
+
console.log("volumeState is undefined");
|
|
1523
|
+
return;
|
|
1524
|
+
}
|
|
1525
|
+
return {
|
|
1526
|
+
...r,
|
|
1527
|
+
volumeState: t,
|
|
1528
|
+
setLevel: (h) => c(`${e}/level`, h),
|
|
1529
|
+
muteOn: () => o(`${e}/muteOn`, null),
|
|
1530
|
+
muteOff: () => o(`${e}/muteOff`, null)
|
|
1531
|
+
};
|
|
1532
|
+
}, [r, t, e, o, c]);
|
|
1531
1533
|
}
|
|
1532
|
-
function
|
|
1533
|
-
const { sendMessage: o, sendSimpleMessage: c } = R(), r =
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1534
|
+
function U6(e, t) {
|
|
1535
|
+
const { sendMessage: o, sendSimpleMessage: c } = R(), r = S1(e);
|
|
1536
|
+
return M1(() => {
|
|
1537
|
+
if (!r) {
|
|
1538
|
+
console.log("baseVolume is undefined");
|
|
1539
|
+
return;
|
|
1540
|
+
}
|
|
1541
|
+
if (!t) {
|
|
1542
|
+
console.log("volumeState is undefined");
|
|
1543
|
+
return;
|
|
1544
|
+
}
|
|
1545
|
+
return {
|
|
1546
|
+
...r,
|
|
1547
|
+
volumeState: t,
|
|
1548
|
+
setLevel: (h) => c(`${e}/level`, h),
|
|
1549
|
+
muteOn: () => o(`${e}/muteOn`, null),
|
|
1550
|
+
muteOff: () => o(`${e}/muteOff`, null)
|
|
1551
|
+
};
|
|
1552
|
+
}, [r, t, e, o, c]);
|
|
1549
1553
|
}
|
|
1550
|
-
function
|
|
1554
|
+
function Ye(e) {
|
|
1551
1555
|
const t = _(e), o = `/device/${e}`;
|
|
1552
|
-
return
|
|
1556
|
+
return W3(o, t == null ? void 0 : t.volume);
|
|
1553
1557
|
}
|
|
1554
|
-
function
|
|
1558
|
+
function V3(e) {
|
|
1555
1559
|
const { sendMessage: t } = R();
|
|
1556
1560
|
return { powerOn: () => {
|
|
1557
1561
|
t(`/device/${e}/powerOn`, null);
|
|
@@ -1561,13 +1565,13 @@ function W3(e) {
|
|
|
1561
1565
|
t(`/device/${e}/powerToggle`, null);
|
|
1562
1566
|
} };
|
|
1563
1567
|
}
|
|
1564
|
-
function
|
|
1568
|
+
function O1(e) {
|
|
1565
1569
|
const { sendMessage: t } = R(), o = _(e);
|
|
1566
1570
|
return console.log("deviceState", o), o ? { itemsState: o, selectItem: (r) => {
|
|
1567
1571
|
t(`/device/${e}/${r}`, null);
|
|
1568
1572
|
} } : void 0;
|
|
1569
1573
|
}
|
|
1570
|
-
function
|
|
1574
|
+
function ze(e) {
|
|
1571
1575
|
const { sendMessage: t } = R(), o = _(e), c = () => {
|
|
1572
1576
|
t(`/device/${e}/setDefaultChannelLevels`, null);
|
|
1573
1577
|
}, r = () => {
|
|
@@ -1578,8 +1582,8 @@ function Ye(e) {
|
|
|
1578
1582
|
};
|
|
1579
1583
|
return o ? { levelControls: o.levelControls, setDefaultChannelLevels: c, getFullStatus: r } : void 0;
|
|
1580
1584
|
}
|
|
1581
|
-
function
|
|
1582
|
-
const t = _(e), o =
|
|
1585
|
+
function H6(e) {
|
|
1586
|
+
const t = _(e), o = V3(e), c = O1(e), r = O1(e), i = Ye(e), v = ze(e);
|
|
1583
1587
|
if (t)
|
|
1584
1588
|
return {
|
|
1585
1589
|
avrState: t,
|
|
@@ -1590,7 +1594,7 @@ function U6(e) {
|
|
|
1590
1594
|
mainVolumeControl: i
|
|
1591
1595
|
};
|
|
1592
1596
|
}
|
|
1593
|
-
const
|
|
1597
|
+
const F6 = ({ className: e }) => {
|
|
1594
1598
|
const [t, o] = Y();
|
|
1595
1599
|
return m1(() => {
|
|
1596
1600
|
setInterval(() => {
|
|
@@ -1602,7 +1606,7 @@ const H6 = ({ className: e }) => {
|
|
|
1602
1606
|
" new change"
|
|
1603
1607
|
] });
|
|
1604
1608
|
};
|
|
1605
|
-
function
|
|
1609
|
+
function K6(e) {
|
|
1606
1610
|
const { sendMessage: t } = R(), o = _(e), c = `/device/${e}`;
|
|
1607
1611
|
return o ? { state: o, recallPreset: (v, u) => {
|
|
1608
1612
|
t(`${c}/presets/recall`, { deviceKey: v, preset: u });
|
|
@@ -1610,36 +1614,36 @@ function F6(e) {
|
|
|
1610
1614
|
t(`${c}/presets/save`, v);
|
|
1611
1615
|
} } : void 0;
|
|
1612
1616
|
}
|
|
1613
|
-
function
|
|
1617
|
+
function q6(e) {
|
|
1614
1618
|
const t = _(e);
|
|
1615
1619
|
if (t)
|
|
1616
1620
|
return { endpointState: t };
|
|
1617
1621
|
}
|
|
1618
|
-
function
|
|
1622
|
+
function G6(e) {
|
|
1619
1623
|
const t = `/device/${e}`, o = g(t, "chanUp"), c = g(t, "chanDown"), r = g(t, "lastChan"), i = g(t, "guide"), v = g(t, "info"), u = g(t, "exit");
|
|
1620
1624
|
return { channelUp: o, channelDown: c, lastChannel: r, guide: i, info: v, exit: u };
|
|
1621
1625
|
}
|
|
1622
|
-
function
|
|
1626
|
+
function Y6(e) {
|
|
1623
1627
|
const t = `/device/${e}`, o = g(t, "red"), c = g(t, "green"), r = g(t, "yellow"), i = g(t, "blue");
|
|
1624
1628
|
return { red: o, green: c, yellow: r, blue: i };
|
|
1625
1629
|
}
|
|
1626
|
-
function
|
|
1630
|
+
function z6(e) {
|
|
1627
1631
|
const t = _(e);
|
|
1628
1632
|
if (t)
|
|
1629
1633
|
return {
|
|
1630
1634
|
communicationMonitorState: t
|
|
1631
1635
|
};
|
|
1632
1636
|
}
|
|
1633
|
-
function
|
|
1637
|
+
function J6(e) {
|
|
1634
1638
|
const t = _(e);
|
|
1635
1639
|
if (t)
|
|
1636
1640
|
return t.deviceInfo || void 0;
|
|
1637
1641
|
}
|
|
1638
|
-
function
|
|
1642
|
+
function X6(e) {
|
|
1639
1643
|
const t = `/device/${e}`, o = g(t, "up"), c = g(t, "down"), r = g(t, "left"), i = g(t, "right"), v = g(t, "select"), u = g(t, "menu"), h = g(t, "exit");
|
|
1640
1644
|
return { up: o, down: c, left: r, right: i, select: v, menu: u, exit: h };
|
|
1641
1645
|
}
|
|
1642
|
-
function
|
|
1646
|
+
function Q6(e) {
|
|
1643
1647
|
const { sendMessage: t } = R(), o = `/device/${e}`, c = _(e), r = g(o, "cameraUp"), i = g(o, "cameraDown"), v = g(o, "cameraLeft"), u = g(o, "cameraRight"), h = g(o, "cameraZoomIn"), m = g(o, "cameraZoomOut"), M = (P) => t("/camera/recallPreset", P);
|
|
1644
1648
|
if (c)
|
|
1645
1649
|
return {
|
|
@@ -1653,7 +1657,7 @@ function X6(e) {
|
|
|
1653
1657
|
recallPreset: M
|
|
1654
1658
|
};
|
|
1655
1659
|
}
|
|
1656
|
-
function
|
|
1660
|
+
function N6(e) {
|
|
1657
1661
|
const { sendMessage: t } = R();
|
|
1658
1662
|
return { recallPreset: (c) => {
|
|
1659
1663
|
t(
|
|
@@ -1662,11 +1666,11 @@ function Q6(e) {
|
|
|
1662
1666
|
);
|
|
1663
1667
|
} };
|
|
1664
1668
|
}
|
|
1665
|
-
function
|
|
1669
|
+
function et(e) {
|
|
1666
1670
|
const t = `/device/${e}`, o = g(t, "dvrList"), c = g(t, "record");
|
|
1667
1671
|
return { dvrList: o, record: c };
|
|
1668
1672
|
}
|
|
1669
|
-
function
|
|
1673
|
+
function tt(e) {
|
|
1670
1674
|
const { sendMessage: t } = R(), o = _(e);
|
|
1671
1675
|
return o ? { roomCombinerState: o, setAutoMode: () => {
|
|
1672
1676
|
t(`/device/${e}/setAutoMode`, null);
|
|
@@ -1680,7 +1684,7 @@ function et(e) {
|
|
|
1680
1684
|
t(`/device/${e}/setRoomCombinationScenario`, h);
|
|
1681
1685
|
} } : void 0;
|
|
1682
1686
|
}
|
|
1683
|
-
function
|
|
1687
|
+
function nt(e) {
|
|
1684
1688
|
const { sendMessage: t } = R(), o = `/device/${e}`, c = _(e);
|
|
1685
1689
|
return c ? {
|
|
1686
1690
|
state: c,
|
|
@@ -1689,13 +1693,13 @@ function tt(e) {
|
|
|
1689
1693
|
}
|
|
1690
1694
|
} : void 0;
|
|
1691
1695
|
}
|
|
1692
|
-
function
|
|
1696
|
+
function ot(e) {
|
|
1693
1697
|
const t = _(e);
|
|
1694
1698
|
if (t)
|
|
1695
1699
|
return { state: t };
|
|
1696
1700
|
}
|
|
1697
|
-
function
|
|
1698
|
-
const { sendMessage: t, sendSimpleMessage: o } = R(), c = _(e), r =
|
|
1701
|
+
function st(e) {
|
|
1702
|
+
const { sendMessage: t, sendSimpleMessage: o } = R(), c = _(e), r = ne(e), i = c || r;
|
|
1699
1703
|
return i ? {
|
|
1700
1704
|
levelState: i,
|
|
1701
1705
|
setLevel: (M, P) => o(`${M}/level`, P),
|
|
@@ -1704,25 +1708,25 @@ function ot(e) {
|
|
|
1704
1708
|
muteOff: (M) => t(`${M}/muteOff`, null)
|
|
1705
1709
|
} : void 0;
|
|
1706
1710
|
}
|
|
1707
|
-
function
|
|
1711
|
+
function ct(e) {
|
|
1708
1712
|
const { sendMessage: t } = R(), o = _(e);
|
|
1709
1713
|
return o ? { lightingState: o, selectScene: (r) => {
|
|
1710
1714
|
t(`/device/${e}/selectScene`, r);
|
|
1711
1715
|
} } : void 0;
|
|
1712
1716
|
}
|
|
1713
|
-
function
|
|
1717
|
+
function rt(e) {
|
|
1714
1718
|
const { sendMessage: t } = R(), o = _(e);
|
|
1715
1719
|
return o ? { matrixRoutingState: o, setRoute: (r) => {
|
|
1716
1720
|
t(`/device/${e}/route`, r);
|
|
1717
1721
|
} } : void 0;
|
|
1718
1722
|
}
|
|
1719
|
-
function
|
|
1723
|
+
function lt(e) {
|
|
1720
1724
|
const { sendMessage: t } = R();
|
|
1721
1725
|
return { closeApp: () => {
|
|
1722
1726
|
t(`/device/${e}/closeWebViewController`, null);
|
|
1723
1727
|
} };
|
|
1724
1728
|
}
|
|
1725
|
-
function
|
|
1729
|
+
function it(e) {
|
|
1726
1730
|
const t = `/device/${e}`, o = g(t, "num0"), c = g(t, "num1"), r = g(t, "num2"), i = g(t, "num3"), v = g(t, "num4"), u = g(t, "num5"), h = g(t, "num6"), m = g(t, "num7"), M = g(t, "num8"), P = g(t, "num9"), H = g(t, "numDash"), a = g(t, "numEnter");
|
|
1727
1731
|
return {
|
|
1728
1732
|
digit0: o,
|
|
@@ -1739,7 +1743,7 @@ function lt(e) {
|
|
|
1739
1743
|
keypadAccessoryButton2: a
|
|
1740
1744
|
};
|
|
1741
1745
|
}
|
|
1742
|
-
function
|
|
1746
|
+
function at(e) {
|
|
1743
1747
|
const { sendMessage: t } = R(), o = _(e);
|
|
1744
1748
|
return o ? { projectorScreenLiftControlState: o, raise: () => {
|
|
1745
1749
|
t(`/device/${e}/raise`, null);
|
|
@@ -1747,35 +1751,35 @@ function it(e) {
|
|
|
1747
1751
|
t(`/device/${e}/lower`, null);
|
|
1748
1752
|
} } : void 0;
|
|
1749
1753
|
}
|
|
1750
|
-
function
|
|
1751
|
-
const { sendMessage: t } = R(), o =
|
|
1754
|
+
function ut(e) {
|
|
1755
|
+
const { sendMessage: t } = R(), o = Z1(e);
|
|
1752
1756
|
return o ? { roomEventScheduleState: o, save: (r) => {
|
|
1753
1757
|
t(`/room/${e}/saveScheduledEvents`, r);
|
|
1754
1758
|
} } : void 0;
|
|
1755
1759
|
}
|
|
1756
|
-
function
|
|
1760
|
+
function dt(e) {
|
|
1757
1761
|
const { sendMessage: t } = R();
|
|
1758
1762
|
return { runDefaultPresentRoute: () => {
|
|
1759
1763
|
t(`/room/${e}/defaultsource`, {});
|
|
1760
1764
|
} };
|
|
1761
1765
|
}
|
|
1762
|
-
function
|
|
1766
|
+
function vt(e) {
|
|
1763
1767
|
const { sendMessage: t } = R();
|
|
1764
1768
|
return { runDirectRoute: (c) => {
|
|
1765
1769
|
t(`/room/${e}/directRoute`, c);
|
|
1766
1770
|
} };
|
|
1767
1771
|
}
|
|
1768
|
-
function
|
|
1772
|
+
function ht(e) {
|
|
1769
1773
|
const { sendMessage: t } = R();
|
|
1770
1774
|
return { routingState: _(e), runRoute: (r) => {
|
|
1771
1775
|
t(`/room/${e}/source`, r);
|
|
1772
1776
|
} };
|
|
1773
1777
|
}
|
|
1774
|
-
function
|
|
1778
|
+
function gt(e) {
|
|
1775
1779
|
const t = `/device/${e}`, o = g(t, "chanUp"), c = g(t, "chanDown");
|
|
1776
1780
|
return { dvrList: o, replay: c };
|
|
1777
1781
|
}
|
|
1778
|
-
function
|
|
1782
|
+
function ft(e) {
|
|
1779
1783
|
const { sendMessage: t } = R(), o = _(e);
|
|
1780
1784
|
return o ? { shadeState: o, shadeUp: () => {
|
|
1781
1785
|
t(`/device/${e}/shadeUp`, null);
|
|
@@ -1785,8 +1789,8 @@ function gt(e) {
|
|
|
1785
1789
|
t(`/device/${e}/stopOrPreset`, null);
|
|
1786
1790
|
} } : void 0;
|
|
1787
1791
|
}
|
|
1788
|
-
function
|
|
1789
|
-
const { sendMessage: t } = R(), o =
|
|
1792
|
+
function wt(e) {
|
|
1793
|
+
const { sendMessage: t } = R(), o = Z1(e);
|
|
1790
1794
|
return o ? { shutdownPromptTimerState: o, setShutdownPromptSeconds: (u) => {
|
|
1791
1795
|
t(`/room/${e}/setShutdownPromptSeconds`, u);
|
|
1792
1796
|
}, shutdownStart: () => {
|
|
@@ -1797,7 +1801,7 @@ function ft(e) {
|
|
|
1797
1801
|
t(`/room/${e}/shutdownCancel`, null);
|
|
1798
1802
|
} } : void 0;
|
|
1799
1803
|
}
|
|
1800
|
-
function
|
|
1804
|
+
function pt(e) {
|
|
1801
1805
|
const { sendMessage: t } = R(), o = _(e);
|
|
1802
1806
|
return o ? { switchedOutputState: o, on: () => {
|
|
1803
1807
|
t(`/device/${e}/on`, null);
|
|
@@ -1805,19 +1809,19 @@ function wt(e) {
|
|
|
1805
1809
|
t(`/device/${e}/off`, null);
|
|
1806
1810
|
} } : void 0;
|
|
1807
1811
|
}
|
|
1808
|
-
function
|
|
1809
|
-
const { sendMessage: t } = R(), o =
|
|
1812
|
+
function mt(e) {
|
|
1813
|
+
const { sendMessage: t } = R(), o = Z1(e);
|
|
1810
1814
|
return o ? { techPasswordState: o, validatePassword: (i) => {
|
|
1811
1815
|
t(`/room/${e}/validateTechPassword`, { password: i });
|
|
1812
1816
|
}, setPassword: (i, v) => {
|
|
1813
1817
|
t(`/room/${e}/setTechPassword`, { oldPassword: i, newPassword: v });
|
|
1814
1818
|
} } : void 0;
|
|
1815
1819
|
}
|
|
1816
|
-
function
|
|
1820
|
+
function Mt(e) {
|
|
1817
1821
|
const { sendMessage: t } = R(), o = _(e);
|
|
1818
1822
|
return o ? { state: o, setTemperatureUnitsToCelcius: () => t(`${e}/setTemperatureUnitsToCelcius`, null), setTemperatureUnitsToFahrenheit: () => t(`${e}/setTemperatureUnitsToFahrenheit`, null) } : void 0;
|
|
1819
1823
|
}
|
|
1820
|
-
function
|
|
1824
|
+
function xt(e) {
|
|
1821
1825
|
const { sendMessage: t } = R(), o = _(e), c = (r) => {
|
|
1822
1826
|
t(`/device/${e}/saveTheme`, { value: r });
|
|
1823
1827
|
};
|
|
@@ -1826,7 +1830,7 @@ function Mt(e) {
|
|
|
1826
1830
|
saveTheme: c
|
|
1827
1831
|
};
|
|
1828
1832
|
}
|
|
1829
|
-
function
|
|
1833
|
+
function Zt(e) {
|
|
1830
1834
|
const t = `/device/${e}`, o = g(t, "play"), c = g(t, "pause"), r = g(t, "stop"), i = g(t, "prevTrack"), v = g(t, "nextTrack"), u = g(t, "rewind"), h = g(t, "ffwd"), m = g(t, "record");
|
|
1831
1835
|
return {
|
|
1832
1836
|
play: o,
|
|
@@ -1839,7 +1843,7 @@ function xt(e) {
|
|
|
1839
1843
|
record: m
|
|
1840
1844
|
};
|
|
1841
1845
|
}
|
|
1842
|
-
function
|
|
1846
|
+
function St(e) {
|
|
1843
1847
|
const t = _(e), { sendMessage: o } = R();
|
|
1844
1848
|
return t ? {
|
|
1845
1849
|
touchpanelState: t,
|
|
@@ -1855,8 +1859,8 @@ function Zt(e) {
|
|
|
1855
1859
|
} }
|
|
1856
1860
|
} : void 0;
|
|
1857
1861
|
}
|
|
1858
|
-
function
|
|
1859
|
-
const t = _(e), o =
|
|
1862
|
+
function jt(e) {
|
|
1863
|
+
const t = _(e), o = V3(e), c = O1(e);
|
|
1860
1864
|
if (!t) return;
|
|
1861
1865
|
const r = (t.powerState || t.isWarming) && !t.isCooling, i = (!t.powerState || t.isCooling) && !t.isWarming;
|
|
1862
1866
|
return {
|
|
@@ -1866,11 +1870,11 @@ function St(e) {
|
|
|
1866
1870
|
powerFb: { powerOnFb: r, powerOffFb: i }
|
|
1867
1871
|
};
|
|
1868
1872
|
}
|
|
1869
|
-
function
|
|
1873
|
+
function Ct(e) {
|
|
1870
1874
|
const t = `/device/${e}`;
|
|
1871
|
-
return
|
|
1875
|
+
return S1(t);
|
|
1872
1876
|
}
|
|
1873
|
-
const
|
|
1877
|
+
const bt = ({
|
|
1874
1878
|
config: e
|
|
1875
1879
|
}) => {
|
|
1876
1880
|
const { sendMessage: t } = R();
|
|
@@ -1903,9 +1907,9 @@ const Ct = ({
|
|
|
1903
1907
|
});
|
|
1904
1908
|
}, [e, t]);
|
|
1905
1909
|
};
|
|
1906
|
-
function
|
|
1910
|
+
function yt(e, t) {
|
|
1907
1911
|
const [o, c] = Y(!1), [r, i] = Y(!1);
|
|
1908
|
-
return
|
|
1912
|
+
return Z3(() => {
|
|
1909
1913
|
const { current: v } = e, u = () => {
|
|
1910
1914
|
const h = v && v.scrollHeight > v.clientHeight, m = v && v.scrollWidth > v.clientWidth;
|
|
1911
1915
|
i(h ?? !1), c(m ?? !1), t && t(h ?? !1, m ?? !1);
|
|
@@ -1913,15 +1917,15 @@ function bt(e, t) {
|
|
|
1913
1917
|
v && u();
|
|
1914
1918
|
}, [e, t]), { overflowHorizontal: o, overflowVertical: r };
|
|
1915
1919
|
}
|
|
1916
|
-
function
|
|
1920
|
+
function It(e, t) {
|
|
1917
1921
|
const o = `/room/${e}/volumes/${t}`;
|
|
1918
|
-
return
|
|
1922
|
+
return S1(o);
|
|
1919
1923
|
}
|
|
1920
|
-
function
|
|
1921
|
-
const o =
|
|
1922
|
-
return
|
|
1924
|
+
function Rt(e, t) {
|
|
1925
|
+
const o = te(e, t), c = `/room/${e}/volumes/${t}`;
|
|
1926
|
+
return W3(c, o);
|
|
1923
1927
|
}
|
|
1924
|
-
function
|
|
1928
|
+
function Et(e) {
|
|
1925
1929
|
var u, h;
|
|
1926
1930
|
const [t, o] = Y(((u = e == null ? void 0 : e.current) == null ? void 0 : u.scrollLeft) ?? 0), [c, r] = Y(((h = e == null ? void 0 : e.current) == null ? void 0 : h.scrollTop) ?? 0), i = (m) => {
|
|
1927
1931
|
const { current: M } = e;
|
|
@@ -1930,22 +1934,22 @@ function Rt(e) {
|
|
|
1930
1934
|
const { current: M } = e;
|
|
1931
1935
|
M && (console.log(M.scrollTop), M.scrollTop += m, console.log(M.scrollTop));
|
|
1932
1936
|
};
|
|
1933
|
-
return
|
|
1937
|
+
return Z3(() => {
|
|
1934
1938
|
const { current: m } = e, M = () => {
|
|
1935
1939
|
o((m == null ? void 0 : m.scrollLeft) ?? 0), r((m == null ? void 0 : m.scrollTop) ?? 0);
|
|
1936
1940
|
};
|
|
1937
1941
|
m && M();
|
|
1938
1942
|
}, [e]), { horizontalScrollPosition: t, verticalScrollPosition: c, scrollHorizontal: i, scrollVertical: v };
|
|
1939
1943
|
}
|
|
1940
|
-
function
|
|
1941
|
-
const t =
|
|
1944
|
+
function Tt(e) {
|
|
1945
|
+
const t = W1();
|
|
1942
1946
|
return [() => {
|
|
1943
1947
|
t(O.addSyncState(e));
|
|
1944
1948
|
}, () => {
|
|
1945
1949
|
t(O.removeSyncState(e));
|
|
1946
|
-
},
|
|
1950
|
+
}, Ze(e)];
|
|
1947
1951
|
}
|
|
1948
|
-
function
|
|
1952
|
+
function Dt() {
|
|
1949
1953
|
const { sendMessage: e } = R();
|
|
1950
1954
|
return {
|
|
1951
1955
|
reboot: () => {
|
|
@@ -1956,7 +1960,7 @@ function Tt() {
|
|
|
1956
1960
|
}
|
|
1957
1961
|
};
|
|
1958
1962
|
}
|
|
1959
|
-
function
|
|
1963
|
+
function _t() {
|
|
1960
1964
|
const [e, t] = Y(), [o, c] = Y();
|
|
1961
1965
|
function r() {
|
|
1962
1966
|
t((/* @__PURE__ */ new Date()).toLocaleDateString("en-US", { dateStyle: "long" }));
|
|
@@ -1971,10 +1975,10 @@ function Dt() {
|
|
|
1971
1975
|
return () => clearInterval(i);
|
|
1972
1976
|
}, []), { date: e, time: o };
|
|
1973
1977
|
}
|
|
1974
|
-
const
|
|
1975
|
-
const [e, t] = Y(!1), o =
|
|
1978
|
+
const Pt = () => {
|
|
1979
|
+
const [e, t] = Y(!1), o = y2(), c = I2();
|
|
1976
1980
|
let r;
|
|
1977
|
-
return
|
|
1981
|
+
return R2(c) ? r = c.statusText : c instanceof Error ? r = c.message : typeof c == "string" ? r = c : (console.error(c), r = "Unknown error"), /* @__PURE__ */ n.jsxs("div", { className: "d-flex flex-column align-items-center gap-5", children: [
|
|
1978
1982
|
/* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger rounded d-flex align-items-center", children: /* @__PURE__ */ n.jsx("span", { className: "fs-5 text-white", children: "We are sorry. Something went wrong." }) }),
|
|
1979
1983
|
/* @__PURE__ */ n.jsx(
|
|
1980
1984
|
"button",
|
|
@@ -1994,11 +1998,11 @@ const _t = () => {
|
|
|
1994
1998
|
),
|
|
1995
1999
|
e && /* @__PURE__ */ n.jsx("p", { children: r })
|
|
1996
2000
|
] });
|
|
1997
|
-
},
|
|
1998
|
-
iconbtn:
|
|
1999
|
-
iconbtnvert:
|
|
2000
|
-
iconsm:
|
|
2001
|
-
},
|
|
2001
|
+
}, Je = "_iconbtn_16qss_1", Xe = "_iconbtnvert_16qss_7", Qe = "_iconsm_16qss_18", L1 = {
|
|
2002
|
+
iconbtn: Je,
|
|
2003
|
+
iconbtnvert: Xe,
|
|
2004
|
+
iconsm: Qe
|
|
2005
|
+
}, Ne = ({
|
|
2002
2006
|
multiIcon: e,
|
|
2003
2007
|
otherContent: t = null,
|
|
2004
2008
|
vert: o = !1,
|
|
@@ -2018,7 +2022,7 @@ const _t = () => {
|
|
|
2018
2022
|
"button",
|
|
2019
2023
|
{
|
|
2020
2024
|
type: "button",
|
|
2021
|
-
className: `${
|
|
2025
|
+
className: `${L1.iconbtn} ${o ? L1.iconbtnvert : ""} ${c} ${j}`,
|
|
2022
2026
|
...H,
|
|
2023
2027
|
disabled: v,
|
|
2024
2028
|
onPointerDown: (b) => {
|
|
@@ -2034,7 +2038,7 @@ const _t = () => {
|
|
|
2034
2038
|
e && /* @__PURE__ */ n.jsx(
|
|
2035
2039
|
e,
|
|
2036
2040
|
{
|
|
2037
|
-
className: `${r ||
|
|
2041
|
+
className: `${r || L1.iconsm}`,
|
|
2038
2042
|
active: C,
|
|
2039
2043
|
disabled: v
|
|
2040
2044
|
}
|
|
@@ -2049,7 +2053,7 @@ const _t = () => {
|
|
|
2049
2053
|
EnabledImage: o,
|
|
2050
2054
|
active: c,
|
|
2051
2055
|
disabled: r
|
|
2052
|
-
}) => r ? t : c ? e : o,
|
|
2056
|
+
}) => r ? t : c ? e : o, e8 = ({
|
|
2053
2057
|
active: e,
|
|
2054
2058
|
className: t = "",
|
|
2055
2059
|
disabled: o
|
|
@@ -2101,7 +2105,7 @@ const _t = () => {
|
|
|
2101
2105
|
active: e,
|
|
2102
2106
|
disabled: o
|
|
2103
2107
|
}
|
|
2104
|
-
),
|
|
2108
|
+
), t8 = ({
|
|
2105
2109
|
active: e,
|
|
2106
2110
|
className: t = "",
|
|
2107
2111
|
disabled: o
|
|
@@ -2150,7 +2154,7 @@ const _t = () => {
|
|
|
2150
2154
|
active: e,
|
|
2151
2155
|
disabled: o
|
|
2152
2156
|
}
|
|
2153
|
-
),
|
|
2157
|
+
), n8 = ({
|
|
2154
2158
|
active: e,
|
|
2155
2159
|
className: t = "",
|
|
2156
2160
|
disabled: o
|
|
@@ -2190,7 +2194,7 @@ const _t = () => {
|
|
|
2190
2194
|
active: e,
|
|
2191
2195
|
disabled: o
|
|
2192
2196
|
}
|
|
2193
|
-
),
|
|
2197
|
+
), o8 = ({
|
|
2194
2198
|
active: e,
|
|
2195
2199
|
className: t = "",
|
|
2196
2200
|
disabled: o
|
|
@@ -2239,7 +2243,7 @@ const _t = () => {
|
|
|
2239
2243
|
active: e,
|
|
2240
2244
|
disabled: o
|
|
2241
2245
|
}
|
|
2242
|
-
),
|
|
2246
|
+
), s8 = ({
|
|
2243
2247
|
active: e,
|
|
2244
2248
|
// Just to shut up the linter on this template. Prefer deleting this lint rule
|
|
2245
2249
|
className: t = "",
|
|
@@ -2307,7 +2311,7 @@ const _t = () => {
|
|
|
2307
2311
|
active: e,
|
|
2308
2312
|
disabled: o
|
|
2309
2313
|
}
|
|
2310
|
-
),
|
|
2314
|
+
), c8 = ({
|
|
2311
2315
|
active: e,
|
|
2312
2316
|
className: t = "",
|
|
2313
2317
|
disabled: o
|
|
@@ -2356,7 +2360,7 @@ const _t = () => {
|
|
|
2356
2360
|
active: e,
|
|
2357
2361
|
disabled: o
|
|
2358
2362
|
}
|
|
2359
|
-
),
|
|
2363
|
+
), r8 = ({
|
|
2360
2364
|
active: e,
|
|
2361
2365
|
className: t = "",
|
|
2362
2366
|
disabled: o
|
|
@@ -2405,7 +2409,7 @@ const _t = () => {
|
|
|
2405
2409
|
active: e,
|
|
2406
2410
|
disabled: o
|
|
2407
2411
|
}
|
|
2408
|
-
),
|
|
2412
|
+
), l8 = ({
|
|
2409
2413
|
active: e,
|
|
2410
2414
|
className: t = "",
|
|
2411
2415
|
disabled: o
|
|
@@ -2454,7 +2458,7 @@ const _t = () => {
|
|
|
2454
2458
|
active: e,
|
|
2455
2459
|
disabled: o
|
|
2456
2460
|
}
|
|
2457
|
-
),
|
|
2461
|
+
), i8 = ({
|
|
2458
2462
|
active: e,
|
|
2459
2463
|
className: t = "",
|
|
2460
2464
|
disabled: o
|
|
@@ -2503,7 +2507,7 @@ const _t = () => {
|
|
|
2503
2507
|
active: e,
|
|
2504
2508
|
disabled: o
|
|
2505
2509
|
}
|
|
2506
|
-
),
|
|
2510
|
+
), a8 = ({
|
|
2507
2511
|
active: e,
|
|
2508
2512
|
className: t = "",
|
|
2509
2513
|
disabled: o
|
|
@@ -2552,7 +2556,7 @@ const _t = () => {
|
|
|
2552
2556
|
active: e,
|
|
2553
2557
|
disabled: o
|
|
2554
2558
|
}
|
|
2555
|
-
),
|
|
2559
|
+
), u8 = ({
|
|
2556
2560
|
active: e,
|
|
2557
2561
|
// Just to shut up the linter on this template. Prefer deleting this lint rule
|
|
2558
2562
|
className: t = "",
|
|
@@ -2620,7 +2624,7 @@ const _t = () => {
|
|
|
2620
2624
|
active: e,
|
|
2621
2625
|
disabled: o
|
|
2622
2626
|
}
|
|
2623
|
-
),
|
|
2627
|
+
), d8 = ({
|
|
2624
2628
|
active: e,
|
|
2625
2629
|
className: t = "",
|
|
2626
2630
|
disabled: o
|
|
@@ -2669,7 +2673,7 @@ const _t = () => {
|
|
|
2669
2673
|
active: e,
|
|
2670
2674
|
disabled: o
|
|
2671
2675
|
}
|
|
2672
|
-
),
|
|
2676
|
+
), v8 = ({
|
|
2673
2677
|
active: e,
|
|
2674
2678
|
className: t = "",
|
|
2675
2679
|
disabled: o
|
|
@@ -2718,7 +2722,7 @@ const _t = () => {
|
|
|
2718
2722
|
active: e,
|
|
2719
2723
|
disabled: o
|
|
2720
2724
|
}
|
|
2721
|
-
),
|
|
2725
|
+
), h8 = ({
|
|
2722
2726
|
active: e,
|
|
2723
2727
|
className: t = "",
|
|
2724
2728
|
disabled: o
|
|
@@ -2767,7 +2771,7 @@ const _t = () => {
|
|
|
2767
2771
|
active: e,
|
|
2768
2772
|
disabled: o
|
|
2769
2773
|
}
|
|
2770
|
-
),
|
|
2774
|
+
), g8 = ({
|
|
2771
2775
|
active: e,
|
|
2772
2776
|
className: t = "",
|
|
2773
2777
|
disabled: o
|
|
@@ -2816,7 +2820,7 @@ const _t = () => {
|
|
|
2816
2820
|
active: e,
|
|
2817
2821
|
disabled: o
|
|
2818
2822
|
}
|
|
2819
|
-
),
|
|
2823
|
+
), f8 = ({
|
|
2820
2824
|
active: e,
|
|
2821
2825
|
className: t = "",
|
|
2822
2826
|
disabled: o
|
|
@@ -2838,7 +2842,7 @@ const _t = () => {
|
|
|
2838
2842
|
active: e,
|
|
2839
2843
|
disabled: o
|
|
2840
2844
|
}
|
|
2841
|
-
),
|
|
2845
|
+
), w8 = ({
|
|
2842
2846
|
active: e,
|
|
2843
2847
|
className: t = "",
|
|
2844
2848
|
disabled: o
|
|
@@ -2887,7 +2891,7 @@ const _t = () => {
|
|
|
2887
2891
|
active: e,
|
|
2888
2892
|
disabled: o
|
|
2889
2893
|
}
|
|
2890
|
-
),
|
|
2894
|
+
), p8 = ({
|
|
2891
2895
|
active: e,
|
|
2892
2896
|
className: t = "",
|
|
2893
2897
|
disabled: o
|
|
@@ -2936,7 +2940,7 @@ const _t = () => {
|
|
|
2936
2940
|
active: e,
|
|
2937
2941
|
disabled: o
|
|
2938
2942
|
}
|
|
2939
|
-
),
|
|
2943
|
+
), m8 = ({
|
|
2940
2944
|
active: e,
|
|
2941
2945
|
className: t = "",
|
|
2942
2946
|
disabled: o
|
|
@@ -2985,7 +2989,7 @@ const _t = () => {
|
|
|
2985
2989
|
active: e,
|
|
2986
2990
|
disabled: o
|
|
2987
2991
|
}
|
|
2988
|
-
),
|
|
2992
|
+
), M8 = ({
|
|
2989
2993
|
active: e,
|
|
2990
2994
|
className: t = "",
|
|
2991
2995
|
disabled: o
|
|
@@ -3034,7 +3038,7 @@ const _t = () => {
|
|
|
3034
3038
|
active: e,
|
|
3035
3039
|
disabled: o
|
|
3036
3040
|
}
|
|
3037
|
-
),
|
|
3041
|
+
), x8 = ({
|
|
3038
3042
|
active: e,
|
|
3039
3043
|
className: t = "",
|
|
3040
3044
|
disabled: o
|
|
@@ -3083,7 +3087,7 @@ const _t = () => {
|
|
|
3083
3087
|
active: e,
|
|
3084
3088
|
disabled: o
|
|
3085
3089
|
}
|
|
3086
|
-
),
|
|
3090
|
+
), Z8 = ({
|
|
3087
3091
|
active: e,
|
|
3088
3092
|
// Just to shut up the linter on this template. Prefer deleting this lint rule
|
|
3089
3093
|
className: t = "",
|
|
@@ -3151,7 +3155,7 @@ const _t = () => {
|
|
|
3151
3155
|
active: e,
|
|
3152
3156
|
disabled: o
|
|
3153
3157
|
}
|
|
3154
|
-
),
|
|
3158
|
+
), S8 = ({
|
|
3155
3159
|
active: e,
|
|
3156
3160
|
className: t = "",
|
|
3157
3161
|
disabled: o
|
|
@@ -3200,7 +3204,7 @@ const _t = () => {
|
|
|
3200
3204
|
active: e,
|
|
3201
3205
|
disabled: o
|
|
3202
3206
|
}
|
|
3203
|
-
),
|
|
3207
|
+
), j8 = ({
|
|
3204
3208
|
active: e,
|
|
3205
3209
|
className: t = "",
|
|
3206
3210
|
disabled: o
|
|
@@ -3249,7 +3253,7 @@ const _t = () => {
|
|
|
3249
3253
|
active: e,
|
|
3250
3254
|
disabled: o
|
|
3251
3255
|
}
|
|
3252
|
-
),
|
|
3256
|
+
), Lt = ({
|
|
3253
3257
|
active: e,
|
|
3254
3258
|
// Just to shut up the linter on this template. Prefer deleting this lint rule
|
|
3255
3259
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
@@ -3264,7 +3268,7 @@ const _t = () => {
|
|
|
3264
3268
|
active: e,
|
|
3265
3269
|
disabled: o
|
|
3266
3270
|
}
|
|
3267
|
-
),
|
|
3271
|
+
), C8 = ({
|
|
3268
3272
|
active: e,
|
|
3269
3273
|
className: t = "",
|
|
3270
3274
|
disabled: o
|
|
@@ -3313,7 +3317,7 @@ const _t = () => {
|
|
|
3313
3317
|
active: e,
|
|
3314
3318
|
disabled: o
|
|
3315
3319
|
}
|
|
3316
|
-
),
|
|
3320
|
+
), b8 = ({
|
|
3317
3321
|
active: e,
|
|
3318
3322
|
className: t = "",
|
|
3319
3323
|
disabled: o
|
|
@@ -3362,7 +3366,7 @@ const _t = () => {
|
|
|
3362
3366
|
active: e,
|
|
3363
3367
|
disabled: o
|
|
3364
3368
|
}
|
|
3365
|
-
),
|
|
3369
|
+
), y8 = ({
|
|
3366
3370
|
active: e,
|
|
3367
3371
|
className: t = "",
|
|
3368
3372
|
disabled: o
|
|
@@ -3411,7 +3415,7 @@ const _t = () => {
|
|
|
3411
3415
|
active: e,
|
|
3412
3416
|
disabled: o
|
|
3413
3417
|
}
|
|
3414
|
-
),
|
|
3418
|
+
), I8 = ({
|
|
3415
3419
|
active: e,
|
|
3416
3420
|
className: t = "",
|
|
3417
3421
|
disabled: o
|
|
@@ -3460,7 +3464,7 @@ const _t = () => {
|
|
|
3460
3464
|
active: e,
|
|
3461
3465
|
disabled: o
|
|
3462
3466
|
}
|
|
3463
|
-
),
|
|
3467
|
+
), R8 = ({
|
|
3464
3468
|
active: e,
|
|
3465
3469
|
className: t = "",
|
|
3466
3470
|
disabled: o
|
|
@@ -3509,7 +3513,7 @@ const _t = () => {
|
|
|
3509
3513
|
active: e,
|
|
3510
3514
|
disabled: o
|
|
3511
3515
|
}
|
|
3512
|
-
),
|
|
3516
|
+
), E8 = ({
|
|
3513
3517
|
active: e,
|
|
3514
3518
|
className: t = "",
|
|
3515
3519
|
disabled: o
|
|
@@ -3558,7 +3562,7 @@ const _t = () => {
|
|
|
3558
3562
|
active: e,
|
|
3559
3563
|
disabled: o
|
|
3560
3564
|
}
|
|
3561
|
-
),
|
|
3565
|
+
), T8 = ({
|
|
3562
3566
|
active: e,
|
|
3563
3567
|
className: t = "",
|
|
3564
3568
|
disabled: o
|
|
@@ -3607,7 +3611,7 @@ const _t = () => {
|
|
|
3607
3611
|
active: e,
|
|
3608
3612
|
disabled: o
|
|
3609
3613
|
}
|
|
3610
|
-
),
|
|
3614
|
+
), D8 = ({
|
|
3611
3615
|
active: e,
|
|
3612
3616
|
className: t = "",
|
|
3613
3617
|
disabled: o
|
|
@@ -3656,314 +3660,314 @@ const _t = () => {
|
|
|
3656
3660
|
active: e,
|
|
3657
3661
|
disabled: o
|
|
3658
3662
|
}
|
|
3659
|
-
),
|
|
3660
|
-
Alert:
|
|
3661
|
-
Camera:
|
|
3662
|
-
DownArrow:
|
|
3663
|
-
Ban:
|
|
3664
|
-
Check:
|
|
3665
|
-
Controller:
|
|
3666
|
-
Elipses:
|
|
3667
|
-
Flag:
|
|
3668
|
-
Gear:
|
|
3669
|
-
Glass:
|
|
3670
|
-
Hdmi:
|
|
3671
|
-
Laptop:
|
|
3672
|
-
LeftArrow:
|
|
3673
|
-
Light:
|
|
3674
|
-
Mic:
|
|
3675
|
-
Moon:
|
|
3676
|
-
Playstation:
|
|
3677
|
-
Podium:
|
|
3678
|
-
Power:
|
|
3679
|
-
Privacy:
|
|
3680
|
-
Question:
|
|
3681
|
-
RightArrow:
|
|
3682
|
-
RoomPC:
|
|
3683
|
-
Shade:
|
|
3684
|
-
Sun:
|
|
3685
|
-
UpArrow:
|
|
3686
|
-
VolDown:
|
|
3687
|
-
VolMute:
|
|
3688
|
-
VolUp:
|
|
3689
|
-
Wireless:
|
|
3690
|
-
X:
|
|
3691
|
-
Xbox:
|
|
3663
|
+
), _8 = {
|
|
3664
|
+
Alert: e8,
|
|
3665
|
+
Camera: n8,
|
|
3666
|
+
DownArrow: c8,
|
|
3667
|
+
Ban: t8,
|
|
3668
|
+
Check: o8,
|
|
3669
|
+
Controller: s8,
|
|
3670
|
+
Elipses: r8,
|
|
3671
|
+
Flag: l8,
|
|
3672
|
+
Gear: i8,
|
|
3673
|
+
Glass: a8,
|
|
3674
|
+
Hdmi: u8,
|
|
3675
|
+
Laptop: d8,
|
|
3676
|
+
LeftArrow: v8,
|
|
3677
|
+
Light: h8,
|
|
3678
|
+
Mic: D8,
|
|
3679
|
+
Moon: g8,
|
|
3680
|
+
Playstation: f8,
|
|
3681
|
+
Podium: w8,
|
|
3682
|
+
Power: p8,
|
|
3683
|
+
Privacy: m8,
|
|
3684
|
+
Question: M8,
|
|
3685
|
+
RightArrow: x8,
|
|
3686
|
+
RoomPC: Z8,
|
|
3687
|
+
Shade: S8,
|
|
3688
|
+
Sun: j8,
|
|
3689
|
+
UpArrow: C8,
|
|
3690
|
+
VolDown: b8,
|
|
3691
|
+
VolMute: y8,
|
|
3692
|
+
VolUp: I8,
|
|
3693
|
+
Wireless: R8,
|
|
3694
|
+
X: E8,
|
|
3695
|
+
Xbox: T8
|
|
3692
3696
|
};
|
|
3693
|
-
function
|
|
3697
|
+
function $t({
|
|
3694
3698
|
name: e,
|
|
3695
|
-
iconsDictionary: t =
|
|
3699
|
+
iconsDictionary: t = _8,
|
|
3696
3700
|
...o
|
|
3697
3701
|
}) {
|
|
3698
3702
|
const c = t[e] ?? null;
|
|
3699
|
-
return c || console.error(`Icon ${e} not found in dictionary`), /* @__PURE__ */ n.jsx(
|
|
3700
|
-
}
|
|
3701
|
-
const
|
|
3702
|
-
grid:
|
|
3703
|
-
header:
|
|
3704
|
-
content:
|
|
3705
|
-
footer:
|
|
3706
|
-
volume:
|
|
3707
|
-
},
|
|
3703
|
+
return c || console.error(`Icon ${e} not found in dictionary`), /* @__PURE__ */ n.jsx(Ne, { multiIcon: c, ...o });
|
|
3704
|
+
}
|
|
3705
|
+
const P8 = "_grid_1cmpp_1", L8 = "_header_1cmpp_11", $8 = "_content_1cmpp_17", A8 = "_footer_1cmpp_23", B8 = "_volume_1cmpp_29", i1 = {
|
|
3706
|
+
grid: P8,
|
|
3707
|
+
header: L8,
|
|
3708
|
+
content: $8,
|
|
3709
|
+
footer: A8,
|
|
3710
|
+
volume: B8
|
|
3711
|
+
}, At = ({ header: e, footer: t, content: o, volume: c, showVolume: r }) => /* @__PURE__ */ n.jsxs("div", { className: i1.grid, children: [
|
|
3708
3712
|
/* @__PURE__ */ n.jsx("div", { className: i1.header, children: e }),
|
|
3709
3713
|
/* @__PURE__ */ n.jsx("div", { className: i1.content, children: o }),
|
|
3710
3714
|
r && /* @__PURE__ */ n.jsx("div", { className: i1.volume, children: c }),
|
|
3711
3715
|
/* @__PURE__ */ n.jsx("div", { className: i1.footer, children: t })
|
|
3712
|
-
] }),
|
|
3713
|
-
grid:
|
|
3714
|
-
header:
|
|
3715
|
-
content:
|
|
3716
|
-
},
|
|
3716
|
+
] }), k8 = "_grid_11w5q_1", O8 = "_header_11w5q_11", W8 = "_content_11w5q_17", p1 = {
|
|
3717
|
+
grid: k8,
|
|
3718
|
+
header: O8,
|
|
3719
|
+
content: W8
|
|
3720
|
+
}, Bt = ({ className: e, header: t, content: o, leftNav: c }) => /* @__PURE__ */ n.jsxs("div", { className: `${e} ${p1.grid}`, children: [
|
|
3717
3721
|
/* @__PURE__ */ n.jsx("div", { className: p1.header, children: t }),
|
|
3718
3722
|
c && /* @__PURE__ */ n.jsx("div", { className: p1.leftNav, children: c }),
|
|
3719
3723
|
/* @__PURE__ */ n.jsx("div", { className: p1.content, children: o })
|
|
3720
|
-
] }),
|
|
3721
|
-
grid:
|
|
3722
|
-
header:
|
|
3723
|
-
content:
|
|
3724
|
-
},
|
|
3725
|
-
/* @__PURE__ */ n.jsx("div", { className:
|
|
3726
|
-
/* @__PURE__ */ n.jsx("div", { className:
|
|
3724
|
+
] }), V8 = "_grid_1uwfo_1", U8 = "_header_1uwfo_11", H8 = "_content_1uwfo_17", $1 = {
|
|
3725
|
+
grid: V8,
|
|
3726
|
+
header: U8,
|
|
3727
|
+
content: H8
|
|
3728
|
+
}, kt = ({ className: e, header: t, content: o }) => /* @__PURE__ */ n.jsxs("div", { className: `${e} ${$1.grid}`, children: [
|
|
3729
|
+
/* @__PURE__ */ n.jsx("div", { className: $1.header, children: t }),
|
|
3730
|
+
/* @__PURE__ */ n.jsx("div", { className: $1.content, children: o })
|
|
3727
3731
|
] });
|
|
3728
|
-
class
|
|
3732
|
+
class Ot {
|
|
3729
3733
|
constructor() {
|
|
3730
3734
|
q(this, "currentShareText");
|
|
3731
3735
|
q(this, "enabled");
|
|
3732
3736
|
q(this, "isSharing");
|
|
3733
3737
|
}
|
|
3734
3738
|
}
|
|
3735
|
-
function
|
|
3739
|
+
function Wt() {
|
|
3736
3740
|
return console.log(location.pathname), location.pathname;
|
|
3737
3741
|
}
|
|
3738
|
-
var
|
|
3739
|
-
class
|
|
3742
|
+
var F8 = /* @__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))(F8 || {});
|
|
3743
|
+
class Vt {
|
|
3740
3744
|
constructor(t, o) {
|
|
3741
3745
|
q(this, "path");
|
|
3742
3746
|
q(this, "handler");
|
|
3743
3747
|
this.path = t, this.handler = o;
|
|
3744
3748
|
}
|
|
3745
3749
|
}
|
|
3746
|
-
const
|
|
3750
|
+
const Ut = "$off";
|
|
3747
3751
|
export {
|
|
3748
|
-
|
|
3749
|
-
|
|
3750
|
-
|
|
3751
|
-
|
|
3752
|
-
|
|
3753
|
-
|
|
3754
|
-
|
|
3755
|
-
|
|
3756
|
-
|
|
3757
|
-
|
|
3758
|
-
|
|
3759
|
-
|
|
3760
|
-
|
|
3761
|
-
|
|
3762
|
-
|
|
3763
|
-
|
|
3764
|
-
|
|
3765
|
-
|
|
3766
|
-
|
|
3767
|
-
|
|
3768
|
-
|
|
3769
|
-
|
|
3770
|
-
|
|
3771
|
-
|
|
3772
|
-
|
|
3773
|
-
|
|
3774
|
-
|
|
3775
|
-
|
|
3776
|
-
|
|
3777
|
-
|
|
3778
|
-
|
|
3779
|
-
|
|
3780
|
-
|
|
3781
|
-
|
|
3782
|
-
|
|
3783
|
-
|
|
3784
|
-
|
|
3785
|
-
|
|
3786
|
-
|
|
3787
|
-
|
|
3752
|
+
F6 as Clock,
|
|
3753
|
+
F8 as DaysOfWeek,
|
|
3754
|
+
Pt as ErrorBox,
|
|
3755
|
+
Ne as IconButton,
|
|
3756
|
+
e8 as IconMultiAlert,
|
|
3757
|
+
t8 as IconMultiBan,
|
|
3758
|
+
n8 as IconMultiCamera,
|
|
3759
|
+
o8 as IconMultiCheck,
|
|
3760
|
+
s8 as IconMultiController,
|
|
3761
|
+
c8 as IconMultiDownArrow,
|
|
3762
|
+
r8 as IconMultiElipses,
|
|
3763
|
+
l8 as IconMultiFlag,
|
|
3764
|
+
i8 as IconMultiGear,
|
|
3765
|
+
a8 as IconMultiGlass,
|
|
3766
|
+
u8 as IconMultiHdmi,
|
|
3767
|
+
d8 as IconMultiLaptop,
|
|
3768
|
+
v8 as IconMultiLeftArrow,
|
|
3769
|
+
h8 as IconMultiLight,
|
|
3770
|
+
D8 as IconMultiMic,
|
|
3771
|
+
g8 as IconMultiMoon,
|
|
3772
|
+
f8 as IconMultiPlaystation,
|
|
3773
|
+
w8 as IconMultiPodium,
|
|
3774
|
+
p8 as IconMultiPower,
|
|
3775
|
+
m8 as IconMultiPrivacy,
|
|
3776
|
+
M8 as IconMultiQuestion,
|
|
3777
|
+
x8 as IconMultiRightArrow,
|
|
3778
|
+
Z8 as IconMultiRoomPC,
|
|
3779
|
+
S8 as IconMultiShade,
|
|
3780
|
+
j8 as IconMultiSun,
|
|
3781
|
+
Lt as IconMultiTemplate,
|
|
3782
|
+
C8 as IconMultiUpArrow,
|
|
3783
|
+
b8 as IconMultiVolDown,
|
|
3784
|
+
y8 as IconMultiVolMute,
|
|
3785
|
+
I8 as IconMultiVolUp,
|
|
3786
|
+
R8 as IconMultiWireless,
|
|
3787
|
+
E8 as IconMultiX,
|
|
3788
|
+
T8 as IconMultiXbox,
|
|
3789
|
+
At as MainLayout,
|
|
3790
|
+
Vt as MessageHandler,
|
|
3791
|
+
W6 as MobileControlProvider,
|
|
3788
3792
|
I as MultiStateIconContainer,
|
|
3789
|
-
|
|
3790
|
-
|
|
3791
|
-
|
|
3792
|
-
|
|
3793
|
-
|
|
3794
|
-
|
|
3795
|
-
|
|
3796
|
-
|
|
3797
|
-
|
|
3798
|
-
|
|
3799
|
-
|
|
3800
|
-
|
|
3801
|
-
|
|
3793
|
+
$t as NamedIconButton,
|
|
3794
|
+
Ot as ShareState,
|
|
3795
|
+
Bt as TechLayout,
|
|
3796
|
+
kt as TechPinLayout,
|
|
3797
|
+
$3 as WS_ADD_EVENT_HANDLER,
|
|
3798
|
+
_3 as WS_CONNECT,
|
|
3799
|
+
P3 as WS_DISCONNECT,
|
|
3800
|
+
B3 as WS_RECONNECT,
|
|
3801
|
+
A3 as WS_REMOVE_EVENT_HANDLER,
|
|
3802
|
+
L3 as WS_SEND_MESSAGE,
|
|
3803
|
+
O3 as WebsocketContext,
|
|
3804
|
+
T3 as appConfigActions,
|
|
3805
|
+
Be as createWebSocketMiddleware,
|
|
3802
3806
|
g1 as devicesActions,
|
|
3803
|
-
|
|
3804
|
-
|
|
3805
|
-
|
|
3806
|
-
|
|
3807
|
+
Wt as getBaseLocation,
|
|
3808
|
+
f3 as httpClient,
|
|
3809
|
+
_8 as iconsDictionary,
|
|
3810
|
+
Ut as roomOffSourceKey,
|
|
3807
3811
|
f1 as roomsActions,
|
|
3808
3812
|
U as runtimeConfigActions,
|
|
3809
|
-
|
|
3810
|
-
|
|
3811
|
-
|
|
3812
|
-
|
|
3813
|
-
|
|
3814
|
-
|
|
3815
|
-
|
|
3816
|
-
|
|
3817
|
-
|
|
3818
|
-
|
|
3819
|
-
|
|
3820
|
-
|
|
3821
|
-
|
|
3822
|
-
|
|
3823
|
-
|
|
3824
|
-
|
|
3825
|
-
|
|
3826
|
-
|
|
3827
|
-
|
|
3828
|
-
|
|
3829
|
-
|
|
3830
|
-
|
|
3831
|
-
|
|
3832
|
-
|
|
3833
|
-
|
|
3834
|
-
|
|
3835
|
-
|
|
3836
|
-
|
|
3837
|
-
|
|
3838
|
-
|
|
3839
|
-
|
|
3840
|
-
|
|
3841
|
-
|
|
3842
|
-
|
|
3843
|
-
|
|
3844
|
-
|
|
3845
|
-
|
|
3846
|
-
|
|
3847
|
-
|
|
3848
|
-
|
|
3849
|
-
|
|
3850
|
-
|
|
3851
|
-
|
|
3852
|
-
|
|
3853
|
-
|
|
3854
|
-
|
|
3855
|
-
|
|
3813
|
+
C3 as selectAllDevices,
|
|
3814
|
+
T2 as selectApiPath,
|
|
3815
|
+
E2 as selectAppConfig,
|
|
3816
|
+
ce as selectClientId,
|
|
3817
|
+
he as selectCurrentPopoverIdForGroup,
|
|
3818
|
+
P2 as selectDeviceByKey,
|
|
3819
|
+
b3 as selectDeviceInterfaceSupport,
|
|
3820
|
+
ve as selectDeviceSupportsInterface,
|
|
3821
|
+
fe as selectError,
|
|
3822
|
+
y3 as selectInterfacesForDevice,
|
|
3823
|
+
me as selectIsSyncStateValuePresent,
|
|
3824
|
+
de as selectIsTouchpanel,
|
|
3825
|
+
D2 as selectLogoPath,
|
|
3826
|
+
V1 as selectModalVisibility,
|
|
3827
|
+
_2 as selectPartnerMetadata,
|
|
3828
|
+
X2 as selectRoomAdvancedSharingActive,
|
|
3829
|
+
V2 as selectRoomAudioControlPointList,
|
|
3830
|
+
A2 as selectRoomByKey,
|
|
3831
|
+
q2 as selectRoomCodecContentDestinationKey,
|
|
3832
|
+
L2 as selectRoomConfiguration,
|
|
3833
|
+
H2 as selectRoomDestinationList,
|
|
3834
|
+
U2 as selectRoomDestinations,
|
|
3835
|
+
ee as selectRoomDisplayStates,
|
|
3836
|
+
F2 as selectRoomEnvironmentalDevices,
|
|
3837
|
+
G2 as selectRoomInCall,
|
|
3838
|
+
z2 as selectRoomIsCoolingDown,
|
|
3839
|
+
J2 as selectRoomIsOn,
|
|
3840
|
+
Y2 as selectRoomIsWarmingUp,
|
|
3841
|
+
se as selectRoomKey,
|
|
3842
|
+
O2 as selectRoomLevelControls,
|
|
3843
|
+
B2 as selectRoomName,
|
|
3844
|
+
K2 as selectRoomProgramAudioDestinationKey,
|
|
3845
|
+
Q2 as selectRoomShareState,
|
|
3846
|
+
W2 as selectRoomSourceList,
|
|
3847
|
+
k2 as selectRoomVolume,
|
|
3848
|
+
$2 as selectRooms,
|
|
3849
|
+
ae as selectRuntimeInfo,
|
|
3850
|
+
ie as selectServerIsRunningOnProcessorHardware,
|
|
3851
|
+
ge as selectShowPopoverById,
|
|
3852
|
+
we as selectShowReconnect,
|
|
3853
|
+
re as selectSystemUuid,
|
|
3854
|
+
pe as selectTheme,
|
|
3855
|
+
ue as selectTouchpanelKey,
|
|
3856
|
+
le as selectUserCode,
|
|
3857
|
+
oe as selectWsIsConnected,
|
|
3858
|
+
N2 as selectZoomRoomControllerKey,
|
|
3859
|
+
Oe as store,
|
|
3856
3860
|
O as uiActions,
|
|
3857
|
-
|
|
3858
|
-
|
|
3859
|
-
|
|
3860
|
-
|
|
3861
|
+
je as uiReducer,
|
|
3862
|
+
Q8 as useApiPath,
|
|
3863
|
+
X8 as useAppConfig,
|
|
3864
|
+
W1 as useAppDispatch,
|
|
3861
3865
|
f as useAppSelector,
|
|
3862
|
-
|
|
3866
|
+
H6 as useAvrControl,
|
|
3863
3867
|
g as useButtonHeldHeartbeat,
|
|
3864
|
-
|
|
3865
|
-
|
|
3866
|
-
|
|
3867
|
-
|
|
3868
|
-
|
|
3869
|
-
|
|
3870
|
-
|
|
3871
|
-
|
|
3872
|
-
|
|
3873
|
-
|
|
3874
|
-
|
|
3875
|
-
|
|
3876
|
-
|
|
3868
|
+
Q6 as useCameraBase,
|
|
3869
|
+
S6 as useClientId,
|
|
3870
|
+
Ct as useDeviceIBasicVolume,
|
|
3871
|
+
Ye as useDeviceIBasicVolumeWithFeedback,
|
|
3872
|
+
E6 as useDeviceInterfaceSupport,
|
|
3873
|
+
K6 as useDevicePresetsModel,
|
|
3874
|
+
D6 as useDeviceSupportsInterface,
|
|
3875
|
+
q6 as useEndpoint,
|
|
3876
|
+
Me as useError,
|
|
3877
|
+
bt as useGetAllDeviceStateFromRoomConfiguration,
|
|
3878
|
+
t6 as useGetAllDevices,
|
|
3879
|
+
o6 as useGetAllRooms,
|
|
3880
|
+
$6 as useGetCurrentPopoverIdForGroup,
|
|
3877
3881
|
_ as useGetDevice,
|
|
3878
|
-
|
|
3879
|
-
|
|
3880
|
-
|
|
3881
|
-
|
|
3882
|
-
|
|
3883
|
-
|
|
3884
|
-
|
|
3885
|
-
|
|
3886
|
-
|
|
3887
|
-
|
|
3888
|
-
|
|
3889
|
-
|
|
3890
|
-
|
|
3891
|
-
|
|
3892
|
-
|
|
3893
|
-
|
|
3894
|
-
|
|
3895
|
-
|
|
3896
|
-
|
|
3897
|
-
|
|
3898
|
-
|
|
3899
|
-
|
|
3900
|
-
|
|
3901
|
-
|
|
3902
|
-
|
|
3903
|
-
|
|
3904
|
-
|
|
3905
|
-
|
|
3906
|
-
|
|
3907
|
-
|
|
3908
|
-
|
|
3909
|
-
|
|
3910
|
-
|
|
3911
|
-
|
|
3912
|
-
|
|
3913
|
-
|
|
3914
|
-
|
|
3915
|
-
|
|
3916
|
-
|
|
3917
|
-
|
|
3918
|
-
|
|
3919
|
-
|
|
3920
|
-
|
|
3921
|
-
|
|
3922
|
-
|
|
3923
|
-
|
|
3924
|
-
|
|
3925
|
-
|
|
3926
|
-
|
|
3927
|
-
|
|
3928
|
-
|
|
3929
|
-
|
|
3930
|
-
|
|
3931
|
-
|
|
3932
|
-
|
|
3933
|
-
|
|
3934
|
-
|
|
3935
|
-
|
|
3936
|
-
|
|
3937
|
-
|
|
3938
|
-
|
|
3939
|
-
|
|
3940
|
-
|
|
3941
|
-
|
|
3942
|
-
|
|
3943
|
-
|
|
3944
|
-
|
|
3945
|
-
|
|
3946
|
-
|
|
3947
|
-
|
|
3948
|
-
|
|
3949
|
-
|
|
3950
|
-
|
|
3951
|
-
|
|
3952
|
-
|
|
3953
|
-
|
|
3954
|
-
|
|
3955
|
-
|
|
3956
|
-
|
|
3957
|
-
|
|
3958
|
-
|
|
3959
|
-
|
|
3960
|
-
|
|
3882
|
+
V6 as useGetIBasicVolume,
|
|
3883
|
+
U6 as useGetIBasicVolumeWithFeedback,
|
|
3884
|
+
s6 as useGetRoom,
|
|
3885
|
+
M6 as useGetRoomDisplayStates,
|
|
3886
|
+
x6 as useGetZoomRoomControllerKey,
|
|
3887
|
+
S1 as useIBasicVolume,
|
|
3888
|
+
W3 as useIBasicVolumeWithFeedback,
|
|
3889
|
+
G6 as useIChannel,
|
|
3890
|
+
Y6 as useIColor,
|
|
3891
|
+
z6 as useICommunicationMonitor,
|
|
3892
|
+
X6 as useIDPad,
|
|
3893
|
+
J6 as useIDeviceInfoMessenger,
|
|
3894
|
+
N6 as useIDspPresets,
|
|
3895
|
+
et as useIDvr,
|
|
3896
|
+
tt as useIEssentialsRoomCombiner,
|
|
3897
|
+
nt as useIHasCameras,
|
|
3898
|
+
V3 as useIHasPowerControl,
|
|
3899
|
+
O1 as useIHasSelectableItems,
|
|
3900
|
+
ot as useIHumiditySensor,
|
|
3901
|
+
st as useILevelControls,
|
|
3902
|
+
ct as useILightingScenes,
|
|
3903
|
+
rt as useIMatrixRouting,
|
|
3904
|
+
lt as useIMcCiscoCodecUserInterfaceAppControl,
|
|
3905
|
+
it as useINumeric,
|
|
3906
|
+
at as useIProjectorScreenLiftControl,
|
|
3907
|
+
ut as useIRoomEventSchedule,
|
|
3908
|
+
dt as useIRunDefaultPresentRoute,
|
|
3909
|
+
vt as useIRunDirectRouteAction,
|
|
3910
|
+
ht as useIRunRouteAction,
|
|
3911
|
+
gt as useISetTopBoxControls,
|
|
3912
|
+
ft as useIShadesOpenCloseStop,
|
|
3913
|
+
wt as useIShutdownPromptTimer,
|
|
3914
|
+
pt as useISwitchedOutput,
|
|
3915
|
+
mt as useITechPassword,
|
|
3916
|
+
Mt as useITemperatureSensor,
|
|
3917
|
+
xt as useITheme,
|
|
3918
|
+
Zt as useITransport,
|
|
3919
|
+
O6 as useInitialize,
|
|
3920
|
+
T6 as useInterfacesForDevice,
|
|
3921
|
+
Ze as useIsSyncStateValuePresent,
|
|
3922
|
+
R6 as useIsTouchpanel,
|
|
3923
|
+
N8 as useLogoPath,
|
|
3924
|
+
St as useMobileControlTouchpanelController,
|
|
3925
|
+
yt as useOverflow,
|
|
3926
|
+
e6 as usePartnerMetadata,
|
|
3927
|
+
Ge as usePressHoldRelease,
|
|
3928
|
+
p6 as useRoomAdvancedSharingActive,
|
|
3929
|
+
l6 as useRoomAudioControlPointList,
|
|
3930
|
+
v6 as useRoomCodecContentDestinationKey,
|
|
3931
|
+
n6 as useRoomConfiguration,
|
|
3932
|
+
a6 as useRoomDestinationList,
|
|
3933
|
+
i6 as useRoomDestinations,
|
|
3934
|
+
u6 as useRoomEnvironmentalDevices,
|
|
3935
|
+
It as useRoomIBasicVolume,
|
|
3936
|
+
Rt as useRoomIBasicVolumeWithFeedback,
|
|
3937
|
+
h6 as useRoomInCall,
|
|
3938
|
+
f6 as useRoomIsCoolingDown,
|
|
3939
|
+
w6 as useRoomIsOn,
|
|
3940
|
+
g6 as useRoomIsWarmingUp,
|
|
3941
|
+
Z6 as useRoomKey,
|
|
3942
|
+
ne as useRoomLevelControls,
|
|
3943
|
+
c6 as useRoomName,
|
|
3944
|
+
d6 as useRoomProgramAudioDestinationKey,
|
|
3945
|
+
m6 as useRoomShareState,
|
|
3946
|
+
r6 as useRoomSourceList,
|
|
3947
|
+
Z1 as useRoomState,
|
|
3948
|
+
te as useRoomVolume,
|
|
3949
|
+
y6 as useRuntimeInfo,
|
|
3950
|
+
Et as useScroll,
|
|
3951
|
+
b6 as useServerIsRunningOnProcessorHardware,
|
|
3952
|
+
P6 as useShowIncomingCallModal,
|
|
3953
|
+
L6 as useShowModal,
|
|
3954
|
+
A6 as useShowPopoverById,
|
|
3955
|
+
xe as useShowReconnect,
|
|
3956
|
+
_6 as useShowShutdownModal,
|
|
3957
|
+
Tt as useStateIsSynced,
|
|
3958
|
+
Dt as useSystemControl,
|
|
3959
|
+
j6 as useSystemUuid,
|
|
3960
|
+
B6 as useTheme,
|
|
3961
|
+
_t as useTimeAndDate,
|
|
3962
|
+
I6 as useTouchpanelKey,
|
|
3963
|
+
jt as useTwoWayDisplayBase,
|
|
3964
|
+
C6 as useUserCode,
|
|
3961
3965
|
R as useWebsocketContext,
|
|
3962
|
-
|
|
3963
|
-
|
|
3964
|
-
|
|
3965
|
-
|
|
3966
|
-
|
|
3967
|
-
|
|
3968
|
-
|
|
3966
|
+
I3 as useWsIsConnected,
|
|
3967
|
+
Le as wsAddEventHandler,
|
|
3968
|
+
k3 as wsConnect,
|
|
3969
|
+
k6 as wsDisconnect,
|
|
3970
|
+
Ae as wsReconnect,
|
|
3971
|
+
$e as wsRemoveEventHandler,
|
|
3972
|
+
Pe as wsSendMessage
|
|
3969
3973
|
};
|