diff --git a/.gitignore b/.gitignore
index c2658d7..b947077 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
node_modules/
+dist/
diff --git a/config/index.js b/config/index.js
index 3236938..945d727 100644
--- a/config/index.js
+++ b/config/index.js
@@ -28,6 +28,7 @@ export default defineConfig(async (merge, {command, mode}) => {
outputRoot: 'dist',
plugins: [
'@tarojs/plugin-html',
+ '@tarojs/plugin-http',
['@tarojs/plugin-mini-ci', CIPluginOpt]
],
defineConstants: {},
diff --git a/dist/app.js b/dist/app.js
deleted file mode 100644
index fdd3bb4..0000000
--- a/dist/app.js
+++ /dev/null
@@ -1,217 +0,0 @@
-"use strict";
-require("./prebundle/vendors-node_modules_taro_weapp_prebundle_chunk-FCEGKHHF_js.js");
-require("./prebundle/vendors-node_modules_taro_weapp_prebundle_chunk-WRSQ3V3E_js.js");
-require("./prebundle/vendors-node_modules_taro_weapp_prebundle_uqrcodejs_js.js");
-require("./prebundle/vendors-node_modules_taro_weapp_prebundle_react-redux_js.js");
-require("./prebundle/vendors-node_modules_taro_weapp_prebundle_chunk-6TBQVUF2_js.js");
-require("./prebundle/vendors-node_modules_taro_weapp_prebundle_chunk-GLEAZC6U_js.js");
-require("./prebundle/vendors-node_modules_taro_weapp_prebundle_tarojs_plugin-framework-react_dist_runtime_js.js");
-require("./prebundle/vendors-node_modules_taro_weapp_prebundle_redux-logger_js.js");
-require("./prebundle/vendors-node_modules_taro_weapp_prebundle_redux_js.js");
-require("./prebundle/vendors-node_modules_taro_weapp_prebundle_tarojs_plugin-platform-weapp_dist_runtime_js.js");
-require("./prebundle/node_modules_taro_weapp_prebundle_tarojs_runtime_js.js");
-require("./prebundle/vendors-node_modules_taro_weapp_prebundle_tarojs_plugin-html_dist_runtime_js.js");
-require("./prebundle/vendors-node_modules_taro_weapp_prebundle_tarojs_taro_js.js");
-require("./prebundle/remoteEntry.js");
-require("./prebundle/node_modules_taro_weapp_prebundle_react_jsx-runtime_js.js");
-require("./prebundle/node_modules_taro_weapp_prebundle_react_js.js");
-require("./prebundle/node_modules_taro_weapp_prebundle_redux-thunk_js.js");
-require("./prebundle/node_modules_taro_weapp_prebundle_react-dom_js.js");
-
-require("./common");
-require("./taro");
-require("./runtime");
-
-(wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([["app"],{
-
-/***/ "./node_modules/.pnpm/@tarojs+taro-loader@4.0.8_webpack@5.94.0_@swc+core@1.3.96_/node_modules/@tarojs/taro-loader/lib/entry-cache.js?name=app!./src/app.jsx":
-/*!******************************************************************************************************************************************************************!*\
- !*** ./node_modules/.pnpm/@tarojs+taro-loader@4.0.8_webpack@5.94.0_@swc+core@1.3.96_/node_modules/@tarojs/taro-loader/lib/entry-cache.js?name=app!./src/app.jsx ***!
- \******************************************************************************************************************************************************************/
-/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
-
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "webpack/container/remote/react");
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var react_redux__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-redux */ "webpack/container/remote/react-redux");
-/* harmony import */ var react_redux__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_redux__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./store */ "./src/store/index.js");
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react/jsx-runtime */ "webpack/container/remote/react/jsx-runtime");
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__);
-
-
-
-
-
-const store = (0,_store__WEBPACK_IMPORTED_MODULE_2__["default"])();
-class App extends react__WEBPACK_IMPORTED_MODULE_0__.Component {
- componentDidMount() {}
- componentDidShow() {}
- componentDidHide() {}
-
- // 在 App 类中的 render() 函数没有实际作用
- // 请勿修改此函数
- render() {
- return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(react_redux__WEBPACK_IMPORTED_MODULE_1__.Provider, {
- store: store,
- children: this.props.children
- });
- }
-}
-/* harmony default export */ __webpack_exports__["default"] = (App);
-
-/***/ }),
-
-/***/ "./src/app.jsx":
-/*!*********************!*\
- !*** ./src/app.jsx ***!
- \*********************/
-/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
-
-/* harmony import */ var _tarojs_plugin_platform_weapp_dist_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tarojs/plugin-platform-weapp/dist/runtime */ "webpack/container/remote/@tarojs/plugin-platform-weapp/dist/runtime");
-/* harmony import */ var _tarojs_plugin_platform_weapp_dist_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_tarojs_plugin_platform_weapp_dist_runtime__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _tarojs_plugin_html_dist_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @tarojs/plugin-html/dist/runtime */ "webpack/container/remote/@tarojs/plugin-html/dist/runtime");
-/* harmony import */ var _tarojs_plugin_html_dist_runtime__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_tarojs_plugin_html_dist_runtime__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @tarojs/runtime */ "webpack/container/remote/@tarojs/runtime");
-/* harmony import */ var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_tarojs_runtime__WEBPACK_IMPORTED_MODULE_2__);
-/* harmony import */ var _tarojs_plugin_framework_react_dist_runtime__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @tarojs/plugin-framework-react/dist/runtime */ "webpack/container/remote/@tarojs/plugin-framework-react/dist/runtime");
-/* harmony import */ var _tarojs_plugin_framework_react_dist_runtime__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_tarojs_plugin_framework_react_dist_runtime__WEBPACK_IMPORTED_MODULE_3__);
-/* harmony import */ var _tarojs_taro__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @tarojs/taro */ "webpack/container/remote/@tarojs/taro");
-/* harmony import */ var _tarojs_taro__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_tarojs_taro__WEBPACK_IMPORTED_MODULE_4__);
-/* harmony import */ var _node_modules_pnpm_tarojs_taro_loader_4_0_8_webpack_5_94_0_swc_core_1_3_96_node_modules_tarojs_taro_loader_lib_entry_cache_js_name_app_app_jsx__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !!../node_modules/.pnpm/@tarojs+taro-loader@4.0.8_webpack@5.94.0_@swc+core@1.3.96_/node_modules/@tarojs/taro-loader/lib/entry-cache.js?name=app!./app.jsx */ "./node_modules/.pnpm/@tarojs+taro-loader@4.0.8_webpack@5.94.0_@swc+core@1.3.96_/node_modules/@tarojs/taro-loader/lib/entry-cache.js?name=app!./src/app.jsx");
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react */ "webpack/container/remote/react");
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_6__);
-/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! react-dom */ "webpack/container/remote/react-dom");
-/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(react_dom__WEBPACK_IMPORTED_MODULE_7__);
-
-
-
-
-
-
-
-
-
-
-
-
-var config = {"pages":["pages/home/index","pages/index/index"],"window":{"backgroundTextStyle":"light","navigationBarBackgroundColor":"#fff","navigationBarTitleText":"WeChat","navigationBarTextStyle":"black"},"lazyCodeLoading":"requiredComponents"};
-_tarojs_runtime__WEBPACK_IMPORTED_MODULE_2__.window.__taroAppConfig = config
-var inst = App((0,_tarojs_plugin_framework_react_dist_runtime__WEBPACK_IMPORTED_MODULE_3__.createReactApp)(_node_modules_pnpm_tarojs_taro_loader_4_0_8_webpack_5_94_0_swc_core_1_3_96_node_modules_tarojs_taro_loader_lib_entry_cache_js_name_app_app_jsx__WEBPACK_IMPORTED_MODULE_5__["default"], react__WEBPACK_IMPORTED_MODULE_6__, (react_dom__WEBPACK_IMPORTED_MODULE_7___default()), config))
-
-;(0,_tarojs_taro__WEBPACK_IMPORTED_MODULE_4__.initPxTransform)({
- designWidth: function designWidth(input) {
- var _input_file;
- // 配置 NutUI 375 尺寸
- if ((input === null || input === void 0 ? void 0 : (_input_file = input.file) === null || _input_file === void 0 ? void 0 : _input_file.replace(/\\+/g, "/").indexOf("@nutui")) > -1) {
- return 375;
- }
- // 全局使用 Taro 默认的 750 尺寸
- return 750;
- },
- deviceRatio: {"375":2,"640":1.17,"750":1,"828":0.905},
- baseFontSize: 20,
- unitPrecision: undefined,
- targetUnit: undefined
-})
-
-
-/***/ }),
-
-/***/ "./src/reducers/counter.js":
-/*!*********************************!*\
- !*** ./src/reducers/counter.js ***!
- \*********************************/
-/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
-
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "default": function() { return /* binding */ counter; }
-/* harmony export */ });
-/* harmony import */ var _constants_counter__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../constants/counter */ "./src/constants/counter.js");
-
-const INITIAL_STATE = {
- num: 0
-};
-function counter() {
- let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : INITIAL_STATE;
- let action = arguments.length > 1 ? arguments[1] : undefined;
- switch (action.type) {
- case _constants_counter__WEBPACK_IMPORTED_MODULE_0__.ADD:
- return {
- ...state,
- num: state.num + 1
- };
- case _constants_counter__WEBPACK_IMPORTED_MODULE_0__.MINUS:
- return {
- ...state,
- num: state.num - 1
- };
- default:
- return state;
- }
-}
-
-/***/ }),
-
-/***/ "./src/reducers/index.js":
-/*!*******************************!*\
- !*** ./src/reducers/index.js ***!
- \*******************************/
-/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
-
-/* harmony import */ var redux__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! redux */ "webpack/container/remote/redux");
-/* harmony import */ var redux__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(redux__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _counter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./counter */ "./src/reducers/counter.js");
-
-
-/* harmony default export */ __webpack_exports__["default"] = ((0,redux__WEBPACK_IMPORTED_MODULE_0__.combineReducers)({
- counter: _counter__WEBPACK_IMPORTED_MODULE_1__["default"]
-}));
-
-/***/ }),
-
-/***/ "./src/store/index.js":
-/*!****************************!*\
- !*** ./src/store/index.js ***!
- \****************************/
-/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
-
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "default": function() { return /* binding */ configStore; }
-/* harmony export */ });
-/* harmony import */ var redux__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! redux */ "webpack/container/remote/redux");
-/* harmony import */ var redux__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(redux__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var redux_thunk__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! redux-thunk */ "webpack/container/remote/redux-thunk");
-/* harmony import */ var redux_thunk__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(redux_thunk__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var redux_logger__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! redux-logger */ "webpack/container/remote/redux-logger");
-/* harmony import */ var redux_logger__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(redux_logger__WEBPACK_IMPORTED_MODULE_2__);
-/* harmony import */ var _reducers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../reducers */ "./src/reducers/index.js");
-/* provided dependency */ var window = __webpack_require__(/*! @tarojs/runtime */ "webpack/container/remote/@tarojs/runtime")["window"];
-
-
-
-
-const composeEnhancers = typeof window === 'object' && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__({
- // Specify extension’s options like name, actionsBlacklist, actionsCreators, serialize...
-}) : redux__WEBPACK_IMPORTED_MODULE_0__.compose;
-const middlewares = [(redux_thunk__WEBPACK_IMPORTED_MODULE_1___default())];
-if (true) {
- middlewares.push((redux_logger__WEBPACK_IMPORTED_MODULE_2___default()));
-}
-const enhancer = composeEnhancers((0,redux__WEBPACK_IMPORTED_MODULE_0__.applyMiddleware)(...middlewares)
-// other store enhancers if any
-);
-function configStore() {
- const store = (0,redux__WEBPACK_IMPORTED_MODULE_0__.legacy_createStore)(_reducers__WEBPACK_IMPORTED_MODULE_3__["default"], enhancer);
- return store;
-}
-
-/***/ })
-
-},
-/******/ function(__webpack_require__) { // webpackRuntimeModules
-/******/ var __webpack_exec__ = function(moduleId) { return __webpack_require__(__webpack_require__.s = moduleId); }
-/******/ __webpack_require__.O(0, ["common"], function() { return __webpack_exec__("./src/app.jsx"); });
-/******/ var __webpack_exports__ = __webpack_require__.O();
-/******/ }
-]);;;
-//# sourceMappingURL=app.js.map
\ No newline at end of file
diff --git a/dist/app.js.map b/dist/app.js.map
deleted file mode 100644
index 129e8a2..0000000
--- a/dist/app.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"sources":[""],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;AAMA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;AAaA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;;AAGA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;AAKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA"}
\ No newline at end of file
diff --git a/dist/app.json b/dist/app.json
deleted file mode 100644
index 58be714..0000000
--- a/dist/app.json
+++ /dev/null
@@ -1 +0,0 @@
-{"pages":["pages/home/index","pages/index/index"],"window":{"backgroundTextStyle":"light","navigationBarBackgroundColor":"#fff","navigationBarTitleText":"WeChat","navigationBarTextStyle":"black"},"lazyCodeLoading":"requiredComponents"}
\ No newline at end of file
diff --git a/dist/app.wxss b/dist/app.wxss
deleted file mode 100644
index e8610fa..0000000
--- a/dist/app.wxss
+++ /dev/null
@@ -1,81 +0,0 @@
-/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
- !*** css ./node_modules/.pnpm/css-loader@7.1.2_webpack@5.94.0_@swc+core@1.3.96_/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[0].use[1]!./node_modules/.pnpm/postcss-loader@8.1.1_postcss@8.4.49_typescript@5.7.2_webpack@5.94.0_@swc+core@1.3.96_/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[0].use[2]!./node_modules/.pnpm/resolve-url-loader@5.0.0/node_modules/resolve-url-loader/index.js!./node_modules/.pnpm/sass-loader@14.2.1_sass@1.83.0_webpack@5.94.0_@swc+core@1.3.96_/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[0].use[4]!./src/app.scss ***!
- \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
-::backdrop {
- --tw-border-spacing-x: 0;
- --tw-border-spacing-y: 0;
- --tw-translate-x: 0;
- --tw-translate-y: 0;
- --tw-rotate: 0;
- --tw-skew-x: 0;
- --tw-skew-y: 0;
- --tw-scale-x: 1;
- --tw-scale-y: 1;
- --tw-pan-x: ;
- --tw-pan-y: ;
- --tw-pinch-zoom: ;
- --tw-scroll-snap-strictness: proximity;
- --tw-gradient-from-position: ;
- --tw-gradient-via-position: ;
- --tw-gradient-to-position: ;
- --tw-ordinal: ;
- --tw-slashed-zero: ;
- --tw-numeric-figure: ;
- --tw-numeric-spacing: ;
- --tw-numeric-fraction: ;
- --tw-ring-inset: ;
- --tw-ring-offset-width: 0rpx;
- --tw-ring-offset-color: #fff;
- --tw-ring-color: rgb(59 130 246 / 0.5);
- --tw-ring-offset-shadow: 0 0 #0000;
- --tw-ring-shadow: 0 0 #0000;
- --tw-shadow: 0 0 #0000;
- --tw-shadow-colored: 0 0 #0000;
- --tw-blur: ;
- --tw-brightness: ;
- --tw-contrast: ;
- --tw-grayscale: ;
- --tw-hue-rotate: ;
- --tw-invert: ;
- --tw-saturate: ;
- --tw-sepia: ;
- --tw-drop-shadow: ;
- --tw-backdrop-blur: ;
- --tw-backdrop-brightness: ;
- --tw-backdrop-contrast: ;
- --tw-backdrop-grayscale: ;
- --tw-backdrop-hue-rotate: ;
- --tw-backdrop-invert: ;
- --tw-backdrop-opacity: ;
- --tw-backdrop-saturate: ;
- --tw-backdrop-sepia: ;
- --tw-contain-size: ;
- --tw-contain-layout: ;
- --tw-contain-paint: ;
- --tw-contain-style:
-}
-.static {
- position: static
-}
-.absolute {
- position: absolute
-}
-.-z-10 {
- z-index: -10
-}
-.block {
- display: block
-}
-.table {
- display: table
-}
-.ih-full {
- height: 100% !important
-}
-.iw-full {
- width: 100% !important
-}
-.text-_red_ {
- --tw-text-opacity: 1;
- color: rgb(255 0 0 / var(--tw-text-opacity, 1))
-}
diff --git a/dist/base.wxml b/dist/base.wxml
deleted file mode 100644
index 934fe83..0000000
--- a/dist/base.wxml
+++ /dev/null
@@ -1,641 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{i.v}}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/dist/common.js b/dist/common.js
deleted file mode 100644
index 98c41f0..0000000
--- a/dist/common.js
+++ /dev/null
@@ -1,20 +0,0 @@
-"use strict";
-(wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([["common"],{
-
-/***/ "./src/constants/counter.js":
-/*!**********************************!*\
- !*** ./src/constants/counter.js ***!
- \**********************************/
-/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
-
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ ADD: function() { return /* binding */ ADD; },
-/* harmony export */ MINUS: function() { return /* binding */ MINUS; }
-/* harmony export */ });
-const ADD = 'ADD';
-const MINUS = 'MINUS';
-
-/***/ })
-
-}]);
-//# sourceMappingURL=common.js.map
\ No newline at end of file
diff --git a/dist/common.js.map b/dist/common.js.map
deleted file mode 100644
index 34cfb9d..0000000
--- a/dist/common.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"sources":[""],"names":[],"mappings":"AAAA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA"}
\ No newline at end of file
diff --git a/dist/comp.js b/dist/comp.js
deleted file mode 100644
index 60ab7ea..0000000
--- a/dist/comp.js
+++ /dev/null
@@ -1,8 +0,0 @@
-"use strict";
-(wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([["comp"],{},
-/******/ function(__webpack_require__) { // webpackRuntimeModules
-/******/ var __webpack_exec__ = function(moduleId) { return __webpack_require__(__webpack_require__.s = moduleId); }
-/******/ __webpack_require__.O(0, ["taro","common"], function() { return __webpack_exec__("./node_modules/.pnpm/@tarojs+webpack5-runner@4.0.8_@babel+core@7.26.0_@swc+core@1.3.96_@tarojs+runtime@4.0.8_less@_vwsmwh3bdevzqpifefvyk27xte/node_modules/@tarojs/webpack5-runner/dist/template/comp.js"); });
-/******/ var __webpack_exports__ = __webpack_require__.O();
-/******/ }
-]);
\ No newline at end of file
diff --git a/dist/comp.json b/dist/comp.json
deleted file mode 100644
index b31d1e0..0000000
--- a/dist/comp.json
+++ /dev/null
@@ -1 +0,0 @@
-{"component":true,"styleIsolation":"apply-shared","usingComponents":{"comp":"./comp"}}
\ No newline at end of file
diff --git a/dist/comp.wxml b/dist/comp.wxml
deleted file mode 100644
index 204fab5..0000000
--- a/dist/comp.wxml
+++ /dev/null
@@ -1,3 +0,0 @@
-
-
-
\ No newline at end of file
diff --git a/dist/pages/home/index.js b/dist/pages/home/index.js
deleted file mode 100644
index 9ee7f27..0000000
--- a/dist/pages/home/index.js
+++ /dev/null
@@ -1,1084 +0,0 @@
-(wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([["pages/home/index"],{
-
-/***/ "./node_modules/.pnpm/@tarojs+taro-loader@4.0.8_webpack@5.94.0_@swc+core@1.3.96_/node_modules/@tarojs/taro-loader/lib/entry-cache.js?name=pages/home/index!./src/pages/home/index.jsx":
-/*!********************************************************************************************************************************************************************************************!*\
- !*** ./node_modules/.pnpm/@tarojs+taro-loader@4.0.8_webpack@5.94.0_@swc+core@1.3.96_/node_modules/@tarojs/taro-loader/lib/entry-cache.js?name=pages/home/index!./src/pages/home/index.jsx ***!
- \********************************************************************************************************************************************************************************************/
-/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _nutui_nutui_react_taro_dist_esm_Button_style_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @nutui/nutui-react-taro/dist/esm/Button/style/css */ "./node_modules/.pnpm/@nutui+nutui-react-taro@2.7.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@nutui/nutui-react-taro/dist/esm/Button/style/css.js");
-/* harmony import */ var _nutui_nutui_react_taro_dist_esm_Button__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @nutui/nutui-react-taro/dist/esm/Button */ "./node_modules/.pnpm/@nutui+nutui-react-taro@2.7.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@nutui/nutui-react-taro/dist/esm/button.taro-CixO32Hw.js");
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "webpack/container/remote/react");
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _tarojs_components__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @tarojs/components */ "./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/components-react.js");
-/* harmony import */ var _api__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../api */ "./src/api/index.js");
-/* harmony import */ var _utils_TaroUtils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/TaroUtils */ "./src/utils/TaroUtils.js");
-/* harmony import */ var _components_XQRCode__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../components/XQRCode */ "./src/components/XQRCode/index.jsx");
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react/jsx-runtime */ "webpack/container/remote/react/jsx-runtime");
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__);
-
-
-
-
-
-
-
-
-
-class Home extends react__WEBPACK_IMPORTED_MODULE_1__.Component {
- async sendMsg() {
- await _api__WEBPACK_IMPORTED_MODULE_2__["default"].system.getBaidu();
- }
- async showToast() {
- _utils_TaroUtils__WEBPACK_IMPORTED_MODULE_3__["default"].showToast("你好");
- }
- render() {
- return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsxs)(_tarojs_components__WEBPACK_IMPORTED_MODULE_6__.View, {
- children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)(_tarojs_components__WEBPACK_IMPORTED_MODULE_6__.View, {
- class: "text-_red_",
- children: "123456"
- }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)(_nutui_nutui_react_taro_dist_esm_Button__WEBPACK_IMPORTED_MODULE_7__.B, {
- type: "info",
- onClick: this.sendMsg,
- children: "\u53D1\u9001"
- }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)(_nutui_nutui_react_taro_dist_esm_Button__WEBPACK_IMPORTED_MODULE_7__.B, {
- type: "info",
- onClick: this.showToast,
- children: "\u5F39\u7A97"
- }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)(_components_XQRCode__WEBPACK_IMPORTED_MODULE_4__["default"], {})]
- });
- }
-}
-/* harmony default export */ __webpack_exports__["default"] = (Home);
-
-/***/ }),
-
-/***/ "./node_modules/.pnpm/@nutui+icons-react-taro@1.0.5/node_modules/@nutui/icons-react-taro/dist/es/icons/Loading.js":
-/*!************************************************************************************************************************!*\
- !*** ./node_modules/.pnpm/@nutui+icons-react-taro@1.0.5/node_modules/@nutui/icons-react-taro/dist/es/icons/Loading.js ***!
- \************************************************************************************************************************/
-/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "default": function() { return /* binding */ y; }
-/* harmony export */ });
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "webpack/container/remote/react");
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _IconTemplate_b29ebbb8_mjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./IconTemplate-b29ebbb8.mjs */ "./node_modules/.pnpm/@nutui+icons-react-taro@1.0.5/node_modules/@nutui/icons-react-taro/dist/es/icons/IconTemplate-b29ebbb8.mjs");
-
-
-
-const y = D => {
- const M = {
- ..._IconTemplate_b29ebbb8_mjs__WEBPACK_IMPORTED_MODULE_1__.d,
- ...D
- };
- return /* @__PURE__ */react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_IconTemplate_b29ebbb8_mjs__WEBPACK_IMPORTED_MODULE_1__.I, {
- ...M,
- name: M.name || "Loading",
- svg64: "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDI0IDEwMjQiPjxwYXRoIGZpbGw9InVuZGVmaW5lZCIgZD0iTTUxMiA3My4xNGE0My44OSA0My44OSAwIDAgMSA0My44OSA0My44OXYxMTguNDlhNDMuODkgNDMuODkgMCAwIDEtODcuNzggMFYxMTcuMDNBNDMuODkgNDMuODkgMCAwIDEgNTEyIDczLjE0TTIwMS42NSAyMDEuNjVhNDMuODkgNDMuODkgMCAwIDEgNjIuMSAwbDgzLjY4IDgzLjgzYTQzLjg5IDQzLjg5IDAgMSAxLTYyLjAzIDYyLjAybC04My43NS04My43NWE0My44OSA0My44OSAwIDAgMSAwLTYyLjFtNjIwLjcgMGE0My44OSA0My44OSAwIDAgMSAwIDYyLjFsLTgzLjgzIDgzLjY4YTQzLjg5IDQzLjg5IDAgMSAxLTYyLjAyLTYyLjAzbDgzLjc1LTgzLjgyYTQzLjg5IDQzLjg5IDAgMCAxIDYyLjEgMHpNNzMuMTQgNTEyYTQzLjg5IDQzLjg5IDAgMCAxIDQzLjg5LTQzLjg5aDExOC40OWE0My44OSA0My44OSAwIDAgMSAwIDg3Ljc4SDExNy4wM0E0My44OSA0My44OSAwIDAgMSA3My4xNCA1MTJtNjcxLjQ1IDBhNDMuODkgNDMuODkgMCAwIDEgNDMuODktNDMuODloMTE4LjQ5YTQzLjg5IDQzLjg5IDAgMSAxIDAgODcuNzhINzg4LjQ4QTQzLjg5IDQzLjg5IDAgMCAxIDc0NC41OSA1MTJNMzQ3LjUgNjc2LjVhNDMuODkgNDMuODkgMCAwIDEgMCA2Mi4wMmwtODMuNzUgODMuODNhNDMuODkgNDMuODkgMCAxIDEtNjIuMS02Mi4xbDgzLjgzLTgzLjY4YTQzLjg5IDQzLjg5IDAgMCAxIDYyLjAyIDB6bTMyOSAwYTQzLjg5IDQzLjg5IDAgMCAxIDYyLjAyIDBsODMuODMgODMuNzVhNDMuODkgNDMuODkgMCAxIDEtNjIuMSA2Mi4xbC04My42OC04My44M2E0My44OSA0My44OSAwIDAgMSAwLTYyLjAyek01MTIgNzQ0LjU5YTQzLjg5IDQzLjg5IDAgMCAxIDQzLjg5IDQzLjg5djExOC40OWE0My44OSA0My44OSAwIDEgMS04Ny43OCAwVjc4OC40OEE0My44OSA0My44OSAwIDAgMSA1MTIgNzQ0LjU5Ii8+PC9zdmc+"
- });
-};
-
-
-/***/ }),
-
-/***/ "./node_modules/.pnpm/@nutui+icons-react-taro@1.0.5/node_modules/@nutui/icons-react-taro/dist/es/icons/internal.js":
-/*!*************************************************************************************************************************!*\
- !*** ./node_modules/.pnpm/@nutui+icons-react-taro@1.0.5/node_modules/@nutui/icons-react-taro/dist/es/icons/internal.js ***!
- \*************************************************************************************************************************/
-/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ globalConfig: function() { return /* binding */ n; }
-/* harmony export */ });
-const n = {
- useSvg: !0,
- classPrefix: "nut-icon",
- tag: "i",
- fontClassName: "nutui-iconfont"
-};
-
-
-/***/ }),
-
-/***/ "./node_modules/.pnpm/@nutui+icons-react-taro@1.0.5/node_modules/@nutui/icons-react-taro/dist/es/index.es.js":
-/*!*******************************************************************************************************************!*\
- !*** ./node_modules/.pnpm/@nutui+icons-react-taro@1.0.5/node_modules/@nutui/icons-react-taro/dist/es/index.es.js ***!
- \*******************************************************************************************************************/
-/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ Loading: function() { return /* reexport safe */ _icons_Loading_js__WEBPACK_IMPORTED_MODULE_0__["default"]; }
-/* harmony export */ });
-/* harmony import */ var _icons_Loading_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./icons/Loading.js */ "./node_modules/.pnpm/@nutui+icons-react-taro@1.0.5/node_modules/@nutui/icons-react-taro/dist/es/icons/Loading.js");
-/* harmony import */ var _style_icon_css__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../style_icon.css */ "./node_modules/.pnpm/@nutui+icons-react-taro@1.0.5/node_modules/@nutui/icons-react-taro/dist/style_icon.css");
-/** 此文件由 script generate 脚本生成 */
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-/***/ }),
-
-/***/ "./node_modules/.pnpm/@nutui+nutui-react-taro@2.7.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@nutui/nutui-react-taro/dist/esm/Button/style/css.js":
-/*!************************************************************************************************************************************************************************!*\
- !*** ./node_modules/.pnpm/@nutui+nutui-react-taro@2.7.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@nutui/nutui-react-taro/dist/esm/Button/style/css.js ***!
- \************************************************************************************************************************************************************************/
-/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _style_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./style.css */ "./node_modules/.pnpm/@nutui+nutui-react-taro@2.7.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@nutui/nutui-react-taro/dist/esm/Button/style/style.css");
-
-
-/***/ }),
-
-/***/ "./node_modules/.pnpm/@nutui+nutui-react-taro@2.7.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@nutui/nutui-react-taro/dist/esm/button.taro-CixO32Hw.js":
-/*!****************************************************************************************************************************************************************************!*\
- !*** ./node_modules/.pnpm/@nutui+nutui-react-taro@2.7.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@nutui/nutui-react-taro/dist/esm/button.taro-CixO32Hw.js ***!
- \****************************************************************************************************************************************************************************/
-/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ B: function() { return /* binding */ Button; }
-/* harmony export */ });
-/* harmony import */ var _tslib_es6_iWu3F_1J_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./tslib.es6-iWu3F_1J.js */ "./node_modules/.pnpm/@nutui+nutui-react-taro@2.7.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@nutui/nutui-react-taro/dist/esm/tslib.es6-iWu3F_1J.js");
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "webpack/container/remote/react");
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ "./node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/index.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _nutui_icons_react_taro__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @nutui/icons-react-taro */ "./node_modules/.pnpm/@nutui+icons-react-taro@1.0.5/node_modules/@nutui/icons-react-taro/dist/es/index.es.js");
-/* harmony import */ var _tarojs_taro__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @tarojs/taro */ "webpack/container/remote/@tarojs/taro");
-/* harmony import */ var _tarojs_taro__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_tarojs_taro__WEBPACK_IMPORTED_MODULE_3__);
-/* harmony import */ var _typings_DV9RBfhj_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./typings-DV9RBfhj.js */ "./node_modules/.pnpm/@nutui+nutui-react-taro@2.7.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@nutui/nutui-react-taro/dist/esm/typings-DV9RBfhj.js");
-
-
-
-
-
-
-const prefixCls = "nut-button";
-const defaultProps = Object.assign(Object.assign({}, _typings_DV9RBfhj_js__WEBPACK_IMPORTED_MODULE_4__.C), {
- color: "",
- type: "default",
- size: "normal",
- shape: "round",
- fill: "outline",
- loading: false,
- disabled: false,
- block: false,
- icon: null,
- rightIcon: null,
- onClick: e => {}
-});
-const Button = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().forwardRef((props, ref) => {
- const _a = Object.assign(Object.assign({}, defaultProps), props),
- {
- color,
- shape,
- fill,
- loading,
- disabled,
- type,
- size,
- block,
- icon,
- rightIcon,
- children,
- className,
- style,
- nativeType,
- onClick
- } = _a,
- rest = (0,_tslib_es6_iWu3F_1J_js__WEBPACK_IMPORTED_MODULE_5__._)(_a, ["color", "shape", "fill", "loading", "disabled", "type", "size", "block", "icon", "rightIcon", "children", "className", "style", "nativeType", "onClick"]);
- const getStyle = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(() => {
- const style2 = {};
- if (color) {
- if (props.fill === "outline" || props.fill === "dashed") {
- style2.color = color;
- if (!(color === null || color === void 0 ? void 0 : color.includes("gradient"))) {
- style2.borderColor = color;
- }
- } else {
- style2.color = "#fff";
- style2.background = color;
- style2.borderColor = "transparent";
- }
- }
- return style2;
- }, [color, props.fill]);
- const handleClick = e => {
- if (!loading && !disabled && onClick) {
- onClick(e);
- }
- };
- if ((0,_tarojs_taro__WEBPACK_IMPORTED_MODULE_3__.getEnv)() === "WEB") {
- rest.type = rest.formType;
- }
- return (
- /*#__PURE__*/
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
- // @ts-ignore
- // eslint-disable-next-line react/button-has-type
- react__WEBPACK_IMPORTED_MODULE_0___default().createElement("button", Object.assign({}, rest, {
- ref,
- type: nativeType,
- className: classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, `${prefixCls}-${type}`, props.fill ? `${prefixCls}-${fill}` : null, children ? "" : `${prefixCls}-icononly`, {
- [`${prefixCls}-${size}`]: size,
- [`${prefixCls}-${shape}`]: shape,
- [`${prefixCls}-block`]: block,
- [`${prefixCls}-disabled`]: disabled || loading,
- [`${prefixCls}-loading`]: loading
- }, className),
- style: Object.assign(Object.assign({}, getStyle()), style),
- onClick: e => handleClick(e)
- }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", {
- className: "nut-button-wrap"
- }, loading && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_nutui_icons_react_taro__WEBPACK_IMPORTED_MODULE_2__.Loading, {
- className: "nut-icon-loading"
- }), !loading && icon ? icon : null, children && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", {
- className: `${icon || loading ? "nut-button-text" : ""}${rightIcon ? " nut-button-text right" : ""}`
- }, children), rightIcon || null))
- );
-});
-Button.displayName = "NutButton";
-
-
-/***/ }),
-
-/***/ "./node_modules/.pnpm/@nutui+nutui-react-taro@2.7.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@nutui/nutui-react-taro/dist/esm/tslib.es6-iWu3F_1J.js":
-/*!**************************************************************************************************************************************************************************!*\
- !*** ./node_modules/.pnpm/@nutui+nutui-react-taro@2.7.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@nutui/nutui-react-taro/dist/esm/tslib.es6-iWu3F_1J.js ***!
- \**************************************************************************************************************************************************************************/
-/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ _: function() { return /* binding */ __rest; }
-/* harmony export */ });
-/* unused harmony export a */
-function __rest(s, e) {
- var t = {};
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
- if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
- }
- return t;
-}
-function __awaiter(thisArg, _arguments, P, generator) {
- function adopt(value) {
- return value instanceof P ? value : new P(function (resolve) {
- resolve(value);
- });
- }
- return new (P || (P = Promise))(function (resolve, reject) {
- function fulfilled(value) {
- try {
- step(generator.next(value));
- } catch (e) {
- reject(e);
- }
- }
- function rejected(value) {
- try {
- step(generator["throw"](value));
- } catch (e) {
- reject(e);
- }
- }
- function step(result) {
- result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
- }
- step((generator = generator.apply(thisArg, _arguments || [])).next());
- });
-}
-typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
- var e = new Error(message);
- return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
-};
-
-
-/***/ }),
-
-/***/ "./node_modules/.pnpm/@nutui+nutui-react-taro@2.7.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@nutui/nutui-react-taro/dist/esm/typings-DV9RBfhj.js":
-/*!************************************************************************************************************************************************************************!*\
- !*** ./node_modules/.pnpm/@nutui+nutui-react-taro@2.7.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@nutui/nutui-react-taro/dist/esm/typings-DV9RBfhj.js ***!
- \************************************************************************************************************************************************************************/
-/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ C: function() { return /* binding */ ComponentDefaults; }
-/* harmony export */ });
-const ComponentDefaults = {
- className: "",
- style: {}
-};
-
-
-/***/ }),
-
-/***/ "./src/api/index.js":
-/*!**************************!*\
- !*** ./src/api/index.js ***!
- \**************************/
-/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _system__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./system */ "./src/api/system/index.js");
-
-const Api = {
- system: {
- ..._system__WEBPACK_IMPORTED_MODULE_0__["default"]
- }
-};
-/* harmony default export */ __webpack_exports__["default"] = (Api);
-
-/***/ }),
-
-/***/ "./src/api/system/index.js":
-/*!*********************************!*\
- !*** ./src/api/system/index.js ***!
- \*********************************/
-/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _utils_request__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/request */ "./src/utils/request.js");
-
-const system = {
- getBaidu: async () => {
- return (0,_utils_request__WEBPACK_IMPORTED_MODULE_0__["default"])({
- url: '/s?wq=你好',
- method: 'GET'
- });
- }
-};
-/* harmony default export */ __webpack_exports__["default"] = (system);
-
-/***/ }),
-
-/***/ "./src/components/XQRCode/index.jsx":
-/*!******************************************!*\
- !*** ./src/components/XQRCode/index.jsx ***!
- \******************************************/
-/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _Users_wangyijia_Documents_My_taro_template_node_modules_pnpm_babel_runtime_7_26_0_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/defineProperty.js */ "./node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/defineProperty.js");
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "webpack/container/remote/react");
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _tarojs_components__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @tarojs/components */ "./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/components-react.js");
-/* harmony import */ var uqrcodejs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! uqrcodejs */ "webpack/container/remote/uqrcodejs");
-/* harmony import */ var uqrcodejs__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(uqrcodejs__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _tarojs_taro__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @tarojs/taro */ "webpack/container/remote/@tarojs/taro");
-/* harmony import */ var _tarojs_taro__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_tarojs_taro__WEBPACK_IMPORTED_MODULE_2__);
-/* harmony import */ var _utils_TaroUtils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/TaroUtils */ "./src/utils/TaroUtils.js");
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react/jsx-runtime */ "webpack/container/remote/react/jsx-runtime");
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__);
-
-
-
-
-
-
-
-class XQRCode extends react__WEBPACK_IMPORTED_MODULE_0__.Component {
- constructor(props) {
- super(props);
- }
- componentDidMount() {
- const {
- content,
- id
- } = this.props;
- _tarojs_taro__WEBPACK_IMPORTED_MODULE_2___default().createSelectorQuery().select(`#${id}`).boundingClientRect().exec(res => {
- const {
- width
- } = res[0];
- const qr = new (uqrcodejs__WEBPACK_IMPORTED_MODULE_1___default())();
- qr.data = content;
- qr.size = width;
- qr.make();
- qr.canvasContext = _tarojs_taro__WEBPACK_IMPORTED_MODULE_2___default().createCanvasContext(id, this);
- qr.drawCanvas().catch(res => {
- _utils_TaroUtils__WEBPACK_IMPORTED_MODULE_3__["default"].showToast(`二维码绘制失败`);
- });
- });
- }
- render() {
- const {
- size,
- id
- } = this.props;
- return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_tarojs_components__WEBPACK_IMPORTED_MODULE_5__.View, {
- style: {
- width: size,
- height: size
- },
- children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_tarojs_components__WEBPACK_IMPORTED_MODULE_5__.Canvas, {
- id: id,
- canvasId: id,
- className: "iw-full ih-full"
- })
- });
- }
-}
-(0,_Users_wangyijia_Documents_My_taro_template_node_modules_pnpm_babel_runtime_7_26_0_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__["default"])(XQRCode, "defaultProps", {
- size: "200rpx",
- content: "https://www.baidu.com",
- id: "QRCode"
-});
-/* harmony default export */ __webpack_exports__["default"] = (XQRCode);
-
-/***/ }),
-
-/***/ "./src/pages/home/index.jsx":
-/*!**********************************!*\
- !*** ./src/pages/home/index.jsx ***!
- \**********************************/
-/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tarojs/runtime */ "webpack/container/remote/@tarojs/runtime");
-/* harmony import */ var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _node_modules_pnpm_tarojs_taro_loader_4_0_8_webpack_5_94_0_swc_core_1_3_96_node_modules_tarojs_taro_loader_lib_entry_cache_js_name_pages_home_index_index_jsx__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !!../../../node_modules/.pnpm/@tarojs+taro-loader@4.0.8_webpack@5.94.0_@swc+core@1.3.96_/node_modules/@tarojs/taro-loader/lib/entry-cache.js?name=pages/home/index!./index.jsx */ "./node_modules/.pnpm/@tarojs+taro-loader@4.0.8_webpack@5.94.0_@swc+core@1.3.96_/node_modules/@tarojs/taro-loader/lib/entry-cache.js?name=pages/home/index!./src/pages/home/index.jsx");
-
-
-var config = {"navigationBarTitleText":"首页"};
-
-
-
-var taroOption = (0,_tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__.createPageConfig)(_node_modules_pnpm_tarojs_taro_loader_4_0_8_webpack_5_94_0_swc_core_1_3_96_node_modules_tarojs_taro_loader_lib_entry_cache_js_name_pages_home_index_index_jsx__WEBPACK_IMPORTED_MODULE_1__["default"], 'pages/home/index', {root:{cn:[]}}, config || {})
-if (_node_modules_pnpm_tarojs_taro_loader_4_0_8_webpack_5_94_0_swc_core_1_3_96_node_modules_tarojs_taro_loader_lib_entry_cache_js_name_pages_home_index_index_jsx__WEBPACK_IMPORTED_MODULE_1__["default"] && _node_modules_pnpm_tarojs_taro_loader_4_0_8_webpack_5_94_0_swc_core_1_3_96_node_modules_tarojs_taro_loader_lib_entry_cache_js_name_pages_home_index_index_jsx__WEBPACK_IMPORTED_MODULE_1__["default"].behaviors) {
- taroOption.behaviors = (taroOption.behaviors || []).concat(_node_modules_pnpm_tarojs_taro_loader_4_0_8_webpack_5_94_0_swc_core_1_3_96_node_modules_tarojs_taro_loader_lib_entry_cache_js_name_pages_home_index_index_jsx__WEBPACK_IMPORTED_MODULE_1__["default"].behaviors)
-}
-var inst = Page(taroOption)
-
-
-
-/* unused harmony default export */ var __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_tarojs_taro_loader_4_0_8_webpack_5_94_0_swc_core_1_3_96_node_modules_tarojs_taro_loader_lib_entry_cache_js_name_pages_home_index_index_jsx__WEBPACK_IMPORTED_MODULE_1__["default"]);
-
-
-/***/ }),
-
-/***/ "./src/utils/TaroUtils.js":
-/*!********************************!*\
- !*** ./src/utils/TaroUtils.js ***!
- \********************************/
-/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _tarojs_taro__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tarojs/taro */ "webpack/container/remote/@tarojs/taro");
-/* harmony import */ var _tarojs_taro__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_tarojs_taro__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./utils */ "./src/utils/utils.js");
-
-
-const TaroUtils = {
- showToast(options) {
- if (!(0,_utils__WEBPACK_IMPORTED_MODULE_1__.isObject)(options)) {
- _tarojs_taro__WEBPACK_IMPORTED_MODULE_0___default().showToast({
- title: options,
- duration: 2000
- }).then(() => {});
- return;
- }
- _tarojs_taro__WEBPACK_IMPORTED_MODULE_0___default().showToast(options).then(() => {});
- }
-};
-/* harmony default export */ __webpack_exports__["default"] = (TaroUtils);
-
-/***/ }),
-
-/***/ "./src/utils/request.js":
-/*!******************************!*\
- !*** ./src/utils/request.js ***!
- \******************************/
-/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _tarojs_taro__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tarojs/taro */ "webpack/container/remote/@tarojs/taro");
-/* harmony import */ var _tarojs_taro__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_tarojs_taro__WEBPACK_IMPORTED_MODULE_0__);
-
-const request = options => {
- const {
- method,
- url,
- data
- } = options;
- return new Promise((resolve, reject) => {
- _tarojs_taro__WEBPACK_IMPORTED_MODULE_0___default().request({
- url: "https://www.baidu.com" + url,
- method: method || 'GET',
- success: res => {
- resolve(res);
- },
- fail: err => {
- reject(err);
- }
- });
- });
-};
-const interceptor = function (chain) {
- const requestParams = chain.requestParams;
- const {
- method,
- data,
- url
- } = requestParams;
- console.table(Object.entries({
- ['接口名称']: url,
- ['请求方式']: method,
- ['携带参数']: data
- }).map(_ref => {
- let [key, value] = _ref;
- return {
- Property: key,
- Value: value
- };
- }));
- return chain.proceed(requestParams).then(res => {
- console.log(`接口返回:`, res);
- return res.data;
- });
-};
-_tarojs_taro__WEBPACK_IMPORTED_MODULE_0___default().addInterceptor(interceptor);
-/* harmony default export */ __webpack_exports__["default"] = (request);
-
-/***/ }),
-
-/***/ "./src/utils/utils.js":
-/*!****************************!*\
- !*** ./src/utils/utils.js ***!
- \****************************/
-/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ isObject: function() { return /* binding */ isObject; }
-/* harmony export */ });
-const isObject = obj => {
- return obj !== null && typeof obj === 'object';
-};
-
-/***/ }),
-
-/***/ "./node_modules/.pnpm/@nutui+icons-react-taro@1.0.5/node_modules/@nutui/icons-react-taro/dist/style_icon.css":
-/*!*******************************************************************************************************************!*\
- !*** ./node_modules/.pnpm/@nutui+icons-react-taro@1.0.5/node_modules/@nutui/icons-react-taro/dist/style_icon.css ***!
- \*******************************************************************************************************************/
-/***/ (function() {
-
-"use strict";
-// extracted by mini-css-extract-plugin
-
-
-/***/ }),
-
-/***/ "./node_modules/.pnpm/@nutui+nutui-react-taro@2.7.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@nutui/nutui-react-taro/dist/esm/Button/style/style.css":
-/*!***************************************************************************************************************************************************************************!*\
- !*** ./node_modules/.pnpm/@nutui+nutui-react-taro@2.7.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@nutui/nutui-react-taro/dist/esm/Button/style/style.css ***!
- \***************************************************************************************************************************************************************************/
-/***/ (function() {
-
-"use strict";
-// extracted by mini-css-extract-plugin
-
-
-/***/ }),
-
-/***/ "./node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/index.js":
-/*!******************************************************************************!*\
- !*** ./node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/index.js ***!
- \******************************************************************************/
-/***/ (function(module, exports) {
-
-var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
- Copyright (c) 2018 Jed Watson.
- Licensed under the MIT License (MIT), see
- http://jedwatson.github.io/classnames
-*/
-/* global define */
-
-(function () {
- 'use strict';
-
- var hasOwn = {}.hasOwnProperty;
-
- function classNames () {
- var classes = '';
-
- for (var i = 0; i < arguments.length; i++) {
- var arg = arguments[i];
- if (arg) {
- classes = appendClass(classes, parseValue(arg));
- }
- }
-
- return classes;
- }
-
- function parseValue (arg) {
- if (typeof arg === 'string' || typeof arg === 'number') {
- return arg;
- }
-
- if (typeof arg !== 'object') {
- return '';
- }
-
- if (Array.isArray(arg)) {
- return classNames.apply(null, arg);
- }
-
- if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {
- return arg.toString();
- }
-
- var classes = '';
-
- for (var key in arg) {
- if (hasOwn.call(arg, key) && arg[key]) {
- classes = appendClass(classes, key);
- }
- }
-
- return classes;
- }
-
- function appendClass (value, newClass) {
- if (!newClass) {
- return value;
- }
-
- if (value) {
- return value + ' ' + newClass;
- }
-
- return value + newClass;
- }
-
- if ( true && module.exports) {
- classNames.default = classNames;
- module.exports = classNames;
- } else if (true) {
- // register as 'classnames', consistent with npm package name
- !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function () {
- return classNames;
- }).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),
- __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
- } else {}
-}());
-
-
-/***/ }),
-
-/***/ "./node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/defineProperty.js":
-/*!************************************************************************************************************!*\
- !*** ./node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/defineProperty.js ***!
- \************************************************************************************************************/
-/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "default": function() { return /* binding */ _defineProperty; }
-/* harmony export */ });
-/* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toPropertyKey.js */ "./node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js");
-
-function _defineProperty(e, r, t) {
- return (r = (0,_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__["default"])(r)) in e ? Object.defineProperty(e, r, {
- value: t,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[r] = t, e;
-}
-
-
-/***/ }),
-
-/***/ "./node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/toPrimitive.js":
-/*!*********************************************************************************************************!*\
- !*** ./node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/toPrimitive.js ***!
- \*********************************************************************************************************/
-/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "default": function() { return /* binding */ toPrimitive; }
-/* harmony export */ });
-/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "./node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/typeof.js");
-
-function toPrimitive(t, r) {
- if ("object" != (0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__["default"])(t) || !t) return t;
- var e = t[Symbol.toPrimitive];
- if (void 0 !== e) {
- var i = e.call(t, r || "default");
- if ("object" != (0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__["default"])(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":
-/*!***********************************************************************************************************!*\
- !*** ./node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js ***!
- \***********************************************************************************************************/
-/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "default": function() { return /* binding */ toPropertyKey; }
-/* harmony export */ });
-/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./typeof.js */ "./node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/typeof.js");
-/* harmony import */ var _toPrimitive_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toPrimitive.js */ "./node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/toPrimitive.js");
-
-
-function toPropertyKey(t) {
- var i = (0,_toPrimitive_js__WEBPACK_IMPORTED_MODULE_0__["default"])(t, "string");
- return "symbol" == (0,_typeof_js__WEBPACK_IMPORTED_MODULE_1__["default"])(i) ? i : i + "";
-}
-
-
-/***/ }),
-
-/***/ "./node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/typeof.js":
-/*!****************************************************************************************************!*\
- !*** ./node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/typeof.js ***!
- \****************************************************************************************************/
-/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "default": function() { return /* binding */ _typeof; }
-/* harmony export */ });
-function _typeof(o) {
- "@babel/helpers - typeof";
-
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
- return typeof o;
- } : function (o) {
- return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
- }, _typeof(o);
-}
-
-
-/***/ }),
-
-/***/ "./node_modules/.pnpm/@nutui+icons-react-taro@1.0.5/node_modules/@nutui/icons-react-taro/dist/es/icons/IconTemplate-b29ebbb8.mjs":
-/*!***************************************************************************************************************************************!*\
- !*** ./node_modules/.pnpm/@nutui+icons-react-taro@1.0.5/node_modules/@nutui/icons-react-taro/dist/es/icons/IconTemplate-b29ebbb8.mjs ***!
- \***************************************************************************************************************************************/
-/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ I: function() { return /* binding */ P; },
-/* harmony export */ d: function() { return /* binding */ x; }
-/* harmony export */ });
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "webpack/container/remote/react");
-/* harmony import */ var _internal_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./internal.js */ "./node_modules/.pnpm/@nutui+icons-react-taro@1.0.5/node_modules/@nutui/icons-react-taro/dist/es/icons/internal.js");
-
-
-const x = {
- className: "",
- style: void 0,
- name: "",
- width: "",
- height: "",
- size: "",
- svg64: "",
- onClick: () => {}
- },
- y = k => {
- const n = _internal_js__WEBPACK_IMPORTED_MODULE_1__.globalConfig.classPrefix,
- {
- className: m,
- style: f,
- name: e,
- color: r,
- width: p,
- height: C,
- size: i,
- svg64: a,
- children: u,
- onClick: l,
- fallback: o = !_internal_js__WEBPACK_IMPORTED_MODULE_1__.globalConfig.useSvg
- } = {
- ...x,
- ...k
- },
- N = t => {
- l && l(t);
- },
- h = t => t === "" ? "" : isNaN(Number(t)) ? String(t) : t + "px",
- $ = () => {
- const t = o ? e == null ? void 0 : e.toLowerCase() : e;
- return `${o ? _internal_js__WEBPACK_IMPORTED_MODULE_1__.globalConfig.fontClassName : ""} ${n} ${n}-${t} ${m}`;
- },
- c = {},
- d = h(p || i || ""),
- g = h(C || i || "");
- d && (c.width = d), g && (c.height = g);
- const b = () => ({
- ...f,
- ...(o ? {} : {
- backgroundColor: r || "currentColor",
- mask: `url('${a}') 0 0/100% 100% no-repeat`,
- "-webkitMask": `url('${a}') 0 0/100% 100% no-repeat`
- }),
- ...c
- });
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(_internal_js__WEBPACK_IMPORTED_MODULE_1__.globalConfig.tag, {
- className: $(),
- style: b(),
- onClick: N,
- color: r
- }, u);
- },
- P = y;
-
-
-/***/ })
-
-},
-/******/ function(__webpack_require__) { // webpackRuntimeModules
-/******/ var __webpack_exec__ = function(moduleId) { return __webpack_require__(__webpack_require__.s = moduleId); }
-/******/ __webpack_require__.O(0, ["taro","common"], function() { return __webpack_exec__("./src/pages/home/index.jsx"); });
-/******/ var __webpack_exports__ = __webpack_require__.O();
-/******/ }
-]);
-//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/dist/pages/home/index.js.map b/dist/pages/home/index.js.map
deleted file mode 100644
index cd37086..0000000
--- a/dist/pages/home/index.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"sources":[""],"names":[],"mappings":"AAAA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;AAUA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB,UAAU;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;;;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwOA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;;AAGA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;AAOA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AAQA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oBAAoB,eAAe;AACnC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;AAGA;;;;AAIA;AACA;AACA;AACA;AACA;;;;AAIA;;;AAGA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;;AAGA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;;AAGA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;;;AAGA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;;AAGA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA"}
\ No newline at end of file
diff --git a/dist/pages/home/index.json b/dist/pages/home/index.json
deleted file mode 100644
index 2850048..0000000
--- a/dist/pages/home/index.json
+++ /dev/null
@@ -1 +0,0 @@
-{"navigationBarTitleText":"首页","usingComponents":{"comp":"../../comp"}}
\ No newline at end of file
diff --git a/dist/pages/home/index.wxml b/dist/pages/home/index.wxml
deleted file mode 100644
index 181a491..0000000
--- a/dist/pages/home/index.wxml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/dist/pages/home/index.wxss b/dist/pages/home/index.wxss
deleted file mode 100644
index 3bdf11d..0000000
--- a/dist/pages/home/index.wxss
+++ /dev/null
@@ -1,17 +0,0 @@
-/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
- !*** css ./node_modules/.pnpm/css-loader@7.1.2_webpack@5.94.0_@swc+core@1.3.96_/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].oneOf[0].use[1]!./node_modules/.pnpm/postcss-loader@8.1.1_postcss@8.4.49_typescript@5.7.2_webpack@5.94.0_@swc+core@1.3.96_/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].oneOf[0].use[2]!./node_modules/.pnpm/@nutui+nutui-react-taro@2.7.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@nutui/nutui-react-taro/dist/esm/Button/style/style.css ***!
- \***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
-.nut-button{position:relative;display:flex;display:inline-block;justify-content:center;align-items:center;flex-shrink:0;box-sizing:border-box;margin:0;padding:0;height:var(--nutui-button-default-height, 64rpx);font-size:var(--nutui-button-default-font-size, var(--nutui-font-size-3, 28rpx));font-weight:var(--nutui-button-default-font-weight, var(--nutui-font-weight, 400));text-align:center;transition:opacity .2s;-webkit-appearance:none;-webkit-user-select:none;user-select:none;touch-action:manipulation;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--nutui-button-default-color, var(--nutui-gray-7, #1a1a1a));background:var(--nutui-button-default-background-color, transparent)}.nut-button-text{margin-left:var(--nutui-button-text-icon-margin, 8rpx)}.nut-button-text.right{margin-right:var(--nutui-button-text-icon-margin, 8rpx)}.nut-button:before{position:absolute;top:50%;left:50%;width:100%;height:100%;background-color:var(--nutui-black-10, rgba(0, 0, 0, .7));border:inherit;border-color:var(--nutui-black-10, rgba(0, 0, 0, .7));border-radius:inherit;transform:translate(-50%,-50%);opacity:0;content:" "}.nut-button:after{border:none}.nut-button:active:before{opacity:.1}.nut-button-wrap{height:100%;width:100%;display:flex;align-items:center;justify-content:center;background:initial}.nut-button-wrap .nut-icon{font-size:var(--nutui-button-default-font-size, var(--nutui-font-size-3, 28rpx));width:var(--nutui-button-default-font-size, var(--nutui-font-size-3, 28rpx));height:var(--nutui-button-default-font-size, var(--nutui-font-size-3, 28rpx))}.nut-button-loading:before,.nut-button-disabled:before{display:none}.nut-button.nut-button-icononly{width:var(--nutui-button-default-height, 64rpx);padding:0}.nut-button-default{padding:var(--nutui-button-default-padding, 0rpx 32rpx);border:var(--nutui-button-border-width, 2rpx) solid var(--nutui-button-default-border-color, var(--nutui-gray-6, #595959))}.nut-button-default.nut-button-disabled{color:var(--nutui-button-default-disabled-color, var(--nutui-gray-5, #8c8c8c));background:transparent}.nut-button-default.nut-button-none{background:transparent}.nut-button-default.nut-button-none.nut-button-disabled{color:var(--nutui-button-default-disabled-color, var(--nutui-gray-5, #8c8c8c))}.nut-button-default.nut-button-outline,.nut-button-default.nut-button-dashed{background:transparent}.nut-button-default.nut-button-outline.nut-button-disabled,.nut-button-default.nut-button-dashed.nut-button-disabled{color:var(--nutui-button-default-disabled-color, var(--nutui-gray-5, #8c8c8c));border-color:var(--nutui-button-default-disabled, var(--nutui-color-text-disabled, #bfbfbf))}.nut-button-normal{padding:var(--nutui-button-normal-padding, 0rpx 32rpx)}.nut-button-xlarge{height:var(--nutui-button-xlarge-height, 96rpx);padding:var(--nutui-button-xlarge-padding, 0rpx 64rpx);font-size:var(--nutui-button-xlarge-font-size, var(--nutui-font-size-5, 36rpx));font-weight:var(--nutui-button-large-font-weight, var(--nutui-font-weight-bold, 500))}.nut-button-xlarge .nut-icon{font-size:var(--nutui-button-xlarge-font-size, var(--nutui-font-size-5, 36rpx));width:var(--nutui-button-xlarge-font-size, var(--nutui-font-size-5, 36rpx));height:var(--nutui-button-xlarge-font-size, var(--nutui-font-size-5, 36rpx))}.nut-button-large{height:var(--nutui-button-large-height, 80rpx);padding:var(--nutui-button-large-padding, 0rpx 40rpx);font-size:var(--nutui-button-large-font-size, var(--nutui-font-size-3, 28rpx));font-weight:var(--nutui-button-large-font-weight, var(--nutui-font-weight-bold, 500))}.nut-button-large .nut-icon{font-size:var(--nutui-button-large-font-size, var(--nutui-font-size-3, 28rpx));width:var(--nutui-button-large-font-size, var(--nutui-font-size-3, 28rpx));height:var(--nutui-button-large-font-size, var(--nutui-font-size-3, 28rpx))}.nut-button-small{height:var(--nutui-button-small-height, 56rpx);padding:var(--nutui-button-small-padding, 0rpx 24rpx);font-size:var(--nutui-button-small-font-size, var(--nutui-font-size-2, 24rpx))}.nut-button-small .nut-icon{font-size:var(--nutui-button-small-font-size, var(--nutui-font-size-2, 24rpx));width:var(--nutui-button-small-font-size, var(--nutui-font-size-2, 24rpx));height:var(--nutui-button-small-font-size, var(--nutui-font-size-2, 24rpx))}.nut-button-mini{height:var(--nutui-button-mini-height, 48rpx);padding:var(--nutui-button-mini-padding, 0rpx 16rpx);font-size:var(--nutui-button-mini-font-size, var(--nutui-font-size-2, 24rpx))}.nut-button-mini .nut-icon{font-size:var(--nutui-button-mini-font-size, var(--nutui-font-size-2, 24rpx));width:var(--nutui-button-mini-font-size, var(--nutui-font-size-2, 24rpx));height:var(--nutui-button-mini-font-size, var(--nutui-font-size-2, 24rpx))}.nut-button-primary{color:var(--nutui-button-primary-color, var(--nutui-color-primary-text, #ffffff));background:linear-gradient(135deg,var(--nutui-color-primary-stop-1, #f53d4d) 0%,var(--nutui-color-primary-stop-2, #fa2c19) 100%);background-origin:border-box;border:var(--nutui-button-border-width, 2rpx) solid transparent}.nut-button-primary.nut-button-disabled{background:var(--nutui-button-primary-disabled, var(--nutui-color-primary-disabled, #fd9d94));border-color:var(--nutui-button-primary-disabled, var(--nutui-color-primary-disabled, #fd9d94))}.nut-button-primary.nut-button-none{background:transparent;color:var(--nutui-button-primary-border-color, var(--nutui-color-primary, #fa2c19))}.nut-button-primary.nut-button-none.nut-button-disabled{color:var(--nutui-button-primary-disabled, var(--nutui-color-primary-disabled, #fd9d94))}.nut-button-primary.nut-button-outline{background:transparent;color:var(--nutui-button-primary-border-color, var(--nutui-color-primary, #fa2c19));border:var(--nutui-button-border-width, 2rpx) solid var(--nutui-button-primary-border-color, var(--nutui-color-primary, #fa2c19))}.nut-button-primary.nut-button-outline.nut-button-disabled{color:var(--nutui-button-primary-disabled, var(--nutui-color-primary-disabled, #fd9d94));border-color:var(--nutui-button-primary-disabled, var(--nutui-color-primary-disabled, #fd9d94))}.nut-button-primary.nut-button-dashed{background:transparent;color:var(--nutui-button-primary-border-color, var(--nutui-color-primary, #fa2c19));border:var(--nutui-button-border-width, 2rpx) dashed var(--nutui-button-primary-border-color, var(--nutui-color-primary, #fa2c19))}.nut-button-primary.nut-button-dashed.nut-button-disabled{color:var(--nutui-button-primary-disabled, var(--nutui-color-primary-disabled, #fd9d94));border-color:var(--nutui-button-primary-disabled, var(--nutui-color-primary-disabled, #fd9d94))}.nut-button-success{color:var(--nutui-button-success-color, var(--nutui-color-primary-text, #ffffff));background:var(--nutui-button-success-background-color, var(--nutui-color-success, #00bc14));background-origin:border-box;border:var(--nutui-button-border-width, 2rpx) solid transparent}.nut-button-success.nut-button-disabled{background:var(--nutui-button-success-disabled, var(--nutui-color-success-disabled, #b2f0ae));border-color:var(--nutui-button-success-disabled, var(--nutui-color-success-disabled, #b2f0ae))}.nut-button-success.nut-button-outline,.nut-button-success.nut-button-dashed{color:var(--nutui-button-success-border-color, var(--nutui-color-success, #00bc14));border-color:var(--nutui-button-success-border-color, var(--nutui-color-success, #00bc14));background:transparent}.nut-button-success.nut-button-outline.nut-button-disabled,.nut-button-success.nut-button-dashed.nut-button-disabled{color:var(--nutui-button-primary-disabled, var(--nutui-color-primary-disabled, #fd9d94));border-color:var(--nutui-button-primary-disabled, var(--nutui-color-primary-disabled, #fd9d94))}.nut-button-success.nut-button-none{color:var(--nutui-button-success-border-color, var(--nutui-color-success, #00bc14))}.nut-button-info{color:var(--nutui-button-info-color, var(--nutui-color-primary-text, #ffffff));background:var(--nutui-button-info-background-color, var(--nutui-color-info-background, linear-gradient(315deg, rgb(73, 143, 242) 0%, rgb(73, 101, 242) 100%)));background-origin:border-box;border:var(--nutui-button-border-width, 2rpx) solid transparent}.nut-button-info.nut-button-disabled{background:var(--nutui-button-info-disabled, var(--nutui-color-info-disabled, #89a6f8));border-color:var(--nutui-button-info-disabled, var(--nutui-color-info-disabled, #89a6f8))}.nut-button-info.nut-button-outline,.nut-button-info.nut-button-dashed{color:var(--nutui-button-info-border-color, var(--nutui-color-info, #1988fa));border-color:var(--nutui-button-info-border-color, var(--nutui-color-info, #1988fa));background:transparent}.nut-button-info.nut-button-outline.nut-button-disabled,.nut-button-info.nut-button-dashed.nut-button-disabled{color:var(--nutui-button-primary-disabled, var(--nutui-color-primary-disabled, #fd9d94));border-color:var(--nutui-button-primary-disabled, var(--nutui-color-primary-disabled, #fd9d94))}.nut-button-info.nut-button-none{color:var(--nutui-button-info-border-color, var(--nutui-color-info, #1988fa))}.nut-button-danger{color:var(--nutui-button-danger-color, var(--nutui-color-primary-text, #ffffff));background:var(--nutui-button-danger-background-color, var(--nutui-color-danger, #fa2c19));background-origin:border-box;border:var(--nutui-button-border-width, 2rpx) solid transparent}.nut-button-danger.nut-button-disabled{background:var(--nutui-button-danger-disabled, var(--nutui-color-danger-disabled, var(--nutui-color-primary-disabled, #fd9d94)));border-color:var(--nutui-button-danger-disabled, var(--nutui-color-danger-disabled, var(--nutui-color-primary-disabled, #fd9d94)))}.nut-button-danger.nut-button-outline,.nut-button-danger.nut-button-dashed{color:var(--nutui-button-danger-border-color, var(--nutui-color-danger, #fa2c19));border-color:var(--nutui-button-danger-border-color, var(--nutui-color-danger, #fa2c19));background:transparent}.nut-button-danger.nut-button-outline.nut-button-disabled,.nut-button-danger.nut-button-dashed.nut-button-disabled{color:var(--nutui-button-danger-disabled, var(--nutui-color-danger-disabled, var(--nutui-color-primary-disabled, #fd9d94)));border-color:var(--nutui-button-danger-disabled, var(--nutui-color-danger-disabled, var(--nutui-color-primary-disabled, #fd9d94)))}.nut-button-danger.nut-button-none{color:var(--nutui-button-danger-border-color, var(--nutui-color-danger, #fa2c19))}.nut-button-warning{color:var(--nutui-button-warning-color, var(--nutui-color-primary-text, #ffffff));background:var(--nutui-button-warning-background-color, var(--nutui-color-warning, rgb(255, 158, 13)));background-origin:border-box;border:var(--nutui-button-border-width, 2rpx) solid transparent}.nut-button-warning.nut-button-disabled{background:var(--nutui-button-warning-disabled, var(--nutui-color-warning-disabled, #fdd3b9));border-color:var(--nutui-button-warning-disabled, var(--nutui-color-warning-disabled, #fdd3b9))}.nut-button-warning.nut-button-outline,.nut-button-warning.nut-button-dashed{color:var(--nutui-button-warning-border-color, var(--nutui-color-warning, rgb(255, 158, 13)));border-color:var(--nutui-button-warning-border-color, var(--nutui-color-warning, rgb(255, 158, 13)));background:transparent}.nut-button-warning.nut-button-outline.nut-button-disabled,.nut-button-warning.nut-button-dashed.nut-button-disabled{color:var(--nutui-button-warning-disabled, var(--nutui-color-warning-disabled, #fdd3b9));border-color:var(--nutui-button-warning-disabled, var(--nutui-color-warning-disabled, #fdd3b9))}.nut-button-warning.nut-button-none{color:var(--nutui-button-warning-border-color, var(--nutui-color-warning, rgb(255, 158, 13)))}.nut-button-block{display:block;width:100%}.nut-button-solid{color:var(--nutui-button-primary-color, var(--nutui-color-primary-text, #ffffff));background:linear-gradient(135deg,var(--nutui-color-primary-stop-1, #f53d4d) 0%,var(--nutui-color-primary-stop-2, #fa2c19) 100%);background-origin:border-box;border:var(--nutui-button-border-width, 2rpx) solid transparent}.nut-button-solid.nut-button-disabled{color:var(--nutui-button-default-disabled-color, var(--nutui-gray-5, #8c8c8c));background:var(--nutui-button-default-disabled, var(--nutui-color-text-disabled, #bfbfbf))}.nut-button.nut-button-outline,.nut-button.nut-button-dashed{background:transparent}.nut-button.nut-button-none{border-color:transparent;background:transparent}.nut-button-disabled{color:#fff;background:var(--nutui-button-default-disabled, var(--nutui-color-text-disabled, #bfbfbf));border-color:var(--nutui-button-default-disabled, var(--nutui-color-text-disabled, #bfbfbf))}.nut-button-loading{opacity:.9}.nut-button-round{border-radius:var(--nutui-button-border-radius, 48rpx)}.nut-button-round.nut-button-xlarge,.nut-button-round.nut-button-large{border-radius:var(--nutui-button-large-border-radius, 48rpx)}.nut-button-round.nut-button-small{border-radius:var(--nutui-button-small-border-radius, 48rpx)}.nut-button-round.nut-button-mini{border-radius:var(--nutui-button-mini-border-radius, 48rpx)}.nut-button-square{border-radius:var(--nutui-button-square-border-radius, 0)}[dir=rtl] .nut-button-text,.nut-rtl .nut-button-text{margin-left:0;margin-right:var(--nutui-button-text-icon-margin, 8rpx)}[dir=rtl] .nut-button-text.right,.nut-rtl .nut-button-text.right{margin-left:var(--nutui-button-text-icon-margin, 8rpx)}[dir=rtl] .nut-button:before,.nut-rtl .nut-button:before{left:auto;right:50%;transform:translate(50%,-50%)}
-
-/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
- !*** css ./node_modules/.pnpm/css-loader@7.1.2_webpack@5.94.0_@swc+core@1.3.96_/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[0].use[1]!./node_modules/.pnpm/postcss-loader@8.1.1_postcss@8.4.49_typescript@5.7.2_webpack@5.94.0_@swc+core@1.3.96_/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[0].use[2]!./node_modules/.pnpm/resolve-url-loader@5.0.0/node_modules/resolve-url-loader/index.js!./node_modules/.pnpm/sass-loader@14.2.1_sass@1.83.0_webpack@5.94.0_@swc+core@1.3.96_/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[0].use[4]!./src/pages/home/index.scss ***!
- \*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
-.index {
- flex-direction: column;
- width: 100%;
-}
-/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
- !*** css ./node_modules/.pnpm/css-loader@7.1.2_webpack@5.94.0_@swc+core@1.3.96_/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].oneOf[0].use[1]!./node_modules/.pnpm/postcss-loader@8.1.1_postcss@8.4.49_typescript@5.7.2_webpack@5.94.0_@swc+core@1.3.96_/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].oneOf[0].use[2]!./node_modules/.pnpm/@nutui+icons-react-taro@1.0.5/node_modules/@nutui/icons-react-taro/dist/style_icon.css ***!
- \***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
-page{--nut-icon-height: 32rpx;--nut-icon-width: 32rpx;--nut-icon-line-height: 32rpx;--animate-duration: 1s;--animate-delay: 0s}page{--nut-icon-height: 40rpx;--nut-icon-width: 40rpx;--nut-icon-line-height: 40rpx;--animate-duration: 1s;--animate-delay: 0s}.nut-icon{display:inline-block;position:relative;width:var(--nut-icon-width);height:var(--nut-icon-height);font-size:var(--nut-icon-width);line-height:var(--nut-icon-line-height);text-align:right}.nut-icon:before{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.nut-icon-img{width:var(--nut-icon-width);height:var(--nut-icon-height);object-fit:contain}.nut-icon-loading,.nut-icon-loading1,.nut-icon-Loading,.nut-icon-Loading1{display:inline-block;animation:rotation 1s infinite linear}.nut-icon-am-infinite{-webkit-animation-iteration-count:infinite;-webkit-animation-direction:alternate;animation-iteration-count:infinite;animation-direction:alternate}.nut-icon-am-jump{-webkit-animation-name:nutJumpOne;-webkit-animation-duration:var(--animate-duration);-webkit-animation-timing-function:ease;-webkit-animation-delay:var(--animate-delay);animation-name:nutJumpOne;animation-duration:var(--animate-duration);animation-timing-function:ease;animation-delay:var(--animate-delay)}.nut-icon-am-jump.nut-icon-am-infinite{animation-name:nutJump}.nut-icon-am-rotate{-webkit-animation-name:rotation;-webkit-animation-duration:var(--animate-duration);-webkit-animation-timing-function:linear;-webkit-animation-delay:var(--animate-delay);animation-name:rotation;animation-duration:var(--animate-duration);animation-timing-function:linear;animation-delay:var(--animate-delay)}.nut-icon-am-rotate.nut-icon-am-infinite{animation-direction:normal}.nut-icon-am-blink{-webkit-animation-name:nutBlink;-webkit-animation-duration:var(--animate-duration);-webkit-animation-timing-function:ease-in-out;-webkit-animation-delay:var(--animate-delay);animation-name:nutBlink;animation-duration:var(--animate-duration);animation-timing-function:linear;animation-delay:var(--animate-delay)}.nut-icon-am-breathe{-webkit-animation-name:nutBreathe;-webkit-animation-duration:var(--animate-duration);-webkit-animation-timing-function:ease-in-out;-webkit-animation-delay:var(--animate-delay);animation-name:nutBreathe;animation-duration:var(--animate-duration);animation-timing-function:ease-in-out;animation-delay:var(--animate-delay)}.nut-icon-am-flash{-webkit-animation-name:nutFlash;-webkit-animation-duration:var(--animate-duration);-webkit-animation-timing-function:ease-in-out;-webkit-animation-delay:var(--animate-delay);animation-name:nutFlash;animation-duration:var(--animate-duration);animation-timing-function:ease-in-out;animation-delay:var(--animate-delay)}.nut-icon-am-bounce{-webkit-animation-name:nutBounce;-webkit-animation-duration:var(--animate-duration);-webkit-animation-timing-function:ease-in-out;-webkit-animation-delay:var(--animate-delay);animation-name:nutBounce;animation-duration:var(--animate-duration);animation-timing-function:ease-in-out;animation-delay:var(--animate-delay)}.nut-icon-am-bounce.nut-icon-am-infinite{animation-direction:normal}.nut-icon-am-shake{-webkit-animation-name:nutShake;-webkit-animation-duration:var(--animate-duration);-webkit-animation-timing-function:ease-in-out;-webkit-animation-delay:var(--animate-delay);animation-name:nutShake;animation-duration:var(--animate-duration);animation-timing-function:ease-in-out;animation-delay:var(--animate-delay)}@keyframes rotation{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(360deg)}}@keyframes nutJump{to{transform:scale3d(.8,1,.9) translateY(-20rpx)}}@keyframes nutJumpOne{50%{transform:scale3d(.8,1,.9) translateY(-20rpx)}to{transform:scaleZ(1) translateY(0)}}@keyframes nutBlink{0%{opacity:0}to{opacity:1}}@keyframes nutBreathe{0%,to{transform:scale(1)}50%{transform:scale(1.2)}}@keyframes nutFlash{0%,50%,to{opacity:1}25%,75%{opacity:0}}@keyframes nutBounce{0%,20%,53%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1);transform:translateZ(0)}40%,43%{animation-timing-function:cubic-bezier(.755,.05,.855,.06);transform:translate3d(0,-60rpx,0) scaleY(1.1)}70%{animation-timing-function:cubic-bezier(.755,.05,.855,.06);transform:translate3d(0,-30rpx,0) scaleY(1.05)}80%{transition-timing-function:cubic-bezier(.215,.61,.355,1);transform:translateZ(0) scaleY(.95)}90%{transform:translate3d(0,-8rpx,0) scaleY(1.02)}}@keyframes nutShake{0%{transform:translate(0)}6.5%{transform:translate(-12rpx) rotateY(-9deg)}18.5%{transform:translate(10rpx) rotateY(7deg)}31.5%{transform:translate(-6rpx) rotateY(-5deg)}43.5%{transform:translate(4rpx) rotateY(3deg)}50%{transform:translate(0)}}
-
diff --git a/dist/pages/index/index.js b/dist/pages/index/index.js
deleted file mode 100644
index bb87f1f..0000000
--- a/dist/pages/index/index.js
+++ /dev/null
@@ -1,150 +0,0 @@
-"use strict";
-(wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([["pages/index/index"],{
-
-/***/ "./node_modules/.pnpm/@tarojs+taro-loader@4.0.8_webpack@5.94.0_@swc+core@1.3.96_/node_modules/@tarojs/taro-loader/lib/entry-cache.js?name=pages/index/index!./src/pages/index/index.jsx":
-/*!**********************************************************************************************************************************************************************************************!*\
- !*** ./node_modules/.pnpm/@tarojs+taro-loader@4.0.8_webpack@5.94.0_@swc+core@1.3.96_/node_modules/@tarojs/taro-loader/lib/entry-cache.js?name=pages/index/index!./src/pages/index/index.jsx ***!
- \**********************************************************************************************************************************************************************************************/
-/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
-
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "webpack/container/remote/react");
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var react_redux__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-redux */ "webpack/container/remote/react-redux");
-/* harmony import */ var react_redux__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_redux__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _tarojs_components__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @tarojs/components */ "./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/components-react.js");
-/* harmony import */ var _actions_counter__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../actions/counter */ "./src/actions/counter.js");
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react/jsx-runtime */ "webpack/container/remote/react/jsx-runtime");
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__);
-var _dec, _class;
-
-
-
-
-
-
-let Index = (_dec = (0,react_redux__WEBPACK_IMPORTED_MODULE_1__.connect)(_ref => {
- let {
- counter
- } = _ref;
- return {
- counter
- };
-}, dispatch => ({
- add() {
- dispatch((0,_actions_counter__WEBPACK_IMPORTED_MODULE_3__.add)());
- },
- dec() {
- dispatch((0,_actions_counter__WEBPACK_IMPORTED_MODULE_3__.minus)());
- },
- asyncAdd() {
- dispatch((0,_actions_counter__WEBPACK_IMPORTED_MODULE_3__.asyncAdd)());
- }
-})), _dec(_class = class Index extends react__WEBPACK_IMPORTED_MODULE_0__.Component {
- componentWillReceiveProps(nextProps) {
- console.log(this.props, nextProps);
- }
- componentWillUnmount() {}
- componentDidShow() {}
- componentDidHide() {}
- render() {
- return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)(_tarojs_components__WEBPACK_IMPORTED_MODULE_4__.View, {
- className: "index",
- children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_tarojs_components__WEBPACK_IMPORTED_MODULE_4__.Button, {
- className: "add_btn",
- onClick: this.props.add,
- children: "+"
- }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_tarojs_components__WEBPACK_IMPORTED_MODULE_4__.Button, {
- className: "dec_btn",
- onClick: this.props.dec,
- children: "-"
- }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_tarojs_components__WEBPACK_IMPORTED_MODULE_4__.Button, {
- className: "dec_btn",
- onClick: this.props.asyncAdd,
- children: "async"
- }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_tarojs_components__WEBPACK_IMPORTED_MODULE_4__.View, {
- children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_tarojs_components__WEBPACK_IMPORTED_MODULE_4__.Text, {
- children: this.props.counter.num
- })
- }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_tarojs_components__WEBPACK_IMPORTED_MODULE_4__.View, {
- children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_tarojs_components__WEBPACK_IMPORTED_MODULE_4__.Text, {
- children: "Hello, World"
- })
- })]
- });
- }
-}) || _class);
-/* harmony default export */ __webpack_exports__["default"] = (Index);
-
-/***/ }),
-
-/***/ "./src/actions/counter.js":
-/*!********************************!*\
- !*** ./src/actions/counter.js ***!
- \********************************/
-/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
-
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ add: function() { return /* binding */ add; },
-/* harmony export */ asyncAdd: function() { return /* binding */ asyncAdd; },
-/* harmony export */ minus: function() { return /* binding */ minus; }
-/* harmony export */ });
-/* harmony import */ var _constants_counter__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../constants/counter */ "./src/constants/counter.js");
-
-const add = () => {
- return {
- type: _constants_counter__WEBPACK_IMPORTED_MODULE_0__.ADD
- };
-};
-const minus = () => {
- return {
- type: _constants_counter__WEBPACK_IMPORTED_MODULE_0__.MINUS
- };
-};
-
-// 异步的action
-function asyncAdd() {
- return dispatch => {
- setTimeout(() => {
- dispatch(add());
- }, 2000);
- };
-}
-
-/***/ }),
-
-/***/ "./src/pages/index/index.jsx":
-/*!***********************************!*\
- !*** ./src/pages/index/index.jsx ***!
- \***********************************/
-/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
-
-/* harmony import */ var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tarojs/runtime */ "webpack/container/remote/@tarojs/runtime");
-/* harmony import */ var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _node_modules_pnpm_tarojs_taro_loader_4_0_8_webpack_5_94_0_swc_core_1_3_96_node_modules_tarojs_taro_loader_lib_entry_cache_js_name_pages_index_index_index_jsx__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !!../../../node_modules/.pnpm/@tarojs+taro-loader@4.0.8_webpack@5.94.0_@swc+core@1.3.96_/node_modules/@tarojs/taro-loader/lib/entry-cache.js?name=pages/index/index!./index.jsx */ "./node_modules/.pnpm/@tarojs+taro-loader@4.0.8_webpack@5.94.0_@swc+core@1.3.96_/node_modules/@tarojs/taro-loader/lib/entry-cache.js?name=pages/index/index!./src/pages/index/index.jsx");
-
-
-var config = {"navigationBarTitleText":"首页"};
-
-
-
-var taroOption = (0,_tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__.createPageConfig)(_node_modules_pnpm_tarojs_taro_loader_4_0_8_webpack_5_94_0_swc_core_1_3_96_node_modules_tarojs_taro_loader_lib_entry_cache_js_name_pages_index_index_index_jsx__WEBPACK_IMPORTED_MODULE_1__["default"], 'pages/index/index', {root:{cn:[]}}, config || {})
-if (_node_modules_pnpm_tarojs_taro_loader_4_0_8_webpack_5_94_0_swc_core_1_3_96_node_modules_tarojs_taro_loader_lib_entry_cache_js_name_pages_index_index_index_jsx__WEBPACK_IMPORTED_MODULE_1__["default"] && _node_modules_pnpm_tarojs_taro_loader_4_0_8_webpack_5_94_0_swc_core_1_3_96_node_modules_tarojs_taro_loader_lib_entry_cache_js_name_pages_index_index_index_jsx__WEBPACK_IMPORTED_MODULE_1__["default"].behaviors) {
- taroOption.behaviors = (taroOption.behaviors || []).concat(_node_modules_pnpm_tarojs_taro_loader_4_0_8_webpack_5_94_0_swc_core_1_3_96_node_modules_tarojs_taro_loader_lib_entry_cache_js_name_pages_index_index_index_jsx__WEBPACK_IMPORTED_MODULE_1__["default"].behaviors)
-}
-var inst = Page(taroOption)
-
-
-
-/* unused harmony default export */ var __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_tarojs_taro_loader_4_0_8_webpack_5_94_0_swc_core_1_3_96_node_modules_tarojs_taro_loader_lib_entry_cache_js_name_pages_index_index_index_jsx__WEBPACK_IMPORTED_MODULE_1__["default"]);
-
-
-/***/ })
-
-},
-/******/ function(__webpack_require__) { // webpackRuntimeModules
-/******/ var __webpack_exec__ = function(moduleId) { return __webpack_require__(__webpack_require__.s = moduleId); }
-/******/ __webpack_require__.O(0, ["taro","common"], function() { return __webpack_exec__("./src/pages/index/index.jsx"); });
-/******/ var __webpack_exports__ = __webpack_require__.O();
-/******/ }
-]);
-//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/dist/pages/index/index.js.map b/dist/pages/index/index.js.map
deleted file mode 100644
index c156116..0000000
--- a/dist/pages/index/index.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"sources":[""],"names":[],"mappings":"AAAA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;AAOA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;;AAGA;;;;AAIA;AACA;AACA;AACA;AACA;;;;AAIA;;;AAGA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA"}
\ No newline at end of file
diff --git a/dist/pages/index/index.json b/dist/pages/index/index.json
deleted file mode 100644
index 2850048..0000000
--- a/dist/pages/index/index.json
+++ /dev/null
@@ -1 +0,0 @@
-{"navigationBarTitleText":"首页","usingComponents":{"comp":"../../comp"}}
\ No newline at end of file
diff --git a/dist/pages/index/index.wxml b/dist/pages/index/index.wxml
deleted file mode 100644
index 181a491..0000000
--- a/dist/pages/index/index.wxml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/dist/pages/index/index.wxss b/dist/pages/index/index.wxss
deleted file mode 100644
index bd86a99..0000000
--- a/dist/pages/index/index.wxss
+++ /dev/null
@@ -1,7 +0,0 @@
-/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
- !*** css ./node_modules/.pnpm/css-loader@7.1.2_webpack@5.94.0_@swc+core@1.3.96_/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[0].use[1]!./node_modules/.pnpm/postcss-loader@8.1.1_postcss@8.4.49_typescript@5.7.2_webpack@5.94.0_@swc+core@1.3.96_/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[0].use[2]!./node_modules/.pnpm/resolve-url-loader@5.0.0/node_modules/resolve-url-loader/index.js!./node_modules/.pnpm/sass-loader@14.2.1_sass@1.83.0_webpack@5.94.0_@swc+core@1.3.96_/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[0].use[4]!./src/pages/index/index.scss ***!
- \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
-.index {
- flex-direction: column;
- width: 100%;
-}
diff --git a/dist/prebundle/node_modules_taro_weapp_prebundle_react-dom_js.js b/dist/prebundle/node_modules_taro_weapp_prebundle_react-dom_js.js
deleted file mode 100644
index 33598ef..0000000
--- a/dist/prebundle/node_modules_taro_weapp_prebundle_react-dom_js.js
+++ /dev/null
@@ -1,39 +0,0 @@
-"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_FCEGKHHF_js__WEBPACK_IMPORTED_MODULE_0__.createPortal; },
-/* harmony export */ createRoot: function() { return /* reexport safe */ _chunk_FCEGKHHF_js__WEBPACK_IMPORTED_MODULE_0__.createRoot; },
-/* harmony export */ "default": function() { return /* binding */ react_dom_default; },
-/* harmony export */ findDOMNode: function() { return /* reexport safe */ _chunk_FCEGKHHF_js__WEBPACK_IMPORTED_MODULE_0__.findDOMNode; },
-/* harmony export */ flushSync: function() { return /* reexport safe */ _chunk_FCEGKHHF_js__WEBPACK_IMPORTED_MODULE_0__.flushSync; },
-/* harmony export */ internalInstanceKey: function() { return /* reexport safe */ _chunk_FCEGKHHF_js__WEBPACK_IMPORTED_MODULE_0__.internalInstanceKey; },
-/* harmony export */ render: function() { return /* reexport safe */ _chunk_FCEGKHHF_js__WEBPACK_IMPORTED_MODULE_0__.render; },
-/* harmony export */ unmountComponentAtNode: function() { return /* reexport safe */ _chunk_FCEGKHHF_js__WEBPACK_IMPORTED_MODULE_0__.unmountComponentAtNode; },
-/* harmony export */ unstable_batchedUpdates: function() { return /* reexport safe */ _chunk_FCEGKHHF_js__WEBPACK_IMPORTED_MODULE_0__.unstable_batchedUpdates; }
-/* harmony export */ });
-/* harmony import */ var _chunk_FCEGKHHF_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./chunk-FCEGKHHF.js */ "./node_modules/.taro/weapp/prebundle/chunk-FCEGKHHF.js");
-/* harmony import */ var _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./chunk-WRSQ3V3E.js */ "./node_modules/.taro/weapp/prebundle/chunk-WRSQ3V3E.js");
-/* harmony import */ var _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./chunk-GLEAZC6U.js */ "./node_modules/.taro/weapp/prebundle/chunk-GLEAZC6U.js");
-/* harmony import */ var _chunk_6TBQVUF2_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./chunk-6TBQVUF2.js */ "./node_modules/.taro/weapp/prebundle/chunk-6TBQVUF2.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_FCEGKHHF_js__WEBPACK_IMPORTED_MODULE_0__.index;
-
-
-
-/***/ })
-
-}]);
\ No newline at end of file
diff --git a/dist/prebundle/node_modules_taro_weapp_prebundle_react_js.js b/dist/prebundle/node_modules_taro_weapp_prebundle_react_js.js
deleted file mode 100644
index 21a8462..0000000
--- a/dist/prebundle/node_modules_taro_weapp_prebundle_react_js.js
+++ /dev/null
@@ -1,98 +0,0 @@
-(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;
-
-
-/***/ })
-
-}]);
\ No newline at end of file
diff --git a/dist/prebundle/node_modules_taro_weapp_prebundle_react_jsx-runtime_js.js b/dist/prebundle/node_modules_taro_weapp_prebundle_react_jsx-runtime_js.js
deleted file mode 100644
index c4e0022..0000000
--- a/dist/prebundle/node_modules_taro_weapp_prebundle_react_jsx-runtime_js.js
+++ /dev/null
@@ -1,146 +0,0 @@
-(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;
-
-
-/***/ })
-
-}]);
\ No newline at end of file
diff --git a/dist/prebundle/node_modules_taro_weapp_prebundle_redux-thunk_js.js b/dist/prebundle/node_modules_taro_weapp_prebundle_redux-thunk_js.js
deleted file mode 100644
index ca356ef..0000000
--- a/dist/prebundle/node_modules_taro_weapp_prebundle_redux-thunk_js.js
+++ /dev/null
@@ -1,99 +0,0 @@
-"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;
-
-
-
-/***/ })
-
-}]);
\ No newline at end of file
diff --git a/dist/prebundle/node_modules_taro_weapp_prebundle_tarojs_runtime_js.js b/dist/prebundle/node_modules_taro_weapp_prebundle_tarojs_runtime_js.js
deleted file mode 100644
index 7cb980a..0000000
--- a/dist/prebundle/node_modules_taro_weapp_prebundle_tarojs_runtime_js.js
+++ /dev/null
@@ -1,147 +0,0 @@
-"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)();
-
-
-
-/***/ })
-
-}]);
\ No newline at end of file
diff --git a/dist/prebundle/remoteEntry.js b/dist/prebundle/remoteEntry.js
deleted file mode 100644
index 1c37a68..0000000
--- a/dist/prebundle/remoteEntry.js
+++ /dev/null
@@ -1,133 +0,0 @@
-"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-FCEGKHHF_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")); }; });
- },
- "./@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")); }; });
- },
- "./uqrcodejs": 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_uqrcodejs_js")]).then(function() { return function() { return (__webpack_require__(/*! ./node_modules/.taro/weapp/prebundle/uqrcodejs.js */ "./node_modules/.taro/weapp/prebundle/uqrcodejs.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-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/plugin-html/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-html_dist_runtime_js")]).then(function() { return function() { return (__webpack_require__(/*! ./node_modules/.taro/weapp/prebundle/@tarojs_plugin-html_dist_runtime.js */ "./node_modules/.taro/weapp/prebundle/@tarojs_plugin-html_dist_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")); }; });
- },
- "./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-FCEGKHHF_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")); };
- },
- "./@tarojs/taro": function() {
- return function() { return (__webpack_require__(/*! ./node_modules/.taro/weapp/prebundle/@tarojs_taro.js */ "./node_modules/.taro/weapp/prebundle/@tarojs_taro.js")); };
- },
- "./uqrcodejs": function() {
- return function() { return (__webpack_require__(/*! ./node_modules/.taro/weapp/prebundle/uqrcodejs.js */ "./node_modules/.taro/weapp/prebundle/uqrcodejs.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-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/plugin-html/dist/runtime": function() {
- return function() { return (__webpack_require__(/*! ./node_modules/.taro/weapp/prebundle/@tarojs_plugin-html_dist_runtime.js */ "./node_modules/.taro/weapp/prebundle/@tarojs_plugin-html_dist_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")); };
- },
- "./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__;
-/******/ }
-]);
\ No newline at end of file
diff --git a/dist/prebundle/vendors-node_modules_taro_weapp_prebundle_chunk-6TBQVUF2_js.js b/dist/prebundle/vendors-node_modules_taro_weapp_prebundle_chunk-6TBQVUF2_js.js
deleted file mode 100644
index 3b8ba7f..0000000
--- a/dist/prebundle/vendors-node_modules_taro_weapp_prebundle_chunk-6TBQVUF2_js.js
+++ /dev/null
@@ -1,1909 +0,0 @@
-"use strict";
-(wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([["vendors-node_modules_taro_weapp_prebundle_chunk-6TBQVUF2_js"],{
-
-/***/ "./node_modules/.taro/weapp/prebundle/chunk-6TBQVUF2.js":
-/*!**************************************************************!*\
- !*** ./node_modules/.taro/weapp/prebundle/chunk-6TBQVUF2.js ***!
- \**************************************************************/
-/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
-
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ require_react: function() { return /* binding */ require_react; }
-/* 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/react@18.3.1/node_modules/react/cjs/react.development.js
-var require_react_development = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_0__.__commonJS)({
- "node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react.development.js" (exports, module) {
- "use strict";
- if (true) {
- (function() {
- "use strict";
- if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== "undefined" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart === "function") {
- __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
- }
- var ReactVersion = "18.3.1";
- var REACT_ELEMENT_TYPE = Symbol.for("react.element");
- var REACT_PORTAL_TYPE = Symbol.for("react.portal");
- var REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
- var REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode");
- var REACT_PROFILER_TYPE = Symbol.for("react.profiler");
- var REACT_PROVIDER_TYPE = Symbol.for("react.provider");
- var REACT_CONTEXT_TYPE = Symbol.for("react.context");
- var REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref");
- var REACT_SUSPENSE_TYPE = Symbol.for("react.suspense");
- var REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list");
- var REACT_MEMO_TYPE = Symbol.for("react.memo");
- var REACT_LAZY_TYPE = Symbol.for("react.lazy");
- var REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen");
- var MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
- var FAUX_ITERATOR_SYMBOL = "@@iterator";
- function getIteratorFn(maybeIterable) {
- if (maybeIterable === null || typeof maybeIterable !== "object") {
- return null;
- }
- var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];
- if (typeof maybeIterator === "function") {
- return maybeIterator;
- }
- return null;
- }
- var ReactCurrentDispatcher = {
- /**
- * @internal
- * @type {ReactComponent}
- */ current: null
- };
- var ReactCurrentBatchConfig = {
- transition: null
- };
- var ReactCurrentActQueue = {
- current: null,
- // Used to reproduce behavior of `batchedUpdates` in legacy mode.
- isBatchingLegacy: false,
- didScheduleLegacyUpdate: false
- };
- var ReactCurrentOwner = {
- /**
- * @internal
- * @type {ReactComponent}
- */ current: null
- };
- var ReactDebugCurrentFrame = {};
- var currentExtraStackFrame = null;
- function setExtraStackFrame(stack) {
- {
- currentExtraStackFrame = stack;
- }
- }
- {
- ReactDebugCurrentFrame.setExtraStackFrame = function(stack) {
- {
- currentExtraStackFrame = stack;
- }
- };
- ReactDebugCurrentFrame.getCurrentStack = null;
- ReactDebugCurrentFrame.getStackAddendum = function() {
- var stack = "";
- if (currentExtraStackFrame) {
- stack += currentExtraStackFrame;
- }
- var impl = ReactDebugCurrentFrame.getCurrentStack;
- if (impl) {
- stack += impl() || "";
- }
- return stack;
- };
- }
- var enableScopeAPI = false;
- var enableCacheElement = false;
- var enableTransitionTracing = false;
- var enableLegacyHidden = false;
- var enableDebugTracing = false;
- var ReactSharedInternals = {
- ReactCurrentDispatcher,
- ReactCurrentBatchConfig,
- ReactCurrentOwner
- };
- {
- ReactSharedInternals.ReactDebugCurrentFrame = ReactDebugCurrentFrame;
- ReactSharedInternals.ReactCurrentActQueue = ReactCurrentActQueue;
- }
- function warn(format) {
- {
- {
- for(var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++){
- args[_key - 1] = arguments[_key];
- }
- printWarning("warn", format, args);
- }
- }
- }
- function error(format) {
- {
- {
- for(var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++){
- args[_key2 - 1] = arguments[_key2];
- }
- printWarning("error", format, args);
- }
- }
- }
- function printWarning(level, format, args) {
- {
- var ReactDebugCurrentFrame2 = ReactSharedInternals.ReactDebugCurrentFrame;
- var stack = ReactDebugCurrentFrame2.getStackAddendum();
- if (stack !== "") {
- format += "%s";
- args = args.concat([
- stack
- ]);
- }
- var argsWithFormat = args.map(function(item) {
- return String(item);
- });
- argsWithFormat.unshift("Warning: " + format);
- Function.prototype.apply.call(console[level], console, argsWithFormat);
- }
- }
- var didWarnStateUpdateForUnmountedComponent = {};
- function warnNoop(publicInstance, callerName) {
- {
- var _constructor = publicInstance.constructor;
- var componentName = _constructor && (_constructor.displayName || _constructor.name) || "ReactClass";
- var warningKey = componentName + "." + callerName;
- if (didWarnStateUpdateForUnmountedComponent[warningKey]) {
- return;
- }
- error("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.", callerName, componentName);
- didWarnStateUpdateForUnmountedComponent[warningKey] = true;
- }
- }
- var ReactNoopUpdateQueue = {
- /**
- * Checks whether or not this composite component is mounted.
- * @param {ReactClass} publicInstance The instance we want to test.
- * @return {boolean} True if mounted, false otherwise.
- * @protected
- * @final
- */ isMounted: function(publicInstance) {
- return false;
- },
- /**
- * Forces an update. This should only be invoked when it is known with
- * certainty that we are **not** in a DOM transaction.
- *
- * You may want to call this when you know that some deeper aspect of the
- * component's state has changed but `setState` was not called.
- *
- * This will not invoke `shouldComponentUpdate`, but it will invoke
- * `componentWillUpdate` and `componentDidUpdate`.
- *
- * @param {ReactClass} publicInstance The instance that should rerender.
- * @param {?function} callback Called after component is updated.
- * @param {?string} callerName name of the calling function in the public API.
- * @internal
- */ enqueueForceUpdate: function(publicInstance, callback, callerName) {
- warnNoop(publicInstance, "forceUpdate");
- },
- /**
- * Replaces all of the state. Always use this or `setState` to mutate state.
- * You should treat `this.state` as immutable.
- *
- * There is no guarantee that `this.state` will be immediately updated, so
- * accessing `this.state` after calling this method may return the old value.
- *
- * @param {ReactClass} publicInstance The instance that should rerender.
- * @param {object} completeState Next state.
- * @param {?function} callback Called after component is updated.
- * @param {?string} callerName name of the calling function in the public API.
- * @internal
- */ enqueueReplaceState: function(publicInstance, completeState, callback, callerName) {
- warnNoop(publicInstance, "replaceState");
- },
- /**
- * Sets a subset of the state. This only exists because _pendingState is
- * internal. This provides a merging strategy that is not available to deep
- * properties which is confusing. TODO: Expose pendingState or don't use it
- * during the merge.
- *
- * @param {ReactClass} publicInstance The instance that should rerender.
- * @param {object} partialState Next partial state to be merged with state.
- * @param {?function} callback Called after component is updated.
- * @param {?string} Name of the calling function in the public API.
- * @internal
- */ enqueueSetState: function(publicInstance, partialState, callback, callerName) {
- warnNoop(publicInstance, "setState");
- }
- };
- var assign = Object.assign;
- var emptyObject = {};
- {
- Object.freeze(emptyObject);
- }
- function Component(props, context, updater) {
- this.props = props;
- this.context = context;
- this.refs = emptyObject;
- this.updater = updater || ReactNoopUpdateQueue;
- }
- Component.prototype.isReactComponent = {};
- Component.prototype.setState = function(partialState, callback) {
- if (typeof partialState !== "object" && typeof partialState !== "function" && partialState != null) {
- throw new Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");
- }
- this.updater.enqueueSetState(this, partialState, callback, "setState");
- };
- Component.prototype.forceUpdate = function(callback) {
- this.updater.enqueueForceUpdate(this, callback, "forceUpdate");
- };
- {
- var deprecatedAPIs = {
- isMounted: [
- "isMounted",
- "Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."
- ],
- replaceState: [
- "replaceState",
- "Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."
- ]
- };
- var defineDeprecationWarning = function(methodName, info) {
- Object.defineProperty(Component.prototype, methodName, {
- get: function() {
- warn("%s(...) is deprecated in plain JavaScript React classes. %s", info[0], info[1]);
- return void 0;
- }
- });
- };
- for(var fnName in deprecatedAPIs){
- if (deprecatedAPIs.hasOwnProperty(fnName)) {
- defineDeprecationWarning(fnName, deprecatedAPIs[fnName]);
- }
- }
- }
- function ComponentDummy() {}
- ComponentDummy.prototype = Component.prototype;
- function PureComponent(props, context, updater) {
- this.props = props;
- this.context = context;
- this.refs = emptyObject;
- this.updater = updater || ReactNoopUpdateQueue;
- }
- var pureComponentPrototype = PureComponent.prototype = new ComponentDummy();
- pureComponentPrototype.constructor = PureComponent;
- assign(pureComponentPrototype, Component.prototype);
- pureComponentPrototype.isPureReactComponent = true;
- function createRef() {
- var refObject = {
- current: null
- };
- {
- Object.seal(refObject);
- }
- return refObject;
- }
- var isArrayImpl = Array.isArray;
- function isArray(a) {
- return isArrayImpl(a);
- }
- function typeName(value) {
- {
- var hasToStringTag = typeof Symbol === "function" && Symbol.toStringTag;
- var type = hasToStringTag && value[Symbol.toStringTag] || value.constructor.name || "Object";
- return type;
- }
- }
- function willCoercionThrow(value) {
- {
- try {
- testStringCoercion(value);
- return false;
- } catch (e) {
- return true;
- }
- }
- }
- function testStringCoercion(value) {
- return "" + value;
- }
- function checkKeyStringCoercion(value) {
- {
- if (willCoercionThrow(value)) {
- error("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", typeName(value));
- return testStringCoercion(value);
- }
- }
- }
- function getWrappedName(outerType, innerType, wrapperName) {
- var displayName = outerType.displayName;
- if (displayName) {
- return displayName;
- }
- var functionName = innerType.displayName || innerType.name || "";
- return functionName !== "" ? wrapperName + "(" + functionName + ")" : wrapperName;
- }
- function getContextName(type) {
- return type.displayName || "Context";
- }
- function getComponentNameFromType(type) {
- if (type == null) {
- return null;
- }
- {
- if (typeof type.tag === "number") {
- error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.");
- }
- }
- if (typeof type === "function") {
- return type.displayName || type.name || null;
- }
- if (typeof type === "string") {
- return type;
- }
- switch(type){
- case REACT_FRAGMENT_TYPE:
- return "Fragment";
- case REACT_PORTAL_TYPE:
- return "Portal";
- case REACT_PROFILER_TYPE:
- return "Profiler";
- case REACT_STRICT_MODE_TYPE:
- return "StrictMode";
- case REACT_SUSPENSE_TYPE:
- return "Suspense";
- case REACT_SUSPENSE_LIST_TYPE:
- return "SuspenseList";
- }
- if (typeof type === "object") {
- switch(type.$$typeof){
- case REACT_CONTEXT_TYPE:
- var context = type;
- return getContextName(context) + ".Consumer";
- case REACT_PROVIDER_TYPE:
- var provider = type;
- return getContextName(provider._context) + ".Provider";
- case REACT_FORWARD_REF_TYPE:
- return getWrappedName(type, type.render, "ForwardRef");
- case REACT_MEMO_TYPE:
- var outerName = type.displayName || null;
- if (outerName !== null) {
- return outerName;
- }
- return getComponentNameFromType(type.type) || "Memo";
- case REACT_LAZY_TYPE:
- {
- var lazyComponent = type;
- var payload = lazyComponent._payload;
- var init = lazyComponent._init;
- try {
- return getComponentNameFromType(init(payload));
- } catch (x) {
- return null;
- }
- }
- }
- }
- return null;
- }
- var hasOwnProperty = Object.prototype.hasOwnProperty;
- var RESERVED_PROPS = {
- key: true,
- ref: true,
- __self: true,
- __source: true
- };
- var specialPropKeyWarningShown, specialPropRefWarningShown, didWarnAboutStringRefs;
- {
- didWarnAboutStringRefs = {};
- }
- function hasValidRef(config) {
- {
- if (hasOwnProperty.call(config, "ref")) {
- var getter = Object.getOwnPropertyDescriptor(config, "ref").get;
- if (getter && getter.isReactWarning) {
- return false;
- }
- }
- }
- return config.ref !== void 0;
- }
- function hasValidKey(config) {
- {
- if (hasOwnProperty.call(config, "key")) {
- var getter = Object.getOwnPropertyDescriptor(config, "key").get;
- if (getter && getter.isReactWarning) {
- return false;
- }
- }
- }
- return config.key !== void 0;
- }
- function defineKeyPropWarningGetter(props, displayName) {
- var warnAboutAccessingKey = function() {
- {
- if (!specialPropKeyWarningShown) {
- specialPropKeyWarningShown = true;
- error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", displayName);
- }
- }
- };
- warnAboutAccessingKey.isReactWarning = true;
- Object.defineProperty(props, "key", {
- get: warnAboutAccessingKey,
- configurable: true
- });
- }
- function defineRefPropWarningGetter(props, displayName) {
- var warnAboutAccessingRef = function() {
- {
- if (!specialPropRefWarningShown) {
- specialPropRefWarningShown = true;
- error("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", displayName);
- }
- }
- };
- warnAboutAccessingRef.isReactWarning = true;
- Object.defineProperty(props, "ref", {
- get: warnAboutAccessingRef,
- configurable: true
- });
- }
- function warnIfStringRefCannotBeAutoConverted(config) {
- {
- if (typeof config.ref === "string" && ReactCurrentOwner.current && config.__self && ReactCurrentOwner.current.stateNode !== config.__self) {
- var componentName = getComponentNameFromType(ReactCurrentOwner.current.type);
- if (!didWarnAboutStringRefs[componentName]) {
- error('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', componentName, config.ref);
- didWarnAboutStringRefs[componentName] = true;
- }
- }
- }
- }
- var ReactElement = function(type, key, ref, self, source, owner, props) {
- var element = {
- // This tag allows us to uniquely identify this as a React Element
- $$typeof: REACT_ELEMENT_TYPE,
- // Built-in properties that belong on the element
- type,
- key,
- ref,
- props,
- // Record the component responsible for creating this element.
- _owner: owner
- };
- {
- element._store = {};
- Object.defineProperty(element._store, "validated", {
- configurable: false,
- enumerable: false,
- writable: true,
- value: false
- });
- Object.defineProperty(element, "_self", {
- configurable: false,
- enumerable: false,
- writable: false,
- value: self
- });
- Object.defineProperty(element, "_source", {
- configurable: false,
- enumerable: false,
- writable: false,
- value: source
- });
- if (Object.freeze) {
- Object.freeze(element.props);
- Object.freeze(element);
- }
- }
- return element;
- };
- function createElement(type, config, children) {
- var propName;
- var props = {};
- var key = null;
- var ref = null;
- var self = null;
- var source = null;
- if (config != null) {
- if (hasValidRef(config)) {
- ref = config.ref;
- {
- warnIfStringRefCannotBeAutoConverted(config);
- }
- }
- if (hasValidKey(config)) {
- {
- checkKeyStringCoercion(config.key);
- }
- key = "" + config.key;
- }
- self = config.__self === void 0 ? null : config.__self;
- source = config.__source === void 0 ? null : config.__source;
- for(propName in config){
- if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {
- props[propName] = config[propName];
- }
- }
- }
- var childrenLength = arguments.length - 2;
- if (childrenLength === 1) {
- props.children = children;
- } else if (childrenLength > 1) {
- var childArray = Array(childrenLength);
- for(var i = 0; i < childrenLength; i++){
- childArray[i] = arguments[i + 2];
- }
- {
- if (Object.freeze) {
- Object.freeze(childArray);
- }
- }
- props.children = childArray;
- }
- if (type && type.defaultProps) {
- var defaultProps = type.defaultProps;
- for(propName in defaultProps){
- if (props[propName] === void 0) {
- props[propName] = defaultProps[propName];
- }
- }
- }
- {
- if (key || ref) {
- var displayName = typeof type === "function" ? type.displayName || type.name || "Unknown" : type;
- if (key) {
- defineKeyPropWarningGetter(props, displayName);
- }
- if (ref) {
- defineRefPropWarningGetter(props, displayName);
- }
- }
- }
- return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props);
- }
- function cloneAndReplaceKey(oldElement, newKey) {
- var newElement = ReactElement(oldElement.type, newKey, oldElement.ref, oldElement._self, oldElement._source, oldElement._owner, oldElement.props);
- return newElement;
- }
- function cloneElement(element, config, children) {
- if (element === null || element === void 0) {
- throw new Error("React.cloneElement(...): The argument must be a React element, but you passed " + element + ".");
- }
- var propName;
- var props = assign({}, element.props);
- var key = element.key;
- var ref = element.ref;
- var self = element._self;
- var source = element._source;
- var owner = element._owner;
- if (config != null) {
- if (hasValidRef(config)) {
- ref = config.ref;
- owner = ReactCurrentOwner.current;
- }
- if (hasValidKey(config)) {
- {
- checkKeyStringCoercion(config.key);
- }
- key = "" + config.key;
- }
- var defaultProps;
- if (element.type && element.type.defaultProps) {
- defaultProps = element.type.defaultProps;
- }
- for(propName in config){
- if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {
- if (config[propName] === void 0 && defaultProps !== void 0) {
- props[propName] = defaultProps[propName];
- } else {
- props[propName] = config[propName];
- }
- }
- }
- }
- var childrenLength = arguments.length - 2;
- if (childrenLength === 1) {
- props.children = children;
- } else if (childrenLength > 1) {
- var childArray = Array(childrenLength);
- for(var i = 0; i < childrenLength; i++){
- childArray[i] = arguments[i + 2];
- }
- props.children = childArray;
- }
- return ReactElement(element.type, key, ref, self, source, owner, props);
- }
- function isValidElement(object) {
- return typeof object === "object" && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
- }
- var SEPARATOR = ".";
- var SUBSEPARATOR = ":";
- function escape(key) {
- var escapeRegex = /[=:]/g;
- var escaperLookup = {
- "=": "=0",
- ":": "=2"
- };
- var escapedString = key.replace(escapeRegex, function(match) {
- return escaperLookup[match];
- });
- return "$" + escapedString;
- }
- var didWarnAboutMaps = false;
- var userProvidedKeyEscapeRegex = /\/+/g;
- function escapeUserProvidedKey(text) {
- return text.replace(userProvidedKeyEscapeRegex, "$&/");
- }
- function getElementKey(element, index) {
- if (typeof element === "object" && element !== null && element.key != null) {
- {
- checkKeyStringCoercion(element.key);
- }
- return escape("" + element.key);
- }
- return index.toString(36);
- }
- function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {
- var type = typeof children;
- if (type === "undefined" || type === "boolean") {
- children = null;
- }
- var invokeCallback = false;
- if (children === null) {
- invokeCallback = true;
- } else {
- switch(type){
- case "string":
- case "number":
- invokeCallback = true;
- break;
- case "object":
- switch(children.$$typeof){
- case REACT_ELEMENT_TYPE:
- case REACT_PORTAL_TYPE:
- invokeCallback = true;
- }
- }
- }
- if (invokeCallback) {
- var _child = children;
- var mappedChild = callback(_child);
- var childKey = nameSoFar === "" ? SEPARATOR + getElementKey(_child, 0) : nameSoFar;
- if (isArray(mappedChild)) {
- var escapedChildKey = "";
- if (childKey != null) {
- escapedChildKey = escapeUserProvidedKey(childKey) + "/";
- }
- mapIntoArray(mappedChild, array, escapedChildKey, "", function(c) {
- return c;
- });
- } else if (mappedChild != null) {
- if (isValidElement(mappedChild)) {
- {
- if (mappedChild.key && (!_child || _child.key !== mappedChild.key)) {
- checkKeyStringCoercion(mappedChild.key);
- }
- }
- mappedChild = cloneAndReplaceKey(mappedChild, // Keep both the (mapped) and old keys if they differ, just as
- // traverseAllChildren used to do for objects as children
- escapedPrefix + // $FlowFixMe Flow incorrectly thinks React.Portal doesn't have a key
- (mappedChild.key && (!_child || _child.key !== mappedChild.key) ? // $FlowFixMe Flow incorrectly thinks existing element's key can be a number
- // eslint-disable-next-line react-internal/safe-string-coercion
- escapeUserProvidedKey("" + mappedChild.key) + "/" : "") + childKey);
- }
- array.push(mappedChild);
- }
- return 1;
- }
- var child;
- var nextName;
- var subtreeCount = 0;
- var nextNamePrefix = nameSoFar === "" ? SEPARATOR : nameSoFar + SUBSEPARATOR;
- if (isArray(children)) {
- for(var i = 0; i < children.length; i++){
- child = children[i];
- nextName = nextNamePrefix + getElementKey(child, i);
- subtreeCount += mapIntoArray(child, array, escapedPrefix, nextName, callback);
- }
- } else {
- var iteratorFn = getIteratorFn(children);
- if (typeof iteratorFn === "function") {
- var iterableChildren = children;
- {
- if (iteratorFn === iterableChildren.entries) {
- if (!didWarnAboutMaps) {
- warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead.");
- }
- didWarnAboutMaps = true;
- }
- }
- var iterator = iteratorFn.call(iterableChildren);
- var step;
- var ii = 0;
- while(!(step = iterator.next()).done){
- child = step.value;
- nextName = nextNamePrefix + getElementKey(child, ii++);
- subtreeCount += mapIntoArray(child, array, escapedPrefix, nextName, callback);
- }
- } else if (type === "object") {
- var childrenString = String(children);
- throw new Error("Objects are not valid as a React child (found: " + (childrenString === "[object Object]" ? "object with keys {" + Object.keys(children).join(", ") + "}" : childrenString) + "). If you meant to render a collection of children, use an array instead.");
- }
- }
- return subtreeCount;
- }
- function mapChildren(children, func, context) {
- if (children == null) {
- return children;
- }
- var result = [];
- var count = 0;
- mapIntoArray(children, result, "", "", function(child) {
- return func.call(context, child, count++);
- });
- return result;
- }
- function countChildren(children) {
- var n = 0;
- mapChildren(children, function() {
- n++;
- });
- return n;
- }
- function forEachChildren(children, forEachFunc, forEachContext) {
- mapChildren(children, function() {
- forEachFunc.apply(this, arguments);
- }, forEachContext);
- }
- function toArray(children) {
- return mapChildren(children, function(child) {
- return child;
- }) || [];
- }
- function onlyChild(children) {
- if (!isValidElement(children)) {
- throw new Error("React.Children.only expected to receive a single React element child.");
- }
- return children;
- }
- function createContext(defaultValue) {
- var context = {
- $$typeof: REACT_CONTEXT_TYPE,
- // As a workaround to support multiple concurrent renderers, we categorize
- // some renderers as primary and others as secondary. We only expect
- // there to be two concurrent renderers at most: React Native (primary) and
- // Fabric (secondary); React DOM (primary) and React ART (secondary).
- // Secondary renderers store their context values on separate fields.
- _currentValue: defaultValue,
- _currentValue2: defaultValue,
- // Used to track how many concurrent renderers this context currently
- // supports within in a single renderer. Such as parallel server rendering.
- _threadCount: 0,
- // These are circular
- Provider: null,
- Consumer: null,
- // Add these to use same hidden class in VM as ServerContext
- _defaultValue: null,
- _globalName: null
- };
- context.Provider = {
- $$typeof: REACT_PROVIDER_TYPE,
- _context: context
- };
- var hasWarnedAboutUsingNestedContextConsumers = false;
- var hasWarnedAboutUsingConsumerProvider = false;
- var hasWarnedAboutDisplayNameOnConsumer = false;
- {
- var Consumer = {
- $$typeof: REACT_CONTEXT_TYPE,
- _context: context
- };
- Object.defineProperties(Consumer, {
- Provider: {
- get: function() {
- if (!hasWarnedAboutUsingConsumerProvider) {
- hasWarnedAboutUsingConsumerProvider = true;
- error("Rendering is not supported and will be removed in a future major release. Did you mean to render instead?");
- }
- return context.Provider;
- },
- set: function(_Provider) {
- context.Provider = _Provider;
- }
- },
- _currentValue: {
- get: function() {
- return context._currentValue;
- },
- set: function(_currentValue) {
- context._currentValue = _currentValue;
- }
- },
- _currentValue2: {
- get: function() {
- return context._currentValue2;
- },
- set: function(_currentValue2) {
- context._currentValue2 = _currentValue2;
- }
- },
- _threadCount: {
- get: function() {
- return context._threadCount;
- },
- set: function(_threadCount) {
- context._threadCount = _threadCount;
- }
- },
- Consumer: {
- get: function() {
- if (!hasWarnedAboutUsingNestedContextConsumers) {
- hasWarnedAboutUsingNestedContextConsumers = true;
- error("Rendering is not supported and will be removed in a future major release. Did you mean to render instead?");
- }
- return context.Consumer;
- }
- },
- displayName: {
- get: function() {
- return context.displayName;
- },
- set: function(displayName) {
- if (!hasWarnedAboutDisplayNameOnConsumer) {
- warn("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.", displayName);
- hasWarnedAboutDisplayNameOnConsumer = true;
- }
- }
- }
- });
- context.Consumer = Consumer;
- }
- {
- context._currentRenderer = null;
- context._currentRenderer2 = null;
- }
- return context;
- }
- var Uninitialized = -1;
- var Pending = 0;
- var Resolved = 1;
- var Rejected = 2;
- function lazyInitializer(payload) {
- if (payload._status === Uninitialized) {
- var ctor = payload._result;
- var thenable = ctor();
- thenable.then(function(moduleObject2) {
- if (payload._status === Pending || payload._status === Uninitialized) {
- var resolved = payload;
- resolved._status = Resolved;
- resolved._result = moduleObject2;
- }
- }, function(error2) {
- if (payload._status === Pending || payload._status === Uninitialized) {
- var rejected = payload;
- rejected._status = Rejected;
- rejected._result = error2;
- }
- });
- if (payload._status === Uninitialized) {
- var pending = payload;
- pending._status = Pending;
- pending._result = thenable;
- }
- }
- if (payload._status === Resolved) {
- var moduleObject = payload._result;
- {
- if (moduleObject === void 0) {
- error("lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))\n\nDid you accidentally put curly braces around the import?", moduleObject);
- }
- }
- {
- if (!("default" in moduleObject)) {
- error("lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))", moduleObject);
- }
- }
- return moduleObject.default;
- } else {
- throw payload._result;
- }
- }
- function lazy(ctor) {
- var payload = {
- // We use these fields to store the result.
- _status: Uninitialized,
- _result: ctor
- };
- var lazyType = {
- $$typeof: REACT_LAZY_TYPE,
- _payload: payload,
- _init: lazyInitializer
- };
- {
- var defaultProps;
- var propTypes;
- Object.defineProperties(lazyType, {
- defaultProps: {
- configurable: true,
- get: function() {
- return defaultProps;
- },
- set: function(newDefaultProps) {
- error("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it.");
- defaultProps = newDefaultProps;
- Object.defineProperty(lazyType, "defaultProps", {
- enumerable: true
- });
- }
- },
- propTypes: {
- configurable: true,
- get: function() {
- return propTypes;
- },
- set: function(newPropTypes) {
- error("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it.");
- propTypes = newPropTypes;
- Object.defineProperty(lazyType, "propTypes", {
- enumerable: true
- });
- }
- }
- });
- }
- return lazyType;
- }
- function forwardRef(render) {
- {
- if (render != null && render.$$typeof === REACT_MEMO_TYPE) {
- error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...)).");
- } else if (typeof render !== "function") {
- error("forwardRef requires a render function but was given %s.", render === null ? "null" : typeof render);
- } else {
- if (render.length !== 0 && render.length !== 2) {
- error("forwardRef render functions accept exactly two parameters: props and ref. %s", render.length === 1 ? "Did you forget to use the ref parameter?" : "Any additional parameter will be undefined.");
- }
- }
- if (render != null) {
- if (render.defaultProps != null || render.propTypes != null) {
- error("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");
- }
- }
- }
- var elementType = {
- $$typeof: REACT_FORWARD_REF_TYPE,
- render
- };
- {
- var ownName;
- Object.defineProperty(elementType, "displayName", {
- enumerable: false,
- configurable: true,
- get: function() {
- return ownName;
- },
- set: function(name) {
- ownName = name;
- if (!render.name && !render.displayName) {
- render.displayName = name;
- }
- }
- });
- }
- return elementType;
- }
- var REACT_MODULE_REFERENCE;
- {
- REACT_MODULE_REFERENCE = Symbol.for("react.module.reference");
- }
- function isValidElementType(type) {
- if (typeof type === "string" || typeof type === "function") {
- return true;
- }
- if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableCacheElement || enableTransitionTracing) {
- return true;
- }
- if (typeof type === "object" && type !== null) {
- if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || // This needs to include all possible module reference object
- // types supported by any Flight configuration anywhere since
- // we don't know which Flight build this will end up being used
- // with.
- type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== void 0) {
- return true;
- }
- }
- return false;
- }
- function memo(type, compare) {
- {
- if (!isValidElementType(type)) {
- error("memo: The first argument must be a component. Instead received: %s", type === null ? "null" : typeof type);
- }
- }
- var elementType = {
- $$typeof: REACT_MEMO_TYPE,
- type,
- compare: compare === void 0 ? null : compare
- };
- {
- var ownName;
- Object.defineProperty(elementType, "displayName", {
- enumerable: false,
- configurable: true,
- get: function() {
- return ownName;
- },
- set: function(name) {
- ownName = name;
- if (!type.name && !type.displayName) {
- type.displayName = name;
- }
- }
- });
- }
- return elementType;
- }
- function resolveDispatcher() {
- var dispatcher = ReactCurrentDispatcher.current;
- {
- if (dispatcher === null) {
- error("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.");
- }
- }
- return dispatcher;
- }
- function useContext(Context) {
- var dispatcher = resolveDispatcher();
- {
- if (Context._context !== void 0) {
- var realContext = Context._context;
- if (realContext.Consumer === Context) {
- error("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?");
- } else if (realContext.Provider === Context) {
- error("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?");
- }
- }
- }
- return dispatcher.useContext(Context);
- }
- function useState(initialState) {
- var dispatcher = resolveDispatcher();
- return dispatcher.useState(initialState);
- }
- function useReducer(reducer, initialArg, init) {
- var dispatcher = resolveDispatcher();
- return dispatcher.useReducer(reducer, initialArg, init);
- }
- function useRef(initialValue) {
- var dispatcher = resolveDispatcher();
- return dispatcher.useRef(initialValue);
- }
- function useEffect(create, deps) {
- var dispatcher = resolveDispatcher();
- return dispatcher.useEffect(create, deps);
- }
- function useInsertionEffect(create, deps) {
- var dispatcher = resolveDispatcher();
- return dispatcher.useInsertionEffect(create, deps);
- }
- function useLayoutEffect(create, deps) {
- var dispatcher = resolveDispatcher();
- return dispatcher.useLayoutEffect(create, deps);
- }
- function useCallback(callback, deps) {
- var dispatcher = resolveDispatcher();
- return dispatcher.useCallback(callback, deps);
- }
- function useMemo(create, deps) {
- var dispatcher = resolveDispatcher();
- return dispatcher.useMemo(create, deps);
- }
- function useImperativeHandle(ref, create, deps) {
- var dispatcher = resolveDispatcher();
- return dispatcher.useImperativeHandle(ref, create, deps);
- }
- function useDebugValue(value, formatterFn) {
- {
- var dispatcher = resolveDispatcher();
- return dispatcher.useDebugValue(value, formatterFn);
- }
- }
- function useTransition() {
- var dispatcher = resolveDispatcher();
- return dispatcher.useTransition();
- }
- function useDeferredValue(value) {
- var dispatcher = resolveDispatcher();
- return dispatcher.useDeferredValue(value);
- }
- function useId() {
- var dispatcher = resolveDispatcher();
- return dispatcher.useId();
- }
- function useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot) {
- var dispatcher = resolveDispatcher();
- return dispatcher.useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot);
- }
- var disabledDepth = 0;
- var prevLog;
- var prevInfo;
- var prevWarn;
- var prevError;
- var prevGroup;
- var prevGroupCollapsed;
- var prevGroupEnd;
- function disabledLog() {}
- disabledLog.__reactDisabledLog = true;
- function disableLogs() {
- {
- if (disabledDepth === 0) {
- prevLog = console.log;
- prevInfo = console.info;
- prevWarn = console.warn;
- prevError = console.error;
- prevGroup = console.group;
- prevGroupCollapsed = console.groupCollapsed;
- prevGroupEnd = console.groupEnd;
- var props = {
- configurable: true,
- enumerable: true,
- value: disabledLog,
- writable: true
- };
- Object.defineProperties(console, {
- info: props,
- log: props,
- warn: props,
- error: props,
- group: props,
- groupCollapsed: props,
- groupEnd: props
- });
- }
- disabledDepth++;
- }
- }
- function reenableLogs() {
- {
- disabledDepth--;
- if (disabledDepth === 0) {
- var props = {
- configurable: true,
- enumerable: true,
- writable: true
- };
- Object.defineProperties(console, {
- log: assign({}, props, {
- value: prevLog
- }),
- info: assign({}, props, {
- value: prevInfo
- }),
- warn: assign({}, props, {
- value: prevWarn
- }),
- error: assign({}, props, {
- value: prevError
- }),
- group: assign({}, props, {
- value: prevGroup
- }),
- groupCollapsed: assign({}, props, {
- value: prevGroupCollapsed
- }),
- groupEnd: assign({}, props, {
- value: prevGroupEnd
- })
- });
- }
- if (disabledDepth < 0) {
- error("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
- }
- }
- }
- var ReactCurrentDispatcher$1 = ReactSharedInternals.ReactCurrentDispatcher;
- var prefix;
- function describeBuiltInComponentFrame(name, source, ownerFn) {
- {
- if (prefix === void 0) {
- try {
- throw Error();
- } catch (x) {
- var match = x.stack.trim().match(/\n( *(at )?)/);
- prefix = match && match[1] || "";
- }
- }
- return "\n" + prefix + name;
- }
- }
- var reentry = false;
- var componentFrameCache;
- {
- var PossiblyWeakMap = typeof WeakMap === "function" ? WeakMap : Map;
- componentFrameCache = new PossiblyWeakMap();
- }
- function describeNativeComponentFrame(fn, construct) {
- if (!fn || reentry) {
- return "";
- }
- {
- var frame = componentFrameCache.get(fn);
- if (frame !== void 0) {
- return frame;
- }
- }
- var control;
- reentry = true;
- var previousPrepareStackTrace = Error.prepareStackTrace;
- Error.prepareStackTrace = void 0;
- var previousDispatcher;
- {
- previousDispatcher = ReactCurrentDispatcher$1.current;
- ReactCurrentDispatcher$1.current = null;
- disableLogs();
- }
- try {
- if (construct) {
- var Fake = function() {
- throw Error();
- };
- Object.defineProperty(Fake.prototype, "props", {
- set: function() {
- throw Error();
- }
- });
- if (typeof Reflect === "object" && Reflect.construct) {
- try {
- Reflect.construct(Fake, []);
- } catch (x) {
- control = x;
- }
- Reflect.construct(fn, [], Fake);
- } else {
- try {
- Fake.call();
- } catch (x) {
- control = x;
- }
- fn.call(Fake.prototype);
- }
- } else {
- try {
- throw Error();
- } catch (x) {
- control = x;
- }
- fn();
- }
- } catch (sample) {
- if (sample && control && typeof sample.stack === "string") {
- var sampleLines = sample.stack.split("\n");
- var controlLines = control.stack.split("\n");
- var s = sampleLines.length - 1;
- var c = controlLines.length - 1;
- while(s >= 1 && c >= 0 && sampleLines[s] !== controlLines[c]){
- c--;
- }
- for(; s >= 1 && c >= 0; s--, c--){
- if (sampleLines[s] !== controlLines[c]) {
- if (s !== 1 || c !== 1) {
- do {
- s--;
- c--;
- if (c < 0 || sampleLines[s] !== controlLines[c]) {
- var _frame = "\n" + sampleLines[s].replace(" at new ", " at ");
- if (fn.displayName && _frame.includes("")) {
- _frame = _frame.replace("", fn.displayName);
- }
- {
- if (typeof fn === "function") {
- componentFrameCache.set(fn, _frame);
- }
- }
- return _frame;
- }
- }while (s >= 1 && c >= 0)
- }
- break;
- }
- }
- }
- } finally{
- reentry = false;
- {
- ReactCurrentDispatcher$1.current = previousDispatcher;
- reenableLogs();
- }
- Error.prepareStackTrace = previousPrepareStackTrace;
- }
- var name = fn ? fn.displayName || fn.name : "";
- var syntheticFrame = name ? describeBuiltInComponentFrame(name) : "";
- {
- if (typeof fn === "function") {
- componentFrameCache.set(fn, syntheticFrame);
- }
- }
- return syntheticFrame;
- }
- function describeFunctionComponentFrame(fn, source, ownerFn) {
- {
- return describeNativeComponentFrame(fn, false);
- }
- }
- function shouldConstruct(Component2) {
- var prototype = Component2.prototype;
- return !!(prototype && prototype.isReactComponent);
- }
- function describeUnknownElementTypeFrameInDEV(type, source, ownerFn) {
- if (type == null) {
- return "";
- }
- if (typeof type === "function") {
- {
- return describeNativeComponentFrame(type, shouldConstruct(type));
- }
- }
- if (typeof type === "string") {
- return describeBuiltInComponentFrame(type);
- }
- switch(type){
- case REACT_SUSPENSE_TYPE:
- return describeBuiltInComponentFrame("Suspense");
- case REACT_SUSPENSE_LIST_TYPE:
- return describeBuiltInComponentFrame("SuspenseList");
- }
- if (typeof type === "object") {
- switch(type.$$typeof){
- case REACT_FORWARD_REF_TYPE:
- return describeFunctionComponentFrame(type.render);
- case REACT_MEMO_TYPE:
- return describeUnknownElementTypeFrameInDEV(type.type, source, ownerFn);
- case REACT_LAZY_TYPE:
- {
- var lazyComponent = type;
- var payload = lazyComponent._payload;
- var init = lazyComponent._init;
- try {
- return describeUnknownElementTypeFrameInDEV(init(payload), source, ownerFn);
- } catch (x) {}
- }
- }
- }
- return "";
- }
- var loggedTypeFailures = {};
- var ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame;
- function setCurrentlyValidatingElement(element) {
- {
- if (element) {
- var owner = element._owner;
- var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);
- ReactDebugCurrentFrame$1.setExtraStackFrame(stack);
- } else {
- ReactDebugCurrentFrame$1.setExtraStackFrame(null);
- }
- }
- }
- function checkPropTypes(typeSpecs, values, location, componentName, element) {
- {
- var has = Function.call.bind(hasOwnProperty);
- for(var typeSpecName in typeSpecs){
- if (has(typeSpecs, typeSpecName)) {
- var error$1 = void 0;
- try {
- if (typeof typeSpecs[typeSpecName] !== "function") {
- var err = Error((componentName || "React class") + ": " + location + " type `" + typeSpecName + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof typeSpecs[typeSpecName] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
- err.name = "Invariant Violation";
- throw err;
- }
- error$1 = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
- } catch (ex) {
- error$1 = ex;
- }
- if (error$1 && !(error$1 instanceof Error)) {
- setCurrentlyValidatingElement(element);
- error("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", componentName || "React class", location, typeSpecName, typeof error$1);
- setCurrentlyValidatingElement(null);
- }
- if (error$1 instanceof Error && !(error$1.message in loggedTypeFailures)) {
- loggedTypeFailures[error$1.message] = true;
- setCurrentlyValidatingElement(element);
- error("Failed %s type: %s", location, error$1.message);
- setCurrentlyValidatingElement(null);
- }
- }
- }
- }
- }
- function setCurrentlyValidatingElement$1(element) {
- {
- if (element) {
- var owner = element._owner;
- var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);
- setExtraStackFrame(stack);
- } else {
- setExtraStackFrame(null);
- }
- }
- }
- var propTypesMisspellWarningShown;
- {
- propTypesMisspellWarningShown = false;
- }
- function getDeclarationErrorAddendum() {
- if (ReactCurrentOwner.current) {
- var name = getComponentNameFromType(ReactCurrentOwner.current.type);
- if (name) {
- return "\n\nCheck the render method of `" + name + "`.";
- }
- }
- return "";
- }
- function getSourceInfoErrorAddendum(source) {
- if (source !== void 0) {
- var fileName = source.fileName.replace(/^.*[\\\/]/, "");
- var lineNumber = source.lineNumber;
- return "\n\nCheck your code at " + fileName + ":" + lineNumber + ".";
- }
- return "";
- }
- function getSourceInfoErrorAddendumForProps(elementProps) {
- if (elementProps !== null && elementProps !== void 0) {
- return getSourceInfoErrorAddendum(elementProps.__source);
- }
- return "";
- }
- var ownerHasKeyUseWarning = {};
- function getCurrentComponentErrorInfo(parentType) {
- var info = getDeclarationErrorAddendum();
- if (!info) {
- var parentName = typeof parentType === "string" ? parentType : parentType.displayName || parentType.name;
- if (parentName) {
- info = "\n\nCheck the top-level render call using <" + parentName + ">.";
- }
- }
- return info;
- }
- function validateExplicitKey(element, parentType) {
- if (!element._store || element._store.validated || element.key != null) {
- return;
- }
- element._store.validated = true;
- var currentComponentErrorInfo = getCurrentComponentErrorInfo(parentType);
- if (ownerHasKeyUseWarning[currentComponentErrorInfo]) {
- return;
- }
- ownerHasKeyUseWarning[currentComponentErrorInfo] = true;
- var childOwner = "";
- if (element && element._owner && element._owner !== ReactCurrentOwner.current) {
- childOwner = " It was passed a child from " + getComponentNameFromType(element._owner.type) + ".";
- }
- {
- setCurrentlyValidatingElement$1(element);
- error('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', currentComponentErrorInfo, childOwner);
- setCurrentlyValidatingElement$1(null);
- }
- }
- function validateChildKeys(node, parentType) {
- if (typeof node !== "object") {
- return;
- }
- if (isArray(node)) {
- for(var i = 0; i < node.length; i++){
- var child = node[i];
- if (isValidElement(child)) {
- validateExplicitKey(child, parentType);
- }
- }
- } else if (isValidElement(node)) {
- if (node._store) {
- node._store.validated = true;
- }
- } else if (node) {
- var iteratorFn = getIteratorFn(node);
- if (typeof iteratorFn === "function") {
- if (iteratorFn !== node.entries) {
- var iterator = iteratorFn.call(node);
- var step;
- while(!(step = iterator.next()).done){
- if (isValidElement(step.value)) {
- validateExplicitKey(step.value, parentType);
- }
- }
- }
- }
- }
- }
- function validatePropTypes(element) {
- {
- var type = element.type;
- if (type === null || type === void 0 || typeof type === "string") {
- return;
- }
- var propTypes;
- if (typeof type === "function") {
- propTypes = type.propTypes;
- } else if (typeof type === "object" && (type.$$typeof === REACT_FORWARD_REF_TYPE || // Note: Memo only checks outer props here.
- // Inner props are checked in the reconciler.
- type.$$typeof === REACT_MEMO_TYPE)) {
- propTypes = type.propTypes;
- } else {
- return;
- }
- if (propTypes) {
- var name = getComponentNameFromType(type);
- checkPropTypes(propTypes, element.props, "prop", name, element);
- } else if (type.PropTypes !== void 0 && !propTypesMisspellWarningShown) {
- propTypesMisspellWarningShown = true;
- var _name = getComponentNameFromType(type);
- error("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", _name || "Unknown");
- }
- if (typeof type.getDefaultProps === "function" && !type.getDefaultProps.isReactClassApproved) {
- error("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
- }
- }
- }
- function validateFragmentProps(fragment) {
- {
- var keys = Object.keys(fragment.props);
- for(var i = 0; i < keys.length; i++){
- var key = keys[i];
- if (key !== "children" && key !== "key") {
- setCurrentlyValidatingElement$1(fragment);
- error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", key);
- setCurrentlyValidatingElement$1(null);
- break;
- }
- }
- if (fragment.ref !== null) {
- setCurrentlyValidatingElement$1(fragment);
- error("Invalid attribute `ref` supplied to `React.Fragment`.");
- setCurrentlyValidatingElement$1(null);
- }
- }
- }
- function createElementWithValidation(type, props, children) {
- var validType = isValidElementType(type);
- if (!validType) {
- var info = "";
- if (type === void 0 || typeof type === "object" && type !== null && Object.keys(type).length === 0) {
- info += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";
- }
- var sourceInfo = getSourceInfoErrorAddendumForProps(props);
- if (sourceInfo) {
- info += sourceInfo;
- } else {
- info += getDeclarationErrorAddendum();
- }
- var typeString;
- if (type === null) {
- typeString = "null";
- } else if (isArray(type)) {
- typeString = "array";
- } else if (type !== void 0 && type.$$typeof === REACT_ELEMENT_TYPE) {
- typeString = "<" + (getComponentNameFromType(type.type) || "Unknown") + " />";
- info = " Did you accidentally export a JSX literal instead of a component?";
- } else {
- typeString = typeof type;
- }
- {
- error("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", typeString, info);
- }
- }
- var element = createElement.apply(this, arguments);
- if (element == null) {
- return element;
- }
- if (validType) {
- for(var i = 2; i < arguments.length; i++){
- validateChildKeys(arguments[i], type);
- }
- }
- if (type === REACT_FRAGMENT_TYPE) {
- validateFragmentProps(element);
- } else {
- validatePropTypes(element);
- }
- return element;
- }
- var didWarnAboutDeprecatedCreateFactory = false;
- function createFactoryWithValidation(type) {
- var validatedFactory = createElementWithValidation.bind(null, type);
- validatedFactory.type = type;
- {
- if (!didWarnAboutDeprecatedCreateFactory) {
- didWarnAboutDeprecatedCreateFactory = true;
- warn("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.");
- }
- Object.defineProperty(validatedFactory, "type", {
- enumerable: false,
- get: function() {
- warn("Factory.type is deprecated. Access the class directly before passing it to createFactory.");
- Object.defineProperty(this, "type", {
- value: type
- });
- return type;
- }
- });
- }
- return validatedFactory;
- }
- function cloneElementWithValidation(element, props, children) {
- var newElement = cloneElement.apply(this, arguments);
- for(var i = 2; i < arguments.length; i++){
- validateChildKeys(arguments[i], newElement.type);
- }
- validatePropTypes(newElement);
- return newElement;
- }
- function startTransition(scope, options) {
- var prevTransition = ReactCurrentBatchConfig.transition;
- ReactCurrentBatchConfig.transition = {};
- var currentTransition = ReactCurrentBatchConfig.transition;
- {
- ReactCurrentBatchConfig.transition._updatedFibers = /* @__PURE__ */ new Set();
- }
- try {
- scope();
- } finally{
- ReactCurrentBatchConfig.transition = prevTransition;
- {
- if (prevTransition === null && currentTransition._updatedFibers) {
- var updatedFibersCount = currentTransition._updatedFibers.size;
- if (updatedFibersCount > 10) {
- warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.");
- }
- currentTransition._updatedFibers.clear();
- }
- }
- }
- }
- var didWarnAboutMessageChannel = false;
- var enqueueTaskImpl = null;
- function enqueueTask(task) {
- if (enqueueTaskImpl === null) {
- try {
- var requireString = ("require" + Math.random()).slice(0, 7);
- var nodeRequire = module && module[requireString];
- enqueueTaskImpl = nodeRequire.call(module, "timers").setImmediate;
- } catch (_err) {
- enqueueTaskImpl = function(callback) {
- {
- if (didWarnAboutMessageChannel === false) {
- didWarnAboutMessageChannel = true;
- if (typeof MessageChannel === "undefined") {
- error("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning.");
- }
- }
- }
- var channel = new MessageChannel();
- channel.port1.onmessage = callback;
- channel.port2.postMessage(void 0);
- };
- }
- }
- return enqueueTaskImpl(task);
- }
- var actScopeDepth = 0;
- var didWarnNoAwaitAct = false;
- function act(callback) {
- {
- var prevActScopeDepth = actScopeDepth;
- actScopeDepth++;
- if (ReactCurrentActQueue.current === null) {
- ReactCurrentActQueue.current = [];
- }
- var prevIsBatchingLegacy = ReactCurrentActQueue.isBatchingLegacy;
- var result;
- try {
- ReactCurrentActQueue.isBatchingLegacy = true;
- result = callback();
- if (!prevIsBatchingLegacy && ReactCurrentActQueue.didScheduleLegacyUpdate) {
- var queue = ReactCurrentActQueue.current;
- if (queue !== null) {
- ReactCurrentActQueue.didScheduleLegacyUpdate = false;
- flushActQueue(queue);
- }
- }
- } catch (error2) {
- popActScope(prevActScopeDepth);
- throw error2;
- } finally{
- ReactCurrentActQueue.isBatchingLegacy = prevIsBatchingLegacy;
- }
- if (result !== null && typeof result === "object" && typeof result.then === "function") {
- var thenableResult = result;
- var wasAwaited = false;
- var thenable = {
- then: function(resolve, reject) {
- wasAwaited = true;
- thenableResult.then(function(returnValue2) {
- popActScope(prevActScopeDepth);
- if (actScopeDepth === 0) {
- recursivelyFlushAsyncActWork(returnValue2, resolve, reject);
- } else {
- resolve(returnValue2);
- }
- }, function(error2) {
- popActScope(prevActScopeDepth);
- reject(error2);
- });
- }
- };
- {
- if (!didWarnNoAwaitAct && typeof Promise !== "undefined") {
- Promise.resolve().then(function() {}).then(function() {
- if (!wasAwaited) {
- didWarnNoAwaitAct = true;
- error("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);");
- }
- });
- }
- }
- return thenable;
- } else {
- var returnValue = result;
- popActScope(prevActScopeDepth);
- if (actScopeDepth === 0) {
- var _queue = ReactCurrentActQueue.current;
- if (_queue !== null) {
- flushActQueue(_queue);
- ReactCurrentActQueue.current = null;
- }
- var _thenable = {
- then: function(resolve, reject) {
- if (ReactCurrentActQueue.current === null) {
- ReactCurrentActQueue.current = [];
- recursivelyFlushAsyncActWork(returnValue, resolve, reject);
- } else {
- resolve(returnValue);
- }
- }
- };
- return _thenable;
- } else {
- var _thenable2 = {
- then: function(resolve, reject) {
- resolve(returnValue);
- }
- };
- return _thenable2;
- }
- }
- }
- }
- function popActScope(prevActScopeDepth) {
- {
- if (prevActScopeDepth !== actScopeDepth - 1) {
- error("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. ");
- }
- actScopeDepth = prevActScopeDepth;
- }
- }
- function recursivelyFlushAsyncActWork(returnValue, resolve, reject) {
- {
- var queue = ReactCurrentActQueue.current;
- if (queue !== null) {
- try {
- flushActQueue(queue);
- enqueueTask(function() {
- if (queue.length === 0) {
- ReactCurrentActQueue.current = null;
- resolve(returnValue);
- } else {
- recursivelyFlushAsyncActWork(returnValue, resolve, reject);
- }
- });
- } catch (error2) {
- reject(error2);
- }
- } else {
- resolve(returnValue);
- }
- }
- }
- var isFlushing = false;
- function flushActQueue(queue) {
- {
- if (!isFlushing) {
- isFlushing = true;
- var i = 0;
- try {
- for(; i < queue.length; i++){
- var callback = queue[i];
- do {
- callback = callback(true);
- }while (callback !== null)
- }
- queue.length = 0;
- } catch (error2) {
- queue = queue.slice(i + 1);
- throw error2;
- } finally{
- isFlushing = false;
- }
- }
- }
- }
- var createElement$1 = createElementWithValidation;
- var cloneElement$1 = cloneElementWithValidation;
- var createFactory = createFactoryWithValidation;
- var Children = {
- map: mapChildren,
- forEach: forEachChildren,
- count: countChildren,
- toArray,
- only: onlyChild
- };
- exports.Children = Children;
- exports.Component = Component;
- exports.Fragment = REACT_FRAGMENT_TYPE;
- exports.Profiler = REACT_PROFILER_TYPE;
- exports.PureComponent = PureComponent;
- exports.StrictMode = REACT_STRICT_MODE_TYPE;
- exports.Suspense = REACT_SUSPENSE_TYPE;
- exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = ReactSharedInternals;
- exports.act = act;
- exports.cloneElement = cloneElement$1;
- exports.createContext = createContext;
- exports.createElement = createElement$1;
- exports.createFactory = createFactory;
- exports.createRef = createRef;
- exports.forwardRef = forwardRef;
- exports.isValidElement = isValidElement;
- exports.lazy = lazy;
- exports.memo = memo;
- exports.startTransition = startTransition;
- exports.unstable_act = act;
- exports.useCallback = useCallback;
- exports.useContext = useContext;
- exports.useDebugValue = useDebugValue;
- exports.useDeferredValue = useDeferredValue;
- exports.useEffect = useEffect;
- exports.useId = useId;
- exports.useImperativeHandle = useImperativeHandle;
- exports.useInsertionEffect = useInsertionEffect;
- exports.useLayoutEffect = useLayoutEffect;
- exports.useMemo = useMemo;
- exports.useReducer = useReducer;
- exports.useRef = useRef;
- exports.useState = useState;
- exports.useSyncExternalStore = useSyncExternalStore;
- exports.useTransition = useTransition;
- exports.version = ReactVersion;
- if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== "undefined" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop === "function") {
- __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
- }
- })();
- }
- }
-});
-// node_modules/.pnpm/react@18.3.1/node_modules/react/index.js
-var require_react = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_0__.__commonJS)({
- "node_modules/.pnpm/react@18.3.1/node_modules/react/index.js" (exports, module) {
- "use strict";
- if (false) {} else {
- module.exports = require_react_development();
- }
- }
-});
- /*! Bundled license information:
-
-react/cjs/react.development.js:
- (**
- * @license React
- * react.development.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.
- *)
-*/
-
-
-/***/ })
-
-}]);
\ No newline at end of file
diff --git a/dist/prebundle/vendors-node_modules_taro_weapp_prebundle_chunk-FCEGKHHF_js.js b/dist/prebundle/vendors-node_modules_taro_weapp_prebundle_chunk-FCEGKHHF_js.js
deleted file mode 100644
index c288c4a..0000000
--- a/dist/prebundle/vendors-node_modules_taro_weapp_prebundle_chunk-FCEGKHHF_js.js
+++ /dev/null
@@ -1,6468 +0,0 @@
-"use strict";
-(wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([["vendors-node_modules_taro_weapp_prebundle_chunk-FCEGKHHF_js"],{
-
-/***/ "./node_modules/.taro/weapp/prebundle/chunk-FCEGKHHF.js":
-/*!**************************************************************!*\
- !*** ./node_modules/.taro/weapp/prebundle/chunk-FCEGKHHF.js ***!
- \**************************************************************/
-/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
-
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ createPortal: function() { return /* binding */ createPortal; },
-/* harmony export */ createRoot: function() { return /* binding */ createRoot; },
-/* harmony export */ findDOMNode: function() { return /* binding */ findDOMNode; },
-/* harmony export */ flushSync: function() { return /* binding */ flushSync; },
-/* harmony export */ index: function() { return /* binding */ index; },
-/* harmony export */ internalInstanceKey: function() { return /* binding */ internalInstanceKey; },
-/* harmony export */ render: function() { return /* binding */ render; },
-/* harmony export */ unmountComponentAtNode: function() { return /* binding */ unmountComponentAtNode; },
-/* harmony export */ unstable_batchedUpdates: function() { return /* binding */ unstable_batchedUpdates; }
-/* 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_6TBQVUF2_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./chunk-6TBQVUF2.js */ "./node_modules/.taro/weapp/prebundle/chunk-6TBQVUF2.js");
-/* harmony import */ var _chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./chunk-QRPWKJ4C.js */ "./node_modules/.taro/weapp/prebundle/chunk-QRPWKJ4C.js");
-/* provided dependency */ var navigator = __webpack_require__(/*! ./node_modules/.taro/weapp/prebundle/chunk-WRSQ3V3E.js */ "./node_modules/.taro/weapp/prebundle/chunk-WRSQ3V3E.js")["nav"];
-
-
-
-
-// node_modules/.pnpm/scheduler@0.23.2/node_modules/scheduler/cjs/scheduler.development.js
-var require_scheduler_development = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_3__.__commonJS)({
- "node_modules/.pnpm/scheduler@0.23.2/node_modules/scheduler/cjs/scheduler.development.js" (exports) {
- "use strict";
- if (true) {
- (function() {
- "use strict";
- if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== "undefined" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart === "function") {
- __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
- }
- var enableSchedulerDebugging = false;
- var enableProfiling = false;
- var frameYieldMs = 5;
- function push(heap, node) {
- var index2 = heap.length;
- heap.push(node);
- siftUp(heap, node, index2);
- }
- function peek(heap) {
- return heap.length === 0 ? null : heap[0];
- }
- function pop(heap) {
- if (heap.length === 0) {
- return null;
- }
- var first = heap[0];
- var last = heap.pop();
- if (last !== first) {
- heap[0] = last;
- siftDown(heap, last, 0);
- }
- return first;
- }
- function siftUp(heap, node, i) {
- var index2 = i;
- while(index2 > 0){
- var parentIndex = index2 - 1 >>> 1;
- var parent = heap[parentIndex];
- if (compare(parent, node) > 0) {
- heap[parentIndex] = node;
- heap[index2] = parent;
- index2 = parentIndex;
- } else {
- return;
- }
- }
- }
- function siftDown(heap, node, i) {
- var index2 = i;
- var length = heap.length;
- var halfLength = length >>> 1;
- while(index2 < halfLength){
- var leftIndex = (index2 + 1) * 2 - 1;
- var left = heap[leftIndex];
- var rightIndex = leftIndex + 1;
- var right = heap[rightIndex];
- if (compare(left, node) < 0) {
- if (rightIndex < length && compare(right, left) < 0) {
- heap[index2] = right;
- heap[rightIndex] = node;
- index2 = rightIndex;
- } else {
- heap[index2] = left;
- heap[leftIndex] = node;
- index2 = leftIndex;
- }
- } else if (rightIndex < length && compare(right, node) < 0) {
- heap[index2] = right;
- heap[rightIndex] = node;
- index2 = rightIndex;
- } else {
- return;
- }
- }
- }
- function compare(a, b) {
- var diff = a.sortIndex - b.sortIndex;
- return diff !== 0 ? diff : a.id - b.id;
- }
- var ImmediatePriority = 1;
- var UserBlockingPriority = 2;
- var NormalPriority = 3;
- var LowPriority = 4;
- var IdlePriority = 5;
- function markTaskErrored(task, ms) {}
- var hasPerformanceNow = typeof performance === "object" && typeof performance.now === "function";
- if (hasPerformanceNow) {
- var localPerformance = performance;
- exports.unstable_now = function() {
- return localPerformance.now();
- };
- } else {
- var localDate = Date;
- var initialTime = localDate.now();
- exports.unstable_now = function() {
- return localDate.now() - initialTime;
- };
- }
- var maxSigned31BitInt = 1073741823;
- var IMMEDIATE_PRIORITY_TIMEOUT = -1;
- var USER_BLOCKING_PRIORITY_TIMEOUT = 250;
- var NORMAL_PRIORITY_TIMEOUT = 5e3;
- var LOW_PRIORITY_TIMEOUT = 1e4;
- var IDLE_PRIORITY_TIMEOUT = maxSigned31BitInt;
- var taskQueue = [];
- var timerQueue = [];
- var taskIdCounter = 1;
- var currentTask = null;
- var currentPriorityLevel = NormalPriority;
- var isPerformingWork = false;
- var isHostCallbackScheduled = false;
- var isHostTimeoutScheduled = false;
- var localSetTimeout = typeof setTimeout === "function" ? setTimeout : null;
- var localClearTimeout = typeof clearTimeout === "function" ? clearTimeout : null;
- var localSetImmediate = typeof setImmediate !== "undefined" ? setImmediate : null;
- var isInputPending = typeof navigator !== "undefined" && navigator.scheduling !== void 0 && navigator.scheduling.isInputPending !== void 0 ? navigator.scheduling.isInputPending.bind(navigator.scheduling) : null;
- function advanceTimers(currentTime) {
- var timer = peek(timerQueue);
- while(timer !== null){
- if (timer.callback === null) {
- pop(timerQueue);
- } else if (timer.startTime <= currentTime) {
- pop(timerQueue);
- timer.sortIndex = timer.expirationTime;
- push(taskQueue, timer);
- } else {
- return;
- }
- timer = peek(timerQueue);
- }
- }
- function handleTimeout(currentTime) {
- isHostTimeoutScheduled = false;
- advanceTimers(currentTime);
- if (!isHostCallbackScheduled) {
- if (peek(taskQueue) !== null) {
- isHostCallbackScheduled = true;
- requestHostCallback(flushWork);
- } else {
- var firstTimer = peek(timerQueue);
- if (firstTimer !== null) {
- requestHostTimeout(handleTimeout, firstTimer.startTime - currentTime);
- }
- }
- }
- }
- function flushWork(hasTimeRemaining, initialTime2) {
- isHostCallbackScheduled = false;
- if (isHostTimeoutScheduled) {
- isHostTimeoutScheduled = false;
- cancelHostTimeout();
- }
- isPerformingWork = true;
- var previousPriorityLevel = currentPriorityLevel;
- try {
- if (enableProfiling) {
- try {
- return workLoop(hasTimeRemaining, initialTime2);
- } catch (error) {
- if (currentTask !== null) {
- var currentTime = exports.unstable_now();
- markTaskErrored(currentTask, currentTime);
- currentTask.isQueued = false;
- }
- throw error;
- }
- } else {
- return workLoop(hasTimeRemaining, initialTime2);
- }
- } finally{
- currentTask = null;
- currentPriorityLevel = previousPriorityLevel;
- isPerformingWork = false;
- }
- }
- function workLoop(hasTimeRemaining, initialTime2) {
- var currentTime = initialTime2;
- advanceTimers(currentTime);
- currentTask = peek(taskQueue);
- while(currentTask !== null && !enableSchedulerDebugging){
- if (currentTask.expirationTime > currentTime && (!hasTimeRemaining || shouldYieldToHost())) {
- break;
- }
- var callback = currentTask.callback;
- if (typeof callback === "function") {
- currentTask.callback = null;
- currentPriorityLevel = currentTask.priorityLevel;
- var didUserCallbackTimeout = currentTask.expirationTime <= currentTime;
- var continuationCallback = callback(didUserCallbackTimeout);
- currentTime = exports.unstable_now();
- if (typeof continuationCallback === "function") {
- currentTask.callback = continuationCallback;
- } else {
- if (currentTask === peek(taskQueue)) {
- pop(taskQueue);
- }
- }
- advanceTimers(currentTime);
- } else {
- pop(taskQueue);
- }
- currentTask = peek(taskQueue);
- }
- if (currentTask !== null) {
- return true;
- } else {
- var firstTimer = peek(timerQueue);
- if (firstTimer !== null) {
- requestHostTimeout(handleTimeout, firstTimer.startTime - currentTime);
- }
- return false;
- }
- }
- function unstable_runWithPriority(priorityLevel, eventHandler) {
- switch(priorityLevel){
- case ImmediatePriority:
- case UserBlockingPriority:
- case NormalPriority:
- case LowPriority:
- case IdlePriority:
- break;
- default:
- priorityLevel = NormalPriority;
- }
- var previousPriorityLevel = currentPriorityLevel;
- currentPriorityLevel = priorityLevel;
- try {
- return eventHandler();
- } finally{
- currentPriorityLevel = previousPriorityLevel;
- }
- }
- function unstable_next(eventHandler) {
- var priorityLevel;
- switch(currentPriorityLevel){
- case ImmediatePriority:
- case UserBlockingPriority:
- case NormalPriority:
- priorityLevel = NormalPriority;
- break;
- default:
- priorityLevel = currentPriorityLevel;
- break;
- }
- var previousPriorityLevel = currentPriorityLevel;
- currentPriorityLevel = priorityLevel;
- try {
- return eventHandler();
- } finally{
- currentPriorityLevel = previousPriorityLevel;
- }
- }
- function unstable_wrapCallback(callback) {
- var parentPriorityLevel = currentPriorityLevel;
- return function() {
- var previousPriorityLevel = currentPriorityLevel;
- currentPriorityLevel = parentPriorityLevel;
- try {
- return callback.apply(this, arguments);
- } finally{
- currentPriorityLevel = previousPriorityLevel;
- }
- };
- }
- function unstable_scheduleCallback(priorityLevel, callback, options) {
- var currentTime = exports.unstable_now();
- var startTime2;
- if (typeof options === "object" && options !== null) {
- var delay = options.delay;
- if (typeof delay === "number" && delay > 0) {
- startTime2 = currentTime + delay;
- } else {
- startTime2 = currentTime;
- }
- } else {
- startTime2 = currentTime;
- }
- var timeout;
- switch(priorityLevel){
- case ImmediatePriority:
- timeout = IMMEDIATE_PRIORITY_TIMEOUT;
- break;
- case UserBlockingPriority:
- timeout = USER_BLOCKING_PRIORITY_TIMEOUT;
- break;
- case IdlePriority:
- timeout = IDLE_PRIORITY_TIMEOUT;
- break;
- case LowPriority:
- timeout = LOW_PRIORITY_TIMEOUT;
- break;
- case NormalPriority:
- default:
- timeout = NORMAL_PRIORITY_TIMEOUT;
- break;
- }
- var expirationTime = startTime2 + timeout;
- var newTask = {
- id: taskIdCounter++,
- callback,
- priorityLevel,
- startTime: startTime2,
- expirationTime,
- sortIndex: -1
- };
- if (startTime2 > currentTime) {
- newTask.sortIndex = startTime2;
- push(timerQueue, newTask);
- if (peek(taskQueue) === null && newTask === peek(timerQueue)) {
- if (isHostTimeoutScheduled) {
- cancelHostTimeout();
- } else {
- isHostTimeoutScheduled = true;
- }
- requestHostTimeout(handleTimeout, startTime2 - currentTime);
- }
- } else {
- newTask.sortIndex = expirationTime;
- push(taskQueue, newTask);
- if (!isHostCallbackScheduled && !isPerformingWork) {
- isHostCallbackScheduled = true;
- requestHostCallback(flushWork);
- }
- }
- return newTask;
- }
- function unstable_pauseExecution() {}
- function unstable_continueExecution() {
- if (!isHostCallbackScheduled && !isPerformingWork) {
- isHostCallbackScheduled = true;
- requestHostCallback(flushWork);
- }
- }
- function unstable_getFirstCallbackNode() {
- return peek(taskQueue);
- }
- function unstable_cancelCallback(task) {
- task.callback = null;
- }
- function unstable_getCurrentPriorityLevel() {
- return currentPriorityLevel;
- }
- var isMessageLoopRunning = false;
- var scheduledHostCallback = null;
- var taskTimeoutID = -1;
- var frameInterval = frameYieldMs;
- var startTime = -1;
- function shouldYieldToHost() {
- var timeElapsed = exports.unstable_now() - startTime;
- if (timeElapsed < frameInterval) {
- return false;
- }
- return true;
- }
- function requestPaint() {}
- function forceFrameRate(fps) {
- if (fps < 0 || fps > 125) {
- console["error"]("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");
- return;
- }
- if (fps > 0) {
- frameInterval = Math.floor(1e3 / fps);
- } else {
- frameInterval = frameYieldMs;
- }
- }
- var performWorkUntilDeadline = function() {
- if (scheduledHostCallback !== null) {
- var currentTime = exports.unstable_now();
- startTime = currentTime;
- var hasTimeRemaining = true;
- var hasMoreWork = true;
- try {
- hasMoreWork = scheduledHostCallback(hasTimeRemaining, currentTime);
- } finally{
- if (hasMoreWork) {
- schedulePerformWorkUntilDeadline();
- } else {
- isMessageLoopRunning = false;
- scheduledHostCallback = null;
- }
- }
- } else {
- isMessageLoopRunning = false;
- }
- };
- var schedulePerformWorkUntilDeadline;
- if (typeof localSetImmediate === "function") {
- schedulePerformWorkUntilDeadline = function() {
- localSetImmediate(performWorkUntilDeadline);
- };
- } else if (typeof MessageChannel !== "undefined") {
- var channel = new MessageChannel();
- var port = channel.port2;
- channel.port1.onmessage = performWorkUntilDeadline;
- schedulePerformWorkUntilDeadline = function() {
- port.postMessage(null);
- };
- } else {
- schedulePerformWorkUntilDeadline = function() {
- localSetTimeout(performWorkUntilDeadline, 0);
- };
- }
- function requestHostCallback(callback) {
- scheduledHostCallback = callback;
- if (!isMessageLoopRunning) {
- isMessageLoopRunning = true;
- schedulePerformWorkUntilDeadline();
- }
- }
- function requestHostTimeout(callback, ms) {
- taskTimeoutID = localSetTimeout(function() {
- callback(exports.unstable_now());
- }, ms);
- }
- function cancelHostTimeout() {
- localClearTimeout(taskTimeoutID);
- taskTimeoutID = -1;
- }
- var unstable_requestPaint = requestPaint;
- var unstable_Profiling = null;
- exports.unstable_IdlePriority = IdlePriority;
- exports.unstable_ImmediatePriority = ImmediatePriority;
- exports.unstable_LowPriority = LowPriority;
- exports.unstable_NormalPriority = NormalPriority;
- exports.unstable_Profiling = unstable_Profiling;
- exports.unstable_UserBlockingPriority = UserBlockingPriority;
- exports.unstable_cancelCallback = unstable_cancelCallback;
- exports.unstable_continueExecution = unstable_continueExecution;
- exports.unstable_forceFrameRate = forceFrameRate;
- exports.unstable_getCurrentPriorityLevel = unstable_getCurrentPriorityLevel;
- exports.unstable_getFirstCallbackNode = unstable_getFirstCallbackNode;
- exports.unstable_next = unstable_next;
- exports.unstable_pauseExecution = unstable_pauseExecution;
- exports.unstable_requestPaint = unstable_requestPaint;
- exports.unstable_runWithPriority = unstable_runWithPriority;
- exports.unstable_scheduleCallback = unstable_scheduleCallback;
- exports.unstable_shouldYield = shouldYieldToHost;
- exports.unstable_wrapCallback = unstable_wrapCallback;
- if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== "undefined" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop === "function") {
- __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
- }
- })();
- }
- }
-});
-// node_modules/.pnpm/scheduler@0.23.2/node_modules/scheduler/index.js
-var require_scheduler = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_3__.__commonJS)({
- "node_modules/.pnpm/scheduler@0.23.2/node_modules/scheduler/index.js" (exports, module) {
- "use strict";
- if (false) {} else {
- module.exports = require_scheduler_development();
- }
- }
-});
-// node_modules/.pnpm/react-reconciler@0.29.0_react@18.3.1/node_modules/react-reconciler/cjs/react-reconciler.production.min.js
-var require_react_reconciler_production_min = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_3__.__commonJS)({
- "node_modules/.pnpm/react-reconciler@0.29.0_react@18.3.1/node_modules/react-reconciler/cjs/react-reconciler.production.min.js" (exports, module) {
- module.exports = function $$$reconciler($$$hostConfig) {
- var exports2 = {};
- "use strict";
- var aa = (0,_chunk_6TBQVUF2_js__WEBPACK_IMPORTED_MODULE_2__.require_react)(), ba = require_scheduler(), ca = Object.assign;
- function m(a) {
- for(var b = "https://reactjs.org/docs/error-decoder.html?invariant=" + a, c = 1; c < arguments.length; c++)b += "&args[]=" + encodeURIComponent(arguments[c]);
- return "Minified React error #" + a + "; visit " + b + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
- }
- var da = aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, ea = Symbol.for("react.element"), fa = Symbol.for("react.portal"), ha = Symbol.for("react.fragment"), ia = Symbol.for("react.strict_mode"), ja = Symbol.for("react.profiler"), ka = Symbol.for("react.provider"), la = Symbol.for("react.context"), ma = Symbol.for("react.forward_ref"), na = Symbol.for("react.suspense"), oa = Symbol.for("react.suspense_list"), pa = Symbol.for("react.memo"), qa = Symbol.for("react.lazy");
- Symbol.for("react.scope");
- Symbol.for("react.debug_trace_mode");
- var ra = Symbol.for("react.offscreen");
- Symbol.for("react.legacy_hidden");
- Symbol.for("react.cache");
- Symbol.for("react.tracing_marker");
- var sa = Symbol.iterator;
- function ta(a) {
- if (null === a || "object" !== typeof a) return null;
- a = sa && a[sa] || a["@@iterator"];
- return "function" === typeof a ? a : null;
- }
- function ua(a) {
- if (null == a) return null;
- if ("function" === typeof a) return a.displayName || a.name || null;
- if ("string" === typeof a) return a;
- switch(a){
- case ha:
- return "Fragment";
- case fa:
- return "Portal";
- case ja:
- return "Profiler";
- case ia:
- return "StrictMode";
- case na:
- return "Suspense";
- case oa:
- return "SuspenseList";
- }
- if ("object" === typeof a) switch(a.$$typeof){
- case la:
- return (a.displayName || "Context") + ".Consumer";
- case ka:
- return (a._context.displayName || "Context") + ".Provider";
- case ma:
- var b = a.render;
- a = a.displayName;
- a || (a = b.displayName || b.name || "", a = "" !== a ? "ForwardRef(" + a + ")" : "ForwardRef");
- return a;
- case pa:
- return b = a.displayName || null, null !== b ? b : ua(a.type) || "Memo";
- case qa:
- b = a._payload;
- a = a._init;
- try {
- return ua(a(b));
- } catch (c) {}
- }
- return null;
- }
- function va(a) {
- var b = a.type;
- switch(a.tag){
- case 24:
- return "Cache";
- case 9:
- return (b.displayName || "Context") + ".Consumer";
- case 10:
- return (b._context.displayName || "Context") + ".Provider";
- case 18:
- return "DehydratedFragment";
- case 11:
- return a = b.render, a = a.displayName || a.name || "", b.displayName || ("" !== a ? "ForwardRef(" + a + ")" : "ForwardRef");
- case 7:
- return "Fragment";
- case 5:
- return b;
- case 4:
- return "Portal";
- case 3:
- return "Root";
- case 6:
- return "Text";
- case 16:
- return ua(b);
- case 8:
- return b === ia ? "StrictMode" : "Mode";
- case 22:
- return "Offscreen";
- case 12:
- return "Profiler";
- case 21:
- return "Scope";
- case 13:
- return "Suspense";
- case 19:
- return "SuspenseList";
- case 25:
- return "TracingMarker";
- case 1:
- case 0:
- case 17:
- case 2:
- case 14:
- case 15:
- if ("function" === typeof b) return b.displayName || b.name || null;
- if ("string" === typeof b) return b;
- }
- return null;
- }
- function wa(a) {
- var b = a, c = a;
- if (a.alternate) for(; b.return;)b = b.return;
- else {
- a = b;
- do b = a, 0 !== (b.flags & 4098) && (c = b.return), a = b.return;
- while (a)
- }
- return 3 === b.tag ? c : null;
- }
- function xa(a) {
- if (wa(a) !== a) throw Error(m(188));
- }
- function ya(a) {
- var b = a.alternate;
- if (!b) {
- b = wa(a);
- if (null === b) throw Error(m(188));
- return b !== a ? null : a;
- }
- for(var c = a, d = b;;){
- var e = c.return;
- if (null === e) break;
- var f = e.alternate;
- if (null === f) {
- d = e.return;
- if (null !== d) {
- c = d;
- continue;
- }
- break;
- }
- if (e.child === f.child) {
- for(f = e.child; f;){
- if (f === c) return xa(e), a;
- if (f === d) return xa(e), b;
- f = f.sibling;
- }
- throw Error(m(188));
- }
- if (c.return !== d.return) c = e, d = f;
- else {
- for(var g = false, h = e.child; h;){
- if (h === c) {
- g = true;
- c = e;
- d = f;
- break;
- }
- if (h === d) {
- g = true;
- d = e;
- c = f;
- break;
- }
- h = h.sibling;
- }
- if (!g) {
- for(h = f.child; h;){
- if (h === c) {
- g = true;
- c = f;
- d = e;
- break;
- }
- if (h === d) {
- g = true;
- d = f;
- c = e;
- break;
- }
- h = h.sibling;
- }
- if (!g) throw Error(m(189));
- }
- }
- if (c.alternate !== d) throw Error(m(190));
- }
- if (3 !== c.tag) throw Error(m(188));
- return c.stateNode.current === c ? a : b;
- }
- function Aa(a) {
- a = ya(a);
- return null !== a ? Ba(a) : null;
- }
- function Ba(a) {
- if (5 === a.tag || 6 === a.tag) return a;
- for(a = a.child; null !== a;){
- var b = Ba(a);
- if (null !== b) return b;
- a = a.sibling;
- }
- return null;
- }
- function Ca(a) {
- if (5 === a.tag || 6 === a.tag) return a;
- for(a = a.child; null !== a;){
- if (4 !== a.tag) {
- var b = Ca(a);
- if (null !== b) return b;
- }
- a = a.sibling;
- }
- return null;
- }
- var Da = Array.isArray, Ea = $$$hostConfig.getPublicInstance, Fa = $$$hostConfig.getRootHostContext, Ga = $$$hostConfig.getChildHostContext, Ha = $$$hostConfig.prepareForCommit, Ia = $$$hostConfig.resetAfterCommit, Ja = $$$hostConfig.createInstance, Ka = $$$hostConfig.appendInitialChild, La = $$$hostConfig.finalizeInitialChildren, Ma = $$$hostConfig.prepareUpdate, Na = $$$hostConfig.shouldSetTextContent, Oa = $$$hostConfig.createTextInstance, Pa = $$$hostConfig.scheduleTimeout, Qa = $$$hostConfig.cancelTimeout, Ra = $$$hostConfig.noTimeout, Sa = $$$hostConfig.isPrimaryRenderer, Ta = $$$hostConfig.supportsMutation, Ua = $$$hostConfig.supportsPersistence, Va = $$$hostConfig.supportsHydration, Wa = $$$hostConfig.getInstanceFromNode, Xa = $$$hostConfig.preparePortalMount, Ya = $$$hostConfig.getCurrentEventPriority, Za = $$$hostConfig.detachDeletedInstance, $a = $$$hostConfig.supportsMicrotasks, ab = $$$hostConfig.scheduleMicrotask, bb = $$$hostConfig.supportsTestSelectors, cb = $$$hostConfig.findFiberRoot, db = $$$hostConfig.getBoundingRect, eb = $$$hostConfig.getTextContent, fb = $$$hostConfig.isHiddenSubtree, gb = $$$hostConfig.matchAccessibilityRole, hb = $$$hostConfig.setFocusIfFocusable, ib = $$$hostConfig.setupIntersectionObserver, jb = $$$hostConfig.appendChild, kb = $$$hostConfig.appendChildToContainer, lb = $$$hostConfig.commitTextUpdate, mb = $$$hostConfig.commitMount, nb = $$$hostConfig.commitUpdate, ob = $$$hostConfig.insertBefore, pb = $$$hostConfig.insertInContainerBefore, qb = $$$hostConfig.removeChild, rb = $$$hostConfig.removeChildFromContainer, sb = $$$hostConfig.resetTextContent, tb = $$$hostConfig.hideInstance, ub = $$$hostConfig.hideTextInstance, vb = $$$hostConfig.unhideInstance, wb = $$$hostConfig.unhideTextInstance, xb = $$$hostConfig.clearContainer, yb = $$$hostConfig.cloneInstance, zb = $$$hostConfig.createContainerChildSet, Ab = $$$hostConfig.appendChildToContainerChildSet, Bb = $$$hostConfig.finalizeContainerChildren, Cb = $$$hostConfig.replaceContainerChildren, Eb = $$$hostConfig.cloneHiddenInstance, Fb = $$$hostConfig.cloneHiddenTextInstance, Gb = $$$hostConfig.canHydrateInstance, Hb = $$$hostConfig.canHydrateTextInstance, Ib = $$$hostConfig.canHydrateSuspenseInstance, Jb = $$$hostConfig.isSuspenseInstancePending, Kb = $$$hostConfig.isSuspenseInstanceFallback, Lb = $$$hostConfig.getSuspenseInstanceFallbackErrorDetails, Mb = $$$hostConfig.registerSuspenseInstanceRetry, Nb = $$$hostConfig.getNextHydratableSibling, Ob = $$$hostConfig.getFirstHydratableChild, Pb = $$$hostConfig.getFirstHydratableChildWithinContainer, Qb = $$$hostConfig.getFirstHydratableChildWithinSuspenseInstance, Rb = $$$hostConfig.hydrateInstance, Sb = $$$hostConfig.hydrateTextInstance, Tb = $$$hostConfig.hydrateSuspenseInstance, Ub = $$$hostConfig.getNextHydratableInstanceAfterSuspenseInstance, Vb = $$$hostConfig.commitHydratedContainer, Wb = $$$hostConfig.commitHydratedSuspenseInstance, Xb = $$$hostConfig.clearSuspenseBoundary, Yb = $$$hostConfig.clearSuspenseBoundaryFromContainer, Zb = $$$hostConfig.shouldDeleteUnhydratedTailInstances, $b = $$$hostConfig.didNotMatchHydratedContainerTextInstance, ac = $$$hostConfig.didNotMatchHydratedTextInstance, bc;
- function cc(a) {
- if (void 0 === bc) try {
- throw Error();
- } catch (c) {
- var b = c.stack.trim().match(/\n( *(at )?)/);
- bc = b && b[1] || "";
- }
- return "\n" + bc + a;
- }
- var dc = false;
- function ec(a, b) {
- if (!a || dc) return "";
- dc = true;
- var c = Error.prepareStackTrace;
- Error.prepareStackTrace = void 0;
- try {
- if (b) if (b = function() {
- throw Error();
- }, Object.defineProperty(b.prototype, "props", {
- set: function() {
- throw Error();
- }
- }), "object" === typeof Reflect && Reflect.construct) {
- try {
- Reflect.construct(b, []);
- } catch (l) {
- var d = l;
- }
- Reflect.construct(a, [], b);
- } else {
- try {
- b.call();
- } catch (l) {
- d = l;
- }
- a.call(b.prototype);
- }
- else {
- try {
- throw Error();
- } catch (l) {
- d = l;
- }
- a();
- }
- } catch (l) {
- if (l && d && "string" === typeof l.stack) {
- for(var e = l.stack.split("\n"), f = d.stack.split("\n"), g = e.length - 1, h = f.length - 1; 1 <= g && 0 <= h && e[g] !== f[h];)h--;
- for(; 1 <= g && 0 <= h; g--, h--)if (e[g] !== f[h]) {
- if (1 !== g || 1 !== h) {
- do if (g--, h--, 0 > h || e[g] !== f[h]) {
- var k = "\n" + e[g].replace(" at new ", " at ");
- a.displayName && k.includes("") && (k = k.replace("", a.displayName));
- return k;
- }
- while (1 <= g && 0 <= h)
- }
- break;
- }
- }
- } finally{
- dc = false, Error.prepareStackTrace = c;
- }
- return (a = a ? a.displayName || a.name : "") ? cc(a) : "";
- }
- var fc = Object.prototype.hasOwnProperty, gc = [], hc = -1;
- function ic(a) {
- return {
- current: a
- };
- }
- function q(a) {
- 0 > hc || (a.current = gc[hc], gc[hc] = null, hc--);
- }
- function v(a, b) {
- hc++;
- gc[hc] = a.current;
- a.current = b;
- }
- var jc = {}, x = ic(jc), z = ic(false), kc = jc;
- function lc(a, b) {
- var c = a.type.contextTypes;
- if (!c) return jc;
- var d = a.stateNode;
- if (d && d.__reactInternalMemoizedUnmaskedChildContext === b) return d.__reactInternalMemoizedMaskedChildContext;
- var e = {}, f;
- for(f in c)e[f] = b[f];
- d && (a = a.stateNode, a.__reactInternalMemoizedUnmaskedChildContext = b, a.__reactInternalMemoizedMaskedChildContext = e);
- return e;
- }
- function A(a) {
- a = a.childContextTypes;
- return null !== a && void 0 !== a;
- }
- function mc() {
- q(z);
- q(x);
- }
- function nc(a, b, c) {
- if (x.current !== jc) throw Error(m(168));
- v(x, b);
- v(z, c);
- }
- function oc(a, b, c) {
- var d = a.stateNode;
- b = b.childContextTypes;
- if ("function" !== typeof d.getChildContext) return c;
- d = d.getChildContext();
- for(var e in d)if (!(e in b)) throw Error(m(108, va(a) || "Unknown", e));
- return ca({}, c, d);
- }
- function pc(a) {
- a = (a = a.stateNode) && a.__reactInternalMemoizedMergedChildContext || jc;
- kc = x.current;
- v(x, a);
- v(z, z.current);
- return true;
- }
- function rc(a, b, c) {
- var d = a.stateNode;
- if (!d) throw Error(m(169));
- c ? (a = oc(a, b, kc), d.__reactInternalMemoizedMergedChildContext = a, q(z), q(x), v(x, a)) : q(z);
- v(z, c);
- }
- var tc = Math.clz32 ? Math.clz32 : sc, uc = Math.log, vc = Math.LN2;
- function sc(a) {
- a >>>= 0;
- return 0 === a ? 32 : 31 - (uc(a) / vc | 0) | 0;
- }
- var wc = 64, xc = 4194304;
- function yc(a) {
- switch(a & -a){
- case 1:
- return 1;
- case 2:
- return 2;
- case 4:
- return 4;
- case 8:
- return 8;
- case 16:
- return 16;
- case 32:
- return 32;
- case 64:
- case 128:
- case 256:
- case 512:
- case 1024:
- case 2048:
- case 4096:
- case 8192:
- case 16384:
- case 32768:
- case 65536:
- case 131072:
- case 262144:
- case 524288:
- case 1048576:
- case 2097152:
- return a & 4194240;
- case 4194304:
- case 8388608:
- case 16777216:
- case 33554432:
- case 67108864:
- return a & 130023424;
- case 134217728:
- return 134217728;
- case 268435456:
- return 268435456;
- case 536870912:
- return 536870912;
- case 1073741824:
- return 1073741824;
- default:
- return a;
- }
- }
- function zc(a, b) {
- var c = a.pendingLanes;
- if (0 === c) return 0;
- var d = 0, e = a.suspendedLanes, f = a.pingedLanes, g = c & 268435455;
- if (0 !== g) {
- var h = g & ~e;
- 0 !== h ? d = yc(h) : (f &= g, 0 !== f && (d = yc(f)));
- } else g = c & ~e, 0 !== g ? d = yc(g) : 0 !== f && (d = yc(f));
- if (0 === d) return 0;
- if (0 !== b && b !== d && 0 === (b & e) && (e = d & -d, f = b & -b, e >= f || 16 === e && 0 !== (f & 4194240))) return b;
- 0 !== (d & 4) && (d |= c & 16);
- b = a.entangledLanes;
- if (0 !== b) for(a = a.entanglements, b &= d; 0 < b;)c = 31 - tc(b), e = 1 << c, d |= a[c], b &= ~e;
- return d;
- }
- function Ac(a, b) {
- switch(a){
- case 1:
- case 2:
- case 4:
- return b + 250;
- case 8:
- case 16:
- case 32:
- case 64:
- case 128:
- case 256:
- case 512:
- case 1024:
- case 2048:
- case 4096:
- case 8192:
- case 16384:
- case 32768:
- case 65536:
- case 131072:
- case 262144:
- case 524288:
- case 1048576:
- case 2097152:
- return b + 5e3;
- case 4194304:
- case 8388608:
- case 16777216:
- case 33554432:
- case 67108864:
- return -1;
- case 134217728:
- case 268435456:
- case 536870912:
- case 1073741824:
- return -1;
- default:
- return -1;
- }
- }
- function Bc(a, b) {
- for(var c = a.suspendedLanes, d = a.pingedLanes, e = a.expirationTimes, f = a.pendingLanes; 0 < f;){
- var g = 31 - tc(f), h = 1 << g, k = e[g];
- if (-1 === k) {
- if (0 === (h & c) || 0 !== (h & d)) e[g] = Ac(h, b);
- } else k <= b && (a.expiredLanes |= h);
- f &= ~h;
- }
- }
- function Cc(a) {
- a = a.pendingLanes & -1073741825;
- return 0 !== a ? a : a & 1073741824 ? 1073741824 : 0;
- }
- function Dc() {
- var a = wc;
- wc <<= 1;
- 0 === (wc & 4194240) && (wc = 64);
- return a;
- }
- function Ec(a) {
- for(var b = [], c = 0; 31 > c; c++)b.push(a);
- return b;
- }
- function Fc(a, b, c) {
- a.pendingLanes |= b;
- 536870912 !== b && (a.suspendedLanes = 0, a.pingedLanes = 0);
- a = a.eventTimes;
- b = 31 - tc(b);
- a[b] = c;
- }
- function Gc(a, b) {
- var c = a.pendingLanes & ~b;
- a.pendingLanes = b;
- a.suspendedLanes = 0;
- a.pingedLanes = 0;
- a.expiredLanes &= b;
- a.mutableReadLanes &= b;
- a.entangledLanes &= b;
- b = a.entanglements;
- var d = a.eventTimes;
- for(a = a.expirationTimes; 0 < c;){
- var e = 31 - tc(c), f = 1 << e;
- b[e] = 0;
- d[e] = -1;
- a[e] = -1;
- c &= ~f;
- }
- }
- function Hc(a, b) {
- var c = a.entangledLanes |= b;
- for(a = a.entanglements; c;){
- var d = 31 - tc(c), e = 1 << d;
- e & b | a[d] & b && (a[d] |= b);
- c &= ~e;
- }
- }
- var C = 0;
- function Ic(a) {
- a &= -a;
- return 1 < a ? 4 < a ? 0 !== (a & 268435455) ? 16 : 536870912 : 4 : 1;
- }
- var Jc = ba.unstable_scheduleCallback, Kc = ba.unstable_cancelCallback, Lc = ba.unstable_shouldYield, Mc = ba.unstable_requestPaint, D = ba.unstable_now, Nc = ba.unstable_ImmediatePriority, Oc = ba.unstable_UserBlockingPriority, Pc = ba.unstable_NormalPriority, Qc = ba.unstable_IdlePriority, Rc = null, Sc = null;
- function Tc(a) {
- if (Sc && "function" === typeof Sc.onCommitFiberRoot) try {
- Sc.onCommitFiberRoot(Rc, a, void 0, 128 === (a.current.flags & 128));
- } catch (b) {}
- }
- function Uc(a, b) {
- return a === b && (0 !== a || 1 / a === 1 / b) || a !== a && b !== b;
- }
- var Vc = "function" === typeof Object.is ? Object.is : Uc, Wc = null, Xc = false, Yc = false;
- function Zc(a) {
- null === Wc ? Wc = [
- a
- ] : Wc.push(a);
- }
- function $c(a) {
- Xc = true;
- Zc(a);
- }
- function ad() {
- if (!Yc && null !== Wc) {
- Yc = true;
- var a = 0, b = C;
- try {
- var c = Wc;
- for(C = 1; a < c.length; a++){
- var d = c[a];
- do d = d(true);
- while (null !== d)
- }
- Wc = null;
- Xc = false;
- } catch (e) {
- throw null !== Wc && (Wc = Wc.slice(a + 1)), Jc(Nc, ad), e;
- } finally{
- C = b, Yc = false;
- }
- }
- return null;
- }
- var bd = [], cd = 0, dd = null, ed = 0, fd = [], gd = 0, hd = null, id = 1, jd = "";
- function kd(a, b) {
- bd[cd++] = ed;
- bd[cd++] = dd;
- dd = a;
- ed = b;
- }
- function ld(a, b, c) {
- fd[gd++] = id;
- fd[gd++] = jd;
- fd[gd++] = hd;
- hd = a;
- var d = id;
- a = jd;
- var e = 32 - tc(d) - 1;
- d &= ~(1 << e);
- c += 1;
- var f = 32 - tc(b) + e;
- if (30 < f) {
- var g = e - e % 5;
- f = (d & (1 << g) - 1).toString(32);
- d >>= g;
- e -= g;
- id = 1 << 32 - tc(b) + e | c << e | d;
- jd = f + a;
- } else id = 1 << f | c << e | d, jd = a;
- }
- function md(a) {
- null !== a.return && (kd(a, 1), ld(a, 1, 0));
- }
- function nd(a) {
- for(; a === dd;)dd = bd[--cd], bd[cd] = null, ed = bd[--cd], bd[cd] = null;
- for(; a === hd;)hd = fd[--gd], fd[gd] = null, jd = fd[--gd], fd[gd] = null, id = fd[--gd], fd[gd] = null;
- }
- var od = null, pd = null, F = false, qd = false, rd = null;
- function sd(a, b) {
- var c = td(5, null, null, 0);
- c.elementType = "DELETED";
- c.stateNode = b;
- c.return = a;
- b = a.deletions;
- null === b ? (a.deletions = [
- c
- ], a.flags |= 16) : b.push(c);
- }
- function ud(a, b) {
- switch(a.tag){
- case 5:
- return b = Gb(b, a.type, a.pendingProps), null !== b ? (a.stateNode = b, od = a, pd = Ob(b), true) : false;
- case 6:
- return b = Hb(b, a.pendingProps), null !== b ? (a.stateNode = b, od = a, pd = null, true) : false;
- case 13:
- b = Ib(b);
- if (null !== b) {
- var c = null !== hd ? {
- id,
- overflow: jd
- } : null;
- a.memoizedState = {
- dehydrated: b,
- treeContext: c,
- retryLane: 1073741824
- };
- c = td(18, null, null, 0);
- c.stateNode = b;
- c.return = a;
- a.child = c;
- od = a;
- pd = null;
- return true;
- }
- return false;
- default:
- return false;
- }
- }
- function vd(a) {
- return 0 !== (a.mode & 1) && 0 === (a.flags & 128);
- }
- function wd(a) {
- if (F) {
- var b = pd;
- if (b) {
- var c = b;
- if (!ud(a, b)) {
- if (vd(a)) throw Error(m(418));
- b = Nb(c);
- var d = od;
- b && ud(a, b) ? sd(d, c) : (a.flags = a.flags & -4097 | 2, F = false, od = a);
- }
- } else {
- if (vd(a)) throw Error(m(418));
- a.flags = a.flags & -4097 | 2;
- F = false;
- od = a;
- }
- }
- }
- function xd(a) {
- for(a = a.return; null !== a && 5 !== a.tag && 3 !== a.tag && 13 !== a.tag;)a = a.return;
- od = a;
- }
- function yd(a) {
- if (!Va || a !== od) return false;
- if (!F) return xd(a), F = true, false;
- if (3 !== a.tag && (5 !== a.tag || Zb(a.type) && !Na(a.type, a.memoizedProps))) {
- var b = pd;
- if (b) {
- if (vd(a)) throw zd(), Error(m(418));
- for(; b;)sd(a, b), b = Nb(b);
- }
- }
- xd(a);
- if (13 === a.tag) {
- if (!Va) throw Error(m(316));
- a = a.memoizedState;
- a = null !== a ? a.dehydrated : null;
- if (!a) throw Error(m(317));
- pd = Ub(a);
- } else pd = od ? Nb(a.stateNode) : null;
- return true;
- }
- function zd() {
- for(var a = pd; a;)a = Nb(a);
- }
- function Ad() {
- Va && (pd = od = null, qd = F = false);
- }
- function Bd(a) {
- null === rd ? rd = [
- a
- ] : rd.push(a);
- }
- var Cd = da.ReactCurrentBatchConfig;
- function Dd(a, b) {
- if (Vc(a, b)) return true;
- if ("object" !== typeof a || null === a || "object" !== typeof b || null === b) return false;
- var c = Object.keys(a), d = Object.keys(b);
- if (c.length !== d.length) return false;
- for(d = 0; d < c.length; d++){
- var e = c[d];
- if (!fc.call(b, e) || !Vc(a[e], b[e])) return false;
- }
- return true;
- }
- function Ed(a) {
- switch(a.tag){
- case 5:
- return cc(a.type);
- case 16:
- return cc("Lazy");
- case 13:
- return cc("Suspense");
- case 19:
- return cc("SuspenseList");
- case 0:
- case 2:
- case 15:
- return a = ec(a.type, false), a;
- case 11:
- return a = ec(a.type.render, false), a;
- case 1:
- return a = ec(a.type, true), a;
- default:
- return "";
- }
- }
- function Fd(a, b) {
- if (a && a.defaultProps) {
- b = ca({}, b);
- a = a.defaultProps;
- for(var c in a)void 0 === b[c] && (b[c] = a[c]);
- return b;
- }
- return b;
- }
- var Gd = ic(null), Hd = null, Id = null, Jd = null;
- function Kd() {
- Jd = Id = Hd = null;
- }
- function Ld(a, b, c) {
- Sa ? (v(Gd, b._currentValue), b._currentValue = c) : (v(Gd, b._currentValue2), b._currentValue2 = c);
- }
- function Md(a) {
- var b = Gd.current;
- q(Gd);
- Sa ? a._currentValue = b : a._currentValue2 = b;
- }
- function Nd(a, b, c) {
- for(; null !== a;){
- var d = a.alternate;
- (a.childLanes & b) !== b ? (a.childLanes |= b, null !== d && (d.childLanes |= b)) : null !== d && (d.childLanes & b) !== b && (d.childLanes |= b);
- if (a === c) break;
- a = a.return;
- }
- }
- function Od(a, b) {
- Hd = a;
- Jd = Id = null;
- a = a.dependencies;
- null !== a && null !== a.firstContext && (0 !== (a.lanes & b) && (G = true), a.firstContext = null);
- }
- function Pd(a) {
- var b = Sa ? a._currentValue : a._currentValue2;
- if (Jd !== a) if (a = {
- context: a,
- memoizedValue: b,
- next: null
- }, null === Id) {
- if (null === Hd) throw Error(m(308));
- Id = a;
- Hd.dependencies = {
- lanes: 0,
- firstContext: a
- };
- } else Id = Id.next = a;
- return b;
- }
- var Qd = null;
- function Rd(a) {
- null === Qd ? Qd = [
- a
- ] : Qd.push(a);
- }
- function Sd(a, b, c, d) {
- var e = b.interleaved;
- null === e ? (c.next = c, Rd(b)) : (c.next = e.next, e.next = c);
- b.interleaved = c;
- return Td(a, d);
- }
- function Td(a, b) {
- a.lanes |= b;
- var c = a.alternate;
- null !== c && (c.lanes |= b);
- c = a;
- for(a = a.return; null !== a;)a.childLanes |= b, c = a.alternate, null !== c && (c.childLanes |= b), c = a, a = a.return;
- return 3 === c.tag ? c.stateNode : null;
- }
- var Ud = false;
- function Vd(a) {
- a.updateQueue = {
- baseState: a.memoizedState,
- firstBaseUpdate: null,
- lastBaseUpdate: null,
- shared: {
- pending: null,
- interleaved: null,
- lanes: 0
- },
- effects: null
- };
- }
- function Wd(a, b) {
- a = a.updateQueue;
- b.updateQueue === a && (b.updateQueue = {
- baseState: a.baseState,
- firstBaseUpdate: a.firstBaseUpdate,
- lastBaseUpdate: a.lastBaseUpdate,
- shared: a.shared,
- effects: a.effects
- });
- }
- function Xd(a, b) {
- return {
- eventTime: a,
- lane: b,
- tag: 0,
- payload: null,
- callback: null,
- next: null
- };
- }
- function Yd(a, b, c) {
- var d = a.updateQueue;
- if (null === d) return null;
- d = d.shared;
- if (0 !== (H & 2)) {
- var e = d.pending;
- null === e ? b.next = b : (b.next = e.next, e.next = b);
- d.pending = b;
- return Td(a, c);
- }
- e = d.interleaved;
- null === e ? (b.next = b, Rd(d)) : (b.next = e.next, e.next = b);
- d.interleaved = b;
- return Td(a, c);
- }
- function Zd(a, b, c) {
- b = b.updateQueue;
- if (null !== b && (b = b.shared, 0 !== (c & 4194240))) {
- var d = b.lanes;
- d &= a.pendingLanes;
- c |= d;
- b.lanes = c;
- Hc(a, c);
- }
- }
- function $d(a, b) {
- var c = a.updateQueue, d = a.alternate;
- if (null !== d && (d = d.updateQueue, c === d)) {
- var e = null, f = null;
- c = c.firstBaseUpdate;
- if (null !== c) {
- do {
- var g = {
- eventTime: c.eventTime,
- lane: c.lane,
- tag: c.tag,
- payload: c.payload,
- callback: c.callback,
- next: null
- };
- null === f ? e = f = g : f = f.next = g;
- c = c.next;
- }while (null !== c)
- null === f ? e = f = b : f = f.next = b;
- } else e = f = b;
- c = {
- baseState: d.baseState,
- firstBaseUpdate: e,
- lastBaseUpdate: f,
- shared: d.shared,
- effects: d.effects
- };
- a.updateQueue = c;
- return;
- }
- a = c.lastBaseUpdate;
- null === a ? c.firstBaseUpdate = b : a.next = b;
- c.lastBaseUpdate = b;
- }
- function ae(a, b, c, d) {
- var e = a.updateQueue;
- Ud = false;
- var f = e.firstBaseUpdate, g = e.lastBaseUpdate, h = e.shared.pending;
- if (null !== h) {
- e.shared.pending = null;
- var k = h, l = k.next;
- k.next = null;
- null === g ? f = l : g.next = l;
- g = k;
- var n = a.alternate;
- null !== n && (n = n.updateQueue, h = n.lastBaseUpdate, h !== g && (null === h ? n.firstBaseUpdate = l : h.next = l, n.lastBaseUpdate = k));
- }
- if (null !== f) {
- var t = e.baseState;
- g = 0;
- n = l = k = null;
- h = f;
- do {
- var p = h.lane, B = h.eventTime;
- if ((d & p) === p) {
- null !== n && (n = n.next = {
- eventTime: B,
- lane: 0,
- tag: h.tag,
- payload: h.payload,
- callback: h.callback,
- next: null
- });
- a: {
- var w = a, Z = h;
- p = b;
- B = c;
- switch(Z.tag){
- case 1:
- w = Z.payload;
- if ("function" === typeof w) {
- t = w.call(B, t, p);
- break a;
- }
- t = w;
- break a;
- case 3:
- w.flags = w.flags & -65537 | 128;
- case 0:
- w = Z.payload;
- p = "function" === typeof w ? w.call(B, t, p) : w;
- if (null === p || void 0 === p) break a;
- t = ca({}, t, p);
- break a;
- case 2:
- Ud = true;
- }
- }
- null !== h.callback && 0 !== h.lane && (a.flags |= 64, p = e.effects, null === p ? e.effects = [
- h
- ] : p.push(h));
- } else B = {
- eventTime: B,
- lane: p,
- tag: h.tag,
- payload: h.payload,
- callback: h.callback,
- next: null
- }, null === n ? (l = n = B, k = t) : n = n.next = B, g |= p;
- h = h.next;
- if (null === h) if (h = e.shared.pending, null === h) break;
- else p = h, h = p.next, p.next = null, e.lastBaseUpdate = p, e.shared.pending = null;
- }while (1)
- null === n && (k = t);
- e.baseState = k;
- e.firstBaseUpdate = l;
- e.lastBaseUpdate = n;
- b = e.shared.interleaved;
- if (null !== b) {
- e = b;
- do g |= e.lane, e = e.next;
- while (e !== b)
- } else null === f && (e.shared.lanes = 0);
- be |= g;
- a.lanes = g;
- a.memoizedState = t;
- }
- }
- function ce(a, b, c) {
- a = b.effects;
- b.effects = null;
- if (null !== a) for(b = 0; b < a.length; b++){
- var d = a[b], e = d.callback;
- if (null !== e) {
- d.callback = null;
- d = c;
- if ("function" !== typeof e) throw Error(m(191, e));
- e.call(d);
- }
- }
- }
- var de = new aa.Component().refs;
- function ee(a, b, c, d) {
- b = a.memoizedState;
- c = c(d, b);
- c = null === c || void 0 === c ? b : ca({}, b, c);
- a.memoizedState = c;
- 0 === a.lanes && (a.updateQueue.baseState = c);
- }
- var he = {
- isMounted: function(a) {
- return (a = a._reactInternals) ? wa(a) === a : false;
- },
- enqueueSetState: function(a, b, c) {
- a = a._reactInternals;
- var d = I(), e = fe(a), f = Xd(d, e);
- f.payload = b;
- void 0 !== c && null !== c && (f.callback = c);
- b = Yd(a, f, e);
- null !== b && (ge(b, a, e, d), Zd(b, a, e));
- },
- enqueueReplaceState: function(a, b, c) {
- a = a._reactInternals;
- var d = I(), e = fe(a), f = Xd(d, e);
- f.tag = 1;
- f.payload = b;
- void 0 !== c && null !== c && (f.callback = c);
- b = Yd(a, f, e);
- null !== b && (ge(b, a, e, d), Zd(b, a, e));
- },
- enqueueForceUpdate: function(a, b) {
- a = a._reactInternals;
- var c = I(), d = fe(a), e = Xd(c, d);
- e.tag = 2;
- void 0 !== b && null !== b && (e.callback = b);
- b = Yd(a, e, d);
- null !== b && (ge(b, a, d, c), Zd(b, a, d));
- }
- };
- function ie(a, b, c, d, e, f, g) {
- a = a.stateNode;
- return "function" === typeof a.shouldComponentUpdate ? a.shouldComponentUpdate(d, f, g) : b.prototype && b.prototype.isPureReactComponent ? !Dd(c, d) || !Dd(e, f) : true;
- }
- function je(a, b, c) {
- var d = false, e = jc;
- var f = b.contextType;
- "object" === typeof f && null !== f ? f = Pd(f) : (e = A(b) ? kc : x.current, d = b.contextTypes, f = (d = null !== d && void 0 !== d) ? lc(a, e) : jc);
- b = new b(c, f);
- a.memoizedState = null !== b.state && void 0 !== b.state ? b.state : null;
- b.updater = he;
- a.stateNode = b;
- b._reactInternals = a;
- d && (a = a.stateNode, a.__reactInternalMemoizedUnmaskedChildContext = e, a.__reactInternalMemoizedMaskedChildContext = f);
- return b;
- }
- function ke(a, b, c, d) {
- a = b.state;
- "function" === typeof b.componentWillReceiveProps && b.componentWillReceiveProps(c, d);
- "function" === typeof b.UNSAFE_componentWillReceiveProps && b.UNSAFE_componentWillReceiveProps(c, d);
- b.state !== a && he.enqueueReplaceState(b, b.state, null);
- }
- function le(a, b, c, d) {
- var e = a.stateNode;
- e.props = c;
- e.state = a.memoizedState;
- e.refs = de;
- Vd(a);
- var f = b.contextType;
- "object" === typeof f && null !== f ? e.context = Pd(f) : (f = A(b) ? kc : x.current, e.context = lc(a, f));
- e.state = a.memoizedState;
- f = b.getDerivedStateFromProps;
- "function" === typeof f && (ee(a, b, f, c), e.state = a.memoizedState);
- "function" === typeof b.getDerivedStateFromProps || "function" === typeof e.getSnapshotBeforeUpdate || "function" !== typeof e.UNSAFE_componentWillMount && "function" !== typeof e.componentWillMount || (b = e.state, "function" === typeof e.componentWillMount && e.componentWillMount(), "function" === typeof e.UNSAFE_componentWillMount && e.UNSAFE_componentWillMount(), b !== e.state && he.enqueueReplaceState(e, e.state, null), ae(a, c, e, d), e.state = a.memoizedState);
- "function" === typeof e.componentDidMount && (a.flags |= 4194308);
- }
- function me(a, b, c) {
- a = c.ref;
- if (null !== a && "function" !== typeof a && "object" !== typeof a) {
- if (c._owner) {
- c = c._owner;
- if (c) {
- if (1 !== c.tag) throw Error(m(309));
- var d = c.stateNode;
- }
- if (!d) throw Error(m(147, a));
- var e = d, f = "" + a;
- if (null !== b && null !== b.ref && "function" === typeof b.ref && b.ref._stringRef === f) return b.ref;
- b = function(a2) {
- var b2 = e.refs;
- b2 === de && (b2 = e.refs = {});
- null === a2 ? delete b2[f] : b2[f] = a2;
- };
- b._stringRef = f;
- return b;
- }
- if ("string" !== typeof a) throw Error(m(284));
- if (!c._owner) throw Error(m(290, a));
- }
- return a;
- }
- function ne(a, b) {
- a = Object.prototype.toString.call(b);
- throw Error(m(31, "[object Object]" === a ? "object with keys {" + Object.keys(b).join(", ") + "}" : a));
- }
- function oe(a) {
- var b = a._init;
- return b(a._payload);
- }
- function pe(a) {
- function b(b2, c2) {
- if (a) {
- var d2 = b2.deletions;
- null === d2 ? (b2.deletions = [
- c2
- ], b2.flags |= 16) : d2.push(c2);
- }
- }
- function c(c2, d2) {
- if (!a) return null;
- for(; null !== d2;)b(c2, d2), d2 = d2.sibling;
- return null;
- }
- function d(a2, b2) {
- for(a2 = /* @__PURE__ */ new Map(); null !== b2;)null !== b2.key ? a2.set(b2.key, b2) : a2.set(b2.index, b2), b2 = b2.sibling;
- return a2;
- }
- function e(a2, b2) {
- a2 = qe(a2, b2);
- a2.index = 0;
- a2.sibling = null;
- return a2;
- }
- function f(b2, c2, d2) {
- b2.index = d2;
- if (!a) return b2.flags |= 1048576, c2;
- d2 = b2.alternate;
- if (null !== d2) return d2 = d2.index, d2 < c2 ? (b2.flags |= 2, c2) : d2;
- b2.flags |= 2;
- return c2;
- }
- function g(b2) {
- a && null === b2.alternate && (b2.flags |= 2);
- return b2;
- }
- function h(a2, b2, c2, d2) {
- if (null === b2 || 6 !== b2.tag) return b2 = re(c2, a2.mode, d2), b2.return = a2, b2;
- b2 = e(b2, c2);
- b2.return = a2;
- return b2;
- }
- function k(a2, b2, c2, d2) {
- var f2 = c2.type;
- if (f2 === ha) return n(a2, b2, c2.props.children, d2, c2.key);
- if (null !== b2 && (b2.elementType === f2 || "object" === typeof f2 && null !== f2 && f2.$$typeof === qa && oe(f2) === b2.type)) return d2 = e(b2, c2.props), d2.ref = me(a2, b2, c2), d2.return = a2, d2;
- d2 = se(c2.type, c2.key, c2.props, null, a2.mode, d2);
- d2.ref = me(a2, b2, c2);
- d2.return = a2;
- return d2;
- }
- function l(a2, b2, c2, d2) {
- if (null === b2 || 4 !== b2.tag || b2.stateNode.containerInfo !== c2.containerInfo || b2.stateNode.implementation !== c2.implementation) return b2 = te(c2, a2.mode, d2), b2.return = a2, b2;
- b2 = e(b2, c2.children || []);
- b2.return = a2;
- return b2;
- }
- function n(a2, b2, c2, d2, f2) {
- if (null === b2 || 7 !== b2.tag) return b2 = ue(c2, a2.mode, d2, f2), b2.return = a2, b2;
- b2 = e(b2, c2);
- b2.return = a2;
- return b2;
- }
- function t(a2, b2, c2) {
- if ("string" === typeof b2 && "" !== b2 || "number" === typeof b2) return b2 = re("" + b2, a2.mode, c2), b2.return = a2, b2;
- if ("object" === typeof b2 && null !== b2) {
- switch(b2.$$typeof){
- case ea:
- return c2 = se(b2.type, b2.key, b2.props, null, a2.mode, c2), c2.ref = me(a2, null, b2), c2.return = a2, c2;
- case fa:
- return b2 = te(b2, a2.mode, c2), b2.return = a2, b2;
- case qa:
- var d2 = b2._init;
- return t(a2, d2(b2._payload), c2);
- }
- if (Da(b2) || ta(b2)) return b2 = ue(b2, a2.mode, c2, null), b2.return = a2, b2;
- ne(a2, b2);
- }
- return null;
- }
- function p(a2, b2, c2, d2) {
- var e2 = null !== b2 ? b2.key : null;
- if ("string" === typeof c2 && "" !== c2 || "number" === typeof c2) return null !== e2 ? null : h(a2, b2, "" + c2, d2);
- if ("object" === typeof c2 && null !== c2) {
- switch(c2.$$typeof){
- case ea:
- return c2.key === e2 ? k(a2, b2, c2, d2) : null;
- case fa:
- return c2.key === e2 ? l(a2, b2, c2, d2) : null;
- case qa:
- return e2 = c2._init, p(a2, b2, e2(c2._payload), d2);
- }
- if (Da(c2) || ta(c2)) return null !== e2 ? null : n(a2, b2, c2, d2, null);
- ne(a2, c2);
- }
- return null;
- }
- function B(a2, b2, c2, d2, e2) {
- if ("string" === typeof d2 && "" !== d2 || "number" === typeof d2) return a2 = a2.get(c2) || null, h(b2, a2, "" + d2, e2);
- if ("object" === typeof d2 && null !== d2) {
- switch(d2.$$typeof){
- case ea:
- return a2 = a2.get(null === d2.key ? c2 : d2.key) || null, k(b2, a2, d2, e2);
- case fa:
- return a2 = a2.get(null === d2.key ? c2 : d2.key) || null, l(b2, a2, d2, e2);
- case qa:
- var f2 = d2._init;
- return B(a2, b2, c2, f2(d2._payload), e2);
- }
- if (Da(d2) || ta(d2)) return a2 = a2.get(c2) || null, n(b2, a2, d2, e2, null);
- ne(b2, d2);
- }
- return null;
- }
- function w(e2, g2, h2, k2) {
- for(var l2 = null, n2 = null, r = g2, u = g2 = 0, E = null; null !== r && u < h2.length; u++){
- r.index > u ? (E = r, r = null) : E = r.sibling;
- var y = p(e2, r, h2[u], k2);
- if (null === y) {
- null === r && (r = E);
- break;
- }
- a && r && null === y.alternate && b(e2, r);
- g2 = f(y, g2, u);
- null === n2 ? l2 = y : n2.sibling = y;
- n2 = y;
- r = E;
- }
- if (u === h2.length) return c(e2, r), F && kd(e2, u), l2;
- if (null === r) {
- for(; u < h2.length; u++)r = t(e2, h2[u], k2), null !== r && (g2 = f(r, g2, u), null === n2 ? l2 = r : n2.sibling = r, n2 = r);
- F && kd(e2, u);
- return l2;
- }
- for(r = d(e2, r); u < h2.length; u++)E = B(r, e2, u, h2[u], k2), null !== E && (a && null !== E.alternate && r.delete(null === E.key ? u : E.key), g2 = f(E, g2, u), null === n2 ? l2 = E : n2.sibling = E, n2 = E);
- a && r.forEach(function(a2) {
- return b(e2, a2);
- });
- F && kd(e2, u);
- return l2;
- }
- function Z(e2, g2, h2, k2) {
- var l2 = ta(h2);
- if ("function" !== typeof l2) throw Error(m(150));
- h2 = l2.call(h2);
- if (null == h2) throw Error(m(151));
- for(var n2 = l2 = null, r = g2, u = g2 = 0, E = null, y = h2.next(); null !== r && !y.done; u++, y = h2.next()){
- r.index > u ? (E = r, r = null) : E = r.sibling;
- var w2 = p(e2, r, y.value, k2);
- if (null === w2) {
- null === r && (r = E);
- break;
- }
- a && r && null === w2.alternate && b(e2, r);
- g2 = f(w2, g2, u);
- null === n2 ? l2 = w2 : n2.sibling = w2;
- n2 = w2;
- r = E;
- }
- if (y.done) return c(e2, r), F && kd(e2, u), l2;
- if (null === r) {
- for(; !y.done; u++, y = h2.next())y = t(e2, y.value, k2), null !== y && (g2 = f(y, g2, u), null === n2 ? l2 = y : n2.sibling = y, n2 = y);
- F && kd(e2, u);
- return l2;
- }
- for(r = d(e2, r); !y.done; u++, y = h2.next())y = B(r, e2, u, y.value, k2), null !== y && (a && null !== y.alternate && r.delete(null === y.key ? u : y.key), g2 = f(y, g2, u), null === n2 ? l2 = y : n2.sibling = y, n2 = y);
- a && r.forEach(function(a2) {
- return b(e2, a2);
- });
- F && kd(e2, u);
- return l2;
- }
- function za(a2, d2, f2, h2) {
- "object" === typeof f2 && null !== f2 && f2.type === ha && null === f2.key && (f2 = f2.props.children);
- if ("object" === typeof f2 && null !== f2) {
- switch(f2.$$typeof){
- case ea:
- a: {
- for(var k2 = f2.key, l2 = d2; null !== l2;){
- if (l2.key === k2) {
- k2 = f2.type;
- if (k2 === ha) {
- if (7 === l2.tag) {
- c(a2, l2.sibling);
- d2 = e(l2, f2.props.children);
- d2.return = a2;
- a2 = d2;
- break a;
- }
- } else if (l2.elementType === k2 || "object" === typeof k2 && null !== k2 && k2.$$typeof === qa && oe(k2) === l2.type) {
- c(a2, l2.sibling);
- d2 = e(l2, f2.props);
- d2.ref = me(a2, l2, f2);
- d2.return = a2;
- a2 = d2;
- break a;
- }
- c(a2, l2);
- break;
- } else b(a2, l2);
- l2 = l2.sibling;
- }
- f2.type === ha ? (d2 = ue(f2.props.children, a2.mode, h2, f2.key), d2.return = a2, a2 = d2) : (h2 = se(f2.type, f2.key, f2.props, null, a2.mode, h2), h2.ref = me(a2, d2, f2), h2.return = a2, a2 = h2);
- }
- return g(a2);
- case fa:
- a: {
- for(l2 = f2.key; null !== d2;){
- if (d2.key === l2) if (4 === d2.tag && d2.stateNode.containerInfo === f2.containerInfo && d2.stateNode.implementation === f2.implementation) {
- c(a2, d2.sibling);
- d2 = e(d2, f2.children || []);
- d2.return = a2;
- a2 = d2;
- break a;
- } else {
- c(a2, d2);
- break;
- }
- else b(a2, d2);
- d2 = d2.sibling;
- }
- d2 = te(f2, a2.mode, h2);
- d2.return = a2;
- a2 = d2;
- }
- return g(a2);
- case qa:
- return l2 = f2._init, za(a2, d2, l2(f2._payload), h2);
- }
- if (Da(f2)) return w(a2, d2, f2, h2);
- if (ta(f2)) return Z(a2, d2, f2, h2);
- ne(a2, f2);
- }
- return "string" === typeof f2 && "" !== f2 || "number" === typeof f2 ? (f2 = "" + f2, null !== d2 && 6 === d2.tag ? (c(a2, d2.sibling), d2 = e(d2, f2), d2.return = a2, a2 = d2) : (c(a2, d2), d2 = re(f2, a2.mode, h2), d2.return = a2, a2 = d2), g(a2)) : c(a2, d2);
- }
- return za;
- }
- var ve = pe(true), we = pe(false), xe = {}, ye = ic(xe), ze = ic(xe), Ae = ic(xe);
- function Be(a) {
- if (a === xe) throw Error(m(174));
- return a;
- }
- function Ce(a, b) {
- v(Ae, b);
- v(ze, a);
- v(ye, xe);
- a = Fa(b);
- q(ye);
- v(ye, a);
- }
- function De() {
- q(ye);
- q(ze);
- q(Ae);
- }
- function Ee(a) {
- var b = Be(Ae.current), c = Be(ye.current);
- b = Ga(c, a.type, b);
- c !== b && (v(ze, a), v(ye, b));
- }
- function Fe(a) {
- ze.current === a && (q(ye), q(ze));
- }
- var J = ic(0);
- function Ge(a) {
- for(var b = a; null !== b;){
- if (13 === b.tag) {
- var c = b.memoizedState;
- if (null !== c && (c = c.dehydrated, null === c || Jb(c) || Kb(c))) return b;
- } else if (19 === b.tag && void 0 !== b.memoizedProps.revealOrder) {
- if (0 !== (b.flags & 128)) return b;
- } else if (null !== b.child) {
- b.child.return = b;
- b = b.child;
- continue;
- }
- if (b === a) break;
- for(; null === b.sibling;){
- if (null === b.return || b.return === a) return null;
- b = b.return;
- }
- b.sibling.return = b.return;
- b = b.sibling;
- }
- return null;
- }
- var He = [];
- function Ie() {
- for(var a = 0; a < He.length; a++){
- var b = He[a];
- Sa ? b._workInProgressVersionPrimary = null : b._workInProgressVersionSecondary = null;
- }
- He.length = 0;
- }
- var Je = da.ReactCurrentDispatcher, Ke = da.ReactCurrentBatchConfig, Le = 0, K = null, L = null, M = null, Me = false, Ne = false, Oe = 0, Pe = 0;
- function N() {
- throw Error(m(321));
- }
- function Qe(a, b) {
- if (null === b) return false;
- for(var c = 0; c < b.length && c < a.length; c++)if (!Vc(a[c], b[c])) return false;
- return true;
- }
- function Re(a, b, c, d, e, f) {
- Le = f;
- K = b;
- b.memoizedState = null;
- b.updateQueue = null;
- b.lanes = 0;
- Je.current = null === a || null === a.memoizedState ? Se : Te;
- a = c(d, e);
- if (Ne) {
- f = 0;
- do {
- Ne = false;
- Oe = 0;
- if (25 <= f) throw Error(m(301));
- f += 1;
- M = L = null;
- b.updateQueue = null;
- Je.current = Ue;
- a = c(d, e);
- }while (Ne)
- }
- Je.current = Ve;
- b = null !== L && null !== L.next;
- Le = 0;
- M = L = K = null;
- Me = false;
- if (b) throw Error(m(300));
- return a;
- }
- function We() {
- var a = 0 !== Oe;
- Oe = 0;
- return a;
- }
- function Xe() {
- var a = {
- memoizedState: null,
- baseState: null,
- baseQueue: null,
- queue: null,
- next: null
- };
- null === M ? K.memoizedState = M = a : M = M.next = a;
- return M;
- }
- function Ye() {
- if (null === L) {
- var a = K.alternate;
- a = null !== a ? a.memoizedState : null;
- } else a = L.next;
- var b = null === M ? K.memoizedState : M.next;
- if (null !== b) M = b, L = a;
- else {
- if (null === a) throw Error(m(310));
- L = a;
- a = {
- memoizedState: L.memoizedState,
- baseState: L.baseState,
- baseQueue: L.baseQueue,
- queue: L.queue,
- next: null
- };
- null === M ? K.memoizedState = M = a : M = M.next = a;
- }
- return M;
- }
- function Ze(a, b) {
- return "function" === typeof b ? b(a) : b;
- }
- function $e(a) {
- var b = Ye(), c = b.queue;
- if (null === c) throw Error(m(311));
- c.lastRenderedReducer = a;
- var d = L, e = d.baseQueue, f = c.pending;
- if (null !== f) {
- if (null !== e) {
- var g = e.next;
- e.next = f.next;
- f.next = g;
- }
- d.baseQueue = e = f;
- c.pending = null;
- }
- if (null !== e) {
- f = e.next;
- d = d.baseState;
- var h = g = null, k = null, l = f;
- do {
- var n = l.lane;
- if ((Le & n) === n) null !== k && (k = k.next = {
- lane: 0,
- action: l.action,
- hasEagerState: l.hasEagerState,
- eagerState: l.eagerState,
- next: null
- }), d = l.hasEagerState ? l.eagerState : a(d, l.action);
- else {
- var t = {
- lane: n,
- action: l.action,
- hasEagerState: l.hasEagerState,
- eagerState: l.eagerState,
- next: null
- };
- null === k ? (h = k = t, g = d) : k = k.next = t;
- K.lanes |= n;
- be |= n;
- }
- l = l.next;
- }while (null !== l && l !== f)
- null === k ? g = d : k.next = h;
- Vc(d, b.memoizedState) || (G = true);
- b.memoizedState = d;
- b.baseState = g;
- b.baseQueue = k;
- c.lastRenderedState = d;
- }
- a = c.interleaved;
- if (null !== a) {
- e = a;
- do f = e.lane, K.lanes |= f, be |= f, e = e.next;
- while (e !== a)
- } else null === e && (c.lanes = 0);
- return [
- b.memoizedState,
- c.dispatch
- ];
- }
- function af(a) {
- var b = Ye(), c = b.queue;
- if (null === c) throw Error(m(311));
- c.lastRenderedReducer = a;
- var d = c.dispatch, e = c.pending, f = b.memoizedState;
- if (null !== e) {
- c.pending = null;
- var g = e = e.next;
- do f = a(f, g.action), g = g.next;
- while (g !== e)
- Vc(f, b.memoizedState) || (G = true);
- b.memoizedState = f;
- null === b.baseQueue && (b.baseState = f);
- c.lastRenderedState = f;
- }
- return [
- f,
- d
- ];
- }
- function bf() {}
- function cf(a, b) {
- var c = K, d = Ye(), e = b(), f = !Vc(d.memoizedState, e);
- f && (d.memoizedState = e, G = true);
- d = d.queue;
- df(ef.bind(null, c, d, a), [
- a
- ]);
- if (d.getSnapshot !== b || f || null !== M && M.memoizedState.tag & 1) {
- c.flags |= 2048;
- ff(9, gf.bind(null, c, d, e, b), void 0, null);
- if (null === O) throw Error(m(349));
- 0 !== (Le & 30) || hf(c, b, e);
- }
- return e;
- }
- function hf(a, b, c) {
- a.flags |= 16384;
- a = {
- getSnapshot: b,
- value: c
- };
- b = K.updateQueue;
- null === b ? (b = {
- lastEffect: null,
- stores: null
- }, K.updateQueue = b, b.stores = [
- a
- ]) : (c = b.stores, null === c ? b.stores = [
- a
- ] : c.push(a));
- }
- function gf(a, b, c, d) {
- b.value = c;
- b.getSnapshot = d;
- jf(b) && kf(a);
- }
- function ef(a, b, c) {
- return c(function() {
- jf(b) && kf(a);
- });
- }
- function jf(a) {
- var b = a.getSnapshot;
- a = a.value;
- try {
- var c = b();
- return !Vc(a, c);
- } catch (d) {
- return true;
- }
- }
- function kf(a) {
- var b = Td(a, 1);
- null !== b && ge(b, a, 1, -1);
- }
- function lf(a) {
- var b = Xe();
- "function" === typeof a && (a = a());
- b.memoizedState = b.baseState = a;
- a = {
- pending: null,
- interleaved: null,
- lanes: 0,
- dispatch: null,
- lastRenderedReducer: Ze,
- lastRenderedState: a
- };
- b.queue = a;
- a = a.dispatch = mf.bind(null, K, a);
- return [
- b.memoizedState,
- a
- ];
- }
- function ff(a, b, c, d) {
- a = {
- tag: a,
- create: b,
- destroy: c,
- deps: d,
- next: null
- };
- b = K.updateQueue;
- null === b ? (b = {
- lastEffect: null,
- stores: null
- }, K.updateQueue = b, b.lastEffect = a.next = a) : (c = b.lastEffect, null === c ? b.lastEffect = a.next = a : (d = c.next, c.next = a, a.next = d, b.lastEffect = a));
- return a;
- }
- function nf() {
- return Ye().memoizedState;
- }
- function of(a, b, c, d) {
- var e = Xe();
- K.flags |= a;
- e.memoizedState = ff(1 | b, c, void 0, void 0 === d ? null : d);
- }
- function pf(a, b, c, d) {
- var e = Ye();
- d = void 0 === d ? null : d;
- var f = void 0;
- if (null !== L) {
- var g = L.memoizedState;
- f = g.destroy;
- if (null !== d && Qe(d, g.deps)) {
- e.memoizedState = ff(b, c, f, d);
- return;
- }
- }
- K.flags |= a;
- e.memoizedState = ff(1 | b, c, f, d);
- }
- function qf(a, b) {
- return of(8390656, 8, a, b);
- }
- function df(a, b) {
- return pf(2048, 8, a, b);
- }
- function rf(a, b) {
- return pf(4, 2, a, b);
- }
- function sf(a, b) {
- return pf(4, 4, a, b);
- }
- function tf(a, b) {
- if ("function" === typeof b) return a = a(), b(a), function() {
- b(null);
- };
- if (null !== b && void 0 !== b) return a = a(), b.current = a, function() {
- b.current = null;
- };
- }
- function uf(a, b, c) {
- c = null !== c && void 0 !== c ? c.concat([
- a
- ]) : null;
- return pf(4, 4, tf.bind(null, b, a), c);
- }
- function vf() {}
- function wf(a, b) {
- var c = Ye();
- b = void 0 === b ? null : b;
- var d = c.memoizedState;
- if (null !== d && null !== b && Qe(b, d[1])) return d[0];
- c.memoizedState = [
- a,
- b
- ];
- return a;
- }
- function xf(a, b) {
- var c = Ye();
- b = void 0 === b ? null : b;
- var d = c.memoizedState;
- if (null !== d && null !== b && Qe(b, d[1])) return d[0];
- a = a();
- c.memoizedState = [
- a,
- b
- ];
- return a;
- }
- function yf(a, b, c) {
- if (0 === (Le & 21)) return a.baseState && (a.baseState = false, G = true), a.memoizedState = c;
- Vc(c, b) || (c = Dc(), K.lanes |= c, be |= c, a.baseState = true);
- return b;
- }
- function zf(a, b) {
- var c = C;
- C = 0 !== c && 4 > c ? c : 4;
- a(true);
- var d = Ke.transition;
- Ke.transition = {};
- try {
- a(false), b();
- } finally{
- C = c, Ke.transition = d;
- }
- }
- function Af() {
- return Ye().memoizedState;
- }
- function Bf(a, b, c) {
- var d = fe(a);
- c = {
- lane: d,
- action: c,
- hasEagerState: false,
- eagerState: null,
- next: null
- };
- if (Cf(a)) Df(b, c);
- else if (c = Sd(a, b, c, d), null !== c) {
- var e = I();
- ge(c, a, d, e);
- Ef(c, b, d);
- }
- }
- function mf(a, b, c) {
- var d = fe(a), e = {
- lane: d,
- action: c,
- hasEagerState: false,
- eagerState: null,
- next: null
- };
- if (Cf(a)) Df(b, e);
- else {
- var f = a.alternate;
- if (0 === a.lanes && (null === f || 0 === f.lanes) && (f = b.lastRenderedReducer, null !== f)) try {
- var g = b.lastRenderedState, h = f(g, c);
- e.hasEagerState = true;
- e.eagerState = h;
- if (Vc(h, g)) {
- var k = b.interleaved;
- null === k ? (e.next = e, Rd(b)) : (e.next = k.next, k.next = e);
- b.interleaved = e;
- return;
- }
- } catch (l) {} finally{}
- c = Sd(a, b, e, d);
- null !== c && (e = I(), ge(c, a, d, e), Ef(c, b, d));
- }
- }
- function Cf(a) {
- var b = a.alternate;
- return a === K || null !== b && b === K;
- }
- function Df(a, b) {
- Ne = Me = true;
- var c = a.pending;
- null === c ? b.next = b : (b.next = c.next, c.next = b);
- a.pending = b;
- }
- function Ef(a, b, c) {
- if (0 !== (c & 4194240)) {
- var d = b.lanes;
- d &= a.pendingLanes;
- c |= d;
- b.lanes = c;
- Hc(a, c);
- }
- }
- var Ve = {
- readContext: Pd,
- useCallback: N,
- useContext: N,
- useEffect: N,
- useImperativeHandle: N,
- useInsertionEffect: N,
- useLayoutEffect: N,
- useMemo: N,
- useReducer: N,
- useRef: N,
- useState: N,
- useDebugValue: N,
- useDeferredValue: N,
- useTransition: N,
- useMutableSource: N,
- useSyncExternalStore: N,
- useId: N,
- unstable_isNewReconciler: false
- }, Se = {
- readContext: Pd,
- useCallback: function(a, b) {
- Xe().memoizedState = [
- a,
- void 0 === b ? null : b
- ];
- return a;
- },
- useContext: Pd,
- useEffect: qf,
- useImperativeHandle: function(a, b, c) {
- c = null !== c && void 0 !== c ? c.concat([
- a
- ]) : null;
- return of(4194308, 4, tf.bind(null, b, a), c);
- },
- useLayoutEffect: function(a, b) {
- return of(4194308, 4, a, b);
- },
- useInsertionEffect: function(a, b) {
- return of(4, 2, a, b);
- },
- useMemo: function(a, b) {
- var c = Xe();
- b = void 0 === b ? null : b;
- a = a();
- c.memoizedState = [
- a,
- b
- ];
- return a;
- },
- useReducer: function(a, b, c) {
- var d = Xe();
- b = void 0 !== c ? c(b) : b;
- d.memoizedState = d.baseState = b;
- a = {
- pending: null,
- interleaved: null,
- lanes: 0,
- dispatch: null,
- lastRenderedReducer: a,
- lastRenderedState: b
- };
- d.queue = a;
- a = a.dispatch = Bf.bind(null, K, a);
- return [
- d.memoizedState,
- a
- ];
- },
- useRef: function(a) {
- var b = Xe();
- a = {
- current: a
- };
- return b.memoizedState = a;
- },
- useState: lf,
- useDebugValue: vf,
- useDeferredValue: function(a) {
- return Xe().memoizedState = a;
- },
- useTransition: function() {
- var a = lf(false), b = a[0];
- a = zf.bind(null, a[1]);
- Xe().memoizedState = a;
- return [
- b,
- a
- ];
- },
- useMutableSource: function() {},
- useSyncExternalStore: function(a, b, c) {
- var d = K, e = Xe();
- if (F) {
- if (void 0 === c) throw Error(m(407));
- c = c();
- } else {
- c = b();
- if (null === O) throw Error(m(349));
- 0 !== (Le & 30) || hf(d, b, c);
- }
- e.memoizedState = c;
- var f = {
- value: c,
- getSnapshot: b
- };
- e.queue = f;
- qf(ef.bind(null, d, f, a), [
- a
- ]);
- d.flags |= 2048;
- ff(9, gf.bind(null, d, f, c, b), void 0, null);
- return c;
- },
- useId: function() {
- var a = Xe(), b = O.identifierPrefix;
- if (F) {
- var c = jd;
- var d = id;
- c = (d & ~(1 << 32 - tc(d) - 1)).toString(32) + c;
- b = ":" + b + "R" + c;
- c = Oe++;
- 0 < c && (b += "H" + c.toString(32));
- b += ":";
- } else c = Pe++, b = ":" + b + "r" + c.toString(32) + ":";
- return a.memoizedState = b;
- },
- unstable_isNewReconciler: false
- }, Te = {
- readContext: Pd,
- useCallback: wf,
- useContext: Pd,
- useEffect: df,
- useImperativeHandle: uf,
- useInsertionEffect: rf,
- useLayoutEffect: sf,
- useMemo: xf,
- useReducer: $e,
- useRef: nf,
- useState: function() {
- return $e(Ze);
- },
- useDebugValue: vf,
- useDeferredValue: function(a) {
- var b = Ye();
- return yf(b, L.memoizedState, a);
- },
- useTransition: function() {
- var a = $e(Ze)[0], b = Ye().memoizedState;
- return [
- a,
- b
- ];
- },
- useMutableSource: bf,
- useSyncExternalStore: cf,
- useId: Af,
- unstable_isNewReconciler: false
- }, Ue = {
- readContext: Pd,
- useCallback: wf,
- useContext: Pd,
- useEffect: df,
- useImperativeHandle: uf,
- useInsertionEffect: rf,
- useLayoutEffect: sf,
- useMemo: xf,
- useReducer: af,
- useRef: nf,
- useState: function() {
- return af(Ze);
- },
- useDebugValue: vf,
- useDeferredValue: function(a) {
- var b = Ye();
- return null === L ? b.memoizedState = a : yf(b, L.memoizedState, a);
- },
- useTransition: function() {
- var a = af(Ze)[0], b = Ye().memoizedState;
- return [
- a,
- b
- ];
- },
- useMutableSource: bf,
- useSyncExternalStore: cf,
- useId: Af,
- unstable_isNewReconciler: false
- };
- function Ff(a, b) {
- try {
- var c = "", d = b;
- do c += Ed(d), d = d.return;
- while (d)
- var e = c;
- } catch (f) {
- e = "\nError generating stack: " + f.message + "\n" + f.stack;
- }
- return {
- value: a,
- source: b,
- stack: e,
- digest: null
- };
- }
- function Gf(a, b, c) {
- return {
- value: a,
- source: null,
- stack: null != c ? c : null,
- digest: null != b ? b : null
- };
- }
- function Hf(a, b) {
- try {
- console.error(b.value);
- } catch (c) {
- setTimeout(function() {
- throw c;
- });
- }
- }
- var If = "function" === typeof WeakMap ? WeakMap : Map;
- function Jf(a, b, c) {
- c = Xd(-1, c);
- c.tag = 3;
- c.payload = {
- element: null
- };
- var d = b.value;
- c.callback = function() {
- Kf || (Kf = true, Lf = d);
- Hf(a, b);
- };
- return c;
- }
- function Mf(a, b, c) {
- c = Xd(-1, c);
- c.tag = 3;
- var d = a.type.getDerivedStateFromError;
- if ("function" === typeof d) {
- var e = b.value;
- c.payload = function() {
- return d(e);
- };
- c.callback = function() {
- Hf(a, b);
- };
- }
- var f = a.stateNode;
- null !== f && "function" === typeof f.componentDidCatch && (c.callback = function() {
- Hf(a, b);
- "function" !== typeof d && (null === Nf ? Nf = /* @__PURE__ */ new Set([
- this
- ]) : Nf.add(this));
- var c2 = b.stack;
- this.componentDidCatch(b.value, {
- componentStack: null !== c2 ? c2 : ""
- });
- });
- return c;
- }
- function Of(a, b, c) {
- var d = a.pingCache;
- if (null === d) {
- d = a.pingCache = new If();
- var e = /* @__PURE__ */ new Set();
- d.set(b, e);
- } else e = d.get(b), void 0 === e && (e = /* @__PURE__ */ new Set(), d.set(b, e));
- e.has(c) || (e.add(c), a = Pf.bind(null, a, b, c), b.then(a, a));
- }
- function Qf(a) {
- do {
- var b;
- if (b = 13 === a.tag) b = a.memoizedState, b = null !== b ? null !== b.dehydrated ? true : false : true;
- if (b) return a;
- a = a.return;
- }while (null !== a)
- return null;
- }
- function Rf(a, b, c, d, e) {
- if (0 === (a.mode & 1)) return a === b ? a.flags |= 65536 : (a.flags |= 128, c.flags |= 131072, c.flags &= -52805, 1 === c.tag && (null === c.alternate ? c.tag = 17 : (b = Xd(-1, 1), b.tag = 2, Yd(c, b, 1))), c.lanes |= 1), a;
- a.flags |= 65536;
- a.lanes = e;
- return a;
- }
- var Sf = da.ReactCurrentOwner, G = false;
- function P(a, b, c, d) {
- b.child = null === a ? we(b, null, c, d) : ve(b, a.child, c, d);
- }
- function Tf(a, b, c, d, e) {
- c = c.render;
- var f = b.ref;
- Od(b, e);
- d = Re(a, b, c, d, f, e);
- c = We();
- if (null !== a && !G) return b.updateQueue = a.updateQueue, b.flags &= -2053, a.lanes &= ~e, Uf(a, b, e);
- F && c && md(b);
- b.flags |= 1;
- P(a, b, d, e);
- return b.child;
- }
- function Vf(a, b, c, d, e) {
- if (null === a) {
- var f = c.type;
- if ("function" === typeof f && !Wf(f) && void 0 === f.defaultProps && null === c.compare && void 0 === c.defaultProps) return b.tag = 15, b.type = f, Xf(a, b, f, d, e);
- a = se(c.type, null, d, b, b.mode, e);
- a.ref = b.ref;
- a.return = b;
- return b.child = a;
- }
- f = a.child;
- if (0 === (a.lanes & e)) {
- var g = f.memoizedProps;
- c = c.compare;
- c = null !== c ? c : Dd;
- if (c(g, d) && a.ref === b.ref) return Uf(a, b, e);
- }
- b.flags |= 1;
- a = qe(f, d);
- a.ref = b.ref;
- a.return = b;
- return b.child = a;
- }
- function Xf(a, b, c, d, e) {
- if (null !== a) {
- var f = a.memoizedProps;
- if (Dd(f, d) && a.ref === b.ref) if (G = false, b.pendingProps = d = f, 0 !== (a.lanes & e)) 0 !== (a.flags & 131072) && (G = true);
- else return b.lanes = a.lanes, Uf(a, b, e);
- }
- return Yf(a, b, c, d, e);
- }
- function Zf(a, b, c) {
- var d = b.pendingProps, e = d.children, f = null !== a ? a.memoizedState : null;
- if ("hidden" === d.mode) if (0 === (b.mode & 1)) b.memoizedState = {
- baseLanes: 0,
- cachePool: null,
- transitions: null
- }, v($f, ag), ag |= c;
- else {
- if (0 === (c & 1073741824)) return a = null !== f ? f.baseLanes | c : c, b.lanes = b.childLanes = 1073741824, b.memoizedState = {
- baseLanes: a,
- cachePool: null,
- transitions: null
- }, b.updateQueue = null, v($f, ag), ag |= a, null;
- b.memoizedState = {
- baseLanes: 0,
- cachePool: null,
- transitions: null
- };
- d = null !== f ? f.baseLanes : c;
- v($f, ag);
- ag |= d;
- }
- else null !== f ? (d = f.baseLanes | c, b.memoizedState = null) : d = c, v($f, ag), ag |= d;
- P(a, b, e, c);
- return b.child;
- }
- function bg(a, b) {
- var c = b.ref;
- if (null === a && null !== c || null !== a && a.ref !== c) b.flags |= 512, b.flags |= 2097152;
- }
- function Yf(a, b, c, d, e) {
- var f = A(c) ? kc : x.current;
- f = lc(b, f);
- Od(b, e);
- c = Re(a, b, c, d, f, e);
- d = We();
- if (null !== a && !G) return b.updateQueue = a.updateQueue, b.flags &= -2053, a.lanes &= ~e, Uf(a, b, e);
- F && d && md(b);
- b.flags |= 1;
- P(a, b, c, e);
- return b.child;
- }
- function cg(a, b, c, d, e) {
- if (A(c)) {
- var f = true;
- pc(b);
- } else f = false;
- Od(b, e);
- if (null === b.stateNode) dg(a, b), je(b, c, d), le(b, c, d, e), d = true;
- else if (null === a) {
- var g = b.stateNode, h = b.memoizedProps;
- g.props = h;
- var k = g.context, l = c.contextType;
- "object" === typeof l && null !== l ? l = Pd(l) : (l = A(c) ? kc : x.current, l = lc(b, l));
- var n = c.getDerivedStateFromProps, t = "function" === typeof n || "function" === typeof g.getSnapshotBeforeUpdate;
- t || "function" !== typeof g.UNSAFE_componentWillReceiveProps && "function" !== typeof g.componentWillReceiveProps || (h !== d || k !== l) && ke(b, g, d, l);
- Ud = false;
- var p = b.memoizedState;
- g.state = p;
- ae(b, d, g, e);
- k = b.memoizedState;
- h !== d || p !== k || z.current || Ud ? ("function" === typeof n && (ee(b, c, n, d), k = b.memoizedState), (h = Ud || ie(b, c, h, d, p, k, l)) ? (t || "function" !== typeof g.UNSAFE_componentWillMount && "function" !== typeof g.componentWillMount || ("function" === typeof g.componentWillMount && g.componentWillMount(), "function" === typeof g.UNSAFE_componentWillMount && g.UNSAFE_componentWillMount()), "function" === typeof g.componentDidMount && (b.flags |= 4194308)) : ("function" === typeof g.componentDidMount && (b.flags |= 4194308), b.memoizedProps = d, b.memoizedState = k), g.props = d, g.state = k, g.context = l, d = h) : ("function" === typeof g.componentDidMount && (b.flags |= 4194308), d = false);
- } else {
- g = b.stateNode;
- Wd(a, b);
- h = b.memoizedProps;
- l = b.type === b.elementType ? h : Fd(b.type, h);
- g.props = l;
- t = b.pendingProps;
- p = g.context;
- k = c.contextType;
- "object" === typeof k && null !== k ? k = Pd(k) : (k = A(c) ? kc : x.current, k = lc(b, k));
- var B = c.getDerivedStateFromProps;
- (n = "function" === typeof B || "function" === typeof g.getSnapshotBeforeUpdate) || "function" !== typeof g.UNSAFE_componentWillReceiveProps && "function" !== typeof g.componentWillReceiveProps || (h !== t || p !== k) && ke(b, g, d, k);
- Ud = false;
- p = b.memoizedState;
- g.state = p;
- ae(b, d, g, e);
- var w = b.memoizedState;
- h !== t || p !== w || z.current || Ud ? ("function" === typeof B && (ee(b, c, B, d), w = b.memoizedState), (l = Ud || ie(b, c, l, d, p, w, k) || false) ? (n || "function" !== typeof g.UNSAFE_componentWillUpdate && "function" !== typeof g.componentWillUpdate || ("function" === typeof g.componentWillUpdate && g.componentWillUpdate(d, w, k), "function" === typeof g.UNSAFE_componentWillUpdate && g.UNSAFE_componentWillUpdate(d, w, k)), "function" === typeof g.componentDidUpdate && (b.flags |= 4), "function" === typeof g.getSnapshotBeforeUpdate && (b.flags |= 1024)) : ("function" !== typeof g.componentDidUpdate || h === a.memoizedProps && p === a.memoizedState || (b.flags |= 4), "function" !== typeof g.getSnapshotBeforeUpdate || h === a.memoizedProps && p === a.memoizedState || (b.flags |= 1024), b.memoizedProps = d, b.memoizedState = w), g.props = d, g.state = w, g.context = k, d = l) : ("function" !== typeof g.componentDidUpdate || h === a.memoizedProps && p === a.memoizedState || (b.flags |= 4), "function" !== typeof g.getSnapshotBeforeUpdate || h === a.memoizedProps && p === a.memoizedState || (b.flags |= 1024), d = false);
- }
- return eg(a, b, c, d, f, e);
- }
- function eg(a, b, c, d, e, f) {
- bg(a, b);
- var g = 0 !== (b.flags & 128);
- if (!d && !g) return e && rc(b, c, false), Uf(a, b, f);
- d = b.stateNode;
- Sf.current = b;
- var h = g && "function" !== typeof c.getDerivedStateFromError ? null : d.render();
- b.flags |= 1;
- null !== a && g ? (b.child = ve(b, a.child, null, f), b.child = ve(b, null, h, f)) : P(a, b, h, f);
- b.memoizedState = d.state;
- e && rc(b, c, true);
- return b.child;
- }
- function fg(a) {
- var b = a.stateNode;
- b.pendingContext ? nc(a, b.pendingContext, b.pendingContext !== b.context) : b.context && nc(a, b.context, false);
- Ce(a, b.containerInfo);
- }
- function gg(a, b, c, d, e) {
- Ad();
- Bd(e);
- b.flags |= 256;
- P(a, b, c, d);
- return b.child;
- }
- var hg = {
- dehydrated: null,
- treeContext: null,
- retryLane: 0
- };
- function ig(a) {
- return {
- baseLanes: a,
- cachePool: null,
- transitions: null
- };
- }
- function jg(a, b, c) {
- var d = b.pendingProps, e = J.current, f = false, g = 0 !== (b.flags & 128), h;
- (h = g) || (h = null !== a && null === a.memoizedState ? false : 0 !== (e & 2));
- if (h) f = true, b.flags &= -129;
- else if (null === a || null !== a.memoizedState) e |= 1;
- v(J, e & 1);
- if (null === a) {
- wd(b);
- a = b.memoizedState;
- if (null !== a && (a = a.dehydrated, null !== a)) return 0 === (b.mode & 1) ? b.lanes = 1 : Kb(a) ? b.lanes = 8 : b.lanes = 1073741824, null;
- g = d.children;
- a = d.fallback;
- return f ? (d = b.mode, f = b.child, g = {
- mode: "hidden",
- children: g
- }, 0 === (d & 1) && null !== f ? (f.childLanes = 0, f.pendingProps = g) : f = kg(g, d, 0, null), a = ue(a, d, c, null), f.return = b, a.return = b, f.sibling = a, b.child = f, b.child.memoizedState = ig(c), b.memoizedState = hg, a) : lg(b, g);
- }
- e = a.memoizedState;
- if (null !== e && (h = e.dehydrated, null !== h)) return mg(a, b, g, d, h, e, c);
- if (f) {
- f = d.fallback;
- g = b.mode;
- e = a.child;
- h = e.sibling;
- var k = {
- mode: "hidden",
- children: d.children
- };
- 0 === (g & 1) && b.child !== e ? (d = b.child, d.childLanes = 0, d.pendingProps = k, b.deletions = null) : (d = qe(e, k), d.subtreeFlags = e.subtreeFlags & 14680064);
- null !== h ? f = qe(h, f) : (f = ue(f, g, c, null), f.flags |= 2);
- f.return = b;
- d.return = b;
- d.sibling = f;
- b.child = d;
- d = f;
- f = b.child;
- g = a.child.memoizedState;
- g = null === g ? ig(c) : {
- baseLanes: g.baseLanes | c,
- cachePool: null,
- transitions: g.transitions
- };
- f.memoizedState = g;
- f.childLanes = a.childLanes & ~c;
- b.memoizedState = hg;
- return d;
- }
- f = a.child;
- a = f.sibling;
- d = qe(f, {
- mode: "visible",
- children: d.children
- });
- 0 === (b.mode & 1) && (d.lanes = c);
- d.return = b;
- d.sibling = null;
- null !== a && (c = b.deletions, null === c ? (b.deletions = [
- a
- ], b.flags |= 16) : c.push(a));
- b.child = d;
- b.memoizedState = null;
- return d;
- }
- function lg(a, b) {
- b = kg({
- mode: "visible",
- children: b
- }, a.mode, 0, null);
- b.return = a;
- return a.child = b;
- }
- function ng(a, b, c, d) {
- null !== d && Bd(d);
- ve(b, a.child, null, c);
- a = lg(b, b.pendingProps.children);
- a.flags |= 2;
- b.memoizedState = null;
- return a;
- }
- function mg(a, b, c, d, e, f, g) {
- if (c) {
- if (b.flags & 256) return b.flags &= -257, d = Gf(Error(m(422))), ng(a, b, g, d);
- if (null !== b.memoizedState) return b.child = a.child, b.flags |= 128, null;
- f = d.fallback;
- e = b.mode;
- d = kg({
- mode: "visible",
- children: d.children
- }, e, 0, null);
- f = ue(f, e, g, null);
- f.flags |= 2;
- d.return = b;
- f.return = b;
- d.sibling = f;
- b.child = d;
- 0 !== (b.mode & 1) && ve(b, a.child, null, g);
- b.child.memoizedState = ig(g);
- b.memoizedState = hg;
- return f;
- }
- if (0 === (b.mode & 1)) return ng(a, b, g, null);
- if (Kb(e)) return d = Lb(e).digest, f = Error(m(419)), d = Gf(f, d, void 0), ng(a, b, g, d);
- c = 0 !== (g & a.childLanes);
- if (G || c) {
- d = O;
- if (null !== d) {
- switch(g & -g){
- case 4:
- e = 2;
- break;
- case 16:
- e = 8;
- break;
- case 64:
- case 128:
- case 256:
- case 512:
- case 1024:
- case 2048:
- case 4096:
- case 8192:
- case 16384:
- case 32768:
- case 65536:
- case 131072:
- case 262144:
- case 524288:
- case 1048576:
- case 2097152:
- case 4194304:
- case 8388608:
- case 16777216:
- case 33554432:
- case 67108864:
- e = 32;
- break;
- case 536870912:
- e = 268435456;
- break;
- default:
- e = 0;
- }
- e = 0 !== (e & (d.suspendedLanes | g)) ? 0 : e;
- 0 !== e && e !== f.retryLane && (f.retryLane = e, Td(a, e), ge(d, a, e, -1));
- }
- og();
- d = Gf(Error(m(421)));
- return ng(a, b, g, d);
- }
- if (Jb(e)) return b.flags |= 128, b.child = a.child, b = pg.bind(null, a), Mb(e, b), null;
- a = f.treeContext;
- Va && (pd = Qb(e), od = b, F = true, rd = null, qd = false, null !== a && (fd[gd++] = id, fd[gd++] = jd, fd[gd++] = hd, id = a.id, jd = a.overflow, hd = b));
- b = lg(b, d.children);
- b.flags |= 4096;
- return b;
- }
- function qg(a, b, c) {
- a.lanes |= b;
- var d = a.alternate;
- null !== d && (d.lanes |= b);
- Nd(a.return, b, c);
- }
- function rg(a, b, c, d, e) {
- var f = a.memoizedState;
- null === f ? a.memoizedState = {
- isBackwards: b,
- rendering: null,
- renderingStartTime: 0,
- last: d,
- tail: c,
- tailMode: e
- } : (f.isBackwards = b, f.rendering = null, f.renderingStartTime = 0, f.last = d, f.tail = c, f.tailMode = e);
- }
- function sg(a, b, c) {
- var d = b.pendingProps, e = d.revealOrder, f = d.tail;
- P(a, b, d.children, c);
- d = J.current;
- if (0 !== (d & 2)) d = d & 1 | 2, b.flags |= 128;
- else {
- if (null !== a && 0 !== (a.flags & 128)) a: for(a = b.child; null !== a;){
- if (13 === a.tag) null !== a.memoizedState && qg(a, c, b);
- else if (19 === a.tag) qg(a, c, b);
- else if (null !== a.child) {
- a.child.return = a;
- a = a.child;
- continue;
- }
- if (a === b) break a;
- for(; null === a.sibling;){
- if (null === a.return || a.return === b) break a;
- a = a.return;
- }
- a.sibling.return = a.return;
- a = a.sibling;
- }
- d &= 1;
- }
- v(J, d);
- if (0 === (b.mode & 1)) b.memoizedState = null;
- else switch(e){
- case "forwards":
- c = b.child;
- for(e = null; null !== c;)a = c.alternate, null !== a && null === Ge(a) && (e = c), c = c.sibling;
- c = e;
- null === c ? (e = b.child, b.child = null) : (e = c.sibling, c.sibling = null);
- rg(b, false, e, c, f);
- break;
- case "backwards":
- c = null;
- e = b.child;
- for(b.child = null; null !== e;){
- a = e.alternate;
- if (null !== a && null === Ge(a)) {
- b.child = e;
- break;
- }
- a = e.sibling;
- e.sibling = c;
- c = e;
- e = a;
- }
- rg(b, true, c, null, f);
- break;
- case "together":
- rg(b, false, null, null, void 0);
- break;
- default:
- b.memoizedState = null;
- }
- return b.child;
- }
- function dg(a, b) {
- 0 === (b.mode & 1) && null !== a && (a.alternate = null, b.alternate = null, b.flags |= 2);
- }
- function Uf(a, b, c) {
- null !== a && (b.dependencies = a.dependencies);
- be |= b.lanes;
- if (0 === (c & b.childLanes)) return null;
- if (null !== a && b.child !== a.child) throw Error(m(153));
- if (null !== b.child) {
- a = b.child;
- c = qe(a, a.pendingProps);
- b.child = c;
- for(c.return = b; null !== a.sibling;)a = a.sibling, c = c.sibling = qe(a, a.pendingProps), c.return = b;
- c.sibling = null;
- }
- return b.child;
- }
- function tg(a, b, c) {
- switch(b.tag){
- case 3:
- fg(b);
- Ad();
- break;
- case 5:
- Ee(b);
- break;
- case 1:
- A(b.type) && pc(b);
- break;
- case 4:
- Ce(b, b.stateNode.containerInfo);
- break;
- case 10:
- Ld(b, b.type._context, b.memoizedProps.value);
- break;
- case 13:
- var d = b.memoizedState;
- if (null !== d) {
- if (null !== d.dehydrated) return v(J, J.current & 1), b.flags |= 128, null;
- if (0 !== (c & b.child.childLanes)) return jg(a, b, c);
- v(J, J.current & 1);
- a = Uf(a, b, c);
- return null !== a ? a.sibling : null;
- }
- v(J, J.current & 1);
- break;
- case 19:
- d = 0 !== (c & b.childLanes);
- if (0 !== (a.flags & 128)) {
- if (d) return sg(a, b, c);
- b.flags |= 128;
- }
- var e = b.memoizedState;
- null !== e && (e.rendering = null, e.tail = null, e.lastEffect = null);
- v(J, J.current);
- if (d) break;
- else return null;
- case 22:
- case 23:
- return b.lanes = 0, Zf(a, b, c);
- }
- return Uf(a, b, c);
- }
- function ug(a) {
- a.flags |= 4;
- }
- function vg(a, b) {
- if (null !== a && a.child === b.child) return true;
- if (0 !== (b.flags & 16)) return false;
- for(a = b.child; null !== a;){
- if (0 !== (a.flags & 12854) || 0 !== (a.subtreeFlags & 12854)) return false;
- a = a.sibling;
- }
- return true;
- }
- var wg, xg, yg, zg;
- if (Ta) wg = function(a, b) {
- for(var c = b.child; null !== c;){
- if (5 === c.tag || 6 === c.tag) Ka(a, c.stateNode);
- else if (4 !== c.tag && null !== c.child) {
- c.child.return = c;
- c = c.child;
- continue;
- }
- if (c === b) break;
- for(; null === c.sibling;){
- if (null === c.return || c.return === b) return;
- c = c.return;
- }
- c.sibling.return = c.return;
- c = c.sibling;
- }
- }, xg = function() {}, yg = function(a, b, c, d, e) {
- a = a.memoizedProps;
- if (a !== d) {
- var f = b.stateNode, g = Be(ye.current);
- c = Ma(f, c, a, d, e, g);
- (b.updateQueue = c) && ug(b);
- }
- }, zg = function(a, b, c, d) {
- c !== d && ug(b);
- };
- else if (Ua) {
- wg = function(a, b, c, d) {
- for(var e = b.child; null !== e;){
- if (5 === e.tag) {
- var f = e.stateNode;
- c && d && (f = Eb(f, e.type, e.memoizedProps, e));
- Ka(a, f);
- } else if (6 === e.tag) f = e.stateNode, c && d && (f = Fb(f, e.memoizedProps, e)), Ka(a, f);
- else if (4 !== e.tag) {
- if (22 === e.tag && null !== e.memoizedState) f = e.child, null !== f && (f.return = e), wg(a, e, true, true);
- else if (null !== e.child) {
- e.child.return = e;
- e = e.child;
- continue;
- }
- }
- if (e === b) break;
- for(; null === e.sibling;){
- if (null === e.return || e.return === b) return;
- e = e.return;
- }
- e.sibling.return = e.return;
- e = e.sibling;
- }
- };
- var Ag = function(a, b, c, d) {
- for(var e = b.child; null !== e;){
- if (5 === e.tag) {
- var f = e.stateNode;
- c && d && (f = Eb(f, e.type, e.memoizedProps, e));
- Ab(a, f);
- } else if (6 === e.tag) f = e.stateNode, c && d && (f = Fb(f, e.memoizedProps, e)), Ab(a, f);
- else if (4 !== e.tag) {
- if (22 === e.tag && null !== e.memoizedState) f = e.child, null !== f && (f.return = e), Ag(a, e, true, true);
- else if (null !== e.child) {
- e.child.return = e;
- e = e.child;
- continue;
- }
- }
- if (e === b) break;
- for(; null === e.sibling;){
- if (null === e.return || e.return === b) return;
- e = e.return;
- }
- e.sibling.return = e.return;
- e = e.sibling;
- }
- };
- xg = function(a, b) {
- var c = b.stateNode;
- if (!vg(a, b)) {
- a = c.containerInfo;
- var d = zb(a);
- Ag(d, b, false, false);
- c.pendingChildren = d;
- ug(b);
- Bb(a, d);
- }
- };
- yg = function(a, b, c, d, e) {
- var f = a.stateNode, g = a.memoizedProps;
- if ((a = vg(a, b)) && g === d) b.stateNode = f;
- else {
- var h = b.stateNode, k = Be(ye.current), l = null;
- g !== d && (l = Ma(h, c, g, d, e, k));
- a && null === l ? b.stateNode = f : (f = yb(f, l, c, g, d, b, a, h), La(f, c, d, e, k) && ug(b), b.stateNode = f, a ? ug(b) : wg(f, b, false, false));
- }
- };
- zg = function(a, b, c, d) {
- c !== d ? (a = Be(Ae.current), c = Be(ye.current), b.stateNode = Oa(d, a, c, b), ug(b)) : b.stateNode = a.stateNode;
- };
- } else xg = function() {}, yg = function() {}, zg = function() {};
- function Bg(a, b) {
- if (!F) switch(a.tailMode){
- case "hidden":
- b = a.tail;
- for(var c = null; null !== b;)null !== b.alternate && (c = b), b = b.sibling;
- null === c ? a.tail = null : c.sibling = null;
- break;
- case "collapsed":
- c = a.tail;
- for(var d = null; null !== c;)null !== c.alternate && (d = c), c = c.sibling;
- null === d ? b || null === a.tail ? a.tail = null : a.tail.sibling = null : d.sibling = null;
- }
- }
- function Q(a) {
- var b = null !== a.alternate && a.alternate.child === a.child, c = 0, d = 0;
- if (b) for(var e = a.child; null !== e;)c |= e.lanes | e.childLanes, d |= e.subtreeFlags & 14680064, d |= e.flags & 14680064, e.return = a, e = e.sibling;
- else for(e = a.child; null !== e;)c |= e.lanes | e.childLanes, d |= e.subtreeFlags, d |= e.flags, e.return = a, e = e.sibling;
- a.subtreeFlags |= d;
- a.childLanes = c;
- return b;
- }
- function Cg(a, b, c) {
- var d = b.pendingProps;
- nd(b);
- switch(b.tag){
- case 2:
- case 16:
- case 15:
- case 0:
- case 11:
- case 7:
- case 8:
- case 12:
- case 9:
- case 14:
- return Q(b), null;
- case 1:
- return A(b.type) && mc(), Q(b), null;
- case 3:
- c = b.stateNode;
- De();
- q(z);
- q(x);
- Ie();
- c.pendingContext && (c.context = c.pendingContext, c.pendingContext = null);
- if (null === a || null === a.child) yd(b) ? ug(b) : null === a || a.memoizedState.isDehydrated && 0 === (b.flags & 256) || (b.flags |= 1024, null !== rd && (Dg(rd), rd = null));
- xg(a, b);
- Q(b);
- return null;
- case 5:
- Fe(b);
- c = Be(Ae.current);
- var e = b.type;
- if (null !== a && null != b.stateNode) yg(a, b, e, d, c), a.ref !== b.ref && (b.flags |= 512, b.flags |= 2097152);
- else {
- if (!d) {
- if (null === b.stateNode) throw Error(m(166));
- Q(b);
- return null;
- }
- a = Be(ye.current);
- if (yd(b)) {
- if (!Va) throw Error(m(175));
- a = Rb(b.stateNode, b.type, b.memoizedProps, c, a, b, !qd);
- b.updateQueue = a;
- null !== a && ug(b);
- } else {
- var f = Ja(e, d, c, a, b);
- wg(f, b, false, false);
- b.stateNode = f;
- La(f, e, d, c, a) && ug(b);
- }
- null !== b.ref && (b.flags |= 512, b.flags |= 2097152);
- }
- Q(b);
- return null;
- case 6:
- if (a && null != b.stateNode) zg(a, b, a.memoizedProps, d);
- else {
- if ("string" !== typeof d && null === b.stateNode) throw Error(m(166));
- a = Be(Ae.current);
- c = Be(ye.current);
- if (yd(b)) {
- if (!Va) throw Error(m(176));
- a = b.stateNode;
- c = b.memoizedProps;
- if (d = Sb(a, c, b, !qd)) {
- if (e = od, null !== e) switch(e.tag){
- case 3:
- $b(e.stateNode.containerInfo, a, c, 0 !== (e.mode & 1));
- break;
- case 5:
- ac(e.type, e.memoizedProps, e.stateNode, a, c, 0 !== (e.mode & 1));
- }
- }
- d && ug(b);
- } else b.stateNode = Oa(d, a, c, b);
- }
- Q(b);
- return null;
- case 13:
- q(J);
- d = b.memoizedState;
- if (null === a || null !== a.memoizedState && null !== a.memoizedState.dehydrated) {
- if (F && null !== pd && 0 !== (b.mode & 1) && 0 === (b.flags & 128)) zd(), Ad(), b.flags |= 98560, e = false;
- else if (e = yd(b), null !== d && null !== d.dehydrated) {
- if (null === a) {
- if (!e) throw Error(m(318));
- if (!Va) throw Error(m(344));
- e = b.memoizedState;
- e = null !== e ? e.dehydrated : null;
- if (!e) throw Error(m(317));
- Tb(e, b);
- } else Ad(), 0 === (b.flags & 128) && (b.memoizedState = null), b.flags |= 4;
- Q(b);
- e = false;
- } else null !== rd && (Dg(rd), rd = null), e = true;
- if (!e) return b.flags & 65536 ? b : null;
- }
- if (0 !== (b.flags & 128)) return b.lanes = c, b;
- c = null !== d;
- c !== (null !== a && null !== a.memoizedState) && c && (b.child.flags |= 8192, 0 !== (b.mode & 1) && (null === a || 0 !== (J.current & 1) ? 0 === R && (R = 3) : og()));
- null !== b.updateQueue && (b.flags |= 4);
- Q(b);
- return null;
- case 4:
- return De(), xg(a, b), null === a && Xa(b.stateNode.containerInfo), Q(b), null;
- case 10:
- return Md(b.type._context), Q(b), null;
- case 17:
- return A(b.type) && mc(), Q(b), null;
- case 19:
- q(J);
- e = b.memoizedState;
- if (null === e) return Q(b), null;
- d = 0 !== (b.flags & 128);
- f = e.rendering;
- if (null === f) if (d) Bg(e, false);
- else {
- if (0 !== R || null !== a && 0 !== (a.flags & 128)) for(a = b.child; null !== a;){
- f = Ge(a);
- if (null !== f) {
- b.flags |= 128;
- Bg(e, false);
- a = f.updateQueue;
- null !== a && (b.updateQueue = a, b.flags |= 4);
- b.subtreeFlags = 0;
- a = c;
- for(c = b.child; null !== c;)d = c, e = a, d.flags &= 14680066, f = d.alternate, null === f ? (d.childLanes = 0, d.lanes = e, d.child = null, d.subtreeFlags = 0, d.memoizedProps = null, d.memoizedState = null, d.updateQueue = null, d.dependencies = null, d.stateNode = null) : (d.childLanes = f.childLanes, d.lanes = f.lanes, d.child = f.child, d.subtreeFlags = 0, d.deletions = null, d.memoizedProps = f.memoizedProps, d.memoizedState = f.memoizedState, d.updateQueue = f.updateQueue, d.type = f.type, e = f.dependencies, d.dependencies = null === e ? null : {
- lanes: e.lanes,
- firstContext: e.firstContext
- }), c = c.sibling;
- v(J, J.current & 1 | 2);
- return b.child;
- }
- a = a.sibling;
- }
- null !== e.tail && D() > Eg && (b.flags |= 128, d = true, Bg(e, false), b.lanes = 4194304);
- }
- else {
- if (!d) if (a = Ge(f), null !== a) {
- if (b.flags |= 128, d = true, a = a.updateQueue, null !== a && (b.updateQueue = a, b.flags |= 4), Bg(e, true), null === e.tail && "hidden" === e.tailMode && !f.alternate && !F) return Q(b), null;
- } else 2 * D() - e.renderingStartTime > Eg && 1073741824 !== c && (b.flags |= 128, d = true, Bg(e, false), b.lanes = 4194304);
- e.isBackwards ? (f.sibling = b.child, b.child = f) : (a = e.last, null !== a ? a.sibling = f : b.child = f, e.last = f);
- }
- if (null !== e.tail) return b = e.tail, e.rendering = b, e.tail = b.sibling, e.renderingStartTime = D(), b.sibling = null, a = J.current, v(J, d ? a & 1 | 2 : a & 1), b;
- Q(b);
- return null;
- case 22:
- case 23:
- return Fg(), c = null !== b.memoizedState, null !== a && null !== a.memoizedState !== c && (b.flags |= 8192), c && 0 !== (b.mode & 1) ? 0 !== (ag & 1073741824) && (Q(b), Ta && b.subtreeFlags & 6 && (b.flags |= 8192)) : Q(b), null;
- case 24:
- return null;
- case 25:
- return null;
- }
- throw Error(m(156, b.tag));
- }
- function Gg(a, b) {
- nd(b);
- switch(b.tag){
- case 1:
- return A(b.type) && mc(), a = b.flags, a & 65536 ? (b.flags = a & -65537 | 128, b) : null;
- case 3:
- return De(), q(z), q(x), Ie(), a = b.flags, 0 !== (a & 65536) && 0 === (a & 128) ? (b.flags = a & -65537 | 128, b) : null;
- case 5:
- return Fe(b), null;
- case 13:
- q(J);
- a = b.memoizedState;
- if (null !== a && null !== a.dehydrated) {
- if (null === b.alternate) throw Error(m(340));
- Ad();
- }
- a = b.flags;
- return a & 65536 ? (b.flags = a & -65537 | 128, b) : null;
- case 19:
- return q(J), null;
- case 4:
- return De(), null;
- case 10:
- return Md(b.type._context), null;
- case 22:
- case 23:
- return Fg(), null;
- case 24:
- return null;
- default:
- return null;
- }
- }
- var Hg = false, S = false, Ig = "function" === typeof WeakSet ? WeakSet : Set, T = null;
- function Jg(a, b) {
- var c = a.ref;
- if (null !== c) if ("function" === typeof c) try {
- c(null);
- } catch (d) {
- U(a, b, d);
- }
- else c.current = null;
- }
- function Kg(a, b, c) {
- try {
- c();
- } catch (d) {
- U(a, b, d);
- }
- }
- var Lg = false;
- function Mg(a, b) {
- Ha(a.containerInfo);
- for(T = b; null !== T;)if (a = T, b = a.child, 0 !== (a.subtreeFlags & 1028) && null !== b) b.return = a, T = b;
- else for(; null !== T;){
- a = T;
- try {
- var c = a.alternate;
- if (0 !== (a.flags & 1024)) switch(a.tag){
- case 0:
- case 11:
- case 15:
- break;
- case 1:
- if (null !== c) {
- var d = c.memoizedProps, e = c.memoizedState, f = a.stateNode, g = f.getSnapshotBeforeUpdate(a.elementType === a.type ? d : Fd(a.type, d), e);
- f.__reactInternalSnapshotBeforeUpdate = g;
- }
- break;
- case 3:
- Ta && xb(a.stateNode.containerInfo);
- break;
- case 5:
- case 6:
- case 4:
- case 17:
- break;
- default:
- throw Error(m(163));
- }
- } catch (h) {
- U(a, a.return, h);
- }
- b = a.sibling;
- if (null !== b) {
- b.return = a.return;
- T = b;
- break;
- }
- T = a.return;
- }
- c = Lg;
- Lg = false;
- return c;
- }
- function Ng(a, b, c) {
- var d = b.updateQueue;
- d = null !== d ? d.lastEffect : null;
- if (null !== d) {
- var e = d = d.next;
- do {
- if ((e.tag & a) === a) {
- var f = e.destroy;
- e.destroy = void 0;
- void 0 !== f && Kg(b, c, f);
- }
- e = e.next;
- }while (e !== d)
- }
- }
- function Og(a, b) {
- b = b.updateQueue;
- b = null !== b ? b.lastEffect : null;
- if (null !== b) {
- var c = b = b.next;
- do {
- if ((c.tag & a) === a) {
- var d = c.create;
- c.destroy = d();
- }
- c = c.next;
- }while (c !== b)
- }
- }
- function Pg(a) {
- var b = a.ref;
- if (null !== b) {
- var c = a.stateNode;
- switch(a.tag){
- case 5:
- a = Ea(c);
- break;
- default:
- a = c;
- }
- "function" === typeof b ? b(a) : b.current = a;
- }
- }
- function Qg(a) {
- var b = a.alternate;
- null !== b && (a.alternate = null, Qg(b));
- a.child = null;
- a.deletions = null;
- a.sibling = null;
- 5 === a.tag && (b = a.stateNode, null !== b && Za(b));
- a.stateNode = null;
- a.return = null;
- a.dependencies = null;
- a.memoizedProps = null;
- a.memoizedState = null;
- a.pendingProps = null;
- a.stateNode = null;
- a.updateQueue = null;
- }
- function Rg(a) {
- return 5 === a.tag || 3 === a.tag || 4 === a.tag;
- }
- function Sg(a) {
- a: for(;;){
- for(; null === a.sibling;){
- if (null === a.return || Rg(a.return)) return null;
- a = a.return;
- }
- a.sibling.return = a.return;
- for(a = a.sibling; 5 !== a.tag && 6 !== a.tag && 18 !== a.tag;){
- if (a.flags & 2) continue a;
- if (null === a.child || 4 === a.tag) continue a;
- else a.child.return = a, a = a.child;
- }
- if (!(a.flags & 2)) return a.stateNode;
- }
- }
- function Tg(a, b, c) {
- var d = a.tag;
- if (5 === d || 6 === d) a = a.stateNode, b ? pb(c, a, b) : kb(c, a);
- else if (4 !== d && (a = a.child, null !== a)) for(Tg(a, b, c), a = a.sibling; null !== a;)Tg(a, b, c), a = a.sibling;
- }
- function Ug(a, b, c) {
- var d = a.tag;
- if (5 === d || 6 === d) a = a.stateNode, b ? ob(c, a, b) : jb(c, a);
- else if (4 !== d && (a = a.child, null !== a)) for(Ug(a, b, c), a = a.sibling; null !== a;)Ug(a, b, c), a = a.sibling;
- }
- var V = null, Vg = false;
- function Wg(a, b, c) {
- for(c = c.child; null !== c;)Xg(a, b, c), c = c.sibling;
- }
- function Xg(a, b, c) {
- if (Sc && "function" === typeof Sc.onCommitFiberUnmount) try {
- Sc.onCommitFiberUnmount(Rc, c);
- } catch (h) {}
- switch(c.tag){
- case 5:
- S || Jg(c, b);
- case 6:
- if (Ta) {
- var d = V, e = Vg;
- V = null;
- Wg(a, b, c);
- V = d;
- Vg = e;
- null !== V && (Vg ? rb(V, c.stateNode) : qb(V, c.stateNode));
- } else Wg(a, b, c);
- break;
- case 18:
- Ta && null !== V && (Vg ? Yb(V, c.stateNode) : Xb(V, c.stateNode));
- break;
- case 4:
- Ta ? (d = V, e = Vg, V = c.stateNode.containerInfo, Vg = true, Wg(a, b, c), V = d, Vg = e) : (Ua && (d = c.stateNode.containerInfo, e = zb(d), Cb(d, e)), Wg(a, b, c));
- break;
- case 0:
- case 11:
- case 14:
- case 15:
- if (!S && (d = c.updateQueue, null !== d && (d = d.lastEffect, null !== d))) {
- e = d = d.next;
- do {
- var f = e, g = f.destroy;
- f = f.tag;
- void 0 !== g && (0 !== (f & 2) ? Kg(c, b, g) : 0 !== (f & 4) && Kg(c, b, g));
- e = e.next;
- }while (e !== d)
- }
- Wg(a, b, c);
- break;
- case 1:
- if (!S && (Jg(c, b), d = c.stateNode, "function" === typeof d.componentWillUnmount)) try {
- d.props = c.memoizedProps, d.state = c.memoizedState, d.componentWillUnmount();
- } catch (h) {
- U(c, b, h);
- }
- Wg(a, b, c);
- break;
- case 21:
- Wg(a, b, c);
- break;
- case 22:
- c.mode & 1 ? (S = (d = S) || null !== c.memoizedState, Wg(a, b, c), S = d) : Wg(a, b, c);
- break;
- default:
- Wg(a, b, c);
- }
- }
- function Yg(a) {
- var b = a.updateQueue;
- if (null !== b) {
- a.updateQueue = null;
- var c = a.stateNode;
- null === c && (c = a.stateNode = new Ig());
- b.forEach(function(b2) {
- var d = Zg.bind(null, a, b2);
- c.has(b2) || (c.add(b2), b2.then(d, d));
- });
- }
- }
- function $g(a, b) {
- var c = b.deletions;
- if (null !== c) for(var d = 0; d < c.length; d++){
- var e = c[d];
- try {
- var f = a, g = b;
- if (Ta) {
- var h = g;
- a: for(; null !== h;){
- switch(h.tag){
- case 5:
- V = h.stateNode;
- Vg = false;
- break a;
- case 3:
- V = h.stateNode.containerInfo;
- Vg = true;
- break a;
- case 4:
- V = h.stateNode.containerInfo;
- Vg = true;
- break a;
- }
- h = h.return;
- }
- if (null === V) throw Error(m(160));
- Xg(f, g, e);
- V = null;
- Vg = false;
- } else Xg(f, g, e);
- var k = e.alternate;
- null !== k && (k.return = null);
- e.return = null;
- } catch (l) {
- U(e, b, l);
- }
- }
- if (b.subtreeFlags & 12854) for(b = b.child; null !== b;)ah(b, a), b = b.sibling;
- }
- function ah(a, b) {
- var c = a.alternate, d = a.flags;
- switch(a.tag){
- case 0:
- case 11:
- case 14:
- case 15:
- $g(b, a);
- bh(a);
- if (d & 4) {
- try {
- Ng(3, a, a.return), Og(3, a);
- } catch (p) {
- U(a, a.return, p);
- }
- try {
- Ng(5, a, a.return);
- } catch (p) {
- U(a, a.return, p);
- }
- }
- break;
- case 1:
- $g(b, a);
- bh(a);
- d & 512 && null !== c && Jg(c, c.return);
- break;
- case 5:
- $g(b, a);
- bh(a);
- d & 512 && null !== c && Jg(c, c.return);
- if (Ta) {
- if (a.flags & 32) {
- var e = a.stateNode;
- try {
- sb(e);
- } catch (p) {
- U(a, a.return, p);
- }
- }
- if (d & 4 && (e = a.stateNode, null != e)) {
- var f = a.memoizedProps;
- c = null !== c ? c.memoizedProps : f;
- d = a.type;
- b = a.updateQueue;
- a.updateQueue = null;
- if (null !== b) try {
- nb(e, b, d, c, f, a);
- } catch (p) {
- U(a, a.return, p);
- }
- }
- }
- break;
- case 6:
- $g(b, a);
- bh(a);
- if (d & 4 && Ta) {
- if (null === a.stateNode) throw Error(m(162));
- e = a.stateNode;
- f = a.memoizedProps;
- c = null !== c ? c.memoizedProps : f;
- try {
- lb(e, c, f);
- } catch (p) {
- U(a, a.return, p);
- }
- }
- break;
- case 3:
- $g(b, a);
- bh(a);
- if (d & 4) {
- if (Ta && Va && null !== c && c.memoizedState.isDehydrated) try {
- Vb(b.containerInfo);
- } catch (p) {
- U(a, a.return, p);
- }
- if (Ua) {
- e = b.containerInfo;
- f = b.pendingChildren;
- try {
- Cb(e, f);
- } catch (p) {
- U(a, a.return, p);
- }
- }
- }
- break;
- case 4:
- $g(b, a);
- bh(a);
- if (d & 4 && Ua) {
- f = a.stateNode;
- e = f.containerInfo;
- f = f.pendingChildren;
- try {
- Cb(e, f);
- } catch (p) {
- U(a, a.return, p);
- }
- }
- break;
- case 13:
- $g(b, a);
- bh(a);
- e = a.child;
- e.flags & 8192 && (f = null !== e.memoizedState, e.stateNode.isHidden = f, !f || null !== e.alternate && null !== e.alternate.memoizedState || (ch = D()));
- d & 4 && Yg(a);
- break;
- case 22:
- var g = null !== c && null !== c.memoizedState;
- a.mode & 1 ? (S = (c = S) || g, $g(b, a), S = c) : $g(b, a);
- bh(a);
- if (d & 8192) {
- c = null !== a.memoizedState;
- if ((a.stateNode.isHidden = c) && !g && 0 !== (a.mode & 1)) for(T = a, d = a.child; null !== d;){
- for(b = T = d; null !== T;){
- g = T;
- var h = g.child;
- switch(g.tag){
- case 0:
- case 11:
- case 14:
- case 15:
- Ng(4, g, g.return);
- break;
- case 1:
- Jg(g, g.return);
- var k = g.stateNode;
- if ("function" === typeof k.componentWillUnmount) {
- var l = g, n = g.return;
- try {
- var t = l;
- k.props = t.memoizedProps;
- k.state = t.memoizedState;
- k.componentWillUnmount();
- } catch (p) {
- U(l, n, p);
- }
- }
- break;
- case 5:
- Jg(g, g.return);
- break;
- case 22:
- if (null !== g.memoizedState) {
- dh(b);
- continue;
- }
- }
- null !== h ? (h.return = g, T = h) : dh(b);
- }
- d = d.sibling;
- }
- if (Ta) {
- a: if (d = null, Ta) for(b = a;;){
- if (5 === b.tag) {
- if (null === d) {
- d = b;
- try {
- e = b.stateNode, c ? tb(e) : vb(b.stateNode, b.memoizedProps);
- } catch (p) {
- U(a, a.return, p);
- }
- }
- } else if (6 === b.tag) {
- if (null === d) try {
- f = b.stateNode, c ? ub(f) : wb(f, b.memoizedProps);
- } catch (p) {
- U(a, a.return, p);
- }
- } else if ((22 !== b.tag && 23 !== b.tag || null === b.memoizedState || b === a) && null !== b.child) {
- b.child.return = b;
- b = b.child;
- continue;
- }
- if (b === a) break a;
- for(; null === b.sibling;){
- if (null === b.return || b.return === a) break a;
- d === b && (d = null);
- b = b.return;
- }
- d === b && (d = null);
- b.sibling.return = b.return;
- b = b.sibling;
- }
- }
- }
- break;
- case 19:
- $g(b, a);
- bh(a);
- d & 4 && Yg(a);
- break;
- case 21:
- break;
- default:
- $g(b, a), bh(a);
- }
- }
- function bh(a) {
- var b = a.flags;
- if (b & 2) {
- try {
- if (Ta) {
- b: {
- for(var c = a.return; null !== c;){
- if (Rg(c)) {
- var d = c;
- break b;
- }
- c = c.return;
- }
- throw Error(m(160));
- }
- switch(d.tag){
- case 5:
- var e = d.stateNode;
- d.flags & 32 && (sb(e), d.flags &= -33);
- var f = Sg(a);
- Ug(a, f, e);
- break;
- case 3:
- case 4:
- var g = d.stateNode.containerInfo, h = Sg(a);
- Tg(a, h, g);
- break;
- default:
- throw Error(m(161));
- }
- }
- } catch (k) {
- U(a, a.return, k);
- }
- a.flags &= -3;
- }
- b & 4096 && (a.flags &= -4097);
- }
- function eh(a, b, c) {
- T = a;
- fh(a, b, c);
- }
- function fh(a, b, c) {
- for(var d = 0 !== (a.mode & 1); null !== T;){
- var e = T, f = e.child;
- if (22 === e.tag && d) {
- var g = null !== e.memoizedState || Hg;
- if (!g) {
- var h = e.alternate, k = null !== h && null !== h.memoizedState || S;
- h = Hg;
- var l = S;
- Hg = g;
- if ((S = k) && !l) for(T = e; null !== T;)g = T, k = g.child, 22 === g.tag && null !== g.memoizedState ? gh(e) : null !== k ? (k.return = g, T = k) : gh(e);
- for(; null !== f;)T = f, fh(f, b, c), f = f.sibling;
- T = e;
- Hg = h;
- S = l;
- }
- hh(a, b, c);
- } else 0 !== (e.subtreeFlags & 8772) && null !== f ? (f.return = e, T = f) : hh(a, b, c);
- }
- }
- function hh(a) {
- for(; null !== T;){
- var b = T;
- if (0 !== (b.flags & 8772)) {
- var c = b.alternate;
- try {
- if (0 !== (b.flags & 8772)) switch(b.tag){
- case 0:
- case 11:
- case 15:
- S || Og(5, b);
- break;
- case 1:
- var d = b.stateNode;
- if (b.flags & 4 && !S) if (null === c) d.componentDidMount();
- else {
- var e = b.elementType === b.type ? c.memoizedProps : Fd(b.type, c.memoizedProps);
- d.componentDidUpdate(e, c.memoizedState, d.__reactInternalSnapshotBeforeUpdate);
- }
- var f = b.updateQueue;
- null !== f && ce(b, f, d);
- break;
- case 3:
- var g = b.updateQueue;
- if (null !== g) {
- c = null;
- if (null !== b.child) switch(b.child.tag){
- case 5:
- c = Ea(b.child.stateNode);
- break;
- case 1:
- c = b.child.stateNode;
- }
- ce(b, g, c);
- }
- break;
- case 5:
- var h = b.stateNode;
- null === c && b.flags & 4 && mb(h, b.type, b.memoizedProps, b);
- break;
- case 6:
- break;
- case 4:
- break;
- case 12:
- break;
- case 13:
- if (Va && null === b.memoizedState) {
- var k = b.alternate;
- if (null !== k) {
- var l = k.memoizedState;
- if (null !== l) {
- var n = l.dehydrated;
- null !== n && Wb(n);
- }
- }
- }
- break;
- case 19:
- case 17:
- case 21:
- case 22:
- case 23:
- case 25:
- break;
- default:
- throw Error(m(163));
- }
- S || b.flags & 512 && Pg(b);
- } catch (t) {
- U(b, b.return, t);
- }
- }
- if (b === a) {
- T = null;
- break;
- }
- c = b.sibling;
- if (null !== c) {
- c.return = b.return;
- T = c;
- break;
- }
- T = b.return;
- }
- }
- function dh(a) {
- for(; null !== T;){
- var b = T;
- if (b === a) {
- T = null;
- break;
- }
- var c = b.sibling;
- if (null !== c) {
- c.return = b.return;
- T = c;
- break;
- }
- T = b.return;
- }
- }
- function gh(a) {
- for(; null !== T;){
- var b = T;
- try {
- switch(b.tag){
- case 0:
- case 11:
- case 15:
- var c = b.return;
- try {
- Og(4, b);
- } catch (k) {
- U(b, c, k);
- }
- break;
- case 1:
- var d = b.stateNode;
- if ("function" === typeof d.componentDidMount) {
- var e = b.return;
- try {
- d.componentDidMount();
- } catch (k) {
- U(b, e, k);
- }
- }
- var f = b.return;
- try {
- Pg(b);
- } catch (k) {
- U(b, f, k);
- }
- break;
- case 5:
- var g = b.return;
- try {
- Pg(b);
- } catch (k) {
- U(b, g, k);
- }
- }
- } catch (k) {
- U(b, b.return, k);
- }
- if (b === a) {
- T = null;
- break;
- }
- var h = b.sibling;
- if (null !== h) {
- h.return = b.return;
- T = h;
- break;
- }
- T = b.return;
- }
- }
- var ih = 0, jh = 1, kh = 2, lh = 3, mh = 4;
- if ("function" === typeof Symbol && Symbol.for) {
- var nh = Symbol.for;
- ih = nh("selector.component");
- jh = nh("selector.has_pseudo_class");
- kh = nh("selector.role");
- lh = nh("selector.test_id");
- mh = nh("selector.text");
- }
- function oh(a) {
- var b = Wa(a);
- if (null != b) {
- if ("string" !== typeof b.memoizedProps["data-testname"]) throw Error(m(364));
- return b;
- }
- a = cb(a);
- if (null === a) throw Error(m(362));
- return a.stateNode.current;
- }
- function ph(a, b) {
- switch(b.$$typeof){
- case ih:
- if (a.type === b.value) return true;
- break;
- case jh:
- a: {
- b = b.value;
- a = [
- a,
- 0
- ];
- for(var c = 0; c < a.length;){
- var d = a[c++], e = a[c++], f = b[e];
- if (5 !== d.tag || !fb(d)) {
- for(; null != f && ph(d, f);)e++, f = b[e];
- if (e === b.length) {
- b = true;
- break a;
- } else for(d = d.child; null !== d;)a.push(d, e), d = d.sibling;
- }
- }
- b = false;
- }
- return b;
- case kh:
- if (5 === a.tag && gb(a.stateNode, b.value)) return true;
- break;
- case mh:
- if (5 === a.tag || 6 === a.tag) {
- if (a = eb(a), null !== a && 0 <= a.indexOf(b.value)) return true;
- }
- break;
- case lh:
- if (5 === a.tag && (a = a.memoizedProps["data-testname"], "string" === typeof a && a.toLowerCase() === b.value.toLowerCase())) return true;
- break;
- default:
- throw Error(m(365));
- }
- return false;
- }
- function qh(a) {
- switch(a.$$typeof){
- case ih:
- return "<" + (ua(a.value) || "Unknown") + ">";
- case jh:
- return ":has(" + (qh(a) || "") + ")";
- case kh:
- return '[role="' + a.value + '"]';
- case mh:
- return '"' + a.value + '"';
- case lh:
- return '[data-testname="' + a.value + '"]';
- default:
- throw Error(m(365));
- }
- }
- function rh(a, b) {
- var c = [];
- a = [
- a,
- 0
- ];
- for(var d = 0; d < a.length;){
- var e = a[d++], f = a[d++], g = b[f];
- if (5 !== e.tag || !fb(e)) {
- for(; null != g && ph(e, g);)f++, g = b[f];
- if (f === b.length) c.push(e);
- else for(e = e.child; null !== e;)a.push(e, f), e = e.sibling;
- }
- }
- return c;
- }
- function sh(a, b) {
- if (!bb) throw Error(m(363));
- a = oh(a);
- a = rh(a, b);
- b = [];
- a = Array.from(a);
- for(var c = 0; c < a.length;){
- var d = a[c++];
- if (5 === d.tag) fb(d) || b.push(d.stateNode);
- else for(d = d.child; null !== d;)a.push(d), d = d.sibling;
- }
- return b;
- }
- var th = Math.ceil, uh = da.ReactCurrentDispatcher, vh = da.ReactCurrentOwner, W = da.ReactCurrentBatchConfig, H = 0, O = null, X = null, Y = 0, ag = 0, $f = ic(0), R = 0, wh = null, be = 0, xh = 0, yh = 0, zh = null, Ah = null, ch = 0, Eg = Infinity, Bh = null;
- function Ch() {
- Eg = D() + 500;
- }
- var Kf = false, Lf = null, Nf = null, Dh = false, Eh = null, Fh = 0, Gh = 0, Hh = null, Ih = -1, Jh = 0;
- function I() {
- return 0 !== (H & 6) ? D() : -1 !== Ih ? Ih : Ih = D();
- }
- function fe(a) {
- if (0 === (a.mode & 1)) return 1;
- if (0 !== (H & 2) && 0 !== Y) return Y & -Y;
- if (null !== Cd.transition) return 0 === Jh && (Jh = Dc()), Jh;
- a = C;
- return 0 !== a ? a : Ya();
- }
- function ge(a, b, c, d) {
- if (50 < Gh) throw Gh = 0, Hh = null, Error(m(185));
- Fc(a, c, d);
- if (0 === (H & 2) || a !== O) a === O && (0 === (H & 2) && (xh |= c), 4 === R && Kh(a, Y)), Lh(a, d), 1 === c && 0 === H && 0 === (b.mode & 1) && (Ch(), Xc && ad());
- }
- function Lh(a, b) {
- var c = a.callbackNode;
- Bc(a, b);
- var d = zc(a, a === O ? Y : 0);
- if (0 === d) null !== c && Kc(c), a.callbackNode = null, a.callbackPriority = 0;
- else if (b = d & -d, a.callbackPriority !== b) {
- null != c && Kc(c);
- if (1 === b) 0 === a.tag ? $c(Mh.bind(null, a)) : Zc(Mh.bind(null, a)), $a ? ab(function() {
- 0 === (H & 6) && ad();
- }) : Jc(Nc, ad), c = null;
- else {
- switch(Ic(d)){
- case 1:
- c = Nc;
- break;
- case 4:
- c = Oc;
- break;
- case 16:
- c = Pc;
- break;
- case 536870912:
- c = Qc;
- break;
- default:
- c = Pc;
- }
- c = Nh(c, Oh.bind(null, a));
- }
- a.callbackPriority = b;
- a.callbackNode = c;
- }
- }
- function Oh(a, b) {
- Ih = -1;
- Jh = 0;
- if (0 !== (H & 6)) throw Error(m(327));
- var c = a.callbackNode;
- if (Ph() && a.callbackNode !== c) return null;
- var d = zc(a, a === O ? Y : 0);
- if (0 === d) return null;
- if (0 !== (d & 30) || 0 !== (d & a.expiredLanes) || b) b = Qh(a, d);
- else {
- b = d;
- var e = H;
- H |= 2;
- var f = Rh();
- if (O !== a || Y !== b) Bh = null, Ch(), Sh(a, b);
- do try {
- Th();
- break;
- } catch (h) {
- Uh(a, h);
- }
- while (1)
- Kd();
- uh.current = f;
- H = e;
- null !== X ? b = 0 : (O = null, Y = 0, b = R);
- }
- if (0 !== b) {
- 2 === b && (e = Cc(a), 0 !== e && (d = e, b = Vh(a, e)));
- if (1 === b) throw c = wh, Sh(a, 0), Kh(a, d), Lh(a, D()), c;
- if (6 === b) Kh(a, d);
- else {
- e = a.current.alternate;
- if (0 === (d & 30) && !Wh(e) && (b = Qh(a, d), 2 === b && (f = Cc(a), 0 !== f && (d = f, b = Vh(a, f))), 1 === b)) throw c = wh, Sh(a, 0), Kh(a, d), Lh(a, D()), c;
- a.finishedWork = e;
- a.finishedLanes = d;
- switch(b){
- case 0:
- case 1:
- throw Error(m(345));
- case 2:
- Xh(a, Ah, Bh);
- break;
- case 3:
- Kh(a, d);
- if ((d & 130023424) === d && (b = ch + 500 - D(), 10 < b)) {
- if (0 !== zc(a, 0)) break;
- e = a.suspendedLanes;
- if ((e & d) !== d) {
- I();
- a.pingedLanes |= a.suspendedLanes & e;
- break;
- }
- a.timeoutHandle = Pa(Xh.bind(null, a, Ah, Bh), b);
- break;
- }
- Xh(a, Ah, Bh);
- break;
- case 4:
- Kh(a, d);
- if ((d & 4194240) === d) break;
- b = a.eventTimes;
- for(e = -1; 0 < d;){
- var g = 31 - tc(d);
- f = 1 << g;
- g = b[g];
- g > e && (e = g);
- d &= ~f;
- }
- d = e;
- d = D() - d;
- d = (120 > d ? 120 : 480 > d ? 480 : 1080 > d ? 1080 : 1920 > d ? 1920 : 3e3 > d ? 3e3 : 4320 > d ? 4320 : 1960 * th(d / 1960)) - d;
- if (10 < d) {
- a.timeoutHandle = Pa(Xh.bind(null, a, Ah, Bh), d);
- break;
- }
- Xh(a, Ah, Bh);
- break;
- case 5:
- Xh(a, Ah, Bh);
- break;
- default:
- throw Error(m(329));
- }
- }
- }
- Lh(a, D());
- return a.callbackNode === c ? Oh.bind(null, a) : null;
- }
- function Vh(a, b) {
- var c = zh;
- a.current.memoizedState.isDehydrated && (Sh(a, b).flags |= 256);
- a = Qh(a, b);
- 2 !== a && (b = Ah, Ah = c, null !== b && Dg(b));
- return a;
- }
- function Dg(a) {
- null === Ah ? Ah = a : Ah.push.apply(Ah, a);
- }
- function Wh(a) {
- for(var b = a;;){
- if (b.flags & 16384) {
- var c = b.updateQueue;
- if (null !== c && (c = c.stores, null !== c)) for(var d = 0; d < c.length; d++){
- var e = c[d], f = e.getSnapshot;
- e = e.value;
- try {
- if (!Vc(f(), e)) return false;
- } catch (g) {
- return false;
- }
- }
- }
- c = b.child;
- if (b.subtreeFlags & 16384 && null !== c) c.return = b, b = c;
- else {
- if (b === a) break;
- for(; null === b.sibling;){
- if (null === b.return || b.return === a) return true;
- b = b.return;
- }
- b.sibling.return = b.return;
- b = b.sibling;
- }
- }
- return true;
- }
- function Kh(a, b) {
- b &= ~yh;
- b &= ~xh;
- a.suspendedLanes |= b;
- a.pingedLanes &= ~b;
- for(a = a.expirationTimes; 0 < b;){
- var c = 31 - tc(b), d = 1 << c;
- a[c] = -1;
- b &= ~d;
- }
- }
- function Mh(a) {
- if (0 !== (H & 6)) throw Error(m(327));
- Ph();
- var b = zc(a, 0);
- if (0 === (b & 1)) return Lh(a, D()), null;
- var c = Qh(a, b);
- if (0 !== a.tag && 2 === c) {
- var d = Cc(a);
- 0 !== d && (b = d, c = Vh(a, d));
- }
- if (1 === c) throw c = wh, Sh(a, 0), Kh(a, b), Lh(a, D()), c;
- if (6 === c) throw Error(m(345));
- a.finishedWork = a.current.alternate;
- a.finishedLanes = b;
- Xh(a, Ah, Bh);
- Lh(a, D());
- return null;
- }
- function Yh(a) {
- null !== Eh && 0 === Eh.tag && 0 === (H & 6) && Ph();
- var b = H;
- H |= 1;
- var c = W.transition, d = C;
- try {
- if (W.transition = null, C = 1, a) return a();
- } finally{
- C = d, W.transition = c, H = b, 0 === (H & 6) && ad();
- }
- }
- function Fg() {
- ag = $f.current;
- q($f);
- }
- function Sh(a, b) {
- a.finishedWork = null;
- a.finishedLanes = 0;
- var c = a.timeoutHandle;
- c !== Ra && (a.timeoutHandle = Ra, Qa(c));
- if (null !== X) for(c = X.return; null !== c;){
- var d = c;
- nd(d);
- switch(d.tag){
- case 1:
- d = d.type.childContextTypes;
- null !== d && void 0 !== d && mc();
- break;
- case 3:
- De();
- q(z);
- q(x);
- Ie();
- break;
- case 5:
- Fe(d);
- break;
- case 4:
- De();
- break;
- case 13:
- q(J);
- break;
- case 19:
- q(J);
- break;
- case 10:
- Md(d.type._context);
- break;
- case 22:
- case 23:
- Fg();
- }
- c = c.return;
- }
- O = a;
- X = a = qe(a.current, null);
- Y = ag = b;
- R = 0;
- wh = null;
- yh = xh = be = 0;
- Ah = zh = null;
- if (null !== Qd) {
- for(b = 0; b < Qd.length; b++)if (c = Qd[b], d = c.interleaved, null !== d) {
- c.interleaved = null;
- var e = d.next, f = c.pending;
- if (null !== f) {
- var g = f.next;
- f.next = e;
- d.next = g;
- }
- c.pending = d;
- }
- Qd = null;
- }
- return a;
- }
- function Uh(a, b) {
- do {
- var c = X;
- try {
- Kd();
- Je.current = Ve;
- if (Me) {
- for(var d = K.memoizedState; null !== d;){
- var e = d.queue;
- null !== e && (e.pending = null);
- d = d.next;
- }
- Me = false;
- }
- Le = 0;
- M = L = K = null;
- Ne = false;
- Oe = 0;
- vh.current = null;
- if (null === c || null === c.return) {
- R = 1;
- wh = b;
- X = null;
- break;
- }
- a: {
- var f = a, g = c.return, h = c, k = b;
- b = Y;
- h.flags |= 32768;
- if (null !== k && "object" === typeof k && "function" === typeof k.then) {
- var l = k, n = h, t = n.tag;
- if (0 === (n.mode & 1) && (0 === t || 11 === t || 15 === t)) {
- var p = n.alternate;
- p ? (n.updateQueue = p.updateQueue, n.memoizedState = p.memoizedState, n.lanes = p.lanes) : (n.updateQueue = null, n.memoizedState = null);
- }
- var B = Qf(g);
- if (null !== B) {
- B.flags &= -257;
- Rf(B, g, h, f, b);
- B.mode & 1 && Of(f, l, b);
- b = B;
- k = l;
- var w = b.updateQueue;
- if (null === w) {
- var Z = /* @__PURE__ */ new Set();
- Z.add(k);
- b.updateQueue = Z;
- } else w.add(k);
- break a;
- } else {
- if (0 === (b & 1)) {
- Of(f, l, b);
- og();
- break a;
- }
- k = Error(m(426));
- }
- } else if (F && h.mode & 1) {
- var za = Qf(g);
- if (null !== za) {
- 0 === (za.flags & 65536) && (za.flags |= 256);
- Rf(za, g, h, f, b);
- Bd(Ff(k, h));
- break a;
- }
- }
- f = k = Ff(k, h);
- 4 !== R && (R = 2);
- null === zh ? zh = [
- f
- ] : zh.push(f);
- f = g;
- do {
- switch(f.tag){
- case 3:
- f.flags |= 65536;
- b &= -b;
- f.lanes |= b;
- var E = Jf(f, k, b);
- $d(f, E);
- break a;
- case 1:
- h = k;
- var r = f.type, u = f.stateNode;
- if (0 === (f.flags & 128) && ("function" === typeof r.getDerivedStateFromError || null !== u && "function" === typeof u.componentDidCatch && (null === Nf || !Nf.has(u)))) {
- f.flags |= 65536;
- b &= -b;
- f.lanes |= b;
- var Db = Mf(f, h, b);
- $d(f, Db);
- break a;
- }
- }
- f = f.return;
- }while (null !== f)
- }
- Zh(c);
- } catch (qc) {
- b = qc;
- X === c && null !== c && (X = c = c.return);
- continue;
- }
- break;
- }while (1)
- }
- function Rh() {
- var a = uh.current;
- uh.current = Ve;
- return null === a ? Ve : a;
- }
- function og() {
- if (0 === R || 3 === R || 2 === R) R = 4;
- null === O || 0 === (be & 268435455) && 0 === (xh & 268435455) || Kh(O, Y);
- }
- function Qh(a, b) {
- var c = H;
- H |= 2;
- var d = Rh();
- if (O !== a || Y !== b) Bh = null, Sh(a, b);
- do try {
- $h();
- break;
- } catch (e) {
- Uh(a, e);
- }
- while (1)
- Kd();
- H = c;
- uh.current = d;
- if (null !== X) throw Error(m(261));
- O = null;
- Y = 0;
- return R;
- }
- function $h() {
- for(; null !== X;)ai(X);
- }
- function Th() {
- for(; null !== X && !Lc();)ai(X);
- }
- function ai(a) {
- var b = bi(a.alternate, a, ag);
- a.memoizedProps = a.pendingProps;
- null === b ? Zh(a) : X = b;
- vh.current = null;
- }
- function Zh(a) {
- var b = a;
- do {
- var c = b.alternate;
- a = b.return;
- if (0 === (b.flags & 32768)) {
- if (c = Cg(c, b, ag), null !== c) {
- X = c;
- return;
- }
- } else {
- c = Gg(c, b);
- if (null !== c) {
- c.flags &= 32767;
- X = c;
- return;
- }
- if (null !== a) a.flags |= 32768, a.subtreeFlags = 0, a.deletions = null;
- else {
- R = 6;
- X = null;
- return;
- }
- }
- b = b.sibling;
- if (null !== b) {
- X = b;
- return;
- }
- X = b = a;
- }while (null !== b)
- 0 === R && (R = 5);
- }
- function Xh(a, b, c) {
- var d = C, e = W.transition;
- try {
- W.transition = null, C = 1, ci(a, b, c, d);
- } finally{
- W.transition = e, C = d;
- }
- return null;
- }
- function ci(a, b, c, d) {
- do Ph();
- while (null !== Eh)
- if (0 !== (H & 6)) throw Error(m(327));
- c = a.finishedWork;
- var e = a.finishedLanes;
- if (null === c) return null;
- a.finishedWork = null;
- a.finishedLanes = 0;
- if (c === a.current) throw Error(m(177));
- a.callbackNode = null;
- a.callbackPriority = 0;
- var f = c.lanes | c.childLanes;
- Gc(a, f);
- a === O && (X = O = null, Y = 0);
- 0 === (c.subtreeFlags & 2064) && 0 === (c.flags & 2064) || Dh || (Dh = true, Nh(Pc, function() {
- Ph();
- return null;
- }));
- f = 0 !== (c.flags & 15990);
- if (0 !== (c.subtreeFlags & 15990) || f) {
- f = W.transition;
- W.transition = null;
- var g = C;
- C = 1;
- var h = H;
- H |= 4;
- vh.current = null;
- Mg(a, c);
- ah(c, a);
- Ia(a.containerInfo);
- a.current = c;
- eh(c, a, e);
- Mc();
- H = h;
- C = g;
- W.transition = f;
- } else a.current = c;
- Dh && (Dh = false, Eh = a, Fh = e);
- f = a.pendingLanes;
- 0 === f && (Nf = null);
- Tc(c.stateNode, d);
- Lh(a, D());
- if (null !== b) for(d = a.onRecoverableError, c = 0; c < b.length; c++)e = b[c], d(e.value, {
- componentStack: e.stack,
- digest: e.digest
- });
- if (Kf) throw Kf = false, a = Lf, Lf = null, a;
- 0 !== (Fh & 1) && 0 !== a.tag && Ph();
- f = a.pendingLanes;
- 0 !== (f & 1) ? a === Hh ? Gh++ : (Gh = 0, Hh = a) : Gh = 0;
- ad();
- return null;
- }
- function Ph() {
- if (null !== Eh) {
- var a = Ic(Fh), b = W.transition, c = C;
- try {
- W.transition = null;
- C = 16 > a ? 16 : a;
- if (null === Eh) var d = false;
- else {
- a = Eh;
- Eh = null;
- Fh = 0;
- if (0 !== (H & 6)) throw Error(m(331));
- var e = H;
- H |= 4;
- for(T = a.current; null !== T;){
- var f = T, g = f.child;
- if (0 !== (T.flags & 16)) {
- var h = f.deletions;
- if (null !== h) {
- for(var k = 0; k < h.length; k++){
- var l = h[k];
- for(T = l; null !== T;){
- var n = T;
- switch(n.tag){
- case 0:
- case 11:
- case 15:
- Ng(8, n, f);
- }
- var t = n.child;
- if (null !== t) t.return = n, T = t;
- else for(; null !== T;){
- n = T;
- var p = n.sibling, B = n.return;
- Qg(n);
- if (n === l) {
- T = null;
- break;
- }
- if (null !== p) {
- p.return = B;
- T = p;
- break;
- }
- T = B;
- }
- }
- }
- var w = f.alternate;
- if (null !== w) {
- var Z = w.child;
- if (null !== Z) {
- w.child = null;
- do {
- var za = Z.sibling;
- Z.sibling = null;
- Z = za;
- }while (null !== Z)
- }
- }
- T = f;
- }
- }
- if (0 !== (f.subtreeFlags & 2064) && null !== g) g.return = f, T = g;
- else b: for(; null !== T;){
- f = T;
- if (0 !== (f.flags & 2048)) switch(f.tag){
- case 0:
- case 11:
- case 15:
- Ng(9, f, f.return);
- }
- var E = f.sibling;
- if (null !== E) {
- E.return = f.return;
- T = E;
- break b;
- }
- T = f.return;
- }
- }
- var r = a.current;
- for(T = r; null !== T;){
- g = T;
- var u = g.child;
- if (0 !== (g.subtreeFlags & 2064) && null !== u) u.return = g, T = u;
- else b: for(g = r; null !== T;){
- h = T;
- if (0 !== (h.flags & 2048)) try {
- switch(h.tag){
- case 0:
- case 11:
- case 15:
- Og(9, h);
- }
- } catch (qc) {
- U(h, h.return, qc);
- }
- if (h === g) {
- T = null;
- break b;
- }
- var Db = h.sibling;
- if (null !== Db) {
- Db.return = h.return;
- T = Db;
- break b;
- }
- T = h.return;
- }
- }
- H = e;
- ad();
- if (Sc && "function" === typeof Sc.onPostCommitFiberRoot) try {
- Sc.onPostCommitFiberRoot(Rc, a);
- } catch (qc) {}
- d = true;
- }
- return d;
- } finally{
- C = c, W.transition = b;
- }
- }
- return false;
- }
- function di(a, b, c) {
- b = Ff(c, b);
- b = Jf(a, b, 1);
- a = Yd(a, b, 1);
- b = I();
- null !== a && (Fc(a, 1, b), Lh(a, b));
- }
- function U(a, b, c) {
- if (3 === a.tag) di(a, a, c);
- else for(; null !== b;){
- if (3 === b.tag) {
- di(b, a, c);
- break;
- } else if (1 === b.tag) {
- var d = b.stateNode;
- if ("function" === typeof b.type.getDerivedStateFromError || "function" === typeof d.componentDidCatch && (null === Nf || !Nf.has(d))) {
- a = Ff(c, a);
- a = Mf(b, a, 1);
- b = Yd(b, a, 1);
- a = I();
- null !== b && (Fc(b, 1, a), Lh(b, a));
- break;
- }
- }
- b = b.return;
- }
- }
- function Pf(a, b, c) {
- var d = a.pingCache;
- null !== d && d.delete(b);
- b = I();
- a.pingedLanes |= a.suspendedLanes & c;
- O === a && (Y & c) === c && (4 === R || 3 === R && (Y & 130023424) === Y && 500 > D() - ch ? Sh(a, 0) : yh |= c);
- Lh(a, b);
- }
- function ei(a, b) {
- 0 === b && (0 === (a.mode & 1) ? b = 1 : (b = xc, xc <<= 1, 0 === (xc & 130023424) && (xc = 4194304)));
- var c = I();
- a = Td(a, b);
- null !== a && (Fc(a, b, c), Lh(a, c));
- }
- function pg(a) {
- var b = a.memoizedState, c = 0;
- null !== b && (c = b.retryLane);
- ei(a, c);
- }
- function Zg(a, b) {
- var c = 0;
- switch(a.tag){
- case 13:
- var d = a.stateNode;
- var e = a.memoizedState;
- null !== e && (c = e.retryLane);
- break;
- case 19:
- d = a.stateNode;
- break;
- default:
- throw Error(m(314));
- }
- null !== d && d.delete(b);
- ei(a, c);
- }
- var bi;
- bi = function(a, b, c) {
- if (null !== a) if (a.memoizedProps !== b.pendingProps || z.current) G = true;
- else {
- if (0 === (a.lanes & c) && 0 === (b.flags & 128)) return G = false, tg(a, b, c);
- G = 0 !== (a.flags & 131072) ? true : false;
- }
- else G = false, F && 0 !== (b.flags & 1048576) && ld(b, ed, b.index);
- b.lanes = 0;
- switch(b.tag){
- case 2:
- var d = b.type;
- dg(a, b);
- a = b.pendingProps;
- var e = lc(b, x.current);
- Od(b, c);
- e = Re(null, b, d, a, e, c);
- var f = We();
- b.flags |= 1;
- "object" === typeof e && null !== e && "function" === typeof e.render && void 0 === e.$$typeof ? (b.tag = 1, b.memoizedState = null, b.updateQueue = null, A(d) ? (f = true, pc(b)) : f = false, b.memoizedState = null !== e.state && void 0 !== e.state ? e.state : null, Vd(b), e.updater = he, b.stateNode = e, e._reactInternals = b, le(b, d, a, c), b = eg(null, b, d, true, f, c)) : (b.tag = 0, F && f && md(b), P(null, b, e, c), b = b.child);
- return b;
- case 16:
- d = b.elementType;
- a: {
- dg(a, b);
- a = b.pendingProps;
- e = d._init;
- d = e(d._payload);
- b.type = d;
- e = b.tag = fi(d);
- a = Fd(d, a);
- switch(e){
- case 0:
- b = Yf(null, b, d, a, c);
- break a;
- case 1:
- b = cg(null, b, d, a, c);
- break a;
- case 11:
- b = Tf(null, b, d, a, c);
- break a;
- case 14:
- b = Vf(null, b, d, Fd(d.type, a), c);
- break a;
- }
- throw Error(m(306, d, ""));
- }
- return b;
- case 0:
- return d = b.type, e = b.pendingProps, e = b.elementType === d ? e : Fd(d, e), Yf(a, b, d, e, c);
- case 1:
- return d = b.type, e = b.pendingProps, e = b.elementType === d ? e : Fd(d, e), cg(a, b, d, e, c);
- case 3:
- a: {
- fg(b);
- if (null === a) throw Error(m(387));
- d = b.pendingProps;
- f = b.memoizedState;
- e = f.element;
- Wd(a, b);
- ae(b, d, null, c);
- var g = b.memoizedState;
- d = g.element;
- if (Va && f.isDehydrated) if (f = {
- element: d,
- isDehydrated: false,
- cache: g.cache,
- pendingSuspenseBoundaries: g.pendingSuspenseBoundaries,
- transitions: g.transitions
- }, b.updateQueue.baseState = f, b.memoizedState = f, b.flags & 256) {
- e = Ff(Error(m(423)), b);
- b = gg(a, b, d, c, e);
- break a;
- } else if (d !== e) {
- e = Ff(Error(m(424)), b);
- b = gg(a, b, d, c, e);
- break a;
- } else for(Va && (pd = Pb(b.stateNode.containerInfo), od = b, F = true, rd = null, qd = false), c = we(b, null, d, c), b.child = c; c;)c.flags = c.flags & -3 | 4096, c = c.sibling;
- else {
- Ad();
- if (d === e) {
- b = Uf(a, b, c);
- break a;
- }
- P(a, b, d, c);
- }
- b = b.child;
- }
- return b;
- case 5:
- return Ee(b), null === a && wd(b), d = b.type, e = b.pendingProps, f = null !== a ? a.memoizedProps : null, g = e.children, Na(d, e) ? g = null : null !== f && Na(d, f) && (b.flags |= 32), bg(a, b), P(a, b, g, c), b.child;
- case 6:
- return null === a && wd(b), null;
- case 13:
- return jg(a, b, c);
- case 4:
- return Ce(b, b.stateNode.containerInfo), d = b.pendingProps, null === a ? b.child = ve(b, null, d, c) : P(a, b, d, c), b.child;
- case 11:
- return d = b.type, e = b.pendingProps, e = b.elementType === d ? e : Fd(d, e), Tf(a, b, d, e, c);
- case 7:
- return P(a, b, b.pendingProps, c), b.child;
- case 8:
- return P(a, b, b.pendingProps.children, c), b.child;
- case 12:
- return P(a, b, b.pendingProps.children, c), b.child;
- case 10:
- a: {
- d = b.type._context;
- e = b.pendingProps;
- f = b.memoizedProps;
- g = e.value;
- Ld(b, d, g);
- if (null !== f) if (Vc(f.value, g)) {
- if (f.children === e.children && !z.current) {
- b = Uf(a, b, c);
- break a;
- }
- } else for(f = b.child, null !== f && (f.return = b); null !== f;){
- var h = f.dependencies;
- if (null !== h) {
- g = f.child;
- for(var k = h.firstContext; null !== k;){
- if (k.context === d) {
- if (1 === f.tag) {
- k = Xd(-1, c & -c);
- k.tag = 2;
- var l = f.updateQueue;
- if (null !== l) {
- l = l.shared;
- var n = l.pending;
- null === n ? k.next = k : (k.next = n.next, n.next = k);
- l.pending = k;
- }
- }
- f.lanes |= c;
- k = f.alternate;
- null !== k && (k.lanes |= c);
- Nd(f.return, c, b);
- h.lanes |= c;
- break;
- }
- k = k.next;
- }
- } else if (10 === f.tag) g = f.type === b.type ? null : f.child;
- else if (18 === f.tag) {
- g = f.return;
- if (null === g) throw Error(m(341));
- g.lanes |= c;
- h = g.alternate;
- null !== h && (h.lanes |= c);
- Nd(g, c, b);
- g = f.sibling;
- } else g = f.child;
- if (null !== g) g.return = f;
- else for(g = f; null !== g;){
- if (g === b) {
- g = null;
- break;
- }
- f = g.sibling;
- if (null !== f) {
- f.return = g.return;
- g = f;
- break;
- }
- g = g.return;
- }
- f = g;
- }
- P(a, b, e.children, c);
- b = b.child;
- }
- return b;
- case 9:
- return e = b.type, d = b.pendingProps.children, Od(b, c), e = Pd(e), d = d(e), b.flags |= 1, P(a, b, d, c), b.child;
- case 14:
- return d = b.type, e = Fd(d, b.pendingProps), e = Fd(d.type, e), Vf(a, b, d, e, c);
- case 15:
- return Xf(a, b, b.type, b.pendingProps, c);
- case 17:
- return d = b.type, e = b.pendingProps, e = b.elementType === d ? e : Fd(d, e), dg(a, b), b.tag = 1, A(d) ? (a = true, pc(b)) : a = false, Od(b, c), je(b, d, e), le(b, d, e, c), eg(null, b, d, true, a, c);
- case 19:
- return sg(a, b, c);
- case 22:
- return Zf(a, b, c);
- }
- throw Error(m(156, b.tag));
- };
- function Nh(a, b) {
- return Jc(a, b);
- }
- function gi(a, b, c, d) {
- this.tag = a;
- this.key = c;
- this.sibling = this.child = this.return = this.stateNode = this.type = this.elementType = null;
- this.index = 0;
- this.ref = null;
- this.pendingProps = b;
- this.dependencies = this.memoizedState = this.updateQueue = this.memoizedProps = null;
- this.mode = d;
- this.subtreeFlags = this.flags = 0;
- this.deletions = null;
- this.childLanes = this.lanes = 0;
- this.alternate = null;
- }
- function td(a, b, c, d) {
- return new gi(a, b, c, d);
- }
- function Wf(a) {
- a = a.prototype;
- return !(!a || !a.isReactComponent);
- }
- function fi(a) {
- if ("function" === typeof a) return Wf(a) ? 1 : 0;
- if (void 0 !== a && null !== a) {
- a = a.$$typeof;
- if (a === ma) return 11;
- if (a === pa) return 14;
- }
- return 2;
- }
- function qe(a, b) {
- var c = a.alternate;
- null === c ? (c = td(a.tag, b, a.key, a.mode), c.elementType = a.elementType, c.type = a.type, c.stateNode = a.stateNode, c.alternate = a, a.alternate = c) : (c.pendingProps = b, c.type = a.type, c.flags = 0, c.subtreeFlags = 0, c.deletions = null);
- c.flags = a.flags & 14680064;
- c.childLanes = a.childLanes;
- c.lanes = a.lanes;
- c.child = a.child;
- c.memoizedProps = a.memoizedProps;
- c.memoizedState = a.memoizedState;
- c.updateQueue = a.updateQueue;
- b = a.dependencies;
- c.dependencies = null === b ? null : {
- lanes: b.lanes,
- firstContext: b.firstContext
- };
- c.sibling = a.sibling;
- c.index = a.index;
- c.ref = a.ref;
- return c;
- }
- function se(a, b, c, d, e, f) {
- var g = 2;
- d = a;
- if ("function" === typeof a) Wf(a) && (g = 1);
- else if ("string" === typeof a) g = 5;
- else a: switch(a){
- case ha:
- return ue(c.children, e, f, b);
- case ia:
- g = 8;
- e |= 8;
- break;
- case ja:
- return a = td(12, c, b, e | 2), a.elementType = ja, a.lanes = f, a;
- case na:
- return a = td(13, c, b, e), a.elementType = na, a.lanes = f, a;
- case oa:
- return a = td(19, c, b, e), a.elementType = oa, a.lanes = f, a;
- case ra:
- return kg(c, e, f, b);
- default:
- if ("object" === typeof a && null !== a) switch(a.$$typeof){
- case ka:
- g = 10;
- break a;
- case la:
- g = 9;
- break a;
- case ma:
- g = 11;
- break a;
- case pa:
- g = 14;
- break a;
- case qa:
- g = 16;
- d = null;
- break a;
- }
- throw Error(m(130, null == a ? a : typeof a, ""));
- }
- b = td(g, c, b, e);
- b.elementType = a;
- b.type = d;
- b.lanes = f;
- return b;
- }
- function ue(a, b, c, d) {
- a = td(7, a, d, b);
- a.lanes = c;
- return a;
- }
- function kg(a, b, c, d) {
- a = td(22, a, d, b);
- a.elementType = ra;
- a.lanes = c;
- a.stateNode = {
- isHidden: false
- };
- return a;
- }
- function re(a, b, c) {
- a = td(6, a, null, b);
- a.lanes = c;
- return a;
- }
- function te(a, b, c) {
- b = td(4, null !== a.children ? a.children : [], a.key, b);
- b.lanes = c;
- b.stateNode = {
- containerInfo: a.containerInfo,
- pendingChildren: null,
- implementation: a.implementation
- };
- return b;
- }
- function hi(a, b, c, d, e) {
- this.tag = b;
- this.containerInfo = a;
- this.finishedWork = this.pingCache = this.current = this.pendingChildren = null;
- this.timeoutHandle = Ra;
- this.callbackNode = this.pendingContext = this.context = null;
- this.callbackPriority = 0;
- this.eventTimes = Ec(0);
- this.expirationTimes = Ec(-1);
- this.entangledLanes = this.finishedLanes = this.mutableReadLanes = this.expiredLanes = this.pingedLanes = this.suspendedLanes = this.pendingLanes = 0;
- this.entanglements = Ec(0);
- this.identifierPrefix = d;
- this.onRecoverableError = e;
- Va && (this.mutableSourceEagerHydrationData = null);
- }
- function ii(a, b, c, d, e, f, g, h, k) {
- a = new hi(a, b, c, h, k);
- 1 === b ? (b = 1, true === f && (b |= 8)) : b = 0;
- f = td(3, null, null, b);
- a.current = f;
- f.stateNode = a;
- f.memoizedState = {
- element: d,
- isDehydrated: c,
- cache: null,
- transitions: null,
- pendingSuspenseBoundaries: null
- };
- Vd(f);
- return a;
- }
- function ji(a) {
- if (!a) return jc;
- a = a._reactInternals;
- a: {
- if (wa(a) !== a || 1 !== a.tag) throw Error(m(170));
- var b = a;
- do {
- switch(b.tag){
- case 3:
- b = b.stateNode.context;
- break a;
- case 1:
- if (A(b.type)) {
- b = b.stateNode.__reactInternalMemoizedMergedChildContext;
- break a;
- }
- }
- b = b.return;
- }while (null !== b)
- throw Error(m(171));
- }
- if (1 === a.tag) {
- var c = a.type;
- if (A(c)) return oc(a, c, b);
- }
- return b;
- }
- function ki(a) {
- var b = a._reactInternals;
- if (void 0 === b) {
- if ("function" === typeof a.render) throw Error(m(188));
- a = Object.keys(a).join(",");
- throw Error(m(268, a));
- }
- a = Aa(b);
- return null === a ? null : a.stateNode;
- }
- function li(a, b) {
- a = a.memoizedState;
- if (null !== a && null !== a.dehydrated) {
- var c = a.retryLane;
- a.retryLane = 0 !== c && c < b ? c : b;
- }
- }
- function mi(a, b) {
- li(a, b);
- (a = a.alternate) && li(a, b);
- }
- function ni(a) {
- a = Aa(a);
- return null === a ? null : a.stateNode;
- }
- function oi() {
- return null;
- }
- exports2.attemptContinuousHydration = function(a) {
- if (13 === a.tag) {
- var b = Td(a, 134217728);
- if (null !== b) {
- var c = I();
- ge(b, a, 134217728, c);
- }
- mi(a, 134217728);
- }
- };
- exports2.attemptDiscreteHydration = function(a) {
- if (13 === a.tag) {
- var b = Td(a, 1);
- if (null !== b) {
- var c = I();
- ge(b, a, 1, c);
- }
- mi(a, 1);
- }
- };
- exports2.attemptHydrationAtCurrentPriority = function(a) {
- if (13 === a.tag) {
- var b = fe(a), c = Td(a, b);
- if (null !== c) {
- var d = I();
- ge(c, a, b, d);
- }
- mi(a, b);
- }
- };
- exports2.attemptSynchronousHydration = function(a) {
- switch(a.tag){
- case 3:
- var b = a.stateNode;
- if (b.current.memoizedState.isDehydrated) {
- var c = yc(b.pendingLanes);
- 0 !== c && (Hc(b, c | 1), Lh(b, D()), 0 === (H & 6) && (Ch(), ad()));
- }
- break;
- case 13:
- Yh(function() {
- var b2 = Td(a, 1);
- if (null !== b2) {
- var c2 = I();
- ge(b2, a, 1, c2);
- }
- }), mi(a, 1);
- }
- };
- exports2.batchedUpdates = function(a, b) {
- var c = H;
- H |= 1;
- try {
- return a(b);
- } finally{
- H = c, 0 === H && (Ch(), Xc && ad());
- }
- };
- exports2.createComponentSelector = function(a) {
- return {
- $$typeof: ih,
- value: a
- };
- };
- exports2.createContainer = function(a, b, c, d, e, f, g) {
- return ii(a, b, false, null, c, d, e, f, g);
- };
- exports2.createHasPseudoClassSelector = function(a) {
- return {
- $$typeof: jh,
- value: a
- };
- };
- exports2.createHydrationContainer = function(a, b, c, d, e, f, g, h, k) {
- a = ii(c, d, true, a, e, f, g, h, k);
- a.context = ji(null);
- c = a.current;
- d = I();
- e = fe(c);
- f = Xd(d, e);
- f.callback = void 0 !== b && null !== b ? b : null;
- Yd(c, f, e);
- a.current.lanes = e;
- Fc(a, e, d);
- Lh(a, d);
- return a;
- };
- exports2.createPortal = function(a, b, c) {
- var d = 3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : null;
- return {
- $$typeof: fa,
- key: null == d ? null : "" + d,
- children: a,
- containerInfo: b,
- implementation: c
- };
- };
- exports2.createRoleSelector = function(a) {
- return {
- $$typeof: kh,
- value: a
- };
- };
- exports2.createTestNameSelector = function(a) {
- return {
- $$typeof: lh,
- value: a
- };
- };
- exports2.createTextSelector = function(a) {
- return {
- $$typeof: mh,
- value: a
- };
- };
- exports2.deferredUpdates = function(a) {
- var b = C, c = W.transition;
- try {
- return W.transition = null, C = 16, a();
- } finally{
- C = b, W.transition = c;
- }
- };
- exports2.discreteUpdates = function(a, b, c, d, e) {
- var f = C, g = W.transition;
- try {
- return W.transition = null, C = 1, a(b, c, d, e);
- } finally{
- C = f, W.transition = g, 0 === H && Ch();
- }
- };
- exports2.findAllNodes = sh;
- exports2.findBoundingRects = function(a, b) {
- if (!bb) throw Error(m(363));
- b = sh(a, b);
- a = [];
- for(var c = 0; c < b.length; c++)a.push(db(b[c]));
- for(b = a.length - 1; 0 < b; b--){
- c = a[b];
- for(var d = c.x, e = d + c.width, f = c.y, g = f + c.height, h = b - 1; 0 <= h; h--)if (b !== h) {
- var k = a[h], l = k.x, n = l + k.width, t = k.y, p = t + k.height;
- if (d >= l && f >= t && e <= n && g <= p) {
- a.splice(b, 1);
- break;
- } else if (!(d !== l || c.width !== k.width || p < f || t > g)) {
- t > f && (k.height += t - f, k.y = f);
- p < g && (k.height = g - t);
- a.splice(b, 1);
- break;
- } else if (!(f !== t || c.height !== k.height || n < d || l > e)) {
- l > d && (k.width += l - d, k.x = d);
- n < e && (k.width = e - l);
- a.splice(b, 1);
- break;
- }
- }
- }
- return a;
- };
- exports2.findHostInstance = ki;
- exports2.findHostInstanceWithNoPortals = function(a) {
- a = ya(a);
- a = null !== a ? Ca(a) : null;
- return null === a ? null : a.stateNode;
- };
- exports2.findHostInstanceWithWarning = function(a) {
- return ki(a);
- };
- exports2.flushControlled = function(a) {
- var b = H;
- H |= 1;
- var c = W.transition, d = C;
- try {
- W.transition = null, C = 1, a();
- } finally{
- C = d, W.transition = c, H = b, 0 === H && (Ch(), ad());
- }
- };
- exports2.flushPassiveEffects = Ph;
- exports2.flushSync = Yh;
- exports2.focusWithin = function(a, b) {
- if (!bb) throw Error(m(363));
- a = oh(a);
- b = rh(a, b);
- b = Array.from(b);
- for(a = 0; a < b.length;){
- var c = b[a++];
- if (!fb(c)) {
- if (5 === c.tag && hb(c.stateNode)) return true;
- for(c = c.child; null !== c;)b.push(c), c = c.sibling;
- }
- }
- return false;
- };
- exports2.getCurrentUpdatePriority = function() {
- return C;
- };
- exports2.getFindAllNodesFailureDescription = function(a, b) {
- if (!bb) throw Error(m(363));
- var c = 0, d = [];
- a = [
- oh(a),
- 0
- ];
- for(var e = 0; e < a.length;){
- var f = a[e++], g = a[e++], h = b[g];
- if (5 !== f.tag || !fb(f)) {
- if (ph(f, h) && (d.push(qh(h)), g++, g > c && (c = g)), g < b.length) for(f = f.child; null !== f;)a.push(f, g), f = f.sibling;
- }
- }
- if (c < b.length) {
- for(a = []; c < b.length; c++)a.push(qh(b[c]));
- return "findAllNodes was able to match part of the selector:\n " + (d.join(" > ") + "\n\nNo matching component was found for:\n ") + a.join(" > ");
- }
- return null;
- };
- exports2.getPublicRootInstance = function(a) {
- a = a.current;
- if (!a.child) return null;
- switch(a.child.tag){
- case 5:
- return Ea(a.child.stateNode);
- default:
- return a.child.stateNode;
- }
- };
- exports2.injectIntoDevTools = function(a) {
- a = {
- bundleType: a.bundleType,
- version: a.version,
- rendererPackageName: a.rendererPackageName,
- rendererConfig: a.rendererConfig,
- overrideHookState: null,
- overrideHookStateDeletePath: null,
- overrideHookStateRenamePath: null,
- overrideProps: null,
- overridePropsDeletePath: null,
- overridePropsRenamePath: null,
- setErrorHandler: null,
- setSuspenseHandler: null,
- scheduleUpdate: null,
- currentDispatcherRef: da.ReactCurrentDispatcher,
- findHostInstanceByFiber: ni,
- findFiberByHostInstance: a.findFiberByHostInstance || oi,
- findHostInstancesForRefresh: null,
- scheduleRefresh: null,
- scheduleRoot: null,
- setRefreshHandler: null,
- getCurrentFiber: null,
- reconcilerVersion: "18.2.0"
- };
- if ("undefined" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) a = false;
- else {
- var b = __REACT_DEVTOOLS_GLOBAL_HOOK__;
- if (b.isDisabled || !b.supportsFiber) a = true;
- else {
- try {
- Rc = b.inject(a), Sc = b;
- } catch (c) {}
- a = b.checkDCE ? true : false;
- }
- }
- return a;
- };
- exports2.isAlreadyRendering = function() {
- return false;
- };
- exports2.observeVisibleRects = function(a, b, c, d) {
- if (!bb) throw Error(m(363));
- a = sh(a, b);
- var e = ib(a, c, d).disconnect;
- return {
- disconnect: function() {
- e();
- }
- };
- };
- exports2.registerMutableSourceForHydration = function(a, b) {
- var c = b._getVersion;
- c = c(b._source);
- null == a.mutableSourceEagerHydrationData ? a.mutableSourceEagerHydrationData = [
- b,
- c
- ] : a.mutableSourceEagerHydrationData.push(b, c);
- };
- exports2.runWithPriority = function(a, b) {
- var c = C;
- try {
- return C = a, b();
- } finally{
- C = c;
- }
- };
- exports2.shouldError = function() {
- return null;
- };
- exports2.shouldSuspend = function() {
- return false;
- };
- exports2.updateContainer = function(a, b, c, d) {
- var e = b.current, f = I(), g = fe(e);
- c = ji(c);
- null === b.context ? b.context = c : b.pendingContext = c;
- b = Xd(f, g);
- b.payload = {
- element: a
- };
- d = void 0 === d ? null : d;
- null !== d && (b.callback = d);
- a = Yd(e, b, g);
- null !== a && (ge(a, e, g, f), Zd(a, e, g));
- return g;
- };
- return exports2;
- };
- }
-});
-// node_modules/.pnpm/react-reconciler@0.29.0_react@18.3.1/node_modules/react-reconciler/cjs/react-reconciler-constants.development.js
-var require_react_reconciler_constants_development = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_3__.__commonJS)({
- "node_modules/.pnpm/react-reconciler@0.29.0_react@18.3.1/node_modules/react-reconciler/cjs/react-reconciler-constants.development.js" (exports) {
- "use strict";
- if (true) {
- (function() {
- "use strict";
- var SyncLane2 = /* */ 1;
- var InputContinuousLane2 = /* */ 4;
- var DefaultLane2 = /* */ 16;
- var IdleLane = /* */ 536870912;
- var DiscreteEventPriority2 = SyncLane2;
- var ContinuousEventPriority2 = InputContinuousLane2;
- var DefaultEventPriority2 = DefaultLane2;
- var IdleEventPriority = IdleLane;
- var LegacyRoot = 0;
- var ConcurrentRoot = 1;
- exports.ConcurrentRoot = ConcurrentRoot;
- exports.ContinuousEventPriority = ContinuousEventPriority2;
- exports.DefaultEventPriority = DefaultEventPriority2;
- exports.DiscreteEventPriority = DiscreteEventPriority2;
- exports.IdleEventPriority = IdleEventPriority;
- exports.LegacyRoot = LegacyRoot;
- })();
- }
- }
-});
-// node_modules/.pnpm/react-reconciler@0.29.0_react@18.3.1/node_modules/react-reconciler/constants.js
-var require_constants = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_3__.__commonJS)({
- "node_modules/.pnpm/react-reconciler@0.29.0_react@18.3.1/node_modules/react-reconciler/constants.js" (exports, module) {
- "use strict";
- if (false) {} else {
- module.exports = require_react_reconciler_constants_development();
- }
- }
-});
-// node_modules/.pnpm/@tarojs+react@4.0.8_react@18.3.1/node_modules/@tarojs/react/dist/react.esm.js
-(0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.init_dist)();
-(0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.init_dist)();
-var import_react_reconciler = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_3__.__toESM)(require_react_reconciler_production_min());
-var import_constants = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_3__.__toESM)(require_constants());
-var supportedInputTypes = {
- color: true,
- date: true,
- datetime: true,
- "datetime-local": true,
- email: true,
- month: true,
- number: true,
- password: true,
- range: true,
- search: true,
- tel: true,
- text: true,
- time: true,
- url: true,
- week: true
-};
-var SyncLane = 1;
-var InputContinuousLane = 4;
-var DefaultLane = 16;
-var DiscreteEventPriority = SyncLane;
-var ContinuousEventPriority = InputContinuousLane;
-var DefaultEventPriority = DefaultLane;
-function getEventPriority(domEventName) {
- switch(domEventName){
- case "cancel":
- case "click":
- case "close":
- case "contextmenu":
- case "copy":
- case "cut":
- case "dragend":
- case "dragstart":
- case "drop":
- case "input":
- case "paste":
- case "pause":
- case "play":
- case "pointercancel":
- case "pointerdown":
- case "pointerup":
- case "reset":
- case "resize":
- case "submit":
- case "touchcancel":
- case "touchend":
- case "touchstart":
- case "change":
- case "blur":
- case "focus":
- case "select":
- case "selectstart":
- return DiscreteEventPriority;
- case "drag":
- case "dragenter":
- case "dragexit":
- case "dragleave":
- case "dragover":
- case "pointermove":
- case "pointerout":
- case "pointerover":
- case "scroll":
- case "toggle":
- case "touchmove":
- case "pointerenter":
- case "pointerleave":
- return ContinuousEventPriority;
- default:
- return DefaultEventPriority;
- }
-}
-var randomKey = Math.random().toString(36).slice(2);
-var internalPropsKey = "__reactProps$" + randomKey;
-var internalInstanceKey = "__reactFiber$" + randomKey;
-var internalContainerInstanceKey = "__reactContainer$" + randomKey;
-var HostRoot = 3;
-var HostComponent = 5;
-var HostText = 6;
-var SuspenseComponent = 13;
-function precacheFiberNode(hostInst, node) {
- node[internalInstanceKey] = hostInst;
-}
-function markContainerAsRoot(hostRoot, node) {
- node[internalContainerInstanceKey] = hostRoot;
-}
-function getInstanceFromNode(node) {
- const inst = node[internalInstanceKey] || node[internalContainerInstanceKey];
- if (inst) {
- if (inst.tag === HostComponent || inst.tag === HostText || inst.tag === SuspenseComponent || inst.tag === HostRoot) {
- return inst;
- } else {
- return null;
- }
- }
- return null;
-}
-function getNodeFromInstance(inst) {
- if (inst.tag === HostComponent || inst.tag === HostText) {
- return inst.stateNode;
- }
-}
-function getFiberCurrentPropsFromNode(node) {
- return node[internalPropsKey] || null;
-}
-function updateFiberProps(node, props) {
- node[internalPropsKey] = props;
- if (false) {}
-}
-function updateInputWrapper(element, oldValue, props) {
- const node = element;
- const checked = props.checked;
- if (checked != null) {
- console.warn("updateCheck \u672A\u5B9E\u73B0", node);
- return;
- }
- updateWrapper(element, oldValue, props);
- updateNamedCousins(element, props);
-}
-function updateNamedCousins(rootNode, props) {
- const name = props.name;
- if (props.type === "radio" && name != null) {
- console.warn("radio updateNamedCousins \u672A\u5B9E\u73B0", rootNode, props);
- }
-}
-function getToStringValue(value) {
- const isEmptyType = typeof value === "function" || typeof value === "symbol";
- return isEmptyType ? "" : value;
-}
-function toString(value) {
- return "" + value;
-}
-function updateWrapper(element, oldValue, props) {
- const node = element;
- const value = getToStringValue(props.value);
- const type = props.type;
- setNodeValue(node, oldValue, value, type);
-}
-function setNodeValue(node, oldValue, value, type = "string") {
- if (value != null) {
- if (type === "number") {
- if (value === 0 && node.value === "" || oldValue != value) {
- node.value = toString(value);
- }
- } else if (oldValue !== toString(value)) {
- node.value = toString(value);
- }
- } else if (type === "submit" || type === "reset") {
- node.removeAttribute("value");
- }
-}
-function isTextInputElement(elem) {
- const nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase();
- if (nodeName === "input") {
- const type = elem.type;
- return !type || !!supportedInputTypes[type];
- }
- if (nodeName === "textarea") {
- return true;
- }
- return false;
-}
-var ReactDOMTextareaRestoreControlledState = updateWrapper;
-var ReactDOMInputRestoreControlledState = updateInputWrapper;
-function isCheckable(elem) {
- const type = elem.type;
- const nodeName = elem.nodeName;
- return nodeName && nodeName.toLowerCase() === "input" && (type === "checkbox" || type === "radio");
-}
-function getTracker(node) {
- return node._valueTracker;
-}
-function detachTracker(node) {
- node._valueTracker = null;
-}
-function trackValueOnNode(node) {
- const valueField = isCheckable(node) ? "checked" : "value";
- const descriptor = Object.getOwnPropertyDescriptor(node.constructor.prototype, valueField);
- let currentValue = "" + node[valueField];
- if (node.hasOwnProperty(valueField) || typeof descriptor === "undefined" || typeof descriptor.get !== "function" || typeof descriptor.set !== "function") {
- return;
- }
- const { get, set } = descriptor;
- Object.defineProperty(node, valueField, {
- configurable: true,
- enumerable: descriptor.enumerable,
- get: function() {
- return get.call(this);
- },
- set: function(value) {
- currentValue = "" + value;
- set.call(this, value);
- }
- });
- const tracker = {
- getValue () {
- return currentValue;
- },
- setValue (value) {
- currentValue = "" + value;
- },
- stopTracking () {
- detachTracker(node);
- delete node[valueField];
- }
- };
- return tracker;
-}
-function track(node) {
- if (getTracker(node)) {
- return;
- }
- node._valueTracker = trackValueOnNode(node);
-}
-function updateValueIfChanged(node, nextValue) {
- if (!node) {
- return false;
- }
- const tracker = getTracker(node);
- if (!tracker) {
- return true;
- }
- const lastValue = tracker.getValue();
- if (nextValue !== lastValue) {
- tracker.setValue(nextValue);
- return true;
- }
- return false;
-}
-var IS_NON_DIMENSIONAL = /max|aspect|acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;
-function isEventName(s) {
- return s[0] === "o" && s[1] === "n";
-}
-function isEqual(obj1, obj2) {
- if (obj1 === obj2) {
- return true;
- }
- if (typeof obj1 !== "object" || obj1 === null || typeof obj2 !== "object" || obj2 === null) {
- return false;
- }
- const keys1 = Object.keys(obj1);
- const keys2 = Object.keys(obj2);
- if (keys1.length !== keys2.length) {
- return false;
- }
- for(let i = 0; i < keys1.length; i++){
- const key = keys1[i];
- if (obj1[key] !== obj2[key]) {
- return false;
- }
- }
- return true;
-}
-function updateProps(dom, oldProps, newProps) {
- const updatePayload = getUpdatePayload(dom, oldProps, newProps);
- if (updatePayload) {
- updatePropsByPayload(dom, oldProps, updatePayload);
- }
-}
-function updatePropsByPayload(dom, oldProps, updatePayload) {
- const handlers = [];
- let fixedHandler = null;
- for(let i = 0; i < updatePayload.length; i += 2){
- const key = updatePayload[i];
- const newProp = updatePayload[i + 1];
- const oldProp = oldProps[key];
- if ("mini" === _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.PLATFORM_TYPE.HARMONY) {
- if (key === "__fixed") {
- fixedHandler = ()=>setProperty(dom, key, newProp, oldProp);
- continue;
- }
- if (key === "__hmStyle") {
- handlers.splice(0, 0, ()=>setHarmonyStyle(dom, newProp, oldProp));
- } else {
- handlers.push(()=>setProperty(dom, key, newProp, oldProp));
- }
- } else {
- setProperty(dom, key, newProp, oldProp);
- }
- }
- if ("mini" === _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.PLATFORM_TYPE.HARMONY) {
- fixedHandler && fixedHandler();
- for(let i = 0; i < handlers.length; i++){
- handlers[i]();
- }
- }
-}
-function getUpdatePayload(dom, oldProps, newProps) {
- let i;
- let updatePayload = null;
- for(i in oldProps){
- if (!(i in newProps)) {
- (updatePayload = updatePayload || []).push(i, null);
- }
- }
- const isFormElement = dom instanceof _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.FormElement;
- for(i in newProps){
- if (oldProps[i] !== newProps[i] || isFormElement && i === "value") {
- if (i === "style" && (0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.isObject)(oldProps[i]) && (0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.isObject)(newProps[i]) && isEqual(oldProps[i], newProps[i])) continue;
- (updatePayload = updatePayload || []).push(i, newProps[i]);
- }
- }
- return updatePayload;
-}
-function setEvent(dom, name, value, oldValue) {
- const isCapture = name.endsWith("Capture");
- let eventName = name.toLowerCase().slice(2);
- if (isCapture) {
- eventName = eventName.slice(0, -7);
- }
- const compName = (0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.capitalize)((0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.toCamelCase)(dom.tagName.toLowerCase()));
- if (eventName === "click" && "mini" !== _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.PLATFORM_TYPE.HARMONY && compName in _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.internalComponents) {
- eventName = "tap";
- }
- if ((0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.isFunction)(value)) {
- if (oldValue) {
- dom.removeEventListener(eventName, oldValue, "mini" !== _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.PLATFORM_TYPE.HARMONY ? false : void 0);
- dom.addEventListener(eventName, value, "mini" !== _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.PLATFORM_TYPE.HARMONY ? {
- isCapture,
- sideEffect: false
- } : void 0);
- } else {
- dom.addEventListener(eventName, value, "mini" !== _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.PLATFORM_TYPE.HARMONY ? isCapture : void 0);
- }
- } else {
- dom.removeEventListener(eventName, oldValue);
- }
-}
-function setStyle(style, key, value) {
- if (key[0] === "-" && "mini" !== _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.PLATFORM_TYPE.HARMONY) {
- style.setProperty(key, value.toString());
- return;
- }
- style[key] = (0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.isNumber)(value) && IS_NON_DIMENSIONAL.test(key) === false ? "mini" === _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.PLATFORM_TYPE.HARMONY ? value + "px" : (0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.convertNumber2PX)(value) : value === null ? "" : value;
-}
-function setHarmonyStyle(dom, value, oldValue) {
- const style = dom._st.hmStyle;
- if ((0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.isObject)(oldValue)) {
- for(const i in oldValue){
- if (!(value && i in value)) {
- if ("mini" === _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.PLATFORM_TYPE.HARMONY) {
- if (i === "::after" || i === "::before") {
- setPseudo(dom, i, null);
- } else if ([
- "::first-child",
- "::last-child",
- "::empty"
- ].includes(i) || `${i}`.indexOf("::nth-child") === 0) {
- dom.set_pseudo_class(i, null);
- } else {
- if (i === "position" && oldValue[i] === "fixed") {
- dom.setLayer(0);
- } else if (i === "animationName") {
- dom.setAnimation(false);
- }
- style[i] = "";
- }
- } else {
- style[i] = "";
- }
- }
- }
- }
- if ((0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.isObject)(value)) {
- for(const i in value){
- if (!oldValue || !isEqual(value[i], oldValue[i])) {
- if ("mini" === _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.PLATFORM_TYPE.HARMONY) {
- if (i === "::after" || i === "::before") {
- setPseudo(dom, i, value[i]);
- } else if ([
- "::first-child",
- "::last-child",
- "::empty"
- ].includes(i) || i.startsWith("::nth-child")) {
- dom.set_pseudo_class(i, value[i]);
- } else {
- if (i === "position") {
- if (value[i] === "fixed" || value[i] !== "fixed" && (oldValue === null || oldValue === void 0 ? void 0 : oldValue[i])) {
- dom.setLayer(value[i] === "fixed" ? 1 : 0);
- }
- } else if (i === "animationName") {
- dom.setAnimation(true);
- }
- style[i] = value[i];
- }
- } else {
- style[i] = value[i];
- }
- }
- }
- }
- dom.setAttribute("__hmStyle", value);
-}
-function setProperty(dom, name, value, oldValue) {
- var _a, _b;
- name = name === "className" ? "class" : name;
- if (name === "key" || name === "children" || name === "ref") ;
- else if (name === "style") {
- if (/harmony.*cpp/.test("weapp")) {
- return dom.setAttribute("_style4cpp", value);
- }
- const style = dom.style;
- if ((0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.isString)(value)) {
- style.cssText = value;
- } else {
- if ((0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.isString)(oldValue)) {
- style.cssText = "";
- oldValue = null;
- }
- if ((0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.isObject)(oldValue)) {
- for(const i in oldValue){
- if (!(value && i in value)) {
- if ("mini" === _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.PLATFORM_TYPE.HARMONY && i === "position" && oldValue[i] === "fixed") {
- dom.setLayer(0);
- }
- setStyle(style, i, "");
- }
- }
- }
- if ((0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.isObject)(value)) {
- for(const i in value){
- if (!oldValue || !isEqual(value[i], oldValue[i])) {
- if ("mini" === _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.PLATFORM_TYPE.HARMONY && i === "position") {
- if (value[i] === "fixed" || value[i] !== "fixed" && (oldValue === null || oldValue === void 0 ? void 0 : oldValue[i])) {
- dom.setLayer(value[i] === "fixed" ? 1 : 0);
- }
- }
- setStyle(style, i, value[i]);
- }
- }
- }
- }
- } else if (isEventName(name)) {
- setEvent(dom, name, value, oldValue);
- } else if (name === "dangerouslySetInnerHTML") {
- const newHtml = (_a = value === null || value === void 0 ? void 0 : value.__html) !== null && _a !== void 0 ? _a : "";
- const oldHtml = (_b = oldValue === null || oldValue === void 0 ? void 0 : oldValue.__html) !== null && _b !== void 0 ? _b : "";
- if (newHtml || oldHtml) {
- if (oldHtml !== newHtml) {
- dom.innerHTML = newHtml;
- }
- }
- } else if (!(0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.isFunction)(value)) {
- if (value == null) {
- dom.removeAttribute(name);
- } else {
- dom.setAttribute(name, value);
- }
- }
-}
-function setPseudo(dom, name, value) {
- if (name === "::after") {
- dom.set_pseudo_after(value);
- } else if (name === "::before") {
- dom.set_pseudo_before(value);
- }
-}
-var hostConfig = {
- // below keys order by {React ReactFiberHostConfig.custom.js}, convenient for comparing each other.
- // -------------------
- // required by @types/react-reconciler
- // -------------------
- getPublicInstance (inst) {
- return inst;
- },
- getRootHostContext () {
- return {};
- },
- getChildHostContext (parentHostContext) {
- return parentHostContext;
- },
- prepareForCommit (..._) {
- return null;
- },
- resetAfterCommit: _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.noop,
- createInstance (type, props, _rootContainerInstance, _hostContext, internalInstanceHandle) {
- const element = _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.taroDocumentProvider.createElement(type);
- precacheFiberNode(internalInstanceHandle, element);
- updateFiberProps(element, props);
- return element;
- },
- appendInitialChild (parent, child) {
- parent.appendChild(child);
- },
- finalizeInitialChildren (dom, type, props) {
- let newProps = props;
- if (dom instanceof _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.FormElement) {
- const [defaultName, defaultKey] = [
- "switch",
- "checkbox",
- "radio"
- ].includes(type) ? [
- "checked",
- "defaultChecked"
- ] : [
- "value",
- "defaultValue"
- ];
- if (props.hasOwnProperty(defaultKey)) {
- newProps = Object.assign(Object.assign({}, newProps), {
- [defaultName]: props[defaultKey]
- });
- delete newProps[defaultKey];
- }
- }
- updateProps(dom, {}, newProps);
- if (type === "input" || type === "textarea") {
- track(dom);
- }
- return false;
- },
- prepareUpdate (instance, _, oldProps, newProps) {
- return getUpdatePayload(instance, oldProps, newProps);
- },
- shouldSetTextContent () {
- return false;
- },
- createTextInstance (text, _rootContainerInstance, _hostContext, internalInstanceHandle) {
- const textNode = _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.taroDocumentProvider.createTextNode(text);
- precacheFiberNode(internalInstanceHandle, textNode);
- return textNode;
- },
- scheduleTimeout: setTimeout,
- cancelTimeout: clearTimeout,
- noTimeout: -1,
- isPrimaryRenderer: true,
- warnsIfNotActing: true,
- supportsMutation: true,
- supportsPersistence: false,
- supportsHydration: false,
- getInstanceFromNode: ()=>null,
- beforeActiveInstanceBlur: _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.noop,
- afterActiveInstanceBlur: _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.noop,
- preparePortalMount: _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.noop,
- prepareScopeUpdate: _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.noop,
- getInstanceFromScope: ()=>null,
- getCurrentEventPriority () {
- return import_constants.DefaultEventPriority;
- },
- detachDeletedInstance: _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.noop,
- // -------------------
- // Microtasks
- // (optional)
- // -------------------
- supportsMicrotasks: true,
- scheduleMicrotask: (0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.isUndefined)(Promise) ? setTimeout : (callback)=>Promise.resolve(null).then(callback).catch(function(error) {
- setTimeout(()=>{
- throw error;
- });
- }),
- // -------------------
- // Mutation
- // (required if supportsMutation is true)
- // -------------------
- appendChild (parent, child) {
- parent.appendChild(child);
- },
- appendChildToContainer (parent, child) {
- parent.appendChild(child);
- },
- commitTextUpdate (textInst, _, newText) {
- textInst.nodeValue = newText;
- },
- commitMount: _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.noop,
- commitUpdate (dom, updatePayload, _, oldProps, newProps) {
- if (!updatePayload) return;
- if (updatePayload.length === 2 && updatePayload.includes("children")) return;
- updatePropsByPayload(dom, oldProps, updatePayload);
- updateFiberProps(dom, newProps);
- },
- insertBefore (parent, child, refChild) {
- parent.insertBefore(child, refChild);
- },
- insertInContainerBefore (parent, child, refChild) {
- parent.insertBefore(child, refChild);
- },
- removeChild (parent, child) {
- parent.removeChild(child);
- },
- removeChildFromContainer (parent, child) {
- parent.removeChild(child);
- },
- resetTextContent: _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.noop,
- hideInstance (instance) {
- const style = instance.style;
- style.setProperty("display", "none");
- },
- hideTextInstance (textInstance) {
- textInstance.nodeValue = "";
- },
- unhideInstance (instance, props) {
- const styleProp = props.style;
- let display = (styleProp === null || styleProp === void 0 ? void 0 : styleProp.hasOwnProperty("display")) ? styleProp.display : null;
- display = display == null || (0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.isBoolean)(display) || display === "" ? "" : ("" + display).trim();
- instance.style["display"] = display;
- },
- unhideTextInstance (textInstance, text) {
- textInstance.nodeValue = text;
- },
- clearContainer (element) {
- if (element.childNodes.length > 0) {
- element.textContent = "";
- }
- }
-};
-var TaroReconciler = (0, import_react_reconciler.default)(hostConfig);
-if (true) {
- const foundDevTools = TaroReconciler.injectIntoDevTools({
- bundleType: 1,
- version: "18.0.0",
- rendererPackageName: "taro-react"
- });
- if (!foundDevTools) {
- console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools", "font-weight:bold");
- }
-}
-var restoreQueue = null;
-function getTargetInstForInputOrChangeEvent(e, node) {
- var _a, _b;
- const targetInst = getInstanceFromNode(node);
- const domEventName = e.type;
- if (!targetInst || !isTextInputElement(node)) return;
- if (domEventName === "input" || domEventName === "change") {
- const nextValue = toString((_b = (_a = e.mpEvent) === null || _a === void 0 ? void 0 : _a.detail) === null || _b === void 0 ? void 0 : _b.value);
- return getInstIfValueChanged(targetInst, nextValue);
- }
-}
-function getInstIfValueChanged(targetInst, nextValue) {
- const targetNode = getNodeFromInstance(targetInst);
- if (!targetNode) return false;
- if (updateValueIfChanged(targetNode, nextValue)) {
- return targetInst;
- }
-}
-function enqueueStateRestore(target) {
- if (restoreQueue) {
- restoreQueue.push(target);
- } else {
- restoreQueue = [
- target
- ];
- }
-}
-function needsStateRestore() {
- return restoreQueue !== null;
-}
-function finishEventHandler() {
- const controlledComponentsHavePendingUpdates = needsStateRestore();
- if (controlledComponentsHavePendingUpdates) {
- TaroReconciler.flushSync();
- restoreStateIfNeeded();
- }
-}
-function restoreStateIfNeeded() {
- if (!restoreQueue) {
- return;
- }
- const queuedTargets = restoreQueue;
- restoreQueue = null;
- for(let i = 0; i < queuedTargets.length; i++){
- restoreStateOfTarget(queuedTargets[i]);
- }
-}
-function restoreImpl(domElement, tag, oldValue, props) {
- switch(tag){
- case "input":
- ReactDOMInputRestoreControlledState(domElement, oldValue, props);
- break;
- case "textarea":
- ReactDOMTextareaRestoreControlledState(domElement, oldValue, props);
- break;
- }
-}
-function restoreStateOfTarget(item) {
- const internalInstance = getInstanceFromNode(item.target);
- if (!internalInstance) return;
- const { stateNode, type } = internalInstance;
- if (stateNode) {
- const props = getFiberCurrentPropsFromNode(stateNode);
- restoreImpl(stateNode, type, item.value, props);
- }
-}
-var ContainerMap = /* @__PURE__ */ new WeakMap();
-var Root = class {
- initInternalRoot(renderer, domContainer, options) {
- const containerInfo = domContainer;
- if (options) {
- const tag = 1;
- const concurrentUpdatesByDefaultOverride = false;
- let isStrictMode = false;
- let identifierPrefix = "";
- let onRecoverableError = (error)=>console.error(error);
- let transitionCallbacks = null;
- if (options.unstable_strictMode === true) {
- isStrictMode = true;
- }
- if (options.identifierPrefix !== void 0) {
- identifierPrefix = options.identifierPrefix;
- }
- if (options.onRecoverableError !== void 0) {
- onRecoverableError = options.onRecoverableError;
- }
- if (options.unstable_transitionCallbacks !== void 0) {
- transitionCallbacks = options.unstable_transitionCallbacks;
- }
- this.internalRoot = renderer.createContainer(containerInfo, tag, null, // hydrationCallbacks
- isStrictMode, concurrentUpdatesByDefaultOverride, identifierPrefix, onRecoverableError, transitionCallbacks);
- } else {
- const tag = 0;
- this.internalRoot = renderer.createContainer(containerInfo, tag, null, // hydrationCallbacks
- false, // isStrictMode
- false, // concurrentUpdatesByDefaultOverride,
- "", // identifierPrefix
- ()=>{}, // onRecoverableError, this isn't reachable because onRecoverableError isn't called in the legacy API.
- null);
- }
- }
- render(children, cb) {
- const { renderer, internalRoot } = this;
- renderer.updateContainer(children, internalRoot, null, cb);
- return renderer.getPublicRootInstance(internalRoot);
- }
- unmount(cb) {
- this.renderer.updateContainer(null, this.internalRoot, null, cb);
- }
- constructor(renderer, domContainer, options){
- this.renderer = renderer;
- this.initInternalRoot(renderer, domContainer, options);
- }
-};
-function render(element, domContainer, cb) {
- const oldRoot = ContainerMap.get(domContainer);
- if (oldRoot != null) {
- return oldRoot.render(element, cb);
- }
- const root = new Root(TaroReconciler, domContainer);
- ContainerMap.set(domContainer, root);
- return root.render(element, cb);
-}
-function createRoot(domContainer, options = {}) {
- var _a;
- const oldRoot = ContainerMap.get(domContainer);
- if (oldRoot != null) {
- return oldRoot;
- }
- const root = new Root(TaroReconciler, domContainer, options);
- ContainerMap.set(domContainer, root);
- markContainerAsRoot((_a = root === null || root === void 0 ? void 0 : root.internalRoot) === null || _a === void 0 ? void 0 : _a.current, domContainer);
- _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.hooks.tap("dispatchTaroEvent", (e, node)=>{
- const eventPriority = getEventPriority(e.type);
- TaroReconciler.runWithPriority(eventPriority, ()=>{
- node.dispatchEvent(e);
- });
- });
- _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.hooks.tap("modifyTaroEvent", (e, node)=>{
- var _a2, _b;
- const inst = getTargetInstForInputOrChangeEvent(e, node);
- if (!inst) return;
- const nextValue = (_b = (_a2 = e.mpEvent) === null || _a2 === void 0 ? void 0 : _a2.detail) === null || _b === void 0 ? void 0 : _b.value;
- enqueueStateRestore({
- target: node,
- value: nextValue
- });
- });
- return root;
-}
-var isInsideEventHandler = false;
-var unstable_batchedUpdates = (fn, a)=>{
- if (isInsideEventHandler) {
- return fn(a);
- }
- isInsideEventHandler = true;
- try {
- return TaroReconciler.batchedUpdates(fn, a);
- } finally{
- isInsideEventHandler = false;
- finishEventHandler();
- }
-};
-function unmountComponentAtNode(dom) {
- (0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.ensure)(dom && [
- 1,
- 8,
- 9,
- 11
- ].includes(dom.nodeType), "unmountComponentAtNode(...): Target container is not a DOM element.");
- const root = ContainerMap.get(dom);
- if (!root) return false;
- unstable_batchedUpdates(()=>{
- root.unmount(()=>{
- ContainerMap.delete(dom);
- });
- }, null);
- return true;
-}
-function findDOMNode(comp) {
- if (comp == null) {
- return null;
- }
- const nodeType = comp.nodeType;
- if (nodeType === 1 || nodeType === 3) {
- return comp;
- }
- return TaroReconciler.findHostInstance(comp);
-}
-var portalType = (0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.isFunction)(Symbol) && Symbol.for ? Symbol.for("react.portal") : 60106;
-function createPortal(children, containerInfo, key) {
- return {
- $$typeof: portalType,
- key: key == null ? null : String(key),
- children,
- containerInfo,
- implementation: null
- };
-}
-var flushSync = TaroReconciler.flushSync;
-var index = {
- render,
- flushSync,
- createRoot,
- unstable_batchedUpdates,
- unmountComponentAtNode,
- findDOMNode,
- createPortal,
- internalInstanceKey
-};
- /*! Bundled license information:
-
-scheduler/cjs/scheduler.development.js:
- (**
- * @license React
- * scheduler.development.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.
- *)
-
-react-reconciler/cjs/react-reconciler.production.min.js:
- (**
- * @license React
- * react-reconciler.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.
- *)
-
-react-reconciler/cjs/react-reconciler-constants.development.js:
- (**
- * @license React
- * react-reconciler-constants.development.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.
- *)
-*/
-
-
-/***/ })
-
-}]);
\ No newline at end of file
diff --git a/dist/prebundle/vendors-node_modules_taro_weapp_prebundle_chunk-GLEAZC6U_js.js b/dist/prebundle/vendors-node_modules_taro_weapp_prebundle_chunk-GLEAZC6U_js.js
deleted file mode 100644
index 4404078..0000000
--- a/dist/prebundle/vendors-node_modules_taro_weapp_prebundle_chunk-GLEAZC6U_js.js
+++ /dev/null
@@ -1,1438 +0,0 @@
-"use strict";
-(wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([["vendors-node_modules_taro_weapp_prebundle_chunk-GLEAZC6U_js"],{
-
-/***/ "./node_modules/.taro/weapp/prebundle/chunk-GLEAZC6U.js":
-/*!**************************************************************!*\
- !*** ./node_modules/.taro/weapp/prebundle/chunk-GLEAZC6U.js ***!
- \**************************************************************/
-/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
-
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ EMPTY_OBJ: function() { return /* binding */ EMPTY_OBJ; },
-/* harmony export */ Events: function() { return /* binding */ Events; },
-/* harmony export */ PLATFORM_TYPE: function() { return /* binding */ PLATFORM_TYPE; },
-/* harmony export */ capitalize: function() { return /* binding */ capitalize; },
-/* harmony export */ controlledComponent: function() { return /* binding */ controlledComponent; },
-/* harmony export */ ensure: function() { return /* binding */ ensure; },
-/* harmony export */ getComponentsAlias: function() { return /* binding */ getComponentsAlias; },
-/* harmony export */ hooks: function() { return /* binding */ hooks; },
-/* harmony export */ init_dist: function() { return /* binding */ init_dist; },
-/* harmony export */ internalComponents: function() { return /* binding */ internalComponents; },
-/* harmony export */ isArray: function() { return /* binding */ isArray; },
-/* harmony export */ isBoolean: function() { return /* binding */ isBoolean; },
-/* harmony export */ isFunction: function() { return /* binding */ isFunction; },
-/* harmony export */ isNull: function() { return /* binding */ isNull; },
-/* harmony export */ isNumber: function() { return /* binding */ isNumber; },
-/* harmony export */ isObject: function() { return /* binding */ isObject; },
-/* harmony export */ isString: function() { return /* binding */ isString; },
-/* harmony export */ isUndefined: function() { return /* binding */ isUndefined; },
-/* harmony export */ mergeInternalComponents: function() { return /* binding */ mergeInternalComponents; },
-/* harmony export */ mergeReconciler: function() { return /* binding */ mergeReconciler; },
-/* harmony export */ noop: function() { return /* binding */ noop; },
-/* harmony export */ processApis: function() { return /* binding */ processApis; },
-/* harmony export */ toCamelCase: function() { return /* binding */ toCamelCase; },
-/* harmony export */ toDashed: function() { return /* binding */ toDashed; },
-/* harmony export */ warn: function() { return /* binding */ warn; }
-/* 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/@tarojs+shared@4.0.8/node_modules/@tarojs/shared/dist/event-emitter.js
-var Events;
-var init_event_emitter = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_0__.__esm)({
- "node_modules/.pnpm/@tarojs+shared@4.0.8/node_modules/@tarojs/shared/dist/event-emitter.js" () {
- Events = class _Events {
- on(eventName, callback, context) {
- let event, tail, _eventName;
- if (!callback) {
- return this;
- }
- if (typeof eventName === "symbol") {
- _eventName = [
- eventName
- ];
- } else {
- _eventName = eventName.split(_Events.eventSplitter);
- }
- this.callbacks || (this.callbacks = {});
- const calls = this.callbacks;
- while(event = _eventName.shift()){
- const list = calls[event];
- const node = list ? list.tail : {};
- node.next = tail = {};
- node.context = context;
- node.callback = callback;
- calls[event] = {
- tail,
- next: list ? list.next : node
- };
- }
- return this;
- }
- once(events, callback, context) {
- const wrapper = (...args)=>{
- callback.apply(this, args);
- this.off(events, wrapper, context);
- };
- this.on(events, wrapper, context);
- return this;
- }
- off(events, callback, context) {
- let event, calls, _events;
- if (!(calls = this.callbacks)) {
- return this;
- }
- if (!(events || callback || context)) {
- delete this.callbacks;
- return this;
- }
- if (typeof events === "symbol") {
- _events = [
- events
- ];
- } else {
- _events = events ? events.split(_Events.eventSplitter) : Object.keys(calls);
- }
- while(event = _events.shift()){
- let node = calls[event];
- delete calls[event];
- if (!node || !(callback || context)) {
- continue;
- }
- const tail = node.tail;
- while((node = node.next) !== tail){
- const cb = node.callback;
- const ctx = node.context;
- if (callback && cb !== callback || context && ctx !== context) {
- this.on(event, cb, ctx);
- }
- }
- }
- return this;
- }
- trigger(events, ...args) {
- let event, node, calls, _events;
- if (!(calls = this.callbacks)) {
- return this;
- }
- if (typeof events === "symbol") {
- _events = [
- events
- ];
- } else {
- _events = events.split(_Events.eventSplitter);
- }
- while(event = _events.shift()){
- if (node = calls[event]) {
- const tail = node.tail;
- while((node = node.next) !== tail){
- node.callback.apply(node.context || this, args);
- }
- }
- }
- return this;
- }
- constructor(opts){
- var _a;
- this.callbacks = (_a = opts === null || opts === void 0 ? void 0 : opts.callbacks) !== null && _a !== void 0 ? _a : {};
- }
- };
- Events.eventSplitter = ",";
- }
-});
-// node_modules/.pnpm/@tarojs+shared@4.0.8/node_modules/@tarojs/shared/dist/is.js
-function isString(o) {
- return typeof o === "string";
-}
-function isUndefined(o) {
- return typeof o === "undefined";
-}
-function isNull(o) {
- return o === null;
-}
-function isObject(o) {
- return o !== null && typeof o === "object";
-}
-function isBoolean(o) {
- return o === true || o === false;
-}
-function isFunction(o) {
- return typeof o === "function";
-}
-function isNumber(o) {
- if (Number.isFinite) return Number.isFinite(o);
- return typeof o === "number";
-}
-var isArray;
-var init_is = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_0__.__esm)({
- "node_modules/.pnpm/@tarojs+shared@4.0.8/node_modules/@tarojs/shared/dist/is.js" () {
- isArray = Array.isArray;
- }
-});
-// node_modules/.pnpm/@tarojs+shared@4.0.8/node_modules/@tarojs/shared/dist/runtime-hooks.js
-function TaroHook(type, initial) {
- return {
- type,
- initial: initial || null
- };
-}
-var HOOK_TYPE, defaultMiniLifecycle, TaroHooks, hooks;
-var init_runtime_hooks = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_0__.__esm)({
- "node_modules/.pnpm/@tarojs+shared@4.0.8/node_modules/@tarojs/shared/dist/runtime-hooks.js" () {
- init_event_emitter();
- init_is();
- (function(HOOK_TYPE2) {
- HOOK_TYPE2[HOOK_TYPE2["SINGLE"] = 0] = "SINGLE";
- HOOK_TYPE2[HOOK_TYPE2["MULTI"] = 1] = "MULTI";
- HOOK_TYPE2[HOOK_TYPE2["WATERFALL"] = 2] = "WATERFALL";
- })(HOOK_TYPE || (HOOK_TYPE = {}));
- defaultMiniLifecycle = {
- app: [
- "onLaunch",
- "onShow",
- "onHide"
- ],
- page: [
- "onLoad",
- "onUnload",
- "onReady",
- "onShow",
- "onHide",
- [
- "onPullDownRefresh",
- "onReachBottom",
- "onPageScroll",
- "onResize",
- "defer:onTabItemTap",
- // defer: 需要等页面组件挂载后再调用
- "onTitleClick",
- "onOptionMenuClick",
- "onPopMenuClick",
- "onPullIntercept",
- "onAddToFavorites"
- ],
- [
- "onShareAppMessage",
- "onShareTimeline"
- ]
- ],
- component: [
- "attached",
- "detached"
- ]
- };
- TaroHooks = class extends Events {
- tapOneOrMany(hookName, callback) {
- const list = isFunction(callback) ? [
- callback
- ] : callback;
- list.forEach((cb)=>this.on(hookName, cb));
- }
- tap(hookName, callback) {
- const hooks2 = this.hooks;
- const { type, initial } = hooks2[hookName];
- if (type === HOOK_TYPE.SINGLE) {
- this.off(hookName);
- this.on(hookName, isFunction(callback) ? callback : callback[callback.length - 1]);
- } else {
- initial && this.off(hookName, initial);
- this.tapOneOrMany(hookName, callback);
- }
- }
- call(hookName, ...rest) {
- var _a;
- const hook = this.hooks[hookName];
- if (!hook) return;
- const { type } = hook;
- const calls = this.callbacks;
- if (!calls) return;
- const list = calls[hookName];
- if (list) {
- const tail = list.tail;
- let node = list.next;
- let args = rest;
- let res;
- while(node !== tail){
- res = (_a = node.callback) === null || _a === void 0 ? void 0 : _a.apply(node.context || this, args);
- if (type === HOOK_TYPE.WATERFALL) {
- const params = [
- res
- ];
- args = params;
- }
- node = node.next;
- }
- return res;
- }
- }
- isExist(hookName) {
- var _a;
- return Boolean((_a = this.callbacks) === null || _a === void 0 ? void 0 : _a[hookName]);
- }
- constructor(hooks2, opts){
- super(opts);
- this.hooks = hooks2;
- for(const hookName in hooks2){
- const { initial } = hooks2[hookName];
- if (isFunction(initial)) {
- this.on(hookName, initial);
- }
- }
- }
- };
- hooks = new TaroHooks({
- getMiniLifecycle: TaroHook(HOOK_TYPE.SINGLE, (defaultConfig)=>defaultConfig),
- getMiniLifecycleImpl: TaroHook(HOOK_TYPE.SINGLE, function() {
- return this.call("getMiniLifecycle", defaultMiniLifecycle);
- }),
- getLifecycle: TaroHook(HOOK_TYPE.SINGLE, (instance, lifecycle)=>instance[lifecycle]),
- modifyRecursiveComponentConfig: TaroHook(HOOK_TYPE.SINGLE, (defaultConfig)=>defaultConfig),
- getPathIndex: TaroHook(HOOK_TYPE.SINGLE, (indexOfNode)=>`[${indexOfNode}]`),
- getEventCenter: TaroHook(HOOK_TYPE.SINGLE, (Events2)=>new Events2()),
- isBubbleEvents: TaroHook(HOOK_TYPE.SINGLE, (eventName)=>{
- const BUBBLE_EVENTS = /* @__PURE__ */ new Set([
- "touchstart",
- "touchmove",
- "touchcancel",
- "touchend",
- "touchforcechange",
- "tap",
- "longpress",
- "longtap",
- "transitionend",
- "animationstart",
- "animationiteration",
- "animationend"
- ]);
- return BUBBLE_EVENTS.has(eventName);
- }),
- getSpecialNodes: TaroHook(HOOK_TYPE.SINGLE, ()=>[
- "view",
- "text",
- "image"
- ]),
- onRemoveAttribute: TaroHook(HOOK_TYPE.SINGLE),
- batchedEventUpdates: TaroHook(HOOK_TYPE.SINGLE),
- mergePageInstance: TaroHook(HOOK_TYPE.SINGLE),
- modifyPageObject: TaroHook(HOOK_TYPE.SINGLE),
- createPullDownComponent: TaroHook(HOOK_TYPE.SINGLE),
- getDOMNode: TaroHook(HOOK_TYPE.SINGLE),
- modifyHydrateData: TaroHook(HOOK_TYPE.SINGLE),
- transferHydrateData: TaroHook(HOOK_TYPE.SINGLE),
- modifySetAttrPayload: TaroHook(HOOK_TYPE.SINGLE),
- modifyRmAttrPayload: TaroHook(HOOK_TYPE.SINGLE),
- onAddEvent: TaroHook(HOOK_TYPE.SINGLE),
- proxyToRaw: TaroHook(HOOK_TYPE.SINGLE, function(proxyObj) {
- return proxyObj;
- }),
- modifyMpEvent: TaroHook(HOOK_TYPE.MULTI),
- modifyMpEventImpl: TaroHook(HOOK_TYPE.SINGLE, function(e) {
- try {
- this.call("modifyMpEvent", e);
- } catch (error) {
- console.warn("[Taro modifyMpEvent hook Error]: " + (error === null || error === void 0 ? void 0 : error.message));
- }
- }),
- injectNewStyleProperties: TaroHook(HOOK_TYPE.SINGLE),
- modifyTaroEvent: TaroHook(HOOK_TYPE.MULTI),
- dispatchTaroEvent: TaroHook(HOOK_TYPE.SINGLE, (e, node)=>{
- node.dispatchEvent(e);
- }),
- dispatchTaroEventFinish: TaroHook(HOOK_TYPE.MULTI),
- modifyTaroEventReturn: TaroHook(HOOK_TYPE.SINGLE, ()=>void 0),
- modifyDispatchEvent: TaroHook(HOOK_TYPE.MULTI),
- initNativeApi: TaroHook(HOOK_TYPE.MULTI),
- patchElement: TaroHook(HOOK_TYPE.MULTI),
- modifyAddEventListener: TaroHook(HOOK_TYPE.SINGLE),
- modifyRemoveEventListener: TaroHook(HOOK_TYPE.SINGLE),
- getMemoryLevel: TaroHook(HOOK_TYPE.SINGLE)
- });
- }
-});
-// node_modules/.pnpm/@tarojs+shared@4.0.8/node_modules/@tarojs/shared/dist/components.js
-function singleQuote(s) {
- return `'${s}'`;
-}
-var DEFAULT_EMPTY_ARRAY, NO_DEFAULT_VALUE, DEFAULT_TRUE, DEFAULT_FALSE, touchEvents, animation, View, Icon, MapComp, Progress, RichText, Text, Button, Checkbox, CheckboxGroup, Form, Input, Label, Picker, PickerView, PickerViewColumn, Radio, RadioGroup, Slider, Switch, Textarea, CoverImage, CoverView, MovableArea, MovableView, ScrollView, Swiper, SwiperItem, Navigator, Audio, Camera, Image, LivePlayer, Video, Canvas, Ad, WebView, Block, SlotView, Slot, NativeSlot, Script, internalComponents, controlledComponent;
-var init_components = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_0__.__esm)({
- "node_modules/.pnpm/@tarojs+shared@4.0.8/node_modules/@tarojs/shared/dist/components.js" () {
- DEFAULT_EMPTY_ARRAY = "[]";
- NO_DEFAULT_VALUE = "";
- DEFAULT_TRUE = "!0";
- DEFAULT_FALSE = "!1";
- touchEvents = {
- bindTouchStart: NO_DEFAULT_VALUE,
- bindTouchMove: NO_DEFAULT_VALUE,
- bindTouchEnd: NO_DEFAULT_VALUE,
- bindTouchCancel: NO_DEFAULT_VALUE,
- bindLongTap: NO_DEFAULT_VALUE
- };
- animation = {
- animation: NO_DEFAULT_VALUE,
- bindAnimationStart: NO_DEFAULT_VALUE,
- bindAnimationIteration: NO_DEFAULT_VALUE,
- bindAnimationEnd: NO_DEFAULT_VALUE,
- bindTransitionEnd: NO_DEFAULT_VALUE
- };
- View = Object.assign(Object.assign({
- "hover-class": singleQuote("none"),
- "hover-stop-propagation": DEFAULT_FALSE,
- "hover-start-time": "50",
- "hover-stay-time": "400"
- }, touchEvents), animation);
- Icon = {
- type: NO_DEFAULT_VALUE,
- size: "23",
- color: NO_DEFAULT_VALUE
- };
- MapComp = Object.assign({
- longitude: NO_DEFAULT_VALUE,
- latitude: NO_DEFAULT_VALUE,
- scale: "16",
- markers: DEFAULT_EMPTY_ARRAY,
- covers: NO_DEFAULT_VALUE,
- polyline: DEFAULT_EMPTY_ARRAY,
- circles: DEFAULT_EMPTY_ARRAY,
- controls: DEFAULT_EMPTY_ARRAY,
- "include-points": DEFAULT_EMPTY_ARRAY,
- "show-location": NO_DEFAULT_VALUE,
- "layer-style": "1",
- bindMarkerTap: NO_DEFAULT_VALUE,
- bindControlTap: NO_DEFAULT_VALUE,
- bindCalloutTap: NO_DEFAULT_VALUE,
- bindUpdated: NO_DEFAULT_VALUE
- }, touchEvents);
- Progress = {
- percent: NO_DEFAULT_VALUE,
- "stroke-width": "6",
- color: singleQuote("#09BB07"),
- activeColor: singleQuote("#09BB07"),
- backgroundColor: singleQuote("#EBEBEB"),
- active: DEFAULT_FALSE,
- "active-mode": singleQuote("backwards"),
- "show-info": DEFAULT_FALSE
- };
- RichText = {
- nodes: DEFAULT_EMPTY_ARRAY
- };
- Text = Object.assign({
- selectable: DEFAULT_FALSE,
- space: NO_DEFAULT_VALUE,
- decode: DEFAULT_FALSE
- }, touchEvents);
- Button = Object.assign({
- size: singleQuote("default"),
- type: NO_DEFAULT_VALUE,
- plain: DEFAULT_FALSE,
- disabled: NO_DEFAULT_VALUE,
- loading: DEFAULT_FALSE,
- "form-type": NO_DEFAULT_VALUE,
- "open-type": NO_DEFAULT_VALUE,
- "hover-class": singleQuote("button-hover"),
- "hover-stop-propagation": DEFAULT_FALSE,
- "hover-start-time": "20",
- "hover-stay-time": "70",
- name: NO_DEFAULT_VALUE,
- bindagreeprivacyauthorization: NO_DEFAULT_VALUE
- }, touchEvents);
- Checkbox = {
- value: NO_DEFAULT_VALUE,
- disabled: NO_DEFAULT_VALUE,
- checked: DEFAULT_FALSE,
- color: singleQuote("#09BB07"),
- name: NO_DEFAULT_VALUE
- };
- CheckboxGroup = {
- bindChange: NO_DEFAULT_VALUE,
- name: NO_DEFAULT_VALUE
- };
- Form = {
- "report-submit": DEFAULT_FALSE,
- bindSubmit: NO_DEFAULT_VALUE,
- bindReset: NO_DEFAULT_VALUE,
- name: NO_DEFAULT_VALUE
- };
- Input = {
- value: NO_DEFAULT_VALUE,
- type: singleQuote(NO_DEFAULT_VALUE),
- password: DEFAULT_FALSE,
- placeholder: NO_DEFAULT_VALUE,
- "placeholder-style": NO_DEFAULT_VALUE,
- "placeholder-class": singleQuote("input-placeholder"),
- disabled: NO_DEFAULT_VALUE,
- maxlength: "140",
- "cursor-spacing": "0",
- focus: DEFAULT_FALSE,
- "confirm-type": singleQuote("done"),
- "confirm-hold": DEFAULT_FALSE,
- cursor: "-1",
- "selection-start": "-1",
- "selection-end": "-1",
- bindInput: NO_DEFAULT_VALUE,
- bindFocus: NO_DEFAULT_VALUE,
- bindBlur: NO_DEFAULT_VALUE,
- bindConfirm: NO_DEFAULT_VALUE,
- name: NO_DEFAULT_VALUE
- };
- Label = Object.assign({
- for: NO_DEFAULT_VALUE,
- name: NO_DEFAULT_VALUE
- }, touchEvents);
- Picker = {
- mode: singleQuote("selector"),
- disabled: NO_DEFAULT_VALUE,
- range: NO_DEFAULT_VALUE,
- "range-key": NO_DEFAULT_VALUE,
- value: NO_DEFAULT_VALUE,
- start: NO_DEFAULT_VALUE,
- end: NO_DEFAULT_VALUE,
- fields: singleQuote("day"),
- "custom-item": NO_DEFAULT_VALUE,
- name: NO_DEFAULT_VALUE,
- bindCancel: NO_DEFAULT_VALUE,
- bindChange: NO_DEFAULT_VALUE,
- bindColumnChange: NO_DEFAULT_VALUE
- };
- PickerView = {
- value: NO_DEFAULT_VALUE,
- "indicator-style": NO_DEFAULT_VALUE,
- "indicator-class": NO_DEFAULT_VALUE,
- "mask-style": NO_DEFAULT_VALUE,
- "mask-class": NO_DEFAULT_VALUE,
- bindChange: NO_DEFAULT_VALUE,
- name: NO_DEFAULT_VALUE
- };
- PickerViewColumn = {
- name: NO_DEFAULT_VALUE
- };
- Radio = {
- value: NO_DEFAULT_VALUE,
- checked: DEFAULT_FALSE,
- disabled: NO_DEFAULT_VALUE,
- color: singleQuote("#09BB07"),
- name: NO_DEFAULT_VALUE
- };
- RadioGroup = {
- bindChange: NO_DEFAULT_VALUE,
- name: NO_DEFAULT_VALUE
- };
- Slider = {
- min: "0",
- max: "100",
- step: "1",
- disabled: NO_DEFAULT_VALUE,
- value: "0",
- activeColor: singleQuote("#1aad19"),
- backgroundColor: singleQuote("#e9e9e9"),
- "block-size": "28",
- "block-color": singleQuote("#ffffff"),
- "show-value": DEFAULT_FALSE,
- bindChange: NO_DEFAULT_VALUE,
- bindChanging: NO_DEFAULT_VALUE,
- name: NO_DEFAULT_VALUE
- };
- Switch = {
- checked: DEFAULT_FALSE,
- disabled: NO_DEFAULT_VALUE,
- type: singleQuote("switch"),
- color: singleQuote("#04BE02"),
- bindChange: NO_DEFAULT_VALUE,
- name: NO_DEFAULT_VALUE
- };
- Textarea = {
- value: NO_DEFAULT_VALUE,
- placeholder: NO_DEFAULT_VALUE,
- "placeholder-style": NO_DEFAULT_VALUE,
- "placeholder-class": singleQuote("textarea-placeholder"),
- disabled: NO_DEFAULT_VALUE,
- maxlength: "140",
- "auto-focus": DEFAULT_FALSE,
- focus: DEFAULT_FALSE,
- "auto-height": DEFAULT_FALSE,
- fixed: DEFAULT_FALSE,
- "cursor-spacing": "0",
- cursor: "-1",
- "selection-start": "-1",
- "selection-end": "-1",
- bindFocus: NO_DEFAULT_VALUE,
- bindBlur: NO_DEFAULT_VALUE,
- bindLineChange: NO_DEFAULT_VALUE,
- bindInput: NO_DEFAULT_VALUE,
- bindConfirm: NO_DEFAULT_VALUE,
- name: NO_DEFAULT_VALUE
- };
- CoverImage = {
- src: NO_DEFAULT_VALUE,
- bindLoad: "eh",
- bindError: "eh"
- };
- CoverView = Object.assign({
- "scroll-top": DEFAULT_FALSE
- }, touchEvents);
- MovableArea = {
- "scale-area": DEFAULT_FALSE
- };
- MovableView = Object.assign(Object.assign({
- direction: "none",
- inertia: DEFAULT_FALSE,
- "out-of-bounds": DEFAULT_FALSE,
- x: NO_DEFAULT_VALUE,
- y: NO_DEFAULT_VALUE,
- damping: "20",
- friction: "2",
- disabled: NO_DEFAULT_VALUE,
- scale: DEFAULT_FALSE,
- "scale-min": "0.5",
- "scale-max": "10",
- "scale-value": "1",
- bindChange: NO_DEFAULT_VALUE,
- bindScale: NO_DEFAULT_VALUE,
- bindHTouchMove: NO_DEFAULT_VALUE,
- bindVTouchMove: NO_DEFAULT_VALUE,
- width: singleQuote("10px"),
- height: singleQuote("10px")
- }, touchEvents), animation);
- ScrollView = Object.assign(Object.assign({
- "scroll-x": DEFAULT_FALSE,
- "scroll-y": DEFAULT_FALSE,
- "upper-threshold": "50",
- "lower-threshold": "50",
- "scroll-top": NO_DEFAULT_VALUE,
- "scroll-left": NO_DEFAULT_VALUE,
- "scroll-into-view": NO_DEFAULT_VALUE,
- "scroll-with-animation": DEFAULT_FALSE,
- "enable-back-to-top": DEFAULT_FALSE,
- bindScrollToUpper: NO_DEFAULT_VALUE,
- bindScrollToLower: NO_DEFAULT_VALUE,
- bindScroll: NO_DEFAULT_VALUE
- }, touchEvents), animation);
- Swiper = Object.assign({
- "indicator-dots": DEFAULT_FALSE,
- "indicator-color": singleQuote("rgba(0, 0, 0, .3)"),
- "indicator-active-color": singleQuote("#000000"),
- autoplay: DEFAULT_FALSE,
- current: "0",
- interval: "5000",
- duration: "500",
- circular: DEFAULT_FALSE,
- vertical: DEFAULT_FALSE,
- "previous-margin": singleQuote("0px"),
- "next-margin": singleQuote("0px"),
- "display-multiple-items": "1",
- bindChange: NO_DEFAULT_VALUE,
- bindTransition: NO_DEFAULT_VALUE,
- bindAnimationFinish: NO_DEFAULT_VALUE
- }, touchEvents);
- SwiperItem = {
- "item-id": NO_DEFAULT_VALUE
- };
- Navigator = {
- url: NO_DEFAULT_VALUE,
- "open-type": singleQuote("navigate"),
- delta: "1",
- "hover-class": singleQuote("navigator-hover"),
- "hover-stop-propagation": DEFAULT_FALSE,
- "hover-start-time": "50",
- "hover-stay-time": "600",
- bindSuccess: NO_DEFAULT_VALUE,
- bindFail: NO_DEFAULT_VALUE,
- bindComplete: NO_DEFAULT_VALUE
- };
- Audio = {
- id: NO_DEFAULT_VALUE,
- src: NO_DEFAULT_VALUE,
- loop: DEFAULT_FALSE,
- controls: DEFAULT_FALSE,
- poster: NO_DEFAULT_VALUE,
- name: NO_DEFAULT_VALUE,
- author: NO_DEFAULT_VALUE,
- bindError: NO_DEFAULT_VALUE,
- bindPlay: NO_DEFAULT_VALUE,
- bindPause: NO_DEFAULT_VALUE,
- bindTimeUpdate: NO_DEFAULT_VALUE,
- bindEnded: NO_DEFAULT_VALUE
- };
- Camera = {
- "device-position": singleQuote("back"),
- flash: singleQuote("auto"),
- bindStop: NO_DEFAULT_VALUE,
- bindError: NO_DEFAULT_VALUE
- };
- Image = Object.assign({
- src: NO_DEFAULT_VALUE,
- mode: singleQuote("scaleToFill"),
- "lazy-load": DEFAULT_FALSE,
- bindError: NO_DEFAULT_VALUE,
- bindLoad: NO_DEFAULT_VALUE
- }, touchEvents);
- LivePlayer = Object.assign({
- src: NO_DEFAULT_VALUE,
- autoplay: DEFAULT_FALSE,
- muted: DEFAULT_FALSE,
- orientation: singleQuote("vertical"),
- "object-fit": singleQuote("contain"),
- "background-mute": DEFAULT_FALSE,
- "min-cache": "1",
- "max-cache": "3",
- bindStateChange: NO_DEFAULT_VALUE,
- bindFullScreenChange: NO_DEFAULT_VALUE,
- bindNetStatus: NO_DEFAULT_VALUE
- }, animation);
- Video = Object.assign({
- src: NO_DEFAULT_VALUE,
- duration: NO_DEFAULT_VALUE,
- controls: DEFAULT_TRUE,
- "danmu-list": NO_DEFAULT_VALUE,
- "danmu-btn": NO_DEFAULT_VALUE,
- "enable-danmu": NO_DEFAULT_VALUE,
- autoplay: DEFAULT_FALSE,
- loop: DEFAULT_FALSE,
- muted: DEFAULT_FALSE,
- "initial-time": "0",
- "page-gesture": DEFAULT_FALSE,
- direction: NO_DEFAULT_VALUE,
- "show-progress": DEFAULT_TRUE,
- "show-fullscreen-btn": DEFAULT_TRUE,
- "show-play-btn": DEFAULT_TRUE,
- "show-center-play-btn": DEFAULT_TRUE,
- "enable-progress-gesture": DEFAULT_TRUE,
- "object-fit": singleQuote("contain"),
- poster: NO_DEFAULT_VALUE,
- "show-mute-btn": DEFAULT_FALSE,
- bindPlay: NO_DEFAULT_VALUE,
- bindPause: NO_DEFAULT_VALUE,
- bindEnded: NO_DEFAULT_VALUE,
- bindTimeUpdate: NO_DEFAULT_VALUE,
- bindFullScreenChange: NO_DEFAULT_VALUE,
- bindWaiting: NO_DEFAULT_VALUE,
- bindError: NO_DEFAULT_VALUE
- }, animation);
- Canvas = Object.assign({
- "canvas-id": NO_DEFAULT_VALUE,
- "disable-scroll": DEFAULT_FALSE,
- bindError: NO_DEFAULT_VALUE
- }, touchEvents);
- Ad = {
- "unit-id": NO_DEFAULT_VALUE,
- "ad-intervals": NO_DEFAULT_VALUE,
- bindLoad: NO_DEFAULT_VALUE,
- bindError: NO_DEFAULT_VALUE,
- bindClose: NO_DEFAULT_VALUE
- };
- WebView = {
- src: NO_DEFAULT_VALUE,
- bindMessage: NO_DEFAULT_VALUE,
- bindLoad: NO_DEFAULT_VALUE,
- bindError: NO_DEFAULT_VALUE
- };
- Block = {};
- SlotView = {
- name: NO_DEFAULT_VALUE
- };
- Slot = {
- name: NO_DEFAULT_VALUE
- };
- NativeSlot = {
- name: NO_DEFAULT_VALUE
- };
- Script = {};
- internalComponents = {
- View,
- Icon,
- Progress,
- RichText,
- Text,
- Button,
- Checkbox,
- CheckboxGroup,
- Form,
- Input,
- Label,
- Picker,
- PickerView,
- PickerViewColumn,
- Radio,
- RadioGroup,
- Slider,
- Switch,
- CoverImage,
- Textarea,
- CoverView,
- MovableArea,
- MovableView,
- ScrollView,
- Swiper,
- SwiperItem,
- Navigator,
- Audio,
- Camera,
- Image,
- LivePlayer,
- Video,
- Canvas,
- Ad,
- WebView,
- Block,
- Map: MapComp,
- Slot,
- SlotView,
- NativeSlot,
- Script
- };
- controlledComponent = /* @__PURE__ */ new Set([
- "input",
- "checkbox",
- "picker",
- "picker-view",
- "radio",
- "slider",
- "switch",
- "textarea"
- ]);
- }
-});
-// node_modules/.pnpm/@tarojs+shared@4.0.8/node_modules/@tarojs/shared/dist/constants.js
-var PLATFORM_TYPE, PLATFORM_CONFIG_MAP;
-var init_constants = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_0__.__esm)({
- "node_modules/.pnpm/@tarojs+shared@4.0.8/node_modules/@tarojs/shared/dist/constants.js" () {
- (function(PLATFORM_TYPE2) {
- PLATFORM_TYPE2["MINI"] = "mini";
- PLATFORM_TYPE2["WEB"] = "web";
- PLATFORM_TYPE2["RN"] = "rn";
- PLATFORM_TYPE2["HARMONY"] = "harmony";
- PLATFORM_TYPE2["QUICK"] = "quickapp";
- })(PLATFORM_TYPE || (PLATFORM_TYPE = {}));
- PLATFORM_CONFIG_MAP = {
- h5: {
- type: PLATFORM_TYPE.WEB
- },
- harmony: {
- type: PLATFORM_TYPE.HARMONY
- },
- mini: {
- type: PLATFORM_TYPE.MINI
- },
- rn: {
- type: PLATFORM_TYPE.RN
- },
- quickapp: {
- type: PLATFORM_TYPE.QUICK
- }
- };
- }
-});
-// node_modules/.pnpm/@tarojs+shared@4.0.8/node_modules/@tarojs/shared/dist/event-channel.js
-var PageEvts, pageChannel, RouteEvts, routeChannel;
-var init_event_channel = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_0__.__esm)({
- "node_modules/.pnpm/@tarojs+shared@4.0.8/node_modules/@tarojs/shared/dist/event-channel.js" () {
- init_event_emitter();
- PageEvts = class extends Events {
- on(eventName, callback) {
- super.on(eventName, callback, this);
- this.exeList = this.exeList.reduce((prev, item)=>{
- if (item.eventName === eventName) {
- super.trigger(item.eventName, item.data);
- } else {
- prev.push(item);
- }
- return prev;
- }, []);
- return this;
- }
- emit(events, data) {
- routeChannel.trigger(events, data);
- }
- constructor(){
- super(...arguments);
- this.exeList = [];
- }
- };
- pageChannel = new PageEvts();
- RouteEvts = class extends Events {
- emit(events, data) {
- pageChannel.off(events);
- pageChannel.exeList.push({
- eventName: events,
- data
- });
- }
- addEvents(events) {
- if (!events || typeof events !== "object") return;
- Object.keys(events).forEach((key)=>{
- this.off(key);
- this.on(key, events[key], this);
- });
- }
- };
- routeChannel = new RouteEvts();
- }
-});
-// node_modules/.pnpm/@tarojs+shared@4.0.8/node_modules/@tarojs/shared/dist/utils.js
-function toDashed(s) {
- return s.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
-}
-function toCamelCase(s) {
- let camel = "";
- let nextCap = false;
- for(let i = 0; i < s.length; i++){
- if (s[i] !== "-") {
- camel += nextCap ? s[i].toUpperCase() : s[i];
- nextCap = false;
- } else {
- nextCap = true;
- }
- }
- return camel;
-}
-function capitalize(s) {
- return s.charAt(0).toUpperCase() + s.slice(1);
-}
-function ensure(condition, msg) {
- if (!condition) {
- if (true) {
- const reportIssue = "\n\u5982\u6709\u7591\u95EE\uFF0C\u8BF7\u63D0\u4EA4 issue \u81F3\uFF1Ahttps://github.com/nervjs/taro/issues";
- throw new Error(msg + reportIssue);
- } else {}
- }
-}
-function warn(condition, msg) {
- if (true) {
- if (condition) {
- console.warn(`[taro warn] ${msg}`);
- }
- }
-}
-function getUniqueKey() {
- return _loadTime + _uniqueId++;
-}
-function mergeInternalComponents(components) {
- Object.keys(components).forEach((name)=>{
- if (name in internalComponents) {
- Object.assign(internalComponents[name], components[name]);
- } else {
- internalComponents[name] = components[name];
- }
- });
- return internalComponents;
-}
-function getComponentsAlias(origin) {
- const mapping = {};
- const viewAttrs = origin.View;
- const extraList = {
- "#text": {},
- StaticView: viewAttrs,
- StaticImage: origin.Image,
- StaticText: origin.Text,
- PureView: viewAttrs,
- CatchView: viewAttrs,
- ClickView: viewAttrs
- };
- origin = Object.assign(Object.assign({}, origin), extraList);
- Object.keys(origin).sort((a, b)=>{
- const reg = /^(Static|Pure|Catch|Click)*(View|Image|Text)$/;
- const isACommonly = reg.test(a);
- const isBCommonly = reg.test(b);
- if (isACommonly && isBCommonly) {
- return a > b ? 1 : -1;
- } else if (isACommonly) {
- return -1;
- } else if (isBCommonly) {
- return 1;
- } else {
- return a >= b ? 1 : -1;
- }
- }).forEach((key, num)=>{
- const obj = {
- _num: String(num)
- };
- Object.keys(origin[key]).filter((attr)=>!/^bind/.test(attr) && ![
- "focus",
- "blur"
- ].includes(attr)).sort().forEach((attr, index)=>{
- obj[toCamelCase(attr)] = "p" + index;
- });
- mapping[toDashed(key)] = obj;
- });
- return mapping;
-}
-function mergeReconciler(hostConfig, hooksForTest) {
- const obj = hooksForTest || hooks;
- const keys = Object.keys(hostConfig);
- keys.forEach((key)=>{
- obj.tap(key, hostConfig[key]);
- });
-}
-function nonsupport(api) {
- return function() {
- console.warn(`\u5C0F\u7A0B\u5E8F\u6682\u4E0D\u652F\u6301 ${api}`);
- };
-}
-function setUniqueKeyToRoute(key, obj) {
- const routerParamsPrivateKey = "__key_";
- const useDataCacheApis = [
- "navigateTo",
- "redirectTo",
- "reLaunch",
- "switchTab"
- ];
- if (useDataCacheApis.indexOf(key) > -1) {
- const url = obj.url = obj.url || "";
- const hasMark = url.indexOf("?") > -1;
- const cacheKey = getUniqueKey();
- obj.url += (hasMark ? "&" : "?") + `${routerParamsPrivateKey}=${cacheKey}`;
- }
-}
-var EMPTY_OBJ, noop, _uniqueId, _loadTime;
-var init_utils = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_0__.__esm)({
- "node_modules/.pnpm/@tarojs+shared@4.0.8/node_modules/@tarojs/shared/dist/utils.js" () {
- init_components();
- init_constants();
- init_runtime_hooks();
- EMPTY_OBJ = {};
- noop = (..._)=>{};
- _uniqueId = 1;
- _loadTime = /* @__PURE__ */ new Date().getTime().toString();
- }
-});
-// node_modules/.pnpm/@tarojs+shared@4.0.8/node_modules/@tarojs/shared/dist/native-apis.js
-function getCanIUseWebp(taro) {
- return function() {
- var _a;
- const res = (_a = taro.getSystemInfoSync) === null || _a === void 0 ? void 0 : _a.call(taro);
- if (!res) {
- if (true) {
- console.error("\u4E0D\u652F\u6301 API canIUseWebp");
- }
- return false;
- }
- const { platform } = res;
- const platformLower = platform.toLowerCase();
- if (platformLower === "android" || platformLower === "devtools") {
- return true;
- }
- return false;
- };
-}
-function getNormalRequest(global) {
- return function request(options) {
- options = options ? isString(options) ? {
- url: options
- } : options : {};
- const originSuccess = options.success;
- const originFail = options.fail;
- const originComplete = options.complete;
- let requestTask;
- const p = new Promise((resolve, reject)=>{
- options.success = (res)=>{
- originSuccess && originSuccess(res);
- resolve(res);
- };
- options.fail = (res)=>{
- originFail && originFail(res);
- reject(res);
- };
- options.complete = (res)=>{
- originComplete && originComplete(res);
- };
- requestTask = global.request(options);
- });
- equipTaskMethodsIntoPromise(requestTask, p);
- p.abort = (cb)=>{
- cb && cb();
- if (requestTask) {
- requestTask.abort();
- }
- return p;
- };
- return p;
- };
-}
-function processApis(taro, global, config = {}) {
- const patchNeedPromiseApis = config.needPromiseApis || [];
- const _needPromiseApis = /* @__PURE__ */ new Set([
- ...patchNeedPromiseApis,
- ...needPromiseApis
- ]);
- const preserved = [
- "getEnv",
- "interceptors",
- "Current",
- "getCurrentInstance",
- "options",
- "nextTick",
- "eventCenter",
- "Events",
- "preload",
- "webpackJsonp"
- ];
- const apis = new Set(!config.isOnlyPromisify ? Object.keys(global).filter((api)=>preserved.indexOf(api) === -1) : patchNeedPromiseApis);
- if (config.modifyApis) {
- config.modifyApis(apis);
- }
- apis.forEach((key)=>{
- if (_needPromiseApis.has(key)) {
- const originKey = key;
- taro[originKey] = (options = {}, ...args)=>{
- let key2 = originKey;
- if (typeof options === "string") {
- if (args.length) {
- return global[key2](options, ...args);
- }
- return global[key2](options);
- }
- if (config.transformMeta) {
- const transformResult = config.transformMeta(key2, options);
- key2 = transformResult.key;
- options = transformResult.options;
- if (!global.hasOwnProperty(key2)) {
- return nonsupport(key2)();
- }
- }
- let task = null;
- const obj = Object.assign({}, options);
- setUniqueKeyToRoute(key2, options);
- const p = new Promise((resolve, reject)=>{
- obj.success = (res)=>{
- var _a, _b;
- (_a = config.modifyAsyncResult) === null || _a === void 0 ? void 0 : _a.call(config, key2, res);
- (_b = options.success) === null || _b === void 0 ? void 0 : _b.call(options, res);
- if (key2 === "connectSocket") {
- resolve(Promise.resolve().then(()=>task ? Object.assign(task, res) : res));
- } else {
- resolve(res);
- }
- };
- obj.fail = (res)=>{
- var _a;
- (_a = options.fail) === null || _a === void 0 ? void 0 : _a.call(options, res);
- reject(res);
- };
- obj.complete = (res)=>{
- var _a;
- (_a = options.complete) === null || _a === void 0 ? void 0 : _a.call(options, res);
- };
- if (args.length) {
- task = global[key2](obj, ...args);
- } else {
- task = global[key2](obj);
- }
- });
- if ([
- "uploadFile",
- "downloadFile"
- ].includes(key2)) {
- equipTaskMethodsIntoPromise(task, p);
- p.progress = (cb)=>{
- task === null || task === void 0 ? void 0 : task.onProgressUpdate(cb);
- return p;
- };
- p.abort = (cb)=>{
- cb === null || cb === void 0 ? void 0 : cb();
- task === null || task === void 0 ? void 0 : task.abort();
- return p;
- };
- }
- return p;
- };
- } else {
- let platformKey = key;
- if (config.transformMeta) {
- platformKey = config.transformMeta(key, {}).key;
- }
- if (!global.hasOwnProperty(platformKey)) {
- taro[key] = nonsupport(key);
- return;
- }
- if (isFunction(global[key])) {
- taro[key] = (...args)=>{
- if (config.handleSyncApis) {
- return config.handleSyncApis(key, global, args);
- } else {
- return global[platformKey].apply(global, args);
- }
- };
- } else {
- taro[key] = global[platformKey];
- }
- }
- });
- !config.isOnlyPromisify && equipCommonApis(taro, global, config);
-}
-function equipCommonApis(taro, global, apis = {}) {
- taro.canIUseWebp = getCanIUseWebp(taro);
- taro.getCurrentPages = getCurrentPages || nonsupport("getCurrentPages");
- taro.getApp = getApp || nonsupport("getApp");
- taro.env = global.env || {};
- try {
- taro.requirePlugin = requirePlugin || nonsupport("requirePlugin");
- } catch (error) {
- taro.requirePlugin = nonsupport("requirePlugin");
- }
- const request = apis.request || getNormalRequest(global);
- function taroInterceptor(chain) {
- return request(chain.requestParams);
- }
- const link = new taro.Link(taroInterceptor);
- taro.request = link.request.bind(link);
- taro.addInterceptor = link.addInterceptor.bind(link);
- taro.cleanInterceptors = link.cleanInterceptors.bind(link);
- taro.miniGlobal = taro.options.miniGlobal = global;
- taro.getAppInfo = function() {
- return {
- platform: "mini",
- taroVersion: "4.0.8",
- designWidth: taro.config.designWidth
- };
- };
- taro.createSelectorQuery = delayRef(taro, global, "createSelectorQuery", "exec");
- taro.createIntersectionObserver = delayRef(taro, global, "createIntersectionObserver", "observe");
-}
-function equipTaskMethodsIntoPromise(task, promise) {
- if (!task || !promise) return;
- const taskMethods = [
- "abort",
- "onHeadersReceived",
- "offHeadersReceived",
- "onProgressUpdate",
- "offProgressUpdate",
- "onChunkReceived",
- "offChunkReceived"
- ];
- task && taskMethods.forEach((method)=>{
- if (method in task) {
- promise[method] = task[method].bind(task);
- }
- });
-}
-function delayRef(taro, global, name, method) {
- return function(...args) {
- const res = global[name](...args);
- const raw = res[method].bind(res);
- res[method] = function(...methodArgs) {
- taro.nextTick(()=>raw(...methodArgs));
- };
- return res;
- };
-}
-var needPromiseApis;
-var init_native_apis = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_0__.__esm)({
- "node_modules/.pnpm/@tarojs+shared@4.0.8/node_modules/@tarojs/shared/dist/native-apis.js" () {
- init_is();
- init_utils();
- needPromiseApis = /* @__PURE__ */ new Set([
- "addPhoneContact",
- "authorize",
- "canvasGetImageData",
- "canvasPutImageData",
- "canvasToTempFilePath",
- "checkSession",
- "chooseAddress",
- "chooseImage",
- "chooseInvoiceTitle",
- "chooseLocation",
- "chooseVideo",
- "clearStorage",
- "closeBLEConnection",
- "closeBluetoothAdapter",
- "closeSocket",
- "compressImage",
- "connectSocket",
- "createBLEConnection",
- "downloadFile",
- "exitMiniProgram",
- "getAvailableAudioSources",
- "getBLEDeviceCharacteristics",
- "getBLEDeviceServices",
- "getBatteryInfo",
- "getBeacons",
- "getBluetoothAdapterState",
- "getBluetoothDevices",
- "getClipboardData",
- "getConnectedBluetoothDevices",
- "getConnectedWifi",
- "getExtConfig",
- "getFileInfo",
- "getImageInfo",
- "getLocation",
- "getNetworkType",
- "getSavedFileInfo",
- "getSavedFileList",
- "getScreenBrightness",
- "getSetting",
- "getStorage",
- "getStorageInfo",
- "getSystemInfo",
- "getUserInfo",
- "getWifiList",
- "hideHomeButton",
- "hideShareMenu",
- "hideTabBar",
- "hideTabBarRedDot",
- "loadFontFace",
- "login",
- "makePhoneCall",
- "navigateBack",
- "navigateBackMiniProgram",
- "navigateTo",
- "navigateToBookshelf",
- "navigateToMiniProgram",
- "notifyBLECharacteristicValueChange",
- "hideKeyboard",
- "hideLoading",
- "hideNavigationBarLoading",
- "hideToast",
- "openBluetoothAdapter",
- "openDocument",
- "openLocation",
- "openSetting",
- "pageScrollTo",
- "previewImage",
- "queryBookshelf",
- "reLaunch",
- "readBLECharacteristicValue",
- "redirectTo",
- "removeSavedFile",
- "removeStorage",
- "removeTabBarBadge",
- "requestSubscribeMessage",
- "saveFile",
- "saveImageToPhotosAlbum",
- "saveVideoToPhotosAlbum",
- "scanCode",
- "sendSocketMessage",
- "setBackgroundColor",
- "setBackgroundTextStyle",
- "setClipboardData",
- "setEnableDebug",
- "setInnerAudioOption",
- "setKeepScreenOn",
- "setNavigationBarColor",
- "setNavigationBarTitle",
- "setScreenBrightness",
- "setStorage",
- "setTabBarBadge",
- "setTabBarItem",
- "setTabBarStyle",
- "showActionSheet",
- "showFavoriteGuide",
- "showLoading",
- "showModal",
- "showShareMenu",
- "showTabBar",
- "showTabBarRedDot",
- "showToast",
- "startBeaconDiscovery",
- "startBluetoothDevicesDiscovery",
- "startDeviceMotionListening",
- "startPullDownRefresh",
- "stopBeaconDiscovery",
- "stopBluetoothDevicesDiscovery",
- "stopCompass",
- "startCompass",
- "startAccelerometer",
- "stopAccelerometer",
- "showNavigationBarLoading",
- "stopDeviceMotionListening",
- "stopPullDownRefresh",
- "switchTab",
- "uploadFile",
- "vibrateLong",
- "vibrateShort",
- "writeBLECharacteristicValue"
- ]);
- }
-});
-// node_modules/.pnpm/@tarojs+shared@4.0.8/node_modules/@tarojs/shared/dist/shortcuts.js
-var Shortcuts;
-var init_shortcuts = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_0__.__esm)({
- "node_modules/.pnpm/@tarojs+shared@4.0.8/node_modules/@tarojs/shared/dist/shortcuts.js" () {
- (function(Shortcuts2) {
- Shortcuts2["Container"] = "container";
- Shortcuts2["Childnodes"] = "cn";
- Shortcuts2["Text"] = "v";
- Shortcuts2["NodeType"] = "nt";
- Shortcuts2["NodeName"] = "nn";
- Shortcuts2["Sid"] = "sid";
- Shortcuts2["Style"] = "st";
- Shortcuts2["Class"] = "cl";
- Shortcuts2["Src"] = "src";
- })(Shortcuts || (Shortcuts = {}));
- }
-});
-// node_modules/.pnpm/@tarojs+shared@4.0.8/node_modules/@tarojs/shared/dist/index.js
-var init_dist = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_0__.__esm)({
- "node_modules/.pnpm/@tarojs+shared@4.0.8/node_modules/@tarojs/shared/dist/index.js" () {
- init_components();
- init_constants();
- init_event_channel();
- init_event_emitter();
- init_is();
- init_native_apis();
- init_runtime_hooks();
- init_shortcuts();
- init_utils();
- }
-});
-
-
-
-/***/ }),
-
-/***/ "./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);
-
-
-
-/***/ })
-
-}]);
\ No newline at end of file
diff --git a/dist/prebundle/vendors-node_modules_taro_weapp_prebundle_chunk-WRSQ3V3E_js.js b/dist/prebundle/vendors-node_modules_taro_weapp_prebundle_chunk-WRSQ3V3E_js.js
deleted file mode 100644
index cda128f..0000000
--- a/dist/prebundle/vendors-node_modules_taro_weapp_prebundle_chunk-WRSQ3V3E_js.js
+++ /dev/null
@@ -1,5010 +0,0 @@
-"use strict";
-(wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([["vendors-node_modules_taro_weapp_prebundle_chunk-WRSQ3V3E_js"],{
-
-/***/ "./node_modules/.taro/weapp/prebundle/chunk-WRSQ3V3E.js":
-/*!**************************************************************!*\
- !*** ./node_modules/.taro/weapp/prebundle/chunk-WRSQ3V3E.js ***!
- \**************************************************************/
-/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
-
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ A: function() { return /* binding */ A; },
-/* harmony export */ APP: function() { return /* binding */ APP; },
-/* harmony export */ BEHAVIORS: function() { return /* binding */ BEHAVIORS; },
-/* harmony export */ BODY: function() { return /* binding */ BODY; },
-/* harmony export */ CATCHMOVE: function() { return /* binding */ CATCHMOVE; },
-/* harmony export */ CATCH_VIEW: function() { return /* binding */ CATCH_VIEW; },
-/* harmony export */ CHANGE: function() { return /* binding */ CHANGE; },
-/* harmony export */ CLASS: function() { return /* binding */ CLASS; },
-/* harmony export */ CLICK_VIEW: function() { return /* binding */ CLICK_VIEW; },
-/* harmony export */ COMMENT: function() { return /* binding */ COMMENT; },
-/* harmony export */ COMPILE_MODE: function() { return /* binding */ COMPILE_MODE; },
-/* harmony export */ CONFIRM: function() { return /* binding */ CONFIRM; },
-/* harmony export */ CONTAINER: function() { return /* binding */ CONTAINER; },
-/* harmony export */ CONTEXT_ACTIONS: function() { return /* binding */ CONTEXT_ACTIONS; },
-/* harmony export */ CURRENT_TARGET: function() { return /* binding */ CURRENT_TARGET; },
-/* harmony export */ CUSTOM_WRAPPER: function() { return /* binding */ CUSTOM_WRAPPER; },
-/* harmony export */ Current: function() { return /* binding */ Current; },
-/* harmony export */ DATASET: function() { return /* binding */ DATASET; },
-/* harmony export */ DATE: function() { return /* binding */ DATE; },
-/* harmony export */ DOCUMENT_ELEMENT_NAME: function() { return /* binding */ DOCUMENT_ELEMENT_NAME; },
-/* harmony export */ DOCUMENT_FRAGMENT: function() { return /* binding */ DOCUMENT_FRAGMENT; },
-/* harmony export */ EVENT_CALLBACK_RESULT: function() { return /* binding */ EVENT_CALLBACK_RESULT; },
-/* harmony export */ EXTERNAL_CLASSES: function() { return /* binding */ EXTERNAL_CLASSES; },
-/* harmony export */ FOCUS: function() { return /* binding */ FOCUS; },
-/* harmony export */ FormElement: function() { return /* binding */ FormElement; },
-/* harmony export */ HEAD: function() { return /* binding */ HEAD; },
-/* harmony export */ HOOKS_APP_ID: function() { return /* binding */ HOOKS_APP_ID; },
-/* harmony export */ HTML: function() { return /* binding */ HTML; },
-/* harmony export */ History: function() { return /* binding */ History; },
-/* harmony export */ ID: function() { return /* binding */ ID; },
-/* harmony export */ INPUT: function() { return /* binding */ INPUT; },
-/* harmony export */ KEY_CODE: function() { return /* binding */ KEY_CODE; },
-/* harmony export */ Location: function() { return /* binding */ Location; },
-/* harmony export */ MutationObserver: function() { return /* binding */ MutationObserver2; },
-/* harmony export */ OBJECT: function() { return /* binding */ OBJECT; },
-/* harmony export */ ON_HIDE: function() { return /* binding */ ON_HIDE; },
-/* harmony export */ ON_LOAD: function() { return /* binding */ ON_LOAD; },
-/* harmony export */ ON_READY: function() { return /* binding */ ON_READY; },
-/* harmony export */ ON_SHOW: function() { return /* binding */ ON_SHOW; },
-/* harmony export */ OPTIONS: function() { return /* binding */ OPTIONS; },
-/* harmony export */ PAGE_INIT: function() { return /* binding */ PAGE_INIT; },
-/* harmony export */ PROPERTY_THRESHOLD: function() { return /* binding */ PROPERTY_THRESHOLD; },
-/* harmony export */ PROPS: function() { return /* binding */ PROPS; },
-/* harmony export */ PURE_VIEW: function() { return /* binding */ PURE_VIEW; },
-/* harmony export */ ROOT_STR: function() { return /* binding */ ROOT_STR; },
-/* harmony export */ SET_DATA: function() { return /* binding */ SET_DATA; },
-/* harmony export */ SET_TIMEOUT: function() { return /* binding */ SET_TIMEOUT; },
-/* harmony export */ STATIC_VIEW: function() { return /* binding */ STATIC_VIEW; },
-/* harmony export */ STYLE: function() { return /* binding */ STYLE; },
-/* harmony export */ SVGElement: function() { return /* binding */ SVGElement; },
-/* harmony export */ Style: function() { return /* binding */ Style; },
-/* harmony export */ TARGET: function() { return /* binding */ TARGET; },
-/* harmony export */ TARO_RUNTIME: function() { return /* binding */ TARO_RUNTIME; },
-/* harmony export */ TIME_STAMP: function() { return /* binding */ TIME_STAMP; },
-/* harmony export */ TOUCHMOVE: function() { return /* binding */ TOUCHMOVE; },
-/* harmony export */ TYPE: function() { return /* binding */ TYPE; },
-/* harmony export */ TaroElement: function() { return /* binding */ TaroElement; },
-/* harmony export */ TaroEvent: function() { return /* binding */ TaroEvent; },
-/* harmony export */ TaroNode: function() { return /* binding */ TaroNode; },
-/* harmony export */ TaroRootElement: function() { return /* binding */ TaroRootElement; },
-/* harmony export */ TaroText: function() { return /* binding */ TaroText; },
-/* harmony export */ TaroURLProvider: function() { return /* binding */ TaroURLProvider; },
-/* harmony export */ UID: function() { return /* binding */ UID; },
-/* harmony export */ URLSearchParams: function() { return /* binding */ URLSearchParams; },
-/* harmony export */ VALUE: function() { return /* binding */ VALUE; },
-/* harmony export */ VIEW: function() { return /* binding */ VIEW; },
-/* harmony export */ _caf: function() { return /* binding */ _caf; },
-/* harmony export */ _raf: function() { return /* binding */ _raf; },
-/* harmony export */ addLeadingSlash: function() { return /* binding */ addLeadingSlash; },
-/* harmony export */ convertNumber2PX: function() { return /* binding */ convertNumber2PX; },
-/* harmony export */ createComponentConfig: function() { return /* binding */ createComponentConfig; },
-/* harmony export */ createEvent: function() { return /* binding */ createEvent; },
-/* harmony export */ createPageConfig: function() { return /* binding */ createPageConfig; },
-/* harmony export */ createRecursiveComponentConfig: function() { return /* binding */ createRecursiveComponentConfig; },
-/* harmony export */ customWrapperCache: function() { return /* binding */ customWrapperCache; },
-/* harmony export */ debounce: function() { return /* binding */ debounce; },
-/* harmony export */ dist_exports: function() { return /* binding */ dist_exports; },
-/* harmony export */ env: function() { return /* binding */ env; },
-/* harmony export */ eventCenter: function() { return /* binding */ eventCenter; },
-/* harmony export */ eventHandler: function() { return /* binding */ eventHandler; },
-/* harmony export */ eventSource: function() { return /* binding */ eventSource; },
-/* harmony export */ extend: function() { return /* binding */ extend; },
-/* harmony export */ getComponentsAlias: function() { return /* binding */ getComponentsAlias2; },
-/* harmony export */ getCurrentInstance: function() { return /* binding */ getCurrentInstance; },
-/* harmony export */ getCurrentPage: function() { return /* binding */ getCurrentPage; },
-/* harmony export */ getHomePage: function() { return /* binding */ getHomePage; },
-/* harmony export */ getOnHideEventKey: function() { return /* binding */ getOnHideEventKey; },
-/* harmony export */ getOnReadyEventKey: function() { return /* binding */ getOnReadyEventKey; },
-/* harmony export */ getOnShowEventKey: function() { return /* binding */ getOnShowEventKey; },
-/* harmony export */ getPageInstance: function() { return /* binding */ getPageInstance; },
-/* harmony export */ getPath: function() { return /* binding */ getPath; },
-/* harmony export */ handlePolyfill: function() { return /* binding */ handlePolyfill; },
-/* harmony export */ hasBasename: function() { return /* binding */ hasBasename; },
-/* harmony export */ hydrate: function() { return /* binding */ hydrate; },
-/* harmony export */ incrementId: function() { return /* binding */ incrementId; },
-/* harmony export */ init_dist: function() { return /* binding */ init_dist2; },
-/* harmony export */ injectPageInstance: function() { return /* binding */ injectPageInstance; },
-/* harmony export */ isComment: function() { return /* binding */ isComment; },
-/* harmony export */ isElement: function() { return /* binding */ isElement; },
-/* harmony export */ isHasExtractProp: function() { return /* binding */ isHasExtractProp; },
-/* harmony export */ isParentBinded: function() { return /* binding */ isParentBinded; },
-/* harmony export */ isText: function() { return /* binding */ isText; },
-/* harmony export */ nav: function() { return /* binding */ nav; },
-/* harmony export */ nextTick: function() { return /* binding */ nextTick; },
-/* harmony export */ now: function() { return /* binding */ now; },
-/* harmony export */ options: function() { return /* binding */ options; },
-/* harmony export */ parseUrl: function() { return /* binding */ parseUrl; },
-/* harmony export */ perf: function() { return /* binding */ perf; },
-/* harmony export */ removePageInstance: function() { return /* binding */ removePageInstance; },
-/* harmony export */ safeExecute: function() { return /* binding */ safeExecute; },
-/* harmony export */ shortcutAttr: function() { return /* binding */ shortcutAttr; },
-/* harmony export */ stringify: function() { return /* binding */ stringify; },
-/* harmony export */ stripBasename: function() { return /* binding */ stripBasename; },
-/* harmony export */ stripSuffix: function() { return /* binding */ stripSuffix; },
-/* harmony export */ stripTrailing: function() { return /* binding */ stripTrailing; },
-/* harmony export */ taroDocumentProvider: function() { return /* binding */ taroDocumentProvider; },
-/* harmony export */ taroGetComputedStyleProvider: function() { return /* binding */ taroGetComputedStyleProvider; },
-/* harmony export */ taroHistoryProvider: function() { return /* binding */ taroHistoryProvider; },
-/* harmony export */ taroLocationProvider: function() { return /* binding */ taroLocationProvider; },
-/* harmony export */ taroWindowProvider: function() { return /* binding */ taroWindowProvider; },
-/* harmony export */ throttle: function() { return /* binding */ throttle; }
-/* harmony export */ });
-/* 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+runtime@4.0.8/node_modules/@tarojs/runtime/dist/constants/index.js
-var PROPERTY_THRESHOLD, TARO_RUNTIME, HOOKS_APP_ID, SET_DATA, PAGE_INIT, ROOT_STR, HTML, HEAD, BODY, APP, CONTAINER, DOCUMENT_ELEMENT_NAME, DOCUMENT_FRAGMENT, ID, UID, CLASS, STYLE, FOCUS, VIEW, STATIC_VIEW, PURE_VIEW, CLICK_VIEW, PROPS, DATASET, OBJECT, VALUE, INPUT, CHANGE, CUSTOM_WRAPPER, TARGET, CURRENT_TARGET, TYPE, CONFIRM, TIME_STAMP, KEY_CODE, TOUCHMOVE, DATE, SET_TIMEOUT, COMPILE_MODE, CATCHMOVE, CATCH_VIEW, COMMENT, ON_LOAD, ON_READY, ON_SHOW, ON_HIDE, OPTIONS, EXTERNAL_CLASSES, EVENT_CALLBACK_RESULT, BEHAVIORS, A, CONTEXT_ACTIONS;
-var init_constants = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_1__.__esm)({
- "node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/constants/index.js" () {
- PROPERTY_THRESHOLD = 2046;
- TARO_RUNTIME = "Taro runtime";
- HOOKS_APP_ID = "taro-app";
- SET_DATA = "\u5C0F\u7A0B\u5E8F setData";
- PAGE_INIT = "\u9875\u9762\u521D\u59CB\u5316";
- ROOT_STR = "root";
- HTML = "html";
- HEAD = "head";
- BODY = "body";
- APP = "app";
- CONTAINER = "container";
- DOCUMENT_ELEMENT_NAME = "#document";
- DOCUMENT_FRAGMENT = "document-fragment";
- ID = "id";
- UID = "uid";
- CLASS = "class";
- STYLE = "style";
- FOCUS = "focus";
- VIEW = "view";
- STATIC_VIEW = "static-view";
- PURE_VIEW = "pure-view";
- CLICK_VIEW = "click-view";
- PROPS = "props";
- DATASET = "dataset";
- OBJECT = "object";
- VALUE = "value";
- INPUT = "input";
- CHANGE = "change";
- CUSTOM_WRAPPER = "custom-wrapper";
- TARGET = "target";
- CURRENT_TARGET = "currentTarget";
- TYPE = "type";
- CONFIRM = "confirm";
- TIME_STAMP = "timeStamp";
- KEY_CODE = "keyCode";
- TOUCHMOVE = "touchmove";
- DATE = "Date";
- SET_TIMEOUT = "setTimeout";
- COMPILE_MODE = "compileMode";
- CATCHMOVE = "catchMove";
- CATCH_VIEW = "catch-view";
- COMMENT = "comment";
- ON_LOAD = "onLoad";
- ON_READY = "onReady";
- ON_SHOW = "onShow";
- ON_HIDE = "onHide";
- OPTIONS = "options";
- EXTERNAL_CLASSES = "externalClasses";
- EVENT_CALLBACK_RESULT = "e_result";
- BEHAVIORS = "behaviors";
- A = "a";
- (function(CONTEXT_ACTIONS2) {
- CONTEXT_ACTIONS2["INIT"] = "0";
- CONTEXT_ACTIONS2["RESTORE"] = "1";
- CONTEXT_ACTIONS2["RECOVER"] = "2";
- CONTEXT_ACTIONS2["DESTORY"] = "3";
- })(CONTEXT_ACTIONS || (CONTEXT_ACTIONS = {}));
- }
-});
-// node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/dom-external/mutation-observer/implements.js
-function logMutation(observer, record) {
- observer.records.push(record);
- if (!pendingMuatations) {
- pendingMuatations = true;
- Promise.resolve().then(()=>{
- pendingMuatations = false;
- observers.forEach((observer2)=>{
- return observer2.callback(observer2.takeRecords());
- });
- });
- }
-}
-function recordMutation(record) {
- observers.forEach((observer)=>{
- const { options: options2 } = observer;
- for(let t = record.target; t; t = t.parentNode){
- if (sidMatches(observer.target, t) && isConcerned(record, options2)) {
- logMutation(observer, record);
- break;
- }
- if (!options2.subtree) break;
- }
- });
-}
-var observers, MutationObserverImpl, sidMatches, isConcerned, pendingMuatations;
-var init_implements = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_1__.__esm)({
- "node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/dom-external/mutation-observer/implements.js" () {
- observers = [];
- MutationObserverImpl = class {
- /**
- * Configures the MutationObserver
- * to begin receiving notifications
- * through its callback function
- * when DOM changes matching the given options occur.
- *
- * Options matching is to be implemented.
- */ observe(target, options2) {
- this.disconnect();
- this.target = target;
- this.options = options2 || {};
- observers.push(this);
- }
- /**
- * Stop the MutationObserver instance
- * from receiving further notifications
- * until and unless observe() is called again.
- */ disconnect() {
- this.target = null;
- const index = observers.indexOf(this);
- if (index >= 0) {
- observers.splice(index, 1);
- }
- }
- /**
- * Removes all pending notifications
- * from the MutationObserver's notification queue
- * and returns them in a new Array of MutationRecord objects.
- */ takeRecords() {
- return this.records.splice(0, this.records.length);
- }
- constructor(callback){
- this.records = [];
- this.callback = callback;
- }
- };
- sidMatches = (observerTarget, target)=>{
- return !!observerTarget && observerTarget.sid === (target === null || target === void 0 ? void 0 : target.sid);
- };
- isConcerned = (record, options2)=>{
- const { characterData, characterDataOldValue, attributes, attributeOldValue, childList } = options2;
- switch(record.type){
- case "characterData":
- if (characterData) {
- if (!characterDataOldValue) record.oldValue = null;
- return true;
- }
- return false;
- case "attributes":
- if (attributes) {
- if (!attributeOldValue) record.oldValue = null;
- return true;
- }
- return false;
- case "childList":
- if (childList) {
- return true;
- }
- return false;
- }
- };
- pendingMuatations = false;
- }
-});
-// node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/dom-external/mutation-observer/index.js
-var MutationObserver2;
-var init_mutation_observer = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_1__.__esm)({
- "node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/dom-external/mutation-observer/index.js" () {
- (0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.init_dist)();
- init_implements();
- MutationObserver2 = class {
- observe(...args) {
- this.core.observe(...args);
- }
- disconnect() {
- this.core.disconnect();
- }
- takeRecords() {
- return this.core.takeRecords();
- }
- static record(record) {
- recordMutation(record);
- }
- constructor(callback){
- if (false) {} else {
- if (true) {
- console.warn("[Taro Warning] \u82E5\u8981\u4F7F\u7528 MutationObserver\uFF0C\u8BF7\u5728 Taro \u7F16\u8BD1\u914D\u7F6E\u4E2D\u8BBE\u7F6E 'mini.runtime.enableMutationObserver: true'");
- }
- this.core = {
- observe: _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.noop,
- disconnect: _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.noop,
- takeRecords: _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.noop
- };
- }
- }
- };
- }
-});
-// node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/emitter/emitter.js
-var eventCenter;
-var init_emitter = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_1__.__esm)({
- "node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/emitter/emitter.js" () {
- (0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.init_dist)();
- (0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.init_dist)();
- eventCenter = _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.hooks.call("getEventCenter", _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.Events);
- }
-});
-// node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/env.js
-var env;
-var init_env = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_1__.__esm)({
- "node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/env.js" () {
- (0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.init_dist)();
- env = {
- window: false ? 0 : _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.EMPTY_OBJ,
- document: false ? 0 : _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.EMPTY_OBJ
- };
- }
-});
-// node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/bom/getComputedStyle.js
-var taroGetComputedStyleProvider;
-var init_getComputedStyle = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_1__.__esm)({
- "node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/bom/getComputedStyle.js" () {
- init_env();
- taroGetComputedStyleProvider = false ? 0 : function(element) {
- return element.style;
- };
- }
-});
-// node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.mjs
-function __classPrivateFieldGet(receiver, state, kind, f) {
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
- return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
-}
-function __classPrivateFieldSet(receiver, state, value, kind, f) {
- if (kind === "m") throw new TypeError("Private method is not writable");
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
- return kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value), value;
-}
-var init_tslib_es6 = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_1__.__esm)({
- "node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.mjs" () {}
-});
-// node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/utils/cache.js
-var RuntimeCache;
-var init_cache = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_1__.__esm)({
- "node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/utils/cache.js" () {
- RuntimeCache = class {
- has(identifier) {
- return this.cache.has(identifier);
- }
- set(identifier, ctx) {
- if (identifier && ctx) {
- this.cache.set(identifier, ctx);
- }
- }
- get(identifier) {
- if (this.has(identifier)) return this.cache.get(identifier);
- }
- delete(identifier) {
- this.cache.delete(identifier);
- }
- constructor(name){
- this.cache = /* @__PURE__ */ new Map();
- this.name = name;
- }
- };
- }
-});
-// node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/bom/history.js
-var _TaroHistory_instances, _TaroHistory_location, _TaroHistory_stack, _TaroHistory_cur, _TaroHistory_window, _TaroHistory_reset, cache, TaroHistory, History;
-var init_history = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_1__.__esm)({
- "node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/bom/history.js" () {
- init_tslib_es6();
- (0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.init_dist)();
- init_constants();
- init_emitter();
- init_env();
- init_cache();
- cache = new RuntimeCache("history");
- TaroHistory = class extends _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.Events {
- /* public property */ get length() {
- return __classPrivateFieldGet(this, _TaroHistory_stack, "f").length;
- }
- get state() {
- return __classPrivateFieldGet(this, _TaroHistory_stack, "f")[__classPrivateFieldGet(this, _TaroHistory_cur, "f")].state;
- }
- /* public method */ go(delta) {
- if (!(0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.isNumber)(delta) || isNaN(delta)) return;
- let targetIdx = __classPrivateFieldGet(this, _TaroHistory_cur, "f") + delta;
- targetIdx = Math.min(Math.max(targetIdx, 0), this.length - 1);
- __classPrivateFieldSet(this, _TaroHistory_cur, targetIdx, "f");
- __classPrivateFieldGet(this, _TaroHistory_location, "f").trigger("__set_href_without_history__", __classPrivateFieldGet(this, _TaroHistory_stack, "f")[__classPrivateFieldGet(this, _TaroHistory_cur, "f")].url);
- __classPrivateFieldGet(this, _TaroHistory_window, "f").trigger("popstate", __classPrivateFieldGet(this, _TaroHistory_stack, "f")[__classPrivateFieldGet(this, _TaroHistory_cur, "f")]);
- }
- back() {
- this.go(-1);
- }
- forward() {
- this.go(1);
- }
- pushState(state, title, url) {
- if (!url || !(0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.isString)(url)) return;
- __classPrivateFieldSet(this, _TaroHistory_stack, __classPrivateFieldGet(this, _TaroHistory_stack, "f").slice(0, __classPrivateFieldGet(this, _TaroHistory_cur, "f") + 1), "f");
- __classPrivateFieldGet(this, _TaroHistory_stack, "f").push({
- state,
- title,
- url
- });
- __classPrivateFieldSet(this, _TaroHistory_cur, this.length - 1, "f");
- __classPrivateFieldGet(this, _TaroHistory_location, "f").trigger("__set_href_without_history__", url);
- }
- replaceState(state, title, url) {
- if (!url || !(0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.isString)(url)) return;
- __classPrivateFieldGet(this, _TaroHistory_stack, "f")[__classPrivateFieldGet(this, _TaroHistory_cur, "f")] = {
- state,
- title,
- url
- };
- __classPrivateFieldGet(this, _TaroHistory_location, "f").trigger("__set_href_without_history__", url);
- }
- // For debug
- get cache() {
- return cache;
- }
- constructor(location, options2){
- super();
- _TaroHistory_instances.add(this);
- _TaroHistory_location.set(this, void 0);
- _TaroHistory_stack.set(this, []);
- _TaroHistory_cur.set(this, 0);
- _TaroHistory_window.set(this, void 0);
- __classPrivateFieldSet(this, _TaroHistory_window, options2.window, "f");
- __classPrivateFieldSet(this, _TaroHistory_location, location, "f");
- __classPrivateFieldGet(this, _TaroHistory_location, "f").on("__record_history__", (href)=>{
- var _a2;
- __classPrivateFieldSet(this, _TaroHistory_cur, (_a2 = __classPrivateFieldGet(this, _TaroHistory_cur, "f"), _a2++, _a2), "f");
- __classPrivateFieldSet(this, _TaroHistory_stack, __classPrivateFieldGet(this, _TaroHistory_stack, "f").slice(0, __classPrivateFieldGet(this, _TaroHistory_cur, "f")), "f");
- __classPrivateFieldGet(this, _TaroHistory_stack, "f").push({
- state: null,
- title: "",
- url: href
- });
- }, null);
- __classPrivateFieldGet(this, _TaroHistory_location, "f").on("__reset_history__", (href)=>{
- __classPrivateFieldGet(this, _TaroHistory_instances, "m", _TaroHistory_reset).call(this, href);
- }, null);
- this.on(CONTEXT_ACTIONS.INIT, ()=>{
- __classPrivateFieldGet(this, _TaroHistory_instances, "m", _TaroHistory_reset).call(this);
- }, null);
- this.on(CONTEXT_ACTIONS.RESTORE, (pageId2)=>{
- cache.set(pageId2, {
- location: __classPrivateFieldGet(this, _TaroHistory_location, "f"),
- stack: __classPrivateFieldGet(this, _TaroHistory_stack, "f").slice(),
- cur: __classPrivateFieldGet(this, _TaroHistory_cur, "f")
- });
- }, null);
- this.on(CONTEXT_ACTIONS.RECOVER, (pageId2)=>{
- if (cache.has(pageId2)) {
- const ctx = cache.get(pageId2);
- __classPrivateFieldSet(this, _TaroHistory_location, ctx.location, "f");
- __classPrivateFieldSet(this, _TaroHistory_stack, ctx.stack, "f");
- __classPrivateFieldSet(this, _TaroHistory_cur, ctx.cur, "f");
- }
- }, null);
- this.on(CONTEXT_ACTIONS.DESTORY, (pageId2)=>{
- cache.delete(pageId2);
- }, null);
- __classPrivateFieldGet(this, _TaroHistory_instances, "m", _TaroHistory_reset).call(this);
- }
- };
- _TaroHistory_location = /* @__PURE__ */ new WeakMap(), _TaroHistory_stack = /* @__PURE__ */ new WeakMap(), _TaroHistory_cur = /* @__PURE__ */ new WeakMap(), _TaroHistory_window = /* @__PURE__ */ new WeakMap(), _TaroHistory_instances = /* @__PURE__ */ new WeakSet(), _TaroHistory_reset = function _TaroHistory_reset2(href = "") {
- __classPrivateFieldSet(this, _TaroHistory_stack, [
- {
- state: null,
- title: "",
- url: href || __classPrivateFieldGet(this, _TaroHistory_location, "f").href
- }
- ], "f");
- __classPrivateFieldSet(this, _TaroHistory_cur, 0, "f");
- };
- History = false ? 0 : TaroHistory;
- }
-});
-// node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/current.js
-var Current, getCurrentInstance;
-var init_current = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_1__.__esm)({
- "node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/current.js" () {
- Current = {
- app: null,
- router: null,
- page: null
- };
- getCurrentInstance = ()=>Current;
- }
-});
-// node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/bom/URLSearchParams.js
-function replacer(match) {
- return replaceCharMap[match];
-}
-function appendTo(dict, name, value) {
- const res = (0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.isArray)(value) ? value.join(",") : value;
- if (name in dict) dict[name].push(res);
- else dict[name] = [
- res
- ];
-}
-function addEach(value, key) {
- appendTo(this, key, value);
-}
-function decode(str) {
- return decodeURIComponent(str.replace(plusReg, " "));
-}
-function encode(str) {
- return encodeURIComponent(str).replace(findReg, replacer);
-}
-var _dict, _a, findReg, plusReg, replaceCharMap, URLSearchParams;
-var init_URLSearchParams = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_1__.__esm)({
- "node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/bom/URLSearchParams.js" () {
- init_tslib_es6();
- (0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.init_dist)();
- init_env();
- findReg = /[!'()~]|%20|%00/g;
- plusReg = /\+/g;
- replaceCharMap = {
- "!": "%21",
- "'": "%27",
- "(": "%28",
- ")": "%29",
- "~": "%7E",
- "%20": "+",
- "%00": "\0"
- };
- URLSearchParams = false ? 0 : (_a = class {
- append(name, value) {
- appendTo(__classPrivateFieldGet(this, _dict, "f"), name, value);
- }
- delete(name) {
- delete __classPrivateFieldGet(this, _dict, "f")[name];
- }
- get(name) {
- const dict = __classPrivateFieldGet(this, _dict, "f");
- return name in dict ? dict[name][0] : null;
- }
- getAll(name) {
- const dict = __classPrivateFieldGet(this, _dict, "f");
- return name in dict ? dict[name].slice(0) : [];
- }
- has(name) {
- return name in __classPrivateFieldGet(this, _dict, "f");
- }
- keys() {
- return Object.keys(__classPrivateFieldGet(this, _dict, "f"));
- }
- set(name, value) {
- __classPrivateFieldGet(this, _dict, "f")[name] = [
- "" + value
- ];
- }
- forEach(callback, thisArg) {
- const dict = __classPrivateFieldGet(this, _dict, "f");
- Object.getOwnPropertyNames(dict).forEach(function(name) {
- dict[name].forEach(function(value) {
- callback.call(thisArg, value, name, this);
- }, this);
- }, this);
- }
- toJSON() {
- return {};
- }
- toString() {
- const dict = __classPrivateFieldGet(this, _dict, "f");
- const query = [];
- for(const key in dict){
- const name = encode(key);
- for(let i = 0, value = dict[key]; i < value.length; i++){
- query.push(name + "=" + encode(value[i]));
- }
- }
- return query.join("&");
- }
- constructor(query){
- _dict.set(this, /* @__PURE__ */ Object.create(null));
- query !== null && query !== void 0 ? query : query = "";
- const dict = __classPrivateFieldGet(this, _dict, "f");
- if (typeof query === "string") {
- if (query.charAt(0) === "?") {
- query = query.slice(1);
- }
- for(let pairs = query.split("&"), i = 0, length = pairs.length; i < length; i++){
- const value = pairs[i];
- const index = value.indexOf("=");
- try {
- if (index > -1) {
- appendTo(dict, decode(value.slice(0, index)), decode(value.slice(index + 1)));
- } else if (value.length) {
- appendTo(dict, decode(value), "");
- }
- } catch (err) {
- if (true) {
- console.warn(`[Taro warn] URL \u53C2\u6570 ${value} decode \u5F02\u5E38`);
- }
- }
- }
- } else {
- if ((0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.isArray)(query)) {
- for(let i = 0, length = query.length; i < length; i++){
- const value = query[i];
- appendTo(dict, value[0], value[1]);
- }
- } else if (query.forEach) {
- query.forEach(addEach, dict);
- } else {
- for(const key in query){
- appendTo(dict, key, query[key]);
- }
- }
- }
- }
- }, _dict = /* @__PURE__ */ new WeakMap(), _a);
- }
-});
-// node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/bom/URL.js
-function parseUrl(url = "") {
- const result = {
- href: "",
- origin: "",
- protocol: "",
- hostname: "",
- host: "",
- port: "",
- pathname: "",
- search: "",
- hash: ""
- };
- if (!url || !(0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.isString)(url)) return result;
- url = url.trim();
- const PATTERN = /^(([^:/?#]+):)?\/\/(([^/?#]+):(.+)@)?([^/?#:]*)(:(\d+))?([^?#]*)(\?([^#]*))?(#(.*))?/;
- const matches = url.match(PATTERN);
- if (!matches) return result;
- result.protocol = matches[1] || "https:";
- result.hostname = matches[6] || "taro.com";
- result.port = matches[8] || "";
- result.pathname = matches[9] || "/";
- result.search = matches[10] || "";
- result.hash = matches[12] || "";
- result.href = url;
- result.origin = result.protocol + "//" + result.hostname;
- result.host = result.hostname + (result.port ? `:${result.port}` : "");
- return result;
-}
-function parseUrlBase(url, base) {
- const VALID_URL = /^(https?:)\/\//i;
- let fullUrl = "";
- let parsedBase = null;
- if (!(0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.isUndefined)(base)) {
- base = String(base).trim();
- if (!VALID_URL.test(base)) throw new TypeError(`Failed to construct 'URL': Invalid base URL`);
- parsedBase = parseUrl(base);
- }
- url = String(url).trim();
- if (VALID_URL.test(url)) {
- fullUrl = url;
- } else if (parsedBase) {
- if (url) {
- if (url.startsWith("//")) {
- fullUrl = parsedBase.protocol + url;
- } else {
- fullUrl = parsedBase.origin + (url.startsWith("/") ? url : `/${url}`);
- }
- } else {
- fullUrl = parsedBase.href;
- }
- } else {
- throw new TypeError(`Failed to construct 'URL': Invalid URL`);
- }
- return parseUrl(fullUrl);
-}
-var _TaroURL_hash, _TaroURL_hostname, _TaroURL_pathname, _TaroURL_port, _TaroURL_protocol, _TaroURL_search, TaroURL, TaroURLProvider;
-var init_URL = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_1__.__esm)({
- "node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/bom/URL.js" () {
- init_tslib_es6();
- (0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.init_dist)();
- init_env();
- init_URLSearchParams();
- TaroURL = class {
- static createObjectURL() {
- throw new Error("Oops, not support URL.createObjectURL() in miniprogram.");
- }
- static revokeObjectURL() {
- throw new Error("Oops, not support URL.revokeObjectURL() in miniprogram.");
- }
- /* public property */ get protocol() {
- return __classPrivateFieldGet(this, _TaroURL_protocol, "f");
- }
- set protocol(val) {
- (0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.isString)(val) && __classPrivateFieldSet(this, _TaroURL_protocol, val.trim(), "f");
- }
- get host() {
- return this.hostname + (this.port ? ":" + this.port : "");
- }
- set host(val) {
- if (val && (0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.isString)(val)) {
- val = val.trim();
- const { hostname, port } = parseUrl(`//${val}`);
- this.hostname = hostname;
- this.port = port;
- }
- }
- get hostname() {
- return __classPrivateFieldGet(this, _TaroURL_hostname, "f");
- }
- set hostname(val) {
- val && (0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.isString)(val) && __classPrivateFieldSet(this, _TaroURL_hostname, val.trim(), "f");
- }
- get port() {
- return __classPrivateFieldGet(this, _TaroURL_port, "f");
- }
- set port(val) {
- (0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.isString)(val) && __classPrivateFieldSet(this, _TaroURL_port, val.trim(), "f");
- }
- get pathname() {
- return __classPrivateFieldGet(this, _TaroURL_pathname, "f");
- }
- set pathname(val) {
- if ((0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.isString)(val)) {
- val = val.trim();
- const HEAD_REG = /^(\/|\.\/|\.\.\/)/;
- let temp = val;
- while(HEAD_REG.test(temp)){
- temp = temp.replace(HEAD_REG, "");
- }
- if (temp) __classPrivateFieldSet(this, _TaroURL_pathname, "/" + temp, "f");
- else __classPrivateFieldSet(this, _TaroURL_pathname, "/", "f");
- }
- }
- get search() {
- const val = __classPrivateFieldGet(this, _TaroURL_search, "f").toString();
- return val.length === 0 || val.startsWith("?") ? val : `?${val}`;
- }
- set search(val) {
- if ((0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.isString)(val)) {
- val = val.trim();
- __classPrivateFieldSet(this, _TaroURL_search, new URLSearchParams(val), "f");
- }
- }
- get hash() {
- return __classPrivateFieldGet(this, _TaroURL_hash, "f");
- }
- set hash(val) {
- if ((0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.isString)(val)) {
- val = val.trim();
- if (val) __classPrivateFieldSet(this, _TaroURL_hash, val.startsWith("#") ? val : `#${val}`, "f");
- else __classPrivateFieldSet(this, _TaroURL_hash, "", "f");
- }
- }
- get href() {
- return `${this.protocol}//${this.host}${this.pathname}${this.search}${this.hash}`;
- }
- set href(val) {
- if (val && (0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.isString)(val)) {
- val = val.trim();
- const { protocol, hostname, port, hash, search, pathname } = parseUrl(val);
- this.protocol = protocol;
- this.hostname = hostname;
- this.pathname = pathname;
- this.port = port;
- this.hash = hash;
- this.search = search;
- }
- }
- get origin() {
- return `${this.protocol}//${this.host}`;
- }
- set origin(val) {
- if (val && (0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.isString)(val)) {
- val = val.trim();
- const { protocol, hostname, port } = parseUrl(val);
- this.protocol = protocol;
- this.hostname = hostname;
- this.port = port;
- }
- }
- get searchParams() {
- return __classPrivateFieldGet(this, _TaroURL_search, "f");
- }
- // public method
- toString() {
- return this.href;
- }
- toJSON() {
- return this.toString();
- }
- // convenient for deconstructor
- _toRaw() {
- return {
- protocol: this.protocol,
- port: this.port,
- host: this.host,
- hostname: this.hostname,
- pathname: this.pathname,
- hash: this.hash,
- search: this.search,
- origin: this.origin,
- href: this.href
- };
- }
- constructor(url, base){
- _TaroURL_hash.set(this, "");
- _TaroURL_hostname.set(this, "");
- _TaroURL_pathname.set(this, "");
- _TaroURL_port.set(this, "");
- _TaroURL_protocol.set(this, "");
- _TaroURL_search.set(this, void 0);
- if (!(0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.isString)(url)) url = String(url);
- const parseResult = parseUrlBase(url, base);
- const { hash, hostname, pathname, port, protocol, search } = parseResult;
- __classPrivateFieldSet(this, _TaroURL_hash, hash, "f");
- __classPrivateFieldSet(this, _TaroURL_hostname, hostname, "f");
- __classPrivateFieldSet(this, _TaroURL_pathname, pathname || "/", "f");
- __classPrivateFieldSet(this, _TaroURL_port, port, "f");
- __classPrivateFieldSet(this, _TaroURL_protocol, protocol, "f");
- __classPrivateFieldSet(this, _TaroURL_search, new URLSearchParams(search), "f");
- }
- };
- _TaroURL_hash = /* @__PURE__ */ new WeakMap(), _TaroURL_hostname = /* @__PURE__ */ new WeakMap(), _TaroURL_pathname = /* @__PURE__ */ new WeakMap(), _TaroURL_port = /* @__PURE__ */ new WeakMap(), _TaroURL_protocol = /* @__PURE__ */ new WeakMap(), _TaroURL_search = /* @__PURE__ */ new WeakMap();
- TaroURLProvider = false ? 0 : TaroURL;
- }
-});
-// node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/bom/location.js
-function generateFullUrl(val = "") {
- const origin = INIT_URL;
- if (/^[/?#]/.test(val)) {
- return origin + val;
- }
- return val;
-}
-var _TaroLocation_instances, _TaroLocation_url, _TaroLocation_noCheckUrl, _TaroLocation_window, _TaroLocation_reset, _TaroLocation_getPreValue, _TaroLocation_rollBack, _TaroLocation_recordHistory, _TaroLocation_checkUrlChange, INIT_URL, cache2, TaroLocation, Location;
-var init_location = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_1__.__esm)({
- "node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/bom/location.js" () {
- init_tslib_es6();
- (0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.init_dist)();
- init_constants();
- init_current();
- init_emitter();
- init_env();
- init_cache();
- init_URL();
- INIT_URL = "https://taro.com";
- cache2 = new RuntimeCache("location");
- TaroLocation = class extends _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.Events {
- /* public property */ get protocol() {
- return __classPrivateFieldGet(this, _TaroLocation_url, "f").protocol;
- }
- set protocol(val) {
- const REG = /^(http|https):$/i;
- if (!val || !(0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.isString)(val) || !REG.test(val.trim())) return;
- val = val.trim();
- const preValue = __classPrivateFieldGet(this, _TaroLocation_instances, "m", _TaroLocation_getPreValue).call(this);
- __classPrivateFieldGet(this, _TaroLocation_url, "f").protocol = val;
- if (__classPrivateFieldGet(this, _TaroLocation_instances, "m", _TaroLocation_checkUrlChange).call(this, preValue)) __classPrivateFieldGet(this, _TaroLocation_instances, "m", _TaroLocation_recordHistory).call(this);
- }
- get host() {
- return __classPrivateFieldGet(this, _TaroLocation_url, "f").host;
- }
- set host(val) {
- if (!val || !(0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.isString)(val)) return;
- val = val.trim();
- const preValue = __classPrivateFieldGet(this, _TaroLocation_instances, "m", _TaroLocation_getPreValue).call(this);
- __classPrivateFieldGet(this, _TaroLocation_url, "f").host = val;
- if (__classPrivateFieldGet(this, _TaroLocation_instances, "m", _TaroLocation_checkUrlChange).call(this, preValue)) __classPrivateFieldGet(this, _TaroLocation_instances, "m", _TaroLocation_recordHistory).call(this);
- }
- get hostname() {
- return __classPrivateFieldGet(this, _TaroLocation_url, "f").hostname;
- }
- set hostname(val) {
- if (!val || !(0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.isString)(val)) return;
- val = val.trim();
- const preValue = __classPrivateFieldGet(this, _TaroLocation_instances, "m", _TaroLocation_getPreValue).call(this);
- __classPrivateFieldGet(this, _TaroLocation_url, "f").hostname = val;
- if (__classPrivateFieldGet(this, _TaroLocation_instances, "m", _TaroLocation_checkUrlChange).call(this, preValue)) __classPrivateFieldGet(this, _TaroLocation_instances, "m", _TaroLocation_recordHistory).call(this);
- }
- get port() {
- return __classPrivateFieldGet(this, _TaroLocation_url, "f").port;
- }
- set port(val) {
- const xVal = Number(val = val.trim());
- if (!(0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.isNumber)(xVal) || xVal <= 0) return;
- const preValue = __classPrivateFieldGet(this, _TaroLocation_instances, "m", _TaroLocation_getPreValue).call(this);
- __classPrivateFieldGet(this, _TaroLocation_url, "f").port = val;
- if (__classPrivateFieldGet(this, _TaroLocation_instances, "m", _TaroLocation_checkUrlChange).call(this, preValue)) __classPrivateFieldGet(this, _TaroLocation_instances, "m", _TaroLocation_recordHistory).call(this);
- }
- get pathname() {
- return __classPrivateFieldGet(this, _TaroLocation_url, "f").pathname;
- }
- set pathname(val) {
- if (!val || !(0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.isString)(val)) return;
- val = val.trim();
- const preValue = __classPrivateFieldGet(this, _TaroLocation_instances, "m", _TaroLocation_getPreValue).call(this);
- __classPrivateFieldGet(this, _TaroLocation_url, "f").pathname = val;
- if (__classPrivateFieldGet(this, _TaroLocation_instances, "m", _TaroLocation_checkUrlChange).call(this, preValue)) __classPrivateFieldGet(this, _TaroLocation_instances, "m", _TaroLocation_recordHistory).call(this);
- }
- get search() {
- return __classPrivateFieldGet(this, _TaroLocation_url, "f").search;
- }
- set search(val) {
- if (!val || !(0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.isString)(val)) return;
- val = val.trim();
- val = val.startsWith("?") ? val : `?${val}`;
- const preValue = __classPrivateFieldGet(this, _TaroLocation_instances, "m", _TaroLocation_getPreValue).call(this);
- __classPrivateFieldGet(this, _TaroLocation_url, "f").search = val;
- if (__classPrivateFieldGet(this, _TaroLocation_instances, "m", _TaroLocation_checkUrlChange).call(this, preValue)) __classPrivateFieldGet(this, _TaroLocation_instances, "m", _TaroLocation_recordHistory).call(this);
- }
- get hash() {
- return __classPrivateFieldGet(this, _TaroLocation_url, "f").hash;
- }
- // 小程序的navigateTo存在截断hash字符串的问题
- set hash(val) {
- if (!val || !(0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.isString)(val)) return;
- val = val.trim();
- val = val.startsWith("#") ? val : `#${val}`;
- const preValue = __classPrivateFieldGet(this, _TaroLocation_instances, "m", _TaroLocation_getPreValue).call(this);
- __classPrivateFieldGet(this, _TaroLocation_url, "f").hash = val;
- if (__classPrivateFieldGet(this, _TaroLocation_instances, "m", _TaroLocation_checkUrlChange).call(this, preValue)) __classPrivateFieldGet(this, _TaroLocation_instances, "m", _TaroLocation_recordHistory).call(this);
- }
- get href() {
- return __classPrivateFieldGet(this, _TaroLocation_url, "f").href;
- }
- set href(val) {
- const REG = /^(http:|https:)?\/\/.+/;
- if (!val || !(0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.isString)(val) || !REG.test(val = val.trim())) return;
- const preValue = __classPrivateFieldGet(this, _TaroLocation_instances, "m", _TaroLocation_getPreValue).call(this);
- __classPrivateFieldGet(this, _TaroLocation_url, "f").href = val;
- if (__classPrivateFieldGet(this, _TaroLocation_instances, "m", _TaroLocation_checkUrlChange).call(this, preValue)) __classPrivateFieldGet(this, _TaroLocation_instances, "m", _TaroLocation_recordHistory).call(this);
- }
- get origin() {
- return __classPrivateFieldGet(this, _TaroLocation_url, "f").origin;
- }
- set origin(val) {
- const REG = /^(http:|https:)?\/\/.+/;
- if (!val || !(0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.isString)(val) || !REG.test(val = val.trim())) return;
- const preValue = __classPrivateFieldGet(this, _TaroLocation_instances, "m", _TaroLocation_getPreValue).call(this);
- __classPrivateFieldGet(this, _TaroLocation_url, "f").origin = val;
- if (__classPrivateFieldGet(this, _TaroLocation_instances, "m", _TaroLocation_checkUrlChange).call(this, preValue)) __classPrivateFieldGet(this, _TaroLocation_instances, "m", _TaroLocation_recordHistory).call(this);
- }
- /* public method */ assign() {
- (0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.warn)(true, "\u5C0F\u7A0B\u5E8F\u73AF\u5883\u4E2D\u8C03\u7528location.assign()\u65E0\u6548.");
- }
- reload() {
- (0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.warn)(true, "\u5C0F\u7A0B\u5E8F\u73AF\u5883\u4E2D\u8C03\u7528location.reload()\u65E0\u6548.");
- }
- replace(url) {
- this.trigger("__set_href_without_history__", url);
- }
- toString() {
- return this.href;
- }
- // For debug
- get cache() {
- return cache2;
- }
- constructor(options2){
- super();
- _TaroLocation_instances.add(this);
- _TaroLocation_url.set(this, new TaroURLProvider(INIT_URL));
- _TaroLocation_noCheckUrl.set(this, false);
- _TaroLocation_window.set(this, void 0);
- __classPrivateFieldSet(this, _TaroLocation_window, options2.window, "f");
- __classPrivateFieldGet(this, _TaroLocation_instances, "m", _TaroLocation_reset).call(this);
- this.on("__set_href_without_history__", (href)=>{
- __classPrivateFieldSet(this, _TaroLocation_noCheckUrl, true, "f");
- const lastHash = __classPrivateFieldGet(this, _TaroLocation_url, "f").hash;
- __classPrivateFieldGet(this, _TaroLocation_url, "f").href = generateFullUrl(href);
- if (lastHash !== __classPrivateFieldGet(this, _TaroLocation_url, "f").hash) {
- __classPrivateFieldGet(this, _TaroLocation_window, "f").trigger("hashchange");
- }
- __classPrivateFieldSet(this, _TaroLocation_noCheckUrl, false, "f");
- }, null);
- this.on(CONTEXT_ACTIONS.INIT, ()=>{
- __classPrivateFieldGet(this, _TaroLocation_instances, "m", _TaroLocation_reset).call(this);
- }, null);
- this.on(CONTEXT_ACTIONS.RESTORE, (pageId2)=>{
- cache2.set(pageId2, {
- lastHref: this.href
- });
- }, null);
- this.on(CONTEXT_ACTIONS.RECOVER, (pageId2)=>{
- if (cache2.has(pageId2)) {
- const ctx = cache2.get(pageId2);
- __classPrivateFieldSet(this, _TaroLocation_noCheckUrl, true, "f");
- __classPrivateFieldGet(this, _TaroLocation_url, "f").href = ctx.lastHref;
- __classPrivateFieldSet(this, _TaroLocation_noCheckUrl, false, "f");
- }
- }, null);
- this.on(CONTEXT_ACTIONS.DESTORY, (pageId2)=>{
- cache2.delete(pageId2);
- }, null);
- }
- };
- _TaroLocation_url = /* @__PURE__ */ new WeakMap(), _TaroLocation_noCheckUrl = /* @__PURE__ */ new WeakMap(), _TaroLocation_window = /* @__PURE__ */ new WeakMap(), _TaroLocation_instances = /* @__PURE__ */ new WeakSet(), _TaroLocation_reset = function _TaroLocation_reset2() {
- const Current2 = getCurrentInstance();
- const router = Current2.router;
- if (router) {
- const { path, params } = router;
- const searchArr = Object.keys(params).map((key)=>{
- return `${key}=${params[key]}`;
- });
- const searchStr = searchArr.length > 0 ? "?" + searchArr.join("&") : "";
- const url = `${INIT_URL}${path.startsWith("/") ? path : "/" + path}${searchStr}`;
- __classPrivateFieldSet(this, _TaroLocation_url, new TaroURLProvider(url), "f");
- this.trigger("__reset_history__", this.href);
- }
- }, _TaroLocation_getPreValue = function _TaroLocation_getPreValue2() {
- return __classPrivateFieldGet(this, _TaroLocation_url, "f")._toRaw();
- }, _TaroLocation_rollBack = function _TaroLocation_rollBack2(href) {
- __classPrivateFieldGet(this, _TaroLocation_url, "f").href = href;
- }, _TaroLocation_recordHistory = function _TaroLocation_recordHistory2() {
- this.trigger("__record_history__", this.href);
- }, _TaroLocation_checkUrlChange = function _TaroLocation_checkUrlChange2(preValue) {
- if (__classPrivateFieldGet(this, _TaroLocation_noCheckUrl, "f")) {
- return false;
- }
- const { protocol, hostname, port, pathname, search, hash } = __classPrivateFieldGet(this, _TaroLocation_url, "f")._toRaw();
- if (protocol !== preValue.protocol || hostname !== preValue.hostname || port !== preValue.port) {
- __classPrivateFieldGet(this, _TaroLocation_instances, "m", _TaroLocation_rollBack).call(this, preValue.href);
- return false;
- }
- if (pathname !== preValue.pathname) {
- return true;
- }
- if (search !== preValue.search) {
- return true;
- }
- if (hash !== preValue.hash) {
- __classPrivateFieldGet(this, _TaroLocation_window, "f").trigger("hashchange");
- return true;
- }
- __classPrivateFieldGet(this, _TaroLocation_instances, "m", _TaroLocation_rollBack).call(this, preValue.href);
- return false;
- };
- Location = false ? 0 : TaroLocation;
- }
-});
-// node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/bom/navigator.js
-var machine, arch, engine, msg, nav;
-var init_navigator = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_1__.__esm)({
- "node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/bom/navigator.js" () {
- init_env();
- machine = "Macintosh";
- arch = "Intel Mac OS X 10_14_5";
- engine = "AppleWebKit/534.36 (KHTML, like Gecko) NodeJS/v4.1.0 Chrome/76.0.3809.132 Safari/534.36";
- msg = "(" + machine + "; " + arch + ") " + engine;
- nav = false ? 0 : {
- appCodeName: "Mozilla",
- appName: "Netscape",
- appVersion: "5.0 " + msg,
- cookieEnabled: true,
- mimeTypes: [],
- onLine: true,
- platform: "MacIntel",
- plugins: [],
- product: "Taro",
- productSub: "20030107",
- userAgent: "Mozilla/5.0 " + msg,
- vendor: "Joyent",
- vendorSub: ""
- };
- }
-});
-// node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/bom/raf.js
-var now, lastTime, _raf, _caf;
-var init_raf = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_1__.__esm)({
- "node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/bom/raf.js" () {
- (function() {
- let loadTime;
- if (typeof performance !== "undefined" && performance !== null && performance.now) {
- now = ()=>performance.now();
- } else if (Date.now) {
- loadTime = Date.now();
- now = ()=>Date.now() - loadTime;
- } else {
- loadTime = /* @__PURE__ */ new Date().getTime();
- now = ()=>/* @__PURE__ */ new Date().getTime() - loadTime;
- }
- })();
- lastTime = 0;
- _raf = false ? 0 : function(callback) {
- const _now = now();
- const nextTime = Math.max(lastTime + 16, _now);
- return setTimeout(function() {
- callback(lastTime = nextTime);
- }, nextTime - _now);
- };
- _caf = false ? 0 : function(seed) {
- clearTimeout(seed);
- };
- }
-});
-// node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/bom/window.js
-var TaroWindow, taroWindowProvider, taroLocationProvider, taroHistoryProvider;
-var init_window = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_1__.__esm)({
- "node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/bom/window.js" () {
- (0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.init_dist)();
- init_constants();
- init_emitter();
- init_env();
- init_getComputedStyle();
- init_history();
- init_location();
- init_navigator();
- init_raf();
- TaroWindow = class extends _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.Events {
- initEvent() {
- const _location = this.location;
- const _history = this.history;
- this.on(CONTEXT_ACTIONS.INIT, (pageId2)=>{
- _location.trigger(CONTEXT_ACTIONS.INIT, pageId2);
- }, null);
- this.on(CONTEXT_ACTIONS.RECOVER, (pageId2)=>{
- _location.trigger(CONTEXT_ACTIONS.RECOVER, pageId2);
- _history.trigger(CONTEXT_ACTIONS.RECOVER, pageId2);
- }, null);
- this.on(CONTEXT_ACTIONS.RESTORE, (pageId2)=>{
- _location.trigger(CONTEXT_ACTIONS.RESTORE, pageId2);
- _history.trigger(CONTEXT_ACTIONS.RESTORE, pageId2);
- }, null);
- this.on(CONTEXT_ACTIONS.DESTORY, (pageId2)=>{
- _location.trigger(CONTEXT_ACTIONS.DESTORY, pageId2);
- _history.trigger(CONTEXT_ACTIONS.DESTORY, pageId2);
- }, null);
- }
- get document() {
- return env.document;
- }
- addEventListener(event, callback) {
- if (!(0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.isString)(event)) return;
- this.on(event, callback, null);
- }
- removeEventListener(event, callback) {
- if (!(0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.isString)(event)) return;
- this.off(event, callback, null);
- }
- setTimeout(...args) {
- return setTimeout(...args);
- }
- clearTimeout(...args) {
- return clearTimeout(...args);
- }
- constructor(){
- super();
- this.navigator = nav;
- this.requestAnimationFrame = _raf;
- this.cancelAnimationFrame = _caf;
- this.getComputedStyle = taroGetComputedStyleProvider;
- const globalProperties = [
- ...Object.getOwnPropertyNames(__webpack_require__.g || {}),
- ...Object.getOwnPropertySymbols(__webpack_require__.g || {})
- ];
- globalProperties.forEach((property)=>{
- if (property === "atob" || property === "document") return;
- if (!Object.prototype.hasOwnProperty.call(this, property)) {
- try {
- this[property] = __webpack_require__.g[property];
- } catch (e) {
- if (true) {
- console.warn(`[Taro warn] window.${String(property)} \u5728\u8D4B\u503C\u5230 window \u65F6\u62A5\u9519`);
- }
- }
- }
- });
- this.Date || (this.Date = Date);
- this.location = new Location({
- window: this
- });
- this.history = new History(this.location, {
- window: this
- });
- this.initEvent();
- }
- };
- taroWindowProvider = false ? 0 : env.window = new TaroWindow();
- taroLocationProvider = taroWindowProvider.location;
- taroHistoryProvider = taroWindowProvider.history;
- }
-});
-// node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/utils/index.js
-function isElement(node) {
- return node.nodeType === 1;
-}
-function isText(node) {
- return node.nodeType === 3;
-}
-function isComment(node) {
- return node.nodeName === COMMENT;
-}
-function isHasExtractProp(el) {
- const res = Object.keys(el.props).find((prop)=>{
- return !(/^(class|style|id)$/.test(prop) || prop.startsWith("data-"));
- });
- return Boolean(res);
-}
-function isParentBinded(node, type) {
- var _a2;
- while(node = (node === null || node === void 0 ? void 0 : node.parentElement) || null){
- if (!node || node.nodeName === ROOT_STR || node.nodeName === "root-portal") {
- return false;
- } else if ((_a2 = node.__handlers[type]) === null || _a2 === void 0 ? void 0 : _a2.length) {
- return true;
- }
- }
- return false;
-}
-function shortcutAttr(key) {
- switch(key){
- case STYLE:
- return "st";
- case ID:
- return UID;
- case CLASS:
- return "cl";
- default:
- return key;
- }
-}
-function extend(ctor, methodName, options2) {
- if ((0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.isFunction)(options2)) {
- options2 = {
- value: options2
- };
- }
- Object.defineProperty(ctor.prototype, methodName, Object.assign({
- configurable: true,
- enumerable: true
- }, options2));
-}
-function getComponentsAlias2() {
- if (!componentsAlias) {
- componentsAlias = (0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.getComponentsAlias)(_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.internalComponents);
- }
- return componentsAlias;
-}
-function convertNumber2PX(value) {
- return value + "px";
-}
-var incrementId, customWrapperCache, componentsAlias;
-var init_utils = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_1__.__esm)({
- "node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/utils/index.js" () {
- (0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.init_dist)();
- init_constants();
- init_window();
- incrementId = ()=>{
- const chatCodes = [];
- for(let i = 65; i <= 90; i++){
- chatCodes.push(i);
- }
- for(let i = 97; i <= 122; i++){
- chatCodes.push(i);
- }
- const chatCodesLen = chatCodes.length - 1;
- const list = [
- 0,
- 0
- ];
- return ()=>{
- const target = list.map((item)=>chatCodes[item]);
- const res = String.fromCharCode(...target);
- let tailIdx = list.length - 1;
- list[tailIdx]++;
- while(list[tailIdx] > chatCodesLen){
- list[tailIdx] = 0;
- tailIdx = tailIdx - 1;
- if (tailIdx < 0) {
- list.push(0);
- break;
- }
- list[tailIdx]++;
- }
- return res;
- };
- };
- customWrapperCache = /* @__PURE__ */ new Map();
- }
-});
-// node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/dom/event-source.js
-var EventSource, eventSource;
-var init_event_source = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_1__.__esm)({
- "node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/dom/event-source.js" () {
- EventSource = class extends Map {
- removeNode(child) {
- const { sid, uid } = child;
- this.delete(sid);
- if (uid !== sid && uid) this.delete(uid);
- }
- removeNodeTree(child) {
- this.removeNode(child);
- const { childNodes } = child;
- childNodes.forEach((node)=>this.removeNodeTree(node));
- }
- };
- eventSource = new EventSource();
- }
-});
-// node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/hydrate.js
-function hydrate(node) {
- var _a2;
- componentsAlias2 || (componentsAlias2 = getComponentsAlias2());
- SPECIAL_NODES || (SPECIAL_NODES = _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.hooks.call("getSpecialNodes"));
- const nodeName = node.nodeName;
- let compileModeName = null;
- if (isText(node)) {
- return {
- sid: node.sid,
- ["v"]: node.nodeValue,
- ["nn"]: ((_a2 = componentsAlias2[nodeName]) === null || _a2 === void 0 ? void 0 : _a2._num) || "8"
- };
- }
- const data = {
- ["nn"]: nodeName,
- sid: node.sid
- };
- if (node.uid !== node.sid) {
- data.uid = node.uid;
- }
- if (SPECIAL_NODES.indexOf(nodeName) > -1) {
- if (!node.isAnyEventBinded()) {
- data["nn"] = `static-${nodeName}`;
- if (nodeName === VIEW && !isHasExtractProp(node)) {
- data["nn"] = PURE_VIEW;
- }
- }
- if (nodeName === VIEW && node.isOnlyClickBinded()) {
- data["nn"] = CLICK_VIEW;
- }
- }
- const { props } = node;
- for(const prop in props){
- const propInCamelCase = (0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.toCamelCase)(prop);
- if (!prop.startsWith("data-") && // 在 node.dataset 的数据
- prop !== CLASS && prop !== STYLE && prop !== ID && propInCamelCase !== CATCHMOVE && propInCamelCase !== COMPILE_MODE) {
- data[propInCamelCase] = props[prop];
- }
- if (nodeName === VIEW && propInCamelCase === CATCHMOVE && props[prop] !== false) {
- data["nn"] = CATCH_VIEW;
- }
- if (propInCamelCase === COMPILE_MODE) {
- compileModeName = props[prop];
- }
- }
- data["cn"] = node.childNodes.filter((node2)=>!isComment(node2)).map(hydrate);
- if (node.className !== "") {
- data["cl"] = node.className;
- }
- const cssText = node.cssText;
- if (cssText !== "" && nodeName !== "swiper-item") {
- data["st"] = cssText;
- }
- _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.hooks.call("modifyHydrateData", data, node);
- const nn = data["nn"];
- const componentAlias = componentsAlias2[nn];
- if (componentAlias) {
- data["nn"] = componentAlias._num;
- for(const prop in data){
- if (prop in componentAlias) {
- data[componentAlias[prop]] = data[prop];
- delete data[prop];
- }
- }
- }
- if (compileModeName !== null) {
- data["nn"] = compileModeName;
- }
- const resData = _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.hooks.call("transferHydrateData", data, node, componentAlias);
- return resData || data;
-}
-var SPECIAL_NODES, componentsAlias2;
-var init_hydrate = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_1__.__esm)({
- "node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/hydrate.js" () {
- (0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.init_dist)();
- init_constants();
- init_utils();
- }
-});
-// node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/dom/event-target.js
-var TaroEventTarget;
-var init_event_target = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_1__.__esm)({
- "node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/dom/event-target.js" () {
- (0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.init_dist)();
- TaroEventTarget = class {
- addEventListener(type, handler, options2) {
- type = type.toLowerCase();
- _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.hooks.call("onAddEvent", type, handler, options2, this);
- if (type === "regionchange") {
- this.addEventListener("begin", handler, options2);
- this.addEventListener("end", handler, options2);
- return;
- }
- let isCapture = Boolean(options2);
- let isOnce = false;
- if ((0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.isObject)(options2)) {
- isCapture = Boolean(options2.capture);
- isOnce = Boolean(options2.once);
- }
- if (isOnce) {
- const wrapper = function() {
- handler.apply(this, arguments);
- this.removeEventListener(type, wrapper);
- };
- this.addEventListener(type, wrapper, Object.assign(Object.assign({}, options2), {
- once: false
- }));
- return;
- }
- (0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.warn)(isCapture, "Taro \u6682\u672A\u5B9E\u73B0 event \u7684 capture \u7279\u6027\u3002");
- const oldHandler = handler;
- handler = function() {
- return oldHandler.apply(this, arguments);
- };
- handler.oldHandler = oldHandler;
- const handlers = this.__handlers[type];
- if ((0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.isArray)(handlers)) {
- handlers.push(handler);
- } else {
- this.__handlers[type] = [
- handler
- ];
- }
- }
- removeEventListener(type, handler) {
- type = type.toLowerCase();
- if (type === "regionchange") {
- this.removeEventListener("begin", handler);
- this.removeEventListener("end", handler);
- return;
- }
- if (!handler) {
- return;
- }
- const handlers = this.__handlers[type];
- if (!(0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.isArray)(handlers)) {
- return;
- }
- const index = handlers.findIndex((item)=>{
- if (item === handler || item.oldHandler === handler) return true;
- });
- (0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.warn)(index === -1, `\u4E8B\u4EF6: '${type}' \u6CA1\u6709\u6CE8\u518C\u5728 DOM \u4E2D\uFF0C\u56E0\u6B64\u4E0D\u4F1A\u88AB\u79FB\u9664\u3002`);
- handlers.splice(index, 1);
- }
- isAnyEventBinded() {
- const handlers = this.__handlers;
- const isAnyEventBinded = Object.keys(handlers).find((key)=>handlers[key].length);
- return Boolean(isAnyEventBinded);
- }
- isOnlyClickBinded() {
- const handlers = this.__handlers;
- const isOnlyClickBinded = handlers.tap && Object.keys(handlers).length === 1;
- return Boolean(isOnlyClickBinded);
- }
- constructor(){
- this.__handlers = {};
- }
- };
- }
-});
-// node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/dom/node.js
-var CHILDNODES, nodeId, TaroNode;
-var init_node = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_1__.__esm)({
- "node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/dom/node.js" () {
- (0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.init_dist)();
- init_constants();
- init_mutation_observer();
- init_env();
- init_hydrate();
- init_utils();
- init_event_source();
- init_event_target();
- CHILDNODES = "cn";
- nodeId = incrementId();
- TaroNode = class _TaroNode extends TaroEventTarget {
- updateChildNodes(isClean) {
- const cleanChildNodes = ()=>[];
- const rerenderChildNodes = ()=>{
- const childNodes = this.childNodes.filter((node)=>!isComment(node));
- return childNodes.map(hydrate);
- };
- this.enqueueUpdate({
- path: `${this._path}.${CHILDNODES}`,
- value: isClean ? cleanChildNodes : rerenderChildNodes
- });
- }
- updateSingleChild(index) {
- this.childNodes.forEach((child, childIndex)=>{
- if (isComment(child)) return;
- if (index && childIndex < index) return;
- this.enqueueUpdate({
- path: child._path,
- value: this.hydrate(child)
- });
- });
- }
- get _root() {
- var _a2;
- return ((_a2 = this.parentNode) === null || _a2 === void 0 ? void 0 : _a2._root) || null;
- }
- findIndex(refChild) {
- const index = this.childNodes.indexOf(refChild);
- (0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.ensure)(index !== -1, "The node to be replaced is not a child of this node.");
- return index;
- }
- get _path() {
- const parentNode = this.parentNode;
- if (parentNode) {
- const list = parentNode.childNodes.filter((node)=>!isComment(node));
- const indexOfNode = list.indexOf(this);
- const index = _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.hooks.call("getPathIndex", indexOfNode);
- return `${parentNode._path}.${CHILDNODES}.${index}`;
- }
- return "";
- }
- get nextSibling() {
- const parentNode = this.parentNode;
- return (parentNode === null || parentNode === void 0 ? void 0 : parentNode.childNodes[parentNode.findIndex(this) + 1]) || null;
- }
- get previousSibling() {
- const parentNode = this.parentNode;
- return (parentNode === null || parentNode === void 0 ? void 0 : parentNode.childNodes[parentNode.findIndex(this) - 1]) || null;
- }
- get parentElement() {
- const parentNode = this.parentNode;
- if ((parentNode === null || parentNode === void 0 ? void 0 : parentNode.nodeType) === 1) {
- return parentNode;
- }
- return null;
- }
- get firstChild() {
- return this.childNodes[0] || null;
- }
- get lastChild() {
- const childNodes = this.childNodes;
- return childNodes[childNodes.length - 1] || null;
- }
- /**
- * @textContent 目前只能置空子元素
- * @TODO 等待完整 innerHTML 实现
- */ // eslint-disable-next-line accessor-pairs
- set textContent(text) {
- const removedNodes = this.childNodes.slice();
- const addedNodes = [];
- while(this.firstChild){
- this.removeChild(this.firstChild, {
- doUpdate: false
- });
- }
- if (text === "") {
- this.updateChildNodes(true);
- } else {
- const newText = env.document.createTextNode(text);
- addedNodes.push(newText);
- this.appendChild(newText);
- this.updateChildNodes();
- }
- MutationObserver2.record({
- type: "childList",
- target: this,
- removedNodes,
- addedNodes
- });
- }
- /**
- * @doc https://developer.mozilla.org/zh-CN/docs/Web/API/Node/insertBefore
- * @scenario
- * [A,B,C]
- * 1. insert D before C, D has no parent
- * 2. insert D before C, D has the same parent of C
- * 3. insert D before C, D has the different parent of C
- */ insertBefore(newChild, refChild, isReplace) {
- if (newChild.nodeName === DOCUMENT_FRAGMENT) {
- newChild.childNodes.reduceRight((previousValue, currentValue)=>{
- this.insertBefore(currentValue, previousValue);
- return currentValue;
- }, refChild);
- return newChild;
- }
- newChild.remove({
- cleanRef: false
- });
- let index = 0;
- newChild.parentNode = this;
- if (refChild) {
- index = this.findIndex(refChild);
- this.childNodes.splice(index, 0, newChild);
- } else {
- this.childNodes.push(newChild);
- }
- const childNodesLength = this.childNodes.length;
- if (this._root) {
- if (!refChild) {
- const isOnlyChild = childNodesLength === 1;
- if (isOnlyChild) {
- this.updateChildNodes();
- } else {
- this.enqueueUpdate({
- path: newChild._path,
- value: this.hydrate(newChild)
- });
- }
- } else if (isReplace) {
- this.enqueueUpdate({
- path: newChild._path,
- value: this.hydrate(newChild)
- });
- } else {
- const mark = childNodesLength * 2 / 3;
- if (mark > index) {
- this.updateChildNodes();
- } else {
- this.updateSingleChild(index);
- }
- }
- }
- MutationObserver2.record({
- type: "childList",
- target: this,
- addedNodes: [
- newChild
- ],
- removedNodes: isReplace ? [
- refChild
- ] : [],
- nextSibling: isReplace ? refChild.nextSibling : refChild || null,
- /** insertBefore & appendChild */ previousSibling: newChild.previousSibling
- });
- return newChild;
- }
- /**
- * @doc https://developer.mozilla.org/zh-CN/docs/Web/API/Node/appendChild
- * @scenario
- * [A,B,C]
- * 1. append C, C has no parent
- * 2. append C, C has the same parent of B
- * 3. append C, C has the different parent of B
- */ appendChild(newChild) {
- return this.insertBefore(newChild);
- }
- /**
- * @doc https://developer.mozilla.org/zh-CN/docs/Web/API/Node/replaceChild
- * @scenario
- * [A,B,C]
- * 1. replace B with C, C has no parent
- * 2. replace B with C, C has no parent, C has the same parent of B
- * 3. replace B with C, C has no parent, C has the different parent of B
- */ replaceChild(newChild, oldChild) {
- if (oldChild.parentNode !== this) return;
- this.insertBefore(newChild, oldChild, true);
- oldChild.remove({
- doUpdate: false
- });
- return oldChild;
- }
- /**
- * @doc https://developer.mozilla.org/zh-CN/docs/Web/API/Node/removeChild
- * @scenario
- * [A,B,C]
- * 1. remove A or B
- * 2. remove C
- */ removeChild(child, options2 = {}) {
- const { cleanRef, doUpdate } = options2;
- if (cleanRef !== false && doUpdate !== false) {
- MutationObserver2.record({
- type: "childList",
- target: this,
- removedNodes: [
- child
- ],
- nextSibling: child.nextSibling,
- previousSibling: child.previousSibling
- });
- }
- const index = this.findIndex(child);
- this.childNodes.splice(index, 1);
- child.parentNode = null;
- if (cleanRef !== false) {
- eventSource.removeNodeTree(child);
- }
- if (this._root && doUpdate !== false) {
- this.updateChildNodes();
- }
- return child;
- }
- remove(options2) {
- var _a2;
- (_a2 = this.parentNode) === null || _a2 === void 0 ? void 0 : _a2.removeChild(this, options2);
- }
- hasChildNodes() {
- return this.childNodes.length > 0;
- }
- enqueueUpdate(payload) {
- var _a2;
- (_a2 = this._root) === null || _a2 === void 0 ? void 0 : _a2.enqueueUpdate(payload);
- }
- get ownerDocument() {
- return env.document;
- }
- static extend(methodName, options2) {
- extend(_TaroNode, methodName, options2);
- }
- constructor(){
- super();
- this.parentNode = null;
- this.childNodes = [];
- this.hydrate = (node)=>()=>hydrate(node);
- this.uid = "_" + nodeId();
- this.sid = this.uid;
- eventSource.set(this.sid, this);
- }
- };
- }
-});
-// node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/dom/style_properties.js
-function combine(prefix, list, excludeSelf) {
- !excludeSelf && styleProperties.push(prefix);
- list.forEach((item)=>{
- styleProperties.push(prefix + item);
- if (prefix === WEBKIT) {
- styleProperties.push("Webkit" + item);
- }
- });
-}
-var WEBKIT, styleProperties, color, style, width, image, size, color_style_width, fitlength_fitwidth_image, fitlength_fitwidth_image_radius, color_style_width_fitlength_fitwidth_image, endRadius_startRadius, bottom_left_right_top, end_start, content_items_self, blockSize_height_inlineSize_width, after_before;
-var init_style_properties = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_1__.__esm)({
- "node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/dom/style_properties.js" () {
- WEBKIT = "webkit";
- styleProperties = [
- "all",
- "appearance",
- "blockOverflow",
- "blockSize",
- "bottom",
- "clear",
- "contain",
- "content",
- "continue",
- "cursor",
- "direction",
- "display",
- "filter",
- "float",
- "gap",
- "height",
- "inset",
- "isolation",
- "left",
- "letterSpacing",
- "lightingColor",
- "markerSide",
- "mixBlendMode",
- "opacity",
- "order",
- "position",
- "quotes",
- "resize",
- "right",
- "rowGap",
- "tabSize",
- "tableLayout",
- "top",
- "userSelect",
- "verticalAlign",
- "visibility",
- "voiceFamily",
- "volume",
- "whiteSpace",
- "widows",
- "width",
- "zIndex",
- "pointerEvents",
- "aspectRatio"
- ];
- color = "Color";
- style = "Style";
- width = "Width";
- image = "Image";
- size = "Size";
- color_style_width = [
- color,
- style,
- width
- ];
- fitlength_fitwidth_image = [
- "FitLength",
- "FitWidth",
- image
- ];
- fitlength_fitwidth_image_radius = [
- ...fitlength_fitwidth_image,
- "Radius"
- ];
- color_style_width_fitlength_fitwidth_image = [
- ...color_style_width,
- ...fitlength_fitwidth_image
- ];
- endRadius_startRadius = [
- "EndRadius",
- "StartRadius"
- ];
- bottom_left_right_top = [
- "Bottom",
- "Left",
- "Right",
- "Top"
- ];
- end_start = [
- "End",
- "Start"
- ];
- content_items_self = [
- "Content",
- "Items",
- "Self"
- ];
- blockSize_height_inlineSize_width = [
- "BlockSize",
- "Height",
- "InlineSize",
- width
- ];
- after_before = [
- "After",
- "Before"
- ];
- combine("borderBlock", color_style_width);
- combine("borderBlockEnd", color_style_width);
- combine("borderBlockStart", color_style_width);
- combine("outline", [
- ...color_style_width,
- "Offset"
- ]);
- combine("border", [
- ...color_style_width,
- "Boundary",
- "Break",
- "Collapse",
- "Radius",
- "Spacing"
- ]);
- combine("borderFit", [
- "Length",
- width
- ]);
- combine("borderInline", color_style_width);
- combine("borderInlineEnd", color_style_width);
- combine("borderInlineStart", color_style_width);
- combine("borderLeft", color_style_width_fitlength_fitwidth_image);
- combine("borderRight", color_style_width_fitlength_fitwidth_image);
- combine("borderTop", color_style_width_fitlength_fitwidth_image);
- combine("borderBottom", color_style_width_fitlength_fitwidth_image);
- combine("textDecoration", [
- color,
- style,
- "Line"
- ]);
- combine("textEmphasis", [
- color,
- style,
- "Position"
- ]);
- combine("scrollMargin", bottom_left_right_top);
- combine("scrollPadding", bottom_left_right_top);
- combine("padding", bottom_left_right_top);
- combine("margin", [
- ...bottom_left_right_top,
- "Trim"
- ]);
- combine("scrollMarginBlock", end_start);
- combine("scrollMarginInline", end_start);
- combine("scrollPaddingBlock", end_start);
- combine("scrollPaddingInline", end_start);
- combine("gridColumn", end_start);
- combine("gridRow", end_start);
- combine("insetBlock", end_start);
- combine("insetInline", end_start);
- combine("marginBlock", end_start);
- combine("marginInline", end_start);
- combine("paddingBlock", end_start);
- combine("paddingInline", end_start);
- combine("pause", after_before);
- combine("cue", after_before);
- combine("mask", [
- "Clip",
- "Composite",
- image,
- "Mode",
- "Origin",
- "Position",
- "Repeat",
- size,
- "Type"
- ]);
- combine("borderImage", [
- "Outset",
- "Repeat",
- "Slice",
- "Source",
- "Transform",
- width
- ]);
- combine("maskBorder", [
- "Mode",
- "Outset",
- "Repeat",
- "Slice",
- "Source",
- width
- ]);
- combine("font", [
- "Family",
- "FeatureSettings",
- "Kerning",
- "LanguageOverride",
- "MaxSize",
- "MinSize",
- "OpticalSizing",
- "Palette",
- size,
- "SizeAdjust",
- "Stretch",
- style,
- "Weight",
- "VariationSettings"
- ]);
- combine("transform", [
- "Box",
- "Origin",
- style
- ]);
- combine("background", [
- color,
- image,
- "Attachment",
- "BlendMode",
- "Clip",
- "Origin",
- "Position",
- "Repeat",
- size
- ]);
- combine("listStyle", [
- image,
- "Position",
- "Type"
- ]);
- combine("scrollSnap", [
- "Align",
- "Stop",
- "Type"
- ]);
- combine("grid", [
- "Area",
- "AutoColumns",
- "AutoFlow",
- "AutoRows"
- ]);
- combine("gridTemplate", [
- "Areas",
- "Columns",
- "Rows"
- ]);
- combine("overflow", [
- "Block",
- "Inline",
- "Wrap",
- "X",
- "Y"
- ]);
- combine("transition", [
- "Delay",
- "Duration",
- "Property",
- "TimingFunction"
- ]);
- combine("color", [
- "Adjust",
- "InterpolationFilters",
- "Scheme"
- ]);
- combine("textAlign", [
- "All",
- "Last"
- ]);
- combine("page", [
- "BreakAfter",
- "BreakBefore",
- "BreakInside"
- ]);
- combine("animation", [
- "Delay",
- "Direction",
- "Duration",
- "FillMode",
- "IterationCount",
- "Name",
- "PlayState",
- "TimingFunction"
- ]);
- combine("flex", [
- "Basis",
- "Direction",
- "Flow",
- "Grow",
- "Shrink",
- "Wrap"
- ]);
- combine("offset", [
- ...after_before,
- ...end_start,
- "Anchor",
- "Distance",
- "Path",
- "Position",
- "Rotate"
- ]);
- combine("perspective", [
- "Origin"
- ]);
- combine("clip", [
- "Path",
- "Rule"
- ]);
- combine("flow", [
- "From",
- "Into"
- ]);
- combine("align", [
- "Content",
- "Items",
- "Self"
- ], true);
- combine("alignment", [
- "Adjust",
- "Baseline"
- ], true);
- combine("borderStart", endRadius_startRadius, true);
- combine("borderEnd", endRadius_startRadius, true);
- combine("borderCorner", [
- "Fit",
- image,
- "ImageTransform"
- ], true);
- combine("borderTopLeft", fitlength_fitwidth_image_radius, true);
- combine("borderTopRight", fitlength_fitwidth_image_radius, true);
- combine("borderBottomLeft", fitlength_fitwidth_image_radius, true);
- combine("borderBottomRight", fitlength_fitwidth_image_radius, true);
- combine("column", [
- "s",
- "Count",
- "Fill",
- "Gap",
- "Rule",
- "RuleColor",
- "RuleStyle",
- "RuleWidth",
- "Span",
- width
- ], true);
- combine("break", [
- ...after_before,
- "Inside"
- ], true);
- combine("wrap", [
- ...after_before,
- "Flow",
- "Inside",
- "Through"
- ], true);
- combine("justify", content_items_self, true);
- combine("place", content_items_self, true);
- combine("max", [
- ...blockSize_height_inlineSize_width,
- "Lines"
- ], true);
- combine("min", blockSize_height_inlineSize_width, true);
- combine("line", [
- "Break",
- "Clamp",
- "Grid",
- "Height",
- "Padding",
- "Snap"
- ], true);
- combine("inline", [
- "BoxAlign",
- size,
- "Sizing"
- ], true);
- combine("text", [
- "CombineUpright",
- "GroupAlign",
- "Height",
- "Indent",
- "Justify",
- "Orientation",
- "Overflow",
- "Shadow",
- "SpaceCollapse",
- "SpaceTrim",
- "Spacing",
- "Transform",
- "UnderlinePosition",
- "Wrap"
- ], true);
- combine("shape", [
- "ImageThreshold",
- "Inside",
- "Margin",
- "Outside"
- ], true);
- combine("word", [
- "Break",
- "Spacing",
- "Wrap"
- ], true);
- combine("object", [
- "Fit",
- "Position"
- ], true);
- combine("box", [
- "DecorationBreak",
- "Shadow",
- "Sizing",
- "Snap"
- ], true);
- combine(WEBKIT, [
- "LineClamp",
- "BoxOrient",
- "TextFillColor",
- "TextStroke",
- "TextStrokeColor",
- "TextStrokeWidth"
- ], true);
- }
-});
-// node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/dom/style.js
-function recordCss(obj) {
- MutationObserver2.record({
- type: "attributes",
- target: obj._element,
- attributeName: "style",
- oldValue: obj.cssText
- });
-}
-function enqueueUpdate(obj) {
- const element = obj._element;
- if (element._root) {
- element.enqueueUpdate({
- path: `${element._path}.${"st"}`,
- value: obj.cssText
- });
- }
-}
-function setStyle(newVal, styleKey) {
- (0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.warn)((0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.isString)(newVal) && newVal.length > PROPERTY_THRESHOLD, `Style \u5C5E\u6027 ${styleKey} \u7684\u503C\u6570\u636E\u91CF\u8FC7\u5927\uFF0C\u53EF\u80FD\u4F1A\u5F71\u54CD\u6E32\u67D3\u6027\u80FD\uFF0C\u8003\u8651\u4F7F\u7528 CSS \u7C7B\u6216\u5176\u5B83\u65B9\u6848\u66FF\u4EE3\u3002`);
- const old = this[styleKey];
- if (old === newVal) return;
- !this._pending && recordCss(this);
- if ((0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.isNull)(newVal) || (0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.isUndefined)(newVal) || newVal === "") {
- this._usedStyleProp.delete(styleKey);
- delete this._value[styleKey];
- } else {
- this._usedStyleProp.add(styleKey);
- this._value[styleKey] = newVal;
- }
- !this._pending && enqueueUpdate(this);
-}
-function initStyle(ctor, styleProperties2) {
- const properties = {};
- for(let i = 0; i < styleProperties2.length; i++){
- const styleKey = styleProperties2[i];
- if (ctor[styleKey]) return;
- properties[styleKey] = {
- get () {
- const val = this._value[styleKey];
- return (0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.isNull)(val) || (0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.isUndefined)(val) ? "" : val;
- },
- set (newVal) {
- setStyle.call(this, newVal, styleKey);
- }
- };
- }
- Object.defineProperties(ctor.prototype, properties);
-}
-function isCssVariable(propertyName) {
- return /^--/.test(propertyName);
-}
-var Style;
-var init_style = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_1__.__esm)({
- "node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/dom/style.js" () {
- (0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.init_dist)();
- init_constants();
- init_mutation_observer();
- init_style_properties();
- Style = class {
- setCssVariables(styleKey) {
- this.hasOwnProperty(styleKey) || Object.defineProperty(this, styleKey, {
- enumerable: true,
- configurable: true,
- get: ()=>{
- return this._value[styleKey] || "";
- },
- set: (newVal)=>{
- setStyle.call(this, newVal, styleKey);
- }
- });
- }
- get cssText() {
- if (!this._usedStyleProp.size) return "";
- const texts = [];
- this._usedStyleProp.forEach((key)=>{
- const val = this[key];
- if ((0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.isNull)(val) || (0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.isUndefined)(val)) return;
- let styleName = isCssVariable(key) ? key : (0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.toDashed)(key);
- if (styleName.indexOf("webkit") === 0 || styleName.indexOf("Webkit") === 0) {
- styleName = `-${styleName}`;
- }
- texts.push(`${styleName}: ${val};`);
- });
- return texts.join(" ");
- }
- set cssText(str) {
- this._pending = true;
- recordCss(this);
- this._usedStyleProp.forEach((prop)=>{
- this.removeProperty(prop);
- });
- if (str === "" || (0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.isUndefined)(str) || (0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.isNull)(str)) {
- this._pending = false;
- enqueueUpdate(this);
- return;
- }
- const rules = str.split(";");
- for(let i = 0; i < rules.length; i++){
- const rule = rules[i].trim();
- if (rule === "") {
- continue;
- }
- const [propName, ...valList] = rule.split(":");
- const val = valList.join(":");
- if ((0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.isUndefined)(val)) {
- continue;
- }
- this.setProperty(propName.trim(), val.trim());
- }
- this._pending = false;
- enqueueUpdate(this);
- }
- setProperty(propertyName, value) {
- if (propertyName[0] === "-") {
- this.setCssVariables(propertyName);
- } else {
- propertyName = (0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.toCamelCase)(propertyName);
- }
- if ((0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.isNull)(value) || (0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.isUndefined)(value)) {
- this.removeProperty(propertyName);
- } else {
- this[propertyName] = value;
- }
- }
- removeProperty(propertyName) {
- propertyName = (0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.toCamelCase)(propertyName);
- if (!this._usedStyleProp.has(propertyName)) {
- return "";
- }
- const value = this[propertyName];
- this[propertyName] = void 0;
- return value;
- }
- getPropertyValue(propertyName) {
- propertyName = (0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.toCamelCase)(propertyName);
- const value = this[propertyName];
- if (!value) {
- return "";
- }
- return value;
- }
- constructor(element){
- this._element = element;
- this._usedStyleProp = /* @__PURE__ */ new Set();
- this._value = {};
- }
- };
- initStyle(Style, styleProperties);
- _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.hooks.tap("injectNewStyleProperties", (newStyleProperties)=>{
- if ((0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.isArray)(newStyleProperties)) {
- initStyle(Style, newStyleProperties);
- } else {
- if (typeof newStyleProperties !== "string") return;
- initStyle(Style, [
- newStyleProperties
- ]);
- }
- });
- }
-});
-// node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/dom/class-list.js
-var ClassList;
-var init_class_list = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_1__.__esm)({
- "node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/dom/class-list.js" () {
- ClassList = class {
- get value() {
- return this.toString();
- }
- get length() {
- return this.tokenList.length;
- }
- add() {
- let index = 0;
- let updated = false;
- const tokens = arguments;
- const length = tokens.length;
- const tokenList = this.tokenList;
- do {
- const token = tokens[index];
- if (this.checkTokenIsValid(token) && !~tokenList.indexOf(token)) {
- tokenList.push(token);
- updated = true;
- }
- }while (++index < length)
- if (updated) {
- this._update();
- }
- }
- remove() {
- let i = 0;
- let updated = false;
- const tokens = arguments;
- const length = tokens.length;
- const tokenList = this.tokenList;
- do {
- const token = tokens[i] + "";
- if (!this.checkTokenIsValid(token)) continue;
- const index = tokenList.indexOf(token);
- if (~tokenList.indexOf(token)) {
- tokenList.splice(index, 1);
- updated = true;
- }
- }while (++i < length)
- if (updated) {
- this._update();
- }
- }
- contains(token) {
- if (!this.checkTokenIsValid(token)) return false;
- return !!~this.tokenList.indexOf(token);
- }
- toggle(token, force) {
- const result = this.contains(token);
- const method = result ? force !== true && "remove" : force !== false && "add";
- if (method) {
- this[method](token);
- }
- if (force === true || force === false) {
- return force;
- } else {
- return !result;
- }
- }
- replace(token, replacement_token) {
- if (!this.checkTokenIsValid(token) || !this.checkTokenIsValid(replacement_token)) return;
- const index = this.tokenList.indexOf(token);
- if (~index) {
- this.tokenList.splice(index, 1, replacement_token);
- this._update();
- }
- }
- toString() {
- return this.tokenList.filter((v)=>v !== "").join(" ");
- }
- checkTokenIsValid(token) {
- if (token === "" || /\s/.test(token)) return false;
- return true;
- }
- _update() {
- this.el.className = this.value;
- }
- constructor(className, el){
- this.tokenList = [];
- this.el = el;
- className.trim().split(/\s+/).forEach((token)=>this.tokenList.push(token));
- }
- };
- }
-});
-// node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/dom/tree.js
-function returnTrue() {
- return true;
-}
-function treeToArray(root, predict) {
- const array = [];
- const filter = predict !== null && predict !== void 0 ? predict : returnTrue;
- let object = root;
- while(object){
- if (object.nodeType === 1 && filter(object)) {
- array.push(object);
- }
- object = following(object, root);
- }
- return array;
-}
-function following(el, root) {
- const firstChild = el.firstChild;
- const isElmentTypeValid = el.nodeType === 1 || el.nodeType === 9;
- if (firstChild && isElmentTypeValid) {
- return firstChild;
- }
- let current = el;
- do {
- if (current === root) {
- return null;
- }
- const nextSibling = current.nextSibling;
- if (nextSibling) {
- return nextSibling;
- }
- current = current.parentElement;
- }while (current)
- return null;
-}
-var init_tree = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_1__.__esm)({
- "node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/dom/tree.js" () {}
-});
-// node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/dom/element.js
-var TaroElement;
-var init_element = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_1__.__esm)({
- "node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/dom/element.js" () {
- (0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.init_dist)();
- init_constants();
- init_mutation_observer();
- init_utils();
- init_class_list();
- init_event_source();
- init_node();
- init_style();
- init_tree();
- TaroElement = class _TaroElement extends TaroNode {
- _stopPropagation(event) {
- let target = this;
- while(target = target.parentNode){
- const listeners = target.__handlers[event.type];
- if (!(0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.isArray)(listeners)) {
- continue;
- }
- for(let i = listeners.length; i--;){
- const l = listeners[i];
- l._stop = true;
- }
- }
- }
- get id() {
- return this.getAttribute(ID);
- }
- set id(val) {
- this.setAttribute(ID, val);
- }
- get className() {
- return this.getAttribute(CLASS) || "";
- }
- set className(val) {
- this.setAttribute(CLASS, val);
- }
- get cssText() {
- return this.getAttribute(STYLE) || "";
- }
- get classList() {
- return new ClassList(this.className, this);
- }
- get children() {
- return this.childNodes.filter(isElement);
- }
- get attributes() {
- const props = this.props;
- const propKeys = Object.keys(props);
- const style2 = this.style.cssText;
- const attrs = propKeys.map((key)=>({
- name: key,
- value: props[key]
- }));
- return attrs.concat(style2 ? {
- name: STYLE,
- value: style2
- } : []);
- }
- get textContent() {
- let text = "";
- const childNodes = this.childNodes;
- for(let i = 0; i < childNodes.length; i++){
- text += childNodes[i].textContent;
- }
- return text;
- }
- set textContent(text) {
- super.textContent = text;
- }
- hasAttribute(qualifiedName) {
- return !(0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.isUndefined)(this.props[qualifiedName]);
- }
- hasAttributes() {
- return this.attributes.length > 0;
- }
- get focus() {
- return function() {
- this.setAttribute(FOCUS, true);
- };
- }
- // 兼容 Vue3,详情请见:https://github.com/NervJS/taro/issues/10579
- set focus(value) {
- this.setAttribute(FOCUS, value);
- }
- blur() {
- this.setAttribute(FOCUS, false);
- }
- setAttribute(qualifiedName, value) {
- (0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.warn)((0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.isString)(value) && value.length > PROPERTY_THRESHOLD, `\u5143\u7D20 ${this.nodeName} \u7684 ${qualifiedName} \u5C5E\u6027\u503C\u6570\u636E\u91CF\u8FC7\u5927\uFF0C\u53EF\u80FD\u4F1A\u5F71\u54CD\u6E32\u67D3\u6027\u80FD\u3002\u8003\u8651\u964D\u4F4E\u56FE\u7247\u8F6C\u4E3A base64 \u7684\u9608\u503C\u6216\u5728 CSS \u4E2D\u4F7F\u7528 base64\u3002`);
- const isPureView = this.nodeName === VIEW && !isHasExtractProp(this) && !this.isAnyEventBinded();
- if (qualifiedName !== STYLE) {
- MutationObserver2.record({
- target: this,
- type: "attributes",
- attributeName: qualifiedName,
- oldValue: this.getAttribute(qualifiedName)
- });
- }
- switch(qualifiedName){
- case STYLE:
- this.style.cssText = value;
- break;
- case ID:
- if (this.uid !== this.sid) {
- eventSource.delete(this.uid);
- }
- value = String(value);
- this.props[qualifiedName] = this.uid = value;
- eventSource.set(value, this);
- break;
- default:
- this.props[qualifiedName] = value;
- if (qualifiedName.startsWith("data-")) {
- if (this.dataset === _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.EMPTY_OBJ) {
- this.dataset = /* @__PURE__ */ Object.create(null);
- }
- this.dataset[(0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.toCamelCase)(qualifiedName.replace(/^data-/, ""))] = value;
- }
- break;
- }
- if (!this._root) return;
- const componentsAlias3 = getComponentsAlias2();
- const _alias = componentsAlias3[this.nodeName];
- const viewAlias = componentsAlias3[VIEW]._num;
- const clickViewAlias = componentsAlias3[CLICK_VIEW]._num;
- const staticViewAlias = componentsAlias3[STATIC_VIEW]._num;
- const catchViewAlias = componentsAlias3[CATCH_VIEW]._num;
- const _path = this._path;
- qualifiedName = shortcutAttr(qualifiedName);
- const qualifiedNameInCamelCase = (0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.toCamelCase)(qualifiedName);
- const payload = {
- path: `${_path}.${qualifiedNameInCamelCase}`,
- value: (0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.isFunction)(value) ? ()=>value : value
- };
- _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.hooks.call("modifySetAttrPayload", this, qualifiedName, payload, componentsAlias3);
- if (_alias) {
- const qualifiedNameAlias = _alias[qualifiedNameInCamelCase] || qualifiedName;
- payload.path = `${_path}.${(0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.toCamelCase)(qualifiedNameAlias)}`;
- }
- this.enqueueUpdate(payload);
- if (this.nodeName === VIEW) {
- if (qualifiedNameInCamelCase === CATCHMOVE) {
- this.enqueueUpdate({
- path: `${_path}.${"nn"}`,
- value: value ? catchViewAlias : this.isOnlyClickBinded() ? clickViewAlias : this.isAnyEventBinded() ? viewAlias : staticViewAlias
- });
- } else if (isPureView && isHasExtractProp(this)) {
- this.enqueueUpdate({
- path: `${_path}.${"nn"}`,
- value: staticViewAlias
- });
- }
- }
- }
- removeAttribute(qualifiedName) {
- const isStaticView = this.nodeName === VIEW && isHasExtractProp(this) && !this.isAnyEventBinded();
- MutationObserver2.record({
- target: this,
- type: "attributes",
- attributeName: qualifiedName,
- oldValue: this.getAttribute(qualifiedName)
- });
- if (qualifiedName === STYLE) {
- this.style.cssText = "";
- } else {
- const isInterrupt = _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.hooks.call("onRemoveAttribute", this, qualifiedName);
- if (isInterrupt) {
- return;
- }
- if (!this.props.hasOwnProperty(qualifiedName)) {
- return;
- }
- delete this.props[qualifiedName];
- }
- if (!this._root) return;
- const componentsAlias3 = getComponentsAlias2();
- const _alias = componentsAlias3[this.nodeName];
- const viewAlias = componentsAlias3[VIEW]._num;
- const staticViewAlias = componentsAlias3[STATIC_VIEW]._num;
- const pureViewAlias = componentsAlias3[PURE_VIEW]._num;
- const clickViewAlias = componentsAlias3[CLICK_VIEW]._num;
- const _path = this._path;
- qualifiedName = shortcutAttr(qualifiedName);
- const qualifiedNameInCamelCase = (0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.toCamelCase)(qualifiedName);
- const payload = {
- path: `${_path}.${qualifiedNameInCamelCase}`,
- value: ""
- };
- _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.hooks.call("modifyRmAttrPayload", this, qualifiedName, payload, componentsAlias3);
- if (_alias) {
- const qualifiedNameAlias = _alias[qualifiedNameInCamelCase] || qualifiedName;
- payload.path = `${_path}.${(0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.toCamelCase)(qualifiedNameAlias)}`;
- }
- this.enqueueUpdate(payload);
- if (this.nodeName === VIEW) {
- if (qualifiedNameInCamelCase === CATCHMOVE) {
- this.enqueueUpdate({
- path: `${_path}.${"nn"}`,
- value: this.isOnlyClickBinded() ? clickViewAlias : this.isAnyEventBinded() ? viewAlias : isHasExtractProp(this) ? staticViewAlias : pureViewAlias
- });
- } else if (isStaticView && !isHasExtractProp(this)) {
- this.enqueueUpdate({
- path: `${_path}.${"nn"}`,
- value: pureViewAlias
- });
- }
- }
- }
- getAttribute(qualifiedName) {
- const attr = qualifiedName === STYLE ? this.style.cssText : this.props[qualifiedName];
- return attr !== null && attr !== void 0 ? attr : "";
- }
- getElementsByTagName(tagName) {
- return treeToArray(this, (el)=>{
- return el.nodeName === tagName || tagName === "*" && this !== el;
- });
- }
- getElementsByClassName(className) {
- const classNames = className.trim().split(/\s+/);
- return treeToArray(this, (el)=>{
- const classList = el.classList;
- return classNames.every((c)=>classList.contains(c));
- });
- }
- dispatchEvent(event) {
- const cancelable = event.cancelable;
- const listeners = this.__handlers[event.type];
- if (!(0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.isArray)(listeners)) {
- return false;
- }
- for(let i = listeners.length; i--;){
- const listener = listeners[i];
- let result;
- if (listener._stop) {
- listener._stop = false;
- } else {
- _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.hooks.call("modifyDispatchEvent", event, this);
- result = listener.call(this, event);
- }
- if ((result === false || event._end) && cancelable) {
- event.defaultPrevented = true;
- }
- if (!(0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.isUndefined)(result) && event.mpEvent) {
- const res = _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.hooks.call("modifyTaroEventReturn", this, event, result);
- if (res) {
- event.mpEvent[EVENT_CALLBACK_RESULT] = result;
- }
- }
- if (event._end && event._stop) {
- break;
- }
- }
- if (event._stop) {
- this._stopPropagation(event);
- }
- return listeners != null;
- }
- addEventListener(type, handler, options2) {
- const name = this.nodeName;
- const SPECIAL_NODES2 = _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.hooks.call("getSpecialNodes");
- let sideEffect = true;
- if ((0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.isObject)(options2) && options2.sideEffect === false) {
- sideEffect = false;
- delete options2.sideEffect;
- }
- _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.hooks.call("modifyAddEventListener", this, sideEffect, getComponentsAlias2);
- if (sideEffect !== false && !this.isAnyEventBinded() && SPECIAL_NODES2.indexOf(name) > -1) {
- const componentsAlias3 = getComponentsAlias2();
- const alias = componentsAlias3[name]._num;
- this.enqueueUpdate({
- path: `${this._path}.${"nn"}`,
- value: alias
- });
- }
- super.addEventListener(type, handler, options2);
- }
- removeEventListener(type, handler, sideEffect = true) {
- super.removeEventListener(type, handler);
- const name = this.nodeName;
- const SPECIAL_NODES2 = _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.hooks.call("getSpecialNodes");
- _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.hooks.call("modifyRemoveEventListener", this, sideEffect, getComponentsAlias2);
- if (sideEffect !== false && !this.isAnyEventBinded() && SPECIAL_NODES2.indexOf(name) > -1) {
- const componentsAlias3 = getComponentsAlias2();
- const value = isHasExtractProp(this) ? `static-${name}` : `pure-${name}`;
- const valueAlias = componentsAlias3[value]._num;
- this.enqueueUpdate({
- path: `${this._path}.${"nn"}`,
- value: valueAlias
- });
- }
- }
- static extend(methodName, options2) {
- extend(_TaroElement, methodName, options2);
- }
- constructor(){
- super();
- this.props = {};
- this.dataset = _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.EMPTY_OBJ;
- this.nodeType = 1;
- this.style = new Style(this);
- _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.hooks.call("patchElement", this);
- }
- };
- }
-});
-// node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/options.js
-var options;
-var init_options = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_1__.__esm)({
- "node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/options.js" () {
- options = {
- prerender: true,
- debug: false
- };
- }
-});
-// node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/dom/event.js
-function createEvent(event, node) {
- if (typeof event === "string") {
- return new TaroEvent(event, {
- bubbles: true,
- cancelable: true
- });
- }
- const domEv = new TaroEvent(event.type, {
- bubbles: true,
- cancelable: true
- }, event);
- for(const key in event){
- if (key === CURRENT_TARGET || key === TARGET || key === TYPE || key === TIME_STAMP) {
- continue;
- } else {
- domEv[key] = event[key];
- }
- }
- if (domEv.type === CONFIRM && (node === null || node === void 0 ? void 0 : node.nodeName) === INPUT) {
- domEv[KEY_CODE] = 13;
- }
- return domEv;
-}
-function getEventCBResult(event) {
- const result = event[EVENT_CALLBACK_RESULT];
- if (!(0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.isUndefined)(result)) {
- delete event[EVENT_CALLBACK_RESULT];
- }
- return result;
-}
-function eventHandler(event) {
- var _a2, _b;
- event.type === void 0 && Object.defineProperty(event, "type", {
- value: event._type
- });
- event.detail === void 0 && Object.defineProperty(event, "detail", {
- value: event._detail || Object.assign({}, event)
- });
- event.currentTarget = event.currentTarget || event.target || Object.assign({}, event);
- _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.hooks.call("modifyMpEventImpl", event);
- const currentTarget = event.currentTarget;
- const id = ((_a2 = currentTarget.dataset) === null || _a2 === void 0 ? void 0 : _a2.sid) || currentTarget.id || ((_b = event.detail) === null || _b === void 0 ? void 0 : _b.id) || "";
- const node = env.document.getElementById(id);
- if (node) {
- const dispatch = ()=>{
- const e = createEvent(event, node);
- _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.hooks.call("modifyTaroEvent", e, node);
- _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.hooks.call("dispatchTaroEvent", e, node);
- _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.hooks.call("dispatchTaroEventFinish", e, node);
- };
- if (_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.hooks.isExist("batchedEventUpdates")) {
- const type = event.type;
- if (!_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.hooks.call("isBubbleEvents", type) || !isParentBinded(node, type) || type === TOUCHMOVE && !!node.props.catchMove) {
- _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.hooks.call("batchedEventUpdates", ()=>{
- if (eventsBatch[type]) {
- eventsBatch[type].forEach((fn)=>fn());
- delete eventsBatch[type];
- }
- dispatch();
- });
- return getEventCBResult(event);
- } else {
- (eventsBatch[type] || (eventsBatch[type] = [])).push(dispatch);
- }
- } else {
- dispatch();
- return getEventCBResult(event);
- }
- }
-}
-var TaroEvent, eventsBatch;
-var init_event = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_1__.__esm)({
- "node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/dom/event.js" () {
- (0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.init_dist)();
- init_constants();
- init_env();
- init_utils();
- TaroEvent = class {
- stopPropagation() {
- this._stop = true;
- }
- stopImmediatePropagation() {
- this._end = this._stop = true;
- }
- preventDefault() {
- this.defaultPrevented = true;
- }
- get target() {
- var _a2, _b, _c, _d, _e;
- const cacheTarget = this.cacheTarget;
- if (!cacheTarget) {
- const target = Object.create(((_a2 = this.mpEvent) === null || _a2 === void 0 ? void 0 : _a2.target) || null);
- const currentEle = env.document.getElementById(((_b = target.dataset) === null || _b === void 0 ? void 0 : _b.sid) || target.id || null);
- const element = env.document.getElementById(((_c = target.targetDataset) === null || _c === void 0 ? void 0 : _c.sid) || ((_d = target.dataset) === null || _d === void 0 ? void 0 : _d.sid) || target.id || null);
- target.dataset = Object.assign(Object.assign({}, currentEle !== null ? currentEle.dataset : _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.EMPTY_OBJ), element !== null ? element.dataset : _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.EMPTY_OBJ);
- for(const key in (_e = this.mpEvent) === null || _e === void 0 ? void 0 : _e.detail){
- target[key] = this.mpEvent.detail[key];
- }
- this.cacheTarget = target;
- return target;
- } else {
- return cacheTarget;
- }
- }
- get currentTarget() {
- var _a2, _b, _c, _d, _e, _f, _g, _h;
- const cacheCurrentTarget = this.cacheCurrentTarget;
- if (!cacheCurrentTarget) {
- const doc = env.document;
- const currentTarget = Object.create(((_a2 = this.mpEvent) === null || _a2 === void 0 ? void 0 : _a2.currentTarget) || null);
- const element = doc.getElementById(((_b = currentTarget.dataset) === null || _b === void 0 ? void 0 : _b.sid) || currentTarget.id || null);
- const targetElement = doc.getElementById(((_e = (_d = (_c = this.mpEvent) === null || _c === void 0 ? void 0 : _c.target) === null || _d === void 0 ? void 0 : _d.dataset) === null || _e === void 0 ? void 0 : _e.sid) || ((_g = (_f = this.mpEvent) === null || _f === void 0 ? void 0 : _f.target) === null || _g === void 0 ? void 0 : _g.id) || null);
- if (element === null || element && element === targetElement) {
- this.cacheCurrentTarget = this.target;
- return this.target;
- }
- currentTarget.dataset = element.dataset;
- for(const key in (_h = this.mpEvent) === null || _h === void 0 ? void 0 : _h.detail){
- currentTarget[key] = this.mpEvent.detail[key];
- }
- this.cacheCurrentTarget = currentTarget;
- return currentTarget;
- } else {
- return cacheCurrentTarget;
- }
- }
- constructor(type, opts, event){
- this._stop = false;
- this._end = false;
- this.defaultPrevented = false;
- this.button = 0;
- this.timeStamp = Date.now();
- this.type = type.toLowerCase();
- this.mpEvent = event;
- this.bubbles = Boolean(opts && opts.bubbles);
- this.cancelable = Boolean(opts && opts.cancelable);
- }
- };
- eventsBatch = {};
- }
-});
-// node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/dom/form.js
-var FormElement;
-var init_form = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_1__.__esm)({
- "node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/dom/form.js" () {
- init_constants();
- init_element();
- FormElement = class extends TaroElement {
- get type() {
- var _a2;
- return (_a2 = this.props[TYPE]) !== null && _a2 !== void 0 ? _a2 : "";
- }
- set type(val) {
- this.setAttribute(TYPE, val);
- }
- get value() {
- const val = this.props[VALUE];
- return val == null ? "" : val;
- }
- set value(val) {
- this.setAttribute(VALUE, val);
- }
- dispatchEvent(event) {
- if (event.mpEvent) {
- const val = event.mpEvent.detail.value;
- if (event.type === CHANGE) {
- this.props.value = val;
- } else if (event.type === INPUT) {
- this.value = val;
- }
- }
- return super.dispatchEvent(event);
- }
- };
- }
-});
-// node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/utils/lodash.js
-function throttle(fn, threshold = 250, scope) {
- let lastTime2 = 0;
- let deferTimer;
- return function(...args) {
- const context = scope || this;
- const now2 = Date.now();
- if (now2 - lastTime2 > threshold) {
- fn.apply(this, args);
- lastTime2 = now2;
- } else {
- clearTimeout(deferTimer);
- deferTimer = setTimeout(()=>{
- lastTime2 = now2;
- fn.apply(context, args);
- }, threshold);
- }
- };
-}
-function debounce(fn, ms = 250, scope) {
- let timer;
- return function(...args) {
- const context = scope || this;
- clearTimeout(timer);
- timer = setTimeout(function() {
- fn.apply(context, args);
- }, ms);
- };
-}
-var init_lodash = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_1__.__esm)({
- "node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/utils/lodash.js" () {}
-});
-// node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/perf.js
-var _Performance_instances, _Performance_parseTime, Performance, perf;
-var init_perf = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_1__.__esm)({
- "node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/perf.js" () {
- init_tslib_es6();
- init_options();
- (0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.init_dist)();
- init_constants();
- init_lodash();
- init_window();
- Performance = class {
- start(id) {
- if (!options.debug) {
- return;
- }
- this.recorder.set(id, Date.now());
- }
- stop(id, now2 = Date.now()) {
- if (!options.debug) {
- return;
- }
- const prev = this.recorder.get(id);
- if (!(prev >= 0)) return;
- this.recorder.delete(id);
- const time = now2 - prev;
- console.log(`${id} \u65F6\u957F\uFF1A ${time}ms \u5F00\u59CB\u65F6\u95F4\uFF1A${__classPrivateFieldGet(this, _Performance_instances, "m", _Performance_parseTime).call(this, prev)} \u7ED3\u675F\u65F6\u95F4\uFF1A${__classPrivateFieldGet(this, _Performance_instances, "m", _Performance_parseTime).call(this, now2)}`);
- }
- delayStop(id, delay = 500) {
- if (!options.debug) {
- return;
- }
- return debounce((now2 = Date.now(), cb)=>{
- this.stop(id, now2);
- cb === null || cb === void 0 ? void 0 : cb();
- }, delay);
- }
- constructor(){
- _Performance_instances.add(this);
- this.recorder = /* @__PURE__ */ new Map();
- }
- };
- _Performance_instances = /* @__PURE__ */ new WeakSet(), _Performance_parseTime = function _Performance_parseTime2(time) {
- const d = new Date(time);
- return `${d.getHours()}:${d.getMinutes()}:${d.getSeconds()}.${`${d.getMilliseconds()}`.padStart(3, "0")}`;
- };
- perf = new Performance();
- }
-});
-// node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/dom/root.js
-function findCustomWrapper(root, dataPathArr) {
- const list = dataPathArr.slice(1);
- let currentData = root;
- let customWrapper;
- let splitedPath = "";
- list.some((item, i)=>{
- const key = item.replace(/^\[(.+)\]$/, "$1").replace(/\bcn\b/g, "childNodes");
- currentData = currentData[key];
- if ((0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.isArray)(currentData)) {
- currentData = currentData.filter((el)=>!isComment(el));
- }
- if ((0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.isUndefined)(currentData)) return true;
- if (currentData.nodeName === CUSTOM_WRAPPER) {
- const res = customWrapperCache.get(currentData.sid);
- if (res) {
- customWrapper = res;
- splitedPath = dataPathArr.slice(i + 2).join(".");
- }
- }
- });
- if (customWrapper) {
- return {
- customWrapper,
- splitedPath
- };
- }
-}
-var TaroRootElement;
-var init_root = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_1__.__esm)({
- "node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/dom/root.js" () {
- (0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.init_dist)();
- init_constants();
- init_options();
- init_perf();
- init_utils();
- init_element();
- TaroRootElement = class extends TaroElement {
- get _path() {
- return ROOT_STR;
- }
- get _root() {
- return this;
- }
- scheduleTask(fn) {
- setTimeout(fn);
- }
- enqueueUpdate(payload) {
- this.updatePayloads.push(payload);
- if (!this.pendingUpdate && this.ctx) {
- this.performUpdate();
- }
- }
- performUpdate(initRender = false, prerender) {
- this.pendingUpdate = true;
- const ctx = _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.hooks.call("proxyToRaw", this.ctx);
- this.scheduleTask(()=>{
- const setDataMark = `${SET_DATA} \u5F00\u59CB\u65F6\u95F4\u6233 ${Date.now()}`;
- perf.start(setDataMark);
- const data = /* @__PURE__ */ Object.create(null);
- const resetPaths = new Set(initRender ? [
- "root.cn.[0]",
- "root.cn[0]"
- ] : []);
- while(this.updatePayloads.length > 0){
- const { path, value } = this.updatePayloads.shift();
- if (path.endsWith("cn")) {
- resetPaths.add(path);
- }
- data[path] = value;
- }
- for(const path in data){
- resetPaths.forEach((p)=>{
- if (path.includes(p) && path !== p) {
- delete data[path];
- }
- });
- const value = data[path];
- if ((0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.isFunction)(value)) {
- data[path] = value();
- }
- }
- if ((0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.isFunction)(prerender)) return prerender(data);
- this.pendingUpdate = false;
- let normalUpdate = {};
- const customWrapperMap = /* @__PURE__ */ new Map();
- if (initRender) {
- normalUpdate = data;
- } else {
- for(const p in data){
- const dataPathArr = p.split(".");
- const found = findCustomWrapper(this, dataPathArr);
- if (found) {
- const { customWrapper, splitedPath } = found;
- customWrapperMap.set(customWrapper, Object.assign(Object.assign({}, customWrapperMap.get(customWrapper) || {}), {
- [`i.${splitedPath}`]: data[p]
- }));
- } else {
- normalUpdate[p] = data[p];
- }
- }
- }
- const customWrapperCount = customWrapperMap.size;
- const isNeedNormalUpdate = Object.keys(normalUpdate).length > 0;
- const updateArrLen = customWrapperCount + (isNeedNormalUpdate ? 1 : 0);
- let executeTime = 0;
- const cb = ()=>{
- if (++executeTime === updateArrLen) {
- perf.stop(setDataMark);
- this.flushUpdateCallback();
- initRender && perf.stop(PAGE_INIT);
- }
- };
- if (customWrapperCount) {
- customWrapperMap.forEach((data2, ctx2)=>{
- if (options.debug) {
- console.log("custom wrapper setData: ", data2);
- }
- ctx2.setData(data2, cb);
- });
- }
- if (isNeedNormalUpdate) {
- if (options.debug) {
- console.log("page setData:", normalUpdate);
- }
- ctx.setData(normalUpdate, cb);
- }
- });
- }
- enqueueUpdateCallback(cb, ctx) {
- this.updateCallbacks.push(()=>{
- ctx ? cb.call(ctx) : cb();
- });
- }
- flushUpdateCallback() {
- const updateCallbacks = this.updateCallbacks;
- if (!updateCallbacks.length) return;
- const copies = updateCallbacks.slice(0);
- this.updateCallbacks.length = 0;
- for(let i = 0; i < copies.length; i++){
- copies[i]();
- }
- }
- constructor(){
- super();
- this.updatePayloads = [];
- this.updateCallbacks = [];
- this.pendingUpdate = false;
- this.ctx = null;
- this.nodeName = ROOT_STR;
- this.tagName = ROOT_STR.toUpperCase();
- }
- };
- }
-});
-// node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/dom/text.js
-var TaroText;
-var init_text = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_1__.__esm)({
- "node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/dom/text.js" () {
- init_mutation_observer();
- init_node();
- TaroText = class extends TaroNode {
- set textContent(text) {
- MutationObserver2.record({
- target: this,
- type: "characterData",
- oldValue: this._value
- });
- this._value = text;
- this.enqueueUpdate({
- path: `${this._path}.${"v"}`,
- value: text
- });
- }
- get textContent() {
- return this._value;
- }
- set nodeValue(text) {
- this.textContent = text;
- }
- get nodeValue() {
- return this._value;
- }
- set data(text) {
- this.textContent = text;
- }
- get data() {
- return this._value;
- }
- constructor(value){
- super();
- this.nodeType = 3;
- this.nodeName = "#text";
- this._value = value;
- }
- };
- }
-});
-// node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/dom/anchor-element.js
-var AnchorElement;
-var init_anchor_element = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_1__.__esm)({
- "node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/dom/anchor-element.js" () {
- init_URL();
- init_element();
- AnchorElement = class extends TaroElement {
- get href() {
- var _a2;
- return (_a2 = this.props["href"]) !== null && _a2 !== void 0 ? _a2 : "";
- }
- set href(val) {
- this.setAttribute("href", val);
- }
- get protocol() {
- var _a2;
- return (_a2 = this.props["protocol"]) !== null && _a2 !== void 0 ? _a2 : "";
- }
- get host() {
- var _a2;
- return (_a2 = this.props["host"]) !== null && _a2 !== void 0 ? _a2 : "";
- }
- get search() {
- var _a2;
- return (_a2 = this.props["search"]) !== null && _a2 !== void 0 ? _a2 : "";
- }
- get hash() {
- var _a2;
- return (_a2 = this.props["hash"]) !== null && _a2 !== void 0 ? _a2 : "";
- }
- get hostname() {
- var _a2;
- return (_a2 = this.props["hostname"]) !== null && _a2 !== void 0 ? _a2 : "";
- }
- get port() {
- var _a2;
- return (_a2 = this.props["port"]) !== null && _a2 !== void 0 ? _a2 : "";
- }
- get pathname() {
- var _a2;
- return (_a2 = this.props["pathname"]) !== null && _a2 !== void 0 ? _a2 : "";
- }
- setAttribute(qualifiedName, value) {
- if (qualifiedName === "href") {
- const willSetAttr = parseUrl(value);
- for(const k in willSetAttr){
- super.setAttribute(k, willSetAttr[k]);
- }
- } else {
- super.setAttribute(qualifiedName, value);
- }
- }
- };
- }
-});
-// node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/dom/transfer.js
-var TransferElement;
-var init_transfer = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_1__.__esm)({
- "node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/dom/transfer.js" () {
- init_element();
- TransferElement = class extends TaroElement {
- get _path() {
- return this.dataName;
- }
- constructor(dataName){
- super();
- this.dataName = dataName;
- this.isTransferElement = true;
- }
- };
- }
-});
-// node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/dom/document.js
-var TaroDocument;
-var init_document = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_1__.__esm)({
- "node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/dom/document.js" () {
- (0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.init_dist)();
- init_constants();
- init_element();
- init_event();
- init_event_source();
- init_form();
- init_root();
- init_text();
- init_env();
- init_anchor_element();
- init_transfer();
- TaroDocument = class extends TaroElement {
- createElement(type) {
- const nodeName = type.toLowerCase();
- let element;
- switch(true){
- case nodeName === ROOT_STR:
- element = new TaroRootElement();
- return element;
- case _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.controlledComponent.has(nodeName):
- element = new FormElement();
- break;
- case nodeName === A:
- element = new AnchorElement();
- break;
- case nodeName === "page-meta":
- case nodeName === "navigation-bar":
- element = new TransferElement((0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.toCamelCase)(nodeName));
- break;
- default:
- element = new TaroElement();
- break;
- }
- element.nodeName = nodeName;
- element.tagName = type.toUpperCase();
- return element;
- }
- // an ugly fake createElementNS to deal with @vue/runtime-dom's
- // support mounting app to svg container since vue@3.0.8
- createElementNS(_svgNS, type) {
- return this.createElement(type);
- }
- createTextNode(text) {
- return new TaroText(text);
- }
- getElementById(id) {
- const el = eventSource.get(id);
- return (0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.isUndefined)(el) ? null : el;
- }
- querySelector(query) {
- if (/^#/.test(query)) {
- return this.getElementById(query.slice(1));
- }
- return null;
- }
- querySelectorAll() {
- return [];
- }
- // @TODO: @PERF: 在 hydrate 移除掉空的 node
- createComment() {
- const textnode = new TaroText("");
- textnode.nodeName = COMMENT;
- return textnode;
- }
- get defaultView() {
- return env.window;
- }
- constructor(){
- super();
- this.createEvent = createEvent;
- this.nodeType = 9;
- this.nodeName = DOCUMENT_ELEMENT_NAME;
- }
- };
- }
-});
-// node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/bom/document.js
-function createDocument() {
- const doc = new TaroDocument();
- const documentCreateElement = doc.createElement.bind(doc);
- const html = documentCreateElement(HTML);
- const head = documentCreateElement(HEAD);
- const body = documentCreateElement(BODY);
- const app = documentCreateElement(APP);
- app.id = APP;
- const container = documentCreateElement(CONTAINER);
- doc.appendChild(html);
- html.appendChild(head);
- html.appendChild(body);
- body.appendChild(container);
- container.appendChild(app);
- doc.documentElement = html;
- doc.head = head;
- doc.body = body;
- return doc;
-}
-var taroDocumentProvider;
-var init_document2 = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_1__.__esm)({
- "node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/bom/document.js" () {
- init_constants();
- init_document();
- init_env();
- taroDocumentProvider = false ? 0 : env.document = createDocument();
- }
-});
-// node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/dom/svg.js
-var SVGElement;
-var init_svg = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_1__.__esm)({
- "node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/dom/svg.js" () {
- init_element();
- SVGElement = class extends TaroElement {
- };
- }
-});
-// node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/utils/router.js
-var addLeadingSlash, hasBasename, stripBasename, stripTrailing, stripSuffix, getHomePage, getCurrentPage;
-var init_router = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_1__.__esm)({
- "node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/utils/router.js" () {
- init_window();
- addLeadingSlash = (url = "")=>url.charAt(0) === "/" ? url : "/" + url;
- hasBasename = (path = "", prefix = "")=>new RegExp("^" + prefix + "(\\/|\\?|#|$)", "i").test(path) || path === prefix;
- stripBasename = (path = "", prefix = "")=>hasBasename(path, prefix) ? path.substring(prefix.length) : path;
- stripTrailing = (str = "")=>str.replace(/[?#][\s\S]*$/, "");
- stripSuffix = (path = "", suffix = "")=>path.includes(suffix) ? path.substring(0, path.length - suffix.length) : path;
- getHomePage = (path = "", basename = "", customRoutes = {}, entryPagePath = "")=>{
- var _a2;
- const routePath = addLeadingSlash(stripBasename(path, basename));
- const alias = ((_a2 = Object.entries(customRoutes).find(([key])=>key === routePath)) === null || _a2 === void 0 ? void 0 : _a2[1]) || routePath;
- return entryPagePath || (typeof alias === "string" ? alias : alias[0]) || basename;
- };
- getCurrentPage = (routerMode = "hash", basename = "/")=>{
- const pagePath = routerMode === "hash" ? taroLocationProvider.hash.slice(1).split("?")[0] : taroLocationProvider.pathname;
- return addLeadingSlash(stripBasename(pagePath, basename));
- };
- }
-});
-// node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/dsl/common.js
-function injectPageInstance(inst, id) {
- _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.hooks.call("mergePageInstance", instances.get(id), inst);
- instances.set(id, inst);
-}
-function getPageInstance(id) {
- return instances.get(id);
-}
-function removePageInstance(id) {
- instances.delete(id);
-}
-function safeExecute(path, lifecycle, ...args) {
- const instance = instances.get(path);
- if (instance == null) {
- return;
- }
- const func = _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.hooks.call("getLifecycle", instance, lifecycle);
- if ((0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.isArray)(func)) {
- const res = func.map((fn)=>fn.apply(instance, args));
- return res[0];
- }
- if (!(0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.isFunction)(func)) {
- return;
- }
- return func.apply(instance, args);
-}
-function stringify(obj) {
- if (obj == null) {
- return "";
- }
- const path = Object.keys(obj).map((key)=>{
- return key + "=" + obj[key];
- }).join("&");
- return path === "" ? path : "?" + path;
-}
-function getPath(id, options2) {
- const idx = id.indexOf("?");
- if (false) {} else {
- return `${idx > -1 ? id.substring(0, idx) : id}${stringify(options2)}`;
- }
-}
-function getOnReadyEventKey(path) {
- return path + "." + ON_READY;
-}
-function getOnShowEventKey(path) {
- return path + "." + ON_SHOW;
-}
-function getOnHideEventKey(path) {
- return path + "." + ON_HIDE;
-}
-function createPageConfig(component, pageName, data, pageConfig) {
- const id = pageName !== null && pageName !== void 0 ? pageName : `taro_page_${pageId()}`;
- const [ONLOAD, ONUNLOAD, ONREADY, ONSHOW, ONHIDE, LIFECYCLES, SIDE_EFFECT_LIFECYCLES] = _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.hooks.call("getMiniLifecycleImpl").page;
- let pageElement = null;
- let unmounting = false;
- let prepareMountList = [];
- function setCurrentRouter(page) {
- const router = false ? 0 : page.route || page.__route__ || page.$taroPath;
- Current.router = {
- params: page.$taroParams,
- path: addLeadingSlash(router),
- $taroPath: page.$taroPath,
- onReady: getOnReadyEventKey(id),
- onShow: getOnShowEventKey(id),
- onHide: getOnHideEventKey(id)
- };
- if (!(0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.isUndefined)(page.exitState)) {
- Current.router.exitState = page.exitState;
- }
- }
- let loadResolver;
- let hasLoaded;
- const config = {
- [ONLOAD] (options2 = {}, cb) {
- hasLoaded = new Promise((resolve)=>{
- loadResolver = resolve;
- });
- perf.start(PAGE_INIT);
- Current.page = this;
- this.config = pageConfig || {};
- const uniqueOptions = Object.assign({}, options2, {
- $taroTimestamp: Date.now()
- });
- const $taroPath = this.$taroPath = getPath(id, uniqueOptions);
- if (false) {}
- if (this.$taroParams == null) {
- this.$taroParams = uniqueOptions;
- }
- setCurrentRouter(this);
- if (true) {
- taroWindowProvider.trigger(CONTEXT_ACTIONS.INIT, $taroPath);
- }
- const mount = ()=>{
- Current.app.mount(component, $taroPath, ()=>{
- pageElement = env.document.getElementById($taroPath);
- (0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.ensure)(pageElement !== null, "\u6CA1\u6709\u627E\u5230\u9875\u9762\u5B9E\u4F8B\u3002");
- safeExecute($taroPath, ON_LOAD, this.$taroParams);
- loadResolver();
- if (true) {
- pageElement.ctx = this;
- pageElement.performUpdate(true, cb);
- } else {}
- });
- };
- if (unmounting) {
- prepareMountList.push(mount);
- } else {
- mount();
- }
- },
- [ONUNLOAD] () {
- const $taroPath = this.$taroPath;
- if (true) {
- taroWindowProvider.trigger(CONTEXT_ACTIONS.DESTORY, $taroPath);
- }
- safeExecute($taroPath, ONUNLOAD);
- unmounting = true;
- Current.app.unmount($taroPath, ()=>{
- unmounting = false;
- instances.delete($taroPath);
- if (pageElement) {
- pageElement.ctx = null;
- pageElement = null;
- }
- if (prepareMountList.length) {
- prepareMountList.forEach((fn)=>fn());
- prepareMountList = [];
- }
- });
- },
- [ONREADY] () {
- hasLoaded.then(()=>{
- safeExecute(this.$taroPath, ON_READY);
- _raf(()=>eventCenter.trigger(getOnReadyEventKey(id)));
- this.onReady.called = true;
- });
- },
- [ONSHOW] (options2 = {}) {
- hasLoaded.then(()=>{
- Current.page = this;
- setCurrentRouter(this);
- if (true) {
- taroWindowProvider.trigger(CONTEXT_ACTIONS.RECOVER, this.$taroPath);
- }
- safeExecute(this.$taroPath, ON_SHOW, options2);
- _raf(()=>eventCenter.trigger(getOnShowEventKey(id)));
- });
- },
- [ONHIDE] () {
- if (true) {
- taroWindowProvider.trigger(CONTEXT_ACTIONS.RESTORE, this.$taroPath);
- }
- if (Current.page === this) {
- Current.page = null;
- Current.router = null;
- }
- safeExecute(this.$taroPath, ON_HIDE);
- eventCenter.trigger(getOnHideEventKey(id));
- }
- };
- if (false) {}
- LIFECYCLES.forEach((lifecycle)=>{
- let isDefer = false;
- lifecycle = lifecycle.replace(/^defer:/, ()=>{
- isDefer = true;
- return "";
- });
- config[lifecycle] = function() {
- const exec = ()=>safeExecute(this.$taroPath, lifecycle, ...arguments);
- if (isDefer) {
- hasLoaded.then(exec);
- } else {
- return exec();
- }
- };
- });
- SIDE_EFFECT_LIFECYCLES.forEach((lifecycle)=>{
- var _a2;
- if (component[lifecycle] || ((_a2 = component.prototype) === null || _a2 === void 0 ? void 0 : _a2[lifecycle]) || component[lifecycle.replace(/^on/, "enable")] || (pageConfig === null || pageConfig === void 0 ? void 0 : pageConfig[lifecycle.replace(/^on/, "enable")])) {
- config[lifecycle] = function(...args) {
- var _a3;
- const target = (_a3 = args[0]) === null || _a3 === void 0 ? void 0 : _a3.target;
- if (target === null || target === void 0 ? void 0 : target.id) {
- const id2 = target.id;
- const element = env.document.getElementById(id2);
- if (element) {
- target.dataset = element.dataset;
- }
- }
- return safeExecute(this.$taroPath, lifecycle, ...args);
- };
- }
- });
- config.eh = eventHandler;
- if (!(0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.isUndefined)(data)) {
- config.data = data;
- }
- _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.hooks.call("modifyPageObject", config);
- return config;
-}
-function createComponentConfig(component, componentName, data) {
- const id = componentName !== null && componentName !== void 0 ? componentName : `taro_component_${pageId()}`;
- let componentElement = null;
- const [ATTACHED, DETACHED] = _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.hooks.call("getMiniLifecycleImpl").component;
- const config = {
- [ATTACHED] () {
- var _a2;
- perf.start(PAGE_INIT);
- this.pageIdCache = ((_a2 = this.getPageId) === null || _a2 === void 0 ? void 0 : _a2.call(this)) || pageId();
- const path = getPath(id, {
- id: this.pageIdCache
- });
- Current.app.mount(component, path, ()=>{
- componentElement = env.document.getElementById(path);
- (0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.ensure)(componentElement !== null, "\u6CA1\u6709\u627E\u5230\u7EC4\u4EF6\u5B9E\u4F8B\u3002");
- this.$taroInstances = instances.get(path);
- safeExecute(path, ON_LOAD);
- if (true) {
- componentElement.ctx = this;
- componentElement.performUpdate(true);
- }
- });
- },
- [DETACHED] () {
- const path = getPath(id, {
- id: this.pageIdCache
- });
- Current.app.unmount(path, ()=>{
- instances.delete(path);
- if (componentElement) {
- componentElement.ctx = null;
- }
- });
- },
- methods: {
- eh: eventHandler
- }
- };
- if (!(0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.isUndefined)(data)) {
- config.data = data;
- }
- [
- OPTIONS,
- EXTERNAL_CLASSES,
- BEHAVIORS
- ].forEach((key)=>{
- var _a2;
- config[key] = (_a2 = component[key]) !== null && _a2 !== void 0 ? _a2 : _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.EMPTY_OBJ;
- });
- return config;
-}
-function createRecursiveComponentConfig(componentName) {
- const isCustomWrapper = componentName === CUSTOM_WRAPPER;
- const [ATTACHED, DETACHED] = _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.hooks.call("getMiniLifecycleImpl").component;
- const lifeCycles = isCustomWrapper ? {
- [ATTACHED] () {
- var _a2, _b;
- const componentId = ((_a2 = this.data.i) === null || _a2 === void 0 ? void 0 : _a2.sid) || ((_b = this.props.i) === null || _b === void 0 ? void 0 : _b.sid);
- if ((0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.isString)(componentId)) {
- customWrapperCache.set(componentId, this);
- const el = env.document.getElementById(componentId);
- if (el) {
- el.ctx = this;
- }
- }
- },
- [DETACHED] () {
- var _a2, _b;
- const componentId = ((_a2 = this.data.i) === null || _a2 === void 0 ? void 0 : _a2.sid) || ((_b = this.props.i) === null || _b === void 0 ? void 0 : _b.sid);
- if ((0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.isString)(componentId)) {
- customWrapperCache.delete(componentId);
- const el = env.document.getElementById(componentId);
- if (el) {
- el.ctx = null;
- }
- }
- }
- } : _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.EMPTY_OBJ;
- return _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.hooks.call("modifyRecursiveComponentConfig", Object.assign({
- properties: {
- i: {
- type: Object,
- value: {
- ["nn"]: (0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.getComponentsAlias)(_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.internalComponents)[VIEW]._num
- }
- },
- l: {
- type: String,
- value: ""
- }
- },
- options: {
- virtualHost: !isCustomWrapper
- },
- methods: {
- eh: eventHandler
- }
- }, lifeCycles), {
- isCustomWrapper
- });
-}
-var instances, pageId;
-var init_common = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_1__.__esm)({
- "node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/dsl/common.js" () {
- (0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.init_dist)();
- init_raf();
- init_window();
- init_constants();
- init_current();
- init_event();
- init_emitter();
- init_env();
- init_perf();
- init_utils();
- init_router();
- instances = /* @__PURE__ */ new Map();
- pageId = incrementId();
- }
-});
-// node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/next-tick.js
-var TIMEOUT, nextTick;
-var init_next_tick = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_1__.__esm)({
- "node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/next-tick.js" () {
- init_current();
- init_env();
- TIMEOUT = 100;
- nextTick = (cb, ctx)=>{
- const beginTime = Date.now();
- const router = Current.router;
- const timerFunc = ()=>{
- setTimeout(function() {
- ctx ? cb.call(ctx) : cb();
- }, 1);
- };
- if (router === null) return timerFunc();
- const path = router.$taroPath;
- function next() {
- var _a2, _b, _c;
- const pageElement = env.document.getElementById(path);
- if (pageElement === null || pageElement === void 0 ? void 0 : pageElement.pendingUpdate) {
- if (false) {} else {
- pageElement.enqueueUpdateCallback(cb, ctx);
- }
- } else if (Date.now() - beginTime > TIMEOUT) {
- timerFunc();
- } else {
- setTimeout(()=>next(), 20);
- }
- }
- next();
- };
- }
-});
-// node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/polyfill/array.js
-var init_array = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_1__.__esm)({
- "node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/polyfill/array.js" () {
- (0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.init_dist)();
- }
-});
-// node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/polyfill/intersection-observer.js
-var init_intersection_observer = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_1__.__esm)({
- "node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/polyfill/intersection-observer.js" () {
- (0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.init_dist)();
- init_constants();
- init_lodash();
- init_window();
- }
-});
-// node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/polyfill/object.js
-var init_object = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_1__.__esm)({
- "node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/polyfill/object.js" () {
- (0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.init_dist)();
- }
-});
-// node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/polyfill/index.js
-function handlePolyfill() {
- if (false) {}
- if (false) {}
- if (false) {}
- if (false) {}
- if (false) {}
- if (false) {}
-}
-var init_polyfill = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_1__.__esm)({
- "node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/polyfill/index.js" () {
- (0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.init_dist)();
- init_array();
- init_intersection_observer();
- init_object();
- if (false) {}
- }
-});
-// node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/dom-external/inner-html/scaner.js
-function initPosition() {
- return {
- index: 0,
- column: 0,
- line: 0
- };
-}
-function feedPosition(position, str, len) {
- const start = position.index;
- const end = position.index = start + len;
- for(let i = start; i < end; i++){
- const char = str.charAt(i);
- if (char === "\n") {
- position.line++;
- position.column = 0;
- } else {
- position.column++;
- }
- }
-}
-function jumpPosition(position, str, end) {
- const len = end - position.index;
- return feedPosition(position, str, len);
-}
-function copyPosition(position) {
- return {
- index: position.index,
- line: position.line,
- column: position.column
- };
-}
-function isWhitespaceChar(char) {
- return whitespace.test(char);
-}
-function isEqualSignChar(char) {
- return equalSign.test(char);
-}
-function shouldBeIgnore(tagName) {
- const name = tagName.toLowerCase();
- if (options.html.skipElements.has(name)) {
- return true;
- }
- return false;
-}
-function findTextEnd(str, index) {
- while(true){
- const textEnd = str.indexOf("<", index);
- if (textEnd === -1) {
- return textEnd;
- }
- const char = str.charAt(textEnd + 1);
- if (char === "/" || char === "!" || alphanumeric.test(char)) {
- return textEnd;
- }
- index = textEnd + 1;
- }
-}
-function isWordEnd(cursor, wordBegin, html) {
- if (!isWhitespaceChar(html.charAt(cursor))) return false;
- const len = html.length;
- for(let i = cursor - 1; i > wordBegin; i--){
- const char = html.charAt(i);
- if (!isWhitespaceChar(char)) {
- if (isEqualSignChar(char)) return false;
- break;
- }
- }
- for(let i = cursor + 1; i < len; i++){
- const char = html.charAt(i);
- if (!isWhitespaceChar(char)) {
- if (isEqualSignChar(char)) return false;
- return true;
- }
- }
-}
-var whitespace, equalSign, alphanumeric, Scaner;
-var init_scaner = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_1__.__esm)({
- "node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/dom-external/inner-html/scaner.js" () {
- init_options();
- whitespace = /\s/;
- equalSign = /=/;
- alphanumeric = /[A-Za-z0-9]/;
- Scaner = class {
- scan() {
- const { html, position } = this;
- const len = html.length;
- while(position.index < len){
- const start = position.index;
- this.scanText();
- if (position.index === start) {
- const isComment2 = html.startsWith("!--", start + 1);
- if (isComment2) {
- this.scanComment();
- } else {
- const tagName = this.scanTag();
- if (shouldBeIgnore(tagName)) {
- this.scanSkipTag(tagName);
- }
- }
- }
- }
- return this.tokens;
- }
- scanText() {
- const type = "text";
- const { html, position } = this;
- let textEnd = findTextEnd(html, position.index);
- if (textEnd === position.index) {
- return;
- }
- if (textEnd === -1) {
- textEnd = html.length;
- }
- const start = copyPosition(position);
- const content = html.slice(position.index, textEnd);
- jumpPosition(position, html, textEnd);
- const end = copyPosition(position);
- this.tokens.push({
- type,
- content,
- position: {
- start,
- end
- }
- });
- }
- scanComment() {
- const type = "comment";
- const { html, position } = this;
- const start = copyPosition(position);
- feedPosition(position, html, 4);
- let contentEnd = html.indexOf("-->", position.index);
- let commentEnd = contentEnd + 3;
- if (contentEnd === -1) {
- contentEnd = commentEnd = html.length;
- }
- const content = html.slice(position.index, contentEnd);
- jumpPosition(position, html, commentEnd);
- this.tokens.push({
- type,
- content,
- position: {
- start,
- end: copyPosition(position)
- }
- });
- }
- scanTag() {
- this.scanTagStart();
- const tagName = this.scanTagName();
- this.scanAttrs();
- this.scanTagEnd();
- return tagName;
- }
- scanTagStart() {
- const type = "tag-start";
- const { html, position } = this;
- const secondChar = html.charAt(position.index + 1);
- const close = secondChar === "/";
- const start = copyPosition(position);
- feedPosition(position, html, close ? 2 : 1);
- this.tokens.push({
- type,
- close,
- position: {
- start
- }
- });
- }
- scanTagEnd() {
- const type = "tag-end";
- const { html, position } = this;
- const firstChar = html.charAt(position.index);
- const close = firstChar === "/";
- feedPosition(position, html, close ? 2 : 1);
- const end = copyPosition(position);
- this.tokens.push({
- type,
- close,
- position: {
- end
- }
- });
- }
- scanTagName() {
- const type = "tag";
- const { html, position } = this;
- const len = html.length;
- let start = position.index;
- while(start < len){
- const char = html.charAt(start);
- const isTagChar = !(isWhitespaceChar(char) || char === "/" || char === ">");
- if (isTagChar) break;
- start++;
- }
- let end = start + 1;
- while(end < len){
- const char = html.charAt(end);
- const isTagChar = !(isWhitespaceChar(char) || char === "/" || char === ">");
- if (!isTagChar) break;
- end++;
- }
- jumpPosition(position, html, end);
- const tagName = html.slice(start, end);
- this.tokens.push({
- type,
- content: tagName
- });
- return tagName;
- }
- scanAttrs() {
- const { html, position, tokens } = this;
- let cursor = position.index;
- let quote = null;
- let wordBegin = cursor;
- const words = [];
- const len = html.length;
- while(cursor < len){
- const char = html.charAt(cursor);
- if (quote) {
- const isQuoteEnd = char === quote;
- if (isQuoteEnd) {
- quote = null;
- }
- cursor++;
- continue;
- }
- const isTagEnd = char === "/" || char === ">";
- if (isTagEnd) {
- if (cursor !== wordBegin) {
- words.push(html.slice(wordBegin, cursor));
- }
- break;
- }
- if (isWordEnd(cursor, wordBegin, html)) {
- if (cursor !== wordBegin) {
- words.push(html.slice(wordBegin, cursor));
- }
- wordBegin = cursor + 1;
- cursor++;
- continue;
- }
- const isQuoteStart = char === "'" || char === '"';
- if (isQuoteStart) {
- quote = char;
- cursor++;
- continue;
- }
- cursor++;
- }
- jumpPosition(position, html, cursor);
- const wLen = words.length;
- const type = "attribute";
- for(let i = 0; i < wLen; i++){
- const word = words[i];
- const isNotPair = word.includes("=");
- if (isNotPair) {
- const secondWord = words[i + 1];
- if (secondWord && secondWord.startsWith("=")) {
- if (secondWord.length > 1) {
- const newWord = word + secondWord;
- tokens.push({
- type,
- content: newWord
- });
- i += 1;
- continue;
- }
- const thirdWord = words[i + 2];
- i += 1;
- if (thirdWord) {
- const newWord = word + "=" + thirdWord;
- tokens.push({
- type,
- content: newWord
- });
- i += 1;
- continue;
- }
- }
- }
- if (word.endsWith("=")) {
- const secondWord = words[i + 1];
- if (secondWord && !secondWord.includes("=")) {
- const newWord2 = word + secondWord;
- tokens.push({
- type,
- content: newWord2
- });
- i += 1;
- continue;
- }
- const newWord = word.slice(0, -1);
- tokens.push({
- type,
- content: newWord
- });
- continue;
- }
- tokens.push({
- type,
- content: word
- });
- }
- }
- scanSkipTag(tagName) {
- const { html, position } = this;
- const safeTagName = tagName.toLowerCase();
- const len = html.length;
- while(position.index < len){
- const nextTag = html.indexOf("", position.index);
- if (nextTag === -1) {
- this.scanText();
- break;
- }
- jumpPosition(position, html, nextTag);
- const name = this.scanTag();
- if (safeTagName === name.toLowerCase()) {
- break;
- }
- }
- }
- constructor(html){
- this.tokens = [];
- this.position = initPosition();
- this.html = html;
- }
- };
- }
-});
-// node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/dom-external/inner-html/utils.js
-function unquote(str) {
- const car = str.charAt(0);
- const end = str.length - 1;
- const isQuoteStart = car === '"' || car === "'";
- if (isQuoteStart && car === str.charAt(end)) {
- return str.slice(1, end);
- }
- return str;
-}
-var init_utils2 = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_1__.__esm)({
- "node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/dom-external/inner-html/utils.js" () {}
-});
-// node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/dom-external/inner-html/style.js
-function getPreviousElement(el) {
- const parent = el.parentElement;
- if (!parent) return null;
- const prev = el.previousSibling;
- if (!prev) return null;
- if (prev.nodeType === 1) {
- return prev;
- } else {
- return getPreviousElement(prev);
- }
-}
-function sortStyles(styles) {
- return styles.sort((s1, s2)=>{
- const hundreds1 = getHundredsWeight(s1.selectorList);
- const hundreds2 = getHundredsWeight(s2.selectorList);
- if (hundreds1 !== hundreds2) return hundreds1 - hundreds2;
- const tens1 = getTensWeight(s1.selectorList);
- const tens2 = getTensWeight(s2.selectorList);
- if (tens1 !== tens2) return tens1 - tens2;
- const ones1 = getOnesWeight(s1.selectorList);
- const ones2 = getOnesWeight(s2.selectorList);
- return ones1 - ones2;
- });
-}
-function getHundredsWeight(selectors) {
- return selectors.reduce((pre, cur)=>pre + (cur.id ? 1 : 0), 0);
-}
-function getTensWeight(selectors) {
- return selectors.reduce((pre, cur)=>pre + cur.class.length + cur.attrs.length, 0);
-}
-function getOnesWeight(selectors) {
- return selectors.reduce((pre, cur)=>pre + (cur.tag ? 1 : 0), 0);
-}
-var LEFT_BRACKET, RIGHT_BRACKET, CLASS_SELECTOR, ID_SELECTOR, CHILD_COMBINATOR, GENERAL_SIBLING_COMBINATOR, ADJACENT_SIBLING_COMBINATOR, StyleTagParser;
-var init_style2 = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_1__.__esm)({
- "node_modules/.pnpm/@tarojs+runtime@4.0.8/node_modules/@tarojs/runtime/dist/dom-external/inner-html/style.js" () {
- init_utils2();
- LEFT_BRACKET = "{";
- RIGHT_BRACKET = "}";
- CLASS_SELECTOR = ".";
- ID_SELECTOR = "#";
- CHILD_COMBINATOR = ">";
- GENERAL_SIBLING_COMBINATOR = "~";
- ADJACENT_SIBLING_COMBINATOR = "+";
- StyleTagParser = class {
- extractStyle(src) {
- const REG_STYLE = /