@pepperdash/mobile-control-react-app-core 1.6.0 → 1.7.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 +440 -433
- package/dist/mobile-control-react-app-core.umd.js +11 -11
- package/dist/shared/hooks/interfaces/index.d.ts +1 -0
- package/dist/shared/hooks/interfaces/index.d.ts.map +1 -1
- package/dist/shared/hooks/interfaces/useIShutdownPromptTimer.d.ts +1 -0
- package/dist/shared/hooks/interfaces/useIShutdownPromptTimer.d.ts.map +1 -1
- package/dist/shared/hooks/interfaces/useITechPassword.d.ts +12 -0
- package/dist/shared/hooks/interfaces/useITechPassword.d.ts.map +1 -0
- package/dist/types/state/state/IShutdownPromptTimerState.d.ts +2 -2
- package/dist/types/state/state/IShutdownPromptTimerState.d.ts.map +1 -1
- package/dist/types/state/state/ITechPasswordState.d.ts +5 -0
- package/dist/types/state/state/ITechPasswordState.d.ts.map +1 -0
- package/dist/types/state/state/index.d.ts +1 -0
- package/dist/types/state/state/index.d.ts.map +1 -1
- package/dist/utils/WebsocketContext.d.ts +2 -2
- package/dist/utils/WebsocketContext.d.ts.map +1 -1
- package/dist/utils/WebsocketProvider.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
var U1 = Object.defineProperty;
|
|
2
2
|
var H1 = (t, e, r) => e in t ? U1(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
|
|
3
|
-
var
|
|
3
|
+
var _ = (t, e, r) => (H1(t, typeof e != "symbol" ? e + "" : e, r), r);
|
|
4
4
|
import K1 from "axios";
|
|
5
|
-
import { createSlice as
|
|
5
|
+
import { createSlice as o3, combineReducers as G1, configureStore as n1, createSelector as q1 } from "@reduxjs/toolkit";
|
|
6
6
|
import { useSelector as Y1, useDispatch as J1, Provider as z1 } from "react-redux";
|
|
7
|
-
import * as
|
|
8
|
-
import
|
|
7
|
+
import * as r1 from "lodash";
|
|
8
|
+
import o1, { createContext as X1, useState as d3, useRef as r3, useCallback as a3, useEffect as n3, useContext as Q1 } from "react";
|
|
9
9
|
const N1 = {
|
|
10
10
|
config: {
|
|
11
11
|
enableDev: !1,
|
|
@@ -16,7 +16,7 @@ const N1 = {
|
|
|
16
16
|
loginMode: "",
|
|
17
17
|
modes: {}
|
|
18
18
|
}
|
|
19
|
-
},
|
|
19
|
+
}, s1 = o3({
|
|
20
20
|
name: "appConfig",
|
|
21
21
|
initialState: N1,
|
|
22
22
|
reducers: {
|
|
@@ -24,7 +24,7 @@ const N1 = {
|
|
|
24
24
|
t.config = e.payload;
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
}), e2 =
|
|
27
|
+
}), e2 = s1.actions, t2 = s1.reducer, n2 = {}, c1 = o3({
|
|
28
28
|
name: "devices",
|
|
29
29
|
initialState: n2,
|
|
30
30
|
reducers: {
|
|
@@ -32,11 +32,11 @@ const N1 = {
|
|
|
32
32
|
const r = e.payload.type, s = r.slice(r.lastIndexOf("/") + 1);
|
|
33
33
|
if (!s)
|
|
34
34
|
return;
|
|
35
|
-
const l = e.payload.content, a = t[s] ?? {},
|
|
36
|
-
return t[s] =
|
|
35
|
+
const l = e.payload.content, a = t[s] ?? {}, u = r1.merge(a, l);
|
|
36
|
+
return t[s] = u, t;
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
|
-
}), r2 =
|
|
39
|
+
}), r2 = c1.actions, o2 = c1.reducer, s2 = {}, l1 = o3({
|
|
40
40
|
name: "rooms",
|
|
41
41
|
initialState: s2,
|
|
42
42
|
reducers: {
|
|
@@ -46,11 +46,11 @@ const N1 = {
|
|
|
46
46
|
return;
|
|
47
47
|
const l = e.payload.content;
|
|
48
48
|
console.log(l);
|
|
49
|
-
const a = t[s] ?? {},
|
|
50
|
-
return t[s] =
|
|
49
|
+
const a = t[s] ?? {}, u = r1.merge(a, l);
|
|
50
|
+
return t[s] = u, console.log(t), t;
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
|
-
}), c2 =
|
|
53
|
+
}), c2 = l1.actions, l2 = l1.reducer, i2 = {
|
|
54
54
|
apiVersion: "",
|
|
55
55
|
serverIsRunningOnProcessorHardware: !1,
|
|
56
56
|
websocket: {
|
|
@@ -69,7 +69,7 @@ const N1 = {
|
|
|
69
69
|
userCode: "",
|
|
70
70
|
qrUrl: ""
|
|
71
71
|
}
|
|
72
|
-
},
|
|
72
|
+
}, i1 = o3({
|
|
73
73
|
name: "runtimeConfig",
|
|
74
74
|
initialState: i2,
|
|
75
75
|
reducers: {
|
|
@@ -95,13 +95,13 @@ const N1 = {
|
|
|
95
95
|
t.roomData.userCode = e.payload.userCode, t.roomData.qrUrl = e.payload.qrUrl;
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
|
-
}), K =
|
|
98
|
+
}), K = i1.actions, a2 = i1.reducer, u2 = {
|
|
99
99
|
modalVisibility: {
|
|
100
100
|
showShutdownModal: !1,
|
|
101
101
|
showIncomingCallModal: !1
|
|
102
102
|
},
|
|
103
103
|
popoverVisibility: {}
|
|
104
|
-
},
|
|
104
|
+
}, a1 = o3({
|
|
105
105
|
name: "ui",
|
|
106
106
|
initialState: u2,
|
|
107
107
|
reducers: {
|
|
@@ -125,91 +125,91 @@ const N1 = {
|
|
|
125
125
|
}), t.popoverVisibility[e.payload.popoverGroup][e.payload.popoverId] = e.payload.value;
|
|
126
126
|
}
|
|
127
127
|
}
|
|
128
|
-
}), E8 =
|
|
128
|
+
}), E8 = a1.actions, d2 = a1.reducer, u1 = G1({
|
|
129
129
|
appConfig: t2,
|
|
130
130
|
runtimeConfig: a2,
|
|
131
131
|
rooms: l2,
|
|
132
132
|
devices: o2,
|
|
133
133
|
ui: d2
|
|
134
|
-
}), v2 =
|
|
135
|
-
reducer:
|
|
136
|
-
}),
|
|
134
|
+
}), v2 = n1({
|
|
135
|
+
reducer: u1
|
|
136
|
+
}), Z = Y1, h2 = () => Z((t) => t.appConfig.config), _8 = () => Z((t) => t.appConfig.config.apiPath), g2 = () => Z((t) => t.devices);
|
|
137
137
|
function $(t) {
|
|
138
|
-
return
|
|
138
|
+
return Z((e) => e.devices[t] ? e.devices[t] : void 0);
|
|
139
139
|
}
|
|
140
|
-
const L8 = (t) =>
|
|
140
|
+
const L8 = (t) => Z(
|
|
141
141
|
(e) => {
|
|
142
142
|
var r;
|
|
143
143
|
return e.rooms[t] ? (r = e.rooms[t]) == null ? void 0 : r.configuration : void 0;
|
|
144
144
|
}
|
|
145
|
-
),
|
|
145
|
+
), R3 = (t) => Z(
|
|
146
146
|
(e) => e.rooms[t] ? e.rooms[t] : void 0
|
|
147
|
-
), $8 = (t) =>
|
|
147
|
+
), $8 = (t) => Z(
|
|
148
148
|
(e) => {
|
|
149
149
|
var r;
|
|
150
150
|
return e.rooms[t] ? (r = e.rooms[t]) == null ? void 0 : r.name : void 0;
|
|
151
151
|
}
|
|
152
|
-
), f2 = (t, e) =>
|
|
152
|
+
), f2 = (t, e) => Z(
|
|
153
153
|
(r) => {
|
|
154
154
|
var s;
|
|
155
155
|
return r.rooms[t] ? (s = r.rooms[t]) == null ? void 0 : s.volumes[e] : void 0;
|
|
156
156
|
}
|
|
157
|
-
),
|
|
157
|
+
), A8 = (t) => Z(
|
|
158
158
|
(e) => {
|
|
159
159
|
var r, s;
|
|
160
160
|
return e.rooms[t] ? (s = (r = e.rooms[t]) == null ? void 0 : r.configuration) == null ? void 0 : s.sourceList : void 0;
|
|
161
161
|
}
|
|
162
|
-
),
|
|
162
|
+
), B8 = (t) => Z(
|
|
163
163
|
(e) => {
|
|
164
164
|
var r, s;
|
|
165
165
|
return e.rooms[t] ? (s = (r = e.rooms[t]) == null ? void 0 : r.configuration) == null ? void 0 : s.destinations : void 0;
|
|
166
166
|
}
|
|
167
|
-
),
|
|
167
|
+
), T8 = (t) => Z(
|
|
168
168
|
(e) => {
|
|
169
169
|
var r, s;
|
|
170
170
|
return e.rooms[t] ? (s = (r = e.rooms[t]) == null ? void 0 : r.configuration) == null ? void 0 : s.destinationList : void 0;
|
|
171
171
|
}
|
|
172
|
-
), D8 = (t) =>
|
|
172
|
+
), D8 = (t) => Z(
|
|
173
173
|
(e) => {
|
|
174
174
|
var r, s;
|
|
175
175
|
return e.rooms[t] ? (s = (r = e.rooms[t]) == null ? void 0 : r.configuration) == null ? void 0 : s.environmentalDevices : void 0;
|
|
176
176
|
}
|
|
177
|
-
),
|
|
177
|
+
), P8 = (t) => Z(
|
|
178
178
|
(e) => {
|
|
179
|
-
var r, s, l, a,
|
|
180
|
-
return (s = (r = e.rooms[t]) == null ? void 0 : r.configuration) != null && s.destinationList.programAudio ? (
|
|
179
|
+
var r, s, l, a, u, f, d, C;
|
|
180
|
+
return (s = (r = e.rooms[t]) == null ? void 0 : r.configuration) != null && s.destinationList.programAudio ? (u = (a = (l = e.rooms[t]) == null ? void 0 : l.configuration) == null ? void 0 : a.destinationList.programAudio) == null ? void 0 : u.sinkKey : ((C = (d = (f = e.rooms[t]) == null ? void 0 : f.configuration) == null ? void 0 : d.destinationList.defaultDisplay) == null ? void 0 : C.sinkKey) || "";
|
|
181
181
|
}
|
|
182
|
-
),
|
|
182
|
+
), O8 = (t) => Z(
|
|
183
183
|
(e) => {
|
|
184
184
|
var r, s, l;
|
|
185
185
|
return e.rooms[t] ? (l = (s = (r = e.rooms[t]) == null ? void 0 : r.configuration) == null ? void 0 : s.destinationList.codecContent) == null ? void 0 : l.sinkKey : void 0;
|
|
186
186
|
}
|
|
187
|
-
), V8 = (t) =>
|
|
187
|
+
), V8 = (t) => Z(
|
|
188
188
|
(e) => {
|
|
189
189
|
var r;
|
|
190
190
|
return e.rooms[t] ? (r = e.rooms[t]) == null ? void 0 : r.isInCall : void 0;
|
|
191
191
|
}
|
|
192
|
-
),
|
|
192
|
+
), F8 = (t) => Z(
|
|
193
193
|
(e) => {
|
|
194
194
|
var r;
|
|
195
195
|
return e.rooms[t] ? (r = e.rooms[t]) == null ? void 0 : r.isWarmingUp : void 0;
|
|
196
196
|
}
|
|
197
|
-
),
|
|
197
|
+
), k8 = (t) => Z(
|
|
198
198
|
(e) => {
|
|
199
199
|
var r;
|
|
200
200
|
return e.rooms[t] ? (r = e.rooms[t]) == null ? void 0 : r.isCoolingDown : void 0;
|
|
201
201
|
}
|
|
202
|
-
), W8 = (t) =>
|
|
202
|
+
), W8 = (t) => Z(
|
|
203
203
|
(e) => {
|
|
204
204
|
var r;
|
|
205
205
|
return e.rooms[t] ? (r = e.rooms[t]) == null ? void 0 : r.isOn : void 0;
|
|
206
206
|
}
|
|
207
|
-
), U8 = (t) =>
|
|
207
|
+
), U8 = (t) => Z(
|
|
208
208
|
(e) => {
|
|
209
209
|
var r;
|
|
210
210
|
return e.rooms[t] ? (r = e.rooms[t]) == null ? void 0 : r.advancedSharingActive : void 0;
|
|
211
211
|
}
|
|
212
|
-
), H8 = (t) =>
|
|
212
|
+
), H8 = (t) => Z(
|
|
213
213
|
(e) => {
|
|
214
214
|
var r;
|
|
215
215
|
return e.rooms[t] ? (r = e.rooms[t]) == null ? void 0 : r.share : void 0;
|
|
@@ -226,35 +226,35 @@ const L8 = (t) => m(
|
|
|
226
226
|
(e, r, s) => {
|
|
227
227
|
if (console.log("roomKey", e), console.log("devices", r), console.log("destinations", s), !s)
|
|
228
228
|
return;
|
|
229
|
-
const l = Object.entries(s).filter(([
|
|
230
|
-
return Object.values(r).filter((
|
|
229
|
+
const l = Object.entries(s).filter(([u]) => u !== "programAudio" && u !== "codecContent").map(([, u]) => u);
|
|
230
|
+
return Object.values(r).filter((u) => Object.values(l).includes(u.key));
|
|
231
231
|
}
|
|
232
|
-
)(v2.getState(), t), G8 = (t) =>
|
|
232
|
+
)(v2.getState(), t), G8 = (t) => Z(
|
|
233
233
|
(e) => {
|
|
234
234
|
var r, s;
|
|
235
235
|
return e.rooms[t] ? (s = (r = e.rooms[t]) == null ? void 0 : r.configuration) == null ? void 0 : s.zoomRoomControllerKey : void 0;
|
|
236
236
|
}
|
|
237
|
-
), w2 = () =>
|
|
237
|
+
), w2 = () => Z((t) => t.runtimeConfig.websocket.isConnected), p2 = () => Z((t) => t.runtimeConfig.roomData.roomKey), x2 = () => Z((t) => t.runtimeConfig.roomData.clientId), q8 = () => Z((t) => t.ui.modalVisibility.showShutdownModal), Y8 = () => Z((t) => t.ui.modalVisibility.showIncomingCallModal), J8 = (t) => Z((e) => e.ui.modalVisibility[t]), z8 = (t) => Z((e) => {
|
|
238
238
|
const r = e.ui.popoverVisibility[t];
|
|
239
239
|
if (r)
|
|
240
240
|
return Object.keys(r).find((s) => r[s]);
|
|
241
|
-
}), X8 = (t, e) =>
|
|
241
|
+
}), X8 = (t, e) => Z((r) => {
|
|
242
242
|
var s;
|
|
243
243
|
return (s = r.ui.popoverVisibility[t]) == null ? void 0 : s[e];
|
|
244
|
-
}),
|
|
245
|
-
reducer:
|
|
246
|
-
}), M2 = J1,
|
|
244
|
+
}), F = n1({
|
|
245
|
+
reducer: u1
|
|
246
|
+
}), M2 = J1, b3 = K1.create();
|
|
247
247
|
function m2() {
|
|
248
248
|
const t = M2();
|
|
249
249
|
return async () => {
|
|
250
250
|
try {
|
|
251
251
|
const e = location.pathname.split("/").filter((l) => l.length > 0);
|
|
252
252
|
e.length >= 5 ? e.length = 5 : e.length = 2;
|
|
253
|
-
const r = `/${e.join("/")}`, s = await
|
|
253
|
+
const r = `/${e.join("/")}`, s = await b3.get("/_local-config/_config.local.json", { baseURL: r });
|
|
254
254
|
if (s.status == 200 && s.data) {
|
|
255
255
|
const l = s.data.apiPath;
|
|
256
256
|
t(e2.setAppConfig(s.data));
|
|
257
|
-
const a = await
|
|
257
|
+
const a = await b3.get(`${l}/version`);
|
|
258
258
|
a.status == 200 && a.data && t(K.setRuntimeConfig(a.data));
|
|
259
259
|
}
|
|
260
260
|
} catch (e) {
|
|
@@ -263,7 +263,7 @@ function m2() {
|
|
|
263
263
|
return !0;
|
|
264
264
|
};
|
|
265
265
|
}
|
|
266
|
-
var
|
|
266
|
+
var I3 = { exports: {} }, N = {};
|
|
267
267
|
/**
|
|
268
268
|
* @license React
|
|
269
269
|
* react-jsx-runtime.development.js
|
|
@@ -273,42 +273,42 @@ var y3 = { exports: {} }, Q = {};
|
|
|
273
273
|
* This source code is licensed under the MIT license found in the
|
|
274
274
|
* LICENSE file in the root directory of this source tree.
|
|
275
275
|
*/
|
|
276
|
-
var
|
|
276
|
+
var N3;
|
|
277
277
|
function Z2() {
|
|
278
|
-
return
|
|
279
|
-
var t =
|
|
278
|
+
return N3 || (N3 = 1, process.env.NODE_ENV !== "production" && function() {
|
|
279
|
+
var t = o1, e = Symbol.for("react.element"), r = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), u = Symbol.for("react.provider"), f = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"), C = Symbol.for("react.suspense"), S = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), A = Symbol.for("react.lazy"), T = Symbol.for("react.offscreen"), V = Symbol.iterator, G = "@@iterator";
|
|
280
280
|
function q(o) {
|
|
281
281
|
if (o === null || typeof o != "object")
|
|
282
282
|
return null;
|
|
283
283
|
var c = V && o[V] || o[G];
|
|
284
284
|
return typeof c == "function" ? c : null;
|
|
285
285
|
}
|
|
286
|
-
var
|
|
286
|
+
var m = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
287
287
|
function g(o) {
|
|
288
288
|
{
|
|
289
289
|
for (var c = arguments.length, i = new Array(c > 1 ? c - 1 : 0), v = 1; v < c; v++)
|
|
290
290
|
i[v - 1] = arguments[v];
|
|
291
|
-
|
|
291
|
+
O("error", o, i);
|
|
292
292
|
}
|
|
293
293
|
}
|
|
294
|
-
function
|
|
294
|
+
function O(o, c, i) {
|
|
295
295
|
{
|
|
296
|
-
var v =
|
|
296
|
+
var v = m.ReactDebugCurrentFrame, x = v.getStackAddendum();
|
|
297
297
|
x !== "" && (c += "%s", i = i.concat([x]));
|
|
298
|
-
var
|
|
298
|
+
var j = i.map(function(p) {
|
|
299
299
|
return String(p);
|
|
300
300
|
});
|
|
301
|
-
|
|
301
|
+
j.unshift("Warning: " + c), Function.prototype.apply.call(console[o], console, j);
|
|
302
302
|
}
|
|
303
303
|
}
|
|
304
|
-
var Y = !1,
|
|
305
|
-
|
|
304
|
+
var Y = !1, R = !1, J = !1, v3 = !1, h3 = !1, E3;
|
|
305
|
+
E3 = Symbol.for("react.module.reference");
|
|
306
306
|
function g1(o) {
|
|
307
|
-
return !!(typeof o == "string" || typeof o == "function" || o === s || o === a ||
|
|
307
|
+
return !!(typeof o == "string" || typeof o == "function" || o === s || o === a || h3 || o === l || o === C || o === S || v3 || o === T || Y || R || J || typeof o == "object" && o !== null && (o.$$typeof === A || o.$$typeof === b || o.$$typeof === u || o.$$typeof === f || o.$$typeof === d || // This needs to include all possible module reference object
|
|
308
308
|
// types supported by any Flight configuration anywhere since
|
|
309
309
|
// we don't know which Flight build this will end up being used
|
|
310
310
|
// with.
|
|
311
|
-
o.$$typeof ===
|
|
311
|
+
o.$$typeof === E3 || o.getModuleId !== void 0));
|
|
312
312
|
}
|
|
313
313
|
function f1(o, c, i) {
|
|
314
314
|
var v = o.displayName;
|
|
@@ -317,10 +317,10 @@ function Z2() {
|
|
|
317
317
|
var x = c.displayName || c.name || "";
|
|
318
318
|
return x !== "" ? i + "(" + x + ")" : i;
|
|
319
319
|
}
|
|
320
|
-
function
|
|
320
|
+
function _3(o) {
|
|
321
321
|
return o.displayName || "Context";
|
|
322
322
|
}
|
|
323
|
-
function
|
|
323
|
+
function P(o) {
|
|
324
324
|
if (o == null)
|
|
325
325
|
return null;
|
|
326
326
|
if (typeof o.tag == "number" && g("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof o == "function")
|
|
@@ -338,26 +338,26 @@ function Z2() {
|
|
|
338
338
|
return "StrictMode";
|
|
339
339
|
case C:
|
|
340
340
|
return "Suspense";
|
|
341
|
-
case
|
|
341
|
+
case S:
|
|
342
342
|
return "SuspenseList";
|
|
343
343
|
}
|
|
344
344
|
if (typeof o == "object")
|
|
345
345
|
switch (o.$$typeof) {
|
|
346
346
|
case f:
|
|
347
347
|
var c = o;
|
|
348
|
-
return
|
|
349
|
-
case d:
|
|
350
|
-
var i = o;
|
|
351
|
-
return E3(i._context) + ".Provider";
|
|
348
|
+
return _3(c) + ".Consumer";
|
|
352
349
|
case u:
|
|
350
|
+
var i = o;
|
|
351
|
+
return _3(i._context) + ".Provider";
|
|
352
|
+
case d:
|
|
353
353
|
return f1(o, o.render, "ForwardRef");
|
|
354
354
|
case b:
|
|
355
355
|
var v = o.displayName || null;
|
|
356
|
-
return v !== null ? v :
|
|
357
|
-
case
|
|
358
|
-
var x = o,
|
|
356
|
+
return v !== null ? v : P(o.type) || "Memo";
|
|
357
|
+
case A: {
|
|
358
|
+
var x = o, j = x._payload, p = x._init;
|
|
359
359
|
try {
|
|
360
|
-
return
|
|
360
|
+
return P(p(j));
|
|
361
361
|
} catch {
|
|
362
362
|
return null;
|
|
363
363
|
}
|
|
@@ -365,14 +365,14 @@ function Z2() {
|
|
|
365
365
|
}
|
|
366
366
|
return null;
|
|
367
367
|
}
|
|
368
|
-
var
|
|
368
|
+
var k = Object.assign, z = 0, L3, $3, A3, B3, T3, D3, P3;
|
|
369
369
|
function O3() {
|
|
370
370
|
}
|
|
371
371
|
O3.__reactDisabledLog = !0;
|
|
372
372
|
function w1() {
|
|
373
373
|
{
|
|
374
|
-
if (
|
|
375
|
-
|
|
374
|
+
if (z === 0) {
|
|
375
|
+
L3 = console.log, $3 = console.info, A3 = console.warn, B3 = console.error, T3 = console.group, D3 = console.groupCollapsed, P3 = console.groupEnd;
|
|
376
376
|
var o = {
|
|
377
377
|
configurable: !0,
|
|
378
378
|
enumerable: !0,
|
|
@@ -389,77 +389,77 @@ function Z2() {
|
|
|
389
389
|
groupEnd: o
|
|
390
390
|
});
|
|
391
391
|
}
|
|
392
|
-
|
|
392
|
+
z++;
|
|
393
393
|
}
|
|
394
394
|
}
|
|
395
395
|
function p1() {
|
|
396
396
|
{
|
|
397
|
-
if (
|
|
397
|
+
if (z--, z === 0) {
|
|
398
398
|
var o = {
|
|
399
399
|
configurable: !0,
|
|
400
400
|
enumerable: !0,
|
|
401
401
|
writable: !0
|
|
402
402
|
};
|
|
403
403
|
Object.defineProperties(console, {
|
|
404
|
-
log:
|
|
405
|
-
value: _3
|
|
406
|
-
}),
|
|
407
|
-
info: F({}, o, {
|
|
404
|
+
log: k({}, o, {
|
|
408
405
|
value: L3
|
|
409
406
|
}),
|
|
410
|
-
|
|
407
|
+
info: k({}, o, {
|
|
411
408
|
value: $3
|
|
412
409
|
}),
|
|
413
|
-
|
|
414
|
-
value: T3
|
|
415
|
-
}),
|
|
416
|
-
group: F({}, o, {
|
|
410
|
+
warn: k({}, o, {
|
|
417
411
|
value: A3
|
|
418
412
|
}),
|
|
419
|
-
|
|
413
|
+
error: k({}, o, {
|
|
420
414
|
value: B3
|
|
421
415
|
}),
|
|
422
|
-
|
|
416
|
+
group: k({}, o, {
|
|
417
|
+
value: T3
|
|
418
|
+
}),
|
|
419
|
+
groupCollapsed: k({}, o, {
|
|
423
420
|
value: D3
|
|
421
|
+
}),
|
|
422
|
+
groupEnd: k({}, o, {
|
|
423
|
+
value: P3
|
|
424
424
|
})
|
|
425
425
|
});
|
|
426
426
|
}
|
|
427
|
-
|
|
427
|
+
z < 0 && g("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
428
428
|
}
|
|
429
429
|
}
|
|
430
|
-
var
|
|
431
|
-
function
|
|
430
|
+
var g3 = m.ReactCurrentDispatcher, f3;
|
|
431
|
+
function s3(o, c, i) {
|
|
432
432
|
{
|
|
433
|
-
if (
|
|
433
|
+
if (f3 === void 0)
|
|
434
434
|
try {
|
|
435
435
|
throw Error();
|
|
436
436
|
} catch (x) {
|
|
437
437
|
var v = x.stack.trim().match(/\n( *(at )?)/);
|
|
438
|
-
|
|
438
|
+
f3 = v && v[1] || "";
|
|
439
439
|
}
|
|
440
440
|
return `
|
|
441
|
-
` +
|
|
441
|
+
` + f3 + o;
|
|
442
442
|
}
|
|
443
443
|
}
|
|
444
|
-
var
|
|
444
|
+
var w3 = !1, c3;
|
|
445
445
|
{
|
|
446
446
|
var x1 = typeof WeakMap == "function" ? WeakMap : Map;
|
|
447
|
-
|
|
447
|
+
c3 = new x1();
|
|
448
448
|
}
|
|
449
|
-
function
|
|
450
|
-
if (!o ||
|
|
449
|
+
function V3(o, c) {
|
|
450
|
+
if (!o || w3)
|
|
451
451
|
return "";
|
|
452
452
|
{
|
|
453
|
-
var i =
|
|
453
|
+
var i = c3.get(o);
|
|
454
454
|
if (i !== void 0)
|
|
455
455
|
return i;
|
|
456
456
|
}
|
|
457
457
|
var v;
|
|
458
|
-
|
|
458
|
+
w3 = !0;
|
|
459
459
|
var x = Error.prepareStackTrace;
|
|
460
460
|
Error.prepareStackTrace = void 0;
|
|
461
|
-
var
|
|
462
|
-
|
|
461
|
+
var j;
|
|
462
|
+
j = g3.current, g3.current = null, w1();
|
|
463
463
|
try {
|
|
464
464
|
if (c) {
|
|
465
465
|
var p = function() {
|
|
@@ -472,29 +472,29 @@ function Z2() {
|
|
|
472
472
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
473
473
|
try {
|
|
474
474
|
Reflect.construct(p, []);
|
|
475
|
-
} catch (
|
|
476
|
-
v =
|
|
475
|
+
} catch (B) {
|
|
476
|
+
v = B;
|
|
477
477
|
}
|
|
478
478
|
Reflect.construct(o, [], p);
|
|
479
479
|
} else {
|
|
480
480
|
try {
|
|
481
481
|
p.call();
|
|
482
|
-
} catch (
|
|
483
|
-
v =
|
|
482
|
+
} catch (B) {
|
|
483
|
+
v = B;
|
|
484
484
|
}
|
|
485
485
|
o.call(p.prototype);
|
|
486
486
|
}
|
|
487
487
|
} else {
|
|
488
488
|
try {
|
|
489
489
|
throw Error();
|
|
490
|
-
} catch (
|
|
491
|
-
v =
|
|
490
|
+
} catch (B) {
|
|
491
|
+
v = B;
|
|
492
492
|
}
|
|
493
493
|
o();
|
|
494
494
|
}
|
|
495
|
-
} catch (
|
|
496
|
-
if (
|
|
497
|
-
for (var w =
|
|
495
|
+
} catch (B) {
|
|
496
|
+
if (B && v && typeof B.stack == "string") {
|
|
497
|
+
for (var w = B.stack.split(`
|
|
498
498
|
`), L = v.stack.split(`
|
|
499
499
|
`), I = w.length - 1, y = L.length - 1; I >= 1 && y >= 0 && w[I] !== L[y]; )
|
|
500
500
|
y--;
|
|
@@ -505,67 +505,67 @@ function Z2() {
|
|
|
505
505
|
if (I--, y--, y < 0 || w[I] !== L[y]) {
|
|
506
506
|
var D = `
|
|
507
507
|
` + w[I].replace(" at new ", " at ");
|
|
508
|
-
return o.displayName && D.includes("<anonymous>") && (D = D.replace("<anonymous>", o.displayName)), typeof o == "function" &&
|
|
508
|
+
return o.displayName && D.includes("<anonymous>") && (D = D.replace("<anonymous>", o.displayName)), typeof o == "function" && c3.set(o, D), D;
|
|
509
509
|
}
|
|
510
510
|
while (I >= 1 && y >= 0);
|
|
511
511
|
break;
|
|
512
512
|
}
|
|
513
513
|
}
|
|
514
514
|
} finally {
|
|
515
|
-
|
|
515
|
+
w3 = !1, g3.current = j, p1(), Error.prepareStackTrace = x;
|
|
516
516
|
}
|
|
517
|
-
var H = o ? o.displayName || o.name : "", W = H ?
|
|
518
|
-
return typeof o == "function" &&
|
|
517
|
+
var H = o ? o.displayName || o.name : "", W = H ? s3(H) : "";
|
|
518
|
+
return typeof o == "function" && c3.set(o, W), W;
|
|
519
519
|
}
|
|
520
520
|
function M1(o, c, i) {
|
|
521
|
-
return
|
|
521
|
+
return V3(o, !1);
|
|
522
522
|
}
|
|
523
523
|
function m1(o) {
|
|
524
524
|
var c = o.prototype;
|
|
525
525
|
return !!(c && c.isReactComponent);
|
|
526
526
|
}
|
|
527
|
-
function
|
|
527
|
+
function l3(o, c, i) {
|
|
528
528
|
if (o == null)
|
|
529
529
|
return "";
|
|
530
530
|
if (typeof o == "function")
|
|
531
|
-
return
|
|
531
|
+
return V3(o, m1(o));
|
|
532
532
|
if (typeof o == "string")
|
|
533
|
-
return
|
|
533
|
+
return s3(o);
|
|
534
534
|
switch (o) {
|
|
535
535
|
case C:
|
|
536
|
-
return
|
|
537
|
-
case
|
|
538
|
-
return
|
|
536
|
+
return s3("Suspense");
|
|
537
|
+
case S:
|
|
538
|
+
return s3("SuspenseList");
|
|
539
539
|
}
|
|
540
540
|
if (typeof o == "object")
|
|
541
541
|
switch (o.$$typeof) {
|
|
542
|
-
case
|
|
542
|
+
case d:
|
|
543
543
|
return M1(o.render);
|
|
544
544
|
case b:
|
|
545
|
-
return
|
|
546
|
-
case
|
|
547
|
-
var v = o, x = v._payload,
|
|
545
|
+
return l3(o.type, c, i);
|
|
546
|
+
case A: {
|
|
547
|
+
var v = o, x = v._payload, j = v._init;
|
|
548
548
|
try {
|
|
549
|
-
return
|
|
549
|
+
return l3(j(x), c, i);
|
|
550
550
|
} catch {
|
|
551
551
|
}
|
|
552
552
|
}
|
|
553
553
|
}
|
|
554
554
|
return "";
|
|
555
555
|
}
|
|
556
|
-
var
|
|
557
|
-
function
|
|
556
|
+
var X = Object.prototype.hasOwnProperty, F3 = {}, k3 = m.ReactDebugCurrentFrame;
|
|
557
|
+
function i3(o) {
|
|
558
558
|
if (o) {
|
|
559
|
-
var c = o._owner, i =
|
|
559
|
+
var c = o._owner, i = l3(o.type, o._source, c ? c.type : null);
|
|
560
560
|
k3.setExtraStackFrame(i);
|
|
561
561
|
} else
|
|
562
562
|
k3.setExtraStackFrame(null);
|
|
563
563
|
}
|
|
564
564
|
function Z1(o, c, i, v, x) {
|
|
565
565
|
{
|
|
566
|
-
var
|
|
566
|
+
var j = Function.call.bind(X);
|
|
567
567
|
for (var p in o)
|
|
568
|
-
if (
|
|
568
|
+
if (j(o, p)) {
|
|
569
569
|
var w = void 0;
|
|
570
570
|
try {
|
|
571
571
|
if (typeof o[p] != "function") {
|
|
@@ -576,43 +576,43 @@ function Z2() {
|
|
|
576
576
|
} catch (I) {
|
|
577
577
|
w = I;
|
|
578
578
|
}
|
|
579
|
-
w && !(w instanceof Error) && (
|
|
579
|
+
w && !(w instanceof Error) && (i3(x), g("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", v || "React class", i, p, typeof w), i3(null)), w instanceof Error && !(w.message in F3) && (F3[w.message] = !0, i3(x), g("Failed %s type: %s", i, w.message), i3(null));
|
|
580
580
|
}
|
|
581
581
|
}
|
|
582
582
|
}
|
|
583
583
|
var j1 = Array.isArray;
|
|
584
|
-
function
|
|
584
|
+
function p3(o) {
|
|
585
585
|
return j1(o);
|
|
586
586
|
}
|
|
587
|
-
function
|
|
587
|
+
function S1(o) {
|
|
588
588
|
{
|
|
589
589
|
var c = typeof Symbol == "function" && Symbol.toStringTag, i = c && o[Symbol.toStringTag] || o.constructor.name || "Object";
|
|
590
590
|
return i;
|
|
591
591
|
}
|
|
592
592
|
}
|
|
593
|
-
function
|
|
593
|
+
function C1(o) {
|
|
594
594
|
try {
|
|
595
|
-
return
|
|
595
|
+
return W3(o), !1;
|
|
596
596
|
} catch {
|
|
597
597
|
return !0;
|
|
598
598
|
}
|
|
599
599
|
}
|
|
600
|
-
function
|
|
600
|
+
function W3(o) {
|
|
601
601
|
return "" + o;
|
|
602
602
|
}
|
|
603
|
-
function
|
|
604
|
-
if (
|
|
605
|
-
return g("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
603
|
+
function U3(o) {
|
|
604
|
+
if (C1(o))
|
|
605
|
+
return g("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", S1(o)), W3(o);
|
|
606
606
|
}
|
|
607
|
-
var
|
|
607
|
+
var Q = m.ReactCurrentOwner, b1 = {
|
|
608
608
|
key: !0,
|
|
609
609
|
ref: !0,
|
|
610
610
|
__self: !0,
|
|
611
611
|
__source: !0
|
|
612
|
-
},
|
|
613
|
-
|
|
612
|
+
}, H3, K3, x3;
|
|
613
|
+
x3 = {};
|
|
614
614
|
function I1(o) {
|
|
615
|
-
if (
|
|
615
|
+
if (X.call(o, "ref")) {
|
|
616
616
|
var c = Object.getOwnPropertyDescriptor(o, "ref").get;
|
|
617
617
|
if (c && c.isReactWarning)
|
|
618
618
|
return !1;
|
|
@@ -620,7 +620,7 @@ function Z2() {
|
|
|
620
620
|
return o.ref !== void 0;
|
|
621
621
|
}
|
|
622
622
|
function y1(o) {
|
|
623
|
-
if (
|
|
623
|
+
if (X.call(o, "key")) {
|
|
624
624
|
var c = Object.getOwnPropertyDescriptor(o, "key").get;
|
|
625
625
|
if (c && c.isReactWarning)
|
|
626
626
|
return !1;
|
|
@@ -628,15 +628,15 @@ function Z2() {
|
|
|
628
628
|
return o.key !== void 0;
|
|
629
629
|
}
|
|
630
630
|
function R1(o, c) {
|
|
631
|
-
if (typeof o.ref == "string" &&
|
|
632
|
-
var i =
|
|
633
|
-
|
|
631
|
+
if (typeof o.ref == "string" && Q.current && c && Q.current.stateNode !== c) {
|
|
632
|
+
var i = P(Q.current.type);
|
|
633
|
+
x3[i] || (g('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', P(Q.current.type), o.ref), x3[i] = !0);
|
|
634
634
|
}
|
|
635
635
|
}
|
|
636
636
|
function E1(o, c) {
|
|
637
637
|
{
|
|
638
638
|
var i = function() {
|
|
639
|
-
|
|
639
|
+
H3 || (H3 = !0, g("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", c));
|
|
640
640
|
};
|
|
641
641
|
i.isReactWarning = !0, Object.defineProperty(o, "key", {
|
|
642
642
|
get: i,
|
|
@@ -647,7 +647,7 @@ function Z2() {
|
|
|
647
647
|
function _1(o, c) {
|
|
648
648
|
{
|
|
649
649
|
var i = function() {
|
|
650
|
-
|
|
650
|
+
K3 || (K3 = !0, g("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", c));
|
|
651
651
|
};
|
|
652
652
|
i.isReactWarning = !0, Object.defineProperty(o, "ref", {
|
|
653
653
|
get: i,
|
|
@@ -655,7 +655,7 @@ function Z2() {
|
|
|
655
655
|
});
|
|
656
656
|
}
|
|
657
657
|
}
|
|
658
|
-
var L1 = function(o, c, i, v, x,
|
|
658
|
+
var L1 = function(o, c, i, v, x, j, p) {
|
|
659
659
|
var w = {
|
|
660
660
|
// This tag allows us to uniquely identify this as a React Element
|
|
661
661
|
$$typeof: e,
|
|
@@ -665,7 +665,7 @@ function Z2() {
|
|
|
665
665
|
ref: i,
|
|
666
666
|
props: p,
|
|
667
667
|
// Record the component responsible for creating this element.
|
|
668
|
-
_owner:
|
|
668
|
+
_owner: j
|
|
669
669
|
};
|
|
670
670
|
return w._store = {}, Object.defineProperty(w._store, "validated", {
|
|
671
671
|
configurable: !1,
|
|
@@ -686,39 +686,39 @@ function Z2() {
|
|
|
686
686
|
};
|
|
687
687
|
function $1(o, c, i, v, x) {
|
|
688
688
|
{
|
|
689
|
-
var
|
|
690
|
-
i !== void 0 && (
|
|
691
|
-
for (
|
|
692
|
-
|
|
689
|
+
var j, p = {}, w = null, L = null;
|
|
690
|
+
i !== void 0 && (U3(i), w = "" + i), y1(c) && (U3(c.key), w = "" + c.key), I1(c) && (L = c.ref, R1(c, x));
|
|
691
|
+
for (j in c)
|
|
692
|
+
X.call(c, j) && !b1.hasOwnProperty(j) && (p[j] = c[j]);
|
|
693
693
|
if (o && o.defaultProps) {
|
|
694
694
|
var I = o.defaultProps;
|
|
695
|
-
for (
|
|
696
|
-
p[
|
|
695
|
+
for (j in I)
|
|
696
|
+
p[j] === void 0 && (p[j] = I[j]);
|
|
697
697
|
}
|
|
698
698
|
if (w || L) {
|
|
699
699
|
var y = typeof o == "function" ? o.displayName || o.name || "Unknown" : o;
|
|
700
700
|
w && E1(p, y), L && _1(p, y);
|
|
701
701
|
}
|
|
702
|
-
return L1(o, w, L, x, v,
|
|
702
|
+
return L1(o, w, L, x, v, Q.current, p);
|
|
703
703
|
}
|
|
704
704
|
}
|
|
705
|
-
var
|
|
705
|
+
var M3 = m.ReactCurrentOwner, G3 = m.ReactDebugCurrentFrame;
|
|
706
706
|
function U(o) {
|
|
707
707
|
if (o) {
|
|
708
|
-
var c = o._owner, i =
|
|
709
|
-
|
|
708
|
+
var c = o._owner, i = l3(o.type, o._source, c ? c.type : null);
|
|
709
|
+
G3.setExtraStackFrame(i);
|
|
710
710
|
} else
|
|
711
|
-
|
|
711
|
+
G3.setExtraStackFrame(null);
|
|
712
712
|
}
|
|
713
|
-
var
|
|
714
|
-
|
|
715
|
-
function
|
|
713
|
+
var m3;
|
|
714
|
+
m3 = !1;
|
|
715
|
+
function Z3(o) {
|
|
716
716
|
return typeof o == "object" && o !== null && o.$$typeof === e;
|
|
717
717
|
}
|
|
718
|
-
function
|
|
718
|
+
function q3() {
|
|
719
719
|
{
|
|
720
|
-
if (
|
|
721
|
-
var o =
|
|
720
|
+
if (M3.current) {
|
|
721
|
+
var o = P(M3.current.type);
|
|
722
722
|
if (o)
|
|
723
723
|
return `
|
|
724
724
|
|
|
@@ -727,7 +727,7 @@ Check the render method of \`` + o + "`.";
|
|
|
727
727
|
return "";
|
|
728
728
|
}
|
|
729
729
|
}
|
|
730
|
-
function
|
|
730
|
+
function A1(o) {
|
|
731
731
|
{
|
|
732
732
|
if (o !== void 0) {
|
|
733
733
|
var c = o.fileName.replace(/^.*[\\\/]/, ""), i = o.lineNumber;
|
|
@@ -738,10 +738,10 @@ Check your code at ` + c + ":" + i + ".";
|
|
|
738
738
|
return "";
|
|
739
739
|
}
|
|
740
740
|
}
|
|
741
|
-
var
|
|
742
|
-
function
|
|
741
|
+
var Y3 = {};
|
|
742
|
+
function B1(o) {
|
|
743
743
|
{
|
|
744
|
-
var c =
|
|
744
|
+
var c = q3();
|
|
745
745
|
if (!c) {
|
|
746
746
|
var i = typeof o == "string" ? o : o.displayName || o.name;
|
|
747
747
|
i && (c = `
|
|
@@ -751,39 +751,39 @@ Check the top-level render call using <` + i + ">.");
|
|
|
751
751
|
return c;
|
|
752
752
|
}
|
|
753
753
|
}
|
|
754
|
-
function
|
|
754
|
+
function J3(o, c) {
|
|
755
755
|
{
|
|
756
756
|
if (!o._store || o._store.validated || o.key != null)
|
|
757
757
|
return;
|
|
758
758
|
o._store.validated = !0;
|
|
759
|
-
var i =
|
|
760
|
-
if (
|
|
759
|
+
var i = B1(c);
|
|
760
|
+
if (Y3[i])
|
|
761
761
|
return;
|
|
762
|
-
|
|
762
|
+
Y3[i] = !0;
|
|
763
763
|
var v = "";
|
|
764
|
-
o && o._owner && o._owner !==
|
|
764
|
+
o && o._owner && o._owner !== M3.current && (v = " It was passed a child from " + P(o._owner.type) + "."), U(o), g('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', i, v), U(null);
|
|
765
765
|
}
|
|
766
766
|
}
|
|
767
|
-
function
|
|
767
|
+
function z3(o, c) {
|
|
768
768
|
{
|
|
769
769
|
if (typeof o != "object")
|
|
770
770
|
return;
|
|
771
|
-
if (
|
|
771
|
+
if (p3(o))
|
|
772
772
|
for (var i = 0; i < o.length; i++) {
|
|
773
773
|
var v = o[i];
|
|
774
|
-
|
|
774
|
+
Z3(v) && J3(v, c);
|
|
775
775
|
}
|
|
776
|
-
else if (
|
|
776
|
+
else if (Z3(o))
|
|
777
777
|
o._store && (o._store.validated = !0);
|
|
778
778
|
else if (o) {
|
|
779
779
|
var x = q(o);
|
|
780
780
|
if (typeof x == "function" && x !== o.entries)
|
|
781
|
-
for (var
|
|
782
|
-
|
|
781
|
+
for (var j = x.call(o), p; !(p = j.next()).done; )
|
|
782
|
+
Z3(p.value) && J3(p.value, c);
|
|
783
783
|
}
|
|
784
784
|
}
|
|
785
785
|
}
|
|
786
|
-
function
|
|
786
|
+
function T1(o) {
|
|
787
787
|
{
|
|
788
788
|
var c = o.type;
|
|
789
789
|
if (c == null || typeof c == "string")
|
|
@@ -791,18 +791,18 @@ Check the top-level render call using <` + i + ">.");
|
|
|
791
791
|
var i;
|
|
792
792
|
if (typeof c == "function")
|
|
793
793
|
i = c.propTypes;
|
|
794
|
-
else if (typeof c == "object" && (c.$$typeof ===
|
|
794
|
+
else if (typeof c == "object" && (c.$$typeof === d || // Note: Memo only checks outer props here.
|
|
795
795
|
// Inner props are checked in the reconciler.
|
|
796
796
|
c.$$typeof === b))
|
|
797
797
|
i = c.propTypes;
|
|
798
798
|
else
|
|
799
799
|
return;
|
|
800
800
|
if (i) {
|
|
801
|
-
var v =
|
|
801
|
+
var v = P(c);
|
|
802
802
|
Z1(i, o.props, "prop", v, o);
|
|
803
|
-
} else if (c.PropTypes !== void 0 && !
|
|
804
|
-
|
|
805
|
-
var x =
|
|
803
|
+
} else if (c.PropTypes !== void 0 && !m3) {
|
|
804
|
+
m3 = !0;
|
|
805
|
+
var x = P(c);
|
|
806
806
|
g("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", x || "Unknown");
|
|
807
807
|
}
|
|
808
808
|
typeof c.getDefaultProps == "function" && !c.getDefaultProps.isReactClassApproved && g("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
@@ -820,62 +820,62 @@ Check the top-level render call using <` + i + ">.");
|
|
|
820
820
|
o.ref !== null && (U(o), g("Invalid attribute `ref` supplied to `React.Fragment`."), U(null));
|
|
821
821
|
}
|
|
822
822
|
}
|
|
823
|
-
var
|
|
824
|
-
function
|
|
823
|
+
var X3 = {};
|
|
824
|
+
function Q3(o, c, i, v, x, j) {
|
|
825
825
|
{
|
|
826
826
|
var p = g1(o);
|
|
827
827
|
if (!p) {
|
|
828
828
|
var w = "";
|
|
829
829
|
(o === void 0 || typeof o == "object" && o !== null && Object.keys(o).length === 0) && (w += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
830
|
-
var L =
|
|
831
|
-
L ? w += L : w +=
|
|
830
|
+
var L = A1(x);
|
|
831
|
+
L ? w += L : w += q3();
|
|
832
832
|
var I;
|
|
833
|
-
o === null ? I = "null" :
|
|
833
|
+
o === null ? I = "null" : p3(o) ? I = "array" : o !== void 0 && o.$$typeof === e ? (I = "<" + (P(o.type) || "Unknown") + " />", w = " Did you accidentally export a JSX literal instead of a component?") : I = typeof o, g("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", I, w);
|
|
834
834
|
}
|
|
835
|
-
var y = $1(o, c, i, x,
|
|
835
|
+
var y = $1(o, c, i, x, j);
|
|
836
836
|
if (y == null)
|
|
837
837
|
return y;
|
|
838
838
|
if (p) {
|
|
839
839
|
var D = c.children;
|
|
840
840
|
if (D !== void 0)
|
|
841
841
|
if (v)
|
|
842
|
-
if (
|
|
842
|
+
if (p3(D)) {
|
|
843
843
|
for (var H = 0; H < D.length; H++)
|
|
844
|
-
|
|
844
|
+
z3(D[H], o);
|
|
845
845
|
Object.freeze && Object.freeze(D);
|
|
846
846
|
} else
|
|
847
847
|
g("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
848
848
|
else
|
|
849
|
-
|
|
849
|
+
z3(D, o);
|
|
850
850
|
}
|
|
851
|
-
if (
|
|
852
|
-
var W =
|
|
851
|
+
if (X.call(c, "key")) {
|
|
852
|
+
var W = P(o), B = Object.keys(c).filter(function(W1) {
|
|
853
853
|
return W1 !== "key";
|
|
854
|
-
}),
|
|
855
|
-
if (!
|
|
856
|
-
var
|
|
854
|
+
}), j3 = B.length > 0 ? "{key: someKey, " + B.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
855
|
+
if (!X3[W + j3]) {
|
|
856
|
+
var k1 = B.length > 0 ? "{" + B.join(": ..., ") + ": ...}" : "{}";
|
|
857
857
|
g(`A props object containing a "key" prop is being spread into JSX:
|
|
858
858
|
let props = %s;
|
|
859
859
|
<%s {...props} />
|
|
860
860
|
React keys must be passed directly to JSX without using spread:
|
|
861
861
|
let props = %s;
|
|
862
|
-
<%s key={someKey} {...props} />`,
|
|
862
|
+
<%s key={someKey} {...props} />`, j3, W, k1, W), X3[W + j3] = !0;
|
|
863
863
|
}
|
|
864
864
|
}
|
|
865
|
-
return o === s ? D1(y) :
|
|
865
|
+
return o === s ? D1(y) : T1(y), y;
|
|
866
866
|
}
|
|
867
867
|
}
|
|
868
|
-
function O1(o, c, i) {
|
|
869
|
-
return X3(o, c, i, !0);
|
|
870
|
-
}
|
|
871
868
|
function P1(o, c, i) {
|
|
872
|
-
return
|
|
869
|
+
return Q3(o, c, i, !0);
|
|
873
870
|
}
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
871
|
+
function O1(o, c, i) {
|
|
872
|
+
return Q3(o, c, i, !1);
|
|
873
|
+
}
|
|
874
|
+
var V1 = O1, F1 = P1;
|
|
875
|
+
N.Fragment = s, N.jsx = V1, N.jsxs = F1;
|
|
876
|
+
}()), N;
|
|
877
877
|
}
|
|
878
|
-
var
|
|
878
|
+
var e3 = {};
|
|
879
879
|
/**
|
|
880
880
|
* @license React
|
|
881
881
|
* react-jsx-runtime.production.min.js
|
|
@@ -885,39 +885,39 @@ var N = {};
|
|
|
885
885
|
* This source code is licensed under the MIT license found in the
|
|
886
886
|
* LICENSE file in the root directory of this source tree.
|
|
887
887
|
*/
|
|
888
|
-
var
|
|
888
|
+
var e1;
|
|
889
889
|
function j2() {
|
|
890
|
-
if (
|
|
891
|
-
return
|
|
892
|
-
|
|
893
|
-
var t =
|
|
894
|
-
function
|
|
895
|
-
var
|
|
896
|
-
C !== void 0 && (
|
|
897
|
-
for (
|
|
898
|
-
s.call(
|
|
890
|
+
if (e1)
|
|
891
|
+
return e3;
|
|
892
|
+
e1 = 1;
|
|
893
|
+
var t = o1, e = Symbol.for("react.element"), r = Symbol.for("react.fragment"), s = Object.prototype.hasOwnProperty, l = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, a = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
894
|
+
function u(f, d, C) {
|
|
895
|
+
var S, b = {}, A = null, T = null;
|
|
896
|
+
C !== void 0 && (A = "" + C), d.key !== void 0 && (A = "" + d.key), d.ref !== void 0 && (T = d.ref);
|
|
897
|
+
for (S in d)
|
|
898
|
+
s.call(d, S) && !a.hasOwnProperty(S) && (b[S] = d[S]);
|
|
899
899
|
if (f && f.defaultProps)
|
|
900
|
-
for (
|
|
901
|
-
b[
|
|
902
|
-
return { $$typeof: e, type: f, key:
|
|
900
|
+
for (S in d = f.defaultProps, d)
|
|
901
|
+
b[S] === void 0 && (b[S] = d[S]);
|
|
902
|
+
return { $$typeof: e, type: f, key: A, ref: T, props: b, _owner: l.current };
|
|
903
903
|
}
|
|
904
|
-
return
|
|
904
|
+
return e3.Fragment = r, e3.jsx = u, e3.jsxs = u, e3;
|
|
905
905
|
}
|
|
906
|
-
process.env.NODE_ENV === "production" ?
|
|
907
|
-
var n =
|
|
908
|
-
const
|
|
906
|
+
process.env.NODE_ENV === "production" ? I3.exports = j2() : I3.exports = Z2();
|
|
907
|
+
var n = I3.exports;
|
|
908
|
+
const S2 = () => /* @__PURE__ */ n.jsx(n.Fragment, { children: /* @__PURE__ */ n.jsxs("div", { className: "disconnected-message", children: [
|
|
909
909
|
/* @__PURE__ */ n.jsx("h1", { children: "Disconnected" }),
|
|
910
910
|
/* @__PURE__ */ n.jsx("p", { children: "Reconnecting..." })
|
|
911
911
|
] }) });
|
|
912
|
-
class
|
|
912
|
+
class C2 {
|
|
913
913
|
constructor() {
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
914
|
+
_(this, "uuid", "current-uuid");
|
|
915
|
+
_(this, "roomKey", "current-room-key");
|
|
916
|
+
_(this, "code", "current-code");
|
|
917
|
+
_(this, "expiry", "current-uuid-expires");
|
|
918
918
|
}
|
|
919
919
|
}
|
|
920
|
-
const
|
|
920
|
+
const t1 = new C2(), d1 = X1({
|
|
921
921
|
sendMessage: () => null,
|
|
922
922
|
sendSimpleMessage: () => null,
|
|
923
923
|
addEventHandler: () => null,
|
|
@@ -930,97 +930,95 @@ function I2(t, e) {
|
|
|
930
930
|
sessionStorage.setItem(t, e);
|
|
931
931
|
}
|
|
932
932
|
const y2 = ({ children: t }) => {
|
|
933
|
-
const [e, r] =
|
|
934
|
-
async (
|
|
935
|
-
await
|
|
936
|
-
g.status === 200 && g.data &&
|
|
933
|
+
const [e, r] = d3(), s = w2(), l = p2(), a = x2(), u = m2(), f = h2(), d = r3(null), [C, S] = d3(), b = r3({}), A = a3(
|
|
934
|
+
async (m) => {
|
|
935
|
+
await b3.get(`${m}/ui/joinroom?token=${e}`).then((g) => {
|
|
936
|
+
g.status === 200 && g.data && F.dispatch(K.setRoomData(g.data));
|
|
937
937
|
}).catch((g) => {
|
|
938
938
|
console.log(g);
|
|
939
939
|
});
|
|
940
940
|
},
|
|
941
941
|
[e]
|
|
942
|
-
),
|
|
943
|
-
(
|
|
944
|
-
|
|
942
|
+
), T = a3(
|
|
943
|
+
(m, g) => {
|
|
944
|
+
d.current && s && d.current.send(JSON.stringify({ type: m, clientId: a, content: g }));
|
|
945
945
|
},
|
|
946
946
|
[s, a]
|
|
947
|
-
), V = (
|
|
948
|
-
|
|
949
|
-
}, G =
|
|
950
|
-
(
|
|
951
|
-
b.current[
|
|
947
|
+
), V = (m, g) => {
|
|
948
|
+
T(m, { value: g });
|
|
949
|
+
}, G = a3(
|
|
950
|
+
(m, g, O) => {
|
|
951
|
+
b.current[m] || (b.current[m] = {}), b.current[m][g] = O, console.log("event handler added", m, g);
|
|
952
952
|
},
|
|
953
953
|
[]
|
|
954
|
-
), q =
|
|
955
|
-
(
|
|
956
|
-
b.current[
|
|
954
|
+
), q = a3(
|
|
955
|
+
(m, g) => {
|
|
956
|
+
b.current[m] && (delete b.current[m][g], console.log("event handler removed", m, g));
|
|
957
957
|
},
|
|
958
958
|
[]
|
|
959
959
|
);
|
|
960
|
-
return
|
|
960
|
+
return n3(() => {
|
|
961
961
|
let g = new URLSearchParams(window.location.search).get("token");
|
|
962
|
-
g ? (console.log("saving token: ", g), I2(
|
|
963
|
-
}, []),
|
|
962
|
+
g ? (console.log("saving token: ", g), I2(t1.uuid, g)) : (g = b2(t1.uuid), console.log("loading token: ", g)), r(g), u();
|
|
963
|
+
}, []), n3(() => {
|
|
964
964
|
if (!(!f.apiPath || C || !e)) {
|
|
965
|
-
if (
|
|
966
|
-
const g = `${f.apiPath.replace("http", "ws")}/ui/join/${e}`,
|
|
967
|
-
|
|
968
|
-
console.log("connected"),
|
|
969
|
-
},
|
|
965
|
+
if (A(f.apiPath), !d.current) {
|
|
966
|
+
const g = `${f.apiPath.replace("http", "ws")}/ui/join/${e}`, O = new WebSocket(g);
|
|
967
|
+
d.current = O, O.onopen = () => {
|
|
968
|
+
console.log("connected"), F.dispatch(K.setWebsocketIsConnected(!0));
|
|
969
|
+
}, O.onerror = (Y) => {
|
|
970
970
|
console.log(Y);
|
|
971
|
-
},
|
|
972
|
-
if (console.log("disconnected"),
|
|
971
|
+
}, O.onclose = () => {
|
|
972
|
+
if (console.log("disconnected"), d.current)
|
|
973
973
|
console.log("WebSocket closed by server.");
|
|
974
974
|
else {
|
|
975
975
|
console.log("WebSocket closed by client.");
|
|
976
976
|
return;
|
|
977
977
|
}
|
|
978
|
-
C || (
|
|
979
|
-
},
|
|
978
|
+
C || (F.dispatch(K.setWebsocketIsConnected(!1)), S(!0), setTimeout(() => S(void 0), 5e3));
|
|
979
|
+
}, O.onmessage = (Y) => {
|
|
980
980
|
try {
|
|
981
|
-
const
|
|
982
|
-
if (console.log(
|
|
983
|
-
switch (
|
|
981
|
+
const R = JSON.parse(Y.data);
|
|
982
|
+
if (console.log(R), R.type.startsWith("/system/"))
|
|
983
|
+
switch (R.type) {
|
|
984
984
|
case "/system/roomKey":
|
|
985
|
-
|
|
985
|
+
F.dispatch(
|
|
986
986
|
K.setCurrentRoomKey(
|
|
987
|
-
|
|
987
|
+
R.content
|
|
988
988
|
)
|
|
989
989
|
);
|
|
990
990
|
break;
|
|
991
991
|
case "/system/userCodeChanged":
|
|
992
|
-
|
|
993
|
-
K.setUserCode(
|
|
992
|
+
F.dispatch(
|
|
993
|
+
K.setUserCode(R.content)
|
|
994
994
|
);
|
|
995
995
|
break;
|
|
996
996
|
}
|
|
997
|
-
else if (
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
const s3 = b.current[o3];
|
|
1002
|
-
s3 && Object.values(s3).forEach((g3) => {
|
|
997
|
+
else if (R.type.startsWith("/event/")) {
|
|
998
|
+
console.log("event message received", R);
|
|
999
|
+
const J = b.current[R.type];
|
|
1000
|
+
J || console.log("no handlers found for event type", R.type), J && Object.values(J).forEach((v3) => {
|
|
1003
1001
|
try {
|
|
1004
|
-
|
|
1005
|
-
} catch (
|
|
1006
|
-
console.error(
|
|
1002
|
+
v3(R);
|
|
1003
|
+
} catch (h3) {
|
|
1004
|
+
console.error(h3);
|
|
1007
1005
|
}
|
|
1008
1006
|
});
|
|
1009
1007
|
} else
|
|
1010
|
-
|
|
1011
|
-
} catch (
|
|
1012
|
-
console.log(
|
|
1008
|
+
R.type.startsWith("/room/") ? F.dispatch(c2.setRoomState(R)) : R.type.startsWith("/device/") && F.dispatch(r2.setDeviceState(R));
|
|
1009
|
+
} catch (R) {
|
|
1010
|
+
console.log(R);
|
|
1013
1011
|
}
|
|
1014
1012
|
};
|
|
1015
1013
|
}
|
|
1016
1014
|
return () => {
|
|
1017
|
-
|
|
1015
|
+
d.current && d.current.close(), d.current = null;
|
|
1018
1016
|
};
|
|
1019
1017
|
}
|
|
1020
|
-
}, [f.apiPath,
|
|
1021
|
-
l &&
|
|
1022
|
-
}, [l,
|
|
1023
|
-
}, Q8 = ({ children: t }) => /* @__PURE__ */ n.jsx(z1, { store:
|
|
1018
|
+
}, [f.apiPath, A, e, C]), n3(() => {
|
|
1019
|
+
l && T(`/room/${l}/status`, null);
|
|
1020
|
+
}, [l, T]), /* @__PURE__ */ n.jsx(d1.Provider, { value: { sendMessage: T, sendSimpleMessage: V, addEventHandler: G, removeEventHandler: q }, children: s ? t : /* @__PURE__ */ n.jsx(S2, {}) });
|
|
1021
|
+
}, Q8 = ({ children: t }) => /* @__PURE__ */ n.jsx(z1, { store: F, children: /* @__PURE__ */ n.jsx(y2, { children: t }) });
|
|
1024
1022
|
function E() {
|
|
1025
1023
|
return Q1(d1);
|
|
1026
1024
|
}
|
|
@@ -1030,8 +1028,8 @@ function R2({
|
|
|
1030
1028
|
onHold: r,
|
|
1031
1029
|
holdTimeMs: s = 500
|
|
1032
1030
|
}) {
|
|
1033
|
-
const l =
|
|
1034
|
-
function
|
|
1031
|
+
const l = r3(null), a = r3(!1);
|
|
1032
|
+
function u() {
|
|
1035
1033
|
a.current = !0, t == null || t(), l.current = setTimeout(() => {
|
|
1036
1034
|
r == null || r(), l.current = null;
|
|
1037
1035
|
}, s);
|
|
@@ -1039,26 +1037,26 @@ function R2({
|
|
|
1039
1037
|
function f() {
|
|
1040
1038
|
a.current = !1, e == null || e(), l.current && (clearTimeout(l.current), l.current = null);
|
|
1041
1039
|
}
|
|
1042
|
-
function
|
|
1040
|
+
function d() {
|
|
1043
1041
|
a.current && f();
|
|
1044
1042
|
}
|
|
1045
1043
|
return {
|
|
1046
|
-
onPointerDown:
|
|
1044
|
+
onPointerDown: u,
|
|
1047
1045
|
onPointerUp: f,
|
|
1048
|
-
onPointerLeave:
|
|
1046
|
+
onPointerLeave: d
|
|
1049
1047
|
};
|
|
1050
1048
|
}
|
|
1051
1049
|
function h(t, e) {
|
|
1052
|
-
const { sendMessage: s } = E(), l =
|
|
1050
|
+
const { sendMessage: s } = E(), l = r3(null);
|
|
1053
1051
|
function a() {
|
|
1054
1052
|
s(`${t}/${e}`, { value: "pressed" }), l.current || (l.current = setInterval(() => {
|
|
1055
1053
|
s(`${t}/${e}`, { value: "held" });
|
|
1056
1054
|
}, 250));
|
|
1057
1055
|
}
|
|
1058
|
-
function
|
|
1056
|
+
function u() {
|
|
1059
1057
|
l.current && (clearInterval(l.current), l.current = null), s(`${t}/${e}`, { value: "released" });
|
|
1060
1058
|
}
|
|
1061
|
-
return R2({ onPress: a, onRelease:
|
|
1059
|
+
return R2({ onPress: a, onRelease: u });
|
|
1062
1060
|
}
|
|
1063
1061
|
function v1(t, e) {
|
|
1064
1062
|
const { sendMessage: r, sendSimpleMessage: s } = E(), l = h(`${t}`, "volumeUp"), a = h(`${t}`, "volumeDown");
|
|
@@ -1066,7 +1064,7 @@ function v1(t, e) {
|
|
|
1066
1064
|
volumeState: e,
|
|
1067
1065
|
volumeUp: l,
|
|
1068
1066
|
volumeDown: a,
|
|
1069
|
-
setLevel: (
|
|
1067
|
+
setLevel: (S) => s(`${t}/level`, S),
|
|
1070
1068
|
muteToggle: () => r(`${t}/muteToggle`, null),
|
|
1071
1069
|
muteOn: () => r(`${t}/muteOn`, null),
|
|
1072
1070
|
muteOff: () => r(`${t}/muteOff`, null)
|
|
@@ -1078,7 +1076,7 @@ function N8(t, e) {
|
|
|
1078
1076
|
volumeState: e,
|
|
1079
1077
|
volumeUp: l,
|
|
1080
1078
|
volumeDown: a,
|
|
1081
|
-
setLevel: (
|
|
1079
|
+
setLevel: (S) => s(`${t}/level`, S),
|
|
1082
1080
|
muteToggle: () => r(`${t}/muteToggle`, null),
|
|
1083
1081
|
muteOn: () => r(`${t}/muteOn`, null),
|
|
1084
1082
|
muteOff: () => r(`${t}/muteOff`, null)
|
|
@@ -1098,7 +1096,7 @@ function h1(t) {
|
|
|
1098
1096
|
e(`/device/${t}/powerToggle`, null);
|
|
1099
1097
|
} };
|
|
1100
1098
|
}
|
|
1101
|
-
function
|
|
1099
|
+
function y3(t) {
|
|
1102
1100
|
const { sendMessage: e } = E(), r = $(t);
|
|
1103
1101
|
return console.log("deviceState", r), r ? { itemsState: r, selectItem: (l) => {
|
|
1104
1102
|
e(`/device/${t}/${l}`, null);
|
|
@@ -1117,14 +1115,14 @@ function _2(t) {
|
|
|
1117
1115
|
return r ? { levelControls: r.levelControls, setDefaultChannelLevels: s, getFullStatus: l } : void 0;
|
|
1118
1116
|
}
|
|
1119
1117
|
function e6(t) {
|
|
1120
|
-
const e = $(t), r = h1(t), s =
|
|
1118
|
+
const e = $(t), r = h1(t), s = y3(t), l = y3(t), a = E2(t), u = _2(t);
|
|
1121
1119
|
if (e)
|
|
1122
1120
|
return {
|
|
1123
1121
|
avrState: e,
|
|
1124
1122
|
powerControl: r,
|
|
1125
1123
|
inputControl: s,
|
|
1126
1124
|
surroundSoundModes: l,
|
|
1127
|
-
surroundChannels:
|
|
1125
|
+
surroundChannels: u,
|
|
1128
1126
|
mainVolumeControl: a
|
|
1129
1127
|
};
|
|
1130
1128
|
}
|
|
@@ -1134,8 +1132,8 @@ function t6(t) {
|
|
|
1134
1132
|
return { endpointState: e };
|
|
1135
1133
|
}
|
|
1136
1134
|
function n6(t) {
|
|
1137
|
-
const e = `/device/${t}`, r = h(e, "chanUp"), s = h(e, "chanDown"), l = h(e, "lastChan"), a = h(e, "guide"),
|
|
1138
|
-
return { channelUp: r, channelDown: s, lastChannel: l, guide: a, info:
|
|
1135
|
+
const e = `/device/${t}`, r = h(e, "chanUp"), s = h(e, "chanDown"), l = h(e, "lastChan"), a = h(e, "guide"), u = h(e, "info"), f = h(e, "exit");
|
|
1136
|
+
return { channelUp: r, channelDown: s, lastChannel: l, guide: a, info: u, exit: f };
|
|
1139
1137
|
}
|
|
1140
1138
|
function r6(t) {
|
|
1141
1139
|
const e = `/device/${t}`, r = h(e, "red"), s = h(e, "green"), l = h(e, "yellow"), a = h(e, "blue");
|
|
@@ -1149,8 +1147,8 @@ function o6(t) {
|
|
|
1149
1147
|
};
|
|
1150
1148
|
}
|
|
1151
1149
|
function s6(t) {
|
|
1152
|
-
const e = `/device/${t}`, r = h(e, "up"), s = h(e, "down"), l = h(e, "left"), a = h(e, "right"),
|
|
1153
|
-
return { up: r, down: s, left: l, right: a, select:
|
|
1150
|
+
const e = `/device/${t}`, r = h(e, "up"), s = h(e, "down"), l = h(e, "left"), a = h(e, "right"), u = h(e, "select"), f = h(e, "menu"), d = h(e, "exit");
|
|
1151
|
+
return { up: r, down: s, left: l, right: a, select: u, menu: f, exit: d };
|
|
1154
1152
|
}
|
|
1155
1153
|
function c6(t) {
|
|
1156
1154
|
const e = $(t);
|
|
@@ -1165,10 +1163,10 @@ function i6(t) {
|
|
|
1165
1163
|
const { sendMessage: e, sendSimpleMessage: r } = E(), s = $(t);
|
|
1166
1164
|
return s ? {
|
|
1167
1165
|
levelState: s,
|
|
1168
|
-
setLevel: (
|
|
1169
|
-
muteToggle: (
|
|
1170
|
-
muteOn: (
|
|
1171
|
-
muteOff: (
|
|
1166
|
+
setLevel: (d, C) => r(`${d}/level`, C),
|
|
1167
|
+
muteToggle: (d) => e(`${d}/muteToggle`, null),
|
|
1168
|
+
muteOn: (d) => e(`${d}/muteOn`, null),
|
|
1169
|
+
muteOff: (d) => e(`${d}/muteOff`, null)
|
|
1172
1170
|
} : void 0;
|
|
1173
1171
|
}
|
|
1174
1172
|
function a6(t) {
|
|
@@ -1184,11 +1182,11 @@ function u6(t) {
|
|
|
1184
1182
|
} } : void 0;
|
|
1185
1183
|
}
|
|
1186
1184
|
function d6(t) {
|
|
1187
|
-
const e = `/device/${t}`, r = h(e, "num0"), s = h(e, "num1"), l = h(e, "num2"), a = h(e, "num3"),
|
|
1188
|
-
return { digit0: r, digit1: s, digit2: l, digit3: a, digit4:
|
|
1185
|
+
const e = `/device/${t}`, r = h(e, "num0"), s = h(e, "num1"), l = h(e, "num2"), a = h(e, "num3"), u = h(e, "num4"), f = h(e, "num5"), d = h(e, "num6"), C = h(e, "num7"), S = h(e, "num8"), b = h(e, "num9"), A = h(e, "numDash"), T = h(e, "numEnter");
|
|
1186
|
+
return { digit0: r, digit1: s, digit2: l, digit3: a, digit4: u, digit5: f, digit6: d, digit7: C, digit8: S, digit9: b, keypadAccessoryButton1: A, keypadAccessoryButton2: T };
|
|
1189
1187
|
}
|
|
1190
1188
|
function v6(t) {
|
|
1191
|
-
const { sendMessage: e } = E(), r =
|
|
1189
|
+
const { sendMessage: e } = E(), r = R3(t);
|
|
1192
1190
|
return r ? { roomEventScheduleState: r, save: (l) => {
|
|
1193
1191
|
e(`/room/${t}/saveScheduledEvents`, l);
|
|
1194
1192
|
} } : void 0;
|
|
@@ -1220,7 +1218,7 @@ function w6(t) {
|
|
|
1220
1218
|
} } : void 0;
|
|
1221
1219
|
}
|
|
1222
1220
|
function p6(t) {
|
|
1223
|
-
const { sendMessage: e } = E(), r =
|
|
1221
|
+
const { sendMessage: e } = E(), r = R3(t);
|
|
1224
1222
|
return r ? { shutdownPromptTimerState: r, setShutdownPromptSeconds: (f) => {
|
|
1225
1223
|
e(`/room/${t}/setShutdownPromptSeconds`, f);
|
|
1226
1224
|
}, shutdownStart: () => {
|
|
@@ -1239,11 +1237,31 @@ function x6(t) {
|
|
|
1239
1237
|
e(`/device/${t}/off`, null);
|
|
1240
1238
|
} } : void 0;
|
|
1241
1239
|
}
|
|
1242
|
-
|
|
1243
|
-
const e
|
|
1244
|
-
return
|
|
1245
|
-
|
|
1240
|
+
const M6 = ({ className: t }) => {
|
|
1241
|
+
const [e, r] = d3();
|
|
1242
|
+
return n3(() => {
|
|
1243
|
+
setInterval(() => {
|
|
1244
|
+
const s = (/* @__PURE__ */ new Date()).toLocaleTimeString("en-US", { hour12: !0, hour: "numeric", minute: "numeric" });
|
|
1245
|
+
r(s);
|
|
1246
|
+
}, 1e3);
|
|
1247
|
+
}, []), /* @__PURE__ */ n.jsxs("div", { className: t, children: [
|
|
1248
|
+
e,
|
|
1249
|
+
" new change"
|
|
1250
|
+
] });
|
|
1251
|
+
};
|
|
1246
1252
|
function m6(t) {
|
|
1253
|
+
const { sendMessage: e } = E(), r = R3(t);
|
|
1254
|
+
return r ? { techPasswordState: r, validatePassword: (a) => {
|
|
1255
|
+
e(`/room/${t}/validateTechPassword`, { password: a });
|
|
1256
|
+
}, setPassword: (a, u) => {
|
|
1257
|
+
e(`/room/${t}/setTechPassword`, { oldPassword: a, newPassword: u });
|
|
1258
|
+
} } : void 0;
|
|
1259
|
+
}
|
|
1260
|
+
function Z6(t) {
|
|
1261
|
+
const e = `/device/${t}`, r = h(e, "play"), s = h(e, "pause"), l = h(e, "stop"), a = h(e, "prevTrack"), u = h(e, "nextTrack"), f = h(e, "rewind"), d = h(e, "ffwd"), C = h(e, "record");
|
|
1262
|
+
return { play: r, pause: s, stop: l, prevTrack: a, nextTrack: u, rewind: f, fastForward: d, record: C };
|
|
1263
|
+
}
|
|
1264
|
+
function j6(t) {
|
|
1247
1265
|
const e = $(t), { sendMessage: r } = E();
|
|
1248
1266
|
return e ? {
|
|
1249
1267
|
touchpanelState: e,
|
|
@@ -1259,8 +1277,8 @@ function m6(t) {
|
|
|
1259
1277
|
} }
|
|
1260
1278
|
} : void 0;
|
|
1261
1279
|
}
|
|
1262
|
-
function
|
|
1263
|
-
const e = $(t), r = h1(t), s =
|
|
1280
|
+
function S6(t) {
|
|
1281
|
+
const e = $(t), r = h1(t), s = y3(t);
|
|
1264
1282
|
if (!e)
|
|
1265
1283
|
return;
|
|
1266
1284
|
const l = (e.powerState || e.isWarming) && !e.isCooling, a = (!e.powerState || e.isCooling) && !e.isWarming;
|
|
@@ -1271,9 +1289,9 @@ function Z6(t) {
|
|
|
1271
1289
|
powerFb: { powerOnFb: l, powerOffFb: a }
|
|
1272
1290
|
};
|
|
1273
1291
|
}
|
|
1274
|
-
const
|
|
1292
|
+
const C6 = ({ config: t }) => {
|
|
1275
1293
|
const { sendMessage: e } = E();
|
|
1276
|
-
|
|
1294
|
+
n3(() => {
|
|
1277
1295
|
var s, l;
|
|
1278
1296
|
if (!t)
|
|
1279
1297
|
return;
|
|
@@ -1296,45 +1314,45 @@ const j6 = ({ config: t }) => {
|
|
|
1296
1314
|
});
|
|
1297
1315
|
}, [t, e]);
|
|
1298
1316
|
};
|
|
1299
|
-
function
|
|
1317
|
+
function b6(t, e) {
|
|
1300
1318
|
const r = f2(t, e), s = `/room/${t}/volumes/${e}`;
|
|
1301
1319
|
return v1(s, r);
|
|
1302
1320
|
}
|
|
1303
|
-
const
|
|
1321
|
+
const I6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger rounded d-flex align-items-center", children: /* @__PURE__ */ n.jsx("span", { className: "fs-5 text-white", children: "We are sorry. Something went wrong." }) }), L2 = "_iconbtn_16qss_1", $2 = "_iconbtnvert_16qss_7", A2 = "_iconsm_16qss_18", S3 = {
|
|
1304
1322
|
iconbtn: L2,
|
|
1305
1323
|
iconbtnvert: $2,
|
|
1306
|
-
iconsm:
|
|
1307
|
-
},
|
|
1324
|
+
iconsm: A2
|
|
1325
|
+
}, B2 = ({
|
|
1308
1326
|
multiIcon: t,
|
|
1309
1327
|
otherContent: e = null,
|
|
1310
1328
|
vert: r = !1,
|
|
1311
1329
|
className: s,
|
|
1312
1330
|
iconClassName: l = "",
|
|
1313
1331
|
otherContentClassName: a = "",
|
|
1314
|
-
disabled:
|
|
1332
|
+
disabled: u,
|
|
1315
1333
|
feedback: f,
|
|
1316
|
-
feedbackClassName:
|
|
1334
|
+
feedbackClassName: d,
|
|
1317
1335
|
onPointerDown: C,
|
|
1318
|
-
onPointerUp:
|
|
1336
|
+
onPointerUp: S,
|
|
1319
1337
|
onPointerLeave: b,
|
|
1320
|
-
...
|
|
1338
|
+
...A
|
|
1321
1339
|
}) => {
|
|
1322
|
-
const [
|
|
1340
|
+
const [T, V] = d3(!1), G = !u && f ? d : "", q = !u && (T || f);
|
|
1323
1341
|
return /* @__PURE__ */ n.jsxs(
|
|
1324
1342
|
"button",
|
|
1325
1343
|
{
|
|
1326
1344
|
type: "button",
|
|
1327
1345
|
className: `${S3.iconbtn} ${r ? S3.iconbtnvert : ""} ${s} ${G}`,
|
|
1328
|
-
...
|
|
1329
|
-
disabled:
|
|
1330
|
-
onPointerDown: (
|
|
1331
|
-
V(!0), C == null || C(
|
|
1346
|
+
...A,
|
|
1347
|
+
disabled: u,
|
|
1348
|
+
onPointerDown: (m) => {
|
|
1349
|
+
V(!0), C == null || C(m);
|
|
1332
1350
|
},
|
|
1333
|
-
onPointerUp: (
|
|
1334
|
-
V(!1),
|
|
1351
|
+
onPointerUp: (m) => {
|
|
1352
|
+
V(!1), S == null || S(m);
|
|
1335
1353
|
},
|
|
1336
|
-
onPointerLeave: (
|
|
1337
|
-
V(!1), b == null || b(
|
|
1354
|
+
onPointerLeave: (m) => {
|
|
1355
|
+
V(!1), b == null || b(m);
|
|
1338
1356
|
},
|
|
1339
1357
|
children: [
|
|
1340
1358
|
t && /* @__PURE__ */ n.jsx(
|
|
@@ -1342,7 +1360,7 @@ const S6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
|
|
|
1342
1360
|
{
|
|
1343
1361
|
className: `${l || S3.iconsm}`,
|
|
1344
1362
|
active: q,
|
|
1345
|
-
disabled:
|
|
1363
|
+
disabled: u
|
|
1346
1364
|
}
|
|
1347
1365
|
),
|
|
1348
1366
|
/* @__PURE__ */ n.jsx("div", { className: a, children: e })
|
|
@@ -1355,7 +1373,7 @@ const S6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
|
|
|
1355
1373
|
EnabledImage: r,
|
|
1356
1374
|
active: s,
|
|
1357
1375
|
disabled: l
|
|
1358
|
-
}) => l ? e : s ? t : r,
|
|
1376
|
+
}) => l ? e : s ? t : r, T2 = ({
|
|
1359
1377
|
active: t,
|
|
1360
1378
|
className: e = "",
|
|
1361
1379
|
disabled: r
|
|
@@ -1456,7 +1474,7 @@ const S6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
|
|
|
1456
1474
|
active: t,
|
|
1457
1475
|
disabled: r
|
|
1458
1476
|
}
|
|
1459
|
-
),
|
|
1477
|
+
), P2 = ({
|
|
1460
1478
|
active: t,
|
|
1461
1479
|
className: e = "",
|
|
1462
1480
|
disabled: r
|
|
@@ -1505,7 +1523,7 @@ const S6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
|
|
|
1505
1523
|
active: t,
|
|
1506
1524
|
disabled: r
|
|
1507
1525
|
}
|
|
1508
|
-
),
|
|
1526
|
+
), O2 = ({
|
|
1509
1527
|
active: t,
|
|
1510
1528
|
className: e = "",
|
|
1511
1529
|
disabled: r
|
|
@@ -1594,7 +1612,7 @@ const S6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
|
|
|
1594
1612
|
active: t,
|
|
1595
1613
|
disabled: r
|
|
1596
1614
|
}
|
|
1597
|
-
),
|
|
1615
|
+
), F2 = ({
|
|
1598
1616
|
active: t,
|
|
1599
1617
|
className: e = "",
|
|
1600
1618
|
disabled: r
|
|
@@ -1643,7 +1661,7 @@ const S6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
|
|
|
1643
1661
|
active: t,
|
|
1644
1662
|
disabled: r
|
|
1645
1663
|
}
|
|
1646
|
-
),
|
|
1664
|
+
), k2 = ({
|
|
1647
1665
|
active: t,
|
|
1648
1666
|
className: e = "",
|
|
1649
1667
|
disabled: r
|
|
@@ -2814,11 +2832,11 @@ const S6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
|
|
|
2814
2832
|
}
|
|
2815
2833
|
), d8 = {
|
|
2816
2834
|
Alert: D2,
|
|
2817
|
-
Camera:
|
|
2818
|
-
DownArrow:
|
|
2819
|
-
Ban:
|
|
2835
|
+
Camera: O2,
|
|
2836
|
+
DownArrow: F2,
|
|
2837
|
+
Ban: P2,
|
|
2820
2838
|
Check: V2,
|
|
2821
|
-
Elipses:
|
|
2839
|
+
Elipses: k2,
|
|
2822
2840
|
Flag: W2,
|
|
2823
2841
|
Gear: U2,
|
|
2824
2842
|
Glass: H2,
|
|
@@ -2826,7 +2844,7 @@ const S6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
|
|
|
2826
2844
|
Laptop: G2,
|
|
2827
2845
|
LeftArrow: q2,
|
|
2828
2846
|
Light: Y2,
|
|
2829
|
-
Mic:
|
|
2847
|
+
Mic: T2,
|
|
2830
2848
|
Moon: J2,
|
|
2831
2849
|
Playstation: z2,
|
|
2832
2850
|
Podium: X2,
|
|
@@ -2844,105 +2862,93 @@ const S6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
|
|
|
2844
2862
|
X: a8,
|
|
2845
2863
|
Xbox: u8
|
|
2846
2864
|
};
|
|
2847
|
-
function
|
|
2865
|
+
function y6({
|
|
2848
2866
|
name: t,
|
|
2849
2867
|
iconsDictionary: e = d8,
|
|
2850
2868
|
...r
|
|
2851
2869
|
}) {
|
|
2852
2870
|
const s = e[t] ?? null;
|
|
2853
|
-
return s || console.error(`Icon ${t} not found in dictionary`), /* @__PURE__ */ n.jsx(
|
|
2871
|
+
return s || console.error(`Icon ${t} not found in dictionary`), /* @__PURE__ */ n.jsx(B2, { multiIcon: s, ...r });
|
|
2854
2872
|
}
|
|
2855
|
-
const v8 = "_grid_1cmpp_1", h8 = "_header_1cmpp_11", g8 = "_content_1cmpp_17", f8 = "_footer_1cmpp_23", w8 = "_volume_1cmpp_29",
|
|
2873
|
+
const v8 = "_grid_1cmpp_1", h8 = "_header_1cmpp_11", g8 = "_content_1cmpp_17", f8 = "_footer_1cmpp_23", w8 = "_volume_1cmpp_29", t3 = {
|
|
2856
2874
|
grid: v8,
|
|
2857
2875
|
header: h8,
|
|
2858
2876
|
content: g8,
|
|
2859
2877
|
footer: f8,
|
|
2860
2878
|
volume: w8
|
|
2861
|
-
},
|
|
2862
|
-
/* @__PURE__ */ n.jsx("div", { className:
|
|
2863
|
-
/* @__PURE__ */ n.jsx("div", { className:
|
|
2864
|
-
l && /* @__PURE__ */ n.jsx("div", { className:
|
|
2865
|
-
/* @__PURE__ */ n.jsx("div", { className:
|
|
2866
|
-
] }), p8 = "_grid_11w5q_1", x8 = "_header_11w5q_11", M8 = "_content_11w5q_17",
|
|
2879
|
+
}, R6 = ({ header: t, footer: e, content: r, volume: s, showVolume: l }) => /* @__PURE__ */ n.jsxs("div", { className: t3.grid, children: [
|
|
2880
|
+
/* @__PURE__ */ n.jsx("div", { className: t3.header, children: t }),
|
|
2881
|
+
/* @__PURE__ */ n.jsx("div", { className: t3.content, children: r }),
|
|
2882
|
+
l && /* @__PURE__ */ n.jsx("div", { className: t3.volume, children: s }),
|
|
2883
|
+
/* @__PURE__ */ n.jsx("div", { className: t3.footer, children: e })
|
|
2884
|
+
] }), p8 = "_grid_11w5q_1", x8 = "_header_11w5q_11", M8 = "_content_11w5q_17", u3 = {
|
|
2867
2885
|
grid: p8,
|
|
2868
2886
|
header: x8,
|
|
2869
2887
|
content: M8,
|
|
2870
2888
|
"left-nav": "_left-nav_11w5q_23"
|
|
2871
|
-
},
|
|
2872
|
-
/* @__PURE__ */ n.jsx("div", { className:
|
|
2873
|
-
s && /* @__PURE__ */ n.jsx("div", { className:
|
|
2874
|
-
/* @__PURE__ */ n.jsx("div", { className:
|
|
2875
|
-
] }), m8 = "_grid_1uwfo_1", Z8 = "_header_1uwfo_11", j8 = "_content_1uwfo_17",
|
|
2889
|
+
}, E6 = ({ className: t, header: e, content: r, leftNav: s }) => /* @__PURE__ */ n.jsxs("div", { className: `${t} ${u3.grid}`, children: [
|
|
2890
|
+
/* @__PURE__ */ n.jsx("div", { className: u3.header, children: e }),
|
|
2891
|
+
s && /* @__PURE__ */ n.jsx("div", { className: u3.leftNav, children: s }),
|
|
2892
|
+
/* @__PURE__ */ n.jsx("div", { className: u3.content, children: r })
|
|
2893
|
+
] }), m8 = "_grid_1uwfo_1", Z8 = "_header_1uwfo_11", j8 = "_content_1uwfo_17", C3 = {
|
|
2876
2894
|
grid: m8,
|
|
2877
2895
|
header: Z8,
|
|
2878
2896
|
content: j8
|
|
2879
|
-
},
|
|
2880
|
-
/* @__PURE__ */ n.jsx("div", { className:
|
|
2881
|
-
/* @__PURE__ */ n.jsx("div", { className:
|
|
2897
|
+
}, _6 = ({ className: t, header: e, content: r }) => /* @__PURE__ */ n.jsxs("div", { className: `${t} ${C3.grid}`, children: [
|
|
2898
|
+
/* @__PURE__ */ n.jsx("div", { className: C3.header, children: e }),
|
|
2899
|
+
/* @__PURE__ */ n.jsx("div", { className: C3.content, children: r })
|
|
2882
2900
|
] });
|
|
2883
|
-
function
|
|
2901
|
+
function L6() {
|
|
2884
2902
|
return console.log(location.pathname), location.pathname;
|
|
2885
2903
|
}
|
|
2886
|
-
var
|
|
2887
|
-
class
|
|
2904
|
+
var S8 = /* @__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))(S8 || {});
|
|
2905
|
+
class $6 {
|
|
2888
2906
|
constructor(e, r) {
|
|
2889
|
-
|
|
2890
|
-
|
|
2907
|
+
_(this, "path");
|
|
2908
|
+
_(this, "handler");
|
|
2891
2909
|
this.path = e, this.handler = r;
|
|
2892
2910
|
}
|
|
2893
2911
|
}
|
|
2894
|
-
const
|
|
2895
|
-
class
|
|
2912
|
+
const A6 = "$off";
|
|
2913
|
+
class B6 {
|
|
2896
2914
|
constructor() {
|
|
2897
|
-
|
|
2898
|
-
|
|
2899
|
-
|
|
2915
|
+
_(this, "name", "");
|
|
2916
|
+
_(this, "iconUrl", "");
|
|
2917
|
+
_(this, "channel", "");
|
|
2900
2918
|
}
|
|
2901
2919
|
}
|
|
2902
2920
|
class T6 {
|
|
2903
2921
|
constructor() {
|
|
2904
|
-
|
|
2905
|
-
|
|
2922
|
+
_(this, "deviceKey");
|
|
2923
|
+
_(this, "deviceType");
|
|
2906
2924
|
}
|
|
2907
2925
|
}
|
|
2908
|
-
class
|
|
2926
|
+
class D6 {
|
|
2909
2927
|
constructor() {
|
|
2910
|
-
|
|
2911
|
-
|
|
2928
|
+
_(this, "deviceKey");
|
|
2929
|
+
_(this, "deviceType");
|
|
2912
2930
|
}
|
|
2913
2931
|
}
|
|
2914
|
-
class
|
|
2932
|
+
class P6 {
|
|
2915
2933
|
constructor() {
|
|
2916
|
-
|
|
2917
|
-
|
|
2918
|
-
|
|
2934
|
+
_(this, "currentShareText");
|
|
2935
|
+
_(this, "enabled");
|
|
2936
|
+
_(this, "isSharing");
|
|
2919
2937
|
}
|
|
2920
2938
|
}
|
|
2921
|
-
const D6 = ({ className: t }) => {
|
|
2922
|
-
const [e, r] = h3();
|
|
2923
|
-
return t3(() => {
|
|
2924
|
-
setInterval(() => {
|
|
2925
|
-
const s = (/* @__PURE__ */ new Date()).toLocaleTimeString("en-US", { hour12: !0, hour: "numeric", minute: "numeric" });
|
|
2926
|
-
r(s);
|
|
2927
|
-
}, 1e3);
|
|
2928
|
-
}, []), /* @__PURE__ */ n.jsxs("div", { className: t, children: [
|
|
2929
|
-
e,
|
|
2930
|
-
" new change"
|
|
2931
|
-
] });
|
|
2932
|
-
};
|
|
2933
2939
|
export {
|
|
2934
|
-
|
|
2935
|
-
|
|
2936
|
-
|
|
2940
|
+
D6 as AccessoryDeviceConfiguration,
|
|
2941
|
+
M6 as Clock,
|
|
2942
|
+
S8 as DaysOfWeek,
|
|
2937
2943
|
T6 as EnvironmentalDeviceConfiguration,
|
|
2938
|
-
|
|
2939
|
-
|
|
2944
|
+
I6 as ErrorBox,
|
|
2945
|
+
B2 as IconButton,
|
|
2940
2946
|
D2 as IconMultiAlert,
|
|
2941
|
-
|
|
2942
|
-
|
|
2947
|
+
P2 as IconMultiBan,
|
|
2948
|
+
O2 as IconMultiCamera,
|
|
2943
2949
|
V2 as IconMultiCheck,
|
|
2944
|
-
|
|
2945
|
-
|
|
2950
|
+
F2 as IconMultiDownArrow,
|
|
2951
|
+
k2 as IconMultiElipses,
|
|
2946
2952
|
W2 as IconMultiFlag,
|
|
2947
2953
|
U2 as IconMultiGear,
|
|
2948
2954
|
H2 as IconMultiGlass,
|
|
@@ -2966,19 +2972,19 @@ export {
|
|
|
2966
2972
|
i8 as IconMultiWireless,
|
|
2967
2973
|
a8 as IconMultiX,
|
|
2968
2974
|
u8 as IconMultiXbox,
|
|
2969
|
-
|
|
2970
|
-
|
|
2975
|
+
R6 as MainLayout,
|
|
2976
|
+
$6 as MessageHandler,
|
|
2971
2977
|
Q8 as MobileControlProvider,
|
|
2972
2978
|
M as MultiStateIconContainer,
|
|
2973
|
-
|
|
2974
|
-
|
|
2975
|
-
|
|
2976
|
-
|
|
2977
|
-
|
|
2978
|
-
|
|
2979
|
-
|
|
2980
|
-
|
|
2981
|
-
|
|
2979
|
+
y6 as NamedIconButton,
|
|
2980
|
+
B6 as PresetChannel,
|
|
2981
|
+
P6 as ShareState,
|
|
2982
|
+
E6 as TechLayout,
|
|
2983
|
+
_6 as TechPinLayout,
|
|
2984
|
+
L6 as getBaseLocation,
|
|
2985
|
+
b3 as httpClient,
|
|
2986
|
+
A6 as roomOffSourceKey,
|
|
2987
|
+
F as store,
|
|
2982
2988
|
E8 as uiActions,
|
|
2983
2989
|
d2 as uiReducer,
|
|
2984
2990
|
_8 as useApiPath,
|
|
@@ -2988,7 +2994,7 @@ export {
|
|
|
2988
2994
|
x2 as useClientId,
|
|
2989
2995
|
E2 as useDeviceIBasicVolumeWithFeedback,
|
|
2990
2996
|
t6 as useEndpoint,
|
|
2991
|
-
|
|
2997
|
+
C6 as useGetAllDeviceStateFromRoomConfiguration,
|
|
2992
2998
|
g2 as useGetAllDevices,
|
|
2993
2999
|
z8 as useGetCurrentPopoverIdForGroup,
|
|
2994
3000
|
$ as useGetDevice,
|
|
@@ -3003,7 +3009,7 @@ export {
|
|
|
3003
3009
|
c6 as useIDeviceInfoMessenger,
|
|
3004
3010
|
l6 as useIDvr,
|
|
3005
3011
|
h1 as useIHasPowerControl,
|
|
3006
|
-
|
|
3012
|
+
y3 as useIHasSelectableItems,
|
|
3007
3013
|
i6 as useILevelControls,
|
|
3008
3014
|
a6 as useILightingScenes,
|
|
3009
3015
|
u6 as useIMatrixRouting,
|
|
@@ -3015,33 +3021,34 @@ export {
|
|
|
3015
3021
|
w6 as useIShadesOpenCloseStop,
|
|
3016
3022
|
p6 as useIShutdownPromptTimer,
|
|
3017
3023
|
x6 as useISwitchedOutput,
|
|
3018
|
-
|
|
3024
|
+
m6 as useITechPassword,
|
|
3025
|
+
Z6 as useITransport,
|
|
3019
3026
|
m2 as useInitialize,
|
|
3020
|
-
|
|
3027
|
+
j6 as useMobileControlTouchpanelController,
|
|
3021
3028
|
R2 as usePressHoldRelease,
|
|
3022
3029
|
U8 as useRoomAdvancedSharingActive,
|
|
3023
|
-
|
|
3030
|
+
O8 as useRoomCodecContentDestinationKey,
|
|
3024
3031
|
L8 as useRoomConfiguration,
|
|
3025
|
-
|
|
3026
|
-
|
|
3032
|
+
T8 as useRoomDestinationList,
|
|
3033
|
+
B8 as useRoomDestinations,
|
|
3027
3034
|
D8 as useRoomEnvironmentalDevices,
|
|
3028
|
-
|
|
3035
|
+
b6 as useRoomIBasicVolumeWithFeedback,
|
|
3029
3036
|
V8 as useRoomInCall,
|
|
3030
|
-
|
|
3037
|
+
k8 as useRoomIsCoolingDown,
|
|
3031
3038
|
W8 as useRoomIsOn,
|
|
3032
|
-
|
|
3039
|
+
F8 as useRoomIsWarmingUp,
|
|
3033
3040
|
p2 as useRoomKey,
|
|
3034
3041
|
$8 as useRoomName,
|
|
3035
|
-
|
|
3042
|
+
P8 as useRoomProgramAudioDestinationKey,
|
|
3036
3043
|
H8 as useRoomShareState,
|
|
3037
|
-
|
|
3038
|
-
|
|
3044
|
+
A8 as useRoomSourceList,
|
|
3045
|
+
R3 as useRoomState,
|
|
3039
3046
|
f2 as useRoomVolume,
|
|
3040
3047
|
Y8 as useShowIncomingCallModal,
|
|
3041
3048
|
J8 as useShowModal,
|
|
3042
3049
|
X8 as useShowPopoverById,
|
|
3043
3050
|
q8 as useShowShutdownModal,
|
|
3044
|
-
|
|
3051
|
+
S6 as useTwoWayDisplayBase,
|
|
3045
3052
|
E as useWebsocketContext,
|
|
3046
3053
|
w2 as useWsIsConnected
|
|
3047
3054
|
};
|