"use strict"; require("./prebundle/vendors-node_modules_taro_weapp_prebundle_chunk-TQO5S7WL_js.js"); require("./prebundle/vendors-node_modules_taro_weapp_prebundle_chunk-WRSQ3V3E_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_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.91.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.91.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_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @tarojs/runtime */ "webpack/container/remote/@tarojs/runtime"); /* harmony import */ var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_tarojs_runtime__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var _tarojs_plugin_framework_react_dist_runtime__WEBPACK_IMPORTED_MODULE_2__ = __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_2___default = /*#__PURE__*/__webpack_require__.n(_tarojs_plugin_framework_react_dist_runtime__WEBPACK_IMPORTED_MODULE_2__); /* 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 _node_modules_pnpm_tarojs_taro_loader_4_0_8_webpack_5_91_0_swc_core_1_3_96_node_modules_tarojs_taro_loader_lib_entry_cache_js_name_app_app_jsx__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !!../node_modules/.pnpm/@tarojs+taro-loader@4.0.8_webpack@5.91.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.91.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_5__ = __webpack_require__(/*! react */ "webpack/container/remote/react"); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__); /* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react-dom */ "webpack/container/remote/react-dom"); /* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(react_dom__WEBPACK_IMPORTED_MODULE_6__); 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_1__.window.__taroAppConfig = config var inst = App((0,_tarojs_plugin_framework_react_dist_runtime__WEBPACK_IMPORTED_MODULE_2__.createReactApp)(_node_modules_pnpm_tarojs_taro_loader_4_0_8_webpack_5_91_0_swc_core_1_3_96_node_modules_tarojs_taro_loader_lib_entry_cache_js_name_app_app_jsx__WEBPACK_IMPORTED_MODULE_4__["default"], react__WEBPACK_IMPORTED_MODULE_5__, (react_dom__WEBPACK_IMPORTED_MODULE_6___default()), config)) ;(0,_tarojs_taro__WEBPACK_IMPORTED_MODULE_3__.initPxTransform)({ designWidth: 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