@pepperdash/mobile-control-react-app-core 1.11.0 → 1.13.0
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 +767 -724
- package/dist/mobile-control-react-app-core.umd.js +11 -11
- package/dist/shared/hooks/index.d.ts +1 -0
- package/dist/shared/hooks/index.d.ts.map +1 -1
- package/dist/shared/hooks/interfaces/index.d.ts +2 -0
- package/dist/shared/hooks/interfaces/index.d.ts.map +1 -1
- package/dist/shared/hooks/interfaces/useIDspPresets.d.ts +5 -0
- package/dist/shared/hooks/interfaces/useIDspPresets.d.ts.map +1 -0
- package/dist/shared/hooks/interfaces/useITheme.d.ts +7 -0
- package/dist/shared/hooks/interfaces/useITheme.d.ts.map +1 -0
- package/dist/shared/hooks/useSystemControl.d.ts +5 -0
- package/dist/shared/hooks/useSystemControl.d.ts.map +1 -0
- package/dist/shared/layout/ErrorBox.d.ts.map +1 -1
- package/dist/store/rooms/rooms.slice.d.ts +46 -16
- package/dist/store/rooms/rooms.slice.d.ts.map +1 -1
- package/dist/store/rooms/roomsSelectors.d.ts +1 -1
- package/dist/store/rooms/roomsSelectors.d.ts.map +1 -1
- package/dist/store/runtimeConfig/runtimeConfig.slice.d.ts +119 -7
- package/dist/store/runtimeConfig/runtimeConfig.slice.d.ts.map +1 -1
- package/dist/store/runtimeConfig/runtimeSelectors.d.ts +11 -0
- package/dist/store/runtimeConfig/runtimeSelectors.d.ts.map +1 -1
- package/dist/types/classes/room-data.d.ts +12 -1
- package/dist/types/classes/room-data.d.ts.map +1 -1
- package/dist/types/state/AudioControlPointListItemBase.d.ts +10 -0
- package/dist/types/state/AudioControlPointListItemBase.d.ts.map +1 -0
- package/dist/types/state/LevelControlListItem.d.ts +2 -6
- package/dist/types/state/LevelControlListItem.d.ts.map +1 -1
- package/dist/types/state/PresetListItem.d.ts +4 -0
- package/dist/types/state/PresetListItem.d.ts.map +1 -0
- package/dist/types/state/index.d.ts +2 -0
- package/dist/types/state/index.d.ts.map +1 -1
- package/dist/types/state/state/MobileControlTouchpanelState.d.ts +4 -1
- package/dist/types/state/state/MobileControlTouchpanelState.d.ts.map +1 -1
- package/dist/types/state/state/RoomState.d.ts +8 -3
- package/dist/types/state/state/RoomState.d.ts.map +1 -1
- package/dist/utils/WebsocketProvider.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
var J3 = Object.defineProperty;
|
|
2
2
|
var X3 = (t, e, s) => e in t ? J3(t, e, { enumerable: !0, configurable: !0, writable: !0, value: s }) : t[e] = s;
|
|
3
|
-
var
|
|
3
|
+
var V = (t, e, s) => (X3(t, typeof e != "symbol" ? e + "" : e, s), s);
|
|
4
4
|
import Q3, { AxiosError as N3 } from "axios";
|
|
5
5
|
import { createSlice as d1, combineReducers as e2, configureStore as u3, createSelector as t2 } from "@reduxjs/toolkit";
|
|
6
6
|
import { useSelector as o2, useDispatch as s2, Provider as n2 } from "react-redux";
|
|
7
7
|
import * as d3 from "lodash";
|
|
8
|
-
import
|
|
9
|
-
import { useNavigate as l2 } from "react-router-dom";
|
|
10
|
-
const
|
|
8
|
+
import h3, { createContext as r2, useState as H, useRef as u1, useCallback as c1, useEffect as t1, useContext as c2, useLayoutEffect as v3 } from "react";
|
|
9
|
+
import { useNavigate as l2, useRouteError as i2, isRouteErrorResponse as a2 } from "react-router-dom";
|
|
10
|
+
const u2 = {
|
|
11
11
|
config: {
|
|
12
12
|
enableDev: !1,
|
|
13
13
|
apiPath: "",
|
|
@@ -19,45 +19,45 @@ const i2 = {
|
|
|
19
19
|
}
|
|
20
20
|
}, g3 = d1({
|
|
21
21
|
name: "appConfig",
|
|
22
|
-
initialState:
|
|
22
|
+
initialState: u2,
|
|
23
23
|
reducers: {
|
|
24
24
|
setAppConfig(t, e) {
|
|
25
25
|
t.config = e.payload;
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
|
-
}),
|
|
28
|
+
}), d2 = g3.actions, h2 = g3.reducer, r3 = {}, f3 = d1({
|
|
29
29
|
name: "devices",
|
|
30
|
-
initialState:
|
|
30
|
+
initialState: r3,
|
|
31
31
|
reducers: {
|
|
32
32
|
setDeviceState(t, e) {
|
|
33
|
-
const s = e.payload.type,
|
|
34
|
-
if (!
|
|
33
|
+
const s = e.payload.type, r = s.slice(s.lastIndexOf("/") + 1);
|
|
34
|
+
if (!r)
|
|
35
35
|
return;
|
|
36
|
-
const
|
|
37
|
-
return t[
|
|
36
|
+
const c = e.payload.content, u = t[r] ?? {}, i = d3.merge(u, c);
|
|
37
|
+
return t[r] = i, t;
|
|
38
38
|
},
|
|
39
39
|
clearDevices() {
|
|
40
|
-
return
|
|
40
|
+
return r3;
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
}), N = f3.actions,
|
|
43
|
+
}), N = f3.actions, v2 = f3.reducer, c3 = {}, w3 = d1({
|
|
44
44
|
name: "rooms",
|
|
45
|
-
initialState:
|
|
45
|
+
initialState: c3,
|
|
46
46
|
reducers: {
|
|
47
47
|
setRoomState(t, e) {
|
|
48
|
-
const s = e.payload.type,
|
|
49
|
-
if (console.log(s,
|
|
48
|
+
const s = e.payload.type, r = s.slice(s.lastIndexOf("/") + 1);
|
|
49
|
+
if (console.log(s, r), !r)
|
|
50
50
|
return;
|
|
51
|
-
const
|
|
52
|
-
console.log(
|
|
53
|
-
const
|
|
54
|
-
return t[
|
|
51
|
+
const c = e.payload.content;
|
|
52
|
+
console.log(c);
|
|
53
|
+
const u = t[r] ?? {}, i = d3.merge(u, c);
|
|
54
|
+
return t[r] = i, console.log(t), t;
|
|
55
55
|
},
|
|
56
56
|
clearRooms() {
|
|
57
|
-
return
|
|
57
|
+
return c3;
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
|
-
}), e1 = w3.actions,
|
|
60
|
+
}), e1 = w3.actions, g2 = w3.reducer, f2 = {
|
|
61
61
|
apiVersion: "",
|
|
62
62
|
serverIsRunningOnProcessorHardware: !1,
|
|
63
63
|
websocket: {
|
|
@@ -67,19 +67,27 @@ const i2 = {
|
|
|
67
67
|
disconnectionMessage: "",
|
|
68
68
|
token: "",
|
|
69
69
|
currentRoomKey: "",
|
|
70
|
+
touchpanelKey: "",
|
|
70
71
|
roomData: {
|
|
71
72
|
clientId: "",
|
|
72
73
|
roomKey: "",
|
|
73
74
|
systemUuid: "",
|
|
74
75
|
roomUuid: "",
|
|
75
76
|
userAppUrl: "",
|
|
76
|
-
config:
|
|
77
|
+
config: {
|
|
78
|
+
runtimeInfo: {
|
|
79
|
+
pluginVersion: "",
|
|
80
|
+
essentialsVersion: "",
|
|
81
|
+
pepperDashCoreVersion: "",
|
|
82
|
+
essentialsPlugins: []
|
|
83
|
+
}
|
|
84
|
+
},
|
|
77
85
|
userCode: "",
|
|
78
86
|
qrUrl: ""
|
|
79
87
|
}
|
|
80
88
|
}, p3 = d1({
|
|
81
89
|
name: "runtimeConfig",
|
|
82
|
-
initialState:
|
|
90
|
+
initialState: f2,
|
|
83
91
|
reducers: {
|
|
84
92
|
setRuntimeConfig(t, e) {
|
|
85
93
|
t.apiVersion = e.payload.apiVersion, t.serverIsRunningOnProcessorHardware = e.payload.serverIsRunningOnProcessorHardware;
|
|
@@ -101,9 +109,12 @@ const i2 = {
|
|
|
101
109
|
},
|
|
102
110
|
setUserCode(t, e) {
|
|
103
111
|
t.roomData.userCode = e.payload.userCode, t.roomData.qrUrl = e.payload.qrUrl;
|
|
112
|
+
},
|
|
113
|
+
setTouchpanelKey(t, e) {
|
|
114
|
+
t.touchpanelKey = e.payload;
|
|
104
115
|
}
|
|
105
116
|
}
|
|
106
|
-
}), W = p3.actions,
|
|
117
|
+
}), W = p3.actions, w2 = p3.reducer, p2 = {
|
|
107
118
|
showReconnect: !1,
|
|
108
119
|
error: "",
|
|
109
120
|
modalVisibility: {
|
|
@@ -113,7 +124,7 @@ const i2 = {
|
|
|
113
124
|
popoverVisibility: {}
|
|
114
125
|
}, x3 = d1({
|
|
115
126
|
name: "ui",
|
|
116
|
-
initialState:
|
|
127
|
+
initialState: p2,
|
|
117
128
|
reducers: {
|
|
118
129
|
clearAllModals(t) {
|
|
119
130
|
Object.entries(t.modalVisibility).forEach(([e]) => {
|
|
@@ -141,144 +152,147 @@ const i2 = {
|
|
|
141
152
|
t.showReconnect = e.payload;
|
|
142
153
|
}
|
|
143
154
|
}
|
|
144
|
-
}), q = x3.actions,
|
|
145
|
-
appConfig:
|
|
146
|
-
runtimeConfig:
|
|
147
|
-
rooms:
|
|
148
|
-
devices:
|
|
149
|
-
ui:
|
|
150
|
-
}),
|
|
155
|
+
}), q = x3.actions, x2 = x3.reducer, M3 = e2({
|
|
156
|
+
appConfig: h2,
|
|
157
|
+
runtimeConfig: w2,
|
|
158
|
+
rooms: g2,
|
|
159
|
+
devices: v2,
|
|
160
|
+
ui: x2
|
|
161
|
+
}), M2 = u3({
|
|
151
162
|
reducer: M3
|
|
152
|
-
}), $1 =
|
|
153
|
-
function
|
|
154
|
-
return
|
|
163
|
+
}), $1 = M2, p = o2, m2 = () => p((t) => t.appConfig.config), q8 = () => p((t) => t.appConfig.config.apiPath), Z2 = () => p((t) => t.devices);
|
|
164
|
+
function $(t) {
|
|
165
|
+
return p((e) => e.devices[t] ? e.devices[t] : void 0);
|
|
155
166
|
}
|
|
156
|
-
const
|
|
167
|
+
const Y8 = (t) => p(
|
|
157
168
|
(e) => {
|
|
158
169
|
var s;
|
|
159
170
|
return e.rooms[t] ? (s = e.rooms[t]) == null ? void 0 : s.configuration : void 0;
|
|
160
171
|
}
|
|
161
|
-
),
|
|
172
|
+
), A1 = (t) => p(
|
|
162
173
|
(e) => e.rooms[t] ? e.rooms[t] : void 0
|
|
163
|
-
),
|
|
174
|
+
), z8 = (t) => p(
|
|
164
175
|
(e) => {
|
|
165
176
|
var s;
|
|
166
177
|
return e.rooms[t] ? (s = e.rooms[t]) == null ? void 0 : s.name : void 0;
|
|
167
178
|
}
|
|
168
|
-
),
|
|
179
|
+
), j2 = (t, e) => p(
|
|
169
180
|
(s) => {
|
|
170
|
-
var
|
|
171
|
-
return s.rooms[t] ? (
|
|
181
|
+
var r;
|
|
182
|
+
return s.rooms[t] ? (r = s.rooms[t]) == null ? void 0 : r.volumes[e] : void 0;
|
|
172
183
|
}
|
|
173
|
-
),
|
|
184
|
+
), C2 = (t) => p(
|
|
174
185
|
(e) => e.rooms[t] ? e.rooms[t] : void 0
|
|
175
|
-
),
|
|
186
|
+
), J8 = (t) => p(
|
|
176
187
|
(e) => {
|
|
177
|
-
var s,
|
|
178
|
-
return e.rooms[t] ? (
|
|
188
|
+
var s, r;
|
|
189
|
+
return e.rooms[t] ? (r = (s = e.rooms[t]) == null ? void 0 : s.configuration) == null ? void 0 : r.sourceList : void 0;
|
|
179
190
|
}
|
|
180
|
-
),
|
|
191
|
+
), X8 = (t) => p(
|
|
181
192
|
(e) => {
|
|
182
|
-
var s,
|
|
183
|
-
return e.rooms[t] ? (
|
|
193
|
+
var s, r;
|
|
194
|
+
return e.rooms[t] ? (r = (s = e.rooms[t]) == null ? void 0 : s.configuration) == null ? void 0 : r.audioControlPointList : void 0;
|
|
184
195
|
}
|
|
185
|
-
),
|
|
196
|
+
), Q8 = (t) => p(
|
|
186
197
|
(e) => {
|
|
187
|
-
var s,
|
|
188
|
-
return e.rooms[t] ? (
|
|
198
|
+
var s, r;
|
|
199
|
+
return e.rooms[t] ? (r = (s = e.rooms[t]) == null ? void 0 : s.configuration) == null ? void 0 : r.destinations : void 0;
|
|
189
200
|
}
|
|
190
|
-
),
|
|
201
|
+
), N8 = (t) => p(
|
|
191
202
|
(e) => {
|
|
192
|
-
var s,
|
|
193
|
-
return e.rooms[t] ? (
|
|
203
|
+
var s, r;
|
|
204
|
+
return e.rooms[t] ? (r = (s = e.rooms[t]) == null ? void 0 : s.configuration) == null ? void 0 : r.destinationList : void 0;
|
|
194
205
|
}
|
|
195
|
-
),
|
|
206
|
+
), e6 = (t) => p(
|
|
196
207
|
(e) => {
|
|
197
|
-
var s,
|
|
198
|
-
return e.rooms[t] ? (
|
|
208
|
+
var s, r;
|
|
209
|
+
return e.rooms[t] ? (r = (s = e.rooms[t]) == null ? void 0 : s.configuration) == null ? void 0 : r.environmentalDevices : void 0;
|
|
199
210
|
}
|
|
200
|
-
),
|
|
211
|
+
), t6 = (t) => p(
|
|
201
212
|
(e) => {
|
|
202
|
-
var s, c,
|
|
203
|
-
return (
|
|
213
|
+
var s, r, c, u, i, g, f, w;
|
|
214
|
+
return (r = (s = e.rooms[t]) == null ? void 0 : s.configuration) != null && r.destinationList.programAudio ? (i = (u = (c = e.rooms[t]) == null ? void 0 : c.configuration) == null ? void 0 : u.destinationList.programAudio) == null ? void 0 : i.sinkKey : ((w = (f = (g = e.rooms[t]) == null ? void 0 : g.configuration) == null ? void 0 : f.destinationList.defaultDisplay) == null ? void 0 : w.sinkKey) || "";
|
|
204
215
|
}
|
|
205
|
-
),
|
|
216
|
+
), o6 = (t) => p(
|
|
206
217
|
(e) => {
|
|
207
|
-
var s,
|
|
208
|
-
return e.rooms[t] ? (
|
|
218
|
+
var s, r, c;
|
|
219
|
+
return e.rooms[t] ? (c = (r = (s = e.rooms[t]) == null ? void 0 : s.configuration) == null ? void 0 : r.destinationList.codecContent) == null ? void 0 : c.sinkKey : void 0;
|
|
209
220
|
}
|
|
210
|
-
),
|
|
221
|
+
), s6 = (t) => p(
|
|
211
222
|
(e) => {
|
|
212
223
|
var s;
|
|
213
224
|
return e.rooms[t] ? (s = e.rooms[t]) == null ? void 0 : s.isInCall : void 0;
|
|
214
225
|
}
|
|
215
|
-
),
|
|
226
|
+
), n6 = (t) => p(
|
|
216
227
|
(e) => {
|
|
217
228
|
var s;
|
|
218
229
|
return e.rooms[t] ? (s = e.rooms[t]) == null ? void 0 : s.isWarmingUp : void 0;
|
|
219
230
|
}
|
|
220
|
-
),
|
|
231
|
+
), r6 = (t) => p(
|
|
221
232
|
(e) => {
|
|
222
233
|
var s;
|
|
223
234
|
return e.rooms[t] ? (s = e.rooms[t]) == null ? void 0 : s.isCoolingDown : void 0;
|
|
224
235
|
}
|
|
225
|
-
),
|
|
236
|
+
), c6 = (t) => p(
|
|
226
237
|
(e) => {
|
|
227
238
|
var s;
|
|
228
239
|
return e.rooms[t] ? (s = e.rooms[t]) == null ? void 0 : s.isOn : void 0;
|
|
229
240
|
}
|
|
230
|
-
),
|
|
241
|
+
), l6 = (t) => p(
|
|
231
242
|
(e) => {
|
|
232
243
|
var s;
|
|
233
244
|
return e.rooms[t] ? (s = e.rooms[t]) == null ? void 0 : s.advancedSharingActive : void 0;
|
|
234
245
|
}
|
|
235
|
-
),
|
|
246
|
+
), i6 = (t) => p(
|
|
236
247
|
(e) => {
|
|
237
248
|
var s;
|
|
238
249
|
return e.rooms[t] ? (s = e.rooms[t]) == null ? void 0 : s.share : void 0;
|
|
239
250
|
}
|
|
240
|
-
),
|
|
251
|
+
), a6 = (t) => t2(
|
|
241
252
|
[
|
|
242
253
|
(e, s) => s,
|
|
243
|
-
|
|
254
|
+
Z2,
|
|
244
255
|
(e) => {
|
|
245
|
-
var s,
|
|
246
|
-
return (
|
|
256
|
+
var s, r;
|
|
257
|
+
return (r = (s = e.rooms[t]) == null ? void 0 : s.configuration) == null ? void 0 : r.destinations;
|
|
247
258
|
}
|
|
248
259
|
],
|
|
249
|
-
(e, s,
|
|
250
|
-
if (console.log("roomKey", e), console.log("devices", s), console.log("destinations",
|
|
260
|
+
(e, s, r) => {
|
|
261
|
+
if (console.log("roomKey", e), console.log("devices", s), console.log("destinations", r), !r)
|
|
251
262
|
return;
|
|
252
|
-
const
|
|
253
|
-
return Object.values(s).filter((
|
|
263
|
+
const c = Object.entries(r).filter(([i]) => i !== "programAudio" && i !== "codecContent").map(([, i]) => i);
|
|
264
|
+
return Object.values(s).filter((i) => Object.values(c).includes(i.key));
|
|
254
265
|
}
|
|
255
|
-
)($1.getState(), t),
|
|
266
|
+
)($1.getState(), t), u6 = (t) => p(
|
|
256
267
|
(e) => {
|
|
257
|
-
var s,
|
|
258
|
-
return e.rooms[t] ? (
|
|
268
|
+
var s, r;
|
|
269
|
+
return e.rooms[t] ? (r = (s = e.rooms[t]) == null ? void 0 : s.configuration) == null ? void 0 : r.zoomRoomControllerKey : void 0;
|
|
259
270
|
}
|
|
260
|
-
),
|
|
271
|
+
), S2 = () => p((t) => t.runtimeConfig.websocket.isConnected), b2 = () => p((t) => t.runtimeConfig.currentRoomKey), I2 = () => p((t) => t.runtimeConfig.roomData.clientId), y2 = () => p((t) => t.runtimeConfig.roomData.systemUuid), R2 = () => p((t) => t.runtimeConfig.roomData.userCode), E2 = () => p((t) => t.runtimeConfig.serverIsRunningOnProcessorHardware), d6 = () => p((t) => {
|
|
272
|
+
var e;
|
|
273
|
+
return (e = t.runtimeConfig.roomData.config) == null ? void 0 : e.runtimeInfo;
|
|
274
|
+
}), h6 = () => p((t) => t.runtimeConfig.touchpanelKey), v6 = () => p((t) => t.runtimeConfig.touchpanelKey !== ""), g6 = () => p((t) => t.ui.modalVisibility.showShutdownModal), f6 = () => p((t) => t.ui.modalVisibility.showIncomingCallModal), w6 = (t) => p((e) => e.ui.modalVisibility[t]), p6 = (t) => p((e) => {
|
|
261
275
|
const s = e.ui.popoverVisibility[t];
|
|
262
276
|
if (s)
|
|
263
|
-
return Object.keys(s).find((
|
|
264
|
-
}),
|
|
265
|
-
var
|
|
266
|
-
return (
|
|
267
|
-
}),
|
|
277
|
+
return Object.keys(s).find((r) => s[r]);
|
|
278
|
+
}), x6 = (t, e) => p((s) => {
|
|
279
|
+
var r;
|
|
280
|
+
return (r = s.ui.popoverVisibility[t]) == null ? void 0 : r[e];
|
|
281
|
+
}), _2 = () => p((t) => t.ui.error), L2 = () => p((t) => t.ui.showReconnect), C = u3({
|
|
268
282
|
reducer: M3
|
|
269
|
-
}),
|
|
270
|
-
function
|
|
271
|
-
const t =
|
|
283
|
+
}), $2 = s2, P1 = Q3.create();
|
|
284
|
+
function P2() {
|
|
285
|
+
const t = $2();
|
|
272
286
|
return async () => {
|
|
273
287
|
try {
|
|
274
|
-
const e = location.pathname.split("/").filter((
|
|
288
|
+
const e = location.pathname.split("/").filter((c) => c.length > 0);
|
|
275
289
|
e.length >= 5 ? e.length = 5 : e.length = 2;
|
|
276
|
-
const s = `/${e.join("/")}`,
|
|
277
|
-
if (
|
|
278
|
-
const
|
|
279
|
-
t(
|
|
280
|
-
const
|
|
281
|
-
|
|
290
|
+
const s = `/${e.join("/")}`, r = await P1.get("/_local-config/_config.local.json", { baseURL: s });
|
|
291
|
+
if (r.status == 200 && r.data) {
|
|
292
|
+
const c = r.data.apiPath;
|
|
293
|
+
t(d2.setAppConfig(r.data));
|
|
294
|
+
const u = await P1.get(`${c}/version`);
|
|
295
|
+
u.status == 200 && u.data && t(W.setRuntimeConfig(u.data));
|
|
282
296
|
}
|
|
283
297
|
} catch (e) {
|
|
284
298
|
console.error("Error getting config", e);
|
|
@@ -286,7 +300,7 @@ function L2() {
|
|
|
286
300
|
return !0;
|
|
287
301
|
};
|
|
288
302
|
}
|
|
289
|
-
var
|
|
303
|
+
var T1 = { exports: {} }, l1 = {};
|
|
290
304
|
/**
|
|
291
305
|
* @license React
|
|
292
306
|
* react-jsx-runtime.development.js
|
|
@@ -297,47 +311,47 @@ var A1 = { exports: {} }, l1 = {};
|
|
|
297
311
|
* LICENSE file in the root directory of this source tree.
|
|
298
312
|
*/
|
|
299
313
|
var l3;
|
|
300
|
-
function
|
|
314
|
+
function T2() {
|
|
301
315
|
return l3 || (l3 = 1, process.env.NODE_ENV !== "production" && function() {
|
|
302
|
-
var t =
|
|
316
|
+
var t = h3, e = Symbol.for("react.element"), s = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), c = Symbol.for("react.strict_mode"), u = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), g = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), w = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), T = Symbol.for("react.lazy"), F = Symbol.for("react.offscreen"), O = Symbol.iterator, z = "@@iterator";
|
|
303
317
|
function o1(n) {
|
|
304
318
|
if (n === null || typeof n != "object")
|
|
305
319
|
return null;
|
|
306
|
-
var
|
|
307
|
-
return typeof
|
|
320
|
+
var l = O && n[O] || n[z];
|
|
321
|
+
return typeof l == "function" ? l : null;
|
|
308
322
|
}
|
|
309
|
-
var
|
|
323
|
+
var P = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
310
324
|
function L(n) {
|
|
311
325
|
{
|
|
312
|
-
for (var
|
|
313
|
-
a[
|
|
326
|
+
for (var l = arguments.length, a = new Array(l > 1 ? l - 1 : 0), h = 1; h < l; h++)
|
|
327
|
+
a[h - 1] = arguments[h];
|
|
314
328
|
x1("error", n, a);
|
|
315
329
|
}
|
|
316
330
|
}
|
|
317
|
-
function x1(n,
|
|
331
|
+
function x1(n, l, a) {
|
|
318
332
|
{
|
|
319
|
-
var
|
|
320
|
-
j !== "" && (
|
|
333
|
+
var h = P.ReactDebugCurrentFrame, j = h.getStackAddendum();
|
|
334
|
+
j !== "" && (l += "%s", a = a.concat([j]));
|
|
321
335
|
var S = a.map(function(M) {
|
|
322
336
|
return String(M);
|
|
323
337
|
});
|
|
324
|
-
S.unshift("Warning: " +
|
|
338
|
+
S.unshift("Warning: " + l), Function.prototype.apply.call(console[n], console, S);
|
|
325
339
|
}
|
|
326
340
|
}
|
|
327
|
-
var M1 = !1, y = !1, Z = !1,
|
|
341
|
+
var M1 = !1, y = !1, Z = !1, h1 = !1, m1 = !1, K;
|
|
328
342
|
K = Symbol.for("react.module.reference");
|
|
329
|
-
function
|
|
330
|
-
return !!(typeof n == "string" || typeof n == "function" || n ===
|
|
343
|
+
function A(n) {
|
|
344
|
+
return !!(typeof n == "string" || typeof n == "function" || n === r || n === u || m1 || n === c || n === w || n === d || h1 || n === F || M1 || y || Z || typeof n == "object" && n !== null && (n.$$typeof === T || n.$$typeof === b || n.$$typeof === i || n.$$typeof === g || n.$$typeof === f || // This needs to include all possible module reference object
|
|
331
345
|
// types supported by any Flight configuration anywhere since
|
|
332
346
|
// we don't know which Flight build this will end up being used
|
|
333
347
|
// with.
|
|
334
348
|
n.$$typeof === K || n.getModuleId !== void 0));
|
|
335
349
|
}
|
|
336
|
-
function R(n,
|
|
337
|
-
var
|
|
338
|
-
if (
|
|
339
|
-
return
|
|
340
|
-
var j =
|
|
350
|
+
function R(n, l, a) {
|
|
351
|
+
var h = n.displayName;
|
|
352
|
+
if (h)
|
|
353
|
+
return h;
|
|
354
|
+
var j = l.displayName || l.name || "";
|
|
341
355
|
return j !== "" ? a + "(" + j + ")" : a;
|
|
342
356
|
}
|
|
343
357
|
function J(n) {
|
|
@@ -351,13 +365,13 @@ function $2() {
|
|
|
351
365
|
if (typeof n == "string")
|
|
352
366
|
return n;
|
|
353
367
|
switch (n) {
|
|
354
|
-
case
|
|
368
|
+
case r:
|
|
355
369
|
return "Fragment";
|
|
356
370
|
case s:
|
|
357
371
|
return "Portal";
|
|
358
|
-
case
|
|
372
|
+
case u:
|
|
359
373
|
return "Profiler";
|
|
360
|
-
case
|
|
374
|
+
case c:
|
|
361
375
|
return "StrictMode";
|
|
362
376
|
case w:
|
|
363
377
|
return "Suspense";
|
|
@@ -367,17 +381,17 @@ function $2() {
|
|
|
367
381
|
if (typeof n == "object")
|
|
368
382
|
switch (n.$$typeof) {
|
|
369
383
|
case g:
|
|
370
|
-
var
|
|
371
|
-
return J(
|
|
372
|
-
case
|
|
384
|
+
var l = n;
|
|
385
|
+
return J(l) + ".Consumer";
|
|
386
|
+
case i:
|
|
373
387
|
var a = n;
|
|
374
388
|
return J(a._context) + ".Provider";
|
|
375
389
|
case f:
|
|
376
390
|
return R(n, n.render, "ForwardRef");
|
|
377
391
|
case b:
|
|
378
|
-
var
|
|
379
|
-
return
|
|
380
|
-
case
|
|
392
|
+
var h = n.displayName || null;
|
|
393
|
+
return h !== null ? h : k(n.type) || "Memo";
|
|
394
|
+
case T: {
|
|
381
395
|
var j = n, S = j._payload, M = j._init;
|
|
382
396
|
try {
|
|
383
397
|
return k(M(S));
|
|
@@ -450,15 +464,15 @@ function $2() {
|
|
|
450
464
|
s1 < 0 && L("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
451
465
|
}
|
|
452
466
|
}
|
|
453
|
-
var Z1 =
|
|
454
|
-
function
|
|
467
|
+
var Z1 = P.ReactCurrentDispatcher, j1;
|
|
468
|
+
function v1(n, l, a) {
|
|
455
469
|
{
|
|
456
470
|
if (j1 === void 0)
|
|
457
471
|
try {
|
|
458
472
|
throw Error();
|
|
459
473
|
} catch (j) {
|
|
460
|
-
var
|
|
461
|
-
j1 =
|
|
474
|
+
var h = j.stack.trim().match(/\n( *(at )?)/);
|
|
475
|
+
j1 = h && h[1] || "";
|
|
462
476
|
}
|
|
463
477
|
return `
|
|
464
478
|
` + j1 + n;
|
|
@@ -469,7 +483,7 @@ function $2() {
|
|
|
469
483
|
var b3 = typeof WeakMap == "function" ? WeakMap : Map;
|
|
470
484
|
g1 = new b3();
|
|
471
485
|
}
|
|
472
|
-
function K1(n,
|
|
486
|
+
function K1(n, l) {
|
|
473
487
|
if (!n || C1)
|
|
474
488
|
return "";
|
|
475
489
|
{
|
|
@@ -477,14 +491,14 @@ function $2() {
|
|
|
477
491
|
if (a !== void 0)
|
|
478
492
|
return a;
|
|
479
493
|
}
|
|
480
|
-
var
|
|
494
|
+
var h;
|
|
481
495
|
C1 = !0;
|
|
482
496
|
var j = Error.prepareStackTrace;
|
|
483
497
|
Error.prepareStackTrace = void 0;
|
|
484
498
|
var S;
|
|
485
499
|
S = Z1.current, Z1.current = null, C3();
|
|
486
500
|
try {
|
|
487
|
-
if (
|
|
501
|
+
if (l) {
|
|
488
502
|
var M = function() {
|
|
489
503
|
throw Error();
|
|
490
504
|
};
|
|
@@ -495,39 +509,39 @@ function $2() {
|
|
|
495
509
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
496
510
|
try {
|
|
497
511
|
Reflect.construct(M, []);
|
|
498
|
-
} catch (
|
|
499
|
-
|
|
512
|
+
} catch (B) {
|
|
513
|
+
h = B;
|
|
500
514
|
}
|
|
501
515
|
Reflect.construct(n, [], M);
|
|
502
516
|
} else {
|
|
503
517
|
try {
|
|
504
518
|
M.call();
|
|
505
|
-
} catch (
|
|
506
|
-
|
|
519
|
+
} catch (B) {
|
|
520
|
+
h = B;
|
|
507
521
|
}
|
|
508
522
|
n.call(M.prototype);
|
|
509
523
|
}
|
|
510
524
|
} else {
|
|
511
525
|
try {
|
|
512
526
|
throw Error();
|
|
513
|
-
} catch (
|
|
514
|
-
|
|
527
|
+
} catch (B) {
|
|
528
|
+
h = B;
|
|
515
529
|
}
|
|
516
530
|
n();
|
|
517
531
|
}
|
|
518
|
-
} catch (
|
|
519
|
-
if (
|
|
520
|
-
for (var
|
|
521
|
-
`),
|
|
522
|
-
`), E =
|
|
532
|
+
} catch (B) {
|
|
533
|
+
if (B && h && typeof B.stack == "string") {
|
|
534
|
+
for (var x = B.stack.split(`
|
|
535
|
+
`), D = h.stack.split(`
|
|
536
|
+
`), E = x.length - 1, _ = D.length - 1; E >= 1 && _ >= 0 && x[E] !== D[_]; )
|
|
523
537
|
_--;
|
|
524
538
|
for (; E >= 1 && _ >= 0; E--, _--)
|
|
525
|
-
if (
|
|
539
|
+
if (x[E] !== D[_]) {
|
|
526
540
|
if (E !== 1 || _ !== 1)
|
|
527
541
|
do
|
|
528
|
-
if (E--, _--, _ < 0 ||
|
|
542
|
+
if (E--, _--, _ < 0 || x[E] !== D[_]) {
|
|
529
543
|
var U = `
|
|
530
|
-
` +
|
|
544
|
+
` + x[E].replace(" at new ", " at ");
|
|
531
545
|
return n.displayName && U.includes("<anonymous>") && (U = U.replace("<anonymous>", n.displayName)), typeof n == "function" && g1.set(n, U), U;
|
|
532
546
|
}
|
|
533
547
|
while (E >= 1 && _ >= 0);
|
|
@@ -537,69 +551,69 @@ function $2() {
|
|
|
537
551
|
} finally {
|
|
538
552
|
C1 = !1, Z1.current = S, S3(), Error.prepareStackTrace = j;
|
|
539
553
|
}
|
|
540
|
-
var Q = n ? n.displayName || n.name : "", Y = Q ?
|
|
554
|
+
var Q = n ? n.displayName || n.name : "", Y = Q ? v1(Q) : "";
|
|
541
555
|
return typeof n == "function" && g1.set(n, Y), Y;
|
|
542
556
|
}
|
|
543
|
-
function I3(n,
|
|
557
|
+
function I3(n, l, a) {
|
|
544
558
|
return K1(n, !1);
|
|
545
559
|
}
|
|
546
560
|
function y3(n) {
|
|
547
|
-
var
|
|
548
|
-
return !!(
|
|
561
|
+
var l = n.prototype;
|
|
562
|
+
return !!(l && l.isReactComponent);
|
|
549
563
|
}
|
|
550
|
-
function f1(n,
|
|
564
|
+
function f1(n, l, a) {
|
|
551
565
|
if (n == null)
|
|
552
566
|
return "";
|
|
553
567
|
if (typeof n == "function")
|
|
554
568
|
return K1(n, y3(n));
|
|
555
569
|
if (typeof n == "string")
|
|
556
|
-
return
|
|
570
|
+
return v1(n);
|
|
557
571
|
switch (n) {
|
|
558
572
|
case w:
|
|
559
|
-
return
|
|
573
|
+
return v1("Suspense");
|
|
560
574
|
case d:
|
|
561
|
-
return
|
|
575
|
+
return v1("SuspenseList");
|
|
562
576
|
}
|
|
563
577
|
if (typeof n == "object")
|
|
564
578
|
switch (n.$$typeof) {
|
|
565
579
|
case f:
|
|
566
580
|
return I3(n.render);
|
|
567
581
|
case b:
|
|
568
|
-
return f1(n.type,
|
|
569
|
-
case
|
|
570
|
-
var
|
|
582
|
+
return f1(n.type, l, a);
|
|
583
|
+
case T: {
|
|
584
|
+
var h = n, j = h._payload, S = h._init;
|
|
571
585
|
try {
|
|
572
|
-
return f1(S(j),
|
|
586
|
+
return f1(S(j), l, a);
|
|
573
587
|
} catch {
|
|
574
588
|
}
|
|
575
589
|
}
|
|
576
590
|
}
|
|
577
591
|
return "";
|
|
578
592
|
}
|
|
579
|
-
var n1 = Object.prototype.hasOwnProperty, G1 = {}, q1 =
|
|
593
|
+
var n1 = Object.prototype.hasOwnProperty, G1 = {}, q1 = P.ReactDebugCurrentFrame;
|
|
580
594
|
function w1(n) {
|
|
581
595
|
if (n) {
|
|
582
|
-
var
|
|
596
|
+
var l = n._owner, a = f1(n.type, n._source, l ? l.type : null);
|
|
583
597
|
q1.setExtraStackFrame(a);
|
|
584
598
|
} else
|
|
585
599
|
q1.setExtraStackFrame(null);
|
|
586
600
|
}
|
|
587
|
-
function R3(n,
|
|
601
|
+
function R3(n, l, a, h, j) {
|
|
588
602
|
{
|
|
589
603
|
var S = Function.call.bind(n1);
|
|
590
604
|
for (var M in n)
|
|
591
605
|
if (S(n, M)) {
|
|
592
|
-
var
|
|
606
|
+
var x = void 0;
|
|
593
607
|
try {
|
|
594
608
|
if (typeof n[M] != "function") {
|
|
595
|
-
var
|
|
596
|
-
throw
|
|
609
|
+
var D = Error((h || "React class") + ": " + a + " type `" + M + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof n[M] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
610
|
+
throw D.name = "Invariant Violation", D;
|
|
597
611
|
}
|
|
598
|
-
|
|
612
|
+
x = n[M](l, M, h, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
599
613
|
} catch (E) {
|
|
600
|
-
|
|
614
|
+
x = E;
|
|
601
615
|
}
|
|
602
|
-
|
|
616
|
+
x && !(x instanceof Error) && (w1(j), L("%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).", h || "React class", a, M, typeof x), w1(null)), x instanceof Error && !(x.message in G1) && (G1[x.message] = !0, w1(j), L("Failed %s type: %s", a, x.message), w1(null));
|
|
603
617
|
}
|
|
604
618
|
}
|
|
605
619
|
}
|
|
@@ -609,7 +623,7 @@ function $2() {
|
|
|
609
623
|
}
|
|
610
624
|
function _3(n) {
|
|
611
625
|
{
|
|
612
|
-
var
|
|
626
|
+
var l = typeof Symbol == "function" && Symbol.toStringTag, a = l && n[Symbol.toStringTag] || n.constructor.name || "Object";
|
|
613
627
|
return a;
|
|
614
628
|
}
|
|
615
629
|
}
|
|
@@ -627,39 +641,39 @@ function $2() {
|
|
|
627
641
|
if (L3(n))
|
|
628
642
|
return L("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", _3(n)), Y1(n);
|
|
629
643
|
}
|
|
630
|
-
var
|
|
644
|
+
var r1 = P.ReactCurrentOwner, $3 = {
|
|
631
645
|
key: !0,
|
|
632
646
|
ref: !0,
|
|
633
647
|
__self: !0,
|
|
634
648
|
__source: !0
|
|
635
649
|
}, J1, X1, b1;
|
|
636
650
|
b1 = {};
|
|
637
|
-
function
|
|
651
|
+
function P3(n) {
|
|
638
652
|
if (n1.call(n, "ref")) {
|
|
639
|
-
var
|
|
640
|
-
if (
|
|
653
|
+
var l = Object.getOwnPropertyDescriptor(n, "ref").get;
|
|
654
|
+
if (l && l.isReactWarning)
|
|
641
655
|
return !1;
|
|
642
656
|
}
|
|
643
657
|
return n.ref !== void 0;
|
|
644
658
|
}
|
|
645
|
-
function
|
|
659
|
+
function T3(n) {
|
|
646
660
|
if (n1.call(n, "key")) {
|
|
647
|
-
var
|
|
648
|
-
if (
|
|
661
|
+
var l = Object.getOwnPropertyDescriptor(n, "key").get;
|
|
662
|
+
if (l && l.isReactWarning)
|
|
649
663
|
return !1;
|
|
650
664
|
}
|
|
651
665
|
return n.key !== void 0;
|
|
652
666
|
}
|
|
653
|
-
function
|
|
654
|
-
if (typeof n.ref == "string" &&
|
|
655
|
-
var a = k(
|
|
656
|
-
b1[a] || (L('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', k(
|
|
667
|
+
function D3(n, l) {
|
|
668
|
+
if (typeof n.ref == "string" && r1.current && l && r1.current.stateNode !== l) {
|
|
669
|
+
var a = k(r1.current.type);
|
|
670
|
+
b1[a] || (L('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', k(r1.current.type), n.ref), b1[a] = !0);
|
|
657
671
|
}
|
|
658
672
|
}
|
|
659
|
-
function
|
|
673
|
+
function A3(n, l) {
|
|
660
674
|
{
|
|
661
675
|
var a = function() {
|
|
662
|
-
J1 || (J1 = !0, L("%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)",
|
|
676
|
+
J1 || (J1 = !0, L("%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));
|
|
663
677
|
};
|
|
664
678
|
a.isReactWarning = !0, Object.defineProperty(n, "key", {
|
|
665
679
|
get: a,
|
|
@@ -667,10 +681,10 @@ function $2() {
|
|
|
667
681
|
});
|
|
668
682
|
}
|
|
669
683
|
}
|
|
670
|
-
function B3(n,
|
|
684
|
+
function B3(n, l) {
|
|
671
685
|
{
|
|
672
686
|
var a = function() {
|
|
673
|
-
X1 || (X1 = !0, L("%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)",
|
|
687
|
+
X1 || (X1 = !0, L("%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));
|
|
674
688
|
};
|
|
675
689
|
a.isReactWarning = !0, Object.defineProperty(n, "ref", {
|
|
676
690
|
get: a,
|
|
@@ -678,57 +692,57 @@ function $2() {
|
|
|
678
692
|
});
|
|
679
693
|
}
|
|
680
694
|
}
|
|
681
|
-
var O3 = function(n,
|
|
682
|
-
var
|
|
695
|
+
var O3 = function(n, l, a, h, j, S, M) {
|
|
696
|
+
var x = {
|
|
683
697
|
// This tag allows us to uniquely identify this as a React Element
|
|
684
698
|
$$typeof: e,
|
|
685
699
|
// Built-in properties that belong on the element
|
|
686
700
|
type: n,
|
|
687
|
-
key:
|
|
701
|
+
key: l,
|
|
688
702
|
ref: a,
|
|
689
703
|
props: M,
|
|
690
704
|
// Record the component responsible for creating this element.
|
|
691
705
|
_owner: S
|
|
692
706
|
};
|
|
693
|
-
return
|
|
707
|
+
return x._store = {}, Object.defineProperty(x._store, "validated", {
|
|
694
708
|
configurable: !1,
|
|
695
709
|
enumerable: !1,
|
|
696
710
|
writable: !0,
|
|
697
711
|
value: !1
|
|
698
|
-
}), Object.defineProperty(
|
|
712
|
+
}), Object.defineProperty(x, "_self", {
|
|
699
713
|
configurable: !1,
|
|
700
714
|
enumerable: !1,
|
|
701
715
|
writable: !1,
|
|
702
|
-
value:
|
|
703
|
-
}), Object.defineProperty(
|
|
716
|
+
value: h
|
|
717
|
+
}), Object.defineProperty(x, "_source", {
|
|
704
718
|
configurable: !1,
|
|
705
719
|
enumerable: !1,
|
|
706
720
|
writable: !1,
|
|
707
721
|
value: j
|
|
708
|
-
}), Object.freeze && (Object.freeze(
|
|
722
|
+
}), Object.freeze && (Object.freeze(x.props), Object.freeze(x)), x;
|
|
709
723
|
};
|
|
710
|
-
function V3(n,
|
|
724
|
+
function V3(n, l, a, h, j) {
|
|
711
725
|
{
|
|
712
|
-
var S, M = {},
|
|
713
|
-
a !== void 0 && (z1(a),
|
|
714
|
-
for (S in
|
|
715
|
-
n1.call(
|
|
726
|
+
var S, M = {}, x = null, D = null;
|
|
727
|
+
a !== void 0 && (z1(a), x = "" + a), T3(l) && (z1(l.key), x = "" + l.key), P3(l) && (D = l.ref, D3(l, j));
|
|
728
|
+
for (S in l)
|
|
729
|
+
n1.call(l, S) && !$3.hasOwnProperty(S) && (M[S] = l[S]);
|
|
716
730
|
if (n && n.defaultProps) {
|
|
717
731
|
var E = n.defaultProps;
|
|
718
732
|
for (S in E)
|
|
719
733
|
M[S] === void 0 && (M[S] = E[S]);
|
|
720
734
|
}
|
|
721
|
-
if (
|
|
735
|
+
if (x || D) {
|
|
722
736
|
var _ = typeof n == "function" ? n.displayName || n.name || "Unknown" : n;
|
|
723
|
-
|
|
737
|
+
x && A3(M, _), D && B3(M, _);
|
|
724
738
|
}
|
|
725
|
-
return O3(n,
|
|
739
|
+
return O3(n, x, D, j, h, r1.current, M);
|
|
726
740
|
}
|
|
727
741
|
}
|
|
728
|
-
var I1 =
|
|
742
|
+
var I1 = P.ReactCurrentOwner, Q1 = P.ReactDebugCurrentFrame;
|
|
729
743
|
function X(n) {
|
|
730
744
|
if (n) {
|
|
731
|
-
var
|
|
745
|
+
var l = n._owner, a = f1(n.type, n._source, l ? l.type : null);
|
|
732
746
|
Q1.setExtraStackFrame(a);
|
|
733
747
|
} else
|
|
734
748
|
Q1.setExtraStackFrame(null);
|
|
@@ -753,10 +767,10 @@ Check the render method of \`` + n + "`.";
|
|
|
753
767
|
function k3(n) {
|
|
754
768
|
{
|
|
755
769
|
if (n !== void 0) {
|
|
756
|
-
var
|
|
770
|
+
var l = n.fileName.replace(/^.*[\\\/]/, ""), a = n.lineNumber;
|
|
757
771
|
return `
|
|
758
772
|
|
|
759
|
-
Check your code at ` +
|
|
773
|
+
Check your code at ` + l + ":" + a + ".";
|
|
760
774
|
}
|
|
761
775
|
return "";
|
|
762
776
|
}
|
|
@@ -764,37 +778,37 @@ Check your code at ` + r + ":" + a + ".";
|
|
|
764
778
|
var e3 = {};
|
|
765
779
|
function U3(n) {
|
|
766
780
|
{
|
|
767
|
-
var
|
|
768
|
-
if (!
|
|
781
|
+
var l = N1();
|
|
782
|
+
if (!l) {
|
|
769
783
|
var a = typeof n == "string" ? n : n.displayName || n.name;
|
|
770
|
-
a && (
|
|
784
|
+
a && (l = `
|
|
771
785
|
|
|
772
786
|
Check the top-level render call using <` + a + ">.");
|
|
773
787
|
}
|
|
774
|
-
return
|
|
788
|
+
return l;
|
|
775
789
|
}
|
|
776
790
|
}
|
|
777
|
-
function t3(n,
|
|
791
|
+
function t3(n, l) {
|
|
778
792
|
{
|
|
779
793
|
if (!n._store || n._store.validated || n.key != null)
|
|
780
794
|
return;
|
|
781
795
|
n._store.validated = !0;
|
|
782
|
-
var a = U3(
|
|
796
|
+
var a = U3(l);
|
|
783
797
|
if (e3[a])
|
|
784
798
|
return;
|
|
785
799
|
e3[a] = !0;
|
|
786
|
-
var
|
|
787
|
-
n && n._owner && n._owner !== I1.current && (
|
|
800
|
+
var h = "";
|
|
801
|
+
n && n._owner && n._owner !== I1.current && (h = " It was passed a child from " + k(n._owner.type) + "."), X(n), L('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', a, h), X(null);
|
|
788
802
|
}
|
|
789
803
|
}
|
|
790
|
-
function o3(n,
|
|
804
|
+
function o3(n, l) {
|
|
791
805
|
{
|
|
792
806
|
if (typeof n != "object")
|
|
793
807
|
return;
|
|
794
808
|
if (S1(n))
|
|
795
809
|
for (var a = 0; a < n.length; a++) {
|
|
796
|
-
var
|
|
797
|
-
R1(
|
|
810
|
+
var h = n[a];
|
|
811
|
+
R1(h) && t3(h, l);
|
|
798
812
|
}
|
|
799
813
|
else if (R1(n))
|
|
800
814
|
n._store && (n._store.validated = !0);
|
|
@@ -802,41 +816,41 @@ Check the top-level render call using <` + a + ">.");
|
|
|
802
816
|
var j = o1(n);
|
|
803
817
|
if (typeof j == "function" && j !== n.entries)
|
|
804
818
|
for (var S = j.call(n), M; !(M = S.next()).done; )
|
|
805
|
-
R1(M.value) && t3(M.value,
|
|
819
|
+
R1(M.value) && t3(M.value, l);
|
|
806
820
|
}
|
|
807
821
|
}
|
|
808
822
|
}
|
|
809
823
|
function F3(n) {
|
|
810
824
|
{
|
|
811
|
-
var
|
|
812
|
-
if (
|
|
825
|
+
var l = n.type;
|
|
826
|
+
if (l == null || typeof l == "string")
|
|
813
827
|
return;
|
|
814
828
|
var a;
|
|
815
|
-
if (typeof
|
|
816
|
-
a =
|
|
817
|
-
else if (typeof
|
|
829
|
+
if (typeof l == "function")
|
|
830
|
+
a = l.propTypes;
|
|
831
|
+
else if (typeof l == "object" && (l.$$typeof === f || // Note: Memo only checks outer props here.
|
|
818
832
|
// Inner props are checked in the reconciler.
|
|
819
|
-
|
|
820
|
-
a =
|
|
833
|
+
l.$$typeof === b))
|
|
834
|
+
a = l.propTypes;
|
|
821
835
|
else
|
|
822
836
|
return;
|
|
823
837
|
if (a) {
|
|
824
|
-
var
|
|
825
|
-
R3(a, n.props, "prop",
|
|
826
|
-
} else if (
|
|
838
|
+
var h = k(l);
|
|
839
|
+
R3(a, n.props, "prop", h, n);
|
|
840
|
+
} else if (l.PropTypes !== void 0 && !y1) {
|
|
827
841
|
y1 = !0;
|
|
828
|
-
var j = k(
|
|
842
|
+
var j = k(l);
|
|
829
843
|
L("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", j || "Unknown");
|
|
830
844
|
}
|
|
831
|
-
typeof
|
|
845
|
+
typeof l.getDefaultProps == "function" && !l.getDefaultProps.isReactClassApproved && L("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
832
846
|
}
|
|
833
847
|
}
|
|
834
848
|
function W3(n) {
|
|
835
849
|
{
|
|
836
|
-
for (var
|
|
837
|
-
var
|
|
838
|
-
if (
|
|
839
|
-
X(n), L("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",
|
|
850
|
+
for (var l = Object.keys(n.props), a = 0; a < l.length; a++) {
|
|
851
|
+
var h = l[a];
|
|
852
|
+
if (h !== "children" && h !== "key") {
|
|
853
|
+
X(n), L("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", h), X(null);
|
|
840
854
|
break;
|
|
841
855
|
}
|
|
842
856
|
}
|
|
@@ -844,24 +858,24 @@ Check the top-level render call using <` + a + ">.");
|
|
|
844
858
|
}
|
|
845
859
|
}
|
|
846
860
|
var s3 = {};
|
|
847
|
-
function n3(n,
|
|
861
|
+
function n3(n, l, a, h, j, S) {
|
|
848
862
|
{
|
|
849
|
-
var M =
|
|
863
|
+
var M = A(n);
|
|
850
864
|
if (!M) {
|
|
851
|
-
var
|
|
852
|
-
(n === void 0 || typeof n == "object" && n !== null && Object.keys(n).length === 0) && (
|
|
853
|
-
var
|
|
854
|
-
|
|
865
|
+
var x = "";
|
|
866
|
+
(n === void 0 || typeof n == "object" && n !== null && Object.keys(n).length === 0) && (x += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
867
|
+
var D = k3(j);
|
|
868
|
+
D ? x += D : x += N1();
|
|
855
869
|
var E;
|
|
856
|
-
n === null ? E = "null" : S1(n) ? E = "array" : n !== void 0 && n.$$typeof === e ? (E = "<" + (k(n.type) || "Unknown") + " />",
|
|
870
|
+
n === null ? E = "null" : S1(n) ? E = "array" : n !== void 0 && n.$$typeof === e ? (E = "<" + (k(n.type) || "Unknown") + " />", x = " Did you accidentally export a JSX literal instead of a component?") : E = typeof n, L("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", E, x);
|
|
857
871
|
}
|
|
858
|
-
var _ = V3(n,
|
|
872
|
+
var _ = V3(n, l, a, j, S);
|
|
859
873
|
if (_ == null)
|
|
860
874
|
return _;
|
|
861
875
|
if (M) {
|
|
862
|
-
var U =
|
|
876
|
+
var U = l.children;
|
|
863
877
|
if (U !== void 0)
|
|
864
|
-
if (
|
|
878
|
+
if (h)
|
|
865
879
|
if (S1(U)) {
|
|
866
880
|
for (var Q = 0; Q < U.length; Q++)
|
|
867
881
|
o3(U[Q], n);
|
|
@@ -871,12 +885,12 @@ Check the top-level render call using <` + a + ">.");
|
|
|
871
885
|
else
|
|
872
886
|
o3(U, n);
|
|
873
887
|
}
|
|
874
|
-
if (n1.call(
|
|
875
|
-
var Y = k(n),
|
|
888
|
+
if (n1.call(l, "key")) {
|
|
889
|
+
var Y = k(n), B = Object.keys(l).filter(function(z3) {
|
|
876
890
|
return z3 !== "key";
|
|
877
|
-
}), E1 =
|
|
891
|
+
}), E1 = B.length > 0 ? "{key: someKey, " + B.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
878
892
|
if (!s3[Y + E1]) {
|
|
879
|
-
var Y3 =
|
|
893
|
+
var Y3 = B.length > 0 ? "{" + B.join(": ..., ") + ": ...}" : "{}";
|
|
880
894
|
L(`A props object containing a "key" prop is being spread into JSX:
|
|
881
895
|
let props = %s;
|
|
882
896
|
<%s {...props} />
|
|
@@ -885,17 +899,17 @@ React keys must be passed directly to JSX without using spread:
|
|
|
885
899
|
<%s key={someKey} {...props} />`, E1, Y, Y3, Y), s3[Y + E1] = !0;
|
|
886
900
|
}
|
|
887
901
|
}
|
|
888
|
-
return n ===
|
|
902
|
+
return n === r ? W3(_) : F3(_), _;
|
|
889
903
|
}
|
|
890
904
|
}
|
|
891
|
-
function H3(n,
|
|
892
|
-
return n3(n,
|
|
905
|
+
function H3(n, l, a) {
|
|
906
|
+
return n3(n, l, a, !0);
|
|
893
907
|
}
|
|
894
|
-
function K3(n,
|
|
895
|
-
return n3(n,
|
|
908
|
+
function K3(n, l, a) {
|
|
909
|
+
return n3(n, l, a, !1);
|
|
896
910
|
}
|
|
897
911
|
var G3 = K3, q3 = H3;
|
|
898
|
-
l1.Fragment =
|
|
912
|
+
l1.Fragment = r, l1.jsx = G3, l1.jsxs = q3;
|
|
899
913
|
}()), l1;
|
|
900
914
|
}
|
|
901
915
|
var i1 = {};
|
|
@@ -913,102 +927,103 @@ function D2() {
|
|
|
913
927
|
if (i3)
|
|
914
928
|
return i1;
|
|
915
929
|
i3 = 1;
|
|
916
|
-
var t =
|
|
917
|
-
function
|
|
918
|
-
var d, b = {},
|
|
919
|
-
w !== void 0 && (
|
|
930
|
+
var t = h3, e = Symbol.for("react.element"), s = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, c = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, u = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
931
|
+
function i(g, f, w) {
|
|
932
|
+
var d, b = {}, T = null, F = null;
|
|
933
|
+
w !== void 0 && (T = "" + w), f.key !== void 0 && (T = "" + f.key), f.ref !== void 0 && (F = f.ref);
|
|
920
934
|
for (d in f)
|
|
921
|
-
|
|
935
|
+
r.call(f, d) && !u.hasOwnProperty(d) && (b[d] = f[d]);
|
|
922
936
|
if (g && g.defaultProps)
|
|
923
937
|
for (d in f = g.defaultProps, f)
|
|
924
938
|
b[d] === void 0 && (b[d] = f[d]);
|
|
925
|
-
return { $$typeof: e, type: g, key:
|
|
939
|
+
return { $$typeof: e, type: g, key: T, ref: F, props: b, _owner: c.current };
|
|
926
940
|
}
|
|
927
|
-
return i1.Fragment = s, i1.jsx =
|
|
941
|
+
return i1.Fragment = s, i1.jsx = i, i1.jsxs = i, i1;
|
|
928
942
|
}
|
|
929
|
-
process.env.NODE_ENV === "production" ?
|
|
930
|
-
var o =
|
|
931
|
-
const A2 = "_mwfit_ppa3l_1",
|
|
943
|
+
process.env.NODE_ENV === "production" ? T1.exports = D2() : T1.exports = T2();
|
|
944
|
+
var o = T1.exports;
|
|
945
|
+
const A2 = "_mwfit_ppa3l_1", B2 = {
|
|
932
946
|
mwfit: A2
|
|
933
|
-
},
|
|
934
|
-
const { reconnect: t } = I(), e =
|
|
935
|
-
return /* @__PURE__ */ o.jsx(o.Fragment, { children: /* @__PURE__ */ o.jsxs("div", { className: `disconnected-message ${
|
|
947
|
+
}, O2 = () => {
|
|
948
|
+
const { reconnect: t } = I(), e = _2(), s = L2();
|
|
949
|
+
return /* @__PURE__ */ o.jsx(o.Fragment, { children: /* @__PURE__ */ o.jsxs("div", { className: `disconnected-message ${B2.mwfit} mx-auto text-center`, children: [
|
|
936
950
|
/* @__PURE__ */ o.jsx("h1", { children: "Disconnected" }),
|
|
937
951
|
e && /* @__PURE__ */ o.jsx("h5", { children: e }),
|
|
938
952
|
s && /* @__PURE__ */ o.jsx("button", { className: "btn btn-secondary btn-lg", onClick: t, children: "Reconnect" })
|
|
939
953
|
] }) });
|
|
940
954
|
};
|
|
941
|
-
class
|
|
955
|
+
class V2 {
|
|
942
956
|
constructor() {
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
957
|
+
V(this, "uuid", "current-uuid");
|
|
958
|
+
V(this, "roomKey", "current-room-key");
|
|
959
|
+
V(this, "code", "current-code");
|
|
960
|
+
V(this, "expiry", "current-uuid-expires");
|
|
947
961
|
}
|
|
948
962
|
}
|
|
949
|
-
const a3 = new
|
|
963
|
+
const a3 = new V2(), m3 = r2({
|
|
950
964
|
sendMessage: () => null,
|
|
951
965
|
sendSimpleMessage: () => null,
|
|
952
966
|
addEventHandler: () => null,
|
|
953
967
|
removeEventHandler: () => null,
|
|
954
968
|
reconnect: () => null
|
|
955
969
|
});
|
|
956
|
-
function
|
|
970
|
+
function k2(t) {
|
|
957
971
|
return sessionStorage.getItem(t) || "";
|
|
958
972
|
}
|
|
959
|
-
function
|
|
973
|
+
function U2(t, e) {
|
|
960
974
|
sessionStorage.setItem(t, e);
|
|
961
975
|
}
|
|
962
|
-
const
|
|
963
|
-
const [e, s] = H(),
|
|
976
|
+
const F2 = ({ children: t }) => {
|
|
977
|
+
const [e, s] = H(), r = S2(), c = b2(), u = I2(), i = P2(), g = m2(), f = y2(), w = R2(), d = E2(), b = u1(null), [T, F] = H(), O = u1({}), z = c1(
|
|
964
978
|
async (y) => {
|
|
965
979
|
try {
|
|
966
|
-
const Z = await
|
|
980
|
+
const Z = await P1.get(`${y}/ui/joinroom?token=${e}`);
|
|
967
981
|
return Z.status === 200 && Z.data ? (C.dispatch(W.setRoomData(Z.data)), !0) : !1;
|
|
968
982
|
} catch (Z) {
|
|
969
983
|
return console.log(Z), d ? !0 : Z instanceof N3 && Z.response && Z.response.status === 498 ? (console.error("Invalid token. Unable to join room"), C.dispatch(q.setErrorMessage(`Token ${e} is invalid. Unable to join room`)), !1) : (console.error("Error getting room data", Z), Z instanceof Error ? C.dispatch(q.setErrorMessage(Z.message)) : C.dispatch(q.setErrorMessage("Error getting room data")), !1);
|
|
970
984
|
}
|
|
971
985
|
},
|
|
972
986
|
[e, d]
|
|
973
|
-
), o1 =
|
|
974
|
-
const y = `${g.gatewayAppPath}?uuid=${f}&roomKey=${
|
|
987
|
+
), o1 = c1(() => {
|
|
988
|
+
const y = `${g.gatewayAppPath}?uuid=${f}&roomKey=${c}`;
|
|
975
989
|
window.location.href = w ? `${y}&Code=${w}` : y;
|
|
976
|
-
}, [g.gatewayAppPath,
|
|
990
|
+
}, [g.gatewayAppPath, c, f, w]), P = c1(
|
|
977
991
|
(y, Z) => {
|
|
978
|
-
b.current &&
|
|
992
|
+
b.current && r && b.current.send(JSON.stringify({ type: y, clientId: u, content: Z }));
|
|
979
993
|
},
|
|
980
|
-
[
|
|
994
|
+
[r, u]
|
|
981
995
|
), L = (y, Z) => {
|
|
982
|
-
|
|
983
|
-
}, x1 =
|
|
984
|
-
(y, Z,
|
|
985
|
-
|
|
996
|
+
P(y, { value: Z });
|
|
997
|
+
}, x1 = c1(
|
|
998
|
+
(y, Z, h1) => {
|
|
999
|
+
O.current[y] || (O.current[y] = {}), O.current[y][Z] = h1, console.log("event handler added", y, Z);
|
|
986
1000
|
},
|
|
987
1001
|
[]
|
|
988
|
-
), M1 =
|
|
989
|
-
|
|
1002
|
+
), M1 = c1((y, Z) => {
|
|
1003
|
+
O.current[y] && (delete O.current[y][Z], console.log("event handler removed", y, Z));
|
|
990
1004
|
}, []);
|
|
991
1005
|
return t1(() => {
|
|
992
1006
|
let Z = new URLSearchParams(window.location.search).get("token");
|
|
993
|
-
Z ? (console.log("saving token: ", Z),
|
|
1007
|
+
Z ? (console.log("saving token: ", Z), U2(a3.uuid, Z)) : (Z = k2(a3.uuid), console.log("loading token: ", Z)), s(Z), i();
|
|
994
1008
|
}, []), t1(() => {
|
|
995
1009
|
async function y() {
|
|
996
|
-
if (console.log("effect is running"), !(!g.apiPath ||
|
|
1010
|
+
if (console.log("effect is running"), !(!g.apiPath || T || !e || !await z(g.apiPath)) && !b.current) {
|
|
1011
|
+
console.log("connecting to websocket");
|
|
997
1012
|
const m1 = `${g.apiPath.replace("http", "ws")}/ui/join/${e}`, K = new WebSocket(m1);
|
|
998
|
-
b.current = K, K.onopen = (
|
|
999
|
-
console.log("connected",
|
|
1000
|
-
}, K.onerror = (
|
|
1001
|
-
console.log(
|
|
1002
|
-
}, K.onclose = (
|
|
1003
|
-
if (console.log("disconnected: ",
|
|
1013
|
+
b.current = K, K.onopen = (A) => {
|
|
1014
|
+
console.log("connected", A.type, A.target), C.dispatch(W.setWebsocketIsConnected(!0));
|
|
1015
|
+
}, K.onerror = (A) => {
|
|
1016
|
+
console.log(A);
|
|
1017
|
+
}, K.onclose = (A) => {
|
|
1018
|
+
if (console.log("disconnected: ", A.reason, A.code), A.code === 4e3) {
|
|
1004
1019
|
console.log("user code changed"), C.dispatch(W.setUserCode({ userCode: "", qrUrl: "" })), C.dispatch(q.setErrorMessage("User code changed. Click reconnect to enter the new code")), C.dispatch(q.setShowReconnect(!0)), C.dispatch(W.setWebsocketIsConnected(!1)), C.dispatch(N.clearDevices()), C.dispatch(e1.clearRooms());
|
|
1005
1020
|
return;
|
|
1006
1021
|
}
|
|
1007
|
-
if (
|
|
1022
|
+
if (A.code === 4001 && !d) {
|
|
1008
1023
|
console.log("processor disconnected"), C.dispatch(q.setErrorMessage("Processor has disconnected. Click Reconnect")), C.dispatch(q.setShowReconnect(!0)), C.dispatch(W.setWebsocketIsConnected(!1)), C.dispatch(N.clearDevices()), C.dispatch(e1.clearRooms());
|
|
1009
1024
|
return;
|
|
1010
1025
|
}
|
|
1011
|
-
if (
|
|
1026
|
+
if (A.code === 4002) {
|
|
1012
1027
|
console.log("room combination changed"), C.dispatch(q.setErrorMessage("Room combination changed. Click Reconnect to re-join the room")), C.dispatch(q.setShowReconnect(!0)), C.dispatch(W.setWebsocketIsConnected(!1)), C.dispatch(N.clearDevices()), C.dispatch(e1.clearRooms());
|
|
1013
1028
|
return;
|
|
1014
1029
|
}
|
|
@@ -1018,16 +1033,23 @@ const k2 = ({ children: t }) => {
|
|
|
1018
1033
|
console.log("WebSocket closed by client.");
|
|
1019
1034
|
return;
|
|
1020
1035
|
}
|
|
1021
|
-
|
|
1022
|
-
}, K.onmessage = (
|
|
1036
|
+
T || (C.dispatch(W.setWebsocketIsConnected(!1)), C.dispatch(N.clearDevices()), C.dispatch(e1.clearRooms()), F(!0), setTimeout(() => F(void 0), 5e3));
|
|
1037
|
+
}, K.onmessage = (A) => {
|
|
1023
1038
|
try {
|
|
1024
|
-
const R = JSON.parse(
|
|
1039
|
+
const R = JSON.parse(A.data);
|
|
1025
1040
|
if (console.log(R), R.type === "close") {
|
|
1026
1041
|
K.close(4001, R.content);
|
|
1027
1042
|
return;
|
|
1028
1043
|
}
|
|
1029
1044
|
if (R.type.startsWith("/system/"))
|
|
1030
1045
|
switch (R.type) {
|
|
1046
|
+
case "/system/touchpanelKey":
|
|
1047
|
+
C.dispatch(
|
|
1048
|
+
W.setTouchpanelKey(
|
|
1049
|
+
R.content
|
|
1050
|
+
)
|
|
1051
|
+
);
|
|
1052
|
+
break;
|
|
1031
1053
|
case "/system/roomKey":
|
|
1032
1054
|
C.dispatch(
|
|
1033
1055
|
W.setCurrentRoomKey(
|
|
@@ -1051,7 +1073,7 @@ const k2 = ({ children: t }) => {
|
|
|
1051
1073
|
}
|
|
1052
1074
|
else if (R.type.startsWith("/event/")) {
|
|
1053
1075
|
console.log("event message received", R);
|
|
1054
|
-
const J =
|
|
1076
|
+
const J = O.current[R.type];
|
|
1055
1077
|
J || console.log("no handlers found for event type", R.type), J && Object.values(J).forEach((k) => {
|
|
1056
1078
|
try {
|
|
1057
1079
|
k(R);
|
|
@@ -1070,87 +1092,87 @@ const k2 = ({ children: t }) => {
|
|
|
1070
1092
|
return y(), () => {
|
|
1071
1093
|
b.current && b.current.close(), b.current = null;
|
|
1072
1094
|
};
|
|
1073
|
-
}, [g.apiPath, z, e,
|
|
1074
|
-
!
|
|
1075
|
-
}, [
|
|
1095
|
+
}, [g.apiPath, z, e, T, d]), t1(() => {
|
|
1096
|
+
!c || !r || (console.log("clientId: ", u), u && (console.log("requesting status from room: ", c), P(`/room/${c}/status`, null)));
|
|
1097
|
+
}, [c, u, r, P]), /* @__PURE__ */ o.jsx(
|
|
1076
1098
|
m3.Provider,
|
|
1077
1099
|
{
|
|
1078
1100
|
value: {
|
|
1079
|
-
sendMessage:
|
|
1101
|
+
sendMessage: P,
|
|
1080
1102
|
sendSimpleMessage: L,
|
|
1081
1103
|
addEventHandler: x1,
|
|
1082
1104
|
removeEventHandler: M1,
|
|
1083
1105
|
reconnect: o1
|
|
1084
1106
|
},
|
|
1085
|
-
children:
|
|
1107
|
+
children: r ? t : /* @__PURE__ */ o.jsx(O2, {})
|
|
1086
1108
|
}
|
|
1087
1109
|
);
|
|
1088
|
-
},
|
|
1110
|
+
}, M6 = ({ children: t }) => /* @__PURE__ */ o.jsx(n2, { store: C, children: /* @__PURE__ */ o.jsx(F2, { children: t }) });
|
|
1089
1111
|
function I() {
|
|
1090
|
-
return
|
|
1112
|
+
return c2(m3);
|
|
1091
1113
|
}
|
|
1092
|
-
function
|
|
1114
|
+
function W2({
|
|
1093
1115
|
onPress: t,
|
|
1094
1116
|
onRelease: e,
|
|
1095
1117
|
onHold: s,
|
|
1096
|
-
holdTimeMs:
|
|
1118
|
+
holdTimeMs: r = 500
|
|
1097
1119
|
}) {
|
|
1098
|
-
const
|
|
1099
|
-
function
|
|
1100
|
-
|
|
1101
|
-
s == null || s(),
|
|
1102
|
-
},
|
|
1120
|
+
const c = u1(null), u = u1(!1);
|
|
1121
|
+
function i() {
|
|
1122
|
+
u.current = !0, t == null || t(), c.current = setTimeout(() => {
|
|
1123
|
+
s == null || s(), c.current = null;
|
|
1124
|
+
}, r);
|
|
1103
1125
|
}
|
|
1104
1126
|
function g() {
|
|
1105
|
-
|
|
1127
|
+
u.current = !1, e == null || e(), c.current && (clearTimeout(c.current), c.current = null);
|
|
1106
1128
|
}
|
|
1107
1129
|
function f() {
|
|
1108
|
-
|
|
1130
|
+
u.current && g();
|
|
1109
1131
|
}
|
|
1110
1132
|
return {
|
|
1111
|
-
onPointerDown:
|
|
1133
|
+
onPointerDown: i,
|
|
1112
1134
|
onPointerUp: g,
|
|
1113
1135
|
onPointerLeave: f
|
|
1114
1136
|
};
|
|
1115
1137
|
}
|
|
1116
|
-
function
|
|
1117
|
-
const { sendMessage:
|
|
1118
|
-
function
|
|
1119
|
-
|
|
1120
|
-
|
|
1138
|
+
function v(t, e) {
|
|
1139
|
+
const { sendMessage: r } = I(), c = u1(null);
|
|
1140
|
+
function u() {
|
|
1141
|
+
r(`${t}/${e}`, { value: "pressed" }), c.current || (c.current = setInterval(() => {
|
|
1142
|
+
r(`${t}/${e}`, { value: "held" });
|
|
1121
1143
|
}, 250));
|
|
1122
1144
|
}
|
|
1123
|
-
function
|
|
1124
|
-
|
|
1145
|
+
function i() {
|
|
1146
|
+
c.current && (clearInterval(c.current), c.current = null), r(`${t}/${e}`, { value: "released" });
|
|
1125
1147
|
}
|
|
1126
|
-
return
|
|
1148
|
+
return W2({ onPress: u, onRelease: i });
|
|
1127
1149
|
}
|
|
1128
1150
|
function Z3(t, e) {
|
|
1129
|
-
const { sendMessage: s, sendSimpleMessage:
|
|
1151
|
+
const { sendMessage: s, sendSimpleMessage: r } = I(), c = v(`${t}`, "volumeUp"), u = v(`${t}`, "volumeDown");
|
|
1130
1152
|
return e ? {
|
|
1131
1153
|
volumeState: e,
|
|
1132
|
-
volumeUp:
|
|
1133
|
-
volumeDown:
|
|
1134
|
-
setLevel: (d) =>
|
|
1154
|
+
volumeUp: c,
|
|
1155
|
+
volumeDown: u,
|
|
1156
|
+
setLevel: (d) => r(`${t}/level`, d),
|
|
1135
1157
|
muteToggle: () => s(`${t}/muteToggle`, null),
|
|
1136
1158
|
muteOn: () => s(`${t}/muteOn`, null),
|
|
1137
1159
|
muteOff: () => s(`${t}/muteOff`, null)
|
|
1138
1160
|
} : void 0;
|
|
1139
1161
|
}
|
|
1140
|
-
function
|
|
1141
|
-
const { sendMessage: s, sendSimpleMessage:
|
|
1162
|
+
function m6(t, e) {
|
|
1163
|
+
const { sendMessage: s, sendSimpleMessage: r } = I(), c = v(`${t}`, "volumeUp"), u = v(`${t}`, "volumeDown");
|
|
1142
1164
|
return e ? {
|
|
1143
1165
|
volumeState: e,
|
|
1144
|
-
volumeUp:
|
|
1145
|
-
volumeDown:
|
|
1146
|
-
setLevel: (d) =>
|
|
1166
|
+
volumeUp: c,
|
|
1167
|
+
volumeDown: u,
|
|
1168
|
+
setLevel: (d) => r(`${t}/level`, d),
|
|
1147
1169
|
muteToggle: () => s(`${t}/muteToggle`, null),
|
|
1148
1170
|
muteOn: () => s(`${t}/muteOn`, null),
|
|
1149
1171
|
muteOff: () => s(`${t}/muteOff`, null)
|
|
1150
1172
|
} : void 0;
|
|
1151
1173
|
}
|
|
1152
|
-
function
|
|
1153
|
-
const e =
|
|
1174
|
+
function H2(t) {
|
|
1175
|
+
const e = $(t), s = `/device/${t}`;
|
|
1154
1176
|
return Z3(s, e == null ? void 0 : e.volume);
|
|
1155
1177
|
}
|
|
1156
1178
|
function j3(t) {
|
|
@@ -1163,83 +1185,89 @@ function j3(t) {
|
|
|
1163
1185
|
e(`/device/${t}/powerToggle`, null);
|
|
1164
1186
|
} };
|
|
1165
1187
|
}
|
|
1166
|
-
function
|
|
1167
|
-
const { sendMessage: e } = I(), s =
|
|
1168
|
-
return console.log("deviceState", s), s ? { itemsState: s, selectItem: (
|
|
1169
|
-
e(`/device/${t}/${
|
|
1188
|
+
function D1(t) {
|
|
1189
|
+
const { sendMessage: e } = I(), s = $(t);
|
|
1190
|
+
return console.log("deviceState", s), s ? { itemsState: s, selectItem: (c) => {
|
|
1191
|
+
e(`/device/${t}/${c}`, null);
|
|
1170
1192
|
} } : void 0;
|
|
1171
1193
|
}
|
|
1172
|
-
function
|
|
1173
|
-
const { sendMessage: e } = I(), s =
|
|
1194
|
+
function K2(t) {
|
|
1195
|
+
const { sendMessage: e } = I(), s = $(t), r = () => {
|
|
1174
1196
|
e(`/device/${t}/setDefaultChannelLevels`, null);
|
|
1175
|
-
},
|
|
1197
|
+
}, c = () => {
|
|
1176
1198
|
if ((s == null ? void 0 : s.levelControls) === void 0)
|
|
1177
1199
|
return;
|
|
1178
1200
|
Object.keys(s == null ? void 0 : s.levelControls).forEach((g) => {
|
|
1179
1201
|
e(`/device/${t}/${g}/fullStatus`, null);
|
|
1180
1202
|
});
|
|
1181
1203
|
};
|
|
1182
|
-
return s ? { levelControls: s.levelControls, setDefaultChannelLevels:
|
|
1204
|
+
return s ? { levelControls: s.levelControls, setDefaultChannelLevels: r, getFullStatus: c } : void 0;
|
|
1183
1205
|
}
|
|
1184
|
-
function
|
|
1185
|
-
const e =
|
|
1206
|
+
function Z6(t) {
|
|
1207
|
+
const e = $(t), s = j3(t), r = D1(t), c = D1(t), u = H2(t), i = K2(t);
|
|
1186
1208
|
if (e)
|
|
1187
1209
|
return {
|
|
1188
1210
|
avrState: e,
|
|
1189
1211
|
powerControl: s,
|
|
1190
|
-
inputControl:
|
|
1191
|
-
surroundSoundModes:
|
|
1192
|
-
surroundChannels:
|
|
1193
|
-
mainVolumeControl:
|
|
1212
|
+
inputControl: r,
|
|
1213
|
+
surroundSoundModes: c,
|
|
1214
|
+
surroundChannels: i,
|
|
1215
|
+
mainVolumeControl: u
|
|
1194
1216
|
};
|
|
1195
1217
|
}
|
|
1196
|
-
function
|
|
1197
|
-
const e =
|
|
1218
|
+
function j6(t) {
|
|
1219
|
+
const e = $(t);
|
|
1198
1220
|
if (e)
|
|
1199
1221
|
return { endpointState: e };
|
|
1200
1222
|
}
|
|
1201
|
-
function
|
|
1202
|
-
const e = `/device/${t}`, s =
|
|
1203
|
-
return { channelUp: s, channelDown:
|
|
1223
|
+
function C6(t) {
|
|
1224
|
+
const e = `/device/${t}`, s = v(e, "chanUp"), r = v(e, "chanDown"), c = v(e, "lastChan"), u = v(e, "guide"), i = v(e, "info"), g = v(e, "exit");
|
|
1225
|
+
return { channelUp: s, channelDown: r, lastChannel: c, guide: u, info: i, exit: g };
|
|
1204
1226
|
}
|
|
1205
|
-
function
|
|
1206
|
-
const e = `/device/${t}`, s =
|
|
1207
|
-
return { red: s, green:
|
|
1227
|
+
function S6(t) {
|
|
1228
|
+
const e = `/device/${t}`, s = v(e, "red"), r = v(e, "green"), c = v(e, "yellow"), u = v(e, "blue");
|
|
1229
|
+
return { red: s, green: r, yellow: c, blue: u };
|
|
1208
1230
|
}
|
|
1209
|
-
function
|
|
1210
|
-
const e =
|
|
1231
|
+
function b6(t) {
|
|
1232
|
+
const e = $(t);
|
|
1211
1233
|
if (e)
|
|
1212
1234
|
return {
|
|
1213
1235
|
communicationMonitorState: e
|
|
1214
1236
|
};
|
|
1215
1237
|
}
|
|
1216
|
-
function
|
|
1217
|
-
const e = `/device/${t}`, s =
|
|
1218
|
-
return { up: s, down:
|
|
1238
|
+
function I6(t) {
|
|
1239
|
+
const e = `/device/${t}`, s = v(e, "up"), r = v(e, "down"), c = v(e, "left"), u = v(e, "right"), i = v(e, "select"), g = v(e, "menu"), f = v(e, "exit");
|
|
1240
|
+
return { up: s, down: r, left: c, right: u, select: i, menu: g, exit: f };
|
|
1219
1241
|
}
|
|
1220
|
-
function
|
|
1221
|
-
const e =
|
|
1242
|
+
function y6(t) {
|
|
1243
|
+
const e = $(t);
|
|
1222
1244
|
if (e)
|
|
1223
1245
|
return e.deviceInfo || void 0;
|
|
1224
1246
|
}
|
|
1225
|
-
function
|
|
1226
|
-
const
|
|
1227
|
-
return {
|
|
1247
|
+
function R6(t) {
|
|
1248
|
+
const { sendMessage: e } = I();
|
|
1249
|
+
return { recallPreset: (r) => {
|
|
1250
|
+
e(`/device/${t}/recallPreset`, r);
|
|
1251
|
+
} };
|
|
1252
|
+
}
|
|
1253
|
+
function E6(t) {
|
|
1254
|
+
const e = `/device/${t}`, s = v(e, "dvrList"), r = v(e, "record");
|
|
1255
|
+
return { dvrList: s, record: r };
|
|
1228
1256
|
}
|
|
1229
|
-
const
|
|
1257
|
+
const _6 = ({ className: t }) => {
|
|
1230
1258
|
const [e, s] = H();
|
|
1231
1259
|
return t1(() => {
|
|
1232
1260
|
setInterval(() => {
|
|
1233
|
-
const
|
|
1234
|
-
s(
|
|
1261
|
+
const r = (/* @__PURE__ */ new Date()).toLocaleTimeString("en-US", { hour12: !0, hour: "numeric", minute: "numeric" });
|
|
1262
|
+
s(r);
|
|
1235
1263
|
}, 1e3);
|
|
1236
1264
|
}, []), /* @__PURE__ */ o.jsxs("div", { className: t, children: [
|
|
1237
1265
|
e,
|
|
1238
1266
|
" new change"
|
|
1239
1267
|
] });
|
|
1240
1268
|
};
|
|
1241
|
-
function
|
|
1242
|
-
const { sendMessage: e } = I(), s =
|
|
1269
|
+
function L6(t) {
|
|
1270
|
+
const { sendMessage: e } = I(), s = $(t);
|
|
1243
1271
|
return s ? { roomCombinerState: s, setAutoMode: () => {
|
|
1244
1272
|
e(`/device/${t}/setAutoMode`, null);
|
|
1245
1273
|
}, setManualMode: () => {
|
|
@@ -1252,70 +1280,70 @@ function b6(t) {
|
|
|
1252
1280
|
e(`/device/${t}/setRoomCombinationScenario`, f);
|
|
1253
1281
|
} } : void 0;
|
|
1254
1282
|
}
|
|
1255
|
-
function
|
|
1256
|
-
const { sendMessage: e, sendSimpleMessage: s } = I(),
|
|
1257
|
-
return
|
|
1258
|
-
levelState:
|
|
1283
|
+
function $6(t) {
|
|
1284
|
+
const { sendMessage: e, sendSimpleMessage: s } = I(), r = $(t), c = C2(t), u = r || c;
|
|
1285
|
+
return u ? {
|
|
1286
|
+
levelState: u,
|
|
1259
1287
|
setLevel: (d, b) => s(`${d}/level`, b),
|
|
1260
1288
|
muteToggle: (d) => e(`${d}/muteToggle`, null),
|
|
1261
1289
|
muteOn: (d) => e(`${d}/muteOn`, null),
|
|
1262
1290
|
muteOff: (d) => e(`${d}/muteOff`, null)
|
|
1263
1291
|
} : void 0;
|
|
1264
1292
|
}
|
|
1265
|
-
function
|
|
1266
|
-
const { sendMessage: e } = I(), s =
|
|
1267
|
-
return s ? { lightingState: s, selectScene: (
|
|
1268
|
-
e(`/device/${t}/selectScene`,
|
|
1293
|
+
function P6(t) {
|
|
1294
|
+
const { sendMessage: e } = I(), s = $(t);
|
|
1295
|
+
return s ? { lightingState: s, selectScene: (c) => {
|
|
1296
|
+
e(`/device/${t}/selectScene`, c);
|
|
1269
1297
|
} } : void 0;
|
|
1270
1298
|
}
|
|
1271
|
-
function
|
|
1272
|
-
const { sendMessage: e } = I(), s =
|
|
1273
|
-
return s ? { matrixRoutingState: s, setRoute: (
|
|
1274
|
-
e(`/device/${t}/route`,
|
|
1299
|
+
function T6(t) {
|
|
1300
|
+
const { sendMessage: e } = I(), s = $(t);
|
|
1301
|
+
return s ? { matrixRoutingState: s, setRoute: (c) => {
|
|
1302
|
+
e(`/device/${t}/route`, c);
|
|
1275
1303
|
} } : void 0;
|
|
1276
1304
|
}
|
|
1277
|
-
function
|
|
1305
|
+
function D6(t) {
|
|
1278
1306
|
const { sendMessage: e } = I();
|
|
1279
1307
|
return { closeApp: () => {
|
|
1280
1308
|
e(`/device/${t}/closeWebViewController`, null);
|
|
1281
1309
|
} };
|
|
1282
1310
|
}
|
|
1283
|
-
function
|
|
1284
|
-
const e = `/device/${t}`, s =
|
|
1285
|
-
return { digit0: s, digit1:
|
|
1311
|
+
function A6(t) {
|
|
1312
|
+
const e = `/device/${t}`, s = v(e, "num0"), r = v(e, "num1"), c = v(e, "num2"), u = v(e, "num3"), i = v(e, "num4"), g = v(e, "num5"), f = v(e, "num6"), w = v(e, "num7"), d = v(e, "num8"), b = v(e, "num9"), T = v(e, "numDash"), F = v(e, "numEnter");
|
|
1313
|
+
return { digit0: s, digit1: r, digit2: c, digit3: u, digit4: i, digit5: g, digit6: f, digit7: w, digit8: d, digit9: b, keypadAccessoryButton1: T, keypadAccessoryButton2: F };
|
|
1286
1314
|
}
|
|
1287
|
-
function
|
|
1288
|
-
const { sendMessage: e } = I(), s =
|
|
1315
|
+
function B6(t) {
|
|
1316
|
+
const { sendMessage: e } = I(), s = $(t);
|
|
1289
1317
|
return s ? { projectorScreenLiftControlState: s, raise: () => {
|
|
1290
1318
|
e(`/device/${t}/raise`, null);
|
|
1291
1319
|
}, lower: () => {
|
|
1292
1320
|
e(`/device/${t}/lower`, null);
|
|
1293
1321
|
} } : void 0;
|
|
1294
1322
|
}
|
|
1295
|
-
function
|
|
1296
|
-
const { sendMessage: e } = I(), s =
|
|
1297
|
-
return s ? { roomEventScheduleState: s, save: (
|
|
1298
|
-
e(`/room/${t}/saveScheduledEvents`,
|
|
1323
|
+
function O6(t) {
|
|
1324
|
+
const { sendMessage: e } = I(), s = A1(t);
|
|
1325
|
+
return s ? { roomEventScheduleState: s, save: (c) => {
|
|
1326
|
+
e(`/room/${t}/saveScheduledEvents`, c);
|
|
1299
1327
|
} } : void 0;
|
|
1300
1328
|
}
|
|
1301
|
-
function
|
|
1329
|
+
function V6(t) {
|
|
1302
1330
|
const { sendMessage: e } = I();
|
|
1303
|
-
return { runDirectRoute: (
|
|
1304
|
-
e(`/room/${t}/directRoute`,
|
|
1331
|
+
return { runDirectRoute: (r) => {
|
|
1332
|
+
e(`/room/${t}/directRoute`, r);
|
|
1305
1333
|
} };
|
|
1306
1334
|
}
|
|
1307
|
-
function
|
|
1335
|
+
function k6(t) {
|
|
1308
1336
|
const { sendMessage: e } = I();
|
|
1309
|
-
return { routingState:
|
|
1310
|
-
e(`/room/${t}/source`,
|
|
1337
|
+
return { routingState: $(t), runRoute: (c) => {
|
|
1338
|
+
e(`/room/${t}/source`, c);
|
|
1311
1339
|
} };
|
|
1312
1340
|
}
|
|
1313
|
-
function
|
|
1314
|
-
const e = `/device/${t}`, s =
|
|
1315
|
-
return { dvrList: s, replay:
|
|
1341
|
+
function U6(t) {
|
|
1342
|
+
const e = `/device/${t}`, s = v(e, "chanUp"), r = v(e, "chanDown");
|
|
1343
|
+
return { dvrList: s, replay: r };
|
|
1316
1344
|
}
|
|
1317
|
-
function
|
|
1318
|
-
const { sendMessage: e } = I(), s =
|
|
1345
|
+
function F6(t) {
|
|
1346
|
+
const { sendMessage: e } = I(), s = $(t);
|
|
1319
1347
|
return s ? { shadeState: s, shadeUp: () => {
|
|
1320
1348
|
e(`/device/${t}/shadeUp`, null);
|
|
1321
1349
|
}, shadeDown: () => {
|
|
@@ -1324,8 +1352,8 @@ function T6(t) {
|
|
|
1324
1352
|
e(`/device/${t}/stopOrPreset`, null);
|
|
1325
1353
|
} } : void 0;
|
|
1326
1354
|
}
|
|
1327
|
-
function
|
|
1328
|
-
const { sendMessage: e } = I(), s =
|
|
1355
|
+
function W6(t) {
|
|
1356
|
+
const { sendMessage: e } = I(), s = A1(t);
|
|
1329
1357
|
return s ? { shutdownPromptTimerState: s, setShutdownPromptSeconds: (g) => {
|
|
1330
1358
|
e(`/room/${t}/setShutdownPromptSeconds`, g);
|
|
1331
1359
|
}, shutdownStart: () => {
|
|
@@ -1336,28 +1364,28 @@ function B6(t) {
|
|
|
1336
1364
|
e(`/room/${t}/shutdownCancel`, null);
|
|
1337
1365
|
} } : void 0;
|
|
1338
1366
|
}
|
|
1339
|
-
function
|
|
1340
|
-
const { sendMessage: e } = I(), s =
|
|
1367
|
+
function H6(t) {
|
|
1368
|
+
const { sendMessage: e } = I(), s = $(t);
|
|
1341
1369
|
return s ? { switchedOutputState: s, on: () => {
|
|
1342
1370
|
e(`/device/${t}/on`, null);
|
|
1343
1371
|
}, off: () => {
|
|
1344
1372
|
e(`/device/${t}/off`, null);
|
|
1345
1373
|
} } : void 0;
|
|
1346
1374
|
}
|
|
1347
|
-
function
|
|
1348
|
-
const { sendMessage: e } = I(), s =
|
|
1349
|
-
return s ? { techPasswordState: s, validatePassword: (
|
|
1350
|
-
e(`/room/${t}/validateTechPassword`, { password:
|
|
1351
|
-
}, setPassword: (
|
|
1352
|
-
e(`/room/${t}/setTechPassword`, { oldPassword:
|
|
1375
|
+
function K6(t) {
|
|
1376
|
+
const { sendMessage: e } = I(), s = A1(t);
|
|
1377
|
+
return s ? { techPasswordState: s, validatePassword: (u) => {
|
|
1378
|
+
e(`/room/${t}/validateTechPassword`, { password: u });
|
|
1379
|
+
}, setPassword: (u, i) => {
|
|
1380
|
+
e(`/room/${t}/setTechPassword`, { oldPassword: u, newPassword: i });
|
|
1353
1381
|
} } : void 0;
|
|
1354
1382
|
}
|
|
1355
|
-
function
|
|
1356
|
-
const e = `/device/${t}`, s =
|
|
1357
|
-
return { play: s, pause:
|
|
1383
|
+
function G6(t) {
|
|
1384
|
+
const e = `/device/${t}`, s = v(e, "play"), r = v(e, "pause"), c = v(e, "stop"), u = v(e, "prevTrack"), i = v(e, "nextTrack"), g = v(e, "rewind"), f = v(e, "ffwd"), w = v(e, "record");
|
|
1385
|
+
return { play: s, pause: r, stop: c, prevTrack: u, nextTrack: i, rewind: g, fastForward: f, record: w };
|
|
1358
1386
|
}
|
|
1359
|
-
function
|
|
1360
|
-
const e =
|
|
1387
|
+
function q6(t) {
|
|
1388
|
+
const e = $(t), { sendMessage: s } = I();
|
|
1361
1389
|
return e ? {
|
|
1362
1390
|
touchpanelState: e,
|
|
1363
1391
|
appControl: { hideApp: () => {
|
|
@@ -1372,28 +1400,37 @@ function U6(t) {
|
|
|
1372
1400
|
} }
|
|
1373
1401
|
} : void 0;
|
|
1374
1402
|
}
|
|
1375
|
-
function
|
|
1376
|
-
const e =
|
|
1403
|
+
function Y6(t) {
|
|
1404
|
+
const e = $(t), s = j3(t), r = D1(t);
|
|
1377
1405
|
if (!e)
|
|
1378
1406
|
return;
|
|
1379
|
-
const
|
|
1407
|
+
const c = (e.powerState || e.isWarming) && !e.isCooling, u = (!e.powerState || e.isCooling) && !e.isWarming;
|
|
1380
1408
|
return {
|
|
1381
1409
|
displayState: e,
|
|
1382
1410
|
powerControl: s,
|
|
1383
|
-
inputControl:
|
|
1384
|
-
powerFb: { powerOnFb:
|
|
1411
|
+
inputControl: r,
|
|
1412
|
+
powerFb: { powerOnFb: c, powerOffFb: u }
|
|
1385
1413
|
};
|
|
1386
1414
|
}
|
|
1387
|
-
function
|
|
1415
|
+
function z6(t) {
|
|
1388
1416
|
const { sendMessage: e } = I();
|
|
1389
1417
|
return { runDefaultPresentRoute: () => {
|
|
1390
1418
|
e(`/room/${t}/defaultsource`, {});
|
|
1391
1419
|
} };
|
|
1392
1420
|
}
|
|
1393
|
-
|
|
1421
|
+
function J6(t) {
|
|
1422
|
+
const { sendMessage: e } = I(), s = $(t), r = (c) => {
|
|
1423
|
+
e(`/device/${t}/saveTheme`, { value: c });
|
|
1424
|
+
};
|
|
1425
|
+
return {
|
|
1426
|
+
currentTheme: s == null ? void 0 : s.theme,
|
|
1427
|
+
saveTheme: r
|
|
1428
|
+
};
|
|
1429
|
+
}
|
|
1430
|
+
const X6 = ({ config: t }) => {
|
|
1394
1431
|
const { sendMessage: e } = I();
|
|
1395
1432
|
t1(() => {
|
|
1396
|
-
var c,
|
|
1433
|
+
var r, c, u;
|
|
1397
1434
|
if (!t)
|
|
1398
1435
|
return;
|
|
1399
1436
|
const s = [];
|
|
@@ -1401,13 +1438,13 @@ const H6 = ({ config: t }) => {
|
|
|
1401
1438
|
s.push(i);
|
|
1402
1439
|
}), Object.values(t.destinationList).forEach((i) => {
|
|
1403
1440
|
s.push(i.sinkKey);
|
|
1404
|
-
}), t.
|
|
1405
|
-
s.push(i.
|
|
1441
|
+
}), t.audioControlPointList && Object.values((r = t.audioControlPointList) == null ? void 0 : r.levelControls).forEach((i) => {
|
|
1442
|
+
s.push(i.parentDeviceKey + "--" + i.itemKey);
|
|
1406
1443
|
}), (c = t.touchpanelKeys) == null || c.forEach((i) => {
|
|
1407
1444
|
s.push(i);
|
|
1408
1445
|
}), t.environmentalDevices.forEach((i) => {
|
|
1409
1446
|
s.push(i.deviceKey);
|
|
1410
|
-
}), (
|
|
1447
|
+
}), (u = t.accessoryDeviceKeys) == null || u.forEach((i) => {
|
|
1411
1448
|
s.push(i);
|
|
1412
1449
|
}), t.audioCodecKey && s.push(t.audioCodecKey), t.videoCodecKey && s.push(t.videoCodecKey), t.matrixRoutingKey && s.push(t.matrixRoutingKey), t.roomCombinerKey && s.push(t.roomCombinerKey), t.endpointKeys && t.endpointKeys.forEach((i) => {
|
|
1413
1450
|
s.push(i);
|
|
@@ -1419,103 +1456,117 @@ const H6 = ({ config: t }) => {
|
|
|
1419
1456
|
});
|
|
1420
1457
|
}, [t, e]);
|
|
1421
1458
|
};
|
|
1422
|
-
function
|
|
1423
|
-
const s =
|
|
1424
|
-
return Z3(
|
|
1459
|
+
function Q6(t, e) {
|
|
1460
|
+
const s = j2(t, e), r = `/room/${t}/volumes/${e}`;
|
|
1461
|
+
return Z3(r, s);
|
|
1462
|
+
}
|
|
1463
|
+
function N6() {
|
|
1464
|
+
const { sendMessage: t } = I();
|
|
1465
|
+
return {
|
|
1466
|
+
reboot: () => {
|
|
1467
|
+
t("/system/reboot", null);
|
|
1468
|
+
},
|
|
1469
|
+
programReset: () => {
|
|
1470
|
+
t("/system/programReset", null);
|
|
1471
|
+
}
|
|
1472
|
+
};
|
|
1425
1473
|
}
|
|
1426
|
-
function
|
|
1427
|
-
const [t, e] = H(), [s,
|
|
1428
|
-
function
|
|
1474
|
+
function ee() {
|
|
1475
|
+
const [t, e] = H(), [s, r] = H();
|
|
1476
|
+
function c() {
|
|
1429
1477
|
e((/* @__PURE__ */ new Date()).toLocaleDateString("en-US", { dateStyle: "long" }));
|
|
1430
|
-
const
|
|
1431
|
-
|
|
1478
|
+
const u = (/* @__PURE__ */ new Date()).toLocaleTimeString("en-US", { hour12: !0, hour: "numeric", minute: "numeric" });
|
|
1479
|
+
r(u);
|
|
1432
1480
|
}
|
|
1433
1481
|
return t1(() => {
|
|
1434
|
-
|
|
1435
|
-
const
|
|
1436
|
-
|
|
1482
|
+
c();
|
|
1483
|
+
const u = setInterval(() => {
|
|
1484
|
+
c();
|
|
1437
1485
|
}, 1e3);
|
|
1438
|
-
return () => clearInterval(
|
|
1486
|
+
return () => clearInterval(u);
|
|
1439
1487
|
}, []), { date: t, time: s };
|
|
1440
1488
|
}
|
|
1441
|
-
function
|
|
1442
|
-
const [s,
|
|
1443
|
-
return
|
|
1444
|
-
const { current:
|
|
1445
|
-
const f =
|
|
1446
|
-
|
|
1489
|
+
function te(t, e) {
|
|
1490
|
+
const [s, r] = H(!1), [c, u] = H(!1);
|
|
1491
|
+
return v3(() => {
|
|
1492
|
+
const { current: i } = t, g = () => {
|
|
1493
|
+
const f = i && i.scrollHeight > i.clientHeight, w = i && i.scrollWidth > i.clientWidth;
|
|
1494
|
+
u(f ?? !1), r(w ?? !1), e && e(f ?? !1, w ?? !1);
|
|
1447
1495
|
};
|
|
1448
|
-
|
|
1449
|
-
}, [t, e]), { overflowHorizontal: s, overflowVertical:
|
|
1496
|
+
i && g();
|
|
1497
|
+
}, [t, e]), { overflowHorizontal: s, overflowVertical: c };
|
|
1450
1498
|
}
|
|
1451
|
-
function
|
|
1499
|
+
function oe(t) {
|
|
1452
1500
|
var g, f;
|
|
1453
|
-
const [e, s] = H(((g = t == null ? void 0 : t.current) == null ? void 0 : g.scrollLeft) ?? 0), [
|
|
1501
|
+
const [e, s] = H(((g = t == null ? void 0 : t.current) == null ? void 0 : g.scrollLeft) ?? 0), [r, c] = H(((f = t == null ? void 0 : t.current) == null ? void 0 : f.scrollTop) ?? 0), u = (w) => {
|
|
1454
1502
|
const { current: d } = t;
|
|
1455
1503
|
d && (console.log(d.scrollLeft), d.scrollLeft += w, console.log(d.scrollLeft));
|
|
1456
|
-
},
|
|
1504
|
+
}, i = (w) => {
|
|
1457
1505
|
const { current: d } = t;
|
|
1458
1506
|
d && (console.log(d.scrollTop), d.scrollTop += w, console.log(d.scrollTop));
|
|
1459
1507
|
};
|
|
1460
|
-
return
|
|
1508
|
+
return v3(() => {
|
|
1461
1509
|
const { current: w } = t, d = () => {
|
|
1462
|
-
s((w == null ? void 0 : w.scrollLeft) ?? 0),
|
|
1510
|
+
s((w == null ? void 0 : w.scrollLeft) ?? 0), c((w == null ? void 0 : w.scrollTop) ?? 0);
|
|
1463
1511
|
};
|
|
1464
1512
|
w && d();
|
|
1465
|
-
}, [t]), { horizontalScrollPosition: e, verticalScrollPosition:
|
|
1513
|
+
}, [t]), { horizontalScrollPosition: e, verticalScrollPosition: r, scrollHorizontal: u, scrollVertical: i };
|
|
1466
1514
|
}
|
|
1467
|
-
const
|
|
1468
|
-
const t = l2();
|
|
1469
|
-
|
|
1515
|
+
const se = () => {
|
|
1516
|
+
const [t, e] = H(!1), s = l2(), r = i2();
|
|
1517
|
+
let c;
|
|
1518
|
+
return a2(r) ? c = r.statusText : r instanceof Error ? c = r.message : typeof r == "string" ? c = r : (console.error(r), c = "Unknown error"), /* @__PURE__ */ o.jsxs("div", { className: "d-flex flex-column align-items-center gap-5", children: [
|
|
1470
1519
|
/* @__PURE__ */ o.jsx("div", { className: "m-2 p-2 bg-danger rounded d-flex align-items-center", children: /* @__PURE__ */ o.jsx("span", { className: "fs-5 text-white", children: "We are sorry. Something went wrong." }) }),
|
|
1471
|
-
/* @__PURE__ */ o.jsx("button", { className: "btn btn-primary p-2", onClick: () =>
|
|
1520
|
+
/* @__PURE__ */ o.jsx("button", { className: "btn btn-primary p-2", onClick: () => s(-1), children: "Go Back" }),
|
|
1521
|
+
/* @__PURE__ */ o.jsx("button", { className: "btn btn-primary p-2", onClick: () => e(!t), children: t ? "Hide error message" : "Show error message" }),
|
|
1522
|
+
t && /* @__PURE__ */ o.jsx("p", { children: c })
|
|
1472
1523
|
] });
|
|
1473
|
-
},
|
|
1474
|
-
iconbtn:
|
|
1475
|
-
iconbtnvert:
|
|
1476
|
-
iconsm:
|
|
1477
|
-
},
|
|
1524
|
+
}, G2 = "_iconbtn_16qss_1", q2 = "_iconbtnvert_16qss_7", Y2 = "_iconsm_16qss_18", _1 = {
|
|
1525
|
+
iconbtn: G2,
|
|
1526
|
+
iconbtnvert: q2,
|
|
1527
|
+
iconsm: Y2
|
|
1528
|
+
}, z2 = ({
|
|
1478
1529
|
multiIcon: t,
|
|
1479
1530
|
otherContent: e = null,
|
|
1480
1531
|
vert: s = !1,
|
|
1481
|
-
className:
|
|
1482
|
-
iconClassName:
|
|
1483
|
-
otherContentClassName:
|
|
1484
|
-
disabled:
|
|
1532
|
+
className: r,
|
|
1533
|
+
iconClassName: c = "",
|
|
1534
|
+
otherContentClassName: u = "",
|
|
1535
|
+
disabled: i,
|
|
1485
1536
|
feedback: g,
|
|
1486
1537
|
feedbackClassName: f,
|
|
1487
1538
|
onPointerDown: w,
|
|
1488
1539
|
onPointerUp: d,
|
|
1489
1540
|
onPointerLeave: b,
|
|
1490
|
-
...
|
|
1541
|
+
...T
|
|
1491
1542
|
}) => {
|
|
1492
|
-
const [F,
|
|
1543
|
+
const [F, O] = H(!1), z = !i && g ? f : "", o1 = !i && (F || g);
|
|
1493
1544
|
return /* @__PURE__ */ o.jsxs(
|
|
1494
1545
|
"button",
|
|
1495
1546
|
{
|
|
1496
1547
|
type: "button",
|
|
1497
|
-
className: `${_1.iconbtn} ${s ? _1.iconbtnvert : ""} ${
|
|
1498
|
-
...
|
|
1499
|
-
disabled:
|
|
1500
|
-
onPointerDown: (
|
|
1501
|
-
|
|
1548
|
+
className: `${_1.iconbtn} ${s ? _1.iconbtnvert : ""} ${r} ${z}`,
|
|
1549
|
+
...T,
|
|
1550
|
+
disabled: i,
|
|
1551
|
+
onPointerDown: (P) => {
|
|
1552
|
+
O(!0), w == null || w(P);
|
|
1502
1553
|
},
|
|
1503
|
-
onPointerUp: (
|
|
1504
|
-
|
|
1554
|
+
onPointerUp: (P) => {
|
|
1555
|
+
O(!1), d == null || d(P);
|
|
1505
1556
|
},
|
|
1506
|
-
onPointerLeave: (
|
|
1507
|
-
|
|
1557
|
+
onPointerLeave: (P) => {
|
|
1558
|
+
O(!1), b == null || b(P);
|
|
1508
1559
|
},
|
|
1509
1560
|
children: [
|
|
1510
1561
|
t && /* @__PURE__ */ o.jsx(
|
|
1511
1562
|
t,
|
|
1512
1563
|
{
|
|
1513
|
-
className: `${
|
|
1564
|
+
className: `${c || _1.iconsm}`,
|
|
1514
1565
|
active: o1,
|
|
1515
|
-
disabled:
|
|
1566
|
+
disabled: i
|
|
1516
1567
|
}
|
|
1517
1568
|
),
|
|
1518
|
-
/* @__PURE__ */ o.jsx("div", { className:
|
|
1569
|
+
/* @__PURE__ */ o.jsx("div", { className: u, children: e })
|
|
1519
1570
|
]
|
|
1520
1571
|
}
|
|
1521
1572
|
);
|
|
@@ -1523,9 +1574,9 @@ const z6 = () => {
|
|
|
1523
1574
|
ActiveImage: t,
|
|
1524
1575
|
DisabledImage: e,
|
|
1525
1576
|
EnabledImage: s,
|
|
1526
|
-
active:
|
|
1527
|
-
disabled:
|
|
1528
|
-
}) =>
|
|
1577
|
+
active: r,
|
|
1578
|
+
disabled: c
|
|
1579
|
+
}) => c ? e : r ? t : s, J2 = ({
|
|
1529
1580
|
active: t,
|
|
1530
1581
|
className: e = "",
|
|
1531
1582
|
disabled: s
|
|
@@ -1577,7 +1628,7 @@ const z6 = () => {
|
|
|
1577
1628
|
active: t,
|
|
1578
1629
|
disabled: s
|
|
1579
1630
|
}
|
|
1580
|
-
),
|
|
1631
|
+
), X2 = ({
|
|
1581
1632
|
active: t,
|
|
1582
1633
|
className: e = "",
|
|
1583
1634
|
disabled: s
|
|
@@ -1626,7 +1677,7 @@ const z6 = () => {
|
|
|
1626
1677
|
active: t,
|
|
1627
1678
|
disabled: s
|
|
1628
1679
|
}
|
|
1629
|
-
),
|
|
1680
|
+
), Q2 = ({
|
|
1630
1681
|
active: t,
|
|
1631
1682
|
className: e = "",
|
|
1632
1683
|
disabled: s
|
|
@@ -1666,7 +1717,7 @@ const z6 = () => {
|
|
|
1666
1717
|
active: t,
|
|
1667
1718
|
disabled: s
|
|
1668
1719
|
}
|
|
1669
|
-
),
|
|
1720
|
+
), N2 = ({
|
|
1670
1721
|
active: t,
|
|
1671
1722
|
className: e = "",
|
|
1672
1723
|
disabled: s
|
|
@@ -1715,7 +1766,7 @@ const z6 = () => {
|
|
|
1715
1766
|
active: t,
|
|
1716
1767
|
disabled: s
|
|
1717
1768
|
}
|
|
1718
|
-
),
|
|
1769
|
+
), e8 = ({
|
|
1719
1770
|
active: t,
|
|
1720
1771
|
// Just to shut up the linter on this template. Prefer deleting this lint rule
|
|
1721
1772
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
@@ -1784,7 +1835,7 @@ const z6 = () => {
|
|
|
1784
1835
|
active: t,
|
|
1785
1836
|
disabled: s
|
|
1786
1837
|
}
|
|
1787
|
-
),
|
|
1838
|
+
), t8 = ({
|
|
1788
1839
|
active: t,
|
|
1789
1840
|
className: e = "",
|
|
1790
1841
|
disabled: s
|
|
@@ -1833,7 +1884,7 @@ const z6 = () => {
|
|
|
1833
1884
|
active: t,
|
|
1834
1885
|
disabled: s
|
|
1835
1886
|
}
|
|
1836
|
-
),
|
|
1887
|
+
), o8 = ({
|
|
1837
1888
|
active: t,
|
|
1838
1889
|
className: e = "",
|
|
1839
1890
|
disabled: s
|
|
@@ -1882,7 +1933,7 @@ const z6 = () => {
|
|
|
1882
1933
|
active: t,
|
|
1883
1934
|
disabled: s
|
|
1884
1935
|
}
|
|
1885
|
-
),
|
|
1936
|
+
), s8 = ({
|
|
1886
1937
|
active: t,
|
|
1887
1938
|
className: e = "",
|
|
1888
1939
|
disabled: s
|
|
@@ -1931,7 +1982,7 @@ const z6 = () => {
|
|
|
1931
1982
|
active: t,
|
|
1932
1983
|
disabled: s
|
|
1933
1984
|
}
|
|
1934
|
-
),
|
|
1985
|
+
), n8 = ({
|
|
1935
1986
|
active: t,
|
|
1936
1987
|
className: e = "",
|
|
1937
1988
|
disabled: s
|
|
@@ -1980,7 +2031,7 @@ const z6 = () => {
|
|
|
1980
2031
|
active: t,
|
|
1981
2032
|
disabled: s
|
|
1982
2033
|
}
|
|
1983
|
-
),
|
|
2034
|
+
), r8 = ({
|
|
1984
2035
|
active: t,
|
|
1985
2036
|
className: e = "",
|
|
1986
2037
|
disabled: s
|
|
@@ -2029,7 +2080,7 @@ const z6 = () => {
|
|
|
2029
2080
|
active: t,
|
|
2030
2081
|
disabled: s
|
|
2031
2082
|
}
|
|
2032
|
-
),
|
|
2083
|
+
), c8 = ({
|
|
2033
2084
|
active: t,
|
|
2034
2085
|
// Just to shut up the linter on this template. Prefer deleting this lint rule
|
|
2035
2086
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
@@ -2098,7 +2149,7 @@ const z6 = () => {
|
|
|
2098
2149
|
active: t,
|
|
2099
2150
|
disabled: s
|
|
2100
2151
|
}
|
|
2101
|
-
),
|
|
2152
|
+
), l8 = ({
|
|
2102
2153
|
active: t,
|
|
2103
2154
|
className: e = "",
|
|
2104
2155
|
disabled: s
|
|
@@ -2147,7 +2198,7 @@ const z6 = () => {
|
|
|
2147
2198
|
active: t,
|
|
2148
2199
|
disabled: s
|
|
2149
2200
|
}
|
|
2150
|
-
),
|
|
2201
|
+
), i8 = ({
|
|
2151
2202
|
active: t,
|
|
2152
2203
|
className: e = "",
|
|
2153
2204
|
disabled: s
|
|
@@ -2196,7 +2247,7 @@ const z6 = () => {
|
|
|
2196
2247
|
active: t,
|
|
2197
2248
|
disabled: s
|
|
2198
2249
|
}
|
|
2199
|
-
),
|
|
2250
|
+
), a8 = ({
|
|
2200
2251
|
active: t,
|
|
2201
2252
|
className: e = "",
|
|
2202
2253
|
disabled: s
|
|
@@ -2245,7 +2296,7 @@ const z6 = () => {
|
|
|
2245
2296
|
active: t,
|
|
2246
2297
|
disabled: s
|
|
2247
2298
|
}
|
|
2248
|
-
),
|
|
2299
|
+
), u8 = ({
|
|
2249
2300
|
active: t,
|
|
2250
2301
|
className: e = "",
|
|
2251
2302
|
disabled: s
|
|
@@ -2294,7 +2345,7 @@ const z6 = () => {
|
|
|
2294
2345
|
active: t,
|
|
2295
2346
|
disabled: s
|
|
2296
2347
|
}
|
|
2297
|
-
),
|
|
2348
|
+
), d8 = ({
|
|
2298
2349
|
active: t,
|
|
2299
2350
|
className: e = "",
|
|
2300
2351
|
disabled: s
|
|
@@ -2316,7 +2367,7 @@ const z6 = () => {
|
|
|
2316
2367
|
active: t,
|
|
2317
2368
|
disabled: s
|
|
2318
2369
|
}
|
|
2319
|
-
),
|
|
2370
|
+
), h8 = ({
|
|
2320
2371
|
active: t,
|
|
2321
2372
|
className: e = "",
|
|
2322
2373
|
disabled: s
|
|
@@ -2365,7 +2416,7 @@ const z6 = () => {
|
|
|
2365
2416
|
active: t,
|
|
2366
2417
|
disabled: s
|
|
2367
2418
|
}
|
|
2368
|
-
),
|
|
2419
|
+
), v8 = ({
|
|
2369
2420
|
active: t,
|
|
2370
2421
|
className: e = "",
|
|
2371
2422
|
disabled: s
|
|
@@ -2414,7 +2465,7 @@ const z6 = () => {
|
|
|
2414
2465
|
active: t,
|
|
2415
2466
|
disabled: s
|
|
2416
2467
|
}
|
|
2417
|
-
),
|
|
2468
|
+
), g8 = ({
|
|
2418
2469
|
active: t,
|
|
2419
2470
|
className: e = "",
|
|
2420
2471
|
disabled: s
|
|
@@ -2463,7 +2514,7 @@ const z6 = () => {
|
|
|
2463
2514
|
active: t,
|
|
2464
2515
|
disabled: s
|
|
2465
2516
|
}
|
|
2466
|
-
),
|
|
2517
|
+
), f8 = ({
|
|
2467
2518
|
active: t,
|
|
2468
2519
|
className: e = "",
|
|
2469
2520
|
disabled: s
|
|
@@ -2512,7 +2563,7 @@ const z6 = () => {
|
|
|
2512
2563
|
active: t,
|
|
2513
2564
|
disabled: s
|
|
2514
2565
|
}
|
|
2515
|
-
),
|
|
2566
|
+
), w8 = ({
|
|
2516
2567
|
active: t,
|
|
2517
2568
|
className: e = "",
|
|
2518
2569
|
disabled: s
|
|
@@ -2561,7 +2612,7 @@ const z6 = () => {
|
|
|
2561
2612
|
active: t,
|
|
2562
2613
|
disabled: s
|
|
2563
2614
|
}
|
|
2564
|
-
),
|
|
2615
|
+
), p8 = ({
|
|
2565
2616
|
active: t,
|
|
2566
2617
|
// Just to shut up the linter on this template. Prefer deleting this lint rule
|
|
2567
2618
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
@@ -2630,7 +2681,7 @@ const z6 = () => {
|
|
|
2630
2681
|
active: t,
|
|
2631
2682
|
disabled: s
|
|
2632
2683
|
}
|
|
2633
|
-
),
|
|
2684
|
+
), x8 = ({
|
|
2634
2685
|
active: t,
|
|
2635
2686
|
className: e = "",
|
|
2636
2687
|
disabled: s
|
|
@@ -2679,7 +2730,7 @@ const z6 = () => {
|
|
|
2679
2730
|
active: t,
|
|
2680
2731
|
disabled: s
|
|
2681
2732
|
}
|
|
2682
|
-
),
|
|
2733
|
+
), M8 = ({
|
|
2683
2734
|
active: t,
|
|
2684
2735
|
className: e = "",
|
|
2685
2736
|
disabled: s
|
|
@@ -2728,7 +2779,7 @@ const z6 = () => {
|
|
|
2728
2779
|
active: t,
|
|
2729
2780
|
disabled: s
|
|
2730
2781
|
}
|
|
2731
|
-
),
|
|
2782
|
+
), m8 = ({
|
|
2732
2783
|
active: t,
|
|
2733
2784
|
className: e = "",
|
|
2734
2785
|
disabled: s
|
|
@@ -2777,7 +2828,7 @@ const z6 = () => {
|
|
|
2777
2828
|
active: t,
|
|
2778
2829
|
disabled: s
|
|
2779
2830
|
}
|
|
2780
|
-
),
|
|
2831
|
+
), Z8 = ({
|
|
2781
2832
|
active: t,
|
|
2782
2833
|
className: e = "",
|
|
2783
2834
|
disabled: s
|
|
@@ -2826,7 +2877,7 @@ const z6 = () => {
|
|
|
2826
2877
|
active: t,
|
|
2827
2878
|
disabled: s
|
|
2828
2879
|
}
|
|
2829
|
-
),
|
|
2880
|
+
), j8 = ({
|
|
2830
2881
|
active: t,
|
|
2831
2882
|
className: e = "",
|
|
2832
2883
|
disabled: s
|
|
@@ -2875,7 +2926,7 @@ const z6 = () => {
|
|
|
2875
2926
|
active: t,
|
|
2876
2927
|
disabled: s
|
|
2877
2928
|
}
|
|
2878
|
-
),
|
|
2929
|
+
), C8 = ({
|
|
2879
2930
|
active: t,
|
|
2880
2931
|
className: e = "",
|
|
2881
2932
|
disabled: s
|
|
@@ -2924,7 +2975,7 @@ const z6 = () => {
|
|
|
2924
2975
|
active: t,
|
|
2925
2976
|
disabled: s
|
|
2926
2977
|
}
|
|
2927
|
-
),
|
|
2978
|
+
), S8 = ({
|
|
2928
2979
|
active: t,
|
|
2929
2980
|
className: e = "",
|
|
2930
2981
|
disabled: s
|
|
@@ -2973,7 +3024,7 @@ const z6 = () => {
|
|
|
2973
3024
|
active: t,
|
|
2974
3025
|
disabled: s
|
|
2975
3026
|
}
|
|
2976
|
-
),
|
|
3027
|
+
), b8 = ({
|
|
2977
3028
|
active: t,
|
|
2978
3029
|
className: e = "",
|
|
2979
3030
|
disabled: s
|
|
@@ -3022,7 +3073,7 @@ const z6 = () => {
|
|
|
3022
3073
|
active: t,
|
|
3023
3074
|
disabled: s
|
|
3024
3075
|
}
|
|
3025
|
-
),
|
|
3076
|
+
), I8 = ({
|
|
3026
3077
|
active: t,
|
|
3027
3078
|
className: e = "",
|
|
3028
3079
|
disabled: s
|
|
@@ -3071,7 +3122,7 @@ const z6 = () => {
|
|
|
3071
3122
|
active: t,
|
|
3072
3123
|
disabled: s
|
|
3073
3124
|
}
|
|
3074
|
-
),
|
|
3125
|
+
), y8 = ({
|
|
3075
3126
|
active: t,
|
|
3076
3127
|
className: e = "",
|
|
3077
3128
|
disabled: s
|
|
@@ -3120,243 +3171,235 @@ const z6 = () => {
|
|
|
3120
3171
|
active: t,
|
|
3121
3172
|
disabled: s
|
|
3122
3173
|
}
|
|
3123
|
-
),
|
|
3124
|
-
Alert:
|
|
3125
|
-
Camera:
|
|
3126
|
-
DownArrow:
|
|
3127
|
-
Ban:
|
|
3128
|
-
Check:
|
|
3129
|
-
Controller:
|
|
3130
|
-
Elipses:
|
|
3131
|
-
Flag:
|
|
3132
|
-
Gear:
|
|
3133
|
-
Glass:
|
|
3134
|
-
Hdmi:
|
|
3135
|
-
Laptop:
|
|
3136
|
-
LeftArrow:
|
|
3137
|
-
Light:
|
|
3138
|
-
Mic:
|
|
3139
|
-
Moon:
|
|
3140
|
-
Playstation:
|
|
3141
|
-
Podium:
|
|
3142
|
-
Power:
|
|
3143
|
-
Privacy:
|
|
3144
|
-
Question:
|
|
3145
|
-
RightArrow:
|
|
3146
|
-
RoomPC:
|
|
3147
|
-
Shade:
|
|
3148
|
-
Sun:
|
|
3149
|
-
UpArrow:
|
|
3150
|
-
VolDown:
|
|
3151
|
-
VolMute:
|
|
3152
|
-
VolUp:
|
|
3153
|
-
Wireless:
|
|
3154
|
-
X:
|
|
3155
|
-
Xbox:
|
|
3174
|
+
), R8 = {
|
|
3175
|
+
Alert: J2,
|
|
3176
|
+
Camera: Q2,
|
|
3177
|
+
DownArrow: t8,
|
|
3178
|
+
Ban: X2,
|
|
3179
|
+
Check: N2,
|
|
3180
|
+
Controller: e8,
|
|
3181
|
+
Elipses: o8,
|
|
3182
|
+
Flag: s8,
|
|
3183
|
+
Gear: n8,
|
|
3184
|
+
Glass: r8,
|
|
3185
|
+
Hdmi: c8,
|
|
3186
|
+
Laptop: l8,
|
|
3187
|
+
LeftArrow: i8,
|
|
3188
|
+
Light: a8,
|
|
3189
|
+
Mic: y8,
|
|
3190
|
+
Moon: u8,
|
|
3191
|
+
Playstation: d8,
|
|
3192
|
+
Podium: h8,
|
|
3193
|
+
Power: v8,
|
|
3194
|
+
Privacy: g8,
|
|
3195
|
+
Question: f8,
|
|
3196
|
+
RightArrow: w8,
|
|
3197
|
+
RoomPC: p8,
|
|
3198
|
+
Shade: x8,
|
|
3199
|
+
Sun: M8,
|
|
3200
|
+
UpArrow: m8,
|
|
3201
|
+
VolDown: Z8,
|
|
3202
|
+
VolMute: j8,
|
|
3203
|
+
VolUp: C8,
|
|
3204
|
+
Wireless: S8,
|
|
3205
|
+
X: b8,
|
|
3206
|
+
Xbox: I8
|
|
3156
3207
|
};
|
|
3157
|
-
function
|
|
3208
|
+
function ne({
|
|
3158
3209
|
name: t,
|
|
3159
|
-
iconsDictionary: e =
|
|
3210
|
+
iconsDictionary: e = R8,
|
|
3160
3211
|
...s
|
|
3161
3212
|
}) {
|
|
3162
|
-
const
|
|
3163
|
-
return
|
|
3213
|
+
const r = e[t] ?? null;
|
|
3214
|
+
return r || console.error(`Icon ${t} not found in dictionary`), /* @__PURE__ */ o.jsx(z2, { multiIcon: r, ...s });
|
|
3164
3215
|
}
|
|
3165
|
-
const
|
|
3166
|
-
grid:
|
|
3167
|
-
header:
|
|
3168
|
-
content:
|
|
3169
|
-
footer:
|
|
3170
|
-
volume:
|
|
3171
|
-
},
|
|
3216
|
+
const E8 = "_grid_1cmpp_1", _8 = "_header_1cmpp_11", L8 = "_content_1cmpp_17", $8 = "_footer_1cmpp_23", P8 = "_volume_1cmpp_29", a1 = {
|
|
3217
|
+
grid: E8,
|
|
3218
|
+
header: _8,
|
|
3219
|
+
content: L8,
|
|
3220
|
+
footer: $8,
|
|
3221
|
+
volume: P8
|
|
3222
|
+
}, re = ({ header: t, footer: e, content: s, volume: r, showVolume: c }) => /* @__PURE__ */ o.jsxs("div", { className: a1.grid, children: [
|
|
3172
3223
|
/* @__PURE__ */ o.jsx("div", { className: a1.header, children: t }),
|
|
3173
3224
|
/* @__PURE__ */ o.jsx("div", { className: a1.content, children: s }),
|
|
3174
|
-
|
|
3225
|
+
c && /* @__PURE__ */ o.jsx("div", { className: a1.volume, children: r }),
|
|
3175
3226
|
/* @__PURE__ */ o.jsx("div", { className: a1.footer, children: e })
|
|
3176
|
-
] }),
|
|
3177
|
-
grid:
|
|
3227
|
+
] }), T8 = "_grid_11w5q_1", D8 = "_header_11w5q_11", A8 = "_content_11w5q_17", p1 = {
|
|
3228
|
+
grid: T8,
|
|
3178
3229
|
header: D8,
|
|
3179
3230
|
content: A8,
|
|
3180
3231
|
"left-nav": "_left-nav_11w5q_23"
|
|
3181
|
-
},
|
|
3232
|
+
}, ce = ({ className: t, header: e, content: s, leftNav: r }) => /* @__PURE__ */ o.jsxs("div", { className: `${t} ${p1.grid}`, children: [
|
|
3182
3233
|
/* @__PURE__ */ o.jsx("div", { className: p1.header, children: e }),
|
|
3183
|
-
|
|
3234
|
+
r && /* @__PURE__ */ o.jsx("div", { className: p1.leftNav, children: r }),
|
|
3184
3235
|
/* @__PURE__ */ o.jsx("div", { className: p1.content, children: s })
|
|
3185
|
-
] }),
|
|
3186
|
-
grid:
|
|
3187
|
-
header:
|
|
3188
|
-
content:
|
|
3189
|
-
},
|
|
3236
|
+
] }), B8 = "_grid_1uwfo_1", O8 = "_header_1uwfo_11", V8 = "_content_1uwfo_17", L1 = {
|
|
3237
|
+
grid: B8,
|
|
3238
|
+
header: O8,
|
|
3239
|
+
content: V8
|
|
3240
|
+
}, le = ({ className: t, header: e, content: s }) => /* @__PURE__ */ o.jsxs("div", { className: `${t} ${L1.grid}`, children: [
|
|
3190
3241
|
/* @__PURE__ */ o.jsx("div", { className: L1.header, children: e }),
|
|
3191
3242
|
/* @__PURE__ */ o.jsx("div", { className: L1.content, children: s })
|
|
3192
3243
|
] });
|
|
3193
|
-
function
|
|
3244
|
+
function ie() {
|
|
3194
3245
|
return console.log(location.pathname), location.pathname;
|
|
3195
3246
|
}
|
|
3196
|
-
var
|
|
3197
|
-
class
|
|
3247
|
+
var k8 = /* @__PURE__ */ ((t) => (t[t.NotSet = 0] = "NotSet", t[t.Sunday = 1] = "Sunday", t[t.Monday = 2] = "Monday", t[t.Tuesday = 4] = "Tuesday", t[t.Wednesday = 8] = "Wednesday", t[t.Thursday = 16] = "Thursday", t[t.Friday = 32] = "Friday", t[t.Saturday = 64] = "Saturday", t))(k8 || {});
|
|
3248
|
+
class ae {
|
|
3198
3249
|
constructor(e, s) {
|
|
3199
|
-
|
|
3200
|
-
|
|
3250
|
+
V(this, "path");
|
|
3251
|
+
V(this, "handler");
|
|
3201
3252
|
this.path = e, this.handler = s;
|
|
3202
3253
|
}
|
|
3203
3254
|
}
|
|
3204
|
-
const
|
|
3205
|
-
class
|
|
3206
|
-
constructor() {
|
|
3207
|
-
D(this, "name", "");
|
|
3208
|
-
D(this, "iconUrl", "");
|
|
3209
|
-
D(this, "channel", "");
|
|
3210
|
-
}
|
|
3211
|
-
}
|
|
3212
|
-
class n5 {
|
|
3213
|
-
constructor() {
|
|
3214
|
-
D(this, "deviceKey");
|
|
3215
|
-
D(this, "deviceType");
|
|
3216
|
-
}
|
|
3217
|
-
}
|
|
3218
|
-
class c5 {
|
|
3255
|
+
const ue = "$off";
|
|
3256
|
+
class de {
|
|
3219
3257
|
constructor() {
|
|
3220
|
-
|
|
3221
|
-
|
|
3258
|
+
V(this, "name", "");
|
|
3259
|
+
V(this, "iconUrl", "");
|
|
3260
|
+
V(this, "channel", "");
|
|
3222
3261
|
}
|
|
3223
3262
|
}
|
|
3224
|
-
class
|
|
3263
|
+
class he {
|
|
3225
3264
|
constructor() {
|
|
3226
|
-
|
|
3227
|
-
|
|
3228
|
-
|
|
3265
|
+
V(this, "currentShareText");
|
|
3266
|
+
V(this, "enabled");
|
|
3267
|
+
V(this, "isSharing");
|
|
3229
3268
|
}
|
|
3230
3269
|
}
|
|
3231
3270
|
export {
|
|
3232
|
-
|
|
3233
|
-
|
|
3234
|
-
|
|
3235
|
-
|
|
3236
|
-
|
|
3237
|
-
|
|
3238
|
-
|
|
3239
|
-
|
|
3240
|
-
|
|
3241
|
-
|
|
3242
|
-
|
|
3243
|
-
|
|
3244
|
-
|
|
3245
|
-
|
|
3246
|
-
|
|
3247
|
-
|
|
3248
|
-
|
|
3249
|
-
|
|
3250
|
-
|
|
3251
|
-
|
|
3252
|
-
|
|
3253
|
-
|
|
3254
|
-
|
|
3255
|
-
|
|
3256
|
-
|
|
3257
|
-
|
|
3258
|
-
|
|
3259
|
-
|
|
3260
|
-
|
|
3261
|
-
|
|
3262
|
-
|
|
3263
|
-
|
|
3264
|
-
|
|
3265
|
-
|
|
3266
|
-
|
|
3267
|
-
|
|
3268
|
-
|
|
3269
|
-
|
|
3270
|
-
t5 as MessageHandler,
|
|
3271
|
-
g6 as MobileControlProvider,
|
|
3271
|
+
_6 as Clock,
|
|
3272
|
+
k8 as DaysOfWeek,
|
|
3273
|
+
se as ErrorBox,
|
|
3274
|
+
z2 as IconButton,
|
|
3275
|
+
J2 as IconMultiAlert,
|
|
3276
|
+
X2 as IconMultiBan,
|
|
3277
|
+
Q2 as IconMultiCamera,
|
|
3278
|
+
N2 as IconMultiCheck,
|
|
3279
|
+
e8 as IconMultiController,
|
|
3280
|
+
t8 as IconMultiDownArrow,
|
|
3281
|
+
o8 as IconMultiElipses,
|
|
3282
|
+
s8 as IconMultiFlag,
|
|
3283
|
+
n8 as IconMultiGear,
|
|
3284
|
+
r8 as IconMultiGlass,
|
|
3285
|
+
c8 as IconMultiHdmi,
|
|
3286
|
+
l8 as IconMultiLaptop,
|
|
3287
|
+
i8 as IconMultiLeftArrow,
|
|
3288
|
+
a8 as IconMultiLight,
|
|
3289
|
+
u8 as IconMultiMoon,
|
|
3290
|
+
d8 as IconMultiPlaystation,
|
|
3291
|
+
h8 as IconMultiPodium,
|
|
3292
|
+
v8 as IconMultiPower,
|
|
3293
|
+
g8 as IconMultiPrivacy,
|
|
3294
|
+
f8 as IconMultiQuestion,
|
|
3295
|
+
w8 as IconMultiRightArrow,
|
|
3296
|
+
p8 as IconMultiRoomPC,
|
|
3297
|
+
x8 as IconMultiShade,
|
|
3298
|
+
M8 as IconMultiSun,
|
|
3299
|
+
m8 as IconMultiUpArrow,
|
|
3300
|
+
Z8 as IconMultiVolDown,
|
|
3301
|
+
j8 as IconMultiVolMute,
|
|
3302
|
+
C8 as IconMultiVolUp,
|
|
3303
|
+
S8 as IconMultiWireless,
|
|
3304
|
+
b8 as IconMultiX,
|
|
3305
|
+
I8 as IconMultiXbox,
|
|
3306
|
+
re as MainLayout,
|
|
3307
|
+
ae as MessageHandler,
|
|
3308
|
+
M6 as MobileControlProvider,
|
|
3272
3309
|
m as MultiStateIconContainer,
|
|
3273
|
-
|
|
3274
|
-
|
|
3275
|
-
|
|
3276
|
-
|
|
3277
|
-
|
|
3278
|
-
|
|
3279
|
-
|
|
3280
|
-
|
|
3310
|
+
ne as NamedIconButton,
|
|
3311
|
+
de as PresetChannel,
|
|
3312
|
+
he as ShareState,
|
|
3313
|
+
ce as TechLayout,
|
|
3314
|
+
le as TechPinLayout,
|
|
3315
|
+
ie as getBaseLocation,
|
|
3316
|
+
P1 as httpClient,
|
|
3317
|
+
ue as roomOffSourceKey,
|
|
3281
3318
|
C as store,
|
|
3282
3319
|
q as uiActions,
|
|
3283
|
-
|
|
3284
|
-
|
|
3285
|
-
|
|
3286
|
-
|
|
3287
|
-
|
|
3288
|
-
|
|
3289
|
-
|
|
3290
|
-
|
|
3291
|
-
|
|
3292
|
-
|
|
3293
|
-
|
|
3294
|
-
|
|
3295
|
-
|
|
3296
|
-
|
|
3297
|
-
|
|
3298
|
-
|
|
3320
|
+
x2 as uiReducer,
|
|
3321
|
+
q8 as useApiPath,
|
|
3322
|
+
m2 as useAppConfig,
|
|
3323
|
+
$2 as useAppDispatch,
|
|
3324
|
+
Z6 as useAvrControl,
|
|
3325
|
+
I2 as useClientId,
|
|
3326
|
+
H2 as useDeviceIBasicVolumeWithFeedback,
|
|
3327
|
+
j6 as useEndpoint,
|
|
3328
|
+
_2 as useError,
|
|
3329
|
+
X6 as useGetAllDeviceStateFromRoomConfiguration,
|
|
3330
|
+
Z2 as useGetAllDevices,
|
|
3331
|
+
p6 as useGetCurrentPopoverIdForGroup,
|
|
3332
|
+
$ as useGetDevice,
|
|
3333
|
+
m6 as useGetIBasicVolumeWithFeedback,
|
|
3334
|
+
a6 as useGetRoomDisplayStates,
|
|
3335
|
+
u6 as useGetZoomRoomControllerKey,
|
|
3299
3336
|
Z3 as useIBasicVolumeWithFeedback,
|
|
3300
|
-
|
|
3301
|
-
|
|
3302
|
-
|
|
3303
|
-
|
|
3304
|
-
|
|
3305
|
-
|
|
3306
|
-
|
|
3337
|
+
C6 as useIChannelMessenger,
|
|
3338
|
+
S6 as useIColor,
|
|
3339
|
+
b6 as useICommunicationMonitor,
|
|
3340
|
+
I6 as useIDPad,
|
|
3341
|
+
y6 as useIDeviceInfoMessenger,
|
|
3342
|
+
R6 as useIDspPresets,
|
|
3343
|
+
E6 as useIDvr,
|
|
3344
|
+
L6 as useIEssentialsRoomCombiner,
|
|
3307
3345
|
j3 as useIHasPowerControl,
|
|
3308
|
-
|
|
3309
|
-
|
|
3310
|
-
|
|
3311
|
-
|
|
3312
|
-
|
|
3313
|
-
|
|
3314
|
-
|
|
3315
|
-
|
|
3316
|
-
|
|
3317
|
-
|
|
3318
|
-
|
|
3319
|
-
|
|
3320
|
-
|
|
3321
|
-
|
|
3322
|
-
|
|
3323
|
-
|
|
3324
|
-
|
|
3325
|
-
|
|
3326
|
-
|
|
3327
|
-
|
|
3328
|
-
|
|
3329
|
-
|
|
3330
|
-
|
|
3331
|
-
|
|
3332
|
-
X8 as
|
|
3333
|
-
|
|
3334
|
-
|
|
3335
|
-
|
|
3336
|
-
|
|
3337
|
-
|
|
3338
|
-
|
|
3339
|
-
|
|
3340
|
-
|
|
3341
|
-
|
|
3342
|
-
|
|
3343
|
-
|
|
3344
|
-
|
|
3345
|
-
|
|
3346
|
-
|
|
3347
|
-
|
|
3348
|
-
|
|
3349
|
-
|
|
3350
|
-
|
|
3351
|
-
|
|
3352
|
-
|
|
3353
|
-
|
|
3354
|
-
|
|
3355
|
-
|
|
3356
|
-
|
|
3357
|
-
|
|
3358
|
-
|
|
3359
|
-
|
|
3346
|
+
D1 as useIHasSelectableItems,
|
|
3347
|
+
$6 as useILevelControls,
|
|
3348
|
+
P6 as useILightingScenes,
|
|
3349
|
+
T6 as useIMatrixRouting,
|
|
3350
|
+
D6 as useIMcCiscoCodecUserInterfaceAppControl,
|
|
3351
|
+
A6 as useINumeric,
|
|
3352
|
+
B6 as useIProjectorScreenLiftControl,
|
|
3353
|
+
O6 as useIRoomEventSchedule,
|
|
3354
|
+
z6 as useIRunDefaultPresentRoute,
|
|
3355
|
+
V6 as useIRunDirectRouteAction,
|
|
3356
|
+
k6 as useIRunRouteAction,
|
|
3357
|
+
U6 as useISetTopBoxControls,
|
|
3358
|
+
F6 as useIShadesOpenCloseStop,
|
|
3359
|
+
W6 as useIShutdownPromptTimer,
|
|
3360
|
+
H6 as useISwitchedOutput,
|
|
3361
|
+
K6 as useITechPassword,
|
|
3362
|
+
J6 as useITheme,
|
|
3363
|
+
G6 as useITransport,
|
|
3364
|
+
P2 as useInitialize,
|
|
3365
|
+
v6 as useIsTouchpanel,
|
|
3366
|
+
q6 as useMobileControlTouchpanelController,
|
|
3367
|
+
te as useOverflow,
|
|
3368
|
+
W2 as usePressHoldRelease,
|
|
3369
|
+
l6 as useRoomAdvancedSharingActive,
|
|
3370
|
+
X8 as useRoomAudioControlPointList,
|
|
3371
|
+
o6 as useRoomCodecContentDestinationKey,
|
|
3372
|
+
Y8 as useRoomConfiguration,
|
|
3373
|
+
N8 as useRoomDestinationList,
|
|
3374
|
+
Q8 as useRoomDestinations,
|
|
3375
|
+
e6 as useRoomEnvironmentalDevices,
|
|
3376
|
+
Q6 as useRoomIBasicVolumeWithFeedback,
|
|
3377
|
+
s6 as useRoomInCall,
|
|
3378
|
+
r6 as useRoomIsCoolingDown,
|
|
3379
|
+
c6 as useRoomIsOn,
|
|
3380
|
+
n6 as useRoomIsWarmingUp,
|
|
3381
|
+
b2 as useRoomKey,
|
|
3382
|
+
C2 as useRoomLevelControls,
|
|
3383
|
+
z8 as useRoomName,
|
|
3384
|
+
t6 as useRoomProgramAudioDestinationKey,
|
|
3385
|
+
i6 as useRoomShareState,
|
|
3386
|
+
J8 as useRoomSourceList,
|
|
3387
|
+
A1 as useRoomState,
|
|
3388
|
+
j2 as useRoomVolume,
|
|
3389
|
+
d6 as useRuntimeInfo,
|
|
3390
|
+
oe as useScroll,
|
|
3391
|
+
E2 as useServerIsRunningOnProcessorHardware,
|
|
3392
|
+
f6 as useShowIncomingCallModal,
|
|
3393
|
+
w6 as useShowModal,
|
|
3394
|
+
x6 as useShowPopoverById,
|
|
3395
|
+
L2 as useShowReconnect,
|
|
3396
|
+
g6 as useShowShutdownModal,
|
|
3397
|
+
N6 as useSystemControl,
|
|
3398
|
+
y2 as useSystemUuid,
|
|
3399
|
+
ee as useTimeAndDate,
|
|
3400
|
+
h6 as useTouchpanelKey,
|
|
3401
|
+
Y6 as useTwoWayDisplayBase,
|
|
3402
|
+
R2 as useUserCode,
|
|
3360
3403
|
I as useWebsocketContext,
|
|
3361
|
-
|
|
3404
|
+
S2 as useWsIsConnected
|
|
3362
3405
|
};
|