@pepperdash/mobile-control-react-app-core 1.2.0 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/dist/mobile-control-react-app-core.es.js +696 -593
  2. package/dist/mobile-control-react-app-core.umd.js +10 -10
  3. package/dist/shared/hooks/index.d.ts +1 -0
  4. package/dist/shared/hooks/index.d.ts.map +1 -1
  5. package/dist/shared/hooks/interfaces/index.d.ts +6 -0
  6. package/dist/shared/hooks/interfaces/index.d.ts.map +1 -0
  7. package/dist/shared/hooks/interfaces/interfaceNames.d.ts +2 -0
  8. package/dist/shared/hooks/interfaces/interfaceNames.d.ts.map +1 -0
  9. package/dist/shared/hooks/interfaces/useIHasPowerControl.d.ts +7 -0
  10. package/dist/shared/hooks/interfaces/useIHasPowerControl.d.ts.map +1 -0
  11. package/dist/shared/hooks/interfaces/useIRunDirectRouteAction.d.ts +10 -0
  12. package/dist/shared/hooks/interfaces/useIRunDirectRouteAction.d.ts.map +1 -0
  13. package/dist/shared/hooks/interfaces/useMobileControlTouchpanelController.d.ts +15 -0
  14. package/dist/shared/hooks/interfaces/useMobileControlTouchpanelController.d.ts.map +1 -0
  15. package/dist/shared/hooks/interfaces/useTwoWayDisplayBase.d.ts +13 -0
  16. package/dist/shared/hooks/interfaces/useTwoWayDisplayBase.d.ts.map +1 -0
  17. package/dist/shared/hooks/useGetDeviceStateFromRoomConfiguration.d.ts.map +1 -1
  18. package/dist/store/devices/devices.slice.d.ts +3 -14
  19. package/dist/store/devices/devices.slice.d.ts.map +1 -1
  20. package/dist/store/devices/devicesSelectors.d.ts +11 -2
  21. package/dist/store/devices/devicesSelectors.d.ts.map +1 -1
  22. package/dist/store/hooks.d.ts +2 -2
  23. package/dist/store/index.d.ts +4 -4
  24. package/dist/store/rooms/rooms.slice.d.ts +9 -96
  25. package/dist/store/rooms/rooms.slice.d.ts.map +1 -1
  26. package/dist/store/rooms/roomsSelectors.d.ts +11 -3
  27. package/dist/store/rooms/roomsSelectors.d.ts.map +1 -1
  28. package/dist/store/rootReducer.d.ts +8 -8
  29. package/dist/types/state/index.d.ts +1 -0
  30. package/dist/types/state/index.d.ts.map +1 -1
  31. package/dist/types/state/state/DisplayState.d.ts +1 -1
  32. package/dist/types/state/state/DisplayState.d.ts.map +1 -1
  33. package/dist/types/state/state/MobileControlTouchpanelState.d.ts +12 -0
  34. package/dist/types/state/state/MobileControlTouchpanelState.d.ts.map +1 -0
  35. package/dist/types/state/state/RoomState.d.ts +2 -0
  36. package/dist/types/state/state/RoomState.d.ts.map +1 -1
  37. package/dist/utils/useWebsocketContext.d.ts +1 -1
  38. package/dist/utils/useWebsocketContext.d.ts.map +1 -1
  39. package/package.json +1 -1
@@ -1,12 +1,12 @@
1
- var _1 = Object.defineProperty;
2
- var B1 = (c, r, t) => r in c ? _1(c, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : c[r] = t;
3
- var k = (c, r, t) => (B1(c, typeof r != "symbol" ? r + "" : r, t), t);
4
- import L1 from "axios";
5
- import { createSlice as K, combineReducers as A1, configureStore as F3 } from "@reduxjs/toolkit";
6
- import { useSelector as T1, useDispatch as P1, Provider as D1 } from "react-redux";
7
- import * as W3 from "lodash";
8
- import U3, { createContext as O1, useContext as k1, useState as r3, useRef as V1, useCallback as O3, useEffect as G } from "react";
9
- const $1 = {
1
+ var A1 = Object.defineProperty;
2
+ var L1 = (c, r, t) => r in c ? A1(c, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : c[r] = t;
3
+ var d = (c, r, t) => (L1(c, typeof r != "symbol" ? r + "" : r, t), t);
4
+ import T1 from "axios";
5
+ import { createSlice as Y, combineReducers as P1, configureStore as W3, createSelector as D1 } from "@reduxjs/toolkit";
6
+ import { useSelector as O1, useDispatch as V1, Provider as k1 } from "react-redux";
7
+ import * as U3 from "lodash";
8
+ import H3, { createContext as $1, useContext as F1, useState as r3, useRef as W1, useCallback as V3, useEffect as K } from "react";
9
+ const U1 = {
10
10
  config: {
11
11
  enableDev: !1,
12
12
  apiPath: "",
@@ -16,45 +16,39 @@ const $1 = {
16
16
  loginMode: "",
17
17
  modes: {}
18
18
  }
19
- }, H3 = K({
19
+ }, G3 = Y({
20
20
  name: "appConfig",
21
- initialState: $1,
21
+ initialState: U1,
22
22
  reducers: {
23
23
  setAppConfig(c, r) {
24
24
  c.config = r.payload;
25
25
  }
26
26
  }
27
- }), F1 = H3.actions, W1 = H3.reducer, U1 = {}, q3 = K({
27
+ }), H1 = G3.actions, G1 = G3.reducer, q1 = {}, q3 = Y({
28
28
  name: "devices",
29
- initialState: U1,
29
+ initialState: q1,
30
30
  reducers: {
31
31
  setDeviceState(c, r) {
32
32
  const t = r.payload.type, l = t.slice(t.lastIndexOf("/") + 1);
33
33
  if (!l)
34
34
  return;
35
- const w = r.payload.content, j = c[l] ?? {}, S = W3.merge(j, w);
36
- return {
37
- ...c,
38
- [l]: S
39
- };
35
+ const a = r.payload.content, Z = c[l] ?? {}, S = U3.merge(Z, a);
36
+ return c[l] = S, c;
40
37
  }
41
38
  }
42
- }), H1 = q3.actions, q1 = q3.reducer, Y1 = {}, Y3 = K({
39
+ }), K1 = q3.actions, Y1 = q3.reducer, z1 = {}, K3 = Y({
43
40
  name: "rooms",
44
- initialState: Y1,
41
+ initialState: z1,
45
42
  reducers: {
46
43
  setRoomState(c, r) {
47
44
  const l = r.payload.type.match("/room/(.*)/status");
48
45
  if (!l)
49
46
  return;
50
- const w = l[1], j = r.payload.content, S = c[w] ?? {}, C = W3.merge(S, j);
51
- return {
52
- ...c,
53
- [w]: C
54
- };
47
+ const a = l[1], Z = r.payload.content, S = c[a] ?? {}, b = U3.merge(S, Z);
48
+ return c[a] = b, c;
55
49
  }
56
50
  }
57
- }), G1 = Y3.actions, K1 = Y3.reducer, J1 = {
51
+ }), J1 = K3.actions, X1 = K3.reducer, Q1 = {
58
52
  apiVersion: "",
59
53
  serverIsRunningOnProcessorHardware: !1,
60
54
  websocket: {
@@ -73,9 +67,9 @@ const $1 = {
73
67
  userCode: "",
74
68
  qrUrl: ""
75
69
  }
76
- }, G3 = K({
70
+ }, Y3 = Y({
77
71
  name: "runtimeConfig",
78
- initialState: J1,
72
+ initialState: Q1,
79
73
  reducers: {
80
74
  setRuntimeConfig(c, r) {
81
75
  c.apiVersion = r.payload.apiVersion, c.serverIsRunningOnProcessorHardware = r.payload.serverIsRunningOnProcessorHardware;
@@ -99,15 +93,15 @@ const $1 = {
99
93
  c.roomData.userCode = r.payload.userCode, c.roomData.qrUrl = r.payload.qrUrl;
100
94
  }
101
95
  }
102
- }), F = G3.actions, z1 = G3.reducer, X1 = {
96
+ }), F = Y3.actions, N1 = Y3.reducer, e2 = {
103
97
  modalVisibility: {
104
98
  showShutdownModal: !1,
105
99
  showIncomingCallModal: !1
106
100
  },
107
101
  popoverVisibility: {}
108
- }, K3 = K({
102
+ }, z3 = Y({
109
103
  name: "ui",
110
- initialState: X1,
104
+ initialState: e2,
111
105
  reducers: {
112
106
  clearAllModals(c) {
113
107
  Object.entries(c.modalVisibility).forEach(([r]) => {
@@ -129,103 +123,115 @@ const $1 = {
129
123
  }), c.popoverVisibility[r.payload.popoverGroup][r.payload.popoverId] = r.payload.value;
130
124
  }
131
125
  }
132
- }), i8 = K3.actions, Q1 = K3.reducer, J3 = A1({
133
- appConfig: W1,
134
- runtimeConfig: z1,
135
- rooms: K1,
136
- devices: q1,
137
- ui: Q1
138
- });
139
- F3({
126
+ }), d8 = z3.actions, r2 = z3.reducer, J3 = P1({
127
+ appConfig: G1,
128
+ runtimeConfig: N1,
129
+ rooms: X1,
130
+ devices: Y1,
131
+ ui: r2
132
+ }), c2 = W3({
140
133
  reducer: J3
141
- });
142
- const f = T1, N1 = () => f((c) => c.appConfig.config), a8 = () => f((c) => c.appConfig.config.apiPath), h8 = () => f((c) => Object.values(c.devices)), v8 = (c) => f((r) => r.devices[c]), d8 = (c) => f(
134
+ }), f = O1, s2 = () => f((c) => c.appConfig.config), u8 = () => f((c) => c.appConfig.config.apiPath), g8 = () => D1(
135
+ [(c) => c.devices],
136
+ (c) => c ? Object.values(c) : void 0
137
+ )(c2.getState()), X3 = (c) => f((r) => r.devices[c] ? r.devices[c] : void 0), w8 = (c) => f(
143
138
  (r) => {
144
139
  var t;
145
140
  return r.rooms[c] ? (t = r.rooms[c]) == null ? void 0 : t.configuration : void 0;
146
141
  }
147
- ), u8 = (c) => f(
142
+ ), x8 = (c) => f(
148
143
  (r) => r.rooms[c] ? r.rooms[c] : void 0
149
- ), g8 = (c) => f(
144
+ ), f8 = (c) => f(
150
145
  (r) => {
151
146
  var t;
152
147
  return r.rooms[c] ? (t = r.rooms[c]) == null ? void 0 : t.name : void 0;
153
148
  }
154
- ), w8 = (c) => f(
149
+ ), p8 = (c) => f(
155
150
  (r) => {
156
151
  var t, l;
157
152
  return r.rooms[c] ? (l = (t = r.rooms[c]) == null ? void 0 : t.volumes) == null ? void 0 : l.master : void 0;
158
153
  }
159
- ), x8 = (c) => f(
154
+ ), M8 = (c) => f(
160
155
  (r) => {
161
156
  var t, l;
162
157
  return r.rooms[c] ? (l = (t = r.rooms[c]) == null ? void 0 : t.configuration) == null ? void 0 : l.sourceList : void 0;
163
158
  }
164
- ), f8 = (c) => f(
159
+ ), Z8 = (c) => f(
165
160
  (r) => {
166
161
  var t, l;
167
162
  return r.rooms[c] ? (l = (t = r.rooms[c]) == null ? void 0 : t.configuration) == null ? void 0 : l.displayKeys : void 0;
168
163
  }
169
- ), M8 = (c) => f(
164
+ ), m8 = (c) => f(
170
165
  (r) => {
171
166
  var t;
172
167
  return r.rooms[c] ? (t = r.rooms[c]) == null ? void 0 : t.isInCall : void 0;
173
168
  }
174
- ), p8 = (c) => f(
169
+ ), j8 = (c) => f(
175
170
  (r) => {
176
171
  var t;
177
172
  return r.rooms[c] ? (t = r.rooms[c]) == null ? void 0 : t.isWarmingUp : void 0;
178
173
  }
179
- ), Z8 = (c) => f(
174
+ ), C8 = (c) => f(
180
175
  (r) => {
181
176
  var t;
182
177
  return r.rooms[c] ? (t = r.rooms[c]) == null ? void 0 : t.isCoolingDown : void 0;
183
178
  }
184
- ), m8 = (c) => f(
179
+ ), S8 = (c) => f(
185
180
  (r) => {
186
181
  var t;
187
182
  return r.rooms[c] ? (t = r.rooms[c]) == null ? void 0 : t.isOn : void 0;
188
183
  }
189
- ), j8 = (c) => f(
184
+ ), b8 = (c) => f(
190
185
  (r) => {
191
186
  var t;
192
187
  return r.rooms[c] ? (t = r.rooms[c]) == null ? void 0 : t.advancedSharingActive : void 0;
193
188
  }
194
- ), C8 = (c) => f(
189
+ ), y8 = (c) => f(
195
190
  (r) => {
196
191
  var t;
197
192
  return r.rooms[c] ? (t = r.rooms[c]) == null ? void 0 : t.share : void 0;
198
193
  }
199
- ), e2 = () => f((c) => c.runtimeConfig.websocket.isConnected), r2 = () => f((c) => c.runtimeConfig.roomData.roomKey), c2 = () => f((c) => c.runtimeConfig.roomData.clientId), S8 = () => f((c) => c.ui.modalVisibility.showShutdownModal), b8 = () => f((c) => c.ui.modalVisibility.showIncomingCallModal), y8 = (c) => f((r) => r.ui.modalVisibility[c]), I8 = (c) => f((r) => {
194
+ ), I8 = (c) => f((r) => {
195
+ var a, Z;
196
+ const t = (Z = (a = r.rooms[c]) == null ? void 0 : a.configuration) == null ? void 0 : Z.displayKeys;
197
+ return t && Object.values(r.devices).filter(
198
+ (S) => t.includes(S.key)
199
+ ) || void 0;
200
+ }), R8 = (c) => f(
201
+ (r) => {
202
+ var t, l;
203
+ return r.rooms[c] ? (l = (t = r.rooms[c]) == null ? void 0 : t.configuration) == null ? void 0 : l.zoomRoomControllerKey : void 0;
204
+ }
205
+ ), t2 = () => f((c) => c.runtimeConfig.websocket.isConnected), o2 = () => f((c) => c.runtimeConfig.roomData.roomKey), n2 = () => f((c) => c.runtimeConfig.roomData.clientId), E8 = () => f((c) => c.ui.modalVisibility.showShutdownModal), _8 = () => f((c) => c.ui.modalVisibility.showIncomingCallModal), B8 = (c) => f((r) => r.ui.modalVisibility[c]), A8 = (c) => f((r) => {
200
206
  const t = r.ui.popoverVisibility[c];
201
207
  if (t)
202
208
  return Object.keys(t).find((l) => t[l]);
203
- }), R8 = (c, r) => f((t) => {
209
+ }), L8 = (c, r) => f((t) => {
204
210
  var l;
205
211
  return (l = t.ui.popoverVisibility[c]) == null ? void 0 : l[r];
206
- }), P = F3({
212
+ }), D = W3({
207
213
  reducer: J3
208
- }), s2 = P1, v3 = L1.create();
209
- function t2() {
210
- const c = s2();
214
+ }), l2 = V1, d3 = T1.create();
215
+ function i2() {
216
+ const c = l2();
211
217
  return async () => {
212
218
  try {
213
- const r = location.pathname.split("/").filter((w) => w.length > 0);
219
+ const r = location.pathname.split("/").filter((a) => a.length > 0);
214
220
  r.length >= 5 ? r.length = 5 : r.length = 2;
215
- const t = `/${r.join("/")}`, l = await v3.get("/_local-config/_config.local.json", { baseURL: t });
216
- if (console.log("configRes", l), l.status == 200 && l.data) {
217
- const w = l.data.apiPath;
218
- c(F1.setAppConfig(l.data));
219
- const j = await v3.get(`${w}/version`);
220
- j.status == 200 && j.data && (console.log("versionRes", j.data), c(F.setRuntimeConfig(j.data)));
221
+ const t = `/${r.join("/")}`, l = await d3.get("/_local-config/_config.local.json", { baseURL: t });
222
+ if (l.status == 200 && l.data) {
223
+ const a = l.data.apiPath;
224
+ c(H1.setAppConfig(l.data));
225
+ const Z = await d3.get(`${a}/version`);
226
+ Z.status == 200 && Z.data && c(F.setRuntimeConfig(Z.data));
221
227
  }
222
228
  } catch (r) {
223
- console.log("Error getting config", r);
229
+ console.error("Error getting config", r);
224
230
  }
225
231
  return !0;
226
232
  };
227
233
  }
228
- var d3 = { exports: {} }, H = {};
234
+ var u3 = { exports: {} }, H = {};
229
235
  /**
230
236
  * @license React
231
237
  * react-jsx-runtime.development.js
@@ -236,56 +242,56 @@ var d3 = { exports: {} }, H = {};
236
242
  * LICENSE file in the root directory of this source tree.
237
243
  */
238
244
  var k3;
239
- function o2() {
245
+ function a2() {
240
246
  return k3 || (k3 = 1, process.env.NODE_ENV !== "production" && function() {
241
- var c = U3, r = Symbol.for("react.element"), t = Symbol.for("react.portal"), l = Symbol.for("react.fragment"), w = Symbol.for("react.strict_mode"), j = Symbol.for("react.profiler"), S = Symbol.for("react.provider"), C = Symbol.for("react.context"), g = Symbol.for("react.forward_ref"), R = Symbol.for("react.suspense"), Z = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), E = Symbol.for("react.lazy"), _ = Symbol.for("react.offscreen"), M = Symbol.iterator, L = "@@iterator";
242
- function D(s) {
247
+ var c = H3, r = Symbol.for("react.element"), t = Symbol.for("react.portal"), l = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), Z = Symbol.for("react.profiler"), S = Symbol.for("react.provider"), b = Symbol.for("react.context"), x = Symbol.for("react.forward_ref"), E = Symbol.for("react.suspense"), j = Symbol.for("react.suspense_list"), y = Symbol.for("react.memo"), _ = Symbol.for("react.lazy"), B = Symbol.for("react.offscreen"), M = Symbol.iterator, L = "@@iterator";
248
+ function O(s) {
243
249
  if (s === null || typeof s != "object")
244
250
  return null;
245
251
  var o = M && s[M] || s[L];
246
252
  return typeof o == "function" ? o : null;
247
253
  }
248
- var x = c.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
249
- function y(s) {
254
+ var p = c.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
255
+ function I(s) {
250
256
  {
251
257
  for (var o = arguments.length, n = new Array(o > 1 ? o - 1 : 0), i = 1; i < o; i++)
252
258
  n[i - 1] = arguments[i];
253
- X3("error", s, n);
259
+ N3("error", s, n);
254
260
  }
255
261
  }
256
- function X3(s, o, n) {
262
+ function N3(s, o, n) {
257
263
  {
258
- var i = x.ReactDebugCurrentFrame, v = i.getStackAddendum();
259
- v !== "" && (o += "%s", n = n.concat([v]));
260
- var u = n.map(function(h) {
264
+ var i = p.ReactDebugCurrentFrame, u = i.getStackAddendum();
265
+ u !== "" && (o += "%s", n = n.concat([u]));
266
+ var w = n.map(function(h) {
261
267
  return String(h);
262
268
  });
263
- u.unshift("Warning: " + o), Function.prototype.apply.call(console[s], console, u);
269
+ w.unshift("Warning: " + o), Function.prototype.apply.call(console[s], console, w);
264
270
  }
265
271
  }
266
- var Q3 = !1, N3 = !1, e1 = !1, r1 = !1, c1 = !1, u3;
267
- u3 = Symbol.for("react.module.reference");
268
- function s1(s) {
269
- return !!(typeof s == "string" || typeof s == "function" || s === l || s === j || c1 || s === w || s === R || s === Z || r1 || s === _ || Q3 || N3 || e1 || typeof s == "object" && s !== null && (s.$$typeof === E || s.$$typeof === b || s.$$typeof === S || s.$$typeof === C || s.$$typeof === g || // This needs to include all possible module reference object
272
+ var e1 = !1, r1 = !1, c1 = !1, s1 = !1, t1 = !1, g3;
273
+ g3 = Symbol.for("react.module.reference");
274
+ function o1(s) {
275
+ return !!(typeof s == "string" || typeof s == "function" || s === l || s === Z || t1 || s === a || s === E || s === j || s1 || s === B || e1 || r1 || c1 || typeof s == "object" && s !== null && (s.$$typeof === _ || s.$$typeof === y || s.$$typeof === S || s.$$typeof === b || s.$$typeof === x || // This needs to include all possible module reference object
270
276
  // types supported by any Flight configuration anywhere since
271
277
  // we don't know which Flight build this will end up being used
272
278
  // with.
273
- s.$$typeof === u3 || s.getModuleId !== void 0));
279
+ s.$$typeof === g3 || s.getModuleId !== void 0));
274
280
  }
275
- function t1(s, o, n) {
281
+ function n1(s, o, n) {
276
282
  var i = s.displayName;
277
283
  if (i)
278
284
  return i;
279
- var v = o.displayName || o.name || "";
280
- return v !== "" ? n + "(" + v + ")" : n;
285
+ var u = o.displayName || o.name || "";
286
+ return u !== "" ? n + "(" + u + ")" : n;
281
287
  }
282
- function g3(s) {
288
+ function w3(s) {
283
289
  return s.displayName || "Context";
284
290
  }
285
- function A(s) {
291
+ function T(s) {
286
292
  if (s == null)
287
293
  return null;
288
- if (typeof s.tag == "number" && y("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof s == "function")
294
+ if (typeof s.tag == "number" && I("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof s == "function")
289
295
  return s.displayName || s.name || null;
290
296
  if (typeof s == "string")
291
297
  return s;
@@ -294,32 +300,32 @@ function o2() {
294
300
  return "Fragment";
295
301
  case t:
296
302
  return "Portal";
297
- case j:
303
+ case Z:
298
304
  return "Profiler";
299
- case w:
305
+ case a:
300
306
  return "StrictMode";
301
- case R:
307
+ case E:
302
308
  return "Suspense";
303
- case Z:
309
+ case j:
304
310
  return "SuspenseList";
305
311
  }
306
312
  if (typeof s == "object")
307
313
  switch (s.$$typeof) {
308
- case C:
314
+ case b:
309
315
  var o = s;
310
- return g3(o) + ".Consumer";
316
+ return w3(o) + ".Consumer";
311
317
  case S:
312
318
  var n = s;
313
- return g3(n._context) + ".Provider";
314
- case g:
315
- return t1(s, s.render, "ForwardRef");
316
- case b:
319
+ return w3(n._context) + ".Provider";
320
+ case x:
321
+ return n1(s, s.render, "ForwardRef");
322
+ case y:
317
323
  var i = s.displayName || null;
318
- return i !== null ? i : A(s.type) || "Memo";
319
- case E: {
320
- var v = s, u = v._payload, h = v._init;
324
+ return i !== null ? i : T(s.type) || "Memo";
325
+ case _: {
326
+ var u = s, w = u._payload, h = u._init;
321
327
  try {
322
- return A(h(u));
328
+ return T(h(w));
323
329
  } catch {
324
330
  return null;
325
331
  }
@@ -327,18 +333,18 @@ function o2() {
327
333
  }
328
334
  return null;
329
335
  }
330
- var O = Object.assign, W = 0, w3, x3, f3, M3, p3, Z3, m3;
331
- function j3() {
336
+ var V = Object.assign, W = 0, x3, f3, p3, M3, Z3, m3, j3;
337
+ function C3() {
332
338
  }
333
- j3.__reactDisabledLog = !0;
334
- function o1() {
339
+ C3.__reactDisabledLog = !0;
340
+ function l1() {
335
341
  {
336
342
  if (W === 0) {
337
- w3 = console.log, x3 = console.info, f3 = console.warn, M3 = console.error, p3 = console.group, Z3 = console.groupCollapsed, m3 = console.groupEnd;
343
+ x3 = console.log, f3 = console.info, p3 = console.warn, M3 = console.error, Z3 = console.group, m3 = console.groupCollapsed, j3 = console.groupEnd;
338
344
  var s = {
339
345
  configurable: !0,
340
346
  enumerable: !0,
341
- value: j3,
347
+ value: C3,
342
348
  writable: !0
343
349
  };
344
350
  Object.defineProperties(console, {
@@ -354,7 +360,7 @@ function o2() {
354
360
  W++;
355
361
  }
356
362
  }
357
- function n1() {
363
+ function i1() {
358
364
  {
359
365
  if (W--, W === 0) {
360
366
  var s = {
@@ -363,65 +369,65 @@ function o2() {
363
369
  writable: !0
364
370
  };
365
371
  Object.defineProperties(console, {
366
- log: O({}, s, {
367
- value: w3
368
- }),
369
- info: O({}, s, {
372
+ log: V({}, s, {
370
373
  value: x3
371
374
  }),
372
- warn: O({}, s, {
375
+ info: V({}, s, {
373
376
  value: f3
374
377
  }),
375
- error: O({}, s, {
376
- value: M3
377
- }),
378
- group: O({}, s, {
378
+ warn: V({}, s, {
379
379
  value: p3
380
380
  }),
381
- groupCollapsed: O({}, s, {
381
+ error: V({}, s, {
382
+ value: M3
383
+ }),
384
+ group: V({}, s, {
382
385
  value: Z3
383
386
  }),
384
- groupEnd: O({}, s, {
387
+ groupCollapsed: V({}, s, {
385
388
  value: m3
389
+ }),
390
+ groupEnd: V({}, s, {
391
+ value: j3
386
392
  })
387
393
  });
388
394
  }
389
- W < 0 && y("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
395
+ W < 0 && I("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
390
396
  }
391
397
  }
392
- var c3 = x.ReactCurrentDispatcher, s3;
393
- function J(s, o, n) {
398
+ var s3 = p.ReactCurrentDispatcher, t3;
399
+ function z(s, o, n) {
394
400
  {
395
- if (s3 === void 0)
401
+ if (t3 === void 0)
396
402
  try {
397
403
  throw Error();
398
- } catch (v) {
399
- var i = v.stack.trim().match(/\n( *(at )?)/);
400
- s3 = i && i[1] || "";
404
+ } catch (u) {
405
+ var i = u.stack.trim().match(/\n( *(at )?)/);
406
+ t3 = i && i[1] || "";
401
407
  }
402
408
  return `
403
- ` + s3 + s;
409
+ ` + t3 + s;
404
410
  }
405
411
  }
406
- var t3 = !1, z;
412
+ var o3 = !1, J;
407
413
  {
408
- var l1 = typeof WeakMap == "function" ? WeakMap : Map;
409
- z = new l1();
414
+ var a1 = typeof WeakMap == "function" ? WeakMap : Map;
415
+ J = new a1();
410
416
  }
411
- function C3(s, o) {
412
- if (!s || t3)
417
+ function S3(s, o) {
418
+ if (!s || o3)
413
419
  return "";
414
420
  {
415
- var n = z.get(s);
421
+ var n = J.get(s);
416
422
  if (n !== void 0)
417
423
  return n;
418
424
  }
419
425
  var i;
420
- t3 = !0;
421
- var v = Error.prepareStackTrace;
426
+ o3 = !0;
427
+ var u = Error.prepareStackTrace;
422
428
  Error.prepareStackTrace = void 0;
423
- var u;
424
- u = c3.current, c3.current = null, o1();
429
+ var w;
430
+ w = s3.current, s3.current = null, l1();
425
431
  try {
426
432
  if (o) {
427
433
  var h = function() {
@@ -434,55 +440,55 @@ function o2() {
434
440
  }), typeof Reflect == "object" && Reflect.construct) {
435
441
  try {
436
442
  Reflect.construct(h, []);
437
- } catch (T) {
438
- i = T;
443
+ } catch (P) {
444
+ i = P;
439
445
  }
440
446
  Reflect.construct(s, [], h);
441
447
  } else {
442
448
  try {
443
449
  h.call();
444
- } catch (T) {
445
- i = T;
450
+ } catch (P) {
451
+ i = P;
446
452
  }
447
453
  s.call(h.prototype);
448
454
  }
449
455
  } else {
450
456
  try {
451
457
  throw Error();
452
- } catch (T) {
453
- i = T;
458
+ } catch (P) {
459
+ i = P;
454
460
  }
455
461
  s();
456
462
  }
457
- } catch (T) {
458
- if (T && i && typeof T.stack == "string") {
459
- for (var a = T.stack.split(`
460
- `), I = i.stack.split(`
461
- `), p = a.length - 1, m = I.length - 1; p >= 1 && m >= 0 && a[p] !== I[m]; )
462
- m--;
463
- for (; p >= 1 && m >= 0; p--, m--)
464
- if (a[p] !== I[m]) {
465
- if (p !== 1 || m !== 1)
463
+ } catch (P) {
464
+ if (P && i && typeof P.stack == "string") {
465
+ for (var v = P.stack.split(`
466
+ `), R = i.stack.split(`
467
+ `), m = v.length - 1, C = R.length - 1; m >= 1 && C >= 0 && v[m] !== R[C]; )
468
+ C--;
469
+ for (; m >= 1 && C >= 0; m--, C--)
470
+ if (v[m] !== R[C]) {
471
+ if (m !== 1 || C !== 1)
466
472
  do
467
- if (p--, m--, m < 0 || a[p] !== I[m]) {
468
- var B = `
469
- ` + a[p].replace(" at new ", " at ");
470
- return s.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", s.displayName)), typeof s == "function" && z.set(s, B), B;
473
+ if (m--, C--, C < 0 || v[m] !== R[C]) {
474
+ var A = `
475
+ ` + v[m].replace(" at new ", " at ");
476
+ return s.displayName && A.includes("<anonymous>") && (A = A.replace("<anonymous>", s.displayName)), typeof s == "function" && J.set(s, A), A;
471
477
  }
472
- while (p >= 1 && m >= 0);
478
+ while (m >= 1 && C >= 0);
473
479
  break;
474
480
  }
475
481
  }
476
482
  } finally {
477
- t3 = !1, c3.current = u, n1(), Error.prepareStackTrace = v;
483
+ o3 = !1, s3.current = w, i1(), Error.prepareStackTrace = u;
478
484
  }
479
- var $ = s ? s.displayName || s.name : "", D3 = $ ? J($) : "";
480
- return typeof s == "function" && z.set(s, D3), D3;
485
+ var $ = s ? s.displayName || s.name : "", O3 = $ ? z($) : "";
486
+ return typeof s == "function" && J.set(s, O3), O3;
481
487
  }
482
- function i1(s, o, n) {
483
- return C3(s, !1);
488
+ function v1(s, o, n) {
489
+ return S3(s, !1);
484
490
  }
485
- function a1(s) {
491
+ function h1(s) {
486
492
  var o = s.prototype;
487
493
  return !!(o && o.isReactComponent);
488
494
  }
@@ -490,90 +496,90 @@ function o2() {
490
496
  if (s == null)
491
497
  return "";
492
498
  if (typeof s == "function")
493
- return C3(s, a1(s));
499
+ return S3(s, h1(s));
494
500
  if (typeof s == "string")
495
- return J(s);
501
+ return z(s);
496
502
  switch (s) {
497
- case R:
498
- return J("Suspense");
499
- case Z:
500
- return J("SuspenseList");
503
+ case E:
504
+ return z("Suspense");
505
+ case j:
506
+ return z("SuspenseList");
501
507
  }
502
508
  if (typeof s == "object")
503
509
  switch (s.$$typeof) {
504
- case g:
505
- return i1(s.render);
506
- case b:
510
+ case x:
511
+ return v1(s.render);
512
+ case y:
507
513
  return X(s.type, o, n);
508
- case E: {
509
- var i = s, v = i._payload, u = i._init;
514
+ case _: {
515
+ var i = s, u = i._payload, w = i._init;
510
516
  try {
511
- return X(u(v), o, n);
517
+ return X(w(u), o, n);
512
518
  } catch {
513
519
  }
514
520
  }
515
521
  }
516
522
  return "";
517
523
  }
518
- var Q = Object.prototype.hasOwnProperty, S3 = {}, b3 = x.ReactDebugCurrentFrame;
524
+ var Q = Object.prototype.hasOwnProperty, b3 = {}, y3 = p.ReactDebugCurrentFrame;
519
525
  function N(s) {
520
526
  if (s) {
521
527
  var o = s._owner, n = X(s.type, s._source, o ? o.type : null);
522
- b3.setExtraStackFrame(n);
528
+ y3.setExtraStackFrame(n);
523
529
  } else
524
- b3.setExtraStackFrame(null);
530
+ y3.setExtraStackFrame(null);
525
531
  }
526
- function h1(s, o, n, i, v) {
532
+ function d1(s, o, n, i, u) {
527
533
  {
528
- var u = Function.call.bind(Q);
534
+ var w = Function.call.bind(Q);
529
535
  for (var h in s)
530
- if (u(s, h)) {
531
- var a = void 0;
536
+ if (w(s, h)) {
537
+ var v = void 0;
532
538
  try {
533
539
  if (typeof s[h] != "function") {
534
- var I = Error((i || "React class") + ": " + n + " type `" + h + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof s[h] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
535
- throw I.name = "Invariant Violation", I;
540
+ var R = Error((i || "React class") + ": " + n + " type `" + h + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof s[h] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
541
+ throw R.name = "Invariant Violation", R;
536
542
  }
537
- a = s[h](o, h, i, n, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
538
- } catch (p) {
539
- a = p;
543
+ v = s[h](o, h, i, n, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
544
+ } catch (m) {
545
+ v = m;
540
546
  }
541
- a && !(a instanceof Error) && (N(v), y("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", i || "React class", n, h, typeof a), N(null)), a instanceof Error && !(a.message in S3) && (S3[a.message] = !0, N(v), y("Failed %s type: %s", n, a.message), N(null));
547
+ v && !(v instanceof Error) && (N(u), I("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", i || "React class", n, h, typeof v), N(null)), v instanceof Error && !(v.message in b3) && (b3[v.message] = !0, N(u), I("Failed %s type: %s", n, v.message), N(null));
542
548
  }
543
549
  }
544
550
  }
545
- var v1 = Array.isArray;
546
- function o3(s) {
547
- return v1(s);
551
+ var u1 = Array.isArray;
552
+ function n3(s) {
553
+ return u1(s);
548
554
  }
549
- function d1(s) {
555
+ function g1(s) {
550
556
  {
551
557
  var o = typeof Symbol == "function" && Symbol.toStringTag, n = o && s[Symbol.toStringTag] || s.constructor.name || "Object";
552
558
  return n;
553
559
  }
554
560
  }
555
- function u1(s) {
561
+ function w1(s) {
556
562
  try {
557
- return y3(s), !1;
563
+ return I3(s), !1;
558
564
  } catch {
559
565
  return !0;
560
566
  }
561
567
  }
562
- function y3(s) {
568
+ function I3(s) {
563
569
  return "" + s;
564
570
  }
565
- function I3(s) {
566
- if (u1(s))
567
- return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", d1(s)), y3(s);
571
+ function R3(s) {
572
+ if (w1(s))
573
+ return I("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", g1(s)), I3(s);
568
574
  }
569
- var U = x.ReactCurrentOwner, g1 = {
575
+ var U = p.ReactCurrentOwner, x1 = {
570
576
  key: !0,
571
577
  ref: !0,
572
578
  __self: !0,
573
579
  __source: !0
574
- }, R3, E3, n3;
575
- n3 = {};
576
- function w1(s) {
580
+ }, E3, _3, l3;
581
+ l3 = {};
582
+ function f1(s) {
577
583
  if (Q.call(s, "ref")) {
578
584
  var o = Object.getOwnPropertyDescriptor(s, "ref").get;
579
585
  if (o && o.isReactWarning)
@@ -581,7 +587,7 @@ function o2() {
581
587
  }
582
588
  return s.ref !== void 0;
583
589
  }
584
- function x1(s) {
590
+ function p1(s) {
585
591
  if (Q.call(s, "key")) {
586
592
  var o = Object.getOwnPropertyDescriptor(s, "key").get;
587
593
  if (o && o.isReactWarning)
@@ -589,16 +595,16 @@ function o2() {
589
595
  }
590
596
  return s.key !== void 0;
591
597
  }
592
- function f1(s, o) {
598
+ function M1(s, o) {
593
599
  if (typeof s.ref == "string" && U.current && o && U.current.stateNode !== o) {
594
- var n = A(U.current.type);
595
- n3[n] || (y('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', A(U.current.type), s.ref), n3[n] = !0);
600
+ var n = T(U.current.type);
601
+ l3[n] || (I('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', T(U.current.type), s.ref), l3[n] = !0);
596
602
  }
597
603
  }
598
- function M1(s, o) {
604
+ function Z1(s, o) {
599
605
  {
600
606
  var n = function() {
601
- R3 || (R3 = !0, y("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", o));
607
+ E3 || (E3 = !0, I("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", o));
602
608
  };
603
609
  n.isReactWarning = !0, Object.defineProperty(s, "key", {
604
610
  get: n,
@@ -606,10 +612,10 @@ function o2() {
606
612
  });
607
613
  }
608
614
  }
609
- function p1(s, o) {
615
+ function m1(s, o) {
610
616
  {
611
617
  var n = function() {
612
- E3 || (E3 = !0, y("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", o));
618
+ _3 || (_3 = !0, I("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", o));
613
619
  };
614
620
  n.isReactWarning = !0, Object.defineProperty(s, "ref", {
615
621
  get: n,
@@ -617,8 +623,8 @@ function o2() {
617
623
  });
618
624
  }
619
625
  }
620
- var Z1 = function(s, o, n, i, v, u, h) {
621
- var a = {
626
+ var j1 = function(s, o, n, i, u, w, h) {
627
+ var v = {
622
628
  // This tag allows us to uniquely identify this as a React Element
623
629
  $$typeof: r,
624
630
  // Built-in properties that belong on the element
@@ -627,60 +633,60 @@ function o2() {
627
633
  ref: n,
628
634
  props: h,
629
635
  // Record the component responsible for creating this element.
630
- _owner: u
636
+ _owner: w
631
637
  };
632
- return a._store = {}, Object.defineProperty(a._store, "validated", {
638
+ return v._store = {}, Object.defineProperty(v._store, "validated", {
633
639
  configurable: !1,
634
640
  enumerable: !1,
635
641
  writable: !0,
636
642
  value: !1
637
- }), Object.defineProperty(a, "_self", {
643
+ }), Object.defineProperty(v, "_self", {
638
644
  configurable: !1,
639
645
  enumerable: !1,
640
646
  writable: !1,
641
647
  value: i
642
- }), Object.defineProperty(a, "_source", {
648
+ }), Object.defineProperty(v, "_source", {
643
649
  configurable: !1,
644
650
  enumerable: !1,
645
651
  writable: !1,
646
- value: v
647
- }), Object.freeze && (Object.freeze(a.props), Object.freeze(a)), a;
652
+ value: u
653
+ }), Object.freeze && (Object.freeze(v.props), Object.freeze(v)), v;
648
654
  };
649
- function m1(s, o, n, i, v) {
655
+ function C1(s, o, n, i, u) {
650
656
  {
651
- var u, h = {}, a = null, I = null;
652
- n !== void 0 && (I3(n), a = "" + n), x1(o) && (I3(o.key), a = "" + o.key), w1(o) && (I = o.ref, f1(o, v));
653
- for (u in o)
654
- Q.call(o, u) && !g1.hasOwnProperty(u) && (h[u] = o[u]);
657
+ var w, h = {}, v = null, R = null;
658
+ n !== void 0 && (R3(n), v = "" + n), p1(o) && (R3(o.key), v = "" + o.key), f1(o) && (R = o.ref, M1(o, u));
659
+ for (w in o)
660
+ Q.call(o, w) && !x1.hasOwnProperty(w) && (h[w] = o[w]);
655
661
  if (s && s.defaultProps) {
656
- var p = s.defaultProps;
657
- for (u in p)
658
- h[u] === void 0 && (h[u] = p[u]);
662
+ var m = s.defaultProps;
663
+ for (w in m)
664
+ h[w] === void 0 && (h[w] = m[w]);
659
665
  }
660
- if (a || I) {
661
- var m = typeof s == "function" ? s.displayName || s.name || "Unknown" : s;
662
- a && M1(h, m), I && p1(h, m);
666
+ if (v || R) {
667
+ var C = typeof s == "function" ? s.displayName || s.name || "Unknown" : s;
668
+ v && Z1(h, C), R && m1(h, C);
663
669
  }
664
- return Z1(s, a, I, v, i, U.current, h);
670
+ return j1(s, v, R, u, i, U.current, h);
665
671
  }
666
672
  }
667
- var l3 = x.ReactCurrentOwner, _3 = x.ReactDebugCurrentFrame;
668
- function V(s) {
673
+ var i3 = p.ReactCurrentOwner, B3 = p.ReactDebugCurrentFrame;
674
+ function k(s) {
669
675
  if (s) {
670
676
  var o = s._owner, n = X(s.type, s._source, o ? o.type : null);
671
- _3.setExtraStackFrame(n);
677
+ B3.setExtraStackFrame(n);
672
678
  } else
673
- _3.setExtraStackFrame(null);
679
+ B3.setExtraStackFrame(null);
674
680
  }
675
- var i3;
676
- i3 = !1;
677
- function a3(s) {
681
+ var a3;
682
+ a3 = !1;
683
+ function v3(s) {
678
684
  return typeof s == "object" && s !== null && s.$$typeof === r;
679
685
  }
680
- function B3() {
686
+ function A3() {
681
687
  {
682
- if (l3.current) {
683
- var s = A(l3.current.type);
688
+ if (i3.current) {
689
+ var s = T(i3.current.type);
684
690
  if (s)
685
691
  return `
686
692
 
@@ -689,7 +695,7 @@ Check the render method of \`` + s + "`.";
689
695
  return "";
690
696
  }
691
697
  }
692
- function j1(s) {
698
+ function S1(s) {
693
699
  {
694
700
  if (s !== void 0) {
695
701
  var o = s.fileName.replace(/^.*[\\\/]/, ""), n = s.lineNumber;
@@ -701,9 +707,9 @@ Check your code at ` + o + ":" + n + ".";
701
707
  }
702
708
  }
703
709
  var L3 = {};
704
- function C1(s) {
710
+ function b1(s) {
705
711
  {
706
- var o = B3();
712
+ var o = A3();
707
713
  if (!o) {
708
714
  var n = typeof s == "string" ? s : s.displayName || s.name;
709
715
  n && (o = `
@@ -713,39 +719,39 @@ Check the top-level render call using <` + n + ">.");
713
719
  return o;
714
720
  }
715
721
  }
716
- function A3(s, o) {
722
+ function T3(s, o) {
717
723
  {
718
724
  if (!s._store || s._store.validated || s.key != null)
719
725
  return;
720
726
  s._store.validated = !0;
721
- var n = C1(o);
727
+ var n = b1(o);
722
728
  if (L3[n])
723
729
  return;
724
730
  L3[n] = !0;
725
731
  var i = "";
726
- s && s._owner && s._owner !== l3.current && (i = " It was passed a child from " + A(s._owner.type) + "."), V(s), y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', n, i), V(null);
732
+ s && s._owner && s._owner !== i3.current && (i = " It was passed a child from " + T(s._owner.type) + "."), k(s), I('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', n, i), k(null);
727
733
  }
728
734
  }
729
- function T3(s, o) {
735
+ function P3(s, o) {
730
736
  {
731
737
  if (typeof s != "object")
732
738
  return;
733
- if (o3(s))
739
+ if (n3(s))
734
740
  for (var n = 0; n < s.length; n++) {
735
741
  var i = s[n];
736
- a3(i) && A3(i, o);
742
+ v3(i) && T3(i, o);
737
743
  }
738
- else if (a3(s))
744
+ else if (v3(s))
739
745
  s._store && (s._store.validated = !0);
740
746
  else if (s) {
741
- var v = D(s);
742
- if (typeof v == "function" && v !== s.entries)
743
- for (var u = v.call(s), h; !(h = u.next()).done; )
744
- a3(h.value) && A3(h.value, o);
747
+ var u = O(s);
748
+ if (typeof u == "function" && u !== s.entries)
749
+ for (var w = u.call(s), h; !(h = w.next()).done; )
750
+ v3(h.value) && T3(h.value, o);
745
751
  }
746
752
  }
747
753
  }
748
- function S1(s) {
754
+ function y1(s) {
749
755
  {
750
756
  var o = s.type;
751
757
  if (o == null || typeof o == "string")
@@ -753,76 +759,76 @@ Check the top-level render call using <` + n + ">.");
753
759
  var n;
754
760
  if (typeof o == "function")
755
761
  n = o.propTypes;
756
- else if (typeof o == "object" && (o.$$typeof === g || // Note: Memo only checks outer props here.
762
+ else if (typeof o == "object" && (o.$$typeof === x || // Note: Memo only checks outer props here.
757
763
  // Inner props are checked in the reconciler.
758
- o.$$typeof === b))
764
+ o.$$typeof === y))
759
765
  n = o.propTypes;
760
766
  else
761
767
  return;
762
768
  if (n) {
763
- var i = A(o);
764
- h1(n, s.props, "prop", i, s);
765
- } else if (o.PropTypes !== void 0 && !i3) {
766
- i3 = !0;
767
- var v = A(o);
768
- y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", v || "Unknown");
769
- }
770
- typeof o.getDefaultProps == "function" && !o.getDefaultProps.isReactClassApproved && y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
769
+ var i = T(o);
770
+ d1(n, s.props, "prop", i, s);
771
+ } else if (o.PropTypes !== void 0 && !a3) {
772
+ a3 = !0;
773
+ var u = T(o);
774
+ I("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", u || "Unknown");
775
+ }
776
+ typeof o.getDefaultProps == "function" && !o.getDefaultProps.isReactClassApproved && I("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
771
777
  }
772
778
  }
773
- function b1(s) {
779
+ function I1(s) {
774
780
  {
775
781
  for (var o = Object.keys(s.props), n = 0; n < o.length; n++) {
776
782
  var i = o[n];
777
783
  if (i !== "children" && i !== "key") {
778
- V(s), y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", i), V(null);
784
+ k(s), I("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", i), k(null);
779
785
  break;
780
786
  }
781
787
  }
782
- s.ref !== null && (V(s), y("Invalid attribute `ref` supplied to `React.Fragment`."), V(null));
788
+ s.ref !== null && (k(s), I("Invalid attribute `ref` supplied to `React.Fragment`."), k(null));
783
789
  }
784
790
  }
785
- function P3(s, o, n, i, v, u) {
791
+ function D3(s, o, n, i, u, w) {
786
792
  {
787
- var h = s1(s);
793
+ var h = o1(s);
788
794
  if (!h) {
789
- var a = "";
790
- (s === void 0 || typeof s == "object" && s !== null && Object.keys(s).length === 0) && (a += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
791
- var I = j1(v);
792
- I ? a += I : a += B3();
793
- var p;
794
- s === null ? p = "null" : o3(s) ? p = "array" : s !== void 0 && s.$$typeof === r ? (p = "<" + (A(s.type) || "Unknown") + " />", a = " Did you accidentally export a JSX literal instead of a component?") : p = typeof s, y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", p, a);
795
- }
796
- var m = m1(s, o, n, v, u);
797
- if (m == null)
798
- return m;
795
+ var v = "";
796
+ (s === void 0 || typeof s == "object" && s !== null && Object.keys(s).length === 0) && (v += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
797
+ var R = S1(u);
798
+ R ? v += R : v += A3();
799
+ var m;
800
+ s === null ? m = "null" : n3(s) ? m = "array" : s !== void 0 && s.$$typeof === r ? (m = "<" + (T(s.type) || "Unknown") + " />", v = " Did you accidentally export a JSX literal instead of a component?") : m = typeof s, I("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", m, v);
801
+ }
802
+ var C = C1(s, o, n, u, w);
803
+ if (C == null)
804
+ return C;
799
805
  if (h) {
800
- var B = o.children;
801
- if (B !== void 0)
806
+ var A = o.children;
807
+ if (A !== void 0)
802
808
  if (i)
803
- if (o3(B)) {
804
- for (var $ = 0; $ < B.length; $++)
805
- T3(B[$], s);
806
- Object.freeze && Object.freeze(B);
809
+ if (n3(A)) {
810
+ for (var $ = 0; $ < A.length; $++)
811
+ P3(A[$], s);
812
+ Object.freeze && Object.freeze(A);
807
813
  } else
808
- y("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
814
+ I("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
809
815
  else
810
- T3(B, s);
816
+ P3(A, s);
811
817
  }
812
- return s === l ? b1(m) : S1(m), m;
818
+ return s === l ? I1(C) : y1(C), C;
813
819
  }
814
820
  }
815
- function y1(s, o, n) {
816
- return P3(s, o, n, !0);
821
+ function R1(s, o, n) {
822
+ return D3(s, o, n, !0);
817
823
  }
818
- function I1(s, o, n) {
819
- return P3(s, o, n, !1);
824
+ function E1(s, o, n) {
825
+ return D3(s, o, n, !1);
820
826
  }
821
- var R1 = I1, E1 = y1;
822
- H.Fragment = l, H.jsx = R1, H.jsxs = E1;
827
+ var _1 = E1, B1 = R1;
828
+ H.Fragment = l, H.jsx = _1, H.jsxs = B1;
823
829
  }()), H;
824
830
  }
825
- var q = {};
831
+ var G = {};
826
832
  /**
827
833
  * @license React
828
834
  * react-jsx-runtime.production.min.js
@@ -832,196 +838,242 @@ var q = {};
832
838
  * This source code is licensed under the MIT license found in the
833
839
  * LICENSE file in the root directory of this source tree.
834
840
  */
835
- var V3;
836
- function n2() {
837
- if (V3)
838
- return q;
839
- V3 = 1;
840
- var c = U3, r = Symbol.for("react.element"), t = Symbol.for("react.fragment"), l = Object.prototype.hasOwnProperty, w = c.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, j = { key: !0, ref: !0, __self: !0, __source: !0 };
841
- function S(C, g, R) {
842
- var Z, b = {}, E = null, _ = null;
843
- R !== void 0 && (E = "" + R), g.key !== void 0 && (E = "" + g.key), g.ref !== void 0 && (_ = g.ref);
844
- for (Z in g)
845
- l.call(g, Z) && !j.hasOwnProperty(Z) && (b[Z] = g[Z]);
846
- if (C && C.defaultProps)
847
- for (Z in g = C.defaultProps, g)
848
- b[Z] === void 0 && (b[Z] = g[Z]);
849
- return { $$typeof: r, type: C, key: E, ref: _, props: b, _owner: w.current };
841
+ var $3;
842
+ function v2() {
843
+ if ($3)
844
+ return G;
845
+ $3 = 1;
846
+ var c = H3, r = Symbol.for("react.element"), t = Symbol.for("react.fragment"), l = Object.prototype.hasOwnProperty, a = c.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, Z = { key: !0, ref: !0, __self: !0, __source: !0 };
847
+ function S(b, x, E) {
848
+ var j, y = {}, _ = null, B = null;
849
+ E !== void 0 && (_ = "" + E), x.key !== void 0 && (_ = "" + x.key), x.ref !== void 0 && (B = x.ref);
850
+ for (j in x)
851
+ l.call(x, j) && !Z.hasOwnProperty(j) && (y[j] = x[j]);
852
+ if (b && b.defaultProps)
853
+ for (j in x = b.defaultProps, x)
854
+ y[j] === void 0 && (y[j] = x[j]);
855
+ return { $$typeof: r, type: b, key: _, ref: B, props: y, _owner: a.current };
850
856
  }
851
- return q.Fragment = t, q.jsx = S, q.jsxs = S, q;
857
+ return G.Fragment = t, G.jsx = S, G.jsxs = S, G;
852
858
  }
853
- process.env.NODE_ENV === "production" ? d3.exports = n2() : d3.exports = o2();
854
- var e = d3.exports;
855
- const l2 = () => /* @__PURE__ */ e.jsx(e.Fragment, { children: /* @__PURE__ */ e.jsxs("div", { className: "disconnected-message", children: [
859
+ process.env.NODE_ENV === "production" ? u3.exports = v2() : u3.exports = a2();
860
+ var e = u3.exports;
861
+ const h2 = () => /* @__PURE__ */ e.jsx(e.Fragment, { children: /* @__PURE__ */ e.jsxs("div", { className: "disconnected-message", children: [
856
862
  /* @__PURE__ */ e.jsx("h1", { children: "Disconnected" }),
857
863
  /* @__PURE__ */ e.jsx("p", { children: "Reconnecting..." })
858
864
  ] }) });
859
- class i2 {
865
+ class d2 {
860
866
  constructor() {
861
- k(this, "uuid", "current-uuid");
862
- k(this, "roomKey", "current-room-key");
863
- k(this, "code", "current-code");
864
- k(this, "expiry", "current-uuid-expires");
867
+ d(this, "uuid", "current-uuid");
868
+ d(this, "roomKey", "current-room-key");
869
+ d(this, "code", "current-code");
870
+ d(this, "expiry", "current-uuid-expires");
865
871
  }
866
872
  }
867
- const $3 = new i2();
868
- function a2(c) {
873
+ const F3 = new d2();
874
+ function u2(c) {
869
875
  return sessionStorage.getItem(c) || "";
870
876
  }
871
- function h2(c, r) {
877
+ function g2(c, r) {
872
878
  sessionStorage.setItem(c, r);
873
879
  }
874
- const z3 = O1({
875
- sendMessage: () => null
876
- });
877
- function v2() {
878
- return k1(z3);
880
+ function c3() {
881
+ return F1(Q3);
879
882
  }
880
- const d2 = ({ children: c }) => {
881
- const [r, t] = r3(), l = e2(), w = r2(), j = c2(), S = t2(), C = N1(), g = V1(null), [R, Z] = r3(), b = O3(
882
- async (_) => {
883
- await v3.get(`${_}/ui/joinroom?token=${r}`).then((M) => {
884
- M.status === 200 && M.data && P.dispatch(F.setRoomData(M.data));
883
+ const Q3 = $1({
884
+ sendMessage: () => null
885
+ }), w2 = ({ children: c }) => {
886
+ const [r, t] = r3(), l = t2(), a = o2(), Z = n2(), S = i2(), b = s2(), x = W1(null), [E, j] = r3(), y = V3(
887
+ async (B) => {
888
+ await d3.get(`${B}/ui/joinroom?token=${r}`).then((M) => {
889
+ M.status === 200 && M.data && D.dispatch(F.setRoomData(M.data));
885
890
  }).catch((M) => {
886
891
  console.log(M);
887
892
  });
888
893
  },
889
894
  [r]
890
- ), E = O3(
891
- (_, M) => {
892
- g.current && l && g.current.send(JSON.stringify({ type: _, clientId: j, content: M }));
895
+ ), _ = V3(
896
+ (B, M) => {
897
+ x.current && l && x.current.send(JSON.stringify({ type: B, clientId: Z, content: M }));
893
898
  },
894
- [l, j]
899
+ [l, Z]
895
900
  );
896
- return G(() => {
901
+ return K(() => {
897
902
  let M = new URLSearchParams(window.location.search).get("token");
898
- M ? (console.log("saving token: ", M), h2($3.uuid, M)) : (M = a2($3.uuid), console.log("loading token: ", M)), t(M), S();
899
- }, []), G(() => {
900
- if (!(!C.apiPath || R || !r)) {
901
- if (b(C.apiPath), !g.current) {
902
- const M = `${C.apiPath.replace("http", "ws")}/ui/join/${r}`, L = new WebSocket(M);
903
- g.current = L, L.onopen = () => {
904
- console.log("connected"), P.dispatch(F.setWebsocketIsConnected(!0));
905
- }, L.onerror = (D) => {
906
- console.log(D);
903
+ M ? (console.log("saving token: ", M), g2(F3.uuid, M)) : (M = u2(F3.uuid), console.log("loading token: ", M)), t(M), S();
904
+ }, []), K(() => {
905
+ if (!(!b.apiPath || E || !r)) {
906
+ if (y(b.apiPath), !x.current) {
907
+ const M = `${b.apiPath.replace("http", "ws")}/ui/join/${r}`, L = new WebSocket(M);
908
+ x.current = L, L.onopen = () => {
909
+ console.log("connected"), D.dispatch(F.setWebsocketIsConnected(!0));
910
+ }, L.onerror = (O) => {
911
+ console.log(O);
907
912
  }, L.onclose = () => {
908
- if (console.log("disconnected"), g.current)
913
+ if (console.log("disconnected"), x.current)
909
914
  console.log("WebSocket closed by server.");
910
915
  else {
911
916
  console.log("WebSocket closed by client.");
912
917
  return;
913
918
  }
914
- R || (P.dispatch(F.setWebsocketIsConnected(!1)), Z(!0), setTimeout(() => Z(void 0), 5e3));
915
- }, L.onmessage = (D) => {
919
+ E || (D.dispatch(F.setWebsocketIsConnected(!1)), j(!0), setTimeout(() => j(void 0), 5e3));
920
+ }, L.onmessage = (O) => {
916
921
  try {
917
- const x = JSON.parse(D.data);
918
- if (console.log(x), x.type.startsWith("/system/"))
919
- switch (x.type) {
922
+ const p = JSON.parse(O.data);
923
+ if (console.log(p), p.type.startsWith("/system/"))
924
+ switch (p.type) {
920
925
  case "/system/roomKey":
921
- P.dispatch(
926
+ D.dispatch(
922
927
  F.setCurrentRoomKey(
923
- x.content
928
+ p.content
924
929
  )
925
930
  );
926
931
  break;
927
932
  case "/system/userCodeChanged":
928
- P.dispatch(
929
- F.setUserCode(x.content)
933
+ D.dispatch(
934
+ F.setUserCode(p.content)
930
935
  );
931
936
  break;
932
937
  }
933
938
  else
934
- x.type.startsWith("/room/") ? P.dispatch(G1.setRoomState(x)) : x.type.startsWith("/device/") && P.dispatch(H1.setDeviceState(x));
935
- } catch (x) {
936
- console.log(x);
939
+ p.type.startsWith("/room/") ? D.dispatch(J1.setRoomState(p)) : p.type.startsWith("/device/") && D.dispatch(K1.setDeviceState(p));
940
+ } catch (p) {
941
+ console.log(p);
937
942
  }
938
943
  };
939
944
  }
940
945
  return () => {
941
- g.current && g.current.close(), g.current = null;
946
+ x.current && x.current.close(), x.current = null;
942
947
  };
943
948
  }
944
- }, [C.apiPath, b, r, R]), G(() => {
945
- w && E(`/room/${w}/status`, null);
946
- }, [w, E]), /* @__PURE__ */ e.jsx(z3.Provider, { value: { sendMessage: E }, children: l ? c : /* @__PURE__ */ e.jsx(l2, {}) });
947
- }, E8 = ({ children: c }) => /* @__PURE__ */ e.jsx(D1, { store: P, children: /* @__PURE__ */ e.jsx(d2, { children: c }) }), _8 = ({ config: c }) => {
948
- const { sendMessage: r } = v2();
949
- G(() => {
949
+ }, [b.apiPath, y, r, E]), K(() => {
950
+ a && _(`/room/${a}/status`, null);
951
+ }, [a, _]), /* @__PURE__ */ e.jsx(Q3.Provider, { value: { sendMessage: _ }, children: l ? c : /* @__PURE__ */ e.jsx(h2, {}) });
952
+ }, T8 = ({ children: c }) => /* @__PURE__ */ e.jsx(k1, { store: D, children: /* @__PURE__ */ e.jsx(w2, { children: c }) }), P8 = ({ config: c }) => {
953
+ const { sendMessage: r } = c3();
954
+ K(() => {
955
+ var l;
950
956
  if (!c)
951
957
  return;
952
958
  const t = [];
953
- c.displayKeys.forEach((l) => {
954
- t.push(l);
955
- }), c.environmentalDevices.forEach((l) => {
956
- t.push(l);
959
+ c.displayKeys.forEach((a) => {
960
+ t.push(a);
961
+ }), (l = c.touchpanelKeys) == null || l.forEach((a) => {
962
+ t.push(a);
963
+ }), c.environmentalDevices.forEach((a) => {
964
+ t.push(a);
957
965
  }), c.audioCodecKey && t.push(c.audioCodecKey), c.videoCodecKey && t.push(c.videoCodecKey);
958
- for (const [l, w] of Object.entries(c.sourceList))
959
- t.push(w.sourceKey);
960
- t.forEach((l) => {
961
- r(`/device/${l}/fullStatus`, { deviceKey: l });
966
+ for (const a of Object.values(c.sourceList))
967
+ t.push(a.sourceKey);
968
+ t.forEach((a) => {
969
+ r(`/device/${a}/fullStatus`, { deviceKey: a });
962
970
  });
963
971
  }, [c, r]);
964
- }, B8 = () => /* @__PURE__ */ e.jsx("div", { className: "m-2 p-2 bg-danger rounded d-flex align-items-center", children: /* @__PURE__ */ e.jsx("span", { className: "fs-5 text-white", children: "We are sorry. Something went wrong." }) }), u2 = "_iconbtn_16qss_1", g2 = "_iconbtnvert_16qss_7", w2 = "_iconsm_16qss_18", h3 = {
965
- iconbtn: u2,
966
- iconbtnvert: g2,
967
- iconsm: w2
968
- }, x2 = ({
972
+ };
973
+ function x2(c) {
974
+ const { sendMessage: r } = c3();
975
+ return { powerOn: () => {
976
+ r(`/device/${c}/powerOn`, null);
977
+ }, powerOff: () => {
978
+ r(`/device/${c}/powerOff`, null);
979
+ }, powerToggle: () => {
980
+ r(`/device/${c}/powerToggle`, null);
981
+ } };
982
+ }
983
+ function D8(c) {
984
+ const { sendMessage: r } = c3();
985
+ return { runDirectRoute: (l) => {
986
+ r(`/room/${c}/directRoute`, l);
987
+ } };
988
+ }
989
+ function O8(c) {
990
+ const r = X3(c), { sendMessage: t } = c3();
991
+ return r ? {
992
+ touchpanelState: r,
993
+ appControl: { hideApp: () => {
994
+ t(`/device/${c}/hideApp`, null);
995
+ }, openApp: () => {
996
+ t(`/device/${c}/openApp`, null);
997
+ }, closeApp: () => {
998
+ t(`/device/${c}/closeApp`, null);
999
+ } },
1000
+ zoomControl: { endCall: () => {
1001
+ t(`/device/${c}/endCall`, null);
1002
+ } }
1003
+ } : void 0;
1004
+ }
1005
+ function V8(c) {
1006
+ const r = X3(c), t = x2(c);
1007
+ if (!r)
1008
+ return;
1009
+ const l = (r.powerState || r.isWarming) && !r.isCooling, a = (!r.powerState || r.isCooling) && !r.isWarming;
1010
+ return {
1011
+ displayState: r,
1012
+ powerControl: t,
1013
+ powerFb: { powerOnFb: l, powerOffFb: a }
1014
+ };
1015
+ }
1016
+ const k8 = () => /* @__PURE__ */ e.jsx("div", { className: "m-2 p-2 bg-danger rounded d-flex align-items-center", children: /* @__PURE__ */ e.jsx("span", { className: "fs-5 text-white", children: "We are sorry. Something went wrong." }) }), f2 = "_iconbtn_16qss_1", p2 = "_iconbtnvert_16qss_7", M2 = "_iconsm_16qss_18", h3 = {
1017
+ iconbtn: f2,
1018
+ iconbtnvert: p2,
1019
+ iconsm: M2
1020
+ }, Z2 = ({
969
1021
  multiIcon: c,
970
1022
  otherContent: r = null,
971
1023
  vert: t = !1,
972
1024
  className: l,
973
- iconClassName: w = "",
974
- otherContentClassName: j = "",
1025
+ iconClassName: a = "",
1026
+ otherContentClassName: Z = "",
975
1027
  disabled: S,
976
- feedback: C,
977
- feedbackClassName: g,
978
- onPointerDown: R,
979
- onPointerUp: Z,
980
- onPointerLeave: b,
981
- ...E
1028
+ feedback: b,
1029
+ feedbackClassName: x,
1030
+ onPointerDown: E,
1031
+ onPointerUp: j,
1032
+ onPointerLeave: y,
1033
+ ..._
982
1034
  }) => {
983
- const [_, M] = r3(!1), L = !S && C ? g : "", D = !S && (_ || C);
1035
+ const [B, M] = r3(!1), L = !S && b ? x : "", O = !S && (B || b);
984
1036
  return /* @__PURE__ */ e.jsxs(
985
1037
  "button",
986
1038
  {
987
1039
  type: "button",
988
1040
  className: `${h3.iconbtn} ${t ? h3.iconbtnvert : ""} ${l} ${L}`,
989
- ...E,
1041
+ ..._,
990
1042
  disabled: S,
991
- onPointerDown: (x) => {
992
- M(!0), R == null || R(x);
1043
+ onPointerDown: (p) => {
1044
+ M(!0), E == null || E(p);
993
1045
  },
994
- onPointerUp: (x) => {
995
- M(!1), Z == null || Z(x);
1046
+ onPointerUp: (p) => {
1047
+ M(!1), j == null || j(p);
996
1048
  },
997
- onPointerLeave: (x) => {
998
- M(!1), b == null || b(x);
1049
+ onPointerLeave: (p) => {
1050
+ M(!1), y == null || y(p);
999
1051
  },
1000
1052
  children: [
1001
1053
  /* @__PURE__ */ e.jsx(
1002
1054
  c,
1003
1055
  {
1004
- className: `${w || h3.iconsm}`,
1005
- active: D,
1056
+ className: `${a || h3.iconsm}`,
1057
+ active: O,
1006
1058
  disabled: S
1007
1059
  }
1008
1060
  ),
1009
- /* @__PURE__ */ e.jsx("div", { className: j, children: r })
1061
+ /* @__PURE__ */ e.jsx("div", { className: Z, children: r })
1010
1062
  ]
1011
1063
  }
1012
1064
  );
1013
- }, d = ({
1065
+ }, g = ({
1014
1066
  ActiveImage: c,
1015
1067
  DisabledImage: r,
1016
1068
  EnabledImage: t,
1017
1069
  active: l,
1018
- disabled: w
1019
- }) => w ? r : l ? c : t, f2 = ({
1070
+ disabled: a
1071
+ }) => a ? r : l ? c : t, m2 = ({
1020
1072
  active: c,
1021
1073
  className: r = "",
1022
1074
  disabled: t
1023
1075
  }) => /* @__PURE__ */ e.jsx(
1024
- d,
1076
+ g,
1025
1077
  {
1026
1078
  ActiveImage: (
1027
1079
  /* icon-mic-active.svg */
@@ -1065,12 +1117,12 @@ const d2 = ({ children: c }) => {
1065
1117
  active: c,
1066
1118
  disabled: t
1067
1119
  }
1068
- ), M2 = ({
1120
+ ), j2 = ({
1069
1121
  active: c,
1070
1122
  className: r = "",
1071
1123
  disabled: t
1072
1124
  }) => /* @__PURE__ */ e.jsx(
1073
- d,
1125
+ g,
1074
1126
  {
1075
1127
  ActiveImage: /* @__PURE__ */ e.jsx(
1076
1128
  "svg",
@@ -1117,12 +1169,12 @@ const d2 = ({ children: c }) => {
1117
1169
  active: c,
1118
1170
  disabled: t
1119
1171
  }
1120
- ), p2 = ({
1172
+ ), C2 = ({
1121
1173
  active: c,
1122
1174
  className: r = "",
1123
1175
  disabled: t
1124
1176
  }) => /* @__PURE__ */ e.jsx(
1125
- d,
1177
+ g,
1126
1178
  {
1127
1179
  ActiveImage: (
1128
1180
  /* icon-ban-active.svg */
@@ -1166,12 +1218,12 @@ const d2 = ({ children: c }) => {
1166
1218
  active: c,
1167
1219
  disabled: t
1168
1220
  }
1169
- ), Z2 = ({
1221
+ ), S2 = ({
1170
1222
  active: c,
1171
1223
  className: r = "",
1172
1224
  disabled: t
1173
1225
  }) => /* @__PURE__ */ e.jsx(
1174
- d,
1226
+ g,
1175
1227
  {
1176
1228
  ActiveImage: /* @__PURE__ */ e.jsx(
1177
1229
  "svg",
@@ -1206,12 +1258,12 @@ const d2 = ({ children: c }) => {
1206
1258
  active: c,
1207
1259
  disabled: t
1208
1260
  }
1209
- ), m2 = ({
1261
+ ), b2 = ({
1210
1262
  active: c,
1211
1263
  className: r = "",
1212
1264
  disabled: t
1213
1265
  }) => /* @__PURE__ */ e.jsx(
1214
- d,
1266
+ g,
1215
1267
  {
1216
1268
  ActiveImage: (
1217
1269
  /* icon-check-active.svg */
@@ -1255,12 +1307,12 @@ const d2 = ({ children: c }) => {
1255
1307
  active: c,
1256
1308
  disabled: t
1257
1309
  }
1258
- ), j2 = ({
1310
+ ), y2 = ({
1259
1311
  active: c,
1260
1312
  className: r = "",
1261
1313
  disabled: t
1262
1314
  }) => /* @__PURE__ */ e.jsx(
1263
- d,
1315
+ g,
1264
1316
  {
1265
1317
  ActiveImage: (
1266
1318
  /* icon-down-active.svg */
@@ -1304,12 +1356,12 @@ const d2 = ({ children: c }) => {
1304
1356
  active: c,
1305
1357
  disabled: t
1306
1358
  }
1307
- ), C2 = ({
1359
+ ), I2 = ({
1308
1360
  active: c,
1309
1361
  className: r = "",
1310
1362
  disabled: t
1311
1363
  }) => /* @__PURE__ */ e.jsx(
1312
- d,
1364
+ g,
1313
1365
  {
1314
1366
  ActiveImage: (
1315
1367
  /* icon-elipses-active.svg */
@@ -1353,12 +1405,12 @@ const d2 = ({ children: c }) => {
1353
1405
  active: c,
1354
1406
  disabled: t
1355
1407
  }
1356
- ), S2 = ({
1408
+ ), R2 = ({
1357
1409
  active: c,
1358
1410
  className: r = "",
1359
1411
  disabled: t
1360
1412
  }) => /* @__PURE__ */ e.jsx(
1361
- d,
1413
+ g,
1362
1414
  {
1363
1415
  ActiveImage: (
1364
1416
  /* icon-flag-active.svg */
@@ -1402,12 +1454,12 @@ const d2 = ({ children: c }) => {
1402
1454
  active: c,
1403
1455
  disabled: t
1404
1456
  }
1405
- ), b2 = ({
1457
+ ), E2 = ({
1406
1458
  active: c,
1407
1459
  className: r = "",
1408
1460
  disabled: t
1409
1461
  }) => /* @__PURE__ */ e.jsx(
1410
- d,
1462
+ g,
1411
1463
  {
1412
1464
  ActiveImage: (
1413
1465
  /* /Users/hvolmer/Downloads/SVG/icon-gear-active.svg */
@@ -1451,12 +1503,12 @@ const d2 = ({ children: c }) => {
1451
1503
  active: c,
1452
1504
  disabled: t
1453
1505
  }
1454
- ), y2 = ({
1506
+ ), _2 = ({
1455
1507
  active: c,
1456
1508
  className: r = "",
1457
1509
  disabled: t
1458
1510
  }) => /* @__PURE__ */ e.jsx(
1459
- d,
1511
+ g,
1460
1512
  {
1461
1513
  ActiveImage: (
1462
1514
  /* icon-glass-active.svg */
@@ -1500,14 +1552,14 @@ const d2 = ({ children: c }) => {
1500
1552
  active: c,
1501
1553
  disabled: t
1502
1554
  }
1503
- ), I2 = ({
1555
+ ), B2 = ({
1504
1556
  active: c,
1505
1557
  // Just to shut up the linter on this template. Prefer deleting this lint rule
1506
1558
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
1507
1559
  className: r = "",
1508
1560
  disabled: t
1509
1561
  }) => /* @__PURE__ */ e.jsx(
1510
- d,
1562
+ g,
1511
1563
  {
1512
1564
  ActiveImage: (
1513
1565
  /* icon-hdmi-active.svg */
@@ -1522,7 +1574,7 @@ const d2 = ({ children: c }) => {
1522
1574
  "path",
1523
1575
  {
1524
1576
  d: "M71.55,55.43h-10.75v-16.12h43v16.12h-10.75v-10.75h-5.37v10.75h-10.75v-10.75h-5.37v10.75ZM164.61,82.3c0,45.38-36.92,82.3-82.3,82.3S0,127.69,0,82.3,36.92,0,82.3,0s82.3,36.92,82.3,82.3ZM119.93,55.43h-5.37v-16.12c0-2.96-1.05-5.49-3.16-7.59-2.11-2.11-4.64-3.16-7.59-3.16h-43c-2.96,0-5.49,1.05-7.59,3.16s-3.16,4.64-3.16,7.59v16.12h-5.38v32.25l16.12,32.25v16.12h43v-16.12l16.12-32.25v-32.25ZM55.43,84.99l16.12,32.25v8.06h21.5v-8.06l16.12-32.25v-18.81h-53.75v18.81Z",
1525
- "stroke-width": "0"
1577
+ strokeWidth: "0"
1526
1578
  }
1527
1579
  ) })
1528
1580
  }
@@ -1541,7 +1593,7 @@ const d2 = ({ children: c }) => {
1541
1593
  "path",
1542
1594
  {
1543
1595
  d: "M49.27,96.86l-4.59-9.18v-32.25h5.37v-16.12c0-2.96,1.05-5.49,3.16-7.59,2.11-2.11,4.64-3.16,7.59-3.16h43c2.96,0,5.49,1.05,7.59,3.16.52.52.98,1.07,1.37,1.64l-8.96,8.96v-3.02h-43v16.12h10.75v-10.75h5.37v10.75h10.75v-10.75h5.37v8.39l-13.11,13.11h-24.52v18.81l1.9,3.8-8.06,8.06ZM109.18,73.91v11.08l-16.12,32.25v8.06h-21.5v-8.06l-1.9-3.8-8.85,8.85v13.77h43v-16.12l16.12-32.25v-24.52l-10.75,10.75ZM164.61,82.3c0,45.38-36.92,82.3-82.3,82.3S0,127.69,0,82.3,36.92,0,82.3,0s82.3,36.92,82.3,82.3ZM5,82.3c0,19.83,7.51,37.93,19.82,51.63L133.93,24.83c-13.7-12.32-31.8-19.83-51.63-19.83C39.68,5,5,39.68,5,82.3ZM159.61,82.3c0-19.83-7.51-37.93-19.83-51.63L30.68,139.78c13.7,12.32,31.8,19.83,51.63,19.83,42.63,0,77.3-34.68,77.3-77.3Z",
1544
- "stroke-width": "0"
1596
+ strokeWidth: "0"
1545
1597
  }
1546
1598
  ) })
1547
1599
  }
@@ -1560,7 +1612,7 @@ const d2 = ({ children: c }) => {
1560
1612
  "path",
1561
1613
  {
1562
1614
  d: "M60.8,136.05v-16.12l-16.12-32.25v-32.25h5.37v-16.12c0-2.96,1.05-5.49,3.16-7.59,2.11-2.11,4.64-3.16,7.59-3.16h43c2.96,0,5.49,1.05,7.59,3.16s3.16,4.64,3.16,7.59v16.12h5.37v32.25l-16.12,32.25v16.12h-43ZM60.8,55.43h10.75v-10.75h5.37v10.75h10.75v-10.75h5.37v10.75h10.75v-16.12h-43v16.12ZM71.55,125.3h21.5v-8.06l16.12-32.25v-18.81h-53.75v18.81l16.12,32.25v8.06ZM82.3,164.61C36.92,164.61,0,127.69,0,82.3S36.92,0,82.3,0s82.3,36.92,82.3,82.3-36.92,82.3-82.3,82.3ZM82.3,5C39.68,5,5,39.68,5,82.3s34.68,77.3,77.3,77.3,77.3-34.68,77.3-77.3S124.93,5,82.3,5Z",
1563
- "stroke-width": "0"
1615
+ strokeWidth: "0"
1564
1616
  }
1565
1617
  ) })
1566
1618
  }
@@ -1569,12 +1621,12 @@ const d2 = ({ children: c }) => {
1569
1621
  active: c,
1570
1622
  disabled: t
1571
1623
  }
1572
- ), R2 = ({
1624
+ ), A2 = ({
1573
1625
  active: c,
1574
1626
  className: r = "",
1575
1627
  disabled: t
1576
1628
  }) => /* @__PURE__ */ e.jsx(
1577
- d,
1629
+ g,
1578
1630
  {
1579
1631
  ActiveImage: (
1580
1632
  /* icon-laptop-active.svg */
@@ -1618,12 +1670,12 @@ const d2 = ({ children: c }) => {
1618
1670
  active: c,
1619
1671
  disabled: t
1620
1672
  }
1621
- ), E2 = ({
1673
+ ), L2 = ({
1622
1674
  active: c,
1623
1675
  className: r = "",
1624
1676
  disabled: t
1625
1677
  }) => /* @__PURE__ */ e.jsx(
1626
- d,
1678
+ g,
1627
1679
  {
1628
1680
  ActiveImage: (
1629
1681
  /* icon-left-active.svg */
@@ -1667,12 +1719,12 @@ const d2 = ({ children: c }) => {
1667
1719
  active: c,
1668
1720
  disabled: t
1669
1721
  }
1670
- ), _2 = ({
1722
+ ), T2 = ({
1671
1723
  active: c,
1672
1724
  className: r = "",
1673
1725
  disabled: t
1674
1726
  }) => /* @__PURE__ */ e.jsx(
1675
- d,
1727
+ g,
1676
1728
  {
1677
1729
  ActiveImage: (
1678
1730
  /* icon-light-active.svg */
@@ -1716,12 +1768,12 @@ const d2 = ({ children: c }) => {
1716
1768
  active: c,
1717
1769
  disabled: t
1718
1770
  }
1719
- ), B2 = ({
1771
+ ), P2 = ({
1720
1772
  active: c,
1721
1773
  className: r = "",
1722
1774
  disabled: t
1723
1775
  }) => /* @__PURE__ */ e.jsx(
1724
- d,
1776
+ g,
1725
1777
  {
1726
1778
  ActiveImage: (
1727
1779
  /* icon-moon-active.svg */
@@ -1765,12 +1817,12 @@ const d2 = ({ children: c }) => {
1765
1817
  active: c,
1766
1818
  disabled: t
1767
1819
  }
1768
- ), L2 = ({
1820
+ ), D2 = ({
1769
1821
  active: c,
1770
1822
  className: r = "",
1771
1823
  disabled: t
1772
1824
  }) => /* @__PURE__ */ e.jsx(
1773
- d,
1825
+ g,
1774
1826
  {
1775
1827
  ActiveImage: (
1776
1828
  /* icon-playstation-active.svg */
@@ -1787,12 +1839,12 @@ const d2 = ({ children: c }) => {
1787
1839
  active: c,
1788
1840
  disabled: t
1789
1841
  }
1790
- ), A2 = ({
1842
+ ), O2 = ({
1791
1843
  active: c,
1792
1844
  className: r = "",
1793
1845
  disabled: t
1794
1846
  }) => /* @__PURE__ */ e.jsx(
1795
- d,
1847
+ g,
1796
1848
  {
1797
1849
  ActiveImage: (
1798
1850
  /* icon-podium-active.svg */
@@ -1836,12 +1888,12 @@ const d2 = ({ children: c }) => {
1836
1888
  active: c,
1837
1889
  disabled: t
1838
1890
  }
1839
- ), T2 = ({
1891
+ ), V2 = ({
1840
1892
  active: c,
1841
1893
  className: r = "",
1842
1894
  disabled: t
1843
1895
  }) => /* @__PURE__ */ e.jsx(
1844
- d,
1896
+ g,
1845
1897
  {
1846
1898
  ActiveImage: (
1847
1899
  /* icon-power-active.svg */
@@ -1885,12 +1937,12 @@ const d2 = ({ children: c }) => {
1885
1937
  active: c,
1886
1938
  disabled: t
1887
1939
  }
1888
- ), P2 = ({
1940
+ ), k2 = ({
1889
1941
  active: c,
1890
1942
  className: r = "",
1891
1943
  disabled: t
1892
1944
  }) => /* @__PURE__ */ e.jsx(
1893
- d,
1945
+ g,
1894
1946
  {
1895
1947
  ActiveImage: (
1896
1948
  /* icon-privacy-active.svg */
@@ -1934,12 +1986,12 @@ const d2 = ({ children: c }) => {
1934
1986
  active: c,
1935
1987
  disabled: t
1936
1988
  }
1937
- ), D2 = ({
1989
+ ), $2 = ({
1938
1990
  active: c,
1939
1991
  className: r = "",
1940
1992
  disabled: t
1941
1993
  }) => /* @__PURE__ */ e.jsx(
1942
- d,
1994
+ g,
1943
1995
  {
1944
1996
  ActiveImage: (
1945
1997
  /* icon-question-active.svg */
@@ -1983,12 +2035,12 @@ const d2 = ({ children: c }) => {
1983
2035
  active: c,
1984
2036
  disabled: t
1985
2037
  }
1986
- ), O2 = ({
2038
+ ), F2 = ({
1987
2039
  active: c,
1988
2040
  className: r = "",
1989
2041
  disabled: t
1990
2042
  }) => /* @__PURE__ */ e.jsx(
1991
- d,
2043
+ g,
1992
2044
  {
1993
2045
  ActiveImage: (
1994
2046
  /* icon-right-active.svg */
@@ -2032,12 +2084,12 @@ const d2 = ({ children: c }) => {
2032
2084
  active: c,
2033
2085
  disabled: t
2034
2086
  }
2035
- ), k2 = ({
2087
+ ), W2 = ({
2036
2088
  active: c,
2037
2089
  className: r = "",
2038
2090
  disabled: t
2039
2091
  }) => /* @__PURE__ */ e.jsx(
2040
- d,
2092
+ g,
2041
2093
  {
2042
2094
  ActiveImage: (
2043
2095
  /* icon-shade-active.svg */
@@ -2081,12 +2133,12 @@ const d2 = ({ children: c }) => {
2081
2133
  active: c,
2082
2134
  disabled: t
2083
2135
  }
2084
- ), V2 = ({
2136
+ ), U2 = ({
2085
2137
  active: c,
2086
2138
  className: r = "",
2087
2139
  disabled: t
2088
2140
  }) => /* @__PURE__ */ e.jsx(
2089
- d,
2141
+ g,
2090
2142
  {
2091
2143
  ActiveImage: (
2092
2144
  /* icon-sun-active.svg */
@@ -2130,12 +2182,12 @@ const d2 = ({ children: c }) => {
2130
2182
  active: c,
2131
2183
  disabled: t
2132
2184
  }
2133
- ), $2 = ({
2185
+ ), H2 = ({
2134
2186
  active: c,
2135
2187
  className: r = "",
2136
2188
  disabled: t
2137
2189
  }) => /* @__PURE__ */ e.jsx(
2138
- d,
2190
+ g,
2139
2191
  {
2140
2192
  ActiveImage: (
2141
2193
  /* icon-up-active.svg */
@@ -2179,12 +2231,12 @@ const d2 = ({ children: c }) => {
2179
2231
  active: c,
2180
2232
  disabled: t
2181
2233
  }
2182
- ), F2 = ({
2234
+ ), G2 = ({
2183
2235
  active: c,
2184
2236
  className: r = "",
2185
2237
  disabled: t
2186
2238
  }) => /* @__PURE__ */ e.jsx(
2187
- d,
2239
+ g,
2188
2240
  {
2189
2241
  ActiveImage: (
2190
2242
  /* icon-volDown-active.svg */
@@ -2228,12 +2280,12 @@ const d2 = ({ children: c }) => {
2228
2280
  active: c,
2229
2281
  disabled: t
2230
2282
  }
2231
- ), W2 = ({
2283
+ ), q2 = ({
2232
2284
  active: c,
2233
2285
  className: r = "",
2234
2286
  disabled: t
2235
2287
  }) => /* @__PURE__ */ e.jsx(
2236
- d,
2288
+ g,
2237
2289
  {
2238
2290
  ActiveImage: (
2239
2291
  /* icon-volMute-active.svg */
@@ -2277,12 +2329,12 @@ const d2 = ({ children: c }) => {
2277
2329
  active: c,
2278
2330
  disabled: t
2279
2331
  }
2280
- ), U2 = ({
2332
+ ), K2 = ({
2281
2333
  active: c,
2282
2334
  className: r = "",
2283
2335
  disabled: t
2284
2336
  }) => /* @__PURE__ */ e.jsx(
2285
- d,
2337
+ g,
2286
2338
  {
2287
2339
  ActiveImage: (
2288
2340
  /* icon-volUp-active.svg */
@@ -2326,12 +2378,12 @@ const d2 = ({ children: c }) => {
2326
2378
  active: c,
2327
2379
  disabled: t
2328
2380
  }
2329
- ), H2 = ({
2381
+ ), Y2 = ({
2330
2382
  active: c,
2331
2383
  className: r = "",
2332
2384
  disabled: t
2333
2385
  }) => /* @__PURE__ */ e.jsx(
2334
- d,
2386
+ g,
2335
2387
  {
2336
2388
  ActiveImage: (
2337
2389
  /* icon-wireless-active.svg */
@@ -2375,12 +2427,12 @@ const d2 = ({ children: c }) => {
2375
2427
  active: c,
2376
2428
  disabled: t
2377
2429
  }
2378
- ), q2 = ({
2430
+ ), z2 = ({
2379
2431
  active: c,
2380
2432
  className: r = "",
2381
2433
  disabled: t
2382
2434
  }) => /* @__PURE__ */ e.jsx(
2383
- d,
2435
+ g,
2384
2436
  {
2385
2437
  ActiveImage: (
2386
2438
  /* icon-x-active.svg */
@@ -2424,12 +2476,12 @@ const d2 = ({ children: c }) => {
2424
2476
  active: c,
2425
2477
  disabled: t
2426
2478
  }
2427
- ), Y2 = ({
2479
+ ), J2 = ({
2428
2480
  active: c,
2429
2481
  className: r = "",
2430
2482
  disabled: t
2431
2483
  }) => /* @__PURE__ */ e.jsx(
2432
- d,
2484
+ g,
2433
2485
  {
2434
2486
  ActiveImage: (
2435
2487
  /* icon-xbox-active.svg */
@@ -2473,79 +2525,120 @@ const d2 = ({ children: c }) => {
2473
2525
  active: c,
2474
2526
  disabled: t
2475
2527
  }
2476
- ), G2 = {
2477
- Alert: M2,
2478
- Camera: Z2,
2479
- DownArrow: j2,
2480
- Ban: p2,
2481
- Check: m2,
2482
- Elipses: C2,
2483
- Flag: S2,
2484
- Gear: b2,
2485
- Glass: y2,
2486
- Hdmi: I2,
2487
- Laptop: R2,
2488
- LeftArrow: E2,
2489
- Light: _2,
2490
- Mic: f2,
2491
- Moon: B2,
2492
- Playstation: L2,
2493
- Podium: A2,
2494
- Power: T2,
2495
- Privacy: P2,
2496
- Question: D2,
2497
- RightArrow: O2,
2498
- Shade: k2,
2499
- Sun: V2,
2500
- UpArrow: $2,
2501
- VolDown: F2,
2502
- VolMute: W2,
2503
- VolUp: U2,
2504
- Wireless: H2,
2505
- X: q2,
2506
- Xbox: Y2
2528
+ ), X2 = {
2529
+ Alert: j2,
2530
+ Camera: S2,
2531
+ DownArrow: y2,
2532
+ Ban: C2,
2533
+ Check: b2,
2534
+ Elipses: I2,
2535
+ Flag: R2,
2536
+ Gear: E2,
2537
+ Glass: _2,
2538
+ Hdmi: B2,
2539
+ Laptop: A2,
2540
+ LeftArrow: L2,
2541
+ Light: T2,
2542
+ Mic: m2,
2543
+ Moon: P2,
2544
+ Playstation: D2,
2545
+ Podium: O2,
2546
+ Power: V2,
2547
+ Privacy: k2,
2548
+ Question: $2,
2549
+ RightArrow: F2,
2550
+ Shade: W2,
2551
+ Sun: U2,
2552
+ UpArrow: H2,
2553
+ VolDown: G2,
2554
+ VolMute: q2,
2555
+ VolUp: K2,
2556
+ Wireless: Y2,
2557
+ X: z2,
2558
+ Xbox: J2
2507
2559
  };
2508
- function L8({
2560
+ function $8({
2509
2561
  name: c,
2510
2562
  ...r
2511
2563
  }) {
2512
- return /* @__PURE__ */ e.jsx(x2, { multiIcon: G2[c], ...r });
2564
+ return /* @__PURE__ */ e.jsx(Z2, { multiIcon: X2[c], ...r });
2513
2565
  }
2514
- const K2 = "_grid_1cmpp_1", J2 = "_header_1cmpp_11", z2 = "_content_1cmpp_17", X2 = "_footer_1cmpp_23", Q2 = "_volume_1cmpp_29", Y = {
2515
- grid: K2,
2516
- header: J2,
2517
- content: z2,
2518
- footer: X2,
2519
- volume: Q2
2520
- }, A8 = ({ header: c, footer: r, content: t, volume: l, showVolume: w }) => /* @__PURE__ */ e.jsxs("div", { className: Y.grid, children: [
2521
- /* @__PURE__ */ e.jsx("div", { className: Y.header, children: c }),
2522
- /* @__PURE__ */ e.jsx("div", { className: Y.content, children: t }),
2523
- w && /* @__PURE__ */ e.jsx("div", { className: Y.volume, children: l }),
2524
- /* @__PURE__ */ e.jsx("div", { className: Y.footer, children: r })
2525
- ] }), N2 = "_grid_11w5q_1", e8 = "_header_11w5q_11", r8 = "_content_11w5q_17", e3 = {
2526
- grid: N2,
2527
- header: e8,
2528
- content: r8,
2566
+ const Q2 = "_grid_1cmpp_1", N2 = "_header_1cmpp_11", e8 = "_content_1cmpp_17", r8 = "_footer_1cmpp_23", c8 = "_volume_1cmpp_29", q = {
2567
+ grid: Q2,
2568
+ header: N2,
2569
+ content: e8,
2570
+ footer: r8,
2571
+ volume: c8
2572
+ }, F8 = ({ header: c, footer: r, content: t, volume: l, showVolume: a }) => /* @__PURE__ */ e.jsxs("div", { className: q.grid, children: [
2573
+ /* @__PURE__ */ e.jsx("div", { className: q.header, children: c }),
2574
+ /* @__PURE__ */ e.jsx("div", { className: q.content, children: t }),
2575
+ a && /* @__PURE__ */ e.jsx("div", { className: q.volume, children: l }),
2576
+ /* @__PURE__ */ e.jsx("div", { className: q.footer, children: r })
2577
+ ] }), s8 = "_grid_11w5q_1", t8 = "_header_11w5q_11", o8 = "_content_11w5q_17", e3 = {
2578
+ grid: s8,
2579
+ header: t8,
2580
+ content: o8,
2529
2581
  "left-nav": "_left-nav_11w5q_23"
2530
- }, T8 = ({ className: c, header: r, content: t, leftNav: l }) => /* @__PURE__ */ e.jsxs("div", { className: `${c} ${e3.grid}`, children: [
2582
+ }, W8 = ({ className: c, header: r, content: t, leftNav: l }) => /* @__PURE__ */ e.jsxs("div", { className: `${c} ${e3.grid}`, children: [
2531
2583
  /* @__PURE__ */ e.jsx("div", { className: e3.header, children: r }),
2532
2584
  /* @__PURE__ */ e.jsx("div", { className: e3.leftNav, children: l }),
2533
2585
  /* @__PURE__ */ e.jsx("div", { className: e3.content, children: t })
2534
2586
  ] });
2535
- function P8() {
2587
+ function U8() {
2536
2588
  return console.log(location.pathname), location.pathname;
2537
2589
  }
2538
- var c8 = /* @__PURE__ */ ((c) => (c[c.NotSet = 0] = "NotSet", c[c.Sunday = 1] = "Sunday", c[c.Monday = 2] = "Monday", c[c.Tuesday = 4] = "Tuesday", c[c.Wednesday = 8] = "Wednesday", c[c.Thursday = 16] = "Thursday", c[c.Friday = 32] = "Friday", c[c.Saturday = 64] = "Saturday", c))(c8 || {});
2539
- class D8 {
2590
+ var n8 = /* @__PURE__ */ ((c) => (c[c.NotSet = 0] = "NotSet", c[c.Sunday = 1] = "Sunday", c[c.Monday = 2] = "Monday", c[c.Tuesday = 4] = "Tuesday", c[c.Wednesday = 8] = "Wednesday", c[c.Thursday = 16] = "Thursday", c[c.Friday = 32] = "Friday", c[c.Saturday = 64] = "Saturday", c))(n8 || {});
2591
+ class H8 {
2540
2592
  constructor(r, t) {
2541
- k(this, "path");
2542
- k(this, "handler");
2593
+ d(this, "path");
2594
+ d(this, "handler");
2543
2595
  this.path = r, this.handler = t;
2544
2596
  }
2545
2597
  }
2546
- const O8 = ({ className: c }) => {
2598
+ class G8 {
2599
+ constructor() {
2600
+ d(this, "name", "");
2601
+ d(this, "iconUrl", "");
2602
+ d(this, "channel", "");
2603
+ }
2604
+ }
2605
+ class q8 {
2606
+ constructor() {
2607
+ d(this, "audioCodecKey");
2608
+ d(this, "defaultDisplayKey");
2609
+ d(this, "defaultPresentationSourceKey", "");
2610
+ d(this, "displayKeys", []);
2611
+ d(this, "environmentalDevices", []);
2612
+ d(this, "hasAudioConferencing");
2613
+ d(this, "hasEnvironmentalControls");
2614
+ d(this, "hasVideoConferencing");
2615
+ d(this, "helpMessage");
2616
+ d(this, "sourceList", {});
2617
+ d(this, "supportsAdvancedSharing");
2618
+ d(this, "uiBehavior");
2619
+ d(this, "userCanChangeShareMode");
2620
+ d(this, "videoCodecIsZoomRoom");
2621
+ d(this, "videoCodecKey");
2622
+ d(this, "touchpanelKeys");
2623
+ d(this, "zoomRoomControllerKey");
2624
+ }
2625
+ }
2626
+ class K8 {
2627
+ constructor() {
2628
+ d(this, "deviceKey");
2629
+ d(this, "deviceType");
2630
+ }
2631
+ }
2632
+ class Y8 {
2633
+ constructor() {
2634
+ d(this, "currentShareText");
2635
+ d(this, "enabled");
2636
+ d(this, "isSharing");
2637
+ }
2638
+ }
2639
+ const z8 = ({ className: c }) => {
2547
2640
  const [r, t] = r3();
2548
- return G(() => {
2641
+ return K(() => {
2549
2642
  setInterval(() => {
2550
2643
  const l = (/* @__PURE__ */ new Date()).toLocaleTimeString("en-US", { hour12: !0, hour: "numeric", minute: "numeric" });
2551
2644
  t(l);
@@ -2556,75 +2649,85 @@ const O8 = ({ className: c }) => {
2556
2649
  ] });
2557
2650
  };
2558
2651
  export {
2559
- O8 as Clock,
2560
- c8 as DaysOfWeek,
2561
- B8 as ErrorBox,
2562
- x2 as IconButton,
2563
- M2 as IconMultiAlert,
2564
- p2 as IconMultiBan,
2565
- Z2 as IconMultiCamera,
2566
- m2 as IconMultiCheck,
2567
- j2 as IconMultiDownArrow,
2568
- C2 as IconMultiElipses,
2569
- S2 as IconMultiFlag,
2570
- b2 as IconMultiGear,
2571
- y2 as IconMultiGlass,
2572
- I2 as IconMultiHdmi,
2573
- R2 as IconMultiLaptop,
2574
- E2 as IconMultiLeftArrow,
2575
- _2 as IconMultiLight,
2576
- B2 as IconMultiMoon,
2577
- L2 as IconMultiPlaystation,
2578
- A2 as IconMultiPodium,
2579
- T2 as IconMultiPower,
2580
- P2 as IconMultiPrivacy,
2581
- D2 as IconMultiQuestion,
2582
- O2 as IconMultiRightArrow,
2583
- k2 as IconMultiShade,
2584
- V2 as IconMultiSun,
2585
- $2 as IconMultiUpArrow,
2586
- F2 as IconMultiVolDown,
2587
- W2 as IconMultiVolMute,
2588
- U2 as IconMultiVolUp,
2589
- H2 as IconMultiWireless,
2590
- q2 as IconMultiX,
2591
- Y2 as IconMultiXbox,
2592
- A8 as MainLayout,
2593
- D8 as MessageHandler,
2594
- E8 as MobileControlProvider,
2595
- d as MultiStateIconContainer,
2596
- L8 as NamedIconButton,
2597
- T8 as TechLayout,
2598
- P8 as getBaseLocation,
2599
- v3 as httpClient,
2600
- P as store,
2601
- i8 as uiActions,
2602
- Q1 as uiReducer,
2603
- a8 as useApiPath,
2604
- N1 as useAppConfig,
2605
- s2 as useAppDispatch,
2606
- c2 as useClientId,
2607
- _8 as useGetAllDeviceStateFromRoomConfiguration,
2608
- h8 as useGetAllDevices,
2609
- I8 as useGetCurrentPopoverIdForGroup,
2610
- v8 as useGetDevice,
2611
- t2 as useInitialize,
2612
- j8 as useRoomAdvancedSharingActive,
2613
- d8 as useRoomConfiguration,
2614
- f8 as useRoomDestinationKeys,
2615
- M8 as useRoomInCall,
2616
- Z8 as useRoomIsCoolingDown,
2617
- m8 as useRoomIsOn,
2618
- p8 as useRoomIsWarmingUp,
2619
- r2 as useRoomKey,
2620
- w8 as useRoomMasterVolume,
2621
- g8 as useRoomName,
2622
- C8 as useRoomShareState,
2623
- x8 as useRoomSourceList,
2624
- u8 as useRoomState,
2625
- b8 as useShowIncomingCallModal,
2626
- y8 as useShowModal,
2627
- R8 as useShowPopoverById,
2628
- S8 as useShowShutdownModal,
2629
- e2 as useWsIsConnected
2652
+ z8 as Clock,
2653
+ n8 as DaysOfWeek,
2654
+ K8 as EnvironmentalDeviceConfiguration,
2655
+ k8 as ErrorBox,
2656
+ Z2 as IconButton,
2657
+ j2 as IconMultiAlert,
2658
+ C2 as IconMultiBan,
2659
+ S2 as IconMultiCamera,
2660
+ b2 as IconMultiCheck,
2661
+ y2 as IconMultiDownArrow,
2662
+ I2 as IconMultiElipses,
2663
+ R2 as IconMultiFlag,
2664
+ E2 as IconMultiGear,
2665
+ _2 as IconMultiGlass,
2666
+ B2 as IconMultiHdmi,
2667
+ A2 as IconMultiLaptop,
2668
+ L2 as IconMultiLeftArrow,
2669
+ T2 as IconMultiLight,
2670
+ P2 as IconMultiMoon,
2671
+ D2 as IconMultiPlaystation,
2672
+ O2 as IconMultiPodium,
2673
+ V2 as IconMultiPower,
2674
+ k2 as IconMultiPrivacy,
2675
+ $2 as IconMultiQuestion,
2676
+ F2 as IconMultiRightArrow,
2677
+ W2 as IconMultiShade,
2678
+ U2 as IconMultiSun,
2679
+ H2 as IconMultiUpArrow,
2680
+ G2 as IconMultiVolDown,
2681
+ q2 as IconMultiVolMute,
2682
+ K2 as IconMultiVolUp,
2683
+ Y2 as IconMultiWireless,
2684
+ z2 as IconMultiX,
2685
+ J2 as IconMultiXbox,
2686
+ F8 as MainLayout,
2687
+ H8 as MessageHandler,
2688
+ T8 as MobileControlProvider,
2689
+ g as MultiStateIconContainer,
2690
+ $8 as NamedIconButton,
2691
+ G8 as PresetChannel,
2692
+ q8 as RoomConfiguration,
2693
+ Y8 as ShareState,
2694
+ W8 as TechLayout,
2695
+ U8 as getBaseLocation,
2696
+ d3 as httpClient,
2697
+ D as store,
2698
+ d8 as uiActions,
2699
+ r2 as uiReducer,
2700
+ u8 as useApiPath,
2701
+ s2 as useAppConfig,
2702
+ l2 as useAppDispatch,
2703
+ n2 as useClientId,
2704
+ P8 as useGetAllDeviceStateFromRoomConfiguration,
2705
+ g8 as useGetAllDevices,
2706
+ A8 as useGetCurrentPopoverIdForGroup,
2707
+ X3 as useGetDevice,
2708
+ I8 as useGetRoomDisplays,
2709
+ R8 as useGetZoomRoomControllerKey,
2710
+ x2 as useIHasPowerControl,
2711
+ D8 as useIRunDirectRouteAction,
2712
+ i2 as useInitialize,
2713
+ O8 as useMobileControlTouchpanelController,
2714
+ b8 as useRoomAdvancedSharingActive,
2715
+ w8 as useRoomConfiguration,
2716
+ Z8 as useRoomDestinationKeys,
2717
+ m8 as useRoomInCall,
2718
+ C8 as useRoomIsCoolingDown,
2719
+ S8 as useRoomIsOn,
2720
+ j8 as useRoomIsWarmingUp,
2721
+ o2 as useRoomKey,
2722
+ p8 as useRoomMasterVolume,
2723
+ f8 as useRoomName,
2724
+ y8 as useRoomShareState,
2725
+ M8 as useRoomSourceList,
2726
+ x8 as useRoomState,
2727
+ _8 as useShowIncomingCallModal,
2728
+ B8 as useShowModal,
2729
+ L8 as useShowPopoverById,
2730
+ E8 as useShowShutdownModal,
2731
+ V8 as useTwoWayDisplayBase,
2732
+ t2 as useWsIsConnected
2630
2733
  };