@pepperdash/mobile-control-react-app-core 1.1.1 → 1.3.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 +897 -752
- package/dist/mobile-control-react-app-core.umd.js +10 -10
- package/dist/services/apiService.d.ts.map +1 -1
- package/dist/shared/Icons/MultiStateIcons/IconMultiHdmi.d.ts +3 -0
- package/dist/shared/Icons/MultiStateIcons/IconMultiHdmi.d.ts.map +1 -0
- package/dist/shared/Icons/MultiStateIcons/index.d.ts +1 -0
- package/dist/shared/Icons/MultiStateIcons/index.d.ts.map +1 -1
- package/dist/shared/Icons/iconsDictionary.d.ts +1 -1
- package/dist/shared/Icons/iconsDictionary.d.ts.map +1 -1
- package/dist/shared/hooks/index.d.ts +1 -0
- package/dist/shared/hooks/index.d.ts.map +1 -1
- package/dist/shared/hooks/interfaces/index.d.ts +5 -0
- package/dist/shared/hooks/interfaces/index.d.ts.map +1 -0
- package/dist/shared/hooks/interfaces/interfaceNames.d.ts +2 -0
- package/dist/shared/hooks/interfaces/interfaceNames.d.ts.map +1 -0
- package/dist/shared/hooks/interfaces/useIHasPowerControl.d.ts +7 -0
- package/dist/shared/hooks/interfaces/useIHasPowerControl.d.ts.map +1 -0
- package/dist/shared/hooks/interfaces/useIRunDirectRouteAction.d.ts +10 -0
- package/dist/shared/hooks/interfaces/useIRunDirectRouteAction.d.ts.map +1 -0
- package/dist/shared/hooks/interfaces/useTwoWayDisplayBase.d.ts +9 -0
- package/dist/shared/hooks/interfaces/useTwoWayDisplayBase.d.ts.map +1 -0
- package/dist/shared/hooks/useGetDeviceStateFromRoomConfiguration.d.ts.map +1 -1
- package/dist/store/devices/devices.slice.d.ts +3 -3
- package/dist/store/devices/devicesSelectors.d.ts +2 -2
- package/dist/store/devices/devicesSelectors.d.ts.map +1 -1
- package/dist/store/hooks.d.ts +2 -2
- package/dist/store/index.d.ts +4 -4
- package/dist/store/rooms/rooms.slice.d.ts +6 -6
- package/dist/store/rooms/roomsSelectors.d.ts +5 -3
- package/dist/store/rooms/roomsSelectors.d.ts.map +1 -1
- package/dist/store/rootReducer.d.ts +8 -8
- package/dist/types/state/index.d.ts +1 -0
- package/dist/types/state/index.d.ts.map +1 -1
- package/dist/types/state/state/DisplayState.d.ts +1 -1
- package/dist/types/state/state/DisplayState.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
import
|
|
5
|
-
import { createSlice as K, combineReducers as
|
|
6
|
-
import { useSelector as
|
|
7
|
-
import * as
|
|
8
|
-
import
|
|
9
|
-
const
|
|
1
|
+
var B1 = Object.defineProperty;
|
|
2
|
+
var L1 = (c, r, t) => r in c ? B1(c, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : c[r] = t;
|
|
3
|
+
var d = (c, r, t) => (L1(c, typeof r != "symbol" ? r + "" : r, t), t);
|
|
4
|
+
import A1 from "axios";
|
|
5
|
+
import { createSlice as K, combineReducers as T1, configureStore as W3 } from "@reduxjs/toolkit";
|
|
6
|
+
import { useSelector as P1, useDispatch as D1, Provider as O1 } from "react-redux";
|
|
7
|
+
import * as U3 from "lodash";
|
|
8
|
+
import H3, { createContext as V1, useContext as k1, useState as r3, useRef as $1, useCallback as V3, useEffect as Y } from "react";
|
|
9
|
+
const F1 = {
|
|
10
10
|
config: {
|
|
11
11
|
enableDev: !1,
|
|
12
12
|
apiPath: "",
|
|
@@ -18,43 +18,43 @@ const $1 = {
|
|
|
18
18
|
}
|
|
19
19
|
}, q3 = K({
|
|
20
20
|
name: "appConfig",
|
|
21
|
-
initialState:
|
|
21
|
+
initialState: F1,
|
|
22
22
|
reducers: {
|
|
23
|
-
setAppConfig(
|
|
24
|
-
|
|
23
|
+
setAppConfig(c, r) {
|
|
24
|
+
c.config = r.payload;
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
}),
|
|
27
|
+
}), W1 = q3.actions, U1 = q3.reducer, H1 = {}, G3 = K({
|
|
28
28
|
name: "devices",
|
|
29
|
-
initialState:
|
|
29
|
+
initialState: H1,
|
|
30
30
|
reducers: {
|
|
31
|
-
setDeviceState(
|
|
31
|
+
setDeviceState(c, r) {
|
|
32
32
|
const t = r.payload.type, l = t.slice(t.lastIndexOf("/") + 1);
|
|
33
33
|
if (!l)
|
|
34
34
|
return;
|
|
35
|
-
const
|
|
35
|
+
const g = r.payload.content, m = c[l] ?? {}, S = U3.merge(m, g);
|
|
36
36
|
return {
|
|
37
|
-
...
|
|
37
|
+
...c,
|
|
38
38
|
[l]: S
|
|
39
39
|
};
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
}), q1 =
|
|
42
|
+
}), q1 = G3.actions, G1 = G3.reducer, Y1 = {}, Y3 = K({
|
|
43
43
|
name: "rooms",
|
|
44
|
-
initialState:
|
|
44
|
+
initialState: Y1,
|
|
45
45
|
reducers: {
|
|
46
|
-
setRoomState(
|
|
46
|
+
setRoomState(c, r) {
|
|
47
47
|
const l = r.payload.type.match("/room/(.*)/status");
|
|
48
48
|
if (!l)
|
|
49
49
|
return;
|
|
50
|
-
const
|
|
50
|
+
const g = l[1], m = r.payload.content, S = c[g] ?? {}, b = U3.merge(S, m);
|
|
51
51
|
return {
|
|
52
|
-
...
|
|
53
|
-
[
|
|
52
|
+
...c,
|
|
53
|
+
[g]: b
|
|
54
54
|
};
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
|
-
}),
|
|
57
|
+
}), K1 = Y3.actions, J1 = Y3.reducer, z1 = {
|
|
58
58
|
apiVersion: "",
|
|
59
59
|
serverIsRunningOnProcessorHardware: !1,
|
|
60
60
|
websocket: {
|
|
@@ -73,159 +73,165 @@ const $1 = {
|
|
|
73
73
|
userCode: "",
|
|
74
74
|
qrUrl: ""
|
|
75
75
|
}
|
|
76
|
-
},
|
|
76
|
+
}, K3 = K({
|
|
77
77
|
name: "runtimeConfig",
|
|
78
|
-
initialState:
|
|
78
|
+
initialState: z1,
|
|
79
79
|
reducers: {
|
|
80
|
-
setRuntimeConfig(
|
|
81
|
-
|
|
80
|
+
setRuntimeConfig(c, r) {
|
|
81
|
+
c.apiVersion = r.payload.apiVersion, c.serverIsRunningOnProcessorHardware = r.payload.serverIsRunningOnProcessorHardware;
|
|
82
82
|
},
|
|
83
|
-
setToken(
|
|
84
|
-
|
|
83
|
+
setToken(c, r) {
|
|
84
|
+
c.token = r.payload;
|
|
85
85
|
},
|
|
86
|
-
setWebsocketIsConnected(
|
|
87
|
-
|
|
86
|
+
setWebsocketIsConnected(c, r) {
|
|
87
|
+
c.websocket.isConnected = r.payload;
|
|
88
88
|
},
|
|
89
|
-
setPluginVersion(
|
|
90
|
-
|
|
89
|
+
setPluginVersion(c, r) {
|
|
90
|
+
c.pluginVersion = r.payload;
|
|
91
91
|
},
|
|
92
|
-
setRoomData(
|
|
93
|
-
|
|
92
|
+
setRoomData(c, r) {
|
|
93
|
+
c.roomData = r.payload;
|
|
94
94
|
},
|
|
95
|
-
setCurrentRoomKey(
|
|
96
|
-
|
|
95
|
+
setCurrentRoomKey(c, r) {
|
|
96
|
+
c.roomData.roomKey = r.payload;
|
|
97
97
|
},
|
|
98
|
-
setUserCode(
|
|
99
|
-
|
|
98
|
+
setUserCode(c, r) {
|
|
99
|
+
c.roomData.userCode = r.payload.userCode, c.roomData.qrUrl = r.payload.qrUrl;
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
|
-
}), F =
|
|
102
|
+
}), F = K3.actions, X1 = K3.reducer, Q1 = {
|
|
103
103
|
modalVisibility: {
|
|
104
104
|
showShutdownModal: !1,
|
|
105
105
|
showIncomingCallModal: !1
|
|
106
106
|
},
|
|
107
107
|
popoverVisibility: {}
|
|
108
|
-
},
|
|
108
|
+
}, J3 = K({
|
|
109
109
|
name: "ui",
|
|
110
|
-
initialState:
|
|
110
|
+
initialState: Q1,
|
|
111
111
|
reducers: {
|
|
112
|
-
clearAllModals(
|
|
113
|
-
Object.entries(
|
|
114
|
-
|
|
112
|
+
clearAllModals(c) {
|
|
113
|
+
Object.entries(c.modalVisibility).forEach(([r]) => {
|
|
114
|
+
c.modalVisibility[r] = !1;
|
|
115
115
|
});
|
|
116
116
|
},
|
|
117
|
-
setModalState(
|
|
118
|
-
|
|
117
|
+
setModalState(c, r) {
|
|
118
|
+
c.modalVisibility[r.payload.modalType] = r.payload.value;
|
|
119
119
|
},
|
|
120
|
-
setShowShutdownModal(
|
|
121
|
-
|
|
120
|
+
setShowShutdownModal(c, r) {
|
|
121
|
+
c.modalVisibility.showShutdownModal = r.payload;
|
|
122
122
|
},
|
|
123
|
-
setIncomingCallModal(
|
|
124
|
-
|
|
123
|
+
setIncomingCallModal(c, r) {
|
|
124
|
+
c.modalVisibility.showIncomingCallModal = r.payload;
|
|
125
125
|
},
|
|
126
|
-
setPopoverState(
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
}),
|
|
126
|
+
setPopoverState(c, r) {
|
|
127
|
+
c.popoverVisibility[r.payload.popoverGroup] || (c.popoverVisibility[r.payload.popoverGroup] = {}), Object.entries(c.popoverVisibility[r.payload.popoverGroup]).forEach(([t]) => {
|
|
128
|
+
c.popoverVisibility[r.payload.popoverGroup][t] = !1;
|
|
129
|
+
}), c.popoverVisibility[r.payload.popoverGroup][r.payload.popoverId] = r.payload.value;
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
|
-
}),
|
|
133
|
-
appConfig:
|
|
134
|
-
runtimeConfig:
|
|
135
|
-
rooms:
|
|
136
|
-
devices:
|
|
137
|
-
ui:
|
|
132
|
+
}), v8 = J3.actions, N1 = J3.reducer, z3 = T1({
|
|
133
|
+
appConfig: U1,
|
|
134
|
+
runtimeConfig: X1,
|
|
135
|
+
rooms: J1,
|
|
136
|
+
devices: G1,
|
|
137
|
+
ui: N1
|
|
138
138
|
});
|
|
139
|
-
|
|
140
|
-
reducer:
|
|
139
|
+
W3({
|
|
140
|
+
reducer: z3
|
|
141
141
|
});
|
|
142
|
-
const f =
|
|
142
|
+
const f = P1, e2 = () => f((c) => c.appConfig.config), h8 = () => f((c) => c.appConfig.config.apiPath), d8 = () => f((c) => Object.values(c.devices)), r2 = (c) => f((r) => r.devices[c]), u8 = (c) => f(
|
|
143
143
|
(r) => {
|
|
144
144
|
var t;
|
|
145
|
-
return r.rooms[
|
|
145
|
+
return r.rooms[c] ? (t = r.rooms[c]) == null ? void 0 : t.configuration : void 0;
|
|
146
146
|
}
|
|
147
|
-
),
|
|
148
|
-
(r) => r.rooms[
|
|
149
|
-
),
|
|
147
|
+
), g8 = (c) => f(
|
|
148
|
+
(r) => r.rooms[c] ? r.rooms[c] : void 0
|
|
149
|
+
), w8 = (c) => f(
|
|
150
150
|
(r) => {
|
|
151
151
|
var t;
|
|
152
|
-
return r.rooms[
|
|
152
|
+
return r.rooms[c] ? (t = r.rooms[c]) == null ? void 0 : t.name : void 0;
|
|
153
153
|
}
|
|
154
|
-
),
|
|
154
|
+
), x8 = (c) => f(
|
|
155
155
|
(r) => {
|
|
156
156
|
var t, l;
|
|
157
|
-
return r.rooms[
|
|
157
|
+
return r.rooms[c] ? (l = (t = r.rooms[c]) == null ? void 0 : t.volumes) == null ? void 0 : l.master : void 0;
|
|
158
158
|
}
|
|
159
|
-
),
|
|
159
|
+
), f8 = (c) => f(
|
|
160
160
|
(r) => {
|
|
161
161
|
var t, l;
|
|
162
|
-
return r.rooms[
|
|
162
|
+
return r.rooms[c] ? (l = (t = r.rooms[c]) == null ? void 0 : t.configuration) == null ? void 0 : l.sourceList : void 0;
|
|
163
163
|
}
|
|
164
|
-
),
|
|
164
|
+
), p8 = (c) => f(
|
|
165
165
|
(r) => {
|
|
166
166
|
var t, l;
|
|
167
|
-
return r.rooms[
|
|
167
|
+
return r.rooms[c] ? (l = (t = r.rooms[c]) == null ? void 0 : t.configuration) == null ? void 0 : l.displayKeys : void 0;
|
|
168
168
|
}
|
|
169
|
-
),
|
|
169
|
+
), M8 = (c) => f(
|
|
170
170
|
(r) => {
|
|
171
171
|
var t;
|
|
172
|
-
return r.rooms[
|
|
172
|
+
return r.rooms[c] ? (t = r.rooms[c]) == null ? void 0 : t.isInCall : void 0;
|
|
173
173
|
}
|
|
174
|
-
),
|
|
174
|
+
), Z8 = (c) => f(
|
|
175
175
|
(r) => {
|
|
176
176
|
var t;
|
|
177
|
-
return r.rooms[
|
|
177
|
+
return r.rooms[c] ? (t = r.rooms[c]) == null ? void 0 : t.isWarmingUp : void 0;
|
|
178
178
|
}
|
|
179
|
-
),
|
|
179
|
+
), m8 = (c) => f(
|
|
180
180
|
(r) => {
|
|
181
181
|
var t;
|
|
182
|
-
return r.rooms[
|
|
182
|
+
return r.rooms[c] ? (t = r.rooms[c]) == null ? void 0 : t.isCoolingDown : void 0;
|
|
183
183
|
}
|
|
184
|
-
),
|
|
184
|
+
), j8 = (c) => f(
|
|
185
185
|
(r) => {
|
|
186
186
|
var t;
|
|
187
|
-
return r.rooms[
|
|
187
|
+
return r.rooms[c] ? (t = r.rooms[c]) == null ? void 0 : t.isOn : void 0;
|
|
188
188
|
}
|
|
189
|
-
),
|
|
189
|
+
), C8 = (c) => f(
|
|
190
190
|
(r) => {
|
|
191
191
|
var t;
|
|
192
|
-
return r.rooms[
|
|
192
|
+
return r.rooms[c] ? (t = r.rooms[c]) == null ? void 0 : t.advancedSharingActive : void 0;
|
|
193
193
|
}
|
|
194
|
-
),
|
|
194
|
+
), S8 = (c) => f(
|
|
195
195
|
(r) => {
|
|
196
196
|
var t;
|
|
197
|
-
return r.rooms[
|
|
197
|
+
return r.rooms[c] ? (t = r.rooms[c]) == null ? void 0 : t.share : void 0;
|
|
198
198
|
}
|
|
199
|
-
),
|
|
200
|
-
|
|
199
|
+
), b8 = (c) => f((r) => {
|
|
200
|
+
var g, m;
|
|
201
|
+
const t = (m = (g = r.rooms[c]) == null ? void 0 : g.configuration) == null ? void 0 : m.displayKeys;
|
|
202
|
+
return t && Object.values(r.devices).filter(
|
|
203
|
+
(S) => t.includes(S.key)
|
|
204
|
+
) || void 0;
|
|
205
|
+
}), c2 = () => f((c) => c.runtimeConfig.websocket.isConnected), s2 = () => f((c) => c.runtimeConfig.roomData.roomKey), t2 = () => f((c) => c.runtimeConfig.roomData.clientId), y8 = () => f((c) => c.ui.modalVisibility.showShutdownModal), I8 = () => f((c) => c.ui.modalVisibility.showIncomingCallModal), R8 = (c) => f((r) => r.ui.modalVisibility[c]), E8 = (c) => f((r) => {
|
|
206
|
+
const t = r.ui.popoverVisibility[c];
|
|
201
207
|
if (t)
|
|
202
208
|
return Object.keys(t).find((l) => t[l]);
|
|
203
|
-
}),
|
|
209
|
+
}), _8 = (c, r) => f((t) => {
|
|
204
210
|
var l;
|
|
205
|
-
return (l = t.ui.popoverVisibility[
|
|
206
|
-
}),
|
|
207
|
-
reducer:
|
|
208
|
-
}),
|
|
209
|
-
function
|
|
210
|
-
const
|
|
211
|
+
return (l = t.ui.popoverVisibility[c]) == null ? void 0 : l[r];
|
|
212
|
+
}), D = W3({
|
|
213
|
+
reducer: z3
|
|
214
|
+
}), o2 = D1, h3 = A1.create();
|
|
215
|
+
function n2() {
|
|
216
|
+
const c = o2();
|
|
211
217
|
return async () => {
|
|
212
218
|
try {
|
|
213
|
-
const r = location.pathname.split("/").filter((
|
|
219
|
+
const r = location.pathname.split("/").filter((g) => g.length > 0);
|
|
214
220
|
r.length >= 5 ? r.length = 5 : r.length = 2;
|
|
215
|
-
const t = `/${r.join("/")}`, l = await
|
|
216
|
-
if (
|
|
217
|
-
const
|
|
218
|
-
|
|
219
|
-
const
|
|
220
|
-
|
|
221
|
+
const t = `/${r.join("/")}`, l = await h3.get("/_local-config/_config.local.json", { baseURL: t });
|
|
222
|
+
if (l.status == 200 && l.data) {
|
|
223
|
+
const g = l.data.apiPath;
|
|
224
|
+
c(W1.setAppConfig(l.data));
|
|
225
|
+
const m = await h3.get(`${g}/version`);
|
|
226
|
+
m.status == 200 && m.data && c(F.setRuntimeConfig(m.data));
|
|
221
227
|
}
|
|
222
228
|
} catch (r) {
|
|
223
|
-
console.
|
|
229
|
+
console.error("Error getting config", r);
|
|
224
230
|
}
|
|
225
231
|
return !0;
|
|
226
232
|
};
|
|
227
233
|
}
|
|
228
|
-
var
|
|
234
|
+
var d3 = { exports: {} }, H = {};
|
|
229
235
|
/**
|
|
230
236
|
* @license React
|
|
231
237
|
* react-jsx-runtime.development.js
|
|
@@ -235,91 +241,91 @@ var u3 = { exports: {} }, q = {};
|
|
|
235
241
|
* This source code is licensed under the MIT license found in the
|
|
236
242
|
* LICENSE file in the root directory of this source tree.
|
|
237
243
|
*/
|
|
238
|
-
var
|
|
239
|
-
function
|
|
240
|
-
return
|
|
241
|
-
var
|
|
242
|
-
function
|
|
243
|
-
if (
|
|
244
|
+
var k3;
|
|
245
|
+
function l2() {
|
|
246
|
+
return k3 || (k3 = 1, process.env.NODE_ENV !== "production" && function() {
|
|
247
|
+
var c = H3, r = Symbol.for("react.element"), t = Symbol.for("react.portal"), l = Symbol.for("react.fragment"), g = Symbol.for("react.strict_mode"), m = Symbol.for("react.profiler"), S = Symbol.for("react.provider"), b = Symbol.for("react.context"), x = Symbol.for("react.forward_ref"), E = Symbol.for("react.suspense"), j = Symbol.for("react.suspense_list"), y = Symbol.for("react.memo"), _ = Symbol.for("react.lazy"), B = Symbol.for("react.offscreen"), M = Symbol.iterator, A = "@@iterator";
|
|
248
|
+
function O(s) {
|
|
249
|
+
if (s === null || typeof s != "object")
|
|
244
250
|
return null;
|
|
245
|
-
var
|
|
246
|
-
return typeof
|
|
251
|
+
var o = M && s[M] || s[A];
|
|
252
|
+
return typeof o == "function" ? o : null;
|
|
247
253
|
}
|
|
248
|
-
var
|
|
249
|
-
function
|
|
254
|
+
var p = c.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
255
|
+
function I(s) {
|
|
250
256
|
{
|
|
251
|
-
for (var
|
|
252
|
-
|
|
253
|
-
|
|
257
|
+
for (var o = arguments.length, n = new Array(o > 1 ? o - 1 : 0), i = 1; i < o; i++)
|
|
258
|
+
n[i - 1] = arguments[i];
|
|
259
|
+
Q3("error", s, n);
|
|
254
260
|
}
|
|
255
261
|
}
|
|
256
|
-
function
|
|
262
|
+
function Q3(s, o, n) {
|
|
257
263
|
{
|
|
258
|
-
var i =
|
|
259
|
-
|
|
260
|
-
var
|
|
261
|
-
return String(
|
|
264
|
+
var i = p.ReactDebugCurrentFrame, h = i.getStackAddendum();
|
|
265
|
+
h !== "" && (o += "%s", n = n.concat([h]));
|
|
266
|
+
var w = n.map(function(v) {
|
|
267
|
+
return String(v);
|
|
262
268
|
});
|
|
263
|
-
|
|
269
|
+
w.unshift("Warning: " + o), Function.prototype.apply.call(console[s], console, w);
|
|
264
270
|
}
|
|
265
271
|
}
|
|
266
|
-
var
|
|
267
|
-
|
|
268
|
-
function
|
|
269
|
-
return !!(typeof
|
|
272
|
+
var N3 = !1, e1 = !1, r1 = !1, c1 = !1, s1 = !1, g3;
|
|
273
|
+
g3 = Symbol.for("react.module.reference");
|
|
274
|
+
function t1(s) {
|
|
275
|
+
return !!(typeof s == "string" || typeof s == "function" || s === l || s === m || s1 || s === g || s === E || s === j || c1 || s === B || N3 || e1 || r1 || typeof s == "object" && s !== null && (s.$$typeof === _ || s.$$typeof === y || s.$$typeof === S || s.$$typeof === b || s.$$typeof === x || // This needs to include all possible module reference object
|
|
270
276
|
// types supported by any Flight configuration anywhere since
|
|
271
277
|
// we don't know which Flight build this will end up being used
|
|
272
278
|
// with.
|
|
273
|
-
|
|
279
|
+
s.$$typeof === g3 || s.getModuleId !== void 0));
|
|
274
280
|
}
|
|
275
|
-
function
|
|
276
|
-
var i =
|
|
281
|
+
function o1(s, o, n) {
|
|
282
|
+
var i = s.displayName;
|
|
277
283
|
if (i)
|
|
278
284
|
return i;
|
|
279
|
-
var
|
|
280
|
-
return
|
|
285
|
+
var h = o.displayName || o.name || "";
|
|
286
|
+
return h !== "" ? n + "(" + h + ")" : n;
|
|
281
287
|
}
|
|
282
|
-
function
|
|
283
|
-
return
|
|
288
|
+
function w3(s) {
|
|
289
|
+
return s.displayName || "Context";
|
|
284
290
|
}
|
|
285
|
-
function
|
|
286
|
-
if (
|
|
291
|
+
function T(s) {
|
|
292
|
+
if (s == null)
|
|
287
293
|
return null;
|
|
288
|
-
if (typeof
|
|
289
|
-
return
|
|
290
|
-
if (typeof
|
|
291
|
-
return
|
|
292
|
-
switch (
|
|
294
|
+
if (typeof s.tag == "number" && I("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof s == "function")
|
|
295
|
+
return s.displayName || s.name || null;
|
|
296
|
+
if (typeof s == "string")
|
|
297
|
+
return s;
|
|
298
|
+
switch (s) {
|
|
293
299
|
case l:
|
|
294
300
|
return "Fragment";
|
|
295
301
|
case t:
|
|
296
302
|
return "Portal";
|
|
297
|
-
case
|
|
303
|
+
case m:
|
|
298
304
|
return "Profiler";
|
|
299
|
-
case
|
|
305
|
+
case g:
|
|
300
306
|
return "StrictMode";
|
|
301
|
-
case
|
|
307
|
+
case E:
|
|
302
308
|
return "Suspense";
|
|
303
|
-
case
|
|
309
|
+
case j:
|
|
304
310
|
return "SuspenseList";
|
|
305
311
|
}
|
|
306
|
-
if (typeof
|
|
307
|
-
switch (
|
|
308
|
-
case C:
|
|
309
|
-
var n = c;
|
|
310
|
-
return g3(n) + ".Consumer";
|
|
311
|
-
case S:
|
|
312
|
-
var o = c;
|
|
313
|
-
return g3(o._context) + ".Provider";
|
|
314
|
-
case g:
|
|
315
|
-
return t1(c, c.render, "ForwardRef");
|
|
312
|
+
if (typeof s == "object")
|
|
313
|
+
switch (s.$$typeof) {
|
|
316
314
|
case b:
|
|
317
|
-
var
|
|
318
|
-
return
|
|
319
|
-
case
|
|
320
|
-
var
|
|
315
|
+
var o = s;
|
|
316
|
+
return w3(o) + ".Consumer";
|
|
317
|
+
case S:
|
|
318
|
+
var n = s;
|
|
319
|
+
return w3(n._context) + ".Provider";
|
|
320
|
+
case x:
|
|
321
|
+
return o1(s, s.render, "ForwardRef");
|
|
322
|
+
case y:
|
|
323
|
+
var i = s.displayName || null;
|
|
324
|
+
return i !== null ? i : T(s.type) || "Memo";
|
|
325
|
+
case _: {
|
|
326
|
+
var h = s, w = h._payload, v = h._init;
|
|
321
327
|
try {
|
|
322
|
-
return
|
|
328
|
+
return T(v(w));
|
|
323
329
|
} catch {
|
|
324
330
|
return null;
|
|
325
331
|
}
|
|
@@ -327,307 +333,307 @@ function n2() {
|
|
|
327
333
|
}
|
|
328
334
|
return null;
|
|
329
335
|
}
|
|
330
|
-
var
|
|
331
|
-
function
|
|
336
|
+
var V = Object.assign, W = 0, x3, f3, p3, M3, Z3, m3, j3;
|
|
337
|
+
function C3() {
|
|
332
338
|
}
|
|
333
|
-
|
|
339
|
+
C3.__reactDisabledLog = !0;
|
|
334
340
|
function n1() {
|
|
335
341
|
{
|
|
336
342
|
if (W === 0) {
|
|
337
|
-
|
|
338
|
-
var
|
|
343
|
+
x3 = console.log, f3 = console.info, p3 = console.warn, M3 = console.error, Z3 = console.group, m3 = console.groupCollapsed, j3 = console.groupEnd;
|
|
344
|
+
var s = {
|
|
339
345
|
configurable: !0,
|
|
340
346
|
enumerable: !0,
|
|
341
|
-
value:
|
|
347
|
+
value: C3,
|
|
342
348
|
writable: !0
|
|
343
349
|
};
|
|
344
350
|
Object.defineProperties(console, {
|
|
345
|
-
info:
|
|
346
|
-
log:
|
|
347
|
-
warn:
|
|
348
|
-
error:
|
|
349
|
-
group:
|
|
350
|
-
groupCollapsed:
|
|
351
|
-
groupEnd:
|
|
351
|
+
info: s,
|
|
352
|
+
log: s,
|
|
353
|
+
warn: s,
|
|
354
|
+
error: s,
|
|
355
|
+
group: s,
|
|
356
|
+
groupCollapsed: s,
|
|
357
|
+
groupEnd: s
|
|
352
358
|
});
|
|
353
359
|
}
|
|
354
360
|
W++;
|
|
355
361
|
}
|
|
356
362
|
}
|
|
357
|
-
function
|
|
363
|
+
function l1() {
|
|
358
364
|
{
|
|
359
365
|
if (W--, W === 0) {
|
|
360
|
-
var
|
|
366
|
+
var s = {
|
|
361
367
|
configurable: !0,
|
|
362
368
|
enumerable: !0,
|
|
363
369
|
writable: !0
|
|
364
370
|
};
|
|
365
371
|
Object.defineProperties(console, {
|
|
366
|
-
log:
|
|
367
|
-
value: w3
|
|
368
|
-
}),
|
|
369
|
-
info: O({}, c, {
|
|
372
|
+
log: V({}, s, {
|
|
370
373
|
value: x3
|
|
371
374
|
}),
|
|
372
|
-
|
|
375
|
+
info: V({}, s, {
|
|
373
376
|
value: f3
|
|
374
377
|
}),
|
|
375
|
-
|
|
376
|
-
value: M3
|
|
377
|
-
}),
|
|
378
|
-
group: O({}, c, {
|
|
378
|
+
warn: V({}, s, {
|
|
379
379
|
value: p3
|
|
380
380
|
}),
|
|
381
|
-
|
|
381
|
+
error: V({}, s, {
|
|
382
|
+
value: M3
|
|
383
|
+
}),
|
|
384
|
+
group: V({}, s, {
|
|
382
385
|
value: Z3
|
|
383
386
|
}),
|
|
384
|
-
|
|
387
|
+
groupCollapsed: V({}, s, {
|
|
385
388
|
value: m3
|
|
389
|
+
}),
|
|
390
|
+
groupEnd: V({}, s, {
|
|
391
|
+
value: j3
|
|
386
392
|
})
|
|
387
393
|
});
|
|
388
394
|
}
|
|
389
|
-
W < 0 &&
|
|
395
|
+
W < 0 && I("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
390
396
|
}
|
|
391
397
|
}
|
|
392
|
-
var c3 =
|
|
393
|
-
function J(
|
|
398
|
+
var c3 = p.ReactCurrentDispatcher, s3;
|
|
399
|
+
function J(s, o, n) {
|
|
394
400
|
{
|
|
395
401
|
if (s3 === void 0)
|
|
396
402
|
try {
|
|
397
403
|
throw Error();
|
|
398
|
-
} catch (
|
|
399
|
-
var i =
|
|
404
|
+
} catch (h) {
|
|
405
|
+
var i = h.stack.trim().match(/\n( *(at )?)/);
|
|
400
406
|
s3 = i && i[1] || "";
|
|
401
407
|
}
|
|
402
408
|
return `
|
|
403
|
-
` + s3 +
|
|
409
|
+
` + s3 + s;
|
|
404
410
|
}
|
|
405
411
|
}
|
|
406
412
|
var t3 = !1, z;
|
|
407
413
|
{
|
|
408
|
-
var
|
|
409
|
-
z = new
|
|
414
|
+
var i1 = typeof WeakMap == "function" ? WeakMap : Map;
|
|
415
|
+
z = new i1();
|
|
410
416
|
}
|
|
411
|
-
function
|
|
412
|
-
if (!
|
|
417
|
+
function S3(s, o) {
|
|
418
|
+
if (!s || t3)
|
|
413
419
|
return "";
|
|
414
420
|
{
|
|
415
|
-
var
|
|
416
|
-
if (
|
|
417
|
-
return
|
|
421
|
+
var n = z.get(s);
|
|
422
|
+
if (n !== void 0)
|
|
423
|
+
return n;
|
|
418
424
|
}
|
|
419
425
|
var i;
|
|
420
426
|
t3 = !0;
|
|
421
|
-
var
|
|
427
|
+
var h = Error.prepareStackTrace;
|
|
422
428
|
Error.prepareStackTrace = void 0;
|
|
423
|
-
var
|
|
424
|
-
|
|
429
|
+
var w;
|
|
430
|
+
w = c3.current, c3.current = null, n1();
|
|
425
431
|
try {
|
|
426
|
-
if (
|
|
427
|
-
var
|
|
432
|
+
if (o) {
|
|
433
|
+
var v = function() {
|
|
428
434
|
throw Error();
|
|
429
435
|
};
|
|
430
|
-
if (Object.defineProperty(
|
|
436
|
+
if (Object.defineProperty(v.prototype, "props", {
|
|
431
437
|
set: function() {
|
|
432
438
|
throw Error();
|
|
433
439
|
}
|
|
434
440
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
435
441
|
try {
|
|
436
|
-
Reflect.construct(
|
|
437
|
-
} catch (
|
|
438
|
-
i =
|
|
442
|
+
Reflect.construct(v, []);
|
|
443
|
+
} catch (P) {
|
|
444
|
+
i = P;
|
|
439
445
|
}
|
|
440
|
-
Reflect.construct(
|
|
446
|
+
Reflect.construct(s, [], v);
|
|
441
447
|
} else {
|
|
442
448
|
try {
|
|
443
|
-
|
|
444
|
-
} catch (
|
|
445
|
-
i =
|
|
449
|
+
v.call();
|
|
450
|
+
} catch (P) {
|
|
451
|
+
i = P;
|
|
446
452
|
}
|
|
447
|
-
|
|
453
|
+
s.call(v.prototype);
|
|
448
454
|
}
|
|
449
455
|
} else {
|
|
450
456
|
try {
|
|
451
457
|
throw Error();
|
|
452
|
-
} catch (
|
|
453
|
-
i =
|
|
458
|
+
} catch (P) {
|
|
459
|
+
i = P;
|
|
454
460
|
}
|
|
455
|
-
|
|
456
|
-
}
|
|
457
|
-
} catch (
|
|
458
|
-
if (
|
|
459
|
-
for (var a =
|
|
460
|
-
`),
|
|
461
|
-
`),
|
|
462
|
-
|
|
463
|
-
for (;
|
|
464
|
-
if (a[
|
|
465
|
-
if (
|
|
461
|
+
s();
|
|
462
|
+
}
|
|
463
|
+
} catch (P) {
|
|
464
|
+
if (P && i && typeof P.stack == "string") {
|
|
465
|
+
for (var a = P.stack.split(`
|
|
466
|
+
`), R = i.stack.split(`
|
|
467
|
+
`), Z = a.length - 1, C = R.length - 1; Z >= 1 && C >= 0 && a[Z] !== R[C]; )
|
|
468
|
+
C--;
|
|
469
|
+
for (; Z >= 1 && C >= 0; Z--, C--)
|
|
470
|
+
if (a[Z] !== R[C]) {
|
|
471
|
+
if (Z !== 1 || C !== 1)
|
|
466
472
|
do
|
|
467
|
-
if (
|
|
468
|
-
var
|
|
469
|
-
` + a[
|
|
470
|
-
return
|
|
473
|
+
if (Z--, C--, C < 0 || a[Z] !== R[C]) {
|
|
474
|
+
var L = `
|
|
475
|
+
` + a[Z].replace(" at new ", " at ");
|
|
476
|
+
return s.displayName && L.includes("<anonymous>") && (L = L.replace("<anonymous>", s.displayName)), typeof s == "function" && z.set(s, L), L;
|
|
471
477
|
}
|
|
472
|
-
while (
|
|
478
|
+
while (Z >= 1 && C >= 0);
|
|
473
479
|
break;
|
|
474
480
|
}
|
|
475
481
|
}
|
|
476
482
|
} finally {
|
|
477
|
-
t3 = !1, c3.current =
|
|
483
|
+
t3 = !1, c3.current = w, l1(), Error.prepareStackTrace = h;
|
|
478
484
|
}
|
|
479
|
-
var $ =
|
|
480
|
-
return typeof
|
|
485
|
+
var $ = s ? s.displayName || s.name : "", O3 = $ ? J($) : "";
|
|
486
|
+
return typeof s == "function" && z.set(s, O3), O3;
|
|
481
487
|
}
|
|
482
|
-
function
|
|
483
|
-
return
|
|
488
|
+
function a1(s, o, n) {
|
|
489
|
+
return S3(s, !1);
|
|
484
490
|
}
|
|
485
|
-
function
|
|
486
|
-
var
|
|
487
|
-
return !!(
|
|
491
|
+
function v1(s) {
|
|
492
|
+
var o = s.prototype;
|
|
493
|
+
return !!(o && o.isReactComponent);
|
|
488
494
|
}
|
|
489
|
-
function X(
|
|
490
|
-
if (
|
|
495
|
+
function X(s, o, n) {
|
|
496
|
+
if (s == null)
|
|
491
497
|
return "";
|
|
492
|
-
if (typeof
|
|
493
|
-
return
|
|
494
|
-
if (typeof
|
|
495
|
-
return J(
|
|
496
|
-
switch (
|
|
497
|
-
case
|
|
498
|
+
if (typeof s == "function")
|
|
499
|
+
return S3(s, v1(s));
|
|
500
|
+
if (typeof s == "string")
|
|
501
|
+
return J(s);
|
|
502
|
+
switch (s) {
|
|
503
|
+
case E:
|
|
498
504
|
return J("Suspense");
|
|
499
|
-
case
|
|
505
|
+
case j:
|
|
500
506
|
return J("SuspenseList");
|
|
501
507
|
}
|
|
502
|
-
if (typeof
|
|
503
|
-
switch (
|
|
504
|
-
case
|
|
505
|
-
return
|
|
506
|
-
case
|
|
507
|
-
return X(
|
|
508
|
-
case
|
|
509
|
-
var i =
|
|
508
|
+
if (typeof s == "object")
|
|
509
|
+
switch (s.$$typeof) {
|
|
510
|
+
case x:
|
|
511
|
+
return a1(s.render);
|
|
512
|
+
case y:
|
|
513
|
+
return X(s.type, o, n);
|
|
514
|
+
case _: {
|
|
515
|
+
var i = s, h = i._payload, w = i._init;
|
|
510
516
|
try {
|
|
511
|
-
return X(
|
|
517
|
+
return X(w(h), o, n);
|
|
512
518
|
} catch {
|
|
513
519
|
}
|
|
514
520
|
}
|
|
515
521
|
}
|
|
516
522
|
return "";
|
|
517
523
|
}
|
|
518
|
-
var Q = Object.prototype.hasOwnProperty,
|
|
519
|
-
function N(
|
|
520
|
-
if (
|
|
521
|
-
var
|
|
522
|
-
|
|
524
|
+
var Q = Object.prototype.hasOwnProperty, b3 = {}, y3 = p.ReactDebugCurrentFrame;
|
|
525
|
+
function N(s) {
|
|
526
|
+
if (s) {
|
|
527
|
+
var o = s._owner, n = X(s.type, s._source, o ? o.type : null);
|
|
528
|
+
y3.setExtraStackFrame(n);
|
|
523
529
|
} else
|
|
524
|
-
|
|
530
|
+
y3.setExtraStackFrame(null);
|
|
525
531
|
}
|
|
526
|
-
function h1(
|
|
532
|
+
function h1(s, o, n, i, h) {
|
|
527
533
|
{
|
|
528
|
-
var
|
|
529
|
-
for (var
|
|
530
|
-
if (
|
|
534
|
+
var w = Function.call.bind(Q);
|
|
535
|
+
for (var v in s)
|
|
536
|
+
if (w(s, v)) {
|
|
531
537
|
var a = void 0;
|
|
532
538
|
try {
|
|
533
|
-
if (typeof
|
|
534
|
-
var
|
|
535
|
-
throw
|
|
539
|
+
if (typeof s[v] != "function") {
|
|
540
|
+
var R = Error((i || "React class") + ": " + n + " type `" + v + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof s[v] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
541
|
+
throw R.name = "Invariant Violation", R;
|
|
536
542
|
}
|
|
537
|
-
a =
|
|
538
|
-
} catch (
|
|
539
|
-
a =
|
|
543
|
+
a = s[v](o, v, i, n, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
544
|
+
} catch (Z) {
|
|
545
|
+
a = Z;
|
|
540
546
|
}
|
|
541
|
-
a && !(a instanceof Error) && (N(
|
|
547
|
+
a && !(a instanceof Error) && (N(h), I("%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).", i || "React class", n, v, typeof a), N(null)), a instanceof Error && !(a.message in b3) && (b3[a.message] = !0, N(h), I("Failed %s type: %s", n, a.message), N(null));
|
|
542
548
|
}
|
|
543
549
|
}
|
|
544
550
|
}
|
|
545
|
-
var
|
|
546
|
-
function
|
|
547
|
-
return
|
|
551
|
+
var d1 = Array.isArray;
|
|
552
|
+
function o3(s) {
|
|
553
|
+
return d1(s);
|
|
548
554
|
}
|
|
549
|
-
function u1(
|
|
555
|
+
function u1(s) {
|
|
550
556
|
{
|
|
551
|
-
var
|
|
552
|
-
return
|
|
557
|
+
var o = typeof Symbol == "function" && Symbol.toStringTag, n = o && s[Symbol.toStringTag] || s.constructor.name || "Object";
|
|
558
|
+
return n;
|
|
553
559
|
}
|
|
554
560
|
}
|
|
555
|
-
function
|
|
561
|
+
function g1(s) {
|
|
556
562
|
try {
|
|
557
|
-
return
|
|
563
|
+
return I3(s), !1;
|
|
558
564
|
} catch {
|
|
559
565
|
return !0;
|
|
560
566
|
}
|
|
561
567
|
}
|
|
562
|
-
function
|
|
563
|
-
return "" +
|
|
568
|
+
function I3(s) {
|
|
569
|
+
return "" + s;
|
|
564
570
|
}
|
|
565
|
-
function
|
|
566
|
-
if (
|
|
567
|
-
return
|
|
571
|
+
function R3(s) {
|
|
572
|
+
if (g1(s))
|
|
573
|
+
return I("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", u1(s)), I3(s);
|
|
568
574
|
}
|
|
569
|
-
var U =
|
|
575
|
+
var U = p.ReactCurrentOwner, w1 = {
|
|
570
576
|
key: !0,
|
|
571
577
|
ref: !0,
|
|
572
578
|
__self: !0,
|
|
573
579
|
__source: !0
|
|
574
|
-
},
|
|
575
|
-
|
|
576
|
-
function
|
|
577
|
-
if (Q.call(
|
|
578
|
-
var
|
|
579
|
-
if (
|
|
580
|
+
}, E3, _3, n3;
|
|
581
|
+
n3 = {};
|
|
582
|
+
function x1(s) {
|
|
583
|
+
if (Q.call(s, "ref")) {
|
|
584
|
+
var o = Object.getOwnPropertyDescriptor(s, "ref").get;
|
|
585
|
+
if (o && o.isReactWarning)
|
|
580
586
|
return !1;
|
|
581
587
|
}
|
|
582
|
-
return
|
|
588
|
+
return s.ref !== void 0;
|
|
583
589
|
}
|
|
584
|
-
function
|
|
585
|
-
if (Q.call(
|
|
586
|
-
var
|
|
587
|
-
if (
|
|
590
|
+
function f1(s) {
|
|
591
|
+
if (Q.call(s, "key")) {
|
|
592
|
+
var o = Object.getOwnPropertyDescriptor(s, "key").get;
|
|
593
|
+
if (o && o.isReactWarning)
|
|
588
594
|
return !1;
|
|
589
595
|
}
|
|
590
|
-
return
|
|
596
|
+
return s.key !== void 0;
|
|
591
597
|
}
|
|
592
|
-
function
|
|
593
|
-
if (typeof
|
|
594
|
-
var
|
|
595
|
-
|
|
598
|
+
function p1(s, o) {
|
|
599
|
+
if (typeof s.ref == "string" && U.current && o && U.current.stateNode !== o) {
|
|
600
|
+
var n = T(U.current.type);
|
|
601
|
+
n3[n] || (I('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', T(U.current.type), s.ref), n3[n] = !0);
|
|
596
602
|
}
|
|
597
603
|
}
|
|
598
|
-
function M1(
|
|
604
|
+
function M1(s, o) {
|
|
599
605
|
{
|
|
600
|
-
var
|
|
601
|
-
|
|
606
|
+
var n = function() {
|
|
607
|
+
E3 || (E3 = !0, I("%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)", o));
|
|
602
608
|
};
|
|
603
|
-
|
|
604
|
-
get:
|
|
609
|
+
n.isReactWarning = !0, Object.defineProperty(s, "key", {
|
|
610
|
+
get: n,
|
|
605
611
|
configurable: !0
|
|
606
612
|
});
|
|
607
613
|
}
|
|
608
614
|
}
|
|
609
|
-
function
|
|
615
|
+
function Z1(s, o) {
|
|
610
616
|
{
|
|
611
|
-
var
|
|
612
|
-
|
|
617
|
+
var n = function() {
|
|
618
|
+
_3 || (_3 = !0, I("%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)", o));
|
|
613
619
|
};
|
|
614
|
-
|
|
615
|
-
get:
|
|
620
|
+
n.isReactWarning = !0, Object.defineProperty(s, "ref", {
|
|
621
|
+
get: n,
|
|
616
622
|
configurable: !0
|
|
617
623
|
});
|
|
618
624
|
}
|
|
619
625
|
}
|
|
620
|
-
var
|
|
626
|
+
var m1 = function(s, o, n, i, h, w, v) {
|
|
621
627
|
var a = {
|
|
622
628
|
// This tag allows us to uniquely identify this as a React Element
|
|
623
629
|
$$typeof: r,
|
|
624
630
|
// Built-in properties that belong on the element
|
|
625
|
-
type:
|
|
626
|
-
key:
|
|
627
|
-
ref:
|
|
628
|
-
props:
|
|
631
|
+
type: s,
|
|
632
|
+
key: o,
|
|
633
|
+
ref: n,
|
|
634
|
+
props: v,
|
|
629
635
|
// Record the component responsible for creating this element.
|
|
630
|
-
_owner:
|
|
636
|
+
_owner: w
|
|
631
637
|
};
|
|
632
638
|
return a._store = {}, Object.defineProperty(a._store, "validated", {
|
|
633
639
|
configurable: !1,
|
|
@@ -643,186 +649,186 @@ function n2() {
|
|
|
643
649
|
configurable: !1,
|
|
644
650
|
enumerable: !1,
|
|
645
651
|
writable: !1,
|
|
646
|
-
value:
|
|
652
|
+
value: h
|
|
647
653
|
}), Object.freeze && (Object.freeze(a.props), Object.freeze(a)), a;
|
|
648
654
|
};
|
|
649
|
-
function
|
|
655
|
+
function j1(s, o, n, i, h) {
|
|
650
656
|
{
|
|
651
|
-
var
|
|
652
|
-
|
|
653
|
-
for (
|
|
654
|
-
Q.call(
|
|
655
|
-
if (
|
|
656
|
-
var
|
|
657
|
-
for (
|
|
658
|
-
|
|
659
|
-
}
|
|
660
|
-
if (a ||
|
|
661
|
-
var
|
|
662
|
-
a && M1(
|
|
663
|
-
}
|
|
664
|
-
return
|
|
657
|
+
var w, v = {}, a = null, R = null;
|
|
658
|
+
n !== void 0 && (R3(n), a = "" + n), f1(o) && (R3(o.key), a = "" + o.key), x1(o) && (R = o.ref, p1(o, h));
|
|
659
|
+
for (w in o)
|
|
660
|
+
Q.call(o, w) && !w1.hasOwnProperty(w) && (v[w] = o[w]);
|
|
661
|
+
if (s && s.defaultProps) {
|
|
662
|
+
var Z = s.defaultProps;
|
|
663
|
+
for (w in Z)
|
|
664
|
+
v[w] === void 0 && (v[w] = Z[w]);
|
|
665
|
+
}
|
|
666
|
+
if (a || R) {
|
|
667
|
+
var C = typeof s == "function" ? s.displayName || s.name || "Unknown" : s;
|
|
668
|
+
a && M1(v, C), R && Z1(v, C);
|
|
669
|
+
}
|
|
670
|
+
return m1(s, a, R, h, i, U.current, v);
|
|
665
671
|
}
|
|
666
672
|
}
|
|
667
|
-
var l3 =
|
|
668
|
-
function k(
|
|
669
|
-
if (
|
|
670
|
-
var
|
|
671
|
-
|
|
673
|
+
var l3 = p.ReactCurrentOwner, B3 = p.ReactDebugCurrentFrame;
|
|
674
|
+
function k(s) {
|
|
675
|
+
if (s) {
|
|
676
|
+
var o = s._owner, n = X(s.type, s._source, o ? o.type : null);
|
|
677
|
+
B3.setExtraStackFrame(n);
|
|
672
678
|
} else
|
|
673
|
-
|
|
679
|
+
B3.setExtraStackFrame(null);
|
|
674
680
|
}
|
|
675
681
|
var i3;
|
|
676
682
|
i3 = !1;
|
|
677
|
-
function a3(
|
|
678
|
-
return typeof
|
|
683
|
+
function a3(s) {
|
|
684
|
+
return typeof s == "object" && s !== null && s.$$typeof === r;
|
|
679
685
|
}
|
|
680
|
-
function
|
|
686
|
+
function L3() {
|
|
681
687
|
{
|
|
682
688
|
if (l3.current) {
|
|
683
|
-
var
|
|
684
|
-
if (
|
|
689
|
+
var s = T(l3.current.type);
|
|
690
|
+
if (s)
|
|
685
691
|
return `
|
|
686
692
|
|
|
687
|
-
Check the render method of \`` +
|
|
693
|
+
Check the render method of \`` + s + "`.";
|
|
688
694
|
}
|
|
689
695
|
return "";
|
|
690
696
|
}
|
|
691
697
|
}
|
|
692
|
-
function
|
|
698
|
+
function C1(s) {
|
|
693
699
|
{
|
|
694
|
-
if (
|
|
695
|
-
var
|
|
700
|
+
if (s !== void 0) {
|
|
701
|
+
var o = s.fileName.replace(/^.*[\\\/]/, ""), n = s.lineNumber;
|
|
696
702
|
return `
|
|
697
703
|
|
|
698
|
-
Check your code at ` +
|
|
704
|
+
Check your code at ` + o + ":" + n + ".";
|
|
699
705
|
}
|
|
700
706
|
return "";
|
|
701
707
|
}
|
|
702
708
|
}
|
|
703
|
-
var
|
|
704
|
-
function
|
|
709
|
+
var A3 = {};
|
|
710
|
+
function S1(s) {
|
|
705
711
|
{
|
|
706
|
-
var
|
|
707
|
-
if (!
|
|
708
|
-
var
|
|
709
|
-
|
|
712
|
+
var o = L3();
|
|
713
|
+
if (!o) {
|
|
714
|
+
var n = typeof s == "string" ? s : s.displayName || s.name;
|
|
715
|
+
n && (o = `
|
|
710
716
|
|
|
711
|
-
Check the top-level render call using <` +
|
|
717
|
+
Check the top-level render call using <` + n + ">.");
|
|
712
718
|
}
|
|
713
|
-
return
|
|
719
|
+
return o;
|
|
714
720
|
}
|
|
715
721
|
}
|
|
716
|
-
function
|
|
722
|
+
function T3(s, o) {
|
|
717
723
|
{
|
|
718
|
-
if (!
|
|
724
|
+
if (!s._store || s._store.validated || s.key != null)
|
|
719
725
|
return;
|
|
720
|
-
|
|
721
|
-
var
|
|
722
|
-
if (
|
|
726
|
+
s._store.validated = !0;
|
|
727
|
+
var n = S1(o);
|
|
728
|
+
if (A3[n])
|
|
723
729
|
return;
|
|
724
|
-
|
|
730
|
+
A3[n] = !0;
|
|
725
731
|
var i = "";
|
|
726
|
-
|
|
732
|
+
s && s._owner && s._owner !== l3.current && (i = " It was passed a child from " + T(s._owner.type) + "."), k(s), I('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', n, i), k(null);
|
|
727
733
|
}
|
|
728
734
|
}
|
|
729
|
-
function
|
|
735
|
+
function P3(s, o) {
|
|
730
736
|
{
|
|
731
|
-
if (typeof
|
|
737
|
+
if (typeof s != "object")
|
|
732
738
|
return;
|
|
733
|
-
if (
|
|
734
|
-
for (var
|
|
735
|
-
var i =
|
|
736
|
-
a3(i) &&
|
|
739
|
+
if (o3(s))
|
|
740
|
+
for (var n = 0; n < s.length; n++) {
|
|
741
|
+
var i = s[n];
|
|
742
|
+
a3(i) && T3(i, o);
|
|
737
743
|
}
|
|
738
|
-
else if (a3(
|
|
739
|
-
|
|
740
|
-
else if (
|
|
741
|
-
var
|
|
742
|
-
if (typeof
|
|
743
|
-
for (var
|
|
744
|
-
a3(
|
|
744
|
+
else if (a3(s))
|
|
745
|
+
s._store && (s._store.validated = !0);
|
|
746
|
+
else if (s) {
|
|
747
|
+
var h = O(s);
|
|
748
|
+
if (typeof h == "function" && h !== s.entries)
|
|
749
|
+
for (var w = h.call(s), v; !(v = w.next()).done; )
|
|
750
|
+
a3(v.value) && T3(v.value, o);
|
|
745
751
|
}
|
|
746
752
|
}
|
|
747
753
|
}
|
|
748
|
-
function
|
|
754
|
+
function b1(s) {
|
|
749
755
|
{
|
|
750
|
-
var
|
|
751
|
-
if (
|
|
756
|
+
var o = s.type;
|
|
757
|
+
if (o == null || typeof o == "string")
|
|
752
758
|
return;
|
|
753
|
-
var
|
|
754
|
-
if (typeof
|
|
755
|
-
|
|
756
|
-
else if (typeof
|
|
759
|
+
var n;
|
|
760
|
+
if (typeof o == "function")
|
|
761
|
+
n = o.propTypes;
|
|
762
|
+
else if (typeof o == "object" && (o.$$typeof === x || // Note: Memo only checks outer props here.
|
|
757
763
|
// Inner props are checked in the reconciler.
|
|
758
|
-
|
|
759
|
-
|
|
764
|
+
o.$$typeof === y))
|
|
765
|
+
n = o.propTypes;
|
|
760
766
|
else
|
|
761
767
|
return;
|
|
762
|
-
if (
|
|
763
|
-
var i =
|
|
764
|
-
h1(
|
|
765
|
-
} else if (
|
|
768
|
+
if (n) {
|
|
769
|
+
var i = T(o);
|
|
770
|
+
h1(n, s.props, "prop", i, s);
|
|
771
|
+
} else if (o.PropTypes !== void 0 && !i3) {
|
|
766
772
|
i3 = !0;
|
|
767
|
-
var
|
|
768
|
-
|
|
773
|
+
var h = T(o);
|
|
774
|
+
I("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", h || "Unknown");
|
|
769
775
|
}
|
|
770
|
-
typeof
|
|
776
|
+
typeof o.getDefaultProps == "function" && !o.getDefaultProps.isReactClassApproved && I("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
771
777
|
}
|
|
772
778
|
}
|
|
773
|
-
function
|
|
779
|
+
function y1(s) {
|
|
774
780
|
{
|
|
775
|
-
for (var
|
|
776
|
-
var i = n
|
|
781
|
+
for (var o = Object.keys(s.props), n = 0; n < o.length; n++) {
|
|
782
|
+
var i = o[n];
|
|
777
783
|
if (i !== "children" && i !== "key") {
|
|
778
|
-
k(
|
|
784
|
+
k(s), I("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", i), k(null);
|
|
779
785
|
break;
|
|
780
786
|
}
|
|
781
787
|
}
|
|
782
|
-
|
|
788
|
+
s.ref !== null && (k(s), I("Invalid attribute `ref` supplied to `React.Fragment`."), k(null));
|
|
783
789
|
}
|
|
784
790
|
}
|
|
785
|
-
function
|
|
791
|
+
function D3(s, o, n, i, h, w) {
|
|
786
792
|
{
|
|
787
|
-
var
|
|
788
|
-
if (!
|
|
793
|
+
var v = t1(s);
|
|
794
|
+
if (!v) {
|
|
789
795
|
var a = "";
|
|
790
|
-
(
|
|
791
|
-
var
|
|
792
|
-
|
|
793
|
-
var
|
|
794
|
-
|
|
795
|
-
}
|
|
796
|
-
var
|
|
797
|
-
if (
|
|
798
|
-
return
|
|
799
|
-
if (
|
|
800
|
-
var
|
|
801
|
-
if (
|
|
796
|
+
(s === void 0 || typeof s == "object" && s !== null && Object.keys(s).length === 0) && (a += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
797
|
+
var R = C1(h);
|
|
798
|
+
R ? a += R : a += L3();
|
|
799
|
+
var Z;
|
|
800
|
+
s === null ? Z = "null" : o3(s) ? Z = "array" : s !== void 0 && s.$$typeof === r ? (Z = "<" + (T(s.type) || "Unknown") + " />", a = " Did you accidentally export a JSX literal instead of a component?") : Z = typeof s, I("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Z, a);
|
|
801
|
+
}
|
|
802
|
+
var C = j1(s, o, n, h, w);
|
|
803
|
+
if (C == null)
|
|
804
|
+
return C;
|
|
805
|
+
if (v) {
|
|
806
|
+
var L = o.children;
|
|
807
|
+
if (L !== void 0)
|
|
802
808
|
if (i)
|
|
803
|
-
if (
|
|
804
|
-
for (var $ = 0; $ <
|
|
805
|
-
|
|
806
|
-
Object.freeze && Object.freeze(
|
|
809
|
+
if (o3(L)) {
|
|
810
|
+
for (var $ = 0; $ < L.length; $++)
|
|
811
|
+
P3(L[$], s);
|
|
812
|
+
Object.freeze && Object.freeze(L);
|
|
807
813
|
} else
|
|
808
|
-
|
|
814
|
+
I("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
809
815
|
else
|
|
810
|
-
|
|
816
|
+
P3(L, s);
|
|
811
817
|
}
|
|
812
|
-
return
|
|
818
|
+
return s === l ? y1(C) : b1(C), C;
|
|
813
819
|
}
|
|
814
820
|
}
|
|
815
|
-
function
|
|
816
|
-
return
|
|
821
|
+
function I1(s, o, n) {
|
|
822
|
+
return D3(s, o, n, !0);
|
|
817
823
|
}
|
|
818
|
-
function
|
|
819
|
-
return
|
|
824
|
+
function R1(s, o, n) {
|
|
825
|
+
return D3(s, o, n, !1);
|
|
820
826
|
}
|
|
821
|
-
var
|
|
822
|
-
|
|
823
|
-
}()),
|
|
827
|
+
var E1 = R1, _1 = I1;
|
|
828
|
+
H.Fragment = l, H.jsx = E1, H.jsxs = _1;
|
|
829
|
+
}()), H;
|
|
824
830
|
}
|
|
825
|
-
var
|
|
831
|
+
var q = {};
|
|
826
832
|
/**
|
|
827
833
|
* @license React
|
|
828
834
|
* react-jsx-runtime.production.min.js
|
|
@@ -832,192 +838,213 @@ var Y = {};
|
|
|
832
838
|
* This source code is licensed under the MIT license found in the
|
|
833
839
|
* LICENSE file in the root directory of this source tree.
|
|
834
840
|
*/
|
|
835
|
-
var
|
|
836
|
-
function
|
|
837
|
-
if (
|
|
838
|
-
return
|
|
839
|
-
|
|
840
|
-
var
|
|
841
|
-
function S(
|
|
842
|
-
var
|
|
843
|
-
|
|
844
|
-
for (
|
|
845
|
-
l.call(
|
|
846
|
-
if (
|
|
847
|
-
for (
|
|
848
|
-
|
|
849
|
-
return { $$typeof: r, type:
|
|
841
|
+
var $3;
|
|
842
|
+
function i2() {
|
|
843
|
+
if ($3)
|
|
844
|
+
return q;
|
|
845
|
+
$3 = 1;
|
|
846
|
+
var c = H3, r = Symbol.for("react.element"), t = Symbol.for("react.fragment"), l = Object.prototype.hasOwnProperty, g = c.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, m = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
847
|
+
function S(b, x, E) {
|
|
848
|
+
var j, y = {}, _ = null, B = null;
|
|
849
|
+
E !== void 0 && (_ = "" + E), x.key !== void 0 && (_ = "" + x.key), x.ref !== void 0 && (B = x.ref);
|
|
850
|
+
for (j in x)
|
|
851
|
+
l.call(x, j) && !m.hasOwnProperty(j) && (y[j] = x[j]);
|
|
852
|
+
if (b && b.defaultProps)
|
|
853
|
+
for (j in x = b.defaultProps, x)
|
|
854
|
+
y[j] === void 0 && (y[j] = x[j]);
|
|
855
|
+
return { $$typeof: r, type: b, key: _, ref: B, props: y, _owner: g.current };
|
|
850
856
|
}
|
|
851
|
-
return
|
|
857
|
+
return q.Fragment = t, q.jsx = S, q.jsxs = S, q;
|
|
852
858
|
}
|
|
853
|
-
process.env.NODE_ENV === "production" ?
|
|
854
|
-
var e =
|
|
855
|
-
const
|
|
859
|
+
process.env.NODE_ENV === "production" ? d3.exports = i2() : d3.exports = l2();
|
|
860
|
+
var e = d3.exports;
|
|
861
|
+
const a2 = () => /* @__PURE__ */ e.jsx(e.Fragment, { children: /* @__PURE__ */ e.jsxs("div", { className: "disconnected-message", children: [
|
|
856
862
|
/* @__PURE__ */ e.jsx("h1", { children: "Disconnected" }),
|
|
857
863
|
/* @__PURE__ */ e.jsx("p", { children: "Reconnecting..." })
|
|
858
864
|
] }) });
|
|
859
|
-
class
|
|
865
|
+
class v2 {
|
|
860
866
|
constructor() {
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
867
|
+
d(this, "uuid", "current-uuid");
|
|
868
|
+
d(this, "roomKey", "current-room-key");
|
|
869
|
+
d(this, "code", "current-code");
|
|
870
|
+
d(this, "expiry", "current-uuid-expires");
|
|
865
871
|
}
|
|
866
872
|
}
|
|
867
|
-
const
|
|
868
|
-
function
|
|
869
|
-
return sessionStorage.getItem(
|
|
873
|
+
const F3 = new v2();
|
|
874
|
+
function h2(c) {
|
|
875
|
+
return sessionStorage.getItem(c) || "";
|
|
870
876
|
}
|
|
871
|
-
function
|
|
872
|
-
sessionStorage.setItem(
|
|
877
|
+
function d2(c, r) {
|
|
878
|
+
sessionStorage.setItem(c, r);
|
|
873
879
|
}
|
|
874
|
-
const
|
|
880
|
+
const X3 = V1({
|
|
875
881
|
sendMessage: () => null
|
|
876
882
|
});
|
|
877
|
-
function
|
|
878
|
-
return
|
|
883
|
+
function u3() {
|
|
884
|
+
return k1(X3);
|
|
879
885
|
}
|
|
880
|
-
const u2 = ({ children:
|
|
881
|
-
const [r, t] = r3(), l =
|
|
882
|
-
async (
|
|
883
|
-
await
|
|
884
|
-
M.status === 200 && M.data &&
|
|
886
|
+
const u2 = ({ children: c }) => {
|
|
887
|
+
const [r, t] = r3(), l = c2(), g = s2(), m = t2(), S = n2(), b = e2(), x = $1(null), [E, j] = r3(), y = V3(
|
|
888
|
+
async (B) => {
|
|
889
|
+
await h3.get(`${B}/ui/joinroom?token=${r}`).then((M) => {
|
|
890
|
+
M.status === 200 && M.data && D.dispatch(F.setRoomData(M.data));
|
|
885
891
|
}).catch((M) => {
|
|
886
892
|
console.log(M);
|
|
887
893
|
});
|
|
888
894
|
},
|
|
889
895
|
[r]
|
|
890
|
-
),
|
|
891
|
-
(
|
|
892
|
-
|
|
896
|
+
), _ = V3(
|
|
897
|
+
(B, M) => {
|
|
898
|
+
x.current && l && x.current.send(JSON.stringify({ type: B, clientId: m, content: M }));
|
|
893
899
|
},
|
|
894
|
-
[l,
|
|
900
|
+
[l, m]
|
|
895
901
|
);
|
|
896
|
-
return
|
|
902
|
+
return Y(() => {
|
|
897
903
|
let M = new URLSearchParams(window.location.search).get("token");
|
|
898
|
-
M ? (console.log("saving token: ", M),
|
|
899
|
-
}, []),
|
|
900
|
-
if (!(!
|
|
901
|
-
if (b
|
|
902
|
-
const M = `${
|
|
903
|
-
|
|
904
|
-
console.log("connected"),
|
|
905
|
-
},
|
|
906
|
-
console.log(
|
|
907
|
-
},
|
|
908
|
-
if (console.log("disconnected"),
|
|
904
|
+
M ? (console.log("saving token: ", M), d2(F3.uuid, M)) : (M = h2(F3.uuid), console.log("loading token: ", M)), t(M), S();
|
|
905
|
+
}, []), Y(() => {
|
|
906
|
+
if (!(!b.apiPath || E || !r)) {
|
|
907
|
+
if (y(b.apiPath), !x.current) {
|
|
908
|
+
const M = `${b.apiPath.replace("http", "ws")}/ui/join/${r}`, A = new WebSocket(M);
|
|
909
|
+
x.current = A, A.onopen = () => {
|
|
910
|
+
console.log("connected"), D.dispatch(F.setWebsocketIsConnected(!0));
|
|
911
|
+
}, A.onerror = (O) => {
|
|
912
|
+
console.log(O);
|
|
913
|
+
}, A.onclose = () => {
|
|
914
|
+
if (console.log("disconnected"), x.current)
|
|
909
915
|
console.log("WebSocket closed by server.");
|
|
910
916
|
else {
|
|
911
917
|
console.log("WebSocket closed by client.");
|
|
912
918
|
return;
|
|
913
919
|
}
|
|
914
|
-
|
|
915
|
-
},
|
|
920
|
+
E || (D.dispatch(F.setWebsocketIsConnected(!1)), j(!0), setTimeout(() => j(void 0), 5e3));
|
|
921
|
+
}, A.onmessage = (O) => {
|
|
916
922
|
try {
|
|
917
|
-
const
|
|
918
|
-
if (console.log(
|
|
919
|
-
switch (
|
|
923
|
+
const p = JSON.parse(O.data);
|
|
924
|
+
if (console.log(p), p.type.startsWith("/system/"))
|
|
925
|
+
switch (p.type) {
|
|
920
926
|
case "/system/roomKey":
|
|
921
|
-
|
|
927
|
+
D.dispatch(
|
|
922
928
|
F.setCurrentRoomKey(
|
|
923
|
-
|
|
929
|
+
p.content
|
|
924
930
|
)
|
|
925
931
|
);
|
|
926
932
|
break;
|
|
927
933
|
case "/system/userCodeChanged":
|
|
928
|
-
|
|
929
|
-
F.setUserCode(
|
|
934
|
+
D.dispatch(
|
|
935
|
+
F.setUserCode(p.content)
|
|
930
936
|
);
|
|
931
937
|
break;
|
|
932
938
|
}
|
|
933
939
|
else
|
|
934
|
-
|
|
935
|
-
} catch (
|
|
936
|
-
console.log(
|
|
940
|
+
p.type.startsWith("/room/") ? D.dispatch(K1.setRoomState(p)) : p.type.startsWith("/device/") && D.dispatch(q1.setDeviceState(p));
|
|
941
|
+
} catch (p) {
|
|
942
|
+
console.log(p);
|
|
937
943
|
}
|
|
938
944
|
};
|
|
939
945
|
}
|
|
940
946
|
return () => {
|
|
941
|
-
|
|
947
|
+
x.current && x.current.close(), x.current = null;
|
|
942
948
|
};
|
|
943
949
|
}
|
|
944
|
-
}, [
|
|
945
|
-
|
|
946
|
-
}, [
|
|
947
|
-
},
|
|
948
|
-
const { sendMessage: r } =
|
|
949
|
-
|
|
950
|
-
if (!
|
|
950
|
+
}, [b.apiPath, y, r, E]), Y(() => {
|
|
951
|
+
g && _(`/room/${g}/status`, null);
|
|
952
|
+
}, [g, _]), /* @__PURE__ */ e.jsx(X3.Provider, { value: { sendMessage: _ }, children: l ? c : /* @__PURE__ */ e.jsx(a2, {}) });
|
|
953
|
+
}, B8 = ({ children: c }) => /* @__PURE__ */ e.jsx(O1, { store: D, children: /* @__PURE__ */ e.jsx(u2, { children: c }) }), L8 = ({ config: c }) => {
|
|
954
|
+
const { sendMessage: r } = u3();
|
|
955
|
+
Y(() => {
|
|
956
|
+
if (!c)
|
|
951
957
|
return;
|
|
952
958
|
const t = [];
|
|
953
|
-
|
|
959
|
+
c.displayKeys.forEach((l) => {
|
|
954
960
|
t.push(l);
|
|
955
|
-
}),
|
|
961
|
+
}), c.environmentalDevices.forEach((l) => {
|
|
956
962
|
t.push(l);
|
|
957
|
-
}),
|
|
958
|
-
for (const
|
|
959
|
-
t.push(
|
|
963
|
+
}), c.audioCodecKey && t.push(c.audioCodecKey), c.videoCodecKey && t.push(c.videoCodecKey);
|
|
964
|
+
for (const l of Object.values(c.sourceList))
|
|
965
|
+
t.push(l.sourceKey);
|
|
960
966
|
t.forEach((l) => {
|
|
961
967
|
r(`/device/${l}/fullStatus`, { deviceKey: l });
|
|
962
968
|
});
|
|
963
|
-
}, [
|
|
964
|
-
}
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
}
|
|
969
|
-
|
|
969
|
+
}, [c, r]);
|
|
970
|
+
};
|
|
971
|
+
function g2(c) {
|
|
972
|
+
const { sendMessage: r } = u3();
|
|
973
|
+
return { powerOn: () => {
|
|
974
|
+
r(`/device/${c}/powerOn`, null);
|
|
975
|
+
}, powerOff: () => {
|
|
976
|
+
r(`/device/${c}/powerOff`, null);
|
|
977
|
+
}, powerToggle: () => {
|
|
978
|
+
r(`/device/${c}/powerToggle`, null);
|
|
979
|
+
} };
|
|
980
|
+
}
|
|
981
|
+
function A8(c) {
|
|
982
|
+
const { sendMessage: r } = u3();
|
|
983
|
+
return { runDirectRoute: (l) => {
|
|
984
|
+
r(`/room/${c}/directRoute`, l);
|
|
985
|
+
} };
|
|
986
|
+
}
|
|
987
|
+
function T8(c) {
|
|
988
|
+
const r = r2(c), t = g2(c);
|
|
989
|
+
return { state: r, powerControl: t };
|
|
990
|
+
}
|
|
991
|
+
const P8 = () => /* @__PURE__ */ e.jsx("div", { className: "m-2 p-2 bg-danger rounded d-flex align-items-center", children: /* @__PURE__ */ e.jsx("span", { className: "fs-5 text-white", children: "We are sorry. Something went wrong." }) }), w2 = "_iconbtn_16qss_1", x2 = "_iconbtnvert_16qss_7", f2 = "_iconsm_16qss_18", v3 = {
|
|
992
|
+
iconbtn: w2,
|
|
993
|
+
iconbtnvert: x2,
|
|
994
|
+
iconsm: f2
|
|
995
|
+
}, p2 = ({
|
|
996
|
+
multiIcon: c,
|
|
970
997
|
otherContent: r = null,
|
|
971
998
|
vert: t = !1,
|
|
972
999
|
className: l,
|
|
973
|
-
iconClassName:
|
|
974
|
-
otherContentClassName:
|
|
1000
|
+
iconClassName: g = "",
|
|
1001
|
+
otherContentClassName: m = "",
|
|
975
1002
|
disabled: S,
|
|
976
|
-
feedback:
|
|
977
|
-
feedbackClassName:
|
|
978
|
-
onPointerDown:
|
|
979
|
-
onPointerUp:
|
|
980
|
-
onPointerLeave:
|
|
981
|
-
...
|
|
1003
|
+
feedback: b,
|
|
1004
|
+
feedbackClassName: x,
|
|
1005
|
+
onPointerDown: E,
|
|
1006
|
+
onPointerUp: j,
|
|
1007
|
+
onPointerLeave: y,
|
|
1008
|
+
..._
|
|
982
1009
|
}) => {
|
|
983
|
-
const [
|
|
1010
|
+
const [B, M] = r3(!1), A = !S && b ? x : "", O = !S && (B || b);
|
|
984
1011
|
return /* @__PURE__ */ e.jsxs(
|
|
985
1012
|
"button",
|
|
986
1013
|
{
|
|
987
1014
|
type: "button",
|
|
988
|
-
className: `${
|
|
989
|
-
...
|
|
1015
|
+
className: `${v3.iconbtn} ${t ? v3.iconbtnvert : ""} ${l} ${A}`,
|
|
1016
|
+
..._,
|
|
990
1017
|
disabled: S,
|
|
991
|
-
onPointerDown: (
|
|
992
|
-
M(!0),
|
|
1018
|
+
onPointerDown: (p) => {
|
|
1019
|
+
M(!0), E == null || E(p);
|
|
993
1020
|
},
|
|
994
|
-
onPointerUp: (
|
|
995
|
-
M(!1),
|
|
1021
|
+
onPointerUp: (p) => {
|
|
1022
|
+
M(!1), j == null || j(p);
|
|
996
1023
|
},
|
|
997
|
-
onPointerLeave: (
|
|
998
|
-
M(!1),
|
|
1024
|
+
onPointerLeave: (p) => {
|
|
1025
|
+
M(!1), y == null || y(p);
|
|
999
1026
|
},
|
|
1000
1027
|
children: [
|
|
1001
1028
|
/* @__PURE__ */ e.jsx(
|
|
1002
|
-
|
|
1029
|
+
c,
|
|
1003
1030
|
{
|
|
1004
|
-
className: `${
|
|
1005
|
-
active:
|
|
1031
|
+
className: `${g || v3.iconsm}`,
|
|
1032
|
+
active: O,
|
|
1006
1033
|
disabled: S
|
|
1007
1034
|
}
|
|
1008
1035
|
),
|
|
1009
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
1036
|
+
/* @__PURE__ */ e.jsx("div", { className: m, children: r })
|
|
1010
1037
|
]
|
|
1011
1038
|
}
|
|
1012
1039
|
);
|
|
1013
1040
|
}, u = ({
|
|
1014
|
-
ActiveImage:
|
|
1041
|
+
ActiveImage: c,
|
|
1015
1042
|
DisabledImage: r,
|
|
1016
1043
|
EnabledImage: t,
|
|
1017
1044
|
active: l,
|
|
1018
|
-
disabled:
|
|
1019
|
-
}) =>
|
|
1020
|
-
active:
|
|
1045
|
+
disabled: g
|
|
1046
|
+
}) => g ? r : l ? c : t, M2 = ({
|
|
1047
|
+
active: c,
|
|
1021
1048
|
className: r = "",
|
|
1022
1049
|
disabled: t
|
|
1023
1050
|
}) => /* @__PURE__ */ e.jsx(
|
|
@@ -1062,11 +1089,11 @@ const u2 = ({ children: s }) => {
|
|
|
1062
1089
|
}
|
|
1063
1090
|
)
|
|
1064
1091
|
),
|
|
1065
|
-
active:
|
|
1092
|
+
active: c,
|
|
1066
1093
|
disabled: t
|
|
1067
1094
|
}
|
|
1068
|
-
),
|
|
1069
|
-
active:
|
|
1095
|
+
), Z2 = ({
|
|
1096
|
+
active: c,
|
|
1070
1097
|
className: r = "",
|
|
1071
1098
|
disabled: t
|
|
1072
1099
|
}) => /* @__PURE__ */ e.jsx(
|
|
@@ -1114,11 +1141,11 @@ const u2 = ({ children: s }) => {
|
|
|
1114
1141
|
) })
|
|
1115
1142
|
}
|
|
1116
1143
|
),
|
|
1117
|
-
active:
|
|
1144
|
+
active: c,
|
|
1118
1145
|
disabled: t
|
|
1119
1146
|
}
|
|
1120
|
-
),
|
|
1121
|
-
active:
|
|
1147
|
+
), m2 = ({
|
|
1148
|
+
active: c,
|
|
1122
1149
|
className: r = "",
|
|
1123
1150
|
disabled: t
|
|
1124
1151
|
}) => /* @__PURE__ */ e.jsx(
|
|
@@ -1163,11 +1190,11 @@ const u2 = ({ children: s }) => {
|
|
|
1163
1190
|
}
|
|
1164
1191
|
)
|
|
1165
1192
|
),
|
|
1166
|
-
active:
|
|
1193
|
+
active: c,
|
|
1167
1194
|
disabled: t
|
|
1168
1195
|
}
|
|
1169
|
-
),
|
|
1170
|
-
active:
|
|
1196
|
+
), j2 = ({
|
|
1197
|
+
active: c,
|
|
1171
1198
|
className: r = "",
|
|
1172
1199
|
disabled: t
|
|
1173
1200
|
}) => /* @__PURE__ */ e.jsx(
|
|
@@ -1203,11 +1230,11 @@ const u2 = ({ children: s }) => {
|
|
|
1203
1230
|
children: /* @__PURE__ */ e.jsx("g", { children: /* @__PURE__ */ e.jsx("path", { d: "M82.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,5ZM99.38,108.04h-59.68c-4.58,0-8.3-3.71-8.3-8.3v-43.17h59.43c4.72,0,8.55,3.83,8.55,8.55v42.92ZM133.2,106.05v-47.49c0-2.29-2.58-3.63-4.46-2.31l-22.73,16.02c-.75.53-1.2,1.39-1.2,2.31v15.45c0,.92.45,1.78,1.2,2.31l22.73,16.02c1.87,1.32,4.46-.02,4.46-2.31Z" }) })
|
|
1204
1231
|
}
|
|
1205
1232
|
),
|
|
1206
|
-
active:
|
|
1233
|
+
active: c,
|
|
1207
1234
|
disabled: t
|
|
1208
1235
|
}
|
|
1209
|
-
),
|
|
1210
|
-
active:
|
|
1236
|
+
), C2 = ({
|
|
1237
|
+
active: c,
|
|
1211
1238
|
className: r = "",
|
|
1212
1239
|
disabled: t
|
|
1213
1240
|
}) => /* @__PURE__ */ e.jsx(
|
|
@@ -1252,11 +1279,11 @@ const u2 = ({ children: s }) => {
|
|
|
1252
1279
|
}
|
|
1253
1280
|
)
|
|
1254
1281
|
),
|
|
1255
|
-
active:
|
|
1282
|
+
active: c,
|
|
1256
1283
|
disabled: t
|
|
1257
1284
|
}
|
|
1258
|
-
),
|
|
1259
|
-
active:
|
|
1285
|
+
), S2 = ({
|
|
1286
|
+
active: c,
|
|
1260
1287
|
className: r = "",
|
|
1261
1288
|
disabled: t
|
|
1262
1289
|
}) => /* @__PURE__ */ e.jsx(
|
|
@@ -1301,11 +1328,11 @@ const u2 = ({ children: s }) => {
|
|
|
1301
1328
|
}
|
|
1302
1329
|
)
|
|
1303
1330
|
),
|
|
1304
|
-
active:
|
|
1331
|
+
active: c,
|
|
1305
1332
|
disabled: t
|
|
1306
1333
|
}
|
|
1307
|
-
),
|
|
1308
|
-
active:
|
|
1334
|
+
), b2 = ({
|
|
1335
|
+
active: c,
|
|
1309
1336
|
className: r = "",
|
|
1310
1337
|
disabled: t
|
|
1311
1338
|
}) => /* @__PURE__ */ e.jsx(
|
|
@@ -1350,11 +1377,11 @@ const u2 = ({ children: s }) => {
|
|
|
1350
1377
|
}
|
|
1351
1378
|
)
|
|
1352
1379
|
),
|
|
1353
|
-
active:
|
|
1380
|
+
active: c,
|
|
1354
1381
|
disabled: t
|
|
1355
1382
|
}
|
|
1356
|
-
),
|
|
1357
|
-
active:
|
|
1383
|
+
), y2 = ({
|
|
1384
|
+
active: c,
|
|
1358
1385
|
className: r = "",
|
|
1359
1386
|
disabled: t
|
|
1360
1387
|
}) => /* @__PURE__ */ e.jsx(
|
|
@@ -1399,11 +1426,11 @@ const u2 = ({ children: s }) => {
|
|
|
1399
1426
|
}
|
|
1400
1427
|
)
|
|
1401
1428
|
),
|
|
1402
|
-
active:
|
|
1429
|
+
active: c,
|
|
1403
1430
|
disabled: t
|
|
1404
1431
|
}
|
|
1405
|
-
),
|
|
1406
|
-
active:
|
|
1432
|
+
), I2 = ({
|
|
1433
|
+
active: c,
|
|
1407
1434
|
className: r = "",
|
|
1408
1435
|
disabled: t
|
|
1409
1436
|
}) => /* @__PURE__ */ e.jsx(
|
|
@@ -1448,11 +1475,11 @@ const u2 = ({ children: s }) => {
|
|
|
1448
1475
|
}
|
|
1449
1476
|
)
|
|
1450
1477
|
),
|
|
1451
|
-
active:
|
|
1478
|
+
active: c,
|
|
1452
1479
|
disabled: t
|
|
1453
1480
|
}
|
|
1454
|
-
),
|
|
1455
|
-
active:
|
|
1481
|
+
), R2 = ({
|
|
1482
|
+
active: c,
|
|
1456
1483
|
className: r = "",
|
|
1457
1484
|
disabled: t
|
|
1458
1485
|
}) => /* @__PURE__ */ e.jsx(
|
|
@@ -1497,11 +1524,80 @@ const u2 = ({ children: s }) => {
|
|
|
1497
1524
|
}
|
|
1498
1525
|
)
|
|
1499
1526
|
),
|
|
1500
|
-
active:
|
|
1527
|
+
active: c,
|
|
1501
1528
|
disabled: t
|
|
1502
1529
|
}
|
|
1503
|
-
),
|
|
1504
|
-
active:
|
|
1530
|
+
), E2 = ({
|
|
1531
|
+
active: c,
|
|
1532
|
+
// Just to shut up the linter on this template. Prefer deleting this lint rule
|
|
1533
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
1534
|
+
className: r = "",
|
|
1535
|
+
disabled: t
|
|
1536
|
+
}) => /* @__PURE__ */ e.jsx(
|
|
1537
|
+
u,
|
|
1538
|
+
{
|
|
1539
|
+
ActiveImage: (
|
|
1540
|
+
/* icon-hdmi-active.svg */
|
|
1541
|
+
/* @__PURE__ */ e.jsx(
|
|
1542
|
+
"svg",
|
|
1543
|
+
{
|
|
1544
|
+
className: r,
|
|
1545
|
+
fill: "currentcolor",
|
|
1546
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1547
|
+
viewBox: "0 0 164.61 164.61",
|
|
1548
|
+
children: /* @__PURE__ */ e.jsx("g", { children: /* @__PURE__ */ e.jsx(
|
|
1549
|
+
"path",
|
|
1550
|
+
{
|
|
1551
|
+
d: "M71.55,55.43h-10.75v-16.12h43v16.12h-10.75v-10.75h-5.37v10.75h-10.75v-10.75h-5.37v10.75ZM164.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.3ZM119.93,55.43h-5.37v-16.12c0-2.96-1.05-5.49-3.16-7.59-2.11-2.11-4.64-3.16-7.59-3.16h-43c-2.96,0-5.49,1.05-7.59,3.16s-3.16,4.64-3.16,7.59v16.12h-5.38v32.25l16.12,32.25v16.12h43v-16.12l16.12-32.25v-32.25ZM55.43,84.99l16.12,32.25v8.06h21.5v-8.06l16.12-32.25v-18.81h-53.75v18.81Z",
|
|
1552
|
+
strokeWidth: "0"
|
|
1553
|
+
}
|
|
1554
|
+
) })
|
|
1555
|
+
}
|
|
1556
|
+
)
|
|
1557
|
+
),
|
|
1558
|
+
DisabledImage: (
|
|
1559
|
+
/* icon-hdmi-disabled.svg */
|
|
1560
|
+
/* @__PURE__ */ e.jsx(
|
|
1561
|
+
"svg",
|
|
1562
|
+
{
|
|
1563
|
+
className: r,
|
|
1564
|
+
fill: "currentcolor",
|
|
1565
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1566
|
+
viewBox: "0 0 164.61 164.61",
|
|
1567
|
+
children: /* @__PURE__ */ e.jsx("g", { children: /* @__PURE__ */ e.jsx(
|
|
1568
|
+
"path",
|
|
1569
|
+
{
|
|
1570
|
+
d: "M49.27,96.86l-4.59-9.18v-32.25h5.37v-16.12c0-2.96,1.05-5.49,3.16-7.59,2.11-2.11,4.64-3.16,7.59-3.16h43c2.96,0,5.49,1.05,7.59,3.16.52.52.98,1.07,1.37,1.64l-8.96,8.96v-3.02h-43v16.12h10.75v-10.75h5.37v10.75h10.75v-10.75h5.37v8.39l-13.11,13.11h-24.52v18.81l1.9,3.8-8.06,8.06ZM109.18,73.91v11.08l-16.12,32.25v8.06h-21.5v-8.06l-1.9-3.8-8.85,8.85v13.77h43v-16.12l16.12-32.25v-24.52l-10.75,10.75ZM164.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",
|
|
1571
|
+
strokeWidth: "0"
|
|
1572
|
+
}
|
|
1573
|
+
) })
|
|
1574
|
+
}
|
|
1575
|
+
)
|
|
1576
|
+
),
|
|
1577
|
+
EnabledImage: (
|
|
1578
|
+
/* icon-hdmi-enabled.svg */
|
|
1579
|
+
/* @__PURE__ */ e.jsx(
|
|
1580
|
+
"svg",
|
|
1581
|
+
{
|
|
1582
|
+
className: r,
|
|
1583
|
+
fill: "currentcolor",
|
|
1584
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1585
|
+
viewBox: "0 0 164.61 164.61",
|
|
1586
|
+
children: /* @__PURE__ */ e.jsx("g", { children: /* @__PURE__ */ e.jsx(
|
|
1587
|
+
"path",
|
|
1588
|
+
{
|
|
1589
|
+
d: "M60.8,136.05v-16.12l-16.12-32.25v-32.25h5.37v-16.12c0-2.96,1.05-5.49,3.16-7.59,2.11-2.11,4.64-3.16,7.59-3.16h43c2.96,0,5.49,1.05,7.59,3.16s3.16,4.64,3.16,7.59v16.12h5.37v32.25l-16.12,32.25v16.12h-43ZM60.8,55.43h10.75v-10.75h5.37v10.75h10.75v-10.75h5.37v10.75h10.75v-16.12h-43v16.12ZM71.55,125.3h21.5v-8.06l16.12-32.25v-18.81h-53.75v18.81l16.12,32.25v8.06ZM82.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",
|
|
1590
|
+
strokeWidth: "0"
|
|
1591
|
+
}
|
|
1592
|
+
) })
|
|
1593
|
+
}
|
|
1594
|
+
)
|
|
1595
|
+
),
|
|
1596
|
+
active: c,
|
|
1597
|
+
disabled: t
|
|
1598
|
+
}
|
|
1599
|
+
), _2 = ({
|
|
1600
|
+
active: c,
|
|
1505
1601
|
className: r = "",
|
|
1506
1602
|
disabled: t
|
|
1507
1603
|
}) => /* @__PURE__ */ e.jsx(
|
|
@@ -1546,11 +1642,11 @@ const u2 = ({ children: s }) => {
|
|
|
1546
1642
|
}
|
|
1547
1643
|
)
|
|
1548
1644
|
),
|
|
1549
|
-
active:
|
|
1645
|
+
active: c,
|
|
1550
1646
|
disabled: t
|
|
1551
1647
|
}
|
|
1552
|
-
),
|
|
1553
|
-
active:
|
|
1648
|
+
), B2 = ({
|
|
1649
|
+
active: c,
|
|
1554
1650
|
className: r = "",
|
|
1555
1651
|
disabled: t
|
|
1556
1652
|
}) => /* @__PURE__ */ e.jsx(
|
|
@@ -1595,11 +1691,11 @@ const u2 = ({ children: s }) => {
|
|
|
1595
1691
|
}
|
|
1596
1692
|
)
|
|
1597
1693
|
),
|
|
1598
|
-
active:
|
|
1694
|
+
active: c,
|
|
1599
1695
|
disabled: t
|
|
1600
1696
|
}
|
|
1601
|
-
),
|
|
1602
|
-
active:
|
|
1697
|
+
), L2 = ({
|
|
1698
|
+
active: c,
|
|
1603
1699
|
className: r = "",
|
|
1604
1700
|
disabled: t
|
|
1605
1701
|
}) => /* @__PURE__ */ e.jsx(
|
|
@@ -1644,11 +1740,11 @@ const u2 = ({ children: s }) => {
|
|
|
1644
1740
|
}
|
|
1645
1741
|
)
|
|
1646
1742
|
),
|
|
1647
|
-
active:
|
|
1743
|
+
active: c,
|
|
1648
1744
|
disabled: t
|
|
1649
1745
|
}
|
|
1650
|
-
),
|
|
1651
|
-
active:
|
|
1746
|
+
), A2 = ({
|
|
1747
|
+
active: c,
|
|
1652
1748
|
className: r = "",
|
|
1653
1749
|
disabled: t
|
|
1654
1750
|
}) => /* @__PURE__ */ e.jsx(
|
|
@@ -1693,11 +1789,11 @@ const u2 = ({ children: s }) => {
|
|
|
1693
1789
|
}
|
|
1694
1790
|
)
|
|
1695
1791
|
),
|
|
1696
|
-
active:
|
|
1792
|
+
active: c,
|
|
1697
1793
|
disabled: t
|
|
1698
1794
|
}
|
|
1699
|
-
),
|
|
1700
|
-
active:
|
|
1795
|
+
), T2 = ({
|
|
1796
|
+
active: c,
|
|
1701
1797
|
className: r = "",
|
|
1702
1798
|
disabled: t
|
|
1703
1799
|
}) => /* @__PURE__ */ e.jsx(
|
|
@@ -1715,11 +1811,11 @@ const u2 = ({ children: s }) => {
|
|
|
1715
1811
|
/* icon-playstation-enabled.svg */
|
|
1716
1812
|
/* @__PURE__ */ e.jsx("svg", { className: r, fill: "currentcolor", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 164.61 164.61", children: /* @__PURE__ */ e.jsx("g", { children: /* @__PURE__ */ e.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" }) }) })
|
|
1717
1813
|
),
|
|
1718
|
-
active:
|
|
1814
|
+
active: c,
|
|
1719
1815
|
disabled: t
|
|
1720
1816
|
}
|
|
1721
|
-
),
|
|
1722
|
-
active:
|
|
1817
|
+
), P2 = ({
|
|
1818
|
+
active: c,
|
|
1723
1819
|
className: r = "",
|
|
1724
1820
|
disabled: t
|
|
1725
1821
|
}) => /* @__PURE__ */ e.jsx(
|
|
@@ -1764,11 +1860,11 @@ const u2 = ({ children: s }) => {
|
|
|
1764
1860
|
}
|
|
1765
1861
|
)
|
|
1766
1862
|
),
|
|
1767
|
-
active:
|
|
1863
|
+
active: c,
|
|
1768
1864
|
disabled: t
|
|
1769
1865
|
}
|
|
1770
|
-
),
|
|
1771
|
-
active:
|
|
1866
|
+
), D2 = ({
|
|
1867
|
+
active: c,
|
|
1772
1868
|
className: r = "",
|
|
1773
1869
|
disabled: t
|
|
1774
1870
|
}) => /* @__PURE__ */ e.jsx(
|
|
@@ -1813,11 +1909,11 @@ const u2 = ({ children: s }) => {
|
|
|
1813
1909
|
}
|
|
1814
1910
|
)
|
|
1815
1911
|
),
|
|
1816
|
-
active:
|
|
1912
|
+
active: c,
|
|
1817
1913
|
disabled: t
|
|
1818
1914
|
}
|
|
1819
|
-
),
|
|
1820
|
-
active:
|
|
1915
|
+
), O2 = ({
|
|
1916
|
+
active: c,
|
|
1821
1917
|
className: r = "",
|
|
1822
1918
|
disabled: t
|
|
1823
1919
|
}) => /* @__PURE__ */ e.jsx(
|
|
@@ -1862,11 +1958,11 @@ const u2 = ({ children: s }) => {
|
|
|
1862
1958
|
}
|
|
1863
1959
|
)
|
|
1864
1960
|
),
|
|
1865
|
-
active:
|
|
1961
|
+
active: c,
|
|
1866
1962
|
disabled: t
|
|
1867
1963
|
}
|
|
1868
|
-
),
|
|
1869
|
-
active:
|
|
1964
|
+
), V2 = ({
|
|
1965
|
+
active: c,
|
|
1870
1966
|
className: r = "",
|
|
1871
1967
|
disabled: t
|
|
1872
1968
|
}) => /* @__PURE__ */ e.jsx(
|
|
@@ -1911,11 +2007,11 @@ const u2 = ({ children: s }) => {
|
|
|
1911
2007
|
}
|
|
1912
2008
|
)
|
|
1913
2009
|
),
|
|
1914
|
-
active:
|
|
2010
|
+
active: c,
|
|
1915
2011
|
disabled: t
|
|
1916
2012
|
}
|
|
1917
|
-
),
|
|
1918
|
-
active:
|
|
2013
|
+
), k2 = ({
|
|
2014
|
+
active: c,
|
|
1919
2015
|
className: r = "",
|
|
1920
2016
|
disabled: t
|
|
1921
2017
|
}) => /* @__PURE__ */ e.jsx(
|
|
@@ -1960,11 +2056,11 @@ const u2 = ({ children: s }) => {
|
|
|
1960
2056
|
}
|
|
1961
2057
|
)
|
|
1962
2058
|
),
|
|
1963
|
-
active:
|
|
2059
|
+
active: c,
|
|
1964
2060
|
disabled: t
|
|
1965
2061
|
}
|
|
1966
|
-
),
|
|
1967
|
-
active:
|
|
2062
|
+
), $2 = ({
|
|
2063
|
+
active: c,
|
|
1968
2064
|
className: r = "",
|
|
1969
2065
|
disabled: t
|
|
1970
2066
|
}) => /* @__PURE__ */ e.jsx(
|
|
@@ -2009,11 +2105,11 @@ const u2 = ({ children: s }) => {
|
|
|
2009
2105
|
}
|
|
2010
2106
|
)
|
|
2011
2107
|
),
|
|
2012
|
-
active:
|
|
2108
|
+
active: c,
|
|
2013
2109
|
disabled: t
|
|
2014
2110
|
}
|
|
2015
|
-
),
|
|
2016
|
-
active:
|
|
2111
|
+
), F2 = ({
|
|
2112
|
+
active: c,
|
|
2017
2113
|
className: r = "",
|
|
2018
2114
|
disabled: t
|
|
2019
2115
|
}) => /* @__PURE__ */ e.jsx(
|
|
@@ -2058,11 +2154,11 @@ const u2 = ({ children: s }) => {
|
|
|
2058
2154
|
}
|
|
2059
2155
|
)
|
|
2060
2156
|
),
|
|
2061
|
-
active:
|
|
2157
|
+
active: c,
|
|
2062
2158
|
disabled: t
|
|
2063
2159
|
}
|
|
2064
|
-
),
|
|
2065
|
-
active:
|
|
2160
|
+
), W2 = ({
|
|
2161
|
+
active: c,
|
|
2066
2162
|
className: r = "",
|
|
2067
2163
|
disabled: t
|
|
2068
2164
|
}) => /* @__PURE__ */ e.jsx(
|
|
@@ -2107,11 +2203,11 @@ const u2 = ({ children: s }) => {
|
|
|
2107
2203
|
}
|
|
2108
2204
|
)
|
|
2109
2205
|
),
|
|
2110
|
-
active:
|
|
2206
|
+
active: c,
|
|
2111
2207
|
disabled: t
|
|
2112
2208
|
}
|
|
2113
|
-
),
|
|
2114
|
-
active:
|
|
2209
|
+
), U2 = ({
|
|
2210
|
+
active: c,
|
|
2115
2211
|
className: r = "",
|
|
2116
2212
|
disabled: t
|
|
2117
2213
|
}) => /* @__PURE__ */ e.jsx(
|
|
@@ -2156,11 +2252,11 @@ const u2 = ({ children: s }) => {
|
|
|
2156
2252
|
}
|
|
2157
2253
|
)
|
|
2158
2254
|
),
|
|
2159
|
-
active:
|
|
2255
|
+
active: c,
|
|
2160
2256
|
disabled: t
|
|
2161
2257
|
}
|
|
2162
|
-
),
|
|
2163
|
-
active:
|
|
2258
|
+
), H2 = ({
|
|
2259
|
+
active: c,
|
|
2164
2260
|
className: r = "",
|
|
2165
2261
|
disabled: t
|
|
2166
2262
|
}) => /* @__PURE__ */ e.jsx(
|
|
@@ -2205,11 +2301,11 @@ const u2 = ({ children: s }) => {
|
|
|
2205
2301
|
}
|
|
2206
2302
|
)
|
|
2207
2303
|
),
|
|
2208
|
-
active:
|
|
2304
|
+
active: c,
|
|
2209
2305
|
disabled: t
|
|
2210
2306
|
}
|
|
2211
|
-
),
|
|
2212
|
-
active:
|
|
2307
|
+
), q2 = ({
|
|
2308
|
+
active: c,
|
|
2213
2309
|
className: r = "",
|
|
2214
2310
|
disabled: t
|
|
2215
2311
|
}) => /* @__PURE__ */ e.jsx(
|
|
@@ -2254,11 +2350,11 @@ const u2 = ({ children: s }) => {
|
|
|
2254
2350
|
}
|
|
2255
2351
|
)
|
|
2256
2352
|
),
|
|
2257
|
-
active:
|
|
2353
|
+
active: c,
|
|
2258
2354
|
disabled: t
|
|
2259
2355
|
}
|
|
2260
|
-
),
|
|
2261
|
-
active:
|
|
2356
|
+
), G2 = ({
|
|
2357
|
+
active: c,
|
|
2262
2358
|
className: r = "",
|
|
2263
2359
|
disabled: t
|
|
2264
2360
|
}) => /* @__PURE__ */ e.jsx(
|
|
@@ -2303,11 +2399,11 @@ const u2 = ({ children: s }) => {
|
|
|
2303
2399
|
}
|
|
2304
2400
|
)
|
|
2305
2401
|
),
|
|
2306
|
-
active:
|
|
2402
|
+
active: c,
|
|
2307
2403
|
disabled: t
|
|
2308
2404
|
}
|
|
2309
|
-
),
|
|
2310
|
-
active:
|
|
2405
|
+
), Y2 = ({
|
|
2406
|
+
active: c,
|
|
2311
2407
|
className: r = "",
|
|
2312
2408
|
disabled: t
|
|
2313
2409
|
}) => /* @__PURE__ */ e.jsx(
|
|
@@ -2352,11 +2448,11 @@ const u2 = ({ children: s }) => {
|
|
|
2352
2448
|
}
|
|
2353
2449
|
)
|
|
2354
2450
|
),
|
|
2355
|
-
active:
|
|
2451
|
+
active: c,
|
|
2356
2452
|
disabled: t
|
|
2357
2453
|
}
|
|
2358
|
-
),
|
|
2359
|
-
active:
|
|
2454
|
+
), K2 = ({
|
|
2455
|
+
active: c,
|
|
2360
2456
|
className: r = "",
|
|
2361
2457
|
disabled: t
|
|
2362
2458
|
}) => /* @__PURE__ */ e.jsx(
|
|
@@ -2401,159 +2497,208 @@ const u2 = ({ children: s }) => {
|
|
|
2401
2497
|
}
|
|
2402
2498
|
)
|
|
2403
2499
|
),
|
|
2404
|
-
active:
|
|
2500
|
+
active: c,
|
|
2405
2501
|
disabled: t
|
|
2406
2502
|
}
|
|
2407
|
-
),
|
|
2408
|
-
Alert:
|
|
2409
|
-
Camera:
|
|
2410
|
-
DownArrow:
|
|
2411
|
-
Ban:
|
|
2412
|
-
Check:
|
|
2413
|
-
Elipses:
|
|
2414
|
-
Flag:
|
|
2415
|
-
Gear:
|
|
2416
|
-
Glass:
|
|
2417
|
-
|
|
2418
|
-
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
|
|
2435
|
-
|
|
2436
|
-
|
|
2503
|
+
), J2 = {
|
|
2504
|
+
Alert: Z2,
|
|
2505
|
+
Camera: j2,
|
|
2506
|
+
DownArrow: S2,
|
|
2507
|
+
Ban: m2,
|
|
2508
|
+
Check: C2,
|
|
2509
|
+
Elipses: b2,
|
|
2510
|
+
Flag: y2,
|
|
2511
|
+
Gear: I2,
|
|
2512
|
+
Glass: R2,
|
|
2513
|
+
Hdmi: E2,
|
|
2514
|
+
Laptop: _2,
|
|
2515
|
+
LeftArrow: B2,
|
|
2516
|
+
Light: L2,
|
|
2517
|
+
Mic: M2,
|
|
2518
|
+
Moon: A2,
|
|
2519
|
+
Playstation: T2,
|
|
2520
|
+
Podium: P2,
|
|
2521
|
+
Power: D2,
|
|
2522
|
+
Privacy: O2,
|
|
2523
|
+
Question: V2,
|
|
2524
|
+
RightArrow: k2,
|
|
2525
|
+
Shade: $2,
|
|
2526
|
+
Sun: F2,
|
|
2527
|
+
UpArrow: W2,
|
|
2528
|
+
VolDown: U2,
|
|
2529
|
+
VolMute: H2,
|
|
2530
|
+
VolUp: q2,
|
|
2531
|
+
Wireless: G2,
|
|
2532
|
+
X: Y2,
|
|
2533
|
+
Xbox: K2
|
|
2437
2534
|
};
|
|
2438
|
-
function
|
|
2439
|
-
name:
|
|
2535
|
+
function D8({
|
|
2536
|
+
name: c,
|
|
2440
2537
|
...r
|
|
2441
2538
|
}) {
|
|
2442
|
-
return /* @__PURE__ */ e.jsx(
|
|
2539
|
+
return /* @__PURE__ */ e.jsx(p2, { multiIcon: J2[c], ...r });
|
|
2443
2540
|
}
|
|
2444
|
-
const
|
|
2445
|
-
grid:
|
|
2446
|
-
header:
|
|
2447
|
-
content:
|
|
2448
|
-
footer:
|
|
2449
|
-
volume:
|
|
2450
|
-
},
|
|
2451
|
-
/* @__PURE__ */ e.jsx("div", { className: G.header, children:
|
|
2541
|
+
const z2 = "_grid_1cmpp_1", X2 = "_header_1cmpp_11", Q2 = "_content_1cmpp_17", N2 = "_footer_1cmpp_23", e8 = "_volume_1cmpp_29", G = {
|
|
2542
|
+
grid: z2,
|
|
2543
|
+
header: X2,
|
|
2544
|
+
content: Q2,
|
|
2545
|
+
footer: N2,
|
|
2546
|
+
volume: e8
|
|
2547
|
+
}, O8 = ({ header: c, footer: r, content: t, volume: l, showVolume: g }) => /* @__PURE__ */ e.jsxs("div", { className: G.grid, children: [
|
|
2548
|
+
/* @__PURE__ */ e.jsx("div", { className: G.header, children: c }),
|
|
2452
2549
|
/* @__PURE__ */ e.jsx("div", { className: G.content, children: t }),
|
|
2453
|
-
|
|
2550
|
+
g && /* @__PURE__ */ e.jsx("div", { className: G.volume, children: l }),
|
|
2454
2551
|
/* @__PURE__ */ e.jsx("div", { className: G.footer, children: r })
|
|
2455
|
-
] }),
|
|
2456
|
-
grid:
|
|
2457
|
-
header:
|
|
2458
|
-
content:
|
|
2552
|
+
] }), r8 = "_grid_11w5q_1", c8 = "_header_11w5q_11", s8 = "_content_11w5q_17", e3 = {
|
|
2553
|
+
grid: r8,
|
|
2554
|
+
header: c8,
|
|
2555
|
+
content: s8,
|
|
2459
2556
|
"left-nav": "_left-nav_11w5q_23"
|
|
2460
|
-
},
|
|
2557
|
+
}, V8 = ({ className: c, header: r, content: t, leftNav: l }) => /* @__PURE__ */ e.jsxs("div", { className: `${c} ${e3.grid}`, children: [
|
|
2461
2558
|
/* @__PURE__ */ e.jsx("div", { className: e3.header, children: r }),
|
|
2462
2559
|
/* @__PURE__ */ e.jsx("div", { className: e3.leftNav, children: l }),
|
|
2463
2560
|
/* @__PURE__ */ e.jsx("div", { className: e3.content, children: t })
|
|
2464
2561
|
] });
|
|
2465
|
-
function
|
|
2562
|
+
function k8() {
|
|
2466
2563
|
return console.log(location.pathname), location.pathname;
|
|
2467
2564
|
}
|
|
2468
|
-
var
|
|
2469
|
-
class
|
|
2565
|
+
var t8 = /* @__PURE__ */ ((c) => (c[c.NotSet = 0] = "NotSet", c[c.Sunday = 1] = "Sunday", c[c.Monday = 2] = "Monday", c[c.Tuesday = 4] = "Tuesday", c[c.Wednesday = 8] = "Wednesday", c[c.Thursday = 16] = "Thursday", c[c.Friday = 32] = "Friday", c[c.Saturday = 64] = "Saturday", c))(t8 || {});
|
|
2566
|
+
class $8 {
|
|
2470
2567
|
constructor(r, t) {
|
|
2471
|
-
|
|
2472
|
-
|
|
2568
|
+
d(this, "path");
|
|
2569
|
+
d(this, "handler");
|
|
2473
2570
|
this.path = r, this.handler = t;
|
|
2474
2571
|
}
|
|
2475
2572
|
}
|
|
2476
|
-
|
|
2573
|
+
class F8 {
|
|
2574
|
+
constructor() {
|
|
2575
|
+
d(this, "name", "");
|
|
2576
|
+
d(this, "iconUrl", "");
|
|
2577
|
+
d(this, "channel", "");
|
|
2578
|
+
}
|
|
2579
|
+
}
|
|
2580
|
+
class W8 {
|
|
2581
|
+
constructor() {
|
|
2582
|
+
d(this, "audioCodecKey");
|
|
2583
|
+
d(this, "defaultDisplayKey");
|
|
2584
|
+
d(this, "defaultPresentationSourceKey", "");
|
|
2585
|
+
d(this, "displayKeys", []);
|
|
2586
|
+
d(this, "environmentalDevices", []);
|
|
2587
|
+
d(this, "hasAudioConferencing");
|
|
2588
|
+
d(this, "hasEnvironmentalControls");
|
|
2589
|
+
d(this, "hasVideoConferencing");
|
|
2590
|
+
d(this, "helpMessage");
|
|
2591
|
+
d(this, "sourceList", {});
|
|
2592
|
+
d(this, "supportsAdvancedSharing");
|
|
2593
|
+
d(this, "uiBehavior");
|
|
2594
|
+
d(this, "userCanChangeShareMode");
|
|
2595
|
+
d(this, "videoCodecIsZoomRoom");
|
|
2596
|
+
d(this, "videoCodecKey");
|
|
2597
|
+
}
|
|
2598
|
+
}
|
|
2599
|
+
class U8 {
|
|
2600
|
+
constructor() {
|
|
2601
|
+
d(this, "deviceKey");
|
|
2602
|
+
d(this, "deviceType");
|
|
2603
|
+
}
|
|
2604
|
+
}
|
|
2605
|
+
class H8 {
|
|
2606
|
+
constructor() {
|
|
2607
|
+
d(this, "currentShareText");
|
|
2608
|
+
d(this, "enabled");
|
|
2609
|
+
d(this, "isSharing");
|
|
2610
|
+
}
|
|
2611
|
+
}
|
|
2612
|
+
const q8 = ({ className: c }) => {
|
|
2477
2613
|
const [r, t] = r3();
|
|
2478
|
-
return
|
|
2614
|
+
return Y(() => {
|
|
2479
2615
|
setInterval(() => {
|
|
2480
2616
|
const l = (/* @__PURE__ */ new Date()).toLocaleTimeString("en-US", { hour12: !0, hour: "numeric", minute: "numeric" });
|
|
2481
2617
|
t(l);
|
|
2482
2618
|
}, 1e3);
|
|
2483
|
-
}, []), /* @__PURE__ */ e.jsxs("div", { className:
|
|
2619
|
+
}, []), /* @__PURE__ */ e.jsxs("div", { className: c, children: [
|
|
2484
2620
|
r,
|
|
2485
2621
|
" new change"
|
|
2486
2622
|
] });
|
|
2487
2623
|
};
|
|
2488
2624
|
export {
|
|
2489
|
-
|
|
2490
|
-
|
|
2491
|
-
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
|
|
2495
|
-
|
|
2496
|
-
|
|
2497
|
-
|
|
2498
|
-
|
|
2499
|
-
|
|
2500
|
-
|
|
2501
|
-
|
|
2502
|
-
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
|
|
2513
|
-
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
|
|
2519
|
-
q2 as
|
|
2520
|
-
|
|
2521
|
-
|
|
2522
|
-
|
|
2523
|
-
|
|
2625
|
+
q8 as Clock,
|
|
2626
|
+
t8 as DaysOfWeek,
|
|
2627
|
+
U8 as EnvironmentalDeviceConfiguration,
|
|
2628
|
+
P8 as ErrorBox,
|
|
2629
|
+
p2 as IconButton,
|
|
2630
|
+
Z2 as IconMultiAlert,
|
|
2631
|
+
m2 as IconMultiBan,
|
|
2632
|
+
j2 as IconMultiCamera,
|
|
2633
|
+
C2 as IconMultiCheck,
|
|
2634
|
+
S2 as IconMultiDownArrow,
|
|
2635
|
+
b2 as IconMultiElipses,
|
|
2636
|
+
y2 as IconMultiFlag,
|
|
2637
|
+
I2 as IconMultiGear,
|
|
2638
|
+
R2 as IconMultiGlass,
|
|
2639
|
+
E2 as IconMultiHdmi,
|
|
2640
|
+
_2 as IconMultiLaptop,
|
|
2641
|
+
B2 as IconMultiLeftArrow,
|
|
2642
|
+
L2 as IconMultiLight,
|
|
2643
|
+
A2 as IconMultiMoon,
|
|
2644
|
+
T2 as IconMultiPlaystation,
|
|
2645
|
+
P2 as IconMultiPodium,
|
|
2646
|
+
D2 as IconMultiPower,
|
|
2647
|
+
O2 as IconMultiPrivacy,
|
|
2648
|
+
V2 as IconMultiQuestion,
|
|
2649
|
+
k2 as IconMultiRightArrow,
|
|
2650
|
+
$2 as IconMultiShade,
|
|
2651
|
+
F2 as IconMultiSun,
|
|
2652
|
+
W2 as IconMultiUpArrow,
|
|
2653
|
+
U2 as IconMultiVolDown,
|
|
2654
|
+
H2 as IconMultiVolMute,
|
|
2655
|
+
q2 as IconMultiVolUp,
|
|
2656
|
+
G2 as IconMultiWireless,
|
|
2657
|
+
Y2 as IconMultiX,
|
|
2658
|
+
K2 as IconMultiXbox,
|
|
2659
|
+
O8 as MainLayout,
|
|
2660
|
+
$8 as MessageHandler,
|
|
2661
|
+
B8 as MobileControlProvider,
|
|
2524
2662
|
u as MultiStateIconContainer,
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
|
|
2528
|
-
|
|
2529
|
-
|
|
2530
|
-
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
|
|
2537
|
-
|
|
2538
|
-
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
|
|
2548
|
-
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2663
|
+
D8 as NamedIconButton,
|
|
2664
|
+
F8 as PresetChannel,
|
|
2665
|
+
W8 as RoomConfiguration,
|
|
2666
|
+
H8 as ShareState,
|
|
2667
|
+
V8 as TechLayout,
|
|
2668
|
+
k8 as getBaseLocation,
|
|
2669
|
+
h3 as httpClient,
|
|
2670
|
+
D as store,
|
|
2671
|
+
v8 as uiActions,
|
|
2672
|
+
N1 as uiReducer,
|
|
2673
|
+
h8 as useApiPath,
|
|
2674
|
+
e2 as useAppConfig,
|
|
2675
|
+
o2 as useAppDispatch,
|
|
2676
|
+
t2 as useClientId,
|
|
2677
|
+
L8 as useGetAllDeviceStateFromRoomConfiguration,
|
|
2678
|
+
d8 as useGetAllDevices,
|
|
2679
|
+
E8 as useGetCurrentPopoverIdForGroup,
|
|
2680
|
+
r2 as useGetDevice,
|
|
2681
|
+
b8 as useGetRoomDisplays,
|
|
2682
|
+
g2 as useIHasPowerControl,
|
|
2683
|
+
A8 as useIRunDirectRouteAction,
|
|
2684
|
+
n2 as useInitialize,
|
|
2685
|
+
C8 as useRoomAdvancedSharingActive,
|
|
2686
|
+
u8 as useRoomConfiguration,
|
|
2687
|
+
p8 as useRoomDestinationKeys,
|
|
2688
|
+
M8 as useRoomInCall,
|
|
2689
|
+
m8 as useRoomIsCoolingDown,
|
|
2690
|
+
j8 as useRoomIsOn,
|
|
2691
|
+
Z8 as useRoomIsWarmingUp,
|
|
2692
|
+
s2 as useRoomKey,
|
|
2693
|
+
x8 as useRoomMasterVolume,
|
|
2694
|
+
w8 as useRoomName,
|
|
2695
|
+
S8 as useRoomShareState,
|
|
2696
|
+
f8 as useRoomSourceList,
|
|
2697
|
+
g8 as useRoomState,
|
|
2698
|
+
I8 as useShowIncomingCallModal,
|
|
2699
|
+
R8 as useShowModal,
|
|
2700
|
+
_8 as useShowPopoverById,
|
|
2701
|
+
y8 as useShowShutdownModal,
|
|
2702
|
+
T8 as useTwoWayDisplayBase,
|
|
2703
|
+
c2 as useWsIsConnected
|
|
2559
2704
|
};
|