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