@pepperdash/mobile-control-react-app-core 1.6.0 → 1.8.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.
Files changed (39) hide show
  1. package/dist/mobile-control-react-app-core.es.js +978 -915
  2. package/dist/mobile-control-react-app-core.umd.js +11 -11
  3. package/dist/shared/hooks/index.d.ts +1 -0
  4. package/dist/shared/hooks/index.d.ts.map +1 -1
  5. package/dist/shared/hooks/interfaces/index.d.ts +4 -0
  6. package/dist/shared/hooks/interfaces/index.d.ts.map +1 -1
  7. package/dist/shared/hooks/interfaces/useIEssentialsRoomCombiner.d.ts +11 -0
  8. package/dist/shared/hooks/interfaces/useIEssentialsRoomCombiner.d.ts.map +1 -0
  9. package/dist/shared/hooks/interfaces/useIMcCiscoCodecUserInterfaceAppControl.d.ts +4 -0
  10. package/dist/shared/hooks/interfaces/useIMcCiscoCodecUserInterfaceAppControl.d.ts.map +1 -0
  11. package/dist/shared/hooks/interfaces/useIProjectorScreenLiftControl.d.ts +8 -0
  12. package/dist/shared/hooks/interfaces/useIProjectorScreenLiftControl.d.ts.map +1 -0
  13. package/dist/shared/hooks/interfaces/useIShutdownPromptTimer.d.ts +1 -0
  14. package/dist/shared/hooks/interfaces/useIShutdownPromptTimer.d.ts.map +1 -1
  15. package/dist/shared/hooks/interfaces/useITechPassword.d.ts +12 -0
  16. package/dist/shared/hooks/interfaces/useITechPassword.d.ts.map +1 -0
  17. package/dist/shared/hooks/useGetDeviceStateFromRoomConfiguration.d.ts +3 -1
  18. package/dist/shared/hooks/useGetDeviceStateFromRoomConfiguration.d.ts.map +1 -1
  19. package/dist/shared/hooks/useTimeAndDate.d.ts +5 -0
  20. package/dist/shared/hooks/useTimeAndDate.d.ts.map +1 -0
  21. package/dist/shared/layout/ErrorBox.d.ts.map +1 -1
  22. package/dist/store/rooms/rooms.slice.d.ts +6 -8
  23. package/dist/store/rooms/rooms.slice.d.ts.map +1 -1
  24. package/dist/types/state/state/IEssentialsRoomCombinerState.d.ts +25 -0
  25. package/dist/types/state/state/IEssentialsRoomCombinerState.d.ts.map +1 -0
  26. package/dist/types/state/state/IProjectorScreenLiftControlState.d.ts +7 -0
  27. package/dist/types/state/state/IProjectorScreenLiftControlState.d.ts.map +1 -0
  28. package/dist/types/state/state/IShutdownPromptTimerState.d.ts +2 -2
  29. package/dist/types/state/state/IShutdownPromptTimerState.d.ts.map +1 -1
  30. package/dist/types/state/state/ITechPasswordState.d.ts +5 -0
  31. package/dist/types/state/state/ITechPasswordState.d.ts.map +1 -0
  32. package/dist/types/state/state/RoomState.d.ts +3 -1
  33. package/dist/types/state/state/RoomState.d.ts.map +1 -1
  34. package/dist/types/state/state/index.d.ts +3 -0
  35. package/dist/types/state/state/index.d.ts.map +1 -1
  36. package/dist/utils/WebsocketContext.d.ts +2 -2
  37. package/dist/utils/WebsocketContext.d.ts.map +1 -1
  38. package/dist/utils/WebsocketProvider.d.ts.map +1 -1
  39. package/package.json +1 -1
@@ -1,12 +1,13 @@
1
- var U1 = Object.defineProperty;
2
- var H1 = (t, e, r) => e in t ? U1(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
3
- var R = (t, e, r) => (H1(t, typeof e != "symbol" ? e + "" : e, r), r);
1
+ var W1 = Object.defineProperty;
2
+ var H1 = (t, e, o) => e in t ? W1(t, e, { enumerable: !0, configurable: !0, writable: !0, value: o }) : t[e] = o;
3
+ var _ = (t, e, o) => (H1(t, typeof e != "symbol" ? e + "" : e, o), o);
4
4
  import K1 from "axios";
5
- import { createSlice as r3, combineReducers as G1, configureStore as t1, createSelector as q1 } from "@reduxjs/toolkit";
5
+ import { createSlice as s3, 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 n1 from "lodash";
8
- import r1, { createContext as X1, useState as h3, useRef as n3, useCallback as d3, useEffect as t3, useContext as Q1 } from "react";
9
- const N1 = {
7
+ import * as o1 from "lodash";
8
+ import r1, { createContext as X1, useState as q, useRef as r3, useCallback as u3, useEffect as G, useContext as Q1 } from "react";
9
+ import { useNavigate as N1 } from "react-router-dom";
10
+ const e2 = {
10
11
  config: {
11
12
  enableDev: !1,
12
13
  apiPath: "",
@@ -16,41 +17,41 @@ const N1 = {
16
17
  loginMode: "",
17
18
  modes: {}
18
19
  }
19
- }, o1 = r3({
20
+ }, s1 = s3({
20
21
  name: "appConfig",
21
- initialState: N1,
22
+ initialState: e2,
22
23
  reducers: {
23
24
  setAppConfig(t, e) {
24
25
  t.config = e.payload;
25
26
  }
26
27
  }
27
- }), e2 = o1.actions, t2 = o1.reducer, n2 = {}, s1 = r3({
28
+ }), t2 = s1.actions, n2 = s1.reducer, o2 = {}, c1 = s3({
28
29
  name: "devices",
29
- initialState: n2,
30
+ initialState: o2,
30
31
  reducers: {
31
32
  setDeviceState(t, e) {
32
- const r = e.payload.type, s = r.slice(r.lastIndexOf("/") + 1);
33
+ const o = e.payload.type, s = o.slice(o.lastIndexOf("/") + 1);
33
34
  if (!s)
34
35
  return;
35
- const l = e.payload.content, a = t[s] ?? {}, d = n1.merge(a, l);
36
+ const l = e.payload.content, i = t[s] ?? {}, d = o1.merge(i, l);
36
37
  return t[s] = d, t;
37
38
  }
38
39
  }
39
- }), r2 = s1.actions, o2 = s1.reducer, s2 = {}, c1 = r3({
40
+ }), r2 = c1.actions, s2 = c1.reducer, c2 = {}, l1 = s3({
40
41
  name: "rooms",
41
- initialState: s2,
42
+ initialState: c2,
42
43
  reducers: {
43
44
  setRoomState(t, e) {
44
- const r = e.payload.type, s = r.slice(r.lastIndexOf("/") + 1);
45
- if (console.log(r, s), !s)
45
+ const o = e.payload.type, s = o.slice(o.lastIndexOf("/") + 1);
46
+ if (console.log(o, s), !s)
46
47
  return;
47
48
  const l = e.payload.content;
48
49
  console.log(l);
49
- const a = t[s] ?? {}, d = n1.merge(a, l);
50
+ const i = t[s] ?? {}, d = o1.merge(i, l);
50
51
  return t[s] = d, console.log(t), t;
51
52
  }
52
53
  }
53
- }), c2 = c1.actions, l2 = c1.reducer, i2 = {
54
+ }), l2 = l1.actions, i2 = l1.reducer, a2 = {
54
55
  apiVersion: "",
55
56
  serverIsRunningOnProcessorHardware: !1,
56
57
  websocket: {
@@ -69,9 +70,9 @@ const N1 = {
69
70
  userCode: "",
70
71
  qrUrl: ""
71
72
  }
72
- }, l1 = r3({
73
+ }, i1 = s3({
73
74
  name: "runtimeConfig",
74
- initialState: i2,
75
+ initialState: a2,
75
76
  reducers: {
76
77
  setRuntimeConfig(t, e) {
77
78
  t.apiVersion = e.payload.apiVersion, t.serverIsRunningOnProcessorHardware = e.payload.serverIsRunningOnProcessorHardware;
@@ -95,15 +96,15 @@ const N1 = {
95
96
  t.roomData.userCode = e.payload.userCode, t.roomData.qrUrl = e.payload.qrUrl;
96
97
  }
97
98
  }
98
- }), K = l1.actions, a2 = l1.reducer, u2 = {
99
+ }), K = i1.actions, u2 = i1.reducer, d2 = {
99
100
  modalVisibility: {
100
101
  showShutdownModal: !1,
101
102
  showIncomingCallModal: !1
102
103
  },
103
104
  popoverVisibility: {}
104
- }, i1 = r3({
105
+ }, a1 = s3({
105
106
  name: "ui",
106
- initialState: u2,
107
+ initialState: d2,
107
108
  reducers: {
108
109
  clearAllModals(t) {
109
110
  Object.entries(t.modalVisibility).forEach(([e]) => {
@@ -120,142 +121,142 @@ const N1 = {
120
121
  t.modalVisibility.showIncomingCallModal = e.payload;
121
122
  },
122
123
  setPopoverState(t, e) {
123
- t.popoverVisibility[e.payload.popoverGroup] || (t.popoverVisibility[e.payload.popoverGroup] = {}), Object.entries(t.popoverVisibility[e.payload.popoverGroup]).forEach(([r]) => {
124
- t.popoverVisibility[e.payload.popoverGroup][r] = !1;
124
+ t.popoverVisibility[e.payload.popoverGroup] || (t.popoverVisibility[e.payload.popoverGroup] = {}), Object.entries(t.popoverVisibility[e.payload.popoverGroup]).forEach(([o]) => {
125
+ t.popoverVisibility[e.payload.popoverGroup][o] = !1;
125
126
  }), t.popoverVisibility[e.payload.popoverGroup][e.payload.popoverId] = e.payload.value;
126
127
  }
127
128
  }
128
- }), E8 = i1.actions, d2 = i1.reducer, a1 = G1({
129
- appConfig: t2,
130
- runtimeConfig: a2,
131
- rooms: l2,
132
- devices: o2,
133
- ui: d2
134
- }), v2 = t1({
135
- reducer: a1
136
- }), m = Y1, h2 = () => m((t) => t.appConfig.config), _8 = () => m((t) => t.appConfig.config.apiPath), g2 = () => m((t) => t.devices);
137
- function $(t) {
138
- return m((e) => e.devices[t] ? e.devices[t] : void 0);
129
+ }), L8 = a1.actions, v2 = a1.reducer, u1 = G1({
130
+ appConfig: n2,
131
+ runtimeConfig: u2,
132
+ rooms: i2,
133
+ devices: s2,
134
+ ui: v2
135
+ }), h2 = n1({
136
+ reducer: u1
137
+ }), Z = Y1, g2 = () => Z((t) => t.appConfig.config), $8 = () => Z((t) => t.appConfig.config.apiPath), f2 = () => Z((t) => t.devices);
138
+ function L(t) {
139
+ return Z((e) => e.devices[t] ? e.devices[t] : void 0);
139
140
  }
140
- const L8 = (t) => m(
141
+ const A8 = (t) => Z(
141
142
  (e) => {
142
- var r;
143
- return e.rooms[t] ? (r = e.rooms[t]) == null ? void 0 : r.configuration : void 0;
143
+ var o;
144
+ return e.rooms[t] ? (o = e.rooms[t]) == null ? void 0 : o.configuration : void 0;
144
145
  }
145
- ), u1 = (t) => m(
146
+ ), R3 = (t) => Z(
146
147
  (e) => e.rooms[t] ? e.rooms[t] : void 0
147
- ), $8 = (t) => m(
148
+ ), T8 = (t) => Z(
148
149
  (e) => {
149
- var r;
150
- return e.rooms[t] ? (r = e.rooms[t]) == null ? void 0 : r.name : void 0;
150
+ var o;
151
+ return e.rooms[t] ? (o = e.rooms[t]) == null ? void 0 : o.name : void 0;
151
152
  }
152
- ), f2 = (t, e) => m(
153
- (r) => {
153
+ ), w2 = (t, e) => Z(
154
+ (o) => {
154
155
  var s;
155
- return r.rooms[t] ? (s = r.rooms[t]) == null ? void 0 : s.volumes[e] : void 0;
156
+ return o.rooms[t] ? (s = o.rooms[t]) == null ? void 0 : s.volumes[e] : void 0;
156
157
  }
157
- ), T8 = (t) => m(
158
+ ), D8 = (t) => Z(
158
159
  (e) => {
159
- var r, s;
160
- return e.rooms[t] ? (s = (r = e.rooms[t]) == null ? void 0 : r.configuration) == null ? void 0 : s.sourceList : void 0;
160
+ var o, s;
161
+ return e.rooms[t] ? (s = (o = e.rooms[t]) == null ? void 0 : o.configuration) == null ? void 0 : s.sourceList : void 0;
161
162
  }
162
- ), A8 = (t) => m(
163
+ ), B8 = (t) => Z(
163
164
  (e) => {
164
- var r, s;
165
- return e.rooms[t] ? (s = (r = e.rooms[t]) == null ? void 0 : r.configuration) == null ? void 0 : s.destinations : void 0;
165
+ var o, s;
166
+ return e.rooms[t] ? (s = (o = e.rooms[t]) == null ? void 0 : o.configuration) == null ? void 0 : s.destinations : void 0;
166
167
  }
167
- ), B8 = (t) => m(
168
+ ), P8 = (t) => Z(
168
169
  (e) => {
169
- var r, s;
170
- return e.rooms[t] ? (s = (r = e.rooms[t]) == null ? void 0 : r.configuration) == null ? void 0 : s.destinationList : void 0;
170
+ var o, s;
171
+ return e.rooms[t] ? (s = (o = e.rooms[t]) == null ? void 0 : o.configuration) == null ? void 0 : s.destinationList : void 0;
171
172
  }
172
- ), D8 = (t) => m(
173
+ ), O8 = (t) => Z(
173
174
  (e) => {
174
- var r, s;
175
- return e.rooms[t] ? (s = (r = e.rooms[t]) == null ? void 0 : r.configuration) == null ? void 0 : s.environmentalDevices : void 0;
175
+ var o, s;
176
+ return e.rooms[t] ? (s = (o = e.rooms[t]) == null ? void 0 : o.configuration) == null ? void 0 : s.environmentalDevices : void 0;
176
177
  }
177
- ), O8 = (t) => m(
178
+ ), V8 = (t) => Z(
178
179
  (e) => {
179
- var r, s, l, a, d, f, u, C;
180
- return (s = (r = e.rooms[t]) == null ? void 0 : r.configuration) != null && s.destinationList.programAudio ? (d = (a = (l = e.rooms[t]) == null ? void 0 : l.configuration) == null ? void 0 : a.destinationList.programAudio) == null ? void 0 : d.sinkKey : ((C = (u = (f = e.rooms[t]) == null ? void 0 : f.configuration) == null ? void 0 : u.destinationList.defaultDisplay) == null ? void 0 : C.sinkKey) || "";
180
+ var o, s, l, i, d, f, u, C;
181
+ return (s = (o = e.rooms[t]) == null ? void 0 : o.configuration) != null && s.destinationList.programAudio ? (d = (i = (l = e.rooms[t]) == null ? void 0 : l.configuration) == null ? void 0 : i.destinationList.programAudio) == null ? void 0 : d.sinkKey : ((C = (u = (f = e.rooms[t]) == null ? void 0 : f.configuration) == null ? void 0 : u.destinationList.defaultDisplay) == null ? void 0 : C.sinkKey) || "";
181
182
  }
182
- ), P8 = (t) => m(
183
+ ), F8 = (t) => Z(
183
184
  (e) => {
184
- var r, s, l;
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;
185
+ var o, s, l;
186
+ return e.rooms[t] ? (l = (s = (o = e.rooms[t]) == null ? void 0 : o.configuration) == null ? void 0 : s.destinationList.codecContent) == null ? void 0 : l.sinkKey : void 0;
186
187
  }
187
- ), V8 = (t) => m(
188
+ ), k8 = (t) => Z(
188
189
  (e) => {
189
- var r;
190
- return e.rooms[t] ? (r = e.rooms[t]) == null ? void 0 : r.isInCall : void 0;
190
+ var o;
191
+ return e.rooms[t] ? (o = e.rooms[t]) == null ? void 0 : o.isInCall : void 0;
191
192
  }
192
- ), k8 = (t) => m(
193
+ ), U8 = (t) => Z(
193
194
  (e) => {
194
- var r;
195
- return e.rooms[t] ? (r = e.rooms[t]) == null ? void 0 : r.isWarmingUp : void 0;
195
+ var o;
196
+ return e.rooms[t] ? (o = e.rooms[t]) == null ? void 0 : o.isWarmingUp : void 0;
196
197
  }
197
- ), F8 = (t) => m(
198
+ ), W8 = (t) => Z(
198
199
  (e) => {
199
- var r;
200
- return e.rooms[t] ? (r = e.rooms[t]) == null ? void 0 : r.isCoolingDown : void 0;
200
+ var o;
201
+ return e.rooms[t] ? (o = e.rooms[t]) == null ? void 0 : o.isCoolingDown : void 0;
201
202
  }
202
- ), W8 = (t) => m(
203
+ ), H8 = (t) => Z(
203
204
  (e) => {
204
- var r;
205
- return e.rooms[t] ? (r = e.rooms[t]) == null ? void 0 : r.isOn : void 0;
205
+ var o;
206
+ return e.rooms[t] ? (o = e.rooms[t]) == null ? void 0 : o.isOn : void 0;
206
207
  }
207
- ), U8 = (t) => m(
208
+ ), K8 = (t) => Z(
208
209
  (e) => {
209
- var r;
210
- return e.rooms[t] ? (r = e.rooms[t]) == null ? void 0 : r.advancedSharingActive : void 0;
210
+ var o;
211
+ return e.rooms[t] ? (o = e.rooms[t]) == null ? void 0 : o.advancedSharingActive : void 0;
211
212
  }
212
- ), H8 = (t) => m(
213
+ ), G8 = (t) => Z(
213
214
  (e) => {
214
- var r;
215
- return e.rooms[t] ? (r = e.rooms[t]) == null ? void 0 : r.share : void 0;
215
+ var o;
216
+ return e.rooms[t] ? (o = e.rooms[t]) == null ? void 0 : o.share : void 0;
216
217
  }
217
- ), K8 = (t) => q1(
218
+ ), q8 = (t) => q1(
218
219
  [
219
- (e, r) => r,
220
- g2,
220
+ (e, o) => o,
221
+ f2,
221
222
  (e) => {
222
- var r, s;
223
- return (s = (r = e.rooms[t]) == null ? void 0 : r.configuration) == null ? void 0 : s.destinations;
223
+ var o, s;
224
+ return (s = (o = e.rooms[t]) == null ? void 0 : o.configuration) == null ? void 0 : s.destinations;
224
225
  }
225
226
  ],
226
- (e, r, s) => {
227
- if (console.log("roomKey", e), console.log("devices", r), console.log("destinations", s), !s)
227
+ (e, o, s) => {
228
+ if (console.log("roomKey", e), console.log("devices", o), console.log("destinations", s), !s)
228
229
  return;
229
230
  const l = Object.entries(s).filter(([d]) => d !== "programAudio" && d !== "codecContent").map(([, d]) => d);
230
- return Object.values(r).filter((d) => Object.values(l).includes(d.key));
231
+ return Object.values(o).filter((d) => Object.values(l).includes(d.key));
231
232
  }
232
- )(v2.getState(), t), G8 = (t) => m(
233
+ )(h2.getState(), t), Y8 = (t) => Z(
233
234
  (e) => {
234
- var r, s;
235
- return e.rooms[t] ? (s = (r = e.rooms[t]) == null ? void 0 : r.configuration) == null ? void 0 : s.zoomRoomControllerKey : void 0;
236
- }
237
- ), w2 = () => m((t) => t.runtimeConfig.websocket.isConnected), p2 = () => m((t) => t.runtimeConfig.roomData.roomKey), x2 = () => m((t) => t.runtimeConfig.roomData.clientId), q8 = () => m((t) => t.ui.modalVisibility.showShutdownModal), Y8 = () => m((t) => t.ui.modalVisibility.showIncomingCallModal), J8 = (t) => m((e) => e.ui.modalVisibility[t]), z8 = (t) => m((e) => {
238
- const r = e.ui.popoverVisibility[t];
239
- if (r)
240
- return Object.keys(r).find((s) => r[s]);
241
- }), X8 = (t, e) => m((r) => {
235
+ var o, s;
236
+ return e.rooms[t] ? (s = (o = e.rooms[t]) == null ? void 0 : o.configuration) == null ? void 0 : s.zoomRoomControllerKey : void 0;
237
+ }
238
+ ), p2 = () => Z((t) => t.runtimeConfig.websocket.isConnected), x2 = () => Z((t) => t.runtimeConfig.roomData.roomKey), M2 = () => Z((t) => t.runtimeConfig.roomData.clientId), J8 = () => Z((t) => t.ui.modalVisibility.showShutdownModal), z8 = () => Z((t) => t.ui.modalVisibility.showIncomingCallModal), X8 = (t) => Z((e) => e.ui.modalVisibility[t]), Q8 = (t) => Z((e) => {
239
+ const o = e.ui.popoverVisibility[t];
240
+ if (o)
241
+ return Object.keys(o).find((s) => o[s]);
242
+ }), N8 = (t, e) => Z((o) => {
242
243
  var s;
243
- return (s = r.ui.popoverVisibility[t]) == null ? void 0 : s[e];
244
- }), k = t1({
245
- reducer: a1
246
- }), M2 = J1, I3 = K1.create();
247
- function m2() {
248
- const t = M2();
244
+ return (s = o.ui.popoverVisibility[t]) == null ? void 0 : s[e];
245
+ }), F = n1({
246
+ reducer: u1
247
+ }), m2 = J1, b3 = K1.create();
248
+ function Z2() {
249
+ const t = m2();
249
250
  return async () => {
250
251
  try {
251
252
  const e = location.pathname.split("/").filter((l) => l.length > 0);
252
253
  e.length >= 5 ? e.length = 5 : e.length = 2;
253
- const r = `/${e.join("/")}`, s = await I3.get("/_local-config/_config.local.json", { baseURL: r });
254
+ const o = `/${e.join("/")}`, s = await b3.get("/_local-config/_config.local.json", { baseURL: o });
254
255
  if (s.status == 200 && s.data) {
255
256
  const l = s.data.apiPath;
256
- t(e2.setAppConfig(s.data));
257
- const a = await I3.get(`${l}/version`);
258
- a.status == 200 && a.data && t(K.setRuntimeConfig(a.data));
257
+ t(t2.setAppConfig(s.data));
258
+ const i = await b3.get(`${l}/version`);
259
+ i.status == 200 && i.data && t(K.setRuntimeConfig(i.data));
259
260
  }
260
261
  } catch (e) {
261
262
  console.error("Error getting config", e);
@@ -263,7 +264,7 @@ function m2() {
263
264
  return !0;
264
265
  };
265
266
  }
266
- var y3 = { exports: {} }, Q = {};
267
+ var I3 = { exports: {} }, t3 = {};
267
268
  /**
268
269
  * @license React
269
270
  * react-jsx-runtime.development.js
@@ -273,91 +274,91 @@ var y3 = { exports: {} }, Q = {};
273
274
  * This source code is licensed under the MIT license found in the
274
275
  * LICENSE file in the root directory of this source tree.
275
276
  */
276
- var Q3;
277
- function Z2() {
278
- return Q3 || (Q3 = 1, process.env.NODE_ENV !== "production" && function() {
279
- var t = r1, e = Symbol.for("react.element"), r = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), f = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), C = Symbol.for("react.suspense"), j = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), T = Symbol.for("react.lazy"), B = Symbol.for("react.offscreen"), V = Symbol.iterator, G = "@@iterator";
280
- function q(o) {
281
- if (o === null || typeof o != "object")
277
+ var N3;
278
+ function j2() {
279
+ return N3 || (N3 = 1, process.env.NODE_ENV !== "production" && function() {
280
+ var t = r1, e = Symbol.for("react.element"), o = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), f = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), C = Symbol.for("react.suspense"), S = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), A = Symbol.for("react.lazy"), D = Symbol.for("react.offscreen"), V = Symbol.iterator, Y = "@@iterator";
281
+ function J(r) {
282
+ if (r === null || typeof r != "object")
282
283
  return null;
283
- var c = V && o[V] || o[G];
284
+ var c = V && r[V] || r[Y];
284
285
  return typeof c == "function" ? c : null;
285
286
  }
286
- var S = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
287
- function g(o) {
287
+ var m = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
288
+ function g(r) {
288
289
  {
289
- for (var c = arguments.length, i = new Array(c > 1 ? c - 1 : 0), v = 1; v < c; v++)
290
- i[v - 1] = arguments[v];
291
- P("error", o, i);
290
+ for (var c = arguments.length, a = new Array(c > 1 ? c - 1 : 0), v = 1; v < c; v++)
291
+ a[v - 1] = arguments[v];
292
+ O("error", r, a);
292
293
  }
293
294
  }
294
- function P(o, c, i) {
295
+ function O(r, c, a) {
295
296
  {
296
- var v = S.ReactDebugCurrentFrame, x = v.getStackAddendum();
297
- x !== "" && (c += "%s", i = i.concat([x]));
298
- var Z = i.map(function(p) {
297
+ var v = m.ReactDebugCurrentFrame, x = v.getStackAddendum();
298
+ x !== "" && (c += "%s", a = a.concat([x]));
299
+ var j = a.map(function(p) {
299
300
  return String(p);
300
301
  });
301
- Z.unshift("Warning: " + c), Function.prototype.apply.call(console[o], console, Z);
302
+ j.unshift("Warning: " + c), Function.prototype.apply.call(console[r], console, j);
302
303
  }
303
304
  }
304
- var Y = !1, _ = !1, o3 = !1, s3 = !1, g3 = !1, c3;
305
- c3 = Symbol.for("react.module.reference");
306
- function g1(o) {
307
- return !!(typeof o == "string" || typeof o == "function" || o === s || o === a || g3 || o === l || o === C || o === j || s3 || o === B || Y || _ || o3 || typeof o == "object" && o !== null && (o.$$typeof === T || o.$$typeof === b || o.$$typeof === d || o.$$typeof === f || o.$$typeof === u || // This needs to include all possible module reference object
305
+ var z = !1, E = !1, X = !1, v3 = !1, h3 = !1, E3;
306
+ E3 = Symbol.for("react.module.reference");
307
+ function g1(r) {
308
+ return !!(typeof r == "string" || typeof r == "function" || r === s || r === i || h3 || r === l || r === C || r === S || v3 || r === D || z || E || X || typeof r == "object" && r !== null && (r.$$typeof === A || r.$$typeof === b || r.$$typeof === d || r.$$typeof === f || r.$$typeof === u || // This needs to include all possible module reference object
308
309
  // types supported by any Flight configuration anywhere since
309
310
  // we don't know which Flight build this will end up being used
310
311
  // with.
311
- o.$$typeof === c3 || o.getModuleId !== void 0));
312
+ r.$$typeof === E3 || r.getModuleId !== void 0));
312
313
  }
313
- function f1(o, c, i) {
314
- var v = o.displayName;
314
+ function f1(r, c, a) {
315
+ var v = r.displayName;
315
316
  if (v)
316
317
  return v;
317
318
  var x = c.displayName || c.name || "";
318
- return x !== "" ? i + "(" + x + ")" : i;
319
+ return x !== "" ? a + "(" + x + ")" : a;
319
320
  }
320
- function E3(o) {
321
- return o.displayName || "Context";
321
+ function _3(r) {
322
+ return r.displayName || "Context";
322
323
  }
323
- function O(o) {
324
- if (o == null)
324
+ function P(r) {
325
+ if (r == null)
325
326
  return null;
326
- if (typeof o.tag == "number" && g("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof o == "function")
327
- return o.displayName || o.name || null;
328
- if (typeof o == "string")
329
- return o;
330
- switch (o) {
327
+ if (typeof r.tag == "number" && g("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof r == "function")
328
+ return r.displayName || r.name || null;
329
+ if (typeof r == "string")
330
+ return r;
331
+ switch (r) {
331
332
  case s:
332
333
  return "Fragment";
333
- case r:
334
+ case o:
334
335
  return "Portal";
335
- case a:
336
+ case i:
336
337
  return "Profiler";
337
338
  case l:
338
339
  return "StrictMode";
339
340
  case C:
340
341
  return "Suspense";
341
- case j:
342
+ case S:
342
343
  return "SuspenseList";
343
344
  }
344
- if (typeof o == "object")
345
- switch (o.$$typeof) {
345
+ if (typeof r == "object")
346
+ switch (r.$$typeof) {
346
347
  case f:
347
- var c = o;
348
- return E3(c) + ".Consumer";
348
+ var c = r;
349
+ return _3(c) + ".Consumer";
349
350
  case d:
350
- var i = o;
351
- return E3(i._context) + ".Provider";
351
+ var a = r;
352
+ return _3(a._context) + ".Provider";
352
353
  case u:
353
- return f1(o, o.render, "ForwardRef");
354
+ return f1(r, r.render, "ForwardRef");
354
355
  case b:
355
- var v = o.displayName || null;
356
- return v !== null ? v : O(o.type) || "Memo";
357
- case T: {
358
- var x = o, Z = x._payload, p = x._init;
356
+ var v = r.displayName || null;
357
+ return v !== null ? v : P(r.type) || "Memo";
358
+ case A: {
359
+ var x = r, j = x._payload, p = x._init;
359
360
  try {
360
- return O(p(Z));
361
+ return P(p(j));
361
362
  } catch {
362
363
  return null;
363
364
  }
@@ -365,101 +366,101 @@ function Z2() {
365
366
  }
366
367
  return null;
367
368
  }
368
- var F = Object.assign, J = 0, _3, L3, $3, T3, A3, B3, D3;
369
+ var k = Object.assign, Q = 0, L3, $3, A3, T3, D3, B3, P3;
369
370
  function O3() {
370
371
  }
371
372
  O3.__reactDisabledLog = !0;
372
373
  function w1() {
373
374
  {
374
- if (J === 0) {
375
- _3 = console.log, L3 = console.info, $3 = console.warn, T3 = console.error, A3 = console.group, B3 = console.groupCollapsed, D3 = console.groupEnd;
376
- var o = {
375
+ if (Q === 0) {
376
+ L3 = console.log, $3 = console.info, A3 = console.warn, T3 = console.error, D3 = console.group, B3 = console.groupCollapsed, P3 = console.groupEnd;
377
+ var r = {
377
378
  configurable: !0,
378
379
  enumerable: !0,
379
380
  value: O3,
380
381
  writable: !0
381
382
  };
382
383
  Object.defineProperties(console, {
383
- info: o,
384
- log: o,
385
- warn: o,
386
- error: o,
387
- group: o,
388
- groupCollapsed: o,
389
- groupEnd: o
384
+ info: r,
385
+ log: r,
386
+ warn: r,
387
+ error: r,
388
+ group: r,
389
+ groupCollapsed: r,
390
+ groupEnd: r
390
391
  });
391
392
  }
392
- J++;
393
+ Q++;
393
394
  }
394
395
  }
395
396
  function p1() {
396
397
  {
397
- if (J--, J === 0) {
398
- var o = {
398
+ if (Q--, Q === 0) {
399
+ var r = {
399
400
  configurable: !0,
400
401
  enumerable: !0,
401
402
  writable: !0
402
403
  };
403
404
  Object.defineProperties(console, {
404
- log: F({}, o, {
405
- value: _3
406
- }),
407
- info: F({}, o, {
405
+ log: k({}, r, {
408
406
  value: L3
409
407
  }),
410
- warn: F({}, o, {
408
+ info: k({}, r, {
411
409
  value: $3
412
410
  }),
413
- error: F({}, o, {
411
+ warn: k({}, r, {
412
+ value: A3
413
+ }),
414
+ error: k({}, r, {
414
415
  value: T3
415
416
  }),
416
- group: F({}, o, {
417
- value: A3
417
+ group: k({}, r, {
418
+ value: D3
418
419
  }),
419
- groupCollapsed: F({}, o, {
420
+ groupCollapsed: k({}, r, {
420
421
  value: B3
421
422
  }),
422
- groupEnd: F({}, o, {
423
- value: D3
423
+ groupEnd: k({}, r, {
424
+ value: P3
424
425
  })
425
426
  });
426
427
  }
427
- J < 0 && g("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
428
+ Q < 0 && g("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
428
429
  }
429
430
  }
430
- var f3 = S.ReactCurrentDispatcher, w3;
431
- function l3(o, c, i) {
431
+ var g3 = m.ReactCurrentDispatcher, f3;
432
+ function c3(r, c, a) {
432
433
  {
433
- if (w3 === void 0)
434
+ if (f3 === void 0)
434
435
  try {
435
436
  throw Error();
436
437
  } catch (x) {
437
438
  var v = x.stack.trim().match(/\n( *(at )?)/);
438
- w3 = v && v[1] || "";
439
+ f3 = v && v[1] || "";
439
440
  }
440
441
  return `
441
- ` + w3 + o;
442
+ ` + f3 + r;
442
443
  }
443
444
  }
444
- var p3 = !1, i3;
445
+ var w3 = !1, l3;
445
446
  {
446
447
  var x1 = typeof WeakMap == "function" ? WeakMap : Map;
447
- i3 = new x1();
448
+ l3 = new x1();
448
449
  }
449
- function P3(o, c) {
450
- if (!o || p3)
450
+ function V3(r, c) {
451
+ if (!r || w3)
451
452
  return "";
452
453
  {
453
- var i = i3.get(o);
454
- if (i !== void 0)
455
- return i;
454
+ var a = l3.get(r);
455
+ if (a !== void 0)
456
+ return a;
456
457
  }
457
458
  var v;
458
- p3 = !0;
459
+ w3 = !0;
459
460
  var x = Error.prepareStackTrace;
460
461
  Error.prepareStackTrace = void 0;
461
- var Z;
462
- Z = f3.current, f3.current = null, w1();
462
+ var j;
463
+ j = g3.current, g3.current = null, w1();
463
464
  try {
464
465
  if (c) {
465
466
  var p = function() {
@@ -472,200 +473,200 @@ function Z2() {
472
473
  }), typeof Reflect == "object" && Reflect.construct) {
473
474
  try {
474
475
  Reflect.construct(p, []);
475
- } catch (A) {
476
- v = A;
476
+ } catch (T) {
477
+ v = T;
477
478
  }
478
- Reflect.construct(o, [], p);
479
+ Reflect.construct(r, [], p);
479
480
  } else {
480
481
  try {
481
482
  p.call();
482
- } catch (A) {
483
- v = A;
483
+ } catch (T) {
484
+ v = T;
484
485
  }
485
- o.call(p.prototype);
486
+ r.call(p.prototype);
486
487
  }
487
488
  } else {
488
489
  try {
489
490
  throw Error();
490
- } catch (A) {
491
- v = A;
491
+ } catch (T) {
492
+ v = T;
492
493
  }
493
- o();
494
- }
495
- } catch (A) {
496
- if (A && v && typeof A.stack == "string") {
497
- for (var w = A.stack.split(`
498
- `), L = v.stack.split(`
499
- `), I = w.length - 1, y = L.length - 1; I >= 1 && y >= 0 && w[I] !== L[y]; )
500
- y--;
501
- for (; I >= 1 && y >= 0; I--, y--)
502
- if (w[I] !== L[y]) {
503
- if (I !== 1 || y !== 1)
494
+ r();
495
+ }
496
+ } catch (T) {
497
+ if (T && v && typeof T.stack == "string") {
498
+ for (var w = T.stack.split(`
499
+ `), $ = v.stack.split(`
500
+ `), I = w.length - 1, R = $.length - 1; I >= 1 && R >= 0 && w[I] !== $[R]; )
501
+ R--;
502
+ for (; I >= 1 && R >= 0; I--, R--)
503
+ if (w[I] !== $[R]) {
504
+ if (I !== 1 || R !== 1)
504
505
  do
505
- if (I--, y--, y < 0 || w[I] !== L[y]) {
506
- var D = `
506
+ if (I--, R--, R < 0 || w[I] !== $[R]) {
507
+ var B = `
507
508
  ` + w[I].replace(" at new ", " at ");
508
- return o.displayName && D.includes("<anonymous>") && (D = D.replace("<anonymous>", o.displayName)), typeof o == "function" && i3.set(o, D), D;
509
+ return r.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", r.displayName)), typeof r == "function" && l3.set(r, B), B;
509
510
  }
510
- while (I >= 1 && y >= 0);
511
+ while (I >= 1 && R >= 0);
511
512
  break;
512
513
  }
513
514
  }
514
515
  } finally {
515
- p3 = !1, f3.current = Z, p1(), Error.prepareStackTrace = x;
516
+ w3 = !1, g3.current = j, p1(), Error.prepareStackTrace = x;
516
517
  }
517
- var H = o ? o.displayName || o.name : "", W = H ? l3(H) : "";
518
- return typeof o == "function" && i3.set(o, W), W;
518
+ var H = r ? r.displayName || r.name : "", U = H ? c3(H) : "";
519
+ return typeof r == "function" && l3.set(r, U), U;
519
520
  }
520
- function M1(o, c, i) {
521
- return P3(o, !1);
521
+ function M1(r, c, a) {
522
+ return V3(r, !1);
522
523
  }
523
- function m1(o) {
524
- var c = o.prototype;
524
+ function m1(r) {
525
+ var c = r.prototype;
525
526
  return !!(c && c.isReactComponent);
526
527
  }
527
- function a3(o, c, i) {
528
- if (o == null)
528
+ function i3(r, c, a) {
529
+ if (r == null)
529
530
  return "";
530
- if (typeof o == "function")
531
- return P3(o, m1(o));
532
- if (typeof o == "string")
533
- return l3(o);
534
- switch (o) {
531
+ if (typeof r == "function")
532
+ return V3(r, m1(r));
533
+ if (typeof r == "string")
534
+ return c3(r);
535
+ switch (r) {
535
536
  case C:
536
- return l3("Suspense");
537
- case j:
538
- return l3("SuspenseList");
537
+ return c3("Suspense");
538
+ case S:
539
+ return c3("SuspenseList");
539
540
  }
540
- if (typeof o == "object")
541
- switch (o.$$typeof) {
541
+ if (typeof r == "object")
542
+ switch (r.$$typeof) {
542
543
  case u:
543
- return M1(o.render);
544
+ return M1(r.render);
544
545
  case b:
545
- return a3(o.type, c, i);
546
- case T: {
547
- var v = o, x = v._payload, Z = v._init;
546
+ return i3(r.type, c, a);
547
+ case A: {
548
+ var v = r, x = v._payload, j = v._init;
548
549
  try {
549
- return a3(Z(x), c, i);
550
+ return i3(j(x), c, a);
550
551
  } catch {
551
552
  }
552
553
  }
553
554
  }
554
555
  return "";
555
556
  }
556
- var z = Object.prototype.hasOwnProperty, V3 = {}, k3 = S.ReactDebugCurrentFrame;
557
- function u3(o) {
558
- if (o) {
559
- var c = o._owner, i = a3(o.type, o._source, c ? c.type : null);
560
- k3.setExtraStackFrame(i);
557
+ var N = Object.prototype.hasOwnProperty, F3 = {}, k3 = m.ReactDebugCurrentFrame;
558
+ function a3(r) {
559
+ if (r) {
560
+ var c = r._owner, a = i3(r.type, r._source, c ? c.type : null);
561
+ k3.setExtraStackFrame(a);
561
562
  } else
562
563
  k3.setExtraStackFrame(null);
563
564
  }
564
- function Z1(o, c, i, v, x) {
565
+ function Z1(r, c, a, v, x) {
565
566
  {
566
- var Z = Function.call.bind(z);
567
- for (var p in o)
568
- if (Z(o, p)) {
567
+ var j = Function.call.bind(N);
568
+ for (var p in r)
569
+ if (j(r, p)) {
569
570
  var w = void 0;
570
571
  try {
571
- if (typeof o[p] != "function") {
572
- var L = Error((v || "React class") + ": " + i + " type `" + p + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof o[p] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
573
- throw L.name = "Invariant Violation", L;
572
+ if (typeof r[p] != "function") {
573
+ var $ = Error((v || "React class") + ": " + a + " type `" + p + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof r[p] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
574
+ throw $.name = "Invariant Violation", $;
574
575
  }
575
- w = o[p](c, p, v, i, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
576
+ w = r[p](c, p, v, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
576
577
  } catch (I) {
577
578
  w = I;
578
579
  }
579
- w && !(w instanceof Error) && (u3(x), g("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", v || "React class", i, p, typeof w), u3(null)), w instanceof Error && !(w.message in V3) && (V3[w.message] = !0, u3(x), g("Failed %s type: %s", i, w.message), u3(null));
580
+ w && !(w instanceof Error) && (a3(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", a, p, typeof w), a3(null)), w instanceof Error && !(w.message in F3) && (F3[w.message] = !0, a3(x), g("Failed %s type: %s", a, w.message), a3(null));
580
581
  }
581
582
  }
582
583
  }
583
584
  var j1 = Array.isArray;
584
- function x3(o) {
585
- return j1(o);
585
+ function p3(r) {
586
+ return j1(r);
586
587
  }
587
- function C1(o) {
588
+ function S1(r) {
588
589
  {
589
- var c = typeof Symbol == "function" && Symbol.toStringTag, i = c && o[Symbol.toStringTag] || o.constructor.name || "Object";
590
- return i;
590
+ var c = typeof Symbol == "function" && Symbol.toStringTag, a = c && r[Symbol.toStringTag] || r.constructor.name || "Object";
591
+ return a;
591
592
  }
592
593
  }
593
- function S1(o) {
594
+ function C1(r) {
594
595
  try {
595
- return F3(o), !1;
596
+ return U3(r), !1;
596
597
  } catch {
597
598
  return !0;
598
599
  }
599
600
  }
600
- function F3(o) {
601
- return "" + o;
601
+ function U3(r) {
602
+ return "" + r;
602
603
  }
603
- function W3(o) {
604
- if (S1(o))
605
- return g("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", C1(o)), F3(o);
604
+ function W3(r) {
605
+ if (C1(r))
606
+ return g("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", S1(r)), U3(r);
606
607
  }
607
- var X = S.ReactCurrentOwner, b1 = {
608
+ var e3 = m.ReactCurrentOwner, b1 = {
608
609
  key: !0,
609
610
  ref: !0,
610
611
  __self: !0,
611
612
  __source: !0
612
- }, U3, H3, M3;
613
- M3 = {};
614
- function I1(o) {
615
- if (z.call(o, "ref")) {
616
- var c = Object.getOwnPropertyDescriptor(o, "ref").get;
613
+ }, H3, K3, x3;
614
+ x3 = {};
615
+ function I1(r) {
616
+ if (N.call(r, "ref")) {
617
+ var c = Object.getOwnPropertyDescriptor(r, "ref").get;
617
618
  if (c && c.isReactWarning)
618
619
  return !1;
619
620
  }
620
- return o.ref !== void 0;
621
+ return r.ref !== void 0;
621
622
  }
622
- function y1(o) {
623
- if (z.call(o, "key")) {
624
- var c = Object.getOwnPropertyDescriptor(o, "key").get;
623
+ function y1(r) {
624
+ if (N.call(r, "key")) {
625
+ var c = Object.getOwnPropertyDescriptor(r, "key").get;
625
626
  if (c && c.isReactWarning)
626
627
  return !1;
627
628
  }
628
- return o.key !== void 0;
629
+ return r.key !== void 0;
629
630
  }
630
- function R1(o, c) {
631
- if (typeof o.ref == "string" && X.current && c && X.current.stateNode !== c) {
632
- var i = O(X.current.type);
633
- M3[i] || (g('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', O(X.current.type), o.ref), M3[i] = !0);
631
+ function R1(r, c) {
632
+ if (typeof r.ref == "string" && e3.current && c && e3.current.stateNode !== c) {
633
+ var a = P(e3.current.type);
634
+ x3[a] || (g('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', P(e3.current.type), r.ref), x3[a] = !0);
634
635
  }
635
636
  }
636
- function E1(o, c) {
637
+ function E1(r, c) {
637
638
  {
638
- var i = function() {
639
- U3 || (U3 = !0, g("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", c));
639
+ var a = function() {
640
+ 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
641
  };
641
- i.isReactWarning = !0, Object.defineProperty(o, "key", {
642
- get: i,
642
+ a.isReactWarning = !0, Object.defineProperty(r, "key", {
643
+ get: a,
643
644
  configurable: !0
644
645
  });
645
646
  }
646
647
  }
647
- function _1(o, c) {
648
+ function _1(r, c) {
648
649
  {
649
- var i = function() {
650
- H3 || (H3 = !0, g("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", c));
650
+ var a = function() {
651
+ 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
652
  };
652
- i.isReactWarning = !0, Object.defineProperty(o, "ref", {
653
- get: i,
653
+ a.isReactWarning = !0, Object.defineProperty(r, "ref", {
654
+ get: a,
654
655
  configurable: !0
655
656
  });
656
657
  }
657
658
  }
658
- var L1 = function(o, c, i, v, x, Z, p) {
659
+ var L1 = function(r, c, a, v, x, j, p) {
659
660
  var w = {
660
661
  // This tag allows us to uniquely identify this as a React Element
661
662
  $$typeof: e,
662
663
  // Built-in properties that belong on the element
663
- type: o,
664
+ type: r,
664
665
  key: c,
665
- ref: i,
666
+ ref: a,
666
667
  props: p,
667
668
  // Record the component responsible for creating this element.
668
- _owner: Z
669
+ _owner: j
669
670
  };
670
671
  return w._store = {}, Object.defineProperty(w._store, "validated", {
671
672
  configurable: !1,
@@ -684,198 +685,198 @@ function Z2() {
684
685
  value: x
685
686
  }), Object.freeze && (Object.freeze(w.props), Object.freeze(w)), w;
686
687
  };
687
- function $1(o, c, i, v, x) {
688
+ function $1(r, c, a, v, x) {
688
689
  {
689
- var Z, p = {}, w = null, L = null;
690
- i !== void 0 && (W3(i), w = "" + i), y1(c) && (W3(c.key), w = "" + c.key), I1(c) && (L = c.ref, R1(c, x));
691
- for (Z in c)
692
- z.call(c, Z) && !b1.hasOwnProperty(Z) && (p[Z] = c[Z]);
693
- if (o && o.defaultProps) {
694
- var I = o.defaultProps;
695
- for (Z in I)
696
- p[Z] === void 0 && (p[Z] = I[Z]);
697
- }
698
- if (w || L) {
699
- var y = typeof o == "function" ? o.displayName || o.name || "Unknown" : o;
700
- w && E1(p, y), L && _1(p, y);
701
- }
702
- return L1(o, w, L, x, v, X.current, p);
690
+ var j, p = {}, w = null, $ = null;
691
+ a !== void 0 && (W3(a), w = "" + a), y1(c) && (W3(c.key), w = "" + c.key), I1(c) && ($ = c.ref, R1(c, x));
692
+ for (j in c)
693
+ N.call(c, j) && !b1.hasOwnProperty(j) && (p[j] = c[j]);
694
+ if (r && r.defaultProps) {
695
+ var I = r.defaultProps;
696
+ for (j in I)
697
+ p[j] === void 0 && (p[j] = I[j]);
698
+ }
699
+ if (w || $) {
700
+ var R = typeof r == "function" ? r.displayName || r.name || "Unknown" : r;
701
+ w && E1(p, R), $ && _1(p, R);
702
+ }
703
+ return L1(r, w, $, x, v, e3.current, p);
703
704
  }
704
705
  }
705
- var m3 = S.ReactCurrentOwner, K3 = S.ReactDebugCurrentFrame;
706
- function U(o) {
707
- if (o) {
708
- var c = o._owner, i = a3(o.type, o._source, c ? c.type : null);
709
- K3.setExtraStackFrame(i);
706
+ var M3 = m.ReactCurrentOwner, G3 = m.ReactDebugCurrentFrame;
707
+ function W(r) {
708
+ if (r) {
709
+ var c = r._owner, a = i3(r.type, r._source, c ? c.type : null);
710
+ G3.setExtraStackFrame(a);
710
711
  } else
711
- K3.setExtraStackFrame(null);
712
+ G3.setExtraStackFrame(null);
712
713
  }
713
- var Z3;
714
- Z3 = !1;
715
- function j3(o) {
716
- return typeof o == "object" && o !== null && o.$$typeof === e;
714
+ var m3;
715
+ m3 = !1;
716
+ function Z3(r) {
717
+ return typeof r == "object" && r !== null && r.$$typeof === e;
717
718
  }
718
- function G3() {
719
+ function q3() {
719
720
  {
720
- if (m3.current) {
721
- var o = O(m3.current.type);
722
- if (o)
721
+ if (M3.current) {
722
+ var r = P(M3.current.type);
723
+ if (r)
723
724
  return `
724
725
 
725
- Check the render method of \`` + o + "`.";
726
+ Check the render method of \`` + r + "`.";
726
727
  }
727
728
  return "";
728
729
  }
729
730
  }
730
- function T1(o) {
731
+ function A1(r) {
731
732
  {
732
- if (o !== void 0) {
733
- var c = o.fileName.replace(/^.*[\\\/]/, ""), i = o.lineNumber;
733
+ if (r !== void 0) {
734
+ var c = r.fileName.replace(/^.*[\\\/]/, ""), a = r.lineNumber;
734
735
  return `
735
736
 
736
- Check your code at ` + c + ":" + i + ".";
737
+ Check your code at ` + c + ":" + a + ".";
737
738
  }
738
739
  return "";
739
740
  }
740
741
  }
741
- var q3 = {};
742
- function A1(o) {
742
+ var Y3 = {};
743
+ function T1(r) {
743
744
  {
744
- var c = G3();
745
+ var c = q3();
745
746
  if (!c) {
746
- var i = typeof o == "string" ? o : o.displayName || o.name;
747
- i && (c = `
747
+ var a = typeof r == "string" ? r : r.displayName || r.name;
748
+ a && (c = `
748
749
 
749
- Check the top-level render call using <` + i + ">.");
750
+ Check the top-level render call using <` + a + ">.");
750
751
  }
751
752
  return c;
752
753
  }
753
754
  }
754
- function Y3(o, c) {
755
+ function J3(r, c) {
755
756
  {
756
- if (!o._store || o._store.validated || o.key != null)
757
+ if (!r._store || r._store.validated || r.key != null)
757
758
  return;
758
- o._store.validated = !0;
759
- var i = A1(c);
760
- if (q3[i])
759
+ r._store.validated = !0;
760
+ var a = T1(c);
761
+ if (Y3[a])
761
762
  return;
762
- q3[i] = !0;
763
+ Y3[a] = !0;
763
764
  var v = "";
764
- o && o._owner && o._owner !== m3.current && (v = " It was passed a child from " + O(o._owner.type) + "."), U(o), g('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', i, v), U(null);
765
+ r && r._owner && r._owner !== M3.current && (v = " It was passed a child from " + P(r._owner.type) + "."), W(r), g('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', a, v), W(null);
765
766
  }
766
767
  }
767
- function J3(o, c) {
768
+ function z3(r, c) {
768
769
  {
769
- if (typeof o != "object")
770
+ if (typeof r != "object")
770
771
  return;
771
- if (x3(o))
772
- for (var i = 0; i < o.length; i++) {
773
- var v = o[i];
774
- j3(v) && Y3(v, c);
772
+ if (p3(r))
773
+ for (var a = 0; a < r.length; a++) {
774
+ var v = r[a];
775
+ Z3(v) && J3(v, c);
775
776
  }
776
- else if (j3(o))
777
- o._store && (o._store.validated = !0);
778
- else if (o) {
779
- var x = q(o);
780
- if (typeof x == "function" && x !== o.entries)
781
- for (var Z = x.call(o), p; !(p = Z.next()).done; )
782
- j3(p.value) && Y3(p.value, c);
777
+ else if (Z3(r))
778
+ r._store && (r._store.validated = !0);
779
+ else if (r) {
780
+ var x = J(r);
781
+ if (typeof x == "function" && x !== r.entries)
782
+ for (var j = x.call(r), p; !(p = j.next()).done; )
783
+ Z3(p.value) && J3(p.value, c);
783
784
  }
784
785
  }
785
786
  }
786
- function B1(o) {
787
+ function D1(r) {
787
788
  {
788
- var c = o.type;
789
+ var c = r.type;
789
790
  if (c == null || typeof c == "string")
790
791
  return;
791
- var i;
792
+ var a;
792
793
  if (typeof c == "function")
793
- i = c.propTypes;
794
+ a = c.propTypes;
794
795
  else if (typeof c == "object" && (c.$$typeof === u || // Note: Memo only checks outer props here.
795
796
  // Inner props are checked in the reconciler.
796
797
  c.$$typeof === b))
797
- i = c.propTypes;
798
+ a = c.propTypes;
798
799
  else
799
800
  return;
800
- if (i) {
801
- var v = O(c);
802
- Z1(i, o.props, "prop", v, o);
803
- } else if (c.PropTypes !== void 0 && !Z3) {
804
- Z3 = !0;
805
- var x = O(c);
801
+ if (a) {
802
+ var v = P(c);
803
+ Z1(a, r.props, "prop", v, r);
804
+ } else if (c.PropTypes !== void 0 && !m3) {
805
+ m3 = !0;
806
+ var x = P(c);
806
807
  g("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", x || "Unknown");
807
808
  }
808
809
  typeof c.getDefaultProps == "function" && !c.getDefaultProps.isReactClassApproved && g("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
809
810
  }
810
811
  }
811
- function D1(o) {
812
+ function B1(r) {
812
813
  {
813
- for (var c = Object.keys(o.props), i = 0; i < c.length; i++) {
814
- var v = c[i];
814
+ for (var c = Object.keys(r.props), a = 0; a < c.length; a++) {
815
+ var v = c[a];
815
816
  if (v !== "children" && v !== "key") {
816
- U(o), g("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", v), U(null);
817
+ W(r), g("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", v), W(null);
817
818
  break;
818
819
  }
819
820
  }
820
- o.ref !== null && (U(o), g("Invalid attribute `ref` supplied to `React.Fragment`."), U(null));
821
+ r.ref !== null && (W(r), g("Invalid attribute `ref` supplied to `React.Fragment`."), W(null));
821
822
  }
822
823
  }
823
- var z3 = {};
824
- function X3(o, c, i, v, x, Z) {
824
+ var X3 = {};
825
+ function Q3(r, c, a, v, x, j) {
825
826
  {
826
- var p = g1(o);
827
+ var p = g1(r);
827
828
  if (!p) {
828
829
  var w = "";
829
- (o === void 0 || typeof o == "object" && o !== null && Object.keys(o).length === 0) && (w += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
830
- var L = T1(x);
831
- L ? w += L : w += G3();
830
+ (r === void 0 || typeof r == "object" && r !== null && Object.keys(r).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.");
831
+ var $ = A1(x);
832
+ $ ? w += $ : w += q3();
832
833
  var I;
833
- o === null ? I = "null" : x3(o) ? I = "array" : o !== void 0 && o.$$typeof === e ? (I = "<" + (O(o.type) || "Unknown") + " />", w = " Did you accidentally export a JSX literal instead of a component?") : I = typeof o, g("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", I, w);
834
+ r === null ? I = "null" : p3(r) ? I = "array" : r !== void 0 && r.$$typeof === e ? (I = "<" + (P(r.type) || "Unknown") + " />", w = " Did you accidentally export a JSX literal instead of a component?") : I = typeof r, g("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", I, w);
834
835
  }
835
- var y = $1(o, c, i, x, Z);
836
- if (y == null)
837
- return y;
836
+ var R = $1(r, c, a, x, j);
837
+ if (R == null)
838
+ return R;
838
839
  if (p) {
839
- var D = c.children;
840
- if (D !== void 0)
840
+ var B = c.children;
841
+ if (B !== void 0)
841
842
  if (v)
842
- if (x3(D)) {
843
- for (var H = 0; H < D.length; H++)
844
- J3(D[H], o);
845
- Object.freeze && Object.freeze(D);
843
+ if (p3(B)) {
844
+ for (var H = 0; H < B.length; H++)
845
+ z3(B[H], r);
846
+ Object.freeze && Object.freeze(B);
846
847
  } else
847
848
  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
849
  else
849
- J3(D, o);
850
- }
851
- if (z.call(c, "key")) {
852
- var W = O(o), A = Object.keys(c).filter(function(W1) {
853
- return W1 !== "key";
854
- }), C3 = A.length > 0 ? "{key: someKey, " + A.join(": ..., ") + ": ...}" : "{key: someKey}";
855
- if (!z3[W + C3]) {
856
- var F1 = A.length > 0 ? "{" + A.join(": ..., ") + ": ...}" : "{}";
850
+ z3(B, r);
851
+ }
852
+ if (N.call(c, "key")) {
853
+ var U = P(r), T = Object.keys(c).filter(function(U1) {
854
+ return U1 !== "key";
855
+ }), j3 = T.length > 0 ? "{key: someKey, " + T.join(": ..., ") + ": ...}" : "{key: someKey}";
856
+ if (!X3[U + j3]) {
857
+ var k1 = T.length > 0 ? "{" + T.join(": ..., ") + ": ...}" : "{}";
857
858
  g(`A props object containing a "key" prop is being spread into JSX:
858
859
  let props = %s;
859
860
  <%s {...props} />
860
861
  React keys must be passed directly to JSX without using spread:
861
862
  let props = %s;
862
- <%s key={someKey} {...props} />`, C3, W, F1, W), z3[W + C3] = !0;
863
+ <%s key={someKey} {...props} />`, j3, U, k1, U), X3[U + j3] = !0;
863
864
  }
864
865
  }
865
- return o === s ? D1(y) : B1(y), y;
866
+ return r === s ? B1(R) : D1(R), R;
866
867
  }
867
868
  }
868
- function O1(o, c, i) {
869
- return X3(o, c, i, !0);
869
+ function P1(r, c, a) {
870
+ return Q3(r, c, a, !0);
870
871
  }
871
- function P1(o, c, i) {
872
- return X3(o, c, i, !1);
872
+ function O1(r, c, a) {
873
+ return Q3(r, c, a, !1);
873
874
  }
874
- var V1 = P1, k1 = O1;
875
- Q.Fragment = s, Q.jsx = V1, Q.jsxs = k1;
876
- }()), Q;
875
+ var V1 = O1, F1 = P1;
876
+ t3.Fragment = s, t3.jsx = V1, t3.jsxs = F1;
877
+ }()), t3;
877
878
  }
878
- var N = {};
879
+ var n3 = {};
879
880
  /**
880
881
  * @license React
881
882
  * react-jsx-runtime.production.min.js
@@ -885,131 +886,129 @@ var N = {};
885
886
  * This source code is licensed under the MIT license found in the
886
887
  * LICENSE file in the root directory of this source tree.
887
888
  */
888
- var N3;
889
- function j2() {
890
- if (N3)
891
- return N;
892
- N3 = 1;
893
- var t = r1, e = Symbol.for("react.element"), r = Symbol.for("react.fragment"), s = Object.prototype.hasOwnProperty, l = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, a = { key: !0, ref: !0, __self: !0, __source: !0 };
889
+ var e1;
890
+ function S2() {
891
+ if (e1)
892
+ return n3;
893
+ e1 = 1;
894
+ var t = r1, e = Symbol.for("react.element"), o = Symbol.for("react.fragment"), s = Object.prototype.hasOwnProperty, l = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
894
895
  function d(f, u, C) {
895
- var j, b = {}, T = null, B = null;
896
- C !== void 0 && (T = "" + C), u.key !== void 0 && (T = "" + u.key), u.ref !== void 0 && (B = u.ref);
897
- for (j in u)
898
- s.call(u, j) && !a.hasOwnProperty(j) && (b[j] = u[j]);
896
+ var S, b = {}, A = null, D = null;
897
+ C !== void 0 && (A = "" + C), u.key !== void 0 && (A = "" + u.key), u.ref !== void 0 && (D = u.ref);
898
+ for (S in u)
899
+ s.call(u, S) && !i.hasOwnProperty(S) && (b[S] = u[S]);
899
900
  if (f && f.defaultProps)
900
- for (j in u = f.defaultProps, u)
901
- b[j] === void 0 && (b[j] = u[j]);
902
- return { $$typeof: e, type: f, key: T, ref: B, props: b, _owner: l.current };
901
+ for (S in u = f.defaultProps, u)
902
+ b[S] === void 0 && (b[S] = u[S]);
903
+ return { $$typeof: e, type: f, key: A, ref: D, props: b, _owner: l.current };
903
904
  }
904
- return N.Fragment = r, N.jsx = d, N.jsxs = d, N;
905
+ return n3.Fragment = o, n3.jsx = d, n3.jsxs = d, n3;
905
906
  }
906
- process.env.NODE_ENV === "production" ? y3.exports = j2() : y3.exports = Z2();
907
- var n = y3.exports;
907
+ process.env.NODE_ENV === "production" ? I3.exports = S2() : I3.exports = j2();
908
+ var n = I3.exports;
908
909
  const C2 = () => /* @__PURE__ */ n.jsx(n.Fragment, { children: /* @__PURE__ */ n.jsxs("div", { className: "disconnected-message", children: [
909
910
  /* @__PURE__ */ n.jsx("h1", { children: "Disconnected" }),
910
911
  /* @__PURE__ */ n.jsx("p", { children: "Reconnecting..." })
911
912
  ] }) });
912
- class S2 {
913
+ class b2 {
913
914
  constructor() {
914
- R(this, "uuid", "current-uuid");
915
- R(this, "roomKey", "current-room-key");
916
- R(this, "code", "current-code");
917
- R(this, "expiry", "current-uuid-expires");
915
+ _(this, "uuid", "current-uuid");
916
+ _(this, "roomKey", "current-room-key");
917
+ _(this, "code", "current-code");
918
+ _(this, "expiry", "current-uuid-expires");
918
919
  }
919
920
  }
920
- const e1 = new S2(), d1 = X1({
921
+ const t1 = new b2(), d1 = X1({
921
922
  sendMessage: () => null,
922
923
  sendSimpleMessage: () => null,
923
924
  addEventHandler: () => null,
924
925
  removeEventHandler: () => null
925
926
  });
926
- function b2(t) {
927
+ function I2(t) {
927
928
  return sessionStorage.getItem(t) || "";
928
929
  }
929
- function I2(t, e) {
930
+ function y2(t, e) {
930
931
  sessionStorage.setItem(t, e);
931
932
  }
932
- const y2 = ({ children: t }) => {
933
- const [e, r] = h3(), s = w2(), l = p2(), a = x2(), d = m2(), f = h2(), u = n3(null), [C, j] = h3(), b = n3({}), T = d3(
934
- async (S) => {
935
- await I3.get(`${S}/ui/joinroom?token=${e}`).then((g) => {
936
- g.status === 200 && g.data && k.dispatch(K.setRoomData(g.data));
933
+ const R2 = ({ children: t }) => {
934
+ const [e, o] = q(), s = p2(), l = x2(), i = M2(), d = Z2(), f = g2(), u = r3(null), [C, S] = q(), b = r3({}), A = u3(
935
+ async (m) => {
936
+ await b3.get(`${m}/ui/joinroom?token=${e}`).then((g) => {
937
+ g.status === 200 && g.data && F.dispatch(K.setRoomData(g.data));
937
938
  }).catch((g) => {
938
- console.log(g);
939
+ console.log(g), g.repsonse && g.response.status === 498 && console.error("Invalid token. Unable to join room");
939
940
  });
940
941
  },
941
942
  [e]
942
- ), B = d3(
943
- (S, g) => {
944
- u.current && s && u.current.send(JSON.stringify({ type: S, clientId: a, content: g }));
943
+ ), D = u3(
944
+ (m, g) => {
945
+ u.current && s && u.current.send(JSON.stringify({ type: m, clientId: i, content: g }));
945
946
  },
946
- [s, a]
947
- ), V = (S, g) => {
948
- B(S, { value: g });
949
- }, G = d3(
950
- (S, g, P) => {
951
- b.current[g] || (b.current[g] = {}), b.current[g][S] = P;
947
+ [s, i]
948
+ ), V = (m, g) => {
949
+ D(m, { value: g });
950
+ }, Y = u3(
951
+ (m, g, O) => {
952
+ b.current[m] || (b.current[m] = {}), b.current[m][g] = O, console.log("event handler added", m, g);
952
953
  },
953
954
  []
954
- ), q = d3(
955
- (S, g) => {
956
- b.current[g] && delete b.current[g][S];
955
+ ), J = u3(
956
+ (m, g) => {
957
+ b.current[m] && (delete b.current[m][g], console.log("event handler removed", m, g));
957
958
  },
958
959
  []
959
960
  );
960
- return t3(() => {
961
+ return G(() => {
961
962
  let g = new URLSearchParams(window.location.search).get("token");
962
- g ? (console.log("saving token: ", g), I2(e1.uuid, g)) : (g = b2(e1.uuid), console.log("loading token: ", g)), r(g), d();
963
- }, []), t3(() => {
963
+ g ? (console.log("saving token: ", g), y2(t1.uuid, g)) : (g = I2(t1.uuid), console.log("loading token: ", g)), o(g), d();
964
+ }, []), G(() => {
964
965
  if (!(!f.apiPath || C || !e)) {
965
- if (T(f.apiPath), !u.current) {
966
- const g = `${f.apiPath.replace("http", "ws")}/ui/join/${e}`, P = new WebSocket(g);
967
- u.current = P, P.onopen = () => {
968
- console.log("connected"), k.dispatch(K.setWebsocketIsConnected(!0));
969
- }, P.onerror = (Y) => {
970
- console.log(Y);
971
- }, P.onclose = () => {
966
+ if (A(f.apiPath), !u.current) {
967
+ const g = `${f.apiPath.replace("http", "ws")}/ui/join/${e}`, O = new WebSocket(g);
968
+ u.current = O, O.onopen = () => {
969
+ console.log("connected"), F.dispatch(K.setWebsocketIsConnected(!0));
970
+ }, O.onerror = (z) => {
971
+ console.log(z);
972
+ }, O.onclose = () => {
972
973
  if (console.log("disconnected"), u.current)
973
974
  console.log("WebSocket closed by server.");
974
975
  else {
975
976
  console.log("WebSocket closed by client.");
976
977
  return;
977
978
  }
978
- C || (k.dispatch(K.setWebsocketIsConnected(!1)), j(!0), setTimeout(() => j(void 0), 5e3));
979
- }, P.onmessage = (Y) => {
979
+ C || (F.dispatch(K.setWebsocketIsConnected(!1)), S(!0), setTimeout(() => S(void 0), 5e3));
980
+ }, O.onmessage = (z) => {
980
981
  try {
981
- const _ = JSON.parse(Y.data);
982
- if (console.log(_), _.type.startsWith("/system/"))
983
- switch (_.type) {
982
+ const E = JSON.parse(z.data);
983
+ if (console.log(E), E.type.startsWith("/system/"))
984
+ switch (E.type) {
984
985
  case "/system/roomKey":
985
- k.dispatch(
986
+ F.dispatch(
986
987
  K.setCurrentRoomKey(
987
- _.content
988
+ E.content
988
989
  )
989
990
  );
990
991
  break;
991
992
  case "/system/userCodeChanged":
992
- k.dispatch(
993
- K.setUserCode(_.content)
993
+ F.dispatch(
994
+ K.setUserCode(E.content)
994
995
  );
995
996
  break;
996
997
  }
997
- else if (_.type.startsWith("/event/")) {
998
- const o3 = _.content.eventType;
999
- if (!o3)
1000
- return;
1001
- const s3 = b.current[o3];
1002
- s3 && Object.values(s3).forEach((g3) => {
998
+ else if (E.type.startsWith("/event/")) {
999
+ console.log("event message received", E);
1000
+ const X = b.current[E.type];
1001
+ X || console.log("no handlers found for event type", E.type), X && Object.values(X).forEach((v3) => {
1003
1002
  try {
1004
- g3(_);
1005
- } catch (c3) {
1006
- console.error(c3);
1003
+ v3(E);
1004
+ } catch (h3) {
1005
+ console.error(h3);
1007
1006
  }
1008
1007
  });
1009
1008
  } else
1010
- _.type.startsWith("/room/") ? k.dispatch(c2.setRoomState(_)) : _.type.startsWith("/device/") && k.dispatch(r2.setDeviceState(_));
1011
- } catch (_) {
1012
- console.log(_);
1009
+ E.type.startsWith("/room/") ? F.dispatch(l2.setRoomState(E)) : E.type.startsWith("/device/") && F.dispatch(r2.setDeviceState(E));
1010
+ } catch (E) {
1011
+ console.log(E);
1013
1012
  }
1014
1013
  };
1015
1014
  }
@@ -1017,30 +1016,30 @@ const y2 = ({ children: t }) => {
1017
1016
  u.current && u.current.close(), u.current = null;
1018
1017
  };
1019
1018
  }
1020
- }, [f.apiPath, T, e, C]), t3(() => {
1021
- l && B(`/room/${l}/status`, null);
1022
- }, [l, B]), /* @__PURE__ */ n.jsx(d1.Provider, { value: { sendMessage: B, sendSimpleMessage: V, addEventHandler: G, removeEventHandler: q }, children: s ? t : /* @__PURE__ */ n.jsx(C2, {}) });
1023
- }, Q8 = ({ children: t }) => /* @__PURE__ */ n.jsx(z1, { store: k, children: /* @__PURE__ */ n.jsx(y2, { children: t }) });
1024
- function E() {
1019
+ }, [f.apiPath, A, e, C]), G(() => {
1020
+ l && D(`/room/${l}/status`, null);
1021
+ }, [l, D]), /* @__PURE__ */ n.jsx(d1.Provider, { value: { sendMessage: D, sendSimpleMessage: V, addEventHandler: Y, removeEventHandler: J }, children: s ? t : /* @__PURE__ */ n.jsx(C2, {}) });
1022
+ }, e6 = ({ children: t }) => /* @__PURE__ */ n.jsx(z1, { store: F, children: /* @__PURE__ */ n.jsx(R2, { children: t }) });
1023
+ function y() {
1025
1024
  return Q1(d1);
1026
1025
  }
1027
- function R2({
1026
+ function E2({
1028
1027
  onPress: t,
1029
1028
  onRelease: e,
1030
- onHold: r,
1029
+ onHold: o,
1031
1030
  holdTimeMs: s = 500
1032
1031
  }) {
1033
- const l = n3(null), a = n3(!1);
1032
+ const l = r3(null), i = r3(!1);
1034
1033
  function d() {
1035
- a.current = !0, t == null || t(), l.current = setTimeout(() => {
1036
- r == null || r(), l.current = null;
1034
+ i.current = !0, t == null || t(), l.current = setTimeout(() => {
1035
+ o == null || o(), l.current = null;
1037
1036
  }, s);
1038
1037
  }
1039
1038
  function f() {
1040
- a.current = !1, e == null || e(), l.current && (clearTimeout(l.current), l.current = null);
1039
+ i.current = !1, e == null || e(), l.current && (clearTimeout(l.current), l.current = null);
1041
1040
  }
1042
1041
  function u() {
1043
- a.current && f();
1042
+ i.current && f();
1044
1043
  }
1045
1044
  return {
1046
1045
  onPointerDown: d,
@@ -1049,8 +1048,8 @@ function R2({
1049
1048
  };
1050
1049
  }
1051
1050
  function h(t, e) {
1052
- const { sendMessage: s } = E(), l = n3(null);
1053
- function a() {
1051
+ const { sendMessage: s } = y(), l = r3(null);
1052
+ function i() {
1054
1053
  s(`${t}/${e}`, { value: "pressed" }), l.current || (l.current = setInterval(() => {
1055
1054
  s(`${t}/${e}`, { value: "held" });
1056
1055
  }, 250));
@@ -1058,38 +1057,38 @@ function h(t, e) {
1058
1057
  function d() {
1059
1058
  l.current && (clearInterval(l.current), l.current = null), s(`${t}/${e}`, { value: "released" });
1060
1059
  }
1061
- return R2({ onPress: a, onRelease: d });
1060
+ return E2({ onPress: i, onRelease: d });
1062
1061
  }
1063
1062
  function v1(t, e) {
1064
- const { sendMessage: r, sendSimpleMessage: s } = E(), l = h(`${t}`, "volumeUp"), a = h(`${t}`, "volumeDown");
1063
+ const { sendMessage: o, sendSimpleMessage: s } = y(), l = h(`${t}`, "volumeUp"), i = h(`${t}`, "volumeDown");
1065
1064
  return e ? {
1066
1065
  volumeState: e,
1067
1066
  volumeUp: l,
1068
- volumeDown: a,
1069
- setLevel: (j) => s(`${t}/level`, j),
1070
- muteToggle: () => r(`${t}/muteToggle`, null),
1071
- muteOn: () => r(`${t}/muteOn`, null),
1072
- muteOff: () => r(`${t}/muteOff`, null)
1067
+ volumeDown: i,
1068
+ setLevel: (S) => s(`${t}/level`, S),
1069
+ muteToggle: () => o(`${t}/muteToggle`, null),
1070
+ muteOn: () => o(`${t}/muteOn`, null),
1071
+ muteOff: () => o(`${t}/muteOff`, null)
1073
1072
  } : void 0;
1074
1073
  }
1075
- function N8(t, e) {
1076
- const { sendMessage: r, sendSimpleMessage: s } = E(), l = h(`${t}`, "volumeUp"), a = h(`${t}`, "volumeDown");
1074
+ function t6(t, e) {
1075
+ const { sendMessage: o, sendSimpleMessage: s } = y(), l = h(`${t}`, "volumeUp"), i = h(`${t}`, "volumeDown");
1077
1076
  return e ? {
1078
1077
  volumeState: e,
1079
1078
  volumeUp: l,
1080
- volumeDown: a,
1081
- setLevel: (j) => s(`${t}/level`, j),
1082
- muteToggle: () => r(`${t}/muteToggle`, null),
1083
- muteOn: () => r(`${t}/muteOn`, null),
1084
- muteOff: () => r(`${t}/muteOff`, null)
1079
+ volumeDown: i,
1080
+ setLevel: (S) => s(`${t}/level`, S),
1081
+ muteToggle: () => o(`${t}/muteToggle`, null),
1082
+ muteOn: () => o(`${t}/muteOn`, null),
1083
+ muteOff: () => o(`${t}/muteOff`, null)
1085
1084
  } : void 0;
1086
1085
  }
1087
- function E2(t) {
1088
- const e = $(t), r = `/device/${t}`;
1089
- return v1(r, e == null ? void 0 : e.volume);
1086
+ function _2(t) {
1087
+ const e = L(t), o = `/device/${t}`;
1088
+ return v1(o, e == null ? void 0 : e.volume);
1090
1089
  }
1091
1090
  function h1(t) {
1092
- const { sendMessage: e } = E();
1091
+ const { sendMessage: e } = y();
1093
1092
  return { powerOn: () => {
1094
1093
  e(`/device/${t}/powerOn`, null);
1095
1094
  }, powerOff: () => {
@@ -1098,120 +1097,160 @@ function h1(t) {
1098
1097
  e(`/device/${t}/powerToggle`, null);
1099
1098
  } };
1100
1099
  }
1101
- function R3(t) {
1102
- const { sendMessage: e } = E(), r = $(t);
1103
- return console.log("deviceState", r), r ? { itemsState: r, selectItem: (l) => {
1100
+ function y3(t) {
1101
+ const { sendMessage: e } = y(), o = L(t);
1102
+ return console.log("deviceState", o), o ? { itemsState: o, selectItem: (l) => {
1104
1103
  e(`/device/${t}/${l}`, null);
1105
1104
  } } : void 0;
1106
1105
  }
1107
- function _2(t) {
1108
- const { sendMessage: e } = E(), r = $(t), s = () => {
1106
+ function L2(t) {
1107
+ const { sendMessage: e } = y(), o = L(t), s = () => {
1109
1108
  e(`/device/${t}/setDefaultChannelLevels`, null);
1110
1109
  }, l = () => {
1111
- if ((r == null ? void 0 : r.levelControls) === void 0)
1110
+ if ((o == null ? void 0 : o.levelControls) === void 0)
1112
1111
  return;
1113
- Object.keys(r == null ? void 0 : r.levelControls).forEach((f) => {
1112
+ Object.keys(o == null ? void 0 : o.levelControls).forEach((f) => {
1114
1113
  e(`/device/${t}/${f}/fullStatus`, null);
1115
1114
  });
1116
1115
  };
1117
- return r ? { levelControls: r.levelControls, setDefaultChannelLevels: s, getFullStatus: l } : void 0;
1116
+ return o ? { levelControls: o.levelControls, setDefaultChannelLevels: s, getFullStatus: l } : void 0;
1118
1117
  }
1119
- function e6(t) {
1120
- const e = $(t), r = h1(t), s = R3(t), l = R3(t), a = E2(t), d = _2(t);
1118
+ function n6(t) {
1119
+ const e = L(t), o = h1(t), s = y3(t), l = y3(t), i = _2(t), d = L2(t);
1121
1120
  if (e)
1122
1121
  return {
1123
1122
  avrState: e,
1124
- powerControl: r,
1123
+ powerControl: o,
1125
1124
  inputControl: s,
1126
1125
  surroundSoundModes: l,
1127
1126
  surroundChannels: d,
1128
- mainVolumeControl: a
1127
+ mainVolumeControl: i
1129
1128
  };
1130
1129
  }
1131
- function t6(t) {
1132
- const e = $(t);
1130
+ function o6(t) {
1131
+ const e = L(t);
1133
1132
  if (e)
1134
1133
  return { endpointState: e };
1135
1134
  }
1136
- function n6(t) {
1137
- const e = `/device/${t}`, r = h(e, "chanUp"), s = h(e, "chanDown"), l = h(e, "lastChan"), a = h(e, "guide"), d = h(e, "info"), f = h(e, "exit");
1138
- return { channelUp: r, channelDown: s, lastChannel: l, guide: a, info: d, exit: f };
1139
- }
1140
1135
  function r6(t) {
1141
- const e = `/device/${t}`, r = h(e, "red"), s = h(e, "green"), l = h(e, "yellow"), a = h(e, "blue");
1142
- return { red: r, green: s, yellow: l, blue: a };
1136
+ const e = `/device/${t}`, o = h(e, "chanUp"), s = h(e, "chanDown"), l = h(e, "lastChan"), i = h(e, "guide"), d = h(e, "info"), f = h(e, "exit");
1137
+ return { channelUp: o, channelDown: s, lastChannel: l, guide: i, info: d, exit: f };
1143
1138
  }
1144
- function o6(t) {
1145
- const e = $(t);
1139
+ function s6(t) {
1140
+ const e = `/device/${t}`, o = h(e, "red"), s = h(e, "green"), l = h(e, "yellow"), i = h(e, "blue");
1141
+ return { red: o, green: s, yellow: l, blue: i };
1142
+ }
1143
+ function c6(t) {
1144
+ const e = L(t);
1146
1145
  if (e)
1147
1146
  return {
1148
1147
  communicationMonitorState: e
1149
1148
  };
1150
1149
  }
1151
- function s6(t) {
1152
- const e = `/device/${t}`, r = h(e, "up"), s = h(e, "down"), l = h(e, "left"), a = h(e, "right"), d = h(e, "select"), f = h(e, "menu"), u = h(e, "exit");
1153
- return { up: r, down: s, left: l, right: a, select: d, menu: f, exit: u };
1150
+ function l6(t) {
1151
+ const e = `/device/${t}`, o = h(e, "up"), s = h(e, "down"), l = h(e, "left"), i = h(e, "right"), d = h(e, "select"), f = h(e, "menu"), u = h(e, "exit");
1152
+ return { up: o, down: s, left: l, right: i, select: d, menu: f, exit: u };
1154
1153
  }
1155
- function c6(t) {
1156
- const e = $(t);
1154
+ function i6(t) {
1155
+ const e = L(t);
1157
1156
  if (e)
1158
1157
  return e.deviceInfo || void 0;
1159
1158
  }
1160
- function l6(t) {
1161
- const e = `/device/${t}`, r = h(e, "dvrList"), s = h(e, "record");
1162
- return { dvrList: r, record: s };
1159
+ function a6(t) {
1160
+ const e = `/device/${t}`, o = h(e, "dvrList"), s = h(e, "record");
1161
+ return { dvrList: o, record: s };
1163
1162
  }
1164
- function i6(t) {
1165
- const { sendMessage: e, sendSimpleMessage: r } = E(), s = $(t);
1163
+ const u6 = ({ className: t }) => {
1164
+ const [e, o] = q();
1165
+ return G(() => {
1166
+ setInterval(() => {
1167
+ const s = (/* @__PURE__ */ new Date()).toLocaleTimeString("en-US", { hour12: !0, hour: "numeric", minute: "numeric" });
1168
+ o(s);
1169
+ }, 1e3);
1170
+ }, []), /* @__PURE__ */ n.jsxs("div", { className: t, children: [
1171
+ e,
1172
+ " new change"
1173
+ ] });
1174
+ };
1175
+ function d6(t) {
1176
+ const { sendMessage: e } = y(), o = L(t);
1177
+ return o ? { roomCombinerState: o, setAutoMode: () => {
1178
+ e(`/device/${t}/setAutoMode`, null);
1179
+ }, setManualMode: () => {
1180
+ e(`/device/${t}/setManualMode`, null);
1181
+ }, toggleMode: () => {
1182
+ e(`/device/${t}/toggleMode`, null);
1183
+ }, togglePartitionState: (u) => {
1184
+ e(`/device/${t}/togglePartitionState`, u);
1185
+ }, setRoomCombinationScenario: (u) => {
1186
+ e(`/device/${t}/setRoomCombinationScenario`, u);
1187
+ } } : void 0;
1188
+ }
1189
+ function v6(t) {
1190
+ const { sendMessage: e, sendSimpleMessage: o } = y(), s = L(t);
1166
1191
  return s ? {
1167
1192
  levelState: s,
1168
- setLevel: (u, C) => r(`${u}/level`, C),
1193
+ setLevel: (u, C) => o(`${u}/level`, C),
1169
1194
  muteToggle: (u) => e(`${u}/muteToggle`, null),
1170
1195
  muteOn: (u) => e(`${u}/muteOn`, null),
1171
1196
  muteOff: (u) => e(`${u}/muteOff`, null)
1172
1197
  } : void 0;
1173
1198
  }
1174
- function a6(t) {
1175
- const { sendMessage: e } = E(), r = $(t);
1176
- return r ? { lightingState: r, selectScene: (l) => {
1199
+ function h6(t) {
1200
+ const { sendMessage: e } = y(), o = L(t);
1201
+ return o ? { lightingState: o, selectScene: (l) => {
1177
1202
  e(`/device/${t}/selectScene`, l);
1178
1203
  } } : void 0;
1179
1204
  }
1180
- function u6(t) {
1181
- const { sendMessage: e } = E(), r = $(t);
1182
- return r ? { matrixRoutingState: r, setRoute: (l) => {
1205
+ function g6(t) {
1206
+ const { sendMessage: e } = y(), o = L(t);
1207
+ return o ? { matrixRoutingState: o, setRoute: (l) => {
1183
1208
  e(`/device/${t}/route`, l);
1184
1209
  } } : void 0;
1185
1210
  }
1186
- function d6(t) {
1187
- const e = `/device/${t}`, r = h(e, "num0"), s = h(e, "num1"), l = h(e, "num2"), a = h(e, "num3"), d = h(e, "num4"), f = h(e, "num5"), u = h(e, "num6"), C = h(e, "num7"), j = h(e, "num8"), b = h(e, "num9"), T = h(e, "numDash"), B = h(e, "numEnter");
1188
- return { digit0: r, digit1: s, digit2: l, digit3: a, digit4: d, digit5: f, digit6: u, digit7: C, digit8: j, digit9: b, keypadAccessoryButton1: T, keypadAccessoryButton2: B };
1211
+ function f6(t) {
1212
+ const { sendMessage: e } = y();
1213
+ return { closeApp: () => {
1214
+ e(`/device/${t}/closeWebViewController`, null);
1215
+ } };
1189
1216
  }
1190
- function v6(t) {
1191
- const { sendMessage: e } = E(), r = u1(t);
1192
- return r ? { roomEventScheduleState: r, save: (l) => {
1217
+ function w6(t) {
1218
+ const e = `/device/${t}`, o = h(e, "num0"), s = h(e, "num1"), l = h(e, "num2"), i = h(e, "num3"), d = h(e, "num4"), f = h(e, "num5"), u = h(e, "num6"), C = h(e, "num7"), S = h(e, "num8"), b = h(e, "num9"), A = h(e, "numDash"), D = h(e, "numEnter");
1219
+ return { digit0: o, digit1: s, digit2: l, digit3: i, digit4: d, digit5: f, digit6: u, digit7: C, digit8: S, digit9: b, keypadAccessoryButton1: A, keypadAccessoryButton2: D };
1220
+ }
1221
+ function p6(t) {
1222
+ const { sendMessage: e } = y(), o = L(t);
1223
+ return o ? { projectorScreenLiftControlState: o, raise: () => {
1224
+ e(`/device/${t}/raise`, null);
1225
+ }, lower: () => {
1226
+ e(`/device/${t}/lower`, null);
1227
+ } } : void 0;
1228
+ }
1229
+ function x6(t) {
1230
+ const { sendMessage: e } = y(), o = R3(t);
1231
+ return o ? { roomEventScheduleState: o, save: (l) => {
1193
1232
  e(`/room/${t}/saveScheduledEvents`, l);
1194
1233
  } } : void 0;
1195
1234
  }
1196
- function h6(t) {
1197
- const { sendMessage: e } = E();
1235
+ function M6(t) {
1236
+ const { sendMessage: e } = y();
1198
1237
  return { runDirectRoute: (s) => {
1199
1238
  e(`/room/${t}/directRoute`, s);
1200
1239
  } };
1201
1240
  }
1202
- function g6(t) {
1203
- const { sendMessage: e } = E();
1204
- return { routingState: $(t), runRoute: (l) => {
1241
+ function m6(t) {
1242
+ const { sendMessage: e } = y();
1243
+ return { routingState: L(t), runRoute: (l) => {
1205
1244
  e(`/room/${t}/source`, l);
1206
1245
  } };
1207
1246
  }
1208
- function f6(t) {
1209
- const e = `/device/${t}`, r = h(e, "chanUp"), s = h(e, "chanDown");
1210
- return { dvrList: r, replay: s };
1247
+ function Z6(t) {
1248
+ const e = `/device/${t}`, o = h(e, "chanUp"), s = h(e, "chanDown");
1249
+ return { dvrList: o, replay: s };
1211
1250
  }
1212
- function w6(t) {
1213
- const { sendMessage: e } = E(), r = $(t);
1214
- return r ? { shadeState: r, shadeUp: () => {
1251
+ function j6(t) {
1252
+ const { sendMessage: e } = y(), o = L(t);
1253
+ return o ? { shadeState: o, shadeUp: () => {
1215
1254
  e(`/device/${t}/shadeUp`, null);
1216
1255
  }, shadeDown: () => {
1217
1256
  e(`/device/${t}/shadeDown`, null);
@@ -1219,9 +1258,9 @@ function w6(t) {
1219
1258
  e(`/device/${t}/stopOrPreset`, null);
1220
1259
  } } : void 0;
1221
1260
  }
1222
- function p6(t) {
1223
- const { sendMessage: e } = E(), r = u1(t);
1224
- return r ? { shutdownPromptTimerState: r, setShutdownPromptSeconds: (f) => {
1261
+ function S6(t) {
1262
+ const { sendMessage: e } = y(), o = R3(t);
1263
+ return o ? { shutdownPromptTimerState: o, setShutdownPromptSeconds: (f) => {
1225
1264
  e(`/room/${t}/setShutdownPromptSeconds`, f);
1226
1265
  }, shutdownStart: () => {
1227
1266
  e(`/room/${t}/shutdownStart`, null);
@@ -1231,134 +1270,165 @@ function p6(t) {
1231
1270
  e(`/room/${t}/shutdownCancel`, null);
1232
1271
  } } : void 0;
1233
1272
  }
1234
- function x6(t) {
1235
- const { sendMessage: e } = E(), r = $(t);
1236
- return r ? { switchedOutputState: r, on: () => {
1273
+ function C6(t) {
1274
+ const { sendMessage: e } = y(), o = L(t);
1275
+ return o ? { switchedOutputState: o, on: () => {
1237
1276
  e(`/device/${t}/on`, null);
1238
1277
  }, off: () => {
1239
1278
  e(`/device/${t}/off`, null);
1240
1279
  } } : void 0;
1241
1280
  }
1242
- function M6(t) {
1243
- const e = `/device/${t}`, r = h(e, "play"), s = h(e, "pause"), l = h(e, "stop"), a = h(e, "prevTrack"), d = h(e, "nextTrack"), f = h(e, "rewind"), u = h(e, "ffwd"), C = h(e, "record");
1244
- return { play: r, pause: s, stop: l, prevTrack: a, nextTrack: d, rewind: f, fastForward: u, record: C };
1281
+ function b6(t) {
1282
+ const { sendMessage: e } = y(), o = R3(t);
1283
+ return o ? { techPasswordState: o, validatePassword: (i) => {
1284
+ e(`/room/${t}/validateTechPassword`, { password: i });
1285
+ }, setPassword: (i, d) => {
1286
+ e(`/room/${t}/setTechPassword`, { oldPassword: i, newPassword: d });
1287
+ } } : void 0;
1245
1288
  }
1246
- function m6(t) {
1247
- const e = $(t), { sendMessage: r } = E();
1289
+ function I6(t) {
1290
+ const e = `/device/${t}`, o = h(e, "play"), s = h(e, "pause"), l = h(e, "stop"), i = h(e, "prevTrack"), d = h(e, "nextTrack"), f = h(e, "rewind"), u = h(e, "ffwd"), C = h(e, "record");
1291
+ return { play: o, pause: s, stop: l, prevTrack: i, nextTrack: d, rewind: f, fastForward: u, record: C };
1292
+ }
1293
+ function y6(t) {
1294
+ const e = L(t), { sendMessage: o } = y();
1248
1295
  return e ? {
1249
1296
  touchpanelState: e,
1250
1297
  appControl: { hideApp: () => {
1251
- r(`/device/${t}/hideApp`, null);
1298
+ o(`/device/${t}/hideApp`, null);
1252
1299
  }, openApp: () => {
1253
- r(`/device/${t}/openApp`, null);
1300
+ o(`/device/${t}/openApp`, null);
1254
1301
  }, closeApp: () => {
1255
- r(`/device/${t}/closeApp`, null);
1302
+ o(`/device/${t}/closeApp`, null);
1256
1303
  } },
1257
1304
  zoomControl: { endCall: () => {
1258
- r(`/device/${t}/endCall`, null);
1305
+ o(`/device/${t}/endCall`, null);
1259
1306
  } }
1260
1307
  } : void 0;
1261
1308
  }
1262
- function Z6(t) {
1263
- const e = $(t), r = h1(t), s = R3(t);
1309
+ function R6(t) {
1310
+ const e = L(t), o = h1(t), s = y3(t);
1264
1311
  if (!e)
1265
1312
  return;
1266
- const l = (e.powerState || e.isWarming) && !e.isCooling, a = (!e.powerState || e.isCooling) && !e.isWarming;
1313
+ const l = (e.powerState || e.isWarming) && !e.isCooling, i = (!e.powerState || e.isCooling) && !e.isWarming;
1267
1314
  return {
1268
1315
  displayState: e,
1269
- powerControl: r,
1316
+ powerControl: o,
1270
1317
  inputControl: s,
1271
- powerFb: { powerOnFb: l, powerOffFb: a }
1318
+ powerFb: { powerOnFb: l, powerOffFb: i }
1272
1319
  };
1273
1320
  }
1274
- const j6 = ({ config: t }) => {
1275
- const { sendMessage: e } = E();
1276
- t3(() => {
1321
+ const E6 = ({ config: t }) => {
1322
+ const { sendMessage: e } = y();
1323
+ G(() => {
1277
1324
  var s, l;
1278
1325
  if (!t)
1279
1326
  return;
1280
- const r = [];
1281
- Object.values(t.destinations).forEach((a) => {
1282
- r.push(a);
1283
- }), (s = t.touchpanelKeys) == null || s.forEach((a) => {
1284
- r.push(a);
1285
- }), t.environmentalDevices.forEach((a) => {
1286
- r.push(a.deviceKey);
1287
- }), (l = t.accessoryDevices) == null || l.forEach((a) => {
1288
- r.push(a.deviceKey);
1289
- }), t.audioCodecKey && r.push(t.audioCodecKey), t.videoCodecKey && r.push(t.videoCodecKey), t.matrixRoutingKey && r.push(t.matrixRoutingKey), t.endpointKeys && t.endpointKeys.forEach((a) => {
1290
- r.push(a);
1327
+ const o = [];
1328
+ Object.values(t.destinations).forEach((i) => {
1329
+ o.push(i);
1330
+ }), Object.values(t.destinationList).forEach((i) => {
1331
+ o.push(i.sinkKey);
1332
+ }), (s = t.touchpanelKeys) == null || s.forEach((i) => {
1333
+ o.push(i);
1334
+ }), t.environmentalDevices.forEach((i) => {
1335
+ o.push(i.deviceKey);
1336
+ }), (l = t.accessoryDeviceKeys) == null || l.forEach((i) => {
1337
+ o.push(i);
1338
+ }), t.audioCodecKey && o.push(t.audioCodecKey), t.videoCodecKey && o.push(t.videoCodecKey), t.matrixRoutingKey && o.push(t.matrixRoutingKey), t.roomCombinerKey && o.push(t.roomCombinerKey), t.endpointKeys && t.endpointKeys.forEach((i) => {
1339
+ o.push(i);
1291
1340
  });
1292
- for (const a of Object.values(t.sourceList))
1293
- a.sourceKey && a.sourceKey !== "$off" && r.push(a.sourceKey);
1294
- r.forEach((a) => {
1295
- e(`/device/${a}/fullStatus`, { deviceKey: a });
1341
+ for (const i of Object.values(t.sourceList))
1342
+ i.sourceKey && i.sourceKey !== "$off" && o.push(i.sourceKey);
1343
+ console.log("deviceKeys", o), o.forEach((i) => {
1344
+ e(`/device/${i}/fullStatus`, { deviceKey: i });
1296
1345
  });
1297
1346
  }, [t, e]);
1298
1347
  };
1299
- function C6(t, e) {
1300
- const r = f2(t, e), s = `/room/${t}/volumes/${e}`;
1301
- return v1(s, r);
1348
+ function _6(t, e) {
1349
+ const o = w2(t, e), s = `/room/${t}/volumes/${e}`;
1350
+ return v1(s, o);
1302
1351
  }
1303
- const S6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger rounded d-flex align-items-center", children: /* @__PURE__ */ n.jsx("span", { className: "fs-5 text-white", children: "We are sorry. Something went wrong." }) }), L2 = "_iconbtn_16qss_1", $2 = "_iconbtnvert_16qss_7", T2 = "_iconsm_16qss_18", S3 = {
1304
- iconbtn: L2,
1305
- iconbtnvert: $2,
1352
+ function L6() {
1353
+ const [t, e] = q(), [o, s] = q();
1354
+ function l() {
1355
+ e((/* @__PURE__ */ new Date()).toLocaleDateString("en-US", { dateStyle: "long" }));
1356
+ const i = (/* @__PURE__ */ new Date()).toLocaleTimeString("en-US", { hour12: !0, hour: "numeric", minute: "numeric" });
1357
+ s(i);
1358
+ }
1359
+ return G(() => {
1360
+ l();
1361
+ const i = setInterval(() => {
1362
+ l();
1363
+ }, 1e3);
1364
+ return () => clearInterval(i);
1365
+ }, []), { date: t, time: o };
1366
+ }
1367
+ const $6 = () => {
1368
+ const t = N1();
1369
+ return /* @__PURE__ */ n.jsxs("div", { className: "d-flex flex-column align-items-center gap-5", children: [
1370
+ /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger rounded d-flex align-items-center", children: /* @__PURE__ */ n.jsx("span", { className: "fs-5 text-white", children: "We are sorry. Something went wrong." }) }),
1371
+ /* @__PURE__ */ n.jsx("button", { className: "btn btn-primary p-2", onClick: () => t(-1), children: "Go Back" })
1372
+ ] });
1373
+ }, $2 = "_iconbtn_16qss_1", A2 = "_iconbtnvert_16qss_7", T2 = "_iconsm_16qss_18", S3 = {
1374
+ iconbtn: $2,
1375
+ iconbtnvert: A2,
1306
1376
  iconsm: T2
1307
- }, A2 = ({
1377
+ }, D2 = ({
1308
1378
  multiIcon: t,
1309
1379
  otherContent: e = null,
1310
- vert: r = !1,
1380
+ vert: o = !1,
1311
1381
  className: s,
1312
1382
  iconClassName: l = "",
1313
- otherContentClassName: a = "",
1383
+ otherContentClassName: i = "",
1314
1384
  disabled: d,
1315
1385
  feedback: f,
1316
1386
  feedbackClassName: u,
1317
1387
  onPointerDown: C,
1318
- onPointerUp: j,
1388
+ onPointerUp: S,
1319
1389
  onPointerLeave: b,
1320
- ...T
1390
+ ...A
1321
1391
  }) => {
1322
- const [B, V] = h3(!1), G = !d && f ? u : "", q = !d && (B || f);
1392
+ const [D, V] = q(!1), Y = !d && f ? u : "", J = !d && (D || f);
1323
1393
  return /* @__PURE__ */ n.jsxs(
1324
1394
  "button",
1325
1395
  {
1326
1396
  type: "button",
1327
- className: `${S3.iconbtn} ${r ? S3.iconbtnvert : ""} ${s} ${G}`,
1328
- ...T,
1397
+ className: `${S3.iconbtn} ${o ? S3.iconbtnvert : ""} ${s} ${Y}`,
1398
+ ...A,
1329
1399
  disabled: d,
1330
- onPointerDown: (S) => {
1331
- V(!0), C == null || C(S);
1400
+ onPointerDown: (m) => {
1401
+ V(!0), C == null || C(m);
1332
1402
  },
1333
- onPointerUp: (S) => {
1334
- V(!1), j == null || j(S);
1403
+ onPointerUp: (m) => {
1404
+ V(!1), S == null || S(m);
1335
1405
  },
1336
- onPointerLeave: (S) => {
1337
- V(!1), b == null || b(S);
1406
+ onPointerLeave: (m) => {
1407
+ V(!1), b == null || b(m);
1338
1408
  },
1339
1409
  children: [
1340
1410
  t && /* @__PURE__ */ n.jsx(
1341
1411
  t,
1342
1412
  {
1343
1413
  className: `${l || S3.iconsm}`,
1344
- active: q,
1414
+ active: J,
1345
1415
  disabled: d
1346
1416
  }
1347
1417
  ),
1348
- /* @__PURE__ */ n.jsx("div", { className: a, children: e })
1418
+ /* @__PURE__ */ n.jsx("div", { className: i, children: e })
1349
1419
  ]
1350
1420
  }
1351
1421
  );
1352
1422
  }, M = ({
1353
1423
  ActiveImage: t,
1354
1424
  DisabledImage: e,
1355
- EnabledImage: r,
1425
+ EnabledImage: o,
1356
1426
  active: s,
1357
1427
  disabled: l
1358
- }) => l ? e : s ? t : r, B2 = ({
1428
+ }) => l ? e : s ? t : o, B2 = ({
1359
1429
  active: t,
1360
1430
  className: e = "",
1361
- disabled: r
1431
+ disabled: o
1362
1432
  }) => /* @__PURE__ */ n.jsx(
1363
1433
  M,
1364
1434
  {
@@ -1402,12 +1472,12 @@ const S6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
1402
1472
  )
1403
1473
  ),
1404
1474
  active: t,
1405
- disabled: r
1475
+ disabled: o
1406
1476
  }
1407
- ), D2 = ({
1477
+ ), P2 = ({
1408
1478
  active: t,
1409
1479
  className: e = "",
1410
- disabled: r
1480
+ disabled: o
1411
1481
  }) => /* @__PURE__ */ n.jsx(
1412
1482
  M,
1413
1483
  {
@@ -1454,12 +1524,12 @@ const S6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
1454
1524
  }
1455
1525
  ),
1456
1526
  active: t,
1457
- disabled: r
1527
+ disabled: o
1458
1528
  }
1459
1529
  ), O2 = ({
1460
1530
  active: t,
1461
1531
  className: e = "",
1462
- disabled: r
1532
+ disabled: o
1463
1533
  }) => /* @__PURE__ */ n.jsx(
1464
1534
  M,
1465
1535
  {
@@ -1503,12 +1573,12 @@ const S6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
1503
1573
  )
1504
1574
  ),
1505
1575
  active: t,
1506
- disabled: r
1576
+ disabled: o
1507
1577
  }
1508
- ), P2 = ({
1578
+ ), V2 = ({
1509
1579
  active: t,
1510
1580
  className: e = "",
1511
- disabled: r
1581
+ disabled: o
1512
1582
  }) => /* @__PURE__ */ n.jsx(
1513
1583
  M,
1514
1584
  {
@@ -1543,12 +1613,12 @@ const S6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
1543
1613
  }
1544
1614
  ),
1545
1615
  active: t,
1546
- disabled: r
1616
+ disabled: o
1547
1617
  }
1548
- ), V2 = ({
1618
+ ), F2 = ({
1549
1619
  active: t,
1550
1620
  className: e = "",
1551
- disabled: r
1621
+ disabled: o
1552
1622
  }) => /* @__PURE__ */ n.jsx(
1553
1623
  M,
1554
1624
  {
@@ -1592,12 +1662,12 @@ const S6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
1592
1662
  )
1593
1663
  ),
1594
1664
  active: t,
1595
- disabled: r
1665
+ disabled: o
1596
1666
  }
1597
1667
  ), k2 = ({
1598
1668
  active: t,
1599
1669
  className: e = "",
1600
- disabled: r
1670
+ disabled: o
1601
1671
  }) => /* @__PURE__ */ n.jsx(
1602
1672
  M,
1603
1673
  {
@@ -1641,12 +1711,12 @@ const S6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
1641
1711
  )
1642
1712
  ),
1643
1713
  active: t,
1644
- disabled: r
1714
+ disabled: o
1645
1715
  }
1646
- ), F2 = ({
1716
+ ), U2 = ({
1647
1717
  active: t,
1648
1718
  className: e = "",
1649
- disabled: r
1719
+ disabled: o
1650
1720
  }) => /* @__PURE__ */ n.jsx(
1651
1721
  M,
1652
1722
  {
@@ -1690,12 +1760,12 @@ const S6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
1690
1760
  )
1691
1761
  ),
1692
1762
  active: t,
1693
- disabled: r
1763
+ disabled: o
1694
1764
  }
1695
1765
  ), W2 = ({
1696
1766
  active: t,
1697
1767
  className: e = "",
1698
- disabled: r
1768
+ disabled: o
1699
1769
  }) => /* @__PURE__ */ n.jsx(
1700
1770
  M,
1701
1771
  {
@@ -1739,12 +1809,12 @@ const S6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
1739
1809
  )
1740
1810
  ),
1741
1811
  active: t,
1742
- disabled: r
1812
+ disabled: o
1743
1813
  }
1744
- ), U2 = ({
1814
+ ), H2 = ({
1745
1815
  active: t,
1746
1816
  className: e = "",
1747
- disabled: r
1817
+ disabled: o
1748
1818
  }) => /* @__PURE__ */ n.jsx(
1749
1819
  M,
1750
1820
  {
@@ -1788,12 +1858,12 @@ const S6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
1788
1858
  )
1789
1859
  ),
1790
1860
  active: t,
1791
- disabled: r
1861
+ disabled: o
1792
1862
  }
1793
- ), H2 = ({
1863
+ ), K2 = ({
1794
1864
  active: t,
1795
1865
  className: e = "",
1796
- disabled: r
1866
+ disabled: o
1797
1867
  }) => /* @__PURE__ */ n.jsx(
1798
1868
  M,
1799
1869
  {
@@ -1837,14 +1907,14 @@ const S6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
1837
1907
  )
1838
1908
  ),
1839
1909
  active: t,
1840
- disabled: r
1910
+ disabled: o
1841
1911
  }
1842
- ), K2 = ({
1912
+ ), G2 = ({
1843
1913
  active: t,
1844
1914
  // Just to shut up the linter on this template. Prefer deleting this lint rule
1845
1915
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
1846
1916
  className: e = "",
1847
- disabled: r
1917
+ disabled: o
1848
1918
  }) => /* @__PURE__ */ n.jsx(
1849
1919
  M,
1850
1920
  {
@@ -1906,12 +1976,12 @@ const S6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
1906
1976
  )
1907
1977
  ),
1908
1978
  active: t,
1909
- disabled: r
1979
+ disabled: o
1910
1980
  }
1911
- ), G2 = ({
1981
+ ), q2 = ({
1912
1982
  active: t,
1913
1983
  className: e = "",
1914
- disabled: r
1984
+ disabled: o
1915
1985
  }) => /* @__PURE__ */ n.jsx(
1916
1986
  M,
1917
1987
  {
@@ -1955,12 +2025,12 @@ const S6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
1955
2025
  )
1956
2026
  ),
1957
2027
  active: t,
1958
- disabled: r
2028
+ disabled: o
1959
2029
  }
1960
- ), q2 = ({
2030
+ ), Y2 = ({
1961
2031
  active: t,
1962
2032
  className: e = "",
1963
- disabled: r
2033
+ disabled: o
1964
2034
  }) => /* @__PURE__ */ n.jsx(
1965
2035
  M,
1966
2036
  {
@@ -2004,12 +2074,12 @@ const S6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
2004
2074
  )
2005
2075
  ),
2006
2076
  active: t,
2007
- disabled: r
2077
+ disabled: o
2008
2078
  }
2009
- ), Y2 = ({
2079
+ ), J2 = ({
2010
2080
  active: t,
2011
2081
  className: e = "",
2012
- disabled: r
2082
+ disabled: o
2013
2083
  }) => /* @__PURE__ */ n.jsx(
2014
2084
  M,
2015
2085
  {
@@ -2053,12 +2123,12 @@ const S6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
2053
2123
  )
2054
2124
  ),
2055
2125
  active: t,
2056
- disabled: r
2126
+ disabled: o
2057
2127
  }
2058
- ), J2 = ({
2128
+ ), z2 = ({
2059
2129
  active: t,
2060
2130
  className: e = "",
2061
- disabled: r
2131
+ disabled: o
2062
2132
  }) => /* @__PURE__ */ n.jsx(
2063
2133
  M,
2064
2134
  {
@@ -2102,12 +2172,12 @@ const S6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
2102
2172
  )
2103
2173
  ),
2104
2174
  active: t,
2105
- disabled: r
2175
+ disabled: o
2106
2176
  }
2107
- ), z2 = ({
2177
+ ), X2 = ({
2108
2178
  active: t,
2109
2179
  className: e = "",
2110
- disabled: r
2180
+ disabled: o
2111
2181
  }) => /* @__PURE__ */ n.jsx(
2112
2182
  M,
2113
2183
  {
@@ -2124,12 +2194,12 @@ const S6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
2124
2194
  /* @__PURE__ */ n.jsx("svg", { className: e, fill: "currentcolor", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 164.61 164.61", children: /* @__PURE__ */ n.jsx("g", { children: /* @__PURE__ */ n.jsx("path", { d: "M131.62,102.87c-1.96,2.47-6.77,4.24-6.77,4.24l-35.75,12.84v-9.47l26.31-9.37c2.99-1.07,3.44-2.58,1.02-3.38-2.42-.8-6.81-.57-9.8.51l-17.53,6.17v-9.83l1.01-.34s5.07-1.79,12.19-2.58c7.12-.78,15.85.11,22.69,2.7,7.72,2.44,8.59,6.03,6.63,8.51ZM92.51,86.75v-24.22c0-2.84-.52-5.46-3.19-6.2-2.04-.65-3.31,1.24-3.31,4.09v60.65l-16.36-5.19V43.55c6.95,1.29,17.09,4.34,22.53,6.18,13.85,4.76,18.55,10.67,18.55,24.01s-8.02,17.93-18.22,13ZM39.63,109.49c-7.92-2.23-9.24-6.88-5.63-9.56,3.34-2.47,9.01-4.33,9.01-4.33l23.45-8.34v9.51l-16.88,6.04c-2.98,1.07-3.44,2.58-1.02,3.38,2.42.79,6.81.57,9.8-.5l8.1-2.94v8.51c-.51.09-1.09.18-1.61.27-8.1,1.32-16.72.77-25.22-2.03h0ZM82.3,164.61C36.92,164.61,0,127.69,0,82.3S36.92,0,82.3,0s82.3,36.92,82.3,82.3-36.92,82.3-82.3,82.3ZM82.3,5C39.68,5,5,39.68,5,82.3s34.68,77.3,77.3,77.3,77.3-34.68,77.3-77.3S124.93,5,82.3,5Z" }) }) })
2125
2195
  ),
2126
2196
  active: t,
2127
- disabled: r
2197
+ disabled: o
2128
2198
  }
2129
- ), X2 = ({
2199
+ ), Q2 = ({
2130
2200
  active: t,
2131
2201
  className: e = "",
2132
- disabled: r
2202
+ disabled: o
2133
2203
  }) => /* @__PURE__ */ n.jsx(
2134
2204
  M,
2135
2205
  {
@@ -2173,12 +2243,12 @@ const S6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
2173
2243
  )
2174
2244
  ),
2175
2245
  active: t,
2176
- disabled: r
2246
+ disabled: o
2177
2247
  }
2178
- ), Q2 = ({
2248
+ ), N2 = ({
2179
2249
  active: t,
2180
2250
  className: e = "",
2181
- disabled: r
2251
+ disabled: o
2182
2252
  }) => /* @__PURE__ */ n.jsx(
2183
2253
  M,
2184
2254
  {
@@ -2222,12 +2292,12 @@ const S6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
2222
2292
  )
2223
2293
  ),
2224
2294
  active: t,
2225
- disabled: r
2295
+ disabled: o
2226
2296
  }
2227
- ), N2 = ({
2297
+ ), e8 = ({
2228
2298
  active: t,
2229
2299
  className: e = "",
2230
- disabled: r
2300
+ disabled: o
2231
2301
  }) => /* @__PURE__ */ n.jsx(
2232
2302
  M,
2233
2303
  {
@@ -2271,12 +2341,12 @@ const S6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
2271
2341
  )
2272
2342
  ),
2273
2343
  active: t,
2274
- disabled: r
2344
+ disabled: o
2275
2345
  }
2276
- ), e8 = ({
2346
+ ), t8 = ({
2277
2347
  active: t,
2278
2348
  className: e = "",
2279
- disabled: r
2349
+ disabled: o
2280
2350
  }) => /* @__PURE__ */ n.jsx(
2281
2351
  M,
2282
2352
  {
@@ -2320,12 +2390,12 @@ const S6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
2320
2390
  )
2321
2391
  ),
2322
2392
  active: t,
2323
- disabled: r
2393
+ disabled: o
2324
2394
  }
2325
- ), t8 = ({
2395
+ ), n8 = ({
2326
2396
  active: t,
2327
2397
  className: e = "",
2328
- disabled: r
2398
+ disabled: o
2329
2399
  }) => /* @__PURE__ */ n.jsx(
2330
2400
  M,
2331
2401
  {
@@ -2369,12 +2439,12 @@ const S6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
2369
2439
  )
2370
2440
  ),
2371
2441
  active: t,
2372
- disabled: r
2442
+ disabled: o
2373
2443
  }
2374
- ), n8 = ({
2444
+ ), o8 = ({
2375
2445
  active: t,
2376
2446
  className: e = "",
2377
- disabled: r
2447
+ disabled: o
2378
2448
  }) => /* @__PURE__ */ n.jsx(
2379
2449
  M,
2380
2450
  {
@@ -2418,12 +2488,12 @@ const S6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
2418
2488
  )
2419
2489
  ),
2420
2490
  active: t,
2421
- disabled: r
2491
+ disabled: o
2422
2492
  }
2423
2493
  ), r8 = ({
2424
2494
  active: t,
2425
2495
  className: e = "",
2426
- disabled: r
2496
+ disabled: o
2427
2497
  }) => /* @__PURE__ */ n.jsx(
2428
2498
  M,
2429
2499
  {
@@ -2467,12 +2537,12 @@ const S6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
2467
2537
  )
2468
2538
  ),
2469
2539
  active: t,
2470
- disabled: r
2540
+ disabled: o
2471
2541
  }
2472
- ), o8 = ({
2542
+ ), s8 = ({
2473
2543
  active: t,
2474
2544
  className: e = "",
2475
- disabled: r
2545
+ disabled: o
2476
2546
  }) => /* @__PURE__ */ n.jsx(
2477
2547
  M,
2478
2548
  {
@@ -2516,12 +2586,12 @@ const S6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
2516
2586
  )
2517
2587
  ),
2518
2588
  active: t,
2519
- disabled: r
2589
+ disabled: o
2520
2590
  }
2521
- ), s8 = ({
2591
+ ), c8 = ({
2522
2592
  active: t,
2523
2593
  className: e = "",
2524
- disabled: r
2594
+ disabled: o
2525
2595
  }) => /* @__PURE__ */ n.jsx(
2526
2596
  M,
2527
2597
  {
@@ -2565,12 +2635,12 @@ const S6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
2565
2635
  )
2566
2636
  ),
2567
2637
  active: t,
2568
- disabled: r
2638
+ disabled: o
2569
2639
  }
2570
- ), c8 = ({
2640
+ ), l8 = ({
2571
2641
  active: t,
2572
2642
  className: e = "",
2573
- disabled: r
2643
+ disabled: o
2574
2644
  }) => /* @__PURE__ */ n.jsx(
2575
2645
  M,
2576
2646
  {
@@ -2614,12 +2684,12 @@ const S6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
2614
2684
  )
2615
2685
  ),
2616
2686
  active: t,
2617
- disabled: r
2687
+ disabled: o
2618
2688
  }
2619
- ), l8 = ({
2689
+ ), i8 = ({
2620
2690
  active: t,
2621
2691
  className: e = "",
2622
- disabled: r
2692
+ disabled: o
2623
2693
  }) => /* @__PURE__ */ n.jsx(
2624
2694
  M,
2625
2695
  {
@@ -2663,12 +2733,12 @@ const S6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
2663
2733
  )
2664
2734
  ),
2665
2735
  active: t,
2666
- disabled: r
2736
+ disabled: o
2667
2737
  }
2668
- ), i8 = ({
2738
+ ), a8 = ({
2669
2739
  active: t,
2670
2740
  className: e = "",
2671
- disabled: r
2741
+ disabled: o
2672
2742
  }) => /* @__PURE__ */ n.jsx(
2673
2743
  M,
2674
2744
  {
@@ -2712,12 +2782,12 @@ const S6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
2712
2782
  )
2713
2783
  ),
2714
2784
  active: t,
2715
- disabled: r
2785
+ disabled: o
2716
2786
  }
2717
- ), a8 = ({
2787
+ ), u8 = ({
2718
2788
  active: t,
2719
2789
  className: e = "",
2720
- disabled: r
2790
+ disabled: o
2721
2791
  }) => /* @__PURE__ */ n.jsx(
2722
2792
  M,
2723
2793
  {
@@ -2761,12 +2831,12 @@ const S6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
2761
2831
  )
2762
2832
  ),
2763
2833
  active: t,
2764
- disabled: r
2834
+ disabled: o
2765
2835
  }
2766
- ), u8 = ({
2836
+ ), d8 = ({
2767
2837
  active: t,
2768
2838
  className: e = "",
2769
- disabled: r
2839
+ disabled: o
2770
2840
  }) => /* @__PURE__ */ n.jsx(
2771
2841
  M,
2772
2842
  {
@@ -2810,238 +2880,231 @@ const S6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
2810
2880
  )
2811
2881
  ),
2812
2882
  active: t,
2813
- disabled: r
2883
+ disabled: o
2814
2884
  }
2815
- ), d8 = {
2816
- Alert: D2,
2817
- Camera: P2,
2885
+ ), v8 = {
2886
+ Alert: P2,
2887
+ Camera: V2,
2818
2888
  DownArrow: k2,
2819
2889
  Ban: O2,
2820
- Check: V2,
2821
- Elipses: F2,
2890
+ Check: F2,
2891
+ Elipses: U2,
2822
2892
  Flag: W2,
2823
- Gear: U2,
2824
- Glass: H2,
2825
- Hdmi: K2,
2826
- Laptop: G2,
2827
- LeftArrow: q2,
2828
- Light: Y2,
2893
+ Gear: H2,
2894
+ Glass: K2,
2895
+ Hdmi: G2,
2896
+ Laptop: q2,
2897
+ LeftArrow: Y2,
2898
+ Light: J2,
2829
2899
  Mic: B2,
2830
- Moon: J2,
2831
- Playstation: z2,
2832
- Podium: X2,
2833
- Power: Q2,
2834
- Privacy: N2,
2835
- Question: e8,
2836
- RightArrow: t8,
2837
- Shade: n8,
2900
+ Moon: z2,
2901
+ Playstation: X2,
2902
+ Podium: Q2,
2903
+ Power: N2,
2904
+ Privacy: e8,
2905
+ Question: t8,
2906
+ RightArrow: n8,
2907
+ Shade: o8,
2838
2908
  Sun: r8,
2839
- UpArrow: o8,
2840
- VolDown: s8,
2841
- VolMute: c8,
2842
- VolUp: l8,
2843
- Wireless: i8,
2844
- X: a8,
2845
- Xbox: u8
2909
+ UpArrow: s8,
2910
+ VolDown: c8,
2911
+ VolMute: l8,
2912
+ VolUp: i8,
2913
+ Wireless: a8,
2914
+ X: u8,
2915
+ Xbox: d8
2846
2916
  };
2847
- function b6({
2917
+ function A6({
2848
2918
  name: t,
2849
- iconsDictionary: e = d8,
2850
- ...r
2919
+ iconsDictionary: e = v8,
2920
+ ...o
2851
2921
  }) {
2852
2922
  const s = e[t] ?? null;
2853
- return s || console.error(`Icon ${t} not found in dictionary`), /* @__PURE__ */ n.jsx(A2, { multiIcon: s, ...r });
2923
+ return s || console.error(`Icon ${t} not found in dictionary`), /* @__PURE__ */ n.jsx(D2, { multiIcon: s, ...o });
2854
2924
  }
2855
- const v8 = "_grid_1cmpp_1", h8 = "_header_1cmpp_11", g8 = "_content_1cmpp_17", f8 = "_footer_1cmpp_23", w8 = "_volume_1cmpp_29", e3 = {
2856
- grid: v8,
2857
- header: h8,
2858
- content: g8,
2859
- footer: f8,
2860
- volume: w8
2861
- }, I6 = ({ header: t, footer: e, content: r, volume: s, showVolume: l }) => /* @__PURE__ */ n.jsxs("div", { className: e3.grid, children: [
2862
- /* @__PURE__ */ n.jsx("div", { className: e3.header, children: t }),
2863
- /* @__PURE__ */ n.jsx("div", { className: e3.content, children: r }),
2864
- l && /* @__PURE__ */ n.jsx("div", { className: e3.volume, children: s }),
2865
- /* @__PURE__ */ n.jsx("div", { className: e3.footer, children: e })
2866
- ] }), p8 = "_grid_11w5q_1", x8 = "_header_11w5q_11", M8 = "_content_11w5q_17", v3 = {
2867
- grid: p8,
2868
- header: x8,
2869
- content: M8,
2925
+ const h8 = "_grid_1cmpp_1", g8 = "_header_1cmpp_11", f8 = "_content_1cmpp_17", w8 = "_footer_1cmpp_23", p8 = "_volume_1cmpp_29", o3 = {
2926
+ grid: h8,
2927
+ header: g8,
2928
+ content: f8,
2929
+ footer: w8,
2930
+ volume: p8
2931
+ }, T6 = ({ header: t, footer: e, content: o, volume: s, showVolume: l }) => /* @__PURE__ */ n.jsxs("div", { className: o3.grid, children: [
2932
+ /* @__PURE__ */ n.jsx("div", { className: o3.header, children: t }),
2933
+ /* @__PURE__ */ n.jsx("div", { className: o3.content, children: o }),
2934
+ l && /* @__PURE__ */ n.jsx("div", { className: o3.volume, children: s }),
2935
+ /* @__PURE__ */ n.jsx("div", { className: o3.footer, children: e })
2936
+ ] }), x8 = "_grid_11w5q_1", M8 = "_header_11w5q_11", m8 = "_content_11w5q_17", d3 = {
2937
+ grid: x8,
2938
+ header: M8,
2939
+ content: m8,
2870
2940
  "left-nav": "_left-nav_11w5q_23"
2871
- }, y6 = ({ className: t, header: e, content: r, leftNav: s }) => /* @__PURE__ */ n.jsxs("div", { className: `${t} ${v3.grid}`, children: [
2872
- /* @__PURE__ */ n.jsx("div", { className: v3.header, children: e }),
2873
- s && /* @__PURE__ */ n.jsx("div", { className: v3.leftNav, children: s }),
2874
- /* @__PURE__ */ n.jsx("div", { className: v3.content, children: r })
2875
- ] }), m8 = "_grid_1uwfo_1", Z8 = "_header_1uwfo_11", j8 = "_content_1uwfo_17", b3 = {
2876
- grid: m8,
2877
- header: Z8,
2878
- content: j8
2879
- }, R6 = ({ className: t, header: e, content: r }) => /* @__PURE__ */ n.jsxs("div", { className: `${t} ${b3.grid}`, children: [
2880
- /* @__PURE__ */ n.jsx("div", { className: b3.header, children: e }),
2881
- /* @__PURE__ */ n.jsx("div", { className: b3.content, children: r })
2941
+ }, D6 = ({ className: t, header: e, content: o, leftNav: s }) => /* @__PURE__ */ n.jsxs("div", { className: `${t} ${d3.grid}`, children: [
2942
+ /* @__PURE__ */ n.jsx("div", { className: d3.header, children: e }),
2943
+ s && /* @__PURE__ */ n.jsx("div", { className: d3.leftNav, children: s }),
2944
+ /* @__PURE__ */ n.jsx("div", { className: d3.content, children: o })
2945
+ ] }), Z8 = "_grid_1uwfo_1", j8 = "_header_1uwfo_11", S8 = "_content_1uwfo_17", C3 = {
2946
+ grid: Z8,
2947
+ header: j8,
2948
+ content: S8
2949
+ }, B6 = ({ className: t, header: e, content: o }) => /* @__PURE__ */ n.jsxs("div", { className: `${t} ${C3.grid}`, children: [
2950
+ /* @__PURE__ */ n.jsx("div", { className: C3.header, children: e }),
2951
+ /* @__PURE__ */ n.jsx("div", { className: C3.content, children: o })
2882
2952
  ] });
2883
- function E6() {
2953
+ function P6() {
2884
2954
  return console.log(location.pathname), location.pathname;
2885
2955
  }
2886
2956
  var C8 = /* @__PURE__ */ ((t) => (t[t.NotSet = 0] = "NotSet", t[t.Sunday = 1] = "Sunday", t[t.Monday = 2] = "Monday", t[t.Tuesday = 4] = "Tuesday", t[t.Wednesday = 8] = "Wednesday", t[t.Thursday = 16] = "Thursday", t[t.Friday = 32] = "Friday", t[t.Saturday = 64] = "Saturday", t))(C8 || {});
2887
- class _6 {
2888
- constructor(e, r) {
2889
- R(this, "path");
2890
- R(this, "handler");
2891
- this.path = e, this.handler = r;
2957
+ class O6 {
2958
+ constructor(e, o) {
2959
+ _(this, "path");
2960
+ _(this, "handler");
2961
+ this.path = e, this.handler = o;
2892
2962
  }
2893
2963
  }
2894
- const L6 = "$off";
2895
- class $6 {
2964
+ const V6 = "$off";
2965
+ class F6 {
2896
2966
  constructor() {
2897
- R(this, "name", "");
2898
- R(this, "iconUrl", "");
2899
- R(this, "channel", "");
2967
+ _(this, "name", "");
2968
+ _(this, "iconUrl", "");
2969
+ _(this, "channel", "");
2900
2970
  }
2901
2971
  }
2902
- class T6 {
2972
+ class k6 {
2903
2973
  constructor() {
2904
- R(this, "deviceKey");
2905
- R(this, "deviceType");
2974
+ _(this, "deviceKey");
2975
+ _(this, "deviceType");
2906
2976
  }
2907
2977
  }
2908
- class A6 {
2978
+ class U6 {
2909
2979
  constructor() {
2910
- R(this, "deviceKey");
2911
- R(this, "deviceType");
2980
+ _(this, "deviceKey");
2981
+ _(this, "deviceType");
2912
2982
  }
2913
2983
  }
2914
- class B6 {
2984
+ class W6 {
2915
2985
  constructor() {
2916
- R(this, "currentShareText");
2917
- R(this, "enabled");
2918
- R(this, "isSharing");
2986
+ _(this, "currentShareText");
2987
+ _(this, "enabled");
2988
+ _(this, "isSharing");
2919
2989
  }
2920
2990
  }
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
2991
  export {
2934
- A6 as AccessoryDeviceConfiguration,
2935
- D6 as Clock,
2992
+ U6 as AccessoryDeviceConfiguration,
2993
+ u6 as Clock,
2936
2994
  C8 as DaysOfWeek,
2937
- T6 as EnvironmentalDeviceConfiguration,
2938
- S6 as ErrorBox,
2939
- A2 as IconButton,
2940
- D2 as IconMultiAlert,
2995
+ k6 as EnvironmentalDeviceConfiguration,
2996
+ $6 as ErrorBox,
2997
+ D2 as IconButton,
2998
+ P2 as IconMultiAlert,
2941
2999
  O2 as IconMultiBan,
2942
- P2 as IconMultiCamera,
2943
- V2 as IconMultiCheck,
3000
+ V2 as IconMultiCamera,
3001
+ F2 as IconMultiCheck,
2944
3002
  k2 as IconMultiDownArrow,
2945
- F2 as IconMultiElipses,
3003
+ U2 as IconMultiElipses,
2946
3004
  W2 as IconMultiFlag,
2947
- U2 as IconMultiGear,
2948
- H2 as IconMultiGlass,
2949
- K2 as IconMultiHdmi,
2950
- G2 as IconMultiLaptop,
2951
- q2 as IconMultiLeftArrow,
2952
- Y2 as IconMultiLight,
2953
- J2 as IconMultiMoon,
2954
- z2 as IconMultiPlaystation,
2955
- X2 as IconMultiPodium,
2956
- Q2 as IconMultiPower,
2957
- N2 as IconMultiPrivacy,
2958
- e8 as IconMultiQuestion,
2959
- t8 as IconMultiRightArrow,
2960
- n8 as IconMultiShade,
3005
+ H2 as IconMultiGear,
3006
+ K2 as IconMultiGlass,
3007
+ G2 as IconMultiHdmi,
3008
+ q2 as IconMultiLaptop,
3009
+ Y2 as IconMultiLeftArrow,
3010
+ J2 as IconMultiLight,
3011
+ z2 as IconMultiMoon,
3012
+ X2 as IconMultiPlaystation,
3013
+ Q2 as IconMultiPodium,
3014
+ N2 as IconMultiPower,
3015
+ e8 as IconMultiPrivacy,
3016
+ t8 as IconMultiQuestion,
3017
+ n8 as IconMultiRightArrow,
3018
+ o8 as IconMultiShade,
2961
3019
  r8 as IconMultiSun,
2962
- o8 as IconMultiUpArrow,
2963
- s8 as IconMultiVolDown,
2964
- c8 as IconMultiVolMute,
2965
- l8 as IconMultiVolUp,
2966
- i8 as IconMultiWireless,
2967
- a8 as IconMultiX,
2968
- u8 as IconMultiXbox,
2969
- I6 as MainLayout,
2970
- _6 as MessageHandler,
2971
- Q8 as MobileControlProvider,
3020
+ s8 as IconMultiUpArrow,
3021
+ c8 as IconMultiVolDown,
3022
+ l8 as IconMultiVolMute,
3023
+ i8 as IconMultiVolUp,
3024
+ a8 as IconMultiWireless,
3025
+ u8 as IconMultiX,
3026
+ d8 as IconMultiXbox,
3027
+ T6 as MainLayout,
3028
+ O6 as MessageHandler,
3029
+ e6 as MobileControlProvider,
2972
3030
  M as MultiStateIconContainer,
2973
- b6 as NamedIconButton,
2974
- $6 as PresetChannel,
2975
- B6 as ShareState,
2976
- y6 as TechLayout,
2977
- R6 as TechPinLayout,
2978
- E6 as getBaseLocation,
2979
- I3 as httpClient,
2980
- L6 as roomOffSourceKey,
2981
- k as store,
2982
- E8 as uiActions,
2983
- d2 as uiReducer,
2984
- _8 as useApiPath,
2985
- h2 as useAppConfig,
2986
- M2 as useAppDispatch,
2987
- e6 as useAvrControl,
2988
- x2 as useClientId,
2989
- E2 as useDeviceIBasicVolumeWithFeedback,
2990
- t6 as useEndpoint,
2991
- j6 as useGetAllDeviceStateFromRoomConfiguration,
2992
- g2 as useGetAllDevices,
2993
- z8 as useGetCurrentPopoverIdForGroup,
2994
- $ as useGetDevice,
2995
- N8 as useGetIBasicVolumeWithFeedback,
2996
- K8 as useGetRoomDisplayStates,
2997
- G8 as useGetZoomRoomControllerKey,
3031
+ A6 as NamedIconButton,
3032
+ F6 as PresetChannel,
3033
+ W6 as ShareState,
3034
+ D6 as TechLayout,
3035
+ B6 as TechPinLayout,
3036
+ P6 as getBaseLocation,
3037
+ b3 as httpClient,
3038
+ V6 as roomOffSourceKey,
3039
+ F as store,
3040
+ L8 as uiActions,
3041
+ v2 as uiReducer,
3042
+ $8 as useApiPath,
3043
+ g2 as useAppConfig,
3044
+ m2 as useAppDispatch,
3045
+ n6 as useAvrControl,
3046
+ M2 as useClientId,
3047
+ _2 as useDeviceIBasicVolumeWithFeedback,
3048
+ o6 as useEndpoint,
3049
+ E6 as useGetAllDeviceStateFromRoomConfiguration,
3050
+ f2 as useGetAllDevices,
3051
+ Q8 as useGetCurrentPopoverIdForGroup,
3052
+ L as useGetDevice,
3053
+ t6 as useGetIBasicVolumeWithFeedback,
3054
+ q8 as useGetRoomDisplayStates,
3055
+ Y8 as useGetZoomRoomControllerKey,
2998
3056
  v1 as useIBasicVolumeWithFeedback,
2999
- n6 as useIChannelMessenger,
3000
- r6 as useIColor,
3001
- o6 as useICommunicationMonitor,
3002
- s6 as useIDPad,
3003
- c6 as useIDeviceInfoMessenger,
3004
- l6 as useIDvr,
3057
+ r6 as useIChannelMessenger,
3058
+ s6 as useIColor,
3059
+ c6 as useICommunicationMonitor,
3060
+ l6 as useIDPad,
3061
+ i6 as useIDeviceInfoMessenger,
3062
+ a6 as useIDvr,
3063
+ d6 as useIEssentialsRoomCombiner,
3005
3064
  h1 as useIHasPowerControl,
3006
- R3 as useIHasSelectableItems,
3007
- i6 as useILevelControls,
3008
- a6 as useILightingScenes,
3009
- u6 as useIMatrixRouting,
3010
- d6 as useINumeric,
3011
- v6 as useIRoomEventSchedule,
3012
- h6 as useIRunDirectRouteAction,
3013
- g6 as useIRunRouteAction,
3014
- f6 as useISetTopBoxControls,
3015
- w6 as useIShadesOpenCloseStop,
3016
- p6 as useIShutdownPromptTimer,
3017
- x6 as useISwitchedOutput,
3018
- M6 as useITransport,
3019
- m2 as useInitialize,
3020
- m6 as useMobileControlTouchpanelController,
3021
- R2 as usePressHoldRelease,
3022
- U8 as useRoomAdvancedSharingActive,
3023
- P8 as useRoomCodecContentDestinationKey,
3024
- L8 as useRoomConfiguration,
3025
- B8 as useRoomDestinationList,
3026
- A8 as useRoomDestinations,
3027
- D8 as useRoomEnvironmentalDevices,
3028
- C6 as useRoomIBasicVolumeWithFeedback,
3029
- V8 as useRoomInCall,
3030
- F8 as useRoomIsCoolingDown,
3031
- W8 as useRoomIsOn,
3032
- k8 as useRoomIsWarmingUp,
3033
- p2 as useRoomKey,
3034
- $8 as useRoomName,
3035
- O8 as useRoomProgramAudioDestinationKey,
3036
- H8 as useRoomShareState,
3037
- T8 as useRoomSourceList,
3038
- u1 as useRoomState,
3039
- f2 as useRoomVolume,
3040
- Y8 as useShowIncomingCallModal,
3041
- J8 as useShowModal,
3042
- X8 as useShowPopoverById,
3043
- q8 as useShowShutdownModal,
3044
- Z6 as useTwoWayDisplayBase,
3045
- E as useWebsocketContext,
3046
- w2 as useWsIsConnected
3065
+ y3 as useIHasSelectableItems,
3066
+ v6 as useILevelControls,
3067
+ h6 as useILightingScenes,
3068
+ g6 as useIMatrixRouting,
3069
+ f6 as useIMcCiscoCodecUserInterfaceAppControl,
3070
+ w6 as useINumeric,
3071
+ p6 as useIProjectorScreenLiftControl,
3072
+ x6 as useIRoomEventSchedule,
3073
+ M6 as useIRunDirectRouteAction,
3074
+ m6 as useIRunRouteAction,
3075
+ Z6 as useISetTopBoxControls,
3076
+ j6 as useIShadesOpenCloseStop,
3077
+ S6 as useIShutdownPromptTimer,
3078
+ C6 as useISwitchedOutput,
3079
+ b6 as useITechPassword,
3080
+ I6 as useITransport,
3081
+ Z2 as useInitialize,
3082
+ y6 as useMobileControlTouchpanelController,
3083
+ E2 as usePressHoldRelease,
3084
+ K8 as useRoomAdvancedSharingActive,
3085
+ F8 as useRoomCodecContentDestinationKey,
3086
+ A8 as useRoomConfiguration,
3087
+ P8 as useRoomDestinationList,
3088
+ B8 as useRoomDestinations,
3089
+ O8 as useRoomEnvironmentalDevices,
3090
+ _6 as useRoomIBasicVolumeWithFeedback,
3091
+ k8 as useRoomInCall,
3092
+ W8 as useRoomIsCoolingDown,
3093
+ H8 as useRoomIsOn,
3094
+ U8 as useRoomIsWarmingUp,
3095
+ x2 as useRoomKey,
3096
+ T8 as useRoomName,
3097
+ V8 as useRoomProgramAudioDestinationKey,
3098
+ G8 as useRoomShareState,
3099
+ D8 as useRoomSourceList,
3100
+ R3 as useRoomState,
3101
+ w2 as useRoomVolume,
3102
+ z8 as useShowIncomingCallModal,
3103
+ X8 as useShowModal,
3104
+ N8 as useShowPopoverById,
3105
+ J8 as useShowShutdownModal,
3106
+ L6 as useTimeAndDate,
3107
+ R6 as useTwoWayDisplayBase,
3108
+ y as useWebsocketContext,
3109
+ p2 as useWsIsConnected
3047
3110
  };