@pepperdash/mobile-control-react-app-core 1.22.11 → 1.23.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.
- package/dist/index.d.ts +5 -5
- package/dist/mobile-control-react-app-core.es.js +352 -351
- package/dist/mobile-control-react-app-core.umd.js +8 -8
- package/dist/services/useInitialize.d.ts +1 -1
- package/dist/shared/Buttons/IconButton/IconButton.d.ts +1 -0
- package/dist/shared/Buttons/IconButton/IconButton.d.ts.map +1 -1
- package/dist/shared/Buttons/MultiStateIconContainer/MultiStateIconContainer.d.ts +2 -1
- package/dist/shared/Buttons/MultiStateIconContainer/MultiStateIconContainer.d.ts.map +1 -1
- package/dist/shared/Buttons/NamedIconButton/NamedIconButton.d.ts +1 -0
- package/dist/shared/Icons/MultiStateIcons/IconMultMic.d.ts +2 -1
- package/dist/shared/Icons/MultiStateIcons/IconMultMic.d.ts.map +1 -1
- package/dist/shared/Icons/MultiStateIcons/IconMultiAlert.d.ts +2 -1
- package/dist/shared/Icons/MultiStateIcons/IconMultiAlert.d.ts.map +1 -1
- package/dist/shared/Icons/MultiStateIcons/IconMultiBan.d.ts +2 -1
- package/dist/shared/Icons/MultiStateIcons/IconMultiBan.d.ts.map +1 -1
- package/dist/shared/Icons/MultiStateIcons/IconMultiCamera.d.ts +1 -0
- package/dist/shared/Icons/MultiStateIcons/IconMultiCamera.d.ts.map +1 -1
- package/dist/shared/Icons/MultiStateIcons/IconMultiCheck.d.ts +2 -1
- package/dist/shared/Icons/MultiStateIcons/IconMultiCheck.d.ts.map +1 -1
- package/dist/shared/Icons/MultiStateIcons/IconMultiController.d.ts +2 -1
- package/dist/shared/Icons/MultiStateIcons/IconMultiController.d.ts.map +1 -1
- package/dist/shared/Icons/MultiStateIcons/IconMultiDownArrow.d.ts +2 -1
- package/dist/shared/Icons/MultiStateIcons/IconMultiDownArrow.d.ts.map +1 -1
- package/dist/shared/Icons/MultiStateIcons/IconMultiElipses.d.ts +2 -1
- package/dist/shared/Icons/MultiStateIcons/IconMultiElipses.d.ts.map +1 -1
- package/dist/shared/Icons/MultiStateIcons/IconMultiFlag.d.ts +2 -1
- package/dist/shared/Icons/MultiStateIcons/IconMultiFlag.d.ts.map +1 -1
- package/dist/shared/Icons/MultiStateIcons/IconMultiGear.d.ts +1 -0
- package/dist/shared/Icons/MultiStateIcons/IconMultiGear.d.ts.map +1 -1
- package/dist/shared/Icons/MultiStateIcons/IconMultiGlass.d.ts +2 -1
- package/dist/shared/Icons/MultiStateIcons/IconMultiGlass.d.ts.map +1 -1
- package/dist/shared/Icons/MultiStateIcons/IconMultiHdmi.d.ts +2 -1
- package/dist/shared/Icons/MultiStateIcons/IconMultiHdmi.d.ts.map +1 -1
- package/dist/shared/Icons/MultiStateIcons/IconMultiLaptop.d.ts +2 -1
- package/dist/shared/Icons/MultiStateIcons/IconMultiLaptop.d.ts.map +1 -1
- package/dist/shared/Icons/MultiStateIcons/IconMultiLeftArrow.d.ts +2 -1
- package/dist/shared/Icons/MultiStateIcons/IconMultiLeftArrow.d.ts.map +1 -1
- package/dist/shared/Icons/MultiStateIcons/IconMultiLight.d.ts +2 -1
- package/dist/shared/Icons/MultiStateIcons/IconMultiLight.d.ts.map +1 -1
- package/dist/shared/Icons/MultiStateIcons/IconMultiMoon.d.ts +2 -1
- package/dist/shared/Icons/MultiStateIcons/IconMultiMoon.d.ts.map +1 -1
- package/dist/shared/Icons/MultiStateIcons/IconMultiPlaystation.d.ts +1 -0
- package/dist/shared/Icons/MultiStateIcons/IconMultiPlaystation.d.ts.map +1 -1
- package/dist/shared/Icons/MultiStateIcons/IconMultiPodium.d.ts +2 -1
- package/dist/shared/Icons/MultiStateIcons/IconMultiPodium.d.ts.map +1 -1
- package/dist/shared/Icons/MultiStateIcons/IconMultiPower.d.ts +2 -1
- package/dist/shared/Icons/MultiStateIcons/IconMultiPower.d.ts.map +1 -1
- package/dist/shared/Icons/MultiStateIcons/IconMultiPrivacy.d.ts +2 -1
- package/dist/shared/Icons/MultiStateIcons/IconMultiPrivacy.d.ts.map +1 -1
- package/dist/shared/Icons/MultiStateIcons/IconMultiQuestion.d.ts +2 -1
- package/dist/shared/Icons/MultiStateIcons/IconMultiQuestion.d.ts.map +1 -1
- package/dist/shared/Icons/MultiStateIcons/IconMultiRightArrow.d.ts +2 -1
- package/dist/shared/Icons/MultiStateIcons/IconMultiRightArrow.d.ts.map +1 -1
- package/dist/shared/Icons/MultiStateIcons/IconMultiRoomPC.d.ts +2 -1
- package/dist/shared/Icons/MultiStateIcons/IconMultiRoomPC.d.ts.map +1 -1
- package/dist/shared/Icons/MultiStateIcons/IconMultiShade.d.ts +2 -1
- package/dist/shared/Icons/MultiStateIcons/IconMultiShade.d.ts.map +1 -1
- package/dist/shared/Icons/MultiStateIcons/IconMultiSun.d.ts +2 -1
- package/dist/shared/Icons/MultiStateIcons/IconMultiSun.d.ts.map +1 -1
- package/dist/shared/Icons/MultiStateIcons/IconMultiTemplate.d.ts +1 -0
- package/dist/shared/Icons/MultiStateIcons/IconMultiTemplate.d.ts.map +1 -1
- package/dist/shared/Icons/MultiStateIcons/IconMultiUpArrow.d.ts +2 -1
- package/dist/shared/Icons/MultiStateIcons/IconMultiUpArrow.d.ts.map +1 -1
- package/dist/shared/Icons/MultiStateIcons/IconMultiVolDown.d.ts +2 -1
- package/dist/shared/Icons/MultiStateIcons/IconMultiVolDown.d.ts.map +1 -1
- package/dist/shared/Icons/MultiStateIcons/IconMultiVolMute.d.ts +2 -1
- package/dist/shared/Icons/MultiStateIcons/IconMultiVolMute.d.ts.map +1 -1
- package/dist/shared/Icons/MultiStateIcons/IconMultiVolUp.d.ts +2 -1
- package/dist/shared/Icons/MultiStateIcons/IconMultiVolUp.d.ts.map +1 -1
- package/dist/shared/Icons/MultiStateIcons/IconMultiWireless.d.ts +2 -1
- package/dist/shared/Icons/MultiStateIcons/IconMultiWireless.d.ts.map +1 -1
- package/dist/shared/Icons/MultiStateIcons/IconMultiX.d.ts +2 -1
- package/dist/shared/Icons/MultiStateIcons/IconMultiX.d.ts.map +1 -1
- package/dist/shared/Icons/MultiStateIcons/IconMultiXbox.d.ts +2 -1
- package/dist/shared/Icons/MultiStateIcons/IconMultiXbox.d.ts.map +1 -1
- package/dist/shared/Icons/iconsDictionary.d.ts +2 -1
- package/dist/shared/MobileControlProvider/MobileControlProvider.d.ts.map +1 -1
- package/dist/shared/hooks/interfaces/index.d.ts +11 -11
- package/dist/shared/hooks/interfaces/useAvrControl.d.ts +1 -0
- package/dist/shared/hooks/interfaces/useCameraBase.d.ts +1 -0
- package/dist/shared/hooks/interfaces/useDevicePresetsModel.d.ts +1 -0
- package/dist/shared/hooks/interfaces/useEndpoint.d.ts +1 -0
- package/dist/shared/hooks/interfaces/useIBasicVolume.d.ts +1 -0
- package/dist/shared/hooks/interfaces/useIBasicVolumeWithFeedback.d.ts +1 -0
- package/dist/shared/hooks/interfaces/useIChannel.d.ts +1 -0
- package/dist/shared/hooks/interfaces/useIColor.d.ts +1 -0
- package/dist/shared/hooks/interfaces/useICommunicationMonitor.d.ts +1 -0
- package/dist/shared/hooks/interfaces/useIDPad.d.ts +1 -0
- package/dist/shared/hooks/interfaces/useIDeviceInfoMessenger.d.ts +1 -0
- package/dist/shared/hooks/interfaces/useIDspPresets.d.ts +1 -0
- package/dist/shared/hooks/interfaces/useIDvr.d.ts +1 -0
- package/dist/shared/hooks/interfaces/useIEssentialsRoomCombiner.d.ts +1 -0
- package/dist/shared/hooks/interfaces/useIHasCameras.d.ts +1 -0
- package/dist/shared/hooks/interfaces/useIHasSelectableItems.d.ts +1 -0
- package/dist/shared/hooks/interfaces/useIHasSurroundChannels.d.ts +1 -0
- package/dist/shared/hooks/interfaces/useIHumiditySensor.d.ts +1 -0
- package/dist/shared/hooks/interfaces/useILevelControls.d.ts +1 -0
- package/dist/shared/hooks/interfaces/useILightingScenes.d.ts +1 -0
- package/dist/shared/hooks/interfaces/useIMatrixRouting.d.ts +1 -0
- package/dist/shared/hooks/interfaces/useINumeric.d.ts +1 -0
- package/dist/shared/hooks/interfaces/useIProjectorScreenLiftControl.d.ts +1 -0
- package/dist/shared/hooks/interfaces/useIRoomEventSchedule.d.ts +1 -0
- package/dist/shared/hooks/interfaces/useIRunRouteAction.d.ts +1 -0
- package/dist/shared/hooks/interfaces/useISetTopBoxcontrols.d.ts +1 -0
- package/dist/shared/hooks/interfaces/useIShadesOpenCloseStop.d.ts +1 -0
- package/dist/shared/hooks/interfaces/useIShutdownPromptTimer.d.ts +1 -0
- package/dist/shared/hooks/interfaces/useISwitchedOutput.d.ts +1 -0
- package/dist/shared/hooks/interfaces/useITechPassword.d.ts +1 -0
- package/dist/shared/hooks/interfaces/useITemperatureSensor.d.ts +1 -0
- package/dist/shared/hooks/interfaces/useITransport.d.ts +1 -0
- package/dist/shared/hooks/interfaces/useMobileControlTouchpanelController.d.ts +2 -1
- package/dist/shared/hooks/interfaces/useTwoWayDisplayBase.d.ts +3 -2
- package/dist/shared/hooks/useDeviceIBasicVolume.d.ts +1 -1
- package/dist/shared/hooks/useDeviceIBasicVolumeWithFeedback.d.ts +1 -1
- package/dist/shared/hooks/useGetAllDeviceStateFromRoomConfiguration.d.ts +1 -0
- package/dist/shared/hooks/useGetAllDeviceStateFromRoomConfiguration.d.ts.map +1 -1
- package/dist/shared/hooks/useOverflow.d.ts +2 -1
- package/dist/shared/hooks/usePressHoldRelease.d.ts +4 -1
- package/dist/shared/hooks/usePressHoldRelease.d.ts.map +1 -1
- package/dist/shared/hooks/useRoomIBasicVolume.d.ts +2 -1
- package/dist/shared/hooks/useRoomIBasicVolumeWithFeedback.d.ts +2 -1
- package/dist/shared/hooks/useScroll.d.ts +2 -1
- package/dist/shared/index.d.ts +6 -6
- package/dist/shared/layout/habanero/MainLayout/MainLayout.d.ts +2 -1
- package/dist/shared/layout/habanero/MainLayout/MainLayout.d.ts.map +1 -1
- package/dist/shared/layout/habanero/TechLayout/TechLayout.d.ts +2 -1
- package/dist/shared/layout/habanero/TechLayout/TechLayout.d.ts.map +1 -1
- package/dist/shared/layout/habanero/TechPinLayout/TechPinLayout.d.ts +0 -1
- package/dist/shared/layout/habanero/TechPinLayout/TechPinLayout.d.ts.map +1 -1
- package/dist/shared/layout/habanero/index.d.ts +3 -3
- package/dist/store/appConfig/appConfig.hooks.d.ts +2 -2
- package/dist/store/appConfig/appConfig.selectors.d.ts +43 -42
- package/dist/store/appConfig/appConfig.slice.d.ts +4 -20
- package/dist/store/appConfig/appConfig.slice.d.ts.map +1 -1
- package/dist/store/devices/devices.hooks.d.ts +1 -0
- package/dist/store/devices/devices.selectors.d.ts +25 -24
- package/dist/store/devices/devices.selectors.d.ts.map +1 -1
- package/dist/store/devices/devices.slice.d.ts +4 -3
- package/dist/store/hooks.d.ts +13 -13
- package/dist/store/middleware/websocketMiddleware.d.ts +1 -0
- package/dist/store/middleware/websocketMiddleware.d.ts.map +1 -1
- package/dist/store/rooms/rooms.hooks.d.ts +11 -10
- package/dist/store/rooms/rooms.hooks.d.ts.map +1 -1
- package/dist/store/rooms/rooms.selectors.d.ts +271 -288
- package/dist/store/rooms/rooms.selectors.d.ts.map +1 -1
- package/dist/store/rooms/rooms.slice.d.ts +4 -3
- package/dist/store/runtimeConfig/runtime.hooks.d.ts +1 -1
- package/dist/store/runtimeConfig/runtime.hooks.d.ts.map +1 -1
- package/dist/store/runtimeConfig/runtime.selectors.d.ts +158 -157
- package/dist/store/runtimeConfig/runtime.selectors.d.ts.map +1 -1
- package/dist/store/runtimeConfig/runtimeConfig.slice.d.ts +14 -457
- package/dist/store/runtimeConfig/runtimeConfig.slice.d.ts.map +1 -1
- package/dist/store/store.d.ts +15 -15
- package/dist/store/ui/ui.hooks.d.ts.map +1 -1
- package/dist/store/ui/ui.selectors.d.ts +71 -70
- package/dist/store/ui/ui.selectors.d.ts.map +1 -1
- package/dist/store/ui/ui.slice.d.ts +14 -156
- package/dist/store/ui/ui.slice.d.ts.map +1 -1
- package/dist/types/classes/app-config.d.ts +1 -0
- package/dist/types/classes/room-data.d.ts +1 -0
- package/dist/types/interfaces/ISelectableItem.d.ts +1 -0
- package/dist/types/state/CameraListItem.d.ts +1 -0
- package/dist/types/state/DestinationListItem.d.ts +1 -0
- package/dist/types/state/LevelControlListItem.d.ts +1 -0
- package/dist/types/state/PresetListItem.d.ts +1 -0
- package/dist/types/state/config.d.ts +1 -0
- package/dist/types/state/message-handler.d.ts +1 -0
- package/dist/types/state/sourceListItem.d.ts +1 -0
- package/dist/types/state/state/CameraState.d.ts +1 -0
- package/dist/types/state/state/CommunicationMonitorState.d.ts +1 -0
- package/dist/types/state/state/DeviceInfoState.d.ts +1 -0
- package/dist/types/state/state/DevicePresetsState.d.ts +1 -0
- package/dist/types/state/state/DeviceState.d.ts +1 -0
- package/dist/types/state/state/DisplayState.d.ts +1 -0
- package/dist/types/state/state/EnvironmentState.d.ts +1 -0
- package/dist/types/state/state/IBasicVolumeWithFeedbackState.d.ts +1 -0
- package/dist/types/state/state/ICurrentSourcesState.d.ts +1 -0
- package/dist/types/state/state/IEssentialsRoomCombinerState.d.ts +1 -0
- package/dist/types/state/state/IHasCamerasState.d.ts +1 -0
- package/dist/types/state/state/IHasCurrentSourceInfoChangeState.d.ts +1 -0
- package/dist/types/state/state/IHasInputsState.d.ts +1 -0
- package/dist/types/state/state/IHasSelectableItemsState.d.ts +1 -0
- package/dist/types/state/state/IHasSurroundChannelsState.d.ts +1 -0
- package/dist/types/state/state/IHasSurroundSoundModesState.d.ts +1 -0
- package/dist/types/state/state/IHumiditySensorState.d.ts +1 -0
- package/dist/types/state/state/IProjectorScreenLiftControlState.d.ts +1 -0
- package/dist/types/state/state/IShutdownPromptTimerState.d.ts +1 -0
- package/dist/types/state/state/ITechPasswordState.d.ts +1 -0
- package/dist/types/state/state/ITemperatureSensorState.d.ts +1 -0
- package/dist/types/state/state/LevelControlsState.d.ts +1 -0
- package/dist/types/state/state/LightingState.d.ts +1 -0
- package/dist/types/state/state/MatrixRoutingState.d.ts +1 -0
- package/dist/types/state/state/MobileControlTouchpanelState.d.ts +1 -0
- package/dist/types/state/state/PowerState.d.ts +1 -0
- package/dist/types/state/state/RoomState.d.ts +1 -0
- package/dist/types/state/state/RoutingState.d.ts +1 -0
- package/dist/types/state/state/ScheduleEvent.d.ts +1 -0
- package/dist/types/state/state/ScheduleState.d.ts +1 -0
- package/dist/types/state/state/ShadeState.d.ts +1 -0
- package/dist/types/state/state/SurroundSoundModeState.d.ts +1 -0
- package/dist/types/state/state/SwitchedOutputState.d.ts +1 -0
- package/dist/types/state/state/endpointState/endpointState.d.ts +1 -0
- package/dist/types/state/volume/volumes.d.ts +1 -0
- package/dist/utils/Clock.d.ts.map +1 -1
- package/dist/utils/WebsocketContext.d.ts +2 -2
- package/dist/utils/WebsocketContext.d.ts.map +1 -1
- package/dist/utils/WebsocketProvider.d.ts +1 -0
- package/dist/utils/WebsocketProvider.d.ts.map +1 -1
- package/dist/utils/joinParamsService.d.ts +2 -1
- package/dist/utils/useWebsocketContext.d.ts +1 -1
- package/package.json +2 -2
|
@@ -3,8 +3,8 @@ var m2 = (e, t, o) => t in e ? w2(e, t, { enumerable: !0, configurable: !0, writ
|
|
|
3
3
|
var q = (e, t, o) => m2(e, typeof t != "symbol" ? t + "" : t, o);
|
|
4
4
|
import M3, { 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
|
|
7
|
-
import x3, { createContext as C2, useEffect as x1, useCallback as r1, useContext as b2, useRef as
|
|
6
|
+
import { createSelector as M, createSlice as d1, 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 u1, useMemo as n1, useState as Y, useLayoutEffect as Z3 } from "react";
|
|
8
8
|
import { useNavigate as y2, useRouteError as I2, isRouteErrorResponse as R2 } from "react-router-dom";
|
|
9
9
|
import * as S3 from "lodash";
|
|
10
10
|
const W1 = M2.withTypes(), m = x2.withTypes(), Z1 = (e) => e.appConfig, E2 = M(
|
|
@@ -22,14 +22,14 @@ const W1 = M2.withTypes(), m = x2.withTypes(), Z1 = (e) => e.appConfig, E2 = M(
|
|
|
22
22
|
), X8 = () => m(E2), Q8 = () => m(T2), N8 = () => m(D2), e6 = () => m(_2), j3 = (e) => e.devices, C3 = M(
|
|
23
23
|
j3,
|
|
24
24
|
(e) => e
|
|
25
|
-
),
|
|
25
|
+
), L2 = (e) => M(
|
|
26
26
|
j3,
|
|
27
27
|
(t) => t[e] ? t[e] : void 0
|
|
28
28
|
), t6 = () => m(C3);
|
|
29
29
|
function _(e) {
|
|
30
|
-
return m(
|
|
30
|
+
return m(L2(e));
|
|
31
31
|
}
|
|
32
|
-
const $ = (e) => e.rooms,
|
|
32
|
+
const $ = (e) => e.rooms, P2 = (e) => M(
|
|
33
33
|
$,
|
|
34
34
|
(t) => t[e] ? t[e].configuration : void 0
|
|
35
35
|
), A2 = M(
|
|
@@ -38,10 +38,10 @@ const $ = (e) => e.rooms, L2 = (e) => M(
|
|
|
38
38
|
), $2 = (e) => M(
|
|
39
39
|
$,
|
|
40
40
|
(t) => t[e] ? t[e] : void 0
|
|
41
|
-
),
|
|
41
|
+
), k2 = (e) => M(
|
|
42
42
|
$,
|
|
43
43
|
(t) => t[e] ? t[e].name : void 0
|
|
44
|
-
),
|
|
44
|
+
), B2 = (e, t) => M(
|
|
45
45
|
$,
|
|
46
46
|
(o) => o[e] ? o[e].volumes[t] : void 0
|
|
47
47
|
), O2 = (e) => M(
|
|
@@ -65,13 +65,13 @@ const $ = (e) => e.rooms, L2 = (e) => M(
|
|
|
65
65
|
var o, c;
|
|
66
66
|
return t[e] ? (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.destinations : void 0;
|
|
67
67
|
}
|
|
68
|
-
),
|
|
68
|
+
), F2 = (e) => M(
|
|
69
69
|
$,
|
|
70
70
|
(t) => {
|
|
71
71
|
var o, c;
|
|
72
72
|
return t[e] ? (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.destinationList : void 0;
|
|
73
73
|
}
|
|
74
|
-
),
|
|
74
|
+
), H2 = (e) => M(
|
|
75
75
|
$,
|
|
76
76
|
(t) => {
|
|
77
77
|
var o, c;
|
|
@@ -80,8 +80,8 @@ const $ = (e) => e.rooms, L2 = (e) => M(
|
|
|
80
80
|
), K2 = (e) => M(
|
|
81
81
|
$,
|
|
82
82
|
(t) => {
|
|
83
|
-
var o, c, r, l, v,
|
|
84
|
-
return (c = (o = t[e]) == null ? void 0 : o.configuration) != null && c.destinationList.programAudio ? (v = (l = (r = t[e]) == null ? void 0 : r.configuration) == null ? void 0 : l.destinationList.programAudio) == null ? void 0 : v.sinkKey : ((
|
|
83
|
+
var o, c, r, l, v, g, h, f;
|
|
84
|
+
return (c = (o = t[e]) == null ? void 0 : o.configuration) != null && c.destinationList.programAudio ? (v = (l = (r = t[e]) == null ? void 0 : r.configuration) == null ? void 0 : l.destinationList.programAudio) == null ? void 0 : v.sinkKey : ((f = (h = (g = t[e]) == null ? void 0 : g.configuration) == null ? void 0 : h.destinationList.defaultDisplay) == null ? void 0 : f.sinkKey) || "";
|
|
85
85
|
}
|
|
86
86
|
), q2 = (e) => M(
|
|
87
87
|
$,
|
|
@@ -148,7 +148,7 @@ const $ = (e) => e.rooms, L2 = (e) => M(
|
|
|
148
148
|
);
|
|
149
149
|
function n6(e) {
|
|
150
150
|
return m(
|
|
151
|
-
|
|
151
|
+
P2(e)
|
|
152
152
|
);
|
|
153
153
|
}
|
|
154
154
|
function o6() {
|
|
@@ -158,10 +158,10 @@ function S1(e) {
|
|
|
158
158
|
return m($2(e));
|
|
159
159
|
}
|
|
160
160
|
const s6 = S1, c6 = (e) => m(
|
|
161
|
-
|
|
161
|
+
k2(e)
|
|
162
162
|
), te = (e, t) => m(
|
|
163
|
-
|
|
164
|
-
), ne = (e) => m(O2(e)) || void 0, r6 = (e) => m(W2(e)), l6 = (e) => m(V2(e)), i6 = (e) => m(U2(e)), a6 = (e) => m(
|
|
163
|
+
B2(e, t)
|
|
164
|
+
), ne = (e) => m(O2(e)) || void 0, r6 = (e) => m(W2(e)), l6 = (e) => m(V2(e)), i6 = (e) => m(U2(e)), a6 = (e) => m(F2(e)), u6 = (e) => m(H2(e)), d6 = (e) => m(K2(e)), v6 = (e) => m(q2(e)), h6 = (e) => m(G2(e)), g6 = (e) => m(Y2(e)), f6 = (e) => m(z2(e)), w6 = (e) => m(J2(e)), m6 = (e) => m(X2(e)), p6 = (e) => m(Q2(e)), M6 = (e) => m((t) => ee(t, e)), x6 = (e) => m(N2(e)), G = (e) => e.runtimeConfig, oe = M(
|
|
165
165
|
G,
|
|
166
166
|
(e) => e.websocket.isConnected
|
|
167
167
|
), se = M(
|
|
@@ -216,7 +216,7 @@ const s6 = S1, c6 = (e) => m(
|
|
|
216
216
|
), fe = M(N, (e) => e.error), we = M(
|
|
217
217
|
N,
|
|
218
218
|
(e) => e.showReconnect
|
|
219
|
-
), me = M(N, (e) => e.theme), pe = (e) => M(N, (t) => t.syncState.includes(e)), _6 = () => m(V1("showShutdownModal")),
|
|
219
|
+
), me = M(N, (e) => e.theme), pe = (e) => M(N, (t) => t.syncState.includes(e)), _6 = () => m(V1("showShutdownModal")), L6 = () => m(V1("showIncomingCallModal")), P6 = (e) => m(V1(e)), A6 = (e) => m(he(e)), $6 = (e, t) => m(ge(e, t)), Me = () => m(fe), xe = () => m(we), k6 = () => m(me), Ze = (e) => m(pe(e)), Se = {
|
|
220
220
|
showReconnect: !1,
|
|
221
221
|
error: "",
|
|
222
222
|
modalVisibility: {
|
|
@@ -225,7 +225,7 @@ const s6 = S1, c6 = (e) => m(
|
|
|
225
225
|
},
|
|
226
226
|
popoverVisibility: {},
|
|
227
227
|
syncState: []
|
|
228
|
-
}, R3 =
|
|
228
|
+
}, R3 = d1({
|
|
229
229
|
name: "ui",
|
|
230
230
|
initialState: Se,
|
|
231
231
|
reducers: {
|
|
@@ -281,7 +281,7 @@ const s6 = S1, c6 = (e) => m(
|
|
|
281
281
|
loginMode: "",
|
|
282
282
|
modes: {}
|
|
283
283
|
}
|
|
284
|
-
}, E3 =
|
|
284
|
+
}, E3 = d1({
|
|
285
285
|
name: "appConfig",
|
|
286
286
|
initialState: Ce,
|
|
287
287
|
reducers: {
|
|
@@ -289,7 +289,7 @@ const s6 = S1, c6 = (e) => m(
|
|
|
289
289
|
e.config = t.payload;
|
|
290
290
|
}
|
|
291
291
|
}
|
|
292
|
-
}), T3 = E3.actions, be = E3.reducer, v3 = {},
|
|
292
|
+
}), T3 = E3.actions, be = E3.reducer, v3 = {}, k1 = d1({
|
|
293
293
|
name: "devices",
|
|
294
294
|
initialState: v3,
|
|
295
295
|
reducers: {
|
|
@@ -300,7 +300,7 @@ const s6 = S1, c6 = (e) => m(
|
|
|
300
300
|
{},
|
|
301
301
|
l,
|
|
302
302
|
r,
|
|
303
|
-
(
|
|
303
|
+
(g, h) => {
|
|
304
304
|
if (Array.isArray(h)) return h.slice();
|
|
305
305
|
}
|
|
306
306
|
);
|
|
@@ -310,10 +310,10 @@ const s6 = S1, c6 = (e) => m(
|
|
|
310
310
|
return v3;
|
|
311
311
|
}
|
|
312
312
|
}
|
|
313
|
-
}),
|
|
314
|
-
setDeviceState:
|
|
315
|
-
clearDevices:
|
|
316
|
-
}, ye =
|
|
313
|
+
}), w1 = {
|
|
314
|
+
setDeviceState: k1.actions.setDeviceState,
|
|
315
|
+
clearDevices: k1.actions.clearDevices
|
|
316
|
+
}, ye = k1.reducer;
|
|
317
317
|
class Ie {
|
|
318
318
|
constructor() {
|
|
319
319
|
q(this, "uuid", "current-uuid");
|
|
@@ -329,14 +329,14 @@ function Re(e) {
|
|
|
329
329
|
function Ee(e, t) {
|
|
330
330
|
sessionStorage.setItem(e, t);
|
|
331
331
|
}
|
|
332
|
-
const g3 = {},
|
|
332
|
+
const g3 = {}, B1 = d1({
|
|
333
333
|
name: "rooms",
|
|
334
334
|
initialState: g3,
|
|
335
335
|
reducers: {
|
|
336
336
|
setRoomState(e, t) {
|
|
337
337
|
const o = t.payload.type, c = o.slice(o.lastIndexOf("/") + 1);
|
|
338
338
|
if (!c) return;
|
|
339
|
-
const r = t.payload.content, l = e[c] ?? {}, v = S3.mergeWith({}, l, r, (
|
|
339
|
+
const r = t.payload.content, l = e[c] ?? {}, v = S3.mergeWith({}, l, r, (g, h) => {
|
|
340
340
|
if (Array.isArray(h)) return h;
|
|
341
341
|
});
|
|
342
342
|
e[c] = v;
|
|
@@ -345,10 +345,10 @@ const g3 = {}, k1 = u1({
|
|
|
345
345
|
return g3;
|
|
346
346
|
}
|
|
347
347
|
}
|
|
348
|
-
}),
|
|
349
|
-
setRoomState:
|
|
350
|
-
clearRooms:
|
|
351
|
-
}, Te =
|
|
348
|
+
}), m1 = {
|
|
349
|
+
setRoomState: B1.actions.setRoomState,
|
|
350
|
+
clearRooms: B1.actions.clearRooms
|
|
351
|
+
}, Te = B1.reducer, De = {
|
|
352
352
|
apiVersion: "",
|
|
353
353
|
serverIsRunningOnProcessorHardware: !1,
|
|
354
354
|
websocket: {
|
|
@@ -379,7 +379,7 @@ const g3 = {}, k1 = u1({
|
|
|
379
379
|
userCode: "",
|
|
380
380
|
qrUrl: ""
|
|
381
381
|
}
|
|
382
|
-
}, D3 =
|
|
382
|
+
}, D3 = d1({
|
|
383
383
|
name: "runtimeConfig",
|
|
384
384
|
initialState: De,
|
|
385
385
|
reducers: {
|
|
@@ -414,16 +414,16 @@ const g3 = {}, k1 = u1({
|
|
|
414
414
|
e.touchpanelKey = t.payload;
|
|
415
415
|
}
|
|
416
416
|
}
|
|
417
|
-
}), U = D3.actions, _e = D3.reducer,
|
|
418
|
-
type:
|
|
417
|
+
}), U = D3.actions, _e = D3.reducer, P1 = M3.create(), _3 = "websocket/connect", L3 = "websocket/disconnect", P3 = "websocket/sendMessage", A3 = "websocket/addEventHandler", $3 = "websocket/removeEventHandler", k3 = "websocket/reconnect", B3 = () => ({ type: _3 }), B6 = () => ({ type: L3 }), Le = (e, t) => ({
|
|
418
|
+
type: P3,
|
|
419
419
|
payload: { messageType: e, content: t }
|
|
420
|
-
}),
|
|
420
|
+
}), Pe = (e, t, o) => ({
|
|
421
421
|
type: A3,
|
|
422
422
|
payload: { eventType: e, key: t, callback: o }
|
|
423
423
|
}), Ae = (e, t) => ({
|
|
424
424
|
type: $3,
|
|
425
425
|
payload: { eventType: e, key: t }
|
|
426
|
-
}), $e = () => ({ type:
|
|
426
|
+
}), $e = () => ({ type: k3 }), ke = () => {
|
|
427
427
|
const e = {
|
|
428
428
|
client: null,
|
|
429
429
|
token: null,
|
|
@@ -434,14 +434,14 @@ const g3 = {}, k1 = u1({
|
|
|
434
434
|
try {
|
|
435
435
|
const Z = location.pathname.split("/").filter((b) => b.length > 0);
|
|
436
436
|
Z.length >= 5 ? Z.length = 5 : Z.length = 2;
|
|
437
|
-
const C = `/${Z.join("/")}`, S = await
|
|
437
|
+
const C = `/${Z.join("/")}`, S = await P1.get(
|
|
438
438
|
"/_local-config/_config.local.json",
|
|
439
439
|
{ baseURL: C }
|
|
440
440
|
);
|
|
441
441
|
if (S.status === 200 && S.data) {
|
|
442
442
|
const b = S.data.apiPath;
|
|
443
443
|
a(T3.setAppConfig(S.data));
|
|
444
|
-
const x = await
|
|
444
|
+
const x = await P1.get(
|
|
445
445
|
`${b}/version`
|
|
446
446
|
);
|
|
447
447
|
x.status === 200 && x.data && a(U.setRuntimeConfig(x.data));
|
|
@@ -452,7 +452,7 @@ const g3 = {}, k1 = u1({
|
|
|
452
452
|
return !0;
|
|
453
453
|
}, o = async (a, Z, C) => {
|
|
454
454
|
try {
|
|
455
|
-
const S = await
|
|
455
|
+
const S = await P1.get(
|
|
456
456
|
`${a}/ui/joinroom?token=${Z}`
|
|
457
457
|
);
|
|
458
458
|
return S.status === 200 && S.data ? (C(U.setRoomData(S.data)), S.data) : null;
|
|
@@ -465,12 +465,12 @@ const g3 = {}, k1 = u1({
|
|
|
465
465
|
}
|
|
466
466
|
}, c = (a) => {
|
|
467
467
|
e.reconnectTimer && (clearTimeout(e.reconnectTimer), e.reconnectTimer = null), console.log("WebSocket middleware: Starting reconnection loop..."), e.reconnectTimer = setTimeout(() => {
|
|
468
|
-
e.waitingToReconnect = !1, e.reconnectTimer = null, console.log("WebSocket middleware: Attempting automatic reconnection..."), a(
|
|
468
|
+
e.waitingToReconnect = !1, e.reconnectTimer = null, console.log("WebSocket middleware: Attempting automatic reconnection..."), a(B3());
|
|
469
469
|
}, 5e3);
|
|
470
470
|
}, r = () => {
|
|
471
471
|
e.reconnectTimer && (console.log("WebSocket middleware: Stopping reconnection loop"), clearTimeout(e.reconnectTimer), e.reconnectTimer = null);
|
|
472
472
|
}, l = (a) => {
|
|
473
|
-
a(O.setShowReconnect(!0)), a(U.setWebsocketIsConnected(!1)), a(
|
|
473
|
+
a(O.setShowReconnect(!0)), a(U.setWebsocketIsConnected(!1)), a(w1.clearDevices()), a(m1.clearRooms()), a(O.clearAllModals()), a(O.clearSyncState());
|
|
474
474
|
}, v = (a, Z) => {
|
|
475
475
|
const C = a(), S = Z ?? C.runtimeConfig.roomData.roomKey, { clientId: b } = C.runtimeConfig.roomData, x = C.runtimeConfig.websocket.isConnected;
|
|
476
476
|
if (!Z || !x || !b) {
|
|
@@ -488,7 +488,7 @@ const g3 = {}, k1 = u1({
|
|
|
488
488
|
content: null
|
|
489
489
|
})
|
|
490
490
|
);
|
|
491
|
-
},
|
|
491
|
+
}, g = async (a, Z) => {
|
|
492
492
|
console.log("WebSocket middleware: Attempting to connect...");
|
|
493
493
|
const C = Z(), { apiPath: S } = C.appConfig.config, { serverIsRunningOnProcessorHardware: b } = C.runtimeConfig;
|
|
494
494
|
if (!S || !e.token) {
|
|
@@ -522,23 +522,23 @@ const g3 = {}, k1 = u1({
|
|
|
522
522
|
}
|
|
523
523
|
console.log("WebSocket middleware: Connecting to websocket");
|
|
524
524
|
const C1 = `${S.replace("http", "ws")}/ui/join/${e.token}?clientId=${x.clientId}`, K = new WebSocket(C1);
|
|
525
|
-
e.client = K, K.onopen = (
|
|
526
|
-
console.log("WebSocket middleware: Connected",
|
|
525
|
+
e.client = K, K.onopen = (k) => {
|
|
526
|
+
console.log("WebSocket middleware: Connected", k.type, k.target), e.waitingToReconnect = !1, r(), setTimeout(() => {
|
|
527
527
|
e.client === K && K.readyState === WebSocket.OPEN && a(U.setWebsocketIsConnected(!0));
|
|
528
528
|
}, 100);
|
|
529
|
-
}, K.onerror = (
|
|
530
|
-
console.error("WebSocket middleware: Error",
|
|
531
|
-
}, K.onclose = (
|
|
529
|
+
}, K.onerror = (k) => {
|
|
530
|
+
console.error("WebSocket middleware: Error", k), l(a);
|
|
531
|
+
}, K.onclose = (k) => {
|
|
532
532
|
var D;
|
|
533
533
|
if (console.log(
|
|
534
534
|
"WebSocket middleware: Disconnected",
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
),
|
|
535
|
+
k.reason,
|
|
536
|
+
k.code
|
|
537
|
+
), k.code === 4100) {
|
|
538
538
|
console.log("WebSocket middleware: Closed by client (cleanup)"), r(), l(a);
|
|
539
539
|
return;
|
|
540
540
|
}
|
|
541
|
-
if (e.waitingToReconnect = !0,
|
|
541
|
+
if (e.waitingToReconnect = !0, k.code === 4e3) {
|
|
542
542
|
console.log("WebSocket middleware: User code changed"), r(), a(
|
|
543
543
|
U.setUserCode({ userCode: "", qrUrl: "" })
|
|
544
544
|
), a(
|
|
@@ -548,7 +548,7 @@ const g3 = {}, k1 = u1({
|
|
|
548
548
|
), l(a);
|
|
549
549
|
return;
|
|
550
550
|
}
|
|
551
|
-
if (
|
|
551
|
+
if (k.code === 4002) {
|
|
552
552
|
console.log("WebSocket middleware: Room combination changed"), r(), a(
|
|
553
553
|
O.setErrorMessage(
|
|
554
554
|
"Room combination changed. Click Reconnect to re-join the room"
|
|
@@ -556,7 +556,7 @@ const g3 = {}, k1 = u1({
|
|
|
556
556
|
), l(a);
|
|
557
557
|
return;
|
|
558
558
|
}
|
|
559
|
-
if (
|
|
559
|
+
if (k.code === 4001)
|
|
560
560
|
if (!!((D = Z().runtimeConfig) != null && D.touchpanelKey))
|
|
561
561
|
console.log(
|
|
562
562
|
"WebSocket middleware: Code 4001 received with touchpanel key present, will auto-reconnect"
|
|
@@ -587,10 +587,10 @@ const g3 = {}, k1 = u1({
|
|
|
587
587
|
O.setErrorMessage(
|
|
588
588
|
"Connection lost. Attempting to reconnect..."
|
|
589
589
|
)
|
|
590
|
-
), a(U.setWebsocketIsConnected(!1)), a(
|
|
591
|
-
}, K.onmessage = (
|
|
590
|
+
), a(U.setWebsocketIsConnected(!1)), a(w1.clearDevices()), a(m1.clearRooms()), a(O.clearAllModals()), a(O.clearSyncState()), c(a);
|
|
591
|
+
}, K.onmessage = (k) => {
|
|
592
592
|
try {
|
|
593
|
-
const D = JSON.parse(
|
|
593
|
+
const D = JSON.parse(k.data);
|
|
594
594
|
if (D.type === "close") {
|
|
595
595
|
K.close(4001, D.content);
|
|
596
596
|
return;
|
|
@@ -605,7 +605,7 @@ const g3 = {}, k1 = u1({
|
|
|
605
605
|
);
|
|
606
606
|
break;
|
|
607
607
|
case "/system/roomKey":
|
|
608
|
-
a(
|
|
608
|
+
a(m1.clearRooms()), a(w1.clearDevices()), a(O.clearSyncState()), a(
|
|
609
609
|
U.setCurrentRoomKey(
|
|
610
610
|
D.content
|
|
611
611
|
)
|
|
@@ -650,7 +650,7 @@ const g3 = {}, k1 = u1({
|
|
|
650
650
|
);
|
|
651
651
|
}
|
|
652
652
|
});
|
|
653
|
-
} else D.type.startsWith("/room/") ? a(
|
|
653
|
+
} else D.type.startsWith("/room/") ? a(m1.setRoomState(D)) : D.type.startsWith("/device/") && a(w1.setDeviceState(D));
|
|
654
654
|
} catch (D) {
|
|
655
655
|
console.error("WebSocket middleware: Message handling error", D);
|
|
656
656
|
}
|
|
@@ -660,20 +660,20 @@ const g3 = {}, k1 = u1({
|
|
|
660
660
|
}
|
|
661
661
|
}, h = () => {
|
|
662
662
|
e.client && (console.log("WebSocket middleware: Disconnecting"), r(), e.client.close(4100, "Client requested disconnect"), e.client = null);
|
|
663
|
-
},
|
|
663
|
+
}, f = (a, Z, C) => {
|
|
664
664
|
const S = C(), b = S.runtimeConfig.websocket.isConnected, x = S.runtimeConfig.roomData.clientId;
|
|
665
665
|
e.client && b ? e.client.send(
|
|
666
666
|
JSON.stringify({ type: a, clientId: x, content: Z })
|
|
667
667
|
) : console.warn("WebSocket middleware: Cannot send message - not connected");
|
|
668
|
-
},
|
|
668
|
+
}, u = (a, Z, C) => {
|
|
669
669
|
e.eventHandlers[a] || (e.eventHandlers[a] = {}), e.eventHandlers[a][Z] = C, console.log("WebSocket middleware: Event handler added", a, Z);
|
|
670
|
-
},
|
|
670
|
+
}, L = (a, Z) => {
|
|
671
671
|
e.eventHandlers[a] && (delete e.eventHandlers[a][Z], console.log(
|
|
672
672
|
"WebSocket middleware: Event handler removed",
|
|
673
673
|
a,
|
|
674
674
|
Z
|
|
675
675
|
));
|
|
676
|
-
},
|
|
676
|
+
}, F = (a) => {
|
|
677
677
|
const Z = a(), { gatewayAppPath: C } = Z.appConfig.config, S = Z.runtimeConfig.roomData.roomKey, b = Z.runtimeConfig.roomData.systemUuid, x = Z.runtimeConfig.roomData.userCode, W = `${C}?uuid=${b}&roomKey=${S}`;
|
|
678
678
|
window.location.href = x ? `${W}&Code=${x}` : W;
|
|
679
679
|
};
|
|
@@ -686,34 +686,34 @@ const g3 = {}, k1 = u1({
|
|
|
686
686
|
switch (b.type) {
|
|
687
687
|
case _3: {
|
|
688
688
|
let W = new URLSearchParams(window.location.search).get("token");
|
|
689
|
-
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
|
|
689
|
+
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 g(a.dispatch, a.getState);
|
|
690
690
|
break;
|
|
691
691
|
}
|
|
692
|
-
case
|
|
692
|
+
case L3:
|
|
693
693
|
h();
|
|
694
694
|
break;
|
|
695
|
-
case
|
|
696
|
-
|
|
695
|
+
case P3:
|
|
696
|
+
f(
|
|
697
697
|
b.payload.messageType,
|
|
698
698
|
b.payload.content,
|
|
699
699
|
a.getState
|
|
700
700
|
);
|
|
701
701
|
break;
|
|
702
702
|
case A3:
|
|
703
|
-
|
|
703
|
+
u(
|
|
704
704
|
b.payload.eventType,
|
|
705
705
|
b.payload.key,
|
|
706
706
|
b.payload.callback
|
|
707
707
|
);
|
|
708
708
|
break;
|
|
709
709
|
case $3:
|
|
710
|
-
|
|
710
|
+
L(
|
|
711
711
|
b.payload.eventType,
|
|
712
712
|
b.payload.key
|
|
713
713
|
);
|
|
714
714
|
break;
|
|
715
|
-
case
|
|
716
|
-
|
|
715
|
+
case k3:
|
|
716
|
+
F(a.getState);
|
|
717
717
|
break;
|
|
718
718
|
default:
|
|
719
719
|
if (C.type === U.setWebsocketIsConnected.type)
|
|
@@ -739,20 +739,20 @@ const g3 = {}, k1 = u1({
|
|
|
739
739
|
console.error("WebSocket middleware: Error handling action", x);
|
|
740
740
|
}), S;
|
|
741
741
|
};
|
|
742
|
-
},
|
|
742
|
+
}, Be = S2({
|
|
743
743
|
appConfig: be,
|
|
744
744
|
runtimeConfig: _e,
|
|
745
745
|
rooms: Te,
|
|
746
746
|
devices: ye,
|
|
747
747
|
ui: je
|
|
748
748
|
}), Oe = j2({
|
|
749
|
-
reducer:
|
|
749
|
+
reducer: Be,
|
|
750
750
|
middleware: (e) => e({
|
|
751
751
|
serializableCheck: {
|
|
752
752
|
// Ignore WebSocket actions with callbacks
|
|
753
753
|
ignoredActions: ["websocket/addEventHandler"]
|
|
754
754
|
}
|
|
755
|
-
}).concat(
|
|
755
|
+
}).concat(ke())
|
|
756
756
|
}), f3 = M3.create();
|
|
757
757
|
function O6() {
|
|
758
758
|
const e = W1();
|
|
@@ -778,7 +778,7 @@ function O6() {
|
|
|
778
778
|
return !0;
|
|
779
779
|
};
|
|
780
780
|
}
|
|
781
|
-
var
|
|
781
|
+
var p1 = { exports: {} }, l1 = {};
|
|
782
782
|
/**
|
|
783
783
|
* @license React
|
|
784
784
|
* react-jsx-runtime.production.min.js
|
|
@@ -793,12 +793,12 @@ function We() {
|
|
|
793
793
|
if (w3) return l1;
|
|
794
794
|
w3 = 1;
|
|
795
795
|
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 };
|
|
796
|
-
function v(
|
|
797
|
-
var
|
|
798
|
-
|
|
799
|
-
for (
|
|
800
|
-
if (
|
|
801
|
-
return { $$typeof: t, type:
|
|
796
|
+
function v(g, h, f) {
|
|
797
|
+
var u, L = {}, F = null, a = null;
|
|
798
|
+
f !== void 0 && (F = "" + f), h.key !== void 0 && (F = "" + h.key), h.ref !== void 0 && (a = h.ref);
|
|
799
|
+
for (u in h) c.call(h, u) && !l.hasOwnProperty(u) && (L[u] = h[u]);
|
|
800
|
+
if (g && g.defaultProps) for (u in h = g.defaultProps, h) L[u] === void 0 && (L[u] = h[u]);
|
|
801
|
+
return { $$typeof: t, type: g, key: F, ref: a, props: L, _owner: r.current };
|
|
802
802
|
}
|
|
803
803
|
return l1.Fragment = o, l1.jsx = v, l1.jsxs = v, l1;
|
|
804
804
|
}
|
|
@@ -814,8 +814,8 @@ var i1 = {};
|
|
|
814
814
|
*/
|
|
815
815
|
var m3;
|
|
816
816
|
function Ve() {
|
|
817
|
-
return m3 || (m3 = 1, process.env.NODE_ENV !== "production" && function() {
|
|
818
|
-
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"),
|
|
817
|
+
return m3 || (m3 = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
818
|
+
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"), g = Symbol.for("react.context"), h = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), L = Symbol.for("react.memo"), F = Symbol.for("react.lazy"), a = Symbol.for("react.offscreen"), Z = Symbol.iterator, C = "@@iterator";
|
|
819
819
|
function S(s) {
|
|
820
820
|
if (s === null || typeof s != "object")
|
|
821
821
|
return null;
|
|
@@ -825,36 +825,36 @@ function Ve() {
|
|
|
825
825
|
var b = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
826
826
|
function x(s) {
|
|
827
827
|
{
|
|
828
|
-
for (var i = arguments.length,
|
|
829
|
-
|
|
830
|
-
W("error", s,
|
|
828
|
+
for (var i = arguments.length, d = new Array(i > 1 ? i - 1 : 0), p = 1; p < i; p++)
|
|
829
|
+
d[p - 1] = arguments[p];
|
|
830
|
+
W("error", s, d);
|
|
831
831
|
}
|
|
832
832
|
}
|
|
833
|
-
function W(s, i,
|
|
833
|
+
function W(s, i, d) {
|
|
834
834
|
{
|
|
835
835
|
var p = b.ReactDebugCurrentFrame, E = p.getStackAddendum();
|
|
836
|
-
E !== "" && (i += "%s",
|
|
837
|
-
var T =
|
|
836
|
+
E !== "" && (i += "%s", d = d.concat([E]));
|
|
837
|
+
var T = d.map(function(y) {
|
|
838
838
|
return String(y);
|
|
839
839
|
});
|
|
840
840
|
T.unshift("Warning: " + i), Function.prototype.apply.call(console[s], console, T);
|
|
841
841
|
}
|
|
842
842
|
}
|
|
843
|
-
var C1 = !1, K = !1,
|
|
843
|
+
var C1 = !1, K = !1, k = !1, D = !1, z = !1, o1;
|
|
844
844
|
o1 = Symbol.for("react.module.reference");
|
|
845
845
|
function b1(s) {
|
|
846
|
-
return !!(typeof s == "string" || typeof s == "function" || s === c || s === l || z || s === r || s ===
|
|
846
|
+
return !!(typeof s == "string" || typeof s == "function" || s === c || s === l || z || s === r || s === f || s === u || D || s === a || C1 || K || k || typeof s == "object" && s !== null && (s.$$typeof === F || s.$$typeof === L || s.$$typeof === v || s.$$typeof === g || s.$$typeof === h || // This needs to include all possible module reference object
|
|
847
847
|
// types supported by any Flight configuration anywhere since
|
|
848
848
|
// we don't know which Flight build this will end up being used
|
|
849
849
|
// with.
|
|
850
850
|
s.$$typeof === o1 || s.getModuleId !== void 0));
|
|
851
851
|
}
|
|
852
|
-
function U3(s, i,
|
|
852
|
+
function U3(s, i, d) {
|
|
853
853
|
var p = s.displayName;
|
|
854
854
|
if (p)
|
|
855
855
|
return p;
|
|
856
856
|
var E = i.displayName || i.name || "";
|
|
857
|
-
return E !== "" ?
|
|
857
|
+
return E !== "" ? d + "(" + E + ")" : d;
|
|
858
858
|
}
|
|
859
859
|
function U1(s) {
|
|
860
860
|
return s.displayName || "Context";
|
|
@@ -875,25 +875,25 @@ function Ve() {
|
|
|
875
875
|
return "Profiler";
|
|
876
876
|
case r:
|
|
877
877
|
return "StrictMode";
|
|
878
|
-
case
|
|
878
|
+
case f:
|
|
879
879
|
return "Suspense";
|
|
880
|
-
case
|
|
880
|
+
case u:
|
|
881
881
|
return "SuspenseList";
|
|
882
882
|
}
|
|
883
883
|
if (typeof s == "object")
|
|
884
884
|
switch (s.$$typeof) {
|
|
885
|
-
case
|
|
885
|
+
case g:
|
|
886
886
|
var i = s;
|
|
887
887
|
return U1(i) + ".Consumer";
|
|
888
888
|
case v:
|
|
889
|
-
var
|
|
890
|
-
return U1(
|
|
889
|
+
var d = s;
|
|
890
|
+
return U1(d._context) + ".Provider";
|
|
891
891
|
case h:
|
|
892
892
|
return U3(s, s.render, "ForwardRef");
|
|
893
|
-
case
|
|
893
|
+
case L:
|
|
894
894
|
var p = s.displayName || null;
|
|
895
895
|
return p !== null ? p : J(s.type) || "Memo";
|
|
896
|
-
case
|
|
896
|
+
case F: {
|
|
897
897
|
var E = s, T = E._payload, y = E._init;
|
|
898
898
|
try {
|
|
899
899
|
return J(y(T));
|
|
@@ -904,14 +904,14 @@ function Ve() {
|
|
|
904
904
|
}
|
|
905
905
|
return null;
|
|
906
906
|
}
|
|
907
|
-
var X = Object.assign, s1 = 0,
|
|
907
|
+
var X = Object.assign, s1 = 0, F1, H1, K1, q1, G1, Y1, z1;
|
|
908
908
|
function J1() {
|
|
909
909
|
}
|
|
910
910
|
J1.__reactDisabledLog = !0;
|
|
911
|
-
function
|
|
911
|
+
function F3() {
|
|
912
912
|
{
|
|
913
913
|
if (s1 === 0) {
|
|
914
|
-
|
|
914
|
+
F1 = console.log, H1 = console.info, K1 = console.warn, q1 = console.error, G1 = console.group, Y1 = console.groupCollapsed, z1 = console.groupEnd;
|
|
915
915
|
var s = {
|
|
916
916
|
configurable: !0,
|
|
917
917
|
enumerable: !0,
|
|
@@ -931,7 +931,7 @@ function Ve() {
|
|
|
931
931
|
s1++;
|
|
932
932
|
}
|
|
933
933
|
}
|
|
934
|
-
function
|
|
934
|
+
function H3() {
|
|
935
935
|
{
|
|
936
936
|
if (s1--, s1 === 0) {
|
|
937
937
|
var s = {
|
|
@@ -941,10 +941,10 @@ function Ve() {
|
|
|
941
941
|
};
|
|
942
942
|
Object.defineProperties(console, {
|
|
943
943
|
log: X({}, s, {
|
|
944
|
-
value:
|
|
944
|
+
value: F1
|
|
945
945
|
}),
|
|
946
946
|
info: X({}, s, {
|
|
947
|
-
value:
|
|
947
|
+
value: H1
|
|
948
948
|
}),
|
|
949
949
|
warn: X({}, s, {
|
|
950
950
|
value: K1
|
|
@@ -967,7 +967,7 @@ function Ve() {
|
|
|
967
967
|
}
|
|
968
968
|
}
|
|
969
969
|
var y1 = b.ReactCurrentDispatcher, I1;
|
|
970
|
-
function
|
|
970
|
+
function v1(s, i, d) {
|
|
971
971
|
{
|
|
972
972
|
if (I1 === void 0)
|
|
973
973
|
try {
|
|
@@ -980,25 +980,25 @@ function Ve() {
|
|
|
980
980
|
` + I1 + s;
|
|
981
981
|
}
|
|
982
982
|
}
|
|
983
|
-
var R1 = !1,
|
|
983
|
+
var R1 = !1, h1;
|
|
984
984
|
{
|
|
985
985
|
var K3 = typeof WeakMap == "function" ? WeakMap : Map;
|
|
986
|
-
|
|
986
|
+
h1 = new K3();
|
|
987
987
|
}
|
|
988
988
|
function X1(s, i) {
|
|
989
989
|
if (!s || R1)
|
|
990
990
|
return "";
|
|
991
991
|
{
|
|
992
|
-
var
|
|
993
|
-
if (
|
|
994
|
-
return
|
|
992
|
+
var d = h1.get(s);
|
|
993
|
+
if (d !== void 0)
|
|
994
|
+
return d;
|
|
995
995
|
}
|
|
996
996
|
var p;
|
|
997
997
|
R1 = !0;
|
|
998
998
|
var E = Error.prepareStackTrace;
|
|
999
999
|
Error.prepareStackTrace = void 0;
|
|
1000
1000
|
var T;
|
|
1001
|
-
T = y1.current, y1.current = null,
|
|
1001
|
+
T = y1.current, y1.current = null, F3();
|
|
1002
1002
|
try {
|
|
1003
1003
|
if (i) {
|
|
1004
1004
|
var y = function() {
|
|
@@ -1034,58 +1034,58 @@ function Ve() {
|
|
|
1034
1034
|
} catch (V) {
|
|
1035
1035
|
if (V && p && typeof V.stack == "string") {
|
|
1036
1036
|
for (var j = V.stack.split(`
|
|
1037
|
-
`),
|
|
1038
|
-
`),
|
|
1037
|
+
`), B = p.stack.split(`
|
|
1038
|
+
`), P = j.length - 1, A = B.length - 1; P >= 1 && A >= 0 && j[P] !== B[A]; )
|
|
1039
1039
|
A--;
|
|
1040
|
-
for (;
|
|
1041
|
-
if (j[
|
|
1042
|
-
if (
|
|
1040
|
+
for (; P >= 1 && A >= 0; P--, A--)
|
|
1041
|
+
if (j[P] !== B[A]) {
|
|
1042
|
+
if (P !== 1 || A !== 1)
|
|
1043
1043
|
do
|
|
1044
|
-
if (
|
|
1045
|
-
var
|
|
1046
|
-
` + j[
|
|
1047
|
-
return s.displayName &&
|
|
1044
|
+
if (P--, A--, A < 0 || j[P] !== B[A]) {
|
|
1045
|
+
var H = `
|
|
1046
|
+
` + j[P].replace(" at new ", " at ");
|
|
1047
|
+
return s.displayName && H.includes("<anonymous>") && (H = H.replace("<anonymous>", s.displayName)), typeof s == "function" && h1.set(s, H), H;
|
|
1048
1048
|
}
|
|
1049
|
-
while (
|
|
1049
|
+
while (P >= 1 && A >= 0);
|
|
1050
1050
|
break;
|
|
1051
1051
|
}
|
|
1052
1052
|
}
|
|
1053
1053
|
} finally {
|
|
1054
|
-
R1 = !1, y1.current = T,
|
|
1054
|
+
R1 = !1, y1.current = T, H3(), Error.prepareStackTrace = E;
|
|
1055
1055
|
}
|
|
1056
|
-
var t1 = s ? s.displayName || s.name : "", Q = t1 ?
|
|
1057
|
-
return typeof s == "function" &&
|
|
1056
|
+
var t1 = s ? s.displayName || s.name : "", Q = t1 ? v1(t1) : "";
|
|
1057
|
+
return typeof s == "function" && h1.set(s, Q), Q;
|
|
1058
1058
|
}
|
|
1059
|
-
function q3(s, i,
|
|
1059
|
+
function q3(s, i, d) {
|
|
1060
1060
|
return X1(s, !1);
|
|
1061
1061
|
}
|
|
1062
1062
|
function G3(s) {
|
|
1063
1063
|
var i = s.prototype;
|
|
1064
1064
|
return !!(i && i.isReactComponent);
|
|
1065
1065
|
}
|
|
1066
|
-
function
|
|
1066
|
+
function g1(s, i, d) {
|
|
1067
1067
|
if (s == null)
|
|
1068
1068
|
return "";
|
|
1069
1069
|
if (typeof s == "function")
|
|
1070
1070
|
return X1(s, G3(s));
|
|
1071
1071
|
if (typeof s == "string")
|
|
1072
|
-
return
|
|
1072
|
+
return v1(s);
|
|
1073
1073
|
switch (s) {
|
|
1074
|
-
case
|
|
1075
|
-
return
|
|
1076
|
-
case
|
|
1077
|
-
return
|
|
1074
|
+
case f:
|
|
1075
|
+
return v1("Suspense");
|
|
1076
|
+
case u:
|
|
1077
|
+
return v1("SuspenseList");
|
|
1078
1078
|
}
|
|
1079
1079
|
if (typeof s == "object")
|
|
1080
1080
|
switch (s.$$typeof) {
|
|
1081
1081
|
case h:
|
|
1082
1082
|
return q3(s.render);
|
|
1083
|
-
case
|
|
1084
|
-
return
|
|
1085
|
-
case
|
|
1083
|
+
case L:
|
|
1084
|
+
return g1(s.type, i, d);
|
|
1085
|
+
case F: {
|
|
1086
1086
|
var p = s, E = p._payload, T = p._init;
|
|
1087
1087
|
try {
|
|
1088
|
-
return
|
|
1088
|
+
return g1(T(E), i, d);
|
|
1089
1089
|
} catch {
|
|
1090
1090
|
}
|
|
1091
1091
|
}
|
|
@@ -1093,14 +1093,14 @@ function Ve() {
|
|
|
1093
1093
|
return "";
|
|
1094
1094
|
}
|
|
1095
1095
|
var c1 = Object.prototype.hasOwnProperty, Q1 = {}, N1 = b.ReactDebugCurrentFrame;
|
|
1096
|
-
function
|
|
1096
|
+
function f1(s) {
|
|
1097
1097
|
if (s) {
|
|
1098
|
-
var i = s._owner,
|
|
1099
|
-
N1.setExtraStackFrame(
|
|
1098
|
+
var i = s._owner, d = g1(s.type, s._source, i ? i.type : null);
|
|
1099
|
+
N1.setExtraStackFrame(d);
|
|
1100
1100
|
} else
|
|
1101
1101
|
N1.setExtraStackFrame(null);
|
|
1102
1102
|
}
|
|
1103
|
-
function Y3(s, i,
|
|
1103
|
+
function Y3(s, i, d, p, E) {
|
|
1104
1104
|
{
|
|
1105
1105
|
var T = Function.call.bind(c1);
|
|
1106
1106
|
for (var y in s)
|
|
@@ -1108,14 +1108,14 @@ function Ve() {
|
|
|
1108
1108
|
var j = void 0;
|
|
1109
1109
|
try {
|
|
1110
1110
|
if (typeof s[y] != "function") {
|
|
1111
|
-
var
|
|
1112
|
-
throw
|
|
1111
|
+
var B = Error((p || "React class") + ": " + d + " 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`.");
|
|
1112
|
+
throw B.name = "Invariant Violation", B;
|
|
1113
1113
|
}
|
|
1114
|
-
j = s[y](i, y, p,
|
|
1115
|
-
} catch (
|
|
1116
|
-
j =
|
|
1114
|
+
j = s[y](i, y, p, d, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
1115
|
+
} catch (P) {
|
|
1116
|
+
j = P;
|
|
1117
1117
|
}
|
|
1118
|
-
j && !(j instanceof Error) && (
|
|
1118
|
+
j && !(j instanceof Error) && (f1(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", d, y, typeof j), f1(null)), j instanceof Error && !(j.message in Q1) && (Q1[j.message] = !0, f1(E), x("Failed %s type: %s", d, j.message), f1(null));
|
|
1119
1119
|
}
|
|
1120
1120
|
}
|
|
1121
1121
|
}
|
|
@@ -1125,8 +1125,8 @@ function Ve() {
|
|
|
1125
1125
|
}
|
|
1126
1126
|
function J3(s) {
|
|
1127
1127
|
{
|
|
1128
|
-
var i = typeof Symbol == "function" && Symbol.toStringTag,
|
|
1129
|
-
return
|
|
1128
|
+
var i = typeof Symbol == "function" && Symbol.toStringTag, d = i && s[Symbol.toStringTag] || s.constructor.name || "Object";
|
|
1129
|
+
return d;
|
|
1130
1130
|
}
|
|
1131
1131
|
}
|
|
1132
1132
|
function X3(s) {
|
|
@@ -1170,34 +1170,34 @@ function Ve() {
|
|
|
1170
1170
|
}
|
|
1171
1171
|
function n2(s, i) {
|
|
1172
1172
|
{
|
|
1173
|
-
var
|
|
1173
|
+
var d = function() {
|
|
1174
1174
|
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));
|
|
1175
1175
|
};
|
|
1176
|
-
|
|
1177
|
-
get:
|
|
1176
|
+
d.isReactWarning = !0, Object.defineProperty(s, "key", {
|
|
1177
|
+
get: d,
|
|
1178
1178
|
configurable: !0
|
|
1179
1179
|
});
|
|
1180
1180
|
}
|
|
1181
1181
|
}
|
|
1182
1182
|
function o2(s, i) {
|
|
1183
1183
|
{
|
|
1184
|
-
var
|
|
1184
|
+
var d = function() {
|
|
1185
1185
|
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));
|
|
1186
1186
|
};
|
|
1187
|
-
|
|
1188
|
-
get:
|
|
1187
|
+
d.isReactWarning = !0, Object.defineProperty(s, "ref", {
|
|
1188
|
+
get: d,
|
|
1189
1189
|
configurable: !0
|
|
1190
1190
|
});
|
|
1191
1191
|
}
|
|
1192
1192
|
}
|
|
1193
|
-
var s2 = function(s, i,
|
|
1193
|
+
var s2 = function(s, i, d, p, E, T, y) {
|
|
1194
1194
|
var j = {
|
|
1195
1195
|
// This tag allows us to uniquely identify this as a React Element
|
|
1196
1196
|
$$typeof: t,
|
|
1197
1197
|
// Built-in properties that belong on the element
|
|
1198
1198
|
type: s,
|
|
1199
1199
|
key: i,
|
|
1200
|
-
ref:
|
|
1200
|
+
ref: d,
|
|
1201
1201
|
props: y,
|
|
1202
1202
|
// Record the component responsible for creating this element.
|
|
1203
1203
|
_owner: T
|
|
@@ -1219,29 +1219,29 @@ function Ve() {
|
|
|
1219
1219
|
value: E
|
|
1220
1220
|
}), Object.freeze && (Object.freeze(j.props), Object.freeze(j)), j;
|
|
1221
1221
|
};
|
|
1222
|
-
function c2(s, i,
|
|
1222
|
+
function c2(s, i, d, p, E) {
|
|
1223
1223
|
{
|
|
1224
|
-
var T, y = {}, j = null,
|
|
1225
|
-
|
|
1224
|
+
var T, y = {}, j = null, B = null;
|
|
1225
|
+
d !== void 0 && (t3(d), j = "" + d), e2(i) && (t3(i.key), j = "" + i.key), N3(i) && (B = i.ref, t2(i, E));
|
|
1226
1226
|
for (T in i)
|
|
1227
1227
|
c1.call(i, T) && !Q3.hasOwnProperty(T) && (y[T] = i[T]);
|
|
1228
1228
|
if (s && s.defaultProps) {
|
|
1229
|
-
var
|
|
1230
|
-
for (T in
|
|
1231
|
-
y[T] === void 0 && (y[T] =
|
|
1229
|
+
var P = s.defaultProps;
|
|
1230
|
+
for (T in P)
|
|
1231
|
+
y[T] === void 0 && (y[T] = P[T]);
|
|
1232
1232
|
}
|
|
1233
|
-
if (j ||
|
|
1233
|
+
if (j || B) {
|
|
1234
1234
|
var A = typeof s == "function" ? s.displayName || s.name || "Unknown" : s;
|
|
1235
|
-
j && n2(y, A),
|
|
1235
|
+
j && n2(y, A), B && o2(y, A);
|
|
1236
1236
|
}
|
|
1237
|
-
return s2(s, j,
|
|
1237
|
+
return s2(s, j, B, E, p, n3.current, y);
|
|
1238
1238
|
}
|
|
1239
1239
|
}
|
|
1240
1240
|
var T1 = b.ReactCurrentOwner, c3 = b.ReactDebugCurrentFrame;
|
|
1241
1241
|
function e1(s) {
|
|
1242
1242
|
if (s) {
|
|
1243
|
-
var i = s._owner,
|
|
1244
|
-
c3.setExtraStackFrame(
|
|
1243
|
+
var i = s._owner, d = g1(s.type, s._source, i ? i.type : null);
|
|
1244
|
+
c3.setExtraStackFrame(d);
|
|
1245
1245
|
} else
|
|
1246
1246
|
c3.setExtraStackFrame(null);
|
|
1247
1247
|
}
|
|
@@ -1270,10 +1270,10 @@ Check the render method of \`` + s + "`.";
|
|
|
1270
1270
|
{
|
|
1271
1271
|
var i = r3();
|
|
1272
1272
|
if (!i) {
|
|
1273
|
-
var
|
|
1274
|
-
|
|
1273
|
+
var d = typeof s == "string" ? s : s.displayName || s.name;
|
|
1274
|
+
d && (i = `
|
|
1275
1275
|
|
|
1276
|
-
Check the top-level render call using <` +
|
|
1276
|
+
Check the top-level render call using <` + d + ">.");
|
|
1277
1277
|
}
|
|
1278
1278
|
return i;
|
|
1279
1279
|
}
|
|
@@ -1283,12 +1283,12 @@ Check the top-level render call using <` + u + ">.");
|
|
|
1283
1283
|
if (!s._store || s._store.validated || s.key != null)
|
|
1284
1284
|
return;
|
|
1285
1285
|
s._store.validated = !0;
|
|
1286
|
-
var
|
|
1287
|
-
if (l3[
|
|
1286
|
+
var d = l2(i);
|
|
1287
|
+
if (l3[d])
|
|
1288
1288
|
return;
|
|
1289
|
-
l3[
|
|
1289
|
+
l3[d] = !0;
|
|
1290
1290
|
var p = "";
|
|
1291
|
-
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.',
|
|
1291
|
+
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.', d, p), e1(null);
|
|
1292
1292
|
}
|
|
1293
1293
|
}
|
|
1294
1294
|
function a3(s, i) {
|
|
@@ -1296,8 +1296,8 @@ Check the top-level render call using <` + u + ">.");
|
|
|
1296
1296
|
if (typeof s != "object")
|
|
1297
1297
|
return;
|
|
1298
1298
|
if (E1(s))
|
|
1299
|
-
for (var
|
|
1300
|
-
var p = s[
|
|
1299
|
+
for (var d = 0; d < s.length; d++) {
|
|
1300
|
+
var p = s[d];
|
|
1301
1301
|
_1(p) && i3(p, i);
|
|
1302
1302
|
}
|
|
1303
1303
|
else if (_1(s))
|
|
@@ -1315,18 +1315,18 @@ Check the top-level render call using <` + u + ">.");
|
|
|
1315
1315
|
var i = s.type;
|
|
1316
1316
|
if (i == null || typeof i == "string")
|
|
1317
1317
|
return;
|
|
1318
|
-
var
|
|
1318
|
+
var d;
|
|
1319
1319
|
if (typeof i == "function")
|
|
1320
|
-
|
|
1320
|
+
d = i.propTypes;
|
|
1321
1321
|
else if (typeof i == "object" && (i.$$typeof === h || // Note: Memo only checks outer props here.
|
|
1322
1322
|
// Inner props are checked in the reconciler.
|
|
1323
|
-
i.$$typeof ===
|
|
1324
|
-
|
|
1323
|
+
i.$$typeof === L))
|
|
1324
|
+
d = i.propTypes;
|
|
1325
1325
|
else
|
|
1326
1326
|
return;
|
|
1327
|
-
if (
|
|
1327
|
+
if (d) {
|
|
1328
1328
|
var p = J(i);
|
|
1329
|
-
Y3(
|
|
1329
|
+
Y3(d, s.props, "prop", p, s);
|
|
1330
1330
|
} else if (i.PropTypes !== void 0 && !D1) {
|
|
1331
1331
|
D1 = !0;
|
|
1332
1332
|
var E = J(i);
|
|
@@ -1337,8 +1337,8 @@ Check the top-level render call using <` + u + ">.");
|
|
|
1337
1337
|
}
|
|
1338
1338
|
function a2(s) {
|
|
1339
1339
|
{
|
|
1340
|
-
for (var i = Object.keys(s.props),
|
|
1341
|
-
var p = i[
|
|
1340
|
+
for (var i = Object.keys(s.props), d = 0; d < i.length; d++) {
|
|
1341
|
+
var p = i[d];
|
|
1342
1342
|
if (p !== "children" && p !== "key") {
|
|
1343
1343
|
e1(s), x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", p), e1(null);
|
|
1344
1344
|
break;
|
|
@@ -1348,71 +1348,71 @@ Check the top-level render call using <` + u + ">.");
|
|
|
1348
1348
|
}
|
|
1349
1349
|
}
|
|
1350
1350
|
var u3 = {};
|
|
1351
|
-
function d3(s, i,
|
|
1351
|
+
function d3(s, i, d, p, E, T) {
|
|
1352
1352
|
{
|
|
1353
1353
|
var y = b1(s);
|
|
1354
1354
|
if (!y) {
|
|
1355
1355
|
var j = "";
|
|
1356
1356
|
(s === void 0 || typeof s == "object" && s !== null && Object.keys(s).length === 0) && (j += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
1357
|
-
var
|
|
1358
|
-
|
|
1359
|
-
var
|
|
1360
|
-
s === null ?
|
|
1357
|
+
var B = r2();
|
|
1358
|
+
B ? j += B : j += r3();
|
|
1359
|
+
var P;
|
|
1360
|
+
s === null ? P = "null" : E1(s) ? P = "array" : s !== void 0 && s.$$typeof === t ? (P = "<" + (J(s.type) || "Unknown") + " />", j = " Did you accidentally export a JSX literal instead of a component?") : P = 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", P, j);
|
|
1361
1361
|
}
|
|
1362
|
-
var A = c2(s, i,
|
|
1362
|
+
var A = c2(s, i, d, E, T);
|
|
1363
1363
|
if (A == null)
|
|
1364
1364
|
return A;
|
|
1365
1365
|
if (y) {
|
|
1366
|
-
var
|
|
1367
|
-
if (
|
|
1366
|
+
var H = i.children;
|
|
1367
|
+
if (H !== void 0)
|
|
1368
1368
|
if (p)
|
|
1369
|
-
if (E1(
|
|
1370
|
-
for (var t1 = 0; t1 <
|
|
1371
|
-
a3(
|
|
1372
|
-
Object.freeze && Object.freeze(
|
|
1369
|
+
if (E1(H)) {
|
|
1370
|
+
for (var t1 = 0; t1 < H.length; t1++)
|
|
1371
|
+
a3(H[t1], s);
|
|
1372
|
+
Object.freeze && Object.freeze(H);
|
|
1373
1373
|
} else
|
|
1374
1374
|
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.");
|
|
1375
1375
|
else
|
|
1376
|
-
a3(
|
|
1376
|
+
a3(H, s);
|
|
1377
1377
|
}
|
|
1378
1378
|
if (c1.call(i, "key")) {
|
|
1379
1379
|
var Q = J(s), V = Object.keys(i).filter(function(f2) {
|
|
1380
1380
|
return f2 !== "key";
|
|
1381
|
-
}),
|
|
1382
|
-
if (!u3[Q +
|
|
1381
|
+
}), L1 = V.length > 0 ? "{key: someKey, " + V.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
1382
|
+
if (!u3[Q + L1]) {
|
|
1383
1383
|
var g2 = V.length > 0 ? "{" + V.join(": ..., ") + ": ...}" : "{}";
|
|
1384
1384
|
x(`A props object containing a "key" prop is being spread into JSX:
|
|
1385
1385
|
let props = %s;
|
|
1386
1386
|
<%s {...props} />
|
|
1387
1387
|
React keys must be passed directly to JSX without using spread:
|
|
1388
1388
|
let props = %s;
|
|
1389
|
-
<%s key={someKey} {...props} />`,
|
|
1389
|
+
<%s key={someKey} {...props} />`, L1, Q, g2, Q), u3[Q + L1] = !0;
|
|
1390
1390
|
}
|
|
1391
1391
|
}
|
|
1392
1392
|
return s === c ? a2(A) : i2(A), A;
|
|
1393
1393
|
}
|
|
1394
1394
|
}
|
|
1395
|
-
function u2(s, i,
|
|
1396
|
-
return d3(s, i,
|
|
1395
|
+
function u2(s, i, d) {
|
|
1396
|
+
return d3(s, i, d, !0);
|
|
1397
1397
|
}
|
|
1398
|
-
function d2(s, i,
|
|
1399
|
-
return d3(s, i,
|
|
1398
|
+
function d2(s, i, d) {
|
|
1399
|
+
return d3(s, i, d, !1);
|
|
1400
1400
|
}
|
|
1401
1401
|
var v2 = d2, h2 = u2;
|
|
1402
1402
|
i1.Fragment = c, i1.jsx = v2, i1.jsxs = h2;
|
|
1403
|
-
}()), i1;
|
|
1403
|
+
})()), i1;
|
|
1404
1404
|
}
|
|
1405
1405
|
var p3;
|
|
1406
1406
|
function Ue() {
|
|
1407
|
-
return p3 || (p3 = 1, process.env.NODE_ENV === "production" ?
|
|
1407
|
+
return p3 || (p3 = 1, process.env.NODE_ENV === "production" ? p1.exports = We() : p1.exports = Ve()), p1.exports;
|
|
1408
1408
|
}
|
|
1409
1409
|
var n = Ue();
|
|
1410
|
-
const
|
|
1411
|
-
mwfit:
|
|
1410
|
+
const Fe = "_mwfit_ppa3l_1", He = {
|
|
1411
|
+
mwfit: Fe
|
|
1412
1412
|
}, Ke = () => {
|
|
1413
1413
|
const { reconnect: e } = R(), t = I3(), o = Me(), c = xe();
|
|
1414
1414
|
return /* @__PURE__ */ n.jsxs("div", { className: "vh-100 d-flex flex-column flex-grow-1 justify-content-center align-items-center gap-5 ", children: [
|
|
1415
|
-
/* @__PURE__ */ n.jsxs("div", { className: `${
|
|
1415
|
+
/* @__PURE__ */ n.jsxs("div", { className: `${He.mwfit} mx-auto text-center`, children: [
|
|
1416
1416
|
t === void 0 ? /* @__PURE__ */ n.jsx("h2", { children: "Connecting..." }) : /* @__PURE__ */ n.jsx("h2", { children: "Disconnected" }),
|
|
1417
1417
|
o && /* @__PURE__ */ n.jsx("h5", { className: "mt-1", children: o })
|
|
1418
1418
|
] }),
|
|
@@ -1427,29 +1427,29 @@ const He = "_mwfit_ppa3l_1", Fe = {
|
|
|
1427
1427
|
}), qe = ({ children: e }) => {
|
|
1428
1428
|
const t = W1(), o = I3();
|
|
1429
1429
|
x1(() => {
|
|
1430
|
-
t(
|
|
1430
|
+
t(B3());
|
|
1431
1431
|
}, [t]);
|
|
1432
1432
|
const c = r1(
|
|
1433
|
-
(h,
|
|
1434
|
-
t(
|
|
1433
|
+
(h, f) => {
|
|
1434
|
+
t(Le(h, f));
|
|
1435
1435
|
},
|
|
1436
1436
|
[t]
|
|
1437
1437
|
), r = r1(
|
|
1438
|
-
(h,
|
|
1439
|
-
c(h, { value:
|
|
1438
|
+
(h, f) => {
|
|
1439
|
+
c(h, { value: f });
|
|
1440
1440
|
},
|
|
1441
1441
|
[c]
|
|
1442
1442
|
), l = r1(
|
|
1443
|
-
(h,
|
|
1444
|
-
t(
|
|
1443
|
+
(h, f, u) => {
|
|
1444
|
+
t(Pe(h, f, u));
|
|
1445
1445
|
},
|
|
1446
1446
|
[t]
|
|
1447
1447
|
), v = r1(
|
|
1448
|
-
(h,
|
|
1449
|
-
t(Ae(h,
|
|
1448
|
+
(h, f) => {
|
|
1449
|
+
t(Ae(h, f));
|
|
1450
1450
|
},
|
|
1451
1451
|
[t]
|
|
1452
|
-
),
|
|
1452
|
+
), g = r1(() => {
|
|
1453
1453
|
t($e());
|
|
1454
1454
|
}, [t]);
|
|
1455
1455
|
return /* @__PURE__ */ n.jsx(
|
|
@@ -1460,7 +1460,7 @@ const He = "_mwfit_ppa3l_1", Fe = {
|
|
|
1460
1460
|
sendSimpleMessage: r,
|
|
1461
1461
|
addEventHandler: l,
|
|
1462
1462
|
removeEventHandler: v,
|
|
1463
|
-
reconnect:
|
|
1463
|
+
reconnect: g
|
|
1464
1464
|
},
|
|
1465
1465
|
children: o ? e : /* @__PURE__ */ n.jsx(Ke, {})
|
|
1466
1466
|
}
|
|
@@ -1473,28 +1473,29 @@ function Ge({
|
|
|
1473
1473
|
onPress: e,
|
|
1474
1474
|
onRelease: t,
|
|
1475
1475
|
onHold: o,
|
|
1476
|
-
|
|
1476
|
+
onPressedButNotHeld: c,
|
|
1477
|
+
holdTimeMs: r = 500
|
|
1477
1478
|
}) {
|
|
1478
|
-
const
|
|
1479
|
-
function
|
|
1480
|
-
|
|
1481
|
-
o == null || o(),
|
|
1482
|
-
},
|
|
1479
|
+
const l = u1(null), v = u1(!1), g = u1(!1);
|
|
1480
|
+
function h() {
|
|
1481
|
+
v.current = !0, g.current = !1, e == null || e(), l.current = setTimeout(() => {
|
|
1482
|
+
g.current = !0, o == null || o(), l.current = null;
|
|
1483
|
+
}, r);
|
|
1483
1484
|
}
|
|
1484
1485
|
function f() {
|
|
1485
|
-
|
|
1486
|
+
v.current = !1, t == null || t(), l.current && (clearTimeout(l.current), l.current = null, g.current || c == null || c());
|
|
1486
1487
|
}
|
|
1487
|
-
function
|
|
1488
|
-
|
|
1488
|
+
function u() {
|
|
1489
|
+
v.current && f();
|
|
1489
1490
|
}
|
|
1490
1491
|
return {
|
|
1491
|
-
onPointerDown:
|
|
1492
|
+
onPointerDown: h,
|
|
1492
1493
|
onPointerUp: f,
|
|
1493
|
-
onPointerLeave:
|
|
1494
|
+
onPointerLeave: u
|
|
1494
1495
|
};
|
|
1495
1496
|
}
|
|
1496
|
-
function
|
|
1497
|
-
const { sendMessage: c } = R(), r =
|
|
1497
|
+
function w(e, t) {
|
|
1498
|
+
const { sendMessage: c } = R(), r = u1(null);
|
|
1498
1499
|
function l() {
|
|
1499
1500
|
c(`${e}/${t}`, { value: "pressed" }), r.current || (r.current = setInterval(() => {
|
|
1500
1501
|
c(`${e}/${t}`, { value: "held" });
|
|
@@ -1506,7 +1507,7 @@ function g(e, t) {
|
|
|
1506
1507
|
return Ge({ onPress: l, onRelease: v });
|
|
1507
1508
|
}
|
|
1508
1509
|
function j1(e) {
|
|
1509
|
-
const { sendMessage: t } = R(), o =
|
|
1510
|
+
const { sendMessage: t } = R(), o = w(`${e}`, "volumeUp"), c = w(`${e}`, "volumeDown");
|
|
1510
1511
|
return n1(() => ({
|
|
1511
1512
|
volumeUp: o,
|
|
1512
1513
|
volumeDown: c,
|
|
@@ -1514,7 +1515,7 @@ function j1(e) {
|
|
|
1514
1515
|
}), [e, t, o, c]);
|
|
1515
1516
|
}
|
|
1516
1517
|
function V6(e) {
|
|
1517
|
-
const { sendMessage: t } = R(), o =
|
|
1518
|
+
const { sendMessage: t } = R(), o = w(`${e}`, "volumeUp"), c = w(`${e}`, "volumeDown");
|
|
1518
1519
|
return n1(() => ({
|
|
1519
1520
|
volumeUp: o,
|
|
1520
1521
|
volumeDown: c,
|
|
@@ -1589,13 +1590,13 @@ function ze(e) {
|
|
|
1589
1590
|
t(`/device/${e}/setDefaultChannelLevels`, null);
|
|
1590
1591
|
}, r = () => {
|
|
1591
1592
|
if ((o == null ? void 0 : o.levelControls) === void 0) return;
|
|
1592
|
-
Object.keys(o == null ? void 0 : o.levelControls).forEach((
|
|
1593
|
-
t(`/device/${e}/${
|
|
1593
|
+
Object.keys(o == null ? void 0 : o.levelControls).forEach((g) => {
|
|
1594
|
+
t(`/device/${e}/${g}/fullStatus`, null);
|
|
1594
1595
|
});
|
|
1595
1596
|
};
|
|
1596
1597
|
return o ? { levelControls: o.levelControls, setDefaultChannelLevels: c, getFullStatus: r } : void 0;
|
|
1597
1598
|
}
|
|
1598
|
-
function
|
|
1599
|
+
function F6(e) {
|
|
1599
1600
|
const t = _(e), o = V3(e), c = O1(e), r = O1(e), l = Ye(e), v = ze(e);
|
|
1600
1601
|
if (t)
|
|
1601
1602
|
return {
|
|
@@ -1607,7 +1608,7 @@ function H6(e) {
|
|
|
1607
1608
|
mainVolumeControl: l
|
|
1608
1609
|
};
|
|
1609
1610
|
}
|
|
1610
|
-
const
|
|
1611
|
+
const H6 = ({ className: e }) => {
|
|
1611
1612
|
const [t, o] = Y();
|
|
1612
1613
|
return x1(() => {
|
|
1613
1614
|
setInterval(() => {
|
|
@@ -1621,8 +1622,8 @@ const F6 = ({ className: e }) => {
|
|
|
1621
1622
|
};
|
|
1622
1623
|
function K6(e) {
|
|
1623
1624
|
const { sendMessage: t } = R(), o = _(e), c = `/device/${e}`;
|
|
1624
|
-
return o ? { state: o, recallPreset: (v,
|
|
1625
|
-
t(`${c}/presets/recall`, { deviceKey: v, preset:
|
|
1625
|
+
return o ? { state: o, recallPreset: (v, g) => {
|
|
1626
|
+
t(`${c}/presets/recall`, { deviceKey: v, preset: g });
|
|
1626
1627
|
}, savePresets: (v) => {
|
|
1627
1628
|
t(`${c}/presets/save`, v);
|
|
1628
1629
|
} } : void 0;
|
|
@@ -1633,11 +1634,11 @@ function q6(e) {
|
|
|
1633
1634
|
return { endpointState: t };
|
|
1634
1635
|
}
|
|
1635
1636
|
function G6(e) {
|
|
1636
|
-
const t = `/device/${e}`, o =
|
|
1637
|
-
return { channelUp: o, channelDown: c, lastChannel: r, guide: l, info: v, exit:
|
|
1637
|
+
const t = `/device/${e}`, o = w(t, "chanUp"), c = w(t, "chanDown"), r = w(t, "lastChan"), l = w(t, "guide"), v = w(t, "info"), g = w(t, "exit");
|
|
1638
|
+
return { channelUp: o, channelDown: c, lastChannel: r, guide: l, info: v, exit: g };
|
|
1638
1639
|
}
|
|
1639
1640
|
function Y6(e) {
|
|
1640
|
-
const t = `/device/${e}`, o =
|
|
1641
|
+
const t = `/device/${e}`, o = w(t, "red"), c = w(t, "green"), r = w(t, "yellow"), l = w(t, "blue");
|
|
1641
1642
|
return { red: o, green: c, yellow: r, blue: l };
|
|
1642
1643
|
}
|
|
1643
1644
|
function z6(e) {
|
|
@@ -1653,21 +1654,21 @@ function J6(e) {
|
|
|
1653
1654
|
return t.deviceInfo || void 0;
|
|
1654
1655
|
}
|
|
1655
1656
|
function X6(e) {
|
|
1656
|
-
const t = `/device/${e}`, o =
|
|
1657
|
-
return { up: o, down: c, left: r, right: l, select: v, menu:
|
|
1657
|
+
const t = `/device/${e}`, o = w(t, "up"), c = w(t, "down"), r = w(t, "left"), l = w(t, "right"), v = w(t, "select"), g = w(t, "menu"), h = w(t, "exit");
|
|
1658
|
+
return { up: o, down: c, left: r, right: l, select: v, menu: g, exit: h };
|
|
1658
1659
|
}
|
|
1659
1660
|
function Q6(e) {
|
|
1660
|
-
const { sendMessage: t } = R(), o = `/device/${e}`, c = _(e), r =
|
|
1661
|
+
const { sendMessage: t } = R(), o = `/device/${e}`, c = _(e), r = w(o, "cameraUp"), l = w(o, "cameraDown"), v = w(o, "cameraLeft"), g = w(o, "cameraRight"), h = w(o, "cameraZoomIn"), f = w(o, "cameraZoomOut"), u = (L) => t("/camera/recallPreset", L);
|
|
1661
1662
|
if (c)
|
|
1662
1663
|
return {
|
|
1663
1664
|
state: c,
|
|
1664
1665
|
zoomIn: h,
|
|
1665
|
-
zoomOut:
|
|
1666
|
+
zoomOut: f,
|
|
1666
1667
|
up: r,
|
|
1667
1668
|
down: l,
|
|
1668
1669
|
left: v,
|
|
1669
|
-
right:
|
|
1670
|
-
recallPreset:
|
|
1670
|
+
right: g,
|
|
1671
|
+
recallPreset: u
|
|
1671
1672
|
};
|
|
1672
1673
|
}
|
|
1673
1674
|
function N6(e) {
|
|
@@ -1680,7 +1681,7 @@ function N6(e) {
|
|
|
1680
1681
|
} };
|
|
1681
1682
|
}
|
|
1682
1683
|
function et(e) {
|
|
1683
|
-
const t = `/device/${e}`, o =
|
|
1684
|
+
const t = `/device/${e}`, o = w(t, "dvrList"), c = w(t, "record");
|
|
1684
1685
|
return { dvrList: o, record: c };
|
|
1685
1686
|
}
|
|
1686
1687
|
function tt(e) {
|
|
@@ -1715,10 +1716,10 @@ function st(e) {
|
|
|
1715
1716
|
const { sendMessage: t, sendSimpleMessage: o } = R(), c = _(e), r = ne(e), l = c || r;
|
|
1716
1717
|
return l ? {
|
|
1717
1718
|
levelState: l,
|
|
1718
|
-
setLevel: (
|
|
1719
|
-
muteToggle: (
|
|
1720
|
-
muteOn: (
|
|
1721
|
-
muteOff: (
|
|
1719
|
+
setLevel: (u, L) => o(`${u}/level`, L),
|
|
1720
|
+
muteToggle: (u) => t(`${u}/muteToggle`, null),
|
|
1721
|
+
muteOn: (u) => t(`${u}/muteOn`, null),
|
|
1722
|
+
muteOff: (u) => t(`${u}/muteOff`, null)
|
|
1722
1723
|
} : void 0;
|
|
1723
1724
|
}
|
|
1724
1725
|
function ct(e) {
|
|
@@ -1740,19 +1741,19 @@ function lt(e) {
|
|
|
1740
1741
|
} };
|
|
1741
1742
|
}
|
|
1742
1743
|
function it(e) {
|
|
1743
|
-
const t = `/device/${e}`, o =
|
|
1744
|
+
const t = `/device/${e}`, o = w(t, "num0"), c = w(t, "num1"), r = w(t, "num2"), l = w(t, "num3"), v = w(t, "num4"), g = w(t, "num5"), h = w(t, "num6"), f = w(t, "num7"), u = w(t, "num8"), L = w(t, "num9"), F = w(t, "numDash"), a = w(t, "numEnter");
|
|
1744
1745
|
return {
|
|
1745
1746
|
digit0: o,
|
|
1746
1747
|
digit1: c,
|
|
1747
1748
|
digit2: r,
|
|
1748
1749
|
digit3: l,
|
|
1749
1750
|
digit4: v,
|
|
1750
|
-
digit5:
|
|
1751
|
+
digit5: g,
|
|
1751
1752
|
digit6: h,
|
|
1752
|
-
digit7:
|
|
1753
|
-
digit8:
|
|
1754
|
-
digit9:
|
|
1755
|
-
keypadAccessoryButton1:
|
|
1753
|
+
digit7: f,
|
|
1754
|
+
digit8: u,
|
|
1755
|
+
digit9: L,
|
|
1756
|
+
keypadAccessoryButton1: F,
|
|
1756
1757
|
keypadAccessoryButton2: a
|
|
1757
1758
|
};
|
|
1758
1759
|
}
|
|
@@ -1789,7 +1790,7 @@ function ht(e) {
|
|
|
1789
1790
|
} };
|
|
1790
1791
|
}
|
|
1791
1792
|
function gt(e) {
|
|
1792
|
-
const t = `/device/${e}`, o =
|
|
1793
|
+
const t = `/device/${e}`, o = w(t, "chanUp"), c = w(t, "chanDown");
|
|
1793
1794
|
return { dvrList: o, replay: c };
|
|
1794
1795
|
}
|
|
1795
1796
|
function ft(e) {
|
|
@@ -1804,8 +1805,8 @@ function ft(e) {
|
|
|
1804
1805
|
}
|
|
1805
1806
|
function wt(e) {
|
|
1806
1807
|
const { sendMessage: t } = R(), o = S1(e);
|
|
1807
|
-
return o ? { shutdownPromptTimerState: o, setShutdownPromptSeconds: (
|
|
1808
|
-
t(`/room/${e}/setShutdownPromptSeconds`,
|
|
1808
|
+
return o ? { shutdownPromptTimerState: o, setShutdownPromptSeconds: (g) => {
|
|
1809
|
+
t(`/room/${e}/setShutdownPromptSeconds`, g);
|
|
1809
1810
|
}, shutdownStart: () => {
|
|
1810
1811
|
t(`/room/${e}/shutdownStart`, null);
|
|
1811
1812
|
}, shutdownEnd: () => {
|
|
@@ -1844,16 +1845,16 @@ function xt(e) {
|
|
|
1844
1845
|
};
|
|
1845
1846
|
}
|
|
1846
1847
|
function Zt(e) {
|
|
1847
|
-
const t = `/device/${e}`, o =
|
|
1848
|
+
const t = `/device/${e}`, o = w(t, "play"), c = w(t, "pause"), r = w(t, "stop"), l = w(t, "prevTrack"), v = w(t, "nextTrack"), g = w(t, "rewind"), h = w(t, "ffwd"), f = w(t, "record");
|
|
1848
1849
|
return {
|
|
1849
1850
|
play: o,
|
|
1850
1851
|
pause: c,
|
|
1851
1852
|
stop: r,
|
|
1852
1853
|
prevTrack: l,
|
|
1853
1854
|
nextTrack: v,
|
|
1854
|
-
rewind:
|
|
1855
|
+
rewind: g,
|
|
1855
1856
|
fastForward: h,
|
|
1856
|
-
record:
|
|
1857
|
+
record: f
|
|
1857
1858
|
};
|
|
1858
1859
|
}
|
|
1859
1860
|
function St(e) {
|
|
@@ -1890,30 +1891,30 @@ function Ct(e) {
|
|
|
1890
1891
|
const bt = ({
|
|
1891
1892
|
config: e
|
|
1892
1893
|
}, t = !0) => {
|
|
1893
|
-
const { sendMessage: o } = R(), c =
|
|
1894
|
-
var v,
|
|
1894
|
+
const { sendMessage: o } = R(), c = u1(!1), r = n1(() => {
|
|
1895
|
+
var v, g, h, f;
|
|
1895
1896
|
if (!e)
|
|
1896
1897
|
return;
|
|
1897
1898
|
const l = /* @__PURE__ */ new Set();
|
|
1898
|
-
if (e.destinations && Object.values(e.destinations).forEach((
|
|
1899
|
-
l.add(
|
|
1900
|
-
}), e.destinationList && Object.values(e.destinationList).forEach((
|
|
1901
|
-
l.add(
|
|
1899
|
+
if (e.destinations && Object.values(e.destinations).forEach((u) => {
|
|
1900
|
+
l.add(u);
|
|
1901
|
+
}), e.destinationList && Object.values(e.destinationList).forEach((u) => {
|
|
1902
|
+
l.add(u.sinkKey);
|
|
1902
1903
|
}), e.audioControlPointList && Object.values((v = e.audioControlPointList) == null ? void 0 : v.levelControls).forEach(
|
|
1903
|
-
(
|
|
1904
|
-
|
|
1904
|
+
(u) => {
|
|
1905
|
+
u.itemKey ? l.add(u.parentDeviceKey + "--" + u.itemKey) : l.add(u.parentDeviceKey);
|
|
1905
1906
|
}
|
|
1906
|
-
), (
|
|
1907
|
-
l.add(
|
|
1908
|
-
}), (h = e.environmentalDevices) == null || h.forEach((
|
|
1909
|
-
|
|
1910
|
-
}), (
|
|
1911
|
-
l.add(
|
|
1912
|
-
}), e.audioCodecKey && l.add(e.audioCodecKey), e.videoCodecKey && l.add(e.videoCodecKey), e.matrixRoutingKey && l.add(e.matrixRoutingKey), e.roomCombinerKey && l.add(e.roomCombinerKey), e.endpointKeys && e.endpointKeys.forEach((
|
|
1913
|
-
l.add(
|
|
1907
|
+
), (g = e.touchpanelKeys) == null || g.forEach((u) => {
|
|
1908
|
+
l.add(u);
|
|
1909
|
+
}), (h = e.environmentalDevices) == null || h.forEach((u) => {
|
|
1910
|
+
u.deviceKey && l.add(u.deviceKey);
|
|
1911
|
+
}), (f = e.accessoryDeviceKeys) == null || f.forEach((u) => {
|
|
1912
|
+
l.add(u);
|
|
1913
|
+
}), e.audioCodecKey && l.add(e.audioCodecKey), e.videoCodecKey && l.add(e.videoCodecKey), e.matrixRoutingKey && l.add(e.matrixRoutingKey), e.roomCombinerKey && l.add(e.roomCombinerKey), e.endpointKeys && e.endpointKeys.forEach((u) => {
|
|
1914
|
+
l.add(u);
|
|
1914
1915
|
}), e.sourceList)
|
|
1915
|
-
for (const
|
|
1916
|
-
|
|
1916
|
+
for (const u of Object.values(e.sourceList))
|
|
1917
|
+
u.sourceKey && u.sourceKey !== "$off" && l.add(u.sourceKey);
|
|
1917
1918
|
return l;
|
|
1918
1919
|
}, [e]);
|
|
1919
1920
|
return x1(() => {
|
|
@@ -1925,11 +1926,11 @@ const bt = ({
|
|
|
1925
1926
|
function yt(e, t) {
|
|
1926
1927
|
const [o, c] = Y(!1), [r, l] = Y(!1);
|
|
1927
1928
|
return Z3(() => {
|
|
1928
|
-
const { current: v } = e,
|
|
1929
|
-
const h = v && v.scrollHeight > v.clientHeight,
|
|
1930
|
-
l(h ?? !1), c(
|
|
1929
|
+
const { current: v } = e, g = () => {
|
|
1930
|
+
const h = v && v.scrollHeight > v.clientHeight, f = v && v.scrollWidth > v.clientWidth;
|
|
1931
|
+
l(h ?? !1), c(f ?? !1), t && t(h ?? !1, f ?? !1);
|
|
1931
1932
|
};
|
|
1932
|
-
v &&
|
|
1933
|
+
v && g();
|
|
1933
1934
|
}, [e, t]), { overflowHorizontal: o, overflowVertical: r };
|
|
1934
1935
|
}
|
|
1935
1936
|
function It(e, t) {
|
|
@@ -1941,19 +1942,19 @@ function Rt(e, t) {
|
|
|
1941
1942
|
return W3(c, o);
|
|
1942
1943
|
}
|
|
1943
1944
|
function Et(e) {
|
|
1944
|
-
var
|
|
1945
|
-
const [t, o] = Y(((
|
|
1946
|
-
const { current:
|
|
1947
|
-
|
|
1948
|
-
}, v = (
|
|
1949
|
-
const { current:
|
|
1950
|
-
|
|
1945
|
+
var g, h;
|
|
1946
|
+
const [t, o] = Y(((g = e == null ? void 0 : e.current) == null ? void 0 : g.scrollLeft) ?? 0), [c, r] = Y(((h = e == null ? void 0 : e.current) == null ? void 0 : h.scrollTop) ?? 0), l = (f) => {
|
|
1947
|
+
const { current: u } = e;
|
|
1948
|
+
u && (console.log(u.scrollLeft), u.scrollLeft += f, console.log(u.scrollLeft));
|
|
1949
|
+
}, v = (f) => {
|
|
1950
|
+
const { current: u } = e;
|
|
1951
|
+
u && (console.log(u.scrollTop), u.scrollTop += f, console.log(u.scrollTop));
|
|
1951
1952
|
};
|
|
1952
1953
|
return Z3(() => {
|
|
1953
|
-
const { current:
|
|
1954
|
-
o((
|
|
1954
|
+
const { current: f } = e, u = () => {
|
|
1955
|
+
o((f == null ? void 0 : f.scrollLeft) ?? 0), r((f == null ? void 0 : f.scrollTop) ?? 0);
|
|
1955
1956
|
};
|
|
1956
|
-
|
|
1957
|
+
f && u();
|
|
1957
1958
|
}, [e]), { horizontalScrollPosition: t, verticalScrollPosition: c, scrollHorizontal: l, scrollVertical: v };
|
|
1958
1959
|
}
|
|
1959
1960
|
function Tt(e) {
|
|
@@ -1990,7 +1991,7 @@ function _t() {
|
|
|
1990
1991
|
return () => clearInterval(l);
|
|
1991
1992
|
}, []), { date: e, time: o };
|
|
1992
1993
|
}
|
|
1993
|
-
const
|
|
1994
|
+
const Lt = () => {
|
|
1994
1995
|
const [e, t] = Y(!1), o = y2(), c = I2();
|
|
1995
1996
|
let r;
|
|
1996
1997
|
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: [
|
|
@@ -2025,29 +2026,29 @@ const Pt = () => {
|
|
|
2025
2026
|
iconClassName: r = "",
|
|
2026
2027
|
otherContentClassName: l = "",
|
|
2027
2028
|
disabled: v,
|
|
2028
|
-
feedback:
|
|
2029
|
+
feedback: g,
|
|
2029
2030
|
feedbackClassName: h,
|
|
2030
|
-
onPointerDown:
|
|
2031
|
-
onPointerUp:
|
|
2032
|
-
onPointerLeave:
|
|
2033
|
-
...
|
|
2031
|
+
onPointerDown: f,
|
|
2032
|
+
onPointerUp: u,
|
|
2033
|
+
onPointerLeave: L,
|
|
2034
|
+
...F
|
|
2034
2035
|
}) => {
|
|
2035
|
-
const [a, Z] = Y(!1), C = !v &&
|
|
2036
|
+
const [a, Z] = Y(!1), C = !v && g ? h : "", S = !v && (a || g);
|
|
2036
2037
|
return /* @__PURE__ */ n.jsxs(
|
|
2037
2038
|
"button",
|
|
2038
2039
|
{
|
|
2039
2040
|
type: "button",
|
|
2040
2041
|
className: `${A1.iconbtn} ${o ? A1.iconbtnvert : ""} ${c} ${C}`,
|
|
2041
|
-
...
|
|
2042
|
+
...F,
|
|
2042
2043
|
disabled: v,
|
|
2043
2044
|
onPointerDown: (b) => {
|
|
2044
|
-
Z(!0),
|
|
2045
|
+
Z(!0), f == null || f(b);
|
|
2045
2046
|
},
|
|
2046
2047
|
onPointerUp: (b) => {
|
|
2047
|
-
Z(!1),
|
|
2048
|
+
Z(!1), u == null || u(b);
|
|
2048
2049
|
},
|
|
2049
2050
|
onPointerLeave: (b) => {
|
|
2050
|
-
Z(!1),
|
|
2051
|
+
Z(!1), L == null || L(b);
|
|
2051
2052
|
},
|
|
2052
2053
|
children: [
|
|
2053
2054
|
e && /* @__PURE__ */ n.jsx(
|
|
@@ -3268,7 +3269,7 @@ const Pt = () => {
|
|
|
3268
3269
|
active: e,
|
|
3269
3270
|
disabled: o
|
|
3270
3271
|
}
|
|
3271
|
-
),
|
|
3272
|
+
), Pt = ({
|
|
3272
3273
|
active: e,
|
|
3273
3274
|
// Just to shut up the linter on this template. Prefer deleting this lint rule
|
|
3274
3275
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
@@ -3717,30 +3718,30 @@ function At({
|
|
|
3717
3718
|
const c = t[e] ?? null;
|
|
3718
3719
|
return c || console.error(`Icon ${e} not found in dictionary`), /* @__PURE__ */ n.jsx(Ne, { multiIcon: c, ...o });
|
|
3719
3720
|
}
|
|
3720
|
-
const
|
|
3721
|
-
grid:
|
|
3722
|
-
header:
|
|
3721
|
+
const L8 = "_grid_1cmpp_1", P8 = "_header_1cmpp_11", A8 = "_content_1cmpp_17", $8 = "_footer_1cmpp_23", k8 = "_volume_1cmpp_29", a1 = {
|
|
3722
|
+
grid: L8,
|
|
3723
|
+
header: P8,
|
|
3723
3724
|
content: A8,
|
|
3724
3725
|
footer: $8,
|
|
3725
|
-
volume:
|
|
3726
|
+
volume: k8
|
|
3726
3727
|
}, $t = ({ header: e, footer: t, content: o, volume: c, showVolume: r }) => /* @__PURE__ */ n.jsxs("div", { className: a1.grid, children: [
|
|
3727
3728
|
/* @__PURE__ */ n.jsx("div", { className: a1.header, children: e }),
|
|
3728
3729
|
/* @__PURE__ */ n.jsx("div", { className: a1.content, children: o }),
|
|
3729
3730
|
r && /* @__PURE__ */ n.jsx("div", { className: a1.volume, children: c }),
|
|
3730
3731
|
/* @__PURE__ */ n.jsx("div", { className: a1.footer, children: t })
|
|
3731
|
-
] }),
|
|
3732
|
-
grid:
|
|
3732
|
+
] }), B8 = "_grid_11w5q_1", O8 = "_header_11w5q_11", W8 = "_content_11w5q_17", M1 = {
|
|
3733
|
+
grid: B8,
|
|
3733
3734
|
header: O8,
|
|
3734
3735
|
content: W8
|
|
3735
|
-
},
|
|
3736
|
-
/* @__PURE__ */ n.jsx("div", { className:
|
|
3737
|
-
c && /* @__PURE__ */ n.jsx("div", { className:
|
|
3738
|
-
/* @__PURE__ */ n.jsx("div", { className:
|
|
3739
|
-
] }), V8 = "_grid_1uwfo_1", U8 = "_header_1uwfo_11",
|
|
3736
|
+
}, kt = ({ className: e, header: t, content: o, leftNav: c }) => /* @__PURE__ */ n.jsxs("div", { className: `${e} ${M1.grid}`, children: [
|
|
3737
|
+
/* @__PURE__ */ n.jsx("div", { className: M1.header, children: t }),
|
|
3738
|
+
c && /* @__PURE__ */ n.jsx("div", { className: M1.leftNav, children: c }),
|
|
3739
|
+
/* @__PURE__ */ n.jsx("div", { className: M1.content, children: o })
|
|
3740
|
+
] }), V8 = "_grid_1uwfo_1", U8 = "_header_1uwfo_11", F8 = "_content_1uwfo_17", $1 = {
|
|
3740
3741
|
grid: V8,
|
|
3741
3742
|
header: U8,
|
|
3742
|
-
content:
|
|
3743
|
-
},
|
|
3743
|
+
content: F8
|
|
3744
|
+
}, Bt = ({ className: e, header: t, content: o }) => /* @__PURE__ */ n.jsxs("div", { className: `${e} ${$1.grid}`, children: [
|
|
3744
3745
|
/* @__PURE__ */ n.jsx("div", { className: $1.header, children: t }),
|
|
3745
3746
|
/* @__PURE__ */ n.jsx("div", { className: $1.content, children: o })
|
|
3746
3747
|
] });
|
|
@@ -3754,7 +3755,7 @@ class Ot {
|
|
|
3754
3755
|
function Wt() {
|
|
3755
3756
|
return console.log(location.pathname), location.pathname;
|
|
3756
3757
|
}
|
|
3757
|
-
var
|
|
3758
|
+
var H8 = /* @__PURE__ */ ((e) => (e[e.NotSet = 0] = "NotSet", e[e.Sunday = 1] = "Sunday", e[e.Monday = 2] = "Monday", e[e.Tuesday = 4] = "Tuesday", e[e.Wednesday = 8] = "Wednesday", e[e.Thursday = 16] = "Thursday", e[e.Friday = 32] = "Friday", e[e.Saturday = 64] = "Saturday", e))(H8 || {});
|
|
3758
3759
|
class Vt {
|
|
3759
3760
|
constructor(t, o) {
|
|
3760
3761
|
q(this, "path");
|
|
@@ -3764,9 +3765,9 @@ class Vt {
|
|
|
3764
3765
|
}
|
|
3765
3766
|
const Ut = "$off";
|
|
3766
3767
|
export {
|
|
3767
|
-
|
|
3768
|
-
|
|
3769
|
-
|
|
3768
|
+
H6 as Clock,
|
|
3769
|
+
H8 as DaysOfWeek,
|
|
3770
|
+
Lt as ErrorBox,
|
|
3770
3771
|
Ne as IconButton,
|
|
3771
3772
|
e8 as IconMultiAlert,
|
|
3772
3773
|
t8 as IconMultiBan,
|
|
@@ -3793,7 +3794,7 @@ export {
|
|
|
3793
3794
|
Z8 as IconMultiRoomPC,
|
|
3794
3795
|
S8 as IconMultiShade,
|
|
3795
3796
|
j8 as IconMultiSun,
|
|
3796
|
-
|
|
3797
|
+
Pt as IconMultiTemplate,
|
|
3797
3798
|
C8 as IconMultiUpArrow,
|
|
3798
3799
|
b8 as IconMultiVolDown,
|
|
3799
3800
|
y8 as IconMultiVolMute,
|
|
@@ -3807,30 +3808,30 @@ export {
|
|
|
3807
3808
|
I as MultiStateIconContainer,
|
|
3808
3809
|
At as NamedIconButton,
|
|
3809
3810
|
Ot as ShareState,
|
|
3810
|
-
|
|
3811
|
-
|
|
3811
|
+
kt as TechLayout,
|
|
3812
|
+
Bt as TechPinLayout,
|
|
3812
3813
|
A3 as WS_ADD_EVENT_HANDLER,
|
|
3813
3814
|
_3 as WS_CONNECT,
|
|
3814
|
-
|
|
3815
|
-
|
|
3815
|
+
L3 as WS_DISCONNECT,
|
|
3816
|
+
k3 as WS_RECONNECT,
|
|
3816
3817
|
$3 as WS_REMOVE_EVENT_HANDLER,
|
|
3817
|
-
|
|
3818
|
+
P3 as WS_SEND_MESSAGE,
|
|
3818
3819
|
O3 as WebsocketContext,
|
|
3819
3820
|
T3 as appConfigActions,
|
|
3820
|
-
|
|
3821
|
-
|
|
3821
|
+
ke as createWebSocketMiddleware,
|
|
3822
|
+
w1 as devicesActions,
|
|
3822
3823
|
Wt as getBaseLocation,
|
|
3823
3824
|
f3 as httpClient,
|
|
3824
3825
|
_8 as iconsDictionary,
|
|
3825
3826
|
Ut as roomOffSourceKey,
|
|
3826
|
-
|
|
3827
|
+
m1 as roomsActions,
|
|
3827
3828
|
U as runtimeConfigActions,
|
|
3828
3829
|
C3 as selectAllDevices,
|
|
3829
3830
|
T2 as selectApiPath,
|
|
3830
3831
|
E2 as selectAppConfig,
|
|
3831
3832
|
ce as selectClientId,
|
|
3832
3833
|
he as selectCurrentPopoverIdForGroup,
|
|
3833
|
-
|
|
3834
|
+
L2 as selectDeviceByKey,
|
|
3834
3835
|
b3 as selectDeviceInterfaceSupport,
|
|
3835
3836
|
ve as selectDeviceSupportsInterface,
|
|
3836
3837
|
fe as selectError,
|
|
@@ -3844,22 +3845,22 @@ export {
|
|
|
3844
3845
|
V2 as selectRoomAudioControlPointList,
|
|
3845
3846
|
$2 as selectRoomByKey,
|
|
3846
3847
|
q2 as selectRoomCodecContentDestinationKey,
|
|
3847
|
-
|
|
3848
|
-
|
|
3848
|
+
P2 as selectRoomConfiguration,
|
|
3849
|
+
F2 as selectRoomDestinationList,
|
|
3849
3850
|
U2 as selectRoomDestinations,
|
|
3850
3851
|
ee as selectRoomDisplayStates,
|
|
3851
|
-
|
|
3852
|
+
H2 as selectRoomEnvironmentalDevices,
|
|
3852
3853
|
G2 as selectRoomInCall,
|
|
3853
3854
|
z2 as selectRoomIsCoolingDown,
|
|
3854
3855
|
J2 as selectRoomIsOn,
|
|
3855
3856
|
Y2 as selectRoomIsWarmingUp,
|
|
3856
3857
|
se as selectRoomKey,
|
|
3857
3858
|
O2 as selectRoomLevelControls,
|
|
3858
|
-
|
|
3859
|
+
k2 as selectRoomName,
|
|
3859
3860
|
K2 as selectRoomProgramAudioDestinationKey,
|
|
3860
3861
|
Q2 as selectRoomShareState,
|
|
3861
3862
|
W2 as selectRoomSourceList,
|
|
3862
|
-
|
|
3863
|
+
B2 as selectRoomVolume,
|
|
3863
3864
|
A2 as selectRooms,
|
|
3864
3865
|
ae as selectRuntimeInfo,
|
|
3865
3866
|
ie as selectServerIsRunningOnProcessorHardware,
|
|
@@ -3878,8 +3879,8 @@ export {
|
|
|
3878
3879
|
X8 as useAppConfig,
|
|
3879
3880
|
W1 as useAppDispatch,
|
|
3880
3881
|
m as useAppSelector,
|
|
3881
|
-
|
|
3882
|
-
|
|
3882
|
+
F6 as useAvrControl,
|
|
3883
|
+
w as useButtonHeldHeartbeat,
|
|
3883
3884
|
Q6 as useCameraBase,
|
|
3884
3885
|
S6 as useClientId,
|
|
3885
3886
|
Ct as useDeviceIBasicVolume,
|
|
@@ -3964,25 +3965,25 @@ export {
|
|
|
3964
3965
|
y6 as useRuntimeInfo,
|
|
3965
3966
|
Et as useScroll,
|
|
3966
3967
|
b6 as useServerIsRunningOnProcessorHardware,
|
|
3967
|
-
|
|
3968
|
-
|
|
3968
|
+
L6 as useShowIncomingCallModal,
|
|
3969
|
+
P6 as useShowModal,
|
|
3969
3970
|
$6 as useShowPopoverById,
|
|
3970
3971
|
xe as useShowReconnect,
|
|
3971
3972
|
_6 as useShowShutdownModal,
|
|
3972
3973
|
Tt as useStateIsSynced,
|
|
3973
3974
|
Dt as useSystemControl,
|
|
3974
3975
|
j6 as useSystemUuid,
|
|
3975
|
-
|
|
3976
|
+
k6 as useTheme,
|
|
3976
3977
|
_t as useTimeAndDate,
|
|
3977
3978
|
I6 as useTouchpanelKey,
|
|
3978
3979
|
jt as useTwoWayDisplayBase,
|
|
3979
3980
|
C6 as useUserCode,
|
|
3980
3981
|
R as useWebsocketContext,
|
|
3981
3982
|
I3 as useWsIsConnected,
|
|
3982
|
-
|
|
3983
|
-
|
|
3984
|
-
|
|
3983
|
+
Pe as wsAddEventHandler,
|
|
3984
|
+
B3 as wsConnect,
|
|
3985
|
+
B6 as wsDisconnect,
|
|
3985
3986
|
$e as wsReconnect,
|
|
3986
3987
|
Ae as wsRemoveEventHandler,
|
|
3987
|
-
|
|
3988
|
+
Le as wsSendMessage
|
|
3988
3989
|
};
|