Files
damai-wx/taro.js
MagicalKudzu 8079e6c819 首次提交
2025-12-12 10:35:12 +08:00

6929 lines
224 KiB
JavaScript

require("@babel/runtime/helpers/Arrayincludes"), require("@babel/runtime/helpers/Objectentries"), (wx.webpackJsonp = wx.webpackJsonp || []).push([
[6907], {
534: function (t, e, n) {
n.d(e, {
K: function () {
return u
}
});
var r = n(29),
i = n(5517),
o = n(6703),
a = n(1925),
u = new(function (t) {
function e() {
return (0, r.A)(this, e), (0, o.A)(this, e, arguments)
}
return (0, a.A)(e, t), (0, i.A)(e, [{
key: "removeNode",
value: function (t) {
var e = t.sid,
n = t.uid;
this.delete(e), n !== e && n && this.delete(n)
}
}, {
key: "removeNodeTree",
value: function (t) {
var e = this;
this.removeNode(t), t.childNodes.forEach((function (t) {
return e.removeNodeTree(t)
}))
}
}])
}((0, n(533).A)(Map)))
},
886: function (t, e, n) {
n.d(e, {
$r: function () {
return v
},
Nd: function () {
return d
},
lh: function () {
return f
}
});
var r = n(29),
i = n(5517),
o = n(5763),
a = n(1730),
u = n(3050),
c = n(3931),
s = n(4530),
l = n(6271),
d = (0, i.A)((function t(e, n, i) {
(0, r.A)(this, t), this._stop = !1, this._end = !1, this.defaultPrevented = !1, this.button = 0, this.timeStamp = Date.now(), this.type = e.toLowerCase(), this.mpEvent = i, this.bubbles = Boolean(n && n.bubbles), this.cancelable = Boolean(n && n.cancelable)
}), [{
key: "stopPropagation",
value: function () {
this._stop = !0
}
}, {
key: "stopImmediatePropagation",
value: function () {
this._end = this._stop = !0
}
}, {
key: "preventDefault",
value: function () {
this.defaultPrevented = !0
}
}, {
key: "target",
get: function () {
var t, e, n, r, i, o = this.cacheTarget;
if (o) return o;
var a = Object.create((null === (t = this.mpEvent) || void 0 === t ? void 0 : t.target) || null),
c = s.A.document.getElementById((null === (e = a.dataset) || void 0 === e ? void 0 : e.sid) || a.id || null),
l = s.A.document.getElementById((null === (n = a.targetDataset) || void 0 === n ? void 0 : n.sid) || (null === (r = a.dataset) || void 0 === r ? void 0 : r.sid) || a.id || null);
for (var d in a.dataset = Object.assign(Object.assign({}, null !== c ? c.dataset : u.MZ), null !== l ? l.dataset : u.MZ), null === (i = this.mpEvent) || void 0 === i ? void 0 : i.detail) a[d] = this.mpEvent.detail[d];
return this.cacheTarget = a, a
}
}, {
key: "currentTarget",
get: function () {
var t, e, n, r, i, o, a, u, c = this.cacheCurrentTarget;
if (c) return c;
var l = s.A.document,
d = Object.create((null === (t = this.mpEvent) || void 0 === t ? void 0 : t.currentTarget) || null),
f = l.getElementById((null === (e = d.dataset) || void 0 === e ? void 0 : e.sid) || d.id || null),
h = l.getElementById((null === (i = null === (r = null === (n = this.mpEvent) || void 0 === n ? void 0 : n.target) || void 0 === r ? void 0 : r.dataset) || void 0 === i ? void 0 : i.sid) || (null === (a = null === (o = this.mpEvent) || void 0 === o ? void 0 : o.target) || void 0 === a ? void 0 : a.id) || null);
if (null === f || f && f === h) return this.cacheCurrentTarget = this.target, this.target;
for (var p in d.dataset = f.dataset, null === (u = this.mpEvent) || void 0 === u ? void 0 : u.detail) d[p] = this.mpEvent.detail[p];
return this.cacheCurrentTarget = d, d
}
}]);
function f(t, e) {
if ("string" == typeof t) return new d(t, {
bubbles: !0,
cancelable: !0
});
var n = new d(t.type, {
bubbles: !0,
cancelable: !0
}, t);
for (var r in t) r !== c.m$ && r !== c.Qn && r !== c.ZE && r !== c.GK && (n[r] = t[r]);
return n.type === c.nG && (null == e ? void 0 : e.nodeName) === c.bO && (n[c.OC] = 13), n
}
var h = {};
function p(t) {
var e = t[c.HT];
return (0, o.b0)(e) || delete t[c.HT], e
}
function v(t) {
var e, n;
void 0 === t.type && Object.defineProperty(t, "type", {
value: t._type
}), void 0 === t.detail && Object.defineProperty(t, "detail", {
value: t._detail || Object.assign({}, t)
}), t.currentTarget = t.currentTarget || t.target || Object.assign({}, t), a.JL.call("modifyMpEventImpl", t);
var r = t.currentTarget,
i = (null === (e = r.dataset) || void 0 === e ? void 0 : e.sid) || r.id || (null === (n = t.detail) || void 0 === n ? void 0 : n.id) || "",
o = s.A.document.getElementById(i);
if (o) {
var u = function () {
var e = f(t, o);
a.JL.call("modifyTaroEvent", e, o), a.JL.call("dispatchTaroEvent", e, o), a.JL.call("dispatchTaroEventFinish", e, o)
};
if (!a.JL.isExist("batchedEventUpdates")) return u(), p(t);
var d = t.type;
if (!a.JL.call("isBubbleEvents", d) || !(0, l.Rh)(o, d) || d === c.vx && o.props.catchMove) return a.JL.call("batchedEventUpdates", (function () {
h[d] && (h[d].forEach((function (t) {
return t()
})), delete h[d]), u()
})), p(t);
(h[d] || (h[d] = [])).push(u)
}
}
},
1071: function (t, e, n) {
n.d(e, {
f: function () {
return r
}
});
var r = {
prerender: !0,
debug: !1
}
},
1191: function (t, e, n) {
var r = n(9371),
i = n(2456),
o = n(3050),
a = new Set(["addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify"]);
var u = "true",
c = "false",
s = "",
l = "0",
d = {
Progress: {
"border-radius": l,
"font-size": "16",
duration: "30",
bindActiveEnd: s
},
RichText: {
space: s,
"user-select": c,
mode: "'default'"
},
Text: {
"user-select": c,
overflow: "visible",
"max-lines": ""
},
Map: {
polygons: "[]",
subkey: s,
rotate: l,
skew: l,
"max-scale": "20",
"min-scale": "3",
"enable-3D": c,
"show-compass": c,
"show-scale": c,
"enable-overlooking": c,
"enable-auto-max-overlooking": c,
"enable-zoom": u,
"enable-scroll": u,
"enable-rotate": c,
"enable-satellite": c,
"enable-traffic": c,
"enable-poi": u,
"enable-building": u,
setting: "{}",
bindLabelTap: s,
bindRegionChange: s,
bindPoiTap: s,
bindPolylineTap: s,
bindAbilitySuccess: s,
bindAbilityFailed: s,
bindAuthSuccess: s,
bindInterpolatePoint: s,
bindError: s,
bindAnchorPointTap: s
},
Button: {
lang: "en",
"session-from": s,
"send-message-title": s,
"send-message-path": s,
"send-message-img": s,
"app-parameter": s,
"show-message-card": c,
"business-id": s,
bindGetUserInfo: s,
bindContact: s,
bindGetPhoneNumber: s,
bindGetRealTimePhoneNumber: s,
bindChooseAvatar: s,
bindError: s,
bindOpenSetting: s,
bindLaunchApp: s,
bindAgreePrivacyAuthorization: s
},
Form: {
"report-submit-timeout": l
},
Input: {
"always-embed": c,
"adjust-position": u,
"hold-keyboard": c,
"safe-password-cert-path": "",
"safe-password-length": "",
"safe-password-time-stamp": "",
"safe-password-nonce": "",
"safe-password-salt": "",
"safe-password-custom-hash": "",
"auto-fill": s,
"cursor-color": "",
bindKeyboardHeightChange: s,
bindNicknameReview: s,
bindSelectionChange: s,
bindKeyboardCompositionStart: s,
bindKeyboardCompositionUpdate: s,
bindKeyboardCompositionEnd: s
},
Picker: {
"header-text": s,
level: "region"
},
PickerView: {
"immediate-change": c,
bindPickStart: s,
bindPickEnd: s
},
Slider: {
color: "'#e9e9e9'",
"selected-color": "'#1aad19'"
},
Textarea: {
"show-confirm-bar": u,
"adjust-position": u,
"hold-keyboard": c,
"disable-default-padding": c,
"confirm-type": "'return'",
"confirm-hold": c,
"adjust-keyboard-to": "'cursor'",
bindKeyboardHeightChange: s,
bindSelectionChange: s,
bindKeyboardCompositionStart: s,
bindKeyboardCompositionUpdate: s,
bindKeyboardCompositionEnd: s
},
ScrollView: {
"enable-flex": c,
"scroll-anchoring": c,
enhanced: c,
"using-sticky": c,
"paging-enabled": c,
"enable-passive": c,
"refresher-enabled": c,
"refresher-threshold": "45",
"refresher-default-style": "'black'",
"refresher-background": "'#FFF'",
"refresher-triggered": c,
bounces: u,
"show-scrollbar": u,
"fast-deceleration": c,
type: "'list'",
"associative-container": "''",
reverse: c,
clip: u,
"enable-back-to-top": c,
"cache-extent": s,
"min-drag-distance": "18",
"scroll-into-view-within-extent": c,
"scroll-into-view-alignment": "'start'",
padding: "[0,0,0,0]",
"refresher-two-level-enabled": c,
"refresher-two-level-triggered": c,
"refresher-two-level-threshold": "150",
"refresher-two-level-close-threshold": "80",
"refresher-two-level-scroll-enabled": c,
"refresher-ballistic-refresh-enabled": c,
"refresher-two-level-pinned": c,
bindDragStart: s,
bindDragging: s,
bindDragEnd: s,
bindRefresherPulling: s,
bindRefresherRefresh: s,
bindRefresherRestore: s,
bindRefresherAbort: s,
bindScrollStart: s,
bindScrollEnd: s,
bindRefresherWillRefresh: s,
bindRefresherStatusChange: s
},
StickySection: {
"push-pinned-header": u,
padding: "[0, 0, 0, 0]"
},
GridView: {
type: "'aligned'",
"cross-axis-count": "2",
"max-cross-axis-extent": l,
"main-axis-gap": l,
"cross-axis-gap": l,
padding: "[0, 0, 0, 0]"
},
GridBuilder: {
type: "'aligned'",
list: "[]",
"cross-axis-count": "2",
"max-cross-axis-extent": l,
"main-axis-gap": l,
"cross-axis-gap": l,
padding: "[0, 0, 0, 0]",
bindItemBuild: s,
bindItemDispose: s
},
ListView: {
padding: "[0, 0, 0, 0]"
},
ListBuilder: {
list: "[]",
type: "static",
padding: "[0, 0, 0, 0]",
"child-count": s,
"child-height": s,
bindItemBuild: s,
bindItemDispose: s
},
StickyHeader: {
"offset-top": "0",
padding: "[0, 0, 0, 0]"
},
Swiper: {
"snap-to-edge": c,
"easing-function": "'default'",
"layout-type": "'normal'",
"transformer-type": "'scaleAndFade'",
"indicator-type": "'normal'",
"indicator-margin": "10",
"indicator-spacing": "4",
"indicator-radius": "4",
"indicator-width": "8",
"indicator-height": "8",
"indicator-alignment": "'auto'",
"indicator-offset": "[0, 0]",
"scroll-with-animation": u,
"cache-extent": "0"
},
SwiperItem: {
"skip-hidden-item-layout": c
},
Navigator: {
target: "'self'",
"app-id": s,
path: s,
"extra-data": s,
version: "'version'"
},
Camera: {
mode: "'normal'",
resolution: "'medium'",
"frame-size": "'medium'",
bindInitDone: s,
bindScanCode: s
},
Image: {
webp: c,
"show-menu-by-longpress": c,
"fade-in": c
},
LivePlayer: {
mode: "'live'",
"sound-mode": "'speaker'",
"auto-pause-if-navigate": u,
"auto-pause-if-open-native": u,
"picture-in-picture-mode": "[]",
"enable-auto-rotation": c,
"referrer-policy": "'no-referrer'",
"enable-casting": c,
bindstatechange: s,
bindfullscreenchange: s,
bindnetstatus: s,
bindAudioVolumeNotify: s,
bindEnterPictureInPicture: s,
bindLeavePictureInPicture: s,
bindCastingUserSelect: s,
bindCastingStateChange: s,
bindCastingInterrupt: s
},
Video: {
title: s,
"play-btn-position": "'bottom'",
"enable-play-gesture": c,
"auto-pause-if-navigate": u,
"auto-pause-if-open-native": u,
"vslide-gesture": c,
"vslide-gesture-in-fullscreen": u,
"show-bottom-progress": u,
"ad-unit-id": s,
"poster-for-crawler": s,
"show-casting-button": c,
"picture-in-picture-mode": "[]",
"enable-auto-rotation": c,
"show-screen-lock-button": c,
"show-snapshot-button": c,
"show-background-playback-button": c,
"background-poster": s,
"referrer-policy": "'no-referrer'",
"is-drm": c,
"is-live": c,
"provision-url": s,
"certificate-url": s,
"license-url": s,
"preferred-peak-bit-rate": s,
bindProgress: s,
bindLoadedMetadata: s,
bindControlsToggle: s,
bindEnterPictureInPicture: s,
bindLeavePictureInPicture: s,
bindSeekComplete: s,
bindCastingUserSelect: s,
bindCastingStateChange: s,
bindCastingInterrupt: s,
bindAdLoad: s,
bindAdError: s,
bindAdClose: s,
bindAdPlay: s
},
Canvas: {
type: s
},
Ad: {
"ad-type": "'banner'",
"ad-theme": "'white'"
},
CoverView: {
"marker-id": s,
slot: s
},
Editor: {
"read-only": c,
placeholder: s,
"show-img-size": c,
"show-img-toolbar": c,
"show-img-resize": c,
focus: c,
bindReady: s,
bindFocus: s,
bindBlur: s,
bindInput: s,
bindStatusChange: s,
name: s
},
MatchMedia: {
"min-width": s,
"max-width": s,
width: s,
"min-height": s,
"max-height": s,
height: s,
orientation: s
},
FunctionalPageNavigator: {
version: "'release'",
name: s,
args: s,
bindSuccess: s,
bindFail: s,
bindCancel: s
},
LivePusher: {
url: s,
mode: "'RTC'",
autopush: c,
muted: c,
"enable-camera": u,
"auto-focus": u,
orientation: "'vertical'",
beauty: l,
whiteness: l,
aspect: "'9:16'",
"min-bitrate": "200",
"max-bitrate": "1000",
"audio-quality": "'high'",
"waiting-image": s,
"waiting-image-hash": s,
zoom: c,
"device-position": "'front'",
"background-mute": c,
mirror: c,
"remote-mirror": c,
"local-mirror": c,
"audio-reverb-type": l,
"enable-mic": u,
"enable-agc": c,
"enable-ans": c,
"audio-volume-type": "'voicecall'",
"video-width": "360",
"video-height": "640",
"beauty-style": "'smooth'",
filter: "'standard'",
"picture-in-picture-mode": "[]",
animation: s,
bindStateChange: s,
bindNetStatus: s,
bindBgmStart: s,
bindBgmProgress: s,
bindBgmComplete: s,
bindAudioVolumeNotify: s
},
OfficialAccount: {
bindLoad: s,
bindError: s
},
OpenData: {
type: s,
"open-gid": s,
lang: "'en'",
"default-text": s,
"default-avatar": s,
bindError: s
},
NavigationBar: {
title: s,
loading: c,
"front-color": "'#000000'",
"background-color": s,
"color-animation-duration": l,
"color-animation-timing-func": "'linear'"
},
PageMeta: {
"background-text-style": s,
"background-color": s,
"background-color-top": s,
"background-color-bottom": s,
"root-background-color": s,
"scroll-top": "''",
"scroll-duration": "300",
"page-style": "''",
"root-font-size": "''",
"page-orientation": "''",
bindResize: s,
bindScroll: s,
bindScrollDone: s
},
VoipRoom: {
openid: s,
mode: "'camera'",
"device-position": "'front'",
bindError: s
},
AdCustom: {
"unit-id": s,
"ad-intervals": s,
bindLoad: s,
bindError: s
},
PageContainer: {
show: c,
duration: "300",
"z-index": "100",
overlay: u,
position: "'bottom'",
round: c,
"close-on-slide-down": c,
"overlay-style": s,
"custom-style": s,
bindBeforeEnter: s,
bindEnter: s,
bindAfterEnter: s,
bindBeforeLeave: s,
bindLeave: s,
bindAfterLeave: s,
bindClickOverlay: s
},
ShareElement: {
mapkey: s,
transform: c,
duration: "300",
"easing-function": "'ease-out'",
"transition-on-gesture": c,
"shuttle-on-push": "'to'",
"shuttle-on-pop": "'to'",
"rect-tween-type": "'materialRectArc'"
},
KeyboardAccessory: {},
RootPortal: {
enable: u
},
ChannelLive: {
"feed-id": s,
"finder-user-name": s
},
ChannelVideo: {
"feed-id": s,
"finder-user-name": s,
"feed-token": s,
autoplay: c,
loop: c,
muted: c,
"object-fit": "'contain'",
bindError: s
},
Snapshot: {
mode: "'view'"
},
Span: {},
OpenContainer: {
transitionType: "'fade'",
transitionDuration: "300",
closedColor: "'white'",
closedElevation: l,
closeBorderRadius: l,
middleColor: s,
openColor: "'white'",
openElevation: l,
openBorderRadius: l
},
DraggableSheet: {
initialChildSize: "0.5",
minChildSize: "0.25",
maxChildSize: "1.0",
snap: c,
snapSizes: "[]"
},
NestedScrollHeader: {},
NestedScrollBody: {},
DoubleTapGestureHandler: {},
ForcePressGestureHandler: {},
HorizontalDragGestureHandler: {},
LongPressGestureHandler: {},
PanGestureHandler: {},
ScaleGestureHandler: {},
TapGestureHandler: {},
VerticalDragGestureHandler: {}
},
f = {
initNativeApi: function (t) {
(0, i.Z)(t, wx, {
needPromiseApis: a,
modifyApis: function (t) {
t.delete("lanDebug")
},
transformMeta: function (t, e) {
var n;
return "showShareMenu" === t && (e.menus = null === (n = e.showShareItems) || void 0 === n ? void 0 : n.map((function (t) {
return "wechatFriends" === t ? "shareAppMessage" : "wechatMoment" === t ? "shareTimeline" : t
}))), {
key: t,
options: e
}
}
}), t.cloud = wx.cloud, t.getTabBar = function (t) {
var e;
if ("function" == typeof (null == t ? void 0 : t.getTabBar)) return null === (e = t.getTabBar()) || void 0 === e ? void 0 : e.$taroInstances
}, t.getRenderer = function () {
var e, n, r;
return null !== (r = null === (n = null === (e = t.getCurrentInstance()) || void 0 === e ? void 0 : e.page) || void 0 === n ? void 0 : n.renderer) && void 0 !== r ? r : "webview"
}
},
getMiniLifecycle: function (t) {
var e = t.page[5];
return -1 === e.indexOf("onSaveExitState") && e.push("onSaveExitState"), t
},
transferHydrateData: function (t, e, n) {
var i;
if (e.isTransferElement) {
var a = getCurrentPages(),
u = a[a.length - 1];
return t.nn = e.dataName, u.setData((0, r.A)({}, (0, o.Cb)(t.nn), t)), (0, r.A)((0, r.A)({
sid: e.sid
}, "v", ""), "nn", (null === (i = n["#text"]) || void 0 === i ? void 0 : i._num) || "8")
}
}
};
(0, o.ZG)(f), (0, o.IQ)(d)
},
1198: function (t, e, n) {
function r(t) {
var e, n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : 250,
r = arguments.length > 2 ? arguments[2] : void 0,
i = 0;
return function () {
for (var o = arguments.length, a = new Array(o), u = 0; u < o; u++) a[u] = arguments[u];
var c = r || this,
s = Date.now();
s - i > n ? (t.apply(this, a), i = s) : (clearTimeout(e), e = setTimeout((function () {
i = s, t.apply(c, a)
}), n))
}
}
function i(t) {
var e, n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : 250,
r = arguments.length > 2 ? arguments[2] : void 0;
return function () {
for (var i = arguments.length, o = new Array(i), a = 0; a < i; a++) o[a] = arguments[a];
var u = r || this;
clearTimeout(e), e = setTimeout((function () {
t.apply(u, o)
}), n)
}
}
n.d(e, {
n: function () {
return r
},
s: function () {
return i
}
})
},
1500: function (t, e, n) {
var r = n(2456),
i = n(3050),
o = new Set([]),
a = new Set([]),
u = {
initNativeApi: function (t) {
var e = t.miniGlobal;
(0, r.Z)(t, e, {
noPromiseApis: o,
needPromiseApis: a,
isOnlyPromisify: !0
})
}
};
(0, i.ZG)(u), (0, i.IQ)({
Button: {
bindagreeprivacyauthorization: ""
}
})
},
1730: function (t, e, n) {
n.d(e, {
JL: function () {
return f
}
});
var r, i = n(29),
o = n(5517),
a = n(6703),
u = n(1925),
c = n(6664),
s = n(5763);
! function (t) {
t[t.SINGLE = 0] = "SINGLE", t[t.MULTI = 1] = "MULTI", t[t.WATERFALL = 2] = "WATERFALL"
}(r || (r = {}));
var l = {
app: ["onLaunch", "onShow", "onHide"],
page: ["onLoad", "onUnload", "onReady", "onShow", "onHide", ["onPullDownRefresh", "onReachBottom", "onPageScroll", "onResize", "defer:onTabItemTap", "onTitleClick", "onOptionMenuClick", "onPopMenuClick", "onPullIntercept", "onAddToFavorites"],
["onShareAppMessage", "onShareTimeline"]
],
component: ["attached", "detached"]
};
function d(t, e) {
return {
type: t,
initial: e || null
}
}
var f = new(function (t) {
function e(t, n) {
var r;
for (var o in (0, i.A)(this, e), (r = (0, a.A)(this, e, [n])).hooks = t, t) {
var u = t[o].initial;
(0, s.Tn)(u) && r.on(o, u)
}
return r
}
return (0, u.A)(e, t), (0, o.A)(e, [{
key: "tapOneOrMany",
value: function (t, e) {
var n = this;
((0, s.Tn)(e) ? [e] : e).forEach((function (e) {
return n.on(t, e)
}))
}
}, {
key: "tap",
value: function (t, e) {
var n = this.hooks[t],
i = n.type,
o = n.initial;
i === r.SINGLE ? (this.off(t), this.on(t, (0, s.Tn)(e) ? e : e[e.length - 1])) : (o && this.off(t, o), this.tapOneOrMany(t, e))
}
}, {
key: "call",
value: function (t) {
var e, n = this.hooks[t];
if (n) {
var i = n.type,
o = this.callbacks;
if (o) {
var a = o[t];
if (a) {
for (var u = a.tail, c = a.next, s = arguments.length, l = new Array(s > 1 ? s - 1 : 0), d = 1; d < s; d++) l[d - 1] = arguments[d];
for (var f, h = l; c !== u;) {
if (f = null === (e = c.callback) || void 0 === e ? void 0 : e.apply(c.context || this, h), i === r.WATERFALL) {
var p = [f];
h = p
}
c = c.next
}
return f
}
}
}
}
}, {
key: "isExist",
value: function (t) {
var e;
return Boolean(null === (e = this.callbacks) || void 0 === e ? void 0 : e[t])
}
}])
}(c.s))({
getMiniLifecycle: d(r.SINGLE, (function (t) {
return t
})),
getMiniLifecycleImpl: d(r.SINGLE, (function () {
return this.call("getMiniLifecycle", l)
})),
getLifecycle: d(r.SINGLE, (function (t, e) {
return t[e]
})),
modifyRecursiveComponentConfig: d(r.SINGLE, (function (t) {
return t
})),
getPathIndex: d(r.SINGLE, (function (t) {
return "[".concat(t, "]")
})),
getEventCenter: d(r.SINGLE, (function (t) {
return new t
})),
isBubbleEvents: d(r.SINGLE, (function (t) {
return new Set(["touchstart", "touchmove", "touchcancel", "touchend", "touchforcechange", "tap", "longpress", "longtap", "transitionend", "animationstart", "animationiteration", "animationend"]).has(t)
})),
getSpecialNodes: d(r.SINGLE, (function () {
return ["view", "text", "image"]
})),
onRemoveAttribute: d(r.SINGLE),
batchedEventUpdates: d(r.SINGLE),
mergePageInstance: d(r.SINGLE),
modifyPageObject: d(r.SINGLE),
createPullDownComponent: d(r.SINGLE),
getDOMNode: d(r.SINGLE),
modifyHydrateData: d(r.SINGLE),
transferHydrateData: d(r.SINGLE),
modifySetAttrPayload: d(r.SINGLE),
modifyRmAttrPayload: d(r.SINGLE),
onAddEvent: d(r.SINGLE),
proxyToRaw: d(r.SINGLE, (function (t) {
return t
})),
modifyMpEvent: d(r.MULTI),
modifyMpEventImpl: d(r.SINGLE, (function (t) {
try {
this.call("modifyMpEvent", t)
} catch (t) {}
})),
injectNewStyleProperties: d(r.SINGLE),
modifyTaroEvent: d(r.MULTI),
dispatchTaroEvent: d(r.SINGLE, (function (t, e) {
e && e.dispatchEvent && e.dispatchEvent(t)
})),
dispatchTaroEventFinish: d(r.MULTI),
modifyTaroEventReturn: d(r.SINGLE, (function () {})),
modifyDispatchEvent: d(r.MULTI),
initNativeApi: d(r.MULTI),
patchElement: d(r.MULTI),
modifyAddEventListener: d(r.SINGLE),
modifyRemoveEventListener: d(r.SINGLE),
getMemoryLevel: d(r.SINGLE)
})
},
2029: function (t, e, n) {
var r;
n.d(e, {
Ny: function () {
return a
},
er: function () {
return o
},
tB: function () {
return r
}
}),
function () {
var t;
"undefined" != typeof performance && null !== performance && performance.now ? r = function () {
return performance.now()
} : Date.now ? (t = Date.now(), r = function () {
return Date.now() - t
}) : (t = (new Date).getTime(), r = function () {
return (new Date).getTime() - t
})
}();
var i = 0,
o = function (t) {
var e = r(),
n = Math.max(i + 16, e);
return setTimeout((function () {
t(i = n)
}), n - e)
},
a = function (t) {
clearTimeout(t)
}
},
2456: function (t, e, n) {
n.d(e, {
Z: function () {
return s
}
});
var r = n(8460),
i = n(5763),
o = n(3050),
a = new Set(["addPhoneContact", "authorize", "canvasGetImageData", "canvasPutImageData", "canvasToTempFilePath", "checkSession", "chooseAddress", "chooseImage", "chooseInvoiceTitle", "chooseLocation", "chooseVideo", "clearStorage", "closeBLEConnection", "closeBluetoothAdapter", "closeSocket", "compressImage", "connectSocket", "createBLEConnection", "downloadFile", "exitMiniProgram", "getAvailableAudioSources", "getBLEDeviceCharacteristics", "getBLEDeviceServices", "getBatteryInfo", "getBeacons", "getBluetoothAdapterState", "getBluetoothDevices", "getClipboardData", "getConnectedBluetoothDevices", "getConnectedWifi", "getExtConfig", "getFileInfo", "getImageInfo", "getLocation", "getNetworkType", "getSavedFileInfo", "getSavedFileList", "getScreenBrightness", "getSetting", "getStorage", "getStorageInfo", "getSystemInfo", "getUserInfo", "getWifiList", "hideHomeButton", "hideShareMenu", "hideTabBar", "hideTabBarRedDot", "loadFontFace", "login", "makePhoneCall", "navigateBack", "navigateBackMiniProgram", "navigateTo", "navigateToBookshelf", "navigateToMiniProgram", "notifyBLECharacteristicValueChange", "hideKeyboard", "hideLoading", "hideNavigationBarLoading", "hideToast", "openBluetoothAdapter", "openDocument", "openLocation", "openSetting", "pageScrollTo", "previewImage", "queryBookshelf", "reLaunch", "readBLECharacteristicValue", "redirectTo", "removeSavedFile", "removeStorage", "removeTabBarBadge", "requestSubscribeMessage", "saveFile", "saveImageToPhotosAlbum", "saveVideoToPhotosAlbum", "scanCode", "sendSocketMessage", "setBackgroundColor", "setBackgroundTextStyle", "setClipboardData", "setEnableDebug", "setInnerAudioOption", "setKeepScreenOn", "setNavigationBarColor", "setNavigationBarTitle", "setScreenBrightness", "setStorage", "setTabBarBadge", "setTabBarItem", "setTabBarStyle", "showActionSheet", "showFavoriteGuide", "showLoading", "showModal", "showShareMenu", "showTabBar", "showTabBarRedDot", "showToast", "startBeaconDiscovery", "startBluetoothDevicesDiscovery", "startDeviceMotionListening", "startPullDownRefresh", "stopBeaconDiscovery", "stopBluetoothDevicesDiscovery", "stopCompass", "startCompass", "startAccelerometer", "stopAccelerometer", "showNavigationBarLoading", "stopDeviceMotionListening", "stopPullDownRefresh", "switchTab", "uploadFile", "vibrateLong", "vibrateShort", "writeBLECharacteristicValue"]);
function u(t) {
return function () {
var e, n = null === (e = t.getSystemInfoSync) || void 0 === e ? void 0 : e.call(t);
if (!n) return !1;
var r = n.platform.toLowerCase();
return "android" === r || "devtools" === r
}
}
function c(t) {
return function (e) {
var n, r = (e = e ? (0, i.Kg)(e) ? {
url: e
} : e : {}).success,
o = e.fail,
a = e.complete,
u = new Promise((function (i, u) {
e.success = function (t) {
r && r(t), i(t)
}, e.fail = function (t) {
o && o(t), u(t)
}, e.complete = function (t) {
a && a(t)
}, n = t.request(e)
}));
return d(n, u), u.abort = function (t) {
return t && t(), n && n.abort(), u
}, u
}
}
function s(t, e) {
var n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {},
u = n.needPromiseApis || [],
c = new Set([].concat((0, r.A)(u), (0, r.A)(a))),
s = ["getEnv", "interceptors", "Current", "getCurrentInstance", "options", "nextTick", "eventCenter", "Events", "preload", "webpackJsonp"],
f = new Set(n.isOnlyPromisify ? u : Object.keys(e).filter((function (t) {
return -1 === s.indexOf(t)
})));
n.modifyApis && n.modifyApis(f), f.forEach((function (r) {
if (c.has(r)) {
var a = r;
t[a] = function () {
for (var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, r = arguments.length, i = new Array(r > 1 ? r - 1 : 0), u = 1; u < r; u++) i[u - 1] = arguments[u];
var c = a;
if ("string" == typeof t) return i.length ? e[c].apply(e, [t].concat(i)) : e[c](t);
if (n.transformMeta) {
var s = n.transformMeta(c, t);
if (c = s.key, t = s.options, !e.hasOwnProperty(c)) return (0, o.Zb)(c)()
}
var l = null,
f = Object.assign({}, t);
(0, o.vk)(c, t);
var h = new Promise((function (r, o) {
f.success = function (e) {
var i, o;
null === (i = n.modifyAsyncResult) || void 0 === i || i.call(n, c, e), null === (o = t.success) || void 0 === o || o.call(t, e), r("connectSocket" === c ? Promise.resolve().then((function () {
return l ? Object.assign(l, e) : e
})) : e)
}, f.fail = function (e) {
var n;
null === (n = t.fail) || void 0 === n || n.call(t, e), o(e)
}, f.complete = function (e) {
var n;
null === (n = t.complete) || void 0 === n || n.call(t, e)
}, l = i.length ? e[c].apply(e, [f].concat(i)) : e[c](f)
}));
return ["uploadFile", "downloadFile"].includes(c) && (d(l, h), h.progress = function (t) {
return null == l || l.onProgressUpdate(t), h
}, h.abort = function (t) {
return null == t || t(), null == l || l.abort(), h
}), h
}
} else {
var u = r;
if (n.transformMeta && (u = n.transformMeta(r, {}).key), !e.hasOwnProperty(u)) return void(t[r] = (0, o.Zb)(r));
(0, i.Tn)(e[r]) ? t[r] = function () {
for (var t = arguments.length, i = new Array(t), o = 0; o < t; o++) i[o] = arguments[o];
return n.handleSyncApis ? n.handleSyncApis(r, e, i) : e[u].apply(e, i)
}: t[r] = e[u]
}
})), !n.isOnlyPromisify && l(t, e, n)
}
function l(t, e) {
var n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {};
t.canIUseWebp = u(t), t.getCurrentPages = getCurrentPages || (0, o.Zb)("getCurrentPages"), t.getApp = getApp || (0, o.Zb)("getApp"), t.env = e.env || {};
try {
t.requirePlugin = requirePlugin || (0, o.Zb)("requirePlugin")
} catch (e) {
t.requirePlugin = (0, o.Zb)("requirePlugin")
}
var r = n.request || c(e);
function i(t) {
return r(t.requestParams)
}
var a = new t.Link(i);
t.request = a.request.bind(a), t.addInterceptor = a.addInterceptor.bind(a), t.cleanInterceptors = a.cleanInterceptors.bind(a), t.miniGlobal = t.options.miniGlobal = e, t.getAppInfo = function () {
return {
platform: "mini",
taroVersion: "4.1.8",
designWidth: t.config.designWidth
}
}, t.createSelectorQuery = f(t, e, "createSelectorQuery", "exec"), t.createIntersectionObserver = f(t, e, "createIntersectionObserver", "observe")
}
function d(t, e) {
if (t && e) {
t && ["abort", "onHeadersReceived", "offHeadersReceived", "onProgressUpdate", "offProgressUpdate", "onChunkReceived", "offChunkReceived"].forEach((function (n) {
n in t && (e[n] = t[n].bind(t))
}))
}
}
function f(t, e, n, r) {
return function () {
var i = e[n].apply(e, arguments),
o = i[r].bind(i);
return i[r] = function () {
for (var e = arguments.length, n = new Array(e), r = 0; r < e; r++) n[r] = arguments[r];
t.nextTick((function () {
return o.apply(void 0, n)
}))
}, i
}
}
},
2573: function (t, e, n) {
var r = n(3919).hooks,
i = n(9504).A;
r.isExist("initNativeApi") && r.call("initNativeApi", i), t.exports = i, t.exports.default = t.exports
},
3050: function (t, e, n) {
n.d(e, {
Cb: function () {
return c
},
D8: function () {
return l
},
IQ: function () {
return p
},
Lj: function () {
return u
},
MZ: function () {
return o
},
R8: function () {
return d
},
ZG: function () {
return g
},
ZH: function () {
return s
},
Zb: function () {
return m
},
dg: function () {
return v
},
lQ: function () {
return a
},
vk: function () {
return b
}
});
var r = n(6071),
i = n(1730),
o = {},
a = function () {};
function u(t) {
return t.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase()
}
function c(t) {
for (var e = "", n = !1, r = 0; r < t.length; r++) "-" !== t[r] ? (e += n ? t[r].toUpperCase() : t[r], n = !1) : n = !0;
return e
}
function s(t) {
return t.charAt(0).toUpperCase() + t.slice(1)
}
function l(t, e) {
if (!t) throw new Error(e)
}
function d(t, e) {}
Object.prototype.hasOwnProperty;
var f = 1,
h = (new Date).getTime().toString();
function p(t) {
return Object.keys(t).forEach((function (e) {
e in r.YN ? Object.assign(r.YN[e], t[e]) : r.YN[e] = t[e]
})), r.YN
}
function v(t) {
var e = {},
n = t.View,
r = {
"#text": {},
StaticView: n,
StaticImage: t.Image,
StaticText: t.Text,
PureView: n,
CatchView: n,
ClickView: n
};
return t = Object.assign(Object.assign({}, t), r), Object.keys(t).sort((function (t, e) {
var n = /^(Static|Pure|Catch|Click)*(View|Image|Text)$/,
r = n.test(t),
i = n.test(e);
return r && i ? t > e ? 1 : -1 : r ? -1 : i || t >= e ? 1 : -1
})).forEach((function (n, r) {
var i = {
_num: String(r)
};
Object.keys(t[n]).filter((function (t) {
return !/^bind/.test(t) && !["focus", "blur"].includes(t)
})).sort().forEach((function (t, e) {
i[c(t)] = "p" + e
})), e[u(n)] = i
})), e
}
function g(t, e) {
var n = e || i.JL;
Object.keys(t).forEach((function (e) {
n.tap(e, t[e])
}))
}
function m(t) {
return function () {}
}
function b(t, e) {
if (["navigateTo", "redirectTo", "reLaunch", "switchTab"].indexOf(t) > -1) {
var n = (e.url = e.url || "").indexOf("?") > -1,
r = h + f++;
e.url += (n ? "&" : "?") + "".concat("__key_", "=").concat(r)
}
}
},
3254: function (t, e, n) {
n.d(e, {
$: function () {
return E
}
});
var r = n(29),
i = n(5517),
o = n(6703),
a = n(5735),
u = n(7629),
c = n(1925),
s = n(3050),
l = n(1730),
d = n(5763),
f = n(3931),
h = n(4645),
p = n(6271),
v = (0, i.A)((function t(e, n) {
var i = this;
(0, r.A)(this, t), this.tokenList = [], this.el = n, e.trim().split(/\s+/).forEach((function (t) {
return i.tokenList.push(t)
}))
}), [{
key: "value",
get: function () {
return this.toString()
}
}, {
key: "length",
get: function () {
return this.tokenList.length
}
}, {
key: "add",
value: function () {
var t = 0,
e = !1,
n = arguments,
r = n.length,
i = this.tokenList;
do {
var o = n[t];
this.checkTokenIsValid(o) && !~i.indexOf(o) && (i.push(o), e = !0)
} while (++t < r);
e && this._update()
}
}, {
key: "remove",
value: function () {
var t = 0,
e = !1,
n = arguments,
r = n.length,
i = this.tokenList;
do {
var o = n[t] + "";
if (this.checkTokenIsValid(o)) {
var a = i.indexOf(o);
~i.indexOf(o) && (i.splice(a, 1), e = !0)
}
} while (++t < r);
e && this._update()
}
}, {
key: "contains",
value: function (t) {
return !!this.checkTokenIsValid(t) && !!~this.tokenList.indexOf(t)
}
}, {
key: "toggle",
value: function (t, e) {
var n = this.contains(t),
r = n ? !0 !== e && "remove" : !1 !== e && "add";
return r && this[r](t), !0 === e || !1 === e ? e : !n
}
}, {
key: "replace",
value: function (t, e) {
if (this.checkTokenIsValid(t) && this.checkTokenIsValid(e)) {
var n = this.tokenList.indexOf(t);
~n && (this.tokenList.splice(n, 1, e), this._update())
}
}
}, {
key: "toString",
value: function () {
return this.tokenList.filter((function (t) {
return "" !== t
})).join(" ")
}
}, {
key: "checkTokenIsValid",
value: function (t) {
return "" !== t && !/\s/.test(t)
}
}, {
key: "_update",
value: function () {
this.el.className = this.value
}
}]),
g = n(534),
m = n(4262),
b = n(8101);
function y() {
return !0
}
function k(t, e) {
for (var n = [], r = null != e ? e : y, i = t; i;) 1 === i.nodeType && r(i) && n.push(i), i = A(i, t);
return n
}
function A(t, e) {
var n = t.firstChild,
r = 1 === t.nodeType || 9 === t.nodeType;
if (n && r) return n;
var i = t;
do {
if (i === e) return null;
var o = i.nextSibling;
if (o) return o;
i = i.parentElement
} while (i);
return null
}
var E = function (t) {
function e() {
var t;
return (0, r.A)(this, e), (t = (0, o.A)(this, e)).props = {}, t.dataset = s.MZ, t.nodeType = 1, t.style = new b.O(t), l.JL.call("patchElement", t), t
}
return (0, c.A)(e, t), (0, i.A)(e, [{
key: "_stopPropagation",
value: function (t) {
for (var e = this; e = e.parentNode;) {
var n = e.__handlers[t.type];
if ((0, d.cy)(n))
for (var r = n.length; r--;) {
n[r]._stop = !0
}
}
}
}, {
key: "id",
get: function () {
return this.getAttribute(f.ID)
},
set: function (t) {
this.setAttribute(f.ID, t)
}
}, {
key: "className",
get: function () {
return this.getAttribute(f.tp) || ""
},
set: function (t) {
this.setAttribute(f.tp, t)
}
}, {
key: "cssText",
get: function () {
return this.getAttribute(f.Y) || ""
}
}, {
key: "classList",
get: function () {
return new v(this.className, this)
}
}, {
key: "children",
get: function () {
return this.childNodes.filter(p.vq)
}
}, {
key: "attributes",
get: function () {
var t = this.props,
e = Object.keys(t),
n = this.style.cssText;
return e.map((function (e) {
return {
name: e,
value: t[e]
}
})).concat(n ? {
name: f.Y,
value: n
} : [])
}
}, {
key: "textContent",
get: function () {
for (var t = "", e = this.childNodes, n = 0; n < e.length; n++) t += e[n].textContent;
return t
},
set: function (t) {
(0, u.A)(e, "textContent", t, this, 1, 1)
}
}, {
key: "hasAttribute",
value: function (t) {
return !(0, d.b0)(this.props[t])
}
}, {
key: "hasAttributes",
value: function () {
return this.attributes.length > 0
}
}, {
key: "focus",
get: function () {
return function () {
this.setAttribute(f.L_, !0)
}
},
set: function (t) {
this.setAttribute(f.L_, t)
}
}, {
key: "blur",
value: function () {
this.setAttribute(f.L_, !1)
}
}, {
key: "setAttribute",
value: function (t, e) {
var n = this.nodeName === f.gR && !(0, p.Vg)(this) && !this.isAnyEventBinded();
switch (t !== f.Y && h._.record({
target: this,
type: "attributes",
attributeName: t,
oldValue: this.getAttribute(t)
}), t) {
case f.Y:
this.style.cssText = e;
break;
case f.ID:
this.uid !== this.sid && g.K.delete(this.uid), e = String(e), this.props[t] = this.uid = e, g.K.set(e, this);
break;
default:
this.props[t] = e, t.startsWith("data-") && (this.dataset === s.MZ && (this.dataset = Object.create(null)), this.dataset[(0, s.Cb)(t.replace(/^data-/, ""))] = e)
}
if (this._root) {
var r = (0, p.dg)(),
i = r[this.nodeName],
o = r[f.gR]._num,
a = r[f.Ru]._num,
u = r[f.fx]._num,
c = r[f.QJ]._num,
v = this._path;
t = (0, p.Oc)(t);
var m = (0, s.Cb)(t),
b = {
path: "".concat(v, ".").concat(m),
value: (0, d.Tn)(e) ? function () {
return e
} : e
};
if (l.JL.call("modifySetAttrPayload", this, t, b, r), i) {
var y = i[m] || t;
b.path = "".concat(v, ".").concat((0, s.Cb)(y))
}
this.enqueueUpdate(b), this.nodeName === f.gR && (m === f.x_ ? this.enqueueUpdate({
path: "".concat(v, ".", "nn"),
value: e ? c : this.isOnlyClickBinded() && !(0, p.Vg)(this) ? a : this.isAnyEventBinded() ? o : u
}) : n && (0, p.Vg)(this) && this.enqueueUpdate({
path: "".concat(v, ".", "nn"),
value: u
}))
}
}
}, {
key: "removeAttribute",
value: function (t) {
var e = this.nodeName === f.gR && (0, p.Vg)(this) && !this.isAnyEventBinded();
if (h._.record({
target: this,
type: "attributes",
attributeName: t,
oldValue: this.getAttribute(t)
}), t === f.Y) this.style.cssText = "";
else {
if (l.JL.call("onRemoveAttribute", this, t)) return;
if (!this.props.hasOwnProperty(t)) return;
delete this.props[t]
}
if (this._root) {
var n = (0, p.dg)(),
r = n[this.nodeName],
i = n[f.gR]._num,
o = n[f.fx]._num,
a = n[f.PD]._num,
u = n[f.Ru]._num,
c = this._path;
t = (0, p.Oc)(t);
var d = (0, s.Cb)(t),
v = {
path: "".concat(c, ".").concat(d),
value: ""
};
if (l.JL.call("modifyRmAttrPayload", this, t, v, n), r) {
var g = r[d] || t;
v.path = "".concat(c, ".").concat((0, s.Cb)(g))
}
this.enqueueUpdate(v), this.nodeName === f.gR && (d === f.x_ ? this.enqueueUpdate({
path: "".concat(c, ".", "nn"),
value: this.isOnlyClickBinded() && !(0, p.Vg)(this) ? u : this.isAnyEventBinded() ? i : (0, p.Vg)(this) ? o : a
}) : e && !(0, p.Vg)(this) && this.enqueueUpdate({
path: "".concat(c, ".", "nn"),
value: a
}))
}
}
}, {
key: "getAttribute",
value: function (t) {
var e = t === f.Y ? this.style.cssText : this.props[t];
return null != e ? e : ""
}
}, {
key: "getElementsByTagName",
value: function (t) {
var e = this;
return k(this, (function (n) {
return n.nodeName === t || "*" === t && e !== n
}))
}
}, {
key: "getElementsByClassName",
value: function (t) {
var e = t.trim().split(/\s+/);
return k(this, (function (t) {
var n = t.classList;
return e.every((function (t) {
return n.contains(t)
}))
}))
}
}, {
key: "dispatchEvent",
value: function (t) {
var e = t.cancelable,
n = this.__handlers[t.type];
if (!(0, d.cy)(n)) return !1;
for (var r = n.length; r--;) {
var i = n[r],
o = void 0;
if (i._stop ? i._stop = !1 : (l.JL.call("modifyDispatchEvent", t, this), o = i.call(this, t)), (!1 === o || t._end) && e && (t.defaultPrevented = !0), !(0, d.b0)(o) && t.mpEvent) l.JL.call("modifyTaroEventReturn", this, t, o) && (t.mpEvent[f.HT] = o);
if (t._end && t._stop) break
}
return t._stop && this._stopPropagation(t), null != n
}
}, {
key: "addEventListener",
value: function (t, n, r) {
var i = this.nodeName,
o = l.JL.call("getSpecialNodes"),
u = !0;
if ((0, d.Gv)(r) && !1 === r.sideEffect && (u = !1, delete r.sideEffect), l.JL.call("modifyAddEventListener", this, u, p.dg), !1 !== u && !this.isAnyEventBinded() && o.indexOf(i) > -1) {
var c = (0, p.dg)()[i]._num;
this.enqueueUpdate({
path: "".concat(this._path, ".", "nn"),
value: c
})
}(0, a.A)(e, "addEventListener", this, 3)([t, n, r])
}
}, {
key: "removeEventListener",
value: function (t, n) {
var r = !(arguments.length > 2 && void 0 !== arguments[2]) || arguments[2];
(0, a.A)(e, "removeEventListener", this, 3)([t, n]);
var i = this.nodeName,
o = l.JL.call("getSpecialNodes");
if (l.JL.call("modifyRemoveEventListener", this, r, p.dg), !1 !== r && !this.isAnyEventBinded() && o.indexOf(i) > -1) {
var u = (0, p.dg)(),
c = (0, p.Vg)(this) ? "static-".concat(i) : "pure-".concat(i),
s = u[c]._num;
this.enqueueUpdate({
path: "".concat(this._path, ".", "nn"),
value: s
})
}
}
}], [{
key: "extend",
value: function (t, n) {
(0, p.X$)(e, t, n)
}
}])
}(m.X)
},
3919: function (t, e, n) {
n.r(e), n.d(e, {
A: function () {
return ut.A
},
APP: function () {
return ut.uq
},
BEHAVIORS: function () {
return ut.UX
},
BODY: function () {
return ut.$p
},
CATCHMOVE: function () {
return ut.x_
},
CATCH_VIEW: function () {
return ut.QJ
},
CHANGE: function () {
return ut.PL
},
CLASS: function () {
return ut.tp
},
CLICK_VIEW: function () {
return ut.Ru
},
COMMENT: function () {
return ut.YK
},
COMPILE_MODE: function () {
return ut.Su
},
CONFIRM: function () {
return ut.nG
},
CONTAINER: function () {
return ut.MR
},
CONTEXT_ACTIONS: function () {
return ut.oF
},
CURRENT_TARGET: function () {
return ut.m$
},
CUSTOM_WRAPPER: function () {
return ut.qb
},
Current: function () {
return ct.E
},
DATASET: function () {
return ut.zO
},
DATE: function () {
return ut.vH
},
DOCUMENT_ELEMENT_NAME: function () {
return ut.$8
},
DOCUMENT_FRAGMENT: function () {
return ut.FY
},
EVENT_CALLBACK_RESULT: function () {
return ut.HT
},
EXTERNAL_CLASSES: function () {
return ut.d_
},
Events: function () {
return U.s
},
FOCUS: function () {
return ut.L_
},
FormElement: function () {
return X.Z
},
HEAD: function () {
return ut.Vx
},
HOOKS_APP_ID: function () {
return ut.Vu
},
HTML: function () {
return ut.g3
},
History: function () {
return $.B
},
ID: function () {
return ut.ID
},
INPUT: function () {
return ut.bO
},
KEY_CODE: function () {
return ut.OC
},
Location: function () {
return K.a
},
MutationObserver: function () {
return at._
},
OBJECT: function () {
return ut.qv
},
ON_HIDE: function () {
return ut.XT
},
ON_LOAD: function () {
return ut.zV
},
ON_READY: function () {
return ut.IB
},
ON_SHOW: function () {
return ut._0
},
OPTIONS: function () {
return ut.lw
},
PAGE_INIT: function () {
return ut.zP
},
PROPERTY_THRESHOLD: function () {
return ut.Yb
},
PROPS: function () {
return ut.n5
},
PURE_VIEW: function () {
return ut.PD
},
ROOT_STR: function () {
return ut.r7
},
SET_DATA: function () {
return ut.M9
},
SET_TIMEOUT: function () {
return ut.DO
},
STATIC_VIEW: function () {
return ut.fx
},
STYLE: function () {
return ut.Y
},
SVGElement: function () {
return it
},
Style: function () {
return et.O
},
TARGET: function () {
return ut.Qn
},
TARO_RUNTIME: function () {
return ut.Me
},
TIME_STAMP: function () {
return ut.GK
},
TOUCHMOVE: function () {
return ut.vx
},
TYPE: function () {
return ut.ZE
},
TaroElement: function () {
return i.$
},
TaroEvent: function () {
return Q.Nd
},
TaroNode: function () {
return o.X
},
TaroRootElement: function () {
return tt.p
},
TaroText: function () {
return ot.s
},
UID: function () {
return ut.V0
},
URL: function () {
return q.l
},
URLSearchParams: function () {
return J.I
},
VALUE: function () {
return ut.Qg
},
VIEW: function () {
return ut.gR
},
addLeadingSlash: function () {
return bt.tb
},
cancelAnimationFrame: function () {
return Y.Ny
},
convertNumber2PX: function () {
return vt.h6
},
createComponentConfig: function () {
return lt.sq
},
createEvent: function () {
return Q.lh
},
createPageConfig: function () {
return lt.eU
},
createRecursiveComponentConfig: function () {
return lt.s$
},
customWrapperCache: function () {
return vt.DD
},
debounce: function () {
return mt.s
},
document: function () {
return H.F
},
env: function () {
return j.A
},
eventCenter: function () {
return dt.k
},
eventHandler: function () {
return Q.$r
},
eventSource: function () {
return st.K
},
extend: function () {
return vt.X$
},
getComponentsAlias: function () {
return vt.dg
},
getComputedStyle: function () {
return W.S
},
getCurrentInstance: function () {
return ct.n
},
getCurrentPage: function () {
return bt.p$
},
getHomePage: function () {
return bt.rE
},
getOnHideEventKey: function () {
return lt.pW
},
getOnReadyEventKey: function () {
return lt.sQ
},
getOnShowEventKey: function () {
return lt.Er
},
getPageInstance: function () {
return lt.zk
},
getPath: function () {
return lt.Yn
},
handlePolyfill: function () {
return gt
},
hasBasename: function () {
return bt.lA
},
history: function () {
return Z.UW
},
hooks: function () {
return V.JL
},
hydrate: function () {
return ft.Q
},
incrementId: function () {
return vt.F$
},
injectPageInstance: function () {
return lt.wT
},
isComment: function () {
return vt.Cn
},
isElement: function () {
return vt.vq
},
isHasExtractProp: function () {
return vt.Vg
},
isParentBinded: function () {
return vt.Rh
},
isText: function () {
return vt.KH
},
location: function () {
return Z.fC
},
navigator: function () {
return z.C
},
nextTick: function () {
return ht.d
},
now: function () {
return Y.tB
},
options: function () {
return a.f
},
parseUrl: function () {
return q.D
},
perf: function () {
return pt.k
},
removePageInstance: function () {
return lt.RW
},
requestAnimationFrame: function () {
return Y.er
},
safeExecute: function () {
return lt.V5
},
shortcutAttr: function () {
return vt.Oc
},
stringify: function () {
return lt.As
},
stripBasename: function () {
return bt.pb
},
stripSuffix: function () {
return bt.yK
},
stripTrailing: function () {
return bt.Hl
},
throttle: function () {
return mt.n
},
window: function () {
return Z.mw
}
});
var r = n(5714),
i = n(3254),
o = n(4262),
a = n(1071),
u = n(4576),
c = n(5763),
s = n(29),
l = n(5517);
function d(t, e, n) {
for (var r = t.index, i = t.index = r + n, o = r; o < i; o++) {
"\n" === e.charAt(o) ? (t.line++, t.column = 0) : t.column++
}
}
function f(t, e, n) {
return d(t, e, n - t.index)
}
function h(t) {
return {
index: t.index,
line: t.line,
column: t.column
}
}
var p = /\s/;
function v(t) {
return p.test(t)
}
var g = /=/;
function m(t) {
return g.test(t)
}
function b(t) {
var e = t.toLowerCase();
return !!a.f.html.skipElements.has(e)
}
var y = /[A-Za-z0-9]/;
function k(t, e, n) {
if (!v(n.charAt(t))) return !1;
for (var r = n.length, i = t - 1; i > e; i--) {
var o = n.charAt(i);
if (!v(o)) {
if (m(o)) return !1;
break
}
}
for (var a = t + 1; a < r; a++) {
var u = n.charAt(a);
if (!v(u)) return !m(u)
}
}
var A = (0, l.A)((function t(e) {
(0, s.A)(this, t), this.tokens = [], this.position = {
index: 0,
column: 0,
line: 0
}, this.html = e
}), [{
key: "scan",
value: function () {
for (var t = this.html, e = this.position, n = t.length; e.index < n;) {
var r = e.index;
if (this.scanText(), e.index === r)
if (t.startsWith("!--", r + 1)) this.scanComment();
else {
var i = this.scanTag();
b(i) && this.scanSkipTag(i)
}
}
return this.tokens
}
}, {
key: "scanText",
value: function () {
var t = this.html,
e = this.position,
n = function (t, e) {
for (;;) {
var n = t.indexOf("<", e);
if (-1 === n) return n;
var r = t.charAt(n + 1);
if ("/" === r || "!" === r || y.test(r)) return n;
e = n + 1
}
}(t, e.index);
if (n !== e.index) {
-1 === n && (n = t.length);
var r = h(e),
i = t.slice(e.index, n);
f(e, t, n);
var o = h(e);
this.tokens.push({
type: "text",
content: i,
position: {
start: r,
end: o
}
})
}
}
}, {
key: "scanComment",
value: function () {
var t = this.html,
e = this.position,
n = h(e);
d(e, t, 4);
var r = t.indexOf("--\x3e", e.index),
i = r + 3; - 1 === r && (r = i = t.length);
var o = t.slice(e.index, r);
f(e, t, i), this.tokens.push({
type: "comment",
content: o,
position: {
start: n,
end: h(e)
}
})
}
}, {
key: "scanTag",
value: function () {
this.scanTagStart();
var t = this.scanTagName();
return this.scanAttrs(), this.scanTagEnd(), t
}
}, {
key: "scanTagStart",
value: function () {
var t = this.html,
e = this.position,
n = "/" === t.charAt(e.index + 1),
r = h(e);
d(e, t, n ? 2 : 1), this.tokens.push({
type: "tag-start",
close: n,
position: {
start: r
}
})
}
}, {
key: "scanTagEnd",
value: function () {
var t = this.html,
e = this.position,
n = "/" === t.charAt(e.index);
d(e, t, n ? 2 : 1);
var r = h(e);
this.tokens.push({
type: "tag-end",
close: n,
position: {
end: r
}
})
}
}, {
key: "scanTagName",
value: function () {
for (var t = this.html, e = this.position, n = t.length, r = e.index; r < n;) {
var i = t.charAt(r);
if (!v(i) && "/" !== i && ">" !== i) break;
r++
}
for (var o = r + 1; o < n;) {
var a = t.charAt(o);
if (v(a) || "/" === a || ">" === a) break;
o++
}
f(e, t, o);
var u = t.slice(r, o);
return this.tokens.push({
type: "tag",
content: u
}), u
}
}, {
key: "scanAttrs",
value: function () {
for (var t = this.html, e = this.position, n = this.tokens, r = e.index, i = null, o = r, a = [], u = t.length; r < u;) {
var c = t.charAt(r);
if (i) c === i && (i = null), r++;
else {
if ("/" === c || ">" === c) {
r !== o && a.push(t.slice(o, r));
break
}
k(r, o, t) ? (r !== o && a.push(t.slice(o, r)), o = r + 1, r++) : "'" === c || '"' === c ? (i = c, r++) : r++
}
}
f(e, t, r);
for (var s = a.length, l = "attribute", d = 0; d < s; d++) {
var h = a[d];
if (h.includes("=")) {
var p = a[d + 1];
if (p && p.startsWith("=")) {
if (p.length > 1) {
var v = h + p;
n.push({
type: l,
content: v
}), d += 1;
continue
}
var g = a[d + 2];
if (d += 1, g) {
var m = h + "=" + g;
n.push({
type: l,
content: m
}), d += 1;
continue
}
}
}
if (h.endsWith("=")) {
var b = a[d + 1];
if (b && !b.includes("=")) {
var y = h + b;
n.push({
type: l,
content: y
}), d += 1;
continue
}
var A = h.slice(0, -1);
n.push({
type: l,
content: A
})
} else n.push({
type: l,
content: h
})
}
}
}, {
key: "scanSkipTag",
value: function (t) {
for (var e = this.html, n = this.position, r = t.toLowerCase(), i = e.length; n.index < i;) {
var o = e.indexOf("</", n.index);
if (-1 === o) {
this.scanText();
break
}
if (f(n, e, o), r === this.scanTag().toLowerCase()) break
}
}
}]);
function E(t) {
var e = t.charAt(0),
n = t.length - 1;
return ('"' === e || "'" === e) && e === t.charAt(n) ? t.slice(1, n) : t
}
var w = (0, l.A)((function t() {
(0, s.A)(this, t), this.styles = []
}), [{
key: "extractStyle",
value: function (t) {
var e = this,
n = t;
return (n = n.replace(/<style\s?[^>]*>((.|\n|\s)+?)<\/style>/g, (function (t, n) {
var r = n.trim();
return e.stringToSelector(r), ""
}))).trim()
}
}, {
key: "stringToSelector",
value: function (t) {
for (var e = this, n = t.indexOf("{"), r = function () {
var r = t.indexOf("}"),
i = t.slice(0, n).trim(),
o = t.slice(n + 1, r);
o = (o = (o = o.replace(/:(.*);/g, (function (t, e) {
var n = e.trim().replace(/ +/g, "+++");
return ":".concat(n, ";")
}))).replace(/ /g, "")).replace(/\+\+\+/g, " "), /;$/.test(o) || (o += ";"), i.split(",").forEach((function (t) {
var n = e.parseSelector(t);
e.styles.push({
content: o,
selectorList: n
})
})), t = t.slice(r + 1), n = t.indexOf("{")
}; n > -1;) r()
}
}, {
key: "parseSelector",
value: function (t) {
return t.trim().replace(/ *([>~+]) */g, " $1").replace(/ +/g, " ").replace(/\[\s*([^[\]=\s]+)\s*=\s*([^[\]=\s]+)\s*\]/g, "[$1=$2]").split(" ").map((function (t) {
var e = t.charAt(0),
n = {
isChild: ">" === e,
isGeneralSibling: "~" === e,
isAdjacentSibling: "+" === e,
tag: null,
id: null,
class: [],
attrs: []
};
return "" !== (t = (t = (t = t.replace(/^[>~+]/, "")).replace(/\[(.+?)\]/g, (function (t, e) {
var r = e.split("="),
i = (0, u.A)(r, 2),
o = i[0],
a = i[1],
c = -1 === e.indexOf("="),
s = {
all: c,
key: o,
value: c ? null : a
};
return n.attrs.push(s), ""
}))).replace(/([.#][A-Za-z0-9-_]+)/g, (function (t, e) {
return "#" === e[0] ? n.id = e.substr(1) : "." === e[0] && n.class.push(e.substr(1)), ""
}))) && (n.tag = t), n
}))
}
}, {
key: "matchStyle",
value: function (t, e, n) {
var r = this;
return function (t) {
return t.sort((function (t, e) {
var n = C(t.selectorList),
r = C(e.selectorList);
if (n !== r) return n - r;
var i = T(t.selectorList),
o = T(e.selectorList);
return i !== o ? i - o : x(t.selectorList) - x(e.selectorList)
}))
}(this.styles).reduce((function (i, o, a) {
var u = o.content,
c = o.selectorList,
s = n[a],
l = c[s],
d = c[s + 1];
((null == d ? void 0 : d.isGeneralSibling) || (null == d ? void 0 : d.isAdjacentSibling)) && (l = d, s += 1, n[a] += 1);
var f = r.matchCurrent(t, e, l);
if (f && l.isGeneralSibling)
for (var h = S(e); h;) {
if (h.h5tagName && r.matchCurrent(h.h5tagName, h, c[s - 1])) {
f = !0;
break
}
h = S(h), f = !1
}
if (f && l.isAdjacentSibling) {
var p = S(e);
p && p.h5tagName && r.matchCurrent(p.h5tagName, p, c[s - 1]) || (f = !1)
}
if (f) {
if (s === c.length - 1) return i + u;
s < c.length - 1 && (n[a] += 1)
} else l.isChild && s > 0 && (n[a] -= 1, r.matchCurrent(t, e, c[n[a]]) && (n[a] += 1));
return i
}), "")
}
}, {
key: "matchCurrent",
value: function (t, e, n) {
if (n.tag && n.tag !== t) return !1;
if (n.id && n.id !== e.id) return !1;
if (n.class.length)
for (var r = e.className.split(" "), i = 0; i < n.class.length; i++) {
var o = n.class[i];
if (-1 === r.indexOf(o)) return !1
}
if (n.attrs.length)
for (var a = 0; a < n.attrs.length; a++) {
var u = n.attrs[a],
c = u.all,
s = u.key,
l = u.value;
if (c && !e.hasAttribute(s)) return !1;
if (e.getAttribute(s) !== E(l || "")) return !1
}
return !0
}
}]);
function S(t) {
if (!t.parentElement) return null;
var e = t.previousSibling;
return e ? 1 === e.nodeType ? e : S(e) : null
}
function C(t) {
return t.reduce((function (t, e) {
return t + (e.id ? 1 : 0)
}), 0)
}
function T(t) {
return t.reduce((function (t, e) {
return t + e.class.length + e.attrs.length
}), 0)
}
function x(t) {
return t.reduce((function (t, e) {
return t + (e.tag ? 1 : 0)
}), 0)
}
var L = n(6071);
function P(t, e) {
for (var n = Object.create(null), r = t.split(","), i = 0; i < r.length; i++) n[r[i]] = !0;
return function (t) {
return !!n[t.toLowerCase()]
}
}
var I = {
img: "image",
iframe: "web-view"
},
N = P(Object.keys(L.YN).map((function (t) {
return t.toLowerCase()
})).join(",")),
O = P("a,i,abbr,iframe,select,acronym,slot,small,span,bdi,kbd,strong,big,map,sub,sup,br,mark,mark,meter,template,canvas,textarea,cite,object,time,code,output,u,data,picture,tt,datalist,var,dfn,del,q,em,s,embed,samp,b"),
_ = P("address,fieldset,li,article,figcaption,main,aside,figure,nav,blockquote,footer,ol,details,form,p,dialog,h1,h2,h3,h4,h5,h6,pre,dd,header,section,div,hgroup,table,dl,hr,ul,dt"),
R = {
li: ["ul", "ol", "menu"],
dt: ["dl"],
dd: ["dl"],
tbody: ["table"],
thead: ["table"],
tfoot: ["table"],
tr: ["table"],
td: ["table"]
};
function B(t, e) {
var n = R[t];
if (n)
for (var r = e.length - 1; r >= 0;) {
var i = e[r].tagName;
if (i === t) break;
if (n && n.includes(i)) return !0;
r--
}
return !1
}
function M(t) {
var e = t.indexOf("=");
return -1 === e ? [t] : [t.slice(0, e).trim(), t.slice(e + "=".length).trim()]
}
function D(t, e, n, r) {
return t.filter((function (t) {
return "comment" !== t.type && ("text" !== t.type || "" !== t.content)
})).map((function (t) {
if ("text" === t.type) {
var i = e.createTextNode(t.content);
return (0, c.Tn)(a.f.html.transformText) && (i = a.f.html.transformText(i, t)), null == r || r.appendChild(i), i
}
var o = e.createElement(function (t) {
return a.f.html.renderHTMLTag ? t : I[t] ? I[t] : N(t) ? t : _(t) ? "view" : O(t) ? "text" : "view"
}(t.tagName));
o.h5tagName = t.tagName, null == r || r.appendChild(o), a.f.html.renderHTMLTag || (o.className = "h5-".concat(t.tagName));
for (var s = 0; s < t.attributes.length; s++) {
var l = M(t.attributes[s]),
d = (0, u.A)(l, 2),
f = d[0],
h = d[1];
if ("class" === f) o.className += " " + E(h);
else {
if ("o" === f[0] && "n" === f[1]) continue;
o.setAttribute(f, null == h || E(h))
}
}
var p = n.styleTagParser,
v = n.descendantList.slice(),
g = p.matchStyle(t.tagName, o, v);
return o.setAttribute("style", g + o.style.cssText), D(t.children, e, {
styleTagParser: p,
descendantList: v
}, o), (0, c.Tn)(a.f.html.transformElement) ? a.f.html.transformElement(o, t) : o
}))
}
function G(t, e) {
var n = new w;
t = n.extractStyle(t);
var r = {
tagName: "",
children: [],
type: "element",
attributes: []
};
return function t(e) {
var n = e.tokens,
r = e.stack,
i = e.cursor,
o = n.length,
u = r[r.length - 1].children;
for (; i < o;) {
var c = n[i];
if ("tag-start" === c.type) {
var s = n[++i];
i++;
var l = s.content.toLowerCase();
if (c.close) {
for (var d = r.length, f = !1; --d > -1;)
if (r[d].tagName === l) {
f = !0;
break
} for (; i < o;) {
if ("tag-end" !== n[i].type) break;
i++
}
if (f) {
r.splice(d);
break
}
} else {
var h = a.f.html.closingElements.has(l);
if (h && (h = !B(l, r)), h)
for (var p = r.length - 1; p > 0;) {
if (l === r[p].tagName) {
r.splice(p), u = r[p - 1].children;
break
}
p -= 1
}
for (var v = [], g = void 0; i < o && "tag-end" !== (g = n[i]).type;) v.push(g.content), i++;
i++;
var m = [],
b = {
type: "element",
tagName: s.content,
attributes: v,
children: m
};
if (u.push(b), !(g.close || a.f.html.voidElements.has(l))) {
r.push({
tagName: l,
children: m
});
var y = {
tokens: n,
cursor: i,
stack: r
};
t(y), i = y.cursor
}
}
} else u.push(c), i++
}
e.cursor = i
}({
tokens: new A(t).scan(),
cursor: 0,
stack: [r]
}), D(r.children, e, {
styleTagParser: n,
descendantList: Array(n.styles.length).fill(0)
})
}
function F(t, e) {
for (; t.firstChild;) t.removeChild(t.firstChild);
for (var n = G(e, t.ownerDocument), r = 0; r < n.length; r++) t.appendChild(n[r])
}
a.f.html = {
skipElements: new Set(["style", "script"]),
voidElements: new Set(["!doctype", "area", "base", "br", "col", "command", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]),
closingElements: new Set(["html", "head", "body", "p", "dt", "dd", "li", "option", "thead", "th", "tbody", "tr", "td", "tfoot", "colgroup"]),
renderHTMLTag: !1
}, "mini" !== r.pD.WEB && "mini" !== r.pD.HARMONY && (o.X.extend("innerHTML", {
set: function (t) {
F.call(this, this, t)
},
get: function () {
return ""
}
}), i.$.extend("getBoundingClientRect", (function () {
var t = this;
return a.f.miniGlobal ? new Promise((function (e) {
a.f.miniGlobal.createSelectorQuery().select("#".concat(t.uid)).boundingClientRect((function (t) {
e(t)
})).exec()
})) : Promise.resolve(null)
})));
var j = n(4530),
U = n(6664),
V = n(1730),
H = n(9262),
W = n(7278),
$ = n(6752),
K = n(6133),
z = n(9565),
Y = n(2029),
q = n(4701),
J = n(4255),
Z = n(4754),
Q = n(886),
X = n(7030),
tt = n(4824),
et = n(8101),
nt = n(6703),
rt = n(1925),
it = function (t) {
function e() {
return (0, s.A)(this, e), (0, nt.A)(this, e, arguments)
}
return (0, rt.A)(e, t), (0, l.A)(e)
}(i.$),
ot = n(4407),
at = n(4645),
ut = n(3931),
ct = n(5508),
st = n(534),
lt = n(4160),
dt = n(8226),
ft = n(4062),
ht = n(8836),
pt = n(5218),
vt = n(6271);
function gt() {}
var mt = n(1198),
bt = n(4122)
},
3931: function (t, e, n) {
n.d(e, {
$8: function () {
return v
},
$p: function () {
return f
},
A: function () {
return tt
},
DO: function () {
return U
},
FY: function () {
return g
},
GK: function () {
return D
},
HT: function () {
return Q
},
IB: function () {
return z
},
ID: function () {
return m
},
L_: function () {
return A
},
M9: function () {
return u
},
MR: function () {
return p
},
Me: function () {
return o
},
OC: function () {
return G
},
PD: function () {
return S
},
PL: function () {
return N
},
QJ: function () {
return W
},
Qg: function () {
return P
},
Qn: function () {
return _
},
Ru: function () {
return C
},
Su: function () {
return V
},
UX: function () {
return X
},
V0: function () {
return b
},
Vu: function () {
return a
},
Vx: function () {
return d
},
XT: function () {
return q
},
Y: function () {
return k
},
YK: function () {
return $
},
Yb: function () {
return i
},
ZE: function () {
return B
},
_0: function () {
return Y
},
bO: function () {
return I
},
d_: function () {
return Z
},
fx: function () {
return w
},
g3: function () {
return l
},
gR: function () {
return E
},
lw: function () {
return J
},
m$: function () {
return R
},
n5: function () {
return T
},
nG: function () {
return M
},
oF: function () {
return r
},
qb: function () {
return O
},
qv: function () {
return L
},
r7: function () {
return s
},
tp: function () {
return y
},
uq: function () {
return h
},
vH: function () {
return j
},
vx: function () {
return F
},
x_: function () {
return H
},
zO: function () {
return x
},
zP: function () {
return c
},
zV: function () {
return K
}
});
var r, i = 2046,
o = "Taro runtime",
a = "taro-app",
u = "小程序 setData",
c = "页面初始化",
s = "root",
l = "html",
d = "head",
f = "body",
h = "app",
p = "container",
v = "#document",
g = "document-fragment",
m = "id",
b = "uid",
y = "class",
k = "style",
A = "focus",
E = "view",
w = "static-view",
S = "pure-view",
C = "click-view",
T = "props",
x = "dataset",
L = "object",
P = "value",
I = "input",
N = "change",
O = "custom-wrapper",
_ = "target",
R = "currentTarget",
B = "type",
M = "confirm",
D = "timeStamp",
G = "keyCode",
F = "touchmove",
j = "Date",
U = "setTimeout",
V = "compileMode",
H = "catchMove",
W = "catch-view",
$ = "comment",
K = "onLoad",
z = "onReady",
Y = "onShow",
q = "onHide",
J = "options",
Z = "externalClasses",
Q = "e_result",
X = "behaviors",
tt = "a";
! function (t) {
t.INIT = "0", t.RESTORE = "1", t.RECOVER = "2", t.DESTORY = "3"
}(r || (r = {}))
},
4062: function (t, e, n) {
n.d(e, {
Q: function () {
return l
}
});
var r, i, o = n(9371),
a = n(1730),
u = n(3050),
c = n(3931),
s = n(6271);
function l(t) {
var e;
i || (i = (0, s.dg)()), r || (r = a.JL.call("getSpecialNodes"));
var n = t.nodeName,
d = null;
if ((0, s.KH)(t)) return (0, o.A)((0, o.A)({
sid: t.sid
}, "v", t.nodeValue), "nn", (null === (e = i[n]) || void 0 === e ? void 0 : e._num) || "8");
var f = (0, o.A)((0, o.A)({}, "nn", n), "sid", t.sid);
t.uid !== t.sid && (f.uid = t.uid), r.indexOf(n) > -1 && (t.isAnyEventBinded() || (f.nn = "static-".concat(n), n !== c.gR || (0, s.Vg)(t) || (f.nn = c.PD)), n === c.gR && t.isOnlyClickBinded() && !(0, s.Vg)(t) && (f.nn = c.Ru));
var h = t.props;
for (var p in h) {
var v = (0, u.Cb)(p);
p.startsWith("data-") || p === c.tp || p === c.Y || p === c.ID || v === c.x_ || v === c.Su || (f[v] = h[p]), n === c.gR && v === c.x_ && !1 !== h[p] && (f.nn = c.QJ), v === c.Su && (d = h[p])
}
f.cn = t.childNodes.filter((function (t) {
return !(0, s.Cn)(t)
})).map(l), "" !== t.className && (f.cl = t.className);
var g = t.cssText;
"" !== g && "swiper-item" !== n && (f.st = g), a.JL.call("modifyHydrateData", f, t);
var m = f.nn,
b = i[m];
if (b)
for (var y in f.nn = b._num, f) y in b && (f[b[y]] = f[y], delete f[y]);
return null !== d && (f.nn = d), a.JL.call("transferHydrateData", f, t, b) || f
}
},
4122: function (t, e, n) {
n.d(e, {
Hl: function () {
return c
},
lA: function () {
return a
},
p$: function () {
return d
},
pb: function () {
return u
},
rE: function () {
return l
},
tb: function () {
return o
},
yK: function () {
return s
}
});
var r = n(4576),
i = n(4754),
o = function () {
var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "";
return "/" === t.charAt(0) ? t : "/" + t
},
a = function () {
var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "",
e = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : "";
return new RegExp("^" + e + "(\\/|\\?|#|$)", "i").test(t) || t === e
},
u = function () {
var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "",
e = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : "";
return a(t, e) ? t.substring(e.length) : t
},
c = function () {
var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "";
return t.replace(/[?#][\s\S]*$/, "")
},
s = function () {
var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "",
e = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : "";
return t.includes(e) ? t.substring(0, t.length - e.length) : t
},
l = function () {
var t, e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "",
n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : "",
i = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {},
a = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : "",
c = o(u(e, n)),
s = (null === (t = Object.entries(i).find((function (t) {
return (0, r.A)(t, 1)[0] === c
}))) || void 0 === t ? void 0 : t[1]) || c;
return a || ("string" == typeof s ? s : s[0]) || n
},
d = function () {
var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "hash",
e = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : "/",
n = "hash" === t ? i.fC.hash.slice(1).split("?")[0] : i.fC.pathname;
return o(u(n, e))
}
},
4160: function (t, e, n) {
n.d(e, {
As: function () {
return T
},
Er: function () {
return P
},
RW: function () {
return S
},
V5: function () {
return C
},
Yn: function () {
return x
},
eU: function () {
return N
},
pW: function () {
return I
},
s$: function () {
return _
},
sQ: function () {
return L
},
sq: function () {
return O
},
wT: function () {
return E
},
zk: function () {
return w
}
});
var r = n(8460),
i = n(9371),
o = n(4576),
a = n(6071),
u = n(5763),
c = n(1730),
s = n(3050),
l = n(2029),
d = n(4754),
f = n(3931),
h = n(5508),
p = n(886),
v = n(8226),
g = n(4530),
m = n(5218),
b = n(6271),
y = n(4122),
k = new Map,
A = (0, b.F$)();
function E(t, e) {
c.JL.call("mergePageInstance", k.get(e), t), k.set(e, t)
}
function w(t) {
return k.get(t)
}
function S(t) {
k.delete(t)
}
function C(t, e) {
for (var n = arguments.length, r = new Array(n > 2 ? n - 2 : 0), i = 2; i < n; i++) r[i - 2] = arguments[i];
var o = k.get(t);
if (null != o) {
var a = c.JL.call("getLifecycle", o, e);
if ((0, u.cy)(a)) {
var s = a.map((function (t) {
return t.apply(o, r)
}));
return s[0]
}
if ((0, u.Tn)(a)) return a.apply(o, r)
}
}
function T(t) {
if (null == t) return "";
var e = Object.keys(t).map((function (e) {
return e + "=" + t[e]
})).join("&");
return "" === e ? e : "?" + e
}
function x(t, e) {
var n = t.indexOf("?");
return "".concat(n > -1 ? t.substring(0, n) : t).concat(T(e))
}
function L(t) {
return t + "." + f.IB
}
function P(t) {
return t + "." + f._0
}
function I(t) {
return t + "." + f.XT
}
function N(t, e, n, a) {
var b, E, w = null != e ? e : "taro_page_".concat(A()),
S = (0, o.A)(c.JL.call("getMiniLifecycleImpl").page, 7),
T = S[0],
N = S[1],
O = S[2],
_ = S[3],
R = S[4],
B = S[5],
M = S[6],
D = null,
G = !1,
F = [];
function j(t) {
var e = t.route || t.__route__ || t.$taroPath;
h.E.router = {
params: t.$taroParams,
path: (0, y.tb)(e),
$taroPath: t.$taroPath,
onReady: L(w),
onShow: P(w),
onHide: I(w)
}, (0, u.b0)(t.exitState) || (h.E.router.exitState = t.exitState)
}
var U = (0, i.A)((0, i.A)((0, i.A)((0, i.A)((0, i.A)({}, T, (function () {
var e = this,
n = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},
r = arguments.length > 1 ? arguments[1] : void 0;
E = new Promise((function (t) {
b = t
})), m.k.start(f.zP), h.E.page = this, this.config = a || {};
var i = Object.assign({}, n, {
$taroTimestamp: Date.now()
}),
o = this.$taroPath = x(w, i);
null == this.$taroParams && (this.$taroParams = i), j(this), d.mw.trigger(f.oF.INIT, o);
var u = function () {
h.E.app.mount(t, o, (function () {
D = g.A.document.getElementById(o), (0, s.D8)(null !== D, "没有找到页面实例。"), C(o, f.zV, e.$taroParams), b(), D.ctx = e, D.performUpdate(!0, r)
}))
};
G ? F.push(u) : u()
})), N, (function () {
var t = this.$taroPath;
d.mw.trigger(f.oF.DESTORY, t), C(t, N), G = !0, h.E.app.unmount(t, (function () {
G = !1, k.delete(t), D && (D.ctx = null, D = null), F.length && (F.forEach((function (t) {
return t()
})), F = [])
}))
})), O, (function () {
var t = this;
E.then((function () {
C(t.$taroPath, f.IB), (0, l.er)((function () {
return v.k.trigger(L(w))
})), t.onReady.called = !0
}))
})), _, (function () {
var t = this,
e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {};
E.then((function () {
h.E.page = t, j(t), d.mw.trigger(f.oF.RECOVER, t.$taroPath), C(t.$taroPath, f._0, e), (0, l.er)((function () {
return v.k.trigger(P(w))
}))
}))
})), R, (function () {
d.mw.trigger(f.oF.RESTORE, this.$taroPath), h.E.page === this && (h.E.page = null, h.E.router = null), C(this.$taroPath, f.XT), v.k.trigger(I(w))
}));
return B.forEach((function (t) {
var e = !1;
t = t.replace(/^defer:/, (function () {
return e = !0, ""
})), U[t] = function () {
var n = arguments,
i = this,
o = function () {
return C.apply(void 0, [i.$taroPath, t].concat((0, r.A)(n)))
};
if (!e) return o();
E.then(o)
}
})), M.forEach((function (e) {
var n;
(t[e] || (null === (n = t.prototype) || void 0 === n ? void 0 : n[e]) || t[e.replace(/^on/, "enable")] || (null == a ? void 0 : a[e.replace(/^on/, "enable")])) && (U[e] = function () {
for (var t, n = arguments.length, r = new Array(n), i = 0; i < n; i++) r[i] = arguments[i];
var o = null === (t = r[0]) || void 0 === t ? void 0 : t.target;
if (null == o ? void 0 : o.id) {
var a = o.id,
u = g.A.document.getElementById(a);
u && (o.dataset = u.dataset)
}
return C.apply(void 0, [this.$taroPath, e].concat(r))
})
})), U.eh = p.$r, (0, u.b0)(n) || (U.data = n), c.JL.call("modifyPageObject", U), U
}
function O(t, e, n) {
var r = null != e ? e : "taro_component_".concat(A()),
a = null,
l = (0, o.A)(c.JL.call("getMiniLifecycleImpl").component, 2),
d = l[0],
v = l[1],
b = (0, i.A)((0, i.A)((0, i.A)({}, d, (function () {
var e, n = this;
m.k.start(f.zP), this.pageIdCache = (null === (e = this.getPageId) || void 0 === e ? void 0 : e.call(this)) || A();
var i = x(r, {
id: this.pageIdCache
});
h.E.app.mount(t, i, (function () {
a = g.A.document.getElementById(i), (0, s.D8)(null !== a, "没有找到组件实例。"), n.$taroInstances = k.get(i), C(i, f.zV), a.ctx = n, a.performUpdate(!0)
}))
})), v, (function () {
var t = x(r, {
id: this.pageIdCache
});
h.E.app.unmount(t, (function () {
k.delete(t), a && (a.ctx = null)
}))
})), "methods", {
eh: p.$r
});
return (0, u.b0)(n) || (b.data = n), [f.lw, f.d_, f.UX].forEach((function (e) {
var n;
b[e] = null !== (n = t[e]) && void 0 !== n ? n : s.MZ
})), b
}
function _(t) {
var e = t === f.qb,
n = (0, o.A)(c.JL.call("getMiniLifecycleImpl").component, 2),
r = n[0],
l = n[1],
d = e ? (0, i.A)((0, i.A)({}, r, (function () {
var t, e, n = (null === (t = this.data.i) || void 0 === t ? void 0 : t.sid) || (null === (e = this.props.i) || void 0 === e ? void 0 : e.sid);
if ((0, u.Kg)(n)) {
b.DD.set(n, this);
var r = g.A.document.getElementById(n);
r && (r.ctx = this)
}
})), l, (function () {
var t, e, n = (null === (t = this.data.i) || void 0 === t ? void 0 : t.sid) || (null === (e = this.props.i) || void 0 === e ? void 0 : e.sid);
if ((0, u.Kg)(n)) {
b.DD.delete(n);
var r = g.A.document.getElementById(n);
r && (r.ctx = null)
}
})) : s.MZ;
return c.JL.call("modifyRecursiveComponentConfig", Object.assign({
properties: {
i: {
type: Object,
value: (0, i.A)({}, "nn", (0, s.dg)(a.YN)[f.gR]._num)
},
l: {
type: String,
value: ""
}
},
options: Object.assign(Object.assign({}, {}), {
virtualHost: !e
}),
methods: {
eh: p.$r
}
}, d), {
isCustomWrapper: e
})
}
},
4255: function (t, e, n) {
n.d(e, {
I: function () {
return m
}
});
var r, i, o = n(29),
a = n(5517),
u = n(5482),
c = n(5763),
s = /[!'()~]|%20|%00/g,
l = /\+/g,
d = {
"!": "%21",
"'": "%27",
"(": "%28",
")": "%29",
"~": "%7E",
"%20": "+",
"%00": "\0"
};
function f(t) {
return d[t]
}
function h(t, e, n) {
var r = (0, c.cy)(n) ? n.join(",") : n;
e in t ? t[e].push(r) : t[e] = [r]
}
function p(t, e) {
h(this, e, t)
}
function v(t) {
return decodeURIComponent(t.replace(l, " "))
}
function g(t) {
return encodeURIComponent(t).replace(s, f)
}
var m = (i = (0, a.A)((function t(e) {
(0, o.A)(this, t), r.set(this, Object.create(null)), null != e || (e = "");
var n = (0, u.gn)(this, r, "f");
if ("string" == typeof e) {
"?" === e.charAt(0) && (e = e.slice(1));
for (var i = e.split("&"), a = 0, s = i.length; a < s; a++) {
var l = i[a],
d = l.indexOf("=");
try {
d > -1 ? h(n, v(l.slice(0, d)), v(l.slice(d + 1))) : l.length && h(n, v(l), "")
} catch (t) {}
}
} else if ((0, c.cy)(e))
for (var f = 0, g = e.length; f < g; f++) {
var m = e[f];
h(n, m[0], m[1])
} else if (e.forEach) e.forEach(p, n);
else
for (var b in e) h(n, b, e[b])
}), [{
key: "append",
value: function (t, e) {
h((0, u.gn)(this, r, "f"), t, e)
}
}, {
key: "delete",
value: function (t) {
delete(0, u.gn)(this, r, "f")[t]
}
}, {
key: "get",
value: function (t) {
var e = (0, u.gn)(this, r, "f");
return t in e ? e[t][0] : null
}
}, {
key: "getAll",
value: function (t) {
var e = (0, u.gn)(this, r, "f");
return t in e ? e[t].slice(0) : []
}
}, {
key: "has",
value: function (t) {
return t in (0, u.gn)(this, r, "f")
}
}, {
key: "keys",
value: function () {
return Object.keys((0, u.gn)(this, r, "f"))
}
}, {
key: "set",
value: function (t, e) {
(0, u.gn)(this, r, "f")[t] = ["" + e]
}
}, {
key: "forEach",
value: function (t, e) {
var n = (0, u.gn)(this, r, "f");
Object.getOwnPropertyNames(n).forEach((function (r) {
n[r].forEach((function (n) {
t.call(e, n, r, this)
}), this)
}), this)
}
}, {
key: "toJSON",
value: function () {
return {}
}
}, {
key: "toString",
value: function () {
var t = (0, u.gn)(this, r, "f"),
e = [];
for (var n in t)
for (var i = g(n), o = 0, a = t[n]; o < a.length; o++) e.push(i + "=" + g(a[o]));
return e.join("&")
}
}]), r = new WeakMap, i)
},
4262: function (t, e, n) {
n.d(e, {
X: function () {
return b
}
});
var r = n(29),
i = n(5517),
o = n(6703),
a = n(1925),
u = n(3050),
c = n(1730),
s = n(3931),
l = n(4645),
d = n(4530),
f = n(4062),
h = n(6271),
p = n(534),
v = n(5763),
g = (0, i.A)((function t() {
(0, r.A)(this, t), this.__handlers = {}
}), [{
key: "addEventListener",
value: function (t, e, n) {
if (t = t.toLowerCase(), c.JL.call("onAddEvent", t, e, n, this), "regionchange" === t) return this.addEventListener("begin", e, n), void this.addEventListener("end", e, n);
Boolean(n);
var r = !1;
if ((0, v.Gv)(n) && (Boolean(n.capture), r = Boolean(n.once)), r) {
var i = function () {
e.apply(this, arguments), this.removeEventListener(t, i)
};
this.addEventListener(t, i, Object.assign(Object.assign({}, n), {
once: !1
}))
} else {
var o = e;
(e = function () {
return o.apply(this, arguments)
}).oldHandler = o;
var a = this.__handlers[t];
(0, v.cy)(a) ? a.push(e): this.__handlers[t] = [e]
}
}
}, {
key: "removeEventListener",
value: function (t, e) {
if ("regionchange" === (t = t.toLowerCase())) return this.removeEventListener("begin", e), void this.removeEventListener("end", e);
if (e) {
var n = this.__handlers[t];
if ((0, v.cy)(n)) {
var r = n.findIndex((function (t) {
if (t === e || t.oldHandler === e) return !0
}));
n.splice(r, 1)
}
}
}
}, {
key: "isAnyEventBinded",
value: function () {
var t = this.__handlers,
e = Object.keys(t).find((function (e) {
return t[e].length
}));
return Boolean(e)
}
}, {
key: "isOnlyClickBinded",
value: function () {
var t = this.__handlers,
e = t.tap && 1 === Object.keys(t).length;
return Boolean(e)
}
}]),
m = (0, h.F$)(),
b = function (t) {
function e() {
var t;
return (0, r.A)(this, e), (t = (0, o.A)(this, e)).parentNode = null, t.childNodes = [], t.hydrate = function (t) {
return function () {
return (0, f.Q)(t)
}
}, t.uid = "_" + m(), t.sid = t.uid, p.K.set(t.sid, t), t
}
return (0, a.A)(e, t), (0, i.A)(e, [{
key: "updateChildNodes",
value: function (t) {
var e = this;
this.enqueueUpdate({
path: "".concat(this._path, ".").concat("cn"),
value: t ? function () {
return []
} : function () {
return e.childNodes.filter((function (t) {
return !(0, h.Cn)(t)
})).map(f.Q)
}
})
}
}, {
key: "updateSingleChild",
value: function (t) {
var e = this;
this.childNodes.forEach((function (n, r) {
(0, h.Cn)(n) || t && r < t || e.enqueueUpdate({
path: n._path,
value: e.hydrate(n)
})
}))
}
}, {
key: "_root",
get: function () {
var t;
return (null === (t = this.parentNode) || void 0 === t ? void 0 : t._root) || null
}
}, {
key: "findIndex",
value: function (t) {
var e = this.childNodes.indexOf(t);
return (0, u.D8)(-1 !== e, "The node to be replaced is not a child of this node."), e
}
}, {
key: "_path",
get: function () {
var t = this.parentNode;
if (t) {
var e = t.childNodes.filter((function (t) {
return !(0, h.Cn)(t)
})).indexOf(this),
n = c.JL.call("getPathIndex", e);
return "".concat(t._path, ".").concat("cn", ".").concat(n)
}
return ""
}
}, {
key: "nextSibling",
get: function () {
var t = this.parentNode;
return (null == t ? void 0 : t.childNodes[t.findIndex(this) + 1]) || null
}
}, {
key: "previousSibling",
get: function () {
var t = this.parentNode;
return (null == t ? void 0 : t.childNodes[t.findIndex(this) - 1]) || null
}
}, {
key: "parentElement",
get: function () {
var t = this.parentNode;
return 1 === (null == t ? void 0 : t.nodeType) ? t : null
}
}, {
key: "firstChild",
get: function () {
return this.childNodes[0] || null
}
}, {
key: "lastChild",
get: function () {
var t = this.childNodes;
return t[t.length - 1] || null
}
}, {
key: "textContent",
set: function (t) {
for (var e = this.childNodes.slice(), n = []; this.firstChild;) this.removeChild(this.firstChild, {
doUpdate: !1
});
if ("" === t) this.updateChildNodes(!0);
else {
var r = d.A.document.createTextNode(t);
n.push(r), this.appendChild(r), this.updateChildNodes()
}
l._.record({
type: "childList",
target: this,
removedNodes: e,
addedNodes: n
})
}
}, {
key: "insertBefore",
value: function (t, e, n) {
var r = this;
if (t.nodeName === s.FY) return t.childNodes.reduceRight((function (t, e) {
return r.insertBefore(e, t), e
}), e), t;
t.remove({
cleanRef: !1
});
var i = 0;
t.parentNode = this, e ? (i = this.findIndex(e), this.childNodes.splice(i, 0, t)) : this.childNodes.push(t);
var o = this.childNodes.length;
if (this._root)
if (e) {
if (n) this.enqueueUpdate({
path: t._path,
value: this.hydrate(t)
});
else 2 * o / 3 > i ? this.updateChildNodes() : this.updateSingleChild(i)
} else {
1 === o ? this.updateChildNodes() : this.enqueueUpdate({
path: t._path,
value: this.hydrate(t)
})
} return l._.record({
type: "childList",
target: this,
addedNodes: [t],
removedNodes: n ? [e] : [],
nextSibling: n ? e.nextSibling : e || null,
previousSibling: t.previousSibling
}), t
}
}, {
key: "appendChild",
value: function (t) {
return this.insertBefore(t)
}
}, {
key: "replaceChild",
value: function (t, e) {
if (e.parentNode === this) return this.insertBefore(t, e, !0), e.remove({
doUpdate: !1
}), e
}
}, {
key: "removeChild",
value: function (t) {
var e = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {},
n = e.cleanRef,
r = e.doUpdate;
!1 !== n && !1 !== r && l._.record({
type: "childList",
target: this,
removedNodes: [t],
nextSibling: t.nextSibling,
previousSibling: t.previousSibling
});
var i = this.findIndex(t);
return this.childNodes.splice(i, 1), t.parentNode = null, !1 !== n && p.K.removeNodeTree(t), this._root && !1 !== r && this.updateChildNodes(), t
}
}, {
key: "remove",
value: function (t) {
var e;
null === (e = this.parentNode) || void 0 === e || e.removeChild(this, t)
}
}, {
key: "hasChildNodes",
value: function () {
return this.childNodes.length > 0
}
}, {
key: "enqueueUpdate",
value: function (t) {
var e;
null === (e = this._root) || void 0 === e || e.enqueueUpdate(t)
}
}, {
key: "ownerDocument",
get: function () {
return d.A.document
}
}], [{
key: "extend",
value: function (t, n) {
(0, h.X$)(e, t, n)
}
}])
}(g)
},
4269: function (t, e, n) {
n.d(e, {
$n: function () {
return o
},
Ad: function () {
return g
},
BM: function () {
return l
},
Ce: function () {
return p
},
EY: function () {
return i
},
Hl: function () {
return v
},
JU: function () {
return u
},
RC: function () {
return d
},
RW: function () {
return b
},
SC: function () {
return m
},
Ss: function () {
return r
},
_V: function () {
return h
},
pd: function () {
return a
},
sx: function () {
return c
},
wu: function () {
return f
},
z6: function () {
return s
}
});
var r = "view",
i = "text",
o = "button",
a = "input",
u = "label",
c = "radio",
s = "radio-group",
l = "scroll-view",
d = "swiper",
f = "swiper-item",
h = "image",
p = "video",
v = "canvas",
g = "ad",
m = "web-view",
b = "custom-wrapper"
},
4407: function (t, e, n) {
n.d(e, {
s: function () {
return c
}
});
var r = n(29),
i = n(5517),
o = n(6703),
a = n(1925),
u = n(4645),
c = function (t) {
function e(t) {
var n;
return (0, r.A)(this, e), (n = (0, o.A)(this, e)).nodeType = 3, n.nodeName = "#text", n._value = t, n
}
return (0, a.A)(e, t), (0, i.A)(e, [{
key: "textContent",
get: function () {
return this._value
},
set: function (t) {
u._.record({
target: this,
type: "characterData",
oldValue: this._value
}), this._value = t, this.enqueueUpdate({
path: "".concat(this._path, ".", "v"),
value: t
})
}
}, {
key: "nodeValue",
get: function () {
return this._value
},
set: function (t) {
this.textContent = t
}
}, {
key: "data",
get: function () {
return this._value
},
set: function (t) {
this.textContent = t
}
}])
}(n(4262).X)
},
4456: function (t, e, n) {
n.r(e), n.d(e, {
createPortal: function () {
return ot
},
createRoot: function () {
return X
},
default: function () {
return ut
},
findDOMNode: function () {
return rt
},
flushSync: function () {
return at
},
internalInstanceKey: function () {
return w
},
render: function () {
return Q
},
unmountComponentAtNode: function () {
return nt
},
unstable_batchedUpdates: function () {
return et
}
});
var r = n(29),
i = n(5517),
o = n(9371),
a = n(4576),
u = n(9476),
c = n(6071),
s = n(5714),
l = n(5763),
d = n(1730),
f = n(3050),
h = n(9262),
p = n(7030),
v = n(6271),
g = n(989),
m = n.n(g),
b = n(5588),
y = {
color: !0,
date: !0,
datetime: !0,
"datetime-local": !0,
email: !0,
month: !0,
number: !0,
password: !0,
range: !0,
search: !0,
tel: !0,
text: !0,
time: !0,
url: !0,
week: !0
};
function k(t) {
switch (t) {
case "cancel":
case "click":
case "close":
case "contextmenu":
case "copy":
case "cut":
case "dragend":
case "dragstart":
case "drop":
case "input":
case "paste":
case "pause":
case "play":
case "pointercancel":
case "pointerdown":
case "pointerup":
case "reset":
case "resize":
case "submit":
case "touchcancel":
case "touchend":
case "touchstart":
case "change":
case "blur":
case "focus":
case "select":
case "selectstart":
return 1;
case "drag":
case "dragenter":
case "dragexit":
case "dragleave":
case "dragover":
case "pointermove":
case "pointerout":
case "pointerover":
case "scroll":
case "toggle":
case "touchmove":
case "pointerenter":
case "pointerleave":
return 4;
default:
return 16
}
}
var A = Math.random().toString(36).slice(2),
E = "__reactProps$" + A,
w = "__reactFiber$" + A,
S = "__reactContainer$" + A;
function C(t, e) {
e[w] = t
}
function T(t, e) {
e[S] = t
}
function x(t) {
var e = t[w] || t[S];
return !e || 5 !== e.tag && 6 !== e.tag && 13 !== e.tag && 3 !== e.tag ? null : e
}
function L(t, e) {
t[E] = e
}
function P(t) {
return "" + t
}
function I(t, e, n) {
! function (t, e, n) {
var r = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : "string";
null != n ? "number" === r ? (0 === n && "" === t.value || e != n) && (t.value = P(n)) : e !== P(n) && (t.value = P(n)) : "submit" !== r && "reset" !== r || t.removeAttribute("value")
}(t, e, function (t) {
return "function" == typeof t || "symbol" === (0, u.A)(t) ? "" : t
}(n.value), n.type)
}
var N = I,
O = function (t, e, n) {
null == n.checked && (I(t, e, n), function (t, e) {
e.name, e.type
}(0, n))
};
function _(t) {
return t._valueTracker
}
function R(t) {
_(t) || (t._valueTracker = function (t) {
var e = function (t) {
var e = t.type,
n = t.nodeName;
return n && "input" === n.toLowerCase() && ("checkbox" === e || "radio" === e)
}(t) ? "checked" : "value",
n = Object.getOwnPropertyDescriptor(t.constructor.prototype, e),
r = "" + t[e];
if (!t.hasOwnProperty(e) && void 0 !== n && "function" == typeof n.get && "function" == typeof n.set) {
var i = n.get,
o = n.set;
return Object.defineProperty(t, e, {
configurable: !0,
enumerable: n.enumerable,
get: function () {
return i.call(this)
},
set: function (t) {
r = "" + t, o.call(this, t)
}
}), {
getValue: function () {
return r
},
setValue: function (t) {
r = "" + t
},
stopTracking: function () {
(function (t) {
t._valueTracker = null
})(t), delete t[e]
}
}
}
}(t))
}
var B = /aspect|acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;
function M(t, e) {
if (t === e) return !0;
if ("object" !== (0, u.A)(t) || null === t || "object" !== (0, u.A)(e) || null === e) return !1;
var n = Object.keys(t),
r = Object.keys(e);
if (n.length !== r.length) return !1;
for (var i = 0; i < n.length; i++) {
var o = n[i];
if (t[o] !== e[o]) return !1
}
return !0
}
function D(t, e, n) {
for (var r = [], i = null, o = function () {
var o = n[a],
u = n[a + 1],
c = e[o];
if ("mini" === s.pD.HARMONY) {
if ("__fixed" === o) return i = function () {
return U(t, o, u, c)
}, 1;
"__hmStyle" === o ? r.splice(0, 0, (function () {
return function (t, e, n) {
var r = t._st.hmStyle;
if ((0, l.Gv)(n))
for (var i in n) e && i in e || ("mini" === s.pD.HARMONY ? "::after" === i || "::before" === i ? V(t, i, null) : ["::first-child", "::last-child", "::empty"].includes(i) || 0 === "".concat(i).indexOf("::nth-child") ? t.set_pseudo_class(i, null) : ("position" === i && "fixed" === n[i] ? t.setLayer(0) : "animationName" === i && t.setAnimation(!1), r[i] = "") : r[i] = "");
if ((0, l.Gv)(e))
for (var o in e) n && M(e[o], n[o]) || ("mini" === s.pD.HARMONY ? "::after" === o || "::before" === o ? V(t, o, e[o]) : ["::first-child", "::last-child", "::empty"].includes(o) || o.startsWith("::nth-child") ? t.set_pseudo_class(o, e[o]) : ("position" === o ? ("fixed" === e[o] || "fixed" !== e[o] && (null == n ? void 0 : n[o])) && t.setLayer("fixed" === e[o] ? 1 : 0) : "animationName" === o && t.setAnimation(!0), r[o] = e[o]) : r[o] = e[o]);
t.setAttribute("__hmStyle", e)
}(t, u, c)
})) : r.push((function () {
return U(t, o, u, c)
}))
} else U(t, o, u, c)
}, a = 0; a < n.length; a += 2) o();
if ("mini" === s.pD.HARMONY) {
i && i();
for (var u = 0; u < r.length; u++) r[u]()
}
}
function G(t, e, n) {
var r, i = null;
for (r in e) r in n || (i = i || []).push(r, null);
var o = t instanceof p.Z;
for (r in n)
if (e[r] !== n[r] || o && "value" === r) {
if ("style" === r && (0, l.Gv)(e[r]) && (0, l.Gv)(n[r]) && M(e[r], n[r])) continue;
(i = i || []).push(r, n[r])
} return i
}
function F(t, e, n, r) {
var i = e.endsWith("Capture"),
o = e.toLowerCase().slice(2);
i && (o = o.slice(0, -7));
var a = (0, f.ZH)((0, f.Cb)(t.tagName.toLowerCase()));
"click" === o && "mini" !== s.pD.HARMONY && a in c.YN && (o = "tap"), (0, l.Tn)(n) ? r ? (t.removeEventListener(o, r, "mini" === s.pD.HARMONY && void 0), t.addEventListener(o, n, "mini" !== s.pD.HARMONY ? {
isCapture: i,
sideEffect: !1
} : void 0)) : t.addEventListener(o, n, "mini" !== s.pD.HARMONY ? i : void 0) : t.removeEventListener(o, r)
}
function j(t, e, n) {
"-" !== e[0] || "mini" === s.pD.HARMONY ? t[e] = (0, l.Et)(n) && !1 === B.test(e) ? "mini" === s.pD.HARMONY ? n + "px" : (0, v.h6)(n) : null === n ? "" : n : t.setProperty(e, n.toString())
}
function U(t, e, n, r) {
var i, o;
if ("key" === (e = "className" === e ? "class" : e) || "children" === e || "ref" === e);
else if ("style" === e) {
if (/harmony.*cpp/.test("weapp")) return t.setAttribute("_style4cpp", n);
var a = t.style;
if ((0, l.Kg)(n)) a.cssText = n;
else {
if ((0, l.Kg)(r) && (a.cssText = "", r = null), (0, l.Gv)(r))
for (var u in r) n && u in n || ("mini" === s.pD.HARMONY && "position" === u && "fixed" === r[u] && t.setLayer(0), j(a, u, ""));
if ((0, l.Gv)(n))
for (var c in n) r && M(n[c], r[c]) || ("mini" === s.pD.HARMONY && "position" === c && ("fixed" === n[c] || "fixed" !== n[c] && (null == r ? void 0 : r[c])) && t.setLayer("fixed" === n[c] ? 1 : 0), j(a, c, n[c]))
}
} else if (function (t) {
return "o" === t[0] && "n" === t[1]
}(e)) F(t, e, n, r);
else if ("dangerouslySetInnerHTML" === e) {
var d = null !== (i = null == n ? void 0 : n.__html) && void 0 !== i ? i : "",
f = null !== (o = null == r ? void 0 : r.__html) && void 0 !== o ? o : "";
(d || f) && f !== d && (t.innerHTML = d)
} else(0, l.Tn)(n) || (null == n ? t.removeAttribute(e) : t.setAttribute(e, n))
}
function V(t, e, n) {
"::after" === e ? t.set_pseudo_after(n) : "::before" === e && t.set_pseudo_before(n)
}
var H = {
getPublicInstance: function (t) {
return t
},
getRootHostContext: function () {
return {}
},
getChildHostContext: function (t) {
return t
},
prepareForCommit: function () {
return null
},
resetAfterCommit: f.lQ,
createInstance: function (t, e, n, r, i) {
var o = h.F.createElement(t);
return C(i, o), L(o, e), o
},
appendInitialChild: function (t, e) {
t.appendChild(e)
},
finalizeInitialChildren: function (t, e, n) {
var r = n;
if (t instanceof p.Z) {
var i = ["switch", "checkbox", "radio"].includes(e) ? ["checked", "defaultChecked"] : ["value", "defaultValue"],
u = (0, a.A)(i, 2),
c = u[0],
s = u[1];
n.hasOwnProperty(s) && delete(r = Object.assign(Object.assign({}, r), (0, o.A)({}, c, n[s])))[s]
}
return function (t, e, n) {
var r = G(t, e, n);
r && D(t, e, r)
}(t, {}, r), "input" !== e && "textarea" !== e || R(t), !1
},
prepareUpdate: function (t, e, n, r) {
return G(t, n, r)
},
shouldSetTextContent: function () {
return !1
},
createTextInstance: function (t, e, n, r) {
var i = h.F.createTextNode(t);
return C(r, i), i
},
scheduleTimeout: setTimeout,
cancelTimeout: clearTimeout,
noTimeout: -1,
isPrimaryRenderer: !0,
warnsIfNotActing: !0,
supportsMutation: !0,
supportsPersistence: !1,
supportsHydration: !1,
getInstanceFromNode: function () {
return null
},
beforeActiveInstanceBlur: f.lQ,
afterActiveInstanceBlur: f.lQ,
preparePortalMount: f.lQ,
prepareScopeUpdate: f.lQ,
getInstanceFromScope: function () {
return null
},
getCurrentEventPriority: function () {
return b.DefaultEventPriority
},
detachDeletedInstance: f.lQ,
supportsMicrotasks: !0,
scheduleMicrotask: (0, l.b0)(Promise) ? setTimeout : function (t) {
return Promise.resolve(null).then(t).catch((function (t) {
setTimeout((function () {
throw t
}))
}))
},
appendChild: function (t, e) {
t.appendChild(e)
},
appendChildToContainer: function (t, e) {
t.appendChild(e)
},
commitTextUpdate: function (t, e, n) {
t.nodeValue = n
},
commitMount: f.lQ,
commitUpdate: function (t, e, n, r, i) {
e && (2 === e.length && e.includes("children") || (D(t, r, e), L(t, i)))
},
insertBefore: function (t, e, n) {
t.insertBefore(e, n)
},
insertInContainerBefore: function (t, e, n) {
t.insertBefore(e, n)
},
removeChild: function (t, e) {
t.removeChild(e)
},
removeChildFromContainer: function (t, e) {
t.removeChild(e)
},
resetTextContent: f.lQ,
hideInstance: function (t) {
t.style.setProperty("display", "none")
},
hideTextInstance: function (t) {
t.nodeValue = ""
},
unhideInstance: function (t, e) {
var n = e.style,
r = (null == n ? void 0 : n.hasOwnProperty("display")) ? n.display : null;
r = null == r || (0, l.Lm)(r) || "" === r ? "" : ("" + r).trim(), t.style.display = r
},
unhideTextInstance: function (t, e) {
t.nodeValue = e
},
clearContainer: function (t) {
t.childNodes.length > 0 && (t.textContent = "")
}
},
W = m()(H),
$ = null;
function K(t, e) {
var n, r, i = x(e),
o = t.type;
if (i && function (t) {
var e = t && t.nodeName && t.nodeName.toLowerCase();
if ("input" === e) {
var n = t.type;
return !n || !!y[n]
}
return "textarea" === e
}(e) && ("input" === o || "change" === o)) return function (t, e) {
var n = function (t) {
if (5 === t.tag || 6 === t.tag) return t.stateNode
}(t);
return !!n && (function (t, e) {
if (!t) return !1;
var n = _(t);
return !n || e !== n.getValue() && (n.setValue(e), !0)
}(n, e) ? t : void 0)
}(i, P(null === (r = null === (n = t.mpEvent) || void 0 === n ? void 0 : n.detail) || void 0 === r ? void 0 : r.value))
}
function z(t) {
$ ? $.push(t) : $ = [t]
}
function Y() {
null !== $ && (W.flushSync(), function () {
if ($) {
var t = $;
$ = null;
for (var e = 0; e < t.length; e++) q(t[e])
}
}())
}
function q(t) {
var e = x(t.target);
if (e) {
var n = e.stateNode,
r = e.type;
if (n) {
var i = function (t) {
return t[E] || null
}(n);
! function (t, e, n, r) {
switch (e) {
case "input":
O(t, n, r);
break;
case "textarea":
N(t, n, r)
}
}(n, r, t.value, i)
}
}
}
var J = new WeakMap,
Z = (0, i.A)((function t(e, n, i) {
(0, r.A)(this, t), this.renderer = e, this.initInternalRoot(e, n, i)
}), [{
key: "initInternalRoot",
value: function (t, e, n) {
var r = e;
if (n) {
var i = !1,
o = "",
a = function (t) {},
u = null;
!0 === n.unstable_strictMode && (i = !0), void 0 !== n.identifierPrefix && (o = n.identifierPrefix), void 0 !== n.onRecoverableError && (a = n.onRecoverableError), void 0 !== n.unstable_transitionCallbacks && (u = n.unstable_transitionCallbacks), this.internalRoot = t.createContainer(r, 1, null, i, !1, o, a, u)
} else this.internalRoot = t.createContainer(r, 0, null, !1, !1, "", (function () {}), null)
}
}, {
key: "render",
value: function (t, e) {
var n = this.renderer,
r = this.internalRoot;
return n.updateContainer(t, r, null, e), n.getPublicRootInstance(r)
}
}, {
key: "unmount",
value: function (t) {
this.renderer.updateContainer(null, this.internalRoot, null, t)
}
}]);
function Q(t, e, n) {
var r = J.get(e);
if (null != r) return r.render(t, n);
var i = new Z(W, e);
return J.set(e, i), i.render(t, n)
}
function X(t) {
var e, n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {},
r = J.get(t);
if (null != r) return r;
var i = new Z(W, t, n);
return J.set(t, i), T(null === (e = null == i ? void 0 : i.internalRoot) || void 0 === e ? void 0 : e.current, t), d.JL.tap("dispatchTaroEvent", (function (t, e) {
var n = k(t.type);
W.runWithPriority(n, (function () {
e && e.dispatchEvent && e.dispatchEvent(t)
}))
})), d.JL.tap("modifyTaroEvent", (function (t, e) {
var n, r;
K(t, e) && z({
target: e,
value: null === (r = null === (n = t.mpEvent) || void 0 === n ? void 0 : n.detail) || void 0 === r ? void 0 : r.value
})
})), i
}
var tt = !1,
et = function (t, e) {
if (tt) return t(e);
tt = !0;
try {
return W.batchedUpdates(t, e)
} finally {
tt = !1, Y()
}
};
function nt(t) {
(0, f.D8)(t && [1, 8, 9, 11].includes(t.nodeType), "unmountComponentAtNode(...): Target container is not a DOM element.");
var e = J.get(t);
return !!e && (et((function () {
e.unmount((function () {
J.delete(t)
}))
}), null), !0)
}
function rt(t) {
if (null == t) return null;
var e = t.nodeType;
return 1 === e || 3 === e ? t : W.findHostInstance(t)
}
var it = (0, l.Tn)(Symbol) && Symbol.for ? Symbol.for("react.portal") : 60106;
function ot(t, e, n) {
return {
$$typeof: it,
key: null == n ? null : String(n),
children: t,
containerInfo: e,
implementation: null
}
}
var at = W.flushSync,
ut = {
render: Q,
flushSync: at,
createRoot: X,
unstable_batchedUpdates: et,
unmountComponentAtNode: nt,
findDOMNode: rt,
createPortal: ot,
internalInstanceKey: w
}
},
4530: function (t, e, n) {
n.d(e, {
A: function () {
return i
}
});
var r = n(3050),
i = {
window: r.MZ,
document: r.MZ
}
},
4645: function (t, e, n) {
n.d(e, {
_: function () {
return d
}
});
var r = n(29),
i = n(5517),
o = n(3050),
a = [],
u = function (t, e) {
return !!t && t.sid === (null == e ? void 0 : e.sid)
},
c = function (t, e) {
var n = e.characterData,
r = e.characterDataOldValue,
i = e.attributes,
o = e.attributeOldValue,
a = e.childList;
switch (t.type) {
case "characterData":
return !!n && (r || (t.oldValue = null), !0);
case "attributes":
return !!i && (o || (t.oldValue = null), !0);
case "childList":
return !!a
}
},
s = !1;
function l(t, e) {
t.records.push(e), s || (s = !0, Promise.resolve().then((function () {
s = !1, a.forEach((function (t) {
return t.callback(t.takeRecords())
}))
})))
}
var d = (0, i.A)((function t(e) {
(0, r.A)(this, t), this.core = {
observe: o.lQ,
disconnect: o.lQ,
takeRecords: o.lQ
}
}), [{
key: "observe",
value: function () {
var t;
(t = this.core).observe.apply(t, arguments)
}
}, {
key: "disconnect",
value: function () {
this.core.disconnect()
}
}, {
key: "takeRecords",
value: function () {
return this.core.takeRecords()
}
}], [{
key: "record",
value: function (t) {
! function (t) {
a.forEach((function (e) {
for (var n = e.options, r = t.target; r; r = r.parentNode) {
if (u(e.target, r) && c(t, n)) {
l(e, t);
break
}
if (!n.subtree) break
}
}))
}(t)
}
}])
},
4701: function (t, e, n) {
n.d(e, {
D: function () {
return g
},
l: function () {
return v
}
});
var r, i, o, a, u, c, s = n(29),
l = n(5517),
d = n(5482),
f = n(5763),
h = n(4255),
p = (0, l.A)((function t(e, n) {
(0, s.A)(this, t), r.set(this, ""), i.set(this, ""), o.set(this, ""), a.set(this, ""), u.set(this, ""), c.set(this, void 0), (0, f.Kg)(e) || (e = String(e));
var l = m(e, n),
p = l.hash,
v = l.hostname,
g = l.pathname,
b = l.port,
y = l.protocol,
k = l.search;
(0, d.GG)(this, r, p, "f"), (0, d.GG)(this, i, v, "f"), (0, d.GG)(this, o, g || "/", "f"), (0, d.GG)(this, a, b, "f"), (0, d.GG)(this, u, y, "f"), (0, d.GG)(this, c, new h.I(k), "f")
}), [{
key: "protocol",
get: function () {
return (0, d.gn)(this, u, "f")
},
set: function (t) {
(0, f.Kg)(t) && (0, d.GG)(this, u, t.trim(), "f")
}
}, {
key: "host",
get: function () {
return this.hostname + (this.port ? ":" + this.port : "")
},
set: function (t) {
if (t && (0, f.Kg)(t)) {
t = t.trim();
var e = g("//".concat(t)),
n = e.hostname,
r = e.port;
this.hostname = n, this.port = r
}
}
}, {
key: "hostname",
get: function () {
return (0, d.gn)(this, i, "f")
},
set: function (t) {
t && (0, f.Kg)(t) && (0, d.GG)(this, i, t.trim(), "f")
}
}, {
key: "port",
get: function () {
return (0, d.gn)(this, a, "f")
},
set: function (t) {
(0, f.Kg)(t) && (0, d.GG)(this, a, t.trim(), "f")
}
}, {
key: "pathname",
get: function () {
return (0, d.gn)(this, o, "f")
},
set: function (t) {
if ((0, f.Kg)(t)) {
for (var e = /^(\/|\.\/|\.\.\/)/, n = t = t.trim(); e.test(n);) n = n.replace(e, "");
n ? (0, d.GG)(this, o, "/" + n, "f") : (0, d.GG)(this, o, "/", "f")
}
}
}, {
key: "search",
get: function () {
var t = (0, d.gn)(this, c, "f").toString();
return 0 === t.length || t.startsWith("?") ? t : "?".concat(t)
},
set: function (t) {
(0, f.Kg)(t) && (t = t.trim(), (0, d.GG)(this, c, new h.I(t), "f"))
}
}, {
key: "hash",
get: function () {
return (0, d.gn)(this, r, "f")
},
set: function (t) {
(0, f.Kg)(t) && ((t = t.trim()) ? (0, d.GG)(this, r, t.startsWith("#") ? t : "#".concat(t), "f") : (0, d.GG)(this, r, "", "f"))
}
}, {
key: "href",
get: function () {
return "".concat(this.protocol, "//").concat(this.host).concat(this.pathname).concat(this.search).concat(this.hash)
},
set: function (t) {
if (t && (0, f.Kg)(t)) {
var e = g(t = t.trim()),
n = e.protocol,
r = e.hostname,
i = e.port,
o = e.hash,
a = e.search,
u = e.pathname;
this.protocol = n, this.hostname = r, this.pathname = u, this.port = i, this.hash = o, this.search = a
}
}
}, {
key: "origin",
get: function () {
return "".concat(this.protocol, "//").concat(this.host)
},
set: function (t) {
if (t && (0, f.Kg)(t)) {
var e = g(t = t.trim()),
n = e.protocol,
r = e.hostname,
i = e.port;
this.protocol = n, this.hostname = r, this.port = i
}
}
}, {
key: "searchParams",
get: function () {
return (0, d.gn)(this, c, "f")
}
}, {
key: "toString",
value: function () {
return this.href
}
}, {
key: "toJSON",
value: function () {
return this.toString()
}
}, {
key: "_toRaw",
value: function () {
return {
protocol: this.protocol,
port: this.port,
host: this.host,
hostname: this.hostname,
pathname: this.pathname,
hash: this.hash,
search: this.search,
origin: this.origin,
href: this.href
}
}
}], [{
key: "createObjectURL",
value: function () {
throw new Error("Oops, not support URL.createObjectURL() in miniprogram.")
}
}, {
key: "revokeObjectURL",
value: function () {
throw new Error("Oops, not support URL.revokeObjectURL() in miniprogram.")
}
}]);
r = new WeakMap, i = new WeakMap, o = new WeakMap, a = new WeakMap, u = new WeakMap, c = new WeakMap;
var v = p;
function g() {
var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "",
e = {
href: "",
origin: "",
protocol: "",
hostname: "",
host: "",
port: "",
pathname: "",
search: "",
hash: ""
};
if (!t || !(0, f.Kg)(t)) return e;
var n = /^(([^:/?#]+):)?\/\/(([^/?#]+):(.+)@)?([^/?#:]*)(:(\d+))?([^?#]*)(\?([^#]*))?(#(.*))?/,
r = (t = t.trim()).match(n);
return r ? (e.protocol = r[1] || "https:", e.hostname = r[6] || "taro.com", e.port = r[8] || "", e.pathname = r[9] || "/", e.search = r[10] || "", e.hash = r[12] || "", e.href = t, e.origin = e.protocol + "//" + e.hostname + (e.port ? ":".concat(e.port) : ""), e.host = e.hostname + (e.port ? ":".concat(e.port) : ""), e) : e
}
function m(t, e) {
var n = /^(https?:)\/\//i,
r = "",
i = null;
if (!(0, f.b0)(e)) {
if (e = String(e).trim(), !n.test(e)) throw new TypeError("Failed to construct 'URL': Invalid base URL");
i = g(e)
}
if (t = String(t).trim(), n.test(t)) r = t;
else {
if (!i) throw new TypeError("Failed to construct 'URL': Invalid URL");
r = t ? t.startsWith("//") ? i.protocol + t : i.origin + (t.startsWith("/") ? t : "/".concat(t)) : i.href
}
return g(r)
}
},
4754: function (t, e, n) {
n.d(e, {
UW: function () {
return k
},
fC: function () {
return y
},
mw: function () {
return b
}
});
var r = n(8460),
i = n(29),
o = n(5517),
a = n(6703),
u = n(1925),
c = n(6664),
s = n(5763),
l = n(3931),
d = n(4530),
f = n(7278),
h = n(6752),
p = n(6133),
v = n(9565),
g = n(2029),
m = function (t) {
function e() {
var t;
return (0, i.A)(this, e), (t = (0, a.A)(this, e)).navigator = v.C, t.requestAnimationFrame = g.er, t.cancelAnimationFrame = g.Ny, t.getComputedStyle = f.S, [].concat((0, r.A)(Object.getOwnPropertyNames(n.g || {})), (0, r.A)(Object.getOwnPropertySymbols(n.g || {}))).forEach((function (e) {
if ("atob" !== e && "document" !== e && !Object.prototype.hasOwnProperty.call(t, e)) try {
t[e] = n.g[e]
} catch (t) {}
})), t.Date || (t.Date = Date), t.location = new p.a({
window: t
}), t.history = new h.B(t.location, {
window: t
}), t.initEvent(), t
}
return (0, u.A)(e, t), (0, o.A)(e, [{
key: "initEvent",
value: function () {
var t = this.location,
e = this.history;
this.on(l.oF.INIT, (function (e) {
t.trigger(l.oF.INIT, e)
}), null), this.on(l.oF.RECOVER, (function (n) {
t.trigger(l.oF.RECOVER, n), e.trigger(l.oF.RECOVER, n)
}), null), this.on(l.oF.RESTORE, (function (n) {
t.trigger(l.oF.RESTORE, n), e.trigger(l.oF.RESTORE, n)
}), null), this.on(l.oF.DESTORY, (function (n) {
t.trigger(l.oF.DESTORY, n), e.trigger(l.oF.DESTORY, n)
}), null)
}
}, {
key: "document",
get: function () {
return d.A.document
}
}, {
key: "addEventListener",
value: function (t, e) {
(0, s.Kg)(t) && this.on(t, e, null)
}
}, {
key: "removeEventListener",
value: function (t, e) {
(0, s.Kg)(t) && this.off(t, e, null)
}
}, {
key: "setTimeout",
value: function (t) {
function e() {
return t.apply(this, arguments)
}
return e.toString = function () {
return t.toString()
}, e
}((function () {
return setTimeout.apply(void 0, arguments)
}))
}, {
key: "clearTimeout",
value: function (t) {
function e() {
return t.apply(this, arguments)
}
return e.toString = function () {
return t.toString()
}, e
}((function () {
return clearTimeout.apply(void 0, arguments)
}))
}])
}(c.s),
b = d.A.window = new m,
y = b.location,
k = b.history
},
4824: function (t, e, n) {
n.d(e, {
p: function () {
return p
}
});
var r = n(9371),
i = n(29),
o = n(5517),
a = n(6703),
u = n(1925),
c = n(5763),
s = n(1730),
l = n(3931),
d = n(5218),
f = n(6271);
function h(t, e) {
var n, r = e.slice(1),
i = t,
o = "";
if (r.some((function (t, r) {
var a = t.replace(/^\[(.+)\]$/, "$1").replace(/\bcn\b/g, "childNodes");
if (i = i[a], (0, c.cy)(i) && (i = i.filter((function (t) {
return !(0, f.Cn)(t)
}))), (0, c.b0)(i)) return !0;
if (i.nodeName === l.qb) {
var u = f.DD.get(i.sid);
u && (n = u, o = e.slice(r + 2).join("."))
}
})), n) return {
customWrapper: n,
splitedPath: o
}
}
var p = function (t) {
function e() {
var t;
return (0, i.A)(this, e), (t = (0, a.A)(this, e)).updatePayloads = [], t.updateCallbacks = [], t.pendingUpdate = !1, t.ctx = null, t.nodeName = l.r7, t.tagName = l.r7.toUpperCase(), t
}
return (0, u.A)(e, t), (0, o.A)(e, [{
key: "_path",
get: function () {
return l.r7
}
}, {
key: "_root",
get: function () {
return this
}
}, {
key: "scheduleTask",
value: function (t) {
setTimeout(t)
}
}, {
key: "enqueueUpdate",
value: function (t) {
this.updatePayloads.push(t), !this.pendingUpdate && this.ctx && this.performUpdate()
}
}, {
key: "performUpdate",
value: function () {
var t = this,
e = arguments.length > 0 && void 0 !== arguments[0] && arguments[0],
n = arguments.length > 1 ? arguments[1] : void 0;
this.pendingUpdate = !0;
var i = s.JL.call("proxyToRaw", this.ctx);
this.scheduleTask((function () {
var o = "".concat(l.M9, " 开始时间戳 ").concat(Date.now());
d.k.start(o);
for (var a = Object.create(null), u = new Set(e ? ["root.cn.[0]", "root.cn[0]"] : []); t.updatePayloads.length > 0;) {
var s = t.updatePayloads.shift(),
f = s.path,
p = s.value;
f.endsWith("cn") && u.add(f), a[f] = p
}
var v = function (t) {
u.forEach((function (e) {
t.includes(e) && t !== e && delete a[t]
}));
var e = a[t];
(0, c.Tn)(e) && (a[t] = e())
};
for (var g in a) v(g);
if ((0, c.Tn)(n)) return n(a);
t.pendingUpdate = !1;
var m = {},
b = new Map;
if (e) m = a;
else
for (var y in a) {
var k = y.split("."),
A = h(t, k);
if (A) {
var E = A.customWrapper,
w = A.splitedPath;
b.set(E, Object.assign(Object.assign({}, b.get(E) || {}), (0, r.A)({}, "i.".concat(w), a[y])))
} else m[y] = a[y]
}
var S = b.size,
C = Object.keys(m).length > 0,
T = S + (C ? 1 : 0),
x = 0,
L = function () {
++x === T && (d.k.stop(o), t.flushUpdateCallback(), e && d.k.stop(l.zP))
};
S && b.forEach((function (t, e) {
e.setData(t, L)
})), C && i.setData(m, L)
}))
}
}, {
key: "enqueueUpdateCallback",
value: function (t, e) {
this.updateCallbacks.push((function () {
e ? t.call(e) : t()
}))
}
}, {
key: "flushUpdateCallback",
value: function () {
var t = this.updateCallbacks;
if (t.length) {
var e = t.slice(0);
this.updateCallbacks.length = 0;
for (var n = 0; n < e.length; n++) e[n]()
}
}
}])
}(n(3254).$)
},
5218: function (t, e, n) {
n.d(e, {
k: function () {
return s
}
});
var r, i = n(29),
o = n(5517),
a = (n(5482), n(1071)),
u = n(1198),
c = (0, o.A)((function t() {
(0, i.A)(this, t), r.add(this), this.recorder = new Map
}), [{
key: "start",
value: function (t) {
a.f.debug && this.recorder.set(t, Date.now())
}
}, {
key: "stop",
value: function (t) {
if (arguments.length > 1 && void 0 !== arguments[1] || Date.now(), a.f.debug) {
var e = this.recorder.get(t);
e >= 0 && this.recorder.delete(t)
}
}
}, {
key: "delayStop",
value: function (t) {
var e = this,
n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : 500;
if (a.f.debug) return (0, u.s)((function () {
var n = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : Date.now(),
r = arguments.length > 1 ? arguments[1] : void 0;
e.stop(t, n), null == r || r()
}), n)
}
}]);
r = new WeakSet;
var s = new c
},
5385: function (t, e, n) {
n.d(e, {
b: function () {
return i
}
});
var r = n(29),
i = (0, n(5517).A)((function t(e) {
(0, r.A)(this, t), this.cache = new Map, this.name = e
}), [{
key: "has",
value: function (t) {
return this.cache.has(t)
}
}, {
key: "set",
value: function (t, e) {
t && e && this.cache.set(t, e)
}
}, {
key: "get",
value: function (t) {
if (this.has(t)) return this.cache.get(t)
}
}, {
key: "delete",
value: function (t) {
this.cache.delete(t)
}
}])
},
5508: function (t, e, n) {
n.d(e, {
E: function () {
return r
},
n: function () {
return i
}
});
var r = {
app: null,
router: null,
page: null
},
i = function () {
return r
}
},
5714: function (t, e, n) {
var r;
n.d(e, {
pD: function () {
return r
}
}),
function (t) {
t.MINI = "mini", t.ASCF = "ascf", t.WEB = "web", t.RN = "rn", t.HARMONY = "harmony", t.QUICK = "quickapp"
}(r || (r = {})), r.WEB, r.HARMONY, r.ASCF, r.MINI, r.RN, r.QUICK
},
5763: function (t, e, n) {
n.d(e, {
Et: function () {
return l
},
Gv: function () {
return u
},
Kg: function () {
return i
},
Lm: function () {
return c
},
Tn: function () {
return s
},
b0: function () {
return o
},
cy: function () {
return d
},
kZ: function () {
return a
}
});
var r = n(9476);
function i(t) {
return "string" == typeof t
}
function o(t) {
return void 0 === t
}
function a(t) {
return null === t
}
function u(t) {
return null !== t && "object" === (0, r.A)(t)
}
function c(t) {
return !0 === t || !1 === t
}
function s(t) {
return "function" == typeof t
}
function l(t) {
return Number.isFinite ? Number.isFinite(t) : "number" == typeof t
}
var d = Array.isArray
},
6071: function (t, e, n) {
n.d(e, {
Ig: function () {
return B
},
YN: function () {
return R
}
});
var r = "[]",
i = "",
o = "!0",
a = "!1",
u = {
bindTouchStart: i,
bindTouchMove: i,
bindTouchEnd: i,
bindTouchCancel: i,
bindLongTap: i
},
c = {
animation: i,
bindAnimationStart: i,
bindAnimationIteration: i,
bindAnimationEnd: i,
bindTransitionEnd: i
};
function s(t) {
return "'".concat(t, "'")
}
var l = Object.assign(Object.assign({
"hover-class": s("none"),
"hover-stop-propagation": a,
"hover-start-time": "50",
"hover-stay-time": "400"
}, u), c),
d = {
type: i,
size: "23",
color: i
},
f = Object.assign({
longitude: i,
latitude: i,
scale: "16",
markers: r,
covers: i,
polyline: r,
circles: r,
controls: r,
"include-points": r,
"show-location": i,
"layer-style": "1",
bindMarkerTap: i,
bindControlTap: i,
bindCalloutTap: i,
bindUpdated: i
}, u),
h = {
percent: i,
"stroke-width": "6",
color: s("#09BB07"),
activeColor: s("#09BB07"),
backgroundColor: s("#EBEBEB"),
active: a,
"active-mode": s("backwards"),
"show-info": a
},
p = {
nodes: r
},
v = Object.assign({
selectable: a,
space: i,
decode: a
}, u),
g = Object.assign({
size: s("default"),
type: i,
plain: a,
disabled: i,
loading: a,
"form-type": i,
"open-type": i,
"hover-class": s("button-hover"),
"hover-stop-propagation": a,
"hover-start-time": "20",
"hover-stay-time": "70",
name: i,
bindagreeprivacyauthorization: i
}, u),
m = {
value: i,
disabled: i,
checked: a,
color: s("#09BB07"),
name: i
},
b = {
bindChange: i,
name: i
},
y = {
"report-submit": a,
bindSubmit: i,
bindReset: i,
name: i
},
k = {
value: i,
type: s(i),
password: a,
placeholder: i,
"placeholder-style": i,
"placeholder-class": s("input-placeholder"),
disabled: i,
maxlength: "140",
"cursor-spacing": "0",
focus: a,
"confirm-type": s("done"),
"confirm-hold": a,
cursor: "-1",
"selection-start": "-1",
"selection-end": "-1",
bindInput: i,
bindFocus: i,
bindBlur: i,
bindConfirm: i,
name: i
},
A = Object.assign({
for: i,
name: i
}, u),
E = {
mode: s("selector"),
disabled: i,
range: i,
"range-key": i,
value: i,
start: i,
end: i,
fields: s("day"),
"custom-item": i,
name: i,
bindCancel: i,
bindChange: i,
bindColumnChange: i
},
w = {
value: i,
"indicator-style": i,
"indicator-class": i,
"mask-style": i,
"mask-class": i,
bindChange: i,
name: i
},
S = {
name: i
},
C = {
value: i,
checked: a,
disabled: i,
color: s("#09BB07"),
name: i
},
T = {
bindChange: i,
name: i
},
x = {
min: "0",
max: "100",
step: "1",
disabled: i,
value: "0",
activeColor: s("#1aad19"),
backgroundColor: s("#e9e9e9"),
"block-size": "28",
"block-color": s("#ffffff"),
"show-value": a,
bindChange: i,
bindChanging: i,
name: i
},
L = {
checked: a,
disabled: i,
type: s("switch"),
color: s("#04BE02"),
bindChange: i,
name: i
},
P = {
value: i,
placeholder: i,
"placeholder-style": i,
"placeholder-class": s("textarea-placeholder"),
disabled: i,
maxlength: "140",
"auto-focus": a,
focus: a,
"auto-height": a,
fixed: a,
"cursor-spacing": "0",
cursor: "-1",
"selection-start": "-1",
"selection-end": "-1",
bindFocus: i,
bindBlur: i,
bindLineChange: i,
bindInput: i,
bindConfirm: i,
name: i
},
I = {
src: i,
bindLoad: "eh",
bindError: "eh"
},
N = Object.assign({
"scroll-top": a
}, u),
O = {
"scale-area": a
},
_ = Object.assign(Object.assign({
direction: "none",
inertia: a,
"out-of-bounds": a,
x: i,
y: i,
damping: "20",
friction: "2",
disabled: i,
scale: a,
"scale-min": "0.5",
"scale-max": "10",
"scale-value": "1",
bindChange: i,
bindScale: i,
bindHTouchMove: i,
bindVTouchMove: i,
width: s("10px"),
height: s("10px")
}, u), c),
R = {
View: l,
Icon: d,
Progress: h,
RichText: p,
Text: v,
Button: g,
Checkbox: m,
CheckboxGroup: b,
Form: y,
Input: k,
Label: A,
Picker: E,
PickerView: w,
PickerViewColumn: S,
Radio: C,
RadioGroup: T,
Slider: x,
Switch: L,
CoverImage: I,
Textarea: P,
CoverView: N,
MovableArea: O,
MovableView: _,
ScrollView: Object.assign(Object.assign({
"scroll-x": a,
"scroll-y": a,
"upper-threshold": "50",
"lower-threshold": "50",
"scroll-top": i,
"scroll-left": i,
"scroll-into-view": i,
"scroll-with-animation": a,
"enable-back-to-top": a,
bindScrollToUpper: i,
bindScrollToLower: i,
bindScroll: i
}, u), c),
Swiper: Object.assign({
"indicator-dots": a,
"indicator-color": s("rgba(0, 0, 0, .3)"),
"indicator-active-color": s("#000000"),
autoplay: a,
current: "0",
interval: "5000",
duration: "500",
circular: a,
vertical: a,
"previous-margin": s("0px"),
"next-margin": s("0px"),
"display-multiple-items": "1",
bindChange: i,
bindTransition: i,
bindAnimationFinish: i
}, u),
SwiperItem: {
"item-id": i
},
Navigator: {
url: i,
"open-type": s("navigate"),
delta: "1",
"hover-class": s("navigator-hover"),
"hover-stop-propagation": a,
"hover-start-time": "50",
"hover-stay-time": "600",
bindSuccess: i,
bindFail: i,
bindComplete: i
},
Audio: {
id: i,
src: i,
loop: a,
controls: a,
poster: i,
name: i,
author: i,
bindError: i,
bindPlay: i,
bindPause: i,
bindTimeUpdate: i,
bindEnded: i
},
Camera: {
"device-position": s("back"),
flash: s("auto"),
bindStop: i,
bindError: i
},
Image: Object.assign({
src: i,
mode: s("scaleToFill"),
"lazy-load": a,
bindError: i,
bindLoad: i
}, u),
LivePlayer: Object.assign({
src: i,
autoplay: a,
muted: a,
orientation: s("vertical"),
"object-fit": s("contain"),
"background-mute": a,
"min-cache": "1",
"max-cache": "3",
bindStateChange: i,
bindFullScreenChange: i,
bindNetStatus: i
}, c),
Video: Object.assign({
src: i,
duration: i,
controls: o,
"danmu-list": i,
"danmu-btn": i,
"enable-danmu": i,
autoplay: a,
loop: a,
muted: a,
"initial-time": "0",
"page-gesture": a,
direction: i,
"show-progress": o,
"show-fullscreen-btn": o,
"show-play-btn": o,
"show-center-play-btn": o,
"enable-progress-gesture": o,
"object-fit": s("contain"),
poster: i,
"show-mute-btn": a,
bindPlay: i,
bindPause: i,
bindEnded: i,
bindTimeUpdate: i,
bindFullScreenChange: i,
bindWaiting: i,
bindError: i
}, c),
Canvas: Object.assign({
"canvas-id": i,
"disable-scroll": a,
bindError: i
}, u),
Ad: {
"unit-id": i,
"ad-intervals": i,
bindLoad: i,
bindError: i,
bindClose: i
},
WebView: {
src: i,
bindMessage: i,
bindLoad: i,
bindError: i
},
Block: {},
Map: f,
Slot: {
name: i
},
SlotView: {
name: i
},
NativeSlot: {
name: i
},
Script: {}
},
B = new Set(["input", "checkbox", "picker", "picker-view", "radio", "slider", "switch", "textarea"]);
new Set(["input", "textarea"]), new Set(["progress", "icon", "rich-text", "input", "textarea", "slider", "switch", "audio", "ad", "official-account", "open-data", "navigation-bar"]), new Map([
["view", -1],
["catch-view", -1],
["cover-view", -1],
["static-view", -1],
["pure-view", -1],
["click-view", -1],
["block", -1],
["text", -1],
["static-text", 6],
["slot", 8],
["slot-view", 8],
["label", 6],
["form", 4],
["scroll-view", 4],
["swiper", 4],
["swiper-item", 4]
])
},
6133: function (t, e, n) {
n.d(e, {
a: function () {
return x
}
});
var r, i, o, a, u, c, s, l, d, f = n(29),
h = n(5517),
p = n(6703),
v = n(1925),
g = n(5482),
m = n(6664),
b = n(5763),
y = n(3050),
k = n(3931),
A = n(5508),
E = n(5385),
w = n(4701),
S = "https://taro.com",
C = new E.b("location"),
T = function (t) {
function e(t) {
var n;
return (0, f.A)(this, e), n = (0, p.A)(this, e), r.add(n), i.set(n, new w.l(S)), o.set(n, !1), a.set(n, void 0), (0, g.GG)(n, a, t.window, "f"), (0, g.gn)(n, r, "m", u).call(n), n.on("__set_href_without_history__", (function (t) {
(0, g.GG)(n, o, !0, "f");
var e = (0, g.gn)(n, i, "f").hash;
(0, g.gn)(n, i, "f").href = function () {
var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "",
e = S;
return /^[/?#]/.test(t) ? e + t : t
}(t), e !== (0, g.gn)(n, i, "f").hash && (0, g.gn)(n, a, "f").trigger("hashchange"), (0, g.GG)(n, o, !1, "f")
}), null), n.on(k.oF.INIT, (function () {
(0, g.gn)(n, r, "m", u).call(n)
}), null), n.on(k.oF.RESTORE, (function (t) {
C.set(t, {
lastHref: n.href
})
}), null), n.on(k.oF.RECOVER, (function (t) {
if (C.has(t)) {
var e = C.get(t);
(0, g.GG)(n, o, !0, "f"), (0, g.gn)(n, i, "f").href = e.lastHref, (0, g.GG)(n, o, !1, "f")
}
}), null), n.on(k.oF.DESTORY, (function (t) {
C.delete(t)
}), null), n
}
return (0, v.A)(e, t), (0, h.A)(e, [{
key: "protocol",
get: function () {
return (0, g.gn)(this, i, "f").protocol
},
set: function (t) {
if (t && (0, b.Kg)(t) && /^(http|https):$/i.test(t.trim())) {
t = t.trim();
var e = (0, g.gn)(this, r, "m", c).call(this);
(0, g.gn)(this, i, "f").protocol = t, (0, g.gn)(this, r, "m", d).call(this, e) && (0, g.gn)(this, r, "m", l).call(this)
}
}
}, {
key: "host",
get: function () {
return (0, g.gn)(this, i, "f").host
},
set: function (t) {
if (t && (0, b.Kg)(t)) {
t = t.trim();
var e = (0, g.gn)(this, r, "m", c).call(this);
(0, g.gn)(this, i, "f").host = t, (0, g.gn)(this, r, "m", d).call(this, e) && (0, g.gn)(this, r, "m", l).call(this)
}
}
}, {
key: "hostname",
get: function () {
return (0, g.gn)(this, i, "f").hostname
},
set: function (t) {
if (t && (0, b.Kg)(t)) {
t = t.trim();
var e = (0, g.gn)(this, r, "m", c).call(this);
(0, g.gn)(this, i, "f").hostname = t, (0, g.gn)(this, r, "m", d).call(this, e) && (0, g.gn)(this, r, "m", l).call(this)
}
}
}, {
key: "port",
get: function () {
return (0, g.gn)(this, i, "f").port
},
set: function (t) {
var e = Number(t = t.trim());
if ((0, b.Et)(e) && !(e <= 0)) {
var n = (0, g.gn)(this, r, "m", c).call(this);
(0, g.gn)(this, i, "f").port = t, (0, g.gn)(this, r, "m", d).call(this, n) && (0, g.gn)(this, r, "m", l).call(this)
}
}
}, {
key: "pathname",
get: function () {
return (0, g.gn)(this, i, "f").pathname
},
set: function (t) {
if (t && (0, b.Kg)(t)) {
t = t.trim();
var e = (0, g.gn)(this, r, "m", c).call(this);
(0, g.gn)(this, i, "f").pathname = t, (0, g.gn)(this, r, "m", d).call(this, e) && (0, g.gn)(this, r, "m", l).call(this)
}
}
}, {
key: "search",
get: function () {
return (0, g.gn)(this, i, "f").search
},
set: function (t) {
if (t && (0, b.Kg)(t)) {
t = (t = t.trim()).startsWith("?") ? t : "?".concat(t);
var e = (0, g.gn)(this, r, "m", c).call(this);
(0, g.gn)(this, i, "f").search = t, (0, g.gn)(this, r, "m", d).call(this, e) && (0, g.gn)(this, r, "m", l).call(this)
}
}
}, {
key: "hash",
get: function () {
return (0, g.gn)(this, i, "f").hash
},
set: function (t) {
if (t && (0, b.Kg)(t)) {
t = (t = t.trim()).startsWith("#") ? t : "#".concat(t);
var e = (0, g.gn)(this, r, "m", c).call(this);
(0, g.gn)(this, i, "f").hash = t, (0, g.gn)(this, r, "m", d).call(this, e) && (0, g.gn)(this, r, "m", l).call(this)
}
}
}, {
key: "href",
get: function () {
return (0, g.gn)(this, i, "f").href
},
set: function (t) {
if (t && (0, b.Kg)(t) && /^(http:|https:)?\/\/.+/.test(t = t.trim())) {
var e = (0, g.gn)(this, r, "m", c).call(this);
(0, g.gn)(this, i, "f").href = t, (0, g.gn)(this, r, "m", d).call(this, e) && (0, g.gn)(this, r, "m", l).call(this)
}
}
}, {
key: "origin",
get: function () {
return (0, g.gn)(this, i, "f").origin
},
set: function (t) {
if (t && (0, b.Kg)(t) && /^(http:|https:)?\/\/.+/.test(t = t.trim())) {
var e = (0, g.gn)(this, r, "m", c).call(this);
(0, g.gn)(this, i, "f").origin = t, (0, g.gn)(this, r, "m", d).call(this, e) && (0, g.gn)(this, r, "m", l).call(this)
}
}
}, {
key: "assign",
value: function () {
(0, y.R8)(!0, "小程序环境中调用location.assign()无效.")
}
}, {
key: "reload",
value: function () {
(0, y.R8)(!0, "小程序环境中调用location.reload()无效.")
}
}, {
key: "replace",
value: function (t) {
this.trigger("__set_href_without_history__", t)
}
}, {
key: "toString",
value: function () {
return this.href
}
}, {
key: "cache",
get: function () {
return C
}
}])
}(m.s);
i = new WeakMap, o = new WeakMap, a = new WeakMap, r = new WeakSet, u = function () {
var t = (0, A.n)().router;
if (t) {
var e = t.path,
n = t.params,
r = Object.keys(n).map((function (t) {
return "".concat(t, "=").concat(n[t])
})),
o = r.length > 0 ? "?" + r.join("&") : "",
a = "".concat(S).concat(e.startsWith("/") ? e : "/" + e).concat(o);
(0, g.GG)(this, i, new w.l(a), "f"), this.trigger("__reset_history__", this.href)
}
}, c = function () {
return (0, g.gn)(this, i, "f")._toRaw()
}, s = function (t) {
(0, g.gn)(this, i, "f").href = t
}, l = function () {
this.trigger("__record_history__", this.href)
}, d = function (t) {
if ((0, g.gn)(this, o, "f")) return !1;
var e = (0, g.gn)(this, i, "f")._toRaw(),
n = e.protocol,
u = e.hostname,
c = e.port,
l = e.pathname,
d = e.search,
f = e.hash;
return n !== t.protocol || u !== t.hostname || c !== t.port ? ((0, g.gn)(this, r, "m", s).call(this, t.href), !1) : l !== t.pathname || d !== t.search || (f !== t.hash ? ((0, g.gn)(this, a, "f").trigger("hashchange"), !0) : ((0, g.gn)(this, r, "m", s).call(this, t.href), !1))
};
var x = T
},
6262: function (t, e, n) {
n.d(e, {
ND: function () {
return Q
}
});
var r = n(9371),
i = n(4576),
o = n(29),
a = n(5517),
u = n(6703),
c = n(1925),
s = n(8460),
l = n(5763),
d = n(1730),
f = n(3050),
h = n(9262),
p = n(3931),
v = n(5508),
g = n(4160),
m = n(5218),
b = n(6271),
y = {
PageContext: f.MZ,
R: f.MZ
},
k = "taro-app";
function A(t, e) {
var n, r = e.prototype;
return !(null === (n = e.displayName) || void 0 === n ? void 0 : n.includes("Connect")) && ((0, l.Tn)(e.render) || !!(null == r ? void 0 : r.isReactComponent) || r instanceof t.Component)
}
function E(t) {
return t.writable = !0, t.enumerable = !0, t
}
function w(t) {
v.E.router = Object.assign({
params: null == t ? void 0 : t.query
}, t)
}
var S, C, T = function (t) {
return function (e) {
var n = y.R,
r = y.PageContext,
i = n.useContext(r) || k,
o = n.useRef(),
a = n.useRef(e);
a.current !== e && (a.current = e), n.useLayoutEffect((function () {
var e = o.current = (0, g.zk)(i),
n = !1;
e || (n = !0, o.current = Object.create(null), e = o.current);
var r = function () {
return a.current.apply(a, arguments)
};
return (0, l.Tn)(e[t]) ? e[t] = [e[t], r] : e[t] = [].concat((0, s.A)(e[t] || []), [r]), n && (0, g.wT)(e, i),
function () {
var e = o.current;
if (e) {
var n = e[t];
n === r ? e[t] = void 0 : (0, l.cy)(n) && (e[t] = n.filter((function (t) {
return t !== r
}))), o.current = void 0
}
}
}), [])
}
},
x = T("componentDidHide"),
L = T("componentDidShow"),
P = T("onError"),
I = T("onUnhandledRejection"),
N = T("onLaunch"),
O = T("onPageNotFound"),
_ = T("onLoad"),
R = T("onPageScroll"),
B = T("onPullDownRefresh"),
M = T("onPullIntercept"),
D = T("onReachBottom"),
G = T("onResize"),
F = T("onUnload"),
j = T("onAddToFavorites"),
U = T("onOptionMenuClick"),
V = T("onSaveExitState"),
H = T("onShareAppMessage"),
W = T("onShareTimeline"),
$ = T("onTitleClick"),
K = T("onReady"),
z = T("onTabItemTap"),
Y = Object.freeze({
__proto__: null,
useAddToFavorites: j,
useDidHide: x,
useDidShow: L,
useError: P,
useLaunch: N,
useLoad: _,
useOptionMenuClick: U,
usePageNotFound: O,
usePageScroll: R,
usePullDownRefresh: B,
usePullIntercept: M,
useReachBottom: D,
useReady: K,
useResize: G,
useRouter: function () {
var t = arguments.length > 0 && void 0 !== arguments[0] && arguments[0],
e = y.R;
return t ? v.E.router : e.useMemo((function () {
return v.E.router
}), [])
},
useSaveExitState: V,
useScope: function () {},
useShareAppMessage: H,
useShareTimeline: W,
useTabItemTap: z,
useTitleClick: $,
useUnhandledRejection: I,
useUnload: F
}),
q = (0, b.F$)();
function J(t) {
d.JL.tap("getLifecycle", (function (t, e) {
return t[e = e.replace(/^on(Show|Hide)$/, "componentDid$1")]
})), d.JL.tap("modifyMpEvent", (function (t) {
Object.defineProperty(t, "type", {
value: t.type.replace(/-/g, "")
})
})), d.JL.tap("batchedEventUpdates", (function (e) {
null == t || t.unstable_batchedUpdates(e)
})), d.JL.tap("mergePageInstance", (function (t, e) {
t && e && ("constructor" in t || Object.keys(t).forEach((function (n) {
var r = t[n],
i = function (t) {
return (0, l.cy)(t) ? t : t ? [t] : []
}(e[n]);
e[n] = i.concat(r)
})))
}))
}
function Z(t, e) {
return function (n) {
var r = function (t) {
return t && (0, g.wT)(t, e)
},
i = A(t, n) ? {
ref: r
} : {
forwardedRef: r,
reactReduxForwardedRef: r
};
return y.PageContext === f.MZ && (y.PageContext = t.createContext("")),
function (t) {
function r() {
var t;
return (0, o.A)(this, r), (t = (0, u.A)(this, r, arguments)).state = {
hasError: !1
}, t
}
return (0, c.A)(r, t), (0, a.A)(r, [{
key: "componentDidCatch",
value: function (t, e) {}
}, {
key: "render",
value: function () {
var t = this.state.hasError ? [] : S(y.PageContext.Provider, {
value: e
}, S(n, Object.assign(Object.assign({}, this.props), i)));
return S("root", {
id: e
}, t)
}
}], [{
key: "getDerivedStateFromError",
value: function (t) {
var e, n;
return null === (n = null === (e = v.E.app) || void 0 === e ? void 0 : e.onError) || void 0 === n || n.call(e, t.message + t.stack), {
hasError: !0
}
}
}])
}(t.Component)
}
}
function Q(t, e, n, s) {
y.R = e, S = e.createElement, C = n, e.Fragment;
var l, f, b = e.createRef(),
T = A(e, t),
x = new Promise((function (t) {
return f = t
}));
function L() {
return b.current
}
function P(t) {
x.then((function () {
return t()
}))
}
J(C);
var I = function (n) {
function r(t) {
var e;
return (0, o.A)(this, r), (e = (0, u.A)(this, r, [t])).pages = [], e.elements = [], l = e, f(e), e
}
return (0, c.A)(r, n), (0, a.A)(r, [{
key: "mount",
value: function (t, n, r) {
var i = Z(e, n)(t),
o = n + q();
this.pages.push((function () {
return S(i, {
key: o,
tid: n
})
})), this.forceUpdate((function () {
return m.k.stop(p.zP), r.apply(void 0, arguments)
}))
}
}, {
key: "unmount",
value: function (t, e) {
var n = this.elements,
r = n.findIndex((function (e) {
return e.props.tid === t
}));
n.splice(r, 1), this.forceUpdate(e)
}
}, {
key: "render",
value: function () {
for (var e = this.pages, n = this.elements; e.length > 0;) {
var r = e.pop();
n.push(r())
}
var i = null;
return T && (i = {
ref: b
}), S(t, i, n.slice())
}
}])
}(e.Component);
! function () {
var t, n, r = (null == s ? void 0 : s.appId) || "app",
i = h.F.getElementById(r);
if (null == i) {
var o = h.F.getElementById(p.MR);
(i = h.F.createElement(r)).id = r, null == o || o.appendChild(i)
}
if ((e.version || "").startsWith("18")) {
var a = C.createRoot(i);
null === (t = a.render) || void 0 === t || t.call(a, S(I))
} else null === (n = C.render) || void 0 === n || n.call(C, S(I), i)
}();
var N = (0, i.A)(d.JL.call("getMiniLifecycleImpl").app, 3),
O = N[0],
_ = N[1],
R = N[2],
B = Object.create({
render: function (t) {
l.forceUpdate(t)
},
mount: function (t, e, n) {
l ? l.mount(t, e, n) : x.then((function (r) {
return r.mount(t, e, n)
}))
},
unmount: function (t, e) {
l ? l.unmount(t, e) : x.then((function (n) {
return n.unmount(t, e)
}))
}
}, (0, r.A)((0, r.A)((0, r.A)((0, r.A)((0, r.A)((0, r.A)({
config: E({
configurable: !0,
value: s
})
}, O, E({
value: function (t) {
var e = this;
w(t);
P((function () {
var n, r = L();
if (e.$app = r, r) {
if (r.taroGlobalData) {
var i = r.taroGlobalData,
o = Object.keys(i),
a = Object.getOwnPropertyDescriptors(i);
o.forEach((function (t) {
Object.defineProperty(e, t, {
configurable: !0,
enumerable: !0,
get: function () {
return i[t]
},
set: function (e) {
i[t] = e
}
})
})), Object.defineProperties(e, a)
}
null === (n = r.onLaunch) || void 0 === n || n.call(r, t)
}
M("onLaunch", t)
}))
}
})), _, E({
value: function (t) {
w(t);
P((function () {
var e, n = L();
null === (e = null == n ? void 0 : n.componentDidShow) || void 0 === e || e.call(n, t), M("onShow", t)
}))
}
})), R, E({
value: function () {
P((function () {
var t, e = L();
null === (t = null == e ? void 0 : e.componentDidHide) || void 0 === t || t.call(e), M("onHide")
}))
}
})), "onError", E({
value: function (t) {
P((function () {
var e, n = L();
null === (e = null == n ? void 0 : n.onError) || void 0 === e || e.call(n, t), M("onError", t)
}))
}
})), "onUnhandledRejection", E({
value: function (t) {
P((function () {
var e, n = L();
null === (e = null == n ? void 0 : n.onUnhandledRejection) || void 0 === e || e.call(n, t), M("onUnhandledRejection", t)
}))
}
})), "onPageNotFound", E({
value: function (t) {
P((function () {
var e, n = L();
null === (e = null == n ? void 0 : n.onPageNotFound) || void 0 === e || e.call(n, t), M("onPageNotFound", t)
}))
}
})));
function M(t) {
for (var e = arguments.length, n = new Array(e > 1 ? e - 1 : 0), r = 1; r < e; r++) n[r - 1] = arguments[r];
var i = (0, g.zk)(k);
if (i) {
var o = L(),
a = d.JL.call("getLifecycle", i, t);
Array.isArray(a) && a.forEach((function (t) {
return t.apply(o, n)
}))
}
}
return v.E.app = B, B
}(0, b.F$)(), d.JL.tap("initNativeApi", (function (t) {
for (var e in Y) t[e] = Y[e]
}))
},
6271: function (t, e, n) {
n.d(e, {
Cn: function () {
return d
},
DD: function () {
return g
},
F$: function () {
return c
},
KH: function () {
return l
},
Oc: function () {
return p
},
Rh: function () {
return h
},
Vg: function () {
return f
},
X$: function () {
return m
},
dg: function () {
return b
},
h6: function () {
return y
},
vq: function () {
return s
}
});
var r = n(8460),
i = n(6071),
o = n(5763),
a = n(3050),
u = n(3931),
c = function () {
for (var t = [], e = 65; e <= 90; e++) t.push(e);
for (var n = 97; n <= 122; n++) t.push(n);
var i = t.length - 1,
o = [0, 0];
return function () {
var e = o.map((function (e) {
return t[e]
})),
n = String.fromCharCode.apply(String, (0, r.A)(e)),
a = o.length - 1;
for (o[a]++; o[a] > i;) {
if (o[a] = 0, (a -= 1) < 0) {
o.push(0);
break
}
o[a]++
}
return n
}
};
function s(t) {
return 1 === t.nodeType
}
function l(t) {
return 3 === t.nodeType
}
function d(t) {
return t.nodeName === u.YK
}
function f(t) {
var e = Object.keys(t.props).find((function (t) {
return !(/^(class|style|id)$/.test(t) || t.startsWith("data-"))
}));
return Boolean(e)
}
function h(t, e) {
for (var n; t = (null == t ? void 0 : t.parentElement) || null;) {
if (!t || t.nodeName === u.r7 || "root-portal" === t.nodeName) return !1;
if (null === (n = t.__handlers[e]) || void 0 === n ? void 0 : n.length) return !0
}
return !1
}
function p(t) {
switch (t) {
case u.Y:
return "st";
case u.ID:
return u.V0;
case u.tp:
return "cl";
default:
return t
}
}
var v, g = new Map;
function m(t, e, n) {
(0, o.Tn)(n) && (n = {
value: n
}), Object.defineProperty(t.prototype, e, Object.assign({
configurable: !0,
enumerable: !0
}, n))
}
function b() {
return v || (v = (0, a.dg)(i.YN)), v
}
function y(t) {
return t + "px"
}
},
6664: function (t, e, n) {
n.d(e, {
s: function () {
return a
}
});
var r = n(9476),
i = n(29),
o = n(5517),
a = function () {
function t(e) {
var n;
(0, i.A)(this, t), this.callbacks = null !== (n = null == e ? void 0 : e.callbacks) && void 0 !== n ? n : {}
}
return (0, o.A)(t, [{
key: "on",
value: function (e, n, i) {
var o, a, u;
if (!n) return this;
u = "symbol" === (0, r.A)(e) ? [e] : e.split(t.eventSplitter), this.callbacks || (this.callbacks = {});
for (var c = this.callbacks; o = u.shift();) {
var s = c[o],
l = s ? s.tail : {};
l.next = a = {}, l.context = i, l.callback = n, c[o] = {
tail: a,
next: s ? s.next : l
}
}
return this
}
}, {
key: "once",
value: function (t, e, n) {
var r = this,
i = function () {
for (var o = arguments.length, a = new Array(o), u = 0; u < o; u++) a[u] = arguments[u];
e.apply(r, a), r.off(t, i, n)
};
return this.on(t, i, n), this
}
}, {
key: "off",
value: function (e, n, i) {
var o, a, u;
if (!(a = this.callbacks)) return this;
if (!(e || n || i)) return delete this.callbacks, this;
for (u = "symbol" === (0, r.A)(e) ? [e] : e ? e.split(t.eventSplitter) : Object.keys(a); o = u.shift();) {
var c = a[o];
if (delete a[o], c && (n || i))
for (var s = c.tail;
(c = c.next) !== s;) {
var l = c.callback,
d = c.context;
(n && l !== n || i && d !== i) && this.on(o, l, d)
}
}
return this
}
}, {
key: "trigger",
value: function (e) {
var n, i, o, a;
if (!(o = this.callbacks)) return this;
a = "symbol" === (0, r.A)(e) ? [e] : e.split(t.eventSplitter);
for (var u = arguments.length, c = new Array(u > 1 ? u - 1 : 0), s = 1; s < u; s++) c[s - 1] = arguments[s];
for (; n = a.shift();)
if (i = o[n])
for (var l = i.tail;
(i = i.next) !== l;) i.callback.apply(i.context || this, c);
return this
}
}])
}();
a.eventSplitter = ","
},
6752: function (t, e, n) {
n.d(e, {
B: function () {
return y
}
});
var r, i, o, a, u, c, s = n(29),
l = n(5517),
d = n(6703),
f = n(1925),
h = n(5482),
p = n(6664),
v = n(5763),
g = n(3931),
m = new(n(5385).b)("history"),
b = function (t) {
function e(t, n) {
var l;
return (0, s.A)(this, e), l = (0, d.A)(this, e), r.add(l), i.set(l, void 0), o.set(l, []), a.set(l, 0), u.set(l, void 0), (0, h.GG)(l, u, n.window, "f"), (0, h.GG)(l, i, t, "f"), (0, h.gn)(l, i, "f").on("__record_history__", (function (t) {
var e;
(0, h.GG)(l, a, (e = (0, h.gn)(l, a, "f"), ++e), "f"), (0, h.GG)(l, o, (0, h.gn)(l, o, "f").slice(0, (0, h.gn)(l, a, "f")), "f"), (0, h.gn)(l, o, "f").push({
state: null,
title: "",
url: t
})
}), null), (0, h.gn)(l, i, "f").on("__reset_history__", (function (t) {
(0, h.gn)(l, r, "m", c).call(l, t)
}), null), l.on(g.oF.INIT, (function () {
(0, h.gn)(l, r, "m", c).call(l)
}), null), l.on(g.oF.RESTORE, (function (t) {
m.set(t, {
location: (0, h.gn)(l, i, "f"),
stack: (0, h.gn)(l, o, "f").slice(),
cur: (0, h.gn)(l, a, "f")
})
}), null), l.on(g.oF.RECOVER, (function (t) {
if (m.has(t)) {
var e = m.get(t);
(0, h.GG)(l, i, e.location, "f"), (0, h.GG)(l, o, e.stack, "f"), (0, h.GG)(l, a, e.cur, "f")
}
}), null), l.on(g.oF.DESTORY, (function (t) {
m.delete(t)
}), null), (0, h.gn)(l, r, "m", c).call(l), l
}
return (0, f.A)(e, t), (0, l.A)(e, [{
key: "length",
get: function () {
return (0, h.gn)(this, o, "f").length
}
}, {
key: "state",
get: function () {
return (0, h.gn)(this, o, "f")[(0, h.gn)(this, a, "f")].state
}
}, {
key: "go",
value: function (t) {
if ((0, v.Et)(t) && !isNaN(t)) {
var e = (0, h.gn)(this, a, "f") + t;
e = Math.min(Math.max(e, 0), this.length - 1), (0, h.GG)(this, a, e, "f"), (0, h.gn)(this, i, "f").trigger("__set_href_without_history__", (0, h.gn)(this, o, "f")[(0, h.gn)(this, a, "f")].url), (0, h.gn)(this, u, "f").trigger("popstate", (0, h.gn)(this, o, "f")[(0, h.gn)(this, a, "f")])
}
}
}, {
key: "back",
value: function () {
this.go(-1)
}
}, {
key: "forward",
value: function () {
this.go(1)
}
}, {
key: "pushState",
value: function (t, e, n) {
n && (0, v.Kg)(n) && ((0, h.GG)(this, o, (0, h.gn)(this, o, "f").slice(0, (0, h.gn)(this, a, "f") + 1), "f"), (0, h.gn)(this, o, "f").push({
state: t,
title: e,
url: n
}), (0, h.GG)(this, a, this.length - 1, "f"), (0, h.gn)(this, i, "f").trigger("__set_href_without_history__", n))
}
}, {
key: "replaceState",
value: function (t, e, n) {
n && (0, v.Kg)(n) && ((0, h.gn)(this, o, "f")[(0, h.gn)(this, a, "f")] = {
state: t,
title: e,
url: n
}, (0, h.gn)(this, i, "f").trigger("__set_href_without_history__", n))
}
}, {
key: "cache",
get: function () {
return m
}
}])
}(p.s);
i = new WeakMap, o = new WeakMap, a = new WeakMap, u = new WeakMap, r = new WeakSet, c = function () {
var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "";
(0, h.GG)(this, o, [{
state: null,
title: "",
url: t || (0, h.gn)(this, i, "f").href
}], "f"), (0, h.GG)(this, a, 0, "f")
};
var y = b
},
7030: function (t, e, n) {
n.d(e, {
Z: function () {
return s
}
});
var r = n(29),
i = n(5517),
o = n(6703),
a = n(5735),
u = n(1925),
c = n(3931),
s = function (t) {
function e() {
return (0, r.A)(this, e), (0, o.A)(this, e, arguments)
}
return (0, u.A)(e, t), (0, i.A)(e, [{
key: "type",
get: function () {
var t;
return null !== (t = this.props[c.ZE]) && void 0 !== t ? t : ""
},
set: function (t) {
this.setAttribute(c.ZE, t)
}
}, {
key: "value",
get: function () {
var t = this.props[c.Qg];
return null == t ? "" : t
},
set: function (t) {
this.setAttribute(c.Qg, t)
}
}, {
key: "dispatchEvent",
value: function (t) {
if (t.mpEvent) {
var n = t.mpEvent.detail.value;
t.type === c.PL ? this.props.value = n : t.type === c.bO && (this.value = n)
}
return (0, a.A)(e, "dispatchEvent", this, 3)([t])
}
}])
}(n(3254).$)
},
7278: function (t, e, n) {
n.d(e, {
S: function () {
return r
}
});
var r = function (t) {
return t.style
}
},
8e3: function (t, e, n) {
var r = n(4160);
Component((0, r.s$)())
},
8101: function (t, e, n) {
n.d(e, {
O: function () {
return R
}
});
var r = n(3905),
i = n(4487),
o = n(29),
a = n(5517),
u = n(5763),
c = n(3050),
s = n(1730),
l = n(4645),
d = "webkit",
f = ["all", "appearance", "backdropFilter", "blockOverflow", "blockSize", "bottom", "clear", "contain", "content", "continue", "cursor", "direction", "display", "filter", "float", "gap", "height", "inset", "isolation", "left", "letterSpacing", "lightingColor", "markerSide", "mixBlendMode", "opacity", "order", "position", "quotes", "resize", "right", "rowGap", "tabSize", "tableLayout", "top", "userSelect", "verticalAlign", "visibility", "voiceFamily", "volume", "whiteSpace", "widows", "width", "zIndex", "pointerEvents", "aspectRatio"];
function h(t, e, n) {
!n && f.push(t), e.forEach((function (e) {
f.push(t + e), t === d && f.push("Webkit" + e)
}))
}
var p = "Color",
v = "Style",
g = "Width",
m = "Image",
b = "Size",
y = [p, v, g],
k = ["FitLength", "FitWidth", m],
A = [].concat(k, ["Radius"]),
E = [].concat(y, k),
w = ["EndRadius", "StartRadius"],
S = ["Bottom", "Left", "Right", "Top"],
C = ["End", "Start"],
T = ["Content", "Items", "Self"],
x = ["BlockSize", "Height", "InlineSize", g],
L = ["After", "Before"];
function P(t) {
l._.record({
type: "attributes",
target: t._element,
attributeName: "style",
oldValue: t.cssText
})
}
function I(t) {
var e = t._element;
e._root && e.enqueueUpdate({
path: "".concat(e._path, ".", "st"),
value: t.cssText
})
}
function N(t, e) {
this[e] !== t && (!this._pending && P(this), (0, u.kZ)(t) || (0, u.b0)(t) || "" === t ? (this._usedStyleProp.delete(e), delete this._value[e]) : (this._usedStyleProp.add(e), this._value[e] = t), !this._pending && I(this))
}
function O(t, e) {
for (var n, r = {}, i = function () {
var n = e[o];
if (t[n]) return {
v: void 0
};
r[n] = {
get: function () {
var t = this._value[n];
return (0, u.kZ)(t) || (0, u.b0)(t) ? "" : t
},
set: function (t) {
N.call(this, t, n)
}
}
}, o = 0; o < e.length; o++)
if (n = i()) return n.v;
Object.defineProperties(t.prototype, r)
}
function _(t) {
return /^--/.test(t)
}
h("borderBlock", y), h("borderBlockEnd", y), h("borderBlockStart", y), h("outline", [].concat(y, ["Offset"])), h("border", [].concat(y, ["Boundary", "Break", "Collapse", "Radius", "Spacing"])), h("borderFit", ["Length", g]), h("borderInline", y), h("borderInlineEnd", y), h("borderInlineStart", y), h("borderLeft", E), h("borderRight", E), h("borderTop", E), h("borderBottom", E), h("textDecoration", [p, v, "Line"]), h("textEmphasis", [p, v, "Position"]), h("scrollMargin", S), h("scrollPadding", S), h("padding", S), h("margin", [].concat(S, ["Trim"])), h("scrollMarginBlock", C), h("scrollMarginInline", C), h("scrollPaddingBlock", C), h("scrollPaddingInline", C), h("gridColumn", C), h("gridRow", C), h("insetBlock", C), h("insetInline", C), h("marginBlock", C), h("marginInline", C), h("paddingBlock", C), h("paddingInline", C), h("pause", L), h("cue", L), h("mask", ["Clip", "Composite", m, "Mode", "Origin", "Position", "Repeat", b, "Type"]), h("borderImage", ["Outset", "Repeat", "Slice", "Source", "Transform", g]), h("maskBorder", ["Mode", "Outset", "Repeat", "Slice", "Source", g]), h("font", ["Family", "FeatureSettings", "Kerning", "LanguageOverride", "MaxSize", "MinSize", "OpticalSizing", "Palette", b, "SizeAdjust", "Stretch", v, "Weight", "VariationSettings"]), h("transform", ["Box", "Origin", v]), h("background", [p, m, "Attachment", "BlendMode", "Clip", "Origin", "Position", "Repeat", b]), h("listStyle", [m, "Position", "Type"]), h("scrollSnap", ["Align", "Stop", "Type"]), h("grid", ["Area", "AutoColumns", "AutoFlow", "AutoRows"]), h("gridTemplate", ["Areas", "Columns", "Rows"]), h("overflow", ["Block", "Inline", "Wrap", "X", "Y"]), h("transition", ["Delay", "Duration", "Property", "TimingFunction"]), h("color", ["Adjust", "InterpolationFilters", "Scheme"]), h("textAlign", ["All", "Last"]), h("page", ["BreakAfter", "BreakBefore", "BreakInside"]), h("animation", ["Delay", "Direction", "Duration", "FillMode", "IterationCount", "Name", "PlayState", "TimingFunction"]), h("flex", ["Basis", "Direction", "Flow", "Grow", "Shrink", "Wrap"]), h("offset", [].concat(L, C, ["Anchor", "Distance", "Path", "Position", "Rotate"])), h("perspective", ["Origin"]), h("clip", ["Path", "Rule"]), h("flow", ["From", "Into"]), h("align", ["Content", "Items", "Self"], !0), h("alignment", ["Adjust", "Baseline"], !0), h("borderStart", w, !0), h("borderEnd", w, !0), h("borderCorner", ["Fit", m, "ImageTransform"], !0), h("borderTopLeft", A, !0), h("borderTopRight", A, !0), h("borderBottomLeft", A, !0), h("borderBottomRight", A, !0), h("column", ["s", "Count", "Fill", "Gap", "Rule", "RuleColor", "RuleStyle", "RuleWidth", "Span", g], !0), h("break", [].concat(L, ["Inside"]), !0), h("wrap", [].concat(L, ["Flow", "Inside", "Through"]), !0), h("justify", T, !0), h("place", T, !0), h("max", [].concat(x, ["Lines"]), !0), h("min", x, !0), h("line", ["Break", "Clamp", "Grid", "Height", "Padding", "Snap"], !0), h("inline", ["BoxAlign", b, "Sizing"], !0), h("text", ["CombineUpright", "GroupAlign", "Height", "Indent", "Justify", "Orientation", "Overflow", "Shadow", "SpaceCollapse", "SpaceTrim", "Spacing", "Transform", "UnderlinePosition", "Wrap"], !0), h("shape", ["ImageThreshold", "Inside", "Margin", "Outside"], !0), h("word", ["Break", "Spacing", "Wrap"], !0), h("object", ["Fit", "Position"], !0), h("box", ["DecorationBreak", "Shadow", "Sizing", "Snap"], !0), h(d, ["LineClamp", "BoxOrient", "TextFillColor", "TextStroke", "TextStrokeColor", "TextStrokeWidth"], !0);
var R = (0, a.A)((function t(e) {
(0, o.A)(this, t), this._element = e, this._usedStyleProp = new Set, this._value = {}
}), [{
key: "setCssVariables",
value: function (t) {
var e = this;
this.hasOwnProperty(t) || Object.defineProperty(this, t, {
enumerable: !0,
configurable: !0,
get: function () {
return e._value[t] || ""
},
set: function (n) {
N.call(e, n, t)
}
})
}
}, {
key: "cssText",
get: function () {
var t = this;
if (!this._usedStyleProp.size) return "";
var e = [];
return this._usedStyleProp.forEach((function (n) {
var r = t[n];
if (!(0, u.kZ)(r) && !(0, u.b0)(r)) {
var i = _(n) ? n : (0, c.Lj)(n);
0 !== i.indexOf("webkit") && 0 !== i.indexOf("Webkit") || (i = "-".concat(i)), e.push("".concat(i, ": ").concat(r, ";"))
}
})), e.join(" ")
},
set: function (t) {
var e = this;
if (this._pending = !0, P(this), this._usedStyleProp.forEach((function (t) {
e.removeProperty(t)
})), "" === t || (0, u.b0)(t) || (0, u.kZ)(t)) return this._pending = !1, void I(this);
for (var n = t.split(";"), o = 0; o < n.length; o++) {
var a = n[o].trim();
if ("" !== a) {
var c = a.split(":"),
s = (0, i.A)(c),
l = s[0],
d = (0, r.A)(s).slice(1).join(":");
(0, u.b0)(d) || this.setProperty(l.trim(), d.trim())
}
}
this._pending = !1, I(this)
}
}, {
key: "setProperty",
value: function (t, e) {
"-" === t[0] ? this.setCssVariables(t) : t = (0, c.Cb)(t), (0, u.kZ)(e) || (0, u.b0)(e) ? this.removeProperty(t) : this[t] = e
}
}, {
key: "removeProperty",
value: function (t) {
if (t = (0, c.Cb)(t), !this._usedStyleProp.has(t)) return "";
var e = this[t];
return this[t] = void 0, e
}
}, {
key: "getPropertyValue",
value: function (t) {
return this[t = (0, c.Cb)(t)] || ""
}
}]);
O(R, f), s.JL.tap("injectNewStyleProperties", (function (t) {
if ((0, u.cy)(t)) O(R, t);
else {
if ("string" != typeof t) return;
O(R, [t])
}
}))
},
8226: function (t, e, n) {
n.d(e, {
k: function () {
return i
}
});
var r = n(6664),
i = n(1730).JL.call("getEventCenter", r.s)
},
8836: function (t, e, n) {
n.d(e, {
d: function () {
return o
}
});
var r = n(5508),
i = n(4530),
o = function (t, e) {
var n = Date.now(),
o = r.E.router,
a = function () {
setTimeout((function () {
e ? t.call(e) : t()
}), 1)
};
if (null === o) return a();
var u = o.$taroPath;
! function r() {
var o = i.A.document.getElementById(u);
(null == o ? void 0 : o.pendingUpdate) ? o.enqueueUpdateCallback(t, e): Date.now() - n > 100 ? a() : setTimeout((function () {
return r()
}), 20)
}()
}
},
9262: function (t, e, n) {
n.d(e, {
F: function () {
return w
}
});
var r = n(3931),
i = n(29),
o = n(5517),
a = n(6703),
u = n(1925),
c = n(6071),
s = n(3050),
l = n(5763),
d = n(3254),
f = n(886),
h = n(534),
p = n(7030),
v = n(4824),
g = n(4407),
m = n(4530),
b = n(5735),
y = n(4701),
k = function (t) {
function e() {
return (0, i.A)(this, e), (0, a.A)(this, e, arguments)
}
return (0, u.A)(e, t), (0, o.A)(e, [{
key: "href",
get: function () {
var t;
return null !== (t = this.props.href) && void 0 !== t ? t : ""
},
set: function (t) {
this.setAttribute("href", t)
}
}, {
key: "protocol",
get: function () {
var t;
return null !== (t = this.props.protocol) && void 0 !== t ? t : ""
}
}, {
key: "host",
get: function () {
var t;
return null !== (t = this.props.host) && void 0 !== t ? t : ""
}
}, {
key: "search",
get: function () {
var t;
return null !== (t = this.props.search) && void 0 !== t ? t : ""
}
}, {
key: "hash",
get: function () {
var t;
return null !== (t = this.props.hash) && void 0 !== t ? t : ""
}
}, {
key: "hostname",
get: function () {
var t;
return null !== (t = this.props.hostname) && void 0 !== t ? t : ""
}
}, {
key: "port",
get: function () {
var t;
return null !== (t = this.props.port) && void 0 !== t ? t : ""
}
}, {
key: "pathname",
get: function () {
var t;
return null !== (t = this.props.pathname) && void 0 !== t ? t : ""
}
}, {
key: "setAttribute",
value: function (t, n) {
if ("href" === t) {
var r = (0, y.D)(n);
for (var i in r)(0, b.A)(e, "setAttribute", this, 3)([i, r[i]])
} else(0, b.A)(e, "setAttribute", this, 3)([t, n])
}
}])
}(d.$),
A = function (t) {
function e(t) {
var n;
return (0, i.A)(this, e), (n = (0, a.A)(this, e)).dataName = t, n.isTransferElement = !0, n
}
return (0, u.A)(e, t), (0, o.A)(e, [{
key: "_path",
get: function () {
return this.dataName
}
}])
}(d.$),
E = function (t) {
function e() {
var t;
return (0, i.A)(this, e), (t = (0, a.A)(this, e)).createEvent = f.lh, t.nodeType = 9, t.nodeName = r.$8, t
}
return (0, u.A)(e, t), (0, o.A)(e, [{
key: "createElement",
value: function (t) {
var e, n = t.toLowerCase();
switch (!0) {
case n === r.r7:
return e = new v.p;
case c.Ig.has(n):
e = new p.Z;
break;
case n === r.A:
e = new k;
break;
case "page-meta" === n:
case "navigation-bar" === n:
e = new A((0, s.Cb)(n));
break;
default:
e = new d.$
}
return e.nodeName = n, e.tagName = t.toUpperCase(), e
}
}, {
key: "createElementNS",
value: function (t, e) {
return this.createElement(e)
}
}, {
key: "createTextNode",
value: function (t) {
return new g.s(t)
}
}, {
key: "getElementById",
value: function (t) {
var e = h.K.get(t);
return (0, l.b0)(e) ? null : e
}
}, {
key: "querySelector",
value: function (t) {
return /^#/.test(t) ? this.getElementById(t.slice(1)) : null
}
}, {
key: "querySelectorAll",
value: function () {
return []
}
}, {
key: "createComment",
value: function () {
var t = new g.s("");
return t.nodeName = r.YK, t
}
}, {
key: "defaultView",
get: function () {
return m.A.window
}
}])
}(d.$);
var w = m.A.document = function () {
var t = new E,
e = t.createElement.bind(t),
n = e(r.g3),
i = e(r.Vx),
o = e(r.$p),
a = e(r.uq);
a.id = r.uq;
var u = e(r.MR);
return t.appendChild(n), n.appendChild(i), n.appendChild(o), o.appendChild(u), u.appendChild(a), t.documentElement = n, t.head = i, t.body = o, t
}()
},
9349: function (t, e, n) {
var r = n(4160);
Component((0, r.s$)("custom-wrapper"))
},
9504: function (t, e, n) {
n.d(e, {
A: function () {
return k
}
});
var r = {};
n.r(r), n.d(r, {
logInterceptor: function () {
return g
},
timeoutInterceptor: function () {
return v
}
});
var i = n(5508),
o = n(1071),
a = n(8836),
u = n(8226),
c = n(6664),
s = {
ASCF: "ASCF",
WEAPP: "WEAPP",
SWAN: "SWAN",
ALIPAY: "ALIPAY",
TT: "TT",
QQ: "QQ",
JD: "JD",
WEB: "WEB",
RN: "RN",
HARMONY: "HARMONY",
QUICKAPP: "QUICKAPP",
HARMONYHYBRID: "HARMONYHYBRID"
};
var l = n(29),
d = n(5517),
f = n(5763),
h = function () {
function t(e, n, r) {
(0, l.A)(this, t), this.index = r || 0, this.requestParams = e || {}, this.interceptors = n || []
}
return (0, d.A)(t, [{
key: "proceed",
value: function () {
var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {};
if (this.requestParams = t, this.index >= this.interceptors.length) throw new Error("chain 参数错误, 请勿直接修改 request.chain");
var e = this._getNextInterceptor(),
n = this._getNextChain(),
r = e(n),
i = r.catch((function (t) {
return Promise.reject(t)
}));
return Object.keys(r).forEach((function (t) {
return (0, f.Tn)(r[t]) && (i[t] = r[t])
})), i
}
}, {
key: "_getNextInterceptor",
value: function () {
return this.interceptors[this.index]
}
}, {
key: "_getNextChain",
value: function () {
return new t(this.requestParams, this.interceptors, this.index + 1)
}
}])
}(),
p = (0, d.A)((function t(e) {
(0, l.A)(this, t), this.taroInterceptor = e, this.chain = new h
}), [{
key: "request",
value: function (t) {
var e = this.chain,
n = this.taroInterceptor;
return e.interceptors = e.interceptors.filter((function (t) {
return t !== n
})).concat(n), e.proceed(Object.assign({}, t))
}
}, {
key: "addInterceptor",
value: function (t) {
this.chain.interceptors.push(t)
}
}, {
key: "cleanInterceptors",
value: function () {
this.chain = new h
}
}]);
function v(t) {
var e, n = t.requestParams,
r = new Promise((function (r, i) {
var o = setTimeout((function () {
clearTimeout(o), i(new Error("网络链接超时,请稍后再试!"))
}), n && n.timeout || 6e4);
(e = t.proceed(n)).then((function (t) {
o && (clearTimeout(o), r(t))
})).catch((function (t) {
o && clearTimeout(o), i(t)
}))
}));
return !(0, f.b0)(e) && (0, f.Tn)(e.abort) && (r.abort = e.abort), r
}
function g(t) {
var e = t.requestParams,
n = (e.method, e.data, e.url, t.proceed(e)),
r = n.then((function (t) {
return t
}));
return (0, f.Tn)(n.abort) && (r.abort = n.abort), r
}
var m = n(9371);
var b = {
640: 1.17,
750: 1,
828: .905
};
function y(t) {
return function (e) {
var n = e.designWidth,
r = void 0 === n ? 750 : n,
i = e.deviceRatio,
o = void 0 === i ? b : i,
a = e.baseFontSize,
u = void 0 === a ? 20 : a,
c = e.targetUnit,
s = void 0 === c ? "rpx" : c,
l = e.unitPrecision,
d = void 0 === l ? 5 : l;
t.config = t.config || {}, t.config.designWidth = r, t.config.deviceRatio = o, t.config.baseFontSize = u, t.config.targetUnit = s, t.config.unitPrecision = d
}
}
var k = {
Behavior: function (t) {
return t
},
getEnv: function () {
return s.WEAPP
},
ENV_TYPE: s,
Link: p,
interceptors: r,
Current: i.E,
getCurrentInstance: i.n,
options: o.f,
nextTick: a.d,
eventCenter: u.k,
Events: c.s,
getInitPxTransform: y,
interceptorify: function (t) {
return new p((function (e) {
return t(e.requestParams)
}))
}
};
k.initPxTransform = y(k), k.preload = function (t) {
return function (e, n) {
t.preloadData = (0, f.Gv)(e) ? e : (0, m.A)({}, e, n)
}
}(i.E), k.pxTransform = function (t) {
return function (e) {
var n = t.config || {},
r = n.baseFontSize,
i = n.deviceRatio || b,
o = function () {
var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : 0;
return (0, f.Tn)(n.designWidth) ? n.designWidth(t) : n.designWidth || 750
}(e);
if (!(o in i)) throw new Error("deviceRatio 配置中不存在 ".concat(o, " 的设置!"));
var a = n.targetUnit || "rpx",
u = n.unitPrecision || 5,
c = ~~e,
s = 1 / i[o];
switch (a) {
case "rem":
s *= 2 * r;
break;
case "px":
s *= 2
}
var l = c / s;
return u >= 0 && u <= 100 && (l = Number(l.toFixed(u))), l + a
}
}(k)
},
9565: function (t, e, n) {
n.d(e, {
C: function () {
return i
}
});
var r = "(Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/534.36 (KHTML, like Gecko) NodeJS/v4.1.0 Chrome/76.0.3809.132 Safari/534.36",
i = {
appCodeName: "Mozilla",
appName: "Netscape",
appVersion: "5.0 " + r,
cookieEnabled: !0,
mimeTypes: [],
onLine: !0,
platform: "MacIntel",
plugins: [],
product: "Taro",
productSub: "20030107",
userAgent: "Mozilla/5.0 " + r,
vendor: "Joyent",
vendorSub: ""
}
}
}
]);