tmg-media-player 0.0.62 → 0.0.63
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-ZC3NH7AA.js → chunk-33X2TFQC.js} +9 -9
- package/dist/{chunk-L5WT3SVA.js → chunk-3NYQJFCX.js} +2 -2
- package/dist/{chunk-WWYSNBSJ.js → chunk-5H3LYS3C.js} +69 -69
- package/dist/{chunk-FI44MLF6.js → chunk-5ZPP3KJI.js} +4 -4
- package/dist/{chunk-EAM7QVWC.js → chunk-6ITPIHGM.js} +2 -2
- package/dist/{chunk-EAM7QVWC.js.map → chunk-6ITPIHGM.js.map} +1 -1
- package/dist/{chunk-TYCJKE6T.js → chunk-6M7E4XMZ.js} +51 -51
- package/dist/{chunk-VRLKALWA.js → chunk-6V3JMNRX.js} +5 -4
- package/dist/chunk-6V3JMNRX.js.map +1 -0
- package/dist/{chunk-TJIXY45I.js → chunk-BFF2VGH7.js} +5 -5
- package/dist/{chunk-SMYY6RCM.js → chunk-D4OMTN35.js} +2 -2
- package/dist/{chunk-5ZXIPTVQ.js → chunk-DIR774ND.js} +2 -2
- package/dist/{chunk-AX6N6UEH.js → chunk-ERWKYNVK.js} +5 -5
- package/dist/{chunk-MBC43WUS.js → chunk-FGDZ2BFE.js} +89 -89
- package/dist/{chunk-NWNM7VFR.js → chunk-GTV7ZZ2Z.js} +9 -9
- package/dist/{chunk-2BDB5RKS.js → chunk-IDOHPT5V.js} +2 -2
- package/dist/{chunk-RG5EFXDF.js → chunk-L6GEH3VZ.js} +2 -2
- package/dist/{chunk-PILA22ZY.js → chunk-LDEUMAZQ.js} +2 -2
- package/dist/{chunk-GTK5KLUZ.js → chunk-OHQLLCPA.js} +4 -4
- package/dist/{chunk-OKSL6V2G.js → chunk-OR3EGSRH.js} +2 -2
- package/dist/{chunk-H3LRGDOG.js → chunk-PBESOCAJ.js} +31 -31
- package/dist/{chunk-OFYUJ7VU.js → chunk-PTA6NO4A.js} +3 -2
- package/dist/chunk-PTA6NO4A.js.map +1 -0
- package/dist/{chunk-AMIMOMSM.js → chunk-Q2PVLSNG.js} +2 -2
- package/dist/{chunk-ZVHCY2ND.js → chunk-QDGNEBXT.js} +2 -2
- package/dist/{chunk-NFYLUVJB.js → chunk-S5HSSGAZ.js} +7 -7
- package/dist/{chunk-BAGDFZVR.js → chunk-TQZCDUEH.js} +2 -2
- package/dist/{chunk-E47SFXWN.js → chunk-VJXKFJWT.js} +42 -42
- package/dist/{chunk-6CZC4EC3.js → chunk-VMGCCVRJ.js} +3 -2
- package/dist/chunk-VMGCCVRJ.js.map +1 -0
- package/dist/{chunk-VHXMKLXA.js → chunk-XJCET6UY.js} +10 -10
- package/dist/{chunk-6E7WCRN5.js → chunk-XLD6XFKI.js} +2 -2
- package/dist/{chunk-KRXAYNNN.js → chunk-ZJFJ23KS.js} +2 -2
- package/dist/components/controls/fullscreenOrientation.cjs.map +1 -1
- package/dist/components/controls/fullscreenOrientation.js +2 -2
- package/dist/components/controls/timeline/index.cjs +4 -3
- package/dist/components/controls/timeline/index.cjs.map +1 -1
- package/dist/components/controls/timeline/index.js +3 -3
- package/dist/components/icons/z-register.js +23 -23
- package/dist/components/notifiers/z-register.js +4 -4
- package/dist/components/z-register.cjs +4 -3
- package/dist/components/z-register.cjs.map +1 -1
- package/dist/components/z-register.js +19 -19
- package/dist/core/controller.cjs +4 -3
- package/dist/core/controller.cjs.map +1 -1
- package/dist/core/controller.js +2 -2
- package/dist/index.cjs +4 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -3
- package/dist/init.cjs +4 -3
- package/dist/init.cjs.map +1 -1
- package/dist/init.js +3 -3
- package/dist/plugs/main/ads/index.cjs +1 -1
- package/dist/plugs/main/ads/index.cjs.map +1 -1
- package/dist/plugs/main/ads/index.js +3 -3
- package/dist/plugs/main/playlist/index.js +2 -2
- package/dist/plugs/menus/main/actions.cjs.map +1 -1
- package/dist/plugs/menus/main/actions.js +2 -2
- package/dist/plugs/menus/settings/auto.cjs.map +1 -1
- package/dist/plugs/menus/settings/auto.js +2 -2
- package/dist/plugs/menus/settings/frame.cjs.map +1 -1
- package/dist/plugs/menus/settings/frame.js +2 -2
- 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.cjs.map +1 -1
- package/dist/plugs/menus/settings/sleepTimer.js +2 -2
- package/dist/plugs/menus/settings/toasts.cjs.map +1 -1
- package/dist/plugs/menus/settings/toasts.js +2 -2
- package/dist/plugs/menus/settings/voice.cjs.map +1 -1
- package/dist/plugs/menus/settings/voice.js +2 -2
- package/dist/plugs/menus/z-register.cjs.map +1 -1
- package/dist/plugs/menus/z-register.js +6 -6
- package/dist/plugs/settings/auto/index.cjs.map +1 -1
- package/dist/plugs/settings/auto/index.js +2 -2
- package/dist/plugs/settings/captions/index.cjs +4 -3
- package/dist/plugs/settings/captions/index.cjs.map +1 -1
- package/dist/plugs/settings/captions/index.js +4 -4
- package/dist/plugs/settings/controlPanel/draggable.js +2 -2
- package/dist/plugs/settings/controlPanel/index.js +2 -2
- package/dist/plugs/settings/keys/index.js +2 -2
- package/dist/plugs/settings/modes/airplay.cjs.map +1 -1
- package/dist/plugs/settings/modes/airplay.js +4 -4
- package/dist/plugs/settings/modes/cast.cjs.map +1 -1
- package/dist/plugs/settings/modes/cast.js +4 -4
- package/dist/plugs/settings/modes/fullscreen.cjs.map +1 -1
- package/dist/plugs/settings/modes/fullscreen.js +3 -3
- package/dist/plugs/settings/modes/index.cjs.map +1 -1
- package/dist/plugs/settings/modes/index.js +3 -3
- package/dist/plugs/settings/modes/miniplayer.cjs.map +1 -1
- package/dist/plugs/settings/modes/miniplayer.js +3 -3
- package/dist/plugs/settings/modes/pictureInPicture.cjs.map +1 -1
- package/dist/plugs/settings/modes/pictureInPicture.js +3 -3
- package/dist/plugs/settings/modes/theater.cjs.map +1 -1
- package/dist/plugs/settings/modes/theater.js +3 -3
- package/dist/plugs/settings/timeTravel/index.cjs.map +1 -1
- package/dist/plugs/settings/timeTravel/index.js +3 -3
- package/dist/plugs/settings/voice/index.cjs.map +1 -1
- package/dist/plugs/settings/voice/index.js +2 -2
- package/dist/plugs/settings/volume/index.cjs.map +1 -1
- package/dist/plugs/settings/volume/index.js +3 -3
- package/dist/plugs/z-register.cjs +4 -3
- package/dist/plugs/z-register.cjs.map +1 -1
- package/dist/plugs/z-register.js +40 -40
- package/dist/super/components/icons.js +51 -51
- package/dist/super/components/index.cjs +4 -3
- package/dist/super/components/index.cjs.map +1 -1
- package/dist/super/components/index.js +96 -96
- package/dist/super/components/notifiers.js +9 -9
- package/dist/super/plugs/index.cjs +4 -3
- package/dist/super/plugs/index.cjs.map +1 -1
- package/dist/super/plugs/index.js +87 -87
- package/dist/super/plugs/menus.cjs.map +1 -1
- package/dist/super/plugs/menus.js +12 -12
- package/dist/super/techs.cjs +6 -3
- package/dist/super/techs.cjs.map +1 -1
- package/dist/super/techs.js +10 -10
- package/dist/super.cjs +6 -3
- package/dist/super.cjs.map +1 -1
- package/dist/super.global.js +6 -3
- package/dist/super.global.js.map +1 -1
- package/dist/super.js +105 -105
- package/dist/techs/base.cjs +1 -1
- package/dist/techs/base.cjs.map +1 -1
- package/dist/techs/base.js +1 -1
- package/dist/techs/dash.cjs +4 -3
- package/dist/techs/dash.cjs.map +1 -1
- package/dist/techs/dash.js +3 -3
- package/dist/techs/hls.cjs +4 -3
- package/dist/techs/hls.cjs.map +1 -1
- package/dist/techs/hls.js +3 -3
- package/dist/techs/html5.cjs +4 -3
- package/dist/techs/html5.cjs.map +1 -1
- package/dist/techs/html5.js +2 -2
- package/dist/techs/ima.cjs +1 -1
- package/dist/techs/ima.cjs.map +1 -1
- package/dist/techs/ima.js +2 -2
- package/dist/techs/shaka.cjs +4 -3
- package/dist/techs/shaka.cjs.map +1 -1
- package/dist/techs/shaka.js +3 -3
- package/dist/techs/vimeo.cjs +2 -1
- package/dist/techs/vimeo.cjs.map +1 -1
- package/dist/techs/vimeo.js +2 -2
- package/dist/techs/youtube.cjs +2 -1
- package/dist/techs/youtube.cjs.map +1 -1
- package/dist/techs/youtube.js +3 -3
- package/dist/techs/z-register.cjs +6 -3
- package/dist/techs/z-register.cjs.map +1 -1
- package/dist/techs/z-register.js +8 -8
- package/dist/tools/player.cjs +4 -3
- package/dist/tools/player.cjs.map +1 -1
- package/dist/tools/player.js +2 -2
- package/dist/tools/runtime/index.cjs +4 -3
- package/dist/tools/runtime/index.cjs.map +1 -1
- package/dist/tools/runtime/index.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-6CZC4EC3.js.map +0 -1
- package/dist/chunk-OFYUJ7VU.js.map +0 -1
- package/dist/chunk-VRLKALWA.js.map +0 -1
- /package/dist/{chunk-ZC3NH7AA.js.map → chunk-33X2TFQC.js.map} +0 -0
- /package/dist/{chunk-L5WT3SVA.js.map → chunk-3NYQJFCX.js.map} +0 -0
- /package/dist/{chunk-WWYSNBSJ.js.map → chunk-5H3LYS3C.js.map} +0 -0
- /package/dist/{chunk-FI44MLF6.js.map → chunk-5ZPP3KJI.js.map} +0 -0
- /package/dist/{chunk-TYCJKE6T.js.map → chunk-6M7E4XMZ.js.map} +0 -0
- /package/dist/{chunk-TJIXY45I.js.map → chunk-BFF2VGH7.js.map} +0 -0
- /package/dist/{chunk-SMYY6RCM.js.map → chunk-D4OMTN35.js.map} +0 -0
- /package/dist/{chunk-5ZXIPTVQ.js.map → chunk-DIR774ND.js.map} +0 -0
- /package/dist/{chunk-AX6N6UEH.js.map → chunk-ERWKYNVK.js.map} +0 -0
- /package/dist/{chunk-MBC43WUS.js.map → chunk-FGDZ2BFE.js.map} +0 -0
- /package/dist/{chunk-NWNM7VFR.js.map → chunk-GTV7ZZ2Z.js.map} +0 -0
- /package/dist/{chunk-2BDB5RKS.js.map → chunk-IDOHPT5V.js.map} +0 -0
- /package/dist/{chunk-RG5EFXDF.js.map → chunk-L6GEH3VZ.js.map} +0 -0
- /package/dist/{chunk-PILA22ZY.js.map → chunk-LDEUMAZQ.js.map} +0 -0
- /package/dist/{chunk-GTK5KLUZ.js.map → chunk-OHQLLCPA.js.map} +0 -0
- /package/dist/{chunk-OKSL6V2G.js.map → chunk-OR3EGSRH.js.map} +0 -0
- /package/dist/{chunk-H3LRGDOG.js.map → chunk-PBESOCAJ.js.map} +0 -0
- /package/dist/{chunk-AMIMOMSM.js.map → chunk-Q2PVLSNG.js.map} +0 -0
- /package/dist/{chunk-ZVHCY2ND.js.map → chunk-QDGNEBXT.js.map} +0 -0
- /package/dist/{chunk-NFYLUVJB.js.map → chunk-S5HSSGAZ.js.map} +0 -0
- /package/dist/{chunk-BAGDFZVR.js.map → chunk-TQZCDUEH.js.map} +0 -0
- /package/dist/{chunk-E47SFXWN.js.map → chunk-VJXKFJWT.js.map} +0 -0
- /package/dist/{chunk-VHXMKLXA.js.map → chunk-XJCET6UY.js.map} +0 -0
- /package/dist/{chunk-6E7WCRN5.js.map → chunk-XLD6XFKI.js.map} +0 -0
- /package/dist/{chunk-KRXAYNNN.js.map → chunk-ZJFJ23KS.js.map} +0 -0
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
VIMEO_EVENTS,
|
|
3
3
|
VimeoTech
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-PTA6NO4A.js";
|
|
5
5
|
import {
|
|
6
6
|
YouTubeTech
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-VMGCCVRJ.js";
|
|
8
8
|
import {
|
|
9
9
|
DashTech
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-LDEUMAZQ.js";
|
|
11
11
|
import {
|
|
12
12
|
HLSTech
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-DIR774ND.js";
|
|
14
14
|
import {
|
|
15
15
|
ShakaTech
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-D4OMTN35.js";
|
|
17
17
|
import {
|
|
18
18
|
IMATech
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-TQZCDUEH.js";
|
|
20
20
|
import {
|
|
21
21
|
HTML5Tech
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-6V3JMNRX.js";
|
|
23
23
|
import {
|
|
24
24
|
BaseTech,
|
|
25
25
|
cacheKeys
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-6ITPIHGM.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
29
|
} from "./chunk-UVKRO5ER.js";
|
|
@@ -46,4 +46,4 @@ __export(techs_exports, {
|
|
|
46
46
|
export {
|
|
47
47
|
techs_exports
|
|
48
48
|
};
|
|
49
|
-
//# sourceMappingURL=chunk-
|
|
49
|
+
//# sourceMappingURL=chunk-33X2TFQC.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ModesPlug
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-QDGNEBXT.js";
|
|
4
4
|
import {
|
|
5
5
|
MODES_AIRPLAY_BUILD
|
|
6
6
|
} from "./chunk-TN7WYBLE.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-3NYQJFCX.js.map
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
import {
|
|
2
|
+
VolumePlug
|
|
3
|
+
} from "./chunk-OR3EGSRH.js";
|
|
4
|
+
import {
|
|
5
|
+
VOLUME_BUILD
|
|
6
|
+
} from "./chunk-XTP4ACWF.js";
|
|
1
7
|
import {
|
|
2
8
|
VoicePlug
|
|
3
9
|
} from "./chunk-JZZNDOWL.js";
|
|
@@ -5,27 +11,21 @@ import {
|
|
|
5
11
|
VOICE_BUILD,
|
|
6
12
|
VOICE_COMMANDS
|
|
7
13
|
} from "./chunk-574CJYAN.js";
|
|
8
|
-
import {
|
|
9
|
-
PosterPlug
|
|
10
|
-
} from "./chunk-FOHBPGFM.js";
|
|
11
|
-
import {
|
|
12
|
-
POSTER_BUILD
|
|
13
|
-
} from "./chunk-MBRGHAFE.js";
|
|
14
14
|
import {
|
|
15
15
|
TimeTravelPlug
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-Q2PVLSNG.js";
|
|
17
17
|
import {
|
|
18
18
|
TIME_TRAVEL_BUILD
|
|
19
19
|
} from "./chunk-33JQXI7I.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./chunk-
|
|
21
|
+
TimePlug
|
|
22
|
+
} from "./chunk-ELB6IJBL.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./chunk-
|
|
24
|
+
TIME_BUILD
|
|
25
|
+
} from "./chunk-2SZXTLHZ.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./chunk-
|
|
27
|
+
PosterPlug
|
|
28
|
+
} from "./chunk-FOHBPGFM.js";
|
|
29
29
|
import {
|
|
30
30
|
SleepTimerPlug
|
|
31
31
|
} from "./chunk-B6RZBMWI.js";
|
|
@@ -33,18 +33,17 @@ import {
|
|
|
33
33
|
SLEEP_TIMER_BUILD
|
|
34
34
|
} from "./chunk-XLFHANYG.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./chunk-
|
|
36
|
+
PlaybackRatePlug
|
|
37
|
+
} from "./chunk-T7XBFM52.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./chunk-
|
|
39
|
+
PLAYBACK_RATE_BUILD
|
|
40
|
+
} from "./chunk-K7AAKFQF.js";
|
|
41
41
|
import {
|
|
42
|
-
|
|
43
|
-
} from "./chunk-
|
|
42
|
+
OverlayPlug
|
|
43
|
+
} from "./chunk-47SZSPR7.js";
|
|
44
44
|
import {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
} from "./chunk-4Q2J6SYZ.js";
|
|
45
|
+
OVERLAY_BUILD
|
|
46
|
+
} from "./chunk-PXU563OY.js";
|
|
48
47
|
import {
|
|
49
48
|
PersistPlug
|
|
50
49
|
} from "./chunk-H5YOH5FV.js";
|
|
@@ -52,8 +51,8 @@ import {
|
|
|
52
51
|
PERSIST_BUILD
|
|
53
52
|
} from "./chunk-NAUZH3E6.js";
|
|
54
53
|
import {
|
|
55
|
-
|
|
56
|
-
} from "./chunk-
|
|
54
|
+
POSTER_BUILD
|
|
55
|
+
} from "./chunk-MBRGHAFE.js";
|
|
57
56
|
import {
|
|
58
57
|
MetadataPlug
|
|
59
58
|
} from "./chunk-Y6XF4JQS.js";
|
|
@@ -68,30 +67,28 @@ import {
|
|
|
68
67
|
objectFits
|
|
69
68
|
} from "./chunk-KD3OBG25.js";
|
|
70
69
|
import {
|
|
71
|
-
|
|
72
|
-
} from "./chunk-
|
|
73
|
-
import {
|
|
74
|
-
OVERLAY_BUILD
|
|
75
|
-
} from "./chunk-PXU563OY.js";
|
|
76
|
-
import {
|
|
77
|
-
LockedPlug
|
|
78
|
-
} from "./chunk-MROTHXKK.js";
|
|
70
|
+
PanelPlug
|
|
71
|
+
} from "./chunk-3R3YN3PR.js";
|
|
79
72
|
import {
|
|
80
|
-
|
|
81
|
-
|
|
73
|
+
MENU_FOCUS_SELECTOR,
|
|
74
|
+
SETTINGS_BUILD
|
|
75
|
+
} from "./chunk-4Q2J6SYZ.js";
|
|
82
76
|
import {
|
|
83
77
|
NotifiersPlug
|
|
84
78
|
} from "./chunk-IJ4EHQLP.js";
|
|
85
79
|
import {
|
|
86
80
|
NOTIFIERS_BUILD
|
|
87
81
|
} from "./chunk-4MH4WDXI.js";
|
|
82
|
+
import {
|
|
83
|
+
KeysPlug
|
|
84
|
+
} from "./chunk-OHQLLCPA.js";
|
|
88
85
|
import {
|
|
89
86
|
ModesFullscreenPin,
|
|
90
87
|
ModesMiniplayerPin,
|
|
91
88
|
ModesPictureInPicturePin,
|
|
92
89
|
ModesPlug,
|
|
93
90
|
ModesTheaterPin
|
|
94
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-QDGNEBXT.js";
|
|
95
92
|
import {
|
|
96
93
|
MODES_AIRPLAY_BUILD,
|
|
97
94
|
MODES_BUILD,
|
|
@@ -103,9 +100,6 @@ import {
|
|
|
103
100
|
ORIENTATION_OPTS,
|
|
104
101
|
RESIZE_DIRS
|
|
105
102
|
} from "./chunk-TN7WYBLE.js";
|
|
106
|
-
import {
|
|
107
|
-
KeysPlug
|
|
108
|
-
} from "./chunk-GTK5KLUZ.js";
|
|
109
103
|
import {
|
|
110
104
|
GesturePlug,
|
|
111
105
|
GestureTouchPin,
|
|
@@ -117,8 +111,14 @@ import {
|
|
|
117
111
|
GESTURE_WHEEL_BUILD
|
|
118
112
|
} from "./chunk-CR4RWWTO.js";
|
|
119
113
|
import {
|
|
120
|
-
|
|
121
|
-
} from "./chunk-
|
|
114
|
+
LockedPlug
|
|
115
|
+
} from "./chunk-MROTHXKK.js";
|
|
116
|
+
import {
|
|
117
|
+
LOCKED_BUILD
|
|
118
|
+
} from "./chunk-IQS7GQSK.js";
|
|
119
|
+
import {
|
|
120
|
+
CSSPlug
|
|
121
|
+
} from "./chunk-AGIGOLZO.js";
|
|
122
122
|
import {
|
|
123
123
|
FastPlayPlug
|
|
124
124
|
} from "./chunk-UI5D4OIZ.js";
|
|
@@ -131,10 +131,26 @@ import {
|
|
|
131
131
|
import {
|
|
132
132
|
FRAME_BUILD
|
|
133
133
|
} from "./chunk-EGYMM2GX.js";
|
|
134
|
+
import {
|
|
135
|
+
ErrorsPlug
|
|
136
|
+
} from "./chunk-GQUDHB5V.js";
|
|
137
|
+
import {
|
|
138
|
+
ERRORS_BUILD,
|
|
139
|
+
ERROR_CODES
|
|
140
|
+
} from "./chunk-LE6AZA74.js";
|
|
141
|
+
import {
|
|
142
|
+
CSS_BUILD
|
|
143
|
+
} from "./chunk-UCBDCGYX.js";
|
|
144
|
+
import {
|
|
145
|
+
BrightnessPlug
|
|
146
|
+
} from "./chunk-TZH3LLVR.js";
|
|
147
|
+
import {
|
|
148
|
+
CaptionsPlug
|
|
149
|
+
} from "./chunk-BFF2VGH7.js";
|
|
134
150
|
import {
|
|
135
151
|
ControlPanelDraggablePin,
|
|
136
152
|
ControlPanelPlug
|
|
137
|
-
} from "./chunk-
|
|
153
|
+
} from "./chunk-ERWKYNVK.js";
|
|
138
154
|
import {
|
|
139
155
|
ToastsPlug,
|
|
140
156
|
tutorialOpts
|
|
@@ -142,41 +158,25 @@ import {
|
|
|
142
158
|
import {
|
|
143
159
|
TOASTS_BUILD
|
|
144
160
|
} from "./chunk-3GIJOELI.js";
|
|
145
|
-
import {
|
|
146
|
-
CSSPlug
|
|
147
|
-
} from "./chunk-AGIGOLZO.js";
|
|
148
|
-
import {
|
|
149
|
-
CSS_BUILD
|
|
150
|
-
} from "./chunk-UCBDCGYX.js";
|
|
151
|
-
import {
|
|
152
|
-
ERRORS_BUILD,
|
|
153
|
-
ERROR_CODES
|
|
154
|
-
} from "./chunk-LE6AZA74.js";
|
|
155
161
|
import {
|
|
156
162
|
AutoPlug
|
|
157
163
|
} from "./chunk-NNRJBBPH.js";
|
|
158
164
|
import {
|
|
159
|
-
|
|
160
|
-
|
|
165
|
+
APT_AUTOPLAY_OPTIONS,
|
|
166
|
+
AUTO_BUILD
|
|
167
|
+
} from "./chunk-C7MVI36M.js";
|
|
161
168
|
import {
|
|
162
169
|
BRIGHTNESS_BUILD
|
|
163
170
|
} from "./chunk-JPWNE7JO.js";
|
|
164
171
|
import {
|
|
165
|
-
|
|
166
|
-
} from "./chunk-
|
|
172
|
+
SkeletonPlug
|
|
173
|
+
} from "./chunk-EPWGVHCC.js";
|
|
167
174
|
import {
|
|
168
175
|
AmbiencePlug
|
|
169
176
|
} from "./chunk-U6IVWUYP.js";
|
|
170
177
|
import {
|
|
171
178
|
AMBIENT_BUILD
|
|
172
179
|
} from "./chunk-PPWMZTPS.js";
|
|
173
|
-
import {
|
|
174
|
-
APT_AUTOPLAY_OPTIONS,
|
|
175
|
-
AUTO_BUILD
|
|
176
|
-
} from "./chunk-C7MVI36M.js";
|
|
177
|
-
import {
|
|
178
|
-
SkeletonPlug
|
|
179
|
-
} from "./chunk-EPWGVHCC.js";
|
|
180
180
|
import {
|
|
181
181
|
LightPlug
|
|
182
182
|
} from "./chunk-RAJPAOA6.js";
|
|
@@ -185,13 +185,13 @@ import {
|
|
|
185
185
|
} from "./chunk-BCAAETH4.js";
|
|
186
186
|
import {
|
|
187
187
|
PlaylistPlug
|
|
188
|
-
} from "./chunk-
|
|
188
|
+
} from "./chunk-5ZPP3KJI.js";
|
|
189
189
|
import {
|
|
190
190
|
SKELETON_BUILD
|
|
191
191
|
} from "./chunk-MKBKL3BT.js";
|
|
192
192
|
import {
|
|
193
193
|
AdsPlug
|
|
194
|
-
} from "./chunk-
|
|
194
|
+
} from "./chunk-L6GEH3VZ.js";
|
|
195
195
|
import {
|
|
196
196
|
ADS_BUILD,
|
|
197
197
|
AD_ROLL_BUILD
|
|
@@ -202,6 +202,10 @@ import {
|
|
|
202
202
|
import {
|
|
203
203
|
DISABLED_BUILD
|
|
204
204
|
} from "./chunk-WW56NFQS.js";
|
|
205
|
+
import {
|
|
206
|
+
BasePin,
|
|
207
|
+
BasePlug
|
|
208
|
+
} from "./chunk-W5JTSVSF.js";
|
|
205
209
|
import {
|
|
206
210
|
CAPTIONS_BUILD,
|
|
207
211
|
ROTATE_PATHS,
|
|
@@ -224,10 +228,6 @@ import {
|
|
|
224
228
|
PLAYLIST_BUILD,
|
|
225
229
|
PLAY_ITEM_BUILD
|
|
226
230
|
} from "./chunk-SQRPFMDO.js";
|
|
227
|
-
import {
|
|
228
|
-
BasePin,
|
|
229
|
-
BasePlug
|
|
230
|
-
} from "./chunk-W5JTSVSF.js";
|
|
231
231
|
import {
|
|
232
232
|
__export
|
|
233
233
|
} from "./chunk-UVKRO5ER.js";
|
|
@@ -340,4 +340,4 @@ __export(plugs_exports, {
|
|
|
340
340
|
export {
|
|
341
341
|
plugs_exports
|
|
342
342
|
};
|
|
343
|
-
//# sourceMappingURL=chunk-
|
|
343
|
+
//# sourceMappingURL=chunk-5H3LYS3C.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import {
|
|
2
|
+
BasePlug
|
|
3
|
+
} from "./chunk-W5JTSVSF.js";
|
|
1
4
|
import {
|
|
2
5
|
PLAYLIST_BUILD,
|
|
3
6
|
PLAY_ITEM_BUILD
|
|
4
7
|
} from "./chunk-SQRPFMDO.js";
|
|
5
|
-
import {
|
|
6
|
-
BasePlug
|
|
7
|
-
} from "./chunk-W5JTSVSF.js";
|
|
8
8
|
import {
|
|
9
9
|
smartFlatSort
|
|
10
10
|
} from "./chunk-PDOR3OEQ.js";
|
|
@@ -106,4 +106,4 @@ __publicField(PlaylistPlug, "BUILD", PLAYLIST_BUILD);
|
|
|
106
106
|
export {
|
|
107
107
|
PlaylistPlug
|
|
108
108
|
};
|
|
109
|
-
//# sourceMappingURL=chunk-
|
|
109
|
+
//# sourceMappingURL=chunk-5ZPP3KJI.js.map
|
|
@@ -138,7 +138,7 @@ var BaseTech = class extends Controllable {
|
|
|
138
138
|
e.resolve(this.name);
|
|
139
139
|
}
|
|
140
140
|
handleLiveIntent(e) {
|
|
141
|
-
if (e.resolved) return;
|
|
141
|
+
if (e.resolved || !this.wired) return void (!e.resolved && e.resolve(this.name));
|
|
142
142
|
this.ctlr.when("loadedData", e, (seekable = this.config.status.seekable) => e.value && seekable.length && (this.config.intent.currentTime = seekable.end(seekable.length - 1) - 1));
|
|
143
143
|
e.resolve(this.name);
|
|
144
144
|
}
|
|
@@ -171,4 +171,4 @@ export {
|
|
|
171
171
|
BaseTech,
|
|
172
172
|
cacheKeys
|
|
173
173
|
};
|
|
174
|
-
//# sourceMappingURL=chunk-
|
|
174
|
+
//# sourceMappingURL=chunk-6ITPIHGM.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/ts/techs/base.ts"],"sourcesContent":["import { Controllable } from \"@core/controllable\";\r\nimport type { Controller } from \"@core/controller\";\r\nimport type { CtlrMedia, MediaFeatures } from \"@defs/contract\";\r\nimport { type REvent, type Reactive, ListenerOptionsTuple } from \"sia-reactor\";\r\nimport { deepClone, fanout, force } from \"sia-reactor/utils\";\r\nimport { silence } from \"sia-reactor/modules\";\r\nimport { getMediaStatus, isFeatured } from \"@utils/media\";\r\nimport { capitalize } from \"@utils/str\";\r\nimport { isArr, isBool, isNum } from \"@utils/obj\";\r\nimport { setTimeout } from \"@utils/fn\";\r\nimport { MEDIA_STATE_BUILD, MEDIA_STATUS_BUILD } from \"@consts/media\";\r\nimport { getMediaChapter } from \"@utils/time\";\r\n\r\nexport interface TechConstructor<T extends BaseTech = BaseTech> {\r\n new (ctlr: Controller, features?: MediaFeatures): T;\r\n techName: string;\r\n canPlaySource(src: string): boolean;\r\n}\r\n\r\nexport abstract class BaseTech<El extends HTMLElement = HTMLElement> extends Controllable<Reactive<CtlrMedia>> {\r\n public static readonly techName: string;\r\n public static canPlaySource(_src: string): boolean {\r\n return false;\r\n }\r\n public get name() {\r\n return (this.constructor as TechConstructor).techName;\r\n }\r\n public element!: El;\r\n public get el() {\r\n return this.element;\r\n }\r\n public wired = false; // for light checks where needed\r\n public cache?: Pick<CtlrMedia, CacheKey> | null; // for pseudo media, e.g. ads\r\n public readonly caching: boolean = false; // turn on for caching logic\r\n public readonly evtOpts: { EL: AddEventListenerOptions; CONFIG: ListenerOptionsTuple } = { EL: { capture: true, signal: this.signal }, CONFIG: { capture: true, signal: this.signal } };\r\n public readonly features!: MediaFeatures;\r\n public readonly wiredSet: Set<keyof MediaFeatures> = new Set(); // Tracking to avoid rewiring\r\n\r\n constructor(ctlr: Controller, features: MediaFeatures = {}) {\r\n ctlr.media.tech.wired && ctlr.media.tech.destroy?.(), ctlr.log(`Using ${new.target.techName} media technology.`); // kill if listening\r\n super(ctlr, ctlr.media); // Odekunle Olasubomi Abimbola Cornelius Adisun was here; Aug 14th 2026\r\n ctlr.config.courtesy = \"TMG\"; // tell them! tell them!! tell them!!! ~ Kendrick Lamar\r\n this.element = ctlr.media.element as any; // must reassign if not using original\r\n if (this.caching) (this.cache = {} as any).features = ctlr.media.snapshot(false, ctlr.media.features);\r\n for (const key of Object.keys(ctlr.media.features)) ctlr.media.features[key as keyof MediaFeatures] = false;\r\n // prettier-ignore\r\n fanout(ctlr.media.features, (this.features = {\r\n // Currents\r\n currentChapter: true,\r\n // Settings\r\n srcObject: true, metadata: true, timePlayedMin: true, flushKeys: true, ...features\r\n })); // dynamics baby!\r\n }\r\n // --- Lifecycle ---\r\n protected override onSetup(): void {\r\n this.mount(), this.onAwaken();\r\n }\r\n protected override onDestroy(): void {\r\n this.unmount(), this.onHibernate();\r\n this.config.status.hostReady = false;\r\n }\r\n protected onAwaken(): void {\r\n if (this.caching) for (const key of cacheKeys) (this.cache ??= {} as any)[key] ??= this.config.snapshot(false, this.config[key]); // all that once was\r\n this.evtOpts.CONFIG.signal = this.evtOpts.EL.signal = this.signal;\r\n this.ctlr.state.readyState ? this.wire() : this.ctlr.state.wonce(\"readyState\", this.wire, { signal: this.signal }); // wire after all plugs setup\r\n }\r\n protected onHibernate(): void {\r\n this.wiredSet.clear(), (this.wired = false);\r\n if (this.cache) silence(() => fanout(this.config, this.cache!)), (this.cache = null); // all that will be\r\n }\r\n\r\n public mount(): void {\r\n if ((this.el as any) !== this.config.element) (this.ctlr.mutating = true), this.config.element.replaceWith(this.el), setTimeout(() => (this.ctlr.mutating = false), 0, this.signal);\r\n }\r\n public unmount(): void {\r\n if ((this.el as any) !== this.config.element) (this.ctlr.mutating = true), this.el.replaceWith(this.config.element), setTimeout(() => (this.ctlr.mutating = false), 0, this.signal);\r\n }\r\n\r\n // === WIRING ===\r\n public wire(): void {\r\n // Variables Assignments\r\n (this.el as any).tmgPlayer = this.config.element.tmgPlayer; // ref is maintained if element was replaced in mount\r\n // Config Listeners\r\n this.config.on(\"intent\", this.handleWrite, this.evtOpts.CONFIG), this.config.on(\"settings\", this.handleWrite, this.evtOpts.CONFIG); // protecting everybody\r\n // Bulk Wiring\r\n this.wireSrc(), this.wireCurrentTime(), this.wireDuration(), this.wirePaused(), this.wireEnded(), this.wireFeatures();\r\n // Post Wiring\r\n (this.ctlr.flags.wired || !this.ctlr.isNativeEl) && this.flush();\r\n !this.ctlr.flags.wired && force(() => fanout(this.config.status, { ...this.config.status, ...(this.ctlr.isNativeEl && getMediaStatus(this.el as any, true)) }, { skipUndef: true })); // async init proof\r\n silence(() => (fanout(this.config.intent, this.config[this.ctlr.gospel]), fanout(this.config.settings))); // contemplating intent only\r\n force(() => this.config.tick(), !this.ctlr.flags.wired), (this.wired = true); // state isn't volatile but it must touch\r\n }\r\n // --- THE CORE 5 (Media \"Must Haves\") ---\r\n protected abstract wireSrc(): void;\r\n protected abstract wireCurrentTime(): void;\r\n protected abstract wireDuration(): void;\r\n protected abstract wirePaused(): void;\r\n protected abstract wireEnded(): void;\r\n // --- THE EXTENSIONS ---\r\n protected wireFeatures(): void {\r\n this.config.on(\"features\", this.handleFeatures, { init: true, signal: this.signal });\r\n }\r\n protected wireFeature(feature: keyof MediaFeatures): void {\r\n if (!this.wiredSet.has(feature)) this.wiredSet.add(feature), (this as any)[`wire${capitalize(feature)}`]?.();\r\n }\r\n // Track Switching Wiring\r\n protected wireCurrentChapter(): void {\r\n this.config.set(\"intent.currentChapter\", (term) => (isNum(term) ? term : this.config.settings.metadata.chapterInfo.findIndex((c) => c.title === term)), { signal: this.signal }); // #VALIDATOR: intent type conformation\r\n this.config.on(\"intent.currentChapter\", this.handleCurrentChapterIntent, this.evtOpts.CONFIG);\r\n this.config.on(\"state.currentTime\", this.onCurrentTimeState, this.evtOpts.CONFIG);\r\n }\r\n // ive Content Wiring\r\n protected wireLive(): void {\r\n this.config.on(\"intent.live\", this.handleLiveIntent, this.evtOpts.CONFIG);\r\n this.config.watch(\"status.isLive\", this.onIsLiveStatus, this.evtOpts.CONFIG);\r\n }\r\n\r\n // === HANDLERS ===\r\n protected handleFeatures({ type, target }: REvent<CtlrMedia, \"features\">): void {\r\n if (type === \"update\") return this.wireFeature(target.key);\r\n if (type === \"init\") for (const feature of Object.keys(target.value)) this.wireFeature(feature as keyof MediaFeatures);\r\n }\r\n protected handleWrite(e: REvent<CtlrMedia, \"intent\" | \"settings\">): void {\r\n if (e.type === \"update\" && !isFeatured(this.config, e.target.key as keyof MediaFeatures)) return e.reject(this.name), e.stopImmediatePropagation(); // (`&& (e.value || !this.ctlr.flags.wired)` = turn off at runtime) -> polyfill()\r\n }\r\n protected handleCurrentChapterIntent(e: REvent<CtlrMedia, \"intent.currentChapter\">): void {\r\n if (e.resolved || !this.wired) return void (!e.resolved && e.resolve(this.name));\r\n const chapter = this.config.settings.metadata.chapterInfo[e.value as number]; // #VALIDATED: mediated for cast conformity; no-opy\r\n if (chapter) (this.config.intent.currentTime = chapter.startTime), this.config.tick(\"intent.currentTime\"), this.onCurrentTimeState(); // #FACADED: silenced intent actual op\r\n this.ctlr.notify?.(\"chapter\");\r\n e.resolve(this.name);\r\n }\r\n protected handleLiveIntent(e: REvent<CtlrMedia, \"intent.live\">): void {\r\n if (e.resolved) return;\r\n this.ctlr.when(\"loadedData\", e, (seekable = this.config.status.seekable) => e.value && seekable.length && (this.config.intent.currentTime = seekable.end(seekable.length - 1) - 1)); // #FACADED: silenced intent actual op\r\n e.resolve(this.name);\r\n }\r\n // Dog Feeders\r\n protected onCurrentTimeState(): void {\r\n const time = this.config.state.currentTime;\r\n if (time === this.lastTime) return;\r\n const chapters = this.config.settings.metadata.chapterInfo;\r\n if (chapters.length) this.config.state.currentChapter = getMediaChapter(chapters, time);\r\n this.lastTime = time;\r\n }\r\n private lastTime = -1;\r\n protected onIsLiveStatus(v: boolean): void {\r\n this.config.features.live = v;\r\n }\r\n\r\n // === HELPERS ===\r\n protected flush(): void {\r\n for (const path of this.config.settings.flushKeys.status) this.config.status[path] = deepClone(MEDIA_STATUS_BUILD[path]) as never;\r\n for (const path of this.config.settings.flushKeys.state) this.config.state[path] = deepClone(MEDIA_STATE_BUILD[path]) as never;\r\n }\r\n public polyfill(feature: keyof MediaFeatures | Array<keyof MediaFeatures>, condition?: any, disabled?: any): boolean | void {\r\n const apply = (f: keyof MediaFeatures, v = !disabled && (!!this.features[f] || !!condition)) => (!v && isBool(disabled) && (this.config.state as any)[f] === true && (silence(() => ((this.config.intent as any)[f] = false)), this.config.tick(`intent.${f}` as any)), (this.config.features[f] = v));\r\n return !isArr(feature) ? apply(feature) : feature.forEach((f) => apply(f));\r\n } // #EXTRA-MILE: doing the most with the least\r\n}\r\n\r\nexport const cacheKeys = [\"state\", \"status\", \"settings\", \"features\"] as const;\r\n\r\nexport type CacheKey = (typeof cacheKeys)[number];\r\n\r\ndeclare module \"@defs/contract\" {\r\n interface MediaStatus {\r\n hostReady: boolean;\r\n }\r\n}\r\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,SAAS,WAAW,QAAQ,aAAa;AACzC,SAAS,eAAe;AAcjB,IAAe,WAAf,cAAsE,aAAkC;AAAA;AAAA,EAmB7G,YAAY,MAAkB,WAA0B,CAAC,GAAG;AAC1D,SAAK,MAAM,KAAK,SAAS,KAAK,MAAM,KAAK,UAAU,GAAG,KAAK,IAAI,SAAS,WAAW,QAAQ,oBAAoB;AAC/G,UAAM,MAAM,KAAK,KAAK;AAbxB,wBAAO;AAIP,wBAAO,SAAQ;AACf;AAAA,wBAAO;AACP;AAAA,wBAAgB,WAAmB;AACnC;AAAA,wBAAgB,WAAyE,EAAE,IAAI,EAAE,SAAS,MAAM,QAAQ,KAAK,OAAO,GAAG,QAAQ,EAAE,SAAS,MAAM,QAAQ,KAAK,OAAO,EAAE;AACtL,wBAAgB;AAChB,wBAAgB,YAAqC,oBAAI,IAAI;AA6G7D,wBAAQ,YAAW;AAxGjB,SAAK,OA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CAAC,GAAwB,IAAI,CAAC,aAAa,CAAC,CAAC,KAAK,SAAS,CAAC,KAAK,CAAC,CAAC,gBAAgB,CAAC,KAAK,OAAO,QAAQ,KAAM,KAAK,OAAO,MAAc,CAAC,MAAM,SAAS,QAAQ,MAAQ,KAAK,OAAO,OAAe,CAAC,IAAI,KAAM,GAAG,KAAK,OAAO,KAAK,UAAU,CAAC,EAAS,IAAK,KAAK,OAAO,SAAS,CAAC,IAAI;AACnS,WAAO,CAAC,MAAM,OAAO,IAAI,MAAM,OAAO,IAAI,QAAQ,QAAQ,CAAC,MAAM,MAAM,CAAC,CAAC;AAAA,EAC3E;AAAA;AACF;AA3IE,cADoB,UACG;AA6IlB,IAAM,YAAY,CAAC,SAAS,UAAU,YAAY,UAAU;","names":[]}
|
|
1
|
+
{"version":3,"sources":["../src/ts/techs/base.ts"],"sourcesContent":["import { Controllable } from \"@core/controllable\";\r\nimport type { Controller } from \"@core/controller\";\r\nimport type { CtlrMedia, MediaFeatures } from \"@defs/contract\";\r\nimport { type REvent, type Reactive, ListenerOptionsTuple } from \"sia-reactor\";\r\nimport { deepClone, fanout, force } from \"sia-reactor/utils\";\r\nimport { silence } from \"sia-reactor/modules\";\r\nimport { getMediaStatus, isFeatured } from \"@utils/media\";\r\nimport { capitalize } from \"@utils/str\";\r\nimport { isArr, isBool, isNum } from \"@utils/obj\";\r\nimport { setTimeout } from \"@utils/fn\";\r\nimport { MEDIA_STATE_BUILD, MEDIA_STATUS_BUILD } from \"@consts/media\";\r\nimport { getMediaChapter } from \"@utils/time\";\r\n\r\nexport interface TechConstructor<T extends BaseTech = BaseTech> {\r\n new (ctlr: Controller, features?: MediaFeatures): T;\r\n techName: string;\r\n canPlaySource(src: string): boolean;\r\n}\r\n\r\nexport abstract class BaseTech<El extends HTMLElement = HTMLElement> extends Controllable<Reactive<CtlrMedia>> {\r\n public static readonly techName: string;\r\n public static canPlaySource(_src: string): boolean {\r\n return false;\r\n }\r\n public get name() {\r\n return (this.constructor as TechConstructor).techName;\r\n }\r\n public element!: El;\r\n public get el() {\r\n return this.element;\r\n }\r\n public wired = false; // for light checks where needed\r\n public cache?: Pick<CtlrMedia, CacheKey> | null; // for pseudo media, e.g. ads\r\n public readonly caching: boolean = false; // turn on for caching logic\r\n public readonly evtOpts: { EL: AddEventListenerOptions; CONFIG: ListenerOptionsTuple } = { EL: { capture: true, signal: this.signal }, CONFIG: { capture: true, signal: this.signal } };\r\n public readonly features!: MediaFeatures;\r\n public readonly wiredSet: Set<keyof MediaFeatures> = new Set(); // Tracking to avoid rewiring\r\n\r\n constructor(ctlr: Controller, features: MediaFeatures = {}) {\r\n ctlr.media.tech.wired && ctlr.media.tech.destroy?.(), ctlr.log(`Using ${new.target.techName} media technology.`); // kill if listening\r\n super(ctlr, ctlr.media); // Odekunle Olasubomi Abimbola Cornelius Adisun was here; Aug 14th 2026\r\n ctlr.config.courtesy = \"TMG\"; // tell them! tell them!! tell them!!! ~ Kendrick Lamar\r\n this.element = ctlr.media.element as any; // must reassign if not using original\r\n if (this.caching) (this.cache = {} as any).features = ctlr.media.snapshot(false, ctlr.media.features);\r\n for (const key of Object.keys(ctlr.media.features)) ctlr.media.features[key as keyof MediaFeatures] = false;\r\n // prettier-ignore\r\n fanout(ctlr.media.features, (this.features = {\r\n // Currents\r\n currentChapter: true,\r\n // Settings\r\n srcObject: true, metadata: true, timePlayedMin: true, flushKeys: true, ...features\r\n })); // dynamics baby!\r\n }\r\n // --- Lifecycle ---\r\n protected override onSetup(): void {\r\n this.mount(), this.onAwaken();\r\n }\r\n protected override onDestroy(): void {\r\n this.unmount(), this.onHibernate();\r\n this.config.status.hostReady = false;\r\n }\r\n protected onAwaken(): void {\r\n if (this.caching) for (const key of cacheKeys) (this.cache ??= {} as any)[key] ??= this.config.snapshot(false, this.config[key]); // all that once was\r\n this.evtOpts.CONFIG.signal = this.evtOpts.EL.signal = this.signal;\r\n this.ctlr.state.readyState ? this.wire() : this.ctlr.state.wonce(\"readyState\", this.wire, { signal: this.signal }); // wire after all plugs setup\r\n }\r\n protected onHibernate(): void {\r\n this.wiredSet.clear(), (this.wired = false);\r\n if (this.cache) silence(() => fanout(this.config, this.cache!)), (this.cache = null); // all that will be\r\n }\r\n\r\n public mount(): void {\r\n if ((this.el as any) !== this.config.element) (this.ctlr.mutating = true), this.config.element.replaceWith(this.el), setTimeout(() => (this.ctlr.mutating = false), 0, this.signal);\r\n }\r\n public unmount(): void {\r\n if ((this.el as any) !== this.config.element) (this.ctlr.mutating = true), this.el.replaceWith(this.config.element), setTimeout(() => (this.ctlr.mutating = false), 0, this.signal);\r\n }\r\n\r\n // === WIRING ===\r\n public wire(): void {\r\n // Variables Assignments\r\n (this.el as any).tmgPlayer = this.config.element.tmgPlayer; // ref is maintained if element was replaced in mount\r\n // Config Listeners\r\n this.config.on(\"intent\", this.handleWrite, this.evtOpts.CONFIG), this.config.on(\"settings\", this.handleWrite, this.evtOpts.CONFIG); // protecting everybody\r\n // Bulk Wiring\r\n this.wireSrc(), this.wireCurrentTime(), this.wireDuration(), this.wirePaused(), this.wireEnded(), this.wireFeatures();\r\n // Post Wiring\r\n (this.ctlr.flags.wired || !this.ctlr.isNativeEl) && this.flush();\r\n !this.ctlr.flags.wired && force(() => fanout(this.config.status, { ...this.config.status, ...(this.ctlr.isNativeEl && getMediaStatus(this.el as any, true)) }, { skipUndef: true })); // async init proof\r\n silence(() => (fanout(this.config.intent, this.config[this.ctlr.gospel]), fanout(this.config.settings))); // contemplating intent only\r\n force(() => this.config.tick(), !this.ctlr.flags.wired), (this.wired = true); // state isn't volatile but it must touch\r\n }\r\n // --- THE CORE 5 (Media \"Must Haves\") ---\r\n protected abstract wireSrc(): void;\r\n protected abstract wireCurrentTime(): void;\r\n protected abstract wireDuration(): void;\r\n protected abstract wirePaused(): void;\r\n protected abstract wireEnded(): void;\r\n // --- THE EXTENSIONS ---\r\n protected wireFeatures(): void {\r\n this.config.on(\"features\", this.handleFeatures, { init: true, signal: this.signal });\r\n }\r\n protected wireFeature(feature: keyof MediaFeatures): void {\r\n if (!this.wiredSet.has(feature)) this.wiredSet.add(feature), (this as any)[`wire${capitalize(feature)}`]?.();\r\n }\r\n // Track Switching Wiring\r\n protected wireCurrentChapter(): void {\r\n this.config.set(\"intent.currentChapter\", (term) => (isNum(term) ? term : this.config.settings.metadata.chapterInfo.findIndex((c) => c.title === term)), { signal: this.signal }); // #VALIDATOR: intent type conformation\r\n this.config.on(\"intent.currentChapter\", this.handleCurrentChapterIntent, this.evtOpts.CONFIG);\r\n this.config.on(\"state.currentTime\", this.onCurrentTimeState, this.evtOpts.CONFIG);\r\n }\r\n // ive Content Wiring\r\n protected wireLive(): void {\r\n this.config.on(\"intent.live\", this.handleLiveIntent, this.evtOpts.CONFIG);\r\n this.config.watch(\"status.isLive\", this.onIsLiveStatus, this.evtOpts.CONFIG);\r\n }\r\n\r\n // === HANDLERS ===\r\n protected handleFeatures({ type, target }: REvent<CtlrMedia, \"features\">): void {\r\n if (type === \"update\") return this.wireFeature(target.key);\r\n if (type === \"init\") for (const feature of Object.keys(target.value)) this.wireFeature(feature as keyof MediaFeatures);\r\n }\r\n protected handleWrite(e: REvent<CtlrMedia, \"intent\" | \"settings\">): void {\r\n if (e.type === \"update\" && !isFeatured(this.config, e.target.key as keyof MediaFeatures)) return e.reject(this.name), e.stopImmediatePropagation(); // (`&& (e.value || !this.ctlr.flags.wired)` = turn off at runtime) -> polyfill()\r\n }\r\n protected handleCurrentChapterIntent(e: REvent<CtlrMedia, \"intent.currentChapter\">): void {\r\n if (e.resolved || !this.wired) return void (!e.resolved && e.resolve(this.name));\r\n const chapter = this.config.settings.metadata.chapterInfo[e.value as number]; // #VALIDATED: mediated for cast conformity; no-opy\r\n if (chapter) (this.config.intent.currentTime = chapter.startTime), this.config.tick(\"intent.currentTime\"), this.onCurrentTimeState(); // #FACADED: silenced intent actual op\r\n this.ctlr.notify?.(\"chapter\");\r\n e.resolve(this.name);\r\n }\r\n protected handleLiveIntent(e: REvent<CtlrMedia, \"intent.live\">): void {\r\n if (e.resolved || !this.wired) return void (!e.resolved && e.resolve(this.name));\r\n this.ctlr.when(\"loadedData\", e, (seekable = this.config.status.seekable) => e.value && seekable.length && (this.config.intent.currentTime = seekable.end(seekable.length - 1) - 1)); // #FACADED: silenced intent actual op\r\n e.resolve(this.name);\r\n }\r\n // Dog Feeders\r\n protected onCurrentTimeState(): void {\r\n const time = this.config.state.currentTime;\r\n if (time === this.lastTime) return;\r\n const chapters = this.config.settings.metadata.chapterInfo;\r\n if (chapters.length) this.config.state.currentChapter = getMediaChapter(chapters, time);\r\n this.lastTime = time;\r\n }\r\n private lastTime = -1;\r\n protected onIsLiveStatus(v: boolean): void {\r\n this.config.features.live = v;\r\n }\r\n\r\n // === HELPERS ===\r\n protected flush(): void {\r\n for (const path of this.config.settings.flushKeys.status) this.config.status[path] = deepClone(MEDIA_STATUS_BUILD[path]) as never;\r\n for (const path of this.config.settings.flushKeys.state) this.config.state[path] = deepClone(MEDIA_STATE_BUILD[path]) as never;\r\n }\r\n public polyfill(feature: keyof MediaFeatures | Array<keyof MediaFeatures>, condition?: any, disabled?: any): boolean | void {\r\n const apply = (f: keyof MediaFeatures, v = !disabled && (!!this.features[f] || !!condition)) => (!v && isBool(disabled) && (this.config.state as any)[f] === true && (silence(() => ((this.config.intent as any)[f] = false)), this.config.tick(`intent.${f}` as any)), (this.config.features[f] = v));\r\n return !isArr(feature) ? apply(feature) : feature.forEach((f) => apply(f));\r\n } // #EXTRA-MILE: doing the most with the least\r\n}\r\n\r\nexport const cacheKeys = [\"state\", \"status\", \"settings\", \"features\"] as const;\r\n\r\nexport type CacheKey = (typeof cacheKeys)[number];\r\n\r\ndeclare module \"@defs/contract\" {\r\n interface MediaStatus {\r\n hostReady: boolean;\r\n }\r\n}\r\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,SAAS,WAAW,QAAQ,aAAa;AACzC,SAAS,eAAe;AAcjB,IAAe,WAAf,cAAsE,aAAkC;AAAA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
-
triangleLeft
|
|
9
|
-
} from "./chunk-6SMYDK4B.js";
|
|
10
|
-
import {
|
|
11
|
-
tripleTriangleLeft
|
|
12
|
-
} from "./chunk-IIRP4XMQ.js";
|
|
13
1
|
import {
|
|
14
2
|
tripleTriangleRight
|
|
15
3
|
} from "./chunk-ZTOANBNR.js";
|
|
@@ -26,14 +14,8 @@ import {
|
|
|
26
14
|
volumeLow
|
|
27
15
|
} from "./chunk-4G5GHO4D.js";
|
|
28
16
|
import {
|
|
29
|
-
|
|
30
|
-
} from "./chunk-
|
|
31
|
-
import {
|
|
32
|
-
removeMiniplayer
|
|
33
|
-
} from "./chunk-GCEEKQP5.js";
|
|
34
|
-
import {
|
|
35
|
-
replay
|
|
36
|
-
} from "./chunk-YHTCXXEG.js";
|
|
17
|
+
volumeMuted
|
|
18
|
+
} from "./chunk-VZQ7TOGL.js";
|
|
37
19
|
import {
|
|
38
20
|
returnBack
|
|
39
21
|
} from "./chunk-BHHFZM5D.js";
|
|
@@ -50,14 +32,14 @@ import {
|
|
|
50
32
|
subtitles
|
|
51
33
|
} from "./chunk-D7JQDN74.js";
|
|
52
34
|
import {
|
|
53
|
-
|
|
54
|
-
} from "./chunk-
|
|
35
|
+
timer
|
|
36
|
+
} from "./chunk-R4HNE7TL.js";
|
|
55
37
|
import {
|
|
56
|
-
|
|
57
|
-
} from "./chunk-
|
|
38
|
+
triangleLeft
|
|
39
|
+
} from "./chunk-6SMYDK4B.js";
|
|
58
40
|
import {
|
|
59
|
-
|
|
60
|
-
} from "./chunk-
|
|
41
|
+
tripleTriangleLeft
|
|
42
|
+
} from "./chunk-IIRP4XMQ.js";
|
|
61
43
|
import {
|
|
62
44
|
pipPlaceholder
|
|
63
45
|
} from "./chunk-7CRW7VGS.js";
|
|
@@ -74,14 +56,14 @@ import {
|
|
|
74
56
|
previous
|
|
75
57
|
} from "./chunk-65HPQXXZ.js";
|
|
76
58
|
import {
|
|
77
|
-
|
|
78
|
-
} from "./chunk-
|
|
59
|
+
quality
|
|
60
|
+
} from "./chunk-JG7AOGDX.js";
|
|
79
61
|
import {
|
|
80
|
-
|
|
81
|
-
} from "./chunk-
|
|
62
|
+
removeMiniplayer
|
|
63
|
+
} from "./chunk-GCEEKQP5.js";
|
|
82
64
|
import {
|
|
83
|
-
|
|
84
|
-
} from "./chunk-
|
|
65
|
+
replay
|
|
66
|
+
} from "./chunk-YHTCXXEG.js";
|
|
85
67
|
import {
|
|
86
68
|
lock
|
|
87
69
|
} from "./chunk-T4LAQEBY.js";
|
|
@@ -98,14 +80,14 @@ import {
|
|
|
98
80
|
objectFitContain
|
|
99
81
|
} from "./chunk-KQU2L5UM.js";
|
|
100
82
|
import {
|
|
101
|
-
|
|
102
|
-
} from "./chunk-
|
|
83
|
+
objectFitCover
|
|
84
|
+
} from "./chunk-HC7SWNDS.js";
|
|
103
85
|
import {
|
|
104
|
-
|
|
105
|
-
} from "./chunk-
|
|
86
|
+
objectFitFill
|
|
87
|
+
} from "./chunk-NVSHC2R3.js";
|
|
106
88
|
import {
|
|
107
|
-
|
|
108
|
-
} from "./chunk-
|
|
89
|
+
pause
|
|
90
|
+
} from "./chunk-5RMINYV3.js";
|
|
109
91
|
import {
|
|
110
92
|
errorPlaceholder
|
|
111
93
|
} from "./chunk-2K7QF6AQ.js";
|
|
@@ -122,14 +104,14 @@ import {
|
|
|
122
104
|
expandMiniplayer
|
|
123
105
|
} from "./chunk-DN4TFOZV.js";
|
|
124
106
|
import {
|
|
125
|
-
|
|
126
|
-
} from "./chunk-
|
|
107
|
+
forward10
|
|
108
|
+
} from "./chunk-PGSBJUJ4.js";
|
|
127
109
|
import {
|
|
128
|
-
|
|
129
|
-
} from "./chunk-
|
|
110
|
+
fullscreenOrientation
|
|
111
|
+
} from "./chunk-SEHWINY7.js";
|
|
130
112
|
import {
|
|
131
|
-
|
|
132
|
-
} from "./chunk-
|
|
113
|
+
goBack
|
|
114
|
+
} from "./chunk-4XUR7NSC.js";
|
|
133
115
|
import {
|
|
134
116
|
check
|
|
135
117
|
} from "./chunk-O7XYY33O.js";
|
|
@@ -146,14 +128,14 @@ import {
|
|
|
146
128
|
edit
|
|
147
129
|
} from "./chunk-NLJQAJZB.js";
|
|
148
130
|
import {
|
|
149
|
-
|
|
150
|
-
} from "./chunk-
|
|
131
|
+
enterFullscreen
|
|
132
|
+
} from "./chunk-27UEI7BB.js";
|
|
151
133
|
import {
|
|
152
|
-
|
|
153
|
-
} from "./chunk-
|
|
134
|
+
enterPip
|
|
135
|
+
} from "./chunk-MT7KLIL6.js";
|
|
154
136
|
import {
|
|
155
|
-
|
|
156
|
-
} from "./chunk-
|
|
137
|
+
enterTheater
|
|
138
|
+
} from "./chunk-BZYMBDEH.js";
|
|
157
139
|
import {
|
|
158
140
|
brightnessDark
|
|
159
141
|
} from "./chunk-GNNKBZIR.js";
|
|
@@ -169,6 +151,15 @@ import {
|
|
|
169
151
|
import {
|
|
170
152
|
capture
|
|
171
153
|
} from "./chunk-HA2GK6KH.js";
|
|
154
|
+
import {
|
|
155
|
+
cast
|
|
156
|
+
} from "./chunk-6S5BMP4A.js";
|
|
157
|
+
import {
|
|
158
|
+
castPlaceholder
|
|
159
|
+
} from "./chunk-HXGWGQL3.js";
|
|
160
|
+
import {
|
|
161
|
+
chapters
|
|
162
|
+
} from "./chunk-2W5XWGGE.js";
|
|
172
163
|
import {
|
|
173
164
|
add
|
|
174
165
|
} from "./chunk-ID72UAJE.js";
|
|
@@ -184,6 +175,15 @@ import {
|
|
|
184
175
|
import {
|
|
185
176
|
audioTrack
|
|
186
177
|
} from "./chunk-AH2VE4UI.js";
|
|
178
|
+
import {
|
|
179
|
+
autoplay
|
|
180
|
+
} from "./chunk-WTHHXWQM.js";
|
|
181
|
+
import {
|
|
182
|
+
backward10
|
|
183
|
+
} from "./chunk-3KD22Z7D.js";
|
|
184
|
+
import {
|
|
185
|
+
bin
|
|
186
|
+
} from "./chunk-XQDJXXGL.js";
|
|
187
187
|
import {
|
|
188
188
|
IconRegistry
|
|
189
189
|
} from "./chunk-QMG3O3CD.js";
|
|
@@ -254,4 +254,4 @@ IconRegistry.registerAll({
|
|
|
254
254
|
goBack,
|
|
255
255
|
mic
|
|
256
256
|
});
|
|
257
|
-
//# sourceMappingURL=chunk-
|
|
257
|
+
//# sourceMappingURL=chunk-6M7E4XMZ.js.map
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
} from "./chunk-2XJFCVED.js";
|
|
23
23
|
import {
|
|
24
24
|
BaseTech
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-6ITPIHGM.js";
|
|
26
26
|
import {
|
|
27
27
|
cloneMedia,
|
|
28
28
|
getMediaReport,
|
|
@@ -222,9 +222,10 @@ var HTML5Tech = class extends BaseTech {
|
|
|
222
222
|
autoplay: true,
|
|
223
223
|
loop: true,
|
|
224
224
|
playsInline: !isAudio,
|
|
225
|
-
preload: true,
|
|
226
|
-
crossOrigin: true,
|
|
227
225
|
controls: true,
|
|
226
|
+
live: true,
|
|
227
|
+
crossOrigin: true,
|
|
228
|
+
preload: true,
|
|
228
229
|
controlsList: true,
|
|
229
230
|
sources: true,
|
|
230
231
|
tracks: true,
|
|
@@ -978,4 +979,4 @@ export {
|
|
|
978
979
|
HTML5Tech,
|
|
979
980
|
Controller
|
|
980
981
|
};
|
|
981
|
-
//# sourceMappingURL=chunk-
|
|
982
|
+
//# sourceMappingURL=chunk-6V3JMNRX.js.map
|