feat: init

This commit is contained in:
2024-12-18 16:05:16 +08:00
commit 54780c2b24
70 changed files with 35219 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
"use strict";
(wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([["node_modules_taro_weapp_prebundle_react-dom_js"],{
/***/ "./node_modules/.taro/weapp/prebundle/react-dom.js":
/*!*********************************************************!*\
!*** ./node_modules/.taro/weapp/prebundle/react-dom.js ***!
\*********************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ createPortal: function() { return /* reexport safe */ _chunk_TQO5S7WL_js__WEBPACK_IMPORTED_MODULE_0__.createPortal; },
/* harmony export */ createRoot: function() { return /* reexport safe */ _chunk_TQO5S7WL_js__WEBPACK_IMPORTED_MODULE_0__.createRoot; },
/* harmony export */ "default": function() { return /* binding */ react_dom_default; },
/* harmony export */ findDOMNode: function() { return /* reexport safe */ _chunk_TQO5S7WL_js__WEBPACK_IMPORTED_MODULE_0__.findDOMNode; },
/* harmony export */ flushSync: function() { return /* reexport safe */ _chunk_TQO5S7WL_js__WEBPACK_IMPORTED_MODULE_0__.flushSync; },
/* harmony export */ internalInstanceKey: function() { return /* reexport safe */ _chunk_TQO5S7WL_js__WEBPACK_IMPORTED_MODULE_0__.internalInstanceKey; },
/* harmony export */ render: function() { return /* reexport safe */ _chunk_TQO5S7WL_js__WEBPACK_IMPORTED_MODULE_0__.render; },
/* harmony export */ unmountComponentAtNode: function() { return /* reexport safe */ _chunk_TQO5S7WL_js__WEBPACK_IMPORTED_MODULE_0__.unmountComponentAtNode; },
/* harmony export */ unstable_batchedUpdates: function() { return /* reexport safe */ _chunk_TQO5S7WL_js__WEBPACK_IMPORTED_MODULE_0__.unstable_batchedUpdates; }
/* harmony export */ });
/* harmony import */ var _chunk_TQO5S7WL_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./chunk-TQO5S7WL.js */ "./node_modules/.taro/weapp/prebundle/chunk-TQO5S7WL.js");
/* harmony import */ var _chunk_6TBQVUF2_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./chunk-6TBQVUF2.js */ "./node_modules/.taro/weapp/prebundle/chunk-6TBQVUF2.js");
/* harmony import */ var _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./chunk-WRSQ3V3E.js */ "./node_modules/.taro/weapp/prebundle/chunk-WRSQ3V3E.js");
/* harmony import */ var _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./chunk-GLEAZC6U.js */ "./node_modules/.taro/weapp/prebundle/chunk-GLEAZC6U.js");
/* harmony import */ var _chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./chunk-QRPWKJ4C.js */ "./node_modules/.taro/weapp/prebundle/chunk-QRPWKJ4C.js");
// entry:react-dom
var react_dom_default = _chunk_TQO5S7WL_js__WEBPACK_IMPORTED_MODULE_0__.index;
/***/ })
}]);

View File

@@ -0,0 +1,98 @@
(wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([["node_modules_taro_weapp_prebundle_react_js"],{
/***/ "./node_modules/.taro/weapp/prebundle/chunk-QRPWKJ4C.js":
/*!**************************************************************!*\
!*** ./node_modules/.taro/weapp/prebundle/chunk-QRPWKJ4C.js ***!
\**************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ __commonJS: function() { return /* binding */ __commonJS; },
/* harmony export */ __esm: function() { return /* binding */ __esm; },
/* harmony export */ __export: function() { return /* binding */ __export; },
/* harmony export */ __toCommonJS: function() { return /* binding */ __toCommonJS; },
/* harmony export */ __toESM: function() { return /* binding */ __toESM; }
/* harmony export */ });
var __create = Object.create;
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __getProtoOf = Object.getPrototypeOf;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __esm = (fn, res)=>function __init() {
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
};
var __commonJS = (cb, mod)=>function __require() {
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = {
exports: {}
}).exports, mod), mod.exports;
};
var __export = (target, all)=>{
for(var name in all)__defProp(target, name, {
get: all[name],
enumerable: true
});
};
var __copyProps = (to, from, except, desc)=>{
if (from && typeof from === "object" || typeof from === "function") {
for (let key of __getOwnPropNames(from))if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
get: ()=>from[key],
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
});
}
return to;
};
var __toESM = (mod, isNodeMode, target)=>(target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(// If the importer is in node compatibility mode or this is not an ESM
// file that has been converted to a CommonJS file using a Babel-
// compatible transform (i.e. "__esModule" has not been set), then set
// "default" to the CommonJS "module.exports" for node compatibility.
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
value: mod,
enumerable: true
}) : target, mod));
var __toCommonJS = (mod)=>__copyProps(__defProp({}, "__esModule", {
value: true
}), mod);
/***/ }),
/***/ "./node_modules/.taro/weapp/prebundle/react.core.js":
/*!**********************************************************!*\
!*** ./node_modules/.taro/weapp/prebundle/react.core.js ***!
\**********************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _chunk_6TBQVUF2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./chunk-6TBQVUF2.js */ "./node_modules/.taro/weapp/prebundle/chunk-6TBQVUF2.js");
/* harmony import */ var _chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./chunk-QRPWKJ4C.js */ "./node_modules/.taro/weapp/prebundle/chunk-QRPWKJ4C.js");
// entry:react
var require_react2 = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_1__.__commonJS)({
"entry:react" (exports, module) {
module.exports = (0,_chunk_6TBQVUF2_js__WEBPACK_IMPORTED_MODULE_0__.require_react)();
}
});
/* harmony default export */ __webpack_exports__["default"] = (require_react2());
/***/ }),
/***/ "./node_modules/.taro/weapp/prebundle/react.js":
/*!*****************************************************!*\
!*** ./node_modules/.taro/weapp/prebundle/react.js ***!
\*****************************************************/
/***/ (function(module, exports, __webpack_require__) {
var m = __webpack_require__(/*! ./react.core.js */ "./node_modules/.taro/weapp/prebundle/react.core.js");
module.exports = m.default;
exports["default"] = module.exports;
/***/ })
}]);

View File

@@ -0,0 +1,146 @@
(wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([["node_modules_taro_weapp_prebundle_react_jsx-runtime_js"],{
/***/ "./node_modules/.taro/weapp/prebundle/chunk-QRPWKJ4C.js":
/*!**************************************************************!*\
!*** ./node_modules/.taro/weapp/prebundle/chunk-QRPWKJ4C.js ***!
\**************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ __commonJS: function() { return /* binding */ __commonJS; },
/* harmony export */ __esm: function() { return /* binding */ __esm; },
/* harmony export */ __export: function() { return /* binding */ __export; },
/* harmony export */ __toCommonJS: function() { return /* binding */ __toCommonJS; },
/* harmony export */ __toESM: function() { return /* binding */ __toESM; }
/* harmony export */ });
var __create = Object.create;
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __getProtoOf = Object.getPrototypeOf;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __esm = (fn, res)=>function __init() {
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
};
var __commonJS = (cb, mod)=>function __require() {
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = {
exports: {}
}).exports, mod), mod.exports;
};
var __export = (target, all)=>{
for(var name in all)__defProp(target, name, {
get: all[name],
enumerable: true
});
};
var __copyProps = (to, from, except, desc)=>{
if (from && typeof from === "object" || typeof from === "function") {
for (let key of __getOwnPropNames(from))if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
get: ()=>from[key],
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
});
}
return to;
};
var __toESM = (mod, isNodeMode, target)=>(target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(// If the importer is in node compatibility mode or this is not an ESM
// file that has been converted to a CommonJS file using a Babel-
// compatible transform (i.e. "__esModule" has not been set), then set
// "default" to the CommonJS "module.exports" for node compatibility.
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
value: mod,
enumerable: true
}) : target, mod));
var __toCommonJS = (mod)=>__copyProps(__defProp({}, "__esModule", {
value: true
}), mod);
/***/ }),
/***/ "./node_modules/.taro/weapp/prebundle/react_jsx-runtime.core.js":
/*!**********************************************************************!*\
!*** ./node_modules/.taro/weapp/prebundle/react_jsx-runtime.core.js ***!
\**********************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _chunk_6TBQVUF2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./chunk-6TBQVUF2.js */ "./node_modules/.taro/weapp/prebundle/chunk-6TBQVUF2.js");
/* harmony import */ var _chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./chunk-QRPWKJ4C.js */ "./node_modules/.taro/weapp/prebundle/chunk-QRPWKJ4C.js");
// node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react-jsx-runtime.production.min.js
var require_react_jsx_runtime_production_min = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_1__.__commonJS)({
"node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react-jsx-runtime.production.min.js" (exports) {
"use strict";
var f = (0,_chunk_6TBQVUF2_js__WEBPACK_IMPORTED_MODULE_0__.require_react)();
var k = Symbol.for("react.element");
var l = Symbol.for("react.fragment");
var m = Object.prototype.hasOwnProperty;
var n = f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner;
var p = {
key: true,
ref: true,
__self: true,
__source: true
};
function q(c, a, g) {
var b, d = {}, e = null, h = null;
void 0 !== g && (e = "" + g);
void 0 !== a.key && (e = "" + a.key);
void 0 !== a.ref && (h = a.ref);
for(b in a)m.call(a, b) && !p.hasOwnProperty(b) && (d[b] = a[b]);
if (c && c.defaultProps) for(b in a = c.defaultProps, a)void 0 === d[b] && (d[b] = a[b]);
return {
$$typeof: k,
type: c,
key: e,
ref: h,
props: d,
_owner: n.current
};
}
exports.Fragment = l;
exports.jsx = q;
exports.jsxs = q;
}
});
// entry:react_jsx-runtime
var require_react_jsx_runtime = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_1__.__commonJS)({
"entry:react_jsx-runtime" (exports, module) {
module.exports = require_react_jsx_runtime_production_min();
}
});
/* harmony default export */ __webpack_exports__["default"] = (require_react_jsx_runtime()); /*! Bundled license information:
react/cjs/react-jsx-runtime.production.min.js:
(**
* @license React
* react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*)
*/
/***/ }),
/***/ "./node_modules/.taro/weapp/prebundle/react_jsx-runtime.js":
/*!*****************************************************************!*\
!*** ./node_modules/.taro/weapp/prebundle/react_jsx-runtime.js ***!
\*****************************************************************/
/***/ (function(module, exports, __webpack_require__) {
var m = __webpack_require__(/*! ./react_jsx-runtime.core.js */ "./node_modules/.taro/weapp/prebundle/react_jsx-runtime.core.js");
module.exports = m.default;
exports["default"] = module.exports;
/***/ })
}]);

View File

@@ -0,0 +1,99 @@
"use strict";
(wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([["node_modules_taro_weapp_prebundle_redux-thunk_js"],{
/***/ "./node_modules/.taro/weapp/prebundle/chunk-QRPWKJ4C.js":
/*!**************************************************************!*\
!*** ./node_modules/.taro/weapp/prebundle/chunk-QRPWKJ4C.js ***!
\**************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ __commonJS: function() { return /* binding */ __commonJS; },
/* harmony export */ __esm: function() { return /* binding */ __esm; },
/* harmony export */ __export: function() { return /* binding */ __export; },
/* harmony export */ __toCommonJS: function() { return /* binding */ __toCommonJS; },
/* harmony export */ __toESM: function() { return /* binding */ __toESM; }
/* harmony export */ });
var __create = Object.create;
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __getProtoOf = Object.getPrototypeOf;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __esm = (fn, res)=>function __init() {
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
};
var __commonJS = (cb, mod)=>function __require() {
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = {
exports: {}
}).exports, mod), mod.exports;
};
var __export = (target, all)=>{
for(var name in all)__defProp(target, name, {
get: all[name],
enumerable: true
});
};
var __copyProps = (to, from, except, desc)=>{
if (from && typeof from === "object" || typeof from === "function") {
for (let key of __getOwnPropNames(from))if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
get: ()=>from[key],
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
});
}
return to;
};
var __toESM = (mod, isNodeMode, target)=>(target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(// If the importer is in node compatibility mode or this is not an ESM
// file that has been converted to a CommonJS file using a Babel-
// compatible transform (i.e. "__esModule" has not been set), then set
// "default" to the CommonJS "module.exports" for node compatibility.
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
value: mod,
enumerable: true
}) : target, mod));
var __toCommonJS = (mod)=>__copyProps(__defProp({}, "__esModule", {
value: true
}), mod);
/***/ }),
/***/ "./node_modules/.taro/weapp/prebundle/redux-thunk.js":
/*!***********************************************************!*\
!*** ./node_modules/.taro/weapp/prebundle/redux-thunk.js ***!
\***********************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ "default": function() { return /* binding */ redux_thunk_default; }
/* harmony export */ });
/* harmony import */ var _chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./chunk-QRPWKJ4C.js */ "./node_modules/.taro/weapp/prebundle/chunk-QRPWKJ4C.js");
// node_modules/.pnpm/redux-thunk@2.4.2_redux@4.2.1/node_modules/redux-thunk/es/index.js
function createThunkMiddleware(extraArgument) {
var middleware = function middleware2(_ref) {
var dispatch = _ref.dispatch, getState = _ref.getState;
return function(next) {
return function(action) {
if (typeof action === "function") {
return action(dispatch, getState, extraArgument);
}
return next(action);
};
};
};
return middleware;
}
var thunk = createThunkMiddleware();
thunk.withExtraArgument = createThunkMiddleware;
var es_default = thunk;
// entry:redux-thunk
var redux_thunk_default = es_default;
/***/ })
}]);

View File

@@ -0,0 +1,147 @@
"use strict";
(wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([["node_modules_taro_weapp_prebundle_tarojs_runtime_js"],{
/***/ "./node_modules/.taro/weapp/prebundle/@tarojs_runtime.js":
/*!***************************************************************!*\
!*** ./node_modules/.taro/weapp/prebundle/@tarojs_runtime.js ***!
\***************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ A: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.A; },
/* harmony export */ APP: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.APP; },
/* harmony export */ BEHAVIORS: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.BEHAVIORS; },
/* harmony export */ BODY: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.BODY; },
/* harmony export */ CATCHMOVE: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.CATCHMOVE; },
/* harmony export */ CATCH_VIEW: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.CATCH_VIEW; },
/* harmony export */ CHANGE: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.CHANGE; },
/* harmony export */ CLASS: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.CLASS; },
/* harmony export */ CLICK_VIEW: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.CLICK_VIEW; },
/* harmony export */ COMMENT: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.COMMENT; },
/* harmony export */ COMPILE_MODE: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.COMPILE_MODE; },
/* harmony export */ CONFIRM: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.CONFIRM; },
/* harmony export */ CONTAINER: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.CONTAINER; },
/* harmony export */ CONTEXT_ACTIONS: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.CONTEXT_ACTIONS; },
/* harmony export */ CURRENT_TARGET: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.CURRENT_TARGET; },
/* harmony export */ CUSTOM_WRAPPER: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.CUSTOM_WRAPPER; },
/* harmony export */ Current: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.Current; },
/* harmony export */ DATASET: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.DATASET; },
/* harmony export */ DATE: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.DATE; },
/* harmony export */ DOCUMENT_ELEMENT_NAME: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.DOCUMENT_ELEMENT_NAME; },
/* harmony export */ DOCUMENT_FRAGMENT: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.DOCUMENT_FRAGMENT; },
/* harmony export */ EVENT_CALLBACK_RESULT: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.EVENT_CALLBACK_RESULT; },
/* harmony export */ EXTERNAL_CLASSES: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.EXTERNAL_CLASSES; },
/* harmony export */ Events: function() { return /* reexport safe */ _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.Events; },
/* harmony export */ FOCUS: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.FOCUS; },
/* harmony export */ FormElement: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.FormElement; },
/* harmony export */ HEAD: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.HEAD; },
/* harmony export */ HOOKS_APP_ID: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.HOOKS_APP_ID; },
/* harmony export */ HTML: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.HTML; },
/* harmony export */ History: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.History; },
/* harmony export */ ID: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.ID; },
/* harmony export */ INPUT: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.INPUT; },
/* harmony export */ KEY_CODE: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.KEY_CODE; },
/* harmony export */ Location: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.Location; },
/* harmony export */ MutationObserver: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.MutationObserver; },
/* harmony export */ OBJECT: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.OBJECT; },
/* harmony export */ ON_HIDE: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.ON_HIDE; },
/* harmony export */ ON_LOAD: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.ON_LOAD; },
/* harmony export */ ON_READY: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.ON_READY; },
/* harmony export */ ON_SHOW: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.ON_SHOW; },
/* harmony export */ OPTIONS: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.OPTIONS; },
/* harmony export */ PAGE_INIT: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.PAGE_INIT; },
/* harmony export */ PROPERTY_THRESHOLD: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.PROPERTY_THRESHOLD; },
/* harmony export */ PROPS: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.PROPS; },
/* harmony export */ PURE_VIEW: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.PURE_VIEW; },
/* harmony export */ ROOT_STR: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.ROOT_STR; },
/* harmony export */ SET_DATA: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.SET_DATA; },
/* harmony export */ SET_TIMEOUT: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.SET_TIMEOUT; },
/* harmony export */ STATIC_VIEW: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.STATIC_VIEW; },
/* harmony export */ STYLE: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.STYLE; },
/* harmony export */ SVGElement: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.SVGElement; },
/* harmony export */ Style: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.Style; },
/* harmony export */ TARGET: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.TARGET; },
/* harmony export */ TARO_RUNTIME: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.TARO_RUNTIME; },
/* harmony export */ TIME_STAMP: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.TIME_STAMP; },
/* harmony export */ TOUCHMOVE: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.TOUCHMOVE; },
/* harmony export */ TYPE: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.TYPE; },
/* harmony export */ TaroElement: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.TaroElement; },
/* harmony export */ TaroEvent: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.TaroEvent; },
/* harmony export */ TaroNode: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.TaroNode; },
/* harmony export */ TaroRootElement: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.TaroRootElement; },
/* harmony export */ TaroText: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.TaroText; },
/* harmony export */ UID: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.UID; },
/* harmony export */ URL: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.TaroURLProvider; },
/* harmony export */ URLSearchParams: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.URLSearchParams; },
/* harmony export */ VALUE: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.VALUE; },
/* harmony export */ VIEW: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.VIEW; },
/* harmony export */ addLeadingSlash: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.addLeadingSlash; },
/* harmony export */ cancelAnimationFrame: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__._caf; },
/* harmony export */ convertNumber2PX: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.convertNumber2PX; },
/* harmony export */ createComponentConfig: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.createComponentConfig; },
/* harmony export */ createEvent: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.createEvent; },
/* harmony export */ createPageConfig: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.createPageConfig; },
/* harmony export */ createRecursiveComponentConfig: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.createRecursiveComponentConfig; },
/* harmony export */ customWrapperCache: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.customWrapperCache; },
/* harmony export */ debounce: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.debounce; },
/* harmony export */ document: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.taroDocumentProvider; },
/* harmony export */ env: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.env; },
/* harmony export */ eventCenter: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.eventCenter; },
/* harmony export */ eventHandler: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.eventHandler; },
/* harmony export */ eventSource: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.eventSource; },
/* harmony export */ extend: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.extend; },
/* harmony export */ getComponentsAlias: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.getComponentsAlias; },
/* harmony export */ getComputedStyle: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.taroGetComputedStyleProvider; },
/* harmony export */ getCurrentInstance: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.getCurrentInstance; },
/* harmony export */ getCurrentPage: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.getCurrentPage; },
/* harmony export */ getHomePage: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.getHomePage; },
/* harmony export */ getOnHideEventKey: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.getOnHideEventKey; },
/* harmony export */ getOnReadyEventKey: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.getOnReadyEventKey; },
/* harmony export */ getOnShowEventKey: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.getOnShowEventKey; },
/* harmony export */ getPageInstance: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.getPageInstance; },
/* harmony export */ getPath: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.getPath; },
/* harmony export */ handlePolyfill: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.handlePolyfill; },
/* harmony export */ hasBasename: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.hasBasename; },
/* harmony export */ history: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.taroHistoryProvider; },
/* harmony export */ hooks: function() { return /* reexport safe */ _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.hooks; },
/* harmony export */ hydrate: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.hydrate; },
/* harmony export */ incrementId: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.incrementId; },
/* harmony export */ injectPageInstance: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.injectPageInstance; },
/* harmony export */ isComment: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.isComment; },
/* harmony export */ isElement: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.isElement; },
/* harmony export */ isHasExtractProp: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.isHasExtractProp; },
/* harmony export */ isParentBinded: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.isParentBinded; },
/* harmony export */ isText: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.isText; },
/* harmony export */ location: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.taroLocationProvider; },
/* harmony export */ navigator: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.nav; },
/* harmony export */ nextTick: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.nextTick; },
/* harmony export */ now: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.now; },
/* harmony export */ options: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.options; },
/* harmony export */ parseUrl: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.parseUrl; },
/* harmony export */ perf: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.perf; },
/* harmony export */ removePageInstance: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.removePageInstance; },
/* harmony export */ requestAnimationFrame: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__._raf; },
/* harmony export */ safeExecute: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.safeExecute; },
/* harmony export */ shortcutAttr: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.shortcutAttr; },
/* harmony export */ stringify: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.stringify; },
/* harmony export */ stripBasename: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.stripBasename; },
/* harmony export */ stripSuffix: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.stripSuffix; },
/* harmony export */ stripTrailing: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.stripTrailing; },
/* harmony export */ throttle: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.throttle; },
/* harmony export */ window: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.taroWindowProvider; }
/* harmony export */ });
/* harmony import */ var _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./chunk-WRSQ3V3E.js */ "./node_modules/.taro/weapp/prebundle/chunk-WRSQ3V3E.js");
/* harmony import */ var _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./chunk-GLEAZC6U.js */ "./node_modules/.taro/weapp/prebundle/chunk-GLEAZC6U.js");
/* harmony import */ var _chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./chunk-QRPWKJ4C.js */ "./node_modules/.taro/weapp/prebundle/chunk-QRPWKJ4C.js");
// entry:@tarojs_runtime
(0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.init_dist)();
/***/ })
}]);

121
dist/prebundle/remoteEntry.js vendored Normal file
View File

@@ -0,0 +1,121 @@
"use strict";
var taro_app_library;
(wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([["taro_app_library"],{
/***/ "webpack/container/entry/taro_app_library":
/*!***********************!*\
!*** container entry ***!
\***********************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
var moduleMap = {
"./react": function() {
return Promise.all([__webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-6TBQVUF2_js"), __webpack_require__.e("node_modules_taro_weapp_prebundle_react_js")]).then(function() { return function() { return (__webpack_require__(/*! ./node_modules/.taro/weapp/prebundle/react.js */ "./node_modules/.taro/weapp/prebundle/react.js")); }; });
},
"./react-redux": function() {
return Promise.all([__webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-GLEAZC6U_js"), __webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-WRSQ3V3E_js"), __webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-6TBQVUF2_js"), __webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-TQO5S7WL_js"), __webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_react-redux_js")]).then(function() { return function() { return (__webpack_require__(/*! ./node_modules/.taro/weapp/prebundle/react-redux.js */ "./node_modules/.taro/weapp/prebundle/react-redux.js")); }; });
},
"./redux": function() {
return __webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_redux_js").then(function() { return function() { return (__webpack_require__(/*! ./node_modules/.taro/weapp/prebundle/redux.js */ "./node_modules/.taro/weapp/prebundle/redux.js")); }; });
},
"./redux-thunk": function() {
return __webpack_require__.e("node_modules_taro_weapp_prebundle_redux-thunk_js").then(function() { return function() { return (__webpack_require__(/*! ./node_modules/.taro/weapp/prebundle/redux-thunk.js */ "./node_modules/.taro/weapp/prebundle/redux-thunk.js")); }; });
},
"./redux-logger": function() {
return Promise.all([__webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-GLEAZC6U_js"), __webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-WRSQ3V3E_js"), __webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_redux-logger_js")]).then(function() { return function() { return (__webpack_require__(/*! ./node_modules/.taro/weapp/prebundle/redux-logger.js */ "./node_modules/.taro/weapp/prebundle/redux-logger.js")); }; });
},
"./react/jsx-runtime": function() {
return Promise.all([__webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-6TBQVUF2_js"), __webpack_require__.e("node_modules_taro_weapp_prebundle_react_jsx-runtime_js")]).then(function() { return function() { return (__webpack_require__(/*! ./node_modules/.taro/weapp/prebundle/react_jsx-runtime.js */ "./node_modules/.taro/weapp/prebundle/react_jsx-runtime.js")); }; });
},
"./@tarojs/runtime": function() {
return Promise.all([__webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-GLEAZC6U_js"), __webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-WRSQ3V3E_js"), __webpack_require__.e("node_modules_taro_weapp_prebundle_tarojs_runtime_js")]).then(function() { return function() { return (__webpack_require__(/*! ./node_modules/.taro/weapp/prebundle/@tarojs_runtime.js */ "./node_modules/.taro/weapp/prebundle/@tarojs_runtime.js")); }; });
},
"./@tarojs/plugin-framework-react/dist/runtime": function() {
return Promise.all([__webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-GLEAZC6U_js"), __webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-WRSQ3V3E_js"), __webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_tarojs_plugin-framework-react_dist_runtime_js")]).then(function() { return function() { return (__webpack_require__(/*! ./node_modules/.taro/weapp/prebundle/@tarojs_plugin-framework-react_dist_runtime.js */ "./node_modules/.taro/weapp/prebundle/@tarojs_plugin-framework-react_dist_runtime.js")); }; });
},
"./@tarojs/plugin-platform-weapp/dist/runtime": function() {
return Promise.all([__webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-GLEAZC6U_js"), __webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_tarojs_plugin-platform-weapp_dist_runtime_js")]).then(function() { return function() { return (__webpack_require__(/*! ./node_modules/.taro/weapp/prebundle/@tarojs_plugin-platform-weapp_dist_runtime.js */ "./node_modules/.taro/weapp/prebundle/@tarojs_plugin-platform-weapp_dist_runtime.js")); }; });
},
"./@tarojs/taro": function() {
return Promise.all([__webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-GLEAZC6U_js"), __webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-WRSQ3V3E_js"), __webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_tarojs_taro_js")]).then(function() { return function() { return (__webpack_require__(/*! ./node_modules/.taro/weapp/prebundle/@tarojs_taro.js */ "./node_modules/.taro/weapp/prebundle/@tarojs_taro.js")); }; });
},
"./react-dom": function() {
return Promise.all([__webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-GLEAZC6U_js"), __webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-WRSQ3V3E_js"), __webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-6TBQVUF2_js"), __webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-TQO5S7WL_js"), __webpack_require__.e("node_modules_taro_weapp_prebundle_react-dom_js")]).then(function() { return function() { return (__webpack_require__(/*! ./node_modules/.taro/weapp/prebundle/react-dom.js */ "./node_modules/.taro/weapp/prebundle/react-dom.js")); }; });
}
};
var get = function(module, getScope) {
__webpack_require__.R = getScope;
getScope = (
__webpack_require__.o(moduleMap, module)
? moduleMap[module]()
: Promise.resolve().then(function() {
throw new Error('Module "' + module + '" does not exist in container.');
})
);
__webpack_require__.R = undefined;
return getScope;
};
var init = function(shareScope, initScope) {
if (!__webpack_require__.S) return;
var name = "default"
var oldScope = __webpack_require__.S[name];
if(oldScope && oldScope !== shareScope) throw new Error("Container initialization failed as it has already been initialized with a different share scope");
__webpack_require__.S[name] = shareScope;
return __webpack_require__.I(name, initScope);
};
// This exports getters to disallow modifications
__webpack_require__.d(exports, {
get: function() { return get; },
init: function() { return init; }
});
var taroModuleMap = {
"./react": function() {
return function() { return (__webpack_require__(/*! ./node_modules/.taro/weapp/prebundle/react.js */ "./node_modules/.taro/weapp/prebundle/react.js")); };
},
"./react-redux": function() {
return function() { return (__webpack_require__(/*! ./node_modules/.taro/weapp/prebundle/react-redux.js */ "./node_modules/.taro/weapp/prebundle/react-redux.js")); };
},
"./redux": function() {
return function() { return (__webpack_require__(/*! ./node_modules/.taro/weapp/prebundle/redux.js */ "./node_modules/.taro/weapp/prebundle/redux.js")); };
},
"./redux-thunk": function() {
return function() { return (__webpack_require__(/*! ./node_modules/.taro/weapp/prebundle/redux-thunk.js */ "./node_modules/.taro/weapp/prebundle/redux-thunk.js")); };
},
"./redux-logger": function() {
return function() { return (__webpack_require__(/*! ./node_modules/.taro/weapp/prebundle/redux-logger.js */ "./node_modules/.taro/weapp/prebundle/redux-logger.js")); };
},
"./react/jsx-runtime": function() {
return function() { return (__webpack_require__(/*! ./node_modules/.taro/weapp/prebundle/react_jsx-runtime.js */ "./node_modules/.taro/weapp/prebundle/react_jsx-runtime.js")); };
},
"./@tarojs/runtime": function() {
return function() { return (__webpack_require__(/*! ./node_modules/.taro/weapp/prebundle/@tarojs_runtime.js */ "./node_modules/.taro/weapp/prebundle/@tarojs_runtime.js")); };
},
"./@tarojs/plugin-framework-react/dist/runtime": function() {
return function() { return (__webpack_require__(/*! ./node_modules/.taro/weapp/prebundle/@tarojs_plugin-framework-react_dist_runtime.js */ "./node_modules/.taro/weapp/prebundle/@tarojs_plugin-framework-react_dist_runtime.js")); };
},
"./@tarojs/plugin-platform-weapp/dist/runtime": function() {
return function() { return (__webpack_require__(/*! ./node_modules/.taro/weapp/prebundle/@tarojs_plugin-platform-weapp_dist_runtime.js */ "./node_modules/.taro/weapp/prebundle/@tarojs_plugin-platform-weapp_dist_runtime.js")); };
},
"./@tarojs/taro": function() {
return function() { return (__webpack_require__(/*! ./node_modules/.taro/weapp/prebundle/@tarojs_taro.js */ "./node_modules/.taro/weapp/prebundle/@tarojs_taro.js")); };
},
"./react-dom": function() {
return function() { return (__webpack_require__(/*! ./node_modules/.taro/weapp/prebundle/react-dom.js */ "./node_modules/.taro/weapp/prebundle/react-dom.js")); };
}
};
var taroGet = function(module) {
return taroModuleMap[module]();
};
__webpack_require__.taro(taroGet);
/***/ })
},
/******/ function(__webpack_require__) { // webpackRuntimeModules
/******/ var __webpack_exec__ = function(moduleId) { return __webpack_require__(__webpack_require__.s = moduleId); }
/******/ var __webpack_exports__ = (__webpack_exec__("webpack/container/entry/taro_app_library"));
/******/ taro_app_library = __webpack_exports__;
/******/ }
]);

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,545 @@
(wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([["vendors-node_modules_taro_weapp_prebundle_redux-logger_js"],{
/***/ "./node_modules/.taro/weapp/prebundle/redux-logger.core.js":
/*!*****************************************************************!*\
!*** ./node_modules/.taro/weapp/prebundle/redux-logger.core.js ***!
\*****************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./chunk-QRPWKJ4C.js */ "./node_modules/.taro/weapp/prebundle/chunk-QRPWKJ4C.js");
/* provided dependency */ var window = __webpack_require__(/*! ./node_modules/.taro/weapp/prebundle/chunk-WRSQ3V3E.js */ "./node_modules/.taro/weapp/prebundle/chunk-WRSQ3V3E.js")["window$1"];
// node_modules/.pnpm/redux-logger@3.0.6/node_modules/redux-logger/dist/redux-logger.js
var require_redux_logger = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_0__.__commonJS)({
"node_modules/.pnpm/redux-logger@3.0.6/node_modules/redux-logger/dist/redux-logger.js" (exports, module) {
!function(e, t) {
"object" == typeof exports && "undefined" != typeof module ? t(exports) : false ? 0 : t(e.reduxLogger = e.reduxLogger || {});
}(exports, function(e) {
"use strict";
function t(e2, t2) {
e2.super_ = t2, e2.prototype = Object.create(t2.prototype, {
constructor: {
value: e2,
enumerable: false,
writable: true,
configurable: true
}
});
}
function r(e2, t2) {
Object.defineProperty(this, "kind", {
value: e2,
enumerable: true
}), t2 && t2.length && Object.defineProperty(this, "path", {
value: t2,
enumerable: true
});
}
function n(e2, t2, r2) {
n.super_.call(this, "E", e2), Object.defineProperty(this, "lhs", {
value: t2,
enumerable: true
}), Object.defineProperty(this, "rhs", {
value: r2,
enumerable: true
});
}
function o(e2, t2) {
o.super_.call(this, "N", e2), Object.defineProperty(this, "rhs", {
value: t2,
enumerable: true
});
}
function i(e2, t2) {
i.super_.call(this, "D", e2), Object.defineProperty(this, "lhs", {
value: t2,
enumerable: true
});
}
function a(e2, t2, r2) {
a.super_.call(this, "A", e2), Object.defineProperty(this, "index", {
value: t2,
enumerable: true
}), Object.defineProperty(this, "item", {
value: r2,
enumerable: true
});
}
function f(e2, t2, r2) {
var n2 = e2.slice((r2 || t2) + 1 || e2.length);
return e2.length = t2 < 0 ? e2.length + t2 : t2, e2.push.apply(e2, n2), e2;
}
function u(e2) {
var t2 = "undefined" == typeof e2 ? "undefined" : N(e2);
return "object" !== t2 ? t2 : e2 === Math ? "math" : null === e2 ? "null" : Array.isArray(e2) ? "array" : "[object Date]" === Object.prototype.toString.call(e2) ? "date" : "function" == typeof e2.toString && /^\/.*\//.test(e2.toString()) ? "regexp" : "object";
}
function l(e2, t2, r2, c2, s2, d2, p2) {
s2 = s2 || [], p2 = p2 || [];
var g2 = s2.slice(0);
if ("undefined" != typeof d2) {
if (c2) {
if ("function" == typeof c2 && c2(g2, d2)) return;
if ("object" === ("undefined" == typeof c2 ? "undefined" : N(c2))) {
if (c2.prefilter && c2.prefilter(g2, d2)) return;
if (c2.normalize) {
var h2 = c2.normalize(g2, d2, e2, t2);
h2 && (e2 = h2[0], t2 = h2[1]);
}
}
}
g2.push(d2);
}
"regexp" === u(e2) && "regexp" === u(t2) && (e2 = e2.toString(), t2 = t2.toString());
var y2 = "undefined" == typeof e2 ? "undefined" : N(e2), v2 = "undefined" == typeof t2 ? "undefined" : N(t2), b2 = "undefined" !== y2 || p2 && p2[p2.length - 1].lhs && p2[p2.length - 1].lhs.hasOwnProperty(d2), m2 = "undefined" !== v2 || p2 && p2[p2.length - 1].rhs && p2[p2.length - 1].rhs.hasOwnProperty(d2);
if (!b2 && m2) r2(new o(g2, t2));
else if (!m2 && b2) r2(new i(g2, e2));
else if (u(e2) !== u(t2)) r2(new n(g2, e2, t2));
else if ("date" === u(e2) && e2 - t2 !== 0) r2(new n(g2, e2, t2));
else if ("object" === y2 && null !== e2 && null !== t2) if (p2.filter(function(t3) {
return t3.lhs === e2;
}).length) e2 !== t2 && r2(new n(g2, e2, t2));
else {
if (p2.push({
lhs: e2,
rhs: t2
}), Array.isArray(e2)) {
var w2;
e2.length;
for(w2 = 0; w2 < e2.length; w2++)w2 >= t2.length ? r2(new a(g2, w2, new i(void 0, e2[w2]))) : l(e2[w2], t2[w2], r2, c2, g2, w2, p2);
for(; w2 < t2.length;)r2(new a(g2, w2, new o(void 0, t2[w2++])));
} else {
var x2 = Object.keys(e2), S2 = Object.keys(t2);
x2.forEach(function(n2, o2) {
var i2 = S2.indexOf(n2);
i2 >= 0 ? (l(e2[n2], t2[n2], r2, c2, g2, n2, p2), S2 = f(S2, i2)) : l(e2[n2], void 0, r2, c2, g2, n2, p2);
}), S2.forEach(function(e3) {
l(void 0, t2[e3], r2, c2, g2, e3, p2);
});
}
p2.length = p2.length - 1;
}
else e2 !== t2 && ("number" === y2 && isNaN(e2) && isNaN(t2) || r2(new n(g2, e2, t2)));
}
function c(e2, t2, r2, n2) {
return n2 = n2 || [], l(e2, t2, function(e3) {
e3 && n2.push(e3);
}, r2), n2.length ? n2 : void 0;
}
function s(e2, t2, r2) {
if (r2.path && r2.path.length) {
var n2, o2 = e2[t2], i2 = r2.path.length - 1;
for(n2 = 0; n2 < i2; n2++)o2 = o2[r2.path[n2]];
switch(r2.kind){
case "A":
s(o2[r2.path[n2]], r2.index, r2.item);
break;
case "D":
delete o2[r2.path[n2]];
break;
case "E":
case "N":
o2[r2.path[n2]] = r2.rhs;
}
} else switch(r2.kind){
case "A":
s(e2[t2], r2.index, r2.item);
break;
case "D":
e2 = f(e2, t2);
break;
case "E":
case "N":
e2[t2] = r2.rhs;
}
return e2;
}
function d(e2, t2, r2) {
if (e2 && t2 && r2 && r2.kind) {
for(var n2 = e2, o2 = -1, i2 = r2.path ? r2.path.length - 1 : 0; ++o2 < i2;)"undefined" == typeof n2[r2.path[o2]] && (n2[r2.path[o2]] = "number" == typeof r2.path[o2] ? [] : {}), n2 = n2[r2.path[o2]];
switch(r2.kind){
case "A":
s(r2.path ? n2[r2.path[o2]] : n2, r2.index, r2.item);
break;
case "D":
delete n2[r2.path[o2]];
break;
case "E":
case "N":
n2[r2.path[o2]] = r2.rhs;
}
}
}
function p(e2, t2, r2) {
if (r2.path && r2.path.length) {
var n2, o2 = e2[t2], i2 = r2.path.length - 1;
for(n2 = 0; n2 < i2; n2++)o2 = o2[r2.path[n2]];
switch(r2.kind){
case "A":
p(o2[r2.path[n2]], r2.index, r2.item);
break;
case "D":
o2[r2.path[n2]] = r2.lhs;
break;
case "E":
o2[r2.path[n2]] = r2.lhs;
break;
case "N":
delete o2[r2.path[n2]];
}
} else switch(r2.kind){
case "A":
p(e2[t2], r2.index, r2.item);
break;
case "D":
e2[t2] = r2.lhs;
break;
case "E":
e2[t2] = r2.lhs;
break;
case "N":
e2 = f(e2, t2);
}
return e2;
}
function g(e2, t2, r2) {
if (e2 && t2 && r2 && r2.kind) {
var n2, o2, i2 = e2;
for(o2 = r2.path.length - 1, n2 = 0; n2 < o2; n2++)"undefined" == typeof i2[r2.path[n2]] && (i2[r2.path[n2]] = {}), i2 = i2[r2.path[n2]];
switch(r2.kind){
case "A":
p(i2[r2.path[n2]], r2.index, r2.item);
break;
case "D":
i2[r2.path[n2]] = r2.lhs;
break;
case "E":
i2[r2.path[n2]] = r2.lhs;
break;
case "N":
delete i2[r2.path[n2]];
}
}
}
function h(e2, t2, r2) {
if (e2 && t2) {
var n2 = function(n3) {
r2 && !r2(e2, t2, n3) || d(e2, t2, n3);
};
l(e2, t2, n2);
}
}
function y(e2) {
return "color: " + F[e2].color + "; font-weight: bold";
}
function v(e2) {
var t2 = e2.kind, r2 = e2.path, n2 = e2.lhs, o2 = e2.rhs, i2 = e2.index, a2 = e2.item;
switch(t2){
case "E":
return [
r2.join("."),
n2,
"\u2192",
o2
];
case "N":
return [
r2.join("."),
o2
];
case "D":
return [
r2.join(".")
];
case "A":
return [
r2.join(".") + "[" + i2 + "]",
a2
];
default:
return [];
}
}
function b(e2, t2, r2, n2) {
var o2 = c(e2, t2);
try {
n2 ? r2.groupCollapsed("diff") : r2.group("diff");
} catch (e3) {
r2.log("diff");
}
o2 ? o2.forEach(function(e3) {
var t3 = e3.kind, n3 = v(e3);
r2.log.apply(r2, [
"%c " + F[t3].text,
y(t3)
].concat(P(n3)));
}) : r2.log("\u2014\u2014 no diff \u2014\u2014");
try {
r2.groupEnd();
} catch (e3) {
r2.log("\u2014\u2014 diff end \u2014\u2014 ");
}
}
function m(e2, t2, r2, n2) {
switch("undefined" == typeof e2 ? "undefined" : N(e2)){
case "object":
return "function" == typeof e2[n2] ? e2[n2].apply(e2, P(r2)) : e2[n2];
case "function":
return e2(t2);
default:
return e2;
}
}
function w(e2) {
var t2 = e2.timestamp, r2 = e2.duration;
return function(e3, n2, o2) {
var i2 = [
"action"
];
return i2.push("%c" + String(e3.type)), t2 && i2.push("%c@ " + n2), r2 && i2.push("%c(in " + o2.toFixed(2) + " ms)"), i2.join(" ");
};
}
function x(e2, t2) {
var r2 = t2.logger, n2 = t2.actionTransformer, o2 = t2.titleFormatter, i2 = void 0 === o2 ? w(t2) : o2, a2 = t2.collapsed, f2 = t2.colors, u2 = t2.level, l2 = t2.diff, c2 = "undefined" == typeof t2.titleFormatter;
e2.forEach(function(o3, s2) {
var d2 = o3.started, p2 = o3.startedTime, g2 = o3.action, h2 = o3.prevState, y2 = o3.error, v2 = o3.took, w2 = o3.nextState, x2 = e2[s2 + 1];
x2 && (w2 = x2.prevState, v2 = x2.started - d2);
var S2 = n2(g2), k2 = "function" == typeof a2 ? a2(function() {
return w2;
}, g2, o3) : a2, j2 = D(p2), E2 = f2.title ? "color: " + f2.title(S2) + ";" : "", A2 = [
"color: gray; font-weight: lighter;"
];
A2.push(E2), t2.timestamp && A2.push("color: gray; font-weight: lighter;"), t2.duration && A2.push("color: gray; font-weight: lighter;");
var O2 = i2(S2, j2, v2);
try {
k2 ? f2.title && c2 ? r2.groupCollapsed.apply(r2, [
"%c " + O2
].concat(A2)) : r2.groupCollapsed(O2) : f2.title && c2 ? r2.group.apply(r2, [
"%c " + O2
].concat(A2)) : r2.group(O2);
} catch (e3) {
r2.log(O2);
}
var N2 = m(u2, S2, [
h2
], "prevState"), P2 = m(u2, S2, [
S2
], "action"), C2 = m(u2, S2, [
y2,
h2
], "error"), F2 = m(u2, S2, [
w2
], "nextState");
if (N2) if (f2.prevState) {
var L2 = "color: " + f2.prevState(h2) + "; font-weight: bold";
r2[N2]("%c prev state", L2, h2);
} else r2[N2]("prev state", h2);
if (P2) if (f2.action) {
var T2 = "color: " + f2.action(S2) + "; font-weight: bold";
r2[P2]("%c action ", T2, S2);
} else r2[P2]("action ", S2);
if (y2 && C2) if (f2.error) {
var M = "color: " + f2.error(y2, h2) + "; font-weight: bold;";
r2[C2]("%c error ", M, y2);
} else r2[C2]("error ", y2);
if (F2) if (f2.nextState) {
var _ = "color: " + f2.nextState(w2) + "; font-weight: bold";
r2[F2]("%c next state", _, w2);
} else r2[F2]("next state", w2);
l2 && b(h2, w2, r2, k2);
try {
r2.groupEnd();
} catch (e3) {
r2.log("\u2014\u2014 log end \u2014\u2014");
}
});
}
function S() {
var e2 = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, t2 = Object.assign({}, L, e2), r2 = t2.logger, n2 = t2.stateTransformer, o2 = t2.errorTransformer, i2 = t2.predicate, a2 = t2.logErrors, f2 = t2.diffPredicate;
if ("undefined" == typeof r2) return function() {
return function(e3) {
return function(t3) {
return e3(t3);
};
};
};
if (e2.getState && e2.dispatch) return console.error("[redux-logger] redux-logger not installed. Make sure to pass logger instance as middleware:\n// Logger with default options\nimport { logger } from 'redux-logger'\nconst store = createStore(\n reducer,\n applyMiddleware(logger)\n)\n// Or you can create your own logger with custom options http://bit.ly/redux-logger-options\nimport createLogger from 'redux-logger'\nconst logger = createLogger({\n // ...options\n});\nconst store = createStore(\n reducer,\n applyMiddleware(logger)\n)\n"), function() {
return function(e3) {
return function(t3) {
return e3(t3);
};
};
};
var u2 = [];
return function(e3) {
var r3 = e3.getState;
return function(e4) {
return function(l2) {
if ("function" == typeof i2 && !i2(r3, l2)) return e4(l2);
var c2 = {};
u2.push(c2), c2.started = O.now(), c2.startedTime = /* @__PURE__ */ new Date(), c2.prevState = n2(r3()), c2.action = l2;
var s2 = void 0;
if (a2) try {
s2 = e4(l2);
} catch (e5) {
c2.error = o2(e5);
}
else s2 = e4(l2);
c2.took = O.now() - c2.started, c2.nextState = n2(r3());
var d2 = t2.diff && "function" == typeof f2 ? f2(r3, l2) : t2.diff;
if (x(u2, Object.assign({}, t2, {
diff: d2
})), u2.length = 0, c2.error) throw c2.error;
return s2;
};
};
};
}
var k, j, E = function(e2, t2) {
return new Array(t2 + 1).join(e2);
}, A = function(e2, t2) {
return E("0", t2 - e2.toString().length) + e2;
}, D = function(e2) {
return A(e2.getHours(), 2) + ":" + A(e2.getMinutes(), 2) + ":" + A(e2.getSeconds(), 2) + "." + A(e2.getMilliseconds(), 3);
}, O = "undefined" != typeof performance && null !== performance && "function" == typeof performance.now ? performance : Date, N = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e2) {
return typeof e2;
} : function(e2) {
return e2 && "function" == typeof Symbol && e2.constructor === Symbol && e2 !== Symbol.prototype ? "symbol" : typeof e2;
}, P = function(e2) {
if (Array.isArray(e2)) {
for(var t2 = 0, r2 = Array(e2.length); t2 < e2.length; t2++)r2[t2] = e2[t2];
return r2;
}
return Array.from(e2);
}, C = [];
k = "object" === ("undefined" == typeof __webpack_require__.g ? "undefined" : N(__webpack_require__.g)) && __webpack_require__.g ? __webpack_require__.g : "undefined" != typeof window ? window : {}, j = k.DeepDiff, j && C.push(function() {
"undefined" != typeof j && k.DeepDiff === c && (k.DeepDiff = j, j = void 0);
}), t(n, r), t(o, r), t(i, r), t(a, r), Object.defineProperties(c, {
diff: {
value: c,
enumerable: true
},
observableDiff: {
value: l,
enumerable: true
},
applyDiff: {
value: h,
enumerable: true
},
applyChange: {
value: d,
enumerable: true
},
revertChange: {
value: g,
enumerable: true
},
isConflict: {
value: function() {
return "undefined" != typeof j;
},
enumerable: true
},
noConflict: {
value: function() {
return C && (C.forEach(function(e2) {
e2();
}), C = null), c;
},
enumerable: true
}
});
var F = {
E: {
color: "#2196F3",
text: "CHANGED:"
},
N: {
color: "#4CAF50",
text: "ADDED:"
},
D: {
color: "#F44336",
text: "DELETED:"
},
A: {
color: "#2196F3",
text: "ARRAY:"
}
}, L = {
level: "log",
logger: console,
logErrors: true,
collapsed: void 0,
predicate: void 0,
duration: false,
timestamp: true,
stateTransformer: function(e2) {
return e2;
},
actionTransformer: function(e2) {
return e2;
},
errorTransformer: function(e2) {
return e2;
},
colors: {
title: function() {
return "inherit";
},
prevState: function() {
return "#9E9E9E";
},
action: function() {
return "#03A9F4";
},
nextState: function() {
return "#4CAF50";
},
error: function() {
return "#F20404";
}
},
diff: false,
diffPredicate: void 0,
transformer: void 0
}, T = function() {
var e2 = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, t2 = e2.dispatch, r2 = e2.getState;
return "function" == typeof t2 || "function" == typeof r2 ? S()({
dispatch: t2,
getState: r2
}) : void console.error("\n[redux-logger v3] BREAKING CHANGE\n[redux-logger v3] Since 3.0.0 redux-logger exports by default logger with default settings.\n[redux-logger v3] Change\n[redux-logger v3] import createLogger from 'redux-logger'\n[redux-logger v3] to\n[redux-logger v3] import { createLogger } from 'redux-logger'\n");
};
e.defaults = L, e.createLogger = S, e.logger = T, e.default = T, Object.defineProperty(e, "__esModule", {
value: true
});
});
}
});
// entry:redux-logger
var require_redux_logger2 = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_0__.__commonJS)({
"entry:redux-logger" (exports, module) {
module.exports = require_redux_logger();
}
});
/* harmony default export */ __webpack_exports__["default"] = (require_redux_logger2());
/***/ }),
/***/ "./node_modules/.taro/weapp/prebundle/redux-logger.js":
/*!************************************************************!*\
!*** ./node_modules/.taro/weapp/prebundle/redux-logger.js ***!
\************************************************************/
/***/ (function(module, exports, __webpack_require__) {
var m = __webpack_require__(/*! ./redux-logger.core.js */ "./node_modules/.taro/weapp/prebundle/redux-logger.core.js");
module.exports = m.default;
exports["default"] = module.exports;
/***/ })
}]);

View File

@@ -0,0 +1,505 @@
"use strict";
(wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([["vendors-node_modules_taro_weapp_prebundle_redux_js"],{
/***/ "./node_modules/.taro/weapp/prebundle/chunk-QRPWKJ4C.js":
/*!**************************************************************!*\
!*** ./node_modules/.taro/weapp/prebundle/chunk-QRPWKJ4C.js ***!
\**************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ __commonJS: function() { return /* binding */ __commonJS; },
/* harmony export */ __esm: function() { return /* binding */ __esm; },
/* harmony export */ __export: function() { return /* binding */ __export; },
/* harmony export */ __toCommonJS: function() { return /* binding */ __toCommonJS; },
/* harmony export */ __toESM: function() { return /* binding */ __toESM; }
/* harmony export */ });
var __create = Object.create;
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __getProtoOf = Object.getPrototypeOf;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __esm = (fn, res)=>function __init() {
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
};
var __commonJS = (cb, mod)=>function __require() {
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = {
exports: {}
}).exports, mod), mod.exports;
};
var __export = (target, all)=>{
for(var name in all)__defProp(target, name, {
get: all[name],
enumerable: true
});
};
var __copyProps = (to, from, except, desc)=>{
if (from && typeof from === "object" || typeof from === "function") {
for (let key of __getOwnPropNames(from))if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
get: ()=>from[key],
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
});
}
return to;
};
var __toESM = (mod, isNodeMode, target)=>(target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(// If the importer is in node compatibility mode or this is not an ESM
// file that has been converted to a CommonJS file using a Babel-
// compatible transform (i.e. "__esModule" has not been set), then set
// "default" to the CommonJS "module.exports" for node compatibility.
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
value: mod,
enumerable: true
}) : target, mod));
var __toCommonJS = (mod)=>__copyProps(__defProp({}, "__esModule", {
value: true
}), mod);
/***/ }),
/***/ "./node_modules/.taro/weapp/prebundle/redux.js":
/*!*****************************************************!*\
!*** ./node_modules/.taro/weapp/prebundle/redux.js ***!
\*****************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ __DO_NOT_USE__ActionTypes: function() { return /* binding */ ActionTypes; },
/* harmony export */ applyMiddleware: function() { return /* binding */ applyMiddleware; },
/* harmony export */ bindActionCreators: function() { return /* binding */ bindActionCreators; },
/* harmony export */ combineReducers: function() { return /* binding */ combineReducers; },
/* harmony export */ compose: function() { return /* binding */ compose; },
/* harmony export */ createStore: function() { return /* binding */ createStore; },
/* harmony export */ legacy_createStore: function() { return /* binding */ legacy_createStore; }
/* harmony export */ });
/* harmony import */ var _chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./chunk-QRPWKJ4C.js */ "./node_modules/.taro/weapp/prebundle/chunk-QRPWKJ4C.js");
// node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/typeof.js
function _typeof(o) {
"@babel/helpers - typeof";
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
return typeof o2;
} : function(o2) {
return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
}, _typeof(o);
}
// node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/toPrimitive.js
function toPrimitive(t, r) {
if ("object" != _typeof(t) || !t) return t;
var e = t[Symbol.toPrimitive];
if (void 0 !== e) {
var i = e.call(t, r || "default");
if ("object" != _typeof(i)) return i;
throw new TypeError("@@toPrimitive must return a primitive value.");
}
return ("string" === r ? String : Number)(t);
}
// node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
function toPropertyKey(t) {
var i = toPrimitive(t, "string");
return "symbol" == _typeof(i) ? i : i + "";
}
// node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/defineProperty.js
function _defineProperty(e, r, t) {
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
value: t,
enumerable: true,
configurable: true,
writable: true
}) : e[r] = t, e;
}
// node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/objectSpread2.js
function ownKeys(e, r) {
var t = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var o = Object.getOwnPropertySymbols(e);
r && (o = o.filter(function(r2) {
return Object.getOwnPropertyDescriptor(e, r2).enumerable;
})), t.push.apply(t, o);
}
return t;
}
function _objectSpread2(e) {
for(var r = 1; r < arguments.length; r++){
var t = null != arguments[r] ? arguments[r] : {};
r % 2 ? ownKeys(Object(t), true).forEach(function(r2) {
_defineProperty(e, r2, t[r2]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function(r2) {
Object.defineProperty(e, r2, Object.getOwnPropertyDescriptor(t, r2));
});
}
return e;
}
// node_modules/.pnpm/redux@4.2.1/node_modules/redux/es/redux.js
var $$observable = function() {
return typeof Symbol === "function" && Symbol.observable || "@@observable";
}();
var randomString = function randomString2() {
return Math.random().toString(36).substring(7).split("").join(".");
};
var ActionTypes = {
INIT: "@@redux/INIT" + randomString(),
REPLACE: "@@redux/REPLACE" + randomString(),
PROBE_UNKNOWN_ACTION: function PROBE_UNKNOWN_ACTION() {
return "@@redux/PROBE_UNKNOWN_ACTION" + randomString();
}
};
function isPlainObject(obj) {
if (typeof obj !== "object" || obj === null) return false;
var proto = obj;
while(Object.getPrototypeOf(proto) !== null){
proto = Object.getPrototypeOf(proto);
}
return Object.getPrototypeOf(obj) === proto;
}
function miniKindOf(val) {
if (val === void 0) return "undefined";
if (val === null) return "null";
var type = typeof val;
switch(type){
case "boolean":
case "string":
case "number":
case "symbol":
case "function":
{
return type;
}
}
if (Array.isArray(val)) return "array";
if (isDate(val)) return "date";
if (isError(val)) return "error";
var constructorName = ctorName(val);
switch(constructorName){
case "Symbol":
case "Promise":
case "WeakMap":
case "WeakSet":
case "Map":
case "Set":
return constructorName;
}
return type.slice(8, -1).toLowerCase().replace(/\s/g, "");
}
function ctorName(val) {
return typeof val.constructor === "function" ? val.constructor.name : null;
}
function isError(val) {
return val instanceof Error || typeof val.message === "string" && val.constructor && typeof val.constructor.stackTraceLimit === "number";
}
function isDate(val) {
if (val instanceof Date) return true;
return typeof val.toDateString === "function" && typeof val.getDate === "function" && typeof val.setDate === "function";
}
function kindOf(val) {
var typeOfVal = typeof val;
if (true) {
typeOfVal = miniKindOf(val);
}
return typeOfVal;
}
function createStore(reducer, preloadedState, enhancer) {
var _ref2;
if (typeof preloadedState === "function" && typeof enhancer === "function" || typeof enhancer === "function" && typeof arguments[3] === "function") {
throw new Error( false ? 0 : "It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function. See https://redux.js.org/tutorials/fundamentals/part-4-store#creating-a-store-with-enhancers for an example.");
}
if (typeof preloadedState === "function" && typeof enhancer === "undefined") {
enhancer = preloadedState;
preloadedState = void 0;
}
if (typeof enhancer !== "undefined") {
if (typeof enhancer !== "function") {
throw new Error( false ? 0 : "Expected the enhancer to be a function. Instead, received: '" + kindOf(enhancer) + "'");
}
return enhancer(createStore)(reducer, preloadedState);
}
if (typeof reducer !== "function") {
throw new Error( false ? 0 : "Expected the root reducer to be a function. Instead, received: '" + kindOf(reducer) + "'");
}
var currentReducer = reducer;
var currentState = preloadedState;
var currentListeners = [];
var nextListeners = currentListeners;
var isDispatching = false;
function ensureCanMutateNextListeners() {
if (nextListeners === currentListeners) {
nextListeners = currentListeners.slice();
}
}
function getState() {
if (isDispatching) {
throw new Error( false ? 0 : "You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");
}
return currentState;
}
function subscribe(listener) {
if (typeof listener !== "function") {
throw new Error( false ? 0 : "Expected the listener to be a function. Instead, received: '" + kindOf(listener) + "'");
}
if (isDispatching) {
throw new Error( false ? 0 : "You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api/store#subscribelistener for more details.");
}
var isSubscribed = true;
ensureCanMutateNextListeners();
nextListeners.push(listener);
return function unsubscribe() {
if (!isSubscribed) {
return;
}
if (isDispatching) {
throw new Error( false ? 0 : "You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api/store#subscribelistener for more details.");
}
isSubscribed = false;
ensureCanMutateNextListeners();
var index = nextListeners.indexOf(listener);
nextListeners.splice(index, 1);
currentListeners = null;
};
}
function dispatch(action) {
if (!isPlainObject(action)) {
throw new Error( false ? 0 : "Actions must be plain objects. Instead, the actual type was: '" + kindOf(action) + "'. You may need to add middleware to your store setup to handle dispatching other values, such as 'redux-thunk' to handle dispatching functions. See https://redux.js.org/tutorials/fundamentals/part-4-store#middleware and https://redux.js.org/tutorials/fundamentals/part-6-async-logic#using-the-redux-thunk-middleware for examples.");
}
if (typeof action.type === "undefined") {
throw new Error( false ? 0 : 'Actions may not have an undefined "type" property. You may have misspelled an action type string constant.');
}
if (isDispatching) {
throw new Error( false ? 0 : "Reducers may not dispatch actions.");
}
try {
isDispatching = true;
currentState = currentReducer(currentState, action);
} finally{
isDispatching = false;
}
var listeners = currentListeners = nextListeners;
for(var i = 0; i < listeners.length; i++){
var listener = listeners[i];
listener();
}
return action;
}
function replaceReducer(nextReducer) {
if (typeof nextReducer !== "function") {
throw new Error( false ? 0 : "Expected the nextReducer to be a function. Instead, received: '" + kindOf(nextReducer));
}
currentReducer = nextReducer;
dispatch({
type: ActionTypes.REPLACE
});
}
function observable() {
var _ref;
var outerSubscribe = subscribe;
return _ref = {
/**
* The minimal observable subscription method.
* @param {Object} observer Any object that can be used as an observer.
* The observer object should have a `next` method.
* @returns {subscription} An object with an `unsubscribe` method that can
* be used to unsubscribe the observable from the store, and prevent further
* emission of values from the observable.
*/ subscribe: function subscribe2(observer) {
if (typeof observer !== "object" || observer === null) {
throw new Error( false ? 0 : "Expected the observer to be an object. Instead, received: '" + kindOf(observer) + "'");
}
function observeState() {
if (observer.next) {
observer.next(getState());
}
}
observeState();
var unsubscribe = outerSubscribe(observeState);
return {
unsubscribe
};
}
}, _ref[$$observable] = function() {
return this;
}, _ref;
}
dispatch({
type: ActionTypes.INIT
});
return _ref2 = {
dispatch,
subscribe,
getState,
replaceReducer
}, _ref2[$$observable] = observable, _ref2;
}
var legacy_createStore = createStore;
function warning(message) {
if (typeof console !== "undefined" && typeof console.error === "function") {
console.error(message);
}
try {
throw new Error(message);
} catch (e) {}
}
function getUnexpectedStateShapeWarningMessage(inputState, reducers, action, unexpectedKeyCache) {
var reducerKeys = Object.keys(reducers);
var argumentName = action && action.type === ActionTypes.INIT ? "preloadedState argument passed to createStore" : "previous state received by the reducer";
if (reducerKeys.length === 0) {
return "Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.";
}
if (!isPlainObject(inputState)) {
return "The " + argumentName + ' has unexpected type of "' + kindOf(inputState) + '". Expected argument to be an object with the following ' + ('keys: "' + reducerKeys.join('", "') + '"');
}
var unexpectedKeys = Object.keys(inputState).filter(function(key) {
return !reducers.hasOwnProperty(key) && !unexpectedKeyCache[key];
});
unexpectedKeys.forEach(function(key) {
unexpectedKeyCache[key] = true;
});
if (action && action.type === ActionTypes.REPLACE) return;
if (unexpectedKeys.length > 0) {
return "Unexpected " + (unexpectedKeys.length > 1 ? "keys" : "key") + " " + ('"' + unexpectedKeys.join('", "') + '" found in ' + argumentName + ". ") + "Expected to find one of the known reducer keys instead: " + ('"' + reducerKeys.join('", "') + '". Unexpected keys will be ignored.');
}
}
function assertReducerShape(reducers) {
Object.keys(reducers).forEach(function(key) {
var reducer = reducers[key];
var initialState = reducer(void 0, {
type: ActionTypes.INIT
});
if (typeof initialState === "undefined") {
throw new Error( false ? 0 : 'The slice reducer for key "' + key + `" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.`);
}
if (typeof reducer(void 0, {
type: ActionTypes.PROBE_UNKNOWN_ACTION()
}) === "undefined") {
throw new Error( false ? 0 : 'The slice reducer for key "' + key + '" returned undefined when probed with a random type. ' + ("Don't try to handle '" + ActionTypes.INIT + `' or other actions in "redux/*" `) + "namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.");
}
});
}
function combineReducers(reducers) {
var reducerKeys = Object.keys(reducers);
var finalReducers = {};
for(var i = 0; i < reducerKeys.length; i++){
var key = reducerKeys[i];
if (true) {
if (typeof reducers[key] === "undefined") {
warning('No reducer provided for key "' + key + '"');
}
}
if (typeof reducers[key] === "function") {
finalReducers[key] = reducers[key];
}
}
var finalReducerKeys = Object.keys(finalReducers);
var unexpectedKeyCache;
if (true) {
unexpectedKeyCache = {};
}
var shapeAssertionError;
try {
assertReducerShape(finalReducers);
} catch (e) {
shapeAssertionError = e;
}
return function combination(state, action) {
if (state === void 0) {
state = {};
}
if (shapeAssertionError) {
throw shapeAssertionError;
}
if (true) {
var warningMessage = getUnexpectedStateShapeWarningMessage(state, finalReducers, action, unexpectedKeyCache);
if (warningMessage) {
warning(warningMessage);
}
}
var hasChanged = false;
var nextState = {};
for(var _i = 0; _i < finalReducerKeys.length; _i++){
var _key = finalReducerKeys[_i];
var reducer = finalReducers[_key];
var previousStateForKey = state[_key];
var nextStateForKey = reducer(previousStateForKey, action);
if (typeof nextStateForKey === "undefined") {
var actionType = action && action.type;
throw new Error( false ? 0 : "When called with an action of type " + (actionType ? '"' + String(actionType) + '"' : "(unknown type)") + ', the slice reducer for key "' + _key + '" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.');
}
nextState[_key] = nextStateForKey;
hasChanged = hasChanged || nextStateForKey !== previousStateForKey;
}
hasChanged = hasChanged || finalReducerKeys.length !== Object.keys(state).length;
return hasChanged ? nextState : state;
};
}
function bindActionCreator(actionCreator, dispatch) {
return function() {
return dispatch(actionCreator.apply(this, arguments));
};
}
function bindActionCreators(actionCreators, dispatch) {
if (typeof actionCreators === "function") {
return bindActionCreator(actionCreators, dispatch);
}
if (typeof actionCreators !== "object" || actionCreators === null) {
throw new Error( false ? 0 : "bindActionCreators expected an object or a function, but instead received: '" + kindOf(actionCreators) + `'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?`);
}
var boundActionCreators = {};
for(var key in actionCreators){
var actionCreator = actionCreators[key];
if (typeof actionCreator === "function") {
boundActionCreators[key] = bindActionCreator(actionCreator, dispatch);
}
}
return boundActionCreators;
}
function compose() {
for(var _len = arguments.length, funcs = new Array(_len), _key = 0; _key < _len; _key++){
funcs[_key] = arguments[_key];
}
if (funcs.length === 0) {
return function(arg) {
return arg;
};
}
if (funcs.length === 1) {
return funcs[0];
}
return funcs.reduce(function(a, b) {
return function() {
return a(b.apply(void 0, arguments));
};
});
}
function applyMiddleware() {
for(var _len = arguments.length, middlewares = new Array(_len), _key = 0; _key < _len; _key++){
middlewares[_key] = arguments[_key];
}
return function(createStore2) {
return function() {
var store = createStore2.apply(void 0, arguments);
var _dispatch = function dispatch() {
throw new Error( false ? 0 : "Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.");
};
var middlewareAPI = {
getState: store.getState,
dispatch: function dispatch() {
return _dispatch.apply(void 0, arguments);
}
};
var chain = middlewares.map(function(middleware) {
return middleware(middlewareAPI);
});
_dispatch = compose.apply(void 0, chain)(store.dispatch);
return _objectSpread2(_objectSpread2({}, store), {}, {
dispatch: _dispatch
});
};
};
}
/***/ })
}]);

View File

@@ -0,0 +1,864 @@
"use strict";
(wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([["vendors-node_modules_taro_weapp_prebundle_tarojs_plugin-framework-react_dist_runtime_js"],{
/***/ "./node_modules/.taro/weapp/prebundle/@tarojs_plugin-framework-react_dist_runtime.js":
/*!*******************************************************************************************!*\
!*** ./node_modules/.taro/weapp/prebundle/@tarojs_plugin-framework-react_dist_runtime.js ***!
\*******************************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ connectReactPage: function() { return /* binding */ connectReactPage; },
/* harmony export */ createH5NativeComponentConfig: function() { return /* binding */ createH5NativeComponentConfig; },
/* harmony export */ createNativeComponentConfig: function() { return /* binding */ createNativeComponentConfig; },
/* harmony export */ createNativePageConfig: function() { return /* binding */ createNativePageConfig; },
/* harmony export */ createReactApp: function() { return /* binding */ createReactApp; },
/* harmony export */ setReconciler: function() { return /* binding */ setReconciler; },
/* harmony export */ useAddToFavorites: function() { return /* binding */ useAddToFavorites; },
/* harmony export */ useDidHide: function() { return /* binding */ useDidHide; },
/* harmony export */ useDidShow: function() { return /* binding */ useDidShow; },
/* harmony export */ useError: function() { return /* binding */ useError; },
/* harmony export */ useLaunch: function() { return /* binding */ useLaunch; },
/* harmony export */ useLoad: function() { return /* binding */ useLoad; },
/* harmony export */ useOptionMenuClick: function() { return /* binding */ useOptionMenuClick; },
/* harmony export */ usePageNotFound: function() { return /* binding */ usePageNotFound; },
/* harmony export */ usePageScroll: function() { return /* binding */ usePageScroll; },
/* harmony export */ usePullDownRefresh: function() { return /* binding */ usePullDownRefresh; },
/* harmony export */ usePullIntercept: function() { return /* binding */ usePullIntercept; },
/* harmony export */ useReachBottom: function() { return /* binding */ useReachBottom; },
/* harmony export */ useReady: function() { return /* binding */ useReady; },
/* harmony export */ useResize: function() { return /* binding */ useResize; },
/* harmony export */ useRouter: function() { return /* binding */ useRouter; },
/* harmony export */ useSaveExitState: function() { return /* binding */ useSaveExitState; },
/* harmony export */ useScope: function() { return /* binding */ useScope; },
/* harmony export */ useShareAppMessage: function() { return /* binding */ useShareAppMessage; },
/* harmony export */ useShareTimeline: function() { return /* binding */ useShareTimeline; },
/* harmony export */ useTabItemTap: function() { return /* binding */ useTabItemTap; },
/* harmony export */ useTitleClick: function() { return /* binding */ useTitleClick; },
/* harmony export */ useUnhandledRejection: function() { return /* binding */ useUnhandledRejection; },
/* harmony export */ useUnload: function() { return /* binding */ useUnload; }
/* harmony export */ });
/* harmony import */ var _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./chunk-WRSQ3V3E.js */ "./node_modules/.taro/weapp/prebundle/chunk-WRSQ3V3E.js");
/* harmony import */ var _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./chunk-GLEAZC6U.js */ "./node_modules/.taro/weapp/prebundle/chunk-GLEAZC6U.js");
/* harmony import */ var _chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./chunk-QRPWKJ4C.js */ "./node_modules/.taro/weapp/prebundle/chunk-QRPWKJ4C.js");
// node_modules/.pnpm/@tarojs+plugin-framework-react@4.0.8_@pmmmwh+react-refresh-webpack-plugin@0.5.15_react-refres_4fquu5eruik3y3varqkt6blxxi/node_modules/@tarojs/plugin-framework-react/dist/runtime.js
(0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.init_dist)();
(0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.init_dist)();
var reactMeta = {
PageContext: _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ,
R: _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ
};
var HOOKS_APP_ID = "taro-app";
function isClassComponent(R, component) {
var _a;
const prototype = component.prototype;
if ((_a = component.displayName) === null || _a === void 0 ? void 0 : _a.includes("Connect")) return false;
return (0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.isFunction)(component.render) || !!(prototype === null || prototype === void 0 ? void 0 : prototype.isReactComponent) || prototype instanceof R.Component;
}
function ensureIsArray(item) {
if ((0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.isArray)(item)) {
return item;
} else {
return item ? [
item
] : [];
}
}
function setDefaultDescriptor(obj) {
obj.writable = true;
obj.enumerable = true;
return obj;
}
function setRouterParams(options) {
_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.Current.router = Object.assign({
params: options === null || options === void 0 ? void 0 : options.query
}, options);
}
var createTaroHook = (lifecycle)=>{
return (fn)=>{
const { R: React, PageContext } = reactMeta;
const id = React.useContext(PageContext) || HOOKS_APP_ID;
const instRef = React.useRef();
const fnRef = React.useRef(fn);
if (fnRef.current !== fn) fnRef.current = fn;
React.useLayoutEffect(()=>{
let inst = instRef.current = (0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.getPageInstance)(id);
let first = false;
if (!inst) {
first = true;
instRef.current = /* @__PURE__ */ Object.create(null);
inst = instRef.current;
}
const callback = (...args)=>fnRef.current(...args);
if ((0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.isFunction)(inst[lifecycle])) {
inst[lifecycle] = [
inst[lifecycle],
callback
];
} else {
inst[lifecycle] = [
...inst[lifecycle] || [],
callback
];
}
if (first) {
(0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.injectPageInstance)(inst, id);
}
return ()=>{
const inst2 = instRef.current;
if (!inst2) return;
const list = inst2[lifecycle];
if (list === callback) {
inst2[lifecycle] = void 0;
} else if ((0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.isArray)(list)) {
inst2[lifecycle] = list.filter((item)=>item !== callback);
}
instRef.current = void 0;
};
}, []);
};
};
var useDidHide = createTaroHook("componentDidHide");
var useDidShow = createTaroHook("componentDidShow");
var useError = createTaroHook("onError");
var useUnhandledRejection = createTaroHook("onUnhandledRejection");
var useLaunch = createTaroHook("onLaunch");
var usePageNotFound = createTaroHook("onPageNotFound");
var useLoad = createTaroHook("onLoad");
var usePageScroll = createTaroHook("onPageScroll");
var usePullDownRefresh = createTaroHook("onPullDownRefresh");
var usePullIntercept = createTaroHook("onPullIntercept");
var useReachBottom = createTaroHook("onReachBottom");
var useResize = createTaroHook("onResize");
var useUnload = createTaroHook("onUnload");
var useAddToFavorites = createTaroHook("onAddToFavorites");
var useOptionMenuClick = createTaroHook("onOptionMenuClick");
var useSaveExitState = createTaroHook("onSaveExitState");
var useShareAppMessage = createTaroHook("onShareAppMessage");
var useShareTimeline = createTaroHook("onShareTimeline");
var useTitleClick = createTaroHook("onTitleClick");
var useReady = createTaroHook("onReady");
var useRouter = (dynamic = false)=>{
const React = reactMeta.R;
return dynamic ? _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.Current.router : React.useMemo(()=>_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.Current.router, []);
};
var useTabItemTap = createTaroHook("onTabItemTap");
var useScope = ()=>void 0;
var taroHooks = Object.freeze({
__proto__: null,
useAddToFavorites,
useDidHide,
useDidShow,
useError,
useLaunch,
useLoad,
useOptionMenuClick,
usePageNotFound,
usePageScroll,
usePullDownRefresh,
usePullIntercept,
useReachBottom,
useReady,
useResize,
useRouter,
useSaveExitState,
useScope,
useShareAppMessage,
useShareTimeline,
useTabItemTap,
useTitleClick,
useUnhandledRejection,
useUnload
});
var h$1;
var ReactDOM$1;
var Fragment;
var pageKeyId = (0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.incrementId)();
function setReconciler(ReactDOM2) {
_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.hooks.tap("getLifecycle", function(instance, lifecycle) {
lifecycle = lifecycle.replace(/^on(Show|Hide)$/, "componentDid$1");
return instance[lifecycle];
});
_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.hooks.tap("modifyMpEvent", function(event) {
Object.defineProperty(event, "type", {
value: event.type.replace(/-/g, "")
});
});
_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.hooks.tap("batchedEventUpdates", function(cb) {
ReactDOM2 === null || ReactDOM2 === void 0 ? void 0 : ReactDOM2.unstable_batchedUpdates(cb);
});
_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.hooks.tap("mergePageInstance", function(prev, next) {
if (!prev || !next) return;
if ("constructor" in prev) return;
Object.keys(prev).forEach((item)=>{
const prevList = prev[item];
const nextList = ensureIsArray(next[item]);
next[item] = nextList.concat(prevList);
});
});
if (false) {}
}
function connectReactPage(R, id) {
return (Page)=>{
const isReactComponent = isClassComponent(R, Page);
const inject = (node)=>node && (0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.injectPageInstance)(node, id);
const refs = isReactComponent ? {
ref: inject
} : {
forwardedRef: inject,
// 兼容 react-redux 7.20.1+
reactReduxForwardedRef: inject
};
if (reactMeta.PageContext === _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ) {
reactMeta.PageContext = R.createContext("");
}
return class PageWrapper extends R.Component {
static getDerivedStateFromError(error) {
var _a, _b;
(_b = (_a = _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.Current.app) === null || _a === void 0 ? void 0 : _a.onError) === null || _b === void 0 ? void 0 : _b.call(_a, error.message + error.stack);
return {
hasError: true
};
}
// React 16 uncaught error 会导致整个应用 crash
// 目前把错误缩小到页面
componentDidCatch(error, info) {
if (true) {
console.warn(error);
console.error(info.componentStack);
}
}
render() {
const children = this.state.hasError ? [] : h$1(reactMeta.PageContext.Provider, {
value: id
}, h$1(Page, Object.assign(Object.assign({}, this.props), refs)));
if (false) {} else {
return h$1("root", {
id
}, children);
}
}
constructor(){
super(...arguments);
this.state = {
hasError: false
};
}
};
};
}
function createReactApp(App, react, dom, config) {
if (true) {
(0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.ensure)(!!dom, "\u6784\u5EFA React/Preact \u9879\u76EE\u8BF7\u628A process.env.FRAMEWORK \u8BBE\u7F6E\u4E3A 'react'/'preact' ");
}
reactMeta.R = react;
h$1 = react.createElement;
ReactDOM$1 = dom;
Fragment = react.Fragment;
const appInstanceRef = react.createRef();
const isReactComponent = isClassComponent(react, App);
let appWrapper;
let appWrapperResolver;
const appWrapperPromise = new Promise((resolve)=>appWrapperResolver = resolve);
setReconciler(ReactDOM$1);
function getAppInstance() {
return appInstanceRef.current;
}
function waitAppWrapper(cb) {
appWrapperPromise.then(()=>cb());
}
function renderReactRoot() {
var _a, _b;
const appId = (config === null || config === void 0 ? void 0 : config.appId) || "app";
let container = _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.taroDocumentProvider.getElementById(appId);
if (container == null) {
const appContainer = _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.taroDocumentProvider.getElementById(_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.CONTAINER);
container = _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.taroDocumentProvider.createElement(appId);
container.id = appId;
appContainer === null || appContainer === void 0 ? void 0 : appContainer.appendChild(container);
}
if ((react.version || "").startsWith("18")) {
const root = ReactDOM$1.createRoot(container);
(_a = root.render) === null || _a === void 0 ? void 0 : _a.call(root, h$1(AppWrapper));
} else {
(_b = ReactDOM$1.render) === null || _b === void 0 ? void 0 : _b.call(ReactDOM$1, h$1(AppWrapper), container);
}
}
class AppWrapper extends react.Component {
mount(pageComponent, id, cb) {
const pageWrapper = connectReactPage(react, id)(pageComponent);
const key = id + pageKeyId();
const page = ()=>h$1(pageWrapper, {
key,
tid: id
});
this.pages.push(page);
this.forceUpdate((...args)=>{
_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.perf.stop(_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.PAGE_INIT);
return cb(...args);
});
}
unmount(id, cb) {
const elements = this.elements;
const idx = elements.findIndex((item)=>item.props.tid === id);
elements.splice(idx, 1);
this.forceUpdate(cb);
}
render() {
const { pages, elements } = this;
while(pages.length > 0){
const page = pages.pop();
elements.push(page());
}
let props = null;
if (isReactComponent) {
props = {
ref: appInstanceRef
};
}
return h$1(App, props, false ? 0 : elements.slice());
}
constructor(props){
super(props);
this.pages = [];
this.elements = [];
appWrapper = this;
appWrapperResolver(this);
}
}
if (true) {
renderReactRoot();
}
const [ONLAUNCH, ONSHOW, ONHIDE] = _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.hooks.call("getMiniLifecycleImpl").app;
const appObj = Object.create({
render (cb) {
appWrapper.forceUpdate(cb);
},
mount (component, id, cb) {
if (appWrapper) {
appWrapper.mount(component, id, cb);
} else {
appWrapperPromise.then((appWrapper2)=>appWrapper2.mount(component, id, cb));
}
},
unmount (id, cb) {
if (appWrapper) {
appWrapper.unmount(id, cb);
} else {
appWrapperPromise.then((appWrapper2)=>appWrapper2.unmount(id, cb));
}
}
}, {
config: setDefaultDescriptor({
configurable: true,
value: config
}),
[ONLAUNCH]: setDefaultDescriptor({
value (options) {
setRouterParams(options);
if (false) {}
const onLaunch = ()=>{
var _a;
const app = getAppInstance();
this.$app = app;
if (app) {
if (app.taroGlobalData) {
const globalData = app.taroGlobalData;
const keys = Object.keys(globalData);
const descriptors = Object.getOwnPropertyDescriptors(globalData);
keys.forEach((key)=>{
Object.defineProperty(this, key, {
configurable: true,
enumerable: true,
get () {
return globalData[key];
},
set (value) {
globalData[key] = value;
}
});
});
Object.defineProperties(this, descriptors);
}
(_a = app.onLaunch) === null || _a === void 0 ? void 0 : _a.call(app, options);
}
triggerAppHook("onLaunch", options);
};
waitAppWrapper(onLaunch);
}
}),
[ONSHOW]: setDefaultDescriptor({
value (options) {
setRouterParams(options);
const onShow = ()=>{
var _a;
const app = getAppInstance();
(_a = app === null || app === void 0 ? void 0 : app.componentDidShow) === null || _a === void 0 ? void 0 : _a.call(app, options);
triggerAppHook("onShow", options);
};
waitAppWrapper(onShow);
}
}),
[ONHIDE]: setDefaultDescriptor({
value () {
const onHide = ()=>{
var _a;
const app = getAppInstance();
(_a = app === null || app === void 0 ? void 0 : app.componentDidHide) === null || _a === void 0 ? void 0 : _a.call(app);
triggerAppHook("onHide");
};
waitAppWrapper(onHide);
}
}),
onError: setDefaultDescriptor({
value (error) {
const onError = ()=>{
var _a;
const app = getAppInstance();
(_a = app === null || app === void 0 ? void 0 : app.onError) === null || _a === void 0 ? void 0 : _a.call(app, error);
triggerAppHook("onError", error);
if (error === null || error === void 0 ? void 0 : error.includes("Minified React error")) {
console.warn("React \u51FA\u73B0\u62A5\u9519\uFF0C\u8BF7\u6253\u5F00\u7F16\u8BD1\u914D\u7F6E mini.debugReact \u67E5\u770B\u62A5\u9519\u8BE6\u60C5\uFF1Ahttps://docs.taro.zone/docs/config-detail#minidebugreact");
}
};
waitAppWrapper(onError);
}
}),
onUnhandledRejection: setDefaultDescriptor({
value (res) {
const onUnhandledRejection = ()=>{
var _a;
const app = getAppInstance();
(_a = app === null || app === void 0 ? void 0 : app.onUnhandledRejection) === null || _a === void 0 ? void 0 : _a.call(app, res);
triggerAppHook("onUnhandledRejection", res);
};
waitAppWrapper(onUnhandledRejection);
}
}),
onPageNotFound: setDefaultDescriptor({
value (res) {
const onPageNotFound = ()=>{
var _a;
const app = getAppInstance();
(_a = app === null || app === void 0 ? void 0 : app.onPageNotFound) === null || _a === void 0 ? void 0 : _a.call(app, res);
triggerAppHook("onPageNotFound", res);
};
waitAppWrapper(onPageNotFound);
}
})
});
function triggerAppHook(lifecycle, ...option) {
const instance = (0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.getPageInstance)(HOOKS_APP_ID);
if (instance) {
const app = getAppInstance();
const func = _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.hooks.call("getLifecycle", instance, lifecycle);
if (Array.isArray(func)) {
func.forEach((cb)=>cb.apply(app, option));
}
}
}
_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.Current.app = appObj;
return appObj;
}
var getNativeCompId = (0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.incrementId)();
var h;
var ReactDOM;
var nativeComponentApp;
function initNativeComponentEntry(params) {
var _a;
const { R, ReactDOM: ReactDOM2, cb, isDefaultEntryDom = true } = params;
class NativeComponentWrapper extends R.Component {
componentDidMount() {
this.ctx.component = this;
const rootElement = this.root.current;
rootElement.ctx = this.ctx;
rootElement.performUpdate(true);
}
render() {
return h("root", {
ref: this.root,
id: this.props.compId
}, this.props.renderComponent(this.ctx));
}
constructor(){
super(...arguments);
this.root = R.createRef();
this.ctx = this.props.getCtx();
}
}
class Entry extends R.Component {
componentDidMount() {
if (isDefaultEntryDom) {
_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.Current.app = this;
} else {
nativeComponentApp = this;
}
cb && cb();
}
mount(Component, compId, getCtx, cb2) {
const isReactComponent = isClassComponent(R, Component);
const inject = (node)=>node && (0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.injectPageInstance)(node, compId);
const refs = isReactComponent ? {
ref: inject
} : {
forwardedRef: inject,
reactReduxForwardedRef: inject
};
if (reactMeta.PageContext === _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ) {
reactMeta.PageContext = R.createContext("");
}
const item = {
compId,
element: h(NativeComponentWrapper, {
key: compId,
compId,
getCtx,
renderComponent (ctx) {
return h(reactMeta.PageContext.Provider, {
value: compId
}, h(Component, Object.assign(Object.assign(Object.assign({}, (ctx.data || (ctx.data = {})).props), refs), {
$scope: ctx
})));
}
})
};
this.setState({
components: [
...this.state.components,
item
]
}, ()=>cb2 && cb2());
}
unmount(compId, cb2) {
const components = this.state.components;
const index = components.findIndex((item)=>item.compId === compId);
const next = [
...components.slice(0, index),
...components.slice(index + 1)
];
this.setState({
components: next
}, ()=>{
(0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.removePageInstance)(compId);
cb2 && cb2();
});
}
render() {
const components = this.state.components;
return components.map(({ element })=>element);
}
constructor(){
super(...arguments);
this.state = {
components: []
};
}
}
setReconciler(ReactDOM2);
let app = _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.taroDocumentProvider.getElementById("app");
if (!isDefaultEntryDom && !nativeComponentApp) {
const nativeApp = _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.taroDocumentProvider.createElement("nativeComponent");
(_a = app === null || app === void 0 ? void 0 : app.parentNode) === null || _a === void 0 ? void 0 : _a.appendChild(nativeApp);
app = nativeApp;
}
ReactDOM2.render(h(Entry, {}), app);
}
function createNativePageConfig(Component, pageName, data, react, reactDOM, pageConfig) {
reactMeta.R = react;
h = react.createElement;
ReactDOM = reactDOM;
setReconciler(ReactDOM);
const [ONLOAD, ONUNLOAD, ONREADY, ONSHOW, ONHIDE, LIFECYCLES, SIDE_EFFECT_LIFECYCLES] = _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.hooks.call("getMiniLifecycleImpl").page;
let unmounting = false;
let prepareMountList = [];
let pageElement = null;
let loadResolver;
let hasLoaded;
const id = pageName !== null && pageName !== void 0 ? pageName : `taro_page_${getNativeCompId()}`;
function setCurrentRouter(page) {
const router = page.route || page.__route__ || page.$taroPath;
_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.Current.router = {
params: page.$taroParams,
path: (0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.addLeadingSlash)(router),
$taroPath: page.$taroPath,
onReady: (0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.getOnReadyEventKey)(id),
onShow: (0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.getOnShowEventKey)(id),
onHide: (0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.getOnHideEventKey)(id)
};
if (!(0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.isUndefined)(page.exitState)) {
_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.Current.router.exitState = page.exitState;
}
}
const pageObj = {
options: pageConfig,
[ONLOAD] (options = {}, cb) {
hasLoaded = new Promise((resolve)=>{
loadResolver = resolve;
});
_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.Current.page = this;
this.config = pageConfig || {};
const uniqueOptions = Object.assign({}, options, {
$taroTimestamp: Date.now()
});
const $taroPath = this.$taroPath = (0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.getPath)(id, uniqueOptions);
if (this.$taroParams == null) {
this.$taroParams = uniqueOptions;
}
setCurrentRouter(this);
_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.taroWindowProvider.trigger(_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.CONTEXT_ACTIONS.INIT, $taroPath);
const mountCallback = ()=>{
pageElement = _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.taroDocumentProvider.getElementById($taroPath);
(0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.ensure)(pageElement !== null, "\u6CA1\u6709\u627E\u5230\u9875\u9762\u5B9E\u4F8B\u3002");
(0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.safeExecute)($taroPath, ONLOAD, this.$taroParams);
loadResolver();
pageElement.ctx = this;
pageElement.performUpdate(true, cb);
};
const mount = ()=>{
if (!_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.Current.app) {
initNativeComponentEntry({
R: react,
ReactDOM,
cb: ()=>{
_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.Current.app.mount(Component, $taroPath, ()=>this, mountCallback);
}
});
} else {
_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.Current.app.mount(Component, $taroPath, ()=>this, mountCallback);
}
};
if (unmounting) {
prepareMountList.push(mount);
} else {
mount();
}
},
[ONUNLOAD] () {
const $taroPath = this.$taroPath;
_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.taroWindowProvider.trigger(_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.CONTEXT_ACTIONS.DESTORY, $taroPath);
(0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.safeExecute)($taroPath, ONUNLOAD);
resetCurrent();
unmounting = true;
_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.Current.app.unmount($taroPath, ()=>{
unmounting = false;
(0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.removePageInstance)($taroPath);
if (pageElement) {
pageElement.ctx = null;
pageElement = null;
}
if (prepareMountList.length) {
prepareMountList.forEach((fn)=>fn());
prepareMountList = [];
}
});
},
[ONREADY] () {
hasLoaded.then(()=>{
(0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.safeExecute)(this.$taroPath, _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.ON_READY);
(0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__._raf)(()=>_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.eventCenter.trigger((0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.getOnReadyEventKey)(id)));
this.onReady.called = true;
});
},
[ONSHOW] (options = {}) {
hasLoaded.then(()=>{
_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.Current.page = this;
setCurrentRouter(this);
_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.taroWindowProvider.trigger(_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.CONTEXT_ACTIONS.RECOVER, this.$taroPath);
(0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.safeExecute)(this.$taroPath, _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.ON_SHOW, options);
(0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__._raf)(()=>_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.eventCenter.trigger((0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.getOnShowEventKey)(id)));
});
},
[ONHIDE] () {
_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.taroWindowProvider.trigger(_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.CONTEXT_ACTIONS.RESTORE, this.$taroPath);
if (_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.Current.page === this) {
_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.Current.page = null;
_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.Current.router = null;
}
(0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.safeExecute)(this.$taroPath, _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.ON_HIDE);
_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.eventCenter.trigger((0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.getOnHideEventKey)(id));
}
};
function resetCurrent() {
_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.Current.page = null;
_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.Current.router = null;
}
LIFECYCLES.forEach((lifecycle)=>{
pageObj[lifecycle] = function() {
return (0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.safeExecute)(this.$taroPath, lifecycle, ...arguments);
};
});
SIDE_EFFECT_LIFECYCLES.forEach((lifecycle)=>{
var _a;
if (Component[lifecycle] || ((_a = Component.prototype) === null || _a === void 0 ? void 0 : _a[lifecycle]) || Component[lifecycle.replace(/^on/, "enable")]) {
pageObj[lifecycle] = function(...args) {
var _a2;
const target = (_a2 = args[0]) === null || _a2 === void 0 ? void 0 : _a2.target;
if (target === null || target === void 0 ? void 0 : target.id) {
const id2 = target.id;
const element = _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.taroDocumentProvider.getElementById(id2);
if (element) {
target.dataset = element.dataset;
}
}
return (0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.safeExecute)(this.$taroPath, lifecycle, ...args);
};
}
});
pageObj.eh = _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.eventHandler;
if (!(0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.isUndefined)(data)) {
pageObj.data = data;
}
_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.hooks.call("modifyPageObject", pageObj);
return pageObj;
}
function createH5NativeComponentConfig(Component, react, reactdom) {
reactMeta.R = react;
h = react.createElement;
ReactDOM = reactdom;
setReconciler(ReactDOM);
return Component;
}
function createNativeComponentConfig(Component, react, reactdom, componentConfig) {
var _a, _b;
reactMeta.R = react;
h = react.createElement;
ReactDOM = reactdom;
setReconciler(ReactDOM);
const { isNewBlended } = componentConfig;
const componentObj = {
options: componentConfig,
properties: {
props: {
type: null,
value: null,
observer (_newVal, oldVal) {
var _a2, _b2, _c, _d;
if (false) {}
oldVal && ((_d = this.component) === null || _d === void 0 ? void 0 : _d.forceUpdate());
}
}
},
created () {
var _a2, _b2;
if (false) {}
const app = isNewBlended ? nativeComponentApp : _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.Current.app;
if (!app) {
initNativeComponentEntry({
R: react,
ReactDOM,
isDefaultEntryDom: !isNewBlended
});
}
},
attached () {
const compId = this.compId = getNativeCompId();
setCurrent(compId);
this.config = componentConfig;
const app = isNewBlended ? nativeComponentApp : _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.Current.app;
app.mount(Component, compId, ()=>this, ()=>{
const instance = (0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.getPageInstance)(compId);
if (instance && instance.node) {
const el = _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.taroDocumentProvider.getElementById(instance.node.uid);
if (el) {
el.ctx = this;
}
}
});
},
ready () {
(0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.safeExecute)(this.compId, "onReady");
},
detached () {
resetCurrent();
const app = isNewBlended ? nativeComponentApp : _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.Current.app;
app.unmount(this.compId);
},
pageLifetimes: {
show (options) {
(0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.safeExecute)(this.compId, "onShow", options);
},
hide () {
(0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.safeExecute)(this.compId, "onHide");
}
},
methods: {
eh: _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.eventHandler,
onLoad (options) {
(0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.safeExecute)(this.compId, "onLoad", options);
},
onUnload () {
(0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.safeExecute)(this.compId, "onUnload");
}
}
};
function resetCurrent() {
_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.Current.page = null;
_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.Current.router = null;
}
if (Component.onShareAppMessage || ((_a = Component.prototype) === null || _a === void 0 ? void 0 : _a.onShareAppMessage) || Component.enableShareAppMessage) {
componentObj.methods.onShareAppMessage = function(options) {
const target = options === null || options === void 0 ? void 0 : options.target;
if (target) {
const id = target.id;
const element = _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.taroDocumentProvider.getElementById(id);
if (element) {
target.dataset = element.dataset;
}
}
return (0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.safeExecute)(this.compId, "onShareAppMessage", options);
};
}
if (Component.onShareTimeline || ((_b = Component.prototype) === null || _b === void 0 ? void 0 : _b.onShareTimeline) || Component.enableShareTimeline) {
componentObj.methods.onShareTimeline = function() {
return (0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.safeExecute)(this.compId, "onShareTimeline");
};
}
if (false) {}
return componentObj;
}
function setCurrent(compId) {
if (!getCurrentPages || typeof getCurrentPages !== "function") return;
const pages = getCurrentPages();
const currentPage = pages[pages.length - 1];
if (_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.Current.page === currentPage) return;
_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.Current.page = currentPage;
const route = currentPage.route || currentPage.__route__;
const router = {
params: currentPage.options || {},
path: (0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.addLeadingSlash)(route),
$taroPath: compId,
onReady: "",
onHide: "",
onShow: ""
};
_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.Current.router = router;
if (!currentPage.options) {
Object.defineProperty(currentPage, "options", {
enumerable: true,
configurable: true,
get () {
return this._optionsValue;
},
set (value) {
router.params = value;
this._optionsValue = value;
}
});
}
}
_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.hooks.tap("initNativeApi", function(taro) {
for(const hook in taroHooks){
taro[hook] = taroHooks[hook];
}
});
if (false) {}
/***/ })
}]);

View File

@@ -0,0 +1,627 @@
"use strict";
(wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([["vendors-node_modules_taro_weapp_prebundle_tarojs_plugin-platform-weapp_dist_runtime_js"],{
/***/ "./node_modules/.taro/weapp/prebundle/@tarojs_plugin-platform-weapp_dist_runtime.js":
/*!******************************************************************************************!*\
!*** ./node_modules/.taro/weapp/prebundle/@tarojs_plugin-platform-weapp_dist_runtime.js ***!
\******************************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./chunk-GLEAZC6U.js */ "./node_modules/.taro/weapp/prebundle/chunk-GLEAZC6U.js");
/* harmony import */ var _chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./chunk-QRPWKJ4C.js */ "./node_modules/.taro/weapp/prebundle/chunk-QRPWKJ4C.js");
// node_modules/.pnpm/@tarojs+plugin-platform-weapp@4.0.8_@tarojs+service@4.0.8_@tarojs+shared@4.0.8/node_modules/@tarojs/plugin-platform-weapp/dist/runtime.js
(0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.init_dist)();
var needPromiseApis = /* @__PURE__ */ 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"
]);
function initNativeApi(taro) {
(0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.processApis)(taro, wx, {
needPromiseApis,
modifyApis (apis) {
apis.delete("lanDebug");
},
transformMeta (api, options) {
var _a;
if (api === "showShareMenu") {
options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map((item)=>item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item);
}
return {
key: api,
options
};
}
});
taro.cloud = wx.cloud;
taro.getTabBar = function(pageCtx) {
var _a;
if (typeof (pageCtx === null || pageCtx === void 0 ? void 0 : pageCtx.getTabBar) === "function") {
return (_a = pageCtx.getTabBar()) === null || _a === void 0 ? void 0 : _a.$taroInstances;
}
};
taro.getRenderer = function() {
var _a, _b, _c;
return (_c = (_b = (_a = taro.getCurrentInstance()) === null || _a === void 0 ? void 0 : _a.page) === null || _b === void 0 ? void 0 : _b.renderer) !== null && _c !== void 0 ? _c : "webview";
};
}
var _true = "true";
var _false = "false";
var _empty = "";
var _zero = "0";
var _object = "{}";
var components = {
// ======== 调整属性 ========
Progress: {
"border-radius": _zero,
"font-size": "16",
duration: "30",
bindActiveEnd: _empty
},
RichText: {
space: _empty,
"user-select": _false,
mode: "'default'"
},
Text: {
"user-select": _false,
overflow: "visible",
"max-lines": ""
},
Map: {
polygons: "[]",
subkey: _empty,
rotate: _zero,
skew: _zero,
"max-scale": "20",
"min-scale": "3",
"enable-3D": _false,
"show-compass": _false,
"show-scale": _false,
"enable-overlooking": _false,
"enable-auto-max-overlooking": _false,
"enable-zoom": _true,
"enable-scroll": _true,
"enable-rotate": _false,
"enable-satellite": _false,
"enable-traffic": _false,
"enable-poi": _true,
"enable-building": _true,
setting: _object,
bindLabelTap: _empty,
bindRegionChange: _empty,
bindPoiTap: _empty,
bindPolylineTap: _empty,
bindAbilitySuccess: _empty,
bindAbilityFailed: _empty,
bindAuthSuccess: _empty,
bindInterpolatePoint: _empty,
bindError: _empty,
bindAnchorPointTap: _empty
},
Button: {
lang: "en",
"session-from": _empty,
"send-message-title": _empty,
"send-message-path": _empty,
"send-message-img": _empty,
"app-parameter": _empty,
"show-message-card": _false,
"business-id": _empty,
bindGetUserInfo: _empty,
bindContact: _empty,
bindGetPhoneNumber: _empty,
bindGetRealTimePhoneNumber: _empty,
bindChooseAvatar: _empty,
bindError: _empty,
bindOpenSetting: _empty,
bindLaunchApp: _empty,
bindAgreePrivacyAuthorization: _empty
},
Form: {
"report-submit-timeout": _zero
},
Input: {
"always-embed": _false,
"adjust-position": _true,
"hold-keyboard": _false,
"safe-password-cert-path": "",
"safe-password-length": "",
"safe-password-time-stamp": "",
"safe-password-nonce": "",
"safe-password-salt": "",
"safe-password-custom-hash": "",
"auto-fill": _empty,
"cursor-color": "",
bindKeyboardHeightChange: _empty,
bindNicknameReview: _empty,
bindSelectionChange: _empty,
bindKeyboardCompositionStart: _empty,
bindKeyboardCompositionUpdate: _empty,
bindKeyboardCompositionEnd: _empty
},
Picker: {
"header-text": _empty,
level: "region"
},
PickerView: {
"immediate-change": _false,
bindPickStart: _empty,
bindPickEnd: _empty
},
Slider: {
color: "'#e9e9e9'",
"selected-color": "'#1aad19'"
},
Textarea: {
"show-confirm-bar": _true,
"adjust-position": _true,
"hold-keyboard": _false,
"disable-default-padding": _false,
"confirm-type": "'return'",
"confirm-hold": _false,
"adjust-keyboard-to": "'cursor'",
bindKeyboardHeightChange: _empty,
bindSelectionChange: _empty,
bindKeyboardCompositionStart: _empty,
bindKeyboardCompositionUpdate: _empty,
bindKeyboardCompositionEnd: _empty
},
ScrollView: {
"enable-flex": _false,
"scroll-anchoring": _false,
enhanced: _false,
"using-sticky": _false,
"paging-enabled": _false,
"enable-passive": _false,
"refresher-enabled": _false,
"refresher-threshold": "45",
"refresher-default-style": "'black'",
"refresher-background": "'#FFF'",
"refresher-triggered": _false,
bounces: _true,
"show-scrollbar": _true,
"fast-deceleration": _false,
type: "'list'",
"associative-container": "''",
reverse: _false,
clip: _true,
"enable-back-to-top": _false,
"cache-extent": _empty,
"min-drag-distance": "18",
"scroll-into-view-within-extent": _false,
"scroll-into-view-alignment": "'start'",
padding: "[0,0,0,0]",
"refresher-two-level-enabled": _false,
"refresher-two-level-triggered": _false,
"refresher-two-level-threshold": "150",
"refresher-two-level-close-threshold": "80",
"refresher-two-level-scroll-enabled": _false,
"refresher-ballistic-refresh-enabled": _false,
"refresher-two-level-pinned": _false,
bindDragStart: _empty,
bindDragging: _empty,
bindDragEnd: _empty,
bindRefresherPulling: _empty,
bindRefresherRefresh: _empty,
bindRefresherRestore: _empty,
bindRefresherAbort: _empty,
bindScrollStart: _empty,
bindScrollEnd: _empty,
bindRefresherWillRefresh: _empty,
bindRefresherStatusChange: _empty
},
StickySection: {
"push-pinned-header": _true,
padding: "[0, 0, 0, 0]"
},
GridView: {
type: "'aligned'",
"cross-axis-count": "2",
"max-cross-axis-extent": _zero,
"main-axis-gap": _zero,
"cross-axis-gap": _zero,
padding: "[0, 0, 0, 0]"
},
GridBuilder: {
type: "'aligned'",
list: "[]",
"cross-axis-count": "2",
"max-cross-axis-extent": _zero,
"main-axis-gap": _zero,
"cross-axis-gap": _zero,
padding: "[0, 0, 0, 0]",
bindItemBuild: _empty,
bindItemDispose: _empty
},
ListView: {
padding: "[0, 0, 0, 0]"
},
ListBuilder: {
list: "[]",
type: "static",
padding: "[0, 0, 0, 0]",
"child-count": _empty,
"child-height": _empty,
bindItemBuild: _empty,
bindItemDispose: _empty
},
StickyHeader: {
"offset-top": "0",
padding: "[0, 0, 0, 0]"
},
Swiper: {
"snap-to-edge": _false,
"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": _true,
"cache-extent": "0"
},
SwiperItem: {
"skip-hidden-item-layout": _false
},
Navigator: {
target: "'self'",
"app-id": _empty,
path: _empty,
"extra-data": _empty,
version: "'version'"
},
Camera: {
mode: "'normal'",
resolution: "'medium'",
"frame-size": "'medium'",
bindInitDone: _empty,
bindScanCode: _empty
},
Image: {
webp: _false,
"show-menu-by-longpress": _false,
"fade-in": _false
},
LivePlayer: {
mode: "'live'",
"sound-mode": "'speaker'",
"auto-pause-if-navigate": _true,
"auto-pause-if-open-native": _true,
"picture-in-picture-mode": "[]",
"enable-auto-rotation": _false,
"referrer-policy": "'no-referrer'",
"enable-casting": _false,
bindstatechange: _empty,
bindfullscreenchange: _empty,
bindnetstatus: _empty,
bindAudioVolumeNotify: _empty,
bindEnterPictureInPicture: _empty,
bindLeavePictureInPicture: _empty,
bindCastingUserSelect: _empty,
bindCastingStateChange: _empty,
bindCastingInterrupt: _empty
},
Video: {
title: _empty,
"play-btn-position": "'bottom'",
"enable-play-gesture": _false,
"auto-pause-if-navigate": _true,
"auto-pause-if-open-native": _true,
"vslide-gesture": _false,
"vslide-gesture-in-fullscreen": _true,
"show-bottom-progress": _true,
"ad-unit-id": _empty,
"poster-for-crawler": _empty,
"show-casting-button": _false,
"picture-in-picture-mode": "[]",
// picture-in-picture-show-progress 属性先注释掉的原因如下:
// 该属性超过了 wxml 属性的长度限制,实际无法使用且导致编译报错。可等微信官方修复后再放开。
// 参考1https://developers.weixin.qq.com/community/develop/doc/000a429beb87f0eac07acc0fc5b400
// 参考2: https://developers.weixin.qq.com/community/develop/doc/0006883619c48054286a4308258c00?_at=vyxqpllafi
// 'picture-in-picture-show-progress': 'false',
"enable-auto-rotation": _false,
"show-screen-lock-button": _false,
"show-snapshot-button": _false,
"show-background-playback-button": _false,
"background-poster": _empty,
"referrer-policy": "'no-referrer'",
"is-drm": _false,
"is-live": _false,
"provision-url": _empty,
"certificate-url": _empty,
"license-url": _empty,
"preferred-peak-bit-rate": _empty,
bindProgress: _empty,
bindLoadedMetadata: _empty,
bindControlsToggle: _empty,
bindEnterPictureInPicture: _empty,
bindLeavePictureInPicture: _empty,
bindSeekComplete: _empty,
bindCastingUserSelect: _empty,
bindCastingStateChange: _empty,
bindCastingInterrupt: _empty,
bindAdLoad: _empty,
bindAdError: _empty,
bindAdClose: _empty,
bindAdPlay: _empty
},
Canvas: {
type: _empty
},
Ad: {
"ad-type": "'banner'",
"ad-theme": "'white'"
},
CoverView: {
"marker-id": _empty,
slot: _empty
},
// ======== 额外组件 ========
Editor: {
"read-only": _false,
placeholder: _empty,
"show-img-size": _false,
"show-img-toolbar": _false,
"show-img-resize": _false,
focus: _false,
bindReady: _empty,
bindFocus: _empty,
bindBlur: _empty,
bindInput: _empty,
bindStatusChange: _empty,
name: _empty
},
MatchMedia: {
"min-width": _empty,
"max-width": _empty,
width: _empty,
"min-height": _empty,
"max-height": _empty,
height: _empty,
orientation: _empty
},
FunctionalPageNavigator: {
version: "'release'",
name: _empty,
args: _empty,
bindSuccess: _empty,
bindFail: _empty,
bindCancel: _empty
},
LivePusher: {
url: _empty,
mode: "'RTC'",
autopush: _false,
muted: _false,
"enable-camera": _true,
"auto-focus": _true,
orientation: "'vertical'",
beauty: _zero,
whiteness: _zero,
aspect: "'9:16'",
"min-bitrate": "200",
"max-bitrate": "1000",
"audio-quality": "'high'",
"waiting-image": _empty,
"waiting-image-hash": _empty,
zoom: _false,
"device-position": "'front'",
"background-mute": _false,
mirror: _false,
"remote-mirror": _false,
"local-mirror": _false,
"audio-reverb-type": _zero,
"enable-mic": _true,
"enable-agc": _false,
"enable-ans": _false,
"audio-volume-type": "'voicecall'",
"video-width": "360",
"video-height": "640",
"beauty-style": "'smooth'",
filter: "'standard'",
"picture-in-picture-mode": "[]",
animation: _empty,
bindStateChange: _empty,
bindNetStatus: _empty,
bindBgmStart: _empty,
bindBgmProgress: _empty,
bindBgmComplete: _empty,
bindAudioVolumeNotify: _empty
},
OfficialAccount: {
bindLoad: _empty,
bindError: _empty
},
OpenData: {
type: _empty,
"open-gid": _empty,
lang: "'en'",
"default-text": _empty,
"default-avatar": _empty,
bindError: _empty
},
NavigationBar: {
title: _empty,
loading: _false,
"front-color": "'#000000'",
"background-color": _empty,
"color-animation-duration": _zero,
"color-animation-timing-func": "'linear'"
},
PageMeta: {
"background-text-style": _empty,
"background-color": _empty,
"background-color-top": _empty,
"background-color-bottom": _empty,
"root-background-color": _empty,
"scroll-top": "''",
"scroll-duration": "300",
"page-style": "''",
"root-font-size": "''",
"page-orientation": "''",
bindResize: _empty,
bindScroll: _empty,
bindScrollDone: _empty
},
VoipRoom: {
openid: _empty,
mode: "'camera'",
"device-position": "'front'",
bindError: _empty
},
AdCustom: {
"unit-id": _empty,
"ad-intervals": _empty,
bindLoad: _empty,
bindError: _empty
},
PageContainer: {
show: _false,
duration: "300",
"z-index": "100",
overlay: _true,
position: "'bottom'",
round: _false,
"close-on-slide-down": _false,
"overlay-style": _empty,
"custom-style": _empty,
bindBeforeEnter: _empty,
bindEnter: _empty,
bindAfterEnter: _empty,
bindBeforeLeave: _empty,
bindLeave: _empty,
bindAfterLeave: _empty,
bindClickOverlay: _empty
},
ShareElement: {
mapkey: _empty,
transform: _false,
duration: "300",
"easing-function": "'ease-out'",
"transition-on-gesture": _false,
"shuttle-on-push": "'to'",
"shuttle-on-pop": "'to'",
"rect-tween-type": "'materialRectArc'"
},
KeyboardAccessory: {},
RootPortal: {
enable: _true
},
ChannelLive: {
"feed-id": _empty,
"finder-user-name": _empty
},
ChannelVideo: {
"feed-id": _empty,
"finder-user-name": _empty,
"feed-token": _empty,
autoplay: _false,
loop: _false,
muted: _false,
"object-fit": "'contain'",
bindError: _empty
},
Snapshot: {
mode: "'view'"
},
Span: {},
OpenContainer: {
transitionType: "'fade'",
transitionDuration: "300",
closedColor: "'white'",
closedElevation: _zero,
closeBorderRadius: _zero,
middleColor: _empty,
openColor: "'white'",
openElevation: _zero,
openBorderRadius: _zero
},
DraggableSheet: {
initialChildSize: "0.5",
minChildSize: "0.25",
maxChildSize: "1.0",
snap: _false,
snapSizes: "[]"
},
NestedScrollHeader: {},
NestedScrollBody: {},
// skyline手势组件
DoubleTapGestureHandler: {},
ForcePressGestureHandler: {},
HorizontalDragGestureHandler: {},
LongPressGestureHandler: {},
PanGestureHandler: {},
ScaleGestureHandler: {},
TapGestureHandler: {},
VerticalDragGestureHandler: {}
};
var hostConfig = {
initNativeApi,
getMiniLifecycle (config) {
const methods = config.page[5];
if (methods.indexOf("onSaveExitState") === -1) {
methods.push("onSaveExitState");
}
return config;
},
transferHydrateData (data, element, componentsAlias) {
var _a;
if (element.isTransferElement) {
const pages = getCurrentPages();
const page = pages[pages.length - 1];
data["nn"] = element.dataName;
page.setData({
[(0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.toCamelCase)(data.nn)]: data
});
return {
sid: element.sid,
["v"]: "",
["nn"]: ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8"
};
}
}
};
(0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.mergeReconciler)(hostConfig);
(0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.mergeInternalComponents)(components);
/***/ })
}]);

View File

@@ -0,0 +1,281 @@
(wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([["vendors-node_modules_taro_weapp_prebundle_tarojs_taro_js"],{
/***/ "./node_modules/.taro/weapp/prebundle/@tarojs_taro.core.js":
/*!*****************************************************************!*\
!*** ./node_modules/.taro/weapp/prebundle/@tarojs_taro.core.js ***!
\*****************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./chunk-WRSQ3V3E.js */ "./node_modules/.taro/weapp/prebundle/chunk-WRSQ3V3E.js");
/* harmony import */ var _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./chunk-GLEAZC6U.js */ "./node_modules/.taro/weapp/prebundle/chunk-GLEAZC6U.js");
/* harmony import */ var _chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./chunk-QRPWKJ4C.js */ "./node_modules/.taro/weapp/prebundle/chunk-QRPWKJ4C.js");
// node_modules/.pnpm/@tarojs+api@4.0.8_@tarojs+runtime@4.0.8_@tarojs+shared@4.0.8/node_modules/@tarojs/api/dist/env.js
function getEnv() {
if (true) {
return ENV_TYPE.WEAPP;
} else {}
}
var ENV_TYPE;
var init_env = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_2__.__esm)({
"node_modules/.pnpm/@tarojs+api@4.0.8_@tarojs+runtime@4.0.8_@tarojs+shared@4.0.8/node_modules/@tarojs/api/dist/env.js" () {
ENV_TYPE = {
WEAPP: "WEAPP",
SWAN: "SWAN",
ALIPAY: "ALIPAY",
TT: "TT",
QQ: "QQ",
JD: "JD",
WEB: "WEB",
RN: "RN",
HARMONY: "HARMONY",
QUICKAPP: "QUICKAPP",
HARMONYHYBRID: "HARMONYHYBRID"
};
}
});
// node_modules/.pnpm/@tarojs+api@4.0.8_@tarojs+runtime@4.0.8_@tarojs+shared@4.0.8/node_modules/@tarojs/api/dist/interceptor/chain.js
var Chain;
var init_chain = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_2__.__esm)({
"node_modules/.pnpm/@tarojs+api@4.0.8_@tarojs+runtime@4.0.8_@tarojs+shared@4.0.8/node_modules/@tarojs/api/dist/interceptor/chain.js" () {
(0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.init_dist)();
Chain = class _Chain {
proceed(requestParams = {}) {
this.requestParams = requestParams;
if (this.index >= this.interceptors.length) {
throw new Error("chain \u53C2\u6570\u9519\u8BEF, \u8BF7\u52FF\u76F4\u63A5\u4FEE\u6539 request.chain");
}
const nextInterceptor = this._getNextInterceptor();
const nextChain = this._getNextChain();
const p = nextInterceptor(nextChain);
const res = p.catch((err)=>Promise.reject(err));
Object.keys(p).forEach((k)=>(0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.isFunction)(p[k]) && (res[k] = p[k]));
return res;
}
_getNextInterceptor() {
return this.interceptors[this.index];
}
_getNextChain() {
return new _Chain(this.requestParams, this.interceptors, this.index + 1);
}
constructor(requestParams, interceptors, index){
this.index = index || 0;
this.requestParams = requestParams || {};
this.interceptors = interceptors || [];
}
};
}
});
// node_modules/.pnpm/@tarojs+api@4.0.8_@tarojs+runtime@4.0.8_@tarojs+shared@4.0.8/node_modules/@tarojs/api/dist/interceptor/index.js
function interceptorify(promiseifyApi) {
return new Link(function(chain) {
return promiseifyApi(chain.requestParams);
});
}
var Link;
var init_interceptor = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_2__.__esm)({
"node_modules/.pnpm/@tarojs+api@4.0.8_@tarojs+runtime@4.0.8_@tarojs+shared@4.0.8/node_modules/@tarojs/api/dist/interceptor/index.js" () {
init_chain();
Link = class {
request(requestParams) {
const chain = this.chain;
const taroInterceptor = this.taroInterceptor;
chain.interceptors = chain.interceptors.filter((interceptor)=>interceptor !== taroInterceptor).concat(taroInterceptor);
return chain.proceed(Object.assign({}, requestParams));
}
addInterceptor(interceptor) {
this.chain.interceptors.push(interceptor);
}
cleanInterceptors() {
this.chain = new Chain();
}
constructor(interceptor){
this.taroInterceptor = interceptor;
this.chain = new Chain();
}
};
}
});
// node_modules/.pnpm/@tarojs+api@4.0.8_@tarojs+runtime@4.0.8_@tarojs+shared@4.0.8/node_modules/@tarojs/api/dist/interceptor/interceptors.js
var interceptors_exports = {};
(0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_2__.__export)(interceptors_exports, {
logInterceptor: ()=>logInterceptor,
timeoutInterceptor: ()=>timeoutInterceptor
});
function timeoutInterceptor(chain) {
const requestParams = chain.requestParams;
let p;
const res = new Promise((resolve, reject)=>{
const timeout = setTimeout(()=>{
clearTimeout(timeout);
reject(new Error("\u7F51\u7EDC\u94FE\u63A5\u8D85\u65F6,\u8BF7\u7A0D\u540E\u518D\u8BD5\uFF01"));
}, requestParams && requestParams.timeout || 6e4);
p = chain.proceed(requestParams);
p.then((res2)=>{
if (!timeout) return;
clearTimeout(timeout);
resolve(res2);
}).catch((err)=>{
timeout && clearTimeout(timeout);
reject(err);
});
});
if (!(0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.isUndefined)(p) && (0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.isFunction)(p.abort)) res.abort = p.abort;
return res;
}
function logInterceptor(chain) {
const requestParams = chain.requestParams;
const { method, data, url } = requestParams;
console.log(`http ${method || "GET"} --> ${url} data: `, data);
const p = chain.proceed(requestParams);
const res = p.then((res2)=>{
console.log(`http <-- ${url} result:`, res2);
return res2;
});
if ((0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.isFunction)(p.abort)) res.abort = p.abort;
return res;
}
var init_interceptors = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_2__.__esm)({
"node_modules/.pnpm/@tarojs+api@4.0.8_@tarojs+runtime@4.0.8_@tarojs+shared@4.0.8/node_modules/@tarojs/api/dist/interceptor/interceptors.js" () {
(0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.init_dist)();
}
});
// node_modules/.pnpm/@tarojs+api@4.0.8_@tarojs+runtime@4.0.8_@tarojs+shared@4.0.8/node_modules/@tarojs/api/dist/tools.js
function Behavior(options2) {
return options2;
}
function getPreload(current) {
return function(key, val) {
current.preloadData = (0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.isObject)(key) ? key : {
[key]: val
};
};
}
function getInitPxTransform(taro) {
return function(config) {
const { designWidth = defaultDesignWidth, deviceRatio = defaultDesignRatio, baseFontSize = defaultBaseFontSize, targetUnit = defaultTargetUnit, unitPrecision = defaultUnitPrecision } = config;
taro.config = taro.config || {};
taro.config.designWidth = designWidth;
taro.config.deviceRatio = deviceRatio;
taro.config.baseFontSize = baseFontSize;
taro.config.targetUnit = targetUnit;
taro.config.unitPrecision = unitPrecision;
};
}
function getPxTransform(taro) {
return function(size) {
const config = taro.config || {};
const baseFontSize = config.baseFontSize;
const deviceRatio = config.deviceRatio || defaultDesignRatio;
const designWidth = ((input = 0)=>(0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.isFunction)(config.designWidth) ? config.designWidth(input) : config.designWidth || defaultDesignWidth)(size);
if (!(designWidth in deviceRatio)) {
throw new Error(`deviceRatio \u914D\u7F6E\u4E2D\u4E0D\u5B58\u5728 ${designWidth} \u7684\u8BBE\u7F6E\uFF01`);
}
const targetUnit = config.targetUnit || defaultTargetUnit;
const unitPrecision = config.unitPrecision || defaultUnitPrecision;
const formatSize = ~~size;
let rootValue = 1 / deviceRatio[designWidth];
switch(targetUnit){
case "rem":
rootValue *= baseFontSize * 2;
break;
case "px":
rootValue *= 2;
break;
}
let val = formatSize / rootValue;
if (unitPrecision >= 0 && unitPrecision <= 100) {
val = Number(val.toFixed(unitPrecision));
}
return val + targetUnit;
};
}
var defaultDesignWidth, defaultDesignRatio, defaultBaseFontSize, defaultUnitPrecision, defaultTargetUnit;
var init_tools = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_2__.__esm)({
"node_modules/.pnpm/@tarojs+api@4.0.8_@tarojs+runtime@4.0.8_@tarojs+shared@4.0.8/node_modules/@tarojs/api/dist/tools.js" () {
(0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.init_dist)();
defaultDesignWidth = 750;
defaultDesignRatio = {
640: 2.34 / 2,
750: 1,
828: 1.81 / 2
};
defaultBaseFontSize = 20;
defaultUnitPrecision = 5;
defaultTargetUnit = "rpx";
}
});
// node_modules/.pnpm/@tarojs+api@4.0.8_@tarojs+runtime@4.0.8_@tarojs+shared@4.0.8/node_modules/@tarojs/api/dist/index.js
var dist_exports2 = {};
(0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_2__.__export)(dist_exports2, {
default: ()=>Taro
});
var Taro;
var init_dist3 = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_2__.__esm)({
"node_modules/.pnpm/@tarojs+api@4.0.8_@tarojs+runtime@4.0.8_@tarojs+shared@4.0.8/node_modules/@tarojs/api/dist/index.js" () {
(0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.init_dist)();
init_env();
init_interceptor();
init_interceptors();
init_tools();
Taro = {
Behavior,
getEnv,
ENV_TYPE,
Link,
interceptors: interceptors_exports,
Current: _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.Current,
getCurrentInstance: _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.getCurrentInstance,
options: _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.options,
nextTick: _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.nextTick,
eventCenter: _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.eventCenter,
Events: _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.Events,
getInitPxTransform,
interceptorify
};
Taro.initPxTransform = getInitPxTransform(Taro);
Taro.preload = getPreload(_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.Current);
Taro.pxTransform = getPxTransform(Taro);
}
});
// node_modules/.pnpm/@tarojs+taro@4.0.8_@tarojs+components@4.0.8_@tarojs+helper@4.0.8_@types+react@18.3.17_html-we_hsxfepfxwwhcgsmcyugtgdvsb4/node_modules/@tarojs/taro/index.js
var require_taro = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_2__.__commonJS)({
"node_modules/.pnpm/@tarojs+taro@4.0.8_@tarojs+components@4.0.8_@tarojs+helper@4.0.8_@types+react@18.3.17_html-we_hsxfepfxwwhcgsmcyugtgdvsb4/node_modules/@tarojs/taro/index.js" (exports, module) {
var { hooks } = ((0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.init_dist)(), (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_2__.__toCommonJS)(_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.dist_exports));
var taro = (init_dist3(), (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_2__.__toCommonJS)(dist_exports2)).default;
if (hooks.isExist("initNativeApi")) {
hooks.call("initNativeApi", taro);
}
module.exports = taro;
module.exports.default = module.exports;
}
});
// entry:@tarojs_taro
var require_tarojs_taro = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_2__.__commonJS)({
"entry:@tarojs_taro" (exports, module) {
module.exports = require_taro();
}
});
/* harmony default export */ __webpack_exports__["default"] = (require_tarojs_taro());
/***/ }),
/***/ "./node_modules/.taro/weapp/prebundle/@tarojs_taro.js":
/*!************************************************************!*\
!*** ./node_modules/.taro/weapp/prebundle/@tarojs_taro.js ***!
\************************************************************/
/***/ (function(module, exports, __webpack_require__) {
var m = __webpack_require__(/*! ./@tarojs_taro.core.js */ "./node_modules/.taro/weapp/prebundle/@tarojs_taro.core.js");
module.exports = m.default;
exports["default"] = module.exports;
/***/ })
}]);