tmg-media-player 0.0.89 → 0.0.91
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/{chunk-JWB53U4V.js → chunk-5NUKCTLI.js} +2 -2
- package/dist/{chunk-Q6JLSNPT.js → chunk-6DIUFTA7.js} +4 -4
- package/dist/{chunk-V6LMEC4M.js → chunk-DLZKABQM.js} +4 -4
- package/dist/{chunk-KIL4TLPG.js → chunk-EHWP73DH.js} +2 -2
- package/dist/{chunk-EIG2WAT4.js → chunk-GTBRQ3GY.js} +40 -40
- package/dist/{chunk-FCEJJAJ3.js → chunk-I6VMT5OS.js} +13 -13
- package/dist/{chunk-4KKW2XIG.js → chunk-LUZK2BEQ.js} +5 -5
- package/dist/chunk-LUZK2BEQ.js.map +1 -0
- package/dist/{chunk-SF4ORM34.js → chunk-MWO5HHBX.js} +64 -64
- package/dist/{chunk-LAHKVGU3.js → chunk-NBBGPZDK.js} +2 -2
- package/dist/{chunk-AHGGAFP4.js → chunk-OC64HNVE.js} +4 -4
- package/dist/{chunk-46OWY2AZ.js → chunk-PBIOBKLQ.js} +2 -2
- package/dist/chunk-PBIOBKLQ.js.map +1 -0
- package/dist/{chunk-UTKDWRB7.js → chunk-PS5W73KC.js} +7 -7
- package/dist/{chunk-TUPAD3T7.js → chunk-R52VUQNX.js} +50 -50
- package/dist/{chunk-2HZWTLZH.js → chunk-TTNUUGYZ.js} +2 -2
- package/dist/{chunk-2HZWTLZH.js.map → chunk-TTNUUGYZ.js.map} +1 -1
- package/dist/{chunk-GBM53TLP.js → chunk-UFJ27ZKM.js} +2 -2
- package/dist/{chunk-GZJTHYZ4.js → chunk-UQJBCOZM.js} +2 -2
- package/dist/chunk-UQJBCOZM.js.map +1 -0
- package/dist/{chunk-2274ATYW.js → chunk-VM2YE6RX.js} +3 -3
- package/dist/{chunk-ZKDG25G3.js → chunk-WOD7OVJK.js} +4 -4
- package/dist/{chunk-43TGLO2H.js → chunk-XAZMQQDM.js} +5 -5
- package/dist/{chunk-BKCR5PVB.js → chunk-ZP7T2552.js} +72 -72
- package/dist/components/captionsView.js +3 -3
- package/dist/components/controls/airplay.js +1 -1
- package/dist/components/controls/backward.js +1 -1
- package/dist/components/controls/bigNext.js +1 -1
- package/dist/components/controls/bigPlayPause.js +1 -1
- package/dist/components/controls/bigPrevious.js +1 -1
- package/dist/components/controls/brightness/index.js +1 -1
- package/dist/components/controls/captions.js +1 -1
- package/dist/components/controls/capture.js +1 -1
- package/dist/components/controls/cast.js +1 -1
- package/dist/components/controls/expandMiniplayer.js +1 -1
- package/dist/components/controls/forward.js +1 -1
- package/dist/components/controls/fullscreen.js +1 -1
- package/dist/components/controls/fullscreenLock.js +1 -1
- package/dist/components/controls/fullscreenOrientation.js +1 -1
- package/dist/components/controls/next.js +1 -1
- package/dist/components/controls/objectFit.js +1 -1
- package/dist/components/controls/pictureInPicture.js +1 -1
- package/dist/components/controls/playPause.js +1 -1
- package/dist/components/controls/playlist.js +1 -1
- package/dist/components/controls/previous.js +1 -1
- package/dist/components/controls/removeMiniplayer.js +1 -1
- package/dist/components/controls/settings.js +1 -1
- package/dist/components/controls/theater.js +1 -1
- package/dist/components/controls/timeline/index.js +1 -1
- package/dist/components/controls/voice.js +1 -1
- package/dist/components/controls/volume/index.js +1 -1
- package/dist/components/holders/airplayPlaceholder.js +1 -1
- package/dist/components/holders/castPlaceholder.js +1 -1
- package/dist/components/holders/errorPlaceholder.js +1 -1
- package/dist/components/holders/pipPlaceholder.js +1 -1
- package/dist/components/notifiers/airplay.js +1 -1
- package/dist/components/notifiers/brightness.js +1 -1
- package/dist/components/notifiers/captions.js +1 -1
- package/dist/components/notifiers/capture.js +1 -1
- package/dist/components/notifiers/cast.js +1 -1
- package/dist/components/notifiers/fastPlay.js +1 -1
- package/dist/components/notifiers/fwdBwd.js +1 -1
- package/dist/components/notifiers/objectFit.js +1 -1
- package/dist/components/notifiers/playPause.js +1 -1
- package/dist/components/notifiers/playbackRate.js +1 -1
- package/dist/components/notifiers/prevNext.js +1 -1
- package/dist/components/notifiers/scrub.js +1 -1
- package/dist/components/notifiers/touchBrightness.js +1 -1
- package/dist/components/notifiers/touchVolume.js +1 -1
- package/dist/components/notifiers/volume.js +1 -1
- package/dist/components/notifiers/z-register.js +6 -6
- package/dist/components/screenLock.js +1 -1
- package/dist/components/z-register.js +23 -23
- package/dist/core/controller.js +1 -1
- package/dist/index.js +1 -1
- package/dist/init.js +1 -1
- package/dist/plugs/base/index.js +1 -1
- package/dist/plugs/base/slider.js +1 -1
- package/dist/plugs/main/ads/index.js +1 -1
- package/dist/plugs/main/disabled/index.js +1 -1
- package/dist/plugs/main/light/index.js +1 -1
- package/dist/plugs/main/playlist/index.js +1 -1
- package/dist/plugs/main/skeleton/index.js +1 -1
- package/dist/plugs/menus/main/actions.js +2 -2
- package/dist/plugs/menus/main/playlist.js +1 -1
- package/dist/plugs/menus/settings/auto.js +1 -1
- package/dist/plugs/menus/settings/frame.js +1 -1
- package/dist/plugs/menus/settings/keys.js +1 -1
- package/dist/plugs/menus/settings/modes.cjs +4 -4
- package/dist/plugs/menus/settings/modes.cjs.map +1 -1
- package/dist/plugs/menus/settings/modes.js +2 -2
- package/dist/plugs/menus/settings/sleepTimer.js +1 -1
- package/dist/plugs/menus/settings/toasts.js +1 -1
- package/dist/plugs/menus/settings/voice.js +1 -1
- package/dist/plugs/menus/z-register.cjs +4 -4
- package/dist/plugs/menus/z-register.cjs.map +1 -1
- package/dist/plugs/menus/z-register.js +4 -4
- package/dist/plugs/settings/ambience/index.js +1 -1
- package/dist/plugs/settings/auto/index.js +1 -1
- package/dist/plugs/settings/brightness/index.js +1 -1
- package/dist/plugs/settings/captions/index.js +1 -1
- package/dist/plugs/settings/controlPanel/draggable.js +1 -1
- package/dist/plugs/settings/controlPanel/index.js +1 -1
- package/dist/plugs/settings/css/index.js +1 -1
- package/dist/plugs/settings/errors/index.js +1 -1
- package/dist/plugs/settings/fastPlay/index.js +1 -1
- package/dist/plugs/settings/frame/index.cjs +1 -1
- package/dist/plugs/settings/frame/index.cjs.map +1 -1
- package/dist/plugs/settings/frame/index.js +2 -2
- package/dist/plugs/settings/gesture/base.js +1 -1
- package/dist/plugs/settings/gesture/index.js +1 -1
- package/dist/plugs/settings/gesture/touch.js +1 -1
- package/dist/plugs/settings/gesture/wheel.js +1 -1
- package/dist/plugs/settings/keys/index.js +1 -1
- package/dist/plugs/settings/locked/index.js +1 -1
- package/dist/plugs/settings/metadata/index.js +1 -1
- package/dist/plugs/settings/modes/airplay.cjs.map +1 -1
- package/dist/plugs/settings/modes/airplay.js +3 -3
- package/dist/plugs/settings/modes/cast.cjs.map +1 -1
- package/dist/plugs/settings/modes/cast.js +3 -3
- package/dist/plugs/settings/modes/fullscreen.cjs +1 -1
- package/dist/plugs/settings/modes/fullscreen.cjs.map +1 -1
- package/dist/plugs/settings/modes/fullscreen.js +2 -2
- package/dist/plugs/settings/modes/index.cjs +1 -1
- package/dist/plugs/settings/modes/index.cjs.map +1 -1
- package/dist/plugs/settings/modes/index.js +2 -2
- package/dist/plugs/settings/modes/miniplayer.cjs.map +1 -1
- package/dist/plugs/settings/modes/miniplayer.js +2 -2
- package/dist/plugs/settings/modes/pictureInPicture.cjs.map +1 -1
- package/dist/plugs/settings/modes/pictureInPicture.js +2 -2
- package/dist/plugs/settings/modes/theater.cjs.map +1 -1
- package/dist/plugs/settings/modes/theater.js +2 -2
- package/dist/plugs/settings/notifiers/index.js +1 -1
- package/dist/plugs/settings/objectFit/index.js +1 -1
- package/dist/plugs/settings/overlay/index.js +1 -1
- package/dist/plugs/settings/panel/index.js +5 -5
- package/dist/plugs/settings/panel/menu/index.js +4 -4
- package/dist/plugs/settings/panel/menu/panel/index.js +1 -1
- package/dist/plugs/settings/panel/menu/panel/main.js +2 -2
- package/dist/plugs/settings/panel/menu/panel/sub.js +3 -3
- package/dist/plugs/settings/panel/menu/widgets/base.js +1 -1
- package/dist/plugs/settings/panel/menu/widgets/button.js +1 -1
- package/dist/plugs/settings/panel/menu/widgets/color.js +1 -1
- package/dist/plugs/settings/panel/menu/widgets/dragselect.js +1 -1
- package/dist/plugs/settings/panel/menu/widgets/group.js +1 -1
- package/dist/plugs/settings/panel/menu/widgets/index.js +1 -1
- package/dist/plugs/settings/panel/menu/widgets/input.js +1 -1
- package/dist/plugs/settings/panel/menu/widgets/limits.js +1 -1
- package/dist/plugs/settings/panel/menu/widgets/range.js +1 -1
- package/dist/plugs/settings/panel/menu/widgets/select.js +1 -1
- package/dist/plugs/settings/panel/menu/widgets/toggle.js +1 -1
- package/dist/plugs/settings/persist/index.js +1 -1
- package/dist/plugs/settings/playbackRate/index.js +1 -1
- package/dist/plugs/settings/poster/index.js +1 -1
- package/dist/plugs/settings/sleepTimer/index.js +2 -2
- package/dist/plugs/settings/temporal/index.js +1 -1
- package/dist/plugs/settings/time/index.cjs +1 -1
- package/dist/plugs/settings/time/index.cjs.map +1 -1
- package/dist/plugs/settings/time/index.js +2 -2
- package/dist/plugs/settings/toasts/index.js +1 -1
- package/dist/plugs/settings/voice/ai.js +1 -1
- package/dist/plugs/settings/voice/index.js +1 -1
- package/dist/plugs/settings/volume/index.js +1 -1
- package/dist/plugs/z-register.cjs +3 -3
- package/dist/plugs/z-register.cjs.map +1 -1
- package/dist/plugs/z-register.js +35 -35
- package/dist/super/components/index.js +71 -71
- package/dist/super/components/notifiers.js +14 -14
- package/dist/super/consts.js +5 -5
- package/dist/super/plugs/index.cjs +7 -7
- package/dist/super/plugs/index.cjs.map +1 -1
- package/dist/super/plugs/index.js +84 -84
- package/dist/super/plugs/menus.cjs +4 -4
- package/dist/super/plugs/menus.cjs.map +1 -1
- package/dist/super/plugs/menus.js +4 -4
- package/dist/super/techs.js +9 -9
- package/dist/super.cjs +7 -7
- package/dist/super.cjs.map +1 -1
- package/dist/super.global.js +7 -7
- package/dist/super.global.js.map +1 -1
- package/dist/super.js +88 -88
- package/dist/techs/dash.js +1 -1
- package/dist/techs/hls.js +1 -1
- package/dist/techs/html5.js +1 -1
- package/dist/techs/ima.js +1 -1
- package/dist/techs/shaka.js +1 -1
- package/dist/techs/youtube.js +1 -1
- package/dist/techs/z-register.js +3 -3
- package/dist/tools/player.js +1 -1
- package/dist/tools/runtime/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-46OWY2AZ.js.map +0 -1
- package/dist/chunk-4KKW2XIG.js.map +0 -1
- package/dist/chunk-GZJTHYZ4.js.map +0 -1
- /package/dist/{chunk-JWB53U4V.js.map → chunk-5NUKCTLI.js.map} +0 -0
- /package/dist/{chunk-Q6JLSNPT.js.map → chunk-6DIUFTA7.js.map} +0 -0
- /package/dist/{chunk-V6LMEC4M.js.map → chunk-DLZKABQM.js.map} +0 -0
- /package/dist/{chunk-KIL4TLPG.js.map → chunk-EHWP73DH.js.map} +0 -0
- /package/dist/{chunk-EIG2WAT4.js.map → chunk-GTBRQ3GY.js.map} +0 -0
- /package/dist/{chunk-FCEJJAJ3.js.map → chunk-I6VMT5OS.js.map} +0 -0
- /package/dist/{chunk-SF4ORM34.js.map → chunk-MWO5HHBX.js.map} +0 -0
- /package/dist/{chunk-LAHKVGU3.js.map → chunk-NBBGPZDK.js.map} +0 -0
- /package/dist/{chunk-AHGGAFP4.js.map → chunk-OC64HNVE.js.map} +0 -0
- /package/dist/{chunk-UTKDWRB7.js.map → chunk-PS5W73KC.js.map} +0 -0
- /package/dist/{chunk-TUPAD3T7.js.map → chunk-R52VUQNX.js.map} +0 -0
- /package/dist/{chunk-GBM53TLP.js.map → chunk-UFJ27ZKM.js.map} +0 -0
- /package/dist/{chunk-2274ATYW.js.map → chunk-VM2YE6RX.js.map} +0 -0
- /package/dist/{chunk-ZKDG25G3.js.map → chunk-WOD7OVJK.js.map} +0 -0
- /package/dist/{chunk-43TGLO2H.js.map → chunk-XAZMQQDM.js.map} +0 -0
- /package/dist/{chunk-BKCR5PVB.js.map → chunk-ZP7T2552.js.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ModesPlug
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-TTNUUGYZ.js";
|
|
4
4
|
import {
|
|
5
5
|
MODES_AIRPLAY_BUILD
|
|
6
6
|
} from "./chunk-2HFFOBQZ.js";
|
|
@@ -65,4 +65,4 @@ __publicField(ModesAirPlayPin, "BUILD", MODES_AIRPLAY_BUILD);
|
|
|
65
65
|
export {
|
|
66
66
|
ModesAirPlayPin
|
|
67
67
|
};
|
|
68
|
-
//# sourceMappingURL=chunk-
|
|
68
|
+
//# sourceMappingURL=chunk-5NUKCTLI.js.map
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
VimeoTech
|
|
3
|
-
} from "./chunk-TH2NALUW.js";
|
|
4
1
|
import {
|
|
5
2
|
YouTubeTech
|
|
6
3
|
} from "./chunk-ZARKPAOD.js";
|
|
@@ -13,6 +10,9 @@ import {
|
|
|
13
10
|
import {
|
|
14
11
|
ShakaTech
|
|
15
12
|
} from "./chunk-GJHDYEK4.js";
|
|
13
|
+
import {
|
|
14
|
+
VimeoTech
|
|
15
|
+
} from "./chunk-TH2NALUW.js";
|
|
16
16
|
import {
|
|
17
17
|
HTML5Tech
|
|
18
18
|
} from "./chunk-PCYXFMFF.js";
|
|
@@ -31,4 +31,4 @@ for (const Tech of [
|
|
|
31
31
|
VimeoTech
|
|
32
32
|
])
|
|
33
33
|
TechRegistry.register(Tech);
|
|
34
|
-
//# sourceMappingURL=chunk-
|
|
34
|
+
//# sourceMappingURL=chunk-6DIUFTA7.js.map
|
|
@@ -2,6 +2,9 @@ import {
|
|
|
2
2
|
getToastMenuInputs,
|
|
3
3
|
syncToastConfig
|
|
4
4
|
} from "./chunk-EVXB5KO5.js";
|
|
5
|
+
import {
|
|
6
|
+
NEW_ACTIONS
|
|
7
|
+
} from "./chunk-BYZYTA3G.js";
|
|
5
8
|
import {
|
|
6
9
|
formatAction
|
|
7
10
|
} from "./chunk-733ZDI24.js";
|
|
@@ -21,9 +24,6 @@ import {
|
|
|
21
24
|
fvalue,
|
|
22
25
|
uncam
|
|
23
26
|
} from "./chunk-PSZKCW6Y.js";
|
|
24
|
-
import {
|
|
25
|
-
NEW_ACTIONS
|
|
26
|
-
} from "./chunk-BYZYTA3G.js";
|
|
27
27
|
|
|
28
28
|
// src/ts/plugs/menus/main/actions.ts
|
|
29
29
|
import { getPath, mirror, fanout } from "sia-reactor/utils";
|
|
@@ -455,4 +455,4 @@ var getActionsMenu = (ctlr) => {
|
|
|
455
455
|
export {
|
|
456
456
|
getActionsMenu
|
|
457
457
|
};
|
|
458
|
-
//# sourceMappingURL=chunk-
|
|
458
|
+
//# sourceMappingURL=chunk-DLZKABQM.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-MJKCQ3ZL.js";
|
|
4
4
|
import {
|
|
5
5
|
SubMenuPanel
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-OC64HNVE.js";
|
|
7
7
|
import {
|
|
8
8
|
MENU_FOCUS_SELECTOR
|
|
9
9
|
} from "./chunk-ZFKPMB2N.js";
|
|
@@ -210,4 +210,4 @@ __publicField(SettingsMenu, "componentName", "SettingsMenu");
|
|
|
210
210
|
export {
|
|
211
211
|
SettingsMenu
|
|
212
212
|
};
|
|
213
|
-
//# sourceMappingURL=chunk-
|
|
213
|
+
//# sourceMappingURL=chunk-EHWP73DH.js.map
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
CSSPlug
|
|
3
|
-
} from "./chunk-62OMYOEC.js";
|
|
4
|
-
import {
|
|
5
|
-
TimePlug
|
|
6
|
-
} from "./chunk-GZJTHYZ4.js";
|
|
7
1
|
import {
|
|
8
2
|
VolumePlug
|
|
9
3
|
} from "./chunk-EZMSFALY.js";
|
|
@@ -11,66 +5,72 @@ import {
|
|
|
11
5
|
VoiceAiPin,
|
|
12
6
|
VoicePlug
|
|
13
7
|
} from "./chunk-HJL5IEF5.js";
|
|
14
|
-
import {
|
|
15
|
-
PosterPlug
|
|
16
|
-
} from "./chunk-TASI3DCL.js";
|
|
17
|
-
import {
|
|
18
|
-
SleepTimerPlug
|
|
19
|
-
} from "./chunk-RUYODXOS.js";
|
|
20
8
|
import {
|
|
21
9
|
TemporalPlug
|
|
22
10
|
} from "./chunk-LVK7I3HZ.js";
|
|
23
11
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./chunk-
|
|
26
|
-
import {
|
|
27
|
-
PersistPlug
|
|
28
|
-
} from "./chunk-3OTRLZBT.js";
|
|
12
|
+
TimePlug
|
|
13
|
+
} from "./chunk-UQJBCOZM.js";
|
|
29
14
|
import {
|
|
30
15
|
PlaybackRatePlug
|
|
31
16
|
} from "./chunk-6WLTQ66V.js";
|
|
32
17
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./chunk-
|
|
18
|
+
PosterPlug
|
|
19
|
+
} from "./chunk-TASI3DCL.js";
|
|
20
|
+
import {
|
|
21
|
+
SleepTimerPlug
|
|
22
|
+
} from "./chunk-RUYODXOS.js";
|
|
23
|
+
import {
|
|
24
|
+
PanelPlug
|
|
25
|
+
} from "./chunk-UFJ27ZKM.js";
|
|
35
26
|
import {
|
|
36
27
|
OverlayPlug
|
|
37
28
|
} from "./chunk-C6MO2PC7.js";
|
|
29
|
+
import {
|
|
30
|
+
PersistPlug
|
|
31
|
+
} from "./chunk-3OTRLZBT.js";
|
|
38
32
|
import {
|
|
39
33
|
NotifiersPlug
|
|
40
34
|
} from "./chunk-B2JQV54U.js";
|
|
41
35
|
import {
|
|
42
|
-
|
|
43
|
-
} from "./chunk-
|
|
44
|
-
import {
|
|
45
|
-
MetadataPlug
|
|
46
|
-
} from "./chunk-WG7ZZVK7.js";
|
|
36
|
+
ObjectFitPlug
|
|
37
|
+
} from "./chunk-UWZJGNZH.js";
|
|
47
38
|
import {
|
|
48
39
|
ModesAirPlayPin
|
|
49
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-5NUKCTLI.js";
|
|
50
41
|
import {
|
|
51
42
|
ModesCastPin
|
|
52
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-NBBGPZDK.js";
|
|
53
44
|
import {
|
|
54
45
|
ModesFullscreenPin,
|
|
55
46
|
ModesMiniplayerPin,
|
|
56
47
|
ModesPictureInPicturePin,
|
|
57
48
|
ModesPlug,
|
|
58
49
|
ModesTheaterPin
|
|
59
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-TTNUUGYZ.js";
|
|
51
|
+
import {
|
|
52
|
+
KeysPlug
|
|
53
|
+
} from "./chunk-YUSBBARA.js";
|
|
54
|
+
import {
|
|
55
|
+
LockedPlug
|
|
56
|
+
} from "./chunk-MGB2WHJX.js";
|
|
57
|
+
import {
|
|
58
|
+
MetadataPlug
|
|
59
|
+
} from "./chunk-WG7ZZVK7.js";
|
|
60
60
|
import {
|
|
61
61
|
GesturePlug,
|
|
62
62
|
GestureTouchPin,
|
|
63
63
|
GestureWheelPin
|
|
64
64
|
} from "./chunk-W3C5T5DS.js";
|
|
65
65
|
import {
|
|
66
|
-
|
|
67
|
-
} from "./chunk-
|
|
66
|
+
ErrorsPlug
|
|
67
|
+
} from "./chunk-QLFHINHZ.js";
|
|
68
68
|
import {
|
|
69
69
|
FastPlayPlug
|
|
70
70
|
} from "./chunk-OFFHG6T2.js";
|
|
71
71
|
import {
|
|
72
72
|
FramePlug
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-PBIOBKLQ.js";
|
|
74
74
|
import {
|
|
75
75
|
ControlPanelDraggablePin,
|
|
76
76
|
ControlPanelPlug
|
|
@@ -79,26 +79,26 @@ import {
|
|
|
79
79
|
ToastsPlug
|
|
80
80
|
} from "./chunk-7HBX5WSO.js";
|
|
81
81
|
import {
|
|
82
|
-
|
|
83
|
-
} from "./chunk-
|
|
82
|
+
CSSPlug
|
|
83
|
+
} from "./chunk-62OMYOEC.js";
|
|
84
84
|
import {
|
|
85
|
-
|
|
86
|
-
} from "./chunk-
|
|
85
|
+
AutoPlug
|
|
86
|
+
} from "./chunk-NYJFUTUC.js";
|
|
87
87
|
import {
|
|
88
88
|
BrightnessPlug
|
|
89
89
|
} from "./chunk-2X5EFICU.js";
|
|
90
90
|
import {
|
|
91
|
-
|
|
92
|
-
} from "./chunk-
|
|
91
|
+
AmbiencePlug
|
|
92
|
+
} from "./chunk-AHNVFAJ7.js";
|
|
93
93
|
import {
|
|
94
94
|
SkeletonPlug
|
|
95
95
|
} from "./chunk-Z5LJF2MR.js";
|
|
96
|
-
import {
|
|
97
|
-
LightPlug
|
|
98
|
-
} from "./chunk-K7JF5M3V.js";
|
|
99
96
|
import {
|
|
100
97
|
DisabledPlug
|
|
101
98
|
} from "./chunk-RF77HQPP.js";
|
|
99
|
+
import {
|
|
100
|
+
LightPlug
|
|
101
|
+
} from "./chunk-K7JF5M3V.js";
|
|
102
102
|
import {
|
|
103
103
|
AdsPlug
|
|
104
104
|
} from "./chunk-E7PNE3P7.js";
|
|
@@ -164,4 +164,4 @@ for (const Pin of [
|
|
|
164
164
|
VoiceAiPin
|
|
165
165
|
])
|
|
166
166
|
PinRegistry.register(Pin);
|
|
167
|
-
//# sourceMappingURL=chunk-
|
|
167
|
+
//# sourceMappingURL=chunk-GTBRQ3GY.js.map
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
PrevNextNotifier
|
|
3
|
-
} from "./chunk-HMGBBARW.js";
|
|
4
|
-
import {
|
|
5
|
-
ScrubNotifier
|
|
6
|
-
} from "./chunk-VOWVVN4H.js";
|
|
7
1
|
import {
|
|
8
2
|
TouchBrightnessNotifier
|
|
9
3
|
} from "./chunk-IS47OL33.js";
|
|
@@ -16,12 +10,6 @@ import {
|
|
|
16
10
|
import {
|
|
17
11
|
VolumeNotifier
|
|
18
12
|
} from "./chunk-M5OXRMCP.js";
|
|
19
|
-
import {
|
|
20
|
-
CaptureNotifier
|
|
21
|
-
} from "./chunk-HTGSGT3X.js";
|
|
22
|
-
import {
|
|
23
|
-
CastNotifier
|
|
24
|
-
} from "./chunk-YUKTZPQX.js";
|
|
25
13
|
import {
|
|
26
14
|
ChapterNotifier
|
|
27
15
|
} from "./chunk-ZZYJDBYZ.js";
|
|
@@ -40,6 +28,12 @@ import {
|
|
|
40
28
|
import {
|
|
41
29
|
PlayPauseNotifier
|
|
42
30
|
} from "./chunk-STS37KKP.js";
|
|
31
|
+
import {
|
|
32
|
+
PrevNextNotifier
|
|
33
|
+
} from "./chunk-HMGBBARW.js";
|
|
34
|
+
import {
|
|
35
|
+
ScrubNotifier
|
|
36
|
+
} from "./chunk-VOWVVN4H.js";
|
|
43
37
|
import {
|
|
44
38
|
AirPlayNotifier
|
|
45
39
|
} from "./chunk-F3LP4GON.js";
|
|
@@ -52,6 +46,12 @@ import {
|
|
|
52
46
|
import {
|
|
53
47
|
CaptionsNotifier
|
|
54
48
|
} from "./chunk-TJQOTV3A.js";
|
|
49
|
+
import {
|
|
50
|
+
CaptureNotifier
|
|
51
|
+
} from "./chunk-HTGSGT3X.js";
|
|
52
|
+
import {
|
|
53
|
+
CastNotifier
|
|
54
|
+
} from "./chunk-YUKTZPQX.js";
|
|
55
55
|
import {
|
|
56
56
|
ComponentRegistry
|
|
57
57
|
} from "./chunk-BQYL5CQH.js";
|
|
@@ -79,4 +79,4 @@ for (const Comp of [
|
|
|
79
79
|
AirPlayNotifier
|
|
80
80
|
])
|
|
81
81
|
ComponentRegistry.register(Comp);
|
|
82
|
-
//# sourceMappingURL=chunk-
|
|
82
|
+
//# sourceMappingURL=chunk-I6VMT5OS.js.map
|
|
@@ -44,13 +44,13 @@ var getSettingsModesMenu = (plug) => ({
|
|
|
44
44
|
label: "Orientation",
|
|
45
45
|
widget: "group",
|
|
46
46
|
getDisabled: () => plug.config.fullscreen.disabled,
|
|
47
|
-
configPaths: ["settings.modes.fullscreen.disabled"],
|
|
48
47
|
getValue() {
|
|
49
48
|
const opts = this.items[0].getOptions();
|
|
50
49
|
return opts.find((o) => o.value === this.items[0].getValue())?.display || "";
|
|
51
50
|
},
|
|
52
51
|
onWire: (syncUI, signal) => globalState.on("screenOrientation.type", syncUI, { signal }),
|
|
53
|
-
|
|
52
|
+
configPaths: ["settings.modes.fullscreen.disabled"],
|
|
53
|
+
mediaPaths: ["state.fullscreenOrientation", "intent.fullscreenOrientation", "state.autoFullscreenOrientation"],
|
|
54
54
|
items: [
|
|
55
55
|
{
|
|
56
56
|
id: "modesFullscreenOrientationSelect",
|
|
@@ -67,7 +67,7 @@ var getSettingsModesMenu = (plug) => ({
|
|
|
67
67
|
}),
|
|
68
68
|
onChange: (val) => val === "auto" ? plug.media.intent.autoFullscreenOrientation = true : plug.media.intent.fullscreenOrientation = val,
|
|
69
69
|
onWire: (syncUI, signal) => globalState.on("screenOrientation.type", syncUI, { signal }),
|
|
70
|
-
mediaPaths: ["state.fullscreenOrientation", "state.autoFullscreenOrientation"]
|
|
70
|
+
mediaPaths: ["state.fullscreenOrientation", "intent.fullscreenOrientation", "state.autoFullscreenOrientation"]
|
|
71
71
|
},
|
|
72
72
|
{ id: "modesFullscreenAllowMediaOverride", label: "Allow media override", widget: "toggle", getValue: () => plug.config.fullscreen.orientation.allowMediaOverride, onChange: (val) => plug.config.fullscreen.orientation.allowMediaOverride = val, configPaths: ["settings.modes.fullscreen.orientation.allowMediaOverride"] },
|
|
73
73
|
{
|
|
@@ -75,8 +75,8 @@ var getSettingsModesMenu = (plug) => ({
|
|
|
75
75
|
label: "Rotation toggle",
|
|
76
76
|
widget: "group",
|
|
77
77
|
getValue: () => plug.config.fullscreen.orientation.rotationToggle.on.value !== false || plug.config.fullscreen.orientation.rotationToggle.off.value !== false ? "On" : "Off",
|
|
78
|
-
configPaths: ["settings.modes.fullscreen.orientation.rotationToggle.on.value", "settings.modes.fullscreen.orientation.rotationToggle.off.value"],
|
|
79
78
|
getTipHTML: () => "Automatically toggle fullscreen when the device is rotated to a specific orientation",
|
|
79
|
+
configPaths: ["settings.modes.fullscreen.orientation.rotationToggle.on.value", "settings.modes.fullscreen.orientation.rotationToggle.off.value"],
|
|
80
80
|
items: [
|
|
81
81
|
{ id: "modesFullscreenOnRotate", label: "Auto-enter", widget: "select", getValue: () => getUIOpt(plug.config.fullscreen.orientation.rotationToggle.on.options, plug.config.fullscreen.orientation.rotationToggle.on.value), getOptions: () => plug.config.fullscreen.orientation.rotationToggle.on.options, onChange: (val) => plug.config.fullscreen.orientation.rotationToggle.on.value = val, configPaths: ["settings.modes.fullscreen.orientation.rotationToggle.on.value"] },
|
|
82
82
|
{ id: "modesFullscreenOffRotate", label: "Auto-exit", widget: "select", getValue: () => getUIOpt(plug.config.fullscreen.orientation.rotationToggle.off.options, plug.config.fullscreen.orientation.rotationToggle.off.value), getOptions: () => plug.config.fullscreen.orientation.rotationToggle.off.options, onChange: (val) => plug.config.fullscreen.orientation.rotationToggle.off.value = val, configPaths: ["settings.modes.fullscreen.orientation.rotationToggle.off.value"] }
|
|
@@ -210,4 +210,4 @@ var getSettingsModesMenu = (plug) => ({
|
|
|
210
210
|
export {
|
|
211
211
|
getSettingsModesMenu
|
|
212
212
|
};
|
|
213
|
-
//# sourceMappingURL=chunk-
|
|
213
|
+
//# sourceMappingURL=chunk-LUZK2BEQ.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/ts/plugs/menus/settings/modes.ts"],"sourcesContent":["import type { SettingsMenuItem } from \"@plugs/settings/panel/types\";\r\nimport type { ModesPlug } from \"@plugs/settings/modes\";\r\nimport { getUIOpt, parseUIOpt } from \"@utils/obj\";\r\nimport { globalState } from \"@tools/runtime\";\r\nimport { formatMenuPx } from \"@utils/str\";\r\nimport { safeNum } from \"@utils/num\";\r\nimport { getClientWH } from \"@utils/dom\";\r\nimport { UITuple } from \"@defs/UIOptions\";\r\n\r\nexport const getSettingsModesMenu = (plug: ModesPlug): SettingsMenuItem => ({\r\n id: \"advanced\",\r\n label: \"Advanced\",\r\n icon: \"settings\",\r\n widget: \"group\",\r\n getValue: () => \"\",\r\n items: [\r\n {\r\n id: \"modes\",\r\n label: \"Modes\",\r\n widget: \"group\",\r\n getValue: () => (plug.config.fullscreen.disabled && plug.config.pictureInPicture.disabled && plug.config.theater.disabled && plug.config.miniplayer.disabled ? \"Off\" : \"On\"),\r\n configPaths: [\"settings.modes.fullscreen.disabled\", \"settings.modes.pictureInPicture.disabled\", \"settings.modes.theater.disabled\", \"settings.modes.miniplayer.disabled\"],\r\n items: [\r\n {\r\n id: \"modesFullscreen\",\r\n label: \"Fullscreen\",\r\n widget: \"group\",\r\n getValue: () => (plug.config.fullscreen.disabled ? \"Off\" : \"On\"),\r\n configPaths: [\"settings.modes.fullscreen.disabled\"],\r\n items: [\r\n { id: \"modesFullscreenDisabled\", label: \"Disable\", widget: \"toggle\", getValue: () => plug.config.fullscreen.disabled, onChange: (val: boolean) => (plug.config.fullscreen.disabled = val), configPaths: [\"settings.modes.fullscreen.disabled\"] },\r\n { id: \"modesFullscreenPseudo\", label: \"Pseudo (Full Window)\", widget: \"toggle\", getValue: () => plug.config.fullscreen.pseudo, getDisabled: () => plug.config.fullscreen.disabled, onChange: (val: boolean) => (plug.config.fullscreen.pseudo = val), configPaths: [\"settings.modes.fullscreen.pseudo\", \"settings.modes.fullscreen.disabled\"], title: \"Fill the browser window instead, useful when the real deal is unavailable or restricted\" },\r\n {\r\n id: \"modesFullscreenOrientation\",\r\n label: \"Orientation\",\r\n widget: \"group\",\r\n getDisabled: () => plug.config.fullscreen.disabled,\r\n getValue() {\r\n const opts = this.items![0].getOptions!() as UITuple<string>[];\r\n return opts.find((o) => o.value === this.items![0].getValue!())?.display || \"\";\r\n },\r\n onWire: (syncUI, signal) => globalState.on(\"screenOrientation.type\", syncUI, { signal }),\r\n configPaths: [\"settings.modes.fullscreen.disabled\"],\r\n mediaPaths: [\"state.fullscreenOrientation\", \"intent.fullscreenOrientation\", \"state.autoFullscreenOrientation\"],\r\n items: [\r\n {\r\n id: \"modesFullscreenOrientationSelect\",\r\n label: \"Options\",\r\n widget: \"select\",\r\n feature: \"fullscreenOrientation\",\r\n inline: true,\r\n getValue: ({ intent: { fullscreenOrientation: ior }, state: { fullscreenOrientation: or, autoFullscreenOrientation: aor } } = plug.media) => (aor ? \"auto\" : or && (ior === \"landscape\" || ior === \"portrait\") && or.startsWith(ior) ? ior : or),\r\n getOptions: (opts = plug.config.fullscreen.orientation.options!) =>\r\n opts.map((o, _, __, opt = parseUIOpt(o), d = \"\", { intent: { fullscreenOrientation: ior }, state: { fullscreenOrientation: or, autoFullscreenOrientation: aor } } = plug.media) => {\r\n if (opt.value === \"auto\" && aor) return opts.find((o, _, __, parsed = parseUIOpt(o)) => parsed.value === or && ((d = parsed.display), true)), { ...opt, display: `${opt.display}${d ? ` (${d})` : \"\"}` };\r\n if (opt.value === false && !or) return opts.find((o, _, __, parsed = parseUIOpt(o)) => parsed.value === globalState.screenOrientation.type && ((d = parsed.display), true)), { ...opt, display: `${opt.display}${d ? ` (${d})` : \"\"}` };\r\n if (or && !aor && ior === opt.value && (opt.value === \"landscape\" || opt.value === \"portrait\") && or.startsWith(opt.value)) return opts.find((o, _, __, parsed = parseUIOpt(o)) => parsed.value === or && ((d = parsed.display), true)), { ...opt, display: `${opt.display}${d ? ` (${d})` : \"\"}` };\r\n return opt;\r\n }),\r\n onChange: (val: string) => (val === \"auto\" ? (plug.media.intent.autoFullscreenOrientation = true) : (plug.media.intent.fullscreenOrientation = val as typeof plug.media.intent.fullscreenOrientation)),\r\n onWire: (syncUI, signal) => globalState.on(\"screenOrientation.type\", syncUI, { signal }),\r\n mediaPaths: [\"state.fullscreenOrientation\", \"intent.fullscreenOrientation\", \"state.autoFullscreenOrientation\"],\r\n },\r\n { id: \"modesFullscreenAllowMediaOverride\", label: \"Allow media override\", widget: \"toggle\", getValue: () => plug.config.fullscreen.orientation.allowMediaOverride, onChange: (val: boolean) => (plug.config.fullscreen.orientation.allowMediaOverride = val), configPaths: [\"settings.modes.fullscreen.orientation.allowMediaOverride\"] },\r\n {\r\n id: \"modesFullscreenRotation\",\r\n label: \"Rotation toggle\",\r\n widget: \"group\",\r\n getValue: () => (plug.config.fullscreen.orientation.rotationToggle.on.value !== false || plug.config.fullscreen.orientation.rotationToggle.off.value !== false ? \"On\" : \"Off\"),\r\n getTipHTML: () => \"Automatically toggle fullscreen when the device is rotated to a specific orientation\",\r\n configPaths: [\"settings.modes.fullscreen.orientation.rotationToggle.on.value\", \"settings.modes.fullscreen.orientation.rotationToggle.off.value\"],\r\n items: [\r\n { id: \"modesFullscreenOnRotate\", label: \"Auto-enter\", widget: \"select\", getValue: () => getUIOpt(plug.config.fullscreen.orientation.rotationToggle.on.options, plug.config.fullscreen.orientation.rotationToggle.on.value), getOptions: () => plug.config.fullscreen.orientation.rotationToggle.on.options!, onChange: (val: any) => (plug.config.fullscreen.orientation.rotationToggle.on.value = val), configPaths: [\"settings.modes.fullscreen.orientation.rotationToggle.on.value\"] },\r\n { id: \"modesFullscreenOffRotate\", label: \"Auto-exit\", widget: \"select\", getValue: () => getUIOpt(plug.config.fullscreen.orientation.rotationToggle.off.options, plug.config.fullscreen.orientation.rotationToggle.off.value), getOptions: () => plug.config.fullscreen.orientation.rotationToggle.off.options!, onChange: (val: any) => (plug.config.fullscreen.orientation.rotationToggle.off.value = val), configPaths: [\"settings.modes.fullscreen.orientation.rotationToggle.off.value\"] },\r\n ],\r\n },\r\n ],\r\n },\r\n ],\r\n },\r\n {\r\n id: \"modesPip\",\r\n label: \"Picture in picture\",\r\n widget: \"group\",\r\n getValue: () => (plug.config.pictureInPicture.disabled ? \"Off\" : \"On\"),\r\n configPaths: [\"settings.modes.pictureInPicture.disabled\"],\r\n items: [\r\n { id: \"modesPipDisabled\", label: \"Disable\", widget: \"toggle\", getValue: () => plug.config.pictureInPicture.disabled, onChange: (val: boolean) => (plug.config.pictureInPicture.disabled = val), configPaths: [\"settings.modes.pictureInPicture.disabled\"] },\r\n {\r\n id: \"modesPipFloating\",\r\n label: \"Floating player\",\r\n widget: \"group\",\r\n getDisabled: () => plug.config.pictureInPicture.disabled,\r\n configPaths: [\"settings.modes.pictureInPicture.disabled\"],\r\n getBadge: () => ({ label: \"new\" }),\r\n getValue: () => \"\",\r\n items: [\r\n { id: \"modesPipFloatingDisabled\", label: \"Disable\", widget: \"toggle\", getValue: () => plug.config.pictureInPicture.floating.disabled, onChange: (val: boolean) => (plug.config.pictureInPicture.floating.disabled = val), configPaths: [\"settings.modes.pictureInPicture.floating.disabled\"], title: \"The floating player allows keeping the custom player UI in the Picture-in-Picture window\" },\r\n { id: \"modesPipFloatingDisallowReturn\", label: \"Disallow return to opener\", widget: \"toggle\", getValue: () => plug.config.pictureInPicture.floating.disallowReturnToOpener, getDisabled: () => plug.config.pictureInPicture.floating.disabled, onChange: (val: boolean) => (plug.config.pictureInPicture.floating.disallowReturnToOpener = val), configPaths: [\"settings.modes.pictureInPicture.floating.disallowReturnToOpener\", \"settings.modes.pictureInPicture.floating.disabled\"], title: \"Hide the 'Back to tab' button in the floating window on next open\" },\r\n { id: \"modesPipFloatingPreferInitial\", label: \"Prefer initial placement\", widget: \"toggle\", getValue: () => plug.config.pictureInPicture.floating.preferInitialWindowPlacement, getDisabled: () => plug.config.pictureInPicture.floating.disabled, onChange: (val: boolean) => (plug.config.pictureInPicture.floating.preferInitialWindowPlacement = val), configPaths: [\"settings.modes.pictureInPicture.floating.preferInitialWindowPlacement\", \"settings.modes.pictureInPicture.floating.disabled\"], title: \"Don't open the floating window in the same screen position & size it was previously closed\" },\r\n {\r\n id: \"modesPipFloatingSize\",\r\n label: \"Initial size (W x H)\",\r\n widget: \"input\",\r\n getDisabled: () => plug.config.pictureInPicture.floating.disabled,\r\n inputs: [\r\n { name: \"w\", label: \"Width (px)\", type: \"number\", required: true, inline: true, min: \"160\", max: () => String(globalState.dimensions.window.width), value: () => plug.config.pictureInPicture.floating.width },\r\n { name: \"h\", label: \"Height (px)\", type: \"number\", required: true, inline: true, min: \"90\", max: () => String(globalState.dimensions.window.height), value: () => plug.config.pictureInPicture.floating.height },\r\n ],\r\n getValue: () => `${formatMenuPx(plug.config.pictureInPicture.floating.width, true)} × ${formatMenuPx(plug.config.pictureInPicture.floating.height, true)}`,\r\n onChange: (val: any) => ((plug.config.pictureInPicture.floating.width = val.w), (plug.config.pictureInPicture.floating.height = val.h)),\r\n configPaths: [\"settings.modes.pictureInPicture.floating.width\", \"settings.modes.pictureInPicture.floating.height\", \"settings.modes.pictureInPicture.floating.disabled\"],\r\n },\r\n ],\r\n },\r\n ],\r\n },\r\n { id: \"modesTheater\", label: \"Theater\", widget: \"group\", getValue: () => (plug.config.theater.disabled ? \"Off\" : \"On\"), configPaths: [\"settings.modes.theater.disabled\"], items: [{ id: \"modesTheaterDisabled\", label: \"Disable\", widget: \"toggle\", getValue: () => plug.config.theater.disabled, onChange: (val: boolean) => (plug.config.theater.disabled = val), configPaths: [\"settings.modes.theater.disabled\"] }] },\r\n {\r\n id: \"modesMiniplayer\",\r\n label: \"Miniplayer\",\r\n widget: \"group\",\r\n getValue: () => (plug.config.miniplayer.disabled ? \"Off\" : \"On\"),\r\n configPaths: [\"settings.modes.miniplayer.disabled\"],\r\n items: [\r\n { id: \"modesMiniplayerDisabled\", label: \"Disable\", widget: \"toggle\", getValue: () => plug.config.miniplayer.disabled, onChange: (val: boolean) => (plug.config.miniplayer.disabled = val), configPaths: [\"settings.modes.miniplayer.disabled\"] },\r\n { id: \"modesMiniplayerLock\", label: \"Lock to window\", widget: \"toggle\", getBadge: () => ({ label: \"new\" }), getValue: () => plug.config.miniplayer.lockToWindow, getDisabled: () => plug.config.miniplayer.disabled, onChange: (val: boolean) => (plug.config.miniplayer.lockToWindow = val), configPaths: [\"settings.modes.miniplayer.lockToWindow\", \"settings.modes.miniplayer.disabled\"], title: \"Prevent dragging the miniplayer outside the browser boundaries\" },\r\n {\r\n id: \"modesMiniplayerPos\",\r\n label: \"Position (X, Y)\",\r\n widget: \"input\",\r\n getDisabled: () => plug.config.miniplayer.disabled,\r\n inputs: [\r\n { name: \"x\", label: \"X (%)\", type: \"number\", required: true, inline: true, min: \"0\", max: \"100\", value: () => safeNum(Math.round(parseFloat(plug.settings.css.currentMiniplayerX as string)), 100) },\r\n { name: \"y\", label: \"Y (%)\", type: \"number\", required: true, inline: true, min: \"0\", max: \"100\", value: () => safeNum(Math.round(parseFloat(plug.settings.css.currentMiniplayerY as string)), 100) },\r\n ],\r\n getValue: () => `${safeNum(Math.round(parseFloat(plug.settings.css.currentMiniplayerX as string)), 100)}%, ${safeNum(Math.round(parseFloat(plug.settings.css.currentMiniplayerY as string)), 100)}%`,\r\n onChange: (val: any) => ((plug.settings.css.currentMiniplayerX = `${val.x}%`), (plug.settings.css.currentMiniplayerY = `${val.y}%`)),\r\n configPaths: [\"settings.css.currentMiniplayerX\", \"settings.css.currentMiniplayerY\", \"settings.modes.miniplayer.disabled\"],\r\n },\r\n {\r\n id: \"modesMiniplayerSize\",\r\n label: \"Size (W x H)\",\r\n widget: \"input\",\r\n getDisabled: () => plug.config.miniplayer.disabled,\r\n inputs: [\r\n { name: \"w\", label: \"Width (px)\", type: \"number\", required: true, inline: true, min: \"160\", max: () => String(getClientWH(plug.media.container.parentElement).clientWidth), value: () => Math.round(parseFloat(plug.settings.css.currentMiniplayerWidth as string) || plug.media.container.clientWidth) },\r\n { name: \"h\", label: \"Height (px)\", type: \"number\", required: true, inline: true, min: \"90\", max: () => String(getClientWH(plug.media.container.parentElement).clientHeight), value: () => Math.round(parseFloat(plug.settings.css.currentMiniplayerHeight as string) || plug.media.container.clientHeight) },\r\n ],\r\n getValue: () => `${formatMenuPx(Math.round(parseFloat(plug.settings.css.currentMiniplayerWidth as string) || plug.media.container.clientWidth), true)} × ${formatMenuPx(Math.round(parseFloat(plug.settings.css.currentMiniplayerHeight as string) || plug.media.container.clientHeight), true)}`,\r\n onChange: (val: any) => ((plug.settings.css.currentMiniplayerWidth = `${val.w}px`), (plug.settings.css.currentMiniplayerHeight = `${val.h}px`)),\r\n configPaths: [\"settings.css.currentMiniplayerWidth\", \"settings.css.currentMiniplayerHeight\", \"settings.modes.miniplayer.disabled\"],\r\n },\r\n { id: \"modesMiniplayerMinWidth\", label: \"Min window width\", widget: \"range\", getValue: () => formatMenuPx(plug.config.miniplayer.minWindowWidth, true), getDisabled: () => plug.config.miniplayer.disabled, getRange: () => ({ min: 160, max: globalState.dimensions.window.width, step: 10, formatTooltip: formatMenuPx }), onChange: (val: number) => (plug.config.miniplayer.minWindowWidth = val), configPaths: [\"settings.modes.miniplayer.minWindowWidth\", \"settings.modes.miniplayer.disabled\"], getTipHTML: () => \"The minimum width the browser must be to allow the miniplayer to appear\" },\r\n ],\r\n },\r\n {\r\n id: \"modesCast\",\r\n label: \"Chromecast\",\r\n widget: \"group\",\r\n getValue: () => (plug.config.cast?.disabled ? \"Off\" : \"On\"),\r\n getTipHTML: () => \"Stream media to compatible TVs and devices on your network. Requires a supported browser.\",\r\n configPaths: [\"settings.modes.cast.disabled\"],\r\n items: [\r\n {\r\n id: \"modesCastDisabled\",\r\n label: \"Disable\",\r\n widget: \"toggle\",\r\n getValue: () => !!plug.config.cast?.disabled,\r\n onChange: (val: boolean) => {\r\n if (plug.config.cast) plug.config.cast.disabled = val;\r\n },\r\n configPaths: [\"settings.modes.cast.disabled\"],\r\n },\r\n ],\r\n },\r\n {\r\n id: \"modesAirPlay\",\r\n label: \"AirPlay\",\r\n widget: \"group\",\r\n getValue: () => (plug.config.airplay?.disabled ? \"Off\" : \"On\"),\r\n getTipHTML: () => \"Stream media to an Apple TV, HomePod, or AirPlay-enabled device on your network.\",\r\n configPaths: [\"settings.modes.airplay.disabled\"],\r\n items: [\r\n {\r\n id: \"modesAirPlayDisabled\",\r\n label: \"Disable\",\r\n widget: \"toggle\",\r\n getValue: () => !!plug.config.airplay?.disabled,\r\n onChange: (val: boolean) => {\r\n if (plug.config.airplay) plug.config.airplay.disabled = val;\r\n },\r\n configPaths: [\"settings.modes.airplay.disabled\"],\r\n },\r\n ],\r\n },\r\n ],\r\n },\r\n ],\r\n});\r\n\r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js";
|
|
7
7
|
import {
|
|
8
8
|
TouchBrightnessNotifier
|
|
9
9
|
} from "./chunk-IS47OL33.js";
|
|
@@ -16,12 +16,6 @@ import {
|
|
|
16
16
|
import {
|
|
17
17
|
VolumeNotifier
|
|
18
18
|
} from "./chunk-M5OXRMCP.js";
|
|
19
|
-
import {
|
|
20
|
-
CaptureNotifier
|
|
21
|
-
} from "./chunk-HTGSGT3X.js";
|
|
22
|
-
import {
|
|
23
|
-
CastNotifier
|
|
24
|
-
} from "./chunk-YUKTZPQX.js";
|
|
25
19
|
import {
|
|
26
20
|
ChapterNotifier
|
|
27
21
|
} from "./chunk-ZZYJDBYZ.js";
|
|
@@ -41,11 +35,11 @@ import {
|
|
|
41
35
|
PlayPauseNotifier
|
|
42
36
|
} from "./chunk-STS37KKP.js";
|
|
43
37
|
import {
|
|
44
|
-
|
|
45
|
-
} from "./chunk-
|
|
38
|
+
PrevNextNotifier
|
|
39
|
+
} from "./chunk-HMGBBARW.js";
|
|
46
40
|
import {
|
|
47
|
-
|
|
48
|
-
} from "./chunk-
|
|
41
|
+
ScrubNotifier
|
|
42
|
+
} from "./chunk-VOWVVN4H.js";
|
|
49
43
|
import {
|
|
50
44
|
AirPlayNotifier
|
|
51
45
|
} from "./chunk-F3LP4GON.js";
|
|
@@ -58,6 +52,12 @@ import {
|
|
|
58
52
|
import {
|
|
59
53
|
CaptionsNotifier
|
|
60
54
|
} from "./chunk-TJQOTV3A.js";
|
|
55
|
+
import {
|
|
56
|
+
CaptureNotifier
|
|
57
|
+
} from "./chunk-HTGSGT3X.js";
|
|
58
|
+
import {
|
|
59
|
+
CastNotifier
|
|
60
|
+
} from "./chunk-YUKTZPQX.js";
|
|
61
61
|
import {
|
|
62
62
|
BaseNotifier
|
|
63
63
|
} from "./chunk-3H3QVGC4.js";
|
|
@@ -242,41 +242,29 @@ import {
|
|
|
242
242
|
ambience
|
|
243
243
|
} from "./chunk-XHXIXEGS.js";
|
|
244
244
|
import {
|
|
245
|
-
|
|
246
|
-
} from "./chunk-
|
|
245
|
+
Timeline
|
|
246
|
+
} from "./chunk-2I43LV7X.js";
|
|
247
247
|
import {
|
|
248
248
|
VolumeControl
|
|
249
249
|
} from "./chunk-FHKOVLXY.js";
|
|
250
250
|
import {
|
|
251
|
-
|
|
252
|
-
} from "./chunk-
|
|
251
|
+
BrightnessControl
|
|
252
|
+
} from "./chunk-HJUXFCWZ.js";
|
|
253
253
|
import {
|
|
254
254
|
RangeInput
|
|
255
255
|
} from "./chunk-BGLKBVHX.js";
|
|
256
256
|
import {
|
|
257
|
-
|
|
258
|
-
} from "./chunk-
|
|
259
|
-
import {
|
|
260
|
-
TimeButton
|
|
261
|
-
} from "./chunk-NYJOXJHO.js";
|
|
262
|
-
import {
|
|
263
|
-
TimeAndDurationButton
|
|
264
|
-
} from "./chunk-CJWOC4MN.js";
|
|
265
|
-
import {
|
|
266
|
-
VoiceButton
|
|
267
|
-
} from "./chunk-FHXFHFDJ.js";
|
|
268
|
-
import {
|
|
269
|
-
NextButton
|
|
270
|
-
} from "./chunk-PX7SJSUH.js";
|
|
257
|
+
AirPlayPlaceholder
|
|
258
|
+
} from "./chunk-NJCRSY3D.js";
|
|
271
259
|
import {
|
|
272
|
-
|
|
273
|
-
} from "./chunk-
|
|
260
|
+
CastPlaceholder
|
|
261
|
+
} from "./chunk-RMCYKYHG.js";
|
|
274
262
|
import {
|
|
275
|
-
|
|
276
|
-
} from "./chunk-
|
|
263
|
+
ErrorPlaceholder
|
|
264
|
+
} from "./chunk-CGYYMWHU.js";
|
|
277
265
|
import {
|
|
278
|
-
|
|
279
|
-
} from "./chunk-
|
|
266
|
+
PiPPlaceholder
|
|
267
|
+
} from "./chunk-GQBJSM7L.js";
|
|
280
268
|
import {
|
|
281
269
|
PlayPauseButton
|
|
282
270
|
} from "./chunk-BOEMTYLB.js";
|
|
@@ -290,17 +278,17 @@ import {
|
|
|
290
278
|
SettingsButton
|
|
291
279
|
} from "./chunk-DUPTJYWX.js";
|
|
292
280
|
import {
|
|
293
|
-
|
|
294
|
-
} from "./chunk-
|
|
281
|
+
TheaterButton
|
|
282
|
+
} from "./chunk-FJ3LACTN.js";
|
|
295
283
|
import {
|
|
296
|
-
|
|
297
|
-
} from "./chunk-
|
|
284
|
+
TimeButton
|
|
285
|
+
} from "./chunk-NYJOXJHO.js";
|
|
298
286
|
import {
|
|
299
|
-
|
|
300
|
-
} from "./chunk-
|
|
287
|
+
TimeAndDurationButton
|
|
288
|
+
} from "./chunk-CJWOC4MN.js";
|
|
301
289
|
import {
|
|
302
|
-
|
|
303
|
-
} from "./chunk-
|
|
290
|
+
VoiceButton
|
|
291
|
+
} from "./chunk-FHXFHFDJ.js";
|
|
304
292
|
import {
|
|
305
293
|
FullscreenButton
|
|
306
294
|
} from "./chunk-IF2GFTHB.js";
|
|
@@ -314,17 +302,17 @@ import {
|
|
|
314
302
|
Meta
|
|
315
303
|
} from "./chunk-VDEZNMO4.js";
|
|
316
304
|
import {
|
|
317
|
-
|
|
318
|
-
} from "./chunk-
|
|
305
|
+
NextButton
|
|
306
|
+
} from "./chunk-PX7SJSUH.js";
|
|
319
307
|
import {
|
|
320
|
-
|
|
321
|
-
} from "./chunk-
|
|
308
|
+
ObjectFitButton
|
|
309
|
+
} from "./chunk-EN6PROMZ.js";
|
|
322
310
|
import {
|
|
323
|
-
|
|
324
|
-
} from "./chunk-
|
|
311
|
+
PictureInPictureButton
|
|
312
|
+
} from "./chunk-KAHXGLG5.js";
|
|
325
313
|
import {
|
|
326
|
-
|
|
327
|
-
} from "./chunk-
|
|
314
|
+
PlaylistButton
|
|
315
|
+
} from "./chunk-6BACAK7Z.js";
|
|
328
316
|
import {
|
|
329
317
|
BigPreviousButton
|
|
330
318
|
} from "./chunk-MPAYVJTG.js";
|
|
@@ -338,23 +326,35 @@ import {
|
|
|
338
326
|
CastButton
|
|
339
327
|
} from "./chunk-X7TDXKCM.js";
|
|
340
328
|
import {
|
|
341
|
-
|
|
342
|
-
} from "./chunk-
|
|
329
|
+
ChaptersButton
|
|
330
|
+
} from "./chunk-4RS5WS6U.js";
|
|
343
331
|
import {
|
|
344
|
-
|
|
345
|
-
} from "./chunk-
|
|
332
|
+
DurationButton
|
|
333
|
+
} from "./chunk-ZYRWLZTJ.js";
|
|
346
334
|
import {
|
|
347
|
-
|
|
348
|
-
} from "./chunk-
|
|
335
|
+
ExpandMiniplayerButton
|
|
336
|
+
} from "./chunk-TQ3AFI5L.js";
|
|
349
337
|
import {
|
|
350
|
-
|
|
351
|
-
} from "./chunk-
|
|
338
|
+
ForwardButton
|
|
339
|
+
} from "./chunk-JHGK3YWY.js";
|
|
340
|
+
import {
|
|
341
|
+
AirPlayButton
|
|
342
|
+
} from "./chunk-HOUQTI4U.js";
|
|
343
|
+
import {
|
|
344
|
+
BackwardButton
|
|
345
|
+
} from "./chunk-AKAZMWRY.js";
|
|
346
|
+
import {
|
|
347
|
+
BigNextButton
|
|
348
|
+
} from "./chunk-PJKDZF6T.js";
|
|
349
|
+
import {
|
|
350
|
+
BigPlayPauseButton
|
|
351
|
+
} from "./chunk-WYLEKMRF.js";
|
|
352
352
|
import {
|
|
353
353
|
Buffer
|
|
354
354
|
} from "./chunk-LYDARIOZ.js";
|
|
355
355
|
import {
|
|
356
356
|
CaptionsView
|
|
357
|
-
} from "./chunk-
|
|
357
|
+
} from "./chunk-WOD7OVJK.js";
|
|
358
358
|
import {
|
|
359
359
|
ScreenLockButton
|
|
360
360
|
} from "./chunk-CJ2RGUO2.js";
|
|
@@ -494,4 +494,4 @@ __export(components_exports, {
|
|
|
494
494
|
export {
|
|
495
495
|
components_exports
|
|
496
496
|
};
|
|
497
|
-
//# sourceMappingURL=chunk-
|
|
497
|
+
//# sourceMappingURL=chunk-MWO5HHBX.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ModesPlug
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-TTNUUGYZ.js";
|
|
4
4
|
import {
|
|
5
5
|
MODES_CAST_BUILD
|
|
6
6
|
} from "./chunk-2HFFOBQZ.js";
|
|
@@ -144,4 +144,4 @@ __publicField(ModesCastPin, "BUILD", MODES_CAST_BUILD);
|
|
|
144
144
|
export {
|
|
145
145
|
ModesCastPin
|
|
146
146
|
};
|
|
147
|
-
//# sourceMappingURL=chunk-
|
|
147
|
+
//# sourceMappingURL=chunk-NBBGPZDK.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
BaseMenuPanel
|
|
3
|
-
} from "./chunk-NWIT2U3N.js";
|
|
4
1
|
import {
|
|
5
2
|
GroupWidget
|
|
6
3
|
} from "./chunk-JC7G4CUN.js";
|
|
4
|
+
import {
|
|
5
|
+
BaseMenuPanel
|
|
6
|
+
} from "./chunk-NWIT2U3N.js";
|
|
7
7
|
import {
|
|
8
8
|
WidgetRegistry
|
|
9
9
|
} from "./chunk-CY5TMQZJ.js";
|
|
@@ -131,4 +131,4 @@ var SubMenuPanel = class extends BaseMenuPanel {
|
|
|
131
131
|
export {
|
|
132
132
|
SubMenuPanel
|
|
133
133
|
};
|
|
134
|
-
//# sourceMappingURL=chunk-
|
|
134
|
+
//# sourceMappingURL=chunk-OC64HNVE.js.map
|
|
@@ -76,7 +76,7 @@ var FramePlug = class extends BasePlug {
|
|
|
76
76
|
async capture(display = "", time = safeNum(this.media.state.currentTime)) {
|
|
77
77
|
if (!this.media.features.frameCapture) return;
|
|
78
78
|
this.ctlr.notify?.("capture");
|
|
79
|
-
const toast = this.ctlr.toast, tTxt = formatMediaTime({ time, format: "human", showMs: true }), fTxt = `video frame ${display === "monochrome" ? "in b&w " : ""}at ${tTxt}`, tId = toast?.loading(`Capturing ${fTxt}...`, { delay: parseCSSTime(this.settings.css.
|
|
79
|
+
const toast = this.ctlr.toast, tTxt = formatMediaTime({ time, format: "human", showMs: true }), fTxt = `video frame ${display === "monochrome" ? "in b&w " : ""}at ${tTxt}`, tId = toast?.loading(`Capturing ${fTxt}...`, { delay: parseCSSTime(this.settings.css.notifierAnimationTime), image: window.TMG_MEDIA_ALT_IMG_SRC, tag: `tmg-${this.media.settings.metadata.title ?? "Video"}fcpa${tTxt}${display}`, signal: this.signal, ...this.config.toast }), frame = await this.extract(display, time, false, 0, this.media.element), filename = `${this.media.settings.metadata.title ?? "Video"}_${display === "monochrome" ? `black&white_` : ""}at_${tTxt}.png`.replace(/[\/:*?"<>|\s]+/g, "_");
|
|
80
80
|
const Save = () => {
|
|
81
81
|
toast?.loading(tId, { render: `Saving ${fTxt}`, actions: false });
|
|
82
82
|
createEl("a", { href: frame.url, download: filename })?.click?.();
|
|
@@ -116,4 +116,4 @@ __publicField(FramePlug, "BUILD", FRAME_BUILD);
|
|
|
116
116
|
export {
|
|
117
117
|
FramePlug
|
|
118
118
|
};
|
|
119
|
-
//# sourceMappingURL=chunk-
|
|
119
|
+
//# sourceMappingURL=chunk-PBIOBKLQ.js.map
|