@pepperdash/mobile-control-react-app-core 1.22.8 → 1.22.9-client-id-qp.1

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.
@@ -1,12 +1,12 @@
1
1
  var w2 = Object.defineProperty;
2
2
  var m2 = (e, t, o) => t in e ? w2(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o;
3
3
  var q = (e, t, o) => m2(e, typeof t != "symbol" ? t + "" : t, o);
4
- import M3, { AxiosError as p2 } from "axios";
4
+ import x3, { AxiosError as p2 } from "axios";
5
5
  import { useDispatch as M2, useSelector as x2, Provider as Z2 } from "react-redux";
6
- import { createSelector as M, createSlice as u1, combineReducers as S2, configureStore as j2 } from "@reduxjs/toolkit";
7
- import x3, { createContext as C2, useEffect as x1, useCallback as r1, useContext as b2, useRef as M1, useMemo as n1, useState as Y, useLayoutEffect as Z3 } from "react";
6
+ import { createSelector as M, createSlice as a1, combineReducers as S2, configureStore as j2 } from "@reduxjs/toolkit";
7
+ import Z3, { createContext as C2, useEffect as x1, useCallback as c1, useContext as b2, useRef as M1, useMemo as n1, useState as z, useLayoutEffect as S3 } from "react";
8
8
  import { useNavigate as y2, useRouteError as I2, isRouteErrorResponse as R2 } from "react-router-dom";
9
- import * as S3 from "lodash";
9
+ import * as j3 from "lodash";
10
10
  const W1 = M2.withTypes(), m = x2.withTypes(), Z1 = (e) => e.appConfig, E2 = M(
11
11
  Z1,
12
12
  (e) => e.config
@@ -19,13 +19,13 @@ const W1 = M2.withTypes(), m = x2.withTypes(), Z1 = (e) => e.appConfig, E2 = M(
19
19
  ), _2 = M(
20
20
  Z1,
21
21
  (e) => e.config.partnerMetadata
22
- ), X8 = () => m(E2), Q8 = () => m(T2), N8 = () => m(D2), e6 = () => m(_2), j3 = (e) => e.devices, C3 = M(
23
- j3,
22
+ ), X8 = () => m(E2), Q8 = () => m(T2), N8 = () => m(D2), e6 = () => m(_2), C3 = (e) => e.devices, b3 = M(
23
+ C3,
24
24
  (e) => e
25
25
  ), P2 = (e) => M(
26
- j3,
26
+ C3,
27
27
  (t) => t[e] ? t[e] : void 0
28
- ), t6 = () => m(C3);
28
+ ), t6 = () => m(b3);
29
29
  function _(e) {
30
30
  return m(P2(e));
31
31
  }
@@ -134,7 +134,7 @@ const A = (e) => e.rooms, L2 = (e) => M(
134
134
  ), ee = M(
135
135
  [
136
136
  (e, t) => t,
137
- () => C3,
137
+ () => b3,
138
138
  (e, t) => {
139
139
  var o, c;
140
140
  return (c = (o = e.rooms[t]) == null ? void 0 : o.configuration) == null ? void 0 : c.destinations;
@@ -191,19 +191,19 @@ const s6 = S1, c6 = (e) => m(
191
191
  ), de = M(
192
192
  G,
193
193
  (e) => e.touchpanelKey !== ""
194
- ), b3 = M(
194
+ ), y3 = M(
195
195
  G,
196
196
  (e) => e.roomData.deviceInterfaceSupport
197
- ), y3 = (e) => M(
198
- b3,
197
+ ), I3 = (e) => M(
198
+ y3,
199
199
  (t) => {
200
200
  var o;
201
201
  return ((o = t == null ? void 0 : t[e]) == null ? void 0 : o.interfaces) ?? [];
202
202
  }
203
203
  ), ve = (e, t) => M(
204
- y3(e),
204
+ I3(e),
205
205
  (o) => o.includes(t)
206
- ), I3 = () => m(oe), Z6 = () => m(se), S6 = () => m(ce), j6 = () => m(re), C6 = () => m(le), b6 = () => m(ie), y6 = () => m(ae), I6 = () => m(ue), R6 = () => m(de), E6 = () => m(b3), T6 = (e) => m(y3(e)), D6 = (e, t) => m(ve(e, t)), N = (e) => e.ui, V1 = (e) => M(N, (t) => t.modalVisibility[e]), he = (e) => M(N, (t) => {
206
+ ), R3 = () => m(oe), Z6 = () => m(se), S6 = () => m(ce), j6 = () => m(re), C6 = () => m(le), b6 = () => m(ie), y6 = () => m(ae), I6 = () => m(ue), R6 = () => m(de), E6 = () => m(y3), T6 = (e) => m(I3(e)), D6 = (e, t) => m(ve(e, t)), N = (e) => e.ui, V1 = (e) => M(N, (t) => t.modalVisibility[e]), he = (e) => M(N, (t) => {
207
207
  const o = t.popoverVisibility[e];
208
208
  if (o)
209
209
  return Object.keys(o).find((c) => o[c]);
@@ -225,7 +225,7 @@ const s6 = S1, c6 = (e) => m(
225
225
  },
226
226
  popoverVisibility: {},
227
227
  syncState: []
228
- }, R3 = u1({
228
+ }, E3 = a1({
229
229
  name: "ui",
230
230
  initialState: Se,
231
231
  reducers: {
@@ -271,7 +271,7 @@ const s6 = S1, c6 = (e) => m(
271
271
  e.syncState = [];
272
272
  }
273
273
  }
274
- }), O = R3.actions, je = R3.reducer, Ce = {
274
+ }), W = E3.actions, je = E3.reducer, Ce = {
275
275
  config: {
276
276
  enableDev: !1,
277
277
  apiPath: "",
@@ -281,7 +281,7 @@ const s6 = S1, c6 = (e) => m(
281
281
  loginMode: "",
282
282
  modes: {}
283
283
  }
284
- }, E3 = u1({
284
+ }, T3 = a1({
285
285
  name: "appConfig",
286
286
  initialState: Ce,
287
287
  reducers: {
@@ -289,18 +289,18 @@ const s6 = S1, c6 = (e) => m(
289
289
  e.config = t.payload;
290
290
  }
291
291
  }
292
- }), T3 = E3.actions, be = E3.reducer, v3 = {}, B1 = u1({
292
+ }), D3 = T3.actions, be = T3.reducer, h3 = {}, B1 = a1({
293
293
  name: "devices",
294
- initialState: v3,
294
+ initialState: h3,
295
295
  reducers: {
296
296
  setDeviceState(e, t) {
297
297
  const o = t.payload.type, c = o.slice(o.lastIndexOf("/") + 1);
298
298
  if (!c) return;
299
- const r = t.payload.content, l = e[c] ?? {}, v = S3.merge(l, r);
299
+ const r = t.payload.content, l = e[c] ?? {}, v = j3.merge(l, r);
300
300
  e[c] = v;
301
301
  },
302
302
  clearDevices() {
303
- return v3;
303
+ return h3;
304
304
  }
305
305
  }
306
306
  }), f1 = {
@@ -315,25 +315,25 @@ class Ie {
315
315
  q(this, "expiry", "current-uuid-expires");
316
316
  }
317
317
  }
318
- const h3 = new Ie();
318
+ const g3 = new Ie();
319
319
  function Re(e) {
320
320
  return sessionStorage.getItem(e) || "";
321
321
  }
322
322
  function Ee(e, t) {
323
323
  sessionStorage.setItem(e, t);
324
324
  }
325
- const g3 = {}, k1 = u1({
325
+ const f3 = {}, k1 = a1({
326
326
  name: "rooms",
327
- initialState: g3,
327
+ initialState: f3,
328
328
  reducers: {
329
329
  setRoomState(e, t) {
330
330
  const o = t.payload.type, c = o.slice(o.lastIndexOf("/") + 1);
331
331
  if (!c) return;
332
- const r = t.payload.content, l = e[c] ?? {}, v = S3.merge(l, r);
332
+ const r = t.payload.content, l = e[c] ?? {}, v = j3.merge(l, r);
333
333
  e[c] = v;
334
334
  },
335
335
  clearRooms() {
336
- return g3;
336
+ return f3;
337
337
  }
338
338
  }
339
339
  }), w1 = {
@@ -370,7 +370,7 @@ const g3 = {}, k1 = u1({
370
370
  userCode: "",
371
371
  qrUrl: ""
372
372
  }
373
- }, D3 = u1({
373
+ }, _3 = a1({
374
374
  name: "runtimeConfig",
375
375
  initialState: De,
376
376
  reducers: {
@@ -405,16 +405,16 @@ const g3 = {}, k1 = u1({
405
405
  e.touchpanelKey = t.payload;
406
406
  }
407
407
  }
408
- }), U = D3.actions, _e = D3.reducer, L1 = M3.create(), _3 = "websocket/connect", P3 = "websocket/disconnect", L3 = "websocket/sendMessage", $3 = "websocket/addEventHandler", A3 = "websocket/removeEventHandler", B3 = "websocket/reconnect", k3 = () => ({ type: _3 }), k6 = () => ({ type: P3 }), Pe = (e, t) => ({
409
- type: L3,
408
+ }), U = _3.actions, _e = _3.reducer, L1 = x3.create(), P3 = "websocket/connect", L3 = "websocket/disconnect", $3 = "websocket/sendMessage", A3 = "websocket/addEventHandler", B3 = "websocket/removeEventHandler", k3 = "websocket/reconnect", O3 = () => ({ type: P3 }), k6 = () => ({ type: L3 }), Pe = (e, t) => ({
409
+ type: $3,
410
410
  payload: { messageType: e, content: t }
411
411
  }), Le = (e, t, o) => ({
412
- type: $3,
412
+ type: A3,
413
413
  payload: { eventType: e, key: t, callback: o }
414
414
  }), $e = (e, t) => ({
415
- type: A3,
415
+ type: B3,
416
416
  payload: { eventType: e, key: t }
417
- }), Ae = () => ({ type: B3 }), Be = () => {
417
+ }), Ae = () => ({ type: k3 }), Be = () => {
418
418
  const e = {
419
419
  client: null,
420
420
  token: null,
@@ -431,7 +431,7 @@ const g3 = {}, k1 = u1({
431
431
  );
432
432
  if (C.status === 200 && C.data) {
433
433
  const b = C.data.apiPath;
434
- a(T3.setAppConfig(C.data));
434
+ a(D3.setAppConfig(C.data));
435
435
  const x = await L1.get(
436
436
  `${b}/version`
437
437
  );
@@ -449,19 +449,19 @@ const g3 = {}, k1 = u1({
449
449
  return C.status === 200 && C.data ? (j(U.setRoomData(C.data)), !0) : !1;
450
450
  } catch (C) {
451
451
  return console.log(C), C instanceof p2 && C.response && C.response.status === 498 ? (console.error("Invalid token. Unable to join room"), j(
452
- O.setErrorMessage(
452
+ W.setErrorMessage(
453
453
  `Token ${Z} is invalid. Unable to join room`
454
454
  )
455
- ), !1) : (console.error("Error getting room data", C), C instanceof Error ? j(O.setErrorMessage(C.message)) : j(O.setErrorMessage("Error getting room data")), !1);
455
+ ), !1) : (console.error("Error getting room data", C), C instanceof Error ? j(W.setErrorMessage(C.message)) : j(W.setErrorMessage("Error getting room data")), !1);
456
456
  }
457
457
  }, c = (a) => {
458
458
  e.reconnectTimer && (clearTimeout(e.reconnectTimer), e.reconnectTimer = null), console.log("WebSocket middleware: Starting reconnection loop..."), e.reconnectTimer = setTimeout(() => {
459
- e.waitingToReconnect = !1, e.reconnectTimer = null, console.log("WebSocket middleware: Attempting automatic reconnection..."), a(k3());
459
+ e.waitingToReconnect = !1, e.reconnectTimer = null, console.log("WebSocket middleware: Attempting automatic reconnection..."), a(O3());
460
460
  }, 5e3);
461
461
  }, r = () => {
462
462
  e.reconnectTimer && (console.log("WebSocket middleware: Stopping reconnection loop"), clearTimeout(e.reconnectTimer), e.reconnectTimer = null);
463
463
  }, l = (a) => {
464
- a(O.setShowReconnect(!0)), a(U.setWebsocketIsConnected(!1)), a(f1.clearDevices()), a(w1.clearRooms()), a(O.clearAllModals()), a(O.clearSyncState());
464
+ a(W.setShowReconnect(!0)), a(U.setWebsocketIsConnected(!1)), a(f1.clearDevices()), a(w1.clearRooms()), a(W.clearAllModals()), a(W.clearSyncState());
465
465
  }, v = (a, Z) => {
466
466
  const j = a(), C = Z ?? j.runtimeConfig.roomData.roomKey, { clientId: b } = j.runtimeConfig.roomData, x = j.runtimeConfig.websocket.isConnected;
467
467
  if (!Z || !x || !b) {
@@ -481,7 +481,7 @@ const g3 = {}, k1 = u1({
481
481
  );
482
482
  }, f = async (a, Z) => {
483
483
  console.log("WebSocket middleware: Attempting to connect...");
484
- const j = Z(), { apiPath: C } = j.appConfig.config, { serverIsRunningOnProcessorHardware: b } = j.runtimeConfig;
484
+ const j = Z(), { apiPath: C } = j.appConfig.config, { serverIsRunningOnProcessorHardware: b, roomData: x } = j.runtimeConfig;
485
485
  if (!C || !e.token) {
486
486
  console.log(
487
487
  "WebSocket middleware: Cannot connect - missing requirements",
@@ -511,42 +511,42 @@ const g3 = {}, k1 = u1({
511
511
  return;
512
512
  }
513
513
  console.log("WebSocket middleware: Connecting to websocket");
514
- const C1 = `${C.replace("http", "ws")}/ui/join/${e.token}`, K = new WebSocket(C1);
515
- e.client = K, K.onopen = (B) => {
516
- console.log("WebSocket middleware: Connected", B.type, B.target), e.waitingToReconnect = !1, r(), setTimeout(() => {
514
+ const C1 = `${C.replace("http", "ws")}/ui/join/${e.token}?clientId=${x.clientId}`, K = new WebSocket(C1);
515
+ e.client = K, K.onopen = (k) => {
516
+ console.log("WebSocket middleware: Connected", k.type, k.target), e.waitingToReconnect = !1, r(), setTimeout(() => {
517
517
  e.client === K && K.readyState === WebSocket.OPEN && a(U.setWebsocketIsConnected(!0));
518
518
  }, 100);
519
- }, K.onerror = (B) => {
520
- console.error("WebSocket middleware: Error", B), l(a);
521
- }, K.onclose = (B) => {
519
+ }, K.onerror = (k) => {
520
+ console.error("WebSocket middleware: Error", k), l(a);
521
+ }, K.onclose = (k) => {
522
522
  var D;
523
523
  if (console.log(
524
524
  "WebSocket middleware: Disconnected",
525
- B.reason,
526
- B.code
527
- ), B.code === 4100) {
525
+ k.reason,
526
+ k.code
527
+ ), k.code === 4100) {
528
528
  console.log("WebSocket middleware: Closed by client (cleanup)"), r(), l(a);
529
529
  return;
530
530
  }
531
- if (e.waitingToReconnect = !0, B.code === 4e3) {
531
+ if (e.waitingToReconnect = !0, k.code === 4e3) {
532
532
  console.log("WebSocket middleware: User code changed"), r(), a(
533
533
  U.setUserCode({ userCode: "", qrUrl: "" })
534
534
  ), a(
535
- O.setErrorMessage(
535
+ W.setErrorMessage(
536
536
  "User code changed. Click reconnect to enter the new code"
537
537
  )
538
538
  ), l(a);
539
539
  return;
540
540
  }
541
- if (B.code === 4002) {
541
+ if (k.code === 4002) {
542
542
  console.log("WebSocket middleware: Room combination changed"), r(), a(
543
- O.setErrorMessage(
543
+ W.setErrorMessage(
544
544
  "Room combination changed. Click Reconnect to re-join the room"
545
545
  )
546
546
  ), l(a);
547
547
  return;
548
548
  }
549
- if (B.code === 4001)
549
+ if (k.code === 4001)
550
550
  if (!!((D = Z().runtimeConfig) != null && D.touchpanelKey))
551
551
  console.log(
552
552
  "WebSocket middleware: Code 4001 received with touchpanel key present, will auto-reconnect"
@@ -559,7 +559,7 @@ const g3 = {}, k1 = u1({
559
559
  console.log(
560
560
  "WebSocket middleware: Processor disconnected (no touchpanel key, not on processor hardware)"
561
561
  ), r(), a(
562
- O.setErrorMessage(
562
+ W.setErrorMessage(
563
563
  "Processor has disconnected. Click Reconnect to continue."
564
564
  )
565
565
  ), l(a);
@@ -574,13 +574,13 @@ const g3 = {}, k1 = u1({
574
574
  return;
575
575
  }
576
576
  e.client = null, console.log("WebSocket middleware: Clearing state on disconnect"), a(
577
- O.setErrorMessage(
577
+ W.setErrorMessage(
578
578
  "Connection lost. Attempting to reconnect..."
579
579
  )
580
- ), a(U.setWebsocketIsConnected(!1)), a(f1.clearDevices()), a(w1.clearRooms()), a(O.clearAllModals()), a(O.clearSyncState()), c(a);
581
- }, K.onmessage = (B) => {
580
+ ), a(U.setWebsocketIsConnected(!1)), a(f1.clearDevices()), a(w1.clearRooms()), a(W.clearAllModals()), a(W.clearSyncState()), c(a);
581
+ }, K.onmessage = (k) => {
582
582
  try {
583
- const D = JSON.parse(B.data);
583
+ const D = JSON.parse(k.data);
584
584
  if (D.type === "close") {
585
585
  K.close(4001, D.content);
586
586
  return;
@@ -595,7 +595,7 @@ const g3 = {}, k1 = u1({
595
595
  );
596
596
  break;
597
597
  case "/system/roomKey":
598
- a(w1.clearRooms()), a(f1.clearDevices()), a(O.clearSyncState()), a(
598
+ a(w1.clearRooms()), a(f1.clearDevices()), a(W.clearSyncState()), a(
599
599
  U.setCurrentRoomKey(
600
600
  D.content
601
601
  )
@@ -610,10 +610,10 @@ const g3 = {}, k1 = u1({
610
610
  window.location.reload();
611
611
  break;
612
612
  case "/system/deviceInterfaces": {
613
- const z = D.content;
613
+ const Y = D.content;
614
614
  a(
615
615
  U.setDeviceInterfaces(
616
- z.deviceInterfaces
616
+ Y.deviceInterfaces
617
617
  )
618
618
  );
619
619
  break;
@@ -626,13 +626,13 @@ const g3 = {}, k1 = u1({
626
626
  break;
627
627
  }
628
628
  else if (D.type.startsWith("/event/")) {
629
- const z = e.eventHandlers[D.type];
630
- z || console.log(
629
+ const Y = e.eventHandlers[D.type];
630
+ Y || console.log(
631
631
  "WebSocket middleware: No handlers found for event type",
632
632
  D.type
633
- ), z && Object.values(z).forEach((o1) => {
633
+ ), Y && Object.values(Y).forEach((u1) => {
634
634
  try {
635
- o1(D);
635
+ u1(D);
636
636
  } catch (b1) {
637
637
  console.error(
638
638
  "WebSocket middleware: Event handler error",
@@ -645,8 +645,8 @@ const g3 = {}, k1 = u1({
645
645
  console.error("WebSocket middleware: Message handling error", D);
646
646
  }
647
647
  }, e.waitingToReconnect = !1;
648
- } catch (x) {
649
- console.error("WebSocket middleware: Connection error", x), e.waitingToReconnect = !1, e.client = null;
648
+ } catch (B) {
649
+ console.error("WebSocket middleware: Connection error", B), e.waitingToReconnect = !1, e.client = null;
650
650
  }
651
651
  }, h = () => {
652
652
  e.client && (console.log("WebSocket middleware: Disconnecting"), r(), e.client.close(4100, "Client requested disconnect"), e.client = null);
@@ -664,8 +664,8 @@ const g3 = {}, k1 = u1({
664
664
  Z
665
665
  ));
666
666
  }, H = (a) => {
667
- const Z = a(), { gatewayAppPath: j } = Z.appConfig.config, C = Z.runtimeConfig.roomData.roomKey, b = Z.runtimeConfig.roomData.systemUuid, x = Z.runtimeConfig.roomData.userCode, W = `${j}?uuid=${b}&roomKey=${C}`;
668
- window.location.href = x ? `${W}&Code=${x}` : W;
667
+ const Z = a(), { gatewayAppPath: j } = Z.appConfig.config, C = Z.runtimeConfig.roomData.roomKey, b = Z.runtimeConfig.roomData.systemUuid, x = Z.runtimeConfig.roomData.userCode, B = `${j}?uuid=${b}&roomKey=${C}`;
668
+ window.location.href = x ? `${B}&Code=${x}` : B;
669
669
  };
670
670
  return (a) => (Z) => (j) => {
671
671
  const C = Z(j);
@@ -674,35 +674,35 @@ const g3 = {}, k1 = u1({
674
674
  const b = j;
675
675
  return (async () => {
676
676
  switch (b.type) {
677
- case _3: {
678
- let W = new URLSearchParams(window.location.search).get("token");
679
- W ? (console.log("WebSocket middleware: Saving token"), Ee(h3.uuid, W)) : (W = Re(h3.uuid), console.log("WebSocket middleware: Loading token")), e.token = W, await t(a.dispatch), await f(a.dispatch, a.getState);
677
+ case P3: {
678
+ let B = new URLSearchParams(window.location.search).get("token");
679
+ B ? (console.log("WebSocket middleware: Saving token"), Ee(g3.uuid, B)) : (B = Re(g3.uuid), console.log("WebSocket middleware: Loading token")), e.token = B, await t(a.dispatch), await f(a.dispatch, a.getState);
680
680
  break;
681
681
  }
682
- case P3:
682
+ case L3:
683
683
  h();
684
684
  break;
685
- case L3:
685
+ case $3:
686
686
  w(
687
687
  b.payload.messageType,
688
688
  b.payload.content,
689
689
  a.getState
690
690
  );
691
691
  break;
692
- case $3:
692
+ case A3:
693
693
  d(
694
694
  b.payload.eventType,
695
695
  b.payload.key,
696
696
  b.payload.callback
697
697
  );
698
698
  break;
699
- case A3:
699
+ case B3:
700
700
  P(
701
701
  b.payload.eventType,
702
702
  b.payload.key
703
703
  );
704
704
  break;
705
- case B3:
705
+ case k3:
706
706
  H(a.getState);
707
707
  break;
708
708
  default:
@@ -711,8 +711,8 @@ const g3 = {}, k1 = u1({
711
711
  "[WebSocket Middleware] Connection established, requesting room status..."
712
712
  ), setTimeout(() => v(a.getState), 100));
713
713
  else if (j.type === U.setRoomData.type) {
714
- const x = a.getState(), W = j.payload;
715
- x.runtimeConfig.websocket.isConnected && (W != null && W.clientId) && (console.log(
714
+ const x = a.getState(), B = j.payload;
715
+ x.runtimeConfig.websocket.isConnected && (B != null && B.clientId) && (console.log(
716
716
  "[WebSocket Middleware] Room data received, requesting room status..."
717
717
  ), setTimeout(() => v(a.getState), 100));
718
718
  } else if (j.type === U.setCurrentRoomKey.type) {
@@ -743,21 +743,21 @@ const g3 = {}, k1 = u1({
743
743
  ignoredActions: ["websocket/addEventHandler"]
744
744
  }
745
745
  }).concat(Be())
746
- }), f3 = M3.create();
746
+ }), w3 = x3.create();
747
747
  function O6() {
748
748
  const e = W1();
749
749
  return async () => {
750
750
  try {
751
751
  const t = location.pathname.split("/").filter((r) => r.length > 0);
752
752
  t.length >= 5 ? t.length = 5 : t.length = 2;
753
- const o = `/${t.join("/")}`, c = await f3.get(
753
+ const o = `/${t.join("/")}`, c = await w3.get(
754
754
  "/_local-config/_config.local.json",
755
755
  { baseURL: o }
756
756
  );
757
757
  if (c.status == 200 && c.data) {
758
758
  const r = c.data.apiPath;
759
- e(T3.setAppConfig(c.data));
760
- const l = await f3.get(
759
+ e(D3.setAppConfig(c.data));
760
+ const l = await w3.get(
761
761
  `${r}/version`
762
762
  );
763
763
  l.status == 200 && l.data && e(U.setRuntimeConfig(l.data));
@@ -768,7 +768,7 @@ function O6() {
768
768
  return !0;
769
769
  };
770
770
  }
771
- var m1 = { exports: {} }, l1 = {};
771
+ var m1 = { exports: {} }, r1 = {};
772
772
  /**
773
773
  * @license React
774
774
  * react-jsx-runtime.production.min.js
@@ -778,11 +778,11 @@ var m1 = { exports: {} }, l1 = {};
778
778
  * This source code is licensed under the MIT license found in the
779
779
  * LICENSE file in the root directory of this source tree.
780
780
  */
781
- var w3;
781
+ var m3;
782
782
  function We() {
783
- if (w3) return l1;
784
- w3 = 1;
785
- var e = x3, t = Symbol.for("react.element"), o = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, r = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, l = { key: !0, ref: !0, __self: !0, __source: !0 };
783
+ if (m3) return r1;
784
+ m3 = 1;
785
+ var e = Z3, t = Symbol.for("react.element"), o = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, r = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, l = { key: !0, ref: !0, __self: !0, __source: !0 };
786
786
  function v(f, h, w) {
787
787
  var d, P = {}, H = null, a = null;
788
788
  w !== void 0 && (H = "" + w), h.key !== void 0 && (H = "" + h.key), h.ref !== void 0 && (a = h.ref);
@@ -790,9 +790,9 @@ function We() {
790
790
  if (f && f.defaultProps) for (d in h = f.defaultProps, h) P[d] === void 0 && (P[d] = h[d]);
791
791
  return { $$typeof: t, type: f, key: H, ref: a, props: P, _owner: r.current };
792
792
  }
793
- return l1.Fragment = o, l1.jsx = v, l1.jsxs = v, l1;
793
+ return r1.Fragment = o, r1.jsx = v, r1.jsxs = v, r1;
794
794
  }
795
- var i1 = {};
795
+ var l1 = {};
796
796
  /**
797
797
  * @license React
798
798
  * react-jsx-runtime.development.js
@@ -802,10 +802,10 @@ var i1 = {};
802
802
  * This source code is licensed under the MIT license found in the
803
803
  * LICENSE file in the root directory of this source tree.
804
804
  */
805
- var m3;
805
+ var p3;
806
806
  function Ve() {
807
- return m3 || (m3 = 1, process.env.NODE_ENV !== "production" && function() {
808
- var e = x3, t = Symbol.for("react.element"), o = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), v = Symbol.for("react.provider"), f = Symbol.for("react.context"), h = Symbol.for("react.forward_ref"), w = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), P = Symbol.for("react.memo"), H = Symbol.for("react.lazy"), a = Symbol.for("react.offscreen"), Z = Symbol.iterator, j = "@@iterator";
807
+ return p3 || (p3 = 1, process.env.NODE_ENV !== "production" && function() {
808
+ var e = Z3, t = Symbol.for("react.element"), o = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), v = Symbol.for("react.provider"), f = Symbol.for("react.context"), h = Symbol.for("react.forward_ref"), w = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), P = Symbol.for("react.memo"), H = Symbol.for("react.lazy"), a = Symbol.for("react.offscreen"), Z = Symbol.iterator, j = "@@iterator";
809
809
  function C(s) {
810
810
  if (s === null || typeof s != "object")
811
811
  return null;
@@ -817,10 +817,10 @@ function Ve() {
817
817
  {
818
818
  for (var i = arguments.length, u = new Array(i > 1 ? i - 1 : 0), p = 1; p < i; p++)
819
819
  u[p - 1] = arguments[p];
820
- W("error", s, u);
820
+ B("error", s, u);
821
821
  }
822
822
  }
823
- function W(s, i, u) {
823
+ function B(s, i, u) {
824
824
  {
825
825
  var p = b.ReactDebugCurrentFrame, E = p.getStackAddendum();
826
826
  E !== "" && (i += "%s", u = u.concat([E]));
@@ -830,23 +830,23 @@ function Ve() {
830
830
  T.unshift("Warning: " + i), Function.prototype.apply.call(console[s], console, T);
831
831
  }
832
832
  }
833
- var C1 = !1, K = !1, B = !1, D = !1, z = !1, o1;
834
- o1 = Symbol.for("react.module.reference");
835
- function b1(s) {
836
- return !!(typeof s == "string" || typeof s == "function" || s === c || s === l || z || s === r || s === w || s === d || D || s === a || C1 || K || B || typeof s == "object" && s !== null && (s.$$typeof === H || s.$$typeof === P || s.$$typeof === v || s.$$typeof === f || s.$$typeof === h || // This needs to include all possible module reference object
833
+ var U1 = !1, C1 = !1, K = !1, k = !1, D = !1, Y;
834
+ Y = Symbol.for("react.module.reference");
835
+ function u1(s) {
836
+ return !!(typeof s == "string" || typeof s == "function" || s === c || s === l || D || s === r || s === w || s === d || k || s === a || U1 || C1 || K || typeof s == "object" && s !== null && (s.$$typeof === H || s.$$typeof === P || s.$$typeof === v || s.$$typeof === f || s.$$typeof === h || // This needs to include all possible module reference object
837
837
  // types supported by any Flight configuration anywhere since
838
838
  // we don't know which Flight build this will end up being used
839
839
  // with.
840
- s.$$typeof === o1 || s.getModuleId !== void 0));
840
+ s.$$typeof === Y || s.getModuleId !== void 0));
841
841
  }
842
- function U3(s, i, u) {
842
+ function b1(s, i, u) {
843
843
  var p = s.displayName;
844
844
  if (p)
845
845
  return p;
846
846
  var E = i.displayName || i.name || "";
847
847
  return E !== "" ? u + "(" + E + ")" : u;
848
848
  }
849
- function U1(s) {
849
+ function H1(s) {
850
850
  return s.displayName || "Context";
851
851
  }
852
852
  function J(s) {
@@ -874,12 +874,12 @@ function Ve() {
874
874
  switch (s.$$typeof) {
875
875
  case f:
876
876
  var i = s;
877
- return U1(i) + ".Consumer";
877
+ return H1(i) + ".Consumer";
878
878
  case v:
879
879
  var u = s;
880
- return U1(u._context) + ".Provider";
880
+ return H1(u._context) + ".Provider";
881
881
  case h:
882
- return U3(s, s.render, "ForwardRef");
882
+ return b1(s, s.render, "ForwardRef");
883
883
  case P:
884
884
  var p = s.displayName || null;
885
885
  return p !== null ? p : J(s.type) || "Memo";
@@ -894,18 +894,18 @@ function Ve() {
894
894
  }
895
895
  return null;
896
896
  }
897
- var X = Object.assign, s1 = 0, H1, F1, K1, q1, G1, Y1, z1;
898
- function J1() {
897
+ var X = Object.assign, o1 = 0, F1, K1, q1, G1, Y1, z1, J1;
898
+ function X1() {
899
899
  }
900
- J1.__reactDisabledLog = !0;
900
+ X1.__reactDisabledLog = !0;
901
901
  function H3() {
902
902
  {
903
- if (s1 === 0) {
904
- H1 = console.log, F1 = console.info, K1 = console.warn, q1 = console.error, G1 = console.group, Y1 = console.groupCollapsed, z1 = console.groupEnd;
903
+ if (o1 === 0) {
904
+ F1 = console.log, K1 = console.info, q1 = console.warn, G1 = console.error, Y1 = console.group, z1 = console.groupCollapsed, J1 = console.groupEnd;
905
905
  var s = {
906
906
  configurable: !0,
907
907
  enumerable: !0,
908
- value: J1,
908
+ value: X1,
909
909
  writable: !0
910
910
  };
911
911
  Object.defineProperties(console, {
@@ -918,12 +918,12 @@ function Ve() {
918
918
  groupEnd: s
919
919
  });
920
920
  }
921
- s1++;
921
+ o1++;
922
922
  }
923
923
  }
924
924
  function F3() {
925
925
  {
926
- if (s1--, s1 === 0) {
926
+ if (o1--, o1 === 0) {
927
927
  var s = {
928
928
  configurable: !0,
929
929
  enumerable: !0,
@@ -931,29 +931,29 @@ function Ve() {
931
931
  };
932
932
  Object.defineProperties(console, {
933
933
  log: X({}, s, {
934
- value: H1
934
+ value: F1
935
935
  }),
936
936
  info: X({}, s, {
937
- value: F1
937
+ value: K1
938
938
  }),
939
939
  warn: X({}, s, {
940
- value: K1
940
+ value: q1
941
941
  }),
942
942
  error: X({}, s, {
943
- value: q1
943
+ value: G1
944
944
  }),
945
945
  group: X({}, s, {
946
- value: G1
946
+ value: Y1
947
947
  }),
948
948
  groupCollapsed: X({}, s, {
949
- value: Y1
949
+ value: z1
950
950
  }),
951
951
  groupEnd: X({}, s, {
952
- value: z1
952
+ value: J1
953
953
  })
954
954
  });
955
955
  }
956
- s1 < 0 && x("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
956
+ o1 < 0 && x("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
957
957
  }
958
958
  }
959
959
  var y1 = b.ReactCurrentDispatcher, I1;
@@ -975,7 +975,7 @@ function Ve() {
975
975
  var K3 = typeof WeakMap == "function" ? WeakMap : Map;
976
976
  v1 = new K3();
977
977
  }
978
- function X1(s, i) {
978
+ function Q1(s, i) {
979
979
  if (!s || R1)
980
980
  return "";
981
981
  {
@@ -1024,14 +1024,14 @@ function Ve() {
1024
1024
  } catch (V) {
1025
1025
  if (V && p && typeof V.stack == "string") {
1026
1026
  for (var S = V.stack.split(`
1027
- `), k = p.stack.split(`
1028
- `), L = S.length - 1, $ = k.length - 1; L >= 1 && $ >= 0 && S[L] !== k[$]; )
1027
+ `), O = p.stack.split(`
1028
+ `), L = S.length - 1, $ = O.length - 1; L >= 1 && $ >= 0 && S[L] !== O[$]; )
1029
1029
  $--;
1030
1030
  for (; L >= 1 && $ >= 0; L--, $--)
1031
- if (S[L] !== k[$]) {
1031
+ if (S[L] !== O[$]) {
1032
1032
  if (L !== 1 || $ !== 1)
1033
1033
  do
1034
- if (L--, $--, $ < 0 || S[L] !== k[$]) {
1034
+ if (L--, $--, $ < 0 || S[L] !== O[$]) {
1035
1035
  var F = `
1036
1036
  ` + S[L].replace(" at new ", " at ");
1037
1037
  return s.displayName && F.includes("<anonymous>") && (F = F.replace("<anonymous>", s.displayName)), typeof s == "function" && v1.set(s, F), F;
@@ -1047,7 +1047,7 @@ function Ve() {
1047
1047
  return typeof s == "function" && v1.set(s, Q), Q;
1048
1048
  }
1049
1049
  function q3(s, i, u) {
1050
- return X1(s, !1);
1050
+ return Q1(s, !1);
1051
1051
  }
1052
1052
  function G3(s) {
1053
1053
  var i = s.prototype;
@@ -1057,7 +1057,7 @@ function Ve() {
1057
1057
  if (s == null)
1058
1058
  return "";
1059
1059
  if (typeof s == "function")
1060
- return X1(s, G3(s));
1060
+ return Q1(s, G3(s));
1061
1061
  if (typeof s == "string")
1062
1062
  return d1(s);
1063
1063
  switch (s) {
@@ -1082,30 +1082,30 @@ function Ve() {
1082
1082
  }
1083
1083
  return "";
1084
1084
  }
1085
- var c1 = Object.prototype.hasOwnProperty, Q1 = {}, N1 = b.ReactDebugCurrentFrame;
1085
+ var s1 = Object.prototype.hasOwnProperty, N1 = {}, e3 = b.ReactDebugCurrentFrame;
1086
1086
  function g1(s) {
1087
1087
  if (s) {
1088
1088
  var i = s._owner, u = h1(s.type, s._source, i ? i.type : null);
1089
- N1.setExtraStackFrame(u);
1089
+ e3.setExtraStackFrame(u);
1090
1090
  } else
1091
- N1.setExtraStackFrame(null);
1091
+ e3.setExtraStackFrame(null);
1092
1092
  }
1093
1093
  function Y3(s, i, u, p, E) {
1094
1094
  {
1095
- var T = Function.call.bind(c1);
1095
+ var T = Function.call.bind(s1);
1096
1096
  for (var y in s)
1097
1097
  if (T(s, y)) {
1098
1098
  var S = void 0;
1099
1099
  try {
1100
1100
  if (typeof s[y] != "function") {
1101
- var k = Error((p || "React class") + ": " + u + " type `" + y + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof s[y] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
1102
- throw k.name = "Invariant Violation", k;
1101
+ var O = Error((p || "React class") + ": " + u + " type `" + y + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof s[y] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
1102
+ throw O.name = "Invariant Violation", O;
1103
1103
  }
1104
1104
  S = s[y](i, y, p, u, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
1105
1105
  } catch (L) {
1106
1106
  S = L;
1107
1107
  }
1108
- S && !(S instanceof Error) && (g1(E), x("%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).", p || "React class", u, y, typeof S), g1(null)), S instanceof Error && !(S.message in Q1) && (Q1[S.message] = !0, g1(E), x("Failed %s type: %s", u, S.message), g1(null));
1108
+ S && !(S instanceof Error) && (g1(E), x("%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).", p || "React class", u, y, typeof S), g1(null)), S instanceof Error && !(S.message in N1) && (N1[S.message] = !0, g1(E), x("Failed %s type: %s", u, S.message), g1(null));
1109
1109
  }
1110
1110
  }
1111
1111
  }
@@ -1121,26 +1121,26 @@ function Ve() {
1121
1121
  }
1122
1122
  function X3(s) {
1123
1123
  try {
1124
- return e3(s), !1;
1124
+ return t3(s), !1;
1125
1125
  } catch {
1126
1126
  return !0;
1127
1127
  }
1128
1128
  }
1129
- function e3(s) {
1129
+ function t3(s) {
1130
1130
  return "" + s;
1131
1131
  }
1132
- function t3(s) {
1132
+ function n3(s) {
1133
1133
  if (X3(s))
1134
- return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", J3(s)), e3(s);
1134
+ return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", J3(s)), t3(s);
1135
1135
  }
1136
- var n3 = b.ReactCurrentOwner, Q3 = {
1136
+ var o3 = b.ReactCurrentOwner, Q3 = {
1137
1137
  key: !0,
1138
1138
  ref: !0,
1139
1139
  __self: !0,
1140
1140
  __source: !0
1141
- }, o3, s3;
1141
+ }, s3, c3;
1142
1142
  function N3(s) {
1143
- if (c1.call(s, "ref")) {
1143
+ if (s1.call(s, "ref")) {
1144
1144
  var i = Object.getOwnPropertyDescriptor(s, "ref").get;
1145
1145
  if (i && i.isReactWarning)
1146
1146
  return !1;
@@ -1148,7 +1148,7 @@ function Ve() {
1148
1148
  return s.ref !== void 0;
1149
1149
  }
1150
1150
  function e2(s) {
1151
- if (c1.call(s, "key")) {
1151
+ if (s1.call(s, "key")) {
1152
1152
  var i = Object.getOwnPropertyDescriptor(s, "key").get;
1153
1153
  if (i && i.isReactWarning)
1154
1154
  return !1;
@@ -1156,12 +1156,12 @@ function Ve() {
1156
1156
  return s.key !== void 0;
1157
1157
  }
1158
1158
  function t2(s, i) {
1159
- typeof s.ref == "string" && n3.current;
1159
+ typeof s.ref == "string" && o3.current;
1160
1160
  }
1161
1161
  function n2(s, i) {
1162
1162
  {
1163
1163
  var u = function() {
1164
- o3 || (o3 = !0, x("%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)", i));
1164
+ s3 || (s3 = !0, x("%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)", i));
1165
1165
  };
1166
1166
  u.isReactWarning = !0, Object.defineProperty(s, "key", {
1167
1167
  get: u,
@@ -1172,7 +1172,7 @@ function Ve() {
1172
1172
  function o2(s, i) {
1173
1173
  {
1174
1174
  var u = function() {
1175
- s3 || (s3 = !0, x("%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)", i));
1175
+ c3 || (c3 = !0, x("%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)", i));
1176
1176
  };
1177
1177
  u.isReactWarning = !0, Object.defineProperty(s, "ref", {
1178
1178
  get: u,
@@ -1211,36 +1211,36 @@ function Ve() {
1211
1211
  };
1212
1212
  function c2(s, i, u, p, E) {
1213
1213
  {
1214
- var T, y = {}, S = null, k = null;
1215
- u !== void 0 && (t3(u), S = "" + u), e2(i) && (t3(i.key), S = "" + i.key), N3(i) && (k = i.ref, t2(i, E));
1214
+ var T, y = {}, S = null, O = null;
1215
+ u !== void 0 && (n3(u), S = "" + u), e2(i) && (n3(i.key), S = "" + i.key), N3(i) && (O = i.ref, t2(i, E));
1216
1216
  for (T in i)
1217
- c1.call(i, T) && !Q3.hasOwnProperty(T) && (y[T] = i[T]);
1217
+ s1.call(i, T) && !Q3.hasOwnProperty(T) && (y[T] = i[T]);
1218
1218
  if (s && s.defaultProps) {
1219
1219
  var L = s.defaultProps;
1220
1220
  for (T in L)
1221
1221
  y[T] === void 0 && (y[T] = L[T]);
1222
1222
  }
1223
- if (S || k) {
1223
+ if (S || O) {
1224
1224
  var $ = typeof s == "function" ? s.displayName || s.name || "Unknown" : s;
1225
- S && n2(y, $), k && o2(y, $);
1225
+ S && n2(y, $), O && o2(y, $);
1226
1226
  }
1227
- return s2(s, S, k, E, p, n3.current, y);
1227
+ return s2(s, S, O, E, p, o3.current, y);
1228
1228
  }
1229
1229
  }
1230
- var T1 = b.ReactCurrentOwner, c3 = b.ReactDebugCurrentFrame;
1230
+ var T1 = b.ReactCurrentOwner, r3 = b.ReactDebugCurrentFrame;
1231
1231
  function e1(s) {
1232
1232
  if (s) {
1233
1233
  var i = s._owner, u = h1(s.type, s._source, i ? i.type : null);
1234
- c3.setExtraStackFrame(u);
1234
+ r3.setExtraStackFrame(u);
1235
1235
  } else
1236
- c3.setExtraStackFrame(null);
1236
+ r3.setExtraStackFrame(null);
1237
1237
  }
1238
1238
  var D1;
1239
1239
  D1 = !1;
1240
1240
  function _1(s) {
1241
1241
  return typeof s == "object" && s !== null && s.$$typeof === t;
1242
1242
  }
1243
- function r3() {
1243
+ function l3() {
1244
1244
  {
1245
1245
  if (T1.current) {
1246
1246
  var s = J(T1.current.type);
@@ -1255,10 +1255,10 @@ Check the render method of \`` + s + "`.";
1255
1255
  function r2(s) {
1256
1256
  return "";
1257
1257
  }
1258
- var l3 = {};
1258
+ var i3 = {};
1259
1259
  function l2(s) {
1260
1260
  {
1261
- var i = r3();
1261
+ var i = l3();
1262
1262
  if (!i) {
1263
1263
  var u = typeof s == "string" ? s : s.displayName || s.name;
1264
1264
  u && (i = `
@@ -1268,27 +1268,27 @@ Check the top-level render call using <` + u + ">.");
1268
1268
  return i;
1269
1269
  }
1270
1270
  }
1271
- function i3(s, i) {
1271
+ function a3(s, i) {
1272
1272
  {
1273
1273
  if (!s._store || s._store.validated || s.key != null)
1274
1274
  return;
1275
1275
  s._store.validated = !0;
1276
1276
  var u = l2(i);
1277
- if (l3[u])
1277
+ if (i3[u])
1278
1278
  return;
1279
- l3[u] = !0;
1279
+ i3[u] = !0;
1280
1280
  var p = "";
1281
1281
  s && s._owner && s._owner !== T1.current && (p = " It was passed a child from " + J(s._owner.type) + "."), e1(s), x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', u, p), e1(null);
1282
1282
  }
1283
1283
  }
1284
- function a3(s, i) {
1284
+ function u3(s, i) {
1285
1285
  {
1286
1286
  if (typeof s != "object")
1287
1287
  return;
1288
1288
  if (E1(s))
1289
1289
  for (var u = 0; u < s.length; u++) {
1290
1290
  var p = s[u];
1291
- _1(p) && i3(p, i);
1291
+ _1(p) && a3(p, i);
1292
1292
  }
1293
1293
  else if (_1(s))
1294
1294
  s._store && (s._store.validated = !0);
@@ -1296,7 +1296,7 @@ Check the top-level render call using <` + u + ">.");
1296
1296
  var E = C(s);
1297
1297
  if (typeof E == "function" && E !== s.entries)
1298
1298
  for (var T = E.call(s), y; !(y = T.next()).done; )
1299
- _1(y.value) && i3(y.value, i);
1299
+ _1(y.value) && a3(y.value, i);
1300
1300
  }
1301
1301
  }
1302
1302
  }
@@ -1337,15 +1337,15 @@ Check the top-level render call using <` + u + ">.");
1337
1337
  s.ref !== null && (e1(s), x("Invalid attribute `ref` supplied to `React.Fragment`."), e1(null));
1338
1338
  }
1339
1339
  }
1340
- var u3 = {};
1341
- function d3(s, i, u, p, E, T) {
1340
+ var d3 = {};
1341
+ function v3(s, i, u, p, E, T) {
1342
1342
  {
1343
- var y = b1(s);
1343
+ var y = u1(s);
1344
1344
  if (!y) {
1345
1345
  var S = "";
1346
1346
  (s === void 0 || typeof s == "object" && s !== null && Object.keys(s).length === 0) && (S += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
1347
- var k = r2();
1348
- k ? S += k : S += r3();
1347
+ var O = r2();
1348
+ O ? S += O : S += l3();
1349
1349
  var L;
1350
1350
  s === null ? L = "null" : E1(s) ? L = "array" : s !== void 0 && s.$$typeof === t ? (L = "<" + (J(s.type) || "Unknown") + " />", S = " Did you accidentally export a JSX literal instead of a component?") : L = typeof s, x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", L, S);
1351
1351
  }
@@ -1358,49 +1358,49 @@ Check the top-level render call using <` + u + ">.");
1358
1358
  if (p)
1359
1359
  if (E1(F)) {
1360
1360
  for (var t1 = 0; t1 < F.length; t1++)
1361
- a3(F[t1], s);
1361
+ u3(F[t1], s);
1362
1362
  Object.freeze && Object.freeze(F);
1363
1363
  } else
1364
1364
  x("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
1365
1365
  else
1366
- a3(F, s);
1366
+ u3(F, s);
1367
1367
  }
1368
- if (c1.call(i, "key")) {
1368
+ if (s1.call(i, "key")) {
1369
1369
  var Q = J(s), V = Object.keys(i).filter(function(f2) {
1370
1370
  return f2 !== "key";
1371
1371
  }), P1 = V.length > 0 ? "{key: someKey, " + V.join(": ..., ") + ": ...}" : "{key: someKey}";
1372
- if (!u3[Q + P1]) {
1372
+ if (!d3[Q + P1]) {
1373
1373
  var g2 = V.length > 0 ? "{" + V.join(": ..., ") + ": ...}" : "{}";
1374
1374
  x(`A props object containing a "key" prop is being spread into JSX:
1375
1375
  let props = %s;
1376
1376
  <%s {...props} />
1377
1377
  React keys must be passed directly to JSX without using spread:
1378
1378
  let props = %s;
1379
- <%s key={someKey} {...props} />`, P1, Q, g2, Q), u3[Q + P1] = !0;
1379
+ <%s key={someKey} {...props} />`, P1, Q, g2, Q), d3[Q + P1] = !0;
1380
1380
  }
1381
1381
  }
1382
1382
  return s === c ? a2($) : i2($), $;
1383
1383
  }
1384
1384
  }
1385
1385
  function u2(s, i, u) {
1386
- return d3(s, i, u, !0);
1386
+ return v3(s, i, u, !0);
1387
1387
  }
1388
1388
  function d2(s, i, u) {
1389
- return d3(s, i, u, !1);
1389
+ return v3(s, i, u, !1);
1390
1390
  }
1391
1391
  var v2 = d2, h2 = u2;
1392
- i1.Fragment = c, i1.jsx = v2, i1.jsxs = h2;
1393
- }()), i1;
1392
+ l1.Fragment = c, l1.jsx = v2, l1.jsxs = h2;
1393
+ }()), l1;
1394
1394
  }
1395
- var p3;
1395
+ var M3;
1396
1396
  function Ue() {
1397
- return p3 || (p3 = 1, process.env.NODE_ENV === "production" ? m1.exports = We() : m1.exports = Ve()), m1.exports;
1397
+ return M3 || (M3 = 1, process.env.NODE_ENV === "production" ? m1.exports = We() : m1.exports = Ve()), m1.exports;
1398
1398
  }
1399
1399
  var n = Ue();
1400
1400
  const He = "_mwfit_ppa3l_1", Fe = {
1401
1401
  mwfit: He
1402
1402
  }, Ke = () => {
1403
- const { reconnect: e } = R(), t = I3(), o = Me(), c = xe();
1403
+ const { reconnect: e } = R(), t = R3(), o = Me(), c = xe();
1404
1404
  return /* @__PURE__ */ n.jsxs("div", { className: "vh-100 d-flex flex-column flex-grow-1 justify-content-center align-items-center gap-5 ", children: [
1405
1405
  /* @__PURE__ */ n.jsxs("div", { className: `${Fe.mwfit} mx-auto text-center`, children: [
1406
1406
  t === void 0 ? /* @__PURE__ */ n.jsx("h2", { children: "Connecting..." }) : /* @__PURE__ */ n.jsx("h2", { children: "Disconnected" }),
@@ -1408,42 +1408,42 @@ const He = "_mwfit_ppa3l_1", Fe = {
1408
1408
  ] }),
1409
1409
  c && /* @__PURE__ */ n.jsx("button", { className: "btn btn-secondary btn-lg", onPointerDown: e, children: "Reconnect" })
1410
1410
  ] });
1411
- }, O3 = C2({
1411
+ }, W3 = C2({
1412
1412
  sendMessage: () => null,
1413
1413
  sendSimpleMessage: () => null,
1414
1414
  addEventHandler: () => null,
1415
1415
  removeEventHandler: () => null,
1416
1416
  reconnect: () => null
1417
1417
  }), qe = ({ children: e }) => {
1418
- const t = W1(), o = I3();
1418
+ const t = W1(), o = R3();
1419
1419
  x1(() => {
1420
- t(k3());
1420
+ t(O3());
1421
1421
  }, [t]);
1422
- const c = r1(
1422
+ const c = c1(
1423
1423
  (h, w) => {
1424
1424
  t(Pe(h, w));
1425
1425
  },
1426
1426
  [t]
1427
- ), r = r1(
1427
+ ), r = c1(
1428
1428
  (h, w) => {
1429
1429
  c(h, { value: w });
1430
1430
  },
1431
1431
  [c]
1432
- ), l = r1(
1432
+ ), l = c1(
1433
1433
  (h, w, d) => {
1434
1434
  t(Le(h, w, d));
1435
1435
  },
1436
1436
  [t]
1437
- ), v = r1(
1437
+ ), v = c1(
1438
1438
  (h, w) => {
1439
1439
  t($e(h, w));
1440
1440
  },
1441
1441
  [t]
1442
- ), f = r1(() => {
1442
+ ), f = c1(() => {
1443
1443
  t(Ae());
1444
1444
  }, [t]);
1445
1445
  return /* @__PURE__ */ n.jsx(
1446
- O3.Provider,
1446
+ W3.Provider,
1447
1447
  {
1448
1448
  value: {
1449
1449
  sendMessage: c,
@@ -1457,7 +1457,7 @@ const He = "_mwfit_ppa3l_1", Fe = {
1457
1457
  );
1458
1458
  }, W6 = ({ children: e }) => /* @__PURE__ */ n.jsx(Z2, { store: Oe, children: /* @__PURE__ */ n.jsx(qe, { children: e }) });
1459
1459
  function R() {
1460
- return b2(O3);
1460
+ return b2(W3);
1461
1461
  }
1462
1462
  function Ge({
1463
1463
  onPress: e,
@@ -1511,7 +1511,7 @@ function V6(e) {
1511
1511
  muteToggle: () => t(`${e}/muteToggle`, null)
1512
1512
  }), [e, t, o, c]);
1513
1513
  }
1514
- function W3(e, t) {
1514
+ function V3(e, t) {
1515
1515
  const { sendMessage: o, sendSimpleMessage: c } = R(), r = j1(e);
1516
1516
  return n1(() => {
1517
1517
  if (!r) {
@@ -1556,9 +1556,9 @@ function Ye(e) {
1556
1556
  if (t)
1557
1557
  return t.volume;
1558
1558
  }, [t]);
1559
- return W3(o, c);
1559
+ return V3(o, c);
1560
1560
  }
1561
- function V3(e) {
1561
+ function U3(e) {
1562
1562
  const { sendMessage: t } = R();
1563
1563
  return { powerOn: () => {
1564
1564
  t(`/device/${e}/powerOn`, null);
@@ -1586,7 +1586,7 @@ function ze(e) {
1586
1586
  return o ? { levelControls: o.levelControls, setDefaultChannelLevels: c, getFullStatus: r } : void 0;
1587
1587
  }
1588
1588
  function H6(e) {
1589
- const t = _(e), o = V3(e), c = O1(e), r = O1(e), l = Ye(e), v = ze(e);
1589
+ const t = _(e), o = U3(e), c = O1(e), r = O1(e), l = Ye(e), v = ze(e);
1590
1590
  if (t)
1591
1591
  return {
1592
1592
  avrState: t,
@@ -1598,7 +1598,7 @@ function H6(e) {
1598
1598
  };
1599
1599
  }
1600
1600
  const F6 = ({ className: e }) => {
1601
- const [t, o] = Y();
1601
+ const [t, o] = z();
1602
1602
  return x1(() => {
1603
1603
  setInterval(() => {
1604
1604
  const c = (/* @__PURE__ */ new Date()).toLocaleTimeString("en-US", { hour12: !0, hour: "numeric", minute: "numeric" });
@@ -1863,7 +1863,7 @@ function St(e) {
1863
1863
  } : void 0;
1864
1864
  }
1865
1865
  function jt(e) {
1866
- const t = _(e), o = V3(e), c = O1(e);
1866
+ const t = _(e), o = U3(e), c = O1(e);
1867
1867
  if (!t) return;
1868
1868
  const r = (t.powerState || t.isWarming) && !t.isCooling, l = (!t.powerState || t.isCooling) && !t.isWarming;
1869
1869
  return {
@@ -1913,8 +1913,8 @@ const bt = ({
1913
1913
  }, [r, t, o]), r;
1914
1914
  };
1915
1915
  function yt(e, t) {
1916
- const [o, c] = Y(!1), [r, l] = Y(!1);
1917
- return Z3(() => {
1916
+ const [o, c] = z(!1), [r, l] = z(!1);
1917
+ return S3(() => {
1918
1918
  const { current: v } = e, f = () => {
1919
1919
  const h = v && v.scrollHeight > v.clientHeight, w = v && v.scrollWidth > v.clientWidth;
1920
1920
  l(h ?? !1), c(w ?? !1), t && t(h ?? !1, w ?? !1);
@@ -1928,18 +1928,18 @@ function It(e, t) {
1928
1928
  }
1929
1929
  function Rt(e, t) {
1930
1930
  const o = te(e, t), c = `/room/${e}/volumes/${t}`;
1931
- return W3(c, o);
1931
+ return V3(c, o);
1932
1932
  }
1933
1933
  function Et(e) {
1934
1934
  var f, h;
1935
- const [t, o] = Y(((f = e == null ? void 0 : e.current) == null ? void 0 : f.scrollLeft) ?? 0), [c, r] = Y(((h = e == null ? void 0 : e.current) == null ? void 0 : h.scrollTop) ?? 0), l = (w) => {
1935
+ const [t, o] = z(((f = e == null ? void 0 : e.current) == null ? void 0 : f.scrollLeft) ?? 0), [c, r] = z(((h = e == null ? void 0 : e.current) == null ? void 0 : h.scrollTop) ?? 0), l = (w) => {
1936
1936
  const { current: d } = e;
1937
1937
  d && (console.log(d.scrollLeft), d.scrollLeft += w, console.log(d.scrollLeft));
1938
1938
  }, v = (w) => {
1939
1939
  const { current: d } = e;
1940
1940
  d && (console.log(d.scrollTop), d.scrollTop += w, console.log(d.scrollTop));
1941
1941
  };
1942
- return Z3(() => {
1942
+ return S3(() => {
1943
1943
  const { current: w } = e, d = () => {
1944
1944
  o((w == null ? void 0 : w.scrollLeft) ?? 0), r((w == null ? void 0 : w.scrollTop) ?? 0);
1945
1945
  };
@@ -1949,9 +1949,9 @@ function Et(e) {
1949
1949
  function Tt(e) {
1950
1950
  const t = W1();
1951
1951
  return [() => {
1952
- t(O.addSyncState(e));
1952
+ t(W.addSyncState(e));
1953
1953
  }, () => {
1954
- t(O.removeSyncState(e));
1954
+ t(W.removeSyncState(e));
1955
1955
  }, Ze(e)];
1956
1956
  }
1957
1957
  function Dt() {
@@ -1966,7 +1966,7 @@ function Dt() {
1966
1966
  };
1967
1967
  }
1968
1968
  function _t() {
1969
- const [e, t] = Y(), [o, c] = Y();
1969
+ const [e, t] = z(), [o, c] = z();
1970
1970
  function r() {
1971
1971
  t((/* @__PURE__ */ new Date()).toLocaleDateString("en-US", { dateStyle: "long" }));
1972
1972
  const l = (/* @__PURE__ */ new Date()).toLocaleTimeString("en-US", { hour12: !0, hour: "numeric", minute: "numeric" });
@@ -1981,7 +1981,7 @@ function _t() {
1981
1981
  }, []), { date: e, time: o };
1982
1982
  }
1983
1983
  const Pt = () => {
1984
- const [e, t] = Y(!1), o = y2(), c = I2();
1984
+ const [e, t] = z(!1), o = y2(), c = I2();
1985
1985
  let r;
1986
1986
  return R2(c) ? r = c.statusText : c instanceof Error ? r = c.message : typeof c == "string" ? r = c : (console.error(c), r = "Unknown error"), /* @__PURE__ */ n.jsxs("div", { className: "d-flex flex-column align-items-center gap-5", children: [
1987
1987
  /* @__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." }) }),
@@ -2022,7 +2022,7 @@ const Pt = () => {
2022
2022
  onPointerLeave: P,
2023
2023
  ...H
2024
2024
  }) => {
2025
- const [a, Z] = Y(!1), j = !v && f ? h : "", C = !v && (a || f);
2025
+ const [a, Z] = z(!1), j = !v && f ? h : "", C = !v && (a || f);
2026
2026
  return /* @__PURE__ */ n.jsxs(
2027
2027
  "button",
2028
2028
  {
@@ -3707,17 +3707,17 @@ function $t({
3707
3707
  const c = t[e] ?? null;
3708
3708
  return c || console.error(`Icon ${e} not found in dictionary`), /* @__PURE__ */ n.jsx(Ne, { multiIcon: c, ...o });
3709
3709
  }
3710
- const P8 = "_grid_1cmpp_1", L8 = "_header_1cmpp_11", $8 = "_content_1cmpp_17", A8 = "_footer_1cmpp_23", B8 = "_volume_1cmpp_29", a1 = {
3710
+ const P8 = "_grid_1cmpp_1", L8 = "_header_1cmpp_11", $8 = "_content_1cmpp_17", A8 = "_footer_1cmpp_23", B8 = "_volume_1cmpp_29", i1 = {
3711
3711
  grid: P8,
3712
3712
  header: L8,
3713
3713
  content: $8,
3714
3714
  footer: A8,
3715
3715
  volume: B8
3716
- }, At = ({ header: e, footer: t, content: o, volume: c, showVolume: r }) => /* @__PURE__ */ n.jsxs("div", { className: a1.grid, children: [
3717
- /* @__PURE__ */ n.jsx("div", { className: a1.header, children: e }),
3718
- /* @__PURE__ */ n.jsx("div", { className: a1.content, children: o }),
3719
- r && /* @__PURE__ */ n.jsx("div", { className: a1.volume, children: c }),
3720
- /* @__PURE__ */ n.jsx("div", { className: a1.footer, children: t })
3716
+ }, At = ({ header: e, footer: t, content: o, volume: c, showVolume: r }) => /* @__PURE__ */ n.jsxs("div", { className: i1.grid, children: [
3717
+ /* @__PURE__ */ n.jsx("div", { className: i1.header, children: e }),
3718
+ /* @__PURE__ */ n.jsx("div", { className: i1.content, children: o }),
3719
+ r && /* @__PURE__ */ n.jsx("div", { className: i1.volume, children: c }),
3720
+ /* @__PURE__ */ n.jsx("div", { className: i1.footer, children: t })
3721
3721
  ] }), k8 = "_grid_11w5q_1", O8 = "_header_11w5q_11", W8 = "_content_11w5q_17", p1 = {
3722
3722
  grid: k8,
3723
3723
  header: O8,
@@ -3799,32 +3799,32 @@ export {
3799
3799
  Ot as ShareState,
3800
3800
  Bt as TechLayout,
3801
3801
  kt as TechPinLayout,
3802
- $3 as WS_ADD_EVENT_HANDLER,
3803
- _3 as WS_CONNECT,
3804
- P3 as WS_DISCONNECT,
3805
- B3 as WS_RECONNECT,
3806
- A3 as WS_REMOVE_EVENT_HANDLER,
3807
- L3 as WS_SEND_MESSAGE,
3808
- O3 as WebsocketContext,
3809
- T3 as appConfigActions,
3802
+ A3 as WS_ADD_EVENT_HANDLER,
3803
+ P3 as WS_CONNECT,
3804
+ L3 as WS_DISCONNECT,
3805
+ k3 as WS_RECONNECT,
3806
+ B3 as WS_REMOVE_EVENT_HANDLER,
3807
+ $3 as WS_SEND_MESSAGE,
3808
+ W3 as WebsocketContext,
3809
+ D3 as appConfigActions,
3810
3810
  Be as createWebSocketMiddleware,
3811
3811
  f1 as devicesActions,
3812
3812
  Wt as getBaseLocation,
3813
- f3 as httpClient,
3813
+ w3 as httpClient,
3814
3814
  _8 as iconsDictionary,
3815
3815
  Ut as roomOffSourceKey,
3816
3816
  w1 as roomsActions,
3817
3817
  U as runtimeConfigActions,
3818
- C3 as selectAllDevices,
3818
+ b3 as selectAllDevices,
3819
3819
  T2 as selectApiPath,
3820
3820
  E2 as selectAppConfig,
3821
3821
  ce as selectClientId,
3822
3822
  he as selectCurrentPopoverIdForGroup,
3823
3823
  P2 as selectDeviceByKey,
3824
- b3 as selectDeviceInterfaceSupport,
3824
+ y3 as selectDeviceInterfaceSupport,
3825
3825
  ve as selectDeviceSupportsInterface,
3826
3826
  fe as selectError,
3827
- y3 as selectInterfacesForDevice,
3827
+ I3 as selectInterfacesForDevice,
3828
3828
  pe as selectIsSyncStateValuePresent,
3829
3829
  de as selectIsTouchpanel,
3830
3830
  D2 as selectLogoPath,
@@ -3862,7 +3862,7 @@ export {
3862
3862
  oe as selectWsIsConnected,
3863
3863
  N2 as selectZoomRoomControllerKey,
3864
3864
  Oe as store,
3865
- O as uiActions,
3865
+ W as uiActions,
3866
3866
  je as uiReducer,
3867
3867
  Q8 as useApiPath,
3868
3868
  X8 as useAppConfig,
@@ -3890,7 +3890,7 @@ export {
3890
3890
  M6 as useGetRoomDisplayStates,
3891
3891
  x6 as useGetZoomRoomControllerKey,
3892
3892
  j1 as useIBasicVolume,
3893
- W3 as useIBasicVolumeWithFeedback,
3893
+ V3 as useIBasicVolumeWithFeedback,
3894
3894
  G6 as useIChannel,
3895
3895
  Y6 as useIColor,
3896
3896
  z6 as useICommunicationMonitor,
@@ -3900,7 +3900,7 @@ export {
3900
3900
  et as useIDvr,
3901
3901
  tt as useIEssentialsRoomCombiner,
3902
3902
  nt as useIHasCameras,
3903
- V3 as useIHasPowerControl,
3903
+ U3 as useIHasPowerControl,
3904
3904
  O1 as useIHasSelectableItems,
3905
3905
  ot as useIHumiditySensor,
3906
3906
  st as useILevelControls,
@@ -3968,9 +3968,9 @@ export {
3968
3968
  jt as useTwoWayDisplayBase,
3969
3969
  C6 as useUserCode,
3970
3970
  R as useWebsocketContext,
3971
- I3 as useWsIsConnected,
3971
+ R3 as useWsIsConnected,
3972
3972
  Le as wsAddEventHandler,
3973
- k3 as wsConnect,
3973
+ O3 as wsConnect,
3974
3974
  k6 as wsDisconnect,
3975
3975
  Ae as wsReconnect,
3976
3976
  $e as wsRemoveEventHandler,