@pepperdash/mobile-control-react-app-core 1.22.11-socket-connection-issues.2 → 1.23.0-ci-updates.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.
- package/dist/index.d.ts +5 -5
- package/dist/mobile-control-react-app-core.es.js +454 -447
- 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/devices/devices.slice.d.ts.map +1 -1
- 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/rooms/rooms.slice.d.ts.map +1 -1
- 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 -9
|
@@ -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,111 +22,111 @@ 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
|
|
33
|
-
|
|
32
|
+
const $ = (e) => e.rooms, P2 = (e) => M(
|
|
33
|
+
$,
|
|
34
34
|
(t) => t[e] ? t[e].configuration : void 0
|
|
35
|
-
),
|
|
36
|
-
|
|
35
|
+
), A2 = M(
|
|
36
|
+
$,
|
|
37
37
|
(e) => e
|
|
38
|
-
),
|
|
39
|
-
|
|
38
|
+
), $2 = (e) => M(
|
|
39
|
+
$,
|
|
40
40
|
(t) => t[e] ? t[e] : void 0
|
|
41
|
-
),
|
|
42
|
-
|
|
41
|
+
), k2 = (e) => M(
|
|
42
|
+
$,
|
|
43
43
|
(t) => t[e] ? t[e].name : void 0
|
|
44
|
-
),
|
|
45
|
-
|
|
44
|
+
), B2 = (e, t) => M(
|
|
45
|
+
$,
|
|
46
46
|
(o) => o[e] ? o[e].volumes[t] : void 0
|
|
47
47
|
), O2 = (e) => M(
|
|
48
|
-
|
|
48
|
+
$,
|
|
49
49
|
(t) => t[e] ? t[e] : void 0
|
|
50
50
|
), W2 = (e) => M(
|
|
51
|
-
|
|
51
|
+
$,
|
|
52
52
|
(t) => {
|
|
53
53
|
var o, c;
|
|
54
54
|
return t[e] ? (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.sourceList : void 0;
|
|
55
55
|
}
|
|
56
56
|
), V2 = (e) => M(
|
|
57
|
-
|
|
57
|
+
$,
|
|
58
58
|
(t) => {
|
|
59
59
|
var o, c;
|
|
60
60
|
return t[e] ? (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.audioControlPointList : void 0;
|
|
61
61
|
}
|
|
62
62
|
), U2 = (e) => M(
|
|
63
|
-
|
|
63
|
+
$,
|
|
64
64
|
(t) => {
|
|
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
|
-
),
|
|
69
|
-
|
|
68
|
+
), F2 = (e) => M(
|
|
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
|
-
),
|
|
75
|
-
|
|
74
|
+
), H2 = (e) => M(
|
|
75
|
+
$,
|
|
76
76
|
(t) => {
|
|
77
77
|
var o, c;
|
|
78
78
|
return t[e] ? (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.environmentalDevices : void 0;
|
|
79
79
|
}
|
|
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
|
+
$,
|
|
88
88
|
(t) => {
|
|
89
89
|
var o, c, r;
|
|
90
90
|
return t[e] ? (r = (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.destinationList.codecContent) == null ? void 0 : r.sinkKey : void 0;
|
|
91
91
|
}
|
|
92
92
|
), G2 = (e) => M(
|
|
93
|
-
|
|
93
|
+
$,
|
|
94
94
|
(t) => {
|
|
95
95
|
var o;
|
|
96
96
|
return t[e] ? (o = t[e]) == null ? void 0 : o.isInCall : void 0;
|
|
97
97
|
}
|
|
98
98
|
), Y2 = (e) => M(
|
|
99
|
-
|
|
99
|
+
$,
|
|
100
100
|
(t) => {
|
|
101
101
|
var o;
|
|
102
102
|
return t[e] ? (o = t[e]) == null ? void 0 : o.isWarmingUp : void 0;
|
|
103
103
|
}
|
|
104
104
|
), z2 = (e) => M(
|
|
105
|
-
|
|
105
|
+
$,
|
|
106
106
|
(t) => {
|
|
107
107
|
var o;
|
|
108
108
|
return t[e] ? (o = t[e]) == null ? void 0 : o.isCoolingDown : void 0;
|
|
109
109
|
}
|
|
110
110
|
), J2 = (e) => M(
|
|
111
|
-
|
|
111
|
+
$,
|
|
112
112
|
(t) => {
|
|
113
113
|
var o;
|
|
114
114
|
return t[e] ? (o = t[e]) == null ? void 0 : o.isOn : void 0;
|
|
115
115
|
}
|
|
116
116
|
), X2 = (e) => M(
|
|
117
|
-
|
|
117
|
+
$,
|
|
118
118
|
(t) => {
|
|
119
119
|
var o;
|
|
120
120
|
return t[e] ? (o = t[e]) == null ? void 0 : o.advancedSharingActive : void 0;
|
|
121
121
|
}
|
|
122
122
|
), Q2 = (e) => M(
|
|
123
|
-
|
|
123
|
+
$,
|
|
124
124
|
(t) => {
|
|
125
125
|
var o;
|
|
126
126
|
return t[e] ? (o = t[e]) == null ? void 0 : o.share : void 0;
|
|
127
127
|
}
|
|
128
128
|
), N2 = (e) => M(
|
|
129
|
-
|
|
129
|
+
$,
|
|
130
130
|
(t) => {
|
|
131
131
|
var o, c;
|
|
132
132
|
return t[e] ? (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.zoomRoomControllerKey : void 0;
|
|
@@ -148,20 +148,20 @@ const A = (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() {
|
|
155
|
-
return m(
|
|
155
|
+
return m(A2);
|
|
156
156
|
}
|
|
157
157
|
function S1(e) {
|
|
158
|
-
return m(
|
|
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,24 +289,31 @@ 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: {
|
|
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.
|
|
299
|
+
const r = t.payload.content, l = e[c] ?? {}, v = S3.mergeWith(
|
|
300
|
+
{},
|
|
301
|
+
l,
|
|
302
|
+
r,
|
|
303
|
+
(g, h) => {
|
|
304
|
+
if (Array.isArray(h)) return h.slice();
|
|
305
|
+
}
|
|
306
|
+
);
|
|
300
307
|
e[c] = v;
|
|
301
308
|
},
|
|
302
309
|
clearDevices() {
|
|
303
310
|
return v3;
|
|
304
311
|
}
|
|
305
312
|
}
|
|
306
|
-
}),
|
|
307
|
-
setDeviceState:
|
|
308
|
-
clearDevices:
|
|
309
|
-
}, ye =
|
|
313
|
+
}), w1 = {
|
|
314
|
+
setDeviceState: k1.actions.setDeviceState,
|
|
315
|
+
clearDevices: k1.actions.clearDevices
|
|
316
|
+
}, ye = k1.reducer;
|
|
310
317
|
class Ie {
|
|
311
318
|
constructor() {
|
|
312
319
|
q(this, "uuid", "current-uuid");
|
|
@@ -322,24 +329,26 @@ function Re(e) {
|
|
|
322
329
|
function Ee(e, t) {
|
|
323
330
|
sessionStorage.setItem(e, t);
|
|
324
331
|
}
|
|
325
|
-
const g3 = {},
|
|
332
|
+
const g3 = {}, B1 = d1({
|
|
326
333
|
name: "rooms",
|
|
327
334
|
initialState: g3,
|
|
328
335
|
reducers: {
|
|
329
336
|
setRoomState(e, t) {
|
|
330
337
|
const o = t.payload.type, c = o.slice(o.lastIndexOf("/") + 1);
|
|
331
338
|
if (!c) return;
|
|
332
|
-
const r = t.payload.content, l = e[c] ?? {}, v = S3.
|
|
339
|
+
const r = t.payload.content, l = e[c] ?? {}, v = S3.mergeWith({}, l, r, (g, h) => {
|
|
340
|
+
if (Array.isArray(h)) return h;
|
|
341
|
+
});
|
|
333
342
|
e[c] = v;
|
|
334
343
|
},
|
|
335
344
|
clearRooms() {
|
|
336
345
|
return g3;
|
|
337
346
|
}
|
|
338
347
|
}
|
|
339
|
-
}),
|
|
340
|
-
setRoomState:
|
|
341
|
-
clearRooms:
|
|
342
|
-
}, Te =
|
|
348
|
+
}), m1 = {
|
|
349
|
+
setRoomState: B1.actions.setRoomState,
|
|
350
|
+
clearRooms: B1.actions.clearRooms
|
|
351
|
+
}, Te = B1.reducer, De = {
|
|
343
352
|
apiVersion: "",
|
|
344
353
|
serverIsRunningOnProcessorHardware: !1,
|
|
345
354
|
websocket: {
|
|
@@ -370,7 +379,7 @@ const g3 = {}, k1 = u1({
|
|
|
370
379
|
userCode: "",
|
|
371
380
|
qrUrl: ""
|
|
372
381
|
}
|
|
373
|
-
}, D3 =
|
|
382
|
+
}, D3 = d1({
|
|
374
383
|
name: "runtimeConfig",
|
|
375
384
|
initialState: De,
|
|
376
385
|
reducers: {
|
|
@@ -405,16 +414,16 @@ const g3 = {}, k1 = u1({
|
|
|
405
414
|
e.touchpanelKey = t.payload;
|
|
406
415
|
}
|
|
407
416
|
}
|
|
408
|
-
}), U = D3.actions, _e = D3.reducer,
|
|
409
|
-
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,
|
|
410
419
|
payload: { messageType: e, content: t }
|
|
411
|
-
}),
|
|
412
|
-
type: $3,
|
|
413
|
-
payload: { eventType: e, key: t, callback: o }
|
|
414
|
-
}), $e = (e, t) => ({
|
|
420
|
+
}), Pe = (e, t, o) => ({
|
|
415
421
|
type: A3,
|
|
422
|
+
payload: { eventType: e, key: t, callback: o }
|
|
423
|
+
}), Ae = (e, t) => ({
|
|
424
|
+
type: $3,
|
|
416
425
|
payload: { eventType: e, key: t }
|
|
417
|
-
}),
|
|
426
|
+
}), $e = () => ({ type: k3 }), ke = () => {
|
|
418
427
|
const e = {
|
|
419
428
|
client: null,
|
|
420
429
|
token: null,
|
|
@@ -423,47 +432,47 @@ const g3 = {}, k1 = u1({
|
|
|
423
432
|
eventHandlers: {}
|
|
424
433
|
}, t = async (a) => {
|
|
425
434
|
try {
|
|
426
|
-
const
|
|
427
|
-
|
|
428
|
-
const C = `/${
|
|
435
|
+
const Z = location.pathname.split("/").filter((b) => b.length > 0);
|
|
436
|
+
Z.length >= 5 ? Z.length = 5 : Z.length = 2;
|
|
437
|
+
const C = `/${Z.join("/")}`, S = await P1.get(
|
|
429
438
|
"/_local-config/_config.local.json",
|
|
430
439
|
{ baseURL: C }
|
|
431
440
|
);
|
|
432
|
-
if (
|
|
433
|
-
const b =
|
|
434
|
-
a(T3.setAppConfig(
|
|
435
|
-
const x = await
|
|
441
|
+
if (S.status === 200 && S.data) {
|
|
442
|
+
const b = S.data.apiPath;
|
|
443
|
+
a(T3.setAppConfig(S.data));
|
|
444
|
+
const x = await P1.get(
|
|
436
445
|
`${b}/version`
|
|
437
446
|
);
|
|
438
447
|
x.status === 200 && x.data && a(U.setRuntimeConfig(x.data));
|
|
439
448
|
}
|
|
440
|
-
} catch (
|
|
441
|
-
console.error("Error getting config",
|
|
449
|
+
} catch (Z) {
|
|
450
|
+
console.error("Error getting config", Z);
|
|
442
451
|
}
|
|
443
452
|
return !0;
|
|
444
|
-
}, o = async (a,
|
|
453
|
+
}, o = async (a, Z, C) => {
|
|
445
454
|
try {
|
|
446
|
-
const
|
|
447
|
-
`${a}/ui/joinroom?token=${
|
|
455
|
+
const S = await P1.get(
|
|
456
|
+
`${a}/ui/joinroom?token=${Z}`
|
|
448
457
|
);
|
|
449
|
-
return
|
|
450
|
-
} catch (
|
|
451
|
-
return console.log(
|
|
458
|
+
return S.status === 200 && S.data ? (C(U.setRoomData(S.data)), S.data) : null;
|
|
459
|
+
} catch (S) {
|
|
460
|
+
return console.log(S), S instanceof p2 && S.response && S.response.status === 498 ? (console.error("Invalid token. Unable to join room"), C(
|
|
452
461
|
O.setErrorMessage(
|
|
453
|
-
`Token ${
|
|
462
|
+
`Token ${Z} is invalid. Unable to join room`
|
|
454
463
|
)
|
|
455
|
-
), null) : (console.error("Error getting room data",
|
|
464
|
+
), null) : (console.error("Error getting room data", S), S instanceof Error ? C(O.setErrorMessage(S.message)) : C(O.setErrorMessage("Error getting room data")), null);
|
|
456
465
|
}
|
|
457
466
|
}, c = (a) => {
|
|
458
467
|
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(
|
|
468
|
+
e.waitingToReconnect = !1, e.reconnectTimer = null, console.log("WebSocket middleware: Attempting automatic reconnection..."), a(B3());
|
|
460
469
|
}, 5e3);
|
|
461
470
|
}, r = () => {
|
|
462
471
|
e.reconnectTimer && (console.log("WebSocket middleware: Stopping reconnection loop"), clearTimeout(e.reconnectTimer), e.reconnectTimer = null);
|
|
463
472
|
}, l = (a) => {
|
|
464
|
-
a(O.setShowReconnect(!0)), a(U.setWebsocketIsConnected(!1)), a(
|
|
465
|
-
}, v = (a,
|
|
466
|
-
const C = a(),
|
|
473
|
+
a(O.setShowReconnect(!0)), a(U.setWebsocketIsConnected(!1)), a(w1.clearDevices()), a(m1.clearRooms()), a(O.clearAllModals()), a(O.clearSyncState());
|
|
474
|
+
}, v = (a, Z) => {
|
|
475
|
+
const C = a(), S = Z ?? C.runtimeConfig.roomData.roomKey, { clientId: b } = C.runtimeConfig.roomData, x = C.runtimeConfig.websocket.isConnected;
|
|
467
476
|
if (!Z || !x || !b) {
|
|
468
477
|
console.log("WebSocket middleware: Cannot request room status", {
|
|
469
478
|
hasRoomKey: !!Z,
|
|
@@ -472,24 +481,21 @@ const g3 = {}, k1 = u1({
|
|
|
472
481
|
});
|
|
473
482
|
return;
|
|
474
483
|
}
|
|
475
|
-
console.log(
|
|
476
|
-
"WebSocket middleware: Requesting status from room:",
|
|
477
|
-
Z
|
|
478
|
-
), e.client && x && e.client.send(
|
|
484
|
+
console.log("WebSocket middleware: Requesting status from room:", Z), e.client && x && e.client.send(
|
|
479
485
|
JSON.stringify({
|
|
480
|
-
type: `/room/${
|
|
486
|
+
type: `/room/${S}/status`,
|
|
481
487
|
clientId: b,
|
|
482
488
|
content: null
|
|
483
489
|
})
|
|
484
490
|
);
|
|
485
|
-
},
|
|
491
|
+
}, g = async (a, Z) => {
|
|
486
492
|
console.log("WebSocket middleware: Attempting to connect...");
|
|
487
|
-
const C =
|
|
488
|
-
if (!
|
|
493
|
+
const C = Z(), { apiPath: S } = C.appConfig.config, { serverIsRunningOnProcessorHardware: b } = C.runtimeConfig;
|
|
494
|
+
if (!S || !e.token) {
|
|
489
495
|
console.log(
|
|
490
496
|
"WebSocket middleware: Cannot connect - missing requirements",
|
|
491
497
|
{
|
|
492
|
-
hasApiPath: !!
|
|
498
|
+
hasApiPath: !!S,
|
|
493
499
|
hasToken: !!e.token
|
|
494
500
|
}
|
|
495
501
|
);
|
|
@@ -507,7 +513,7 @@ const g3 = {}, k1 = u1({
|
|
|
507
513
|
}
|
|
508
514
|
e.waitingToReconnect = !0;
|
|
509
515
|
try {
|
|
510
|
-
const x = await o(
|
|
516
|
+
const x = await o(S, e.token, a);
|
|
511
517
|
if (!x) {
|
|
512
518
|
console.log(
|
|
513
519
|
"WebSocket middleware: Failed to get room data, will retry..."
|
|
@@ -515,24 +521,24 @@ const g3 = {}, k1 = u1({
|
|
|
515
521
|
return;
|
|
516
522
|
}
|
|
517
523
|
console.log("WebSocket middleware: Connecting to websocket");
|
|
518
|
-
const C1 = `${
|
|
519
|
-
e.client = K, K.onopen = (
|
|
520
|
-
console.log("WebSocket middleware: Connected",
|
|
524
|
+
const C1 = `${S.replace("http", "ws")}/ui/join/${e.token}?clientId=${x.clientId}`, K = new WebSocket(C1);
|
|
525
|
+
e.client = K, K.onopen = (k) => {
|
|
526
|
+
console.log("WebSocket middleware: Connected", k.type, k.target), e.waitingToReconnect = !1, r(), setTimeout(() => {
|
|
521
527
|
e.client === K && K.readyState === WebSocket.OPEN && a(U.setWebsocketIsConnected(!0));
|
|
522
528
|
}, 100);
|
|
523
|
-
}, K.onerror = (
|
|
524
|
-
console.error("WebSocket middleware: Error",
|
|
525
|
-
}, K.onclose = (
|
|
529
|
+
}, K.onerror = (k) => {
|
|
530
|
+
console.error("WebSocket middleware: Error", k), l(a);
|
|
531
|
+
}, K.onclose = (k) => {
|
|
526
532
|
var D;
|
|
527
533
|
if (console.log(
|
|
528
534
|
"WebSocket middleware: Disconnected",
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
),
|
|
535
|
+
k.reason,
|
|
536
|
+
k.code
|
|
537
|
+
), k.code === 4100) {
|
|
532
538
|
console.log("WebSocket middleware: Closed by client (cleanup)"), r(), l(a);
|
|
533
539
|
return;
|
|
534
540
|
}
|
|
535
|
-
if (e.waitingToReconnect = !0,
|
|
541
|
+
if (e.waitingToReconnect = !0, k.code === 4e3) {
|
|
536
542
|
console.log("WebSocket middleware: User code changed"), r(), a(
|
|
537
543
|
U.setUserCode({ userCode: "", qrUrl: "" })
|
|
538
544
|
), a(
|
|
@@ -542,7 +548,7 @@ const g3 = {}, k1 = u1({
|
|
|
542
548
|
), l(a);
|
|
543
549
|
return;
|
|
544
550
|
}
|
|
545
|
-
if (
|
|
551
|
+
if (k.code === 4002) {
|
|
546
552
|
console.log("WebSocket middleware: Room combination changed"), r(), a(
|
|
547
553
|
O.setErrorMessage(
|
|
548
554
|
"Room combination changed. Click Reconnect to re-join the room"
|
|
@@ -550,8 +556,8 @@ const g3 = {}, k1 = u1({
|
|
|
550
556
|
), l(a);
|
|
551
557
|
return;
|
|
552
558
|
}
|
|
553
|
-
if (
|
|
554
|
-
if (!!((D =
|
|
559
|
+
if (k.code === 4001)
|
|
560
|
+
if (!!((D = Z().runtimeConfig) != null && D.touchpanelKey))
|
|
555
561
|
console.log(
|
|
556
562
|
"WebSocket middleware: Code 4001 received with touchpanel key present, will auto-reconnect"
|
|
557
563
|
);
|
|
@@ -581,10 +587,10 @@ const g3 = {}, k1 = u1({
|
|
|
581
587
|
O.setErrorMessage(
|
|
582
588
|
"Connection lost. Attempting to reconnect..."
|
|
583
589
|
)
|
|
584
|
-
), a(U.setWebsocketIsConnected(!1)), a(
|
|
585
|
-
}, 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) => {
|
|
586
592
|
try {
|
|
587
|
-
const D = JSON.parse(
|
|
593
|
+
const D = JSON.parse(k.data);
|
|
588
594
|
if (D.type === "close") {
|
|
589
595
|
K.close(4001, D.content);
|
|
590
596
|
return;
|
|
@@ -599,7 +605,7 @@ const g3 = {}, k1 = u1({
|
|
|
599
605
|
);
|
|
600
606
|
break;
|
|
601
607
|
case "/system/roomKey":
|
|
602
|
-
a(
|
|
608
|
+
a(m1.clearRooms()), a(w1.clearDevices()), a(O.clearSyncState()), a(
|
|
603
609
|
U.setCurrentRoomKey(
|
|
604
610
|
D.content
|
|
605
611
|
)
|
|
@@ -644,7 +650,7 @@ const g3 = {}, k1 = u1({
|
|
|
644
650
|
);
|
|
645
651
|
}
|
|
646
652
|
});
|
|
647
|
-
} else D.type.startsWith("/room/") ? a(
|
|
653
|
+
} else D.type.startsWith("/room/") ? a(m1.setRoomState(D)) : D.type.startsWith("/device/") && a(w1.setDeviceState(D));
|
|
648
654
|
} catch (D) {
|
|
649
655
|
console.error("WebSocket middleware: Message handling error", D);
|
|
650
656
|
}
|
|
@@ -654,60 +660,60 @@ const g3 = {}, k1 = u1({
|
|
|
654
660
|
}
|
|
655
661
|
}, h = () => {
|
|
656
662
|
e.client && (console.log("WebSocket middleware: Disconnecting"), r(), e.client.close(4100, "Client requested disconnect"), e.client = null);
|
|
657
|
-
},
|
|
658
|
-
const
|
|
663
|
+
}, f = (a, Z, C) => {
|
|
664
|
+
const S = C(), b = S.runtimeConfig.websocket.isConnected, x = S.runtimeConfig.roomData.clientId;
|
|
659
665
|
e.client && b ? e.client.send(
|
|
660
|
-
JSON.stringify({ type: a, clientId: x, content:
|
|
666
|
+
JSON.stringify({ type: a, clientId: x, content: Z })
|
|
661
667
|
) : console.warn("WebSocket middleware: Cannot send message - not connected");
|
|
662
|
-
},
|
|
663
|
-
e.eventHandlers[a] || (e.eventHandlers[a] = {}), e.eventHandlers[a][
|
|
664
|
-
},
|
|
665
|
-
e.eventHandlers[a] && (delete e.eventHandlers[a][
|
|
668
|
+
}, u = (a, Z, C) => {
|
|
669
|
+
e.eventHandlers[a] || (e.eventHandlers[a] = {}), e.eventHandlers[a][Z] = C, console.log("WebSocket middleware: Event handler added", a, Z);
|
|
670
|
+
}, L = (a, Z) => {
|
|
671
|
+
e.eventHandlers[a] && (delete e.eventHandlers[a][Z], console.log(
|
|
666
672
|
"WebSocket middleware: Event handler removed",
|
|
667
673
|
a,
|
|
668
|
-
|
|
674
|
+
Z
|
|
669
675
|
));
|
|
670
|
-
},
|
|
671
|
-
const
|
|
676
|
+
}, F = (a) => {
|
|
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}`;
|
|
672
678
|
window.location.href = x ? `${W}&Code=${x}` : W;
|
|
673
679
|
};
|
|
674
|
-
return (a) => (
|
|
675
|
-
const
|
|
680
|
+
return (a) => (Z) => (C) => {
|
|
681
|
+
const S = Z(C);
|
|
676
682
|
if (!C || typeof C != "object" || !("type" in C))
|
|
677
|
-
return
|
|
683
|
+
return S;
|
|
678
684
|
const b = C;
|
|
679
685
|
return (async () => {
|
|
680
686
|
switch (b.type) {
|
|
681
687
|
case _3: {
|
|
682
688
|
let W = new URLSearchParams(window.location.search).get("token");
|
|
683
|
-
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);
|
|
684
690
|
break;
|
|
685
691
|
}
|
|
686
|
-
case
|
|
692
|
+
case L3:
|
|
687
693
|
h();
|
|
688
694
|
break;
|
|
689
|
-
case
|
|
690
|
-
|
|
695
|
+
case P3:
|
|
696
|
+
f(
|
|
691
697
|
b.payload.messageType,
|
|
692
698
|
b.payload.content,
|
|
693
699
|
a.getState
|
|
694
700
|
);
|
|
695
701
|
break;
|
|
696
|
-
case
|
|
697
|
-
|
|
702
|
+
case A3:
|
|
703
|
+
u(
|
|
698
704
|
b.payload.eventType,
|
|
699
705
|
b.payload.key,
|
|
700
706
|
b.payload.callback
|
|
701
707
|
);
|
|
702
708
|
break;
|
|
703
|
-
case
|
|
704
|
-
|
|
709
|
+
case $3:
|
|
710
|
+
L(
|
|
705
711
|
b.payload.eventType,
|
|
706
712
|
b.payload.key
|
|
707
713
|
);
|
|
708
714
|
break;
|
|
709
|
-
case
|
|
710
|
-
|
|
715
|
+
case k3:
|
|
716
|
+
F(a.getState);
|
|
711
717
|
break;
|
|
712
718
|
default:
|
|
713
719
|
if (C.type === U.setWebsocketIsConnected.type)
|
|
@@ -731,22 +737,22 @@ const g3 = {}, k1 = u1({
|
|
|
731
737
|
}
|
|
732
738
|
})().catch((x) => {
|
|
733
739
|
console.error("WebSocket middleware: Error handling action", x);
|
|
734
|
-
}),
|
|
740
|
+
}), S;
|
|
735
741
|
};
|
|
736
|
-
},
|
|
742
|
+
}, Be = S2({
|
|
737
743
|
appConfig: be,
|
|
738
744
|
runtimeConfig: _e,
|
|
739
745
|
rooms: Te,
|
|
740
746
|
devices: ye,
|
|
741
747
|
ui: je
|
|
742
748
|
}), Oe = j2({
|
|
743
|
-
reducer:
|
|
749
|
+
reducer: Be,
|
|
744
750
|
middleware: (e) => e({
|
|
745
751
|
serializableCheck: {
|
|
746
752
|
// Ignore WebSocket actions with callbacks
|
|
747
753
|
ignoredActions: ["websocket/addEventHandler"]
|
|
748
754
|
}
|
|
749
|
-
}).concat(
|
|
755
|
+
}).concat(ke())
|
|
750
756
|
}), f3 = M3.create();
|
|
751
757
|
function O6() {
|
|
752
758
|
const e = W1();
|
|
@@ -772,7 +778,7 @@ function O6() {
|
|
|
772
778
|
return !0;
|
|
773
779
|
};
|
|
774
780
|
}
|
|
775
|
-
var
|
|
781
|
+
var p1 = { exports: {} }, l1 = {};
|
|
776
782
|
/**
|
|
777
783
|
* @license React
|
|
778
784
|
* react-jsx-runtime.production.min.js
|
|
@@ -787,12 +793,12 @@ function We() {
|
|
|
787
793
|
if (w3) return l1;
|
|
788
794
|
w3 = 1;
|
|
789
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 };
|
|
790
|
-
function v(
|
|
791
|
-
var
|
|
792
|
-
|
|
793
|
-
for (
|
|
794
|
-
if (
|
|
795
|
-
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 };
|
|
796
802
|
}
|
|
797
803
|
return l1.Fragment = o, l1.jsx = v, l1.jsxs = v, l1;
|
|
798
804
|
}
|
|
@@ -808,47 +814,47 @@ var i1 = {};
|
|
|
808
814
|
*/
|
|
809
815
|
var m3;
|
|
810
816
|
function Ve() {
|
|
811
|
-
return m3 || (m3 = 1, process.env.NODE_ENV !== "production" && function() {
|
|
812
|
-
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"),
|
|
813
|
-
function
|
|
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
|
+
function S(s) {
|
|
814
820
|
if (s === null || typeof s != "object")
|
|
815
821
|
return null;
|
|
816
|
-
var i =
|
|
822
|
+
var i = Z && s[Z] || s[C];
|
|
817
823
|
return typeof i == "function" ? i : null;
|
|
818
824
|
}
|
|
819
825
|
var b = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
820
826
|
function x(s) {
|
|
821
827
|
{
|
|
822
|
-
for (var i = arguments.length,
|
|
823
|
-
|
|
824
|
-
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);
|
|
825
831
|
}
|
|
826
832
|
}
|
|
827
|
-
function W(s, i,
|
|
833
|
+
function W(s, i, d) {
|
|
828
834
|
{
|
|
829
835
|
var p = b.ReactDebugCurrentFrame, E = p.getStackAddendum();
|
|
830
|
-
E !== "" && (i += "%s",
|
|
831
|
-
var T =
|
|
836
|
+
E !== "" && (i += "%s", d = d.concat([E]));
|
|
837
|
+
var T = d.map(function(y) {
|
|
832
838
|
return String(y);
|
|
833
839
|
});
|
|
834
840
|
T.unshift("Warning: " + i), Function.prototype.apply.call(console[s], console, T);
|
|
835
841
|
}
|
|
836
842
|
}
|
|
837
|
-
var C1 = !1, K = !1,
|
|
843
|
+
var C1 = !1, K = !1, k = !1, D = !1, z = !1, o1;
|
|
838
844
|
o1 = Symbol.for("react.module.reference");
|
|
839
845
|
function b1(s) {
|
|
840
|
-
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
|
|
841
847
|
// types supported by any Flight configuration anywhere since
|
|
842
848
|
// we don't know which Flight build this will end up being used
|
|
843
849
|
// with.
|
|
844
850
|
s.$$typeof === o1 || s.getModuleId !== void 0));
|
|
845
851
|
}
|
|
846
|
-
function U3(s, i,
|
|
852
|
+
function U3(s, i, d) {
|
|
847
853
|
var p = s.displayName;
|
|
848
854
|
if (p)
|
|
849
855
|
return p;
|
|
850
856
|
var E = i.displayName || i.name || "";
|
|
851
|
-
return E !== "" ?
|
|
857
|
+
return E !== "" ? d + "(" + E + ")" : d;
|
|
852
858
|
}
|
|
853
859
|
function U1(s) {
|
|
854
860
|
return s.displayName || "Context";
|
|
@@ -869,25 +875,25 @@ function Ve() {
|
|
|
869
875
|
return "Profiler";
|
|
870
876
|
case r:
|
|
871
877
|
return "StrictMode";
|
|
872
|
-
case
|
|
878
|
+
case f:
|
|
873
879
|
return "Suspense";
|
|
874
|
-
case
|
|
880
|
+
case u:
|
|
875
881
|
return "SuspenseList";
|
|
876
882
|
}
|
|
877
883
|
if (typeof s == "object")
|
|
878
884
|
switch (s.$$typeof) {
|
|
879
|
-
case
|
|
885
|
+
case g:
|
|
880
886
|
var i = s;
|
|
881
887
|
return U1(i) + ".Consumer";
|
|
882
888
|
case v:
|
|
883
|
-
var
|
|
884
|
-
return U1(
|
|
889
|
+
var d = s;
|
|
890
|
+
return U1(d._context) + ".Provider";
|
|
885
891
|
case h:
|
|
886
892
|
return U3(s, s.render, "ForwardRef");
|
|
887
|
-
case
|
|
893
|
+
case L:
|
|
888
894
|
var p = s.displayName || null;
|
|
889
895
|
return p !== null ? p : J(s.type) || "Memo";
|
|
890
|
-
case
|
|
896
|
+
case F: {
|
|
891
897
|
var E = s, T = E._payload, y = E._init;
|
|
892
898
|
try {
|
|
893
899
|
return J(y(T));
|
|
@@ -898,14 +904,14 @@ function Ve() {
|
|
|
898
904
|
}
|
|
899
905
|
return null;
|
|
900
906
|
}
|
|
901
|
-
var X = Object.assign, s1 = 0,
|
|
907
|
+
var X = Object.assign, s1 = 0, F1, H1, K1, q1, G1, Y1, z1;
|
|
902
908
|
function J1() {
|
|
903
909
|
}
|
|
904
910
|
J1.__reactDisabledLog = !0;
|
|
905
|
-
function
|
|
911
|
+
function F3() {
|
|
906
912
|
{
|
|
907
913
|
if (s1 === 0) {
|
|
908
|
-
|
|
914
|
+
F1 = console.log, H1 = console.info, K1 = console.warn, q1 = console.error, G1 = console.group, Y1 = console.groupCollapsed, z1 = console.groupEnd;
|
|
909
915
|
var s = {
|
|
910
916
|
configurable: !0,
|
|
911
917
|
enumerable: !0,
|
|
@@ -925,7 +931,7 @@ function Ve() {
|
|
|
925
931
|
s1++;
|
|
926
932
|
}
|
|
927
933
|
}
|
|
928
|
-
function
|
|
934
|
+
function H3() {
|
|
929
935
|
{
|
|
930
936
|
if (s1--, s1 === 0) {
|
|
931
937
|
var s = {
|
|
@@ -935,10 +941,10 @@ function Ve() {
|
|
|
935
941
|
};
|
|
936
942
|
Object.defineProperties(console, {
|
|
937
943
|
log: X({}, s, {
|
|
938
|
-
value:
|
|
944
|
+
value: F1
|
|
939
945
|
}),
|
|
940
946
|
info: X({}, s, {
|
|
941
|
-
value:
|
|
947
|
+
value: H1
|
|
942
948
|
}),
|
|
943
949
|
warn: X({}, s, {
|
|
944
950
|
value: K1
|
|
@@ -961,7 +967,7 @@ function Ve() {
|
|
|
961
967
|
}
|
|
962
968
|
}
|
|
963
969
|
var y1 = b.ReactCurrentDispatcher, I1;
|
|
964
|
-
function
|
|
970
|
+
function v1(s, i, d) {
|
|
965
971
|
{
|
|
966
972
|
if (I1 === void 0)
|
|
967
973
|
try {
|
|
@@ -974,25 +980,25 @@ function Ve() {
|
|
|
974
980
|
` + I1 + s;
|
|
975
981
|
}
|
|
976
982
|
}
|
|
977
|
-
var R1 = !1,
|
|
983
|
+
var R1 = !1, h1;
|
|
978
984
|
{
|
|
979
985
|
var K3 = typeof WeakMap == "function" ? WeakMap : Map;
|
|
980
|
-
|
|
986
|
+
h1 = new K3();
|
|
981
987
|
}
|
|
982
988
|
function X1(s, i) {
|
|
983
989
|
if (!s || R1)
|
|
984
990
|
return "";
|
|
985
991
|
{
|
|
986
|
-
var
|
|
987
|
-
if (
|
|
988
|
-
return
|
|
992
|
+
var d = h1.get(s);
|
|
993
|
+
if (d !== void 0)
|
|
994
|
+
return d;
|
|
989
995
|
}
|
|
990
996
|
var p;
|
|
991
997
|
R1 = !0;
|
|
992
998
|
var E = Error.prepareStackTrace;
|
|
993
999
|
Error.prepareStackTrace = void 0;
|
|
994
1000
|
var T;
|
|
995
|
-
T = y1.current, y1.current = null,
|
|
1001
|
+
T = y1.current, y1.current = null, F3();
|
|
996
1002
|
try {
|
|
997
1003
|
if (i) {
|
|
998
1004
|
var y = function() {
|
|
@@ -1028,58 +1034,58 @@ function Ve() {
|
|
|
1028
1034
|
} catch (V) {
|
|
1029
1035
|
if (V && p && typeof V.stack == "string") {
|
|
1030
1036
|
for (var j = V.stack.split(`
|
|
1031
|
-
`),
|
|
1032
|
-
`),
|
|
1033
|
-
|
|
1034
|
-
for (;
|
|
1035
|
-
if (j[
|
|
1036
|
-
if (
|
|
1037
|
+
`), B = p.stack.split(`
|
|
1038
|
+
`), P = j.length - 1, A = B.length - 1; P >= 1 && A >= 0 && j[P] !== B[A]; )
|
|
1039
|
+
A--;
|
|
1040
|
+
for (; P >= 1 && A >= 0; P--, A--)
|
|
1041
|
+
if (j[P] !== B[A]) {
|
|
1042
|
+
if (P !== 1 || A !== 1)
|
|
1037
1043
|
do
|
|
1038
|
-
if (
|
|
1039
|
-
var
|
|
1040
|
-
` + j[
|
|
1041
|
-
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;
|
|
1042
1048
|
}
|
|
1043
|
-
while (
|
|
1049
|
+
while (P >= 1 && A >= 0);
|
|
1044
1050
|
break;
|
|
1045
1051
|
}
|
|
1046
1052
|
}
|
|
1047
1053
|
} finally {
|
|
1048
|
-
R1 = !1, y1.current = T,
|
|
1054
|
+
R1 = !1, y1.current = T, H3(), Error.prepareStackTrace = E;
|
|
1049
1055
|
}
|
|
1050
|
-
var t1 = s ? s.displayName || s.name : "", Q = t1 ?
|
|
1051
|
-
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;
|
|
1052
1058
|
}
|
|
1053
|
-
function q3(s, i,
|
|
1059
|
+
function q3(s, i, d) {
|
|
1054
1060
|
return X1(s, !1);
|
|
1055
1061
|
}
|
|
1056
1062
|
function G3(s) {
|
|
1057
1063
|
var i = s.prototype;
|
|
1058
1064
|
return !!(i && i.isReactComponent);
|
|
1059
1065
|
}
|
|
1060
|
-
function
|
|
1066
|
+
function g1(s, i, d) {
|
|
1061
1067
|
if (s == null)
|
|
1062
1068
|
return "";
|
|
1063
1069
|
if (typeof s == "function")
|
|
1064
1070
|
return X1(s, G3(s));
|
|
1065
1071
|
if (typeof s == "string")
|
|
1066
|
-
return
|
|
1072
|
+
return v1(s);
|
|
1067
1073
|
switch (s) {
|
|
1068
|
-
case
|
|
1069
|
-
return
|
|
1070
|
-
case
|
|
1071
|
-
return
|
|
1074
|
+
case f:
|
|
1075
|
+
return v1("Suspense");
|
|
1076
|
+
case u:
|
|
1077
|
+
return v1("SuspenseList");
|
|
1072
1078
|
}
|
|
1073
1079
|
if (typeof s == "object")
|
|
1074
1080
|
switch (s.$$typeof) {
|
|
1075
1081
|
case h:
|
|
1076
1082
|
return q3(s.render);
|
|
1077
|
-
case
|
|
1078
|
-
return
|
|
1079
|
-
case
|
|
1083
|
+
case L:
|
|
1084
|
+
return g1(s.type, i, d);
|
|
1085
|
+
case F: {
|
|
1080
1086
|
var p = s, E = p._payload, T = p._init;
|
|
1081
1087
|
try {
|
|
1082
|
-
return
|
|
1088
|
+
return g1(T(E), i, d);
|
|
1083
1089
|
} catch {
|
|
1084
1090
|
}
|
|
1085
1091
|
}
|
|
@@ -1087,14 +1093,14 @@ function Ve() {
|
|
|
1087
1093
|
return "";
|
|
1088
1094
|
}
|
|
1089
1095
|
var c1 = Object.prototype.hasOwnProperty, Q1 = {}, N1 = b.ReactDebugCurrentFrame;
|
|
1090
|
-
function
|
|
1096
|
+
function f1(s) {
|
|
1091
1097
|
if (s) {
|
|
1092
|
-
var i = s._owner,
|
|
1093
|
-
N1.setExtraStackFrame(
|
|
1098
|
+
var i = s._owner, d = g1(s.type, s._source, i ? i.type : null);
|
|
1099
|
+
N1.setExtraStackFrame(d);
|
|
1094
1100
|
} else
|
|
1095
1101
|
N1.setExtraStackFrame(null);
|
|
1096
1102
|
}
|
|
1097
|
-
function Y3(s, i,
|
|
1103
|
+
function Y3(s, i, d, p, E) {
|
|
1098
1104
|
{
|
|
1099
1105
|
var T = Function.call.bind(c1);
|
|
1100
1106
|
for (var y in s)
|
|
@@ -1102,14 +1108,14 @@ function Ve() {
|
|
|
1102
1108
|
var j = void 0;
|
|
1103
1109
|
try {
|
|
1104
1110
|
if (typeof s[y] != "function") {
|
|
1105
|
-
var
|
|
1106
|
-
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;
|
|
1107
1113
|
}
|
|
1108
|
-
j = s[y](i, y, p,
|
|
1109
|
-
} catch (
|
|
1110
|
-
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;
|
|
1111
1117
|
}
|
|
1112
|
-
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));
|
|
1113
1119
|
}
|
|
1114
1120
|
}
|
|
1115
1121
|
}
|
|
@@ -1119,8 +1125,8 @@ function Ve() {
|
|
|
1119
1125
|
}
|
|
1120
1126
|
function J3(s) {
|
|
1121
1127
|
{
|
|
1122
|
-
var i = typeof Symbol == "function" && Symbol.toStringTag,
|
|
1123
|
-
return
|
|
1128
|
+
var i = typeof Symbol == "function" && Symbol.toStringTag, d = i && s[Symbol.toStringTag] || s.constructor.name || "Object";
|
|
1129
|
+
return d;
|
|
1124
1130
|
}
|
|
1125
1131
|
}
|
|
1126
1132
|
function X3(s) {
|
|
@@ -1164,34 +1170,34 @@ function Ve() {
|
|
|
1164
1170
|
}
|
|
1165
1171
|
function n2(s, i) {
|
|
1166
1172
|
{
|
|
1167
|
-
var
|
|
1173
|
+
var d = function() {
|
|
1168
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));
|
|
1169
1175
|
};
|
|
1170
|
-
|
|
1171
|
-
get:
|
|
1176
|
+
d.isReactWarning = !0, Object.defineProperty(s, "key", {
|
|
1177
|
+
get: d,
|
|
1172
1178
|
configurable: !0
|
|
1173
1179
|
});
|
|
1174
1180
|
}
|
|
1175
1181
|
}
|
|
1176
1182
|
function o2(s, i) {
|
|
1177
1183
|
{
|
|
1178
|
-
var
|
|
1184
|
+
var d = function() {
|
|
1179
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));
|
|
1180
1186
|
};
|
|
1181
|
-
|
|
1182
|
-
get:
|
|
1187
|
+
d.isReactWarning = !0, Object.defineProperty(s, "ref", {
|
|
1188
|
+
get: d,
|
|
1183
1189
|
configurable: !0
|
|
1184
1190
|
});
|
|
1185
1191
|
}
|
|
1186
1192
|
}
|
|
1187
|
-
var s2 = function(s, i,
|
|
1193
|
+
var s2 = function(s, i, d, p, E, T, y) {
|
|
1188
1194
|
var j = {
|
|
1189
1195
|
// This tag allows us to uniquely identify this as a React Element
|
|
1190
1196
|
$$typeof: t,
|
|
1191
1197
|
// Built-in properties that belong on the element
|
|
1192
1198
|
type: s,
|
|
1193
1199
|
key: i,
|
|
1194
|
-
ref:
|
|
1200
|
+
ref: d,
|
|
1195
1201
|
props: y,
|
|
1196
1202
|
// Record the component responsible for creating this element.
|
|
1197
1203
|
_owner: T
|
|
@@ -1213,29 +1219,29 @@ function Ve() {
|
|
|
1213
1219
|
value: E
|
|
1214
1220
|
}), Object.freeze && (Object.freeze(j.props), Object.freeze(j)), j;
|
|
1215
1221
|
};
|
|
1216
|
-
function c2(s, i,
|
|
1222
|
+
function c2(s, i, d, p, E) {
|
|
1217
1223
|
{
|
|
1218
|
-
var T, y = {}, j = null,
|
|
1219
|
-
|
|
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));
|
|
1220
1226
|
for (T in i)
|
|
1221
1227
|
c1.call(i, T) && !Q3.hasOwnProperty(T) && (y[T] = i[T]);
|
|
1222
1228
|
if (s && s.defaultProps) {
|
|
1223
|
-
var
|
|
1224
|
-
for (T in
|
|
1225
|
-
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]);
|
|
1226
1232
|
}
|
|
1227
|
-
if (j ||
|
|
1228
|
-
var
|
|
1229
|
-
j && n2(y,
|
|
1233
|
+
if (j || B) {
|
|
1234
|
+
var A = typeof s == "function" ? s.displayName || s.name || "Unknown" : s;
|
|
1235
|
+
j && n2(y, A), B && o2(y, A);
|
|
1230
1236
|
}
|
|
1231
|
-
return s2(s, j,
|
|
1237
|
+
return s2(s, j, B, E, p, n3.current, y);
|
|
1232
1238
|
}
|
|
1233
1239
|
}
|
|
1234
1240
|
var T1 = b.ReactCurrentOwner, c3 = b.ReactDebugCurrentFrame;
|
|
1235
1241
|
function e1(s) {
|
|
1236
1242
|
if (s) {
|
|
1237
|
-
var i = s._owner,
|
|
1238
|
-
c3.setExtraStackFrame(
|
|
1243
|
+
var i = s._owner, d = g1(s.type, s._source, i ? i.type : null);
|
|
1244
|
+
c3.setExtraStackFrame(d);
|
|
1239
1245
|
} else
|
|
1240
1246
|
c3.setExtraStackFrame(null);
|
|
1241
1247
|
}
|
|
@@ -1264,10 +1270,10 @@ Check the render method of \`` + s + "`.";
|
|
|
1264
1270
|
{
|
|
1265
1271
|
var i = r3();
|
|
1266
1272
|
if (!i) {
|
|
1267
|
-
var
|
|
1268
|
-
|
|
1273
|
+
var d = typeof s == "string" ? s : s.displayName || s.name;
|
|
1274
|
+
d && (i = `
|
|
1269
1275
|
|
|
1270
|
-
Check the top-level render call using <` +
|
|
1276
|
+
Check the top-level render call using <` + d + ">.");
|
|
1271
1277
|
}
|
|
1272
1278
|
return i;
|
|
1273
1279
|
}
|
|
@@ -1277,12 +1283,12 @@ Check the top-level render call using <` + u + ">.");
|
|
|
1277
1283
|
if (!s._store || s._store.validated || s.key != null)
|
|
1278
1284
|
return;
|
|
1279
1285
|
s._store.validated = !0;
|
|
1280
|
-
var
|
|
1281
|
-
if (l3[
|
|
1286
|
+
var d = l2(i);
|
|
1287
|
+
if (l3[d])
|
|
1282
1288
|
return;
|
|
1283
|
-
l3[
|
|
1289
|
+
l3[d] = !0;
|
|
1284
1290
|
var p = "";
|
|
1285
|
-
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);
|
|
1286
1292
|
}
|
|
1287
1293
|
}
|
|
1288
1294
|
function a3(s, i) {
|
|
@@ -1290,14 +1296,14 @@ Check the top-level render call using <` + u + ">.");
|
|
|
1290
1296
|
if (typeof s != "object")
|
|
1291
1297
|
return;
|
|
1292
1298
|
if (E1(s))
|
|
1293
|
-
for (var
|
|
1294
|
-
var p = s[
|
|
1299
|
+
for (var d = 0; d < s.length; d++) {
|
|
1300
|
+
var p = s[d];
|
|
1295
1301
|
_1(p) && i3(p, i);
|
|
1296
1302
|
}
|
|
1297
1303
|
else if (_1(s))
|
|
1298
1304
|
s._store && (s._store.validated = !0);
|
|
1299
1305
|
else if (s) {
|
|
1300
|
-
var E =
|
|
1306
|
+
var E = S(s);
|
|
1301
1307
|
if (typeof E == "function" && E !== s.entries)
|
|
1302
1308
|
for (var T = E.call(s), y; !(y = T.next()).done; )
|
|
1303
1309
|
_1(y.value) && i3(y.value, i);
|
|
@@ -1309,18 +1315,18 @@ Check the top-level render call using <` + u + ">.");
|
|
|
1309
1315
|
var i = s.type;
|
|
1310
1316
|
if (i == null || typeof i == "string")
|
|
1311
1317
|
return;
|
|
1312
|
-
var
|
|
1318
|
+
var d;
|
|
1313
1319
|
if (typeof i == "function")
|
|
1314
|
-
|
|
1320
|
+
d = i.propTypes;
|
|
1315
1321
|
else if (typeof i == "object" && (i.$$typeof === h || // Note: Memo only checks outer props here.
|
|
1316
1322
|
// Inner props are checked in the reconciler.
|
|
1317
|
-
i.$$typeof ===
|
|
1318
|
-
|
|
1323
|
+
i.$$typeof === L))
|
|
1324
|
+
d = i.propTypes;
|
|
1319
1325
|
else
|
|
1320
1326
|
return;
|
|
1321
|
-
if (
|
|
1327
|
+
if (d) {
|
|
1322
1328
|
var p = J(i);
|
|
1323
|
-
Y3(
|
|
1329
|
+
Y3(d, s.props, "prop", p, s);
|
|
1324
1330
|
} else if (i.PropTypes !== void 0 && !D1) {
|
|
1325
1331
|
D1 = !0;
|
|
1326
1332
|
var E = J(i);
|
|
@@ -1331,8 +1337,8 @@ Check the top-level render call using <` + u + ">.");
|
|
|
1331
1337
|
}
|
|
1332
1338
|
function a2(s) {
|
|
1333
1339
|
{
|
|
1334
|
-
for (var i = Object.keys(s.props),
|
|
1335
|
-
var p = i[
|
|
1340
|
+
for (var i = Object.keys(s.props), d = 0; d < i.length; d++) {
|
|
1341
|
+
var p = i[d];
|
|
1336
1342
|
if (p !== "children" && p !== "key") {
|
|
1337
1343
|
e1(s), x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", p), e1(null);
|
|
1338
1344
|
break;
|
|
@@ -1342,71 +1348,71 @@ Check the top-level render call using <` + u + ">.");
|
|
|
1342
1348
|
}
|
|
1343
1349
|
}
|
|
1344
1350
|
var u3 = {};
|
|
1345
|
-
function d3(s, i,
|
|
1351
|
+
function d3(s, i, d, p, E, T) {
|
|
1346
1352
|
{
|
|
1347
1353
|
var y = b1(s);
|
|
1348
1354
|
if (!y) {
|
|
1349
1355
|
var j = "";
|
|
1350
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.");
|
|
1351
|
-
var
|
|
1352
|
-
|
|
1353
|
-
var
|
|
1354
|
-
s === null ?
|
|
1355
|
-
}
|
|
1356
|
-
var
|
|
1357
|
-
if (
|
|
1358
|
-
return
|
|
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
|
+
}
|
|
1362
|
+
var A = c2(s, i, d, E, T);
|
|
1363
|
+
if (A == null)
|
|
1364
|
+
return A;
|
|
1359
1365
|
if (y) {
|
|
1360
|
-
var
|
|
1361
|
-
if (
|
|
1366
|
+
var H = i.children;
|
|
1367
|
+
if (H !== void 0)
|
|
1362
1368
|
if (p)
|
|
1363
|
-
if (E1(
|
|
1364
|
-
for (var t1 = 0; t1 <
|
|
1365
|
-
a3(
|
|
1366
|
-
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);
|
|
1367
1373
|
} else
|
|
1368
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.");
|
|
1369
1375
|
else
|
|
1370
|
-
a3(
|
|
1376
|
+
a3(H, s);
|
|
1371
1377
|
}
|
|
1372
1378
|
if (c1.call(i, "key")) {
|
|
1373
1379
|
var Q = J(s), V = Object.keys(i).filter(function(f2) {
|
|
1374
1380
|
return f2 !== "key";
|
|
1375
|
-
}),
|
|
1376
|
-
if (!u3[Q +
|
|
1381
|
+
}), L1 = V.length > 0 ? "{key: someKey, " + V.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
1382
|
+
if (!u3[Q + L1]) {
|
|
1377
1383
|
var g2 = V.length > 0 ? "{" + V.join(": ..., ") + ": ...}" : "{}";
|
|
1378
1384
|
x(`A props object containing a "key" prop is being spread into JSX:
|
|
1379
1385
|
let props = %s;
|
|
1380
1386
|
<%s {...props} />
|
|
1381
1387
|
React keys must be passed directly to JSX without using spread:
|
|
1382
1388
|
let props = %s;
|
|
1383
|
-
<%s key={someKey} {...props} />`,
|
|
1389
|
+
<%s key={someKey} {...props} />`, L1, Q, g2, Q), u3[Q + L1] = !0;
|
|
1384
1390
|
}
|
|
1385
1391
|
}
|
|
1386
|
-
return s === c ? a2(
|
|
1392
|
+
return s === c ? a2(A) : i2(A), A;
|
|
1387
1393
|
}
|
|
1388
1394
|
}
|
|
1389
|
-
function u2(s, i,
|
|
1390
|
-
return d3(s, i,
|
|
1395
|
+
function u2(s, i, d) {
|
|
1396
|
+
return d3(s, i, d, !0);
|
|
1391
1397
|
}
|
|
1392
|
-
function d2(s, i,
|
|
1393
|
-
return d3(s, i,
|
|
1398
|
+
function d2(s, i, d) {
|
|
1399
|
+
return d3(s, i, d, !1);
|
|
1394
1400
|
}
|
|
1395
1401
|
var v2 = d2, h2 = u2;
|
|
1396
1402
|
i1.Fragment = c, i1.jsx = v2, i1.jsxs = h2;
|
|
1397
|
-
}()), i1;
|
|
1403
|
+
})()), i1;
|
|
1398
1404
|
}
|
|
1399
1405
|
var p3;
|
|
1400
1406
|
function Ue() {
|
|
1401
|
-
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;
|
|
1402
1408
|
}
|
|
1403
1409
|
var n = Ue();
|
|
1404
|
-
const
|
|
1405
|
-
mwfit:
|
|
1410
|
+
const Fe = "_mwfit_ppa3l_1", He = {
|
|
1411
|
+
mwfit: Fe
|
|
1406
1412
|
}, Ke = () => {
|
|
1407
1413
|
const { reconnect: e } = R(), t = I3(), o = Me(), c = xe();
|
|
1408
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: [
|
|
1409
|
-
/* @__PURE__ */ n.jsxs("div", { className: `${
|
|
1415
|
+
/* @__PURE__ */ n.jsxs("div", { className: `${He.mwfit} mx-auto text-center`, children: [
|
|
1410
1416
|
t === void 0 ? /* @__PURE__ */ n.jsx("h2", { children: "Connecting..." }) : /* @__PURE__ */ n.jsx("h2", { children: "Disconnected" }),
|
|
1411
1417
|
o && /* @__PURE__ */ n.jsx("h5", { className: "mt-1", children: o })
|
|
1412
1418
|
] }),
|
|
@@ -1421,30 +1427,30 @@ const He = "_mwfit_ppa3l_1", Fe = {
|
|
|
1421
1427
|
}), qe = ({ children: e }) => {
|
|
1422
1428
|
const t = W1(), o = I3();
|
|
1423
1429
|
x1(() => {
|
|
1424
|
-
t(
|
|
1430
|
+
t(B3());
|
|
1425
1431
|
}, [t]);
|
|
1426
1432
|
const c = r1(
|
|
1427
|
-
(h,
|
|
1428
|
-
t(
|
|
1433
|
+
(h, f) => {
|
|
1434
|
+
t(Le(h, f));
|
|
1429
1435
|
},
|
|
1430
1436
|
[t]
|
|
1431
1437
|
), r = r1(
|
|
1432
|
-
(h,
|
|
1433
|
-
c(h, { value:
|
|
1438
|
+
(h, f) => {
|
|
1439
|
+
c(h, { value: f });
|
|
1434
1440
|
},
|
|
1435
1441
|
[c]
|
|
1436
1442
|
), l = r1(
|
|
1437
|
-
(h,
|
|
1438
|
-
t(
|
|
1443
|
+
(h, f, u) => {
|
|
1444
|
+
t(Pe(h, f, u));
|
|
1439
1445
|
},
|
|
1440
1446
|
[t]
|
|
1441
1447
|
), v = r1(
|
|
1442
|
-
(h,
|
|
1443
|
-
t(
|
|
1448
|
+
(h, f) => {
|
|
1449
|
+
t(Ae(h, f));
|
|
1444
1450
|
},
|
|
1445
1451
|
[t]
|
|
1446
|
-
),
|
|
1447
|
-
t(
|
|
1452
|
+
), g = r1(() => {
|
|
1453
|
+
t($e());
|
|
1448
1454
|
}, [t]);
|
|
1449
1455
|
return /* @__PURE__ */ n.jsx(
|
|
1450
1456
|
O3.Provider,
|
|
@@ -1454,7 +1460,7 @@ const He = "_mwfit_ppa3l_1", Fe = {
|
|
|
1454
1460
|
sendSimpleMessage: r,
|
|
1455
1461
|
addEventHandler: l,
|
|
1456
1462
|
removeEventHandler: v,
|
|
1457
|
-
reconnect:
|
|
1463
|
+
reconnect: g
|
|
1458
1464
|
},
|
|
1459
1465
|
children: o ? e : /* @__PURE__ */ n.jsx(Ke, {})
|
|
1460
1466
|
}
|
|
@@ -1467,28 +1473,29 @@ function Ge({
|
|
|
1467
1473
|
onPress: e,
|
|
1468
1474
|
onRelease: t,
|
|
1469
1475
|
onHold: o,
|
|
1470
|
-
|
|
1476
|
+
onPressedButNotHeld: c,
|
|
1477
|
+
holdTimeMs: r = 500
|
|
1471
1478
|
}) {
|
|
1472
|
-
const
|
|
1473
|
-
function
|
|
1474
|
-
|
|
1475
|
-
o == null || o(),
|
|
1476
|
-
},
|
|
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);
|
|
1477
1484
|
}
|
|
1478
1485
|
function f() {
|
|
1479
|
-
|
|
1486
|
+
v.current = !1, t == null || t(), l.current && (clearTimeout(l.current), l.current = null, g.current || c == null || c());
|
|
1480
1487
|
}
|
|
1481
|
-
function
|
|
1482
|
-
|
|
1488
|
+
function u() {
|
|
1489
|
+
v.current && f();
|
|
1483
1490
|
}
|
|
1484
1491
|
return {
|
|
1485
|
-
onPointerDown:
|
|
1492
|
+
onPointerDown: h,
|
|
1486
1493
|
onPointerUp: f,
|
|
1487
|
-
onPointerLeave:
|
|
1494
|
+
onPointerLeave: u
|
|
1488
1495
|
};
|
|
1489
1496
|
}
|
|
1490
|
-
function
|
|
1491
|
-
const { sendMessage: c } = R(), r =
|
|
1497
|
+
function w(e, t) {
|
|
1498
|
+
const { sendMessage: c } = R(), r = u1(null);
|
|
1492
1499
|
function l() {
|
|
1493
1500
|
c(`${e}/${t}`, { value: "pressed" }), r.current || (r.current = setInterval(() => {
|
|
1494
1501
|
c(`${e}/${t}`, { value: "held" });
|
|
@@ -1500,7 +1507,7 @@ function g(e, t) {
|
|
|
1500
1507
|
return Ge({ onPress: l, onRelease: v });
|
|
1501
1508
|
}
|
|
1502
1509
|
function j1(e) {
|
|
1503
|
-
const { sendMessage: t } = R(), o =
|
|
1510
|
+
const { sendMessage: t } = R(), o = w(`${e}`, "volumeUp"), c = w(`${e}`, "volumeDown");
|
|
1504
1511
|
return n1(() => ({
|
|
1505
1512
|
volumeUp: o,
|
|
1506
1513
|
volumeDown: c,
|
|
@@ -1508,7 +1515,7 @@ function j1(e) {
|
|
|
1508
1515
|
}), [e, t, o, c]);
|
|
1509
1516
|
}
|
|
1510
1517
|
function V6(e) {
|
|
1511
|
-
const { sendMessage: t } = R(), o =
|
|
1518
|
+
const { sendMessage: t } = R(), o = w(`${e}`, "volumeUp"), c = w(`${e}`, "volumeDown");
|
|
1512
1519
|
return n1(() => ({
|
|
1513
1520
|
volumeUp: o,
|
|
1514
1521
|
volumeDown: c,
|
|
@@ -1583,13 +1590,13 @@ function ze(e) {
|
|
|
1583
1590
|
t(`/device/${e}/setDefaultChannelLevels`, null);
|
|
1584
1591
|
}, r = () => {
|
|
1585
1592
|
if ((o == null ? void 0 : o.levelControls) === void 0) return;
|
|
1586
|
-
Object.keys(o == null ? void 0 : o.levelControls).forEach((
|
|
1587
|
-
t(`/device/${e}/${
|
|
1593
|
+
Object.keys(o == null ? void 0 : o.levelControls).forEach((g) => {
|
|
1594
|
+
t(`/device/${e}/${g}/fullStatus`, null);
|
|
1588
1595
|
});
|
|
1589
1596
|
};
|
|
1590
1597
|
return o ? { levelControls: o.levelControls, setDefaultChannelLevels: c, getFullStatus: r } : void 0;
|
|
1591
1598
|
}
|
|
1592
|
-
function
|
|
1599
|
+
function F6(e) {
|
|
1593
1600
|
const t = _(e), o = V3(e), c = O1(e), r = O1(e), l = Ye(e), v = ze(e);
|
|
1594
1601
|
if (t)
|
|
1595
1602
|
return {
|
|
@@ -1601,7 +1608,7 @@ function H6(e) {
|
|
|
1601
1608
|
mainVolumeControl: l
|
|
1602
1609
|
};
|
|
1603
1610
|
}
|
|
1604
|
-
const
|
|
1611
|
+
const H6 = ({ className: e }) => {
|
|
1605
1612
|
const [t, o] = Y();
|
|
1606
1613
|
return x1(() => {
|
|
1607
1614
|
setInterval(() => {
|
|
@@ -1615,8 +1622,8 @@ const F6 = ({ className: e }) => {
|
|
|
1615
1622
|
};
|
|
1616
1623
|
function K6(e) {
|
|
1617
1624
|
const { sendMessage: t } = R(), o = _(e), c = `/device/${e}`;
|
|
1618
|
-
return o ? { state: o, recallPreset: (v,
|
|
1619
|
-
t(`${c}/presets/recall`, { deviceKey: v, preset:
|
|
1625
|
+
return o ? { state: o, recallPreset: (v, g) => {
|
|
1626
|
+
t(`${c}/presets/recall`, { deviceKey: v, preset: g });
|
|
1620
1627
|
}, savePresets: (v) => {
|
|
1621
1628
|
t(`${c}/presets/save`, v);
|
|
1622
1629
|
} } : void 0;
|
|
@@ -1627,11 +1634,11 @@ function q6(e) {
|
|
|
1627
1634
|
return { endpointState: t };
|
|
1628
1635
|
}
|
|
1629
1636
|
function G6(e) {
|
|
1630
|
-
const t = `/device/${e}`, o =
|
|
1631
|
-
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 };
|
|
1632
1639
|
}
|
|
1633
1640
|
function Y6(e) {
|
|
1634
|
-
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");
|
|
1635
1642
|
return { red: o, green: c, yellow: r, blue: l };
|
|
1636
1643
|
}
|
|
1637
1644
|
function z6(e) {
|
|
@@ -1647,21 +1654,21 @@ function J6(e) {
|
|
|
1647
1654
|
return t.deviceInfo || void 0;
|
|
1648
1655
|
}
|
|
1649
1656
|
function X6(e) {
|
|
1650
|
-
const t = `/device/${e}`, o =
|
|
1651
|
-
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 };
|
|
1652
1659
|
}
|
|
1653
1660
|
function Q6(e) {
|
|
1654
|
-
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);
|
|
1655
1662
|
if (c)
|
|
1656
1663
|
return {
|
|
1657
1664
|
state: c,
|
|
1658
1665
|
zoomIn: h,
|
|
1659
|
-
zoomOut:
|
|
1666
|
+
zoomOut: f,
|
|
1660
1667
|
up: r,
|
|
1661
1668
|
down: l,
|
|
1662
1669
|
left: v,
|
|
1663
|
-
right:
|
|
1664
|
-
recallPreset:
|
|
1670
|
+
right: g,
|
|
1671
|
+
recallPreset: u
|
|
1665
1672
|
};
|
|
1666
1673
|
}
|
|
1667
1674
|
function N6(e) {
|
|
@@ -1674,7 +1681,7 @@ function N6(e) {
|
|
|
1674
1681
|
} };
|
|
1675
1682
|
}
|
|
1676
1683
|
function et(e) {
|
|
1677
|
-
const t = `/device/${e}`, o =
|
|
1684
|
+
const t = `/device/${e}`, o = w(t, "dvrList"), c = w(t, "record");
|
|
1678
1685
|
return { dvrList: o, record: c };
|
|
1679
1686
|
}
|
|
1680
1687
|
function tt(e) {
|
|
@@ -1709,10 +1716,10 @@ function st(e) {
|
|
|
1709
1716
|
const { sendMessage: t, sendSimpleMessage: o } = R(), c = _(e), r = ne(e), l = c || r;
|
|
1710
1717
|
return l ? {
|
|
1711
1718
|
levelState: l,
|
|
1712
|
-
setLevel: (
|
|
1713
|
-
muteToggle: (
|
|
1714
|
-
muteOn: (
|
|
1715
|
-
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)
|
|
1716
1723
|
} : void 0;
|
|
1717
1724
|
}
|
|
1718
1725
|
function ct(e) {
|
|
@@ -1734,19 +1741,19 @@ function lt(e) {
|
|
|
1734
1741
|
} };
|
|
1735
1742
|
}
|
|
1736
1743
|
function it(e) {
|
|
1737
|
-
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");
|
|
1738
1745
|
return {
|
|
1739
1746
|
digit0: o,
|
|
1740
1747
|
digit1: c,
|
|
1741
1748
|
digit2: r,
|
|
1742
1749
|
digit3: l,
|
|
1743
1750
|
digit4: v,
|
|
1744
|
-
digit5:
|
|
1751
|
+
digit5: g,
|
|
1745
1752
|
digit6: h,
|
|
1746
|
-
digit7:
|
|
1747
|
-
digit8:
|
|
1748
|
-
digit9:
|
|
1749
|
-
keypadAccessoryButton1:
|
|
1753
|
+
digit7: f,
|
|
1754
|
+
digit8: u,
|
|
1755
|
+
digit9: L,
|
|
1756
|
+
keypadAccessoryButton1: F,
|
|
1750
1757
|
keypadAccessoryButton2: a
|
|
1751
1758
|
};
|
|
1752
1759
|
}
|
|
@@ -1783,7 +1790,7 @@ function ht(e) {
|
|
|
1783
1790
|
} };
|
|
1784
1791
|
}
|
|
1785
1792
|
function gt(e) {
|
|
1786
|
-
const t = `/device/${e}`, o =
|
|
1793
|
+
const t = `/device/${e}`, o = w(t, "chanUp"), c = w(t, "chanDown");
|
|
1787
1794
|
return { dvrList: o, replay: c };
|
|
1788
1795
|
}
|
|
1789
1796
|
function ft(e) {
|
|
@@ -1798,8 +1805,8 @@ function ft(e) {
|
|
|
1798
1805
|
}
|
|
1799
1806
|
function wt(e) {
|
|
1800
1807
|
const { sendMessage: t } = R(), o = S1(e);
|
|
1801
|
-
return o ? { shutdownPromptTimerState: o, setShutdownPromptSeconds: (
|
|
1802
|
-
t(`/room/${e}/setShutdownPromptSeconds`,
|
|
1808
|
+
return o ? { shutdownPromptTimerState: o, setShutdownPromptSeconds: (g) => {
|
|
1809
|
+
t(`/room/${e}/setShutdownPromptSeconds`, g);
|
|
1803
1810
|
}, shutdownStart: () => {
|
|
1804
1811
|
t(`/room/${e}/shutdownStart`, null);
|
|
1805
1812
|
}, shutdownEnd: () => {
|
|
@@ -1838,16 +1845,16 @@ function xt(e) {
|
|
|
1838
1845
|
};
|
|
1839
1846
|
}
|
|
1840
1847
|
function Zt(e) {
|
|
1841
|
-
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");
|
|
1842
1849
|
return {
|
|
1843
1850
|
play: o,
|
|
1844
1851
|
pause: c,
|
|
1845
1852
|
stop: r,
|
|
1846
1853
|
prevTrack: l,
|
|
1847
1854
|
nextTrack: v,
|
|
1848
|
-
rewind:
|
|
1855
|
+
rewind: g,
|
|
1849
1856
|
fastForward: h,
|
|
1850
|
-
record:
|
|
1857
|
+
record: f
|
|
1851
1858
|
};
|
|
1852
1859
|
}
|
|
1853
1860
|
function St(e) {
|
|
@@ -1884,30 +1891,30 @@ function Ct(e) {
|
|
|
1884
1891
|
const bt = ({
|
|
1885
1892
|
config: e
|
|
1886
1893
|
}, t = !0) => {
|
|
1887
|
-
const { sendMessage: o } = R(), c =
|
|
1888
|
-
var v,
|
|
1894
|
+
const { sendMessage: o } = R(), c = u1(!1), r = n1(() => {
|
|
1895
|
+
var v, g, h, f;
|
|
1889
1896
|
if (!e)
|
|
1890
1897
|
return;
|
|
1891
1898
|
const l = /* @__PURE__ */ new Set();
|
|
1892
|
-
if (e.destinations && Object.values(e.destinations).forEach((
|
|
1893
|
-
l.add(
|
|
1894
|
-
}), e.destinationList && Object.values(e.destinationList).forEach((
|
|
1895
|
-
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);
|
|
1896
1903
|
}), e.audioControlPointList && Object.values((v = e.audioControlPointList) == null ? void 0 : v.levelControls).forEach(
|
|
1897
|
-
(
|
|
1898
|
-
|
|
1904
|
+
(u) => {
|
|
1905
|
+
u.itemKey ? l.add(u.parentDeviceKey + "--" + u.itemKey) : l.add(u.parentDeviceKey);
|
|
1899
1906
|
}
|
|
1900
|
-
), (
|
|
1901
|
-
l.add(
|
|
1902
|
-
}), (h = e.environmentalDevices) == null || h.forEach((
|
|
1903
|
-
|
|
1904
|
-
}), (
|
|
1905
|
-
l.add(
|
|
1906
|
-
}), 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((
|
|
1907
|
-
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);
|
|
1908
1915
|
}), e.sourceList)
|
|
1909
|
-
for (const
|
|
1910
|
-
|
|
1916
|
+
for (const u of Object.values(e.sourceList))
|
|
1917
|
+
u.sourceKey && u.sourceKey !== "$off" && l.add(u.sourceKey);
|
|
1911
1918
|
return l;
|
|
1912
1919
|
}, [e]);
|
|
1913
1920
|
return x1(() => {
|
|
@@ -1919,11 +1926,11 @@ const bt = ({
|
|
|
1919
1926
|
function yt(e, t) {
|
|
1920
1927
|
const [o, c] = Y(!1), [r, l] = Y(!1);
|
|
1921
1928
|
return Z3(() => {
|
|
1922
|
-
const { current: v } = e,
|
|
1923
|
-
const h = v && v.scrollHeight > v.clientHeight,
|
|
1924
|
-
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);
|
|
1925
1932
|
};
|
|
1926
|
-
v &&
|
|
1933
|
+
v && g();
|
|
1927
1934
|
}, [e, t]), { overflowHorizontal: o, overflowVertical: r };
|
|
1928
1935
|
}
|
|
1929
1936
|
function It(e, t) {
|
|
@@ -1935,19 +1942,19 @@ function Rt(e, t) {
|
|
|
1935
1942
|
return W3(c, o);
|
|
1936
1943
|
}
|
|
1937
1944
|
function Et(e) {
|
|
1938
|
-
var
|
|
1939
|
-
const [t, o] = Y(((
|
|
1940
|
-
const { current:
|
|
1941
|
-
|
|
1942
|
-
}, v = (
|
|
1943
|
-
const { current:
|
|
1944
|
-
|
|
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));
|
|
1945
1952
|
};
|
|
1946
1953
|
return Z3(() => {
|
|
1947
|
-
const { current:
|
|
1948
|
-
o((
|
|
1954
|
+
const { current: f } = e, u = () => {
|
|
1955
|
+
o((f == null ? void 0 : f.scrollLeft) ?? 0), r((f == null ? void 0 : f.scrollTop) ?? 0);
|
|
1949
1956
|
};
|
|
1950
|
-
|
|
1957
|
+
f && u();
|
|
1951
1958
|
}, [e]), { horizontalScrollPosition: t, verticalScrollPosition: c, scrollHorizontal: l, scrollVertical: v };
|
|
1952
1959
|
}
|
|
1953
1960
|
function Tt(e) {
|
|
@@ -1984,7 +1991,7 @@ function _t() {
|
|
|
1984
1991
|
return () => clearInterval(l);
|
|
1985
1992
|
}, []), { date: e, time: o };
|
|
1986
1993
|
}
|
|
1987
|
-
const
|
|
1994
|
+
const Lt = () => {
|
|
1988
1995
|
const [e, t] = Y(!1), o = y2(), c = I2();
|
|
1989
1996
|
let r;
|
|
1990
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: [
|
|
@@ -2007,7 +2014,7 @@ const Pt = () => {
|
|
|
2007
2014
|
),
|
|
2008
2015
|
e && /* @__PURE__ */ n.jsx("p", { children: r })
|
|
2009
2016
|
] });
|
|
2010
|
-
}, Je = "_iconbtn_16qss_1", Xe = "_iconbtnvert_16qss_7", Qe = "_iconsm_16qss_18",
|
|
2017
|
+
}, Je = "_iconbtn_16qss_1", Xe = "_iconbtnvert_16qss_7", Qe = "_iconsm_16qss_18", A1 = {
|
|
2011
2018
|
iconbtn: Je,
|
|
2012
2019
|
iconbtnvert: Xe,
|
|
2013
2020
|
iconsm: Qe
|
|
@@ -2019,36 +2026,36 @@ const Pt = () => {
|
|
|
2019
2026
|
iconClassName: r = "",
|
|
2020
2027
|
otherContentClassName: l = "",
|
|
2021
2028
|
disabled: v,
|
|
2022
|
-
feedback:
|
|
2029
|
+
feedback: g,
|
|
2023
2030
|
feedbackClassName: h,
|
|
2024
|
-
onPointerDown:
|
|
2025
|
-
onPointerUp:
|
|
2026
|
-
onPointerLeave:
|
|
2027
|
-
...
|
|
2031
|
+
onPointerDown: f,
|
|
2032
|
+
onPointerUp: u,
|
|
2033
|
+
onPointerLeave: L,
|
|
2034
|
+
...F
|
|
2028
2035
|
}) => {
|
|
2029
|
-
const [a,
|
|
2036
|
+
const [a, Z] = Y(!1), C = !v && g ? h : "", S = !v && (a || g);
|
|
2030
2037
|
return /* @__PURE__ */ n.jsxs(
|
|
2031
2038
|
"button",
|
|
2032
2039
|
{
|
|
2033
2040
|
type: "button",
|
|
2034
|
-
className: `${
|
|
2035
|
-
...
|
|
2041
|
+
className: `${A1.iconbtn} ${o ? A1.iconbtnvert : ""} ${c} ${C}`,
|
|
2042
|
+
...F,
|
|
2036
2043
|
disabled: v,
|
|
2037
2044
|
onPointerDown: (b) => {
|
|
2038
|
-
|
|
2045
|
+
Z(!0), f == null || f(b);
|
|
2039
2046
|
},
|
|
2040
2047
|
onPointerUp: (b) => {
|
|
2041
|
-
|
|
2048
|
+
Z(!1), u == null || u(b);
|
|
2042
2049
|
},
|
|
2043
2050
|
onPointerLeave: (b) => {
|
|
2044
|
-
|
|
2051
|
+
Z(!1), L == null || L(b);
|
|
2045
2052
|
},
|
|
2046
2053
|
children: [
|
|
2047
2054
|
e && /* @__PURE__ */ n.jsx(
|
|
2048
2055
|
e,
|
|
2049
2056
|
{
|
|
2050
|
-
className: `${r ||
|
|
2051
|
-
active:
|
|
2057
|
+
className: `${r || A1.iconsm}`,
|
|
2058
|
+
active: S,
|
|
2052
2059
|
disabled: v
|
|
2053
2060
|
}
|
|
2054
2061
|
),
|
|
@@ -3262,7 +3269,7 @@ const Pt = () => {
|
|
|
3262
3269
|
active: e,
|
|
3263
3270
|
disabled: o
|
|
3264
3271
|
}
|
|
3265
|
-
),
|
|
3272
|
+
), Pt = ({
|
|
3266
3273
|
active: e,
|
|
3267
3274
|
// Just to shut up the linter on this template. Prefer deleting this lint rule
|
|
3268
3275
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
@@ -3703,7 +3710,7 @@ const Pt = () => {
|
|
|
3703
3710
|
X: E8,
|
|
3704
3711
|
Xbox: T8
|
|
3705
3712
|
};
|
|
3706
|
-
function
|
|
3713
|
+
function At({
|
|
3707
3714
|
name: e,
|
|
3708
3715
|
iconsDictionary: t = _8,
|
|
3709
3716
|
...o
|
|
@@ -3711,32 +3718,32 @@ function $t({
|
|
|
3711
3718
|
const c = t[e] ?? null;
|
|
3712
3719
|
return c || console.error(`Icon ${e} not found in dictionary`), /* @__PURE__ */ n.jsx(Ne, { multiIcon: c, ...o });
|
|
3713
3720
|
}
|
|
3714
|
-
const
|
|
3715
|
-
grid:
|
|
3716
|
-
header:
|
|
3717
|
-
content:
|
|
3718
|
-
footer:
|
|
3719
|
-
volume:
|
|
3720
|
-
},
|
|
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,
|
|
3724
|
+
content: A8,
|
|
3725
|
+
footer: $8,
|
|
3726
|
+
volume: k8
|
|
3727
|
+
}, $t = ({ header: e, footer: t, content: o, volume: c, showVolume: r }) => /* @__PURE__ */ n.jsxs("div", { className: a1.grid, children: [
|
|
3721
3728
|
/* @__PURE__ */ n.jsx("div", { className: a1.header, children: e }),
|
|
3722
3729
|
/* @__PURE__ */ n.jsx("div", { className: a1.content, children: o }),
|
|
3723
3730
|
r && /* @__PURE__ */ n.jsx("div", { className: a1.volume, children: c }),
|
|
3724
3731
|
/* @__PURE__ */ n.jsx("div", { className: a1.footer, children: t })
|
|
3725
|
-
] }),
|
|
3726
|
-
grid:
|
|
3732
|
+
] }), B8 = "_grid_11w5q_1", O8 = "_header_11w5q_11", W8 = "_content_11w5q_17", M1 = {
|
|
3733
|
+
grid: B8,
|
|
3727
3734
|
header: O8,
|
|
3728
3735
|
content: W8
|
|
3729
|
-
},
|
|
3730
|
-
/* @__PURE__ */ n.jsx("div", { className:
|
|
3731
|
-
c && /* @__PURE__ */ n.jsx("div", { className:
|
|
3732
|
-
/* @__PURE__ */ n.jsx("div", { className:
|
|
3733
|
-
] }), 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 = {
|
|
3734
3741
|
grid: V8,
|
|
3735
3742
|
header: U8,
|
|
3736
|
-
content:
|
|
3737
|
-
},
|
|
3738
|
-
/* @__PURE__ */ n.jsx("div", { className:
|
|
3739
|
-
/* @__PURE__ */ n.jsx("div", { className:
|
|
3743
|
+
content: F8
|
|
3744
|
+
}, Bt = ({ className: e, header: t, content: o }) => /* @__PURE__ */ n.jsxs("div", { className: `${e} ${$1.grid}`, children: [
|
|
3745
|
+
/* @__PURE__ */ n.jsx("div", { className: $1.header, children: t }),
|
|
3746
|
+
/* @__PURE__ */ n.jsx("div", { className: $1.content, children: o })
|
|
3740
3747
|
] });
|
|
3741
3748
|
class Ot {
|
|
3742
3749
|
constructor() {
|
|
@@ -3748,7 +3755,7 @@ class Ot {
|
|
|
3748
3755
|
function Wt() {
|
|
3749
3756
|
return console.log(location.pathname), location.pathname;
|
|
3750
3757
|
}
|
|
3751
|
-
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 || {});
|
|
3752
3759
|
class Vt {
|
|
3753
3760
|
constructor(t, o) {
|
|
3754
3761
|
q(this, "path");
|
|
@@ -3758,9 +3765,9 @@ class Vt {
|
|
|
3758
3765
|
}
|
|
3759
3766
|
const Ut = "$off";
|
|
3760
3767
|
export {
|
|
3761
|
-
|
|
3762
|
-
|
|
3763
|
-
|
|
3768
|
+
H6 as Clock,
|
|
3769
|
+
H8 as DaysOfWeek,
|
|
3770
|
+
Lt as ErrorBox,
|
|
3764
3771
|
Ne as IconButton,
|
|
3765
3772
|
e8 as IconMultiAlert,
|
|
3766
3773
|
t8 as IconMultiBan,
|
|
@@ -3787,7 +3794,7 @@ export {
|
|
|
3787
3794
|
Z8 as IconMultiRoomPC,
|
|
3788
3795
|
S8 as IconMultiShade,
|
|
3789
3796
|
j8 as IconMultiSun,
|
|
3790
|
-
|
|
3797
|
+
Pt as IconMultiTemplate,
|
|
3791
3798
|
C8 as IconMultiUpArrow,
|
|
3792
3799
|
b8 as IconMultiVolDown,
|
|
3793
3800
|
y8 as IconMultiVolMute,
|
|
@@ -3795,36 +3802,36 @@ export {
|
|
|
3795
3802
|
R8 as IconMultiWireless,
|
|
3796
3803
|
E8 as IconMultiX,
|
|
3797
3804
|
T8 as IconMultiXbox,
|
|
3798
|
-
|
|
3805
|
+
$t as MainLayout,
|
|
3799
3806
|
Vt as MessageHandler,
|
|
3800
3807
|
W6 as MobileControlProvider,
|
|
3801
3808
|
I as MultiStateIconContainer,
|
|
3802
|
-
|
|
3809
|
+
At as NamedIconButton,
|
|
3803
3810
|
Ot as ShareState,
|
|
3804
|
-
|
|
3805
|
-
|
|
3806
|
-
|
|
3811
|
+
kt as TechLayout,
|
|
3812
|
+
Bt as TechPinLayout,
|
|
3813
|
+
A3 as WS_ADD_EVENT_HANDLER,
|
|
3807
3814
|
_3 as WS_CONNECT,
|
|
3808
|
-
|
|
3809
|
-
|
|
3810
|
-
|
|
3811
|
-
|
|
3815
|
+
L3 as WS_DISCONNECT,
|
|
3816
|
+
k3 as WS_RECONNECT,
|
|
3817
|
+
$3 as WS_REMOVE_EVENT_HANDLER,
|
|
3818
|
+
P3 as WS_SEND_MESSAGE,
|
|
3812
3819
|
O3 as WebsocketContext,
|
|
3813
3820
|
T3 as appConfigActions,
|
|
3814
|
-
|
|
3815
|
-
|
|
3821
|
+
ke as createWebSocketMiddleware,
|
|
3822
|
+
w1 as devicesActions,
|
|
3816
3823
|
Wt as getBaseLocation,
|
|
3817
3824
|
f3 as httpClient,
|
|
3818
3825
|
_8 as iconsDictionary,
|
|
3819
3826
|
Ut as roomOffSourceKey,
|
|
3820
|
-
|
|
3827
|
+
m1 as roomsActions,
|
|
3821
3828
|
U as runtimeConfigActions,
|
|
3822
3829
|
C3 as selectAllDevices,
|
|
3823
3830
|
T2 as selectApiPath,
|
|
3824
3831
|
E2 as selectAppConfig,
|
|
3825
3832
|
ce as selectClientId,
|
|
3826
3833
|
he as selectCurrentPopoverIdForGroup,
|
|
3827
|
-
|
|
3834
|
+
L2 as selectDeviceByKey,
|
|
3828
3835
|
b3 as selectDeviceInterfaceSupport,
|
|
3829
3836
|
ve as selectDeviceSupportsInterface,
|
|
3830
3837
|
fe as selectError,
|
|
@@ -3836,25 +3843,25 @@ export {
|
|
|
3836
3843
|
_2 as selectPartnerMetadata,
|
|
3837
3844
|
X2 as selectRoomAdvancedSharingActive,
|
|
3838
3845
|
V2 as selectRoomAudioControlPointList,
|
|
3839
|
-
|
|
3846
|
+
$2 as selectRoomByKey,
|
|
3840
3847
|
q2 as selectRoomCodecContentDestinationKey,
|
|
3841
|
-
|
|
3842
|
-
|
|
3848
|
+
P2 as selectRoomConfiguration,
|
|
3849
|
+
F2 as selectRoomDestinationList,
|
|
3843
3850
|
U2 as selectRoomDestinations,
|
|
3844
3851
|
ee as selectRoomDisplayStates,
|
|
3845
|
-
|
|
3852
|
+
H2 as selectRoomEnvironmentalDevices,
|
|
3846
3853
|
G2 as selectRoomInCall,
|
|
3847
3854
|
z2 as selectRoomIsCoolingDown,
|
|
3848
3855
|
J2 as selectRoomIsOn,
|
|
3849
3856
|
Y2 as selectRoomIsWarmingUp,
|
|
3850
3857
|
se as selectRoomKey,
|
|
3851
3858
|
O2 as selectRoomLevelControls,
|
|
3852
|
-
|
|
3859
|
+
k2 as selectRoomName,
|
|
3853
3860
|
K2 as selectRoomProgramAudioDestinationKey,
|
|
3854
3861
|
Q2 as selectRoomShareState,
|
|
3855
3862
|
W2 as selectRoomSourceList,
|
|
3856
|
-
|
|
3857
|
-
|
|
3863
|
+
B2 as selectRoomVolume,
|
|
3864
|
+
A2 as selectRooms,
|
|
3858
3865
|
ae as selectRuntimeInfo,
|
|
3859
3866
|
ie as selectServerIsRunningOnProcessorHardware,
|
|
3860
3867
|
ge as selectShowPopoverById,
|
|
@@ -3872,8 +3879,8 @@ export {
|
|
|
3872
3879
|
X8 as useAppConfig,
|
|
3873
3880
|
W1 as useAppDispatch,
|
|
3874
3881
|
m as useAppSelector,
|
|
3875
|
-
|
|
3876
|
-
|
|
3882
|
+
F6 as useAvrControl,
|
|
3883
|
+
w as useButtonHeldHeartbeat,
|
|
3877
3884
|
Q6 as useCameraBase,
|
|
3878
3885
|
S6 as useClientId,
|
|
3879
3886
|
Ct as useDeviceIBasicVolume,
|
|
@@ -3886,7 +3893,7 @@ export {
|
|
|
3886
3893
|
bt as useGetAllDeviceStateFromRoomConfiguration,
|
|
3887
3894
|
t6 as useGetAllDevices,
|
|
3888
3895
|
o6 as useGetAllRooms,
|
|
3889
|
-
|
|
3896
|
+
A6 as useGetCurrentPopoverIdForGroup,
|
|
3890
3897
|
_ as useGetDevice,
|
|
3891
3898
|
V6 as useGetIBasicVolume,
|
|
3892
3899
|
U6 as useGetIBasicVolumeWithFeedback,
|
|
@@ -3958,25 +3965,25 @@ export {
|
|
|
3958
3965
|
y6 as useRuntimeInfo,
|
|
3959
3966
|
Et as useScroll,
|
|
3960
3967
|
b6 as useServerIsRunningOnProcessorHardware,
|
|
3961
|
-
|
|
3962
|
-
|
|
3963
|
-
|
|
3968
|
+
L6 as useShowIncomingCallModal,
|
|
3969
|
+
P6 as useShowModal,
|
|
3970
|
+
$6 as useShowPopoverById,
|
|
3964
3971
|
xe as useShowReconnect,
|
|
3965
3972
|
_6 as useShowShutdownModal,
|
|
3966
3973
|
Tt as useStateIsSynced,
|
|
3967
3974
|
Dt as useSystemControl,
|
|
3968
3975
|
j6 as useSystemUuid,
|
|
3969
|
-
|
|
3976
|
+
k6 as useTheme,
|
|
3970
3977
|
_t as useTimeAndDate,
|
|
3971
3978
|
I6 as useTouchpanelKey,
|
|
3972
3979
|
jt as useTwoWayDisplayBase,
|
|
3973
3980
|
C6 as useUserCode,
|
|
3974
3981
|
R as useWebsocketContext,
|
|
3975
3982
|
I3 as useWsIsConnected,
|
|
3976
|
-
|
|
3977
|
-
|
|
3978
|
-
|
|
3979
|
-
|
|
3980
|
-
|
|
3981
|
-
|
|
3983
|
+
Pe as wsAddEventHandler,
|
|
3984
|
+
B3 as wsConnect,
|
|
3985
|
+
B6 as wsDisconnect,
|
|
3986
|
+
$e as wsReconnect,
|
|
3987
|
+
Ae as wsRemoveEventHandler,
|
|
3988
|
+
Le as wsSendMessage
|
|
3982
3989
|
};
|