@pepperdash/mobile-control-react-app-core 1.21.0-feature-export-useCameraBase.1 → 1.21.0-feature-export-useCameraBase.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/mobile-control-react-app-core.es.js +411 -423
- package/dist/mobile-control-react-app-core.umd.js +10 -10
- package/dist/store/index.d.ts +5 -0
- package/dist/store/index.d.ts.map +1 -1
- package/dist/store/rooms/rooms.hooks.d.ts +2 -2
- package/dist/store/rooms/rooms.hooks.d.ts.map +1 -1
- package/dist/store/rooms/rooms.selectors.d.ts +8 -8
- package/dist/types/state/DestinationListItem.d.ts +113 -0
- package/dist/types/state/DestinationListItem.d.ts.map +1 -1
- package/dist/types/state/LevelControlListItem.d.ts +1 -1
- package/dist/types/state/LevelControlListItem.d.ts.map +1 -1
- package/dist/types/state/PresetListItem.d.ts +1 -1
- package/dist/types/state/PresetListItem.d.ts.map +1 -1
- package/dist/types/state/environment/index.d.ts +9 -0
- package/dist/types/state/environment/index.d.ts.map +1 -0
- package/dist/types/state/index.d.ts +9 -13
- package/dist/types/state/index.d.ts.map +1 -1
- package/dist/types/state/sourceListItem.d.ts +137 -0
- package/dist/types/state/sourceListItem.d.ts.map +1 -1
- package/dist/types/state/state/DisplayState.d.ts +98 -5
- package/dist/types/state/state/DisplayState.d.ts.map +1 -1
- package/dist/types/state/state/ICurrentSourcesState.d.ts +19 -0
- package/dist/types/state/state/ICurrentSourcesState.d.ts.map +1 -0
- package/dist/types/state/state/IHasCurrentSourceInfoChangeState.d.ts +14 -2
- package/dist/types/state/state/IHasCurrentSourceInfoChangeState.d.ts.map +1 -1
- package/dist/types/state/state/IHasSelectableItemsState.d.ts +2 -1
- package/dist/types/state/state/IHasSelectableItemsState.d.ts.map +1 -1
- package/dist/types/state/state/RoomState.d.ts +2 -2
- package/dist/types/state/state/RoomState.d.ts.map +1 -1
- package/dist/types/state/state/RoutingState.d.ts +1 -1
- package/dist/types/state/state/RoutingState.d.ts.map +1 -1
- package/dist/types/state/state/index.d.ts +2 -0
- package/dist/types/state/state/index.d.ts.map +1 -1
- package/dist/types/state/volume/index.d.ts +10 -0
- package/dist/types/state/volume/index.d.ts.map +1 -0
- package/dist/types/state/volume/volumes.d.ts +0 -1
- package/dist/types/state/volume/volumes.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
var s2 = Object.defineProperty;
|
|
2
2
|
var o2 = (e, t, o) => t in e ? s2(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o;
|
|
3
|
-
var
|
|
3
|
+
var X = (e, t, o) => o2(e, typeof t != "symbol" ? t + "" : t, o);
|
|
4
4
|
import n2, { AxiosError as c2 } from "axios";
|
|
5
5
|
import { useDispatch as r2, useSelector as l2, Provider as i2 } from "react-redux";
|
|
6
6
|
import { createSelector as w, createSlice as g1, combineReducers as a2, configureStore as u2 } from "@reduxjs/toolkit";
|
|
7
|
-
import w3, { createContext as d2, useState as G, useRef as
|
|
7
|
+
import w3, { createContext as d2, useState as G, useRef as h1, useCallback as a1, useEffect as n1, useContext as v2, useLayoutEffect as x3 } from "react";
|
|
8
8
|
import * as M3 from "lodash";
|
|
9
|
-
import { useNavigate as
|
|
9
|
+
import { useNavigate as h2, useRouteError as g2, isRouteErrorResponse as f2 } from "react-router-dom";
|
|
10
10
|
const p2 = r2.withTypes(), p = l2.withTypes(), j1 = (e) => e.appConfig, w2 = w(
|
|
11
11
|
j1,
|
|
12
12
|
(e) => e.config
|
|
@@ -19,13 +19,13 @@ const p2 = r2.withTypes(), p = l2.withTypes(), j1 = (e) => e.appConfig, w2 = w(
|
|
|
19
19
|
), m2 = w(
|
|
20
20
|
j1,
|
|
21
21
|
(e) => e.config.partnerMetadata
|
|
22
|
-
), Z2 = () => p(w2), O6 = () => p(x2),
|
|
22
|
+
), Z2 = () => p(w2), O6 = () => p(x2), B6 = () => p(M2), k6 = () => p(m2), m3 = (e) => e.devices, Z3 = w(
|
|
23
23
|
m3,
|
|
24
24
|
(e) => e
|
|
25
25
|
), j2 = (e) => w(
|
|
26
26
|
m3,
|
|
27
27
|
(t) => t[e] ? t[e] : void 0
|
|
28
|
-
),
|
|
28
|
+
), V6 = () => p(Z3);
|
|
29
29
|
function E(e) {
|
|
30
30
|
return p(j2(e));
|
|
31
31
|
}
|
|
@@ -53,13 +53,13 @@ const L = (e) => e.rooms, C2 = (e) => w(
|
|
|
53
53
|
var o, c;
|
|
54
54
|
return t[e] ? (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.sourceList : void 0;
|
|
55
55
|
}
|
|
56
|
-
),
|
|
56
|
+
), D2 = (e) => w(
|
|
57
57
|
L,
|
|
58
58
|
(t) => {
|
|
59
59
|
var o, c;
|
|
60
60
|
return t[e] ? (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.audioControlPointList : void 0;
|
|
61
61
|
}
|
|
62
|
-
),
|
|
62
|
+
), P2 = (e) => w(
|
|
63
63
|
L,
|
|
64
64
|
(t) => {
|
|
65
65
|
var o, c;
|
|
@@ -77,7 +77,7 @@ const L = (e) => e.rooms, C2 = (e) => w(
|
|
|
77
77
|
var o, c;
|
|
78
78
|
return t[e] ? (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.environmentalDevices : void 0;
|
|
79
79
|
}
|
|
80
|
-
),
|
|
80
|
+
), T2 = (e) => w(
|
|
81
81
|
L,
|
|
82
82
|
(t) => {
|
|
83
83
|
var o, c, r, i, d, a, g, x;
|
|
@@ -95,37 +95,37 @@ const L = (e) => e.rooms, C2 = (e) => w(
|
|
|
95
95
|
var o;
|
|
96
96
|
return t[e] ? (o = t[e]) == null ? void 0 : o.isInCall : void 0;
|
|
97
97
|
}
|
|
98
|
-
),
|
|
98
|
+
), O2 = (e) => w(
|
|
99
99
|
L,
|
|
100
100
|
(t) => {
|
|
101
101
|
var o;
|
|
102
102
|
return t[e] ? (o = t[e]) == null ? void 0 : o.isWarmingUp : void 0;
|
|
103
103
|
}
|
|
104
|
-
),
|
|
104
|
+
), B2 = (e) => w(
|
|
105
105
|
L,
|
|
106
106
|
(t) => {
|
|
107
107
|
var o;
|
|
108
108
|
return t[e] ? (o = t[e]) == null ? void 0 : o.isCoolingDown : void 0;
|
|
109
109
|
}
|
|
110
|
-
),
|
|
110
|
+
), k2 = (e) => w(
|
|
111
111
|
L,
|
|
112
112
|
(t) => {
|
|
113
113
|
var o;
|
|
114
114
|
return t[e] ? (o = t[e]) == null ? void 0 : o.isOn : void 0;
|
|
115
115
|
}
|
|
116
|
-
),
|
|
116
|
+
), V2 = (e) => w(
|
|
117
117
|
L,
|
|
118
118
|
(t) => {
|
|
119
119
|
var o;
|
|
120
120
|
return t[e] ? (o = t[e]) == null ? void 0 : o.advancedSharingActive : void 0;
|
|
121
121
|
}
|
|
122
|
-
),
|
|
122
|
+
), W2 = (e) => w(
|
|
123
123
|
L,
|
|
124
124
|
(t) => {
|
|
125
125
|
var o;
|
|
126
126
|
return t[e] ? (o = t[e]) == null ? void 0 : o.share : void 0;
|
|
127
127
|
}
|
|
128
|
-
),
|
|
128
|
+
), U2 = (e) => w(
|
|
129
129
|
L,
|
|
130
130
|
(t) => {
|
|
131
131
|
var o, c;
|
|
@@ -151,47 +151,47 @@ function W6(e) {
|
|
|
151
151
|
C2(e)
|
|
152
152
|
);
|
|
153
153
|
}
|
|
154
|
-
function
|
|
154
|
+
function U6() {
|
|
155
155
|
return p(S2);
|
|
156
156
|
}
|
|
157
157
|
function C1(e) {
|
|
158
158
|
return p(b2(e));
|
|
159
159
|
}
|
|
160
|
-
const
|
|
160
|
+
const F6 = C1, H6 = (e) => p(
|
|
161
161
|
I2(e)
|
|
162
162
|
), H2 = (e, t) => p(
|
|
163
163
|
R2(e, t)
|
|
164
|
-
), K2 = (e) => p(y2(e)) || void 0,
|
|
165
|
-
|
|
164
|
+
), K2 = (e) => p(y2(e)) || void 0, K6 = (e) => p(E2(e)), G6 = (e) => p(D2(e)), q6 = (e) => p(P2(e)), Y6 = (e) => p(_2(e)), z6 = (e) => p(L2(e)), J6 = (e) => p(T2(e)), X6 = (e) => p($2(e)), Q6 = (e) => p(A2(e)), N6 = (e) => p(O2(e)), ee = (e) => p(B2(e)), te = (e) => p(k2(e)), se = (e) => p(V2(e)), oe = (e) => p(W2(e)), ne = (e) => p((t) => F2(t, e)), ce = (e) => p(U2(e)), J = (e) => e.runtimeConfig, G2 = w(
|
|
165
|
+
J,
|
|
166
166
|
(e) => e.websocket.isConnected
|
|
167
167
|
), q2 = w(
|
|
168
|
-
|
|
168
|
+
J,
|
|
169
169
|
(e) => e.currentRoomKey
|
|
170
170
|
), Y2 = w(
|
|
171
|
-
|
|
171
|
+
J,
|
|
172
172
|
(e) => e.roomData.clientId
|
|
173
173
|
), z2 = w(
|
|
174
|
-
|
|
174
|
+
J,
|
|
175
175
|
(e) => e.roomData.systemUuid
|
|
176
176
|
), J2 = w(
|
|
177
|
-
|
|
177
|
+
J,
|
|
178
178
|
(e) => e.roomData.userCode
|
|
179
179
|
), X2 = w(
|
|
180
|
-
|
|
180
|
+
J,
|
|
181
181
|
(e) => e.serverIsRunningOnProcessorHardware
|
|
182
182
|
), Q2 = w(
|
|
183
|
-
|
|
183
|
+
J,
|
|
184
184
|
(e) => {
|
|
185
185
|
var t;
|
|
186
186
|
return (t = e.roomData.config) == null ? void 0 : t.runtimeInfo;
|
|
187
187
|
}
|
|
188
188
|
), N2 = w(
|
|
189
|
-
|
|
189
|
+
J,
|
|
190
190
|
(e) => e.touchpanelKey
|
|
191
191
|
), e8 = w(
|
|
192
|
-
|
|
192
|
+
J,
|
|
193
193
|
(e) => e.touchpanelKey !== ""
|
|
194
|
-
), j3 = () => p(G2), t8 = () => p(q2), s8 = () => p(Y2), o8 = () => p(z2), n8 = () => p(J2), c8 = () => p(X2),
|
|
194
|
+
), j3 = () => p(G2), t8 = () => p(q2), s8 = () => p(Y2), o8 = () => p(z2), n8 = () => p(J2), c8 = () => p(X2), re = () => p(Q2), le = () => p(N2), ie = () => p(e8), c1 = (e) => e.ui, W1 = (e) => w(
|
|
195
195
|
c1,
|
|
196
196
|
(t) => t.modalVisibility[e]
|
|
197
197
|
), r8 = (e) => w(
|
|
@@ -216,7 +216,7 @@ const H6 = C1, K6 = (e) => p(
|
|
|
216
216
|
), u8 = w(
|
|
217
217
|
c1,
|
|
218
218
|
(e) => e.theme
|
|
219
|
-
),
|
|
219
|
+
), ae = () => p(W1("showShutdownModal")), ue = () => p(W1("showIncomingCallModal")), de = (e) => p(W1(e)), ve = (e) => p(r8(e)), he = (e, t) => p(l8(e, t)), d8 = () => p(i8), v8 = () => p(a8), ge = () => p(u8), h8 = {
|
|
220
220
|
showReconnect: !1,
|
|
221
221
|
error: "",
|
|
222
222
|
modalVisibility: {
|
|
@@ -226,7 +226,7 @@ const H6 = C1, K6 = (e) => p(
|
|
|
226
226
|
popoverVisibility: {}
|
|
227
227
|
}, C3 = g1({
|
|
228
228
|
name: "ui",
|
|
229
|
-
initialState:
|
|
229
|
+
initialState: h8,
|
|
230
230
|
reducers: {
|
|
231
231
|
clearAllModals(e) {
|
|
232
232
|
Object.entries(e.modalVisibility).forEach(([t]) => {
|
|
@@ -257,7 +257,7 @@ const H6 = C1, K6 = (e) => p(
|
|
|
257
257
|
e.theme = t.payload;
|
|
258
258
|
}
|
|
259
259
|
}
|
|
260
|
-
}),
|
|
260
|
+
}), Y = C3.actions, g8 = C3.reducer, f8 = {
|
|
261
261
|
config: {
|
|
262
262
|
enableDev: !1,
|
|
263
263
|
apiPath: "",
|
|
@@ -275,7 +275,7 @@ const H6 = C1, K6 = (e) => p(
|
|
|
275
275
|
e.config = t.payload;
|
|
276
276
|
}
|
|
277
277
|
}
|
|
278
|
-
}), p8 = S3.actions, w8 = S3.reducer, d3 = {},
|
|
278
|
+
}), p8 = S3.actions, w8 = S3.reducer, d3 = {}, O1 = g1({
|
|
279
279
|
name: "devices",
|
|
280
280
|
initialState: d3,
|
|
281
281
|
reducers: {
|
|
@@ -290,11 +290,11 @@ const H6 = C1, K6 = (e) => p(
|
|
|
290
290
|
}
|
|
291
291
|
}
|
|
292
292
|
}), e1 = {
|
|
293
|
-
setDeviceState:
|
|
294
|
-
clearDevices:
|
|
295
|
-
}, x8 =
|
|
293
|
+
setDeviceState: O1.actions.setDeviceState,
|
|
294
|
+
clearDevices: O1.actions.clearDevices
|
|
295
|
+
}, x8 = O1.reducer, v3 = {}, B1 = g1({
|
|
296
296
|
name: "rooms",
|
|
297
|
-
initialState:
|
|
297
|
+
initialState: v3,
|
|
298
298
|
reducers: {
|
|
299
299
|
setRoomState(e, t) {
|
|
300
300
|
const o = t.payload.type, c = o.slice(o.lastIndexOf("/") + 1);
|
|
@@ -303,13 +303,13 @@ const H6 = C1, K6 = (e) => p(
|
|
|
303
303
|
e[c] = d;
|
|
304
304
|
},
|
|
305
305
|
clearRooms() {
|
|
306
|
-
return
|
|
306
|
+
return v3;
|
|
307
307
|
}
|
|
308
308
|
}
|
|
309
309
|
}), t1 = {
|
|
310
|
-
setRoomState:
|
|
311
|
-
clearRooms:
|
|
312
|
-
}, M8 =
|
|
310
|
+
setRoomState: B1.actions.setRoomState,
|
|
311
|
+
clearRooms: B1.actions.clearRooms
|
|
312
|
+
}, M8 = B1.reducer, m8 = {
|
|
313
313
|
apiVersion: "",
|
|
314
314
|
serverIsRunningOnProcessorHardware: !1,
|
|
315
315
|
websocket: {
|
|
@@ -376,18 +376,18 @@ const H6 = C1, K6 = (e) => p(
|
|
|
376
376
|
ui: g8
|
|
377
377
|
}), m = u2({
|
|
378
378
|
reducer: j8
|
|
379
|
-
}),
|
|
379
|
+
}), k1 = n2.create();
|
|
380
380
|
function C8() {
|
|
381
381
|
const e = p2();
|
|
382
382
|
return async () => {
|
|
383
383
|
try {
|
|
384
384
|
const t = location.pathname.split("/").filter((r) => r.length > 0);
|
|
385
385
|
t.length >= 5 ? t.length = 5 : t.length = 2;
|
|
386
|
-
const o = `/${t.join("/")}`, c = await
|
|
386
|
+
const o = `/${t.join("/")}`, c = await k1.get("/_local-config/_config.local.json", { baseURL: o });
|
|
387
387
|
if (c.status == 200 && c.data) {
|
|
388
388
|
const r = c.data.apiPath;
|
|
389
389
|
e(p8.setAppConfig(c.data));
|
|
390
|
-
const i = await
|
|
390
|
+
const i = await k1.get(`${r}/version`);
|
|
391
391
|
i.status == 200 && i.data && e(F.setRuntimeConfig(i.data));
|
|
392
392
|
}
|
|
393
393
|
} catch (t) {
|
|
@@ -406,17 +406,17 @@ var m1 = { exports: {} }, u1 = {};
|
|
|
406
406
|
* This source code is licensed under the MIT license found in the
|
|
407
407
|
* LICENSE file in the root directory of this source tree.
|
|
408
408
|
*/
|
|
409
|
-
var
|
|
409
|
+
var h3;
|
|
410
410
|
function S8() {
|
|
411
|
-
if (
|
|
412
|
-
|
|
411
|
+
if (h3) return u1;
|
|
412
|
+
h3 = 1;
|
|
413
413
|
var e = w3, t = Symbol.for("react.element"), o = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, r = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
414
414
|
function d(a, g, x) {
|
|
415
|
-
var
|
|
416
|
-
x !== void 0 && (
|
|
417
|
-
for (
|
|
418
|
-
if (a && a.defaultProps) for (
|
|
419
|
-
return { $$typeof: t, type: a, key:
|
|
415
|
+
var v, I = {}, T = null, H = null;
|
|
416
|
+
x !== void 0 && (T = "" + x), g.key !== void 0 && (T = "" + g.key), g.ref !== void 0 && (H = g.ref);
|
|
417
|
+
for (v in g) c.call(g, v) && !i.hasOwnProperty(v) && (I[v] = g[v]);
|
|
418
|
+
if (a && a.defaultProps) for (v in g = a.defaultProps, g) I[v] === void 0 && (I[v] = g[v]);
|
|
419
|
+
return { $$typeof: t, type: a, key: T, ref: H, props: I, _owner: r.current };
|
|
420
420
|
}
|
|
421
421
|
return u1.Fragment = o, u1.jsx = d, u1.jsxs = d, u1;
|
|
422
422
|
}
|
|
@@ -433,11 +433,11 @@ var d1 = {};
|
|
|
433
433
|
var g3;
|
|
434
434
|
function b8() {
|
|
435
435
|
return g3 || (g3 = 1, process.env.NODE_ENV !== "production" && function() {
|
|
436
|
-
var e = w3, t = Symbol.for("react.element"), o = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), a = Symbol.for("react.context"), g = Symbol.for("react.forward_ref"), x = Symbol.for("react.suspense"),
|
|
436
|
+
var e = w3, t = Symbol.for("react.element"), o = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), a = Symbol.for("react.context"), g = Symbol.for("react.forward_ref"), x = Symbol.for("react.suspense"), v = Symbol.for("react.suspense_list"), I = Symbol.for("react.memo"), T = Symbol.for("react.lazy"), H = Symbol.for("react.offscreen"), k = Symbol.iterator, Q = "@@iterator";
|
|
437
437
|
function r1(n) {
|
|
438
438
|
if (n === null || typeof n != "object")
|
|
439
439
|
return null;
|
|
440
|
-
var l =
|
|
440
|
+
var l = k && n[k] || n[Q];
|
|
441
441
|
return typeof l == "function" ? l : null;
|
|
442
442
|
}
|
|
443
443
|
var $ = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
@@ -458,14 +458,14 @@ function b8() {
|
|
|
458
458
|
R.unshift("Warning: " + l), Function.prototype.apply.call(console[n], console, R);
|
|
459
459
|
}
|
|
460
460
|
}
|
|
461
|
-
var b1 = !1,
|
|
462
|
-
|
|
463
|
-
function
|
|
464
|
-
return !!(typeof n == "string" || typeof n == "function" || n === c || n === i || I1 || n === r || n === x || n ===
|
|
461
|
+
var b1 = !1, D = !1, C = !1, f1 = !1, I1 = !1, z;
|
|
462
|
+
z = Symbol.for("react.module.reference");
|
|
463
|
+
function O(n) {
|
|
464
|
+
return !!(typeof n == "string" || typeof n == "function" || n === c || n === i || I1 || n === r || n === x || n === v || f1 || n === H || b1 || D || C || typeof n == "object" && n !== null && (n.$$typeof === T || n.$$typeof === I || n.$$typeof === d || n.$$typeof === a || n.$$typeof === g || // This needs to include all possible module reference object
|
|
465
465
|
// types supported by any Flight configuration anywhere since
|
|
466
466
|
// we don't know which Flight build this will end up being used
|
|
467
467
|
// with.
|
|
468
|
-
n.$$typeof ===
|
|
468
|
+
n.$$typeof === z || n.getModuleId !== void 0));
|
|
469
469
|
}
|
|
470
470
|
function y(n, l, u) {
|
|
471
471
|
var f = n.displayName;
|
|
@@ -477,7 +477,7 @@ function b8() {
|
|
|
477
477
|
function q(n) {
|
|
478
478
|
return n.displayName || "Context";
|
|
479
479
|
}
|
|
480
|
-
function
|
|
480
|
+
function W(n) {
|
|
481
481
|
if (n == null)
|
|
482
482
|
return null;
|
|
483
483
|
if (typeof n.tag == "number" && A("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof n == "function")
|
|
@@ -495,7 +495,7 @@ function b8() {
|
|
|
495
495
|
return "StrictMode";
|
|
496
496
|
case x:
|
|
497
497
|
return "Suspense";
|
|
498
|
-
case
|
|
498
|
+
case v:
|
|
499
499
|
return "SuspenseList";
|
|
500
500
|
}
|
|
501
501
|
if (typeof n == "object")
|
|
@@ -510,11 +510,11 @@ function b8() {
|
|
|
510
510
|
return y(n, n.render, "ForwardRef");
|
|
511
511
|
case I:
|
|
512
512
|
var f = n.displayName || null;
|
|
513
|
-
return f !== null ? f :
|
|
514
|
-
case
|
|
513
|
+
return f !== null ? f : W(n.type) || "Memo";
|
|
514
|
+
case T: {
|
|
515
515
|
var S = n, R = S._payload, Z = S._init;
|
|
516
516
|
try {
|
|
517
|
-
return
|
|
517
|
+
return W(Z(R));
|
|
518
518
|
} catch {
|
|
519
519
|
return null;
|
|
520
520
|
}
|
|
@@ -522,14 +522,14 @@ function b8() {
|
|
|
522
522
|
}
|
|
523
523
|
return null;
|
|
524
524
|
}
|
|
525
|
-
var K = Object.assign, l1 = 0,
|
|
525
|
+
var K = Object.assign, l1 = 0, U1, F1, H1, K1, G1, q1, Y1;
|
|
526
526
|
function z1() {
|
|
527
527
|
}
|
|
528
528
|
z1.__reactDisabledLog = !0;
|
|
529
529
|
function E3() {
|
|
530
530
|
{
|
|
531
531
|
if (l1 === 0) {
|
|
532
|
-
|
|
532
|
+
U1 = console.log, F1 = console.info, H1 = console.warn, K1 = console.error, G1 = console.group, q1 = console.groupCollapsed, Y1 = console.groupEnd;
|
|
533
533
|
var n = {
|
|
534
534
|
configurable: !0,
|
|
535
535
|
enumerable: !0,
|
|
@@ -549,7 +549,7 @@ function b8() {
|
|
|
549
549
|
l1++;
|
|
550
550
|
}
|
|
551
551
|
}
|
|
552
|
-
function
|
|
552
|
+
function D3() {
|
|
553
553
|
{
|
|
554
554
|
if (l1--, l1 === 0) {
|
|
555
555
|
var n = {
|
|
@@ -559,7 +559,7 @@ function b8() {
|
|
|
559
559
|
};
|
|
560
560
|
Object.defineProperties(console, {
|
|
561
561
|
log: K({}, n, {
|
|
562
|
-
value:
|
|
562
|
+
value: U1
|
|
563
563
|
}),
|
|
564
564
|
info: K({}, n, {
|
|
565
565
|
value: F1
|
|
@@ -600,8 +600,8 @@ function b8() {
|
|
|
600
600
|
}
|
|
601
601
|
var E1 = !1, w1;
|
|
602
602
|
{
|
|
603
|
-
var
|
|
604
|
-
w1 = new
|
|
603
|
+
var P3 = typeof WeakMap == "function" ? WeakMap : Map;
|
|
604
|
+
w1 = new P3();
|
|
605
605
|
}
|
|
606
606
|
function J1(n, l) {
|
|
607
607
|
if (!n || E1)
|
|
@@ -629,47 +629,47 @@ function b8() {
|
|
|
629
629
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
630
630
|
try {
|
|
631
631
|
Reflect.construct(Z, []);
|
|
632
|
-
} catch (
|
|
633
|
-
f =
|
|
632
|
+
} catch (V) {
|
|
633
|
+
f = V;
|
|
634
634
|
}
|
|
635
635
|
Reflect.construct(n, [], Z);
|
|
636
636
|
} else {
|
|
637
637
|
try {
|
|
638
638
|
Z.call();
|
|
639
|
-
} catch (
|
|
640
|
-
f =
|
|
639
|
+
} catch (V) {
|
|
640
|
+
f = V;
|
|
641
641
|
}
|
|
642
642
|
n.call(Z.prototype);
|
|
643
643
|
}
|
|
644
644
|
} else {
|
|
645
645
|
try {
|
|
646
646
|
throw Error();
|
|
647
|
-
} catch (
|
|
648
|
-
f =
|
|
647
|
+
} catch (V) {
|
|
648
|
+
f = V;
|
|
649
649
|
}
|
|
650
650
|
n();
|
|
651
651
|
}
|
|
652
|
-
} catch (
|
|
653
|
-
if (
|
|
654
|
-
for (var M =
|
|
655
|
-
`),
|
|
656
|
-
`),
|
|
652
|
+
} catch (V) {
|
|
653
|
+
if (V && f && typeof V.stack == "string") {
|
|
654
|
+
for (var M = V.stack.split(`
|
|
655
|
+
`), B = f.stack.split(`
|
|
656
|
+
`), P = M.length - 1, _ = B.length - 1; P >= 1 && _ >= 0 && M[P] !== B[_]; )
|
|
657
657
|
_--;
|
|
658
|
-
for (;
|
|
659
|
-
if (M[
|
|
660
|
-
if (
|
|
658
|
+
for (; P >= 1 && _ >= 0; P--, _--)
|
|
659
|
+
if (M[P] !== B[_]) {
|
|
660
|
+
if (P !== 1 || _ !== 1)
|
|
661
661
|
do
|
|
662
|
-
if (
|
|
663
|
-
var
|
|
664
|
-
` + M[
|
|
665
|
-
return n.displayName &&
|
|
662
|
+
if (P--, _--, _ < 0 || M[P] !== B[_]) {
|
|
663
|
+
var U = `
|
|
664
|
+
` + M[P].replace(" at new ", " at ");
|
|
665
|
+
return n.displayName && U.includes("<anonymous>") && (U = U.replace("<anonymous>", n.displayName)), typeof n == "function" && w1.set(n, U), U;
|
|
666
666
|
}
|
|
667
|
-
while (
|
|
667
|
+
while (P >= 1 && _ >= 0);
|
|
668
668
|
break;
|
|
669
669
|
}
|
|
670
670
|
}
|
|
671
671
|
} finally {
|
|
672
|
-
E1 = !1, R1.current = R,
|
|
672
|
+
E1 = !1, R1.current = R, D3(), Error.prepareStackTrace = S;
|
|
673
673
|
}
|
|
674
674
|
var o1 = n ? n.displayName || n.name : "", N = o1 ? p1(o1) : "";
|
|
675
675
|
return typeof n == "function" && w1.set(n, N), N;
|
|
@@ -691,7 +691,7 @@ function b8() {
|
|
|
691
691
|
switch (n) {
|
|
692
692
|
case x:
|
|
693
693
|
return p1("Suspense");
|
|
694
|
-
case
|
|
694
|
+
case v:
|
|
695
695
|
return p1("SuspenseList");
|
|
696
696
|
}
|
|
697
697
|
if (typeof n == "object")
|
|
@@ -700,7 +700,7 @@ function b8() {
|
|
|
700
700
|
return _3(n.render);
|
|
701
701
|
case I:
|
|
702
702
|
return x1(n.type, l, u);
|
|
703
|
-
case
|
|
703
|
+
case T: {
|
|
704
704
|
var f = n, S = f._payload, R = f._init;
|
|
705
705
|
try {
|
|
706
706
|
return x1(R(S), l, u);
|
|
@@ -718,7 +718,7 @@ function b8() {
|
|
|
718
718
|
} else
|
|
719
719
|
Q1.setExtraStackFrame(null);
|
|
720
720
|
}
|
|
721
|
-
function
|
|
721
|
+
function T3(n, l, u, f, S) {
|
|
722
722
|
{
|
|
723
723
|
var R = Function.call.bind(i1);
|
|
724
724
|
for (var Z in n)
|
|
@@ -726,19 +726,19 @@ function b8() {
|
|
|
726
726
|
var M = void 0;
|
|
727
727
|
try {
|
|
728
728
|
if (typeof n[Z] != "function") {
|
|
729
|
-
var
|
|
730
|
-
throw
|
|
729
|
+
var B = Error((f || "React class") + ": " + u + " type `" + Z + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof n[Z] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
730
|
+
throw B.name = "Invariant Violation", B;
|
|
731
731
|
}
|
|
732
732
|
M = n[Z](l, Z, f, u, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
733
|
-
} catch (
|
|
734
|
-
M =
|
|
733
|
+
} catch (P) {
|
|
734
|
+
M = P;
|
|
735
735
|
}
|
|
736
736
|
M && !(M instanceof Error) && (M1(S), A("%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).", f || "React class", u, Z, typeof M), M1(null)), M instanceof Error && !(M.message in X1) && (X1[M.message] = !0, M1(S), A("Failed %s type: %s", u, M.message), M1(null));
|
|
737
737
|
}
|
|
738
738
|
}
|
|
739
739
|
}
|
|
740
740
|
var $3 = Array.isArray;
|
|
741
|
-
function
|
|
741
|
+
function D1(n) {
|
|
742
742
|
return $3(n);
|
|
743
743
|
}
|
|
744
744
|
function A3(n) {
|
|
@@ -747,7 +747,7 @@ function b8() {
|
|
|
747
747
|
return u;
|
|
748
748
|
}
|
|
749
749
|
}
|
|
750
|
-
function
|
|
750
|
+
function O3(n) {
|
|
751
751
|
try {
|
|
752
752
|
return N1(n), !1;
|
|
753
753
|
} catch {
|
|
@@ -758,16 +758,16 @@ function b8() {
|
|
|
758
758
|
return "" + n;
|
|
759
759
|
}
|
|
760
760
|
function e3(n) {
|
|
761
|
-
if (
|
|
761
|
+
if (O3(n))
|
|
762
762
|
return A("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", A3(n)), N1(n);
|
|
763
763
|
}
|
|
764
|
-
var t3 = $.ReactCurrentOwner,
|
|
764
|
+
var t3 = $.ReactCurrentOwner, B3 = {
|
|
765
765
|
key: !0,
|
|
766
766
|
ref: !0,
|
|
767
767
|
__self: !0,
|
|
768
768
|
__source: !0
|
|
769
769
|
}, s3, o3;
|
|
770
|
-
function
|
|
770
|
+
function k3(n) {
|
|
771
771
|
if (i1.call(n, "ref")) {
|
|
772
772
|
var l = Object.getOwnPropertyDescriptor(n, "ref").get;
|
|
773
773
|
if (l && l.isReactWarning)
|
|
@@ -775,7 +775,7 @@ function b8() {
|
|
|
775
775
|
}
|
|
776
776
|
return n.ref !== void 0;
|
|
777
777
|
}
|
|
778
|
-
function
|
|
778
|
+
function V3(n) {
|
|
779
779
|
if (i1.call(n, "key")) {
|
|
780
780
|
var l = Object.getOwnPropertyDescriptor(n, "key").get;
|
|
781
781
|
if (l && l.isReactWarning)
|
|
@@ -783,10 +783,10 @@ function b8() {
|
|
|
783
783
|
}
|
|
784
784
|
return n.key !== void 0;
|
|
785
785
|
}
|
|
786
|
-
function
|
|
786
|
+
function W3(n, l) {
|
|
787
787
|
typeof n.ref == "string" && t3.current;
|
|
788
788
|
}
|
|
789
|
-
function
|
|
789
|
+
function U3(n, l) {
|
|
790
790
|
{
|
|
791
791
|
var u = function() {
|
|
792
792
|
s3 || (s3 = !0, A("%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)", l));
|
|
@@ -839,23 +839,23 @@ function b8() {
|
|
|
839
839
|
};
|
|
840
840
|
function K3(n, l, u, f, S) {
|
|
841
841
|
{
|
|
842
|
-
var R, Z = {}, M = null,
|
|
843
|
-
u !== void 0 && (e3(u), M = "" + u),
|
|
842
|
+
var R, Z = {}, M = null, B = null;
|
|
843
|
+
u !== void 0 && (e3(u), M = "" + u), V3(l) && (e3(l.key), M = "" + l.key), k3(l) && (B = l.ref, W3(l, S));
|
|
844
844
|
for (R in l)
|
|
845
|
-
i1.call(l, R) && !
|
|
845
|
+
i1.call(l, R) && !B3.hasOwnProperty(R) && (Z[R] = l[R]);
|
|
846
846
|
if (n && n.defaultProps) {
|
|
847
|
-
var
|
|
848
|
-
for (R in
|
|
849
|
-
Z[R] === void 0 && (Z[R] =
|
|
847
|
+
var P = n.defaultProps;
|
|
848
|
+
for (R in P)
|
|
849
|
+
Z[R] === void 0 && (Z[R] = P[R]);
|
|
850
850
|
}
|
|
851
|
-
if (M ||
|
|
851
|
+
if (M || B) {
|
|
852
852
|
var _ = typeof n == "function" ? n.displayName || n.name || "Unknown" : n;
|
|
853
|
-
M &&
|
|
853
|
+
M && U3(Z, _), B && F3(Z, _);
|
|
854
854
|
}
|
|
855
|
-
return H3(n, M,
|
|
855
|
+
return H3(n, M, B, S, f, t3.current, Z);
|
|
856
856
|
}
|
|
857
857
|
}
|
|
858
|
-
var
|
|
858
|
+
var P1 = $.ReactCurrentOwner, n3 = $.ReactDebugCurrentFrame;
|
|
859
859
|
function s1(n) {
|
|
860
860
|
if (n) {
|
|
861
861
|
var l = n._owner, u = x1(n.type, n._source, l ? l.type : null);
|
|
@@ -870,8 +870,8 @@ function b8() {
|
|
|
870
870
|
}
|
|
871
871
|
function c3() {
|
|
872
872
|
{
|
|
873
|
-
if (
|
|
874
|
-
var n =
|
|
873
|
+
if (P1.current) {
|
|
874
|
+
var n = W(P1.current.type);
|
|
875
875
|
if (n)
|
|
876
876
|
return `
|
|
877
877
|
|
|
@@ -906,14 +906,14 @@ Check the top-level render call using <` + u + ">.");
|
|
|
906
906
|
return;
|
|
907
907
|
r3[u] = !0;
|
|
908
908
|
var f = "";
|
|
909
|
-
n && n._owner && n._owner !==
|
|
909
|
+
n && n._owner && n._owner !== P1.current && (f = " It was passed a child from " + W(n._owner.type) + "."), s1(n), A('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', u, f), s1(null);
|
|
910
910
|
}
|
|
911
911
|
}
|
|
912
912
|
function i3(n, l) {
|
|
913
913
|
{
|
|
914
914
|
if (typeof n != "object")
|
|
915
915
|
return;
|
|
916
|
-
if (
|
|
916
|
+
if (D1(n))
|
|
917
917
|
for (var u = 0; u < n.length; u++) {
|
|
918
918
|
var f = n[u];
|
|
919
919
|
L1(f) && l3(f, l);
|
|
@@ -943,11 +943,11 @@ Check the top-level render call using <` + u + ">.");
|
|
|
943
943
|
else
|
|
944
944
|
return;
|
|
945
945
|
if (u) {
|
|
946
|
-
var f =
|
|
947
|
-
|
|
946
|
+
var f = W(l);
|
|
947
|
+
T3(u, n.props, "prop", f, n);
|
|
948
948
|
} else if (l.PropTypes !== void 0 && !_1) {
|
|
949
949
|
_1 = !0;
|
|
950
|
-
var S =
|
|
950
|
+
var S = W(l);
|
|
951
951
|
A("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", S || "Unknown");
|
|
952
952
|
}
|
|
953
953
|
typeof l.getDefaultProps == "function" && !l.getDefaultProps.isReactClassApproved && A("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
@@ -968,43 +968,43 @@ Check the top-level render call using <` + u + ">.");
|
|
|
968
968
|
var a3 = {};
|
|
969
969
|
function u3(n, l, u, f, S, R) {
|
|
970
970
|
{
|
|
971
|
-
var Z =
|
|
971
|
+
var Z = O(n);
|
|
972
972
|
if (!Z) {
|
|
973
973
|
var M = "";
|
|
974
974
|
(n === void 0 || typeof n == "object" && n !== null && Object.keys(n).length === 0) && (M += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
975
|
-
var
|
|
976
|
-
|
|
977
|
-
var
|
|
978
|
-
n === null ?
|
|
975
|
+
var B = G3();
|
|
976
|
+
B ? M += B : M += c3();
|
|
977
|
+
var P;
|
|
978
|
+
n === null ? P = "null" : D1(n) ? P = "array" : n !== void 0 && n.$$typeof === t ? (P = "<" + (W(n.type) || "Unknown") + " />", M = " Did you accidentally export a JSX literal instead of a component?") : P = typeof n, A("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", P, M);
|
|
979
979
|
}
|
|
980
980
|
var _ = K3(n, l, u, S, R);
|
|
981
981
|
if (_ == null)
|
|
982
982
|
return _;
|
|
983
983
|
if (Z) {
|
|
984
|
-
var
|
|
985
|
-
if (
|
|
984
|
+
var U = l.children;
|
|
985
|
+
if (U !== void 0)
|
|
986
986
|
if (f)
|
|
987
|
-
if (
|
|
988
|
-
for (var o1 = 0; o1 <
|
|
989
|
-
i3(
|
|
990
|
-
Object.freeze && Object.freeze(
|
|
987
|
+
if (D1(U)) {
|
|
988
|
+
for (var o1 = 0; o1 < U.length; o1++)
|
|
989
|
+
i3(U[o1], n);
|
|
990
|
+
Object.freeze && Object.freeze(U);
|
|
991
991
|
} else
|
|
992
992
|
A("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
993
993
|
else
|
|
994
|
-
i3(
|
|
994
|
+
i3(U, n);
|
|
995
995
|
}
|
|
996
996
|
if (i1.call(l, "key")) {
|
|
997
|
-
var N =
|
|
997
|
+
var N = W(n), V = Object.keys(l).filter(function(t2) {
|
|
998
998
|
return t2 !== "key";
|
|
999
|
-
}),
|
|
1000
|
-
if (!a3[N +
|
|
1001
|
-
var e2 =
|
|
999
|
+
}), T1 = V.length > 0 ? "{key: someKey, " + V.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
1000
|
+
if (!a3[N + T1]) {
|
|
1001
|
+
var e2 = V.length > 0 ? "{" + V.join(": ..., ") + ": ...}" : "{}";
|
|
1002
1002
|
A(`A props object containing a "key" prop is being spread into JSX:
|
|
1003
1003
|
let props = %s;
|
|
1004
1004
|
<%s {...props} />
|
|
1005
1005
|
React keys must be passed directly to JSX without using spread:
|
|
1006
1006
|
let props = %s;
|
|
1007
|
-
<%s key={someKey} {...props} />`,
|
|
1007
|
+
<%s key={someKey} {...props} />`, T1, N, e2, N), a3[N + T1] = !0;
|
|
1008
1008
|
}
|
|
1009
1009
|
}
|
|
1010
1010
|
return n === c ? z3(_) : Y3(_), _;
|
|
@@ -1028,7 +1028,7 @@ var s = I8();
|
|
|
1028
1028
|
const R8 = "_mwfit_ppa3l_1", y8 = {
|
|
1029
1029
|
mwfit: R8
|
|
1030
1030
|
}, E8 = () => {
|
|
1031
|
-
const { reconnect: e } = b(), t = j3(), o = d8(), c =
|
|
1031
|
+
const { reconnect: e } = b(), t = j3(), o = d8(), c = v8();
|
|
1032
1032
|
return /* @__PURE__ */ s.jsx(s.Fragment, { children: /* @__PURE__ */ s.jsxs(
|
|
1033
1033
|
"div",
|
|
1034
1034
|
{
|
|
@@ -1041,114 +1041,114 @@ const R8 = "_mwfit_ppa3l_1", y8 = {
|
|
|
1041
1041
|
}
|
|
1042
1042
|
) });
|
|
1043
1043
|
};
|
|
1044
|
-
class
|
|
1044
|
+
class D8 {
|
|
1045
1045
|
constructor() {
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1046
|
+
X(this, "uuid", "current-uuid");
|
|
1047
|
+
X(this, "roomKey", "current-room-key");
|
|
1048
|
+
X(this, "code", "current-code");
|
|
1049
|
+
X(this, "expiry", "current-uuid-expires");
|
|
1050
1050
|
}
|
|
1051
1051
|
}
|
|
1052
|
-
const p3 = new
|
|
1052
|
+
const p3 = new D8(), I3 = d2({
|
|
1053
1053
|
sendMessage: () => null,
|
|
1054
1054
|
sendSimpleMessage: () => null,
|
|
1055
1055
|
addEventHandler: () => null,
|
|
1056
1056
|
removeEventHandler: () => null,
|
|
1057
1057
|
reconnect: () => null
|
|
1058
1058
|
});
|
|
1059
|
-
function
|
|
1059
|
+
function P8(e) {
|
|
1060
1060
|
return sessionStorage.getItem(e) || "";
|
|
1061
1061
|
}
|
|
1062
1062
|
function _8(e, t) {
|
|
1063
1063
|
sessionStorage.setItem(e, t);
|
|
1064
1064
|
}
|
|
1065
1065
|
const L8 = ({ children: e }) => {
|
|
1066
|
-
const [t, o] = G(), c = j3(), r = t8(), i = s8(), d = C8(), a = Z2(), g = o8(), x = n8(),
|
|
1067
|
-
async (
|
|
1066
|
+
const [t, o] = G(), c = j3(), r = t8(), i = s8(), d = C8(), a = Z2(), g = o8(), x = n8(), v = c8(), I = h1(null), [T, H] = G(), k = h1({}), Q = a1(
|
|
1067
|
+
async (D) => {
|
|
1068
1068
|
try {
|
|
1069
|
-
const C = await
|
|
1070
|
-
`${
|
|
1069
|
+
const C = await k1.get(
|
|
1070
|
+
`${D}/ui/joinroom?token=${t}`
|
|
1071
1071
|
);
|
|
1072
1072
|
return C.status === 200 && C.data ? (m.dispatch(F.setRoomData(C.data)), !0) : !1;
|
|
1073
1073
|
} catch (C) {
|
|
1074
|
-
return console.log(C),
|
|
1075
|
-
|
|
1074
|
+
return console.log(C), v ? !0 : C instanceof c2 && C.response && C.response.status === 498 ? (console.error("Invalid token. Unable to join room"), m.dispatch(
|
|
1075
|
+
Y.setErrorMessage(
|
|
1076
1076
|
`Token ${t} is invalid. Unable to join room`
|
|
1077
1077
|
)
|
|
1078
|
-
), !1) : (console.error("Error getting room data", C), C instanceof Error ? m.dispatch(
|
|
1078
|
+
), !1) : (console.error("Error getting room data", C), C instanceof Error ? m.dispatch(Y.setErrorMessage(C.message)) : m.dispatch(Y.setErrorMessage("Error getting room data")), !1);
|
|
1079
1079
|
}
|
|
1080
1080
|
},
|
|
1081
|
-
[t,
|
|
1081
|
+
[t, v]
|
|
1082
1082
|
), r1 = a1(() => {
|
|
1083
|
-
const
|
|
1084
|
-
window.location.href = x ? `${
|
|
1083
|
+
const D = `${a.gatewayAppPath}?uuid=${g}&roomKey=${r}`;
|
|
1084
|
+
window.location.href = x ? `${D}&Code=${x}` : D;
|
|
1085
1085
|
}, [a.gatewayAppPath, r, g, x]), $ = a1(
|
|
1086
|
-
(
|
|
1087
|
-
I.current && c && I.current.send(JSON.stringify({ type:
|
|
1086
|
+
(D, C) => {
|
|
1087
|
+
I.current && c && I.current.send(JSON.stringify({ type: D, clientId: i, content: C }));
|
|
1088
1088
|
},
|
|
1089
1089
|
[c, i]
|
|
1090
|
-
), A = (
|
|
1091
|
-
$(
|
|
1090
|
+
), A = (D, C) => {
|
|
1091
|
+
$(D, { value: C });
|
|
1092
1092
|
}, S1 = a1(
|
|
1093
|
-
(
|
|
1094
|
-
|
|
1093
|
+
(D, C, f1) => {
|
|
1094
|
+
k.current[D] || (k.current[D] = {}), k.current[D][C] = f1, console.log("event handler added", D, C);
|
|
1095
1095
|
},
|
|
1096
1096
|
[]
|
|
1097
|
-
), b1 = a1((
|
|
1098
|
-
|
|
1097
|
+
), b1 = a1((D, C) => {
|
|
1098
|
+
k.current[D] && (delete k.current[D][C], console.log("event handler removed", D, C));
|
|
1099
1099
|
}, []);
|
|
1100
1100
|
return n1(() => {
|
|
1101
1101
|
let C = new URLSearchParams(window.location.search).get("token");
|
|
1102
|
-
C ? (console.log("saving token: ", C), _8(p3.uuid, C)) : (C =
|
|
1102
|
+
C ? (console.log("saving token: ", C), _8(p3.uuid, C)) : (C = P8(p3.uuid), console.log("loading token: ", C)), o(C), d();
|
|
1103
1103
|
}, []), console.log(
|
|
1104
1104
|
"connection dependencies",
|
|
1105
1105
|
a.apiPath,
|
|
1106
1106
|
Q,
|
|
1107
1107
|
t,
|
|
1108
|
-
|
|
1109
|
-
|
|
1108
|
+
T,
|
|
1109
|
+
v
|
|
1110
1110
|
), n1(() => {
|
|
1111
|
-
async function
|
|
1112
|
-
if (console.log("Attempting to join websocket..."), !a.apiPath ||
|
|
1111
|
+
async function D() {
|
|
1112
|
+
if (console.log("Attempting to join websocket..."), !a.apiPath || T || !t || !await Q(a.apiPath)) return;
|
|
1113
1113
|
if (I.current) {
|
|
1114
1114
|
console.log("websocket exists");
|
|
1115
1115
|
return;
|
|
1116
1116
|
}
|
|
1117
1117
|
console.log("connecting to websocket");
|
|
1118
|
-
const I1 = `${a.apiPath.replace("http", "ws")}/ui/join/${t}`,
|
|
1119
|
-
I.current =
|
|
1120
|
-
console.log("connected",
|
|
1121
|
-
},
|
|
1122
|
-
console.error("Websocket error",
|
|
1123
|
-
},
|
|
1124
|
-
if (console.log("disconnected: ",
|
|
1125
|
-
console.log("WebSocket closed by client (useEffect cleanup)."), m.dispatch(
|
|
1118
|
+
const I1 = `${a.apiPath.replace("http", "ws")}/ui/join/${t}`, z = new WebSocket(I1);
|
|
1119
|
+
I.current = z, z.onopen = (O) => {
|
|
1120
|
+
console.log("connected", O.type, O.target), m.dispatch(F.setWebsocketIsConnected(!0));
|
|
1121
|
+
}, z.onerror = (O) => {
|
|
1122
|
+
console.error("Websocket error", O);
|
|
1123
|
+
}, z.onclose = (O) => {
|
|
1124
|
+
if (console.log("disconnected: ", O.reason, O.code), O.code === 4100) {
|
|
1125
|
+
console.log("WebSocket closed by client (useEffect cleanup)."), m.dispatch(Y.setShowReconnect(!0)), m.dispatch(F.setWebsocketIsConnected(!1)), m.dispatch(e1.clearDevices()), m.dispatch(t1.clearRooms());
|
|
1126
1126
|
return;
|
|
1127
1127
|
}
|
|
1128
|
-
if (H(!0),
|
|
1128
|
+
if (H(!0), O.code === 4e3) {
|
|
1129
1129
|
console.log("user code changed"), m.dispatch(
|
|
1130
1130
|
F.setUserCode({ userCode: "", qrUrl: "" })
|
|
1131
1131
|
), m.dispatch(
|
|
1132
|
-
|
|
1132
|
+
Y.setErrorMessage(
|
|
1133
1133
|
"User code changed. Click reconnect to enter the new code"
|
|
1134
1134
|
)
|
|
1135
|
-
), m.dispatch(
|
|
1135
|
+
), m.dispatch(Y.setShowReconnect(!0)), m.dispatch(F.setWebsocketIsConnected(!1)), m.dispatch(e1.clearDevices()), m.dispatch(t1.clearRooms());
|
|
1136
1136
|
return;
|
|
1137
1137
|
}
|
|
1138
|
-
if (
|
|
1138
|
+
if (O.code === 4001 && !v) {
|
|
1139
1139
|
console.log("processor disconnected"), m.dispatch(
|
|
1140
|
-
|
|
1140
|
+
Y.setErrorMessage(
|
|
1141
1141
|
"Processor has disconnected. Click Reconnect"
|
|
1142
1142
|
)
|
|
1143
|
-
), m.dispatch(
|
|
1143
|
+
), m.dispatch(Y.setShowReconnect(!0)), m.dispatch(F.setWebsocketIsConnected(!1)), m.dispatch(e1.clearDevices()), m.dispatch(t1.clearRooms());
|
|
1144
1144
|
return;
|
|
1145
1145
|
}
|
|
1146
|
-
if (
|
|
1146
|
+
if (O.code === 4002) {
|
|
1147
1147
|
console.log("room combination changed"), m.dispatch(
|
|
1148
|
-
|
|
1148
|
+
Y.setErrorMessage(
|
|
1149
1149
|
"Room combination changed. Click Reconnect to re-join the room"
|
|
1150
1150
|
)
|
|
1151
|
-
), m.dispatch(
|
|
1151
|
+
), m.dispatch(Y.setShowReconnect(!0)), m.dispatch(F.setWebsocketIsConnected(!1)), m.dispatch(e1.clearDevices()), m.dispatch(t1.clearRooms());
|
|
1152
1152
|
return;
|
|
1153
1153
|
}
|
|
1154
1154
|
if (I.current)
|
|
@@ -1157,12 +1157,12 @@ const L8 = ({ children: e }) => {
|
|
|
1157
1157
|
console.log("WebSocket closed by client.");
|
|
1158
1158
|
return;
|
|
1159
1159
|
}
|
|
1160
|
-
console.log("websocket waitingToReconnect",
|
|
1161
|
-
},
|
|
1160
|
+
console.log("websocket waitingToReconnect", T), !T && (console.log("websocket clearing state on disconnect"), m.dispatch(F.setWebsocketIsConnected(!1)), m.dispatch(e1.clearDevices()), m.dispatch(t1.clearRooms()), setTimeout(() => H(void 0), 5e3));
|
|
1161
|
+
}, z.onmessage = (O) => {
|
|
1162
1162
|
try {
|
|
1163
|
-
const y = JSON.parse(
|
|
1163
|
+
const y = JSON.parse(O.data);
|
|
1164
1164
|
if (console.log(y), y.type === "close") {
|
|
1165
|
-
|
|
1165
|
+
z.close(4001, y.content);
|
|
1166
1166
|
return;
|
|
1167
1167
|
}
|
|
1168
1168
|
if (y.type.startsWith("/system/"))
|
|
@@ -1189,13 +1189,13 @@ const L8 = ({ children: e }) => {
|
|
|
1189
1189
|
break;
|
|
1190
1190
|
case "/system/roomCombinationChanged": {
|
|
1191
1191
|
console.log("event message received", y);
|
|
1192
|
-
const q =
|
|
1192
|
+
const q = k.current[y.type];
|
|
1193
1193
|
q || (console.log(
|
|
1194
1194
|
"no handlers found for room combination changed. Reloading application.",
|
|
1195
1195
|
y.type
|
|
1196
|
-
), window.location.reload()), q && Object.values(q).forEach((
|
|
1196
|
+
), window.location.reload()), q && Object.values(q).forEach((W) => {
|
|
1197
1197
|
try {
|
|
1198
|
-
|
|
1198
|
+
W(y);
|
|
1199
1199
|
} catch (K) {
|
|
1200
1200
|
console.error(K);
|
|
1201
1201
|
}
|
|
@@ -1208,10 +1208,10 @@ const L8 = ({ children: e }) => {
|
|
|
1208
1208
|
}
|
|
1209
1209
|
else if (y.type.startsWith("/event/")) {
|
|
1210
1210
|
console.log("event message received", y);
|
|
1211
|
-
const q =
|
|
1212
|
-
q || console.log("no handlers found for event type", y.type), q && Object.values(q).forEach((
|
|
1211
|
+
const q = k.current[y.type];
|
|
1212
|
+
q || console.log("no handlers found for event type", y.type), q && Object.values(q).forEach((W) => {
|
|
1213
1213
|
try {
|
|
1214
|
-
|
|
1214
|
+
W(y);
|
|
1215
1215
|
} catch (K) {
|
|
1216
1216
|
console.error(K);
|
|
1217
1217
|
}
|
|
@@ -1222,15 +1222,15 @@ const L8 = ({ children: e }) => {
|
|
|
1222
1222
|
}
|
|
1223
1223
|
};
|
|
1224
1224
|
}
|
|
1225
|
-
return
|
|
1225
|
+
return D(), console.log("App mode: production"), console.log("Is dev mode: false"), () => {
|
|
1226
1226
|
I.current && (console.log("closing websocket dev mode"), I.current.close(4100, "app running in dev mode"), I.current = null);
|
|
1227
1227
|
};
|
|
1228
1228
|
}, [
|
|
1229
1229
|
a.apiPath,
|
|
1230
1230
|
Q,
|
|
1231
1231
|
t,
|
|
1232
|
-
|
|
1233
|
-
|
|
1232
|
+
T,
|
|
1233
|
+
v
|
|
1234
1234
|
]), n1(() => {
|
|
1235
1235
|
!r || !c || (console.log("clientId: ", i), i && (console.log("requesting status from room: ", r), $(`/room/${r}/status`, null)));
|
|
1236
1236
|
}, [r, i, c, $]), /* @__PURE__ */ s.jsx(
|
|
@@ -1246,17 +1246,17 @@ const L8 = ({ children: e }) => {
|
|
|
1246
1246
|
children: c ? e : /* @__PURE__ */ s.jsx(E8, {})
|
|
1247
1247
|
}
|
|
1248
1248
|
);
|
|
1249
|
-
},
|
|
1249
|
+
}, fe = ({ children: e }) => /* @__PURE__ */ s.jsx(i2, { store: m, children: /* @__PURE__ */ s.jsx(L8, { children: e }) });
|
|
1250
1250
|
function b() {
|
|
1251
|
-
return
|
|
1251
|
+
return v2(I3);
|
|
1252
1252
|
}
|
|
1253
|
-
function
|
|
1253
|
+
function T8({
|
|
1254
1254
|
onPress: e,
|
|
1255
1255
|
onRelease: t,
|
|
1256
1256
|
onHold: o,
|
|
1257
1257
|
holdTimeMs: c = 500
|
|
1258
1258
|
}) {
|
|
1259
|
-
const r =
|
|
1259
|
+
const r = h1(null), i = h1(!1);
|
|
1260
1260
|
function d() {
|
|
1261
1261
|
i.current = !0, e == null || e(), r.current = setTimeout(() => {
|
|
1262
1262
|
o == null || o(), r.current = null;
|
|
@@ -1274,8 +1274,8 @@ function D8({
|
|
|
1274
1274
|
onPointerLeave: g
|
|
1275
1275
|
};
|
|
1276
1276
|
}
|
|
1277
|
-
function
|
|
1278
|
-
const { sendMessage: c } = b(), r =
|
|
1277
|
+
function h(e, t) {
|
|
1278
|
+
const { sendMessage: c } = b(), r = h1(null);
|
|
1279
1279
|
function i() {
|
|
1280
1280
|
c(`${e}/${t}`, { value: "pressed" }), r.current || (r.current = setInterval(() => {
|
|
1281
1281
|
c(`${e}/${t}`, { value: "held" });
|
|
@@ -1284,27 +1284,27 @@ function v(e, t) {
|
|
|
1284
1284
|
function d() {
|
|
1285
1285
|
r.current && (clearInterval(r.current), r.current = null), c(`${e}/${t}`, { value: "released" });
|
|
1286
1286
|
}
|
|
1287
|
-
return
|
|
1287
|
+
return T8({ onPress: i, onRelease: d });
|
|
1288
1288
|
}
|
|
1289
1289
|
function R3(e, t) {
|
|
1290
|
-
const { sendMessage: o, sendSimpleMessage: c } = b(), r =
|
|
1290
|
+
const { sendMessage: o, sendSimpleMessage: c } = b(), r = h(`${e}`, "volumeUp"), i = h(`${e}`, "volumeDown");
|
|
1291
1291
|
return t ? {
|
|
1292
1292
|
volumeState: t,
|
|
1293
1293
|
volumeUp: r,
|
|
1294
1294
|
volumeDown: i,
|
|
1295
|
-
setLevel: (
|
|
1295
|
+
setLevel: (v) => c(`${e}/level`, v),
|
|
1296
1296
|
muteToggle: () => o(`${e}/muteToggle`, null),
|
|
1297
1297
|
muteOn: () => o(`${e}/muteOn`, null),
|
|
1298
1298
|
muteOff: () => o(`${e}/muteOff`, null)
|
|
1299
1299
|
} : void 0;
|
|
1300
1300
|
}
|
|
1301
|
-
function
|
|
1302
|
-
const { sendMessage: o, sendSimpleMessage: c } = b(), r =
|
|
1301
|
+
function pe(e, t) {
|
|
1302
|
+
const { sendMessage: o, sendSimpleMessage: c } = b(), r = h(`${e}`, "volumeUp"), i = h(`${e}`, "volumeDown");
|
|
1303
1303
|
return t ? {
|
|
1304
1304
|
volumeState: t,
|
|
1305
1305
|
volumeUp: r,
|
|
1306
1306
|
volumeDown: i,
|
|
1307
|
-
setLevel: (
|
|
1307
|
+
setLevel: (v) => c(`${e}/level`, v),
|
|
1308
1308
|
muteToggle: () => o(`${e}/muteToggle`, null),
|
|
1309
1309
|
muteOn: () => o(`${e}/muteOn`, null),
|
|
1310
1310
|
muteOff: () => o(`${e}/muteOff`, null)
|
|
@@ -1324,7 +1324,7 @@ function y3(e) {
|
|
|
1324
1324
|
t(`/device/${e}/powerToggle`, null);
|
|
1325
1325
|
} };
|
|
1326
1326
|
}
|
|
1327
|
-
function
|
|
1327
|
+
function V1(e) {
|
|
1328
1328
|
const { sendMessage: t } = b(), o = E(e);
|
|
1329
1329
|
return console.log("deviceState", o), o ? { itemsState: o, selectItem: (r) => {
|
|
1330
1330
|
t(`/device/${e}/${r}`, null);
|
|
@@ -1341,8 +1341,8 @@ function A8(e) {
|
|
|
1341
1341
|
};
|
|
1342
1342
|
return o ? { levelControls: o.levelControls, setDefaultChannelLevels: c, getFullStatus: r } : void 0;
|
|
1343
1343
|
}
|
|
1344
|
-
function
|
|
1345
|
-
const t = E(e), o = y3(e), c =
|
|
1344
|
+
function we(e) {
|
|
1345
|
+
const t = E(e), o = y3(e), c = V1(e), r = V1(e), i = $8(e), d = A8(e);
|
|
1346
1346
|
if (t)
|
|
1347
1347
|
return {
|
|
1348
1348
|
avrState: t,
|
|
@@ -1353,8 +1353,8 @@ function xe(e) {
|
|
|
1353
1353
|
mainVolumeControl: i
|
|
1354
1354
|
};
|
|
1355
1355
|
}
|
|
1356
|
-
function
|
|
1357
|
-
const { sendMessage: t } = b(), o = `/device/${e}`, c = E(e), r =
|
|
1356
|
+
function xe(e) {
|
|
1357
|
+
const { sendMessage: t } = b(), o = `/device/${e}`, c = E(e), r = h(o, "cameraUp"), i = h(o, "cameraDown"), d = h(o, "cameraLeft"), a = h(o, "cameraRight"), g = h(o, "cameraZoomIn"), x = h(o, "cameraZoomOut"), v = (I) => t("/camera/recallPreset", I);
|
|
1358
1358
|
if (c)
|
|
1359
1359
|
return {
|
|
1360
1360
|
state: c,
|
|
@@ -1364,10 +1364,10 @@ function Me(e) {
|
|
|
1364
1364
|
down: i,
|
|
1365
1365
|
left: d,
|
|
1366
1366
|
right: a,
|
|
1367
|
-
recallPreset:
|
|
1367
|
+
recallPreset: v
|
|
1368
1368
|
};
|
|
1369
1369
|
}
|
|
1370
|
-
const
|
|
1370
|
+
const Me = ({ className: e }) => {
|
|
1371
1371
|
const [t, o] = G();
|
|
1372
1372
|
return n1(() => {
|
|
1373
1373
|
setInterval(() => {
|
|
@@ -1379,7 +1379,7 @@ const me = ({ className: e }) => {
|
|
|
1379
1379
|
" new change"
|
|
1380
1380
|
] });
|
|
1381
1381
|
};
|
|
1382
|
-
function
|
|
1382
|
+
function me(e) {
|
|
1383
1383
|
const { sendMessage: t } = b(), o = E(e), c = `/device/${e}`;
|
|
1384
1384
|
return o ? { state: o, recallPreset: (d, a) => {
|
|
1385
1385
|
t(`${c}/presets/recall`, { deviceKey: d, preset: a });
|
|
@@ -1387,46 +1387,46 @@ function Ze(e) {
|
|
|
1387
1387
|
t(`${c}/presets/save`, d);
|
|
1388
1388
|
} } : void 0;
|
|
1389
1389
|
}
|
|
1390
|
-
function
|
|
1390
|
+
function Ze(e) {
|
|
1391
1391
|
const t = E(e);
|
|
1392
1392
|
if (t)
|
|
1393
1393
|
return { endpointState: t };
|
|
1394
1394
|
}
|
|
1395
|
-
function
|
|
1396
|
-
const t = `/device/${e}`, o =
|
|
1395
|
+
function je(e) {
|
|
1396
|
+
const t = `/device/${e}`, o = h(t, "chanUp"), c = h(t, "chanDown"), r = h(t, "lastChan"), i = h(t, "guide"), d = h(t, "info"), a = h(t, "exit");
|
|
1397
1397
|
return { channelUp: o, channelDown: c, lastChannel: r, guide: i, info: d, exit: a };
|
|
1398
1398
|
}
|
|
1399
|
-
function
|
|
1400
|
-
const t = `/device/${e}`, o =
|
|
1399
|
+
function Ce(e) {
|
|
1400
|
+
const t = `/device/${e}`, o = h(t, "red"), c = h(t, "green"), r = h(t, "yellow"), i = h(t, "blue");
|
|
1401
1401
|
return { red: o, green: c, yellow: r, blue: i };
|
|
1402
1402
|
}
|
|
1403
|
-
function
|
|
1403
|
+
function Se(e) {
|
|
1404
1404
|
const t = E(e);
|
|
1405
1405
|
if (t)
|
|
1406
1406
|
return {
|
|
1407
1407
|
communicationMonitorState: t
|
|
1408
1408
|
};
|
|
1409
1409
|
}
|
|
1410
|
-
function
|
|
1410
|
+
function be(e) {
|
|
1411
1411
|
const t = E(e);
|
|
1412
1412
|
if (t)
|
|
1413
1413
|
return t.deviceInfo || void 0;
|
|
1414
1414
|
}
|
|
1415
|
-
function
|
|
1416
|
-
const t = `/device/${e}`, o =
|
|
1415
|
+
function Ie(e) {
|
|
1416
|
+
const t = `/device/${e}`, o = h(t, "up"), c = h(t, "down"), r = h(t, "left"), i = h(t, "right"), d = h(t, "select"), a = h(t, "menu"), g = h(t, "exit");
|
|
1417
1417
|
return { up: o, down: c, left: r, right: i, select: d, menu: a, exit: g };
|
|
1418
1418
|
}
|
|
1419
|
-
function
|
|
1419
|
+
function Re(e) {
|
|
1420
1420
|
const { sendMessage: t } = b();
|
|
1421
1421
|
return { recallPreset: (c) => {
|
|
1422
1422
|
t(`/device/${e}/recallPreset`, c);
|
|
1423
1423
|
} };
|
|
1424
1424
|
}
|
|
1425
|
-
function
|
|
1426
|
-
const t = `/device/${e}`, o =
|
|
1425
|
+
function ye(e) {
|
|
1426
|
+
const t = `/device/${e}`, o = h(t, "dvrList"), c = h(t, "record");
|
|
1427
1427
|
return { dvrList: o, record: c };
|
|
1428
1428
|
}
|
|
1429
|
-
function
|
|
1429
|
+
function Ee(e) {
|
|
1430
1430
|
const { sendMessage: t } = b(), o = E(e);
|
|
1431
1431
|
return o ? { roomCombinerState: o, setAutoMode: () => {
|
|
1432
1432
|
t(`/device/${e}/setAutoMode`, null);
|
|
@@ -1440,7 +1440,7 @@ function Pe(e) {
|
|
|
1440
1440
|
t(`/device/${e}/setRoomCombinationScenario`, g);
|
|
1441
1441
|
} } : void 0;
|
|
1442
1442
|
}
|
|
1443
|
-
function
|
|
1443
|
+
function De(e) {
|
|
1444
1444
|
const { sendMessage: t } = b(), o = `/device/${e}`, c = E(e);
|
|
1445
1445
|
return c ? {
|
|
1446
1446
|
state: c,
|
|
@@ -1449,41 +1449,41 @@ function Te(e) {
|
|
|
1449
1449
|
}
|
|
1450
1450
|
} : void 0;
|
|
1451
1451
|
}
|
|
1452
|
-
function
|
|
1452
|
+
function Pe(e) {
|
|
1453
1453
|
const t = E(e);
|
|
1454
1454
|
if (t)
|
|
1455
1455
|
return { state: t };
|
|
1456
1456
|
}
|
|
1457
|
-
function
|
|
1457
|
+
function _e(e) {
|
|
1458
1458
|
const { sendMessage: t, sendSimpleMessage: o } = b(), c = E(e), r = K2(e), i = c || r;
|
|
1459
1459
|
return i ? {
|
|
1460
1460
|
levelState: i,
|
|
1461
|
-
setLevel: (
|
|
1462
|
-
muteToggle: (
|
|
1463
|
-
muteOn: (
|
|
1464
|
-
muteOff: (
|
|
1461
|
+
setLevel: (v, I) => o(`${v}/level`, I),
|
|
1462
|
+
muteToggle: (v) => t(`${v}/muteToggle`, null),
|
|
1463
|
+
muteOn: (v) => t(`${v}/muteOn`, null),
|
|
1464
|
+
muteOff: (v) => t(`${v}/muteOff`, null)
|
|
1465
1465
|
} : void 0;
|
|
1466
1466
|
}
|
|
1467
|
-
function
|
|
1467
|
+
function Le(e) {
|
|
1468
1468
|
const { sendMessage: t } = b(), o = E(e);
|
|
1469
1469
|
return o ? { lightingState: o, selectScene: (r) => {
|
|
1470
1470
|
t(`/device/${e}/selectScene`, r);
|
|
1471
1471
|
} } : void 0;
|
|
1472
1472
|
}
|
|
1473
|
-
function
|
|
1473
|
+
function Te(e) {
|
|
1474
1474
|
const { sendMessage: t } = b(), o = E(e);
|
|
1475
1475
|
return o ? { matrixRoutingState: o, setRoute: (r) => {
|
|
1476
1476
|
t(`/device/${e}/route`, r);
|
|
1477
1477
|
} } : void 0;
|
|
1478
1478
|
}
|
|
1479
|
-
function
|
|
1479
|
+
function $e(e) {
|
|
1480
1480
|
const { sendMessage: t } = b();
|
|
1481
1481
|
return { closeApp: () => {
|
|
1482
1482
|
t(`/device/${e}/closeWebViewController`, null);
|
|
1483
1483
|
} };
|
|
1484
1484
|
}
|
|
1485
|
-
function
|
|
1486
|
-
const t = `/device/${e}`, o =
|
|
1485
|
+
function Ae(e) {
|
|
1486
|
+
const t = `/device/${e}`, o = h(t, "num0"), c = h(t, "num1"), r = h(t, "num2"), i = h(t, "num3"), d = h(t, "num4"), a = h(t, "num5"), g = h(t, "num6"), x = h(t, "num7"), v = h(t, "num8"), I = h(t, "num9"), T = h(t, "numDash"), H = h(t, "numEnter");
|
|
1487
1487
|
return {
|
|
1488
1488
|
digit0: o,
|
|
1489
1489
|
digit1: c,
|
|
@@ -1493,9 +1493,9 @@ function Be(e) {
|
|
|
1493
1493
|
digit5: a,
|
|
1494
1494
|
digit6: g,
|
|
1495
1495
|
digit7: x,
|
|
1496
|
-
digit8:
|
|
1496
|
+
digit8: v,
|
|
1497
1497
|
digit9: I,
|
|
1498
|
-
keypadAccessoryButton1:
|
|
1498
|
+
keypadAccessoryButton1: T,
|
|
1499
1499
|
keypadAccessoryButton2: H
|
|
1500
1500
|
};
|
|
1501
1501
|
}
|
|
@@ -1507,7 +1507,7 @@ function Oe(e) {
|
|
|
1507
1507
|
t(`/device/${e}/lower`, null);
|
|
1508
1508
|
} } : void 0;
|
|
1509
1509
|
}
|
|
1510
|
-
function
|
|
1510
|
+
function Be(e) {
|
|
1511
1511
|
const { sendMessage: t } = b(), o = C1(e);
|
|
1512
1512
|
return o ? { roomEventScheduleState: o, save: (r) => {
|
|
1513
1513
|
t(`/room/${e}/saveScheduledEvents`, r);
|
|
@@ -1519,7 +1519,7 @@ function ke(e) {
|
|
|
1519
1519
|
t(`/room/${e}/defaultsource`, {});
|
|
1520
1520
|
} };
|
|
1521
1521
|
}
|
|
1522
|
-
function
|
|
1522
|
+
function Ve(e) {
|
|
1523
1523
|
const { sendMessage: t } = b();
|
|
1524
1524
|
return { runDirectRoute: (c) => {
|
|
1525
1525
|
t(`/room/${e}/directRoute`, c);
|
|
@@ -1531,11 +1531,11 @@ function We(e) {
|
|
|
1531
1531
|
t(`/room/${e}/source`, r);
|
|
1532
1532
|
} };
|
|
1533
1533
|
}
|
|
1534
|
-
function
|
|
1535
|
-
const t = `/device/${e}`, o =
|
|
1534
|
+
function Ue(e) {
|
|
1535
|
+
const t = `/device/${e}`, o = h(t, "chanUp"), c = h(t, "chanDown");
|
|
1536
1536
|
return { dvrList: o, replay: c };
|
|
1537
1537
|
}
|
|
1538
|
-
function
|
|
1538
|
+
function Fe(e) {
|
|
1539
1539
|
const { sendMessage: t } = b(), o = E(e);
|
|
1540
1540
|
return o ? { shadeState: o, shadeUp: () => {
|
|
1541
1541
|
t(`/device/${e}/shadeUp`, null);
|
|
@@ -1545,7 +1545,7 @@ function He(e) {
|
|
|
1545
1545
|
t(`/device/${e}/stopOrPreset`, null);
|
|
1546
1546
|
} } : void 0;
|
|
1547
1547
|
}
|
|
1548
|
-
function
|
|
1548
|
+
function He(e) {
|
|
1549
1549
|
const { sendMessage: t } = b(), o = C1(e);
|
|
1550
1550
|
return o ? { shutdownPromptTimerState: o, setShutdownPromptSeconds: (a) => {
|
|
1551
1551
|
t(`/room/${e}/setShutdownPromptSeconds`, a);
|
|
@@ -1557,7 +1557,7 @@ function Ke(e) {
|
|
|
1557
1557
|
t(`/room/${e}/shutdownCancel`, null);
|
|
1558
1558
|
} } : void 0;
|
|
1559
1559
|
}
|
|
1560
|
-
function
|
|
1560
|
+
function Ke(e) {
|
|
1561
1561
|
const { sendMessage: t } = b(), o = E(e);
|
|
1562
1562
|
return o ? { switchedOutputState: o, on: () => {
|
|
1563
1563
|
t(`/device/${e}/on`, null);
|
|
@@ -1565,7 +1565,7 @@ function Ge(e) {
|
|
|
1565
1565
|
t(`/device/${e}/off`, null);
|
|
1566
1566
|
} } : void 0;
|
|
1567
1567
|
}
|
|
1568
|
-
function
|
|
1568
|
+
function Ge(e) {
|
|
1569
1569
|
const { sendMessage: t } = b(), o = C1(e);
|
|
1570
1570
|
return o ? { techPasswordState: o, validatePassword: (i) => {
|
|
1571
1571
|
t(`/room/${e}/validateTechPassword`, { password: i });
|
|
@@ -1573,11 +1573,11 @@ function qe(e) {
|
|
|
1573
1573
|
t(`/room/${e}/setTechPassword`, { oldPassword: i, newPassword: d });
|
|
1574
1574
|
} } : void 0;
|
|
1575
1575
|
}
|
|
1576
|
-
function
|
|
1576
|
+
function qe(e) {
|
|
1577
1577
|
const { sendMessage: t } = b(), o = E(e);
|
|
1578
1578
|
return o ? { state: o, setTemperatureUnitsToCelcius: () => t(`${e}/setTemperatureUnitsToCelcius`, null), setTemperatureUnitsToFahrenheit: () => t(`${e}/setTemperatureUnitsToFahrenheit`, null) } : void 0;
|
|
1579
1579
|
}
|
|
1580
|
-
function
|
|
1580
|
+
function Ye(e) {
|
|
1581
1581
|
const { sendMessage: t } = b(), o = E(e), c = (r) => {
|
|
1582
1582
|
t(`/device/${e}/saveTheme`, { value: r });
|
|
1583
1583
|
};
|
|
@@ -1586,8 +1586,8 @@ function ze(e) {
|
|
|
1586
1586
|
saveTheme: c
|
|
1587
1587
|
};
|
|
1588
1588
|
}
|
|
1589
|
-
function
|
|
1590
|
-
const t = `/device/${e}`, o =
|
|
1589
|
+
function ze(e) {
|
|
1590
|
+
const t = `/device/${e}`, o = h(t, "play"), c = h(t, "pause"), r = h(t, "stop"), i = h(t, "prevTrack"), d = h(t, "nextTrack"), a = h(t, "rewind"), g = h(t, "ffwd"), x = h(t, "record");
|
|
1591
1591
|
return {
|
|
1592
1592
|
play: o,
|
|
1593
1593
|
pause: c,
|
|
@@ -1599,7 +1599,7 @@ function Je(e) {
|
|
|
1599
1599
|
record: x
|
|
1600
1600
|
};
|
|
1601
1601
|
}
|
|
1602
|
-
function
|
|
1602
|
+
function Je(e) {
|
|
1603
1603
|
const t = E(e), { sendMessage: o } = b();
|
|
1604
1604
|
return t ? {
|
|
1605
1605
|
touchpanelState: t,
|
|
@@ -1615,8 +1615,8 @@ function Xe(e) {
|
|
|
1615
1615
|
} }
|
|
1616
1616
|
} : void 0;
|
|
1617
1617
|
}
|
|
1618
|
-
function
|
|
1619
|
-
const t = E(e), o = y3(e), c =
|
|
1618
|
+
function Xe(e) {
|
|
1619
|
+
const t = E(e), o = y3(e), c = V1(e);
|
|
1620
1620
|
if (!t) return;
|
|
1621
1621
|
const r = (t.powerState || t.isWarming) && !t.isCooling, i = (!t.powerState || t.isCooling) && !t.isWarming;
|
|
1622
1622
|
return {
|
|
@@ -1626,7 +1626,7 @@ function Qe(e) {
|
|
|
1626
1626
|
powerFb: { powerOnFb: r, powerOffFb: i }
|
|
1627
1627
|
};
|
|
1628
1628
|
}
|
|
1629
|
-
const
|
|
1629
|
+
const Qe = ({
|
|
1630
1630
|
config: e
|
|
1631
1631
|
}) => {
|
|
1632
1632
|
const { sendMessage: t } = b();
|
|
@@ -1659,7 +1659,7 @@ const Ne = ({
|
|
|
1659
1659
|
});
|
|
1660
1660
|
}, [e, t]);
|
|
1661
1661
|
};
|
|
1662
|
-
function
|
|
1662
|
+
function Ne(e, t) {
|
|
1663
1663
|
const [o, c] = G(!1), [r, i] = G(!1);
|
|
1664
1664
|
return x3(() => {
|
|
1665
1665
|
const { current: d } = e, a = () => {
|
|
@@ -1669,27 +1669,27 @@ function e5(e, t) {
|
|
|
1669
1669
|
d && a();
|
|
1670
1670
|
}, [e, t]), { overflowHorizontal: o, overflowVertical: r };
|
|
1671
1671
|
}
|
|
1672
|
-
function
|
|
1672
|
+
function e5(e, t) {
|
|
1673
1673
|
const o = H2(e, t), c = `/room/${e}/volumes/${t}`;
|
|
1674
1674
|
return R3(c, o);
|
|
1675
1675
|
}
|
|
1676
|
-
function
|
|
1676
|
+
function t5(e) {
|
|
1677
1677
|
var a, g;
|
|
1678
1678
|
const [t, o] = G(((a = e == null ? void 0 : e.current) == null ? void 0 : a.scrollLeft) ?? 0), [c, r] = G(((g = e == null ? void 0 : e.current) == null ? void 0 : g.scrollTop) ?? 0), i = (x) => {
|
|
1679
|
-
const { current:
|
|
1680
|
-
|
|
1679
|
+
const { current: v } = e;
|
|
1680
|
+
v && (console.log(v.scrollLeft), v.scrollLeft += x, console.log(v.scrollLeft));
|
|
1681
1681
|
}, d = (x) => {
|
|
1682
|
-
const { current:
|
|
1683
|
-
|
|
1682
|
+
const { current: v } = e;
|
|
1683
|
+
v && (console.log(v.scrollTop), v.scrollTop += x, console.log(v.scrollTop));
|
|
1684
1684
|
};
|
|
1685
1685
|
return x3(() => {
|
|
1686
|
-
const { current: x } = e,
|
|
1686
|
+
const { current: x } = e, v = () => {
|
|
1687
1687
|
o((x == null ? void 0 : x.scrollLeft) ?? 0), r((x == null ? void 0 : x.scrollTop) ?? 0);
|
|
1688
1688
|
};
|
|
1689
|
-
x &&
|
|
1689
|
+
x && v();
|
|
1690
1690
|
}, [e]), { horizontalScrollPosition: t, verticalScrollPosition: c, scrollHorizontal: i, scrollVertical: d };
|
|
1691
1691
|
}
|
|
1692
|
-
function
|
|
1692
|
+
function s5() {
|
|
1693
1693
|
const { sendMessage: e } = b();
|
|
1694
1694
|
return {
|
|
1695
1695
|
reboot: () => {
|
|
@@ -1700,7 +1700,7 @@ function o5() {
|
|
|
1700
1700
|
}
|
|
1701
1701
|
};
|
|
1702
1702
|
}
|
|
1703
|
-
function
|
|
1703
|
+
function o5() {
|
|
1704
1704
|
const [e, t] = G(), [o, c] = G();
|
|
1705
1705
|
function r() {
|
|
1706
1706
|
t((/* @__PURE__ */ new Date()).toLocaleDateString("en-US", { dateStyle: "long" }));
|
|
@@ -1715,8 +1715,8 @@ function n5() {
|
|
|
1715
1715
|
return () => clearInterval(i);
|
|
1716
1716
|
}, []), { date: e, time: o };
|
|
1717
1717
|
}
|
|
1718
|
-
const
|
|
1719
|
-
const [e, t] = G(!1), o =
|
|
1718
|
+
const n5 = () => {
|
|
1719
|
+
const [e, t] = G(!1), o = h2(), c = g2();
|
|
1720
1720
|
let r;
|
|
1721
1721
|
return f2(c) ? r = c.statusText : c instanceof Error ? r = c.message : typeof c == "string" ? r = c : (console.error(c), r = "Unknown error"), /* @__PURE__ */ s.jsxs("div", { className: "d-flex flex-column align-items-center gap-5", children: [
|
|
1722
1722
|
/* @__PURE__ */ s.jsx("div", { className: "m-2 p-2 bg-danger rounded d-flex align-items-center", children: /* @__PURE__ */ s.jsx("span", { className: "fs-5 text-white", children: "We are sorry. Something went wrong." }) }),
|
|
@@ -1724,11 +1724,11 @@ const c5 = () => {
|
|
|
1724
1724
|
/* @__PURE__ */ s.jsx("button", { className: "btn btn-primary p-2", onClick: () => t(!e), children: e ? "Hide error message" : "Show error message" }),
|
|
1725
1725
|
e && /* @__PURE__ */ s.jsx("p", { children: r })
|
|
1726
1726
|
] });
|
|
1727
|
-
},
|
|
1728
|
-
iconbtn:
|
|
1729
|
-
iconbtnvert:
|
|
1730
|
-
iconsm:
|
|
1731
|
-
},
|
|
1727
|
+
}, O8 = "_iconbtn_16qss_1", B8 = "_iconbtnvert_16qss_7", k8 = "_iconsm_16qss_18", $1 = {
|
|
1728
|
+
iconbtn: O8,
|
|
1729
|
+
iconbtnvert: B8,
|
|
1730
|
+
iconsm: k8
|
|
1731
|
+
}, V8 = ({
|
|
1732
1732
|
multiIcon: e,
|
|
1733
1733
|
otherContent: t = null,
|
|
1734
1734
|
vert: o = !1,
|
|
@@ -1739,26 +1739,26 @@ const c5 = () => {
|
|
|
1739
1739
|
feedback: a,
|
|
1740
1740
|
feedbackClassName: g,
|
|
1741
1741
|
onPointerDown: x,
|
|
1742
|
-
onPointerUp:
|
|
1742
|
+
onPointerUp: v,
|
|
1743
1743
|
onPointerLeave: I,
|
|
1744
|
-
...
|
|
1744
|
+
...T
|
|
1745
1745
|
}) => {
|
|
1746
|
-
const [H,
|
|
1746
|
+
const [H, k] = G(!1), Q = !d && a ? g : "", r1 = !d && (H || a);
|
|
1747
1747
|
return /* @__PURE__ */ s.jsxs(
|
|
1748
1748
|
"button",
|
|
1749
1749
|
{
|
|
1750
1750
|
type: "button",
|
|
1751
1751
|
className: `${$1.iconbtn} ${o ? $1.iconbtnvert : ""} ${c} ${Q}`,
|
|
1752
|
-
...
|
|
1752
|
+
...T,
|
|
1753
1753
|
disabled: d,
|
|
1754
1754
|
onPointerDown: ($) => {
|
|
1755
|
-
|
|
1755
|
+
k(!0), x == null || x($);
|
|
1756
1756
|
},
|
|
1757
1757
|
onPointerUp: ($) => {
|
|
1758
|
-
|
|
1758
|
+
k(!1), v == null || v($);
|
|
1759
1759
|
},
|
|
1760
1760
|
onPointerLeave: ($) => {
|
|
1761
|
-
|
|
1761
|
+
k(!1), I == null || I($);
|
|
1762
1762
|
},
|
|
1763
1763
|
children: [
|
|
1764
1764
|
e && /* @__PURE__ */ s.jsx(
|
|
@@ -1779,7 +1779,7 @@ const c5 = () => {
|
|
|
1779
1779
|
EnabledImage: o,
|
|
1780
1780
|
active: c,
|
|
1781
1781
|
disabled: r
|
|
1782
|
-
}) => r ? t : c ? e : o,
|
|
1782
|
+
}) => r ? t : c ? e : o, W8 = ({
|
|
1783
1783
|
active: e,
|
|
1784
1784
|
className: t = "",
|
|
1785
1785
|
disabled: o
|
|
@@ -1831,7 +1831,7 @@ const c5 = () => {
|
|
|
1831
1831
|
active: e,
|
|
1832
1832
|
disabled: o
|
|
1833
1833
|
}
|
|
1834
|
-
),
|
|
1834
|
+
), U8 = ({
|
|
1835
1835
|
active: e,
|
|
1836
1836
|
className: t = "",
|
|
1837
1837
|
disabled: o
|
|
@@ -2979,7 +2979,7 @@ const c5 = () => {
|
|
|
2979
2979
|
active: e,
|
|
2980
2980
|
disabled: o
|
|
2981
2981
|
}
|
|
2982
|
-
),
|
|
2982
|
+
), c5 = ({
|
|
2983
2983
|
active: e,
|
|
2984
2984
|
// Just to shut up the linter on this template. Prefer deleting this lint rule
|
|
2985
2985
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
@@ -3043,7 +3043,7 @@ const c5 = () => {
|
|
|
3043
3043
|
active: e,
|
|
3044
3044
|
disabled: o
|
|
3045
3045
|
}
|
|
3046
|
-
),
|
|
3046
|
+
), v6 = ({
|
|
3047
3047
|
active: e,
|
|
3048
3048
|
className: t = "",
|
|
3049
3049
|
disabled: o
|
|
@@ -3092,7 +3092,7 @@ const c5 = () => {
|
|
|
3092
3092
|
active: e,
|
|
3093
3093
|
disabled: o
|
|
3094
3094
|
}
|
|
3095
|
-
),
|
|
3095
|
+
), h6 = ({
|
|
3096
3096
|
active: e,
|
|
3097
3097
|
className: t = "",
|
|
3098
3098
|
disabled: o
|
|
@@ -3387,10 +3387,10 @@ const c5 = () => {
|
|
|
3387
3387
|
disabled: o
|
|
3388
3388
|
}
|
|
3389
3389
|
), M6 = {
|
|
3390
|
-
Alert:
|
|
3390
|
+
Alert: W8,
|
|
3391
3391
|
Camera: F8,
|
|
3392
3392
|
DownArrow: G8,
|
|
3393
|
-
Ban:
|
|
3393
|
+
Ban: U8,
|
|
3394
3394
|
Check: H8,
|
|
3395
3395
|
Controller: K8,
|
|
3396
3396
|
Elipses: q8,
|
|
@@ -3413,74 +3413,61 @@ const c5 = () => {
|
|
|
3413
3413
|
Shade: a6,
|
|
3414
3414
|
Sun: u6,
|
|
3415
3415
|
UpArrow: d6,
|
|
3416
|
-
VolDown:
|
|
3417
|
-
VolMute:
|
|
3416
|
+
VolDown: v6,
|
|
3417
|
+
VolMute: h6,
|
|
3418
3418
|
VolUp: g6,
|
|
3419
3419
|
Wireless: f6,
|
|
3420
3420
|
X: p6,
|
|
3421
3421
|
Xbox: w6
|
|
3422
3422
|
};
|
|
3423
|
-
function
|
|
3423
|
+
function r5({
|
|
3424
3424
|
name: e,
|
|
3425
3425
|
iconsDictionary: t = M6,
|
|
3426
3426
|
...o
|
|
3427
3427
|
}) {
|
|
3428
3428
|
const c = t[e] ?? null;
|
|
3429
|
-
return c || console.error(`Icon ${e} not found in dictionary`), /* @__PURE__ */ s.jsx(
|
|
3429
|
+
return c || console.error(`Icon ${e} not found in dictionary`), /* @__PURE__ */ s.jsx(V8, { multiIcon: c, ...o });
|
|
3430
3430
|
}
|
|
3431
|
-
const m6 = "_grid_1cmpp_1", Z6 = "_header_1cmpp_11", j6 = "_content_1cmpp_17", C6 = "_footer_1cmpp_23", S6 = "_volume_1cmpp_29",
|
|
3431
|
+
const m6 = "_grid_1cmpp_1", Z6 = "_header_1cmpp_11", j6 = "_content_1cmpp_17", C6 = "_footer_1cmpp_23", S6 = "_volume_1cmpp_29", v1 = {
|
|
3432
3432
|
grid: m6,
|
|
3433
3433
|
header: Z6,
|
|
3434
3434
|
content: j6,
|
|
3435
3435
|
footer: C6,
|
|
3436
3436
|
volume: S6
|
|
3437
|
-
},
|
|
3438
|
-
/* @__PURE__ */ s.jsx("div", { className:
|
|
3439
|
-
/* @__PURE__ */ s.jsx("div", { className:
|
|
3440
|
-
r && /* @__PURE__ */ s.jsx("div", { className:
|
|
3441
|
-
/* @__PURE__ */ s.jsx("div", { className:
|
|
3437
|
+
}, l5 = ({ header: e, footer: t, content: o, volume: c, showVolume: r }) => /* @__PURE__ */ s.jsxs("div", { className: v1.grid, children: [
|
|
3438
|
+
/* @__PURE__ */ s.jsx("div", { className: v1.header, children: e }),
|
|
3439
|
+
/* @__PURE__ */ s.jsx("div", { className: v1.content, children: o }),
|
|
3440
|
+
r && /* @__PURE__ */ s.jsx("div", { className: v1.volume, children: c }),
|
|
3441
|
+
/* @__PURE__ */ s.jsx("div", { className: v1.footer, children: t })
|
|
3442
3442
|
] }), b6 = "_grid_11w5q_1", I6 = "_header_11w5q_11", R6 = "_content_11w5q_17", Z1 = {
|
|
3443
3443
|
grid: b6,
|
|
3444
3444
|
header: I6,
|
|
3445
3445
|
content: R6
|
|
3446
|
-
},
|
|
3446
|
+
}, i5 = ({ className: e, header: t, content: o, leftNav: c }) => /* @__PURE__ */ s.jsxs("div", { className: `${e} ${Z1.grid}`, children: [
|
|
3447
3447
|
/* @__PURE__ */ s.jsx("div", { className: Z1.header, children: t }),
|
|
3448
3448
|
c && /* @__PURE__ */ s.jsx("div", { className: Z1.leftNav, children: c }),
|
|
3449
3449
|
/* @__PURE__ */ s.jsx("div", { className: Z1.content, children: o })
|
|
3450
|
-
] }), y6 = "_grid_1uwfo_1", E6 = "_header_1uwfo_11",
|
|
3450
|
+
] }), y6 = "_grid_1uwfo_1", E6 = "_header_1uwfo_11", D6 = "_content_1uwfo_17", A1 = {
|
|
3451
3451
|
grid: y6,
|
|
3452
3452
|
header: E6,
|
|
3453
|
-
content:
|
|
3454
|
-
},
|
|
3453
|
+
content: D6
|
|
3454
|
+
}, a5 = ({ className: e, header: t, content: o }) => /* @__PURE__ */ s.jsxs("div", { className: `${e} ${A1.grid}`, children: [
|
|
3455
3455
|
/* @__PURE__ */ s.jsx("div", { className: A1.header, children: t }),
|
|
3456
3456
|
/* @__PURE__ */ s.jsx("div", { className: A1.content, children: o })
|
|
3457
3457
|
] });
|
|
3458
|
-
|
|
3459
|
-
return console.log(location.pathname), location.pathname;
|
|
3460
|
-
}
|
|
3461
|
-
var T6 = /* @__PURE__ */ ((e) => (e[e.NotSet = 0] = "NotSet", e[e.Sunday = 1] = "Sunday", e[e.Monday = 2] = "Monday", e[e.Tuesday = 4] = "Tuesday", e[e.Wednesday = 8] = "Wednesday", e[e.Thursday = 16] = "Thursday", e[e.Friday = 32] = "Friday", e[e.Saturday = 64] = "Saturday", e))(T6 || {});
|
|
3462
|
-
class h5 {
|
|
3463
|
-
constructor(t, o) {
|
|
3464
|
-
Y(this, "path");
|
|
3465
|
-
Y(this, "handler");
|
|
3466
|
-
this.path = t, this.handler = o;
|
|
3467
|
-
}
|
|
3468
|
-
}
|
|
3469
|
-
const v5 = "$off";
|
|
3470
|
-
class g5 {
|
|
3458
|
+
class u5 {
|
|
3471
3459
|
constructor() {
|
|
3472
|
-
|
|
3473
|
-
|
|
3474
|
-
|
|
3460
|
+
X(this, "currentShareText");
|
|
3461
|
+
X(this, "enabled");
|
|
3462
|
+
X(this, "isSharing");
|
|
3475
3463
|
}
|
|
3476
3464
|
}
|
|
3477
3465
|
export {
|
|
3478
|
-
|
|
3479
|
-
|
|
3480
|
-
|
|
3481
|
-
|
|
3482
|
-
U8 as
|
|
3483
|
-
W8 as IconMultiBan,
|
|
3466
|
+
Me as Clock,
|
|
3467
|
+
n5 as ErrorBox,
|
|
3468
|
+
V8 as IconButton,
|
|
3469
|
+
W8 as IconMultiAlert,
|
|
3470
|
+
U8 as IconMultiBan,
|
|
3484
3471
|
F8 as IconMultiCamera,
|
|
3485
3472
|
H8 as IconMultiCheck,
|
|
3486
3473
|
K8 as IconMultiController,
|
|
@@ -3504,26 +3491,27 @@ export {
|
|
|
3504
3491
|
i6 as IconMultiRoomPC,
|
|
3505
3492
|
a6 as IconMultiShade,
|
|
3506
3493
|
u6 as IconMultiSun,
|
|
3507
|
-
|
|
3494
|
+
c5 as IconMultiTemplate,
|
|
3508
3495
|
d6 as IconMultiUpArrow,
|
|
3509
|
-
|
|
3510
|
-
|
|
3496
|
+
v6 as IconMultiVolDown,
|
|
3497
|
+
h6 as IconMultiVolMute,
|
|
3511
3498
|
g6 as IconMultiVolUp,
|
|
3512
3499
|
f6 as IconMultiWireless,
|
|
3513
3500
|
p6 as IconMultiX,
|
|
3514
3501
|
w6 as IconMultiXbox,
|
|
3515
|
-
|
|
3516
|
-
|
|
3517
|
-
pe as MobileControlProvider,
|
|
3502
|
+
l5 as MainLayout,
|
|
3503
|
+
fe as MobileControlProvider,
|
|
3518
3504
|
j as MultiStateIconContainer,
|
|
3519
|
-
|
|
3520
|
-
|
|
3521
|
-
|
|
3522
|
-
|
|
3523
|
-
|
|
3524
|
-
|
|
3505
|
+
r5 as NamedIconButton,
|
|
3506
|
+
u5 as ShareState,
|
|
3507
|
+
i5 as TechLayout,
|
|
3508
|
+
a5 as TechPinLayout,
|
|
3509
|
+
p8 as appConfigActions,
|
|
3510
|
+
e1 as devicesActions,
|
|
3511
|
+
k1 as httpClient,
|
|
3525
3512
|
M6 as iconsDictionary,
|
|
3526
|
-
|
|
3513
|
+
t1 as roomsActions,
|
|
3514
|
+
F as runtimeConfigActions,
|
|
3527
3515
|
Z3 as selectAllDevices,
|
|
3528
3516
|
x2 as selectApiPath,
|
|
3529
3517
|
w2 as selectAppConfig,
|
|
@@ -3533,26 +3521,26 @@ export {
|
|
|
3533
3521
|
i8 as selectError,
|
|
3534
3522
|
e8 as selectIsTouchpanel,
|
|
3535
3523
|
M2 as selectLogoPath,
|
|
3536
|
-
|
|
3524
|
+
W1 as selectModalVisibility,
|
|
3537
3525
|
m2 as selectPartnerMetadata,
|
|
3538
|
-
|
|
3539
|
-
|
|
3526
|
+
V2 as selectRoomAdvancedSharingActive,
|
|
3527
|
+
D2 as selectRoomAudioControlPointList,
|
|
3540
3528
|
b2 as selectRoomByKey,
|
|
3541
3529
|
$2 as selectRoomCodecContentDestinationKey,
|
|
3542
3530
|
C2 as selectRoomConfiguration,
|
|
3543
3531
|
_2 as selectRoomDestinationList,
|
|
3544
|
-
|
|
3532
|
+
P2 as selectRoomDestinations,
|
|
3545
3533
|
F2 as selectRoomDisplayStates,
|
|
3546
3534
|
L2 as selectRoomEnvironmentalDevices,
|
|
3547
3535
|
A2 as selectRoomInCall,
|
|
3548
|
-
|
|
3549
|
-
|
|
3550
|
-
|
|
3536
|
+
B2 as selectRoomIsCoolingDown,
|
|
3537
|
+
k2 as selectRoomIsOn,
|
|
3538
|
+
O2 as selectRoomIsWarmingUp,
|
|
3551
3539
|
q2 as selectRoomKey,
|
|
3552
3540
|
y2 as selectRoomLevelControls,
|
|
3553
3541
|
I2 as selectRoomName,
|
|
3554
|
-
|
|
3555
|
-
|
|
3542
|
+
T2 as selectRoomProgramAudioDestinationKey,
|
|
3543
|
+
W2 as selectRoomShareState,
|
|
3556
3544
|
E2 as selectRoomSourceList,
|
|
3557
3545
|
R2 as selectRoomVolume,
|
|
3558
3546
|
S2 as selectRooms,
|
|
@@ -3565,103 +3553,103 @@ export {
|
|
|
3565
3553
|
N2 as selectTouchpanelKey,
|
|
3566
3554
|
J2 as selectUserCode,
|
|
3567
3555
|
G2 as selectWsIsConnected,
|
|
3568
|
-
|
|
3556
|
+
U2 as selectZoomRoomControllerKey,
|
|
3569
3557
|
m as store,
|
|
3570
|
-
|
|
3558
|
+
Y as uiActions,
|
|
3571
3559
|
g8 as uiReducer,
|
|
3572
3560
|
O6 as useApiPath,
|
|
3573
3561
|
Z2 as useAppConfig,
|
|
3574
3562
|
p2 as useAppDispatch,
|
|
3575
3563
|
p as useAppSelector,
|
|
3576
|
-
|
|
3577
|
-
|
|
3578
|
-
|
|
3564
|
+
we as useAvrControl,
|
|
3565
|
+
h as useButtonHeldHeartbeat,
|
|
3566
|
+
xe as useCameraBase,
|
|
3579
3567
|
s8 as useClientId,
|
|
3580
3568
|
$8 as useDeviceIBasicVolumeWithFeedback,
|
|
3581
|
-
|
|
3582
|
-
|
|
3569
|
+
me as useDevicePresetsModel,
|
|
3570
|
+
Ze as useEndpoint,
|
|
3583
3571
|
d8 as useError,
|
|
3584
|
-
|
|
3585
|
-
|
|
3586
|
-
|
|
3572
|
+
Qe as useGetAllDeviceStateFromRoomConfiguration,
|
|
3573
|
+
V6 as useGetAllDevices,
|
|
3574
|
+
U6 as useGetAllRooms,
|
|
3587
3575
|
ve as useGetCurrentPopoverIdForGroup,
|
|
3588
3576
|
E as useGetDevice,
|
|
3589
|
-
|
|
3590
|
-
|
|
3591
|
-
|
|
3592
|
-
|
|
3577
|
+
pe as useGetIBasicVolumeWithFeedback,
|
|
3578
|
+
F6 as useGetRoom,
|
|
3579
|
+
ne as useGetRoomDisplayStates,
|
|
3580
|
+
ce as useGetZoomRoomControllerKey,
|
|
3593
3581
|
R3 as useIBasicVolumeWithFeedback,
|
|
3594
|
-
|
|
3595
|
-
|
|
3596
|
-
|
|
3597
|
-
|
|
3598
|
-
|
|
3599
|
-
|
|
3600
|
-
|
|
3601
|
-
|
|
3602
|
-
|
|
3582
|
+
je as useIChannel,
|
|
3583
|
+
Ce as useIColor,
|
|
3584
|
+
Se as useICommunicationMonitor,
|
|
3585
|
+
Ie as useIDPad,
|
|
3586
|
+
be as useIDeviceInfoMessenger,
|
|
3587
|
+
Re as useIDspPresets,
|
|
3588
|
+
ye as useIDvr,
|
|
3589
|
+
Ee as useIEssentialsRoomCombiner,
|
|
3590
|
+
De as useIHasCameras,
|
|
3603
3591
|
y3 as useIHasPowerControl,
|
|
3604
|
-
|
|
3605
|
-
|
|
3606
|
-
|
|
3607
|
-
|
|
3608
|
-
|
|
3609
|
-
|
|
3610
|
-
|
|
3592
|
+
V1 as useIHasSelectableItems,
|
|
3593
|
+
Pe as useIHumiditySensor,
|
|
3594
|
+
_e as useILevelControls,
|
|
3595
|
+
Le as useILightingScenes,
|
|
3596
|
+
Te as useIMatrixRouting,
|
|
3597
|
+
$e as useIMcCiscoCodecUserInterfaceAppControl,
|
|
3598
|
+
Ae as useINumeric,
|
|
3611
3599
|
Oe as useIProjectorScreenLiftControl,
|
|
3612
|
-
|
|
3600
|
+
Be as useIRoomEventSchedule,
|
|
3613
3601
|
ke as useIRunDefaultPresentRoute,
|
|
3614
|
-
|
|
3602
|
+
Ve as useIRunDirectRouteAction,
|
|
3615
3603
|
We as useIRunRouteAction,
|
|
3616
|
-
|
|
3617
|
-
|
|
3618
|
-
|
|
3619
|
-
|
|
3620
|
-
|
|
3621
|
-
|
|
3622
|
-
|
|
3623
|
-
|
|
3604
|
+
Ue as useISetTopBoxControls,
|
|
3605
|
+
Fe as useIShadesOpenCloseStop,
|
|
3606
|
+
He as useIShutdownPromptTimer,
|
|
3607
|
+
Ke as useISwitchedOutput,
|
|
3608
|
+
Ge as useITechPassword,
|
|
3609
|
+
qe as useITemperatureSensor,
|
|
3610
|
+
Ye as useITheme,
|
|
3611
|
+
ze as useITransport,
|
|
3624
3612
|
C8 as useInitialize,
|
|
3625
|
-
|
|
3626
|
-
|
|
3627
|
-
|
|
3628
|
-
|
|
3613
|
+
ie as useIsTouchpanel,
|
|
3614
|
+
B6 as useLogoPath,
|
|
3615
|
+
Je as useMobileControlTouchpanelController,
|
|
3616
|
+
Ne as useOverflow,
|
|
3629
3617
|
k6 as usePartnerMetadata,
|
|
3630
|
-
|
|
3631
|
-
|
|
3632
|
-
|
|
3633
|
-
|
|
3618
|
+
T8 as usePressHoldRelease,
|
|
3619
|
+
se as useRoomAdvancedSharingActive,
|
|
3620
|
+
G6 as useRoomAudioControlPointList,
|
|
3621
|
+
X6 as useRoomCodecContentDestinationKey,
|
|
3634
3622
|
W6 as useRoomConfiguration,
|
|
3635
|
-
|
|
3636
|
-
|
|
3637
|
-
|
|
3638
|
-
|
|
3639
|
-
|
|
3640
|
-
|
|
3641
|
-
|
|
3642
|
-
|
|
3623
|
+
Y6 as useRoomDestinationList,
|
|
3624
|
+
q6 as useRoomDestinations,
|
|
3625
|
+
z6 as useRoomEnvironmentalDevices,
|
|
3626
|
+
e5 as useRoomIBasicVolumeWithFeedback,
|
|
3627
|
+
Q6 as useRoomInCall,
|
|
3628
|
+
ee as useRoomIsCoolingDown,
|
|
3629
|
+
te as useRoomIsOn,
|
|
3630
|
+
N6 as useRoomIsWarmingUp,
|
|
3643
3631
|
t8 as useRoomKey,
|
|
3644
3632
|
K2 as useRoomLevelControls,
|
|
3645
|
-
|
|
3646
|
-
|
|
3647
|
-
|
|
3648
|
-
|
|
3633
|
+
H6 as useRoomName,
|
|
3634
|
+
J6 as useRoomProgramAudioDestinationKey,
|
|
3635
|
+
oe as useRoomShareState,
|
|
3636
|
+
K6 as useRoomSourceList,
|
|
3649
3637
|
C1 as useRoomState,
|
|
3650
3638
|
H2 as useRoomVolume,
|
|
3651
|
-
|
|
3652
|
-
|
|
3639
|
+
re as useRuntimeInfo,
|
|
3640
|
+
t5 as useScroll,
|
|
3653
3641
|
c8 as useServerIsRunningOnProcessorHardware,
|
|
3654
|
-
|
|
3655
|
-
|
|
3656
|
-
|
|
3657
|
-
|
|
3658
|
-
|
|
3659
|
-
|
|
3642
|
+
ue as useShowIncomingCallModal,
|
|
3643
|
+
de as useShowModal,
|
|
3644
|
+
he as useShowPopoverById,
|
|
3645
|
+
v8 as useShowReconnect,
|
|
3646
|
+
ae as useShowShutdownModal,
|
|
3647
|
+
s5 as useSystemControl,
|
|
3660
3648
|
o8 as useSystemUuid,
|
|
3661
|
-
|
|
3662
|
-
|
|
3663
|
-
|
|
3664
|
-
|
|
3649
|
+
ge as useTheme,
|
|
3650
|
+
o5 as useTimeAndDate,
|
|
3651
|
+
le as useTouchpanelKey,
|
|
3652
|
+
Xe as useTwoWayDisplayBase,
|
|
3665
3653
|
n8 as useUserCode,
|
|
3666
3654
|
b as useWebsocketContext,
|
|
3667
3655
|
j3 as useWsIsConnected
|