@tarojs/components 4.0.0-beta.61 → 4.0.0-beta.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/cjs/loader.cjs.js +1 -1
- package/dist/cjs/taro-components.cjs.js +1 -1
- package/dist/cjs/taro-draggable-sheet-core.cjs.entry.js +21 -0
- package/dist/cjs/taro-grid-builder-core.cjs.entry.js +21 -0
- package/dist/cjs/taro-list-builder-core.cjs.entry.js +21 -0
- package/dist/cjs/taro-movable-area-core_2.cjs.entry.js +3 -1
- package/dist/cjs/taro-nested-scroll-body-core.cjs.entry.js +21 -0
- package/dist/cjs/taro-nested-scroll-header-core.cjs.entry.js +21 -0
- package/dist/cjs/taro-open-container-core.cjs.entry.js +21 -0
- package/dist/cjs/taro-span-core.cjs.entry.js +21 -0
- package/dist/cjs/taro-swiper-core_2.cjs.entry.js +35 -3
- package/dist/cjs/taro-tabbar.cjs.entry.js +1 -1
- package/dist/cjs/taro-video-control_3.cjs.entry.js +12 -3
- package/dist/collection/collection-manifest.json +7 -0
- package/dist/collection/components/draggable-sheet/draggable-sheet.js +11 -0
- package/dist/collection/components/grid-builder/grid-builder.js +11 -0
- package/dist/collection/components/list-builder/list-builder.js +11 -0
- package/dist/collection/components/movable-area/movable-view.js +3 -1
- package/dist/collection/components/nested-scroll-body/nested-scroll-body.js +11 -0
- package/dist/collection/components/nested-scroll-header/nested-scroll-header.js +11 -0
- package/dist/collection/components/open-container/open-container.js +11 -0
- package/dist/collection/components/span/span.js +11 -0
- package/dist/collection/components/swiper/swiper.js +55 -3
- package/dist/collection/components/tabbar/style/index.css +1 -1
- package/dist/collection/components/video/video.js +8 -3
- package/dist/components/index.d.ts +7 -0
- package/dist/components/index.js +7 -0
- package/dist/components/taro-draggable-sheet-core.d.ts +11 -0
- package/dist/components/taro-draggable-sheet-core.js +33 -0
- package/dist/components/taro-grid-builder-core.d.ts +11 -0
- package/dist/components/taro-grid-builder-core.js +33 -0
- package/dist/components/taro-list-builder-core.d.ts +11 -0
- package/dist/components/taro-list-builder-core.js +33 -0
- package/dist/components/taro-movable-view-core.js +3 -1
- package/dist/components/taro-nested-scroll-body-core.d.ts +11 -0
- package/dist/components/taro-nested-scroll-body-core.js +33 -0
- package/dist/components/taro-nested-scroll-header-core.d.ts +11 -0
- package/dist/components/taro-nested-scroll-header-core.js +33 -0
- package/dist/components/taro-open-container-core.d.ts +11 -0
- package/dist/components/taro-open-container-core.js +33 -0
- package/dist/components/taro-span-core.d.ts +11 -0
- package/dist/components/taro-span-core.js +33 -0
- package/dist/components/taro-swiper-core.js +36 -3
- package/dist/components/taro-tabbar.js +1 -1
- package/dist/components/taro-video-core.js +8 -3
- package/dist/esm/loader.js +1 -1
- package/dist/esm/taro-components.js +1 -1
- package/dist/esm/taro-draggable-sheet-core.entry.js +17 -0
- package/dist/esm/taro-grid-builder-core.entry.js +17 -0
- package/dist/esm/taro-list-builder-core.entry.js +17 -0
- package/dist/esm/taro-movable-area-core_2.entry.js +3 -1
- package/dist/esm/taro-nested-scroll-body-core.entry.js +17 -0
- package/dist/esm/taro-nested-scroll-header-core.entry.js +17 -0
- package/dist/esm/taro-open-container-core.entry.js +17 -0
- package/dist/esm/taro-span-core.entry.js +17 -0
- package/dist/esm/taro-swiper-core_2.entry.js +35 -3
- package/dist/esm/taro-tabbar.entry.js +1 -1
- package/dist/esm/taro-video-control_3.entry.js +8 -3
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/taro-components.js +1 -1
- package/dist/esm-es5/taro-draggable-sheet-core.entry.js +1 -0
- package/dist/esm-es5/taro-grid-builder-core.entry.js +1 -0
- package/dist/esm-es5/taro-list-builder-core.entry.js +1 -0
- package/dist/esm-es5/taro-movable-area-core_2.entry.js +1 -1
- package/dist/esm-es5/taro-nested-scroll-body-core.entry.js +1 -0
- package/dist/esm-es5/taro-nested-scroll-header-core.entry.js +1 -0
- package/dist/esm-es5/taro-open-container-core.entry.js +1 -0
- package/dist/esm-es5/taro-span-core.entry.js +1 -0
- package/dist/esm-es5/taro-swiper-core_2.entry.js +1 -1
- package/dist/esm-es5/taro-tabbar.entry.js +1 -1
- package/dist/esm-es5/taro-video-control_3.entry.js +1 -1
- package/dist/hydrate/index.js +194 -8
- package/dist/taro-components/p-111fadd7.system.entry.js +1 -0
- package/dist/taro-components/{p-e8753c5c.entry.js → p-1acf7537.entry.js} +1 -1
- package/dist/taro-components/p-1d102ddb.system.entry.js +1 -0
- package/dist/taro-components/p-34ba9330.system.entry.js +1 -0
- package/dist/taro-components/p-3e4b5391.system.entry.js +1 -0
- package/dist/taro-components/p-4621b303.system.entry.js +1 -0
- package/dist/taro-components/p-477f8fbd.system.js +1 -1
- package/dist/taro-components/p-4c30ea10.entry.js +1 -0
- package/dist/taro-components/p-5186ab96.system.entry.js +1 -0
- package/dist/taro-components/p-55e54f2a.system.entry.js +1 -0
- package/dist/taro-components/p-6dd357b9.entry.js +1 -0
- package/dist/taro-components/{p-7615d8a6.system.entry.js → p-6ffc9bda.system.entry.js} +1 -1
- package/dist/taro-components/p-751d42cb.entry.js +1 -0
- package/dist/taro-components/p-76c0f443.entry.js +1 -0
- package/dist/taro-components/p-7bc6aa36.entry.js +1 -0
- package/dist/taro-components/p-87b0d22f.entry.js +1 -0
- package/dist/taro-components/p-895982a4.entry.js +1 -0
- package/dist/taro-components/p-9f1b0ae1.entry.js +1 -0
- package/dist/taro-components/{p-be68ae6e.system.entry.js → p-b0f12e64.system.entry.js} +1 -1
- package/dist/taro-components/{p-1b1034dc.entry.js → p-b4047b11.entry.js} +1 -1
- package/dist/taro-components/p-cc993977.system.entry.js +1 -0
- package/dist/taro-components/p-d6bd1a5b.entry.js +1 -0
- package/dist/taro-components/p-fa9dbb6f.system.entry.js +1 -0
- package/dist/taro-components/taro-components.esm.js +1 -1
- package/dist/types/components/draggable-sheet/draggable-sheet.d.ts +5 -0
- package/dist/types/components/grid-builder/grid-builder.d.ts +5 -0
- package/dist/types/components/list-builder/list-builder.d.ts +5 -0
- package/dist/types/components/nested-scroll-body/nested-scroll-body.d.ts +5 -0
- package/dist/types/components/nested-scroll-header/nested-scroll-header.d.ts +5 -0
- package/dist/types/components/open-container/open-container.d.ts +5 -0
- package/dist/types/components/span/span.d.ts +5 -0
- package/dist/types/components/swiper/swiper.d.ts +5 -0
- package/dist/types/components.d.ts +99 -0
- package/lib/react/components.d.ts +8 -1
- package/lib/react/components.js +9 -2
- package/lib/react/components.js.map +1 -1
- package/lib/react/index.js +1 -1
- package/lib/vue2/components.d.ts +9 -1
- package/lib/vue2/components.js +24 -2
- package/lib/vue2/components.js.map +1 -1
- package/lib/vue2/index.js +1 -1
- package/lib/vue3/components.d.ts +8 -1
- package/lib/vue3/components.js +10 -2
- package/lib/vue3/components.js.map +1 -1
- package/lib/vue3/index.js +1 -1
- package/package.json +3 -3
- package/types/DraggableSheet.d.ts +47 -0
- package/types/GridBuilder.d.ts +72 -0
- package/types/GridView.d.ts +18 -4
- package/types/ListBuilder.d.ts +55 -0
- package/types/ListView.d.ts +8 -1
- package/types/NestedScrollBody.d.ts +15 -0
- package/types/NestedScrollHeader.d.ts +15 -0
- package/types/OpenContainer.d.ts +74 -0
- package/types/Script.d.ts +37 -0
- package/types/ScrollView.d.ts +7 -1
- package/types/Snapshot.d.ts +12 -3
- package/types/Span.d.ts +14 -0
- package/types/StickyHeader.d.ts +14 -1
- package/types/StickySection.d.ts +6 -0
- package/types/Swiper.d.ts +1 -1
- package/types/Text.d.ts +16 -0
- package/types/index.d.ts +8 -0
- package/types/index.vue3.d.ts +4 -0
- package/dist/taro-components/p-22f6316e.entry.js +0 -1
- package/dist/taro-components/p-54b24e2f.system.entry.js +0 -1
- package/dist/taro-components/p-c2da52a5.entry.js +0 -1
- package/dist/taro-components/p-dbeadc04.system.entry.js +0 -1
package/dist/hydrate/index.js
CHANGED
|
@@ -6678,6 +6678,26 @@ class CustomWrapper {
|
|
|
6678
6678
|
}; }
|
|
6679
6679
|
}
|
|
6680
6680
|
|
|
6681
|
+
class DraggableSheet {
|
|
6682
|
+
constructor(hostRef) {
|
|
6683
|
+
registerInstance(this, hostRef);
|
|
6684
|
+
}
|
|
6685
|
+
componentDidLoad() {
|
|
6686
|
+
notSupport('DraggableSheet', this);
|
|
6687
|
+
}
|
|
6688
|
+
render() {
|
|
6689
|
+
return (hAsync(Host, null));
|
|
6690
|
+
}
|
|
6691
|
+
static get cmpMeta() { return {
|
|
6692
|
+
"$flags$": 0,
|
|
6693
|
+
"$tagName$": "taro-draggable-sheet-core",
|
|
6694
|
+
"$members$": undefined,
|
|
6695
|
+
"$listeners$": undefined,
|
|
6696
|
+
"$lazyBundleId$": "-",
|
|
6697
|
+
"$attrsToReflect$": []
|
|
6698
|
+
}; }
|
|
6699
|
+
}
|
|
6700
|
+
|
|
6681
6701
|
class Editor {
|
|
6682
6702
|
constructor(hostRef) {
|
|
6683
6703
|
registerInstance(this, hostRef);
|
|
@@ -6882,6 +6902,26 @@ class FunctionalPageNavigator {
|
|
|
6882
6902
|
}; }
|
|
6883
6903
|
}
|
|
6884
6904
|
|
|
6905
|
+
class GridBuilder {
|
|
6906
|
+
constructor(hostRef) {
|
|
6907
|
+
registerInstance(this, hostRef);
|
|
6908
|
+
}
|
|
6909
|
+
componentDidLoad() {
|
|
6910
|
+
notSupport('GridBuilder', this);
|
|
6911
|
+
}
|
|
6912
|
+
render() {
|
|
6913
|
+
return (hAsync(Host, null));
|
|
6914
|
+
}
|
|
6915
|
+
static get cmpMeta() { return {
|
|
6916
|
+
"$flags$": 0,
|
|
6917
|
+
"$tagName$": "taro-grid-builder-core",
|
|
6918
|
+
"$members$": undefined,
|
|
6919
|
+
"$listeners$": undefined,
|
|
6920
|
+
"$lazyBundleId$": "-",
|
|
6921
|
+
"$attrsToReflect$": []
|
|
6922
|
+
}; }
|
|
6923
|
+
}
|
|
6924
|
+
|
|
6885
6925
|
class GridView {
|
|
6886
6926
|
constructor(hostRef) {
|
|
6887
6927
|
registerInstance(this, hostRef);
|
|
@@ -7334,6 +7374,26 @@ class Like {
|
|
|
7334
7374
|
}; }
|
|
7335
7375
|
}
|
|
7336
7376
|
|
|
7377
|
+
class ListBuilder {
|
|
7378
|
+
constructor(hostRef) {
|
|
7379
|
+
registerInstance(this, hostRef);
|
|
7380
|
+
}
|
|
7381
|
+
componentDidLoad() {
|
|
7382
|
+
notSupport('ListBuilder', this);
|
|
7383
|
+
}
|
|
7384
|
+
render() {
|
|
7385
|
+
return (hAsync(Host, null));
|
|
7386
|
+
}
|
|
7387
|
+
static get cmpMeta() { return {
|
|
7388
|
+
"$flags$": 0,
|
|
7389
|
+
"$tagName$": "taro-list-builder-core",
|
|
7390
|
+
"$members$": undefined,
|
|
7391
|
+
"$listeners$": undefined,
|
|
7392
|
+
"$lazyBundleId$": "-",
|
|
7393
|
+
"$attrsToReflect$": []
|
|
7394
|
+
}; }
|
|
7395
|
+
}
|
|
7396
|
+
|
|
7337
7397
|
class ListView {
|
|
7338
7398
|
constructor(hostRef) {
|
|
7339
7399
|
registerInstance(this, hostRef);
|
|
@@ -7800,7 +7860,9 @@ class MovableView {
|
|
|
7800
7860
|
if (this.disabled || !this.element || this.scaling || !this.touching || touches.length > 1) {
|
|
7801
7861
|
return;
|
|
7802
7862
|
}
|
|
7803
|
-
|
|
7863
|
+
if (this.direction !== "horizontal") {
|
|
7864
|
+
e.preventDefault();
|
|
7865
|
+
}
|
|
7804
7866
|
const touch = touches[0];
|
|
7805
7867
|
const x = touch.screenX - this.origin.x;
|
|
7806
7868
|
const y = touch.screenY - this.origin.y;
|
|
@@ -8107,6 +8169,46 @@ class Navigator {
|
|
|
8107
8169
|
}; }
|
|
8108
8170
|
}
|
|
8109
8171
|
|
|
8172
|
+
class NestedScrollBody {
|
|
8173
|
+
constructor(hostRef) {
|
|
8174
|
+
registerInstance(this, hostRef);
|
|
8175
|
+
}
|
|
8176
|
+
componentDidLoad() {
|
|
8177
|
+
notSupport('NestedScrollBody', this);
|
|
8178
|
+
}
|
|
8179
|
+
render() {
|
|
8180
|
+
return (hAsync(Host, null));
|
|
8181
|
+
}
|
|
8182
|
+
static get cmpMeta() { return {
|
|
8183
|
+
"$flags$": 0,
|
|
8184
|
+
"$tagName$": "taro-nested-scroll-body-core",
|
|
8185
|
+
"$members$": undefined,
|
|
8186
|
+
"$listeners$": undefined,
|
|
8187
|
+
"$lazyBundleId$": "-",
|
|
8188
|
+
"$attrsToReflect$": []
|
|
8189
|
+
}; }
|
|
8190
|
+
}
|
|
8191
|
+
|
|
8192
|
+
class NestedScrollHeader {
|
|
8193
|
+
constructor(hostRef) {
|
|
8194
|
+
registerInstance(this, hostRef);
|
|
8195
|
+
}
|
|
8196
|
+
componentDidLoad() {
|
|
8197
|
+
notSupport('NestedScrollHeader', this);
|
|
8198
|
+
}
|
|
8199
|
+
render() {
|
|
8200
|
+
return (hAsync(Host, null));
|
|
8201
|
+
}
|
|
8202
|
+
static get cmpMeta() { return {
|
|
8203
|
+
"$flags$": 0,
|
|
8204
|
+
"$tagName$": "taro-nested-scroll-header-core",
|
|
8205
|
+
"$members$": undefined,
|
|
8206
|
+
"$listeners$": undefined,
|
|
8207
|
+
"$lazyBundleId$": "-",
|
|
8208
|
+
"$attrsToReflect$": []
|
|
8209
|
+
}; }
|
|
8210
|
+
}
|
|
8211
|
+
|
|
8110
8212
|
class OfficialAccount {
|
|
8111
8213
|
constructor(hostRef) {
|
|
8112
8214
|
registerInstance(this, hostRef);
|
|
@@ -8127,6 +8229,26 @@ class OfficialAccount {
|
|
|
8127
8229
|
}; }
|
|
8128
8230
|
}
|
|
8129
8231
|
|
|
8232
|
+
class OpenContainer {
|
|
8233
|
+
constructor(hostRef) {
|
|
8234
|
+
registerInstance(this, hostRef);
|
|
8235
|
+
}
|
|
8236
|
+
componentDidLoad() {
|
|
8237
|
+
notSupport('OpenContainer', this);
|
|
8238
|
+
}
|
|
8239
|
+
render() {
|
|
8240
|
+
return (hAsync(Host, null));
|
|
8241
|
+
}
|
|
8242
|
+
static get cmpMeta() { return {
|
|
8243
|
+
"$flags$": 0,
|
|
8244
|
+
"$tagName$": "taro-open-container-core",
|
|
8245
|
+
"$members$": undefined,
|
|
8246
|
+
"$listeners$": undefined,
|
|
8247
|
+
"$lazyBundleId$": "-",
|
|
8248
|
+
"$attrsToReflect$": []
|
|
8249
|
+
}; }
|
|
8250
|
+
}
|
|
8251
|
+
|
|
8130
8252
|
class OpenData {
|
|
8131
8253
|
constructor(hostRef) {
|
|
8132
8254
|
registerInstance(this, hostRef);
|
|
@@ -9943,6 +10065,26 @@ class Snapshot {
|
|
|
9943
10065
|
}; }
|
|
9944
10066
|
}
|
|
9945
10067
|
|
|
10068
|
+
class Span {
|
|
10069
|
+
constructor(hostRef) {
|
|
10070
|
+
registerInstance(this, hostRef);
|
|
10071
|
+
}
|
|
10072
|
+
componentDidLoad() {
|
|
10073
|
+
notSupport('Span', this);
|
|
10074
|
+
}
|
|
10075
|
+
render() {
|
|
10076
|
+
return hAsync(Host, null);
|
|
10077
|
+
}
|
|
10078
|
+
static get cmpMeta() { return {
|
|
10079
|
+
"$flags$": 0,
|
|
10080
|
+
"$tagName$": "taro-span-core",
|
|
10081
|
+
"$members$": undefined,
|
|
10082
|
+
"$listeners$": undefined,
|
|
10083
|
+
"$lazyBundleId$": "-",
|
|
10084
|
+
"$attrsToReflect$": []
|
|
10085
|
+
}; }
|
|
10086
|
+
}
|
|
10087
|
+
|
|
9946
10088
|
class StickyHeader {
|
|
9947
10089
|
constructor(hostRef) {
|
|
9948
10090
|
registerInstance(this, hostRef);
|
|
@@ -10058,6 +10200,7 @@ class Swiper {
|
|
|
10058
10200
|
this.indicatorActiveColor = '#000000';
|
|
10059
10201
|
this.autoplay = false;
|
|
10060
10202
|
this.current = 0;
|
|
10203
|
+
this.currentItemId = '';
|
|
10061
10204
|
this.interval = 5000;
|
|
10062
10205
|
this.duration = 500;
|
|
10063
10206
|
this.circular = false;
|
|
@@ -10072,7 +10215,7 @@ class Swiper {
|
|
|
10072
10215
|
this.observerLast = undefined;
|
|
10073
10216
|
}
|
|
10074
10217
|
watchCurrent(newVal) {
|
|
10075
|
-
if (!this.isWillLoadCalled)
|
|
10218
|
+
if (this.currentItemId || !this.isWillLoadCalled)
|
|
10076
10219
|
return;
|
|
10077
10220
|
const n = parseInt(newVal, 10);
|
|
10078
10221
|
if (isNaN(n))
|
|
@@ -10086,6 +10229,25 @@ class Swiper {
|
|
|
10086
10229
|
this.swiper.slideTo(n); // 更新下标
|
|
10087
10230
|
}
|
|
10088
10231
|
}
|
|
10232
|
+
watchCurrentItemId(newVal) {
|
|
10233
|
+
var _a;
|
|
10234
|
+
const wrapper = (_a = this.swiper.$wrapperEl) === null || _a === void 0 ? void 0 : _a[0];
|
|
10235
|
+
let itemIdIndex = 0;
|
|
10236
|
+
wrapper.querySelectorAll('taro-swiper-item-core:not(.swiper-slide-duplicate)').forEach((swiperItem, index) => {
|
|
10237
|
+
// @ts-ignore
|
|
10238
|
+
if (swiperItem.itemId && swiperItem.itemId === newVal) {
|
|
10239
|
+
itemIdIndex = index;
|
|
10240
|
+
}
|
|
10241
|
+
});
|
|
10242
|
+
if (this.circular) {
|
|
10243
|
+
if (!this.swiper.isBeginning && !this.swiper.isEnd) {
|
|
10244
|
+
this.swiper.slideToLoop(itemIdIndex); // 更新下标
|
|
10245
|
+
}
|
|
10246
|
+
}
|
|
10247
|
+
else {
|
|
10248
|
+
this.swiper.slideTo(itemIdIndex); // 更新下标
|
|
10249
|
+
}
|
|
10250
|
+
}
|
|
10089
10251
|
watchAutoplay(newVal) {
|
|
10090
10252
|
if (!this.isWillLoadCalled || !this.swiper)
|
|
10091
10253
|
return;
|
|
@@ -10190,7 +10352,18 @@ class Swiper {
|
|
|
10190
10352
|
(_f = (_e = this.observerLast) === null || _e === void 0 ? void 0 : _e.disconnect) === null || _f === void 0 ? void 0 : _f.call(_e);
|
|
10191
10353
|
}
|
|
10192
10354
|
handleInit() {
|
|
10193
|
-
const { autoplay, circular, current, displayMultipleItems, duration, interval, vertical } = this;
|
|
10355
|
+
const { autoplay, circular, current, currentItemId, displayMultipleItems, duration, interval, vertical } = this;
|
|
10356
|
+
let initialSlide = circular ? current + 1 : current;
|
|
10357
|
+
if (currentItemId) {
|
|
10358
|
+
let itemIdIndex = 0;
|
|
10359
|
+
this.el.querySelectorAll('taro-swiper-item-core:not(.swiper-slide-duplicate)').forEach((swiperItem, index) => {
|
|
10360
|
+
// @ts-ignore
|
|
10361
|
+
if (swiperItem.itemId && swiperItem.itemId === currentItemId) {
|
|
10362
|
+
itemIdIndex = index;
|
|
10363
|
+
}
|
|
10364
|
+
});
|
|
10365
|
+
initialSlide = circular ? itemIdIndex + 1 : itemIdIndex;
|
|
10366
|
+
}
|
|
10194
10367
|
// eslint-disable-next-line @typescript-eslint/no-this-alias
|
|
10195
10368
|
const that = this;
|
|
10196
10369
|
const options = {
|
|
@@ -10198,7 +10371,7 @@ class Swiper {
|
|
|
10198
10371
|
direction: vertical ? 'vertical' : 'horizontal',
|
|
10199
10372
|
loop: circular,
|
|
10200
10373
|
slidesPerView: displayMultipleItems,
|
|
10201
|
-
initialSlide:
|
|
10374
|
+
initialSlide: initialSlide,
|
|
10202
10375
|
speed: duration,
|
|
10203
10376
|
observer: true,
|
|
10204
10377
|
observeParents: true,
|
|
@@ -10297,6 +10470,7 @@ class Swiper {
|
|
|
10297
10470
|
get el() { return getElement(this); }
|
|
10298
10471
|
static get watchers() { return {
|
|
10299
10472
|
"current": ["watchCurrent"],
|
|
10473
|
+
"currentItemId": ["watchCurrentItemId"],
|
|
10300
10474
|
"autoplay": ["watchAutoplay"],
|
|
10301
10475
|
"duration": ["watchDuration"],
|
|
10302
10476
|
"interval": ["watchInterval"],
|
|
@@ -10314,6 +10488,7 @@ class Swiper {
|
|
|
10314
10488
|
"indicatorActiveColor": [1, "indicator-active-color"],
|
|
10315
10489
|
"autoplay": [4],
|
|
10316
10490
|
"current": [2],
|
|
10491
|
+
"currentItemId": [1, "current-item-id"],
|
|
10317
10492
|
"interval": [2],
|
|
10318
10493
|
"duration": [2],
|
|
10319
10494
|
"circular": [4],
|
|
@@ -10525,7 +10700,7 @@ const TabbarItem = ({ index, isSelected = false, textColor, iconPath, badgeText,
|
|
|
10525
10700
|
hAsync("p", { class: 'weui-tabbar__label', style: { color: textColor } }, text)));
|
|
10526
10701
|
};
|
|
10527
10702
|
|
|
10528
|
-
const indexCss$5 = ".weui-tabbar{z-index:500;background-color:#f7f7fa;width:100%;display:-ms-flexbox;display:flex;position:absolute;bottom:0}.weui-tabbar:before{content:\" \";color:#c0bfc4;-webkit-transform-origin:0 0;transform-origin:0 0;border-top:1px solid #c0bfc4;height:1px;position:absolute;top:0;left:0;right:0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.weui-tabbar__item{padding:5px 0;padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom);color:#999;text-align:center;-webkit-tap-highlight-color:transparent;-ms-flex:1;flex:1;font-size:0;display:block}.weui-tabbar__item.weui-bar__item_on .weui-tabbar__icon,.weui-tabbar__item.weui-bar__item_on .weui-tabbar__icon>i,.weui-tabbar__item.weui-bar__item_on .weui-tabbar__label{color:#09bb07}.weui-tabbar__icon{width:27px;height:27px;display:inline-block}.weui-tabbar__icon img{width:100%;height:100%}i.weui-tabbar__icon,.weui-tabbar__icon>i{color:#999;font-size:24px}.weui-tabbar__label{text-align:center;color:#999;font-size:10px;line-height:1.8}.weui-badge{color:#fff;text-align:center;vertical-align:middle;background-color:#f43530;border-radius:18px;min-width:8px;padding:.15em .4em;font-size:12px;line-height:1.2;display:inline-block}.weui-badge_dot{min-width:0;padding:.4em}html,body{height:100%}:root{--taro-tabbar-height
|
|
10703
|
+
const indexCss$5 = ".weui-tabbar{z-index:500;background-color:#f7f7fa;-ms-flex-align:center;align-items:center;width:100%;display:-ms-flexbox;display:flex;position:absolute;bottom:0}.weui-tabbar:before{content:\" \";color:#c0bfc4;-webkit-transform-origin:0 0;transform-origin:0 0;border-top:1px solid #c0bfc4;height:1px;position:absolute;top:0;left:0;right:0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.weui-tabbar__item{padding:5px 0;padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom);color:#999;text-align:center;-webkit-tap-highlight-color:transparent;-ms-flex:1;flex:1;font-size:0;display:block}.weui-tabbar__item.weui-bar__item_on .weui-tabbar__icon,.weui-tabbar__item.weui-bar__item_on .weui-tabbar__icon>i,.weui-tabbar__item.weui-bar__item_on .weui-tabbar__label{color:#09bb07}.weui-tabbar__icon{width:27px;height:27px;display:inline-block}.weui-tabbar__icon img{width:100%;height:100%}i.weui-tabbar__icon,.weui-tabbar__icon>i{color:#999;font-size:24px}.weui-tabbar__label{text-align:center;color:#999;font-size:10px;line-height:1.8}.weui-badge{color:#fff;text-align:center;vertical-align:middle;background-color:#f43530;border-radius:18px;min-width:8px;padding:.15em .4em;font-size:12px;line-height:1.2;display:inline-block}.weui-badge_dot{min-width:0;padding:.4em}html,body{height:100%}:root{--taro-tabbar-height:50px}#app{height:100%}.taro-tabbar__border-white:before{border-top-color:#fff!important}.taro-tabbar__container{-ms-flex-direction:column;flex-direction:column;height:100%;display:-ms-flexbox;display:flex;overflow:hidden}.taro-tabbar__panel{-webkit-overflow-scrolling:auto;-ms-flex:1;flex:1;position:relative;overflow:auto}.taro-tabbar__tabbar{height:var(--taro-tabbar-height);width:100%;-webkit-transition:bottom .2s,top .2s;transition:bottom .2s,top .2s;position:relative}.taro-tabbar__tabbar-top{top:0}.taro-tabbar__tabbar-bottom{margin-bottom:constant(safe-area-inset-bottom);margin-bottom:env(safe-area-inset-bottom);bottom:0}.taro-tabbar__tabbar-hide{display:none}.taro-tabbar__tabbar-slideout{-ms-flex:0 0;flex:0 0;top:-52px}.taro-tabbar__panel+.taro-tabbar__tabbar-slideout{top:auto;bottom:-52px}";
|
|
10529
10704
|
|
|
10530
10705
|
const STATUS_SHOW = 0;
|
|
10531
10706
|
const STATUS_HIDE = 1;
|
|
@@ -11577,11 +11752,15 @@ class Video {
|
|
|
11577
11752
|
if (this.isFullScreen && !document[screenFn.fullscreenElement]) {
|
|
11578
11753
|
setTimeout(() => {
|
|
11579
11754
|
this.videoRef[screenFn.requestFullscreen]({ navigationUI: 'auto' });
|
|
11755
|
+
Taro__default['default'].eventCenter.trigger('__taroEnterFullScreen', {});
|
|
11580
11756
|
}, 0);
|
|
11581
11757
|
}
|
|
11582
|
-
else
|
|
11583
|
-
|
|
11584
|
-
|
|
11758
|
+
else {
|
|
11759
|
+
if (!fromBrowser) {
|
|
11760
|
+
// Note: 全屏后,"退出全屏"是浏览器按钮是浏览器内部按钮,非html按钮,点击"退出全屏"按钮是浏览器内部实现功能。此时再次调用exitFullscreen反而会报错,因此不再调用
|
|
11761
|
+
document[screenFn.exitFullscreen]();
|
|
11762
|
+
}
|
|
11763
|
+
Taro__default['default'].eventCenter.trigger('__taroExitFullScreen', {});
|
|
11585
11764
|
}
|
|
11586
11765
|
};
|
|
11587
11766
|
this.toggleMute = (e) => {
|
|
@@ -12202,10 +12381,12 @@ registerComponents([
|
|
|
12202
12381
|
CoverImage,
|
|
12203
12382
|
CoverView,
|
|
12204
12383
|
CustomWrapper,
|
|
12384
|
+
DraggableSheet,
|
|
12205
12385
|
Editor,
|
|
12206
12386
|
FollowSwan,
|
|
12207
12387
|
Form,
|
|
12208
12388
|
FunctionalPageNavigator,
|
|
12389
|
+
GridBuilder,
|
|
12209
12390
|
GridView,
|
|
12210
12391
|
Icon,
|
|
12211
12392
|
Image,
|
|
@@ -12215,6 +12396,7 @@ registerComponents([
|
|
|
12215
12396
|
Label,
|
|
12216
12397
|
Lifestyle,
|
|
12217
12398
|
Like,
|
|
12399
|
+
ListBuilder,
|
|
12218
12400
|
ListView,
|
|
12219
12401
|
LivePlayer,
|
|
12220
12402
|
LivePusher,
|
|
@@ -12227,7 +12409,10 @@ registerComponents([
|
|
|
12227
12409
|
NativeSlot,
|
|
12228
12410
|
NavigationBar,
|
|
12229
12411
|
Navigator,
|
|
12412
|
+
NestedScrollBody,
|
|
12413
|
+
NestedScrollHeader,
|
|
12230
12414
|
OfficialAccount,
|
|
12415
|
+
OpenContainer,
|
|
12231
12416
|
OpenData,
|
|
12232
12417
|
PageContainer,
|
|
12233
12418
|
PageMeta,
|
|
@@ -12247,6 +12432,7 @@ registerComponents([
|
|
|
12247
12432
|
Slider,
|
|
12248
12433
|
Slot,
|
|
12249
12434
|
Snapshot,
|
|
12435
|
+
Span,
|
|
12250
12436
|
StickyHeader,
|
|
12251
12437
|
StickySection,
|
|
12252
12438
|
Swiper,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(e,t,i,r){function n(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,o){function s(e){try{l(r.next(e))}catch(e){o(e)}}function a(e){try{l(r["throw"](e))}catch(e){o(e)}}function l(e){e.done?i(e.value):n(e.value).then(s,a)}l((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,n,o,s;return s={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function a(e){return function(t){return l([e,t])}}function l(a){if(r)throw new TypeError("Generator is already executing.");while(s&&(s=0,a[0]&&(i=0)),i)try{if(r=1,n&&(o=a[0]&2?n["return"]:a[0]?n["throw"]||((o=n["return"])&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;if(n=0,o)a=[a[0]&2,o.value];switch(a[0]){case 0:case 1:o=a;break;case 4:i.label++;return{value:a[1],done:false};case 5:i.label++;n=a[1];a=[0];continue;case 7:a=i.ops.pop();i.trys.pop();continue;default:if(!(o=i.trys,o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){i=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){i.label=a[1];break}if(a[0]===6&&i.label<o[1]){i.label=o[1];o=a;break}if(o&&i.label<o[2]){i.label=o[2];i.ops.push(a);break}if(o[2])i.ops.pop();i.trys.pop();continue}a=t.call(e,i)}catch(e){a=[6,e];n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t,i){if(i||arguments.length===2)for(var r=0,n=t.length,o;r<n;r++){if(o||!(r in t)){if(!o)o=Array.prototype.slice.call(t,0,r);o[r]=t[r]}}return e.concat(o||Array.prototype.slice.call(t))};System.register(["./p-2b70c348.system.js","@tarojs/taro","./p-2ec68968.system.js","./p-010faa87.system.js"],(function(e,t){"use strict";var i,r,n,o,s,a,l,u;return{setters:[function(e){i=e.r;r=e.h;n=e.H;o=e.g;s=e.c},function(e){a=e.default},function(e){l=e.c},function(e){u=e.t}],execute:function(){var c=function(e){if(!e)return"";var t=Math.round(e%60);var i=Math.round((e-t)/60);return"".concat(i<10?"0".concat(i):i,":").concat(t<10?"0".concat(t):t)};var d=function(e,t){return Math.sqrt(Math.pow(e,2)+Math.pow(t,2))};var h=function(e){return Math.max(-1,Math.min(e,1))};var g="default";var f=function(){var e;var t=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]];var i=["webkitEnterFullscreen","webkitExitFullscreen","webkitCurrentFullScreenElement","webkitSupportsFullscreen","fullscreenchange","fullscreenerror"];var r=0;var n=t.length;var o={};for(;r<n;r++){e=t[r];if(e&&e[1]in document){for(r=0;r<e.length;r++){o[t[0][r]]=e[r]}return o}}if(!o[t[0][0]]){g="iOS";for(r=0;r<i.length;r++){o[t[0][r]]=i[r]}}return o}();var p=function(e){return/\.(m3u8)($|\?)/i.test(e)};var A=e("taro_video_control",function(){function e(e){var t=this;i(this,e);this.visible=false;this.isDraggingProgressBall=false;this.percentage=0;this.progressDimensions={left:0,width:0};this.calcPercentage=function(e){var i=e-t.progressDimensions.left;i=Math.max(i,0);i=Math.min(i,t.progressDimensions.width);return i/t.progressDimensions.width};this.onDragProgressBallStart=function(){t.isDraggingProgressBall=true;t.hideControlsTimer&&clearTimeout(t.hideControlsTimer)};this.onClickProgress=function(e){e.stopPropagation();var i=t.calcPercentage(e.pageX);t.seekFunc(i*t.duration);t.toggleVisibility(true)};this.controls=undefined;this.currentTime=undefined;this.duration=undefined;this.isPlaying=undefined;this.pauseFunc=undefined;this.playFunc=undefined;this.seekFunc=undefined;this.showPlayBtn=undefined;this.showProgress=undefined}e.prototype.onDocumentTouchMove=function(e){if(!this.isDraggingProgressBall)return;var t=e.touches[0].pageX;this.percentage=this.calcPercentage(t);this.setProgressBall(this.percentage);this.setCurrentTime(this.percentage*this.duration)};e.prototype.onDocumentTouchEnd=function(){if(!this.isDraggingProgressBall)return;this.isDraggingProgressBall=false;this.seekFunc(this.percentage*this.duration);this.toggleVisibility(true)};e.prototype.setProgressBall=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(this.progressBallRef){this.progressBallRef.style.left="".concat(e*100,"%")}return[2]}))}))};e.prototype.toggleVisibility=function(e){return __awaiter(this,void 0,void 0,(function(){var t;var i=this;return __generator(this,(function(r){t=e===undefined?!this.visible:e;if(t){this.hideControlsTimer&&clearTimeout(this.hideControlsTimer);if(this.isPlaying){this.hideControlsTimer=setTimeout((function(){i.toggleVisibility(false)}),2e3)}this.el.style.visibility="visible"}else{this.el.style.visibility="hidden"}this.visible=!!t;return[2]}))}))};e.prototype.getIsDraggingProgressBall=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,this.isDraggingProgressBall]}))}))};e.prototype.setCurrentTime=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.currentTimeRef.innerHTML=c(e);return[2]}))}))};e.prototype.render=function(){var e=this;var t=this,i=t.controls,o=t.currentTime,s=t.duration,a=t.isPlaying,l=t.pauseFunc,u=t.playFunc,d=t.showPlayBtn,h=t.showProgress;var g=c(s);var f;if(!d){f=null}else if(a){f=r("div",{class:"taro-video-control-button taro-video-control-button-pause",onClick:l})}else{f=r("div",{class:"taro-video-control-button taro-video-control-button-play",onClick:u})}return r(n,{class:"taro-video-bar taro-video-bar-full"},i&&r("div",{class:"taro-video-controls"},f,h&&r("div",{class:"taro-video-current-time",ref:function(t){return e.currentTimeRef=t}},c(o)),h&&r("div",{class:"taro-video-progress-container",onClick:this.onClickProgress},r("div",{class:"taro-video-progress",ref:function(t){if(!t)return;var i=t.getBoundingClientRect();e.progressDimensions.left=i.left;e.progressDimensions.width=i.width}},r("div",{class:"taro-video-progress-buffered",style:{width:"100%"}}),r("div",{class:"taro-video-ball",ref:function(t){return e.progressBallRef=t},onTouchStart:this.onDragProgressBallStart,style:{left:"".concat(g?this.currentTime/s*100:0,"%")}},r("div",{class:"taro-video-inner"})))),h&&r("div",{class:"taro-video-duration"},g)),r("slot",null))};Object.defineProperty(e.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());var v='.taro-video{width:100%;height:225px;line-height:0;display:inline-block;position:relative;overflow:hidden}.taro-video[hidden]{display:none}.taro-video-container{-o-object-position:inherit;object-position:inherit;background-color:#000;width:100%;height:100%;display:inline-block;position:absolute;top:0;left:0}.taro-video-container.taro-video-type-fullscreen{z-index:999;position:fixed;inset:0}.taro-video-container.taro-video-type-fullscreen.taro-video-type-rotate-left{-webkit-transform:translate(-50%,-50%)rotate(-90deg);transform:translate(-50%,-50%)rotate(-90deg)}.taro-video-container.taro-video-type-fullscreen.taro-video-type-rotate-right{-webkit-transform:translate(-50%,-50%)rotate(90deg);transform:translate(-50%,-50%)rotate(90deg)}.taro-video-video{-o-object-position:inherit;object-position:inherit;width:100%;height:100%;display:block}.taro-video-cover{z-index:1;background-color:rgba(1,1,1,.5);-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;width:100%;display:-ms-flexbox;display:flex;position:absolute;top:0;bottom:0;left:0}.taro-video-cover-play-button{background-position:50%;background-repeat:no-repeat;background-size:50%;width:40px;height:40px}.taro-video-cover-duration{color:#fff;margin-top:10px;font-size:16px;line-height:1}.taro-video-bar{visibility:hidden;z-index:1;background-color:rgba(0,0,0,.5);-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:44px;padding:0 10px;display:-ms-flexbox;display:flex;position:absolute;bottom:0;right:0;overflow:hidden}.taro-video-bar.taro-video-bar-full{left:0}.taro-video-controls{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;margin:0 8.5px;display:-ms-flexbox;display:flex}.taro-video-control-button{-webkit-box-sizing:content-box;box-sizing:content-box;width:13px;height:15px;margin-left:-8.5px;padding:14.5px 12.5px}.taro-video-control-button:after{content:"";background-position:50%;background-repeat:no-repeat;background-size:100%;width:100%;height:100%;display:block}.taro-video-control-button.taro-video-control-button-play:after,.taro-video-cover-play-button{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAeCAYAAAAy2w7YAAAAAXNSR0IArs4c6QAAAWhJREFUSA1j+P///0cgBoHjQGzCQCsAtgJB/AMy5wCxGNXtQ9iBwvoA5BUCMQvVLEQxHpNzDSjkRhXLMM3GKrIeKKpEkYVYjcUu+AMo3ALE3GRZiN1MvKKPgbIRJFuG10j8koeA0gZEW4jfLIKyf4EqpgOxMEELCRpFnIJ3QGU5QMyM00LizCFa1SWgSkeslhFtBGkKVwGVy6FYSJp+klR/A6quB2JOkIWMIK0oNlOf8xBoZDE9LAI7nYn6HsBq4l96WHQEaLUpAyiOaASeAM2NgvuPBpaACt82IEYtfKls0UagecpwXyAzqGTRdaA57sjmYrAptAjUsCkGYlYMg9EFyLQI1IiZB8Ti6Obh5JNh0QmgHlOcBuKSIMGi50C18UDMiMssvOJEWPQLqKYbiHnxGkRIkoBF24DyaoTMIEoeh0W3geI+RBlArCI0iz4D+RVAzEasfqLVAQ19AcSg5LoYiKWI1kiiQgCMBLnEEcfDSgAAAABJRU5ErkJggg==)}.taro-video-control-button.taro-video-control-button-pause:after{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAgCAYAAAAffCjxAAAAAXNSR0IArs4c6QAAAFlJREFUSA3tksEKACAIQ7X//5zq98wOgQayum8QaGweHhMzG/6OujzKAymn+0LMqivu1XznWmX8/echTIyMyAgTwA72iIwwAexgj8gIE8CO3aMRbDPMaEy5BRGaKcZv8YxRAAAAAElFTkSuQmCC)}.taro-video-current-time,.taro-video-duration{color:#cbcbcb;height:14.5px;margin-top:15px;margin-bottom:14.5px;font-size:12px;line-height:14.5px}.taro-video-progress-container{-webkit-box-flex:2;-ms-flex-positive:2;flex-grow:2;position:relative}.taro-video-progress{background-color:rgba(255,255,255,.4);height:2px;margin:21px 12px;position:relative}.taro-video-progress-buffered{background-color:rgba(255,255,255,.8);width:0;height:100%;-webkit-transition:width .1s;transition:width .1s;position:absolute;top:0;left:0}.taro-video-ball{-webkit-box-sizing:content-box;box-sizing:content-box;width:16px;height:16px;margin-left:-22px;padding:14px;position:absolute;top:-21px;left:0}.taro-video-inner{background-color:#fff;border-radius:50%;width:100%;height:100%}.taro-video-danmu-button{color:#fff;white-space:nowrap;border:1px solid #fff;border-radius:5px;margin:0 8.5px;padding:2px 10px;font-size:13px;line-height:1}.taro-video-danmu-button.taro-video-danmu-button-active{color:#48c23d;border-color:#48c23d}.taro-video-fullscreen,.taro-video-mute{-webkit-box-sizing:content-box;box-sizing:content-box;background-position:50%;background-repeat:no-repeat;background-size:50%;width:17px;height:17px;padding:8.5px}.taro-video-fullscreen{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAhUlEQVRYR+2WSwrAMAhEnZO3PfmULLooGEFTiIXJ2s/kRY2wzQeb85sE9CRA8jSzY1YfAFzhJBnU1AVgxH2dSiArCnD9QgGzRNnOech48SRABHoSyFb5in3PSbhyo6yvCPQkEM3u7BsPe/0FIvBfAh/vhKmVbO9SWun1qk/PSVi9TcVPBG6R1YIhgWwNpQAAAABJRU5ErkJggg==)}.taro-video-fullscreen.taro-video-type-fullscreen{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAABPUlEQVRYR+2Xu0pDURBF1/ZLxNcHKNiIlfhA7C0UBSEE8RNEBNFPUEQEEbGxFiSSSrCwEHsf5E/ccsSUuWfUhKQ40947+y42Z8+ZK/pcinzf9hhwD1xJ2q/qsb0JHAOzkl5y+lGAGnCWICQtZgAS6DxQk3TeLYA6cAo0JSXxjmW7CcwBdUkJurKiDhSA4kBvHbA9CqwBQx2O7BSw8ssU3ALPFRF4knT3nQLbr8B4LjLBOdAAFgJaLUkjbYC9n+zm+i4kXWbmwCqwnRMCHiXthuZAQOzPrxSA4kBxYDAcsH0EzATCfCLpJjOINoCtgFZabg7bk7AFDAeaGpKWgitZTu5N0kQbYBmYrujo9mX0CVxL+gidAdu9vY5zXhWA4sAgOND3X7NJ4AHYCaxkB8B62gslvecSFpoDOZH/PP8Cnt7hIaM5xCEAAAAASUVORK5CYII=)}.taro-video-mute{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsTAAALEwEAmpwYAAAGAGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDAgNzkuMTYwNDUxLCAyMDE3LzA1LzA2LTAxOjA4OjIxICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoTWFjaW50b3NoKSIgeG1wOkNyZWF0ZURhdGU9IjIwMTktMDQtMTFUMTA6MTg6MjArMDg6MDAiIHhtcDpNb2RpZnlEYXRlPSIyMDE5LTA0LTExVDEwOjIyOjIyKzA4OjAwIiB4bXA6TWV0YWRhdGFEYXRlPSIyMDE5LTA0LTExVDEwOjIyOjIyKzA4OjAwIiBkYzpmb3JtYXQ9ImltYWdlL3BuZyIgcGhvdG9zaG9wOkNvbG9yTW9kZT0iMyIgcGhvdG9zaG9wOklDQ1Byb2ZpbGU9InNSR0IgSUVDNjE5NjYtMi4xIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjk3YmE4Yjg0LTFhNTYtNGM1MS04NDVkLTNiZmYyMGI0ZDc0ZiIgeG1wTU06RG9jdW1lbnRJRD0iYWRvYmU6ZG9jaWQ6cGhvdG9zaG9wOjg1NGQ3MjlkLWUwNjctZjU0OC1hMTlhLTBlZjQ4OGRkYjJiOSIgeG1wTU06T3JpZ2luYWxEb2N1bWVudElEPSJ4bXAuZGlkOjA1ODY3ZDFlLWQ3NGEtNDgyNC04MDU3LTYzYmRmMTdjODk5ZSI+IDx4bXBNTTpIaXN0b3J5PiA8cmRmOlNlcT4gPHJkZjpsaSBzdEV2dDphY3Rpb249ImNyZWF0ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6MDU4NjdkMWUtZDc0YS00ODI0LTgwNTctNjNiZGYxN2M4OTllIiBzdEV2dDp3aGVuPSIyMDE5LTA0LTExVDEwOjE4OjIwKzA4OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoTWFjaW50b3NoKSIvPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0ic2F2ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6OTdiYThiODQtMWE1Ni00YzUxLTg0NWQtM2JmZjIwYjRkNzRmIiBzdEV2dDp3aGVuPSIyMDE5LTA0LTExVDEwOjIyOjIyKzA4OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoTWFjaW50b3NoKSIgc3RFdnQ6Y2hhbmdlZD0iLyIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz459+FoAAABqElEQVRYhc2XPWsVQRSGnxPjF4oGRfxoRQKGWCU2Ft7CykrQWosEyf/If0hhIPgHDEmbNJZqCFxiQEgTUGxsBUVEHgvnyrjZZJO92V1fGIaZnTPvszPszNlQ6VIjnbr/DwCoDLMNak/dUVfUK0f2rQugnlcX/FevWgFQH6gf3autRgHUC+piiXHzAOmtPx9gXgug8itQx9SXwDpw47AGKXZWvXvQmNFCwE3gCXA2dY0Az4GrRzHONA9cU/vAbERsllEOyh31e8USV2mrMPdG9uyn+rDom2/BHHCm5puWKiKmgdtAnz+rvaxO5mNygEvHaZ5BfADuARvAaWBpP4DGFBHfgBngFzClTrUKkCDeA+9S837rAEnbqb7VFcCpVJ/oCmCw959aB1AfAROpudYqgDoOLKRmPyLelAF8bcD4pPoMeAtcB34AT4uDBqXXwFG8XXUU/72MIuK1OgE8Bs6l7mEvo8up7lN1Ge0n9aK6VHMFZvJTr9S3CiALaCQhqZOSvegMIAvu2UVSWpigLC1fbQ0gm6in7qpfLCQbhwGIYcyPQ53/G3YO8BtUtd35bvKcVwAAAABJRU5ErkJggg==)}.taro-video-mute.taro-video-type-mute{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACIAAAAgCAYAAAB3j6rJAAAACXBIWXMAAAsTAAALEwEAmpwYAAAGAGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDAgNzkuMTYwNDUxLCAyMDE3LzA1LzA2LTAxOjA4OjIxICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoTWFjaW50b3NoKSIgeG1wOkNyZWF0ZURhdGU9IjIwMTktMDQtMTFUMTA6MTk6MDMrMDg6MDAiIHhtcDpNb2RpZnlEYXRlPSIyMDE5LTA0LTExVDEwOjIyOjMzKzA4OjAwIiB4bXA6TWV0YWRhdGFEYXRlPSIyMDE5LTA0LTExVDEwOjIyOjMzKzA4OjAwIiBkYzpmb3JtYXQ9ImltYWdlL3BuZyIgcGhvdG9zaG9wOkNvbG9yTW9kZT0iMyIgcGhvdG9zaG9wOklDQ1Byb2ZpbGU9InNSR0IgSUVDNjE5NjYtMi4xIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjAzYjJmNjE2LTZmZTUtNDJjNC1iNTgwLTczNzZjZjI2NzdmNSIgeG1wTU06RG9jdW1lbnRJRD0iYWRvYmU6ZG9jaWQ6cGhvdG9zaG9wOjYzZjQ2NTYzLWE0ZjktOGQ0Mi1hM2FhLTY3ODJhNDBhYWNjMSIgeG1wTU06T3JpZ2luYWxEb2N1bWVudElEPSJ4bXAuZGlkOjIyYWNjMWFlLTg4ZmMtNDBlZi1iMWM1LTNmODgwY2QzYWI2MiI+IDx4bXBNTTpIaXN0b3J5PiA8cmRmOlNlcT4gPHJkZjpsaSBzdEV2dDphY3Rpb249ImNyZWF0ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6MjJhY2MxYWUtODhmYy00MGVmLWIxYzUtM2Y4ODBjZDNhYjYyIiBzdEV2dDp3aGVuPSIyMDE5LTA0LTExVDEwOjE5OjAzKzA4OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoTWFjaW50b3NoKSIvPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0ic2F2ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6MDNiMmY2MTYtNmZlNS00MmM0LWI1ODAtNzM3NmNmMjY3N2Y1IiBzdEV2dDp3aGVuPSIyMDE5LTA0LTExVDEwOjIyOjMzKzA4OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoTWFjaW50b3NoKSIgc3RFdnQ6Y2hhbmdlZD0iLyIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz5PmxYVAAACLklEQVRYhc2XP2sVQRRHz40hKoqaQgVBCy1EozFlGiVFxMLGh4piYWEh+hkEP4YKAVFEEFTyughaCH6DqIVpAhYWEgIxoJE8cywyi5tNHu/tJmvyg2WZO3dmzt47/zZUtoJ6Nhsg09YDiYhKDzACTAFNYH9lEpUq80TdrT5wpV5n/ZV9KoGoo+pXV2uyKkipOaLuUceAt8DhUvQd1FsCYhR4ChzaSIBMHSOi7lOfsByFWiCgEBH1GHAF2JlMPcBt4GC3HUYEaj9wF3gVEVPtfNVTwAXgWX7CDKq/1piAZTSZBmim8qJ6sQ3EgDqb/L7kU3MH2NHtl3dQX3r3Ak21UYAYAj4A/cl0JB+RF+uMRj4iQ+p8zt7KYFLdXKHuRi0gacBhV6a6pd5bA6KRNagFJPU9qv5u47toLmW1HnoR8Q5oAK1CVQu4FBHj/wUkaXsb+4pzpVaQFPqXrN7Be4Fx9VztIOr1BLEtmX4A94E/qdwHTKjDWYM6lu81dSlnn3V570BtuLxaMs2rZ/IgYxsBovaoPwsQA4VoFWEm8ql5DiysNyURsQTMpOIMcDYiPhd8xoGr/FtNC2G6FKXD6ihwGdiVHMoeeh8jYlA9ANwE3kTEp3bO6vE03qOONzR1r/q4RGrquaFFxFxE3ALOA9+6jExpdb180y55AhirhaRTatq0GXEzL8+ZIuI9cBJ4WKiartJf9nWV/mty7UfUafW7erpqRGI9EBuprffvu9n6C1KOmsqwI5A1AAAAAElFTkSuQmCC)}.taro-video-danmu{width:100%;margin-top:14px;margin-bottom:44px;font-size:14px;line-height:14px;position:absolute;top:0;bottom:0;left:0;overflow:visible}.taro-video-danmu-item{color:#fff;white-space:nowrap;line-height:1;-webkit-transition-property:left,-webkit-transform;transition-property:left,-webkit-transform;transition-property:left,transform;transition-property:left,transform,-webkit-transform;-webkit-transition-duration:3s;transition-duration:3s;-webkit-transition-timing-function:linear;transition-timing-function:linear;position:absolute;left:100%;-webkit-transform:translate(0);transform:translate(0)}.taro-video-toast{visibility:hidden;pointer-events:none;color:#000;background-color:rgba(255,255,255,.8);border-radius:5px;display:block;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.taro-video-toast.taro-video-toast-volume{width:100px;height:100px;display:block}.taro-video-toast-volume .taro-video-toast-title{text-align:center;width:100%;margin-top:10px;font-size:12px;line-height:16px;display:block}.taro-video-toast-volume .taro-video-toast-icon{fill:#000;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAFhklEQVR4Xu2aeaxfQxTHP1VBES0NIQitWtpaaxeCUkQtaYVa0tiClAq1ExIiQTVppaWxt8RWSa2tWkJQRGgtQaSIpUKEpG0ssbbk28yV2+mZO/e9e3vvu/e98897mZnfzPl+75mZs0wvurn06ub46SGgxwLqZaA3sB/wO/A+8G/V6tS5BU4BJgJbO9DvAMOB36okoQ4CNgAeBEYbQK8Bbm4zAdsBc4EdAyA/APZoKwHHAA8DG2UA/AnYrG0ErAVcD1yXA9gfQJ8c40obsqbPgH7AY8CROTVuFQFD3X7fJid4DWsNAWOAGZ0w58YTsDZwKzChA189PbTRBGwKzAYO6iT4srbAMHfTfAksjulS1iG4JzAH2Dy2YKS/qAVcCdzi1vgZOBZ4PWvNGAG6wgYCW0IwctzNmf06BcEXtYABwOeA4otEfgEOdnGGqV6IAAUopwM6zDYuAVjeKYpYwCjgCWOhH513+b2lhE+Avrj89NPyalzyuCIE6EN9BfQ1dHoPOAD40+9LE6D/5aoqSqtLsgiQC60DTiHzfGCFoaSsQAexZdlTgEuyCDgLuK8u5G7dEAHyKN8CBrtxLwDHAX8Z+l4N3GS0L3db4aN0X5opmc+2XZQAfb2LPd2eciG1lUSRJZ9qYHkZONwiYAjwSc3gs24BXWWWfzEVuMjQez13HljX8v7A28lvEgsInaBVcxLaAvr6sgJLtBWeNTrOB+4w2p8DRvoEnAPcXTVaY70QAbrbXwIONX7zBSAL/tvrk1+iviTllnRry2irr/QSEws4D7izCxMg1XQLLAQGGXpeCkw22kOWI49RMUujCJC+uwAfGtfcImAng4AtAMsBeg04pIkESOfbgQsMsNoGnxrtSrfv7rXrSlwXWN6kLZBgEBiB8iWUUZZPIN/AF1nMoiYSICDfAlt5iB4CxhpAzwXuMtqPBuY1lYB5wFEeqFeAwwyguvIUqvuiQO/xphJwP3Cmhyh0EKrOoGDIF7n+M5pKwEwXrqdBCaQSM77Ig7SSIicDs5pKwIvACA+pzFwZIF9OlKm36QyQV7jEqDDJk5VD58uFgGIGX1Se+6yJFqAKsqI6X84GdDb4Mh0Y5zUqjFYFakUTCXja5QLSmBQHbAL8ahAgT1AeYVreSKLLphGwF/CuAfLJQLldGSTFD75c5d4mNCoWyAqG9gYWGED1AOMKo12ZbiWA/idA++deY2DVTZ0Jh5UJPsFQtD/wDaAHGWl5EzgwaUi2gK4UXS11S0cTIjrMFBtYQdAk4DID0BnAAz4B6wNLgTKKG0VIDBHwqitwpOcW+OOB540FdeipNKbUWFrUtn06o5xOij4KyDuqU0IE3Obl/rLA63pTzm9XA8jKACjdniZAaSKFmUpB1yUhAlTsUEpMh913wEkuTe7rKTzPAHqO44vpKPkFhH3cWWBVV6ogJVYZUgz/tXtIYelzI3Ct0fExIGx6j7iKWBUUveyYBehv1RIjIEsfqziq8Xp4pSBJOYTVJFQcVY3wCFeKUjVGyYfQWB00+5bEVBECrNS+qsOKBpVHNCVWHs+LS7H5PV5pOu9v0+OKEOAXR39w1e1C7wM6AkJ1eLmkRcrpRQiQrqobXO5S3vL3/4kBKMsCknV0k+iasVLUMV3UX5SAPGtED8EOT+L9YENnCasUIXNO2goChFWHqAIRyxXN4qI1BCQg9dJESYq8LnbrCBAR8t50Lig6i0krCRBoVWhVlt45wkBrCRBuRZyPuAguxIPe9lXqhpd9DcZMXOvdkPF0Xu/8dohNUmZ/1QQkuitXr+d4fryuFx3jywQYm6suAqSX8vLTXKJDt4QqO6rtLYspXWZ/nQQkOJTAUJZGIav19q9MvKvN1RUIWKMAY5P3EBBjqO393d4C/gMVHwRQlpx21QAAAABJRU5ErkJggg==);background-position:50%;background-repeat:no-repeat;background-size:50%;width:50%;height:50%;margin-left:25%;display:block}.taro-video-toast-volume .taro-video-toast-value{width:80px;height:5px;margin-top:5px;margin-left:10px}.taro-video-toast-volume .taro-video-toast-value>.taro-video-toast-value-content{overflow:hidden}.taro-video-toast-volume-grids{width:80px;height:5px}.taro-video-toast-volume-grids-item{float:left;background-color:#000;width:7.1px;height:5px}.taro-video-toast-volume-grids-item:not(:first-child){margin-left:1px}.taro-video-toast.taro-video-toast-progress{color:#fff;background-color:rgba(0,0,0,.8);padding:6px;font-size:14px;line-height:18px}';var m=e("taro_video_core",function(){function e(e){var r=this;i(this,e);this.onPlay=s(this,"play",7);this.onPause=s(this,"pause",7);this.onEnded=s(this,"ended",7);this.onTimeUpdate=s(this,"timeupdate",7);this.onError=s(this,"error",7);this.onFullScreenChange=s(this,"fullscreenchange",7);this.onProgress=s(this,"progress",7);this.onLoadedMetaData=s(this,"loadedmetadata",7);this.currentTime=0;this.isDraggingProgress=false;this.gestureType="none";this.analyzeGesture=function(e){var t;var i={type:"none"};var n=e.touches[0].screenX;var o=e.touches[0].screenY;var s=n-r.lastTouchScreenX;var a=o-r.lastTouchScreenY;var l=r.isFullScreen?r.vslideGestureInFullscreen:r.vslideGesture;if(r.gestureType==="none"){var u=d(s,a);if(u<10)return i;if(Math.abs(a)>=Math.abs(s)){if(l){r.gestureType="adjustVolume";r.lastVolume=r.videoRef.volume}else{return i}}else if(Math.abs(a)<Math.abs(s)){if(r.enableProgressGesture){r.gestureType="adjustProgress";r.lastPercentage=r.currentTime/((t=r.duration)!==null&&t!==void 0?t:r._duration)}else{return i}}}i.type=r.gestureType;i.dataX=h(s/200);i.dataY=h(a/200);return i};this.loadNativePlayer=function(){var e,t;if(r.videoRef){r.videoRef.src=r.src;(t=(e=r.videoRef).load)===null||t===void 0?void 0:t.call(e)}};this.init=function(){var e=r,i=e.src,n=e.videoRef;if(p(i)){t.import("hls.js").then((function(e){var t=e.default;r.HLS=t;if(t.isSupported()){if(r.hls){r.hls.destroy()}r.hls=new t;r.hls.loadSource(i);r.hls.attachMedia(n);r.hls.on(t.Events.MANIFEST_PARSED,(function(){r.autoplay&&r.play()}));r.hls.on(t.Events.ERROR,(function(e,t){r.handleError(t)}))}else if(n.canPlayType("application/vnd.apple.mpegurl")){r.loadNativePlayer()}else{console.error("该浏览器不支持 HLS 播放")}}))}else{r.loadNativePlayer()}};this.handlePlay=function(){r.isPlaying=true;r.isFirst=false;r.controlsRef.toggleVisibility(true);r.onPlay.emit()};this.handlePause=function(){r.isPlaying=false;r.controlsRef.toggleVisibility(true);r.onPause.emit()};this.handleEnded=function(){r.isFirst=true;r.pause();r.controlsRef.toggleVisibility();r.onEnded.emit()};this.handleTimeUpdate=u((function(e){return __awaiter(r,void 0,void 0,(function(){var t,i,r,n;return __generator(this,(function(o){switch(o.label){case 0:this.currentTime=this.videoRef.currentTime;r=this.duration||this._duration;return[4,this.controlsRef.getIsDraggingProgressBall()];case 1:n=o.sent();if(this.controls&&this.showProgress){if(!n&&!this.isDraggingProgress){this.controlsRef.setProgressBall(this.currentTime/r);this.controlsRef.setCurrentTime(this.currentTime)}}this.danmuRef.tick(this.currentTime);this.onTimeUpdate.emit({duration:(t=e.target)===null||t===void 0?void 0:t.duration,currentTime:(i=e.target)===null||i===void 0?void 0:i.currentTime});if(this.duration){if(this.currentTime>=this.duration){this.seek(0);this.handleEnded()}}return[2]}}))}))}),250);this.handleError=function(e){var t,i;if(r.hls){switch(e.type){case r.HLS.ErrorTypes.NETWORK_ERROR:r.onError.emit({errMsg:e.response});r.hls.startLoad();break;case r.HLS.ErrorTypes.MEDIA_ERROR:r.onError.emit({errMsg:e.reason||"媒体错误,请重试"});r.hls.recoverMediaError();break}}else{r.onError.emit({errMsg:(i=(t=e.target)===null||t===void 0?void 0:t.error)===null||i===void 0?void 0:i.message})}};this.handleDurationChange=function(){r._duration=r.videoRef.duration};this.handleProgress=function(){r.onProgress.emit()};this.handleLoadedMetaData=function(e){var t=e.target;r.onLoadedMetaData.emit({width:t.videoWidth,height:t.videoHeight,duration:t.duration})};this._play=function(){return r.videoRef.play()};this._pause=function(){return r.videoRef.pause()};this._stop=function(){r.videoRef.pause();r._seek(0)};this._seek=function(e){r.videoRef.currentTime=e};this.onTouchStartContainer=function(e){r.lastTouchScreenX=e.touches[0].screenX;r.lastTouchScreenY=e.touches[0].screenY};this.onClickContainer=function(){if(r.enablePlayGesture){var e=Date.now();if(e-r.lastClickedTime<300){r.isPlaying?r.pause():r.play()}r.lastClickedTime=e}r.controlsRef.toggleVisibility()};this.onClickFullScreenBtn=function(e){e.stopPropagation();r.toggleFullScreen()};this.handleFullScreenChange=function(e){var t=(new Date).getTime();if(!e.detail&&r.isFullScreen&&!document[f.fullscreenElement]&&t-r.fullScreenTimestamp>100){r.toggleFullScreen(false,true)}};this.toggleFullScreen=function(e,t){if(e===void 0){e=!r.isFullScreen}if(t===void 0){t=false}r.isFullScreen=e;r.controlsRef.toggleVisibility(true);r.fullScreenTimestamp=(new Date).getTime();r.onFullScreenChange.emit({fullScreen:r.isFullScreen,direction:"vertical"});if(r.isFullScreen&&!document[f.fullscreenElement]){setTimeout((function(){r.videoRef[f.requestFullscreen]({navigationUI:"auto"});a.eventCenter.trigger("__taroEnterFullScreen",{})}),0)}else{if(!t){document[f.exitFullscreen]()}a.eventCenter.trigger("__taroExitFullScreen",{})}};this.toggleMute=function(e){e.stopPropagation();r.videoRef.muted=!r.isMute;r.controlsRef.toggleVisibility(true);r.isMute=!r.isMute};this.toggleDanmu=function(e){e.stopPropagation();r.controlsRef.toggleVisibility(true);r._enableDanmu=!r._enableDanmu};this.src=undefined;this.duration=undefined;this.controls=true;this.autoplay=false;this.loop=false;this.muted=false;this.initialTime=0;this.poster=undefined;this.objectFit="contain";this.showProgress=true;this.showFullscreenBtn=true;this.showPlayBtn=true;this.showCenterPlayBtn=true;this.showMuteBtn=false;this.danmuList=undefined;this.danmuBtn=false;this.enableDanmu=false;this.enablePlayGesture=false;this.enableProgressGesture=true;this.vslideGesture=false;this.vslideGestureInFullscreen=true;this.nativeProps={};this._duration=undefined;this._enableDanmu=false;this.isPlaying=false;this.isFirst=true;this.isFullScreen=false;this.fullScreenTimestamp=(new Date).getTime();this.isMute=false}e.prototype.componentWillLoad=function(){this._enableDanmu=this.enableDanmu};e.prototype.componentDidLoad=function(){var e,t;this.init();if(this.initialTime){this.videoRef.currentTime=this.initialTime}(t=(e=this.danmuRef).sendDanmu)===null||t===void 0?void 0:t.call(e,this.danmuList);if(document.addEventListener){document.addEventListener(f.fullscreenchange,this.handleFullScreenChange)}if(this.videoRef&&g==="iOS"){this.videoRef.addEventListener("webkitendfullscreen",this.handleFullScreenChange)}};e.prototype.componentDidRender=function(){};e.prototype.disconnectedCallback=function(){if(document.removeEventListener){document.removeEventListener(f.fullscreenchange,this.handleFullScreenChange)}if(this.videoRef&&g==="iOS"){this.videoRef.removeEventListener("webkitendfullscreen",this.handleFullScreenChange)}};e.prototype.watchEnableDanmu=function(e){this._enableDanmu=e};e.prototype.watchSrc=function(){this.init()};e.prototype.onDocumentTouchMove=function(e){return __awaiter(this,void 0,void 0,(function(){var t,i,r;return __generator(this,(function(n){switch(n.label){case 0:if(this.lastTouchScreenX===undefined||this.lastTouchScreenY===undefined)return[2];return[4,this.controlsRef.getIsDraggingProgressBall()];case 1:if(n.sent())return[2];t=this.analyzeGesture(e);if(t.type==="adjustVolume"){this.toastVolumeRef.style.visibility="visible";i=Math.max(Math.min(this.lastVolume-t.dataY,1),0);this.videoRef.volume=i;this.toastVolumeBarRef.style.width="".concat(i*100,"%")}else if(t.type==="adjustProgress"){this.isDraggingProgress=true;this.nextPercentage=Math.max(Math.min(this.lastPercentage+(t.dataX||0),1),0);if(this.controls&&this.showProgress){this.controlsRef.setProgressBall(this.nextPercentage);this.controlsRef.toggleVisibility(true)}r=this.duration||this._duration;this.toastProgressTitleRef.innerHTML="".concat(c(this.nextPercentage*r)," / ").concat(c(r));this.toastProgressRef.style.visibility="visible"}return[2]}}))}))};e.prototype.onDocumentTouchEnd=function(){var e;if(this.gestureType==="adjustVolume"){this.toastVolumeRef.style.visibility="hidden"}else if(this.gestureType==="adjustProgress"){this.toastProgressRef.style.visibility="hidden"}if(this.isDraggingProgress){this.isDraggingProgress=false;this.seek(this.nextPercentage*((e=this.duration)!==null&&e!==void 0?e:this._duration))}this.gestureType="none";this.lastTouchScreenX=undefined;this.lastTouchScreenY=undefined};e.prototype.getHlsObject=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,this.hls]}))}))};e.prototype.play=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this._play();return[2]}))}))};e.prototype.pause=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this._pause();return[2]}))}))};e.prototype.stop=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this._stop();return[2]}))}))};e.prototype.seek=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this._seek(e);return[2]}))}))};e.prototype.requestFullScreen=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.toggleFullScreen(true);return[2]}))}))};e.prototype.exitFullScreen=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.toggleFullScreen(false);return[2]}))}))};e.prototype.render=function(){var e=this;var t=this,i=t.controls,o=t.autoplay,s=t.loop,a=t.muted,u=t.poster,d=t.objectFit,h=t.isFirst,g=t.isMute,f=t.isFullScreen,p=t.showCenterPlayBtn,A=t.isPlaying,v=t._enableDanmu,m=t.showMuteBtn,b=t.danmuBtn,y=t.showFullscreenBtn,w=t.nativeProps;var E=this.duration||this._duration;var T=c(E);return r(n,{class:l("taro-video-container",{"taro-video-type-fullscreen":f}),onTouchStart:this.onTouchStartContainer,onClick:this.onClickContainer},r("video",Object.assign({class:"taro-video-video",style:{"object-fit":d},ref:function(t){if(t){e.videoRef=t}},autoplay:o,loop:s,muted:a,poster:i?u:undefined,playsinline:true,"webkit-playsinline":true,onPlay:this.handlePlay,onPause:this.handlePause,onEnded:this.handleEnded,onTimeUpdate:this.handleTimeUpdate,onError:this.handleError,onDurationChange:this.handleDurationChange,onProgress:this.handleProgress,onLoadedMetaData:this.handleLoadedMetaData},w),"暂时不支持播放该视频"),r("taro-video-danmu",{ref:function(t){if(t){e.danmuRef=t}},enable:v}),h&&p&&!A&&r("div",{class:"taro-video-cover"},r("div",{class:"taro-video-cover-play-button",onClick:function(){return e.play()}}),r("p",{class:"taro-video-cover-duration"},T)),r("taro-video-control",{ref:function(t){if(t){e.controlsRef=t}},controls:i,currentTime:this.currentTime,duration:E,isPlaying:this.isPlaying,pauseFunc:this._pause,playFunc:this._play,seekFunc:this._seek,showPlayBtn:this.showPlayBtn,showProgress:this.showProgress},m&&r("div",{class:l("taro-video-mute",{"taro-video-type-mute":g}),onClick:this.toggleMute}),b&&r("div",{class:l("taro-video-danmu-button",{"taro-video-danmu-button-active":v}),onClick:this.toggleDanmu},"弹幕"),y&&r("div",{class:l("taro-video-fullscreen",{"taro-video-type-fullscreen":f}),onClick:this.onClickFullScreenBtn})),r("div",{class:"taro-video-toast taro-video-toast-volume",ref:function(t){if(t){e.toastVolumeRef=t}}},r("div",{class:"taro-video-toast-title"},"音量"),r("div",{class:"taro-video-toast-icon"}),r("div",{class:"taro-video-toast-value"},r("div",{class:"taro-video-toast-value-content",ref:function(t){if(t){e.toastVolumeBarRef=t}}},r("div",{class:"taro-video-toast-volume-grids"},Array(10).fill(1).map((function(){return r("div",{class:"taro-video-toast-volume-grids-item"})})))))),r("div",{class:"taro-video-toast taro-video-toast-progress",ref:function(t){if(t){e.toastProgressRef=t}}},r("div",{class:"taro-video-toast-title",ref:function(t){if(t){e.toastProgressTitleRef=t}}})))};Object.defineProperty(e.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{enableDanmu:["watchEnableDanmu"],src:["watchSrc"]}},enumerable:false,configurable:true});return e}());m.style=v;var b=e("taro_video_danmu",function(){function e(e){i(this,e);this.list=[];this.danmuElList=[];this.currentTime=0;this.enable=false;this.danmuList=[]}e.prototype.ensureProperties=function(e){var t=Object.assign({},e);if(!("time"in e)){t.time=this.currentTime}t.key=Math.random();t.bottom="".concat(Math.random()*90+5,"%");return t};e.prototype.sendDanmu=function(e){if(e===void 0){e=[]}return __awaiter(this,void 0,void 0,(function(){var t;var i=this;return __generator(this,(function(r){if(Array.isArray(e)){this.list=__spreadArray(__spreadArray([],this.list,true),e.map((function(e){return i.ensureProperties(e)})),true)}else{t=e;this.list=__spreadArray(__spreadArray([],this.list,true),[Object.assign({},this.ensureProperties(t))],false)}return[2]}))}))};e.prototype.tick=function(e){return __awaiter(this,void 0,void 0,(function(){var t,i,r,n;return __generator(this,(function(o){this.currentTime=e;if(!this.enable)return[2];t=this.list;i=t.filter((function(t){var i=t.time;return e-i<4&&e>i}));r=false;n=this.danmuList;if(i.length!==n.length){r=true}else{r=i.some((function(e){var t=e.key;return n.every((function(e){return t!==e.key}))}))}if(r){this.danmuList=i}return[2]}))}))};e.prototype.componentDidUpdate=function(){var e=this;requestAnimationFrame((function(){setTimeout((function(){var t=e.danmuElList.splice(0);t.forEach((function(e){e.style.left="0";e.style.webkitTransform="translateX(-100%)";e.style.transform="translateX(-100%)"}))}))}))};e.prototype.render=function(){var e=this;if(!this.enable)return"";return r(n,{class:"taro-video-danmu"},this.danmuList.map((function(t){var i=t.text,n=t.color,o=t.bottom,s=t.key;return r("p",{class:"taro-video-danmu-item",key:s,style:{color:n,bottom:o},ref:function(t){if(t){e.danmuElList.push(t)}}},i)})))};return e}())}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as s,g as i,H as h,c as e}from"./p-dd7a128d.js";import{i as o}from"./p-5893c3ed.js";const a=class{constructor(s){t(this,s),this.views=[],this.scaleLength=0,this.viewsChanged=()=>{this.views=[];const t=this.element.querySelectorAll("taro-movable-view-core");Array.from(t).forEach((t=>{this.views.push(t)})),this.updateArea()},this.handleTouchStart=t=>{const s=t.touches;if(!s||s.length<=1)return;const i=s[1].pageX-s[0].pageX,h=s[1].pageY-s[0].pageY;if(this.scaleLength=Math.sqrt(i*i+h*h),this.scaleArea)return;const e=(t,s)=>{const i=(t,s)=>!!(t=t.parentNode)&&(!o(t)||t!==document.body)&&(t===s||t===s.element||t.element===s||i(t,s));for(let h=0;h<s.length;h++){const e=s[h];if(t===e.element||i(t,e))return e}},a=e(s[0].target,this.views),n=e(s[1].target,this.views);this.scaleTarget=a&&a===n?a:void 0},this.handleTouchMove=t=>{const s=t.touches;if(!s||s.length<=1)return;t.preventDefault();const i=s[1].pageX-s[0].pageX,h=s[1].pageY-s[0].pageY;this.scaleLength>0&&this.updateScale(Math.sqrt(i*i+h*h)/this.scaleLength)},this.handleTouchEnd=t=>{var s,i;t.touches&&t.touches.length||!t.changedTouches||(this.scaleLength=0,this.scaleArea?this.views.forEach((t=>{var s;null===(s=t.endScale)||void 0===s||s.call(t)})):null===(i=null===(s=this.scaleTarget)||void 0===s?void 0:s.endScale)||void 0===i||i.call(s),this.scaleTarget=void 0)},this.updateScale=t=>{var s,i;t&&1!==t&&(this.scaleArea?this.views.forEach((s=>{var i;null===(i=s.setScale)||void 0===i||i.call(s,t)})):null===(i=null===(s=this.scaleTarget)||void 0===s?void 0:s.setScale)||void 0===i||i.call(s,t))},this.updateArea=()=>{const t=window.getComputedStyle(this.element),s=this.element.getBoundingClientRect(),i=["Left","Right"].map((s=>parseFloat(t["border"+s+"Width"])+parseFloat(t["padding"+s]))),h=["Top","Bottom"].map((s=>parseFloat(t["border"+s+"Width"])+parseFloat(t["padding"+s])));this.views.forEach((t=>{var e;null===(e=t.setParent)||void 0===e||e.call(t,{element:this.element,area:{height:s.height-h[0]-h[1],width:s.width-i[0]-i[1]}})}))},this.scaleArea=void 0}connectedCallback(){this.observer=new MutationObserver((t=>{t.forEach((t=>{var s,i;if("class"===t.attributeName||"style"===t.attributeName){const t=this.element.offsetWidth,h=this.element.offsetHeight;t===(null===(s=this.offset)||void 0===s?void 0:s.width)&&h===(null===(i=this.offset)||void 0===i?void 0:i.height)||this.updateArea(),this.offset={width:t,height:h}}}))})),this.observer.observe(this.element,{attributes:!0})}disconnectedCallback(){var t;null===(t=this.observer)||void 0===t||t.disconnect()}componentDidLoad(){this.viewsChanged()}render(){return s(h,{onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove,onTouchEnd:this.handleTouchEnd})}get element(){return i(this)}};a.style="taro-movable-area-core{width:10px;height:10px;display:block;position:relative}";const n=class{constructor(s){t(this,s),this.onChange=e(this,"change",7),this.onScale=e(this,"scale",7),this.onHTouchMove=e(this,"htouchmove",7),this.onVTouchMove=e(this,"vtouchmove",7),this.translateX=0,this.translateY=0,this.origin={x:0,y:0},this.area={width:0,height:0},this.originScale=1,this.currentScale=1,this.width=0,this.height=0,this.minX=0,this.minY=0,this.maxX=0,this.maxY=0,this.baseX=0,this.baseY=0,this.offset={x:0,y:0},this.scaleOffset={x:0,y:0},this.getLimitXY=(t,s)=>{let i=!1;return t>this.maxX?(t=this.maxX,i=!0):t<this.minX&&(t=this.minX,i=!0),s>this.maxY?(s=this.maxY,i=!0):s<this.minY&&(s=this.minY,i=!0),{x:t,y:s,outOfBounds:i}},this.animationTo=(t,s,i,h,e,o,a)=>{this.animation?(this.setTransform(t,s,i,h,e,o),null==a||a()):this.setTransform(t,s,i,h,e,o)},this.setTransform=(t,s,i,h,e,o)=>{if(t=Number(t.toFixed(1)),s=Number(s.toFixed(1)),i=Number((null!=i?i:this.currentScale).toFixed(3)),!this.outOfBounds){const i=this.getLimitXY(t,s);t=i.x,s=i.y}const a=(t,s)=>+((1e3*t-1e3*s)/1e3).toFixed(1),n=a(t,this.scaleOffset.x),r=a(s,this.scaleOffset.y);this.translateX===t&&this.translateY===s||!e&&this.onChange.emit({x:n,y:r,source:h}),i!==this.currentScale&&o&&this.onScale.emit({scale:i,x:n,y:r});const c=`translateX(${t}px) translateY(${s}px) translateZ(0px) scale(${i})`;this.element.style.transform=c,this.element.style.webkitTransform=c,this.translateX=t,this.translateY=s,this.currentScale=i},this.updateOffset=()=>{const t=(s,i)=>{if(s===i||!s.offsetParent)return{left:0,top:0};const h=t(s.offsetParent,i);return{left:s.offsetLeft+h.left,top:s.offsetTop+h.top}};if(!this.parent)return;const s=t(this.element,this.parent);this.offset.x=s.left,this.offset.y=s.top},this.updateScaleOffset=(t=this.currentScale)=>{const s=this.element.getBoundingClientRect();this.height=s.height/this.currentScale,this.width=s.width/this.currentScale,this.scaleOffset.x=(this.width*t-this.width)/2,this.scaleOffset.y=(this.height*t-this.height)/2},this.updateBoundary=()=>{const t=0-this.offset.x+this.scaleOffset.x,s=this.area.width-this.width-this.offset.x-this.scaleOffset.x;this.minX=Math.min(t,s),this.maxX=Math.max(t,s);const i=0-this.offset.y+this.scaleOffset.y,h=this.area.height-this.height-this.offset.y-this.scaleOffset.y;this.minY=Math.min(i,h),this.maxY=Math.max(i,h)},this.updateScale=(t,s,i)=>{if(!this.scale)return;const h=this.adjustScale(t);this.updateScaleOffset(h),this.updateBoundary();const{x:e,y:o}=this.getLimitXY(this.translateX,this.translateY);s?this.animationTo(e,o,h,"",!0,!0,i):this.updating||(this.updating=!0,requestAnimationFrame((()=>{this.setTransform(e,o,h,"",!0,!0),this.updating=!1})))},this.setOriginScale=t=>{this.originScale=t},this.adjustScale=t=>Math.min(10,this.scaleMax,Math.max(.5,this.scaleMin,t)),this.handleTouchStart=t=>{const s=t.touches;if(this.disabled||s.length>1||!this.element)return;const i=s[0];this.touching=!0,this.firstMoveFireEvent=!1,this.origin.x=i.screenX,this.origin.y=i.screenY,this.baseX=this.translateX,this.baseY=this.translateY,this.element.style.willChange="transform"},this.handleTouchMove=t=>{const s=t.touches;if(this.disabled||!this.element||this.scaling||!this.touching||s.length>1)return;t.preventDefault();const i=s[0],h=i.screenX-this.origin.x,e=i.screenY-this.origin.y;this.setTransform(this.xMove?h+this.baseX:0,this.yMove?e+this.baseY:0),this.firstMoveFireEvent||(this.firstMoveFireEvent=!0,(Math.abs(h)>Math.abs(e)?this.onHTouchMove:this.onVTouchMove).emit({originalEvent:t,bubbles:!1,capturePhase:!1,composed:!0,extraFields:{touches:t.touches||{},changedTouches:t.changedTouches||{}}}))},this.handleTouchEnd=t=>{const s=t.changedTouches[0];!this.disabled&&this.touching&&s&&(this.touching=!1,this.setTransform(this.xMove?s.screenX-this.origin.x+this.baseX:0,this.yMove?s.screenY-this.origin.y+this.baseY:0))},this.x=0,this.y=0,this.direction="none",this.outOfBounds=!1,this.inertia=!1,this.friction=2,this.damping=20,this.disabled=!1,this.scale=!1,this.scaleMin=.5,this.scaleMax=10,this.scaleValue=1,this.animation=!0}watchX(t){this.setTransform(parseFloat(`${t||0}`),this.translateY)}watchY(t){this.setTransform(this.translateX,parseFloat(`${t||0}`))}watchScaleMinOrMax(){if(!this.scale)return!1;this.updateScale(this.currentScale,!0),this.setOriginScale(this.currentScale)}watchScaleValue(t){return!!this.scale&&(this.updateScale(t,!0),this.setOriginScale(t),t)}async setParent({element:t,area:s}){const i=this.scale?this.scaleValue:1;this.area=s,this.parent=t,this.updateOffset(),this.updateScaleOffset(i),this.updateBoundary(),this.setTransform(Number(this.x)+this.scaleOffset.x,Number(this.y)+this.scaleOffset.y,i,"",!0),this.setOriginScale(i)}async endScale(){this.scaling=!1,this.setOriginScale(this.currentScale)}async setScale(t){this.scale&&(this.scaling=!0,this.updateScale(t*this.originScale))}connectedCallback(){this.observer=new MutationObserver((t=>{t.forEach((t=>{const s=t.attributeName;if(s&&["class","style"].includes(s)){const i=t.oldValue,h=t.target.getAttribute(s);if(i===h)return;const e=t=>null==t?void 0:t.split(";").filter((t=>!["transform","will-change"].find((s=>t.trim().startsWith(s))))).join(";");if("style"===s&&e(h)===e(i))return;this.updateOffset(),this.updateScaleOffset(),this.updateBoundary(),this.setTransform(this.translateX,this.translateY)}}))})),this.observer.observe(this.element,{attributes:!0,attributeOldValue:!0})}disconnectedCallback(){var t;null===(t=this.observer)||void 0===t||t.disconnect()}componentDidLoad(){if(this.element.style.transformOrigin="center",this.xMove=["horizontal","all"].includes(this.direction),this.yMove=["vertical","all"].includes(this.direction),this.friction<=0&&(this.friction=2),this.x||this.y){const t=parseFloat(`${this.x||0}`),s=parseFloat(`${this.y||0}`);this.setTransform(t,s)}}render(){return s(h,{onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove,onTouchEnd:this.handleTouchEnd})}get element(){return i(this)}static get watchers(){return{x:["watchX"],y:["watchY"],scaleMin:["watchScaleMinOrMax"],scaleMax:["watchScaleMinOrMax"],scaleValue:["watchScaleValue"]}}};n.style="taro-movable-view-core{width:10px;height:10px;display:inline-block;position:absolute;top:0;left:0}";export{a as taro_movable_area_core,n as taro_movable_view_core}
|
|
1
|
+
import{r as t,h as s,g as i,H as h,c as e}from"./p-dd7a128d.js";import{i as o}from"./p-5893c3ed.js";const a=class{constructor(s){t(this,s),this.views=[],this.scaleLength=0,this.viewsChanged=()=>{this.views=[];const t=this.element.querySelectorAll("taro-movable-view-core");Array.from(t).forEach((t=>{this.views.push(t)})),this.updateArea()},this.handleTouchStart=t=>{const s=t.touches;if(!s||s.length<=1)return;const i=s[1].pageX-s[0].pageX,h=s[1].pageY-s[0].pageY;if(this.scaleLength=Math.sqrt(i*i+h*h),this.scaleArea)return;const e=(t,s)=>{const i=(t,s)=>!!(t=t.parentNode)&&(!o(t)||t!==document.body)&&(t===s||t===s.element||t.element===s||i(t,s));for(let h=0;h<s.length;h++){const e=s[h];if(t===e.element||i(t,e))return e}},a=e(s[0].target,this.views),n=e(s[1].target,this.views);this.scaleTarget=a&&a===n?a:void 0},this.handleTouchMove=t=>{const s=t.touches;if(!s||s.length<=1)return;t.preventDefault();const i=s[1].pageX-s[0].pageX,h=s[1].pageY-s[0].pageY;this.scaleLength>0&&this.updateScale(Math.sqrt(i*i+h*h)/this.scaleLength)},this.handleTouchEnd=t=>{var s,i;t.touches&&t.touches.length||!t.changedTouches||(this.scaleLength=0,this.scaleArea?this.views.forEach((t=>{var s;null===(s=t.endScale)||void 0===s||s.call(t)})):null===(i=null===(s=this.scaleTarget)||void 0===s?void 0:s.endScale)||void 0===i||i.call(s),this.scaleTarget=void 0)},this.updateScale=t=>{var s,i;t&&1!==t&&(this.scaleArea?this.views.forEach((s=>{var i;null===(i=s.setScale)||void 0===i||i.call(s,t)})):null===(i=null===(s=this.scaleTarget)||void 0===s?void 0:s.setScale)||void 0===i||i.call(s,t))},this.updateArea=()=>{const t=window.getComputedStyle(this.element),s=this.element.getBoundingClientRect(),i=["Left","Right"].map((s=>parseFloat(t["border"+s+"Width"])+parseFloat(t["padding"+s]))),h=["Top","Bottom"].map((s=>parseFloat(t["border"+s+"Width"])+parseFloat(t["padding"+s])));this.views.forEach((t=>{var e;null===(e=t.setParent)||void 0===e||e.call(t,{element:this.element,area:{height:s.height-h[0]-h[1],width:s.width-i[0]-i[1]}})}))},this.scaleArea=void 0}connectedCallback(){this.observer=new MutationObserver((t=>{t.forEach((t=>{var s,i;if("class"===t.attributeName||"style"===t.attributeName){const t=this.element.offsetWidth,h=this.element.offsetHeight;t===(null===(s=this.offset)||void 0===s?void 0:s.width)&&h===(null===(i=this.offset)||void 0===i?void 0:i.height)||this.updateArea(),this.offset={width:t,height:h}}}))})),this.observer.observe(this.element,{attributes:!0})}disconnectedCallback(){var t;null===(t=this.observer)||void 0===t||t.disconnect()}componentDidLoad(){this.viewsChanged()}render(){return s(h,{onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove,onTouchEnd:this.handleTouchEnd})}get element(){return i(this)}};a.style="taro-movable-area-core{width:10px;height:10px;display:block;position:relative}";const n=class{constructor(s){t(this,s),this.onChange=e(this,"change",7),this.onScale=e(this,"scale",7),this.onHTouchMove=e(this,"htouchmove",7),this.onVTouchMove=e(this,"vtouchmove",7),this.translateX=0,this.translateY=0,this.origin={x:0,y:0},this.area={width:0,height:0},this.originScale=1,this.currentScale=1,this.width=0,this.height=0,this.minX=0,this.minY=0,this.maxX=0,this.maxY=0,this.baseX=0,this.baseY=0,this.offset={x:0,y:0},this.scaleOffset={x:0,y:0},this.getLimitXY=(t,s)=>{let i=!1;return t>this.maxX?(t=this.maxX,i=!0):t<this.minX&&(t=this.minX,i=!0),s>this.maxY?(s=this.maxY,i=!0):s<this.minY&&(s=this.minY,i=!0),{x:t,y:s,outOfBounds:i}},this.animationTo=(t,s,i,h,e,o,a)=>{this.animation?(this.setTransform(t,s,i,h,e,o),null==a||a()):this.setTransform(t,s,i,h,e,o)},this.setTransform=(t,s,i,h,e,o)=>{if(t=Number(t.toFixed(1)),s=Number(s.toFixed(1)),i=Number((null!=i?i:this.currentScale).toFixed(3)),!this.outOfBounds){const i=this.getLimitXY(t,s);t=i.x,s=i.y}const a=(t,s)=>+((1e3*t-1e3*s)/1e3).toFixed(1),n=a(t,this.scaleOffset.x),r=a(s,this.scaleOffset.y);this.translateX===t&&this.translateY===s||!e&&this.onChange.emit({x:n,y:r,source:h}),i!==this.currentScale&&o&&this.onScale.emit({scale:i,x:n,y:r});const c=`translateX(${t}px) translateY(${s}px) translateZ(0px) scale(${i})`;this.element.style.transform=c,this.element.style.webkitTransform=c,this.translateX=t,this.translateY=s,this.currentScale=i},this.updateOffset=()=>{const t=(s,i)=>{if(s===i||!s.offsetParent)return{left:0,top:0};const h=t(s.offsetParent,i);return{left:s.offsetLeft+h.left,top:s.offsetTop+h.top}};if(!this.parent)return;const s=t(this.element,this.parent);this.offset.x=s.left,this.offset.y=s.top},this.updateScaleOffset=(t=this.currentScale)=>{const s=this.element.getBoundingClientRect();this.height=s.height/this.currentScale,this.width=s.width/this.currentScale,this.scaleOffset.x=(this.width*t-this.width)/2,this.scaleOffset.y=(this.height*t-this.height)/2},this.updateBoundary=()=>{const t=0-this.offset.x+this.scaleOffset.x,s=this.area.width-this.width-this.offset.x-this.scaleOffset.x;this.minX=Math.min(t,s),this.maxX=Math.max(t,s);const i=0-this.offset.y+this.scaleOffset.y,h=this.area.height-this.height-this.offset.y-this.scaleOffset.y;this.minY=Math.min(i,h),this.maxY=Math.max(i,h)},this.updateScale=(t,s,i)=>{if(!this.scale)return;const h=this.adjustScale(t);this.updateScaleOffset(h),this.updateBoundary();const{x:e,y:o}=this.getLimitXY(this.translateX,this.translateY);s?this.animationTo(e,o,h,"",!0,!0,i):this.updating||(this.updating=!0,requestAnimationFrame((()=>{this.setTransform(e,o,h,"",!0,!0),this.updating=!1})))},this.setOriginScale=t=>{this.originScale=t},this.adjustScale=t=>Math.min(10,this.scaleMax,Math.max(.5,this.scaleMin,t)),this.handleTouchStart=t=>{const s=t.touches;if(this.disabled||s.length>1||!this.element)return;const i=s[0];this.touching=!0,this.firstMoveFireEvent=!1,this.origin.x=i.screenX,this.origin.y=i.screenY,this.baseX=this.translateX,this.baseY=this.translateY,this.element.style.willChange="transform"},this.handleTouchMove=t=>{const s=t.touches;if(this.disabled||!this.element||this.scaling||!this.touching||s.length>1)return;"horizontal"!==this.direction&&t.preventDefault();const i=s[0],h=i.screenX-this.origin.x,e=i.screenY-this.origin.y;this.setTransform(this.xMove?h+this.baseX:0,this.yMove?e+this.baseY:0),this.firstMoveFireEvent||(this.firstMoveFireEvent=!0,(Math.abs(h)>Math.abs(e)?this.onHTouchMove:this.onVTouchMove).emit({originalEvent:t,bubbles:!1,capturePhase:!1,composed:!0,extraFields:{touches:t.touches||{},changedTouches:t.changedTouches||{}}}))},this.handleTouchEnd=t=>{const s=t.changedTouches[0];!this.disabled&&this.touching&&s&&(this.touching=!1,this.setTransform(this.xMove?s.screenX-this.origin.x+this.baseX:0,this.yMove?s.screenY-this.origin.y+this.baseY:0))},this.x=0,this.y=0,this.direction="none",this.outOfBounds=!1,this.inertia=!1,this.friction=2,this.damping=20,this.disabled=!1,this.scale=!1,this.scaleMin=.5,this.scaleMax=10,this.scaleValue=1,this.animation=!0}watchX(t){this.setTransform(parseFloat(`${t||0}`),this.translateY)}watchY(t){this.setTransform(this.translateX,parseFloat(`${t||0}`))}watchScaleMinOrMax(){if(!this.scale)return!1;this.updateScale(this.currentScale,!0),this.setOriginScale(this.currentScale)}watchScaleValue(t){return!!this.scale&&(this.updateScale(t,!0),this.setOriginScale(t),t)}async setParent({element:t,area:s}){const i=this.scale?this.scaleValue:1;this.area=s,this.parent=t,this.updateOffset(),this.updateScaleOffset(i),this.updateBoundary(),this.setTransform(Number(this.x)+this.scaleOffset.x,Number(this.y)+this.scaleOffset.y,i,"",!0),this.setOriginScale(i)}async endScale(){this.scaling=!1,this.setOriginScale(this.currentScale)}async setScale(t){this.scale&&(this.scaling=!0,this.updateScale(t*this.originScale))}connectedCallback(){this.observer=new MutationObserver((t=>{t.forEach((t=>{const s=t.attributeName;if(s&&["class","style"].includes(s)){const i=t.oldValue,h=t.target.getAttribute(s);if(i===h)return;const e=t=>null==t?void 0:t.split(";").filter((t=>!["transform","will-change"].find((s=>t.trim().startsWith(s))))).join(";");if("style"===s&&e(h)===e(i))return;this.updateOffset(),this.updateScaleOffset(),this.updateBoundary(),this.setTransform(this.translateX,this.translateY)}}))})),this.observer.observe(this.element,{attributes:!0,attributeOldValue:!0})}disconnectedCallback(){var t;null===(t=this.observer)||void 0===t||t.disconnect()}componentDidLoad(){if(this.element.style.transformOrigin="center",this.xMove=["horizontal","all"].includes(this.direction),this.yMove=["vertical","all"].includes(this.direction),this.friction<=0&&(this.friction=2),this.x||this.y){const t=parseFloat(`${this.x||0}`),s=parseFloat(`${this.y||0}`);this.setTransform(t,s)}}render(){return s(h,{onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove,onTouchEnd:this.handleTouchEnd})}get element(){return i(this)}static get watchers(){return{x:["watchX"],y:["watchY"],scaleMin:["watchScaleMinOrMax"],scaleMax:["watchScaleMinOrMax"],scaleValue:["watchScaleValue"]}}};n.style="taro-movable-view-core{width:10px;height:10px;display:inline-block;position:absolute;top:0;left:0}";export{a as taro_movable_area_core,n as taro_movable_view_core}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["./p-2b70c348.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var n,r,e,o;return{setters:[function(t){n=t.r;r=t.h;e=t.H},function(t){o=t.n},function(){}],execute:function(){var c=t("taro_span_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){o("Span",this)};t.prototype.render=function(){return r(e,null)};return t}())}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["./p-2b70c348.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var n,r,e,o;return{setters:[function(t){n=t.r;r=t.h;e=t.H},function(t){o=t.n},function(){}],execute:function(){var i=t("taro_grid_builder_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){o("GridBuilder",this)};t.prototype.render=function(){return r(e,null)};return t}())}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var __spreadArray=this&&this.__spreadArray||function(e,t,a){if(a||arguments.length===2)for(var r=0,o=t.length,n;r<o;r++){if(n||!(r in t)){if(!n)n=Array.prototype.slice.call(t,0,r);n[r]=t[r]}}return e.concat(n||Array.prototype.slice.call(t))};System.register(["./p-2b70c348.system.js","@tarojs/runtime","@tarojs/taro","./p-2ec68968.system.js","resolve-pathname","./p-010faa87.system.js"],(function(e){"use strict";var t,a,r,o,n,i,s,l,b,d,c,h,u;return{setters:[function(e){t=e.h;a=e.r;r=e.c;o=e.H;n=e.g},function(e){i=e.stripSuffix;s=e.stripBasename;l=e.addLeadingSlash;b=e.getCurrentPage},function(e){d=e.default},function(e){c=e.c},function(e){h=e.default},function(e){u=e.a}],execute:function(){var f=function(e){var t=e||"";var a;var r={path:null,query:null,fragment:null};a=t.indexOf("#");if(a>-1){r.fragment=t.substring(a+1);t=t.substring(0,a)}a=t.indexOf("?");if(a>-1){r.query=t.substring(a+1);t=t.substring(0,a)}r.path=t;return r};var g=function(e){var a=e.index,r=e.isSelected,o=r===void 0?false:r,n=e.textColor,i=e.iconPath,s=e.badgeText,l=e.showRedDot,b=l===void 0?false:l,h=e.pagePath,f=e.text,g=e.onSelect;var v=c("weui-tabbar__item",{"weui-bar__item_on":o});var p={position:"absolute",top:"-2px",right:"-13px"};var _={position:"absolute",top:"0",right:"-6px"};function m(){var e=d.getCurrentPages().shift();if(typeof(e===null||e===void 0?void 0:e.onTabItemTap)==="function"&&u(this)){e.onTabItemTap({index:a,pagePath:h,text:f})}g(a)}return t("a",{key:a,href:"javascript:;",class:v,onClick:m},t("span",{style:{display:"inline-block",position:"relative"}},t("img",{src:i,alt:"",class:"weui-tabbar__icon"}),!!s&&t("span",{class:"weui-badge taro-tabbar-badge",style:p},s),b&&t("span",{class:"weui-badge weui-badge_dot",style:_})),t("p",{class:"weui-tabbar__label",style:{color:n}},f))};var v='.weui-tabbar{z-index:500;background-color:#f7f7fa;-ms-flex-align:center;align-items:center;width:100%;display:-ms-flexbox;display:flex;position:absolute;bottom:0}.weui-tabbar:before{content:" ";color:#c0bfc4;-webkit-transform-origin:0 0;transform-origin:0 0;border-top:1px solid #c0bfc4;height:1px;position:absolute;top:0;left:0;right:0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.weui-tabbar__item{padding:5px 0;padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom);color:#999;text-align:center;-webkit-tap-highlight-color:transparent;-ms-flex:1;flex:1;font-size:0;display:block}.weui-tabbar__item.weui-bar__item_on .weui-tabbar__icon,.weui-tabbar__item.weui-bar__item_on .weui-tabbar__icon>i,.weui-tabbar__item.weui-bar__item_on .weui-tabbar__label{color:#09bb07}.weui-tabbar__icon{width:27px;height:27px;display:inline-block}.weui-tabbar__icon img{width:100%;height:100%}i.weui-tabbar__icon,.weui-tabbar__icon>i{color:#999;font-size:24px}.weui-tabbar__label{text-align:center;color:#999;font-size:10px;line-height:1.8}.weui-badge{color:#fff;text-align:center;vertical-align:middle;background-color:#f43530;border-radius:18px;min-width:8px;padding:.15em .4em;font-size:12px;line-height:1.2;display:inline-block}.weui-badge_dot{min-width:0;padding:.4em}html,body{height:100%}:root{--taro-tabbar-height:50px}#app{height:100%}.taro-tabbar__border-white:before{border-top-color:#fff!important}.taro-tabbar__container{-ms-flex-direction:column;flex-direction:column;height:100%;display:-ms-flexbox;display:flex;overflow:hidden}.taro-tabbar__panel{-webkit-overflow-scrolling:auto;-ms-flex:1;flex:1;position:relative;overflow:auto}.taro-tabbar__tabbar{height:var(--taro-tabbar-height);width:100%;-webkit-transition:bottom .2s,top .2s;transition:bottom .2s,top .2s;position:relative}.taro-tabbar__tabbar-top{top:0}.taro-tabbar__tabbar-bottom{margin-bottom:constant(safe-area-inset-bottom);margin-bottom:env(safe-area-inset-bottom);bottom:0}.taro-tabbar__tabbar-hide{display:none}.taro-tabbar__tabbar-slideout{-ms-flex:0 0;flex:0 0;top:-52px}.taro-tabbar__panel+.taro-tabbar__tabbar-slideout{top:auto;bottom:-52px}';var p=0;var _=1;var m=2;var T="taro-tabbar__tabbar";var w="taro-tabbar__tabbar-hide";var x="taro-tabbar__tabbar-slideout";var B=e("taro_tabbar",function(){function e(e){var t=this;a(this,e);this.onLongPress=r(this,"longpress",7);this.homePage="";this.customRoutes=[];this.tabbarPos="bottom";this.getOriginUrl=function(e){var a=t.customRoutes.filter((function(t){var a=t[1];var r=f(a).path;var o=f(e).path;return r===o}));return i(a.length?a[0][0]:e,".html")};this.getSelectedIndex=function(e){var a=-1;t.list.forEach((function(t,r){var o=t.pagePath;var n=f(e).path;var i=f(o).path;if(n===i){a=r}}));return a};this.switchTab=function(e){t.selectedIndex=e;d.switchTab({url:t.list[e].pagePath})};this.switchTabHandler=function(e){var a=e.url,r=e.successHandler,o=e.errorHandler;var n=t.getOriginUrl(t.getCurrentUrl()||t.homePage);var i=h(a,n);var s=t.getSelectedIndex(i);if(s>-1){t.switchTab(s);r({errMsg:"switchTab:ok"})}else{o({errMsg:'switchTab:fail page "'.concat(i,'" is not found')})}};this.routerChangeHandler=function(e){var a;var r=(a=e===null||e===void 0?void 0:e.toLocation)===null||a===void 0?void 0:a.path;var o;if(typeof r==="string"){var n=t.conf.basename||"/";o=s(l(r||t.homePage),n)||"/"}else{o=t.getCurrentUrl()}t.selectedIndex=t.getSelectedIndex(t.getOriginUrl(o))};this.setTabBarBadgeHandler=function(e){var a=e.index,r=e.text,o=e.successHandler,n=e.errorHandler;var i=__spreadArray([],t.list,true);if(a in i){i[a].showRedDot=false;i[a].badgeText=r;o({errMsg:"setTabBarBadge:ok"})}else{n({errMsg:"setTabBarBadge:fail tabbar item not found"})}t.list=i};this.removeTabBarBadgeHandler=function(e){var a=e.index,r=e.successHandler,o=e.errorHandler;var n=__spreadArray([],t.list,true);if(a in n){n[a].badgeText=null;n[a].badgeText=null;r({errMsg:"removeTabBarBadge:ok"})}else{o({errMsg:"removeTabBarBadge:fail tabbar item not found"})}t.list=n};this.showTabBarRedDotHandler=function(e){var a=e.index,r=e.successHandler,o=e.errorHandler;var n=__spreadArray([],t.list,true);if(a in n){n[a].badgeText=null;n[a].showRedDot=true;r({errMsg:"showTabBarRedDot:ok"})}else{o({errMsg:"showTabBarRedDot:fail tabbar item not found"})}t.list=n};this.hideTabBarRedDotHandler=function(e){var a=e.index,r=e.successHandler,o=e.errorHandler;var n=__spreadArray([],t.list,true);if(a in n){n[a].showRedDot=false;r({errMsg:"hideTabBarRedDot:ok"})}else{o({errMsg:"hideTabBarRedDot:fail tabbar item not found"})}t.list=n};this.showTabBarHandler=function(e){var a=e.successHandler;t.status=p;a({errMsg:"showTabBar:ok"})};this.hideTabBarHandler=function(e){var a=e.animation,r=e.successHandler;t.status=a?m:_;r({errMsg:"hideTabBar:ok"})};this.setTabBarStyleHandler=function(e){var a=e.color,r=e.selectedColor,o=e.backgroundColor,n=e.borderStyle,i=e.successHandler;if(o)t.backgroundColor=o;if(n)t.borderStyle=n;if(a)t.color=a;if(r)t.selectedColor=r;i({errMsg:"setTabBarStyle:ok"})};this.setTabBarItemHandler=function(e){var a=e.index,r=e.iconPath,o=e.selectedIconPath,n=e.text,i=e.successHandler,s=e.errorHandler;var l=__spreadArray([],t.list,true);if(a in l){if(r)l[a].iconPath=r;if(o)l[a].selectedIconPath=o;if(n)l[a].text=n;i({errMsg:"setTabBarItem:ok"})}else{s({errMsg:"setTabBarItem:fail tabbar item not found"})}t.list=l};this.conf=undefined;this.list=undefined;this.borderStyle=undefined;this.backgroundColor=undefined;this.color=undefined;this.selectedColor=undefined;this.selectedIndex=-1;this.status=p}e.prototype.componentWillLoad=function(){var e,t;var a=((e=this.conf)===null||e===void 0?void 0:e.list)||[];var r=((t=this.conf)===null||t===void 0?void 0:t.customRoutes)||{};if(Object.prototype.toString.call(a)!=="[object Array]"||a.length<2||a.length>5){throw new Error("tabBar 配置错误")}this.homePage=l(this.conf.homePage);var o=function(e){var t;var a=r[e];e=l(e);if(typeof a==="string"){n.customRoutes.push([e,l(a)])}else if((a===null||a===void 0?void 0:a.length)>0){(t=n.customRoutes).push.apply(t,a.map((function(t){return[e,l(t)]})))}};var n=this;for(var i in r){o(i)}a.forEach((function(e){if(e.pagePath.indexOf("/")!==0){e.pagePath="/"+e.pagePath}}));this.list=a;this.borderStyle=this.conf.borderStyle;this.backgroundColor=this.conf.backgroundColor;this.color=this.conf.color;this.selectedColor=this.conf.selectedColor};e.prototype.getCurrentUrl=function(){var e=b(this.conf.mode,this.conf.basename);return decodeURI(e==="/"?this.homePage:e)};e.prototype.bindEvent=function(){d.eventCenter.on("__taroRouterChange",this.routerChangeHandler);d.eventCenter.on("__taroSwitchTab",this.switchTabHandler);d.eventCenter.on("__taroSetTabBarBadge",this.setTabBarBadgeHandler);d.eventCenter.on("__taroRemoveTabBarBadge",this.removeTabBarBadgeHandler);d.eventCenter.on("__taroShowTabBarRedDotHandler",this.showTabBarRedDotHandler);d.eventCenter.on("__taroHideTabBarRedDotHandler",this.hideTabBarRedDotHandler);d.eventCenter.on("__taroShowTabBar",this.showTabBarHandler);d.eventCenter.on("__taroHideTabBar",this.hideTabBarHandler);d.eventCenter.on("__taroSetTabBarStyle",this.setTabBarStyleHandler);d.eventCenter.on("__taroSetTabBarItem",this.setTabBarItemHandler)};e.prototype.removeEvent=function(){d.eventCenter.off("__taroRouterChange",this.routerChangeHandler);d.eventCenter.off("__taroSwitchTab",this.switchTabHandler);d.eventCenter.off("__taroSetTabBarBadge",this.setTabBarBadgeHandler);d.eventCenter.off("__taroRemoveTabBarBadge",this.removeTabBarBadgeHandler);d.eventCenter.off("__taroShowTabBarRedDotHandler",this.showTabBarRedDotHandler);d.eventCenter.off("__taroHideTabBarRedDotHandler",this.hideTabBarRedDotHandler);d.eventCenter.off("__taroShowTabBar",this.showTabBarHandler);d.eventCenter.off("__taroHideTabBar",this.hideTabBarHandler);d.eventCenter.off("__taroSetTabBarStyle",this.setTabBarStyleHandler);d.eventCenter.off("__taroSetTabBarItem",this.setTabBarItemHandler)};e.prototype.componentDidLoad=function(){this.tabbarPos=this.tabbar.nextElementSibling?"top":"bottom";this.bindEvent();this.routerChangeHandler()};e.prototype.disconnectedCallback=function(){this.removeEvent()};e.prototype.render=function(){var e,a;var r=this;var n=this.tabbarPos,i=n===void 0?"bottom":n;var s=this.status;var l=c("weui-tabbar",(e={},e["taro-tabbar__border-".concat(this.borderStyle||"black")]=true,e));var b=this.selectedIndex===-1||s===_;var d=s===m;return t(o,{class:c(T,"".concat(T,"-").concat(i),(a={},a[w]=b,a[x]=d,a))},t("div",{class:l,style:{backgroundColor:this.backgroundColor||"",height:"inherit"}},this.list.map((function(e,a){var o=r.selectedIndex===a;var n;var i;if(o){n=r.selectedColor||"";i=e.selectedIconPath}else{n=r.color||"";i=e.iconPath}return t(g,{index:a,onSelect:r.switchTab.bind(r),isSelected:o,textColor:n,iconPath:i,pagePath:e.pagePath,text:e.text,badgeText:e.badgeText,showRedDot:e.showRedDot})}))))};Object.defineProperty(e.prototype,"tabbar",{get:function(){return n(this)},enumerable:false,configurable:true});return e}());B.style=v}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["./p-2b70c348.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var e,n,r,o;return{setters:[function(t){e=t.r;n=t.h;r=t.H},function(t){o=t.n},function(){}],execute:function(){var c=t("taro_nested_scroll_header_core",function(){function t(t){e(this,t)}t.prototype.componentDidLoad=function(){o("NestedScrollHeader",this)};t.prototype.render=function(){return n(r,null)};return t}())}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-2b70c348.system.js"],(function(e,o){"use strict";var t,r;return{setters:[function(o){t=o.p;r=o.b;e("setNonce",o.s)}],execute:function(){var e=function(){var e=o.meta.url;var r={};if(e!==""){r.resourcesUrl=new URL(".",e).href}return t(r)};e().then((function(e){return r(JSON.parse('[["p-b3419d7f.system",[[4,"taro-checkbox-core",{"name":[1],"value":[1032],"color":[1],"id":[1025],"checked":[4],"disabled":[4],"nativeProps":[16],"isWillLoadCalled":[32]}],[0,"taro-checkbox-group-core",{"name":[8]},[[0,"checkboxchange","function"]]]]],["p-7615d8a6.system",[[0,"taro-movable-area-core",{"scaleArea":[4,"scale-area"]}],[0,"taro-movable-view-core",{"x":[8],"y":[8],"direction":[1],"outOfBounds":[4,"out-of-bounds"],"inertia":[4],"friction":[2],"damping":[2],"disabled":[4],"scale":[4],"scaleMin":[2,"scale-min"],"scaleMax":[2,"scale-max"],"scaleValue":[2,"scale-value"],"animation":[4],"setParent":[64],"endScale":[64],"setScale":[64]}]]],["p-c863ac7f.system",[[0,"taro-picker-view-column-core",{"col":[1],"initialPosition":[1,"initial-position"],"paddingVertical":[2,"padding-vertical"],"isInit":[32]},[[1,"touchstart","onTouchStart"],[1,"touchend","onTouchEnd"]]],[4,"taro-picker-view-core",{"indicatorStyle":[1,"indicator-style"],"indicatorClass":[1,"indicator-class"],"value":[16],"maskStyle":[1,"mask-style"],"maskClass":[1,"mask-class"]},[[0,"onselect","onSelect"],[0,"onselectstart","onSelectStart"],[0,"onselectend","onPickerColEnd"]]]]],["p-562eace8.system",[[4,"taro-radio-core",{"name":[1],"value":[1],"id":[1025],"checked":[1540],"disabled":[4],"nativeProps":[16],"isWillLoadCalled":[32]}],[0,"taro-radio-group-core",{"name":[8]},[[0,"radiochange","function"]]]]],["p-be68ae6e.system",[[4,"taro-swiper-core",{"indicatorDots":[4,"indicator-dots"],"indicatorColor":[1,"indicator-color"],"indicatorActiveColor":[1,"indicator-active-color"],"autoplay":[4],"current":[2],"interval":[2],"duration":[2],"circular":[4],"vertical":[4],"previousMargin":[1,"previous-margin"],"nextMargin":[1,"next-margin"],"displayMultipleItems":[2,"display-multiple-items"],"full":[4],"zoom":[4],"swiperWrapper":[32],"swiper":[32],"isWillLoadCalled":[32],"observer":[32],"observerFirst":[32],"observerLast":[32]}],[0,"taro-swiper-item-core",{"itemId":[1,"item-id"],"deep":[4]}]]],["p-11c0dc59.system",[[0,"taro-ad-core"]]],["p-0044961f.system",[[0,"taro-ad-custom-core"]]],["p-ee9d6467.system",[[0,"taro-animation-video-core"]]],["p-82d52f00.system",[[0,"taro-animation-view-core"]]],["p-1087c51a.system",[[0,"taro-ar-camera-core"]]],["p-f782ee74.system",[[0,"taro-audio-core",{"src":[1],"controls":[4],"autoplay":[4],"loop":[4],"muted":[4],"nativeProps":[16]}]]],["p-69e70cd5.system",[[0,"taro-aweme-data-core"]]],["p-3a0a05fd.system",[[0,"taro-block-core"]]],["p-f7198b67.system",[[4,"taro-button-core",{"disabled":[4],"hoverClass":[1,"hover-class"],"type":[1],"hoverStartTime":[2,"hover-start-time"],"hoverStayTime":[2,"hover-stay-time"],"size":[1],"plain":[4],"loading":[4],"formType":[513,"form-type"],"hover":[32],"touch":[32]},[[0,"click","onClick"],[1,"touchstart","onTouchStart"],[1,"touchend","onTouchEnd"]]]]],["p-3eedb8d7.system",[[0,"taro-camera-core"]]],["p-6f1034a6.system",[[0,"taro-canvas-core",{"canvasId":[1,"id"],"height":[1537],"width":[1537],"nativeProps":[16]}]]],["p-b66dfc82.system",[[0,"taro-channel-live-core"]]],["p-6c06b440.system",[[0,"taro-channel-video-core"]]],["p-46ccb393.system",[[0,"taro-comment-detail-core"]]],["p-36ea0ac1.system",[[0,"taro-comment-list-core"]]],["p-ffaac078.system",[[0,"taro-contact-button-core"]]],["p-93b39a89.system",[[0,"taro-cover-image-core",{"src":[1],"nativeProps":[16]}]]],["p-fe1dd94f.system",[[4,"taro-cover-view-core",{"animation":[1],"hoverClass":[1,"hover-class"],"hoverStartTime":[2,"hover-start-time"],"hoverStayTime":[2,"hover-stay-time"],"hover":[32],"touch":[32]},[[1,"touchstart","onTouchStart"],[1,"touchmove","onTouchMove"],[1,"touchend","onTouchEnd"]]]]],["p-194ace03.system",[[0,"taro-custom-wrapper-core"]]],["p-a997cf7c.system",[[0,"taro-editor-core"]]],["p-ba241824.system",[[0,"taro-follow-swan-core"]]],["p-923aa1c8.system",[[4,"taro-form-core",null,[[0,"tarobuttonsubmit","onButtonSubmit"],[0,"tarobuttonreset","onButtonReset"]]]]],["p-adee7f1b.system",[[0,"taro-functional-page-navigator-core"]]],["p-e2694a79.system",[[0,"taro-grid-view-core"]]],["p-b259a558.system",[[0,"taro-icon-core",{"type":[1],"size":[8],"color":[1]}]]],["p-bdafd94c.system",[[0,"taro-image-core",{"src":[1],"mode":[1],"lazyLoad":[4,"lazy-load"],"nativeProps":[16],"aspectFillMode":[32],"didLoad":[32]}]]],["p-19b993d8.system",[[0,"taro-inline-payment-panel-core"]]],["p-77e030e9.system",[[0,"taro-input-core",{"value":[1025],"type":[1],"password":[4],"placeholder":[1],"disabled":[4],"maxlength":[2],"autoFocus":[4,"focus"],"confirmType":[1,"confirm-type"],"name":[1],"nativeProps":[16],"focus":[64]}]]],["p-f0056aca.system",[[0,"taro-keyboard-accessory-core"]]],["p-4b5f75b9.system",[[4,"taro-label-core",{"for":[1]}]]],["p-66029061.system",[[0,"taro-lifestyle-core"]]],["p-5c0f97d3.system",[[0,"taro-like-core"]]],["p-fbb789a4.system",[[0,"taro-list-view-core"]]],["p-de1d495a.system",[[0,"taro-live-player-core"]]],["p-5a78fbdf.system",[[0,"taro-live-pusher-core"]]],["p-cee51d71.system",[[0,"taro-login-core"]]],["p-90ee19f8.system",[[0,"taro-lottie-core"]]],["p-d1a095bd.system",[[0,"taro-map-core"]]],["p-55934653.system",[[0,"taro-match-media-core"]]],["p-80fa706c.system",[[0,"taro-native-slot-core"]]],["p-97177863.system",[[0,"taro-navigation-bar-core"]]],["p-52ad5213.system",[[0,"taro-navigator-core",{"hoverClass":[1,"hover-class"],"url":[1],"openType":[1,"open-type"],"isHover":[4,"is-hover"],"delta":[2]},[[0,"click","onClick"]]]]],["p-5b86e66b.system",[[0,"taro-official-account-core"]]],["p-e6a2f1bd.system",[[0,"taro-open-data-core"]]],["p-618ee593.system",[[0,"taro-page-container-core"]]],["p-019124ae.system",[[0,"taro-page-meta-core"]]],["p-f94c0445.system",[[0,"taro-progress-core",{"percent":[2],"showInfo":[4,"show-info"],"borderRadius":[8,"border-radius"],"fontSize":[8,"font-size"],"strokeWidth":[8,"stroke-width"],"activeColor":[1,"active-color"],"backgroundColor":[1,"background-color"],"active":[4]}]]],["p-7b3ce3af.system",[[4,"taro-pull-to-refresh-core",{"prefixCls":[1,"prefix-cls"],"distanceToRefresh":[2,"distance-to-refresh"],"damping":[2],"indicator":[16],"currSt":[32],"dragOnEdge":[32]}]]],["p-aed23034.system",[[0,"taro-rich-text-core",{"nodes":[1],"selectable":[1028],"userSelect":[1028,"user-select"],"space":[1]}]]],["p-970a4199.system",[[0,"taro-root-portal-core"]]],["p-b655e854.system",[[0,"taro-rtc-room-core"]]],["p-9f3e0019.system",[[0,"taro-rtc-room-item-core"]]],["p-e5a80896.system",[[4,"taro-scroll-view-core",{"scrollX":[4,"scroll-x"],"scrollY":[4,"scroll-y"],"upperThreshold":[8,"upper-threshold"],"lowerThreshold":[8,"lower-threshold"],"mpScrollTop":[520,"scroll-top"],"mpScrollLeft":[520,"scroll-left"],"mpScrollIntoView":[513,"scroll-into-view"],"mpScrollIntoViewAlignment":[1,"scroll-into-view-alignment"],"animated":[4,"scroll-with-animation"],"mpScrollToMethod":[64],"mpScrollIntoViewMethod":[64]},[[1,"scroll","handleScroll"],[1,"touchmove","handleTouchMove"]]]]],["p-e5b43c80.system",[[0,"taro-share-element-core"]]],["p-aa11b00c.system",[[0,"taro-slider-core",{"min":[2],"max":[2],"step":[2],"disabled":[4],"value":[1538],"activeColor":[1,"active-color"],"backgroundColor":[1,"background-color"],"blockSize":[2,"block-size"],"blockColor":[1,"block-color"],"showValue":[4,"show-value"],"name":[1],"totalWidth":[32],"touching":[32],"ogX":[32],"touchId":[32],"percent":[32],"ogPercent":[32],"isWillLoadCalled":[32]}]]],["p-04f97133.system",[[0,"taro-slot-core"]]],["p-3a3d40de.system",[[0,"taro-snapshot-core"]]],["p-069ae782.system",[[0,"taro-sticky-header-core"]]],["p-829157b1.system",[[0,"taro-sticky-section-core"]]],["p-99440bcc.system",[[0,"taro-switch-core",{"type":[1],"checked":[1028],"color":[1],"name":[1],"disabled":[4],"nativeProps":[16],"isWillLoadCalled":[32]}]]],["p-e41ed824.system",[[0,"taro-tab-item-core"]]],["p-dbeadc04.system",[[0,"taro-tabbar",{"conf":[16],"list":[32],"borderStyle":[32],"backgroundColor":[32],"color":[32],"selectedColor":[32],"selectedIndex":[32],"status":[32]}]]],["p-8b7e37c9.system",[[0,"taro-tabs-core"]]],["p-7b80637e.system",[[4,"taro-text-core",{"selectable":[1028],"userSelect":[1028,"user-select"],"space":[1025],"numberOfLines":[2,"number-of-lines"]}]]],["p-f470ce9f.system",[[0,"taro-textarea-core",{"value":[1025],"placeholder":[1],"disabled":[4],"maxlength":[2],"autoFocus":[4,"focus"],"autoHeight":[4,"auto-height"],"name":[1],"nativeProps":[16],"line":[32],"focus":[64]}]]],["p-2f8ebd28.system",[[4,"taro-view-core",{"animation":[1],"hoverClass":[1,"hover-class"],"hoverStartTime":[2,"hover-start-time"],"hoverStayTime":[2,"hover-stay-time"],"hover":[32],"touch":[32]},[[1,"touchstart","onTouchStart"],[1,"touchmove","onTouchMove"],[1,"touchend","onTouchEnd"]]]]],["p-d12b6a84.system",[[0,"taro-voip-room-core"]]],["p-eda34d91.system",[[0,"taro-web-view-core",{"src":[1]}]]],["p-3430d520.system",[[4,"taro-picker-core",{"mode":[1],"disabled":[4],"range":[16],"rangeKey":[1,"range-key"],"value":[1032],"start":[1],"end":[1],"fields":[1],"name":[1],"textProps":[16],"pickerValue":[32],"height":[32],"hidden":[32],"fadeOut":[32],"isWillLoadCalled":[32]}],[0,"taro-picker-group",{"mode":[1],"range":[16],"rangeKey":[1,"range-key"],"height":[2],"columnId":[1,"column-id"],"updateHeight":[16],"updateDay":[16],"startY":[32],"preY":[32],"hadMove":[32],"touchEnd":[32],"isMove":[32],"handleMoveStart":[64],"handleMoving":[64],"handleMoveEnd":[64]},[[1,"mousedown","onMouseDown"],[3,"mousemove","onMouseMove"],[1,"mouseup","onMouseMoveEnd"],[1,"mouseleave","onMouseMoveEnd"],[1,"touchstart","onTouchStart"],[3,"touchmove","onTouchMove"],[1,"touchend","onTouchEnd"]]]]],["p-54b24e2f.system",[[0,"taro-video-core",{"src":[1],"duration":[2],"controls":[4],"autoplay":[4],"loop":[4],"muted":[4],"initialTime":[2,"initial-time"],"poster":[1],"objectFit":[1,"object-fit"],"showProgress":[4,"show-progress"],"showFullscreenBtn":[4,"show-fullscreen-btn"],"showPlayBtn":[4,"show-play-btn"],"showCenterPlayBtn":[4,"show-center-play-btn"],"showMuteBtn":[4,"show-mute-btn"],"danmuList":[16],"danmuBtn":[4,"danmu-btn"],"enableDanmu":[4,"enable-danmu"],"enablePlayGesture":[4,"enable-play-gesture"],"enableProgressGesture":[4,"enable-progress-gesture"],"vslideGesture":[4,"vslide-gesture"],"vslideGestureInFullscreen":[4,"vslide-gesture-in-fullscreen"],"nativeProps":[16],"_duration":[32],"_enableDanmu":[32],"isPlaying":[32],"isFirst":[32],"isFullScreen":[32],"fullScreenTimestamp":[32],"isMute":[32],"getHlsObject":[64],"play":[64],"pause":[64],"stop":[64],"seek":[64],"requestFullScreen":[64],"exitFullScreen":[64]},[[5,"touchmove","onDocumentTouchMove"],[5,"touchend","onDocumentTouchEnd"],[5,"touchcancel","onDocumentTouchEnd"]]],[4,"taro-video-control",{"controls":[4],"currentTime":[2,"current-time"],"duration":[2],"isPlaying":[4,"is-playing"],"pauseFunc":[16],"playFunc":[16],"seekFunc":[16],"showPlayBtn":[4,"show-play-btn"],"showProgress":[4,"show-progress"],"setProgressBall":[64],"toggleVisibility":[64],"getIsDraggingProgressBall":[64],"setCurrentTime":[64]},[[5,"touchmove","onDocumentTouchMove"],[5,"touchend","onDocumentTouchEnd"],[5,"touchcancel","onDocumentTouchEnd"]]],[0,"taro-video-danmu",{"enable":[4],"danmuList":[32],"sendDanmu":[64],"tick":[64]}]]]]'),e)}))}}}));
|
|
1
|
+
System.register(["./p-2b70c348.system.js"],(function(e,o){"use strict";var t,r;return{setters:[function(o){t=o.p;r=o.b;e("setNonce",o.s)}],execute:function(){var e=function(){var e=o.meta.url;var r={};if(e!==""){r.resourcesUrl=new URL(".",e).href}return t(r)};e().then((function(e){return r(JSON.parse('[["p-b3419d7f.system",[[4,"taro-checkbox-core",{"name":[1],"value":[1032],"color":[1],"id":[1025],"checked":[4],"disabled":[4],"nativeProps":[16],"isWillLoadCalled":[32]}],[0,"taro-checkbox-group-core",{"name":[8]},[[0,"checkboxchange","function"]]]]],["p-6ffc9bda.system",[[0,"taro-movable-area-core",{"scaleArea":[4,"scale-area"]}],[0,"taro-movable-view-core",{"x":[8],"y":[8],"direction":[1],"outOfBounds":[4,"out-of-bounds"],"inertia":[4],"friction":[2],"damping":[2],"disabled":[4],"scale":[4],"scaleMin":[2,"scale-min"],"scaleMax":[2,"scale-max"],"scaleValue":[2,"scale-value"],"animation":[4],"setParent":[64],"endScale":[64],"setScale":[64]}]]],["p-c863ac7f.system",[[0,"taro-picker-view-column-core",{"col":[1],"initialPosition":[1,"initial-position"],"paddingVertical":[2,"padding-vertical"],"isInit":[32]},[[1,"touchstart","onTouchStart"],[1,"touchend","onTouchEnd"]]],[4,"taro-picker-view-core",{"indicatorStyle":[1,"indicator-style"],"indicatorClass":[1,"indicator-class"],"value":[16],"maskStyle":[1,"mask-style"],"maskClass":[1,"mask-class"]},[[0,"onselect","onSelect"],[0,"onselectstart","onSelectStart"],[0,"onselectend","onPickerColEnd"]]]]],["p-562eace8.system",[[4,"taro-radio-core",{"name":[1],"value":[1],"id":[1025],"checked":[1540],"disabled":[4],"nativeProps":[16],"isWillLoadCalled":[32]}],[0,"taro-radio-group-core",{"name":[8]},[[0,"radiochange","function"]]]]],["p-b0f12e64.system",[[4,"taro-swiper-core",{"indicatorDots":[4,"indicator-dots"],"indicatorColor":[1,"indicator-color"],"indicatorActiveColor":[1,"indicator-active-color"],"autoplay":[4],"current":[2],"currentItemId":[1,"current-item-id"],"interval":[2],"duration":[2],"circular":[4],"vertical":[4],"previousMargin":[1,"previous-margin"],"nextMargin":[1,"next-margin"],"displayMultipleItems":[2,"display-multiple-items"],"full":[4],"zoom":[4],"swiperWrapper":[32],"swiper":[32],"isWillLoadCalled":[32],"observer":[32],"observerFirst":[32],"observerLast":[32]}],[0,"taro-swiper-item-core",{"itemId":[1,"item-id"],"deep":[4]}]]],["p-11c0dc59.system",[[0,"taro-ad-core"]]],["p-0044961f.system",[[0,"taro-ad-custom-core"]]],["p-ee9d6467.system",[[0,"taro-animation-video-core"]]],["p-82d52f00.system",[[0,"taro-animation-view-core"]]],["p-1087c51a.system",[[0,"taro-ar-camera-core"]]],["p-f782ee74.system",[[0,"taro-audio-core",{"src":[1],"controls":[4],"autoplay":[4],"loop":[4],"muted":[4],"nativeProps":[16]}]]],["p-69e70cd5.system",[[0,"taro-aweme-data-core"]]],["p-3a0a05fd.system",[[0,"taro-block-core"]]],["p-f7198b67.system",[[4,"taro-button-core",{"disabled":[4],"hoverClass":[1,"hover-class"],"type":[1],"hoverStartTime":[2,"hover-start-time"],"hoverStayTime":[2,"hover-stay-time"],"size":[1],"plain":[4],"loading":[4],"formType":[513,"form-type"],"hover":[32],"touch":[32]},[[0,"click","onClick"],[1,"touchstart","onTouchStart"],[1,"touchend","onTouchEnd"]]]]],["p-3eedb8d7.system",[[0,"taro-camera-core"]]],["p-6f1034a6.system",[[0,"taro-canvas-core",{"canvasId":[1,"id"],"height":[1537],"width":[1537],"nativeProps":[16]}]]],["p-b66dfc82.system",[[0,"taro-channel-live-core"]]],["p-6c06b440.system",[[0,"taro-channel-video-core"]]],["p-46ccb393.system",[[0,"taro-comment-detail-core"]]],["p-36ea0ac1.system",[[0,"taro-comment-list-core"]]],["p-ffaac078.system",[[0,"taro-contact-button-core"]]],["p-93b39a89.system",[[0,"taro-cover-image-core",{"src":[1],"nativeProps":[16]}]]],["p-fe1dd94f.system",[[4,"taro-cover-view-core",{"animation":[1],"hoverClass":[1,"hover-class"],"hoverStartTime":[2,"hover-start-time"],"hoverStayTime":[2,"hover-stay-time"],"hover":[32],"touch":[32]},[[1,"touchstart","onTouchStart"],[1,"touchmove","onTouchMove"],[1,"touchend","onTouchEnd"]]]]],["p-194ace03.system",[[0,"taro-custom-wrapper-core"]]],["p-55e54f2a.system",[[0,"taro-draggable-sheet-core"]]],["p-a997cf7c.system",[[0,"taro-editor-core"]]],["p-ba241824.system",[[0,"taro-follow-swan-core"]]],["p-923aa1c8.system",[[4,"taro-form-core",null,[[0,"tarobuttonsubmit","onButtonSubmit"],[0,"tarobuttonreset","onButtonReset"]]]]],["p-adee7f1b.system",[[0,"taro-functional-page-navigator-core"]]],["p-34ba9330.system",[[0,"taro-grid-builder-core"]]],["p-e2694a79.system",[[0,"taro-grid-view-core"]]],["p-b259a558.system",[[0,"taro-icon-core",{"type":[1],"size":[8],"color":[1]}]]],["p-bdafd94c.system",[[0,"taro-image-core",{"src":[1],"mode":[1],"lazyLoad":[4,"lazy-load"],"nativeProps":[16],"aspectFillMode":[32],"didLoad":[32]}]]],["p-19b993d8.system",[[0,"taro-inline-payment-panel-core"]]],["p-77e030e9.system",[[0,"taro-input-core",{"value":[1025],"type":[1],"password":[4],"placeholder":[1],"disabled":[4],"maxlength":[2],"autoFocus":[4,"focus"],"confirmType":[1,"confirm-type"],"name":[1],"nativeProps":[16],"focus":[64]}]]],["p-f0056aca.system",[[0,"taro-keyboard-accessory-core"]]],["p-4b5f75b9.system",[[4,"taro-label-core",{"for":[1]}]]],["p-66029061.system",[[0,"taro-lifestyle-core"]]],["p-5c0f97d3.system",[[0,"taro-like-core"]]],["p-fa9dbb6f.system",[[0,"taro-list-builder-core"]]],["p-fbb789a4.system",[[0,"taro-list-view-core"]]],["p-de1d495a.system",[[0,"taro-live-player-core"]]],["p-5a78fbdf.system",[[0,"taro-live-pusher-core"]]],["p-cee51d71.system",[[0,"taro-login-core"]]],["p-90ee19f8.system",[[0,"taro-lottie-core"]]],["p-d1a095bd.system",[[0,"taro-map-core"]]],["p-55934653.system",[[0,"taro-match-media-core"]]],["p-80fa706c.system",[[0,"taro-native-slot-core"]]],["p-97177863.system",[[0,"taro-navigation-bar-core"]]],["p-52ad5213.system",[[0,"taro-navigator-core",{"hoverClass":[1,"hover-class"],"url":[1],"openType":[1,"open-type"],"isHover":[4,"is-hover"],"delta":[2]},[[0,"click","onClick"]]]]],["p-5186ab96.system",[[0,"taro-nested-scroll-body-core"]]],["p-4621b303.system",[[0,"taro-nested-scroll-header-core"]]],["p-5b86e66b.system",[[0,"taro-official-account-core"]]],["p-cc993977.system",[[0,"taro-open-container-core"]]],["p-e6a2f1bd.system",[[0,"taro-open-data-core"]]],["p-618ee593.system",[[0,"taro-page-container-core"]]],["p-019124ae.system",[[0,"taro-page-meta-core"]]],["p-f94c0445.system",[[0,"taro-progress-core",{"percent":[2],"showInfo":[4,"show-info"],"borderRadius":[8,"border-radius"],"fontSize":[8,"font-size"],"strokeWidth":[8,"stroke-width"],"activeColor":[1,"active-color"],"backgroundColor":[1,"background-color"],"active":[4]}]]],["p-7b3ce3af.system",[[4,"taro-pull-to-refresh-core",{"prefixCls":[1,"prefix-cls"],"distanceToRefresh":[2,"distance-to-refresh"],"damping":[2],"indicator":[16],"currSt":[32],"dragOnEdge":[32]}]]],["p-aed23034.system",[[0,"taro-rich-text-core",{"nodes":[1],"selectable":[1028],"userSelect":[1028,"user-select"],"space":[1]}]]],["p-970a4199.system",[[0,"taro-root-portal-core"]]],["p-b655e854.system",[[0,"taro-rtc-room-core"]]],["p-9f3e0019.system",[[0,"taro-rtc-room-item-core"]]],["p-e5a80896.system",[[4,"taro-scroll-view-core",{"scrollX":[4,"scroll-x"],"scrollY":[4,"scroll-y"],"upperThreshold":[8,"upper-threshold"],"lowerThreshold":[8,"lower-threshold"],"mpScrollTop":[520,"scroll-top"],"mpScrollLeft":[520,"scroll-left"],"mpScrollIntoView":[513,"scroll-into-view"],"mpScrollIntoViewAlignment":[1,"scroll-into-view-alignment"],"animated":[4,"scroll-with-animation"],"mpScrollToMethod":[64],"mpScrollIntoViewMethod":[64]},[[1,"scroll","handleScroll"],[1,"touchmove","handleTouchMove"]]]]],["p-e5b43c80.system",[[0,"taro-share-element-core"]]],["p-aa11b00c.system",[[0,"taro-slider-core",{"min":[2],"max":[2],"step":[2],"disabled":[4],"value":[1538],"activeColor":[1,"active-color"],"backgroundColor":[1,"background-color"],"blockSize":[2,"block-size"],"blockColor":[1,"block-color"],"showValue":[4,"show-value"],"name":[1],"totalWidth":[32],"touching":[32],"ogX":[32],"touchId":[32],"percent":[32],"ogPercent":[32],"isWillLoadCalled":[32]}]]],["p-04f97133.system",[[0,"taro-slot-core"]]],["p-3a3d40de.system",[[0,"taro-snapshot-core"]]],["p-1d102ddb.system",[[0,"taro-span-core"]]],["p-069ae782.system",[[0,"taro-sticky-header-core"]]],["p-829157b1.system",[[0,"taro-sticky-section-core"]]],["p-99440bcc.system",[[0,"taro-switch-core",{"type":[1],"checked":[1028],"color":[1],"name":[1],"disabled":[4],"nativeProps":[16],"isWillLoadCalled":[32]}]]],["p-e41ed824.system",[[0,"taro-tab-item-core"]]],["p-3e4b5391.system",[[0,"taro-tabbar",{"conf":[16],"list":[32],"borderStyle":[32],"backgroundColor":[32],"color":[32],"selectedColor":[32],"selectedIndex":[32],"status":[32]}]]],["p-8b7e37c9.system",[[0,"taro-tabs-core"]]],["p-7b80637e.system",[[4,"taro-text-core",{"selectable":[1028],"userSelect":[1028,"user-select"],"space":[1025],"numberOfLines":[2,"number-of-lines"]}]]],["p-f470ce9f.system",[[0,"taro-textarea-core",{"value":[1025],"placeholder":[1],"disabled":[4],"maxlength":[2],"autoFocus":[4,"focus"],"autoHeight":[4,"auto-height"],"name":[1],"nativeProps":[16],"line":[32],"focus":[64]}]]],["p-2f8ebd28.system",[[4,"taro-view-core",{"animation":[1],"hoverClass":[1,"hover-class"],"hoverStartTime":[2,"hover-start-time"],"hoverStayTime":[2,"hover-stay-time"],"hover":[32],"touch":[32]},[[1,"touchstart","onTouchStart"],[1,"touchmove","onTouchMove"],[1,"touchend","onTouchEnd"]]]]],["p-d12b6a84.system",[[0,"taro-voip-room-core"]]],["p-eda34d91.system",[[0,"taro-web-view-core",{"src":[1]}]]],["p-3430d520.system",[[4,"taro-picker-core",{"mode":[1],"disabled":[4],"range":[16],"rangeKey":[1,"range-key"],"value":[1032],"start":[1],"end":[1],"fields":[1],"name":[1],"textProps":[16],"pickerValue":[32],"height":[32],"hidden":[32],"fadeOut":[32],"isWillLoadCalled":[32]}],[0,"taro-picker-group",{"mode":[1],"range":[16],"rangeKey":[1,"range-key"],"height":[2],"columnId":[1,"column-id"],"updateHeight":[16],"updateDay":[16],"startY":[32],"preY":[32],"hadMove":[32],"touchEnd":[32],"isMove":[32],"handleMoveStart":[64],"handleMoving":[64],"handleMoveEnd":[64]},[[1,"mousedown","onMouseDown"],[3,"mousemove","onMouseMove"],[1,"mouseup","onMouseMoveEnd"],[1,"mouseleave","onMouseMoveEnd"],[1,"touchstart","onTouchStart"],[3,"touchmove","onTouchMove"],[1,"touchend","onTouchEnd"]]]]],["p-111fadd7.system",[[0,"taro-video-core",{"src":[1],"duration":[2],"controls":[4],"autoplay":[4],"loop":[4],"muted":[4],"initialTime":[2,"initial-time"],"poster":[1],"objectFit":[1,"object-fit"],"showProgress":[4,"show-progress"],"showFullscreenBtn":[4,"show-fullscreen-btn"],"showPlayBtn":[4,"show-play-btn"],"showCenterPlayBtn":[4,"show-center-play-btn"],"showMuteBtn":[4,"show-mute-btn"],"danmuList":[16],"danmuBtn":[4,"danmu-btn"],"enableDanmu":[4,"enable-danmu"],"enablePlayGesture":[4,"enable-play-gesture"],"enableProgressGesture":[4,"enable-progress-gesture"],"vslideGesture":[4,"vslide-gesture"],"vslideGestureInFullscreen":[4,"vslide-gesture-in-fullscreen"],"nativeProps":[16],"_duration":[32],"_enableDanmu":[32],"isPlaying":[32],"isFirst":[32],"isFullScreen":[32],"fullScreenTimestamp":[32],"isMute":[32],"getHlsObject":[64],"play":[64],"pause":[64],"stop":[64],"seek":[64],"requestFullScreen":[64],"exitFullScreen":[64]},[[5,"touchmove","onDocumentTouchMove"],[5,"touchend","onDocumentTouchEnd"],[5,"touchcancel","onDocumentTouchEnd"]]],[4,"taro-video-control",{"controls":[4],"currentTime":[2,"current-time"],"duration":[2],"isPlaying":[4,"is-playing"],"pauseFunc":[16],"playFunc":[16],"seekFunc":[16],"showPlayBtn":[4,"show-play-btn"],"showProgress":[4,"show-progress"],"setProgressBall":[64],"toggleVisibility":[64],"getIsDraggingProgressBall":[64],"setCurrentTime":[64]},[[5,"touchmove","onDocumentTouchMove"],[5,"touchend","onDocumentTouchEnd"],[5,"touchcancel","onDocumentTouchEnd"]]],[0,"taro-video-danmu",{"enable":[4],"danmuList":[32],"sendDanmu":[64],"tick":[64]}]]]]'),e)}))}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r,h as o,H as s}from"./p-dd7a128d.js";import{n as t}from"./p-dbdb9de9.js";import"@tarojs/taro";const e=class{constructor(o){r(this,o)}componentDidLoad(){t("NestedScrollHeader",this)}render(){return o(s,null)}};export{e as taro_nested_scroll_header_core}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["./p-2b70c348.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var n,e,o,r;return{setters:[function(t){n=t.r;e=t.h;o=t.H},function(t){r=t.n},function(){}],execute:function(){var c=t("taro_nested_scroll_body_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){r("NestedScrollBody",this)};t.prototype.render=function(){return e(o,null)};return t}())}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["./p-2b70c348.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var e,n,r,o;return{setters:[function(t){e=t.r;n=t.h;r=t.H},function(t){o=t.n},function(){}],execute:function(){var c=t("taro_draggable_sheet_core",function(){function t(t){e(this,t)}t.prototype.componentDidLoad=function(){o("DraggableSheet",this)};t.prototype.render=function(){return n(r,null)};return t}())}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r,h as o,H as t}from"./p-dd7a128d.js";import{n as d}from"./p-dbdb9de9.js";import"@tarojs/taro";const s=class{constructor(o){r(this,o)}componentDidLoad(){d("GridBuilder",this)}render(){return o(t,null)}};export{s as taro_grid_builder_core}
|