@pepperdash/mobile-control-react-app-core 1.9.2-beta.1 → 1.9.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/mobile-control-react-app-core.es.js +980 -989
- package/dist/mobile-control-react-app-core.umd.js +11 -11
- package/dist/shared/Icons/MultiStateIcons/IconMultiController.d.ts.map +1 -1
- package/dist/store/runtimeConfig/runtimeConfig.slice.d.ts +0 -8
- package/dist/store/runtimeConfig/runtimeConfig.slice.d.ts.map +1 -1
- package/dist/store/runtimeConfig/runtimeSelectors.d.ts +0 -3
- package/dist/store/runtimeConfig/runtimeSelectors.d.ts.map +1 -1
- package/dist/utils/WebsocketProvider.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
var W3 = Object.defineProperty;
|
|
2
|
-
var H3 = (t, e,
|
|
3
|
-
var
|
|
2
|
+
var H3 = (t, e, c) => e in t ? W3(t, e, { enumerable: !0, configurable: !0, writable: !0, value: c }) : t[e] = c;
|
|
3
|
+
var _ = (t, e, c) => (H3(t, typeof e != "symbol" ? e + "" : e, c), c);
|
|
4
4
|
import K3 from "axios";
|
|
5
|
-
import { createSlice as
|
|
5
|
+
import { createSlice as o1, combineReducers as G3, configureStore as n3, createSelector as q3 } from "@reduxjs/toolkit";
|
|
6
6
|
import { useSelector as Y3, useDispatch as J3, Provider as z3 } from "react-redux";
|
|
7
|
-
import * as
|
|
8
|
-
import
|
|
7
|
+
import * as c3 from "lodash";
|
|
8
|
+
import s3, { createContext as X3, useState as q, useRef as s1, useCallback as u1, useEffect as G, useContext as Q3 } from "react";
|
|
9
9
|
import { useNavigate as N3 } from "react-router-dom";
|
|
10
10
|
const e2 = {
|
|
11
11
|
config: {
|
|
@@ -17,7 +17,7 @@ const e2 = {
|
|
|
17
17
|
loginMode: "",
|
|
18
18
|
modes: {}
|
|
19
19
|
}
|
|
20
|
-
},
|
|
20
|
+
}, o3 = o1({
|
|
21
21
|
name: "appConfig",
|
|
22
22
|
initialState: e2,
|
|
23
23
|
reducers: {
|
|
@@ -25,33 +25,33 @@ const e2 = {
|
|
|
25
25
|
t.config = e.payload;
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
|
-
}), t2 =
|
|
28
|
+
}), t2 = o3.actions, n2 = o3.reducer, c2 = {}, r3 = o1({
|
|
29
29
|
name: "devices",
|
|
30
|
-
initialState:
|
|
30
|
+
initialState: c2,
|
|
31
31
|
reducers: {
|
|
32
32
|
setDeviceState(t, e) {
|
|
33
|
-
const
|
|
33
|
+
const c = e.payload.type, o = c.slice(c.lastIndexOf("/") + 1);
|
|
34
34
|
if (!o)
|
|
35
35
|
return;
|
|
36
|
-
const l = e.payload.content, i = t[o] ?? {},
|
|
37
|
-
return t[o] =
|
|
36
|
+
const l = e.payload.content, i = t[o] ?? {}, d = c3.merge(i, l);
|
|
37
|
+
return t[o] = d, t;
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
|
-
}),
|
|
40
|
+
}), s2 = r3.actions, o2 = r3.reducer, r2 = {}, l3 = o1({
|
|
41
41
|
name: "rooms",
|
|
42
42
|
initialState: r2,
|
|
43
43
|
reducers: {
|
|
44
44
|
setRoomState(t, e) {
|
|
45
|
-
const
|
|
46
|
-
if (console.log(
|
|
45
|
+
const c = e.payload.type, o = c.slice(c.lastIndexOf("/") + 1);
|
|
46
|
+
if (console.log(c, o), !o)
|
|
47
47
|
return;
|
|
48
48
|
const l = e.payload.content;
|
|
49
49
|
console.log(l);
|
|
50
|
-
const i = t[o] ?? {},
|
|
51
|
-
return t[o] =
|
|
50
|
+
const i = t[o] ?? {}, d = c3.merge(i, l);
|
|
51
|
+
return t[o] = d, console.log(t), t;
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
|
-
}), l2 =
|
|
54
|
+
}), l2 = l3.actions, i2 = l3.reducer, a2 = {
|
|
55
55
|
apiVersion: "",
|
|
56
56
|
serverIsRunningOnProcessorHardware: !1,
|
|
57
57
|
websocket: {
|
|
@@ -60,7 +60,6 @@ const e2 = {
|
|
|
60
60
|
pluginVersion: "",
|
|
61
61
|
disconnectionMessage: "",
|
|
62
62
|
token: "",
|
|
63
|
-
roomKey: "",
|
|
64
63
|
roomData: {
|
|
65
64
|
clientId: "",
|
|
66
65
|
roomKey: "",
|
|
@@ -71,7 +70,7 @@ const e2 = {
|
|
|
71
70
|
userCode: "",
|
|
72
71
|
qrUrl: ""
|
|
73
72
|
}
|
|
74
|
-
},
|
|
73
|
+
}, i3 = o1({
|
|
75
74
|
name: "runtimeConfig",
|
|
76
75
|
initialState: a2,
|
|
77
76
|
reducers: {
|
|
@@ -91,19 +90,19 @@ const e2 = {
|
|
|
91
90
|
t.roomData = e.payload;
|
|
92
91
|
},
|
|
93
92
|
setCurrentRoomKey(t, e) {
|
|
94
|
-
t.roomKey = e.payload;
|
|
93
|
+
t.roomData.roomKey = e.payload;
|
|
95
94
|
},
|
|
96
95
|
setUserCode(t, e) {
|
|
97
96
|
t.roomData.userCode = e.payload.userCode, t.roomData.qrUrl = e.payload.qrUrl;
|
|
98
97
|
}
|
|
99
98
|
}
|
|
100
|
-
}),
|
|
99
|
+
}), K = i3.actions, u2 = i3.reducer, d2 = {
|
|
101
100
|
modalVisibility: {
|
|
102
101
|
showShutdownModal: !1,
|
|
103
102
|
showIncomingCallModal: !1
|
|
104
103
|
},
|
|
105
104
|
popoverVisibility: {}
|
|
106
|
-
},
|
|
105
|
+
}, a3 = o1({
|
|
107
106
|
name: "ui",
|
|
108
107
|
initialState: d2,
|
|
109
108
|
reducers: {
|
|
@@ -122,142 +121,142 @@ const e2 = {
|
|
|
122
121
|
t.modalVisibility.showIncomingCallModal = e.payload;
|
|
123
122
|
},
|
|
124
123
|
setPopoverState(t, e) {
|
|
125
|
-
t.popoverVisibility[e.payload.popoverGroup] || (t.popoverVisibility[e.payload.popoverGroup] = {}), Object.entries(t.popoverVisibility[e.payload.popoverGroup]).forEach(([
|
|
126
|
-
t.popoverVisibility[e.payload.popoverGroup][
|
|
124
|
+
t.popoverVisibility[e.payload.popoverGroup] || (t.popoverVisibility[e.payload.popoverGroup] = {}), Object.entries(t.popoverVisibility[e.payload.popoverGroup]).forEach(([c]) => {
|
|
125
|
+
t.popoverVisibility[e.payload.popoverGroup][c] = !1;
|
|
127
126
|
}), t.popoverVisibility[e.payload.popoverGroup][e.payload.popoverId] = e.payload.value;
|
|
128
127
|
}
|
|
129
128
|
}
|
|
130
|
-
}),
|
|
129
|
+
}), A8 = a3.actions, v2 = a3.reducer, u3 = G3({
|
|
131
130
|
appConfig: n2,
|
|
132
131
|
runtimeConfig: u2,
|
|
133
132
|
rooms: i2,
|
|
134
133
|
devices: o2,
|
|
135
134
|
ui: v2
|
|
136
|
-
}), h2 =
|
|
137
|
-
reducer:
|
|
138
|
-
}),
|
|
139
|
-
function
|
|
140
|
-
return
|
|
135
|
+
}), h2 = n3({
|
|
136
|
+
reducer: u3
|
|
137
|
+
}), Z = Y3, g2 = () => Z((t) => t.appConfig.config), B8 = () => Z((t) => t.appConfig.config.apiPath), f2 = () => Z((t) => t.devices);
|
|
138
|
+
function L(t) {
|
|
139
|
+
return Z((e) => e.devices[t] ? e.devices[t] : void 0);
|
|
141
140
|
}
|
|
142
|
-
const
|
|
141
|
+
const T8 = (t) => Z(
|
|
143
142
|
(e) => {
|
|
144
|
-
var
|
|
145
|
-
return e.rooms[t] ? (
|
|
143
|
+
var c;
|
|
144
|
+
return e.rooms[t] ? (c = e.rooms[t]) == null ? void 0 : c.configuration : void 0;
|
|
146
145
|
}
|
|
147
|
-
),
|
|
146
|
+
), R1 = (t) => Z(
|
|
148
147
|
(e) => e.rooms[t] ? e.rooms[t] : void 0
|
|
149
|
-
),
|
|
148
|
+
), D8 = (t) => Z(
|
|
150
149
|
(e) => {
|
|
151
|
-
var
|
|
152
|
-
return e.rooms[t] ? (
|
|
150
|
+
var c;
|
|
151
|
+
return e.rooms[t] ? (c = e.rooms[t]) == null ? void 0 : c.name : void 0;
|
|
153
152
|
}
|
|
154
|
-
), w2 = (t, e) =>
|
|
155
|
-
(
|
|
153
|
+
), w2 = (t, e) => Z(
|
|
154
|
+
(c) => {
|
|
156
155
|
var o;
|
|
157
|
-
return
|
|
156
|
+
return c.rooms[t] ? (o = c.rooms[t]) == null ? void 0 : o.volumes[e] : void 0;
|
|
158
157
|
}
|
|
159
|
-
),
|
|
158
|
+
), P8 = (t) => Z(
|
|
160
159
|
(e) => {
|
|
161
|
-
var
|
|
162
|
-
return e.rooms[t] ? (o = (
|
|
160
|
+
var c, o;
|
|
161
|
+
return e.rooms[t] ? (o = (c = e.rooms[t]) == null ? void 0 : c.configuration) == null ? void 0 : o.sourceList : void 0;
|
|
163
162
|
}
|
|
164
|
-
),
|
|
163
|
+
), O8 = (t) => Z(
|
|
165
164
|
(e) => {
|
|
166
|
-
var
|
|
167
|
-
return e.rooms[t] ? (o = (
|
|
165
|
+
var c, o;
|
|
166
|
+
return e.rooms[t] ? (o = (c = e.rooms[t]) == null ? void 0 : c.configuration) == null ? void 0 : o.destinations : void 0;
|
|
168
167
|
}
|
|
169
|
-
),
|
|
168
|
+
), V8 = (t) => Z(
|
|
170
169
|
(e) => {
|
|
171
|
-
var
|
|
172
|
-
return e.rooms[t] ? (o = (
|
|
170
|
+
var c, o;
|
|
171
|
+
return e.rooms[t] ? (o = (c = e.rooms[t]) == null ? void 0 : c.configuration) == null ? void 0 : o.destinationList : void 0;
|
|
173
172
|
}
|
|
174
|
-
),
|
|
173
|
+
), F8 = (t) => Z(
|
|
175
174
|
(e) => {
|
|
176
|
-
var
|
|
177
|
-
return e.rooms[t] ? (o = (
|
|
175
|
+
var c, o;
|
|
176
|
+
return e.rooms[t] ? (o = (c = e.rooms[t]) == null ? void 0 : c.configuration) == null ? void 0 : o.environmentalDevices : void 0;
|
|
178
177
|
}
|
|
179
|
-
),
|
|
178
|
+
), k8 = (t) => Z(
|
|
180
179
|
(e) => {
|
|
181
|
-
var
|
|
182
|
-
return (o = (
|
|
180
|
+
var c, o, l, i, d, f, u, S;
|
|
181
|
+
return (o = (c = e.rooms[t]) == null ? void 0 : c.configuration) != null && o.destinationList.programAudio ? (d = (i = (l = e.rooms[t]) == null ? void 0 : l.configuration) == null ? void 0 : i.destinationList.programAudio) == null ? void 0 : d.sinkKey : ((S = (u = (f = e.rooms[t]) == null ? void 0 : f.configuration) == null ? void 0 : u.destinationList.defaultDisplay) == null ? void 0 : S.sinkKey) || "";
|
|
183
182
|
}
|
|
184
|
-
),
|
|
183
|
+
), U8 = (t) => Z(
|
|
185
184
|
(e) => {
|
|
186
|
-
var
|
|
187
|
-
return e.rooms[t] ? (l = (o = (
|
|
185
|
+
var c, o, l;
|
|
186
|
+
return e.rooms[t] ? (l = (o = (c = e.rooms[t]) == null ? void 0 : c.configuration) == null ? void 0 : o.destinationList.codecContent) == null ? void 0 : l.sinkKey : void 0;
|
|
188
187
|
}
|
|
189
|
-
),
|
|
188
|
+
), W8 = (t) => Z(
|
|
190
189
|
(e) => {
|
|
191
|
-
var
|
|
192
|
-
return e.rooms[t] ? (
|
|
190
|
+
var c;
|
|
191
|
+
return e.rooms[t] ? (c = e.rooms[t]) == null ? void 0 : c.isInCall : void 0;
|
|
193
192
|
}
|
|
194
|
-
),
|
|
193
|
+
), H8 = (t) => Z(
|
|
195
194
|
(e) => {
|
|
196
|
-
var
|
|
197
|
-
return e.rooms[t] ? (
|
|
195
|
+
var c;
|
|
196
|
+
return e.rooms[t] ? (c = e.rooms[t]) == null ? void 0 : c.isWarmingUp : void 0;
|
|
198
197
|
}
|
|
199
|
-
),
|
|
198
|
+
), K8 = (t) => Z(
|
|
200
199
|
(e) => {
|
|
201
|
-
var
|
|
202
|
-
return e.rooms[t] ? (
|
|
200
|
+
var c;
|
|
201
|
+
return e.rooms[t] ? (c = e.rooms[t]) == null ? void 0 : c.isCoolingDown : void 0;
|
|
203
202
|
}
|
|
204
|
-
),
|
|
203
|
+
), G8 = (t) => Z(
|
|
205
204
|
(e) => {
|
|
206
|
-
var
|
|
207
|
-
return e.rooms[t] ? (
|
|
205
|
+
var c;
|
|
206
|
+
return e.rooms[t] ? (c = e.rooms[t]) == null ? void 0 : c.isOn : void 0;
|
|
208
207
|
}
|
|
209
|
-
),
|
|
208
|
+
), q8 = (t) => Z(
|
|
210
209
|
(e) => {
|
|
211
|
-
var
|
|
212
|
-
return e.rooms[t] ? (
|
|
210
|
+
var c;
|
|
211
|
+
return e.rooms[t] ? (c = e.rooms[t]) == null ? void 0 : c.advancedSharingActive : void 0;
|
|
213
212
|
}
|
|
214
|
-
),
|
|
213
|
+
), Y8 = (t) => Z(
|
|
215
214
|
(e) => {
|
|
216
|
-
var
|
|
217
|
-
return e.rooms[t] ? (
|
|
215
|
+
var c;
|
|
216
|
+
return e.rooms[t] ? (c = e.rooms[t]) == null ? void 0 : c.share : void 0;
|
|
218
217
|
}
|
|
219
|
-
),
|
|
218
|
+
), J8 = (t) => q3(
|
|
220
219
|
[
|
|
221
|
-
(e,
|
|
220
|
+
(e, c) => c,
|
|
222
221
|
f2,
|
|
223
222
|
(e) => {
|
|
224
|
-
var
|
|
225
|
-
return (o = (
|
|
223
|
+
var c, o;
|
|
224
|
+
return (o = (c = e.rooms[t]) == null ? void 0 : c.configuration) == null ? void 0 : o.destinations;
|
|
226
225
|
}
|
|
227
226
|
],
|
|
228
|
-
(e,
|
|
229
|
-
if (console.log("roomKey", e), console.log("devices",
|
|
227
|
+
(e, c, o) => {
|
|
228
|
+
if (console.log("roomKey", e), console.log("devices", c), console.log("destinations", o), !o)
|
|
230
229
|
return;
|
|
231
|
-
const l = Object.entries(o).filter(([
|
|
232
|
-
return Object.values(
|
|
230
|
+
const l = Object.entries(o).filter(([d]) => d !== "programAudio" && d !== "codecContent").map(([, d]) => d);
|
|
231
|
+
return Object.values(c).filter((d) => Object.values(l).includes(d.key));
|
|
233
232
|
}
|
|
234
|
-
)(h2.getState(), t),
|
|
233
|
+
)(h2.getState(), t), z8 = (t) => Z(
|
|
235
234
|
(e) => {
|
|
236
|
-
var
|
|
237
|
-
return e.rooms[t] ? (o = (
|
|
238
|
-
}
|
|
239
|
-
), p2 = () =>
|
|
240
|
-
const
|
|
241
|
-
if (
|
|
242
|
-
return Object.keys(
|
|
243
|
-
}),
|
|
235
|
+
var c, o;
|
|
236
|
+
return e.rooms[t] ? (o = (c = e.rooms[t]) == null ? void 0 : c.configuration) == null ? void 0 : o.zoomRoomControllerKey : void 0;
|
|
237
|
+
}
|
|
238
|
+
), p2 = () => Z((t) => t.runtimeConfig.websocket.isConnected), x2 = () => Z((t) => t.runtimeConfig.roomData.roomKey), M2 = () => Z((t) => t.runtimeConfig.roomData.clientId), X8 = () => Z((t) => t.ui.modalVisibility.showShutdownModal), Q8 = () => Z((t) => t.ui.modalVisibility.showIncomingCallModal), N8 = (t) => Z((e) => e.ui.modalVisibility[t]), e6 = (t) => Z((e) => {
|
|
239
|
+
const c = e.ui.popoverVisibility[t];
|
|
240
|
+
if (c)
|
|
241
|
+
return Object.keys(c).find((o) => c[o]);
|
|
242
|
+
}), t6 = (t, e) => Z((c) => {
|
|
244
243
|
var o;
|
|
245
|
-
return (o =
|
|
246
|
-
}),
|
|
247
|
-
reducer:
|
|
248
|
-
}),
|
|
249
|
-
function
|
|
250
|
-
const t =
|
|
244
|
+
return (o = c.ui.popoverVisibility[t]) == null ? void 0 : o[e];
|
|
245
|
+
}), F = n3({
|
|
246
|
+
reducer: u3
|
|
247
|
+
}), m2 = J3, b1 = K3.create();
|
|
248
|
+
function Z2() {
|
|
249
|
+
const t = m2();
|
|
251
250
|
return async () => {
|
|
252
251
|
try {
|
|
253
252
|
const e = location.pathname.split("/").filter((l) => l.length > 0);
|
|
254
253
|
e.length >= 5 ? e.length = 5 : e.length = 2;
|
|
255
|
-
const
|
|
254
|
+
const c = `/${e.join("/")}`, o = await b1.get("/_local-config/_config.local.json", { baseURL: c });
|
|
256
255
|
if (o.status == 200 && o.data) {
|
|
257
256
|
const l = o.data.apiPath;
|
|
258
257
|
t(t2.setAppConfig(o.data));
|
|
259
|
-
const i = await
|
|
260
|
-
i.status == 200 && i.data && t(
|
|
258
|
+
const i = await b1.get(`${l}/version`);
|
|
259
|
+
i.status == 200 && i.data && t(K.setRuntimeConfig(i.data));
|
|
261
260
|
}
|
|
262
261
|
} catch (e) {
|
|
263
262
|
console.error("Error getting config", e);
|
|
@@ -265,7 +264,7 @@ function S2() {
|
|
|
265
264
|
return !0;
|
|
266
265
|
};
|
|
267
266
|
}
|
|
268
|
-
var
|
|
267
|
+
var I1 = { exports: {} }, t1 = {};
|
|
269
268
|
/**
|
|
270
269
|
* @license React
|
|
271
270
|
* react-jsx-runtime.development.js
|
|
@@ -275,64 +274,64 @@ var E1 = { exports: {} }, c1 = {};
|
|
|
275
274
|
* This source code is licensed under the MIT license found in the
|
|
276
275
|
* LICENSE file in the root directory of this source tree.
|
|
277
276
|
*/
|
|
278
|
-
var
|
|
279
|
-
function
|
|
280
|
-
return
|
|
281
|
-
var t =
|
|
282
|
-
function
|
|
283
|
-
if (
|
|
277
|
+
var N1;
|
|
278
|
+
function j2() {
|
|
279
|
+
return N1 || (N1 = 1, process.env.NODE_ENV !== "production" && function() {
|
|
280
|
+
var t = s3, e = Symbol.for("react.element"), c = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), f = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), S = Symbol.for("react.suspense"), C = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), A = Symbol.for("react.lazy"), T = Symbol.for("react.offscreen"), V = Symbol.iterator, Y = "@@iterator";
|
|
281
|
+
function J(s) {
|
|
282
|
+
if (s === null || typeof s != "object")
|
|
284
283
|
return null;
|
|
285
|
-
var r =
|
|
284
|
+
var r = V && s[V] || s[Y];
|
|
286
285
|
return typeof r == "function" ? r : null;
|
|
287
286
|
}
|
|
288
|
-
var
|
|
289
|
-
function
|
|
287
|
+
var m = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
288
|
+
function g(s) {
|
|
290
289
|
{
|
|
291
|
-
for (var r = arguments.length, a = new Array(r > 1 ? r - 1 : 0),
|
|
292
|
-
a[
|
|
293
|
-
|
|
290
|
+
for (var r = arguments.length, a = new Array(r > 1 ? r - 1 : 0), v = 1; v < r; v++)
|
|
291
|
+
a[v - 1] = arguments[v];
|
|
292
|
+
O("error", s, a);
|
|
294
293
|
}
|
|
295
294
|
}
|
|
296
|
-
function
|
|
295
|
+
function O(s, r, a) {
|
|
297
296
|
{
|
|
298
|
-
var
|
|
297
|
+
var v = m.ReactDebugCurrentFrame, M = v.getStackAddendum();
|
|
299
298
|
M !== "" && (r += "%s", a = a.concat([M]));
|
|
300
|
-
var
|
|
301
|
-
return String(
|
|
299
|
+
var j = a.map(function(p) {
|
|
300
|
+
return String(p);
|
|
302
301
|
});
|
|
303
|
-
|
|
302
|
+
j.unshift("Warning: " + r), Function.prototype.apply.call(console[s], console, j);
|
|
304
303
|
}
|
|
305
304
|
}
|
|
306
|
-
var
|
|
307
|
-
|
|
308
|
-
function
|
|
309
|
-
return !!(typeof
|
|
305
|
+
var z = !1, E = !1, X = !1, v1 = !1, h1 = !1, E1;
|
|
306
|
+
E1 = Symbol.for("react.module.reference");
|
|
307
|
+
function g3(s) {
|
|
308
|
+
return !!(typeof s == "string" || typeof s == "function" || s === o || s === i || h1 || s === l || s === S || s === C || v1 || s === T || z || E || X || typeof s == "object" && s !== null && (s.$$typeof === A || s.$$typeof === b || s.$$typeof === d || s.$$typeof === f || s.$$typeof === u || // This needs to include all possible module reference object
|
|
310
309
|
// types supported by any Flight configuration anywhere since
|
|
311
310
|
// we don't know which Flight build this will end up being used
|
|
312
311
|
// with.
|
|
313
|
-
|
|
312
|
+
s.$$typeof === E1 || s.getModuleId !== void 0));
|
|
314
313
|
}
|
|
315
|
-
function
|
|
316
|
-
var
|
|
317
|
-
if (
|
|
318
|
-
return
|
|
314
|
+
function f3(s, r, a) {
|
|
315
|
+
var v = s.displayName;
|
|
316
|
+
if (v)
|
|
317
|
+
return v;
|
|
319
318
|
var M = r.displayName || r.name || "";
|
|
320
319
|
return M !== "" ? a + "(" + M + ")" : a;
|
|
321
320
|
}
|
|
322
|
-
function
|
|
323
|
-
return
|
|
321
|
+
function _1(s) {
|
|
322
|
+
return s.displayName || "Context";
|
|
324
323
|
}
|
|
325
|
-
function
|
|
326
|
-
if (
|
|
324
|
+
function P(s) {
|
|
325
|
+
if (s == null)
|
|
327
326
|
return null;
|
|
328
|
-
if (typeof
|
|
329
|
-
return
|
|
330
|
-
if (typeof
|
|
331
|
-
return
|
|
332
|
-
switch (
|
|
327
|
+
if (typeof s.tag == "number" && g("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof s == "function")
|
|
328
|
+
return s.displayName || s.name || null;
|
|
329
|
+
if (typeof s == "string")
|
|
330
|
+
return s;
|
|
331
|
+
switch (s) {
|
|
333
332
|
case o:
|
|
334
333
|
return "Fragment";
|
|
335
|
-
case
|
|
334
|
+
case c:
|
|
336
335
|
return "Portal";
|
|
337
336
|
case i:
|
|
338
337
|
return "Profiler";
|
|
@@ -340,26 +339,26 @@ function b2() {
|
|
|
340
339
|
return "StrictMode";
|
|
341
340
|
case S:
|
|
342
341
|
return "Suspense";
|
|
343
|
-
case
|
|
342
|
+
case C:
|
|
344
343
|
return "SuspenseList";
|
|
345
344
|
}
|
|
346
|
-
if (typeof
|
|
347
|
-
switch (
|
|
348
|
-
case
|
|
349
|
-
var r =
|
|
350
|
-
return
|
|
345
|
+
if (typeof s == "object")
|
|
346
|
+
switch (s.$$typeof) {
|
|
347
|
+
case f:
|
|
348
|
+
var r = s;
|
|
349
|
+
return _1(r) + ".Consumer";
|
|
350
|
+
case d:
|
|
351
|
+
var a = s;
|
|
352
|
+
return _1(a._context) + ".Provider";
|
|
351
353
|
case u:
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
return
|
|
356
|
-
case C:
|
|
357
|
-
var d = c.displayName || null;
|
|
358
|
-
return d !== null ? d : F(c.type) || "Memo";
|
|
354
|
+
return f3(s, s.render, "ForwardRef");
|
|
355
|
+
case b:
|
|
356
|
+
var v = s.displayName || null;
|
|
357
|
+
return v !== null ? v : P(s.type) || "Memo";
|
|
359
358
|
case A: {
|
|
360
|
-
var M =
|
|
359
|
+
var M = s, j = M._payload, p = M._init;
|
|
361
360
|
try {
|
|
362
|
-
return
|
|
361
|
+
return P(p(j));
|
|
363
362
|
} catch {
|
|
364
363
|
return null;
|
|
365
364
|
}
|
|
@@ -367,372 +366,372 @@ function b2() {
|
|
|
367
366
|
}
|
|
368
367
|
return null;
|
|
369
368
|
}
|
|
370
|
-
var
|
|
371
|
-
function
|
|
369
|
+
var k = Object.assign, Q = 0, L1, $1, A1, B1, T1, D1, P1;
|
|
370
|
+
function O1() {
|
|
372
371
|
}
|
|
373
|
-
|
|
372
|
+
O1.__reactDisabledLog = !0;
|
|
374
373
|
function w3() {
|
|
375
374
|
{
|
|
376
|
-
if (
|
|
377
|
-
|
|
378
|
-
var
|
|
375
|
+
if (Q === 0) {
|
|
376
|
+
L1 = console.log, $1 = console.info, A1 = console.warn, B1 = console.error, T1 = console.group, D1 = console.groupCollapsed, P1 = console.groupEnd;
|
|
377
|
+
var s = {
|
|
379
378
|
configurable: !0,
|
|
380
379
|
enumerable: !0,
|
|
381
|
-
value:
|
|
380
|
+
value: O1,
|
|
382
381
|
writable: !0
|
|
383
382
|
};
|
|
384
383
|
Object.defineProperties(console, {
|
|
385
|
-
info:
|
|
386
|
-
log:
|
|
387
|
-
warn:
|
|
388
|
-
error:
|
|
389
|
-
group:
|
|
390
|
-
groupCollapsed:
|
|
391
|
-
groupEnd:
|
|
384
|
+
info: s,
|
|
385
|
+
log: s,
|
|
386
|
+
warn: s,
|
|
387
|
+
error: s,
|
|
388
|
+
group: s,
|
|
389
|
+
groupCollapsed: s,
|
|
390
|
+
groupEnd: s
|
|
392
391
|
});
|
|
393
392
|
}
|
|
394
|
-
|
|
393
|
+
Q++;
|
|
395
394
|
}
|
|
396
395
|
}
|
|
397
396
|
function p3() {
|
|
398
397
|
{
|
|
399
|
-
if (
|
|
400
|
-
var
|
|
398
|
+
if (Q--, Q === 0) {
|
|
399
|
+
var s = {
|
|
401
400
|
configurable: !0,
|
|
402
401
|
enumerable: !0,
|
|
403
402
|
writable: !0
|
|
404
403
|
};
|
|
405
404
|
Object.defineProperties(console, {
|
|
406
|
-
log:
|
|
405
|
+
log: k({}, s, {
|
|
406
|
+
value: L1
|
|
407
|
+
}),
|
|
408
|
+
info: k({}, s, {
|
|
409
|
+
value: $1
|
|
410
|
+
}),
|
|
411
|
+
warn: k({}, s, {
|
|
407
412
|
value: A1
|
|
408
413
|
}),
|
|
409
|
-
|
|
414
|
+
error: k({}, s, {
|
|
410
415
|
value: B1
|
|
411
416
|
}),
|
|
412
|
-
|
|
417
|
+
group: k({}, s, {
|
|
413
418
|
value: T1
|
|
414
419
|
}),
|
|
415
|
-
|
|
420
|
+
groupCollapsed: k({}, s, {
|
|
416
421
|
value: D1
|
|
417
422
|
}),
|
|
418
|
-
|
|
423
|
+
groupEnd: k({}, s, {
|
|
419
424
|
value: P1
|
|
420
|
-
}),
|
|
421
|
-
groupCollapsed: K({}, c, {
|
|
422
|
-
value: O1
|
|
423
|
-
}),
|
|
424
|
-
groupEnd: K({}, c, {
|
|
425
|
-
value: V1
|
|
426
425
|
})
|
|
427
426
|
});
|
|
428
427
|
}
|
|
429
|
-
|
|
428
|
+
Q < 0 && g("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
430
429
|
}
|
|
431
430
|
}
|
|
432
|
-
var
|
|
433
|
-
function
|
|
431
|
+
var g1 = m.ReactCurrentDispatcher, f1;
|
|
432
|
+
function r1(s, r, a) {
|
|
434
433
|
{
|
|
435
|
-
if (
|
|
434
|
+
if (f1 === void 0)
|
|
436
435
|
try {
|
|
437
436
|
throw Error();
|
|
438
437
|
} catch (M) {
|
|
439
|
-
var
|
|
440
|
-
|
|
438
|
+
var v = M.stack.trim().match(/\n( *(at )?)/);
|
|
439
|
+
f1 = v && v[1] || "";
|
|
441
440
|
}
|
|
442
441
|
return `
|
|
443
|
-
` +
|
|
442
|
+
` + f1 + s;
|
|
444
443
|
}
|
|
445
444
|
}
|
|
446
|
-
var
|
|
445
|
+
var w1 = !1, l1;
|
|
447
446
|
{
|
|
448
447
|
var x3 = typeof WeakMap == "function" ? WeakMap : Map;
|
|
449
|
-
|
|
448
|
+
l1 = new x3();
|
|
450
449
|
}
|
|
451
|
-
function
|
|
452
|
-
if (!
|
|
450
|
+
function V1(s, r) {
|
|
451
|
+
if (!s || w1)
|
|
453
452
|
return "";
|
|
454
453
|
{
|
|
455
|
-
var a =
|
|
454
|
+
var a = l1.get(s);
|
|
456
455
|
if (a !== void 0)
|
|
457
456
|
return a;
|
|
458
457
|
}
|
|
459
|
-
var
|
|
460
|
-
|
|
458
|
+
var v;
|
|
459
|
+
w1 = !0;
|
|
461
460
|
var M = Error.prepareStackTrace;
|
|
462
461
|
Error.prepareStackTrace = void 0;
|
|
463
|
-
var
|
|
464
|
-
|
|
462
|
+
var j;
|
|
463
|
+
j = g1.current, g1.current = null, w3();
|
|
465
464
|
try {
|
|
466
465
|
if (r) {
|
|
467
|
-
var
|
|
466
|
+
var p = function() {
|
|
468
467
|
throw Error();
|
|
469
468
|
};
|
|
470
|
-
if (Object.defineProperty(
|
|
469
|
+
if (Object.defineProperty(p.prototype, "props", {
|
|
471
470
|
set: function() {
|
|
472
471
|
throw Error();
|
|
473
472
|
}
|
|
474
473
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
475
474
|
try {
|
|
476
|
-
Reflect.construct(
|
|
477
|
-
} catch (
|
|
478
|
-
|
|
475
|
+
Reflect.construct(p, []);
|
|
476
|
+
} catch (B) {
|
|
477
|
+
v = B;
|
|
479
478
|
}
|
|
480
|
-
Reflect.construct(
|
|
479
|
+
Reflect.construct(s, [], p);
|
|
481
480
|
} else {
|
|
482
481
|
try {
|
|
483
|
-
|
|
484
|
-
} catch (
|
|
485
|
-
|
|
482
|
+
p.call();
|
|
483
|
+
} catch (B) {
|
|
484
|
+
v = B;
|
|
486
485
|
}
|
|
487
|
-
|
|
486
|
+
s.call(p.prototype);
|
|
488
487
|
}
|
|
489
488
|
} else {
|
|
490
489
|
try {
|
|
491
490
|
throw Error();
|
|
492
|
-
} catch (
|
|
493
|
-
|
|
491
|
+
} catch (B) {
|
|
492
|
+
v = B;
|
|
494
493
|
}
|
|
495
|
-
|
|
496
|
-
}
|
|
497
|
-
} catch (
|
|
498
|
-
if (
|
|
499
|
-
for (var
|
|
500
|
-
`),
|
|
501
|
-
`),
|
|
502
|
-
|
|
503
|
-
for (;
|
|
504
|
-
if (
|
|
505
|
-
if (
|
|
494
|
+
s();
|
|
495
|
+
}
|
|
496
|
+
} catch (B) {
|
|
497
|
+
if (B && v && typeof B.stack == "string") {
|
|
498
|
+
for (var w = B.stack.split(`
|
|
499
|
+
`), $ = v.stack.split(`
|
|
500
|
+
`), I = w.length - 1, R = $.length - 1; I >= 1 && R >= 0 && w[I] !== $[R]; )
|
|
501
|
+
R--;
|
|
502
|
+
for (; I >= 1 && R >= 0; I--, R--)
|
|
503
|
+
if (w[I] !== $[R]) {
|
|
504
|
+
if (I !== 1 || R !== 1)
|
|
506
505
|
do
|
|
507
|
-
if (
|
|
508
|
-
var
|
|
509
|
-
` +
|
|
510
|
-
return
|
|
506
|
+
if (I--, R--, R < 0 || w[I] !== $[R]) {
|
|
507
|
+
var D = `
|
|
508
|
+
` + w[I].replace(" at new ", " at ");
|
|
509
|
+
return s.displayName && D.includes("<anonymous>") && (D = D.replace("<anonymous>", s.displayName)), typeof s == "function" && l1.set(s, D), D;
|
|
511
510
|
}
|
|
512
|
-
while (
|
|
511
|
+
while (I >= 1 && R >= 0);
|
|
513
512
|
break;
|
|
514
513
|
}
|
|
515
514
|
}
|
|
516
515
|
} finally {
|
|
517
|
-
|
|
516
|
+
w1 = !1, g1.current = j, p3(), Error.prepareStackTrace = M;
|
|
518
517
|
}
|
|
519
|
-
var
|
|
520
|
-
return typeof
|
|
518
|
+
var H = s ? s.displayName || s.name : "", U = H ? r1(H) : "";
|
|
519
|
+
return typeof s == "function" && l1.set(s, U), U;
|
|
521
520
|
}
|
|
522
|
-
function M3(
|
|
523
|
-
return
|
|
521
|
+
function M3(s, r, a) {
|
|
522
|
+
return V1(s, !1);
|
|
524
523
|
}
|
|
525
|
-
function m3(
|
|
526
|
-
var r =
|
|
524
|
+
function m3(s) {
|
|
525
|
+
var r = s.prototype;
|
|
527
526
|
return !!(r && r.isReactComponent);
|
|
528
527
|
}
|
|
529
|
-
function
|
|
530
|
-
if (
|
|
528
|
+
function i1(s, r, a) {
|
|
529
|
+
if (s == null)
|
|
531
530
|
return "";
|
|
532
|
-
if (typeof
|
|
533
|
-
return
|
|
534
|
-
if (typeof
|
|
535
|
-
return
|
|
536
|
-
switch (
|
|
531
|
+
if (typeof s == "function")
|
|
532
|
+
return V1(s, m3(s));
|
|
533
|
+
if (typeof s == "string")
|
|
534
|
+
return r1(s);
|
|
535
|
+
switch (s) {
|
|
537
536
|
case S:
|
|
538
|
-
return
|
|
539
|
-
case
|
|
540
|
-
return
|
|
537
|
+
return r1("Suspense");
|
|
538
|
+
case C:
|
|
539
|
+
return r1("SuspenseList");
|
|
541
540
|
}
|
|
542
|
-
if (typeof
|
|
543
|
-
switch (
|
|
544
|
-
case
|
|
545
|
-
return M3(
|
|
546
|
-
case
|
|
547
|
-
return
|
|
541
|
+
if (typeof s == "object")
|
|
542
|
+
switch (s.$$typeof) {
|
|
543
|
+
case u:
|
|
544
|
+
return M3(s.render);
|
|
545
|
+
case b:
|
|
546
|
+
return i1(s.type, r, a);
|
|
548
547
|
case A: {
|
|
549
|
-
var
|
|
548
|
+
var v = s, M = v._payload, j = v._init;
|
|
550
549
|
try {
|
|
551
|
-
return
|
|
550
|
+
return i1(j(M), r, a);
|
|
552
551
|
} catch {
|
|
553
552
|
}
|
|
554
553
|
}
|
|
555
554
|
}
|
|
556
555
|
return "";
|
|
557
556
|
}
|
|
558
|
-
var
|
|
559
|
-
function
|
|
560
|
-
if (
|
|
561
|
-
var r =
|
|
562
|
-
|
|
557
|
+
var N = Object.prototype.hasOwnProperty, F1 = {}, k1 = m.ReactDebugCurrentFrame;
|
|
558
|
+
function a1(s) {
|
|
559
|
+
if (s) {
|
|
560
|
+
var r = s._owner, a = i1(s.type, s._source, r ? r.type : null);
|
|
561
|
+
k1.setExtraStackFrame(a);
|
|
563
562
|
} else
|
|
564
|
-
|
|
563
|
+
k1.setExtraStackFrame(null);
|
|
565
564
|
}
|
|
566
|
-
function Z3(
|
|
565
|
+
function Z3(s, r, a, v, M) {
|
|
567
566
|
{
|
|
568
|
-
var
|
|
569
|
-
for (var
|
|
570
|
-
if (
|
|
571
|
-
var
|
|
567
|
+
var j = Function.call.bind(N);
|
|
568
|
+
for (var p in s)
|
|
569
|
+
if (j(s, p)) {
|
|
570
|
+
var w = void 0;
|
|
572
571
|
try {
|
|
573
|
-
if (typeof
|
|
574
|
-
var
|
|
575
|
-
throw
|
|
572
|
+
if (typeof s[p] != "function") {
|
|
573
|
+
var $ = Error((v || "React class") + ": " + a + " type `" + p + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof s[p] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
574
|
+
throw $.name = "Invariant Violation", $;
|
|
576
575
|
}
|
|
577
|
-
|
|
578
|
-
} catch (
|
|
579
|
-
|
|
576
|
+
w = s[p](r, p, v, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
577
|
+
} catch (I) {
|
|
578
|
+
w = I;
|
|
580
579
|
}
|
|
581
|
-
|
|
580
|
+
w && !(w instanceof Error) && (a1(M), g("%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).", v || "React class", a, p, typeof w), a1(null)), w instanceof Error && !(w.message in F1) && (F1[w.message] = !0, a1(M), g("Failed %s type: %s", a, w.message), a1(null));
|
|
582
581
|
}
|
|
583
582
|
}
|
|
584
583
|
}
|
|
585
584
|
var j3 = Array.isArray;
|
|
586
|
-
function
|
|
587
|
-
return j3(
|
|
585
|
+
function p1(s) {
|
|
586
|
+
return j3(s);
|
|
588
587
|
}
|
|
589
|
-
function C3(
|
|
588
|
+
function C3(s) {
|
|
590
589
|
{
|
|
591
|
-
var r = typeof Symbol == "function" && Symbol.toStringTag, a = r &&
|
|
590
|
+
var r = typeof Symbol == "function" && Symbol.toStringTag, a = r && s[Symbol.toStringTag] || s.constructor.name || "Object";
|
|
592
591
|
return a;
|
|
593
592
|
}
|
|
594
593
|
}
|
|
595
|
-
function S3(
|
|
594
|
+
function S3(s) {
|
|
596
595
|
try {
|
|
597
|
-
return
|
|
596
|
+
return U1(s), !1;
|
|
598
597
|
} catch {
|
|
599
598
|
return !0;
|
|
600
599
|
}
|
|
601
600
|
}
|
|
602
|
-
function
|
|
603
|
-
return "" +
|
|
601
|
+
function U1(s) {
|
|
602
|
+
return "" + s;
|
|
604
603
|
}
|
|
605
|
-
function
|
|
606
|
-
if (S3(
|
|
607
|
-
return
|
|
604
|
+
function W1(s) {
|
|
605
|
+
if (S3(s))
|
|
606
|
+
return g("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", C3(s)), U1(s);
|
|
608
607
|
}
|
|
609
|
-
var
|
|
608
|
+
var e1 = m.ReactCurrentOwner, b3 = {
|
|
610
609
|
key: !0,
|
|
611
610
|
ref: !0,
|
|
612
611
|
__self: !0,
|
|
613
612
|
__source: !0
|
|
614
|
-
},
|
|
615
|
-
|
|
616
|
-
function I3(
|
|
617
|
-
if (
|
|
618
|
-
var r = Object.getOwnPropertyDescriptor(
|
|
613
|
+
}, H1, K1, x1;
|
|
614
|
+
x1 = {};
|
|
615
|
+
function I3(s) {
|
|
616
|
+
if (N.call(s, "ref")) {
|
|
617
|
+
var r = Object.getOwnPropertyDescriptor(s, "ref").get;
|
|
619
618
|
if (r && r.isReactWarning)
|
|
620
619
|
return !1;
|
|
621
620
|
}
|
|
622
|
-
return
|
|
621
|
+
return s.ref !== void 0;
|
|
623
622
|
}
|
|
624
|
-
function y3(
|
|
625
|
-
if (
|
|
626
|
-
var r = Object.getOwnPropertyDescriptor(
|
|
623
|
+
function y3(s) {
|
|
624
|
+
if (N.call(s, "key")) {
|
|
625
|
+
var r = Object.getOwnPropertyDescriptor(s, "key").get;
|
|
627
626
|
if (r && r.isReactWarning)
|
|
628
627
|
return !1;
|
|
629
628
|
}
|
|
630
|
-
return
|
|
629
|
+
return s.key !== void 0;
|
|
631
630
|
}
|
|
632
|
-
function R3(
|
|
633
|
-
if (typeof
|
|
634
|
-
var a =
|
|
635
|
-
|
|
631
|
+
function R3(s, r) {
|
|
632
|
+
if (typeof s.ref == "string" && e1.current && r && e1.current.stateNode !== r) {
|
|
633
|
+
var a = P(e1.current.type);
|
|
634
|
+
x1[a] || (g('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', P(e1.current.type), s.ref), x1[a] = !0);
|
|
636
635
|
}
|
|
637
636
|
}
|
|
638
|
-
function E3(
|
|
637
|
+
function E3(s, r) {
|
|
639
638
|
{
|
|
640
639
|
var a = function() {
|
|
641
|
-
|
|
640
|
+
H1 || (H1 = !0, g("%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)", r));
|
|
642
641
|
};
|
|
643
|
-
a.isReactWarning = !0, Object.defineProperty(
|
|
642
|
+
a.isReactWarning = !0, Object.defineProperty(s, "key", {
|
|
644
643
|
get: a,
|
|
645
644
|
configurable: !0
|
|
646
645
|
});
|
|
647
646
|
}
|
|
648
647
|
}
|
|
649
|
-
function _3(
|
|
648
|
+
function _3(s, r) {
|
|
650
649
|
{
|
|
651
650
|
var a = function() {
|
|
652
|
-
|
|
651
|
+
K1 || (K1 = !0, g("%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)", r));
|
|
653
652
|
};
|
|
654
|
-
a.isReactWarning = !0, Object.defineProperty(
|
|
653
|
+
a.isReactWarning = !0, Object.defineProperty(s, "ref", {
|
|
655
654
|
get: a,
|
|
656
655
|
configurable: !0
|
|
657
656
|
});
|
|
658
657
|
}
|
|
659
658
|
}
|
|
660
|
-
var L3 = function(
|
|
661
|
-
var
|
|
659
|
+
var L3 = function(s, r, a, v, M, j, p) {
|
|
660
|
+
var w = {
|
|
662
661
|
// This tag allows us to uniquely identify this as a React Element
|
|
663
662
|
$$typeof: e,
|
|
664
663
|
// Built-in properties that belong on the element
|
|
665
|
-
type:
|
|
664
|
+
type: s,
|
|
666
665
|
key: r,
|
|
667
666
|
ref: a,
|
|
668
|
-
props:
|
|
667
|
+
props: p,
|
|
669
668
|
// Record the component responsible for creating this element.
|
|
670
|
-
_owner:
|
|
669
|
+
_owner: j
|
|
671
670
|
};
|
|
672
|
-
return
|
|
671
|
+
return w._store = {}, Object.defineProperty(w._store, "validated", {
|
|
673
672
|
configurable: !1,
|
|
674
673
|
enumerable: !1,
|
|
675
674
|
writable: !0,
|
|
676
675
|
value: !1
|
|
677
|
-
}), Object.defineProperty(
|
|
676
|
+
}), Object.defineProperty(w, "_self", {
|
|
678
677
|
configurable: !1,
|
|
679
678
|
enumerable: !1,
|
|
680
679
|
writable: !1,
|
|
681
|
-
value:
|
|
682
|
-
}), Object.defineProperty(
|
|
680
|
+
value: v
|
|
681
|
+
}), Object.defineProperty(w, "_source", {
|
|
683
682
|
configurable: !1,
|
|
684
683
|
enumerable: !1,
|
|
685
684
|
writable: !1,
|
|
686
685
|
value: M
|
|
687
|
-
}), Object.freeze && (Object.freeze(
|
|
686
|
+
}), Object.freeze && (Object.freeze(w.props), Object.freeze(w)), w;
|
|
688
687
|
};
|
|
689
|
-
function $3(
|
|
688
|
+
function $3(s, r, a, v, M) {
|
|
690
689
|
{
|
|
691
|
-
var
|
|
692
|
-
a !== void 0 && (
|
|
693
|
-
for (
|
|
694
|
-
|
|
695
|
-
if (
|
|
696
|
-
var
|
|
697
|
-
for (
|
|
698
|
-
|
|
699
|
-
}
|
|
700
|
-
if (
|
|
701
|
-
var
|
|
702
|
-
|
|
703
|
-
}
|
|
704
|
-
return L3(
|
|
690
|
+
var j, p = {}, w = null, $ = null;
|
|
691
|
+
a !== void 0 && (W1(a), w = "" + a), y3(r) && (W1(r.key), w = "" + r.key), I3(r) && ($ = r.ref, R3(r, M));
|
|
692
|
+
for (j in r)
|
|
693
|
+
N.call(r, j) && !b3.hasOwnProperty(j) && (p[j] = r[j]);
|
|
694
|
+
if (s && s.defaultProps) {
|
|
695
|
+
var I = s.defaultProps;
|
|
696
|
+
for (j in I)
|
|
697
|
+
p[j] === void 0 && (p[j] = I[j]);
|
|
698
|
+
}
|
|
699
|
+
if (w || $) {
|
|
700
|
+
var R = typeof s == "function" ? s.displayName || s.name || "Unknown" : s;
|
|
701
|
+
w && E3(p, R), $ && _3(p, R);
|
|
702
|
+
}
|
|
703
|
+
return L3(s, w, $, M, v, e1.current, p);
|
|
705
704
|
}
|
|
706
705
|
}
|
|
707
|
-
var
|
|
708
|
-
function
|
|
709
|
-
if (
|
|
710
|
-
var r =
|
|
711
|
-
|
|
706
|
+
var M1 = m.ReactCurrentOwner, G1 = m.ReactDebugCurrentFrame;
|
|
707
|
+
function W(s) {
|
|
708
|
+
if (s) {
|
|
709
|
+
var r = s._owner, a = i1(s.type, s._source, r ? r.type : null);
|
|
710
|
+
G1.setExtraStackFrame(a);
|
|
712
711
|
} else
|
|
713
|
-
|
|
712
|
+
G1.setExtraStackFrame(null);
|
|
714
713
|
}
|
|
715
|
-
var
|
|
716
|
-
|
|
717
|
-
function
|
|
718
|
-
return typeof
|
|
714
|
+
var m1;
|
|
715
|
+
m1 = !1;
|
|
716
|
+
function Z1(s) {
|
|
717
|
+
return typeof s == "object" && s !== null && s.$$typeof === e;
|
|
719
718
|
}
|
|
720
|
-
function
|
|
719
|
+
function q1() {
|
|
721
720
|
{
|
|
722
|
-
if (
|
|
723
|
-
var
|
|
724
|
-
if (
|
|
721
|
+
if (M1.current) {
|
|
722
|
+
var s = P(M1.current.type);
|
|
723
|
+
if (s)
|
|
725
724
|
return `
|
|
726
725
|
|
|
727
|
-
Check the render method of \`` +
|
|
726
|
+
Check the render method of \`` + s + "`.";
|
|
728
727
|
}
|
|
729
728
|
return "";
|
|
730
729
|
}
|
|
731
730
|
}
|
|
732
|
-
function A3(
|
|
731
|
+
function A3(s) {
|
|
733
732
|
{
|
|
734
|
-
if (
|
|
735
|
-
var r =
|
|
733
|
+
if (s !== void 0) {
|
|
734
|
+
var r = s.fileName.replace(/^.*[\\\/]/, ""), a = s.lineNumber;
|
|
736
735
|
return `
|
|
737
736
|
|
|
738
737
|
Check your code at ` + r + ":" + a + ".";
|
|
@@ -740,12 +739,12 @@ Check your code at ` + r + ":" + a + ".";
|
|
|
740
739
|
return "";
|
|
741
740
|
}
|
|
742
741
|
}
|
|
743
|
-
var
|
|
744
|
-
function B3(
|
|
742
|
+
var Y1 = {};
|
|
743
|
+
function B3(s) {
|
|
745
744
|
{
|
|
746
|
-
var r =
|
|
745
|
+
var r = q1();
|
|
747
746
|
if (!r) {
|
|
748
|
-
var a = typeof
|
|
747
|
+
var a = typeof s == "string" ? s : s.displayName || s.name;
|
|
749
748
|
a && (r = `
|
|
750
749
|
|
|
751
750
|
Check the top-level render call using <` + a + ">.");
|
|
@@ -753,131 +752,131 @@ Check the top-level render call using <` + a + ">.");
|
|
|
753
752
|
return r;
|
|
754
753
|
}
|
|
755
754
|
}
|
|
756
|
-
function
|
|
755
|
+
function J1(s, r) {
|
|
757
756
|
{
|
|
758
|
-
if (!
|
|
757
|
+
if (!s._store || s._store.validated || s.key != null)
|
|
759
758
|
return;
|
|
760
|
-
|
|
759
|
+
s._store.validated = !0;
|
|
761
760
|
var a = B3(r);
|
|
762
|
-
if (
|
|
761
|
+
if (Y1[a])
|
|
763
762
|
return;
|
|
764
|
-
|
|
765
|
-
var
|
|
766
|
-
|
|
763
|
+
Y1[a] = !0;
|
|
764
|
+
var v = "";
|
|
765
|
+
s && s._owner && s._owner !== M1.current && (v = " It was passed a child from " + P(s._owner.type) + "."), W(s), g('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', a, v), W(null);
|
|
767
766
|
}
|
|
768
767
|
}
|
|
769
|
-
function
|
|
768
|
+
function z1(s, r) {
|
|
770
769
|
{
|
|
771
|
-
if (typeof
|
|
770
|
+
if (typeof s != "object")
|
|
772
771
|
return;
|
|
773
|
-
if (
|
|
774
|
-
for (var a = 0; a <
|
|
775
|
-
var
|
|
776
|
-
|
|
772
|
+
if (p1(s))
|
|
773
|
+
for (var a = 0; a < s.length; a++) {
|
|
774
|
+
var v = s[a];
|
|
775
|
+
Z1(v) && J1(v, r);
|
|
777
776
|
}
|
|
778
|
-
else if (
|
|
779
|
-
|
|
780
|
-
else if (
|
|
781
|
-
var M =
|
|
782
|
-
if (typeof M == "function" && M !==
|
|
783
|
-
for (var
|
|
784
|
-
|
|
777
|
+
else if (Z1(s))
|
|
778
|
+
s._store && (s._store.validated = !0);
|
|
779
|
+
else if (s) {
|
|
780
|
+
var M = J(s);
|
|
781
|
+
if (typeof M == "function" && M !== s.entries)
|
|
782
|
+
for (var j = M.call(s), p; !(p = j.next()).done; )
|
|
783
|
+
Z1(p.value) && J1(p.value, r);
|
|
785
784
|
}
|
|
786
785
|
}
|
|
787
786
|
}
|
|
788
|
-
function T3(
|
|
787
|
+
function T3(s) {
|
|
789
788
|
{
|
|
790
|
-
var r =
|
|
789
|
+
var r = s.type;
|
|
791
790
|
if (r == null || typeof r == "string")
|
|
792
791
|
return;
|
|
793
792
|
var a;
|
|
794
793
|
if (typeof r == "function")
|
|
795
794
|
a = r.propTypes;
|
|
796
|
-
else if (typeof r == "object" && (r.$$typeof ===
|
|
795
|
+
else if (typeof r == "object" && (r.$$typeof === u || // Note: Memo only checks outer props here.
|
|
797
796
|
// Inner props are checked in the reconciler.
|
|
798
|
-
r.$$typeof ===
|
|
797
|
+
r.$$typeof === b))
|
|
799
798
|
a = r.propTypes;
|
|
800
799
|
else
|
|
801
800
|
return;
|
|
802
801
|
if (a) {
|
|
803
|
-
var
|
|
804
|
-
Z3(a,
|
|
805
|
-
} else if (r.PropTypes !== void 0 && !
|
|
806
|
-
|
|
807
|
-
var M =
|
|
808
|
-
|
|
809
|
-
}
|
|
810
|
-
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved &&
|
|
802
|
+
var v = P(r);
|
|
803
|
+
Z3(a, s.props, "prop", v, s);
|
|
804
|
+
} else if (r.PropTypes !== void 0 && !m1) {
|
|
805
|
+
m1 = !0;
|
|
806
|
+
var M = P(r);
|
|
807
|
+
g("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", M || "Unknown");
|
|
808
|
+
}
|
|
809
|
+
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && g("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
811
810
|
}
|
|
812
811
|
}
|
|
813
|
-
function D3(
|
|
812
|
+
function D3(s) {
|
|
814
813
|
{
|
|
815
|
-
for (var r = Object.keys(
|
|
816
|
-
var
|
|
817
|
-
if (
|
|
818
|
-
|
|
814
|
+
for (var r = Object.keys(s.props), a = 0; a < r.length; a++) {
|
|
815
|
+
var v = r[a];
|
|
816
|
+
if (v !== "children" && v !== "key") {
|
|
817
|
+
W(s), g("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", v), W(null);
|
|
819
818
|
break;
|
|
820
819
|
}
|
|
821
820
|
}
|
|
822
|
-
|
|
821
|
+
s.ref !== null && (W(s), g("Invalid attribute `ref` supplied to `React.Fragment`."), W(null));
|
|
823
822
|
}
|
|
824
823
|
}
|
|
825
|
-
var
|
|
826
|
-
function
|
|
824
|
+
var X1 = {};
|
|
825
|
+
function Q1(s, r, a, v, M, j) {
|
|
827
826
|
{
|
|
828
|
-
var
|
|
829
|
-
if (!
|
|
830
|
-
var
|
|
831
|
-
(
|
|
832
|
-
var
|
|
833
|
-
|
|
834
|
-
var
|
|
835
|
-
|
|
836
|
-
}
|
|
837
|
-
var
|
|
838
|
-
if (
|
|
839
|
-
return
|
|
840
|
-
if (
|
|
841
|
-
var
|
|
842
|
-
if (
|
|
843
|
-
if (
|
|
844
|
-
if (
|
|
845
|
-
for (var
|
|
846
|
-
|
|
847
|
-
Object.freeze && Object.freeze(
|
|
827
|
+
var p = g3(s);
|
|
828
|
+
if (!p) {
|
|
829
|
+
var w = "";
|
|
830
|
+
(s === void 0 || typeof s == "object" && s !== null && Object.keys(s).length === 0) && (w += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
831
|
+
var $ = A3(M);
|
|
832
|
+
$ ? w += $ : w += q1();
|
|
833
|
+
var I;
|
|
834
|
+
s === null ? I = "null" : p1(s) ? I = "array" : s !== void 0 && s.$$typeof === e ? (I = "<" + (P(s.type) || "Unknown") + " />", w = " Did you accidentally export a JSX literal instead of a component?") : I = typeof s, g("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", I, w);
|
|
835
|
+
}
|
|
836
|
+
var R = $3(s, r, a, M, j);
|
|
837
|
+
if (R == null)
|
|
838
|
+
return R;
|
|
839
|
+
if (p) {
|
|
840
|
+
var D = r.children;
|
|
841
|
+
if (D !== void 0)
|
|
842
|
+
if (v)
|
|
843
|
+
if (p1(D)) {
|
|
844
|
+
for (var H = 0; H < D.length; H++)
|
|
845
|
+
z1(D[H], s);
|
|
846
|
+
Object.freeze && Object.freeze(D);
|
|
848
847
|
} else
|
|
849
|
-
|
|
848
|
+
g("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
850
849
|
else
|
|
851
|
-
|
|
850
|
+
z1(D, s);
|
|
852
851
|
}
|
|
853
|
-
if (
|
|
854
|
-
var
|
|
852
|
+
if (N.call(r, "key")) {
|
|
853
|
+
var U = P(s), B = Object.keys(r).filter(function(U3) {
|
|
855
854
|
return U3 !== "key";
|
|
856
|
-
}),
|
|
857
|
-
if (!
|
|
858
|
-
var k3 =
|
|
859
|
-
|
|
855
|
+
}), j1 = B.length > 0 ? "{key: someKey, " + B.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
856
|
+
if (!X1[U + j1]) {
|
|
857
|
+
var k3 = B.length > 0 ? "{" + B.join(": ..., ") + ": ...}" : "{}";
|
|
858
|
+
g(`A props object containing a "key" prop is being spread into JSX:
|
|
860
859
|
let props = %s;
|
|
861
860
|
<%s {...props} />
|
|
862
861
|
React keys must be passed directly to JSX without using spread:
|
|
863
862
|
let props = %s;
|
|
864
|
-
<%s key={someKey} {...props} />`,
|
|
863
|
+
<%s key={someKey} {...props} />`, j1, U, k3, U), X1[U + j1] = !0;
|
|
865
864
|
}
|
|
866
865
|
}
|
|
867
|
-
return
|
|
866
|
+
return s === o ? D3(R) : T3(R), R;
|
|
868
867
|
}
|
|
869
868
|
}
|
|
870
|
-
function P3(
|
|
871
|
-
return
|
|
869
|
+
function P3(s, r, a) {
|
|
870
|
+
return Q1(s, r, a, !0);
|
|
872
871
|
}
|
|
873
|
-
function O3(
|
|
874
|
-
return
|
|
872
|
+
function O3(s, r, a) {
|
|
873
|
+
return Q1(s, r, a, !1);
|
|
875
874
|
}
|
|
876
875
|
var V3 = O3, F3 = P3;
|
|
877
|
-
|
|
878
|
-
}()),
|
|
876
|
+
t1.Fragment = o, t1.jsx = V3, t1.jsxs = F3;
|
|
877
|
+
}()), t1;
|
|
879
878
|
}
|
|
880
|
-
var
|
|
879
|
+
var n1 = {};
|
|
881
880
|
/**
|
|
882
881
|
* @license React
|
|
883
882
|
* react-jsx-runtime.production.min.js
|
|
@@ -887,212 +886,209 @@ var o1 = {};
|
|
|
887
886
|
* This source code is licensed under the MIT license found in the
|
|
888
887
|
* LICENSE file in the root directory of this source tree.
|
|
889
888
|
*/
|
|
890
|
-
var
|
|
891
|
-
function
|
|
892
|
-
if (
|
|
893
|
-
return
|
|
894
|
-
|
|
895
|
-
var t =
|
|
896
|
-
function
|
|
897
|
-
var
|
|
898
|
-
S !== void 0 && (A = "" + S),
|
|
899
|
-
for (
|
|
900
|
-
o.call(
|
|
901
|
-
if (
|
|
902
|
-
for (
|
|
903
|
-
C
|
|
904
|
-
return { $$typeof: e, type:
|
|
905
|
-
}
|
|
906
|
-
return
|
|
889
|
+
var e3;
|
|
890
|
+
function C2() {
|
|
891
|
+
if (e3)
|
|
892
|
+
return n1;
|
|
893
|
+
e3 = 1;
|
|
894
|
+
var t = s3, e = Symbol.for("react.element"), c = Symbol.for("react.fragment"), o = Object.prototype.hasOwnProperty, l = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
895
|
+
function d(f, u, S) {
|
|
896
|
+
var C, b = {}, A = null, T = null;
|
|
897
|
+
S !== void 0 && (A = "" + S), u.key !== void 0 && (A = "" + u.key), u.ref !== void 0 && (T = u.ref);
|
|
898
|
+
for (C in u)
|
|
899
|
+
o.call(u, C) && !i.hasOwnProperty(C) && (b[C] = u[C]);
|
|
900
|
+
if (f && f.defaultProps)
|
|
901
|
+
for (C in u = f.defaultProps, u)
|
|
902
|
+
b[C] === void 0 && (b[C] = u[C]);
|
|
903
|
+
return { $$typeof: e, type: f, key: A, ref: T, props: b, _owner: l.current };
|
|
904
|
+
}
|
|
905
|
+
return n1.Fragment = c, n1.jsx = d, n1.jsxs = d, n1;
|
|
907
906
|
}
|
|
908
|
-
process.env.NODE_ENV === "production" ?
|
|
909
|
-
var n =
|
|
910
|
-
const
|
|
907
|
+
process.env.NODE_ENV === "production" ? I1.exports = C2() : I1.exports = j2();
|
|
908
|
+
var n = I1.exports;
|
|
909
|
+
const S2 = () => /* @__PURE__ */ n.jsx(n.Fragment, { children: /* @__PURE__ */ n.jsxs("div", { className: "disconnected-message", children: [
|
|
911
910
|
/* @__PURE__ */ n.jsx("h1", { children: "Disconnected" }),
|
|
912
911
|
/* @__PURE__ */ n.jsx("p", { children: "Reconnecting..." })
|
|
913
912
|
] }) });
|
|
914
|
-
class
|
|
913
|
+
class b2 {
|
|
915
914
|
constructor() {
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
915
|
+
_(this, "uuid", "current-uuid");
|
|
916
|
+
_(this, "roomKey", "current-room-key");
|
|
917
|
+
_(this, "code", "current-code");
|
|
918
|
+
_(this, "expiry", "current-uuid-expires");
|
|
920
919
|
}
|
|
921
920
|
}
|
|
922
|
-
const
|
|
921
|
+
const t3 = new b2(), d3 = X3({
|
|
923
922
|
sendMessage: () => null,
|
|
924
923
|
sendSimpleMessage: () => null,
|
|
925
924
|
addEventHandler: () => null,
|
|
926
925
|
removeEventHandler: () => null
|
|
927
926
|
});
|
|
928
|
-
function
|
|
927
|
+
function I2(t) {
|
|
929
928
|
return sessionStorage.getItem(t) || "";
|
|
930
929
|
}
|
|
931
|
-
function
|
|
930
|
+
function y2(t, e) {
|
|
932
931
|
sessionStorage.setItem(t, e);
|
|
933
932
|
}
|
|
934
|
-
const
|
|
935
|
-
const [e,
|
|
936
|
-
async (
|
|
937
|
-
await
|
|
938
|
-
|
|
939
|
-
}).catch((
|
|
940
|
-
console.log(
|
|
933
|
+
const R2 = ({ children: t }) => {
|
|
934
|
+
const [e, c] = q(), o = p2(), l = x2(), i = M2(), d = Z2(), f = g2(), u = s1(null), [S, C] = q(), b = s1({}), A = u1(
|
|
935
|
+
async (m) => {
|
|
936
|
+
await b1.get(`${m}/ui/joinroom?token=${e}`).then((g) => {
|
|
937
|
+
g.status === 200 && g.data && F.dispatch(K.setRoomData(g.data));
|
|
938
|
+
}).catch((g) => {
|
|
939
|
+
console.log(g), g.repsonse && g.response.status === 498 && console.error("Invalid token. Unable to join room");
|
|
941
940
|
});
|
|
942
941
|
},
|
|
943
942
|
[e]
|
|
944
|
-
),
|
|
945
|
-
(
|
|
946
|
-
|
|
943
|
+
), T = u1(
|
|
944
|
+
(m, g) => {
|
|
945
|
+
u.current && o && u.current.send(JSON.stringify({ type: m, clientId: i, content: g }));
|
|
947
946
|
},
|
|
948
947
|
[o, i]
|
|
949
|
-
),
|
|
950
|
-
(
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
), R = s1(
|
|
955
|
-
(E, m, k) => {
|
|
956
|
-
P.current[E] || (P.current[E] = {}), P.current[E][m] = k, console.log("event handler added", E, m);
|
|
948
|
+
), V = (m, g) => {
|
|
949
|
+
T(m, { value: g });
|
|
950
|
+
}, Y = u1(
|
|
951
|
+
(m, g, O) => {
|
|
952
|
+
b.current[m] || (b.current[m] = {}), b.current[m][g] = O, console.log("event handler added", m, g);
|
|
957
953
|
},
|
|
958
954
|
[]
|
|
959
|
-
),
|
|
960
|
-
(
|
|
961
|
-
|
|
955
|
+
), J = u1(
|
|
956
|
+
(m, g) => {
|
|
957
|
+
b.current[m] && (delete b.current[m][g], console.log("event handler removed", m, g));
|
|
962
958
|
},
|
|
963
959
|
[]
|
|
964
960
|
);
|
|
965
|
-
return
|
|
966
|
-
let
|
|
967
|
-
|
|
968
|
-
}, []),
|
|
969
|
-
if (!(!
|
|
970
|
-
if (
|
|
971
|
-
const
|
|
972
|
-
|
|
973
|
-
console.log("connected"),
|
|
974
|
-
},
|
|
975
|
-
console.log(
|
|
976
|
-
},
|
|
977
|
-
if (console.log(
|
|
961
|
+
return G(() => {
|
|
962
|
+
let g = new URLSearchParams(window.location.search).get("token");
|
|
963
|
+
g ? (console.log("saving token: ", g), y2(t3.uuid, g)) : (g = I2(t3.uuid), console.log("loading token: ", g)), c(g), d();
|
|
964
|
+
}, []), G(() => {
|
|
965
|
+
if (!(!f.apiPath || S || !e)) {
|
|
966
|
+
if (A(f.apiPath), !u.current) {
|
|
967
|
+
const g = `${f.apiPath.replace("http", "ws")}/ui/join/${e}`, O = new WebSocket(g);
|
|
968
|
+
u.current = O, O.onopen = () => {
|
|
969
|
+
console.log("connected"), F.dispatch(K.setWebsocketIsConnected(!0));
|
|
970
|
+
}, O.onerror = (z) => {
|
|
971
|
+
console.log(z);
|
|
972
|
+
}, O.onclose = () => {
|
|
973
|
+
if (console.log("disconnected"), u.current)
|
|
978
974
|
console.log("WebSocket closed by server.");
|
|
979
975
|
else {
|
|
980
976
|
console.log("WebSocket closed by client.");
|
|
981
977
|
return;
|
|
982
978
|
}
|
|
983
|
-
|
|
984
|
-
},
|
|
979
|
+
S || (F.dispatch(K.setWebsocketIsConnected(!1)), C(!0), setTimeout(() => C(void 0), 5e3));
|
|
980
|
+
}, O.onmessage = (z) => {
|
|
985
981
|
try {
|
|
986
|
-
const
|
|
987
|
-
if (console.log(
|
|
988
|
-
switch (
|
|
982
|
+
const E = JSON.parse(z.data);
|
|
983
|
+
if (console.log(E), E.type.startsWith("/system/"))
|
|
984
|
+
switch (E.type) {
|
|
989
985
|
case "/system/roomKey":
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
986
|
+
F.dispatch(
|
|
987
|
+
K.setCurrentRoomKey(
|
|
988
|
+
E.content
|
|
993
989
|
)
|
|
994
990
|
);
|
|
995
991
|
break;
|
|
996
992
|
case "/system/userCodeChanged":
|
|
997
|
-
|
|
998
|
-
|
|
993
|
+
F.dispatch(
|
|
994
|
+
K.setUserCode(E.content)
|
|
999
995
|
);
|
|
1000
996
|
break;
|
|
1001
997
|
}
|
|
1002
|
-
else if (
|
|
1003
|
-
console.log("event message received",
|
|
1004
|
-
const
|
|
1005
|
-
|
|
998
|
+
else if (E.type.startsWith("/event/")) {
|
|
999
|
+
console.log("event message received", E);
|
|
1000
|
+
const X = b.current[E.type];
|
|
1001
|
+
X || console.log("no handlers found for event type", E.type), X && Object.values(X).forEach((v1) => {
|
|
1006
1002
|
try {
|
|
1007
|
-
|
|
1008
|
-
} catch (
|
|
1009
|
-
console.error(
|
|
1003
|
+
v1(E);
|
|
1004
|
+
} catch (h1) {
|
|
1005
|
+
console.error(h1);
|
|
1010
1006
|
}
|
|
1011
1007
|
});
|
|
1012
1008
|
} else
|
|
1013
|
-
|
|
1014
|
-
} catch (
|
|
1015
|
-
console.log(
|
|
1009
|
+
E.type.startsWith("/room/") ? F.dispatch(l2.setRoomState(E)) : E.type.startsWith("/device/") && F.dispatch(s2.setDeviceState(E));
|
|
1010
|
+
} catch (E) {
|
|
1011
|
+
console.log(E);
|
|
1016
1012
|
}
|
|
1017
1013
|
};
|
|
1018
1014
|
}
|
|
1019
1015
|
return () => {
|
|
1020
|
-
|
|
1016
|
+
u.current && u.current.close(), u.current = null;
|
|
1021
1017
|
};
|
|
1022
1018
|
}
|
|
1023
|
-
}, [
|
|
1024
|
-
l &&
|
|
1025
|
-
}, [l]), /* @__PURE__ */ n.jsx(
|
|
1026
|
-
},
|
|
1027
|
-
function
|
|
1028
|
-
return Q3(
|
|
1019
|
+
}, [f.apiPath, A, e, S]), G(() => {
|
|
1020
|
+
l && T(`/room/${l}/status`, null);
|
|
1021
|
+
}, [l, T]), /* @__PURE__ */ n.jsx(d3.Provider, { value: { sendMessage: T, sendSimpleMessage: V, addEventHandler: Y, removeEventHandler: J }, children: o ? t : /* @__PURE__ */ n.jsx(S2, {}) });
|
|
1022
|
+
}, n6 = ({ children: t }) => /* @__PURE__ */ n.jsx(z3, { store: F, children: /* @__PURE__ */ n.jsx(R2, { children: t }) });
|
|
1023
|
+
function y() {
|
|
1024
|
+
return Q3(d3);
|
|
1029
1025
|
}
|
|
1030
|
-
function
|
|
1026
|
+
function E2({
|
|
1031
1027
|
onPress: t,
|
|
1032
1028
|
onRelease: e,
|
|
1033
|
-
onHold:
|
|
1029
|
+
onHold: c,
|
|
1034
1030
|
holdTimeMs: o = 500
|
|
1035
1031
|
}) {
|
|
1036
|
-
const l =
|
|
1037
|
-
function
|
|
1032
|
+
const l = s1(null), i = s1(!1);
|
|
1033
|
+
function d() {
|
|
1038
1034
|
i.current = !0, t == null || t(), l.current = setTimeout(() => {
|
|
1039
|
-
|
|
1035
|
+
c == null || c(), l.current = null;
|
|
1040
1036
|
}, o);
|
|
1041
1037
|
}
|
|
1042
|
-
function
|
|
1038
|
+
function f() {
|
|
1043
1039
|
i.current = !1, e == null || e(), l.current && (clearTimeout(l.current), l.current = null);
|
|
1044
1040
|
}
|
|
1045
|
-
function
|
|
1046
|
-
i.current &&
|
|
1041
|
+
function u() {
|
|
1042
|
+
i.current && f();
|
|
1047
1043
|
}
|
|
1048
1044
|
return {
|
|
1049
|
-
onPointerDown:
|
|
1050
|
-
onPointerUp:
|
|
1051
|
-
onPointerLeave:
|
|
1045
|
+
onPointerDown: d,
|
|
1046
|
+
onPointerUp: f,
|
|
1047
|
+
onPointerLeave: u
|
|
1052
1048
|
};
|
|
1053
1049
|
}
|
|
1054
|
-
function
|
|
1055
|
-
const { sendMessage: o } =
|
|
1050
|
+
function h(t, e) {
|
|
1051
|
+
const { sendMessage: o } = y(), l = s1(null);
|
|
1056
1052
|
function i() {
|
|
1057
1053
|
o(`${t}/${e}`, { value: "pressed" }), l.current || (l.current = setInterval(() => {
|
|
1058
1054
|
o(`${t}/${e}`, { value: "held" });
|
|
1059
1055
|
}, 250));
|
|
1060
1056
|
}
|
|
1061
|
-
function
|
|
1057
|
+
function d() {
|
|
1062
1058
|
l.current && (clearInterval(l.current), l.current = null), o(`${t}/${e}`, { value: "released" });
|
|
1063
1059
|
}
|
|
1064
|
-
return
|
|
1060
|
+
return E2({ onPress: i, onRelease: d });
|
|
1065
1061
|
}
|
|
1066
|
-
function
|
|
1067
|
-
const { sendMessage:
|
|
1062
|
+
function v3(t, e) {
|
|
1063
|
+
const { sendMessage: c, sendSimpleMessage: o } = y(), l = h(`${t}`, "volumeUp"), i = h(`${t}`, "volumeDown");
|
|
1068
1064
|
return e ? {
|
|
1069
1065
|
volumeState: e,
|
|
1070
1066
|
volumeUp: l,
|
|
1071
1067
|
volumeDown: i,
|
|
1072
|
-
setLevel: (
|
|
1073
|
-
muteToggle: () =>
|
|
1074
|
-
muteOn: () =>
|
|
1075
|
-
muteOff: () =>
|
|
1068
|
+
setLevel: (C) => o(`${t}/level`, C),
|
|
1069
|
+
muteToggle: () => c(`${t}/muteToggle`, null),
|
|
1070
|
+
muteOn: () => c(`${t}/muteOn`, null),
|
|
1071
|
+
muteOff: () => c(`${t}/muteOff`, null)
|
|
1076
1072
|
} : void 0;
|
|
1077
1073
|
}
|
|
1078
|
-
function
|
|
1079
|
-
const { sendMessage:
|
|
1074
|
+
function c6(t, e) {
|
|
1075
|
+
const { sendMessage: c, sendSimpleMessage: o } = y(), l = h(`${t}`, "volumeUp"), i = h(`${t}`, "volumeDown");
|
|
1080
1076
|
return e ? {
|
|
1081
1077
|
volumeState: e,
|
|
1082
1078
|
volumeUp: l,
|
|
1083
1079
|
volumeDown: i,
|
|
1084
|
-
setLevel: (
|
|
1085
|
-
muteToggle: () =>
|
|
1086
|
-
muteOn: () =>
|
|
1087
|
-
muteOff: () =>
|
|
1080
|
+
setLevel: (C) => o(`${t}/level`, C),
|
|
1081
|
+
muteToggle: () => c(`${t}/muteToggle`, null),
|
|
1082
|
+
muteOn: () => c(`${t}/muteOn`, null),
|
|
1083
|
+
muteOff: () => c(`${t}/muteOff`, null)
|
|
1088
1084
|
} : void 0;
|
|
1089
1085
|
}
|
|
1090
|
-
function
|
|
1091
|
-
const e =
|
|
1092
|
-
return
|
|
1086
|
+
function _2(t) {
|
|
1087
|
+
const e = L(t), c = `/device/${t}`;
|
|
1088
|
+
return v3(c, e == null ? void 0 : e.volume);
|
|
1093
1089
|
}
|
|
1094
|
-
function
|
|
1095
|
-
const { sendMessage: e } =
|
|
1090
|
+
function h3(t) {
|
|
1091
|
+
const { sendMessage: e } = y();
|
|
1096
1092
|
return { powerOn: () => {
|
|
1097
1093
|
e(`/device/${t}/powerOn`, null);
|
|
1098
1094
|
}, powerOff: () => {
|
|
@@ -1101,160 +1097,160 @@ function f3(t) {
|
|
|
1101
1097
|
e(`/device/${t}/powerToggle`, null);
|
|
1102
1098
|
} };
|
|
1103
1099
|
}
|
|
1104
|
-
function
|
|
1105
|
-
const { sendMessage: e } =
|
|
1106
|
-
return console.log("deviceState",
|
|
1100
|
+
function y1(t) {
|
|
1101
|
+
const { sendMessage: e } = y(), c = L(t);
|
|
1102
|
+
return console.log("deviceState", c), c ? { itemsState: c, selectItem: (l) => {
|
|
1107
1103
|
e(`/device/${t}/${l}`, null);
|
|
1108
1104
|
} } : void 0;
|
|
1109
1105
|
}
|
|
1110
|
-
function
|
|
1111
|
-
const { sendMessage: e } =
|
|
1106
|
+
function L2(t) {
|
|
1107
|
+
const { sendMessage: e } = y(), c = L(t), o = () => {
|
|
1112
1108
|
e(`/device/${t}/setDefaultChannelLevels`, null);
|
|
1113
1109
|
}, l = () => {
|
|
1114
|
-
if ((
|
|
1110
|
+
if ((c == null ? void 0 : c.levelControls) === void 0)
|
|
1115
1111
|
return;
|
|
1116
|
-
Object.keys(
|
|
1117
|
-
e(`/device/${t}/${
|
|
1112
|
+
Object.keys(c == null ? void 0 : c.levelControls).forEach((f) => {
|
|
1113
|
+
e(`/device/${t}/${f}/fullStatus`, null);
|
|
1118
1114
|
});
|
|
1119
1115
|
};
|
|
1120
|
-
return
|
|
1116
|
+
return c ? { levelControls: c.levelControls, setDefaultChannelLevels: o, getFullStatus: l } : void 0;
|
|
1121
1117
|
}
|
|
1122
|
-
function
|
|
1123
|
-
const e =
|
|
1118
|
+
function s6(t) {
|
|
1119
|
+
const e = L(t), c = h3(t), o = y1(t), l = y1(t), i = _2(t), d = L2(t);
|
|
1124
1120
|
if (e)
|
|
1125
1121
|
return {
|
|
1126
1122
|
avrState: e,
|
|
1127
|
-
powerControl:
|
|
1123
|
+
powerControl: c,
|
|
1128
1124
|
inputControl: o,
|
|
1129
1125
|
surroundSoundModes: l,
|
|
1130
|
-
surroundChannels:
|
|
1126
|
+
surroundChannels: d,
|
|
1131
1127
|
mainVolumeControl: i
|
|
1132
1128
|
};
|
|
1133
1129
|
}
|
|
1134
|
-
function
|
|
1135
|
-
const e =
|
|
1130
|
+
function o6(t) {
|
|
1131
|
+
const e = L(t);
|
|
1136
1132
|
if (e)
|
|
1137
1133
|
return { endpointState: e };
|
|
1138
1134
|
}
|
|
1139
|
-
function
|
|
1140
|
-
const e = `/device/${t}`,
|
|
1141
|
-
return { channelUp:
|
|
1135
|
+
function r6(t) {
|
|
1136
|
+
const e = `/device/${t}`, c = h(e, "chanUp"), o = h(e, "chanDown"), l = h(e, "lastChan"), i = h(e, "guide"), d = h(e, "info"), f = h(e, "exit");
|
|
1137
|
+
return { channelUp: c, channelDown: o, lastChannel: l, guide: i, info: d, exit: f };
|
|
1142
1138
|
}
|
|
1143
|
-
function
|
|
1144
|
-
const e = `/device/${t}`,
|
|
1145
|
-
return { red:
|
|
1139
|
+
function l6(t) {
|
|
1140
|
+
const e = `/device/${t}`, c = h(e, "red"), o = h(e, "green"), l = h(e, "yellow"), i = h(e, "blue");
|
|
1141
|
+
return { red: c, green: o, yellow: l, blue: i };
|
|
1146
1142
|
}
|
|
1147
|
-
function
|
|
1148
|
-
const e =
|
|
1143
|
+
function i6(t) {
|
|
1144
|
+
const e = L(t);
|
|
1149
1145
|
if (e)
|
|
1150
1146
|
return {
|
|
1151
1147
|
communicationMonitorState: e
|
|
1152
1148
|
};
|
|
1153
1149
|
}
|
|
1154
|
-
function
|
|
1155
|
-
const e = `/device/${t}`,
|
|
1156
|
-
return { up:
|
|
1150
|
+
function a6(t) {
|
|
1151
|
+
const e = `/device/${t}`, c = h(e, "up"), o = h(e, "down"), l = h(e, "left"), i = h(e, "right"), d = h(e, "select"), f = h(e, "menu"), u = h(e, "exit");
|
|
1152
|
+
return { up: c, down: o, left: l, right: i, select: d, menu: f, exit: u };
|
|
1157
1153
|
}
|
|
1158
|
-
function
|
|
1159
|
-
const e =
|
|
1154
|
+
function u6(t) {
|
|
1155
|
+
const e = L(t);
|
|
1160
1156
|
if (e)
|
|
1161
1157
|
return e.deviceInfo || void 0;
|
|
1162
1158
|
}
|
|
1163
|
-
function
|
|
1164
|
-
const e = `/device/${t}`,
|
|
1165
|
-
return { dvrList:
|
|
1159
|
+
function d6(t) {
|
|
1160
|
+
const e = `/device/${t}`, c = h(e, "dvrList"), o = h(e, "record");
|
|
1161
|
+
return { dvrList: c, record: o };
|
|
1166
1162
|
}
|
|
1167
|
-
const
|
|
1168
|
-
const [e,
|
|
1169
|
-
return
|
|
1163
|
+
const v6 = ({ className: t }) => {
|
|
1164
|
+
const [e, c] = q();
|
|
1165
|
+
return G(() => {
|
|
1170
1166
|
setInterval(() => {
|
|
1171
1167
|
const o = (/* @__PURE__ */ new Date()).toLocaleTimeString("en-US", { hour12: !0, hour: "numeric", minute: "numeric" });
|
|
1172
|
-
|
|
1168
|
+
c(o);
|
|
1173
1169
|
}, 1e3);
|
|
1174
1170
|
}, []), /* @__PURE__ */ n.jsxs("div", { className: t, children: [
|
|
1175
1171
|
e,
|
|
1176
1172
|
" new change"
|
|
1177
1173
|
] });
|
|
1178
1174
|
};
|
|
1179
|
-
function
|
|
1180
|
-
const { sendMessage: e } =
|
|
1181
|
-
return
|
|
1175
|
+
function h6(t) {
|
|
1176
|
+
const { sendMessage: e } = y(), c = L(t);
|
|
1177
|
+
return c ? { roomCombinerState: c, setAutoMode: () => {
|
|
1182
1178
|
e(`/device/${t}/setAutoMode`, null);
|
|
1183
1179
|
}, setManualMode: () => {
|
|
1184
1180
|
e(`/device/${t}/setManualMode`, null);
|
|
1185
1181
|
}, toggleMode: () => {
|
|
1186
1182
|
e(`/device/${t}/toggleMode`, null);
|
|
1187
|
-
}, togglePartitionState: (
|
|
1188
|
-
e(`/device/${t}/togglePartitionState`,
|
|
1189
|
-
}, setRoomCombinationScenario: (
|
|
1190
|
-
e(`/device/${t}/setRoomCombinationScenario`,
|
|
1183
|
+
}, togglePartitionState: (u) => {
|
|
1184
|
+
e(`/device/${t}/togglePartitionState`, u);
|
|
1185
|
+
}, setRoomCombinationScenario: (u) => {
|
|
1186
|
+
e(`/device/${t}/setRoomCombinationScenario`, u);
|
|
1191
1187
|
} } : void 0;
|
|
1192
1188
|
}
|
|
1193
|
-
function
|
|
1194
|
-
const { sendMessage: e, sendSimpleMessage:
|
|
1189
|
+
function g6(t) {
|
|
1190
|
+
const { sendMessage: e, sendSimpleMessage: c } = y(), o = L(t);
|
|
1195
1191
|
return o ? {
|
|
1196
1192
|
levelState: o,
|
|
1197
|
-
setLevel: (
|
|
1198
|
-
muteToggle: (
|
|
1199
|
-
muteOn: (
|
|
1200
|
-
muteOff: (
|
|
1193
|
+
setLevel: (u, S) => c(`${u}/level`, S),
|
|
1194
|
+
muteToggle: (u) => e(`${u}/muteToggle`, null),
|
|
1195
|
+
muteOn: (u) => e(`${u}/muteOn`, null),
|
|
1196
|
+
muteOff: (u) => e(`${u}/muteOff`, null)
|
|
1201
1197
|
} : void 0;
|
|
1202
1198
|
}
|
|
1203
|
-
function
|
|
1204
|
-
const { sendMessage: e } =
|
|
1205
|
-
return
|
|
1199
|
+
function f6(t) {
|
|
1200
|
+
const { sendMessage: e } = y(), c = L(t);
|
|
1201
|
+
return c ? { lightingState: c, selectScene: (l) => {
|
|
1206
1202
|
e(`/device/${t}/selectScene`, l);
|
|
1207
1203
|
} } : void 0;
|
|
1208
1204
|
}
|
|
1209
|
-
function
|
|
1210
|
-
const { sendMessage: e } =
|
|
1211
|
-
return
|
|
1205
|
+
function w6(t) {
|
|
1206
|
+
const { sendMessage: e } = y(), c = L(t);
|
|
1207
|
+
return c ? { matrixRoutingState: c, setRoute: (l) => {
|
|
1212
1208
|
e(`/device/${t}/route`, l);
|
|
1213
1209
|
} } : void 0;
|
|
1214
1210
|
}
|
|
1215
|
-
function
|
|
1216
|
-
const { sendMessage: e } =
|
|
1211
|
+
function p6(t) {
|
|
1212
|
+
const { sendMessage: e } = y();
|
|
1217
1213
|
return { closeApp: () => {
|
|
1218
1214
|
e(`/device/${t}/closeWebViewController`, null);
|
|
1219
1215
|
} };
|
|
1220
1216
|
}
|
|
1221
|
-
function
|
|
1222
|
-
const e = `/device/${t}`,
|
|
1223
|
-
return { digit0:
|
|
1217
|
+
function x6(t) {
|
|
1218
|
+
const e = `/device/${t}`, c = h(e, "num0"), o = h(e, "num1"), l = h(e, "num2"), i = h(e, "num3"), d = h(e, "num4"), f = h(e, "num5"), u = h(e, "num6"), S = h(e, "num7"), C = h(e, "num8"), b = h(e, "num9"), A = h(e, "numDash"), T = h(e, "numEnter");
|
|
1219
|
+
return { digit0: c, digit1: o, digit2: l, digit3: i, digit4: d, digit5: f, digit6: u, digit7: S, digit8: C, digit9: b, keypadAccessoryButton1: A, keypadAccessoryButton2: T };
|
|
1224
1220
|
}
|
|
1225
|
-
function
|
|
1226
|
-
const { sendMessage: e } =
|
|
1227
|
-
return
|
|
1221
|
+
function M6(t) {
|
|
1222
|
+
const { sendMessage: e } = y(), c = L(t);
|
|
1223
|
+
return c ? { projectorScreenLiftControlState: c, raise: () => {
|
|
1228
1224
|
e(`/device/${t}/raise`, null);
|
|
1229
1225
|
}, lower: () => {
|
|
1230
1226
|
e(`/device/${t}/lower`, null);
|
|
1231
1227
|
} } : void 0;
|
|
1232
1228
|
}
|
|
1233
|
-
function
|
|
1234
|
-
const { sendMessage: e } =
|
|
1235
|
-
return
|
|
1229
|
+
function m6(t) {
|
|
1230
|
+
const { sendMessage: e } = y(), c = R1(t);
|
|
1231
|
+
return c ? { roomEventScheduleState: c, save: (l) => {
|
|
1236
1232
|
e(`/room/${t}/saveScheduledEvents`, l);
|
|
1237
1233
|
} } : void 0;
|
|
1238
1234
|
}
|
|
1239
|
-
function
|
|
1240
|
-
const { sendMessage: e } =
|
|
1235
|
+
function Z6(t) {
|
|
1236
|
+
const { sendMessage: e } = y();
|
|
1241
1237
|
return { runDirectRoute: (o) => {
|
|
1242
1238
|
e(`/room/${t}/directRoute`, o);
|
|
1243
1239
|
} };
|
|
1244
1240
|
}
|
|
1245
|
-
function
|
|
1246
|
-
const { sendMessage: e } =
|
|
1247
|
-
return { routingState:
|
|
1241
|
+
function j6(t) {
|
|
1242
|
+
const { sendMessage: e } = y();
|
|
1243
|
+
return { routingState: L(t), runRoute: (l) => {
|
|
1248
1244
|
e(`/room/${t}/source`, l);
|
|
1249
1245
|
} };
|
|
1250
1246
|
}
|
|
1251
|
-
function
|
|
1252
|
-
const e = `/device/${t}`,
|
|
1253
|
-
return { dvrList:
|
|
1247
|
+
function C6(t) {
|
|
1248
|
+
const e = `/device/${t}`, c = h(e, "chanUp"), o = h(e, "chanDown");
|
|
1249
|
+
return { dvrList: c, replay: o };
|
|
1254
1250
|
}
|
|
1255
|
-
function
|
|
1256
|
-
const { sendMessage: e } =
|
|
1257
|
-
return
|
|
1251
|
+
function S6(t) {
|
|
1252
|
+
const { sendMessage: e } = y(), c = L(t);
|
|
1253
|
+
return c ? { shadeState: c, shadeUp: () => {
|
|
1258
1254
|
e(`/device/${t}/shadeUp`, null);
|
|
1259
1255
|
}, shadeDown: () => {
|
|
1260
1256
|
e(`/device/${t}/shadeDown`, null);
|
|
@@ -1262,10 +1258,10 @@ function y6(t) {
|
|
|
1262
1258
|
e(`/device/${t}/stopOrPreset`, null);
|
|
1263
1259
|
} } : void 0;
|
|
1264
1260
|
}
|
|
1265
|
-
function
|
|
1266
|
-
const { sendMessage: e } =
|
|
1267
|
-
return
|
|
1268
|
-
e(`/room/${t}/setShutdownPromptSeconds`,
|
|
1261
|
+
function b6(t) {
|
|
1262
|
+
const { sendMessage: e } = y(), c = R1(t);
|
|
1263
|
+
return c ? { shutdownPromptTimerState: c, setShutdownPromptSeconds: (f) => {
|
|
1264
|
+
e(`/room/${t}/setShutdownPromptSeconds`, f);
|
|
1269
1265
|
}, shutdownStart: () => {
|
|
1270
1266
|
e(`/room/${t}/shutdownStart`, null);
|
|
1271
1267
|
}, shutdownEnd: () => {
|
|
@@ -1274,149 +1270,149 @@ function R6(t) {
|
|
|
1274
1270
|
e(`/room/${t}/shutdownCancel`, null);
|
|
1275
1271
|
} } : void 0;
|
|
1276
1272
|
}
|
|
1277
|
-
function
|
|
1278
|
-
const { sendMessage: e } =
|
|
1279
|
-
return
|
|
1273
|
+
function I6(t) {
|
|
1274
|
+
const { sendMessage: e } = y(), c = L(t);
|
|
1275
|
+
return c ? { switchedOutputState: c, on: () => {
|
|
1280
1276
|
e(`/device/${t}/on`, null);
|
|
1281
1277
|
}, off: () => {
|
|
1282
1278
|
e(`/device/${t}/off`, null);
|
|
1283
1279
|
} } : void 0;
|
|
1284
1280
|
}
|
|
1285
|
-
function
|
|
1286
|
-
const { sendMessage: e } =
|
|
1287
|
-
return
|
|
1281
|
+
function y6(t) {
|
|
1282
|
+
const { sendMessage: e } = y(), c = R1(t);
|
|
1283
|
+
return c ? { techPasswordState: c, validatePassword: (i) => {
|
|
1288
1284
|
e(`/room/${t}/validateTechPassword`, { password: i });
|
|
1289
|
-
}, setPassword: (i,
|
|
1290
|
-
e(`/room/${t}/setTechPassword`, { oldPassword: i, newPassword:
|
|
1285
|
+
}, setPassword: (i, d) => {
|
|
1286
|
+
e(`/room/${t}/setTechPassword`, { oldPassword: i, newPassword: d });
|
|
1291
1287
|
} } : void 0;
|
|
1292
1288
|
}
|
|
1293
|
-
function
|
|
1294
|
-
const e = `/device/${t}`,
|
|
1295
|
-
return { play:
|
|
1289
|
+
function R6(t) {
|
|
1290
|
+
const e = `/device/${t}`, c = h(e, "play"), o = h(e, "pause"), l = h(e, "stop"), i = h(e, "prevTrack"), d = h(e, "nextTrack"), f = h(e, "rewind"), u = h(e, "ffwd"), S = h(e, "record");
|
|
1291
|
+
return { play: c, pause: o, stop: l, prevTrack: i, nextTrack: d, rewind: f, fastForward: u, record: S };
|
|
1296
1292
|
}
|
|
1297
|
-
function
|
|
1298
|
-
const e =
|
|
1293
|
+
function E6(t) {
|
|
1294
|
+
const e = L(t), { sendMessage: c } = y();
|
|
1299
1295
|
return e ? {
|
|
1300
1296
|
touchpanelState: e,
|
|
1301
1297
|
appControl: { hideApp: () => {
|
|
1302
|
-
|
|
1298
|
+
c(`/device/${t}/hideApp`, null);
|
|
1303
1299
|
}, openApp: () => {
|
|
1304
|
-
|
|
1300
|
+
c(`/device/${t}/openApp`, null);
|
|
1305
1301
|
}, closeApp: () => {
|
|
1306
|
-
|
|
1302
|
+
c(`/device/${t}/closeApp`, null);
|
|
1307
1303
|
} },
|
|
1308
1304
|
zoomControl: { endCall: () => {
|
|
1309
|
-
|
|
1305
|
+
c(`/device/${t}/endCall`, null);
|
|
1310
1306
|
} }
|
|
1311
1307
|
} : void 0;
|
|
1312
1308
|
}
|
|
1313
|
-
function
|
|
1314
|
-
const e =
|
|
1309
|
+
function _6(t) {
|
|
1310
|
+
const e = L(t), c = h3(t), o = y1(t);
|
|
1315
1311
|
if (!e)
|
|
1316
1312
|
return;
|
|
1317
1313
|
const l = (e.powerState || e.isWarming) && !e.isCooling, i = (!e.powerState || e.isCooling) && !e.isWarming;
|
|
1318
1314
|
return {
|
|
1319
1315
|
displayState: e,
|
|
1320
|
-
powerControl:
|
|
1316
|
+
powerControl: c,
|
|
1321
1317
|
inputControl: o,
|
|
1322
1318
|
powerFb: { powerOnFb: l, powerOffFb: i }
|
|
1323
1319
|
};
|
|
1324
1320
|
}
|
|
1325
|
-
const
|
|
1326
|
-
const { sendMessage: e } =
|
|
1327
|
-
|
|
1321
|
+
const L6 = ({ config: t }) => {
|
|
1322
|
+
const { sendMessage: e } = y();
|
|
1323
|
+
G(() => {
|
|
1328
1324
|
var o, l;
|
|
1329
1325
|
if (!t)
|
|
1330
1326
|
return;
|
|
1331
|
-
const
|
|
1327
|
+
const c = [];
|
|
1332
1328
|
Object.values(t.destinations).forEach((i) => {
|
|
1333
|
-
|
|
1329
|
+
c.push(i);
|
|
1334
1330
|
}), Object.values(t.destinationList).forEach((i) => {
|
|
1335
|
-
|
|
1331
|
+
c.push(i.sinkKey);
|
|
1336
1332
|
}), (o = t.touchpanelKeys) == null || o.forEach((i) => {
|
|
1337
|
-
|
|
1333
|
+
c.push(i);
|
|
1338
1334
|
}), t.environmentalDevices.forEach((i) => {
|
|
1339
|
-
|
|
1335
|
+
c.push(i.deviceKey);
|
|
1340
1336
|
}), (l = t.accessoryDeviceKeys) == null || l.forEach((i) => {
|
|
1341
|
-
|
|
1342
|
-
}), t.audioCodecKey &&
|
|
1343
|
-
|
|
1337
|
+
c.push(i);
|
|
1338
|
+
}), t.audioCodecKey && c.push(t.audioCodecKey), t.videoCodecKey && c.push(t.videoCodecKey), t.matrixRoutingKey && c.push(t.matrixRoutingKey), t.roomCombinerKey && c.push(t.roomCombinerKey), t.endpointKeys && t.endpointKeys.forEach((i) => {
|
|
1339
|
+
c.push(i);
|
|
1344
1340
|
});
|
|
1345
1341
|
for (const i of Object.values(t.sourceList))
|
|
1346
|
-
i.sourceKey && i.sourceKey !== "$off" &&
|
|
1347
|
-
console.log("deviceKeys",
|
|
1342
|
+
i.sourceKey && i.sourceKey !== "$off" && c.push(i.sourceKey);
|
|
1343
|
+
console.log("deviceKeys", c), c.forEach((i) => {
|
|
1348
1344
|
e(`/device/${i}/fullStatus`, { deviceKey: i });
|
|
1349
1345
|
});
|
|
1350
1346
|
}, [t, e]);
|
|
1351
1347
|
};
|
|
1352
|
-
function
|
|
1353
|
-
const
|
|
1354
|
-
return
|
|
1348
|
+
function $6(t, e) {
|
|
1349
|
+
const c = w2(t, e), o = `/room/${t}/volumes/${e}`;
|
|
1350
|
+
return v3(o, c);
|
|
1355
1351
|
}
|
|
1356
|
-
function
|
|
1357
|
-
const [t, e] =
|
|
1352
|
+
function A6() {
|
|
1353
|
+
const [t, e] = q(), [c, o] = q();
|
|
1358
1354
|
function l() {
|
|
1359
1355
|
e((/* @__PURE__ */ new Date()).toLocaleDateString("en-US", { dateStyle: "long" }));
|
|
1360
1356
|
const i = (/* @__PURE__ */ new Date()).toLocaleTimeString("en-US", { hour12: !0, hour: "numeric", minute: "numeric" });
|
|
1361
1357
|
o(i);
|
|
1362
1358
|
}
|
|
1363
|
-
return
|
|
1359
|
+
return G(() => {
|
|
1364
1360
|
l();
|
|
1365
1361
|
const i = setInterval(() => {
|
|
1366
1362
|
l();
|
|
1367
1363
|
}, 1e3);
|
|
1368
1364
|
return () => clearInterval(i);
|
|
1369
|
-
}, []), { date: t, time:
|
|
1365
|
+
}, []), { date: t, time: c };
|
|
1370
1366
|
}
|
|
1371
|
-
const
|
|
1367
|
+
const B6 = () => {
|
|
1372
1368
|
const t = N3();
|
|
1373
1369
|
return /* @__PURE__ */ n.jsxs("div", { className: "d-flex flex-column align-items-center gap-5", children: [
|
|
1374
1370
|
/* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger rounded d-flex align-items-center", children: /* @__PURE__ */ n.jsx("span", { className: "fs-5 text-white", children: "We are sorry. Something went wrong." }) }),
|
|
1375
1371
|
/* @__PURE__ */ n.jsx("button", { className: "btn btn-primary p-2", onClick: () => t(-1), children: "Go Back" })
|
|
1376
1372
|
] });
|
|
1377
|
-
},
|
|
1378
|
-
iconbtn:
|
|
1379
|
-
iconbtnvert:
|
|
1380
|
-
iconsm:
|
|
1381
|
-
},
|
|
1373
|
+
}, $2 = "_iconbtn_16qss_1", A2 = "_iconbtnvert_16qss_7", B2 = "_iconsm_16qss_18", C1 = {
|
|
1374
|
+
iconbtn: $2,
|
|
1375
|
+
iconbtnvert: A2,
|
|
1376
|
+
iconsm: B2
|
|
1377
|
+
}, T2 = ({
|
|
1382
1378
|
multiIcon: t,
|
|
1383
1379
|
otherContent: e = null,
|
|
1384
|
-
vert:
|
|
1380
|
+
vert: c = !1,
|
|
1385
1381
|
className: o,
|
|
1386
1382
|
iconClassName: l = "",
|
|
1387
1383
|
otherContentClassName: i = "",
|
|
1388
|
-
disabled:
|
|
1389
|
-
feedback:
|
|
1390
|
-
feedbackClassName:
|
|
1384
|
+
disabled: d,
|
|
1385
|
+
feedback: f,
|
|
1386
|
+
feedbackClassName: u,
|
|
1391
1387
|
onPointerDown: S,
|
|
1392
|
-
onPointerUp:
|
|
1393
|
-
onPointerLeave:
|
|
1388
|
+
onPointerUp: C,
|
|
1389
|
+
onPointerLeave: b,
|
|
1394
1390
|
...A
|
|
1395
1391
|
}) => {
|
|
1396
|
-
const [
|
|
1392
|
+
const [T, V] = q(!1), Y = !d && f ? u : "", J = !d && (T || f);
|
|
1397
1393
|
return /* @__PURE__ */ n.jsxs(
|
|
1398
1394
|
"button",
|
|
1399
1395
|
{
|
|
1400
1396
|
type: "button",
|
|
1401
|
-
className: `${
|
|
1397
|
+
className: `${C1.iconbtn} ${c ? C1.iconbtnvert : ""} ${o} ${Y}`,
|
|
1402
1398
|
...A,
|
|
1403
|
-
disabled:
|
|
1404
|
-
onPointerDown: (
|
|
1405
|
-
|
|
1399
|
+
disabled: d,
|
|
1400
|
+
onPointerDown: (m) => {
|
|
1401
|
+
V(!0), S == null || S(m);
|
|
1406
1402
|
},
|
|
1407
|
-
onPointerUp: (
|
|
1408
|
-
|
|
1403
|
+
onPointerUp: (m) => {
|
|
1404
|
+
V(!1), C == null || C(m);
|
|
1409
1405
|
},
|
|
1410
|
-
onPointerLeave: (
|
|
1411
|
-
|
|
1406
|
+
onPointerLeave: (m) => {
|
|
1407
|
+
V(!1), b == null || b(m);
|
|
1412
1408
|
},
|
|
1413
1409
|
children: [
|
|
1414
1410
|
t && /* @__PURE__ */ n.jsx(
|
|
1415
1411
|
t,
|
|
1416
1412
|
{
|
|
1417
|
-
className: `${l ||
|
|
1418
|
-
active:
|
|
1419
|
-
disabled:
|
|
1413
|
+
className: `${l || C1.iconsm}`,
|
|
1414
|
+
active: J,
|
|
1415
|
+
disabled: d
|
|
1420
1416
|
}
|
|
1421
1417
|
),
|
|
1422
1418
|
/* @__PURE__ */ n.jsx("div", { className: i, children: e })
|
|
@@ -1426,13 +1422,13 @@ const P6 = () => {
|
|
|
1426
1422
|
}, x = ({
|
|
1427
1423
|
ActiveImage: t,
|
|
1428
1424
|
DisabledImage: e,
|
|
1429
|
-
EnabledImage:
|
|
1425
|
+
EnabledImage: c,
|
|
1430
1426
|
active: o,
|
|
1431
1427
|
disabled: l
|
|
1432
|
-
}) => l ? e : o ? t :
|
|
1428
|
+
}) => l ? e : o ? t : c, D2 = ({
|
|
1433
1429
|
active: t,
|
|
1434
1430
|
className: e = "",
|
|
1435
|
-
disabled:
|
|
1431
|
+
disabled: c
|
|
1436
1432
|
}) => /* @__PURE__ */ n.jsx(
|
|
1437
1433
|
x,
|
|
1438
1434
|
{
|
|
@@ -1479,12 +1475,12 @@ const P6 = () => {
|
|
|
1479
1475
|
}
|
|
1480
1476
|
),
|
|
1481
1477
|
active: t,
|
|
1482
|
-
disabled:
|
|
1478
|
+
disabled: c
|
|
1483
1479
|
}
|
|
1484
|
-
),
|
|
1480
|
+
), P2 = ({
|
|
1485
1481
|
active: t,
|
|
1486
1482
|
className: e = "",
|
|
1487
|
-
disabled:
|
|
1483
|
+
disabled: c
|
|
1488
1484
|
}) => /* @__PURE__ */ n.jsx(
|
|
1489
1485
|
x,
|
|
1490
1486
|
{
|
|
@@ -1528,12 +1524,12 @@ const P6 = () => {
|
|
|
1528
1524
|
)
|
|
1529
1525
|
),
|
|
1530
1526
|
active: t,
|
|
1531
|
-
disabled:
|
|
1527
|
+
disabled: c
|
|
1532
1528
|
}
|
|
1533
|
-
),
|
|
1529
|
+
), O2 = ({
|
|
1534
1530
|
active: t,
|
|
1535
1531
|
className: e = "",
|
|
1536
|
-
disabled:
|
|
1532
|
+
disabled: c
|
|
1537
1533
|
}) => /* @__PURE__ */ n.jsx(
|
|
1538
1534
|
x,
|
|
1539
1535
|
{
|
|
@@ -1568,12 +1564,12 @@ const P6 = () => {
|
|
|
1568
1564
|
}
|
|
1569
1565
|
),
|
|
1570
1566
|
active: t,
|
|
1571
|
-
disabled:
|
|
1567
|
+
disabled: c
|
|
1572
1568
|
}
|
|
1573
|
-
),
|
|
1569
|
+
), V2 = ({
|
|
1574
1570
|
active: t,
|
|
1575
1571
|
className: e = "",
|
|
1576
|
-
disabled:
|
|
1572
|
+
disabled: c
|
|
1577
1573
|
}) => /* @__PURE__ */ n.jsx(
|
|
1578
1574
|
x,
|
|
1579
1575
|
{
|
|
@@ -1617,14 +1613,14 @@ const P6 = () => {
|
|
|
1617
1613
|
)
|
|
1618
1614
|
),
|
|
1619
1615
|
active: t,
|
|
1620
|
-
disabled:
|
|
1616
|
+
disabled: c
|
|
1621
1617
|
}
|
|
1622
|
-
),
|
|
1618
|
+
), F2 = ({
|
|
1623
1619
|
active: t,
|
|
1624
1620
|
// Just to shut up the linter on this template. Prefer deleting this lint rule
|
|
1625
1621
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
1626
1622
|
className: e = "",
|
|
1627
|
-
disabled:
|
|
1623
|
+
disabled: c
|
|
1628
1624
|
}) => /* @__PURE__ */ n.jsx(
|
|
1629
1625
|
x,
|
|
1630
1626
|
{
|
|
@@ -1660,7 +1656,6 @@ const P6 = () => {
|
|
|
1660
1656
|
"path",
|
|
1661
1657
|
{
|
|
1662
1658
|
d: "M96.54,86.55l5.04-5.04c.04.26.07.52.07.8,0,1.22-.41,2.25-1.24,3.07-.83.83-1.85,1.24-3.07,1.24-.28,0-.54-.03-.8-.07ZM105.97,77.99c1.22,0,2.25-.41,3.07-1.24.83-.83,1.24-1.85,1.24-3.07,0-.28-.03-.54-.07-.8l-5.04,5.04c.26.04.52.07.8.07ZM129.04,97.07l-8.6-34.41-7.15,7.15,7.35,29.31c.14,1.44.22,2.12.22,2.05-.07,2.01-.83,3.68-2.26,5.01-1.44,1.33-3.16,1.99-5.17,1.99-1.37,0-2.6-.36-3.72-1.08-1.11-.72-1.96-1.69-2.53-2.91l-3.02-6.14c-1.15-2.16-2.77-3.88-4.85-5.17-2.08-1.29-4.35-1.94-6.79-1.94h-.33l-8.62,8.62h8.95c.79,0,1.55.18,2.26.54.72.36,1.26.9,1.62,1.62l3.02,6.25c1.29,2.73,3.23,4.89,5.82,6.47,2.59,1.58,5.39,2.37,8.41,2.37,4.38,0,8.14-1.53,11.27-4.58,3.13-3.05,4.69-6.77,4.69-11.16,0-.65-.05-1.31-.16-1.99s-.23-1.35-.38-1.99ZM43.77,102.35c-.07-.42-.12-.84-.12-1.29,0-.86.07-1.51.22-1.94l9.06-36.11c.43-1.94,1.42-3.52,2.96-4.74,1.54-1.22,3.32-1.83,5.34-1.83h28.46l8.62-8.62h-37.09c-3.95,0-7.47,1.2-10.56,3.61-3.09,2.41-5.14,5.55-6.14,9.43l-9.06,36.22c-.14.65-.25,1.29-.32,1.94-.07.65-.11,1.29-.11,1.94.1,2.92.85,5.55,2.24,7.9l6.5-6.5ZM74.7,70.45h-4.31v-4.31c0-.93-.31-1.71-.92-2.32-.61-.61-1.38-.92-2.32-.92s-1.71.31-2.32.92c-.61.61-.92,1.38-.92,2.32v4.31h-4.31c-.93,0-1.71.31-2.32.92s-.92,1.38-.92,2.32.31,1.71.92,2.32c.61.61,1.38.92,2.32.92h4.31v4.31c0,.31.05.59.11.86l11.53-11.53c-.27-.07-.56-.11-.86-.11ZM164.61,82.3c0,45.38-36.92,82.3-82.3,82.3S0,127.69,0,82.3,36.92,0,82.3,0s82.3,36.92,82.3,82.3ZM5,82.3c0,19.83,7.51,37.93,19.82,51.63L133.93,24.83c-13.7-12.32-31.8-19.83-51.63-19.83C39.68,5,5,39.68,5,82.3ZM159.61,82.3c0-19.83-7.51-37.93-19.83-51.63L30.68,139.78c13.7,12.32,31.8,19.83,51.63,19.83,42.63,0,77.3-34.68,77.3-77.3Z",
|
|
1663
|
-
fill: "#090a0e",
|
|
1664
1659
|
"stroke-width": "0"
|
|
1665
1660
|
}
|
|
1666
1661
|
) })
|
|
@@ -1680,7 +1675,6 @@ const P6 = () => {
|
|
|
1680
1675
|
"path",
|
|
1681
1676
|
{
|
|
1682
1677
|
d: "M50.88,116.8c-4.31,0-8-1.55-11.05-4.64-3.05-3.09-4.65-6.83-4.8-11.21,0-.65.04-1.29.11-1.94s.18-1.29.32-1.94l9.06-36.22c1.01-3.88,3.05-7.03,6.14-9.43s6.61-3.61,10.56-3.61h42.04c3.95,0,7.47,1.2,10.56,3.61s5.14,5.55,6.14,9.43l9.06,36.22c.14.65.27,1.31.38,1.99s.16,1.35.16,1.99c0,4.38-1.56,8.1-4.69,11.16s-6.88,4.58-11.27,4.58c-3.02,0-5.82-.79-8.41-2.37s-4.53-3.74-5.82-6.47l-3.02-6.25c-.36-.72-.9-1.26-1.62-1.62s-1.47-.54-2.26-.54h-20.48c-.79,0-1.55.18-2.26.54s-1.26.9-1.62,1.62l-3.02,6.25c-1.29,2.73-3.23,4.89-5.82,6.47s-5.39,2.37-8.41,2.37ZM51.2,108.18c1.37,0,2.61-.36,3.72-1.08,1.11-.72,1.96-1.69,2.53-2.91l3.02-6.14c1.08-2.23,2.66-3.97,4.74-5.23s4.35-1.89,6.79-1.89h20.48c2.44,0,4.71.65,6.79,1.94s3.7,3.02,4.85,5.17l3.02,6.14c.57,1.22,1.42,2.19,2.53,2.91,1.11.72,2.35,1.08,3.72,1.08,2.01,0,3.74-.66,5.17-1.99,1.44-1.33,2.19-3,2.26-5.01,0,.07-.07-.61-.22-2.05l-9.06-36.11c-.5-1.94-1.51-3.52-3.02-4.74s-3.27-1.83-5.28-1.83h-42.04c-2.01,0-3.79.61-5.34,1.83s-2.53,2.8-2.96,4.74l-9.06,36.11c-.14.43-.22,1.08-.22,1.94,0,2.01.74,3.7,2.21,5.07,1.47,1.37,3.25,2.05,5.34,2.05ZM88.72,77.99c1.22,0,2.25-.41,3.07-1.24s1.24-1.85,1.24-3.07-.41-2.25-1.24-3.07-1.85-1.24-3.07-1.24-2.25.41-3.07,1.24c-.83.83-1.24,1.85-1.24,3.07s.41,2.25,1.24,3.07c.83.83,1.85,1.24,3.07,1.24ZM97.34,69.37c1.22,0,2.25-.41,3.07-1.24s1.24-1.85,1.24-3.07-.41-2.25-1.24-3.07-1.85-1.24-3.07-1.24-2.25.41-3.07,1.24-1.24,1.85-1.24,3.07.41,2.25,1.24,3.07,1.85,1.24,3.07,1.24ZM97.34,86.62c1.22,0,2.25-.41,3.07-1.24s1.24-1.85,1.24-3.07-.41-2.25-1.24-3.07c-.83-.83-1.85-1.24-3.07-1.24s-2.25.41-3.07,1.24c-.83.83-1.24,1.85-1.24,3.07s.41,2.25,1.24,3.07,1.85,1.24,3.07,1.24ZM105.97,77.99c1.22,0,2.25-.41,3.07-1.24s1.24-1.85,1.24-3.07-.41-2.25-1.24-3.07-1.85-1.24-3.07-1.24-2.25.41-3.07,1.24-1.24,1.85-1.24,3.07.41,2.25,1.24,3.07,1.85,1.24,3.07,1.24ZM67.16,84.46c.93,0,1.71-.31,2.32-.92s.92-1.38.92-2.32v-4.31h4.31c.93,0,1.71-.31,2.32-.92s.92-1.38.92-2.32-.31-1.71-.92-2.32-1.38-.92-2.32-.92h-4.31v-4.31c0-.93-.31-1.71-.92-2.32s-1.38-.92-2.32-.92-1.71.31-2.32.92-.92,1.38-.92,2.32v4.31h-4.31c-.93,0-1.71.31-2.32.92s-.92,1.38-.92,2.32.31,1.71.92,2.32,1.38.92,2.32.92h4.31v4.31c0,.93.31,1.71.92,2.32s1.38.92,2.32.92ZM82.3,164.61C36.92,164.61,0,127.69,0,82.3S36.92,0,82.3,0s82.3,36.92,82.3,82.3-36.92,82.3-82.3,82.3ZM82.3,5C39.68,5,5,39.68,5,82.3s34.68,77.3,77.3,77.3,77.3-34.68,77.3-77.3S124.93,5,82.3,5Z",
|
|
1683
|
-
fill: "#090a0e",
|
|
1684
1678
|
"stroke-width": "0"
|
|
1685
1679
|
}
|
|
1686
1680
|
) })
|
|
@@ -1688,12 +1682,12 @@ const P6 = () => {
|
|
|
1688
1682
|
)
|
|
1689
1683
|
),
|
|
1690
1684
|
active: t,
|
|
1691
|
-
disabled:
|
|
1685
|
+
disabled: c
|
|
1692
1686
|
}
|
|
1693
|
-
),
|
|
1687
|
+
), k2 = ({
|
|
1694
1688
|
active: t,
|
|
1695
1689
|
className: e = "",
|
|
1696
|
-
disabled:
|
|
1690
|
+
disabled: c
|
|
1697
1691
|
}) => /* @__PURE__ */ n.jsx(
|
|
1698
1692
|
x,
|
|
1699
1693
|
{
|
|
@@ -1737,12 +1731,12 @@ const P6 = () => {
|
|
|
1737
1731
|
)
|
|
1738
1732
|
),
|
|
1739
1733
|
active: t,
|
|
1740
|
-
disabled:
|
|
1734
|
+
disabled: c
|
|
1741
1735
|
}
|
|
1742
|
-
),
|
|
1736
|
+
), U2 = ({
|
|
1743
1737
|
active: t,
|
|
1744
1738
|
className: e = "",
|
|
1745
|
-
disabled:
|
|
1739
|
+
disabled: c
|
|
1746
1740
|
}) => /* @__PURE__ */ n.jsx(
|
|
1747
1741
|
x,
|
|
1748
1742
|
{
|
|
@@ -1786,12 +1780,12 @@ const P6 = () => {
|
|
|
1786
1780
|
)
|
|
1787
1781
|
),
|
|
1788
1782
|
active: t,
|
|
1789
|
-
disabled:
|
|
1783
|
+
disabled: c
|
|
1790
1784
|
}
|
|
1791
|
-
),
|
|
1785
|
+
), W2 = ({
|
|
1792
1786
|
active: t,
|
|
1793
1787
|
className: e = "",
|
|
1794
|
-
disabled:
|
|
1788
|
+
disabled: c
|
|
1795
1789
|
}) => /* @__PURE__ */ n.jsx(
|
|
1796
1790
|
x,
|
|
1797
1791
|
{
|
|
@@ -1835,12 +1829,12 @@ const P6 = () => {
|
|
|
1835
1829
|
)
|
|
1836
1830
|
),
|
|
1837
1831
|
active: t,
|
|
1838
|
-
disabled:
|
|
1832
|
+
disabled: c
|
|
1839
1833
|
}
|
|
1840
|
-
),
|
|
1834
|
+
), H2 = ({
|
|
1841
1835
|
active: t,
|
|
1842
1836
|
className: e = "",
|
|
1843
|
-
disabled:
|
|
1837
|
+
disabled: c
|
|
1844
1838
|
}) => /* @__PURE__ */ n.jsx(
|
|
1845
1839
|
x,
|
|
1846
1840
|
{
|
|
@@ -1884,12 +1878,12 @@ const P6 = () => {
|
|
|
1884
1878
|
)
|
|
1885
1879
|
),
|
|
1886
1880
|
active: t,
|
|
1887
|
-
disabled:
|
|
1881
|
+
disabled: c
|
|
1888
1882
|
}
|
|
1889
|
-
),
|
|
1883
|
+
), K2 = ({
|
|
1890
1884
|
active: t,
|
|
1891
1885
|
className: e = "",
|
|
1892
|
-
disabled:
|
|
1886
|
+
disabled: c
|
|
1893
1887
|
}) => /* @__PURE__ */ n.jsx(
|
|
1894
1888
|
x,
|
|
1895
1889
|
{
|
|
@@ -1933,14 +1927,14 @@ const P6 = () => {
|
|
|
1933
1927
|
)
|
|
1934
1928
|
),
|
|
1935
1929
|
active: t,
|
|
1936
|
-
disabled:
|
|
1930
|
+
disabled: c
|
|
1937
1931
|
}
|
|
1938
|
-
),
|
|
1932
|
+
), G2 = ({
|
|
1939
1933
|
active: t,
|
|
1940
1934
|
// Just to shut up the linter on this template. Prefer deleting this lint rule
|
|
1941
1935
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
1942
1936
|
className: e = "",
|
|
1943
|
-
disabled:
|
|
1937
|
+
disabled: c
|
|
1944
1938
|
}) => /* @__PURE__ */ n.jsx(
|
|
1945
1939
|
x,
|
|
1946
1940
|
{
|
|
@@ -2002,12 +1996,12 @@ const P6 = () => {
|
|
|
2002
1996
|
)
|
|
2003
1997
|
),
|
|
2004
1998
|
active: t,
|
|
2005
|
-
disabled:
|
|
1999
|
+
disabled: c
|
|
2006
2000
|
}
|
|
2007
|
-
),
|
|
2001
|
+
), q2 = ({
|
|
2008
2002
|
active: t,
|
|
2009
2003
|
className: e = "",
|
|
2010
|
-
disabled:
|
|
2004
|
+
disabled: c
|
|
2011
2005
|
}) => /* @__PURE__ */ n.jsx(
|
|
2012
2006
|
x,
|
|
2013
2007
|
{
|
|
@@ -2051,12 +2045,12 @@ const P6 = () => {
|
|
|
2051
2045
|
)
|
|
2052
2046
|
),
|
|
2053
2047
|
active: t,
|
|
2054
|
-
disabled:
|
|
2048
|
+
disabled: c
|
|
2055
2049
|
}
|
|
2056
|
-
),
|
|
2050
|
+
), Y2 = ({
|
|
2057
2051
|
active: t,
|
|
2058
2052
|
className: e = "",
|
|
2059
|
-
disabled:
|
|
2053
|
+
disabled: c
|
|
2060
2054
|
}) => /* @__PURE__ */ n.jsx(
|
|
2061
2055
|
x,
|
|
2062
2056
|
{
|
|
@@ -2100,12 +2094,12 @@ const P6 = () => {
|
|
|
2100
2094
|
)
|
|
2101
2095
|
),
|
|
2102
2096
|
active: t,
|
|
2103
|
-
disabled:
|
|
2097
|
+
disabled: c
|
|
2104
2098
|
}
|
|
2105
|
-
),
|
|
2099
|
+
), J2 = ({
|
|
2106
2100
|
active: t,
|
|
2107
2101
|
className: e = "",
|
|
2108
|
-
disabled:
|
|
2102
|
+
disabled: c
|
|
2109
2103
|
}) => /* @__PURE__ */ n.jsx(
|
|
2110
2104
|
x,
|
|
2111
2105
|
{
|
|
@@ -2149,12 +2143,12 @@ const P6 = () => {
|
|
|
2149
2143
|
)
|
|
2150
2144
|
),
|
|
2151
2145
|
active: t,
|
|
2152
|
-
disabled:
|
|
2146
|
+
disabled: c
|
|
2153
2147
|
}
|
|
2154
|
-
),
|
|
2148
|
+
), z2 = ({
|
|
2155
2149
|
active: t,
|
|
2156
2150
|
className: e = "",
|
|
2157
|
-
disabled:
|
|
2151
|
+
disabled: c
|
|
2158
2152
|
}) => /* @__PURE__ */ n.jsx(
|
|
2159
2153
|
x,
|
|
2160
2154
|
{
|
|
@@ -2198,12 +2192,12 @@ const P6 = () => {
|
|
|
2198
2192
|
)
|
|
2199
2193
|
),
|
|
2200
2194
|
active: t,
|
|
2201
|
-
disabled:
|
|
2195
|
+
disabled: c
|
|
2202
2196
|
}
|
|
2203
|
-
),
|
|
2197
|
+
), X2 = ({
|
|
2204
2198
|
active: t,
|
|
2205
2199
|
className: e = "",
|
|
2206
|
-
disabled:
|
|
2200
|
+
disabled: c
|
|
2207
2201
|
}) => /* @__PURE__ */ n.jsx(
|
|
2208
2202
|
x,
|
|
2209
2203
|
{
|
|
@@ -2220,12 +2214,12 @@ const P6 = () => {
|
|
|
2220
2214
|
/* @__PURE__ */ n.jsx("svg", { className: e, fill: "currentcolor", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 164.61 164.61", children: /* @__PURE__ */ n.jsx("g", { children: /* @__PURE__ */ n.jsx("path", { d: "M131.62,102.87c-1.96,2.47-6.77,4.24-6.77,4.24l-35.75,12.84v-9.47l26.31-9.37c2.99-1.07,3.44-2.58,1.02-3.38-2.42-.8-6.81-.57-9.8.51l-17.53,6.17v-9.83l1.01-.34s5.07-1.79,12.19-2.58c7.12-.78,15.85.11,22.69,2.7,7.72,2.44,8.59,6.03,6.63,8.51ZM92.51,86.75v-24.22c0-2.84-.52-5.46-3.19-6.2-2.04-.65-3.31,1.24-3.31,4.09v60.65l-16.36-5.19V43.55c6.95,1.29,17.09,4.34,22.53,6.18,13.85,4.76,18.55,10.67,18.55,24.01s-8.02,17.93-18.22,13ZM39.63,109.49c-7.92-2.23-9.24-6.88-5.63-9.56,3.34-2.47,9.01-4.33,9.01-4.33l23.45-8.34v9.51l-16.88,6.04c-2.98,1.07-3.44,2.58-1.02,3.38,2.42.79,6.81.57,9.8-.5l8.1-2.94v8.51c-.51.09-1.09.18-1.61.27-8.1,1.32-16.72.77-25.22-2.03h0ZM82.3,164.61C36.92,164.61,0,127.69,0,82.3S36.92,0,82.3,0s82.3,36.92,82.3,82.3-36.92,82.3-82.3,82.3ZM82.3,5C39.68,5,5,39.68,5,82.3s34.68,77.3,77.3,77.3,77.3-34.68,77.3-77.3S124.93,5,82.3,5Z" }) }) })
|
|
2221
2215
|
),
|
|
2222
2216
|
active: t,
|
|
2223
|
-
disabled:
|
|
2217
|
+
disabled: c
|
|
2224
2218
|
}
|
|
2225
|
-
),
|
|
2219
|
+
), Q2 = ({
|
|
2226
2220
|
active: t,
|
|
2227
2221
|
className: e = "",
|
|
2228
|
-
disabled:
|
|
2222
|
+
disabled: c
|
|
2229
2223
|
}) => /* @__PURE__ */ n.jsx(
|
|
2230
2224
|
x,
|
|
2231
2225
|
{
|
|
@@ -2269,12 +2263,12 @@ const P6 = () => {
|
|
|
2269
2263
|
)
|
|
2270
2264
|
),
|
|
2271
2265
|
active: t,
|
|
2272
|
-
disabled:
|
|
2266
|
+
disabled: c
|
|
2273
2267
|
}
|
|
2274
|
-
),
|
|
2268
|
+
), N2 = ({
|
|
2275
2269
|
active: t,
|
|
2276
2270
|
className: e = "",
|
|
2277
|
-
disabled:
|
|
2271
|
+
disabled: c
|
|
2278
2272
|
}) => /* @__PURE__ */ n.jsx(
|
|
2279
2273
|
x,
|
|
2280
2274
|
{
|
|
@@ -2318,12 +2312,12 @@ const P6 = () => {
|
|
|
2318
2312
|
)
|
|
2319
2313
|
),
|
|
2320
2314
|
active: t,
|
|
2321
|
-
disabled:
|
|
2315
|
+
disabled: c
|
|
2322
2316
|
}
|
|
2323
|
-
),
|
|
2317
|
+
), e8 = ({
|
|
2324
2318
|
active: t,
|
|
2325
2319
|
className: e = "",
|
|
2326
|
-
disabled:
|
|
2320
|
+
disabled: c
|
|
2327
2321
|
}) => /* @__PURE__ */ n.jsx(
|
|
2328
2322
|
x,
|
|
2329
2323
|
{
|
|
@@ -2367,12 +2361,12 @@ const P6 = () => {
|
|
|
2367
2361
|
)
|
|
2368
2362
|
),
|
|
2369
2363
|
active: t,
|
|
2370
|
-
disabled:
|
|
2364
|
+
disabled: c
|
|
2371
2365
|
}
|
|
2372
|
-
),
|
|
2366
|
+
), t8 = ({
|
|
2373
2367
|
active: t,
|
|
2374
2368
|
className: e = "",
|
|
2375
|
-
disabled:
|
|
2369
|
+
disabled: c
|
|
2376
2370
|
}) => /* @__PURE__ */ n.jsx(
|
|
2377
2371
|
x,
|
|
2378
2372
|
{
|
|
@@ -2416,12 +2410,12 @@ const P6 = () => {
|
|
|
2416
2410
|
)
|
|
2417
2411
|
),
|
|
2418
2412
|
active: t,
|
|
2419
|
-
disabled:
|
|
2413
|
+
disabled: c
|
|
2420
2414
|
}
|
|
2421
|
-
),
|
|
2415
|
+
), n8 = ({
|
|
2422
2416
|
active: t,
|
|
2423
2417
|
className: e = "",
|
|
2424
|
-
disabled:
|
|
2418
|
+
disabled: c
|
|
2425
2419
|
}) => /* @__PURE__ */ n.jsx(
|
|
2426
2420
|
x,
|
|
2427
2421
|
{
|
|
@@ -2465,14 +2459,14 @@ const P6 = () => {
|
|
|
2465
2459
|
)
|
|
2466
2460
|
),
|
|
2467
2461
|
active: t,
|
|
2468
|
-
disabled:
|
|
2462
|
+
disabled: c
|
|
2469
2463
|
}
|
|
2470
|
-
),
|
|
2464
|
+
), c8 = ({
|
|
2471
2465
|
active: t,
|
|
2472
2466
|
// Just to shut up the linter on this template. Prefer deleting this lint rule
|
|
2473
2467
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
2474
2468
|
className: e = "",
|
|
2475
|
-
disabled:
|
|
2469
|
+
disabled: c
|
|
2476
2470
|
}) => /* @__PURE__ */ n.jsx(
|
|
2477
2471
|
x,
|
|
2478
2472
|
{
|
|
@@ -2534,12 +2528,12 @@ const P6 = () => {
|
|
|
2534
2528
|
)
|
|
2535
2529
|
),
|
|
2536
2530
|
active: t,
|
|
2537
|
-
disabled:
|
|
2531
|
+
disabled: c
|
|
2538
2532
|
}
|
|
2539
|
-
),
|
|
2533
|
+
), s8 = ({
|
|
2540
2534
|
active: t,
|
|
2541
2535
|
className: e = "",
|
|
2542
|
-
disabled:
|
|
2536
|
+
disabled: c
|
|
2543
2537
|
}) => /* @__PURE__ */ n.jsx(
|
|
2544
2538
|
x,
|
|
2545
2539
|
{
|
|
@@ -2583,12 +2577,12 @@ const P6 = () => {
|
|
|
2583
2577
|
)
|
|
2584
2578
|
),
|
|
2585
2579
|
active: t,
|
|
2586
|
-
disabled:
|
|
2580
|
+
disabled: c
|
|
2587
2581
|
}
|
|
2588
|
-
),
|
|
2582
|
+
), o8 = ({
|
|
2589
2583
|
active: t,
|
|
2590
2584
|
className: e = "",
|
|
2591
|
-
disabled:
|
|
2585
|
+
disabled: c
|
|
2592
2586
|
}) => /* @__PURE__ */ n.jsx(
|
|
2593
2587
|
x,
|
|
2594
2588
|
{
|
|
@@ -2632,12 +2626,12 @@ const P6 = () => {
|
|
|
2632
2626
|
)
|
|
2633
2627
|
),
|
|
2634
2628
|
active: t,
|
|
2635
|
-
disabled:
|
|
2629
|
+
disabled: c
|
|
2636
2630
|
}
|
|
2637
|
-
),
|
|
2631
|
+
), r8 = ({
|
|
2638
2632
|
active: t,
|
|
2639
2633
|
className: e = "",
|
|
2640
|
-
disabled:
|
|
2634
|
+
disabled: c
|
|
2641
2635
|
}) => /* @__PURE__ */ n.jsx(
|
|
2642
2636
|
x,
|
|
2643
2637
|
{
|
|
@@ -2681,12 +2675,12 @@ const P6 = () => {
|
|
|
2681
2675
|
)
|
|
2682
2676
|
),
|
|
2683
2677
|
active: t,
|
|
2684
|
-
disabled:
|
|
2678
|
+
disabled: c
|
|
2685
2679
|
}
|
|
2686
|
-
),
|
|
2680
|
+
), l8 = ({
|
|
2687
2681
|
active: t,
|
|
2688
2682
|
className: e = "",
|
|
2689
|
-
disabled:
|
|
2683
|
+
disabled: c
|
|
2690
2684
|
}) => /* @__PURE__ */ n.jsx(
|
|
2691
2685
|
x,
|
|
2692
2686
|
{
|
|
@@ -2730,12 +2724,12 @@ const P6 = () => {
|
|
|
2730
2724
|
)
|
|
2731
2725
|
),
|
|
2732
2726
|
active: t,
|
|
2733
|
-
disabled:
|
|
2727
|
+
disabled: c
|
|
2734
2728
|
}
|
|
2735
|
-
),
|
|
2729
|
+
), i8 = ({
|
|
2736
2730
|
active: t,
|
|
2737
2731
|
className: e = "",
|
|
2738
|
-
disabled:
|
|
2732
|
+
disabled: c
|
|
2739
2733
|
}) => /* @__PURE__ */ n.jsx(
|
|
2740
2734
|
x,
|
|
2741
2735
|
{
|
|
@@ -2779,12 +2773,12 @@ const P6 = () => {
|
|
|
2779
2773
|
)
|
|
2780
2774
|
),
|
|
2781
2775
|
active: t,
|
|
2782
|
-
disabled:
|
|
2776
|
+
disabled: c
|
|
2783
2777
|
}
|
|
2784
|
-
),
|
|
2778
|
+
), a8 = ({
|
|
2785
2779
|
active: t,
|
|
2786
2780
|
className: e = "",
|
|
2787
|
-
disabled:
|
|
2781
|
+
disabled: c
|
|
2788
2782
|
}) => /* @__PURE__ */ n.jsx(
|
|
2789
2783
|
x,
|
|
2790
2784
|
{
|
|
@@ -2828,12 +2822,12 @@ const P6 = () => {
|
|
|
2828
2822
|
)
|
|
2829
2823
|
),
|
|
2830
2824
|
active: t,
|
|
2831
|
-
disabled:
|
|
2825
|
+
disabled: c
|
|
2832
2826
|
}
|
|
2833
|
-
),
|
|
2827
|
+
), u8 = ({
|
|
2834
2828
|
active: t,
|
|
2835
2829
|
className: e = "",
|
|
2836
|
-
disabled:
|
|
2830
|
+
disabled: c
|
|
2837
2831
|
}) => /* @__PURE__ */ n.jsx(
|
|
2838
2832
|
x,
|
|
2839
2833
|
{
|
|
@@ -2877,12 +2871,12 @@ const P6 = () => {
|
|
|
2877
2871
|
)
|
|
2878
2872
|
),
|
|
2879
2873
|
active: t,
|
|
2880
|
-
disabled:
|
|
2874
|
+
disabled: c
|
|
2881
2875
|
}
|
|
2882
|
-
),
|
|
2876
|
+
), d8 = ({
|
|
2883
2877
|
active: t,
|
|
2884
2878
|
className: e = "",
|
|
2885
|
-
disabled:
|
|
2879
|
+
disabled: c
|
|
2886
2880
|
}) => /* @__PURE__ */ n.jsx(
|
|
2887
2881
|
x,
|
|
2888
2882
|
{
|
|
@@ -2926,12 +2920,12 @@ const P6 = () => {
|
|
|
2926
2920
|
)
|
|
2927
2921
|
),
|
|
2928
2922
|
active: t,
|
|
2929
|
-
disabled:
|
|
2923
|
+
disabled: c
|
|
2930
2924
|
}
|
|
2931
|
-
),
|
|
2925
|
+
), v8 = ({
|
|
2932
2926
|
active: t,
|
|
2933
2927
|
className: e = "",
|
|
2934
|
-
disabled:
|
|
2928
|
+
disabled: c
|
|
2935
2929
|
}) => /* @__PURE__ */ n.jsx(
|
|
2936
2930
|
x,
|
|
2937
2931
|
{
|
|
@@ -2975,12 +2969,12 @@ const P6 = () => {
|
|
|
2975
2969
|
)
|
|
2976
2970
|
),
|
|
2977
2971
|
active: t,
|
|
2978
|
-
disabled:
|
|
2972
|
+
disabled: c
|
|
2979
2973
|
}
|
|
2980
|
-
),
|
|
2974
|
+
), h8 = ({
|
|
2981
2975
|
active: t,
|
|
2982
2976
|
className: e = "",
|
|
2983
|
-
disabled:
|
|
2977
|
+
disabled: c
|
|
2984
2978
|
}) => /* @__PURE__ */ n.jsx(
|
|
2985
2979
|
x,
|
|
2986
2980
|
{
|
|
@@ -3024,238 +3018,235 @@ const P6 = () => {
|
|
|
3024
3018
|
)
|
|
3025
3019
|
),
|
|
3026
3020
|
active: t,
|
|
3027
|
-
disabled:
|
|
3028
|
-
}
|
|
3029
|
-
),
|
|
3030
|
-
Alert:
|
|
3031
|
-
Camera:
|
|
3032
|
-
DownArrow:
|
|
3033
|
-
Ban:
|
|
3034
|
-
Check:
|
|
3035
|
-
Controller:
|
|
3036
|
-
Elipses:
|
|
3037
|
-
Flag:
|
|
3038
|
-
Gear:
|
|
3039
|
-
Glass:
|
|
3040
|
-
Hdmi:
|
|
3041
|
-
Laptop:
|
|
3042
|
-
LeftArrow:
|
|
3043
|
-
Light:
|
|
3044
|
-
Mic:
|
|
3045
|
-
Moon:
|
|
3046
|
-
Playstation:
|
|
3047
|
-
Podium:
|
|
3048
|
-
Power:
|
|
3049
|
-
Privacy:
|
|
3050
|
-
Question:
|
|
3051
|
-
RightArrow:
|
|
3052
|
-
RoomPC:
|
|
3053
|
-
Shade:
|
|
3054
|
-
Sun:
|
|
3055
|
-
UpArrow:
|
|
3056
|
-
VolDown:
|
|
3057
|
-
VolMute:
|
|
3058
|
-
VolUp:
|
|
3059
|
-
Wireless:
|
|
3060
|
-
X:
|
|
3061
|
-
Xbox:
|
|
3021
|
+
disabled: c
|
|
3022
|
+
}
|
|
3023
|
+
), g8 = {
|
|
3024
|
+
Alert: D2,
|
|
3025
|
+
Camera: O2,
|
|
3026
|
+
DownArrow: k2,
|
|
3027
|
+
Ban: P2,
|
|
3028
|
+
Check: V2,
|
|
3029
|
+
Controller: F2,
|
|
3030
|
+
Elipses: U2,
|
|
3031
|
+
Flag: W2,
|
|
3032
|
+
Gear: H2,
|
|
3033
|
+
Glass: K2,
|
|
3034
|
+
Hdmi: G2,
|
|
3035
|
+
Laptop: q2,
|
|
3036
|
+
LeftArrow: Y2,
|
|
3037
|
+
Light: J2,
|
|
3038
|
+
Mic: h8,
|
|
3039
|
+
Moon: z2,
|
|
3040
|
+
Playstation: X2,
|
|
3041
|
+
Podium: Q2,
|
|
3042
|
+
Power: N2,
|
|
3043
|
+
Privacy: e8,
|
|
3044
|
+
Question: t8,
|
|
3045
|
+
RightArrow: n8,
|
|
3046
|
+
RoomPC: c8,
|
|
3047
|
+
Shade: s8,
|
|
3048
|
+
Sun: o8,
|
|
3049
|
+
UpArrow: r8,
|
|
3050
|
+
VolDown: l8,
|
|
3051
|
+
VolMute: i8,
|
|
3052
|
+
VolUp: a8,
|
|
3053
|
+
Wireless: u8,
|
|
3054
|
+
X: d8,
|
|
3055
|
+
Xbox: v8
|
|
3062
3056
|
};
|
|
3063
|
-
function
|
|
3057
|
+
function T6({
|
|
3064
3058
|
name: t,
|
|
3065
|
-
iconsDictionary: e =
|
|
3066
|
-
...
|
|
3059
|
+
iconsDictionary: e = g8,
|
|
3060
|
+
...c
|
|
3067
3061
|
}) {
|
|
3068
3062
|
const o = e[t] ?? null;
|
|
3069
|
-
return o || console.error(`Icon ${t} not found in dictionary`), /* @__PURE__ */ n.jsx(
|
|
3063
|
+
return o || console.error(`Icon ${t} not found in dictionary`), /* @__PURE__ */ n.jsx(T2, { multiIcon: o, ...c });
|
|
3070
3064
|
}
|
|
3071
|
-
const
|
|
3072
|
-
grid:
|
|
3073
|
-
header:
|
|
3074
|
-
content:
|
|
3075
|
-
footer:
|
|
3076
|
-
volume:
|
|
3077
|
-
},
|
|
3078
|
-
/* @__PURE__ */ n.jsx("div", { className:
|
|
3079
|
-
/* @__PURE__ */ n.jsx("div", { className:
|
|
3080
|
-
l && /* @__PURE__ */ n.jsx("div", { className:
|
|
3081
|
-
/* @__PURE__ */ n.jsx("div", { className:
|
|
3082
|
-
] }),
|
|
3065
|
+
const f8 = "_grid_1cmpp_1", w8 = "_header_1cmpp_11", p8 = "_content_1cmpp_17", x8 = "_footer_1cmpp_23", M8 = "_volume_1cmpp_29", c1 = {
|
|
3066
|
+
grid: f8,
|
|
3067
|
+
header: w8,
|
|
3068
|
+
content: p8,
|
|
3069
|
+
footer: x8,
|
|
3070
|
+
volume: M8
|
|
3071
|
+
}, D6 = ({ header: t, footer: e, content: c, volume: o, showVolume: l }) => /* @__PURE__ */ n.jsxs("div", { className: c1.grid, children: [
|
|
3072
|
+
/* @__PURE__ */ n.jsx("div", { className: c1.header, children: t }),
|
|
3073
|
+
/* @__PURE__ */ n.jsx("div", { className: c1.content, children: c }),
|
|
3074
|
+
l && /* @__PURE__ */ n.jsx("div", { className: c1.volume, children: o }),
|
|
3075
|
+
/* @__PURE__ */ n.jsx("div", { className: c1.footer, children: e })
|
|
3076
|
+
] }), m8 = "_grid_11w5q_1", Z8 = "_header_11w5q_11", j8 = "_content_11w5q_17", d1 = {
|
|
3077
|
+
grid: m8,
|
|
3078
|
+
header: Z8,
|
|
3079
|
+
content: j8,
|
|
3080
|
+
"left-nav": "_left-nav_11w5q_23"
|
|
3081
|
+
}, P6 = ({ className: t, header: e, content: c, leftNav: o }) => /* @__PURE__ */ n.jsxs("div", { className: `${t} ${d1.grid}`, children: [
|
|
3082
|
+
/* @__PURE__ */ n.jsx("div", { className: d1.header, children: e }),
|
|
3083
|
+
o && /* @__PURE__ */ n.jsx("div", { className: d1.leftNav, children: o }),
|
|
3084
|
+
/* @__PURE__ */ n.jsx("div", { className: d1.content, children: c })
|
|
3085
|
+
] }), C8 = "_grid_1uwfo_1", S8 = "_header_1uwfo_11", b8 = "_content_1uwfo_17", S1 = {
|
|
3083
3086
|
grid: C8,
|
|
3084
3087
|
header: S8,
|
|
3085
|
-
content: b8
|
|
3086
|
-
|
|
3087
|
-
|
|
3088
|
-
/* @__PURE__ */ n.jsx("div", { className:
|
|
3089
|
-
o && /* @__PURE__ */ n.jsx("div", { className: h1.leftNav, children: o }),
|
|
3090
|
-
/* @__PURE__ */ n.jsx("div", { className: h1.content, children: s })
|
|
3091
|
-
] }), I8 = "_grid_1uwfo_1", y8 = "_header_1uwfo_11", R8 = "_content_1uwfo_17", y1 = {
|
|
3092
|
-
grid: I8,
|
|
3093
|
-
header: y8,
|
|
3094
|
-
content: R8
|
|
3095
|
-
}, k6 = ({ className: t, header: e, content: s }) => /* @__PURE__ */ n.jsxs("div", { className: `${t} ${y1.grid}`, children: [
|
|
3096
|
-
/* @__PURE__ */ n.jsx("div", { className: y1.header, children: e }),
|
|
3097
|
-
/* @__PURE__ */ n.jsx("div", { className: y1.content, children: s })
|
|
3088
|
+
content: b8
|
|
3089
|
+
}, O6 = ({ className: t, header: e, content: c }) => /* @__PURE__ */ n.jsxs("div", { className: `${t} ${S1.grid}`, children: [
|
|
3090
|
+
/* @__PURE__ */ n.jsx("div", { className: S1.header, children: e }),
|
|
3091
|
+
/* @__PURE__ */ n.jsx("div", { className: S1.content, children: c })
|
|
3098
3092
|
] });
|
|
3099
|
-
function
|
|
3093
|
+
function V6() {
|
|
3100
3094
|
return console.log(location.pathname), location.pathname;
|
|
3101
3095
|
}
|
|
3102
|
-
var
|
|
3103
|
-
class
|
|
3104
|
-
constructor(e,
|
|
3105
|
-
|
|
3106
|
-
|
|
3107
|
-
this.path = e, this.handler =
|
|
3096
|
+
var I8 = /* @__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))(I8 || {});
|
|
3097
|
+
class F6 {
|
|
3098
|
+
constructor(e, c) {
|
|
3099
|
+
_(this, "path");
|
|
3100
|
+
_(this, "handler");
|
|
3101
|
+
this.path = e, this.handler = c;
|
|
3108
3102
|
}
|
|
3109
3103
|
}
|
|
3110
|
-
const
|
|
3111
|
-
class
|
|
3104
|
+
const k6 = "$off";
|
|
3105
|
+
class U6 {
|
|
3112
3106
|
constructor() {
|
|
3113
|
-
|
|
3114
|
-
|
|
3115
|
-
|
|
3107
|
+
_(this, "name", "");
|
|
3108
|
+
_(this, "iconUrl", "");
|
|
3109
|
+
_(this, "channel", "");
|
|
3116
3110
|
}
|
|
3117
3111
|
}
|
|
3118
|
-
class
|
|
3112
|
+
class W6 {
|
|
3119
3113
|
constructor() {
|
|
3120
|
-
|
|
3121
|
-
|
|
3114
|
+
_(this, "deviceKey");
|
|
3115
|
+
_(this, "deviceType");
|
|
3122
3116
|
}
|
|
3123
3117
|
}
|
|
3124
|
-
class
|
|
3118
|
+
class H6 {
|
|
3125
3119
|
constructor() {
|
|
3126
|
-
|
|
3127
|
-
|
|
3120
|
+
_(this, "deviceKey");
|
|
3121
|
+
_(this, "deviceType");
|
|
3128
3122
|
}
|
|
3129
3123
|
}
|
|
3130
|
-
class
|
|
3124
|
+
class K6 {
|
|
3131
3125
|
constructor() {
|
|
3132
|
-
|
|
3133
|
-
|
|
3134
|
-
|
|
3126
|
+
_(this, "currentShareText");
|
|
3127
|
+
_(this, "enabled");
|
|
3128
|
+
_(this, "isSharing");
|
|
3135
3129
|
}
|
|
3136
3130
|
}
|
|
3137
3131
|
export {
|
|
3138
|
-
|
|
3139
|
-
|
|
3140
|
-
|
|
3141
|
-
|
|
3142
|
-
|
|
3143
|
-
|
|
3144
|
-
|
|
3145
|
-
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
|
|
3150
|
-
|
|
3151
|
-
|
|
3152
|
-
|
|
3153
|
-
|
|
3154
|
-
|
|
3155
|
-
|
|
3156
|
-
|
|
3157
|
-
|
|
3158
|
-
|
|
3159
|
-
|
|
3160
|
-
|
|
3161
|
-
|
|
3162
|
-
|
|
3163
|
-
|
|
3164
|
-
|
|
3165
|
-
|
|
3166
|
-
|
|
3167
|
-
|
|
3168
|
-
|
|
3169
|
-
|
|
3170
|
-
|
|
3171
|
-
|
|
3172
|
-
|
|
3173
|
-
|
|
3174
|
-
|
|
3175
|
-
|
|
3176
|
-
|
|
3177
|
-
|
|
3132
|
+
H6 as AccessoryDeviceConfiguration,
|
|
3133
|
+
v6 as Clock,
|
|
3134
|
+
I8 as DaysOfWeek,
|
|
3135
|
+
W6 as EnvironmentalDeviceConfiguration,
|
|
3136
|
+
B6 as ErrorBox,
|
|
3137
|
+
T2 as IconButton,
|
|
3138
|
+
D2 as IconMultiAlert,
|
|
3139
|
+
P2 as IconMultiBan,
|
|
3140
|
+
O2 as IconMultiCamera,
|
|
3141
|
+
V2 as IconMultiCheck,
|
|
3142
|
+
F2 as IconMultiController,
|
|
3143
|
+
k2 as IconMultiDownArrow,
|
|
3144
|
+
U2 as IconMultiElipses,
|
|
3145
|
+
W2 as IconMultiFlag,
|
|
3146
|
+
H2 as IconMultiGear,
|
|
3147
|
+
K2 as IconMultiGlass,
|
|
3148
|
+
G2 as IconMultiHdmi,
|
|
3149
|
+
q2 as IconMultiLaptop,
|
|
3150
|
+
Y2 as IconMultiLeftArrow,
|
|
3151
|
+
J2 as IconMultiLight,
|
|
3152
|
+
z2 as IconMultiMoon,
|
|
3153
|
+
X2 as IconMultiPlaystation,
|
|
3154
|
+
Q2 as IconMultiPodium,
|
|
3155
|
+
N2 as IconMultiPower,
|
|
3156
|
+
e8 as IconMultiPrivacy,
|
|
3157
|
+
t8 as IconMultiQuestion,
|
|
3158
|
+
n8 as IconMultiRightArrow,
|
|
3159
|
+
c8 as IconMultiRoomPC,
|
|
3160
|
+
s8 as IconMultiShade,
|
|
3161
|
+
o8 as IconMultiSun,
|
|
3162
|
+
r8 as IconMultiUpArrow,
|
|
3163
|
+
l8 as IconMultiVolDown,
|
|
3164
|
+
i8 as IconMultiVolMute,
|
|
3165
|
+
a8 as IconMultiVolUp,
|
|
3166
|
+
u8 as IconMultiWireless,
|
|
3167
|
+
d8 as IconMultiX,
|
|
3168
|
+
v8 as IconMultiXbox,
|
|
3169
|
+
D6 as MainLayout,
|
|
3170
|
+
F6 as MessageHandler,
|
|
3171
|
+
n6 as MobileControlProvider,
|
|
3178
3172
|
x as MultiStateIconContainer,
|
|
3179
|
-
|
|
3180
|
-
|
|
3181
|
-
|
|
3182
|
-
|
|
3183
|
-
|
|
3184
|
-
|
|
3185
|
-
|
|
3186
|
-
|
|
3187
|
-
|
|
3188
|
-
|
|
3173
|
+
T6 as NamedIconButton,
|
|
3174
|
+
U6 as PresetChannel,
|
|
3175
|
+
K6 as ShareState,
|
|
3176
|
+
P6 as TechLayout,
|
|
3177
|
+
O6 as TechPinLayout,
|
|
3178
|
+
V6 as getBaseLocation,
|
|
3179
|
+
b1 as httpClient,
|
|
3180
|
+
k6 as roomOffSourceKey,
|
|
3181
|
+
F as store,
|
|
3182
|
+
A8 as uiActions,
|
|
3189
3183
|
v2 as uiReducer,
|
|
3190
|
-
|
|
3184
|
+
B8 as useApiPath,
|
|
3191
3185
|
g2 as useAppConfig,
|
|
3192
|
-
|
|
3193
|
-
|
|
3186
|
+
m2 as useAppDispatch,
|
|
3187
|
+
s6 as useAvrControl,
|
|
3194
3188
|
M2 as useClientId,
|
|
3195
|
-
|
|
3196
|
-
|
|
3197
|
-
|
|
3189
|
+
_2 as useDeviceIBasicVolumeWithFeedback,
|
|
3190
|
+
o6 as useEndpoint,
|
|
3191
|
+
L6 as useGetAllDeviceStateFromRoomConfiguration,
|
|
3198
3192
|
f2 as useGetAllDevices,
|
|
3199
|
-
|
|
3200
|
-
|
|
3201
|
-
|
|
3202
|
-
|
|
3203
|
-
|
|
3204
|
-
|
|
3205
|
-
|
|
3206
|
-
|
|
3207
|
-
|
|
3208
|
-
|
|
3209
|
-
|
|
3210
|
-
|
|
3211
|
-
|
|
3212
|
-
|
|
3213
|
-
|
|
3214
|
-
|
|
3215
|
-
|
|
3216
|
-
|
|
3217
|
-
|
|
3218
|
-
|
|
3219
|
-
|
|
3220
|
-
|
|
3221
|
-
|
|
3222
|
-
|
|
3223
|
-
|
|
3224
|
-
|
|
3225
|
-
|
|
3226
|
-
|
|
3227
|
-
|
|
3228
|
-
|
|
3229
|
-
|
|
3230
|
-
|
|
3231
|
-
|
|
3232
|
-
|
|
3233
|
-
|
|
3234
|
-
|
|
3235
|
-
|
|
3236
|
-
|
|
3237
|
-
|
|
3238
|
-
|
|
3239
|
-
|
|
3240
|
-
|
|
3241
|
-
|
|
3242
|
-
|
|
3193
|
+
e6 as useGetCurrentPopoverIdForGroup,
|
|
3194
|
+
L as useGetDevice,
|
|
3195
|
+
c6 as useGetIBasicVolumeWithFeedback,
|
|
3196
|
+
J8 as useGetRoomDisplayStates,
|
|
3197
|
+
z8 as useGetZoomRoomControllerKey,
|
|
3198
|
+
v3 as useIBasicVolumeWithFeedback,
|
|
3199
|
+
r6 as useIChannelMessenger,
|
|
3200
|
+
l6 as useIColor,
|
|
3201
|
+
i6 as useICommunicationMonitor,
|
|
3202
|
+
a6 as useIDPad,
|
|
3203
|
+
u6 as useIDeviceInfoMessenger,
|
|
3204
|
+
d6 as useIDvr,
|
|
3205
|
+
h6 as useIEssentialsRoomCombiner,
|
|
3206
|
+
h3 as useIHasPowerControl,
|
|
3207
|
+
y1 as useIHasSelectableItems,
|
|
3208
|
+
g6 as useILevelControls,
|
|
3209
|
+
f6 as useILightingScenes,
|
|
3210
|
+
w6 as useIMatrixRouting,
|
|
3211
|
+
p6 as useIMcCiscoCodecUserInterfaceAppControl,
|
|
3212
|
+
x6 as useINumeric,
|
|
3213
|
+
M6 as useIProjectorScreenLiftControl,
|
|
3214
|
+
m6 as useIRoomEventSchedule,
|
|
3215
|
+
Z6 as useIRunDirectRouteAction,
|
|
3216
|
+
j6 as useIRunRouteAction,
|
|
3217
|
+
C6 as useISetTopBoxControls,
|
|
3218
|
+
S6 as useIShadesOpenCloseStop,
|
|
3219
|
+
b6 as useIShutdownPromptTimer,
|
|
3220
|
+
I6 as useISwitchedOutput,
|
|
3221
|
+
y6 as useITechPassword,
|
|
3222
|
+
R6 as useITransport,
|
|
3223
|
+
Z2 as useInitialize,
|
|
3224
|
+
E6 as useMobileControlTouchpanelController,
|
|
3225
|
+
E2 as usePressHoldRelease,
|
|
3226
|
+
q8 as useRoomAdvancedSharingActive,
|
|
3227
|
+
U8 as useRoomCodecContentDestinationKey,
|
|
3228
|
+
T8 as useRoomConfiguration,
|
|
3229
|
+
V8 as useRoomDestinationList,
|
|
3230
|
+
O8 as useRoomDestinations,
|
|
3231
|
+
F8 as useRoomEnvironmentalDevices,
|
|
3232
|
+
$6 as useRoomIBasicVolumeWithFeedback,
|
|
3233
|
+
W8 as useRoomInCall,
|
|
3234
|
+
K8 as useRoomIsCoolingDown,
|
|
3235
|
+
G8 as useRoomIsOn,
|
|
3236
|
+
H8 as useRoomIsWarmingUp,
|
|
3243
3237
|
x2 as useRoomKey,
|
|
3244
|
-
|
|
3245
|
-
|
|
3246
|
-
|
|
3247
|
-
|
|
3248
|
-
|
|
3238
|
+
D8 as useRoomName,
|
|
3239
|
+
k8 as useRoomProgramAudioDestinationKey,
|
|
3240
|
+
Y8 as useRoomShareState,
|
|
3241
|
+
P8 as useRoomSourceList,
|
|
3242
|
+
R1 as useRoomState,
|
|
3249
3243
|
w2 as useRoomVolume,
|
|
3250
|
-
|
|
3251
|
-
|
|
3252
|
-
|
|
3253
|
-
|
|
3254
|
-
|
|
3255
|
-
|
|
3256
|
-
|
|
3257
|
-
A6 as useTwoWayDisplayBase,
|
|
3258
|
-
j2 as useUserCode,
|
|
3259
|
-
I as useWebsocketContext,
|
|
3244
|
+
Q8 as useShowIncomingCallModal,
|
|
3245
|
+
N8 as useShowModal,
|
|
3246
|
+
t6 as useShowPopoverById,
|
|
3247
|
+
X8 as useShowShutdownModal,
|
|
3248
|
+
A6 as useTimeAndDate,
|
|
3249
|
+
_6 as useTwoWayDisplayBase,
|
|
3250
|
+
y as useWebsocketContext,
|
|
3260
3251
|
p2 as useWsIsConnected
|
|
3261
3252
|
};
|