@pepperdash/mobile-control-react-app-core 1.5.0 → 1.7.0

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