@pepperdash/mobile-control-react-app-core 1.5.0 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/mobile-control-react-app-core.es.js +784 -713
- package/dist/mobile-control-react-app-core.umd.js +15 -10
- package/dist/shared/Buttons/IconButton/IconButton.d.ts +2 -1
- package/dist/shared/Buttons/IconButton/IconButton.d.ts.map +1 -1
- package/dist/shared/Buttons/NamedIconButton/NamedIconButton.d.ts +6 -2
- package/dist/shared/Buttons/NamedIconButton/NamedIconButton.d.ts.map +1 -1
- package/dist/shared/Icons/iconsDictionary.d.ts +2 -3
- package/dist/shared/Icons/iconsDictionary.d.ts.map +1 -1
- package/dist/shared/hooks/interfaces/index.d.ts +1 -0
- package/dist/shared/hooks/interfaces/index.d.ts.map +1 -1
- package/dist/shared/hooks/interfaces/useIShutdownPromptTimer.d.ts +10 -0
- package/dist/shared/hooks/interfaces/useIShutdownPromptTimer.d.ts.map +1 -0
- package/dist/shared/hooks/useGetDeviceStateFromRoomConfiguration.d.ts.map +1 -1
- package/dist/shared/layout/habanero/TechLayout/TechLayout.d.ts +1 -1
- package/dist/shared/layout/habanero/TechLayout/TechLayout.d.ts.map +1 -1
- package/dist/shared/layout/habanero/TechPinLayout/TechPinLayout.d.ts +9 -0
- package/dist/shared/layout/habanero/TechPinLayout/TechPinLayout.d.ts.map +1 -0
- package/dist/shared/layout/habanero/index.d.ts +1 -0
- package/dist/shared/layout/habanero/index.d.ts.map +1 -1
- package/dist/store/rooms/rooms.slice.d.ts +10 -2
- package/dist/store/rooms/rooms.slice.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/types/state/message.d.ts +3 -0
- package/dist/types/state/message.d.ts.map +1 -1
- package/dist/types/state/state/IShutdownPromptTimerState.d.ts +7 -0
- package/dist/types/state/state/IShutdownPromptTimerState.d.ts.map +1 -0
- package/dist/types/state/state/RoomState.d.ts +7 -1
- package/dist/types/state/state/RoomState.d.ts.map +1 -1
- package/dist/types/state/state/index.d.ts +1 -0
- package/dist/types/state/state/index.d.ts.map +1 -1
- package/dist/utils/WebsocketContext.d.ts +10 -10
- package/dist/utils/WebsocketContext.d.ts.map +1 -1
- package/dist/utils/WebsocketProvider.d.ts +11 -0
- package/dist/utils/WebsocketProvider.d.ts.map +1 -0
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/useWebsocketContext.d.ts +1 -9
- package/dist/utils/useWebsocketContext.d.ts.map +1 -1
- package/package.json +5 -5
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
import
|
|
5
|
-
import { createSlice as
|
|
6
|
-
import { useSelector as
|
|
7
|
-
import * as
|
|
8
|
-
import
|
|
9
|
-
const
|
|
1
|
+
var U1 = Object.defineProperty;
|
|
2
|
+
var H1 = (t, e, r) => e in t ? U1(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
|
|
3
|
+
var R = (t, e, r) => (H1(t, typeof e != "symbol" ? e + "" : e, r), r);
|
|
4
|
+
import K1 from "axios";
|
|
5
|
+
import { createSlice as r3, combineReducers as G1, configureStore as t1, createSelector as q1 } from "@reduxjs/toolkit";
|
|
6
|
+
import { useSelector as Y1, useDispatch as J1, Provider as z1 } from "react-redux";
|
|
7
|
+
import * as n1 from "lodash";
|
|
8
|
+
import r1, { createContext as X1, useState as h3, useRef as n3, useCallback as d3, useEffect as t3, useContext as Q1 } from "react";
|
|
9
|
+
const N1 = {
|
|
10
10
|
config: {
|
|
11
11
|
enableDev: !1,
|
|
12
12
|
apiPath: "",
|
|
@@ -16,29 +16,29 @@ const Y1 = {
|
|
|
16
16
|
loginMode: "",
|
|
17
17
|
modes: {}
|
|
18
18
|
}
|
|
19
|
-
},
|
|
19
|
+
}, o1 = r3({
|
|
20
20
|
name: "appConfig",
|
|
21
|
-
initialState:
|
|
21
|
+
initialState: N1,
|
|
22
22
|
reducers: {
|
|
23
23
|
setAppConfig(t, e) {
|
|
24
24
|
t.config = e.payload;
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
}),
|
|
27
|
+
}), e2 = o1.actions, t2 = o1.reducer, n2 = {}, s1 = r3({
|
|
28
28
|
name: "devices",
|
|
29
|
-
initialState:
|
|
29
|
+
initialState: n2,
|
|
30
30
|
reducers: {
|
|
31
31
|
setDeviceState(t, e) {
|
|
32
32
|
const r = e.payload.type, s = r.slice(r.lastIndexOf("/") + 1);
|
|
33
33
|
if (!s)
|
|
34
34
|
return;
|
|
35
|
-
const l = e.payload.content, a = t[s] ?? {}, d =
|
|
35
|
+
const l = e.payload.content, a = t[s] ?? {}, d = n1.merge(a, l);
|
|
36
36
|
return t[s] = d, t;
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
|
-
}),
|
|
39
|
+
}), r2 = s1.actions, o2 = s1.reducer, s2 = {}, c1 = r3({
|
|
40
40
|
name: "rooms",
|
|
41
|
-
initialState:
|
|
41
|
+
initialState: s2,
|
|
42
42
|
reducers: {
|
|
43
43
|
setRoomState(t, e) {
|
|
44
44
|
const r = e.payload.type, s = r.slice(r.lastIndexOf("/") + 1);
|
|
@@ -46,11 +46,11 @@ const Y1 = {
|
|
|
46
46
|
return;
|
|
47
47
|
const l = e.payload.content;
|
|
48
48
|
console.log(l);
|
|
49
|
-
const a = t[s] ?? {}, d =
|
|
49
|
+
const a = t[s] ?? {}, d = n1.merge(a, l);
|
|
50
50
|
return t[s] = d, console.log(t), t;
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
|
-
}),
|
|
53
|
+
}), c2 = c1.actions, l2 = c1.reducer, i2 = {
|
|
54
54
|
apiVersion: "",
|
|
55
55
|
serverIsRunningOnProcessorHardware: !1,
|
|
56
56
|
websocket: {
|
|
@@ -69,9 +69,9 @@ const Y1 = {
|
|
|
69
69
|
userCode: "",
|
|
70
70
|
qrUrl: ""
|
|
71
71
|
}
|
|
72
|
-
},
|
|
72
|
+
}, l1 = r3({
|
|
73
73
|
name: "runtimeConfig",
|
|
74
|
-
initialState:
|
|
74
|
+
initialState: i2,
|
|
75
75
|
reducers: {
|
|
76
76
|
setRuntimeConfig(t, e) {
|
|
77
77
|
t.apiVersion = e.payload.apiVersion, t.serverIsRunningOnProcessorHardware = e.payload.serverIsRunningOnProcessorHardware;
|
|
@@ -95,15 +95,15 @@ const Y1 = {
|
|
|
95
95
|
t.roomData.userCode = e.payload.userCode, t.roomData.qrUrl = e.payload.qrUrl;
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
|
-
}),
|
|
98
|
+
}), K = l1.actions, a2 = l1.reducer, u2 = {
|
|
99
99
|
modalVisibility: {
|
|
100
100
|
showShutdownModal: !1,
|
|
101
101
|
showIncomingCallModal: !1
|
|
102
102
|
},
|
|
103
103
|
popoverVisibility: {}
|
|
104
|
-
},
|
|
104
|
+
}, i1 = r3({
|
|
105
105
|
name: "ui",
|
|
106
|
-
initialState:
|
|
106
|
+
initialState: u2,
|
|
107
107
|
reducers: {
|
|
108
108
|
clearAllModals(t) {
|
|
109
109
|
Object.entries(t.modalVisibility).forEach(([e]) => {
|
|
@@ -125,99 +125,99 @@ const Y1 = {
|
|
|
125
125
|
}), t.popoverVisibility[e.payload.popoverGroup][e.payload.popoverId] = e.payload.value;
|
|
126
126
|
}
|
|
127
127
|
}
|
|
128
|
-
}),
|
|
129
|
-
appConfig:
|
|
130
|
-
runtimeConfig:
|
|
131
|
-
rooms:
|
|
132
|
-
devices:
|
|
133
|
-
ui:
|
|
134
|
-
}),
|
|
135
|
-
reducer:
|
|
136
|
-
}),
|
|
137
|
-
function
|
|
138
|
-
return
|
|
128
|
+
}), E8 = i1.actions, d2 = i1.reducer, a1 = G1({
|
|
129
|
+
appConfig: t2,
|
|
130
|
+
runtimeConfig: a2,
|
|
131
|
+
rooms: l2,
|
|
132
|
+
devices: o2,
|
|
133
|
+
ui: d2
|
|
134
|
+
}), v2 = t1({
|
|
135
|
+
reducer: a1
|
|
136
|
+
}), m = Y1, h2 = () => m((t) => t.appConfig.config), _8 = () => m((t) => t.appConfig.config.apiPath), g2 = () => m((t) => t.devices);
|
|
137
|
+
function $(t) {
|
|
138
|
+
return m((e) => e.devices[t] ? e.devices[t] : void 0);
|
|
139
139
|
}
|
|
140
|
-
const
|
|
140
|
+
const L8 = (t) => m(
|
|
141
141
|
(e) => {
|
|
142
142
|
var r;
|
|
143
143
|
return e.rooms[t] ? (r = e.rooms[t]) == null ? void 0 : r.configuration : void 0;
|
|
144
144
|
}
|
|
145
|
-
),
|
|
145
|
+
), u1 = (t) => m(
|
|
146
146
|
(e) => e.rooms[t] ? e.rooms[t] : void 0
|
|
147
|
-
),
|
|
147
|
+
), $8 = (t) => m(
|
|
148
148
|
(e) => {
|
|
149
149
|
var r;
|
|
150
150
|
return e.rooms[t] ? (r = e.rooms[t]) == null ? void 0 : r.name : void 0;
|
|
151
151
|
}
|
|
152
|
-
),
|
|
152
|
+
), f2 = (t, e) => m(
|
|
153
153
|
(r) => {
|
|
154
154
|
var s;
|
|
155
155
|
return r.rooms[t] ? (s = r.rooms[t]) == null ? void 0 : s.volumes[e] : void 0;
|
|
156
156
|
}
|
|
157
|
-
),
|
|
157
|
+
), T8 = (t) => m(
|
|
158
158
|
(e) => {
|
|
159
159
|
var r, s;
|
|
160
160
|
return e.rooms[t] ? (s = (r = e.rooms[t]) == null ? void 0 : r.configuration) == null ? void 0 : s.sourceList : void 0;
|
|
161
161
|
}
|
|
162
|
-
),
|
|
162
|
+
), A8 = (t) => m(
|
|
163
163
|
(e) => {
|
|
164
164
|
var r, s;
|
|
165
165
|
return e.rooms[t] ? (s = (r = e.rooms[t]) == null ? void 0 : r.configuration) == null ? void 0 : s.destinations : void 0;
|
|
166
166
|
}
|
|
167
|
-
),
|
|
167
|
+
), B8 = (t) => m(
|
|
168
168
|
(e) => {
|
|
169
169
|
var r, s;
|
|
170
170
|
return e.rooms[t] ? (s = (r = e.rooms[t]) == null ? void 0 : r.configuration) == null ? void 0 : s.destinationList : void 0;
|
|
171
171
|
}
|
|
172
|
-
),
|
|
172
|
+
), D8 = (t) => m(
|
|
173
173
|
(e) => {
|
|
174
174
|
var r, s;
|
|
175
175
|
return e.rooms[t] ? (s = (r = e.rooms[t]) == null ? void 0 : r.configuration) == null ? void 0 : s.environmentalDevices : void 0;
|
|
176
176
|
}
|
|
177
|
-
),
|
|
177
|
+
), O8 = (t) => m(
|
|
178
178
|
(e) => {
|
|
179
179
|
var r, s, l, a, d, f, u, C;
|
|
180
180
|
return (s = (r = e.rooms[t]) == null ? void 0 : r.configuration) != null && s.destinationList.programAudio ? (d = (a = (l = e.rooms[t]) == null ? void 0 : l.configuration) == null ? void 0 : a.destinationList.programAudio) == null ? void 0 : d.sinkKey : ((C = (u = (f = e.rooms[t]) == null ? void 0 : f.configuration) == null ? void 0 : u.destinationList.defaultDisplay) == null ? void 0 : C.sinkKey) || "";
|
|
181
181
|
}
|
|
182
|
-
),
|
|
182
|
+
), P8 = (t) => m(
|
|
183
183
|
(e) => {
|
|
184
184
|
var r, s, l;
|
|
185
185
|
return e.rooms[t] ? (l = (s = (r = e.rooms[t]) == null ? void 0 : r.configuration) == null ? void 0 : s.destinationList.codecContent) == null ? void 0 : l.sinkKey : void 0;
|
|
186
186
|
}
|
|
187
|
-
),
|
|
187
|
+
), V8 = (t) => m(
|
|
188
188
|
(e) => {
|
|
189
189
|
var r;
|
|
190
190
|
return e.rooms[t] ? (r = e.rooms[t]) == null ? void 0 : r.isInCall : void 0;
|
|
191
191
|
}
|
|
192
|
-
),
|
|
192
|
+
), k8 = (t) => m(
|
|
193
193
|
(e) => {
|
|
194
194
|
var r;
|
|
195
195
|
return e.rooms[t] ? (r = e.rooms[t]) == null ? void 0 : r.isWarmingUp : void 0;
|
|
196
196
|
}
|
|
197
|
-
),
|
|
197
|
+
), F8 = (t) => m(
|
|
198
198
|
(e) => {
|
|
199
199
|
var r;
|
|
200
200
|
return e.rooms[t] ? (r = e.rooms[t]) == null ? void 0 : r.isCoolingDown : void 0;
|
|
201
201
|
}
|
|
202
|
-
),
|
|
202
|
+
), W8 = (t) => m(
|
|
203
203
|
(e) => {
|
|
204
204
|
var r;
|
|
205
205
|
return e.rooms[t] ? (r = e.rooms[t]) == null ? void 0 : r.isOn : void 0;
|
|
206
206
|
}
|
|
207
|
-
),
|
|
207
|
+
), U8 = (t) => m(
|
|
208
208
|
(e) => {
|
|
209
209
|
var r;
|
|
210
210
|
return e.rooms[t] ? (r = e.rooms[t]) == null ? void 0 : r.advancedSharingActive : void 0;
|
|
211
211
|
}
|
|
212
|
-
),
|
|
212
|
+
), H8 = (t) => m(
|
|
213
213
|
(e) => {
|
|
214
214
|
var r;
|
|
215
215
|
return e.rooms[t] ? (r = e.rooms[t]) == null ? void 0 : r.share : void 0;
|
|
216
216
|
}
|
|
217
|
-
),
|
|
217
|
+
), K8 = (t) => q1(
|
|
218
218
|
[
|
|
219
219
|
(e, r) => r,
|
|
220
|
-
|
|
220
|
+
g2,
|
|
221
221
|
(e) => {
|
|
222
222
|
var r, s;
|
|
223
223
|
return (s = (r = e.rooms[t]) == null ? void 0 : r.configuration) == null ? void 0 : s.destinations;
|
|
@@ -229,33 +229,33 @@ const C8 = (t) => M(
|
|
|
229
229
|
const l = Object.entries(s).filter(([d]) => d !== "programAudio" && d !== "codecContent").map(([, d]) => d);
|
|
230
230
|
return Object.values(r).filter((d) => Object.values(l).includes(d.key));
|
|
231
231
|
}
|
|
232
|
-
)(
|
|
232
|
+
)(v2.getState(), t), G8 = (t) => m(
|
|
233
233
|
(e) => {
|
|
234
234
|
var r, s;
|
|
235
235
|
return e.rooms[t] ? (s = (r = e.rooms[t]) == null ? void 0 : r.configuration) == null ? void 0 : s.zoomRoomControllerKey : void 0;
|
|
236
236
|
}
|
|
237
|
-
),
|
|
237
|
+
), w2 = () => m((t) => t.runtimeConfig.websocket.isConnected), p2 = () => m((t) => t.runtimeConfig.roomData.roomKey), x2 = () => m((t) => t.runtimeConfig.roomData.clientId), q8 = () => m((t) => t.ui.modalVisibility.showShutdownModal), Y8 = () => m((t) => t.ui.modalVisibility.showIncomingCallModal), J8 = (t) => m((e) => e.ui.modalVisibility[t]), z8 = (t) => m((e) => {
|
|
238
238
|
const r = e.ui.popoverVisibility[t];
|
|
239
239
|
if (r)
|
|
240
240
|
return Object.keys(r).find((s) => r[s]);
|
|
241
|
-
}),
|
|
241
|
+
}), X8 = (t, e) => m((r) => {
|
|
242
242
|
var s;
|
|
243
243
|
return (s = r.ui.popoverVisibility[t]) == null ? void 0 : s[e];
|
|
244
|
-
}),
|
|
245
|
-
reducer:
|
|
246
|
-
}),
|
|
247
|
-
function
|
|
248
|
-
const t =
|
|
244
|
+
}), k = t1({
|
|
245
|
+
reducer: a1
|
|
246
|
+
}), M2 = J1, I3 = K1.create();
|
|
247
|
+
function m2() {
|
|
248
|
+
const t = M2();
|
|
249
249
|
return async () => {
|
|
250
250
|
try {
|
|
251
251
|
const e = location.pathname.split("/").filter((l) => l.length > 0);
|
|
252
252
|
e.length >= 5 ? e.length = 5 : e.length = 2;
|
|
253
|
-
const r = `/${e.join("/")}`, s = await
|
|
253
|
+
const r = `/${e.join("/")}`, s = await I3.get("/_local-config/_config.local.json", { baseURL: r });
|
|
254
254
|
if (s.status == 200 && s.data) {
|
|
255
255
|
const l = s.data.apiPath;
|
|
256
|
-
t(
|
|
257
|
-
const a = await
|
|
258
|
-
a.status == 200 && a.data && t(
|
|
256
|
+
t(e2.setAppConfig(s.data));
|
|
257
|
+
const a = await I3.get(`${l}/version`);
|
|
258
|
+
a.status == 200 && a.data && t(K.setRuntimeConfig(a.data));
|
|
259
259
|
}
|
|
260
260
|
} catch (e) {
|
|
261
261
|
console.error("Error getting config", e);
|
|
@@ -263,7 +263,7 @@ function f2() {
|
|
|
263
263
|
return !0;
|
|
264
264
|
};
|
|
265
265
|
}
|
|
266
|
-
var
|
|
266
|
+
var y3 = { exports: {} }, Q = {};
|
|
267
267
|
/**
|
|
268
268
|
* @license React
|
|
269
269
|
* react-jsx-runtime.development.js
|
|
@@ -273,57 +273,57 @@ var w3 = { exports: {} }, Y = {};
|
|
|
273
273
|
* This source code is licensed under the MIT license found in the
|
|
274
274
|
* LICENSE file in the root directory of this source tree.
|
|
275
275
|
*/
|
|
276
|
-
var
|
|
277
|
-
function
|
|
278
|
-
return
|
|
279
|
-
var t =
|
|
280
|
-
function
|
|
276
|
+
var Q3;
|
|
277
|
+
function Z2() {
|
|
278
|
+
return Q3 || (Q3 = 1, process.env.NODE_ENV !== "production" && function() {
|
|
279
|
+
var t = r1, e = Symbol.for("react.element"), r = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), f = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), C = Symbol.for("react.suspense"), j = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), T = Symbol.for("react.lazy"), B = Symbol.for("react.offscreen"), V = Symbol.iterator, G = "@@iterator";
|
|
280
|
+
function q(o) {
|
|
281
281
|
if (o === null || typeof o != "object")
|
|
282
282
|
return null;
|
|
283
|
-
var c =
|
|
283
|
+
var c = V && o[V] || o[G];
|
|
284
284
|
return typeof c == "function" ? c : null;
|
|
285
285
|
}
|
|
286
|
-
var
|
|
287
|
-
function
|
|
286
|
+
var S = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
287
|
+
function g(o) {
|
|
288
288
|
{
|
|
289
289
|
for (var c = arguments.length, i = new Array(c > 1 ? c - 1 : 0), v = 1; v < c; v++)
|
|
290
290
|
i[v - 1] = arguments[v];
|
|
291
|
-
|
|
291
|
+
P("error", o, i);
|
|
292
292
|
}
|
|
293
293
|
}
|
|
294
|
-
function
|
|
294
|
+
function P(o, c, i) {
|
|
295
295
|
{
|
|
296
|
-
var v =
|
|
297
|
-
|
|
298
|
-
var Z = i.map(function(
|
|
299
|
-
return String(
|
|
296
|
+
var v = S.ReactDebugCurrentFrame, x = v.getStackAddendum();
|
|
297
|
+
x !== "" && (c += "%s", i = i.concat([x]));
|
|
298
|
+
var Z = i.map(function(p) {
|
|
299
|
+
return String(p);
|
|
300
300
|
});
|
|
301
301
|
Z.unshift("Warning: " + c), Function.prototype.apply.call(console[o], console, Z);
|
|
302
302
|
}
|
|
303
303
|
}
|
|
304
|
-
var
|
|
305
|
-
|
|
306
|
-
function
|
|
307
|
-
return !!(typeof o == "string" || typeof o == "function" || o === s || o === a ||
|
|
304
|
+
var Y = !1, _ = !1, o3 = !1, s3 = !1, g3 = !1, c3;
|
|
305
|
+
c3 = Symbol.for("react.module.reference");
|
|
306
|
+
function g1(o) {
|
|
307
|
+
return !!(typeof o == "string" || typeof o == "function" || o === s || o === a || g3 || o === l || o === C || o === j || s3 || o === B || Y || _ || o3 || typeof o == "object" && o !== null && (o.$$typeof === T || o.$$typeof === b || o.$$typeof === d || o.$$typeof === f || o.$$typeof === u || // This needs to include all possible module reference object
|
|
308
308
|
// types supported by any Flight configuration anywhere since
|
|
309
309
|
// we don't know which Flight build this will end up being used
|
|
310
310
|
// with.
|
|
311
|
-
o.$$typeof ===
|
|
311
|
+
o.$$typeof === c3 || o.getModuleId !== void 0));
|
|
312
312
|
}
|
|
313
|
-
function
|
|
313
|
+
function f1(o, c, i) {
|
|
314
314
|
var v = o.displayName;
|
|
315
315
|
if (v)
|
|
316
316
|
return v;
|
|
317
|
-
var
|
|
318
|
-
return
|
|
317
|
+
var x = c.displayName || c.name || "";
|
|
318
|
+
return x !== "" ? i + "(" + x + ")" : i;
|
|
319
319
|
}
|
|
320
|
-
function
|
|
320
|
+
function E3(o) {
|
|
321
321
|
return o.displayName || "Context";
|
|
322
322
|
}
|
|
323
|
-
function
|
|
323
|
+
function O(o) {
|
|
324
324
|
if (o == null)
|
|
325
325
|
return null;
|
|
326
|
-
if (typeof o.tag == "number" &&
|
|
326
|
+
if (typeof o.tag == "number" && g("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof o == "function")
|
|
327
327
|
return o.displayName || o.name || null;
|
|
328
328
|
if (typeof o == "string")
|
|
329
329
|
return o;
|
|
@@ -345,19 +345,19 @@ function w2() {
|
|
|
345
345
|
switch (o.$$typeof) {
|
|
346
346
|
case f:
|
|
347
347
|
var c = o;
|
|
348
|
-
return
|
|
348
|
+
return E3(c) + ".Consumer";
|
|
349
349
|
case d:
|
|
350
350
|
var i = o;
|
|
351
|
-
return
|
|
351
|
+
return E3(i._context) + ".Provider";
|
|
352
352
|
case u:
|
|
353
|
-
return
|
|
354
|
-
case
|
|
353
|
+
return f1(o, o.render, "ForwardRef");
|
|
354
|
+
case b:
|
|
355
355
|
var v = o.displayName || null;
|
|
356
|
-
return v !== null ? v :
|
|
357
|
-
case
|
|
358
|
-
var
|
|
356
|
+
return v !== null ? v : O(o.type) || "Memo";
|
|
357
|
+
case T: {
|
|
358
|
+
var x = o, Z = x._payload, p = x._init;
|
|
359
359
|
try {
|
|
360
|
-
return
|
|
360
|
+
return O(p(Z));
|
|
361
361
|
} catch {
|
|
362
362
|
return null;
|
|
363
363
|
}
|
|
@@ -365,18 +365,18 @@ function w2() {
|
|
|
365
365
|
}
|
|
366
366
|
return null;
|
|
367
367
|
}
|
|
368
|
-
var
|
|
369
|
-
function
|
|
368
|
+
var F = Object.assign, J = 0, _3, L3, $3, T3, A3, B3, D3;
|
|
369
|
+
function O3() {
|
|
370
370
|
}
|
|
371
|
-
|
|
372
|
-
function
|
|
371
|
+
O3.__reactDisabledLog = !0;
|
|
372
|
+
function w1() {
|
|
373
373
|
{
|
|
374
|
-
if (
|
|
375
|
-
|
|
374
|
+
if (J === 0) {
|
|
375
|
+
_3 = console.log, L3 = console.info, $3 = console.warn, T3 = console.error, A3 = console.group, B3 = console.groupCollapsed, D3 = console.groupEnd;
|
|
376
376
|
var o = {
|
|
377
377
|
configurable: !0,
|
|
378
378
|
enumerable: !0,
|
|
379
|
-
value:
|
|
379
|
+
value: O3,
|
|
380
380
|
writable: !0
|
|
381
381
|
};
|
|
382
382
|
Object.defineProperties(console, {
|
|
@@ -389,254 +389,254 @@ function w2() {
|
|
|
389
389
|
groupEnd: o
|
|
390
390
|
});
|
|
391
391
|
}
|
|
392
|
-
|
|
392
|
+
J++;
|
|
393
393
|
}
|
|
394
394
|
}
|
|
395
|
-
function
|
|
395
|
+
function p1() {
|
|
396
396
|
{
|
|
397
|
-
if (
|
|
397
|
+
if (J--, J === 0) {
|
|
398
398
|
var o = {
|
|
399
399
|
configurable: !0,
|
|
400
400
|
enumerable: !0,
|
|
401
401
|
writable: !0
|
|
402
402
|
};
|
|
403
403
|
Object.defineProperties(console, {
|
|
404
|
-
log:
|
|
405
|
-
value:
|
|
404
|
+
log: F({}, o, {
|
|
405
|
+
value: _3
|
|
406
406
|
}),
|
|
407
|
-
info:
|
|
408
|
-
value:
|
|
407
|
+
info: F({}, o, {
|
|
408
|
+
value: L3
|
|
409
409
|
}),
|
|
410
|
-
warn:
|
|
411
|
-
value:
|
|
410
|
+
warn: F({}, o, {
|
|
411
|
+
value: $3
|
|
412
412
|
}),
|
|
413
|
-
error:
|
|
414
|
-
value:
|
|
413
|
+
error: F({}, o, {
|
|
414
|
+
value: T3
|
|
415
415
|
}),
|
|
416
|
-
group:
|
|
417
|
-
value:
|
|
416
|
+
group: F({}, o, {
|
|
417
|
+
value: A3
|
|
418
418
|
}),
|
|
419
|
-
groupCollapsed:
|
|
420
|
-
value:
|
|
419
|
+
groupCollapsed: F({}, o, {
|
|
420
|
+
value: B3
|
|
421
421
|
}),
|
|
422
|
-
groupEnd:
|
|
423
|
-
value:
|
|
422
|
+
groupEnd: F({}, o, {
|
|
423
|
+
value: D3
|
|
424
424
|
})
|
|
425
425
|
});
|
|
426
426
|
}
|
|
427
|
-
|
|
427
|
+
J < 0 && g("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
428
428
|
}
|
|
429
429
|
}
|
|
430
|
-
var
|
|
431
|
-
function
|
|
430
|
+
var f3 = S.ReactCurrentDispatcher, w3;
|
|
431
|
+
function l3(o, c, i) {
|
|
432
432
|
{
|
|
433
|
-
if (
|
|
433
|
+
if (w3 === void 0)
|
|
434
434
|
try {
|
|
435
435
|
throw Error();
|
|
436
|
-
} catch (
|
|
437
|
-
var v =
|
|
438
|
-
|
|
436
|
+
} catch (x) {
|
|
437
|
+
var v = x.stack.trim().match(/\n( *(at )?)/);
|
|
438
|
+
w3 = v && v[1] || "";
|
|
439
439
|
}
|
|
440
440
|
return `
|
|
441
|
-
` +
|
|
441
|
+
` + w3 + o;
|
|
442
442
|
}
|
|
443
443
|
}
|
|
444
|
-
var
|
|
444
|
+
var p3 = !1, i3;
|
|
445
445
|
{
|
|
446
|
-
var
|
|
447
|
-
|
|
446
|
+
var x1 = typeof WeakMap == "function" ? WeakMap : Map;
|
|
447
|
+
i3 = new x1();
|
|
448
448
|
}
|
|
449
|
-
function
|
|
450
|
-
if (!o ||
|
|
449
|
+
function P3(o, c) {
|
|
450
|
+
if (!o || p3)
|
|
451
451
|
return "";
|
|
452
452
|
{
|
|
453
|
-
var i =
|
|
453
|
+
var i = i3.get(o);
|
|
454
454
|
if (i !== void 0)
|
|
455
455
|
return i;
|
|
456
456
|
}
|
|
457
457
|
var v;
|
|
458
|
-
|
|
459
|
-
var
|
|
458
|
+
p3 = !0;
|
|
459
|
+
var x = Error.prepareStackTrace;
|
|
460
460
|
Error.prepareStackTrace = void 0;
|
|
461
461
|
var Z;
|
|
462
|
-
Z =
|
|
462
|
+
Z = f3.current, f3.current = null, w1();
|
|
463
463
|
try {
|
|
464
464
|
if (c) {
|
|
465
|
-
var
|
|
465
|
+
var p = function() {
|
|
466
466
|
throw Error();
|
|
467
467
|
};
|
|
468
|
-
if (Object.defineProperty(
|
|
468
|
+
if (Object.defineProperty(p.prototype, "props", {
|
|
469
469
|
set: function() {
|
|
470
470
|
throw Error();
|
|
471
471
|
}
|
|
472
472
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
473
473
|
try {
|
|
474
|
-
Reflect.construct(
|
|
475
|
-
} catch (
|
|
476
|
-
v =
|
|
474
|
+
Reflect.construct(p, []);
|
|
475
|
+
} catch (A) {
|
|
476
|
+
v = A;
|
|
477
477
|
}
|
|
478
|
-
Reflect.construct(o, [],
|
|
478
|
+
Reflect.construct(o, [], p);
|
|
479
479
|
} else {
|
|
480
480
|
try {
|
|
481
|
-
|
|
482
|
-
} catch (
|
|
483
|
-
v =
|
|
481
|
+
p.call();
|
|
482
|
+
} catch (A) {
|
|
483
|
+
v = A;
|
|
484
484
|
}
|
|
485
|
-
o.call(
|
|
485
|
+
o.call(p.prototype);
|
|
486
486
|
}
|
|
487
487
|
} else {
|
|
488
488
|
try {
|
|
489
489
|
throw Error();
|
|
490
|
-
} catch (
|
|
491
|
-
v =
|
|
490
|
+
} catch (A) {
|
|
491
|
+
v = A;
|
|
492
492
|
}
|
|
493
493
|
o();
|
|
494
494
|
}
|
|
495
|
-
} catch (
|
|
496
|
-
if (
|
|
497
|
-
for (var
|
|
495
|
+
} catch (A) {
|
|
496
|
+
if (A && v && typeof A.stack == "string") {
|
|
497
|
+
for (var w = A.stack.split(`
|
|
498
498
|
`), L = v.stack.split(`
|
|
499
|
-
`),
|
|
500
|
-
|
|
501
|
-
for (;
|
|
502
|
-
if (
|
|
503
|
-
if (
|
|
499
|
+
`), I = w.length - 1, y = L.length - 1; I >= 1 && y >= 0 && w[I] !== L[y]; )
|
|
500
|
+
y--;
|
|
501
|
+
for (; I >= 1 && y >= 0; I--, y--)
|
|
502
|
+
if (w[I] !== L[y]) {
|
|
503
|
+
if (I !== 1 || y !== 1)
|
|
504
504
|
do
|
|
505
|
-
if (
|
|
505
|
+
if (I--, y--, y < 0 || w[I] !== L[y]) {
|
|
506
506
|
var D = `
|
|
507
|
-
` +
|
|
508
|
-
return o.displayName && D.includes("<anonymous>") && (D = D.replace("<anonymous>", o.displayName)), typeof o == "function" &&
|
|
507
|
+
` + w[I].replace(" at new ", " at ");
|
|
508
|
+
return o.displayName && D.includes("<anonymous>") && (D = D.replace("<anonymous>", o.displayName)), typeof o == "function" && i3.set(o, D), D;
|
|
509
509
|
}
|
|
510
|
-
while (
|
|
510
|
+
while (I >= 1 && y >= 0);
|
|
511
511
|
break;
|
|
512
512
|
}
|
|
513
513
|
}
|
|
514
514
|
} finally {
|
|
515
|
-
|
|
515
|
+
p3 = !1, f3.current = Z, p1(), Error.prepareStackTrace = x;
|
|
516
516
|
}
|
|
517
|
-
var
|
|
518
|
-
return typeof o == "function" &&
|
|
517
|
+
var H = o ? o.displayName || o.name : "", W = H ? l3(H) : "";
|
|
518
|
+
return typeof o == "function" && i3.set(o, W), W;
|
|
519
519
|
}
|
|
520
|
-
function
|
|
521
|
-
return
|
|
520
|
+
function M1(o, c, i) {
|
|
521
|
+
return P3(o, !1);
|
|
522
522
|
}
|
|
523
|
-
function
|
|
523
|
+
function m1(o) {
|
|
524
524
|
var c = o.prototype;
|
|
525
525
|
return !!(c && c.isReactComponent);
|
|
526
526
|
}
|
|
527
|
-
function
|
|
527
|
+
function a3(o, c, i) {
|
|
528
528
|
if (o == null)
|
|
529
529
|
return "";
|
|
530
530
|
if (typeof o == "function")
|
|
531
|
-
return
|
|
531
|
+
return P3(o, m1(o));
|
|
532
532
|
if (typeof o == "string")
|
|
533
|
-
return
|
|
533
|
+
return l3(o);
|
|
534
534
|
switch (o) {
|
|
535
535
|
case C:
|
|
536
|
-
return
|
|
536
|
+
return l3("Suspense");
|
|
537
537
|
case j:
|
|
538
|
-
return
|
|
538
|
+
return l3("SuspenseList");
|
|
539
539
|
}
|
|
540
540
|
if (typeof o == "object")
|
|
541
541
|
switch (o.$$typeof) {
|
|
542
542
|
case u:
|
|
543
|
-
return
|
|
544
|
-
case
|
|
545
|
-
return
|
|
546
|
-
case
|
|
547
|
-
var v = o,
|
|
543
|
+
return M1(o.render);
|
|
544
|
+
case b:
|
|
545
|
+
return a3(o.type, c, i);
|
|
546
|
+
case T: {
|
|
547
|
+
var v = o, x = v._payload, Z = v._init;
|
|
548
548
|
try {
|
|
549
|
-
return
|
|
549
|
+
return a3(Z(x), c, i);
|
|
550
550
|
} catch {
|
|
551
551
|
}
|
|
552
552
|
}
|
|
553
553
|
}
|
|
554
554
|
return "";
|
|
555
555
|
}
|
|
556
|
-
var
|
|
557
|
-
function
|
|
556
|
+
var z = Object.prototype.hasOwnProperty, V3 = {}, k3 = S.ReactDebugCurrentFrame;
|
|
557
|
+
function u3(o) {
|
|
558
558
|
if (o) {
|
|
559
|
-
var c = o._owner, i =
|
|
560
|
-
|
|
559
|
+
var c = o._owner, i = a3(o.type, o._source, c ? c.type : null);
|
|
560
|
+
k3.setExtraStackFrame(i);
|
|
561
561
|
} else
|
|
562
|
-
|
|
562
|
+
k3.setExtraStackFrame(null);
|
|
563
563
|
}
|
|
564
|
-
function
|
|
564
|
+
function Z1(o, c, i, v, x) {
|
|
565
565
|
{
|
|
566
|
-
var Z = Function.call.bind(
|
|
567
|
-
for (var
|
|
568
|
-
if (Z(o,
|
|
569
|
-
var
|
|
566
|
+
var Z = Function.call.bind(z);
|
|
567
|
+
for (var p in o)
|
|
568
|
+
if (Z(o, p)) {
|
|
569
|
+
var w = void 0;
|
|
570
570
|
try {
|
|
571
|
-
if (typeof o[
|
|
572
|
-
var L = Error((v || "React class") + ": " + i + " type `" +
|
|
571
|
+
if (typeof o[p] != "function") {
|
|
572
|
+
var L = Error((v || "React class") + ": " + i + " type `" + p + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof o[p] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
573
573
|
throw L.name = "Invariant Violation", L;
|
|
574
574
|
}
|
|
575
|
-
|
|
576
|
-
} catch (
|
|
577
|
-
|
|
575
|
+
w = o[p](c, p, v, i, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
576
|
+
} catch (I) {
|
|
577
|
+
w = I;
|
|
578
578
|
}
|
|
579
|
-
|
|
579
|
+
w && !(w instanceof Error) && (u3(x), 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", i, p, typeof w), u3(null)), w instanceof Error && !(w.message in V3) && (V3[w.message] = !0, u3(x), g("Failed %s type: %s", i, w.message), u3(null));
|
|
580
580
|
}
|
|
581
581
|
}
|
|
582
582
|
}
|
|
583
|
-
var
|
|
584
|
-
function
|
|
585
|
-
return
|
|
583
|
+
var j1 = Array.isArray;
|
|
584
|
+
function x3(o) {
|
|
585
|
+
return j1(o);
|
|
586
586
|
}
|
|
587
|
-
function
|
|
587
|
+
function C1(o) {
|
|
588
588
|
{
|
|
589
589
|
var c = typeof Symbol == "function" && Symbol.toStringTag, i = c && o[Symbol.toStringTag] || o.constructor.name || "Object";
|
|
590
590
|
return i;
|
|
591
591
|
}
|
|
592
592
|
}
|
|
593
|
-
function
|
|
593
|
+
function S1(o) {
|
|
594
594
|
try {
|
|
595
|
-
return
|
|
595
|
+
return F3(o), !1;
|
|
596
596
|
} catch {
|
|
597
597
|
return !0;
|
|
598
598
|
}
|
|
599
599
|
}
|
|
600
|
-
function
|
|
600
|
+
function F3(o) {
|
|
601
601
|
return "" + o;
|
|
602
602
|
}
|
|
603
|
-
function
|
|
604
|
-
if (
|
|
605
|
-
return
|
|
603
|
+
function W3(o) {
|
|
604
|
+
if (S1(o))
|
|
605
|
+
return g("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", C1(o)), F3(o);
|
|
606
606
|
}
|
|
607
|
-
var
|
|
607
|
+
var X = S.ReactCurrentOwner, b1 = {
|
|
608
608
|
key: !0,
|
|
609
609
|
ref: !0,
|
|
610
610
|
__self: !0,
|
|
611
611
|
__source: !0
|
|
612
|
-
},
|
|
613
|
-
|
|
614
|
-
function
|
|
615
|
-
if (
|
|
612
|
+
}, U3, H3, M3;
|
|
613
|
+
M3 = {};
|
|
614
|
+
function I1(o) {
|
|
615
|
+
if (z.call(o, "ref")) {
|
|
616
616
|
var c = Object.getOwnPropertyDescriptor(o, "ref").get;
|
|
617
617
|
if (c && c.isReactWarning)
|
|
618
618
|
return !1;
|
|
619
619
|
}
|
|
620
620
|
return o.ref !== void 0;
|
|
621
621
|
}
|
|
622
|
-
function
|
|
623
|
-
if (
|
|
622
|
+
function y1(o) {
|
|
623
|
+
if (z.call(o, "key")) {
|
|
624
624
|
var c = Object.getOwnPropertyDescriptor(o, "key").get;
|
|
625
625
|
if (c && c.isReactWarning)
|
|
626
626
|
return !1;
|
|
627
627
|
}
|
|
628
628
|
return o.key !== void 0;
|
|
629
629
|
}
|
|
630
|
-
function
|
|
631
|
-
if (typeof o.ref == "string" &&
|
|
632
|
-
var i =
|
|
633
|
-
|
|
630
|
+
function R1(o, c) {
|
|
631
|
+
if (typeof o.ref == "string" && X.current && c && X.current.stateNode !== c) {
|
|
632
|
+
var i = O(X.current.type);
|
|
633
|
+
M3[i] || (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', O(X.current.type), o.ref), M3[i] = !0);
|
|
634
634
|
}
|
|
635
635
|
}
|
|
636
|
-
function
|
|
636
|
+
function E1(o, c) {
|
|
637
637
|
{
|
|
638
638
|
var i = function() {
|
|
639
|
-
|
|
639
|
+
U3 || (U3 = !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)", c));
|
|
640
640
|
};
|
|
641
641
|
i.isReactWarning = !0, Object.defineProperty(o, "key", {
|
|
642
642
|
get: i,
|
|
@@ -644,10 +644,10 @@ function w2() {
|
|
|
644
644
|
});
|
|
645
645
|
}
|
|
646
646
|
}
|
|
647
|
-
function
|
|
647
|
+
function _1(o, c) {
|
|
648
648
|
{
|
|
649
649
|
var i = function() {
|
|
650
|
-
|
|
650
|
+
H3 || (H3 = !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)", c));
|
|
651
651
|
};
|
|
652
652
|
i.isReactWarning = !0, Object.defineProperty(o, "ref", {
|
|
653
653
|
get: i,
|
|
@@ -655,70 +655,70 @@ function w2() {
|
|
|
655
655
|
});
|
|
656
656
|
}
|
|
657
657
|
}
|
|
658
|
-
var
|
|
659
|
-
var
|
|
658
|
+
var L1 = function(o, c, i, v, x, Z, p) {
|
|
659
|
+
var w = {
|
|
660
660
|
// This tag allows us to uniquely identify this as a React Element
|
|
661
661
|
$$typeof: e,
|
|
662
662
|
// Built-in properties that belong on the element
|
|
663
663
|
type: o,
|
|
664
664
|
key: c,
|
|
665
665
|
ref: i,
|
|
666
|
-
props:
|
|
666
|
+
props: p,
|
|
667
667
|
// Record the component responsible for creating this element.
|
|
668
668
|
_owner: Z
|
|
669
669
|
};
|
|
670
|
-
return
|
|
670
|
+
return w._store = {}, Object.defineProperty(w._store, "validated", {
|
|
671
671
|
configurable: !1,
|
|
672
672
|
enumerable: !1,
|
|
673
673
|
writable: !0,
|
|
674
674
|
value: !1
|
|
675
|
-
}), Object.defineProperty(
|
|
675
|
+
}), Object.defineProperty(w, "_self", {
|
|
676
676
|
configurable: !1,
|
|
677
677
|
enumerable: !1,
|
|
678
678
|
writable: !1,
|
|
679
679
|
value: v
|
|
680
|
-
}), Object.defineProperty(
|
|
680
|
+
}), Object.defineProperty(w, "_source", {
|
|
681
681
|
configurable: !1,
|
|
682
682
|
enumerable: !1,
|
|
683
683
|
writable: !1,
|
|
684
|
-
value:
|
|
685
|
-
}), Object.freeze && (Object.freeze(
|
|
684
|
+
value: x
|
|
685
|
+
}), Object.freeze && (Object.freeze(w.props), Object.freeze(w)), w;
|
|
686
686
|
};
|
|
687
|
-
function
|
|
687
|
+
function $1(o, c, i, v, x) {
|
|
688
688
|
{
|
|
689
|
-
var Z,
|
|
690
|
-
i !== void 0 && (
|
|
689
|
+
var Z, p = {}, w = null, L = null;
|
|
690
|
+
i !== void 0 && (W3(i), w = "" + i), y1(c) && (W3(c.key), w = "" + c.key), I1(c) && (L = c.ref, R1(c, x));
|
|
691
691
|
for (Z in c)
|
|
692
|
-
|
|
692
|
+
z.call(c, Z) && !b1.hasOwnProperty(Z) && (p[Z] = c[Z]);
|
|
693
693
|
if (o && o.defaultProps) {
|
|
694
|
-
var
|
|
695
|
-
for (Z in
|
|
696
|
-
|
|
694
|
+
var I = o.defaultProps;
|
|
695
|
+
for (Z in I)
|
|
696
|
+
p[Z] === void 0 && (p[Z] = I[Z]);
|
|
697
697
|
}
|
|
698
|
-
if (
|
|
699
|
-
var
|
|
700
|
-
|
|
698
|
+
if (w || L) {
|
|
699
|
+
var y = typeof o == "function" ? o.displayName || o.name || "Unknown" : o;
|
|
700
|
+
w && E1(p, y), L && _1(p, y);
|
|
701
701
|
}
|
|
702
|
-
return
|
|
702
|
+
return L1(o, w, L, x, v, X.current, p);
|
|
703
703
|
}
|
|
704
704
|
}
|
|
705
|
-
var
|
|
705
|
+
var m3 = S.ReactCurrentOwner, K3 = S.ReactDebugCurrentFrame;
|
|
706
706
|
function U(o) {
|
|
707
707
|
if (o) {
|
|
708
|
-
var c = o._owner, i =
|
|
709
|
-
|
|
708
|
+
var c = o._owner, i = a3(o.type, o._source, c ? c.type : null);
|
|
709
|
+
K3.setExtraStackFrame(i);
|
|
710
710
|
} else
|
|
711
|
-
|
|
711
|
+
K3.setExtraStackFrame(null);
|
|
712
712
|
}
|
|
713
|
-
var
|
|
714
|
-
|
|
715
|
-
function
|
|
713
|
+
var Z3;
|
|
714
|
+
Z3 = !1;
|
|
715
|
+
function j3(o) {
|
|
716
716
|
return typeof o == "object" && o !== null && o.$$typeof === e;
|
|
717
717
|
}
|
|
718
|
-
function
|
|
718
|
+
function G3() {
|
|
719
719
|
{
|
|
720
|
-
if (
|
|
721
|
-
var o =
|
|
720
|
+
if (m3.current) {
|
|
721
|
+
var o = O(m3.current.type);
|
|
722
722
|
if (o)
|
|
723
723
|
return `
|
|
724
724
|
|
|
@@ -727,7 +727,7 @@ Check the render method of \`` + o + "`.";
|
|
|
727
727
|
return "";
|
|
728
728
|
}
|
|
729
729
|
}
|
|
730
|
-
function
|
|
730
|
+
function T1(o) {
|
|
731
731
|
{
|
|
732
732
|
if (o !== void 0) {
|
|
733
733
|
var c = o.fileName.replace(/^.*[\\\/]/, ""), i = o.lineNumber;
|
|
@@ -738,10 +738,10 @@ Check your code at ` + c + ":" + i + ".";
|
|
|
738
738
|
return "";
|
|
739
739
|
}
|
|
740
740
|
}
|
|
741
|
-
var
|
|
742
|
-
function
|
|
741
|
+
var q3 = {};
|
|
742
|
+
function A1(o) {
|
|
743
743
|
{
|
|
744
|
-
var c =
|
|
744
|
+
var c = G3();
|
|
745
745
|
if (!c) {
|
|
746
746
|
var i = typeof o == "string" ? o : o.displayName || o.name;
|
|
747
747
|
i && (c = `
|
|
@@ -751,39 +751,39 @@ Check the top-level render call using <` + i + ">.");
|
|
|
751
751
|
return c;
|
|
752
752
|
}
|
|
753
753
|
}
|
|
754
|
-
function
|
|
754
|
+
function Y3(o, c) {
|
|
755
755
|
{
|
|
756
756
|
if (!o._store || o._store.validated || o.key != null)
|
|
757
757
|
return;
|
|
758
758
|
o._store.validated = !0;
|
|
759
|
-
var i =
|
|
760
|
-
if (
|
|
759
|
+
var i = A1(c);
|
|
760
|
+
if (q3[i])
|
|
761
761
|
return;
|
|
762
|
-
|
|
762
|
+
q3[i] = !0;
|
|
763
763
|
var v = "";
|
|
764
|
-
o && o._owner && o._owner !==
|
|
764
|
+
o && o._owner && o._owner !== m3.current && (v = " It was passed a child from " + O(o._owner.type) + "."), U(o), g('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', i, v), U(null);
|
|
765
765
|
}
|
|
766
766
|
}
|
|
767
|
-
function
|
|
767
|
+
function J3(o, c) {
|
|
768
768
|
{
|
|
769
769
|
if (typeof o != "object")
|
|
770
770
|
return;
|
|
771
|
-
if (
|
|
771
|
+
if (x3(o))
|
|
772
772
|
for (var i = 0; i < o.length; i++) {
|
|
773
773
|
var v = o[i];
|
|
774
|
-
|
|
774
|
+
j3(v) && Y3(v, c);
|
|
775
775
|
}
|
|
776
|
-
else if (
|
|
776
|
+
else if (j3(o))
|
|
777
777
|
o._store && (o._store.validated = !0);
|
|
778
778
|
else if (o) {
|
|
779
|
-
var
|
|
780
|
-
if (typeof
|
|
781
|
-
for (var Z =
|
|
782
|
-
|
|
779
|
+
var x = q(o);
|
|
780
|
+
if (typeof x == "function" && x !== o.entries)
|
|
781
|
+
for (var Z = x.call(o), p; !(p = Z.next()).done; )
|
|
782
|
+
j3(p.value) && Y3(p.value, c);
|
|
783
783
|
}
|
|
784
784
|
}
|
|
785
785
|
}
|
|
786
|
-
function
|
|
786
|
+
function B1(o) {
|
|
787
787
|
{
|
|
788
788
|
var c = o.type;
|
|
789
789
|
if (c == null || typeof c == "string")
|
|
@@ -793,74 +793,89 @@ Check the top-level render call using <` + i + ">.");
|
|
|
793
793
|
i = c.propTypes;
|
|
794
794
|
else if (typeof c == "object" && (c.$$typeof === u || // Note: Memo only checks outer props here.
|
|
795
795
|
// Inner props are checked in the reconciler.
|
|
796
|
-
c.$$typeof ===
|
|
796
|
+
c.$$typeof === b))
|
|
797
797
|
i = c.propTypes;
|
|
798
798
|
else
|
|
799
799
|
return;
|
|
800
800
|
if (i) {
|
|
801
|
-
var v =
|
|
802
|
-
|
|
803
|
-
} else if (c.PropTypes !== void 0 && !
|
|
804
|
-
|
|
805
|
-
var
|
|
806
|
-
|
|
807
|
-
}
|
|
808
|
-
typeof c.getDefaultProps == "function" && !c.getDefaultProps.isReactClassApproved &&
|
|
801
|
+
var v = O(c);
|
|
802
|
+
Z1(i, o.props, "prop", v, o);
|
|
803
|
+
} else if (c.PropTypes !== void 0 && !Z3) {
|
|
804
|
+
Z3 = !0;
|
|
805
|
+
var x = O(c);
|
|
806
|
+
g("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", x || "Unknown");
|
|
807
|
+
}
|
|
808
|
+
typeof c.getDefaultProps == "function" && !c.getDefaultProps.isReactClassApproved && g("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
809
809
|
}
|
|
810
810
|
}
|
|
811
|
-
function
|
|
811
|
+
function D1(o) {
|
|
812
812
|
{
|
|
813
813
|
for (var c = Object.keys(o.props), i = 0; i < c.length; i++) {
|
|
814
814
|
var v = c[i];
|
|
815
815
|
if (v !== "children" && v !== "key") {
|
|
816
|
-
U(o),
|
|
816
|
+
U(o), g("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", v), U(null);
|
|
817
817
|
break;
|
|
818
818
|
}
|
|
819
819
|
}
|
|
820
|
-
o.ref !== null && (U(o),
|
|
820
|
+
o.ref !== null && (U(o), g("Invalid attribute `ref` supplied to `React.Fragment`."), U(null));
|
|
821
821
|
}
|
|
822
822
|
}
|
|
823
|
-
|
|
823
|
+
var z3 = {};
|
|
824
|
+
function X3(o, c, i, v, x, Z) {
|
|
824
825
|
{
|
|
825
|
-
var
|
|
826
|
-
if (!
|
|
827
|
-
var
|
|
828
|
-
(o === void 0 || typeof o == "object" && o !== null && Object.keys(o).length === 0) && (
|
|
829
|
-
var L =
|
|
830
|
-
L ?
|
|
831
|
-
var
|
|
832
|
-
o === null ?
|
|
833
|
-
}
|
|
834
|
-
var
|
|
835
|
-
if (
|
|
836
|
-
return
|
|
837
|
-
if (
|
|
826
|
+
var p = g1(o);
|
|
827
|
+
if (!p) {
|
|
828
|
+
var w = "";
|
|
829
|
+
(o === void 0 || typeof o == "object" && o !== null && Object.keys(o).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.");
|
|
830
|
+
var L = T1(x);
|
|
831
|
+
L ? w += L : w += G3();
|
|
832
|
+
var I;
|
|
833
|
+
o === null ? I = "null" : x3(o) ? I = "array" : o !== void 0 && o.$$typeof === e ? (I = "<" + (O(o.type) || "Unknown") + " />", w = " Did you accidentally export a JSX literal instead of a component?") : I = typeof o, 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);
|
|
834
|
+
}
|
|
835
|
+
var y = $1(o, c, i, x, Z);
|
|
836
|
+
if (y == null)
|
|
837
|
+
return y;
|
|
838
|
+
if (p) {
|
|
838
839
|
var D = c.children;
|
|
839
840
|
if (D !== void 0)
|
|
840
841
|
if (v)
|
|
841
|
-
if (
|
|
842
|
-
for (var
|
|
843
|
-
|
|
842
|
+
if (x3(D)) {
|
|
843
|
+
for (var H = 0; H < D.length; H++)
|
|
844
|
+
J3(D[H], o);
|
|
844
845
|
Object.freeze && Object.freeze(D);
|
|
845
846
|
} else
|
|
846
|
-
|
|
847
|
+
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.");
|
|
847
848
|
else
|
|
848
|
-
|
|
849
|
+
J3(D, o);
|
|
850
|
+
}
|
|
851
|
+
if (z.call(c, "key")) {
|
|
852
|
+
var W = O(o), A = Object.keys(c).filter(function(W1) {
|
|
853
|
+
return W1 !== "key";
|
|
854
|
+
}), C3 = A.length > 0 ? "{key: someKey, " + A.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
855
|
+
if (!z3[W + C3]) {
|
|
856
|
+
var F1 = A.length > 0 ? "{" + A.join(": ..., ") + ": ...}" : "{}";
|
|
857
|
+
g(`A props object containing a "key" prop is being spread into JSX:
|
|
858
|
+
let props = %s;
|
|
859
|
+
<%s {...props} />
|
|
860
|
+
React keys must be passed directly to JSX without using spread:
|
|
861
|
+
let props = %s;
|
|
862
|
+
<%s key={someKey} {...props} />`, C3, W, F1, W), z3[W + C3] = !0;
|
|
863
|
+
}
|
|
849
864
|
}
|
|
850
|
-
return o === s ?
|
|
865
|
+
return o === s ? D1(y) : B1(y), y;
|
|
851
866
|
}
|
|
852
867
|
}
|
|
853
|
-
function
|
|
854
|
-
return
|
|
868
|
+
function O1(o, c, i) {
|
|
869
|
+
return X3(o, c, i, !0);
|
|
855
870
|
}
|
|
856
|
-
function
|
|
857
|
-
return
|
|
871
|
+
function P1(o, c, i) {
|
|
872
|
+
return X3(o, c, i, !1);
|
|
858
873
|
}
|
|
859
|
-
var
|
|
860
|
-
|
|
861
|
-
}()),
|
|
874
|
+
var V1 = P1, k1 = O1;
|
|
875
|
+
Q.Fragment = s, Q.jsx = V1, Q.jsxs = k1;
|
|
876
|
+
}()), Q;
|
|
862
877
|
}
|
|
863
|
-
var
|
|
878
|
+
var N = {};
|
|
864
879
|
/**
|
|
865
880
|
* @license React
|
|
866
881
|
* react-jsx-runtime.production.min.js
|
|
@@ -870,110 +885,131 @@ var K = {};
|
|
|
870
885
|
* This source code is licensed under the MIT license found in the
|
|
871
886
|
* LICENSE file in the root directory of this source tree.
|
|
872
887
|
*/
|
|
873
|
-
var
|
|
874
|
-
function
|
|
875
|
-
if (
|
|
876
|
-
return
|
|
877
|
-
|
|
878
|
-
var t =
|
|
888
|
+
var N3;
|
|
889
|
+
function j2() {
|
|
890
|
+
if (N3)
|
|
891
|
+
return N;
|
|
892
|
+
N3 = 1;
|
|
893
|
+
var t = r1, e = Symbol.for("react.element"), r = Symbol.for("react.fragment"), s = Object.prototype.hasOwnProperty, l = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, a = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
879
894
|
function d(f, u, C) {
|
|
880
|
-
var j,
|
|
881
|
-
C !== void 0 && (
|
|
895
|
+
var j, b = {}, T = null, B = null;
|
|
896
|
+
C !== void 0 && (T = "" + C), u.key !== void 0 && (T = "" + u.key), u.ref !== void 0 && (B = u.ref);
|
|
882
897
|
for (j in u)
|
|
883
|
-
s.call(u, j) && !a.hasOwnProperty(j) && (
|
|
898
|
+
s.call(u, j) && !a.hasOwnProperty(j) && (b[j] = u[j]);
|
|
884
899
|
if (f && f.defaultProps)
|
|
885
900
|
for (j in u = f.defaultProps, u)
|
|
886
|
-
|
|
887
|
-
return { $$typeof: e, type: f, key:
|
|
901
|
+
b[j] === void 0 && (b[j] = u[j]);
|
|
902
|
+
return { $$typeof: e, type: f, key: T, ref: B, props: b, _owner: l.current };
|
|
888
903
|
}
|
|
889
|
-
return
|
|
904
|
+
return N.Fragment = r, N.jsx = d, N.jsxs = d, N;
|
|
890
905
|
}
|
|
891
|
-
process.env.NODE_ENV === "production" ?
|
|
892
|
-
var n =
|
|
893
|
-
const
|
|
906
|
+
process.env.NODE_ENV === "production" ? y3.exports = j2() : y3.exports = Z2();
|
|
907
|
+
var n = y3.exports;
|
|
908
|
+
const C2 = () => /* @__PURE__ */ n.jsx(n.Fragment, { children: /* @__PURE__ */ n.jsxs("div", { className: "disconnected-message", children: [
|
|
894
909
|
/* @__PURE__ */ n.jsx("h1", { children: "Disconnected" }),
|
|
895
910
|
/* @__PURE__ */ n.jsx("p", { children: "Reconnecting..." })
|
|
896
911
|
] }) });
|
|
897
|
-
class
|
|
912
|
+
class S2 {
|
|
898
913
|
constructor() {
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
914
|
+
R(this, "uuid", "current-uuid");
|
|
915
|
+
R(this, "roomKey", "current-room-key");
|
|
916
|
+
R(this, "code", "current-code");
|
|
917
|
+
R(this, "expiry", "current-uuid-expires");
|
|
903
918
|
}
|
|
904
919
|
}
|
|
905
|
-
const
|
|
906
|
-
|
|
920
|
+
const e1 = new S2(), d1 = X1({
|
|
921
|
+
sendMessage: () => null,
|
|
922
|
+
sendSimpleMessage: () => null,
|
|
923
|
+
addEventHandler: () => null,
|
|
924
|
+
removeEventHandler: () => null
|
|
925
|
+
});
|
|
926
|
+
function b2(t) {
|
|
907
927
|
return sessionStorage.getItem(t) || "";
|
|
908
928
|
}
|
|
909
|
-
function
|
|
929
|
+
function I2(t, e) {
|
|
910
930
|
sessionStorage.setItem(t, e);
|
|
911
931
|
}
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
const [e, r] = o3(), s = v2(), l = d2(), a = h2(), d = f2(), f = l2(), u = s3(null), [C, j] = o3(), y = U3(
|
|
920
|
-
async (A) => {
|
|
921
|
-
await f3.get(`${A}/ui/joinroom?token=${e}`).then((S) => {
|
|
922
|
-
S.status === 200 && S.data && F.dispatch(H.setRoomData(S.data));
|
|
923
|
-
}).catch((S) => {
|
|
924
|
-
console.log(S);
|
|
932
|
+
const y2 = ({ children: t }) => {
|
|
933
|
+
const [e, r] = h3(), s = w2(), l = p2(), a = x2(), d = m2(), f = h2(), u = n3(null), [C, j] = h3(), b = n3({}), T = d3(
|
|
934
|
+
async (S) => {
|
|
935
|
+
await I3.get(`${S}/ui/joinroom?token=${e}`).then((g) => {
|
|
936
|
+
g.status === 200 && g.data && k.dispatch(K.setRoomData(g.data));
|
|
937
|
+
}).catch((g) => {
|
|
938
|
+
console.log(g);
|
|
925
939
|
});
|
|
926
940
|
},
|
|
927
941
|
[e]
|
|
928
|
-
),
|
|
929
|
-
(
|
|
930
|
-
u.current && s && u.current.send(JSON.stringify({ type:
|
|
942
|
+
), B = d3(
|
|
943
|
+
(S, g) => {
|
|
944
|
+
u.current && s && u.current.send(JSON.stringify({ type: S, clientId: a, content: g }));
|
|
931
945
|
},
|
|
932
946
|
[s, a]
|
|
933
|
-
),
|
|
934
|
-
|
|
935
|
-
}
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
947
|
+
), V = (S, g) => {
|
|
948
|
+
B(S, { value: g });
|
|
949
|
+
}, G = d3(
|
|
950
|
+
(S, g, P) => {
|
|
951
|
+
b.current[g] || (b.current[g] = {}), b.current[g][S] = P;
|
|
952
|
+
},
|
|
953
|
+
[]
|
|
954
|
+
), q = d3(
|
|
955
|
+
(S, g) => {
|
|
956
|
+
b.current[g] && delete b.current[g][S];
|
|
957
|
+
},
|
|
958
|
+
[]
|
|
959
|
+
);
|
|
960
|
+
return t3(() => {
|
|
961
|
+
let g = new URLSearchParams(window.location.search).get("token");
|
|
962
|
+
g ? (console.log("saving token: ", g), I2(e1.uuid, g)) : (g = b2(e1.uuid), console.log("loading token: ", g)), r(g), d();
|
|
963
|
+
}, []), t3(() => {
|
|
940
964
|
if (!(!f.apiPath || C || !e)) {
|
|
941
|
-
if (
|
|
942
|
-
const
|
|
943
|
-
u.current =
|
|
944
|
-
console.log("connected"),
|
|
945
|
-
},
|
|
946
|
-
console.log(
|
|
947
|
-
},
|
|
965
|
+
if (T(f.apiPath), !u.current) {
|
|
966
|
+
const g = `${f.apiPath.replace("http", "ws")}/ui/join/${e}`, P = new WebSocket(g);
|
|
967
|
+
u.current = P, P.onopen = () => {
|
|
968
|
+
console.log("connected"), k.dispatch(K.setWebsocketIsConnected(!0));
|
|
969
|
+
}, P.onerror = (Y) => {
|
|
970
|
+
console.log(Y);
|
|
971
|
+
}, P.onclose = () => {
|
|
948
972
|
if (console.log("disconnected"), u.current)
|
|
949
973
|
console.log("WebSocket closed by server.");
|
|
950
974
|
else {
|
|
951
975
|
console.log("WebSocket closed by client.");
|
|
952
976
|
return;
|
|
953
977
|
}
|
|
954
|
-
C || (
|
|
955
|
-
},
|
|
978
|
+
C || (k.dispatch(K.setWebsocketIsConnected(!1)), j(!0), setTimeout(() => j(void 0), 5e3));
|
|
979
|
+
}, P.onmessage = (Y) => {
|
|
956
980
|
try {
|
|
957
|
-
const
|
|
958
|
-
if (console.log(
|
|
959
|
-
switch (
|
|
981
|
+
const _ = JSON.parse(Y.data);
|
|
982
|
+
if (console.log(_), _.type.startsWith("/system/"))
|
|
983
|
+
switch (_.type) {
|
|
960
984
|
case "/system/roomKey":
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
985
|
+
k.dispatch(
|
|
986
|
+
K.setCurrentRoomKey(
|
|
987
|
+
_.content
|
|
964
988
|
)
|
|
965
989
|
);
|
|
966
990
|
break;
|
|
967
991
|
case "/system/userCodeChanged":
|
|
968
|
-
|
|
969
|
-
|
|
992
|
+
k.dispatch(
|
|
993
|
+
K.setUserCode(_.content)
|
|
970
994
|
);
|
|
971
995
|
break;
|
|
972
996
|
}
|
|
973
|
-
else
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
997
|
+
else if (_.type.startsWith("/event/")) {
|
|
998
|
+
const o3 = _.content.eventType;
|
|
999
|
+
if (!o3)
|
|
1000
|
+
return;
|
|
1001
|
+
const s3 = b.current[o3];
|
|
1002
|
+
s3 && Object.values(s3).forEach((g3) => {
|
|
1003
|
+
try {
|
|
1004
|
+
g3(_);
|
|
1005
|
+
} catch (c3) {
|
|
1006
|
+
console.error(c3);
|
|
1007
|
+
}
|
|
1008
|
+
});
|
|
1009
|
+
} else
|
|
1010
|
+
_.type.startsWith("/room/") ? k.dispatch(c2.setRoomState(_)) : _.type.startsWith("/device/") && k.dispatch(r2.setDeviceState(_));
|
|
1011
|
+
} catch (_) {
|
|
1012
|
+
console.log(_);
|
|
977
1013
|
}
|
|
978
1014
|
};
|
|
979
1015
|
}
|
|
@@ -981,17 +1017,20 @@ const t1 = G1({
|
|
|
981
1017
|
u.current && u.current.close(), u.current = null;
|
|
982
1018
|
};
|
|
983
1019
|
}
|
|
984
|
-
}, [f.apiPath,
|
|
985
|
-
l &&
|
|
986
|
-
}, [l,
|
|
987
|
-
},
|
|
988
|
-
function
|
|
1020
|
+
}, [f.apiPath, T, e, C]), t3(() => {
|
|
1021
|
+
l && B(`/room/${l}/status`, null);
|
|
1022
|
+
}, [l, B]), /* @__PURE__ */ n.jsx(d1.Provider, { value: { sendMessage: B, sendSimpleMessage: V, addEventHandler: G, removeEventHandler: q }, children: s ? t : /* @__PURE__ */ n.jsx(C2, {}) });
|
|
1023
|
+
}, Q8 = ({ children: t }) => /* @__PURE__ */ n.jsx(z1, { store: k, children: /* @__PURE__ */ n.jsx(y2, { children: t }) });
|
|
1024
|
+
function E() {
|
|
1025
|
+
return Q1(d1);
|
|
1026
|
+
}
|
|
1027
|
+
function R2({
|
|
989
1028
|
onPress: t,
|
|
990
1029
|
onRelease: e,
|
|
991
1030
|
onHold: r,
|
|
992
1031
|
holdTimeMs: s = 500
|
|
993
1032
|
}) {
|
|
994
|
-
const l =
|
|
1033
|
+
const l = n3(null), a = n3(!1);
|
|
995
1034
|
function d() {
|
|
996
1035
|
a.current = !0, t == null || t(), l.current = setTimeout(() => {
|
|
997
1036
|
r == null || r(), l.current = null;
|
|
@@ -1010,7 +1049,7 @@ function C2({
|
|
|
1010
1049
|
};
|
|
1011
1050
|
}
|
|
1012
1051
|
function h(t, e) {
|
|
1013
|
-
const { sendMessage: s } =
|
|
1052
|
+
const { sendMessage: s } = E(), l = n3(null);
|
|
1014
1053
|
function a() {
|
|
1015
1054
|
s(`${t}/${e}`, { value: "pressed" }), l.current || (l.current = setInterval(() => {
|
|
1016
1055
|
s(`${t}/${e}`, { value: "held" });
|
|
@@ -1019,10 +1058,10 @@ function h(t, e) {
|
|
|
1019
1058
|
function d() {
|
|
1020
1059
|
l.current && (clearInterval(l.current), l.current = null), s(`${t}/${e}`, { value: "released" });
|
|
1021
1060
|
}
|
|
1022
|
-
return
|
|
1061
|
+
return R2({ onPress: a, onRelease: d });
|
|
1023
1062
|
}
|
|
1024
|
-
function
|
|
1025
|
-
const { sendMessage: r, sendSimpleMessage: s } =
|
|
1063
|
+
function v1(t, e) {
|
|
1064
|
+
const { sendMessage: r, sendSimpleMessage: s } = E(), l = h(`${t}`, "volumeUp"), a = h(`${t}`, "volumeDown");
|
|
1026
1065
|
return e ? {
|
|
1027
1066
|
volumeState: e,
|
|
1028
1067
|
volumeUp: l,
|
|
@@ -1033,8 +1072,8 @@ function n1(t, e) {
|
|
|
1033
1072
|
muteOff: () => r(`${t}/muteOff`, null)
|
|
1034
1073
|
} : void 0;
|
|
1035
1074
|
}
|
|
1036
|
-
function
|
|
1037
|
-
const { sendMessage: r, sendSimpleMessage: s } =
|
|
1075
|
+
function N8(t, e) {
|
|
1076
|
+
const { sendMessage: r, sendSimpleMessage: s } = E(), l = h(`${t}`, "volumeUp"), a = h(`${t}`, "volumeDown");
|
|
1038
1077
|
return e ? {
|
|
1039
1078
|
volumeState: e,
|
|
1040
1079
|
volumeUp: l,
|
|
@@ -1045,12 +1084,12 @@ function G8(t, e) {
|
|
|
1045
1084
|
muteOff: () => r(`${t}/muteOff`, null)
|
|
1046
1085
|
} : void 0;
|
|
1047
1086
|
}
|
|
1048
|
-
function
|
|
1049
|
-
const e =
|
|
1050
|
-
return
|
|
1087
|
+
function E2(t) {
|
|
1088
|
+
const e = $(t), r = `/device/${t}`;
|
|
1089
|
+
return v1(r, e == null ? void 0 : e.volume);
|
|
1051
1090
|
}
|
|
1052
|
-
function
|
|
1053
|
-
const { sendMessage: e } =
|
|
1091
|
+
function h1(t) {
|
|
1092
|
+
const { sendMessage: e } = E();
|
|
1054
1093
|
return { powerOn: () => {
|
|
1055
1094
|
e(`/device/${t}/powerOn`, null);
|
|
1056
1095
|
}, powerOff: () => {
|
|
@@ -1059,14 +1098,14 @@ function r1(t) {
|
|
|
1059
1098
|
e(`/device/${t}/powerToggle`, null);
|
|
1060
1099
|
} };
|
|
1061
1100
|
}
|
|
1062
|
-
function
|
|
1063
|
-
const { sendMessage: e } =
|
|
1101
|
+
function R3(t) {
|
|
1102
|
+
const { sendMessage: e } = E(), r = $(t);
|
|
1064
1103
|
return console.log("deviceState", r), r ? { itemsState: r, selectItem: (l) => {
|
|
1065
1104
|
e(`/device/${t}/${l}`, null);
|
|
1066
1105
|
} } : void 0;
|
|
1067
1106
|
}
|
|
1068
|
-
function
|
|
1069
|
-
const { sendMessage: e } =
|
|
1107
|
+
function _2(t) {
|
|
1108
|
+
const { sendMessage: e } = E(), r = $(t), s = () => {
|
|
1070
1109
|
e(`/device/${t}/setDefaultChannelLevels`, null);
|
|
1071
1110
|
}, l = () => {
|
|
1072
1111
|
if ((r == null ? void 0 : r.levelControls) === void 0)
|
|
@@ -1077,8 +1116,8 @@ function b2(t) {
|
|
|
1077
1116
|
};
|
|
1078
1117
|
return r ? { levelControls: r.levelControls, setDefaultChannelLevels: s, getFullStatus: l } : void 0;
|
|
1079
1118
|
}
|
|
1080
|
-
function
|
|
1081
|
-
const e =
|
|
1119
|
+
function e6(t) {
|
|
1120
|
+
const e = $(t), r = h1(t), s = R3(t), l = R3(t), a = E2(t), d = _2(t);
|
|
1082
1121
|
if (e)
|
|
1083
1122
|
return {
|
|
1084
1123
|
avrState: e,
|
|
@@ -1089,41 +1128,41 @@ function q8(t) {
|
|
|
1089
1128
|
mainVolumeControl: a
|
|
1090
1129
|
};
|
|
1091
1130
|
}
|
|
1092
|
-
function
|
|
1093
|
-
const e =
|
|
1131
|
+
function t6(t) {
|
|
1132
|
+
const e = $(t);
|
|
1094
1133
|
if (e)
|
|
1095
1134
|
return { endpointState: e };
|
|
1096
1135
|
}
|
|
1097
|
-
function
|
|
1136
|
+
function n6(t) {
|
|
1098
1137
|
const e = `/device/${t}`, r = h(e, "chanUp"), s = h(e, "chanDown"), l = h(e, "lastChan"), a = h(e, "guide"), d = h(e, "info"), f = h(e, "exit");
|
|
1099
1138
|
return { channelUp: r, channelDown: s, lastChannel: l, guide: a, info: d, exit: f };
|
|
1100
1139
|
}
|
|
1101
|
-
function
|
|
1140
|
+
function r6(t) {
|
|
1102
1141
|
const e = `/device/${t}`, r = h(e, "red"), s = h(e, "green"), l = h(e, "yellow"), a = h(e, "blue");
|
|
1103
1142
|
return { red: r, green: s, yellow: l, blue: a };
|
|
1104
1143
|
}
|
|
1105
|
-
function
|
|
1106
|
-
const e =
|
|
1144
|
+
function o6(t) {
|
|
1145
|
+
const e = $(t);
|
|
1107
1146
|
if (e)
|
|
1108
1147
|
return {
|
|
1109
1148
|
communicationMonitorState: e
|
|
1110
1149
|
};
|
|
1111
1150
|
}
|
|
1112
|
-
function
|
|
1151
|
+
function s6(t) {
|
|
1113
1152
|
const e = `/device/${t}`, r = h(e, "up"), s = h(e, "down"), l = h(e, "left"), a = h(e, "right"), d = h(e, "select"), f = h(e, "menu"), u = h(e, "exit");
|
|
1114
1153
|
return { up: r, down: s, left: l, right: a, select: d, menu: f, exit: u };
|
|
1115
1154
|
}
|
|
1116
|
-
function
|
|
1117
|
-
const e =
|
|
1155
|
+
function c6(t) {
|
|
1156
|
+
const e = $(t);
|
|
1118
1157
|
if (e)
|
|
1119
1158
|
return e.deviceInfo || void 0;
|
|
1120
1159
|
}
|
|
1121
|
-
function
|
|
1160
|
+
function l6(t) {
|
|
1122
1161
|
const e = `/device/${t}`, r = h(e, "dvrList"), s = h(e, "record");
|
|
1123
1162
|
return { dvrList: r, record: s };
|
|
1124
1163
|
}
|
|
1125
|
-
function
|
|
1126
|
-
const { sendMessage: e, sendSimpleMessage: r } =
|
|
1164
|
+
function i6(t) {
|
|
1165
|
+
const { sendMessage: e, sendSimpleMessage: r } = E(), s = $(t);
|
|
1127
1166
|
return s ? {
|
|
1128
1167
|
levelState: s,
|
|
1129
1168
|
setLevel: (u, C) => r(`${u}/level`, C),
|
|
@@ -1132,46 +1171,46 @@ function e6(t) {
|
|
|
1132
1171
|
muteOff: (u) => e(`${u}/muteOff`, null)
|
|
1133
1172
|
} : void 0;
|
|
1134
1173
|
}
|
|
1135
|
-
function
|
|
1136
|
-
const { sendMessage: e } =
|
|
1174
|
+
function a6(t) {
|
|
1175
|
+
const { sendMessage: e } = E(), r = $(t);
|
|
1137
1176
|
return r ? { lightingState: r, selectScene: (l) => {
|
|
1138
1177
|
e(`/device/${t}/selectScene`, l);
|
|
1139
1178
|
} } : void 0;
|
|
1140
1179
|
}
|
|
1141
|
-
function
|
|
1142
|
-
const { sendMessage: e } =
|
|
1180
|
+
function u6(t) {
|
|
1181
|
+
const { sendMessage: e } = E(), r = $(t);
|
|
1143
1182
|
return r ? { matrixRoutingState: r, setRoute: (l) => {
|
|
1144
1183
|
e(`/device/${t}/route`, l);
|
|
1145
1184
|
} } : void 0;
|
|
1146
1185
|
}
|
|
1147
|
-
function
|
|
1148
|
-
const e = `/device/${t}`, r = h(e, "num0"), s = h(e, "num1"), l = h(e, "num2"), a = h(e, "num3"), d = h(e, "num4"), f = h(e, "num5"), u = h(e, "num6"), C = h(e, "num7"), j = h(e, "num8"),
|
|
1149
|
-
return { digit0: r, digit1: s, digit2: l, digit3: a, digit4: d, digit5: f, digit6: u, digit7: C, digit8: j, digit9:
|
|
1186
|
+
function d6(t) {
|
|
1187
|
+
const e = `/device/${t}`, r = h(e, "num0"), s = h(e, "num1"), l = h(e, "num2"), a = h(e, "num3"), d = h(e, "num4"), f = h(e, "num5"), u = h(e, "num6"), C = h(e, "num7"), j = h(e, "num8"), b = h(e, "num9"), T = h(e, "numDash"), B = h(e, "numEnter");
|
|
1188
|
+
return { digit0: r, digit1: s, digit2: l, digit3: a, digit4: d, digit5: f, digit6: u, digit7: C, digit8: j, digit9: b, keypadAccessoryButton1: T, keypadAccessoryButton2: B };
|
|
1150
1189
|
}
|
|
1151
|
-
function
|
|
1152
|
-
const { sendMessage: e } =
|
|
1190
|
+
function v6(t) {
|
|
1191
|
+
const { sendMessage: e } = E(), r = u1(t);
|
|
1153
1192
|
return r ? { roomEventScheduleState: r, save: (l) => {
|
|
1154
1193
|
e(`/room/${t}/saveScheduledEvents`, l);
|
|
1155
1194
|
} } : void 0;
|
|
1156
1195
|
}
|
|
1157
|
-
function
|
|
1158
|
-
const { sendMessage: e } =
|
|
1196
|
+
function h6(t) {
|
|
1197
|
+
const { sendMessage: e } = E();
|
|
1159
1198
|
return { runDirectRoute: (s) => {
|
|
1160
1199
|
e(`/room/${t}/directRoute`, s);
|
|
1161
1200
|
} };
|
|
1162
1201
|
}
|
|
1163
|
-
function
|
|
1164
|
-
const { sendMessage: e } =
|
|
1165
|
-
return { routingState:
|
|
1202
|
+
function g6(t) {
|
|
1203
|
+
const { sendMessage: e } = E();
|
|
1204
|
+
return { routingState: $(t), runRoute: (l) => {
|
|
1166
1205
|
e(`/room/${t}/source`, l);
|
|
1167
1206
|
} };
|
|
1168
1207
|
}
|
|
1169
|
-
function
|
|
1208
|
+
function f6(t) {
|
|
1170
1209
|
const e = `/device/${t}`, r = h(e, "chanUp"), s = h(e, "chanDown");
|
|
1171
1210
|
return { dvrList: r, replay: s };
|
|
1172
1211
|
}
|
|
1173
|
-
function
|
|
1174
|
-
const { sendMessage: e } =
|
|
1212
|
+
function w6(t) {
|
|
1213
|
+
const { sendMessage: e } = E(), r = $(t);
|
|
1175
1214
|
return r ? { shadeState: r, shadeUp: () => {
|
|
1176
1215
|
e(`/device/${t}/shadeUp`, null);
|
|
1177
1216
|
}, shadeDown: () => {
|
|
@@ -1180,20 +1219,32 @@ function i6(t) {
|
|
|
1180
1219
|
e(`/device/${t}/stopOrPreset`, null);
|
|
1181
1220
|
} } : void 0;
|
|
1182
1221
|
}
|
|
1183
|
-
function
|
|
1184
|
-
const { sendMessage: e } =
|
|
1222
|
+
function p6(t) {
|
|
1223
|
+
const { sendMessage: e } = E(), r = u1(t);
|
|
1224
|
+
return r ? { shutdownPromptTimerState: r, setShutdownPromptSeconds: (f) => {
|
|
1225
|
+
e(`/room/${t}/setShutdownPromptSeconds`, f);
|
|
1226
|
+
}, shutdownStart: () => {
|
|
1227
|
+
e(`/room/${t}/shutdownStart`, null);
|
|
1228
|
+
}, shutdownEnd: () => {
|
|
1229
|
+
e(`/room/${t}/shutdownEnd`, null);
|
|
1230
|
+
}, shutdownCancel: () => {
|
|
1231
|
+
e(`/room/${t}/shutdownCancel`, null);
|
|
1232
|
+
} } : void 0;
|
|
1233
|
+
}
|
|
1234
|
+
function x6(t) {
|
|
1235
|
+
const { sendMessage: e } = E(), r = $(t);
|
|
1185
1236
|
return r ? { switchedOutputState: r, on: () => {
|
|
1186
1237
|
e(`/device/${t}/on`, null);
|
|
1187
1238
|
}, off: () => {
|
|
1188
1239
|
e(`/device/${t}/off`, null);
|
|
1189
1240
|
} } : void 0;
|
|
1190
1241
|
}
|
|
1191
|
-
function
|
|
1242
|
+
function M6(t) {
|
|
1192
1243
|
const e = `/device/${t}`, r = h(e, "play"), s = h(e, "pause"), l = h(e, "stop"), a = h(e, "prevTrack"), d = h(e, "nextTrack"), f = h(e, "rewind"), u = h(e, "ffwd"), C = h(e, "record");
|
|
1193
1244
|
return { play: r, pause: s, stop: l, prevTrack: a, nextTrack: d, rewind: f, fastForward: u, record: C };
|
|
1194
1245
|
}
|
|
1195
|
-
function
|
|
1196
|
-
const e =
|
|
1246
|
+
function m6(t) {
|
|
1247
|
+
const e = $(t), { sendMessage: r } = E();
|
|
1197
1248
|
return e ? {
|
|
1198
1249
|
touchpanelState: e,
|
|
1199
1250
|
appControl: { hideApp: () => {
|
|
@@ -1208,8 +1259,8 @@ function v6(t) {
|
|
|
1208
1259
|
} }
|
|
1209
1260
|
} : void 0;
|
|
1210
1261
|
}
|
|
1211
|
-
function
|
|
1212
|
-
const e =
|
|
1262
|
+
function Z6(t) {
|
|
1263
|
+
const e = $(t), r = h1(t), s = R3(t);
|
|
1213
1264
|
if (!e)
|
|
1214
1265
|
return;
|
|
1215
1266
|
const l = (e.powerState || e.isWarming) && !e.isCooling, a = (!e.powerState || e.isCooling) && !e.isWarming;
|
|
@@ -1220,38 +1271,40 @@ function d6(t) {
|
|
|
1220
1271
|
powerFb: { powerOnFb: l, powerOffFb: a }
|
|
1221
1272
|
};
|
|
1222
1273
|
}
|
|
1223
|
-
const
|
|
1224
|
-
const { sendMessage: e } =
|
|
1225
|
-
|
|
1226
|
-
var s;
|
|
1274
|
+
const j6 = ({ config: t }) => {
|
|
1275
|
+
const { sendMessage: e } = E();
|
|
1276
|
+
t3(() => {
|
|
1277
|
+
var s, l;
|
|
1227
1278
|
if (!t)
|
|
1228
1279
|
return;
|
|
1229
1280
|
const r = [];
|
|
1230
|
-
Object.values(t.destinations).forEach((
|
|
1231
|
-
r.push(
|
|
1232
|
-
}), (s = t.touchpanelKeys) == null || s.forEach((
|
|
1233
|
-
r.push(
|
|
1234
|
-
}), t.environmentalDevices.forEach((
|
|
1235
|
-
r.push(
|
|
1236
|
-
}),
|
|
1237
|
-
r.push(
|
|
1281
|
+
Object.values(t.destinations).forEach((a) => {
|
|
1282
|
+
r.push(a);
|
|
1283
|
+
}), (s = t.touchpanelKeys) == null || s.forEach((a) => {
|
|
1284
|
+
r.push(a);
|
|
1285
|
+
}), t.environmentalDevices.forEach((a) => {
|
|
1286
|
+
r.push(a.deviceKey);
|
|
1287
|
+
}), (l = t.accessoryDevices) == null || l.forEach((a) => {
|
|
1288
|
+
r.push(a.deviceKey);
|
|
1289
|
+
}), t.audioCodecKey && r.push(t.audioCodecKey), t.videoCodecKey && r.push(t.videoCodecKey), t.matrixRoutingKey && r.push(t.matrixRoutingKey), t.endpointKeys && t.endpointKeys.forEach((a) => {
|
|
1290
|
+
r.push(a);
|
|
1238
1291
|
});
|
|
1239
|
-
for (const
|
|
1240
|
-
|
|
1241
|
-
r.forEach((
|
|
1242
|
-
e(`/device/${
|
|
1292
|
+
for (const a of Object.values(t.sourceList))
|
|
1293
|
+
a.sourceKey && a.sourceKey !== "$off" && r.push(a.sourceKey);
|
|
1294
|
+
r.forEach((a) => {
|
|
1295
|
+
e(`/device/${a}/fullStatus`, { deviceKey: a });
|
|
1243
1296
|
});
|
|
1244
1297
|
}, [t, e]);
|
|
1245
1298
|
};
|
|
1246
|
-
function
|
|
1247
|
-
const r =
|
|
1248
|
-
return
|
|
1299
|
+
function C6(t, e) {
|
|
1300
|
+
const r = f2(t, e), s = `/room/${t}/volumes/${e}`;
|
|
1301
|
+
return v1(s, r);
|
|
1249
1302
|
}
|
|
1250
|
-
const
|
|
1251
|
-
iconbtn:
|
|
1252
|
-
iconbtnvert:
|
|
1253
|
-
iconsm:
|
|
1254
|
-
},
|
|
1303
|
+
const S6 = () => /* @__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." }) }), L2 = "_iconbtn_16qss_1", $2 = "_iconbtnvert_16qss_7", T2 = "_iconsm_16qss_18", S3 = {
|
|
1304
|
+
iconbtn: L2,
|
|
1305
|
+
iconbtnvert: $2,
|
|
1306
|
+
iconsm: T2
|
|
1307
|
+
}, A2 = ({
|
|
1255
1308
|
multiIcon: t,
|
|
1256
1309
|
otherContent: e = null,
|
|
1257
1310
|
vert: r = !1,
|
|
@@ -1263,32 +1316,32 @@ const f6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
|
|
|
1263
1316
|
feedbackClassName: u,
|
|
1264
1317
|
onPointerDown: C,
|
|
1265
1318
|
onPointerUp: j,
|
|
1266
|
-
onPointerLeave:
|
|
1267
|
-
...
|
|
1319
|
+
onPointerLeave: b,
|
|
1320
|
+
...T
|
|
1268
1321
|
}) => {
|
|
1269
|
-
const [
|
|
1322
|
+
const [B, V] = h3(!1), G = !d && f ? u : "", q = !d && (B || f);
|
|
1270
1323
|
return /* @__PURE__ */ n.jsxs(
|
|
1271
1324
|
"button",
|
|
1272
1325
|
{
|
|
1273
1326
|
type: "button",
|
|
1274
|
-
className: `${
|
|
1275
|
-
...
|
|
1327
|
+
className: `${S3.iconbtn} ${r ? S3.iconbtnvert : ""} ${s} ${G}`,
|
|
1328
|
+
...T,
|
|
1276
1329
|
disabled: d,
|
|
1277
|
-
onPointerDown: (
|
|
1278
|
-
|
|
1330
|
+
onPointerDown: (S) => {
|
|
1331
|
+
V(!0), C == null || C(S);
|
|
1279
1332
|
},
|
|
1280
|
-
onPointerUp: (
|
|
1281
|
-
|
|
1333
|
+
onPointerUp: (S) => {
|
|
1334
|
+
V(!1), j == null || j(S);
|
|
1282
1335
|
},
|
|
1283
|
-
onPointerLeave: (
|
|
1284
|
-
|
|
1336
|
+
onPointerLeave: (S) => {
|
|
1337
|
+
V(!1), b == null || b(S);
|
|
1285
1338
|
},
|
|
1286
1339
|
children: [
|
|
1287
1340
|
t && /* @__PURE__ */ n.jsx(
|
|
1288
1341
|
t,
|
|
1289
1342
|
{
|
|
1290
|
-
className: `${l ||
|
|
1291
|
-
active:
|
|
1343
|
+
className: `${l || S3.iconsm}`,
|
|
1344
|
+
active: q,
|
|
1292
1345
|
disabled: d
|
|
1293
1346
|
}
|
|
1294
1347
|
),
|
|
@@ -1296,18 +1349,18 @@ const f6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
|
|
|
1296
1349
|
]
|
|
1297
1350
|
}
|
|
1298
1351
|
);
|
|
1299
|
-
},
|
|
1352
|
+
}, M = ({
|
|
1300
1353
|
ActiveImage: t,
|
|
1301
1354
|
DisabledImage: e,
|
|
1302
1355
|
EnabledImage: r,
|
|
1303
1356
|
active: s,
|
|
1304
1357
|
disabled: l
|
|
1305
|
-
}) => l ? e : s ? t : r,
|
|
1358
|
+
}) => l ? e : s ? t : r, B2 = ({
|
|
1306
1359
|
active: t,
|
|
1307
1360
|
className: e = "",
|
|
1308
1361
|
disabled: r
|
|
1309
1362
|
}) => /* @__PURE__ */ n.jsx(
|
|
1310
|
-
|
|
1363
|
+
M,
|
|
1311
1364
|
{
|
|
1312
1365
|
ActiveImage: (
|
|
1313
1366
|
/* icon-mic-active.svg */
|
|
@@ -1351,12 +1404,12 @@ const f6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
|
|
|
1351
1404
|
active: t,
|
|
1352
1405
|
disabled: r
|
|
1353
1406
|
}
|
|
1354
|
-
),
|
|
1407
|
+
), D2 = ({
|
|
1355
1408
|
active: t,
|
|
1356
1409
|
className: e = "",
|
|
1357
1410
|
disabled: r
|
|
1358
1411
|
}) => /* @__PURE__ */ n.jsx(
|
|
1359
|
-
|
|
1412
|
+
M,
|
|
1360
1413
|
{
|
|
1361
1414
|
ActiveImage: /* @__PURE__ */ n.jsx(
|
|
1362
1415
|
"svg",
|
|
@@ -1403,12 +1456,12 @@ const f6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
|
|
|
1403
1456
|
active: t,
|
|
1404
1457
|
disabled: r
|
|
1405
1458
|
}
|
|
1406
|
-
),
|
|
1459
|
+
), O2 = ({
|
|
1407
1460
|
active: t,
|
|
1408
1461
|
className: e = "",
|
|
1409
1462
|
disabled: r
|
|
1410
1463
|
}) => /* @__PURE__ */ n.jsx(
|
|
1411
|
-
|
|
1464
|
+
M,
|
|
1412
1465
|
{
|
|
1413
1466
|
ActiveImage: (
|
|
1414
1467
|
/* icon-ban-active.svg */
|
|
@@ -1452,12 +1505,12 @@ const f6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
|
|
|
1452
1505
|
active: t,
|
|
1453
1506
|
disabled: r
|
|
1454
1507
|
}
|
|
1455
|
-
),
|
|
1508
|
+
), P2 = ({
|
|
1456
1509
|
active: t,
|
|
1457
1510
|
className: e = "",
|
|
1458
1511
|
disabled: r
|
|
1459
1512
|
}) => /* @__PURE__ */ n.jsx(
|
|
1460
|
-
|
|
1513
|
+
M,
|
|
1461
1514
|
{
|
|
1462
1515
|
ActiveImage: /* @__PURE__ */ n.jsx(
|
|
1463
1516
|
"svg",
|
|
@@ -1492,12 +1545,12 @@ const f6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
|
|
|
1492
1545
|
active: t,
|
|
1493
1546
|
disabled: r
|
|
1494
1547
|
}
|
|
1495
|
-
),
|
|
1548
|
+
), V2 = ({
|
|
1496
1549
|
active: t,
|
|
1497
1550
|
className: e = "",
|
|
1498
1551
|
disabled: r
|
|
1499
1552
|
}) => /* @__PURE__ */ n.jsx(
|
|
1500
|
-
|
|
1553
|
+
M,
|
|
1501
1554
|
{
|
|
1502
1555
|
ActiveImage: (
|
|
1503
1556
|
/* icon-check-active.svg */
|
|
@@ -1541,12 +1594,12 @@ const f6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
|
|
|
1541
1594
|
active: t,
|
|
1542
1595
|
disabled: r
|
|
1543
1596
|
}
|
|
1544
|
-
),
|
|
1597
|
+
), k2 = ({
|
|
1545
1598
|
active: t,
|
|
1546
1599
|
className: e = "",
|
|
1547
1600
|
disabled: r
|
|
1548
1601
|
}) => /* @__PURE__ */ n.jsx(
|
|
1549
|
-
|
|
1602
|
+
M,
|
|
1550
1603
|
{
|
|
1551
1604
|
ActiveImage: (
|
|
1552
1605
|
/* icon-down-active.svg */
|
|
@@ -1590,12 +1643,12 @@ const f6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
|
|
|
1590
1643
|
active: t,
|
|
1591
1644
|
disabled: r
|
|
1592
1645
|
}
|
|
1593
|
-
),
|
|
1646
|
+
), F2 = ({
|
|
1594
1647
|
active: t,
|
|
1595
1648
|
className: e = "",
|
|
1596
1649
|
disabled: r
|
|
1597
1650
|
}) => /* @__PURE__ */ n.jsx(
|
|
1598
|
-
|
|
1651
|
+
M,
|
|
1599
1652
|
{
|
|
1600
1653
|
ActiveImage: (
|
|
1601
1654
|
/* icon-elipses-active.svg */
|
|
@@ -1639,12 +1692,12 @@ const f6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
|
|
|
1639
1692
|
active: t,
|
|
1640
1693
|
disabled: r
|
|
1641
1694
|
}
|
|
1642
|
-
),
|
|
1695
|
+
), W2 = ({
|
|
1643
1696
|
active: t,
|
|
1644
1697
|
className: e = "",
|
|
1645
1698
|
disabled: r
|
|
1646
1699
|
}) => /* @__PURE__ */ n.jsx(
|
|
1647
|
-
|
|
1700
|
+
M,
|
|
1648
1701
|
{
|
|
1649
1702
|
ActiveImage: (
|
|
1650
1703
|
/* icon-flag-active.svg */
|
|
@@ -1688,12 +1741,12 @@ const f6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
|
|
|
1688
1741
|
active: t,
|
|
1689
1742
|
disabled: r
|
|
1690
1743
|
}
|
|
1691
|
-
),
|
|
1744
|
+
), U2 = ({
|
|
1692
1745
|
active: t,
|
|
1693
1746
|
className: e = "",
|
|
1694
1747
|
disabled: r
|
|
1695
1748
|
}) => /* @__PURE__ */ n.jsx(
|
|
1696
|
-
|
|
1749
|
+
M,
|
|
1697
1750
|
{
|
|
1698
1751
|
ActiveImage: (
|
|
1699
1752
|
/* /Users/hvolmer/Downloads/SVG/icon-gear-active.svg */
|
|
@@ -1737,12 +1790,12 @@ const f6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
|
|
|
1737
1790
|
active: t,
|
|
1738
1791
|
disabled: r
|
|
1739
1792
|
}
|
|
1740
|
-
),
|
|
1793
|
+
), H2 = ({
|
|
1741
1794
|
active: t,
|
|
1742
1795
|
className: e = "",
|
|
1743
1796
|
disabled: r
|
|
1744
1797
|
}) => /* @__PURE__ */ n.jsx(
|
|
1745
|
-
|
|
1798
|
+
M,
|
|
1746
1799
|
{
|
|
1747
1800
|
ActiveImage: (
|
|
1748
1801
|
/* icon-glass-active.svg */
|
|
@@ -1786,14 +1839,14 @@ const f6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
|
|
|
1786
1839
|
active: t,
|
|
1787
1840
|
disabled: r
|
|
1788
1841
|
}
|
|
1789
|
-
),
|
|
1842
|
+
), K2 = ({
|
|
1790
1843
|
active: t,
|
|
1791
1844
|
// Just to shut up the linter on this template. Prefer deleting this lint rule
|
|
1792
1845
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
1793
1846
|
className: e = "",
|
|
1794
1847
|
disabled: r
|
|
1795
1848
|
}) => /* @__PURE__ */ n.jsx(
|
|
1796
|
-
|
|
1849
|
+
M,
|
|
1797
1850
|
{
|
|
1798
1851
|
ActiveImage: (
|
|
1799
1852
|
/* icon-hdmi-active.svg */
|
|
@@ -1855,12 +1908,12 @@ const f6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
|
|
|
1855
1908
|
active: t,
|
|
1856
1909
|
disabled: r
|
|
1857
1910
|
}
|
|
1858
|
-
),
|
|
1911
|
+
), G2 = ({
|
|
1859
1912
|
active: t,
|
|
1860
1913
|
className: e = "",
|
|
1861
1914
|
disabled: r
|
|
1862
1915
|
}) => /* @__PURE__ */ n.jsx(
|
|
1863
|
-
|
|
1916
|
+
M,
|
|
1864
1917
|
{
|
|
1865
1918
|
ActiveImage: (
|
|
1866
1919
|
/* icon-laptop-active.svg */
|
|
@@ -1904,12 +1957,12 @@ const f6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
|
|
|
1904
1957
|
active: t,
|
|
1905
1958
|
disabled: r
|
|
1906
1959
|
}
|
|
1907
|
-
),
|
|
1960
|
+
), q2 = ({
|
|
1908
1961
|
active: t,
|
|
1909
1962
|
className: e = "",
|
|
1910
1963
|
disabled: r
|
|
1911
1964
|
}) => /* @__PURE__ */ n.jsx(
|
|
1912
|
-
|
|
1965
|
+
M,
|
|
1913
1966
|
{
|
|
1914
1967
|
ActiveImage: (
|
|
1915
1968
|
/* icon-left-active.svg */
|
|
@@ -1953,12 +2006,12 @@ const f6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
|
|
|
1953
2006
|
active: t,
|
|
1954
2007
|
disabled: r
|
|
1955
2008
|
}
|
|
1956
|
-
),
|
|
2009
|
+
), Y2 = ({
|
|
1957
2010
|
active: t,
|
|
1958
2011
|
className: e = "",
|
|
1959
2012
|
disabled: r
|
|
1960
2013
|
}) => /* @__PURE__ */ n.jsx(
|
|
1961
|
-
|
|
2014
|
+
M,
|
|
1962
2015
|
{
|
|
1963
2016
|
ActiveImage: (
|
|
1964
2017
|
/* icon-light-active.svg */
|
|
@@ -2002,12 +2055,12 @@ const f6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
|
|
|
2002
2055
|
active: t,
|
|
2003
2056
|
disabled: r
|
|
2004
2057
|
}
|
|
2005
|
-
),
|
|
2058
|
+
), J2 = ({
|
|
2006
2059
|
active: t,
|
|
2007
2060
|
className: e = "",
|
|
2008
2061
|
disabled: r
|
|
2009
2062
|
}) => /* @__PURE__ */ n.jsx(
|
|
2010
|
-
|
|
2063
|
+
M,
|
|
2011
2064
|
{
|
|
2012
2065
|
ActiveImage: (
|
|
2013
2066
|
/* icon-moon-active.svg */
|
|
@@ -2051,12 +2104,12 @@ const f6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
|
|
|
2051
2104
|
active: t,
|
|
2052
2105
|
disabled: r
|
|
2053
2106
|
}
|
|
2054
|
-
),
|
|
2107
|
+
), z2 = ({
|
|
2055
2108
|
active: t,
|
|
2056
2109
|
className: e = "",
|
|
2057
2110
|
disabled: r
|
|
2058
2111
|
}) => /* @__PURE__ */ n.jsx(
|
|
2059
|
-
|
|
2112
|
+
M,
|
|
2060
2113
|
{
|
|
2061
2114
|
ActiveImage: (
|
|
2062
2115
|
/* icon-playstation-active.svg */
|
|
@@ -2073,12 +2126,12 @@ const f6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
|
|
|
2073
2126
|
active: t,
|
|
2074
2127
|
disabled: r
|
|
2075
2128
|
}
|
|
2076
|
-
),
|
|
2129
|
+
), X2 = ({
|
|
2077
2130
|
active: t,
|
|
2078
2131
|
className: e = "",
|
|
2079
2132
|
disabled: r
|
|
2080
2133
|
}) => /* @__PURE__ */ n.jsx(
|
|
2081
|
-
|
|
2134
|
+
M,
|
|
2082
2135
|
{
|
|
2083
2136
|
ActiveImage: (
|
|
2084
2137
|
/* icon-podium-active.svg */
|
|
@@ -2122,12 +2175,12 @@ const f6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
|
|
|
2122
2175
|
active: t,
|
|
2123
2176
|
disabled: r
|
|
2124
2177
|
}
|
|
2125
|
-
),
|
|
2178
|
+
), Q2 = ({
|
|
2126
2179
|
active: t,
|
|
2127
2180
|
className: e = "",
|
|
2128
2181
|
disabled: r
|
|
2129
2182
|
}) => /* @__PURE__ */ n.jsx(
|
|
2130
|
-
|
|
2183
|
+
M,
|
|
2131
2184
|
{
|
|
2132
2185
|
ActiveImage: (
|
|
2133
2186
|
/* icon-power-active.svg */
|
|
@@ -2171,12 +2224,12 @@ const f6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
|
|
|
2171
2224
|
active: t,
|
|
2172
2225
|
disabled: r
|
|
2173
2226
|
}
|
|
2174
|
-
),
|
|
2227
|
+
), N2 = ({
|
|
2175
2228
|
active: t,
|
|
2176
2229
|
className: e = "",
|
|
2177
2230
|
disabled: r
|
|
2178
2231
|
}) => /* @__PURE__ */ n.jsx(
|
|
2179
|
-
|
|
2232
|
+
M,
|
|
2180
2233
|
{
|
|
2181
2234
|
ActiveImage: (
|
|
2182
2235
|
/* icon-privacy-active.svg */
|
|
@@ -2220,12 +2273,12 @@ const f6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
|
|
|
2220
2273
|
active: t,
|
|
2221
2274
|
disabled: r
|
|
2222
2275
|
}
|
|
2223
|
-
),
|
|
2276
|
+
), e8 = ({
|
|
2224
2277
|
active: t,
|
|
2225
2278
|
className: e = "",
|
|
2226
2279
|
disabled: r
|
|
2227
2280
|
}) => /* @__PURE__ */ n.jsx(
|
|
2228
|
-
|
|
2281
|
+
M,
|
|
2229
2282
|
{
|
|
2230
2283
|
ActiveImage: (
|
|
2231
2284
|
/* icon-question-active.svg */
|
|
@@ -2269,12 +2322,12 @@ const f6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
|
|
|
2269
2322
|
active: t,
|
|
2270
2323
|
disabled: r
|
|
2271
2324
|
}
|
|
2272
|
-
),
|
|
2325
|
+
), t8 = ({
|
|
2273
2326
|
active: t,
|
|
2274
2327
|
className: e = "",
|
|
2275
2328
|
disabled: r
|
|
2276
2329
|
}) => /* @__PURE__ */ n.jsx(
|
|
2277
|
-
|
|
2330
|
+
M,
|
|
2278
2331
|
{
|
|
2279
2332
|
ActiveImage: (
|
|
2280
2333
|
/* icon-right-active.svg */
|
|
@@ -2318,12 +2371,12 @@ const f6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
|
|
|
2318
2371
|
active: t,
|
|
2319
2372
|
disabled: r
|
|
2320
2373
|
}
|
|
2321
|
-
),
|
|
2374
|
+
), n8 = ({
|
|
2322
2375
|
active: t,
|
|
2323
2376
|
className: e = "",
|
|
2324
2377
|
disabled: r
|
|
2325
2378
|
}) => /* @__PURE__ */ n.jsx(
|
|
2326
|
-
|
|
2379
|
+
M,
|
|
2327
2380
|
{
|
|
2328
2381
|
ActiveImage: (
|
|
2329
2382
|
/* icon-shade-active.svg */
|
|
@@ -2367,12 +2420,12 @@ const f6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
|
|
|
2367
2420
|
active: t,
|
|
2368
2421
|
disabled: r
|
|
2369
2422
|
}
|
|
2370
|
-
),
|
|
2423
|
+
), r8 = ({
|
|
2371
2424
|
active: t,
|
|
2372
2425
|
className: e = "",
|
|
2373
2426
|
disabled: r
|
|
2374
2427
|
}) => /* @__PURE__ */ n.jsx(
|
|
2375
|
-
|
|
2428
|
+
M,
|
|
2376
2429
|
{
|
|
2377
2430
|
ActiveImage: (
|
|
2378
2431
|
/* icon-sun-active.svg */
|
|
@@ -2416,12 +2469,12 @@ const f6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
|
|
|
2416
2469
|
active: t,
|
|
2417
2470
|
disabled: r
|
|
2418
2471
|
}
|
|
2419
|
-
),
|
|
2472
|
+
), o8 = ({
|
|
2420
2473
|
active: t,
|
|
2421
2474
|
className: e = "",
|
|
2422
2475
|
disabled: r
|
|
2423
2476
|
}) => /* @__PURE__ */ n.jsx(
|
|
2424
|
-
|
|
2477
|
+
M,
|
|
2425
2478
|
{
|
|
2426
2479
|
ActiveImage: (
|
|
2427
2480
|
/* icon-up-active.svg */
|
|
@@ -2465,12 +2518,12 @@ const f6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
|
|
|
2465
2518
|
active: t,
|
|
2466
2519
|
disabled: r
|
|
2467
2520
|
}
|
|
2468
|
-
),
|
|
2521
|
+
), s8 = ({
|
|
2469
2522
|
active: t,
|
|
2470
2523
|
className: e = "",
|
|
2471
2524
|
disabled: r
|
|
2472
2525
|
}) => /* @__PURE__ */ n.jsx(
|
|
2473
|
-
|
|
2526
|
+
M,
|
|
2474
2527
|
{
|
|
2475
2528
|
ActiveImage: (
|
|
2476
2529
|
/* icon-volDown-active.svg */
|
|
@@ -2514,12 +2567,12 @@ const f6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
|
|
|
2514
2567
|
active: t,
|
|
2515
2568
|
disabled: r
|
|
2516
2569
|
}
|
|
2517
|
-
),
|
|
2570
|
+
), c8 = ({
|
|
2518
2571
|
active: t,
|
|
2519
2572
|
className: e = "",
|
|
2520
2573
|
disabled: r
|
|
2521
2574
|
}) => /* @__PURE__ */ n.jsx(
|
|
2522
|
-
|
|
2575
|
+
M,
|
|
2523
2576
|
{
|
|
2524
2577
|
ActiveImage: (
|
|
2525
2578
|
/* icon-volMute-active.svg */
|
|
@@ -2563,12 +2616,12 @@ const f6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
|
|
|
2563
2616
|
active: t,
|
|
2564
2617
|
disabled: r
|
|
2565
2618
|
}
|
|
2566
|
-
),
|
|
2619
|
+
), l8 = ({
|
|
2567
2620
|
active: t,
|
|
2568
2621
|
className: e = "",
|
|
2569
2622
|
disabled: r
|
|
2570
2623
|
}) => /* @__PURE__ */ n.jsx(
|
|
2571
|
-
|
|
2624
|
+
M,
|
|
2572
2625
|
{
|
|
2573
2626
|
ActiveImage: (
|
|
2574
2627
|
/* icon-volUp-active.svg */
|
|
@@ -2612,12 +2665,12 @@ const f6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
|
|
|
2612
2665
|
active: t,
|
|
2613
2666
|
disabled: r
|
|
2614
2667
|
}
|
|
2615
|
-
),
|
|
2668
|
+
), i8 = ({
|
|
2616
2669
|
active: t,
|
|
2617
2670
|
className: e = "",
|
|
2618
2671
|
disabled: r
|
|
2619
2672
|
}) => /* @__PURE__ */ n.jsx(
|
|
2620
|
-
|
|
2673
|
+
M,
|
|
2621
2674
|
{
|
|
2622
2675
|
ActiveImage: (
|
|
2623
2676
|
/* icon-wireless-active.svg */
|
|
@@ -2661,12 +2714,12 @@ const f6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
|
|
|
2661
2714
|
active: t,
|
|
2662
2715
|
disabled: r
|
|
2663
2716
|
}
|
|
2664
|
-
),
|
|
2717
|
+
), a8 = ({
|
|
2665
2718
|
active: t,
|
|
2666
2719
|
className: e = "",
|
|
2667
2720
|
disabled: r
|
|
2668
2721
|
}) => /* @__PURE__ */ n.jsx(
|
|
2669
|
-
|
|
2722
|
+
M,
|
|
2670
2723
|
{
|
|
2671
2724
|
ActiveImage: (
|
|
2672
2725
|
/* icon-x-active.svg */
|
|
@@ -2710,12 +2763,12 @@ const f6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
|
|
|
2710
2763
|
active: t,
|
|
2711
2764
|
disabled: r
|
|
2712
2765
|
}
|
|
2713
|
-
),
|
|
2766
|
+
), u8 = ({
|
|
2714
2767
|
active: t,
|
|
2715
2768
|
className: e = "",
|
|
2716
2769
|
disabled: r
|
|
2717
2770
|
}) => /* @__PURE__ */ n.jsx(
|
|
2718
|
-
|
|
2771
|
+
M,
|
|
2719
2772
|
{
|
|
2720
2773
|
ActiveImage: (
|
|
2721
2774
|
/* icon-xbox-active.svg */
|
|
@@ -2759,101 +2812,115 @@ const f6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
|
|
|
2759
2812
|
active: t,
|
|
2760
2813
|
disabled: r
|
|
2761
2814
|
}
|
|
2762
|
-
),
|
|
2763
|
-
Alert:
|
|
2764
|
-
Camera:
|
|
2765
|
-
DownArrow:
|
|
2766
|
-
Ban:
|
|
2767
|
-
Check:
|
|
2768
|
-
Elipses:
|
|
2769
|
-
Flag:
|
|
2770
|
-
Gear:
|
|
2771
|
-
Glass:
|
|
2772
|
-
Hdmi:
|
|
2773
|
-
Laptop:
|
|
2774
|
-
LeftArrow:
|
|
2775
|
-
Light:
|
|
2776
|
-
Mic:
|
|
2777
|
-
Moon:
|
|
2778
|
-
Playstation:
|
|
2779
|
-
Podium:
|
|
2780
|
-
Power:
|
|
2781
|
-
Privacy:
|
|
2782
|
-
Question:
|
|
2783
|
-
RightArrow:
|
|
2784
|
-
Shade:
|
|
2785
|
-
Sun:
|
|
2786
|
-
UpArrow:
|
|
2787
|
-
VolDown:
|
|
2788
|
-
VolMute:
|
|
2789
|
-
VolUp:
|
|
2790
|
-
Wireless:
|
|
2791
|
-
X:
|
|
2792
|
-
Xbox:
|
|
2815
|
+
), d8 = {
|
|
2816
|
+
Alert: D2,
|
|
2817
|
+
Camera: P2,
|
|
2818
|
+
DownArrow: k2,
|
|
2819
|
+
Ban: O2,
|
|
2820
|
+
Check: V2,
|
|
2821
|
+
Elipses: F2,
|
|
2822
|
+
Flag: W2,
|
|
2823
|
+
Gear: U2,
|
|
2824
|
+
Glass: H2,
|
|
2825
|
+
Hdmi: K2,
|
|
2826
|
+
Laptop: G2,
|
|
2827
|
+
LeftArrow: q2,
|
|
2828
|
+
Light: Y2,
|
|
2829
|
+
Mic: B2,
|
|
2830
|
+
Moon: J2,
|
|
2831
|
+
Playstation: z2,
|
|
2832
|
+
Podium: X2,
|
|
2833
|
+
Power: Q2,
|
|
2834
|
+
Privacy: N2,
|
|
2835
|
+
Question: e8,
|
|
2836
|
+
RightArrow: t8,
|
|
2837
|
+
Shade: n8,
|
|
2838
|
+
Sun: r8,
|
|
2839
|
+
UpArrow: o8,
|
|
2840
|
+
VolDown: s8,
|
|
2841
|
+
VolMute: c8,
|
|
2842
|
+
VolUp: l8,
|
|
2843
|
+
Wireless: i8,
|
|
2844
|
+
X: a8,
|
|
2845
|
+
Xbox: u8
|
|
2793
2846
|
};
|
|
2794
|
-
function
|
|
2847
|
+
function b6({
|
|
2795
2848
|
name: t,
|
|
2796
|
-
|
|
2849
|
+
iconsDictionary: e = d8,
|
|
2850
|
+
...r
|
|
2797
2851
|
}) {
|
|
2798
|
-
const
|
|
2799
|
-
return
|
|
2852
|
+
const s = e[t] ?? null;
|
|
2853
|
+
return s || console.error(`Icon ${t} not found in dictionary`), /* @__PURE__ */ n.jsx(A2, { multiIcon: s, ...r });
|
|
2800
2854
|
}
|
|
2801
|
-
const
|
|
2802
|
-
grid:
|
|
2803
|
-
header: i8,
|
|
2804
|
-
content: a8,
|
|
2805
|
-
footer: u8,
|
|
2806
|
-
volume: v8
|
|
2807
|
-
}, p6 = ({ header: t, footer: e, content: r, volume: s, showVolume: l }) => /* @__PURE__ */ n.jsxs("div", { className: z.grid, children: [
|
|
2808
|
-
/* @__PURE__ */ n.jsx("div", { className: z.header, children: t }),
|
|
2809
|
-
/* @__PURE__ */ n.jsx("div", { className: z.content, children: r }),
|
|
2810
|
-
l && /* @__PURE__ */ n.jsx("div", { className: z.volume, children: s }),
|
|
2811
|
-
/* @__PURE__ */ n.jsx("div", { className: z.footer, children: e })
|
|
2812
|
-
] }), d8 = "_grid_11w5q_1", h8 = "_header_11w5q_11", g8 = "_content_11w5q_17", r3 = {
|
|
2813
|
-
grid: d8,
|
|
2855
|
+
const v8 = "_grid_1cmpp_1", h8 = "_header_1cmpp_11", g8 = "_content_1cmpp_17", f8 = "_footer_1cmpp_23", w8 = "_volume_1cmpp_29", e3 = {
|
|
2856
|
+
grid: v8,
|
|
2814
2857
|
header: h8,
|
|
2815
2858
|
content: g8,
|
|
2859
|
+
footer: f8,
|
|
2860
|
+
volume: w8
|
|
2861
|
+
}, I6 = ({ header: t, footer: e, content: r, volume: s, showVolume: l }) => /* @__PURE__ */ n.jsxs("div", { className: e3.grid, children: [
|
|
2862
|
+
/* @__PURE__ */ n.jsx("div", { className: e3.header, children: t }),
|
|
2863
|
+
/* @__PURE__ */ n.jsx("div", { className: e3.content, children: r }),
|
|
2864
|
+
l && /* @__PURE__ */ n.jsx("div", { className: e3.volume, children: s }),
|
|
2865
|
+
/* @__PURE__ */ n.jsx("div", { className: e3.footer, children: e })
|
|
2866
|
+
] }), p8 = "_grid_11w5q_1", x8 = "_header_11w5q_11", M8 = "_content_11w5q_17", v3 = {
|
|
2867
|
+
grid: p8,
|
|
2868
|
+
header: x8,
|
|
2869
|
+
content: M8,
|
|
2816
2870
|
"left-nav": "_left-nav_11w5q_23"
|
|
2817
|
-
},
|
|
2818
|
-
/* @__PURE__ */ n.jsx("div", { className:
|
|
2819
|
-
/* @__PURE__ */ n.jsx("div", { className:
|
|
2820
|
-
/* @__PURE__ */ n.jsx("div", { className:
|
|
2871
|
+
}, y6 = ({ className: t, header: e, content: r, leftNav: s }) => /* @__PURE__ */ n.jsxs("div", { className: `${t} ${v3.grid}`, children: [
|
|
2872
|
+
/* @__PURE__ */ n.jsx("div", { className: v3.header, children: e }),
|
|
2873
|
+
s && /* @__PURE__ */ n.jsx("div", { className: v3.leftNav, children: s }),
|
|
2874
|
+
/* @__PURE__ */ n.jsx("div", { className: v3.content, children: r })
|
|
2875
|
+
] }), m8 = "_grid_1uwfo_1", Z8 = "_header_1uwfo_11", j8 = "_content_1uwfo_17", b3 = {
|
|
2876
|
+
grid: m8,
|
|
2877
|
+
header: Z8,
|
|
2878
|
+
content: j8
|
|
2879
|
+
}, R6 = ({ className: t, header: e, content: r }) => /* @__PURE__ */ n.jsxs("div", { className: `${t} ${b3.grid}`, children: [
|
|
2880
|
+
/* @__PURE__ */ n.jsx("div", { className: b3.header, children: e }),
|
|
2881
|
+
/* @__PURE__ */ n.jsx("div", { className: b3.content, children: r })
|
|
2821
2882
|
] });
|
|
2822
|
-
function
|
|
2883
|
+
function E6() {
|
|
2823
2884
|
return console.log(location.pathname), location.pathname;
|
|
2824
2885
|
}
|
|
2825
|
-
var
|
|
2826
|
-
class
|
|
2886
|
+
var C8 = /* @__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))(C8 || {});
|
|
2887
|
+
class _6 {
|
|
2827
2888
|
constructor(e, r) {
|
|
2828
|
-
|
|
2829
|
-
|
|
2889
|
+
R(this, "path");
|
|
2890
|
+
R(this, "handler");
|
|
2830
2891
|
this.path = e, this.handler = r;
|
|
2831
2892
|
}
|
|
2832
2893
|
}
|
|
2833
|
-
const
|
|
2834
|
-
class
|
|
2894
|
+
const L6 = "$off";
|
|
2895
|
+
class $6 {
|
|
2896
|
+
constructor() {
|
|
2897
|
+
R(this, "name", "");
|
|
2898
|
+
R(this, "iconUrl", "");
|
|
2899
|
+
R(this, "channel", "");
|
|
2900
|
+
}
|
|
2901
|
+
}
|
|
2902
|
+
class T6 {
|
|
2835
2903
|
constructor() {
|
|
2836
|
-
|
|
2837
|
-
|
|
2838
|
-
B(this, "channel", "");
|
|
2904
|
+
R(this, "deviceKey");
|
|
2905
|
+
R(this, "deviceType");
|
|
2839
2906
|
}
|
|
2840
2907
|
}
|
|
2841
|
-
class
|
|
2908
|
+
class A6 {
|
|
2842
2909
|
constructor() {
|
|
2843
|
-
|
|
2844
|
-
|
|
2910
|
+
R(this, "deviceKey");
|
|
2911
|
+
R(this, "deviceType");
|
|
2845
2912
|
}
|
|
2846
2913
|
}
|
|
2847
|
-
class
|
|
2914
|
+
class B6 {
|
|
2848
2915
|
constructor() {
|
|
2849
|
-
|
|
2850
|
-
|
|
2851
|
-
|
|
2916
|
+
R(this, "currentShareText");
|
|
2917
|
+
R(this, "enabled");
|
|
2918
|
+
R(this, "isSharing");
|
|
2852
2919
|
}
|
|
2853
2920
|
}
|
|
2854
|
-
const
|
|
2855
|
-
const [e, r] =
|
|
2856
|
-
return
|
|
2921
|
+
const D6 = ({ className: t }) => {
|
|
2922
|
+
const [e, r] = h3();
|
|
2923
|
+
return t3(() => {
|
|
2857
2924
|
setInterval(() => {
|
|
2858
2925
|
const s = (/* @__PURE__ */ new Date()).toLocaleTimeString("en-US", { hour12: !0, hour: "numeric", minute: "numeric" });
|
|
2859
2926
|
r(s);
|
|
@@ -2864,113 +2931,117 @@ const b6 = ({ className: t }) => {
|
|
|
2864
2931
|
] });
|
|
2865
2932
|
};
|
|
2866
2933
|
export {
|
|
2867
|
-
|
|
2868
|
-
|
|
2869
|
-
|
|
2870
|
-
|
|
2871
|
-
|
|
2872
|
-
|
|
2873
|
-
|
|
2874
|
-
|
|
2875
|
-
|
|
2876
|
-
|
|
2877
|
-
|
|
2878
|
-
|
|
2879
|
-
|
|
2880
|
-
|
|
2881
|
-
|
|
2882
|
-
|
|
2883
|
-
|
|
2884
|
-
|
|
2885
|
-
|
|
2886
|
-
|
|
2887
|
-
|
|
2888
|
-
|
|
2889
|
-
|
|
2890
|
-
|
|
2891
|
-
|
|
2892
|
-
|
|
2893
|
-
|
|
2894
|
-
|
|
2895
|
-
|
|
2896
|
-
|
|
2897
|
-
|
|
2898
|
-
|
|
2899
|
-
|
|
2900
|
-
|
|
2901
|
-
|
|
2902
|
-
|
|
2903
|
-
|
|
2904
|
-
|
|
2905
|
-
|
|
2906
|
-
|
|
2907
|
-
|
|
2908
|
-
|
|
2909
|
-
|
|
2910
|
-
|
|
2911
|
-
|
|
2912
|
-
|
|
2913
|
-
|
|
2914
|
-
|
|
2915
|
-
|
|
2916
|
-
|
|
2917
|
-
|
|
2918
|
-
|
|
2919
|
-
|
|
2920
|
-
|
|
2921
|
-
|
|
2922
|
-
|
|
2923
|
-
|
|
2924
|
-
|
|
2925
|
-
|
|
2926
|
-
|
|
2927
|
-
|
|
2928
|
-
|
|
2929
|
-
|
|
2930
|
-
|
|
2931
|
-
|
|
2932
|
-
|
|
2933
|
-
|
|
2934
|
-
|
|
2935
|
-
|
|
2936
|
-
|
|
2937
|
-
|
|
2938
|
-
|
|
2939
|
-
|
|
2940
|
-
|
|
2941
|
-
|
|
2942
|
-
|
|
2943
|
-
|
|
2944
|
-
|
|
2945
|
-
|
|
2946
|
-
|
|
2947
|
-
|
|
2948
|
-
|
|
2949
|
-
|
|
2950
|
-
|
|
2951
|
-
|
|
2952
|
-
|
|
2953
|
-
|
|
2954
|
-
|
|
2955
|
-
|
|
2956
|
-
|
|
2957
|
-
|
|
2958
|
-
|
|
2959
|
-
|
|
2960
|
-
|
|
2961
|
-
|
|
2962
|
-
|
|
2963
|
-
|
|
2964
|
-
|
|
2965
|
-
|
|
2966
|
-
|
|
2967
|
-
|
|
2968
|
-
|
|
2969
|
-
|
|
2970
|
-
|
|
2971
|
-
|
|
2972
|
-
|
|
2973
|
-
|
|
2974
|
-
|
|
2975
|
-
|
|
2934
|
+
A6 as AccessoryDeviceConfiguration,
|
|
2935
|
+
D6 as Clock,
|
|
2936
|
+
C8 as DaysOfWeek,
|
|
2937
|
+
T6 as EnvironmentalDeviceConfiguration,
|
|
2938
|
+
S6 as ErrorBox,
|
|
2939
|
+
A2 as IconButton,
|
|
2940
|
+
D2 as IconMultiAlert,
|
|
2941
|
+
O2 as IconMultiBan,
|
|
2942
|
+
P2 as IconMultiCamera,
|
|
2943
|
+
V2 as IconMultiCheck,
|
|
2944
|
+
k2 as IconMultiDownArrow,
|
|
2945
|
+
F2 as IconMultiElipses,
|
|
2946
|
+
W2 as IconMultiFlag,
|
|
2947
|
+
U2 as IconMultiGear,
|
|
2948
|
+
H2 as IconMultiGlass,
|
|
2949
|
+
K2 as IconMultiHdmi,
|
|
2950
|
+
G2 as IconMultiLaptop,
|
|
2951
|
+
q2 as IconMultiLeftArrow,
|
|
2952
|
+
Y2 as IconMultiLight,
|
|
2953
|
+
J2 as IconMultiMoon,
|
|
2954
|
+
z2 as IconMultiPlaystation,
|
|
2955
|
+
X2 as IconMultiPodium,
|
|
2956
|
+
Q2 as IconMultiPower,
|
|
2957
|
+
N2 as IconMultiPrivacy,
|
|
2958
|
+
e8 as IconMultiQuestion,
|
|
2959
|
+
t8 as IconMultiRightArrow,
|
|
2960
|
+
n8 as IconMultiShade,
|
|
2961
|
+
r8 as IconMultiSun,
|
|
2962
|
+
o8 as IconMultiUpArrow,
|
|
2963
|
+
s8 as IconMultiVolDown,
|
|
2964
|
+
c8 as IconMultiVolMute,
|
|
2965
|
+
l8 as IconMultiVolUp,
|
|
2966
|
+
i8 as IconMultiWireless,
|
|
2967
|
+
a8 as IconMultiX,
|
|
2968
|
+
u8 as IconMultiXbox,
|
|
2969
|
+
I6 as MainLayout,
|
|
2970
|
+
_6 as MessageHandler,
|
|
2971
|
+
Q8 as MobileControlProvider,
|
|
2972
|
+
M as MultiStateIconContainer,
|
|
2973
|
+
b6 as NamedIconButton,
|
|
2974
|
+
$6 as PresetChannel,
|
|
2975
|
+
B6 as ShareState,
|
|
2976
|
+
y6 as TechLayout,
|
|
2977
|
+
R6 as TechPinLayout,
|
|
2978
|
+
E6 as getBaseLocation,
|
|
2979
|
+
I3 as httpClient,
|
|
2980
|
+
L6 as roomOffSourceKey,
|
|
2981
|
+
k as store,
|
|
2982
|
+
E8 as uiActions,
|
|
2983
|
+
d2 as uiReducer,
|
|
2984
|
+
_8 as useApiPath,
|
|
2985
|
+
h2 as useAppConfig,
|
|
2986
|
+
M2 as useAppDispatch,
|
|
2987
|
+
e6 as useAvrControl,
|
|
2988
|
+
x2 as useClientId,
|
|
2989
|
+
E2 as useDeviceIBasicVolumeWithFeedback,
|
|
2990
|
+
t6 as useEndpoint,
|
|
2991
|
+
j6 as useGetAllDeviceStateFromRoomConfiguration,
|
|
2992
|
+
g2 as useGetAllDevices,
|
|
2993
|
+
z8 as useGetCurrentPopoverIdForGroup,
|
|
2994
|
+
$ as useGetDevice,
|
|
2995
|
+
N8 as useGetIBasicVolumeWithFeedback,
|
|
2996
|
+
K8 as useGetRoomDisplayStates,
|
|
2997
|
+
G8 as useGetZoomRoomControllerKey,
|
|
2998
|
+
v1 as useIBasicVolumeWithFeedback,
|
|
2999
|
+
n6 as useIChannelMessenger,
|
|
3000
|
+
r6 as useIColor,
|
|
3001
|
+
o6 as useICommunicationMonitor,
|
|
3002
|
+
s6 as useIDPad,
|
|
3003
|
+
c6 as useIDeviceInfoMessenger,
|
|
3004
|
+
l6 as useIDvr,
|
|
3005
|
+
h1 as useIHasPowerControl,
|
|
3006
|
+
R3 as useIHasSelectableItems,
|
|
3007
|
+
i6 as useILevelControls,
|
|
3008
|
+
a6 as useILightingScenes,
|
|
3009
|
+
u6 as useIMatrixRouting,
|
|
3010
|
+
d6 as useINumeric,
|
|
3011
|
+
v6 as useIRoomEventSchedule,
|
|
3012
|
+
h6 as useIRunDirectRouteAction,
|
|
3013
|
+
g6 as useIRunRouteAction,
|
|
3014
|
+
f6 as useISetTopBoxControls,
|
|
3015
|
+
w6 as useIShadesOpenCloseStop,
|
|
3016
|
+
p6 as useIShutdownPromptTimer,
|
|
3017
|
+
x6 as useISwitchedOutput,
|
|
3018
|
+
M6 as useITransport,
|
|
3019
|
+
m2 as useInitialize,
|
|
3020
|
+
m6 as useMobileControlTouchpanelController,
|
|
3021
|
+
R2 as usePressHoldRelease,
|
|
3022
|
+
U8 as useRoomAdvancedSharingActive,
|
|
3023
|
+
P8 as useRoomCodecContentDestinationKey,
|
|
3024
|
+
L8 as useRoomConfiguration,
|
|
3025
|
+
B8 as useRoomDestinationList,
|
|
3026
|
+
A8 as useRoomDestinations,
|
|
3027
|
+
D8 as useRoomEnvironmentalDevices,
|
|
3028
|
+
C6 as useRoomIBasicVolumeWithFeedback,
|
|
3029
|
+
V8 as useRoomInCall,
|
|
3030
|
+
F8 as useRoomIsCoolingDown,
|
|
3031
|
+
W8 as useRoomIsOn,
|
|
3032
|
+
k8 as useRoomIsWarmingUp,
|
|
3033
|
+
p2 as useRoomKey,
|
|
3034
|
+
$8 as useRoomName,
|
|
3035
|
+
O8 as useRoomProgramAudioDestinationKey,
|
|
3036
|
+
H8 as useRoomShareState,
|
|
3037
|
+
T8 as useRoomSourceList,
|
|
3038
|
+
u1 as useRoomState,
|
|
3039
|
+
f2 as useRoomVolume,
|
|
3040
|
+
Y8 as useShowIncomingCallModal,
|
|
3041
|
+
J8 as useShowModal,
|
|
3042
|
+
X8 as useShowPopoverById,
|
|
3043
|
+
q8 as useShowShutdownModal,
|
|
3044
|
+
Z6 as useTwoWayDisplayBase,
|
|
3045
|
+
E as useWebsocketContext,
|
|
3046
|
+
w2 as useWsIsConnected
|
|
2976
3047
|
};
|