@beyondwords/player 0.0.0-beta48 → 0.0.0-beta49
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/es.js +10 -9
- package/dist/es.js.map +1 -1
- package/dist/umd.js +3 -3
- package/dist/umd.js.map +1 -1
- package/package.json +1 -1
package/dist/es.js
CHANGED
|
@@ -45,6 +45,7 @@ var si = (t, e, i) => new Promise((n, s) => {
|
|
|
45
45
|
}, r = (a) => a.done ? n(a.value) : Promise.resolve(a.value).then(o, l);
|
|
46
46
|
r((i = i.apply(t, e)).next());
|
|
47
47
|
});
|
|
48
|
+
/*! version:"0.0.0-beta49" */
|
|
48
49
|
function X() {
|
|
49
50
|
}
|
|
50
51
|
const da = (t) => t;
|
|
@@ -549,7 +550,7 @@ class pe {
|
|
|
549
550
|
this.$$set && !fa(e) && (this.$$.skip_bound = !0, this.$$set(e), this.$$.skip_bound = !1);
|
|
550
551
|
}
|
|
551
552
|
}
|
|
552
|
-
const Ea = "@beyondwords/player", xo = "0.0.0-
|
|
553
|
+
const Ea = "@beyondwords/player", xo = "0.0.0-beta49", Xt = (t, e) => {
|
|
553
554
|
t = [t].flat().join(`
|
|
554
555
|
`);
|
|
555
556
|
let i = `${Ea}:
|
|
@@ -16585,25 +16586,25 @@ class M2 {
|
|
|
16585
16586
|
});
|
|
16586
16587
|
}
|
|
16587
16588
|
// Please document all events and keep in-sync with /doc/player-events.md
|
|
16588
|
-
|
|
16589
|
+
handlePressedChangeRate() {
|
|
16589
16590
|
O(this, Vi, nn).call(this, (e) => e + 1, { cycle: !0 });
|
|
16590
16591
|
}
|
|
16591
|
-
|
|
16592
|
+
handlePressedEnterOnChangeRate() {
|
|
16592
16593
|
O(this, Vi, nn).call(this, (e) => e + 1, { cycle: !0 });
|
|
16593
16594
|
}
|
|
16594
|
-
|
|
16595
|
+
handlePressedSpaceOnChangeRate() {
|
|
16595
16596
|
O(this, Vi, nn).call(this, (e) => e + 1, { cycle: !0 });
|
|
16596
16597
|
}
|
|
16597
|
-
|
|
16598
|
+
handlePressedUpOnChangeRate() {
|
|
16598
16599
|
O(this, Vi, nn).call(this, (e) => e + 1);
|
|
16599
16600
|
}
|
|
16600
|
-
|
|
16601
|
+
handlePressedRightOnChangeRate() {
|
|
16601
16602
|
O(this, Vi, nn).call(this, (e) => e + 1);
|
|
16602
16603
|
}
|
|
16603
|
-
|
|
16604
|
+
handlePressedDownOnChangeRate() {
|
|
16604
16605
|
O(this, Vi, nn).call(this, (e) => e - 1);
|
|
16605
16606
|
}
|
|
16606
|
-
|
|
16607
|
+
handlePressedLeftOnChangeRate() {
|
|
16607
16608
|
O(this, Vi, nn).call(this, (e) => e - 1);
|
|
16608
16609
|
}
|
|
16609
16610
|
handlePressedPrevSegment() {
|
|
@@ -16767,7 +16768,7 @@ class M2 {
|
|
|
16767
16768
|
}
|
|
16768
16769
|
}
|
|
16769
16770
|
Ks = new WeakSet(), Hr = function({ type: e }) {
|
|
16770
|
-
return O(this, ni, ui).call(this) && (e.includes("
|
|
16771
|
+
return O(this, ni, ui).call(this) && (e.includes("ChangeRate") || e.includes("PrevSegment") || e.includes("NextSegment") || e.includes("SeekBack") || e.includes("SeekAhead") || e.includes("Progress") && !e.includes("Space") && !e.includes("Enter"));
|
|
16771
16772
|
}, Js = new WeakSet(), Yr = function({ type: e }) {
|
|
16772
16773
|
return this.preScrubState && (e.includes("CurrentTimeUpdated") || e.includes("PlaybackEnded"));
|
|
16773
16774
|
}, ts = new WeakSet(), Mo = function(e, i) {
|