/*
 * ATTENTION: An "eval-source-map" devtool has been used.
 * This devtool is neither made for production nor for readable output files.
 * It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools.
 * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
 * or disable the default devtool with "devtool: false".
 * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
 */
(self["webpackChunknocode_platform"] = self["webpackChunknocode_platform"] || []).push([[6080],{

/***/ "./src/mobile/layout/apps/detail/MobileFlowDetailFooter.less":
/*!*******************************************************************!*\
  !*** ./src/mobile/layout/apps/detail/MobileFlowDetailFooter.less ***!
  \*******************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"footer\":\"jH6vBe3z_footer\",\"footer_morepanel\":\"_3xO81pl8_footer_morepanel\",\"footer_btn\":\"lVD7G3F9_footer_btn\",\"modal_btn\":\"aL5Kr-Py_modal_btn\",\"err\":\"hZmbxDx6_err\",\"pop\":\"N4uBMxnx_pop\",\"modal_body\":\"-rpyY+M5_modal_body\",\"input\":\"WRAYX41C_input\"});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvbW9iaWxlL2xheW91dC9hcHBzL2RldGFpbC9Nb2JpbGVGbG93RGV0YWlsRm9vdGVyLmxlc3MiLCJtYXBwaW5ncyI6IjtBQUFBO0FBQ0EiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9ub2NvZGUtcGxhdGZvcm0vLi9zcmMvbW9iaWxlL2xheW91dC9hcHBzL2RldGFpbC9Nb2JpbGVGbG93RGV0YWlsRm9vdGVyLmxlc3M/OTU4ZiJdLCJzb3VyY2VzQ29udGVudCI6WyIvLyBleHRyYWN0ZWQgYnkgbWluaS1jc3MtZXh0cmFjdC1wbHVnaW5cbmV4cG9ydCBkZWZhdWx0IHtcImZvb3RlclwiOlwiakg2dkJlM3pfZm9vdGVyXCIsXCJmb290ZXJfbW9yZXBhbmVsXCI6XCJfM3hPODFwbDhfZm9vdGVyX21vcmVwYW5lbFwiLFwiZm9vdGVyX2J0blwiOlwibFZEN0czRjlfZm9vdGVyX2J0blwiLFwibW9kYWxfYnRuXCI6XCJhTDVLci1QeV9tb2RhbF9idG5cIixcImVyclwiOlwiaFptYnhEeDZfZXJyXCIsXCJwb3BcIjpcIk40dUJNeG54X3BvcFwiLFwibW9kYWxfYm9keVwiOlwiLXJweVkrTTVfbW9kYWxfYm9keVwiLFwiaW5wdXRcIjpcIldSQVlYNDFDX2lucHV0XCJ9OyJdLCJuYW1lcyI6W10sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./src/mobile/layout/apps/detail/MobileFlowDetailFooter.less\n");

/***/ }),

/***/ "./src/mobile/pages/apps/detail/MobileFlowDetailPage.less":
/*!****************************************************************!*\
  !*** ./src/mobile/pages/apps/detail/MobileFlowDetailPage.less ***!
  \****************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"container\":\"giKco2LC_container\",\"main\":\"DAicFDlH_main\",\"form_detail\":\"PCN1Yogy_form_detail\",\"form_box\":\"td4kxZ40_form_box\",\"flow_status\":\"_0KmFXOgZ_flow_status\",\"small\":\"CCnM5mh9_small\",\"large\":\"cHSew3fc_large\",\"running\":\"dAnwlKnN_running\",\"end\":\"waeBKkER_end\",\"withdraw\":\"Cw7PbdwV_withdraw\",\"terminate\":\"Z4tPjB4P_terminate\",\"exception_terminate\":\"bspAVv78_exception_terminate\",\"load_more\":\"uJOh9PF7_load_more\"});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIj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less\n");

/***/ }),

/***/ "./src/constants/flowConstants.ts":
/*!****************************************!*\
  !*** ./src/constants/flowConstants.ts ***!
  \****************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\n\nvar _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-property */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/define-property.js\");\n_Object$defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports.FLOW_ACTION_TYPES = void 0;\nvar FLOW_ACTION_TYPES = exports.FLOW_ACTION_TYPES = {\n  consent: 'Consent',\n  // 同意\n  terminate: 'Terminate',\n  // 否决\n  reject: 'Reject',\n  // 驳回\n  cancel: 'TaskCancel' // 驳回\n};//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvY29uc3RhbnRzL2Zsb3dDb25zdGFudHMudHMiLCJtYXBwaW5ncyI6Ijs7Ozs7OztBQUFBO0FBQ0E7QUFBQTtBQUNBO0FBQUE7QUFDQTtBQUFBO0FBQ0E7QUFDQSIsInNvdXJjZXMiOlsid2VicGFjazovL25vY29kZS1wbGF0Zm9ybS8uL3NyYy9jb25zdGFudHMvZmxvd0NvbnN0YW50cy50cz81NzZjIl0sInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBjb25zdCBGTE9XX0FDVElPTl9UWVBFUyA9IHtcbiAgY29uc2VudDogJ0NvbnNlbnQnLCAvLyDlkIzmhI9cbiAgdGVybWluYXRlOiAnVGVybWluYXRlJywgLy8g5ZCm5YazXG4gIHJlamVjdDogJ1JlamVjdCcsIC8vIOmps+WbnlxuICBjYW5jZWw6ICdUYXNrQ2FuY2VsJyAvLyDpqbPlm55cbn1cbiJdLCJuYW1lcyI6W10sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./src/constants/flowConstants.ts\n");

/***/ }),

/***/ "./src/hooks/useResizeObserver.ts":
/*!****************************************!*\
  !*** ./src/hooks/useResizeObserver.ts ***!
  \****************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\n\nvar _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-property */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/define-property.js\");\nvar _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs3/helpers/interopRequireDefault */ \"../../node_modules/@babel/runtime-corejs3/helpers/interopRequireDefault.js\");\n_Object$defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports[\"default\"] = useResizeObserver;\nvar _react = __webpack_require__(/*! kd_libs/react */ \"webpack/container/remote/kd_libs/react\");\nvar _resizeObserverPolyfill = _interopRequireDefault(__webpack_require__(/*! resize-observer-polyfill */ \"../../node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js\"));\n/*\n @param:id,元素属性值\n @param：refName，指定id值的ele属性，默认为id\n */\nfunction useResizeObserver(element, handler) {\n  (0, _react.useEffect)(function () {\n    if (!element) {\n      console.warn('useResizeMeasure指定的元素不存在');\n      return;\n    }\n    var resizeObserver = element && new _resizeObserverPolyfill.default(handler);\n    resizeObserver && resizeObserver.observe(element);\n    return function () {\n      resizeObserver && resizeObserver.disconnect(element);\n    };\n  }, [element, handler]);\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvaG9va3MvdXNlUmVzaXplT2JzZXJ2ZXIudHMiLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7QUFDQTtBQUNBO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSIsInNvdXJjZXMiOlsid2VicGFjazovL25vY29kZS1wbGF0Zm9ybS8uL3NyYy9ob29rcy91c2VSZXNpemVPYnNlcnZlci50cz84NDQ4Il0sInNvdXJjZXNDb250ZW50IjpbIlxuaW1wb3J0IHsgUmVhY3ROb2RlLCB1c2VFZmZlY3QgfSBmcm9tICdyZWFjdCdcbmltcG9ydCBSZXNpemVPYnNlcnZlciBmcm9tICdyZXNpemUtb2JzZXJ2ZXItcG9seWZpbGwnXG5cbi8qXG4gQHBhcmFtOmlkLOWFg+e0oOWxnuaAp+WAvFxuIEBwYXJhbe+8mnJlZk5hbWXvvIzmjIflrpppZOWAvOeahGVsZeWxnuaAp++8jOm7mOiupOS4umlkXG4gKi9cbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uIHVzZVJlc2l6ZU9ic2VydmVyIChlbGVtZW50OlJlYWN0Tm9kZSwgaGFuZGxlcjooZW50aXR5OmFueVtdKT0+dm9pZCkge1xuICB1c2VFZmZlY3QoKCkgPT4ge1xuICAgIGlmICghZWxlbWVudCkge1xuICAgICAgY29uc29sZS53YXJuKCd1c2VSZXNpemVNZWFzdXJl5oyH5a6a55qE5YWD57Sg5LiN5a2Y5ZyoJylcbiAgICAgIHJldHVyblxuICAgIH1cbiAgICBjb25zdCByZXNpemVPYnNlcnZlciA9IGVsZW1lbnQgJiYgbmV3IFJlc2l6ZU9ic2VydmVyKGhhbmRsZXIpXG4gICAgcmVzaXplT2JzZXJ2ZXIgJiYgcmVzaXplT2JzZXJ2ZXIub2JzZXJ2ZShlbGVtZW50KVxuICAgIHJldHVybiAoKSA9PiB7XG4gICAgICByZXNpemVPYnNlcnZlciAmJiByZXNpemVPYnNlcnZlci5kaXNjb25uZWN0KGVsZW1lbnQpXG4gICAgfVxuICB9LCBbZWxlbWVudCwgaGFuZGxlcl0pXG59XG4iXSwibmFtZXMiOltdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./src/hooks/useResizeObserver.ts\n");

/***/ }),

/***/ "./src/mobile/layout/apps/detail/MobileFlowDetailFooter.tsx":
/*!******************************************************************!*\
  !*** ./src/mobile/layout/apps/detail/MobileFlowDetailFooter.tsx ***!
  \******************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\n\nvar _typeof = __webpack_require__(/*! @babel/runtime-corejs3/helpers/typeof */ \"../../node_modules/@babel/runtime-corejs3/helpers/typeof.js\");\nvar _Object$keys = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/keys */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/keys.js\");\nvar _Object$getOwnPropertySymbols = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols.js\");\nvar _filterInstanceProperty = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/filter */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/filter.js\");\nvar _Object$getOwnPropertyDescriptor = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor.js\");\nvar _Object$getOwnPropertyDescriptors = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors.js\");\nvar _Object$defineProperties = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-properties */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/define-properties.js\");\nvar _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-property */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/define-property.js\");\nvar _WeakMap = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/weak-map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/weak-map.js\");\nvar _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs3/helpers/interopRequireDefault */ \"../../node_modules/@babel/runtime-corejs3/helpers/interopRequireDefault.js\");\n_Object$defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports[\"default\"] = void 0;\nvar _map = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js\"));\nvar _trim = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/trim */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/trim.js\"));\nvar _slicedToArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/slicedToArray.js\"));\nvar _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/defineProperty.js\"));\nvar _react = _interopRequireWildcard(__webpack_require__(/*! kd_libs/react */ \"webpack/container/remote/kd_libs/react\"));\nvar _kdesignm = __webpack_require__(/*! kd_libs/kdesignm1 */ \"webpack/container/remote/kd_libs/kdesignm1\");\nvar _kdesign = __webpack_require__(/*! kd_libs/kdesign1 */ \"webpack/container/remote/kd_libs/kdesign1\");\nvar _MobUI = __webpack_require__(/*! nocode_component/MobUI */ \"webpack/container/remote/nocode_component/MobUI\");\nvar _apps = __webpack_require__(/*! @/actions/apps */ \"./src/actions/apps.ts\");\nvar _flowConstants = __webpack_require__(/*! @/constants/flowConstants */ \"./src/constants/flowConstants.ts\");\nvar _MobileFlowDetailFooter = _interopRequireDefault(__webpack_require__(/*! ./MobileFlowDetailFooter.less */ \"./src/mobile/layout/apps/detail/MobileFlowDetailFooter.less\"));\nvar _reactDom = __webpack_require__(/*! kd_libs/react-dom */ \"webpack/container/remote/kd_libs/react-dom\");\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof _WeakMap) return null; var r = new _WeakMap(), t = new _WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = _Object$defineProperty && _Object$getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? _Object$getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? _Object$defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }\nfunction ownKeys(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }\n// 弹窗文本\nvar MODAL_TEXT = (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)({}, _flowConstants.FLOW_ACTION_TYPES.consent, {\n  title: '审批意见',\n  btn: '同意'\n}), _flowConstants.FLOW_ACTION_TYPES.terminate, {\n  title: '审批意见',\n  btn: '否决'\n}), _flowConstants.FLOW_ACTION_TYPES.reject, {\n  title: '驳回意见',\n  btn: '驳回'\n});\nvar FLOW_BTN = [{\n  key: _flowConstants.FLOW_ACTION_TYPES.consent,\n  text: '同意',\n  primary: true\n}, {\n  key: _flowConstants.FLOW_ACTION_TYPES.terminate,\n  text: '否决'\n}, {\n  key: _flowConstants.FLOW_ACTION_TYPES.reject,\n  text: '驳回'\n}, {\n  key: _flowConstants.FLOW_ACTION_TYPES.cancel,\n  text: '撤回'\n}];\nvar MobileFlowDetailFooter = (0, _react.memo)(function (_ref) {\n  var _acRef$current2;\n  var _ref$data = _ref.data,\n    data = _ref$data === void 0 ? {} : _ref$data,\n    curNode = _ref.curNode,\n    onSubmit = _ref.onSubmit;\n  var _data$canWithdraw = data.canWithdraw,\n    canWithdraw = _data$canWithdraw === void 0 ? false : _data$canWithdraw,\n    notifyMsgMustInput = data.notifyMsgMustInput,\n    approvalInfo = data.approvalInfo,\n    disAllowNodeList = data.disAllowNodeList,\n    procInstId = data.procInstId;\n  var _useState = (0, _react.useState)(''),\n    _useState2 = (0, _slicedToArray2.default)(_useState, 2),\n    message = _useState2[0],\n    setMessage = _useState2[1]; // 审批意见内容\n  var _useState3 = (0, _react.useState)(false),\n    _useState4 = (0, _slicedToArray2.default)(_useState3, 2),\n    visible = _useState4[0],\n    setVisible = _useState4[1]; // 审批意见弹窗\n  var _useState5 = (0, _react.useState)(false),\n    _useState6 = (0, _slicedToArray2.default)(_useState5, 2),\n    popVisible = _useState6[0],\n    setPopVisible = _useState6[1]; // 驳回抽屉\n  var _useState7 = (0, _react.useState)([]),\n    _useState8 = (0, _slicedToArray2.default)(_useState7, 2),\n    dismissOptions = _useState8[0],\n    setDismissOptions = _useState8[1]; // 驳回抽屉\n  var _useState9 = (0, _react.useState)(false),\n    _useState10 = (0, _slicedToArray2.default)(_useState9, 2),\n    errVisible = _useState10[0],\n    setErrVisible = _useState10[1]; // 审批错误提示\n  var acRef = (0, _react.useRef)({}); // 当前事件\n  var paramsRef = (0, _react.useRef)({}); // 当前事件\n  var showMoreRef = (0, _react.useRef)(false);\n  var showAuditBtn = (0, _react.useMemo)(function () {\n    return (curNode === null || curNode === void 0 ? void 0 : curNode.canHandle) && !!(curNode !== null && curNode !== void 0 && curNode.taskId) && (curNode === null || curNode === void 0 ? void 0 : curNode.handleState) === 'willApproval';\n  }, [curNode]);\n  // 初始化按钮\n  var btns = (0, _react.useMemo)(function () {\n    var tmp = [];\n    var showCount = 4;\n    if (showAuditBtn) {\n      var _curNode$decisionOpti;\n      // 决策项\n      (_curNode$decisionOpti = curNode.decisionOptions) === null || _curNode$decisionOpti === void 0 || _curNode$decisionOpti.forEach(function (item, index) {\n        var number = item.number,\n          name = item.name,\n          auditMessageMustInput = item.auditMessageMustInput;\n\n        // 第一种情况，决策项里面没有超过五个字符的，四等分。第二种情况，决策项里面有超过五个字符的，三等分\n        if (name.length >= 5 && showCount === 4) {\n          showCount = 3;\n        }\n        tmp.push({\n          key: number,\n          text: name,\n          primary: index === 0,\n          auditMessageMustInput: auditMessageMustInput\n        });\n      });\n    }\n\n    // 撤回\n    if (canWithdraw) tmp.push(FLOW_BTN[3]); // 发起人，可撤回\n    if (showAuditBtn && curNode.canDisallow) tmp.push(FLOW_BTN[2]); // 审批人 // 驳回\n\n    var tmpLen = tmp.length;\n    return (0, _map.default)(tmp).call(tmp, function (item, index) {\n      // 当前决策项是否更多\n      var isMoreBtn = tmpLen > showCount && index >= showCount - 1;\n      if (isMoreBtn) {\n        showMoreRef.current = true;\n      }\n      return _objectSpread(_objectSpread({}, item), {}, {\n        isMoreBtn: isMoreBtn\n      });\n    });\n  }, [curNode, showAuditBtn]);\n\n  // 审批意见校验\n  var validateMsg = (0, _react.useCallback)(function (message) {\n    if (!(0, _trim.default)(message).call(message)) {\n      setErrVisible(true);\n      return false;\n    }\n    setErrVisible(false);\n    return true;\n  }, [setErrVisible]);\n\n  /**\n   * 审批: 同意/否决\n   * */\n  var handleClick = (0, _react.useCallback)(function () {\n    var _acRef$current = acRef.current,\n      action = _acRef$current.key,\n      mustInput = _acRef$current.auditMessageMustInput;\n    if (!action) return;\n    if (mustInput && !validateMsg(message)) return;\n    var param = _objectSpread({\n      action: action,\n      taskId: (curNode === null || curNode === void 0 ? void 0 : curNode.taskId) || '',\n      message: message\n    }, paramsRef.current);\n    (0, _apps.taskApply)(param).then(function () {\n      _MobUI.WebMsg.showToast({\n        type: 0,\n        content: '审批意见提交成功'\n      });\n      onSubmit === null || onSubmit === void 0 || onSubmit();\n      (0, _reactDom.unstable_batchedUpdates)(function () {\n        setMessage('');\n        setVisible(false);\n      });\n    }).catch(function (err) {\n      return _MobUI.WebMsg.showToast({\n        type: 2,\n        content: \"\\u5BA1\\u6279\\u610F\\u89C1\\u63D0\\u4EA4\\u5931\\u8D25\\uFF0C\".concat(err.message)\n      });\n    });\n  }, [curNode === null || curNode === void 0 ? void 0 : curNode.taskId, message, onSubmit, validateMsg]);\n\n  // 撤回\n  var handleCancel = (0, _react.useCallback)(function () {\n    // const { businessKey, entityNumber } = data\n    // const param = { businessKey, entityNumber }\n    (0, _apps.taskCancel)({\n      procInstId: procInstId\n    }).then(function () {\n      _MobUI.WebMsg.showToast({\n        type: 0,\n        content: '撤回提交成功'\n      });\n      setVisible(false);\n      onSubmit === null || onSubmit === void 0 || onSubmit();\n    }).catch(function (err) {\n      return _MobUI.WebMsg.showToast({\n        type: 2,\n        content: \"\".concat(err.message)\n      });\n    });\n  }, [data, message, onSubmit, procInstId]);\n\n  // 驳回\n  var handleDismiss = (0, _react.useCallback)(function (v) {\n    // console.log('handleDismiss', v)\n    acRef.current = {\n      key: _flowConstants.FLOW_ACTION_TYPES.reject,\n      auditMessageMustInput: true\n    };\n    paramsRef.current = {\n      nextNodeId: v.value\n    };\n    (0, _reactDom.unstable_batchedUpdates)(function () {\n      setVisible(true);\n      setPopVisible(false);\n    });\n  }, [data]);\n\n  // 驳回\n  var handlePop = (0, _react.useCallback)(function () {\n    var disAllowNodeList = curNode.disAllowNodeList;\n    var options = disAllowNodeList === null || disAllowNodeList === void 0 ? void 0 : (0, _map.default)(disAllowNodeList).call(disAllowNodeList, function (item) {\n      return {\n        label: item.name,\n        value: item.nodeId\n      };\n    });\n    (0, _reactDom.unstable_batchedUpdates)(function () {\n      setDismissOptions(options || []);\n      setPopVisible(true);\n    });\n  }, [curNode, setDismissOptions]);\n\n  // Modal弹窗按钮点击事件\n  var _onAction = (0, _react.useCallback)(function (action) {\n    switch (action) {\n      case 'ok':\n        handleClick();\n        break;\n      case 'cancel':\n        (0, _reactDom.unstable_batchedUpdates)(function () {\n          setMessage('');\n          setErrVisible(false);\n          setVisible(false);\n        });\n        break;\n      default:\n        break;\n    }\n  }, [handleClick, handleCancel, handlePop]);\n\n  /**\n   * 决策项点击\n   * @param data\n   */\n  var handleActionDecisionOptionBtn = function handleActionDecisionOptionBtn(data) {\n    var key = data.key,\n      auditMessageMustInput = data.auditMessageMustInput;\n    switch (key) {\n      case _flowConstants.FLOW_ACTION_TYPES.reject:\n        handlePop();\n        break;\n      case _flowConstants.FLOW_ACTION_TYPES.cancel:\n        handleCancel();\n        break;\n      default:\n        acRef.current = data;\n        paramsRef.current = {};\n        // if (auditMessageMustInput) {\n        setVisible(true);\n        // } else {\n        //   handleClick()\n        // }\n        break;\n    }\n  };\n\n  // 抽屉属性\n  var props = {\n    className: _MobileFlowDetailFooter.default.pop,\n    visible: popVisible,\n    placement: 'bottom',\n    title: '驳回至',\n    footer: null,\n    onClose: function onClose() {\n      return setPopVisible(false);\n    }\n  };\n  var moreBtnmenu = (0, _react.useMemo)(function () {\n    return /*#__PURE__*/_react.default.createElement(_kdesign.Dropdown.Menu, null, (0, _map.default)(btns).call(btns, function (item, index) {\n      if (!item.isMoreBtn) {\n        return null;\n      }\n      return /*#__PURE__*/_react.default.createElement(_kdesign.Dropdown.Item, {\n        key: item.key\n      }, /*#__PURE__*/_react.default.createElement(_MobUI.BtnField, {\n        type: \"text\",\n        onClick: function onClick() {\n          return handleActionDecisionOptionBtn(item);\n        }\n      }, item.text));\n    }));\n  }, [btns]);\n  return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _MobileFlowDetailFooter.default.footer\n  },\n  // 动态生成按钮\n  (0, _map.default)(btns).call(btns, function (item, index) {\n    if (item.isMoreBtn) {\n      return null;\n    }\n    return /*#__PURE__*/_react.default.createElement(\"div\", {\n      key: item.key,\n      className: _MobileFlowDetailFooter.default.footer_btn\n    }, /*#__PURE__*/_react.default.createElement(_MobUI.BtnField, {\n      type: \"text\",\n      major: !!item.primary,\n      onClick: function onClick() {\n        return handleActionDecisionOptionBtn(item);\n      }\n    }, item.text));\n  }), showMoreRef.current && /*#__PURE__*/_react.default.createElement(_kdesign.Dropdown, {\n    trigger: \"hover\",\n    menu: moreBtnmenu,\n    popperClassName: _MobileFlowDetailFooter.default.footer_morepanel,\n    className: _MobileFlowDetailFooter.default.footer_morepanel\n  }, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _MobileFlowDetailFooter.default.footer_btn\n  }, /*#__PURE__*/_react.default.createElement(_MobUI.BtnField, {\n    type: \"text\"\n  }, \"\\u66F4\\u591A\")))), /*#__PURE__*/_react.default.createElement(_kdesignm.Modal, {\n    visible: visible,\n    title: curNode.nodeName || '',\n    bodyClassName: _MobileFlowDetailFooter.default.modal_body,\n    content: /*#__PURE__*/_react.default.createElement(\"div\", {\n      className: _MobileFlowDetailFooter.default.input\n    }, /*#__PURE__*/_react.default.createElement(_MobUI.Textarea, {\n      value: message,\n      placeholder: \"\\u8BF7\\u8F93\\u5165\\u5BA1\\u6279\\u610F\\u89C1\",\n      showCount: true,\n      countPosition: \"inner\",\n      autoSize: {\n        minRows: 3,\n        maxRows: 3\n      },\n      onChange: setMessage,\n      maxLength: 245\n    }), errVisible && /*#__PURE__*/_react.default.createElement(\"div\", {\n      className: _MobileFlowDetailFooter.default.err\n    }, \"\\u5BA1\\u6279\\u610F\\u89C1\\u4E3A\\u5FC5\\u586B\\u9879\")),\n    actions: [{\n      key: 'cancel',\n      text: '取消'\n    }, {\n      key: 'ok',\n      primary: true,\n      text: ((_acRef$current2 = acRef.current) === null || _acRef$current2 === void 0 ? void 0 : _acRef$current2.text) || '确定'\n    }],\n    onAction: function onAction(action, index) {\n      return _onAction(action.key);\n    }\n  }), /*#__PURE__*/_react.default.createElement(_kdesignm.Popup, props, /*#__PURE__*/_react.default.createElement(_MobUI.Select.Content, {\n    onSelect: handleDismiss,\n    data: dismissOptions\n  })));\n});\nMobileFlowDetailFooter.displayName = 'MobileFlowDetailFooter';\nvar _default = exports[\"default\"] = MobileFlowDetailFooter;//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./src/mobile/layout/apps/detail/MobileFlowDetailFooter.tsx\n");

/***/ }),

/***/ "./src/mobile/pages/apps/detail/MobileFlowDetailPage.tsx":
/*!***************************************************************!*\
  !*** ./src/mobile/pages/apps/detail/MobileFlowDetailPage.tsx ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\n\nvar _typeof = __webpack_require__(/*! @babel/runtime-corejs3/helpers/typeof */ \"../../node_modules/@babel/runtime-corejs3/helpers/typeof.js\");\nvar _WeakMap = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/weak-map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/weak-map.js\");\nvar _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-property */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/define-property.js\");\nvar _Object$getOwnPropertyDescriptor = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor.js\");\nvar _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs3/helpers/interopRequireDefault */ \"../../node_modules/@babel/runtime-corejs3/helpers/interopRequireDefault.js\");\n_Object$defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports[\"default\"] = void 0;\nvar _find = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/find */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/find.js\"));\nvar _filter = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/filter */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/filter.js\"));\nvar _setTimeout2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/set-timeout */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/set-timeout.js\"));\nvar _slicedToArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/slicedToArray.js\"));\nvar _react = _interopRequireWildcard(__webpack_require__(/*! kd_libs/react */ \"webpack/container/remote/kd_libs/react\"));\nvar _reactRouterDom = __webpack_require__(/*! react-router-dom */ \"../../node_modules/react-router-dom/index.js\");\nvar _MobileFlowDetailPage = _interopRequireDefault(__webpack_require__(/*! ./MobileFlowDetailPage.less */ \"./src/mobile/pages/apps/detail/MobileFlowDetailPage.less\"));\nvar _MobileFlowList = _interopRequireDefault(__webpack_require__(/*! @/mobile/layout/apps/detail/MobileFlowList */ \"./src/mobile/layout/apps/detail/MobileFlowList.tsx\"));\nvar _apps = __webpack_require__(/*! @/actions/apps */ \"./src/actions/apps.ts\");\nvar _MobileFlowDetailFooter = _interopRequireDefault(__webpack_require__(/*! @/mobile/layout/apps/detail/MobileFlowDetailFooter */ \"./src/mobile/layout/apps/detail/MobileFlowDetailFooter.tsx\"));\nvar _kdesignm = __webpack_require__(/*! kd_libs/kdesignm1 */ \"webpack/container/remote/kd_libs/kdesignm1\");\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _useResizeObserver = _interopRequireDefault(__webpack_require__(/*! @/hooks/useResizeObserver */ \"./src/hooks/useResizeObserver.ts\"));\nvar _useAppContext2 = _interopRequireDefault(__webpack_require__(/*! @/hooks/useAppContext */ \"./src/hooks/useAppContext.js\"));\nvar _reactDom = __webpack_require__(/*! kd_libs/react-dom */ \"webpack/container/remote/kd_libs/react-dom\");\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof _WeakMap) return null; var r = new _WeakMap(), t = new _WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = _Object$defineProperty && _Object$getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? _Object$getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? _Object$defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }\n// import { closeWindow } from '@/utils/closeWindow'\n\nvar NocodeEntry = (0, _react.lazy)(function () {\n  return __webpack_require__.e(/*! import() */ 7168).then(__webpack_require__.t.bind(__webpack_require__, /*! bos_core/Main */ \"webpack/container/remote/bos_core/Main\", 23));\n});\nvar PROCESS_STATUS = {\n  running: ['liuchengxiangqing-jinxingzhong', _MobileFlowDetailPage.default.running],\n  // 运行中\n  end: ['yiwancheng', _MobileFlowDetailPage.default.end],\n  // 已完成\n  withdraw: ['liuchengxiangqing-yichehui', _MobileFlowDetailPage.default.withdraw],\n  // 已撤回\n  terminate: ['yifoujue', _MobileFlowDetailPage.default.terminate],\n  // 已否决\n  exception_terminate: ['yichangzhongzhi', _MobileFlowDetailPage.default.exception_terminate] // 异常终止\n};\nvar MobileFlowDetailPage = (0, _react.memo)(function () {\n  var _state$rootConfig;\n  var _useParams = (0, _reactRouterDom.useParams)(),\n    appId = _useParams.appId,\n    targetFormId = _useParams.targetFormId,\n    pkId = _useParams.pkId,\n    procInstId = _useParams.procInstId,\n    Status = _useParams.Status,\n    taskId = _useParams.taskId;\n  var _useState = (0, _react.useState)({}),\n    _useState2 = (0, _slicedToArray2.default)(_useState, 2),\n    approvalData = _useState2[0],\n    setApprovalData = _useState2[1]; // 审批列表\n  var _useState3 = (0, _react.useState)(false),\n    _useState4 = (0, _slicedToArray2.default)(_useState3, 2),\n    visible = _useState4[0],\n    setVisible = _useState4[1]; // 表单数据超过230px显示隐藏按钮\n  var _useState5 = (0, _react.useState)(false),\n    _useState6 = (0, _slicedToArray2.default)(_useState5, 2),\n    loadMore = _useState6[0],\n    setLoadMore = _useState6[1]; // 是否显示全部内容\n  var _useAppContext = (0, _useAppContext2.default)(),\n    sendUiData = _useAppContext.sendUiData,\n    state = _useAppContext.state;\n  var bosRef = (0, _react.useRef)(null); // 表单列表\n  // 监听表单高度\n  (0, _useResizeObserver.default)(bosRef.current, function (e) {\n    if (visible) return;\n    var height = e[0].contentRect.height;\n    if (height > 230) {\n      (0, _reactDom.unstable_batchedUpdates)(function () {\n        setVisible(true);\n        setLoadMore(false);\n      });\n    } else {\n      (0, _reactDom.unstable_batchedUpdates)(function () {\n        setVisible(false);\n        setLoadMore(true);\n      });\n    }\n  });\n\n  // 查找当前节点，用于显示审批标题\n  var curNode = (0, _react.useMemo)(function () {\n    var _ref = approvalData || {},\n      approvalInfo = _ref.approvalInfo;\n    var node = taskId && approvalInfo ? (0, _find.default)(approvalInfo).call(approvalInfo, function (item) {\n      return item.taskId === taskId;\n    }) : {};\n    return node || {};\n  }, [taskId, approvalData]);\n\n  // 请求审批数据\n  var fetchData = (0, _react.useCallback)(function () {\n    (0, _apps.getApprovalInfo)({\n      entityNumber: targetFormId,\n      businessKey: pkId\n    }).then(function (res) {\n      var _context;\n      var data = (0, _filter.default)(_context = res.rows).call(_context, function (item) {\n        return item.procInstId === procInstId;\n      });\n      setApprovalData(data[0]);\n    });\n  }, [targetFormId, pkId, procInstId]);\n\n  // 显示更多内容\n  var showMore = (0, _react.useCallback)(function () {\n    setLoadMore(!loadMore);\n  }, [loadMore]);\n\n  // 审批之后返回上一页,刷新页面\n  var handleSubmit = (0, _react.useCallback)(function () {\n    fetchData();\n    // 延时返回\n    (0, _setTimeout2.default)(function () {\n      return window.history.go(-1);\n    }, 2000);\n  }, [fetchData]);\n  (0, _react.useEffect)(function () {\n    fetchData();\n  }, []);\n  var _ref2 = approvalData || {},\n    processStatus = _ref2.processStatus;\n  var config = {\n    appId: appId,\n    targetFormId: targetFormId,\n    pkId: pkId,\n    Status: Status,\n    formId: 'bos_nocode_bill',\n    procInstId: procInstId\n  };\n  // console.log('MobileFlowDetailPage', canWithdraw, canHandle, config)\n  var info = (PROCESS_STATUS === null || PROCESS_STATUS === void 0 ? void 0 : PROCESS_STATUS[processStatus === null || processStatus === void 0 ? void 0 : processStatus.handleState]) || PROCESS_STATUS.running;\n  var icon = info[0];\n  var css = (0, _classnames.default)(_MobileFlowDetailPage.default.flow_status, info[1]);\n  if (!(state !== null && state !== void 0 && (_state$rootConfig = state.rootConfig) !== null && _state$rootConfig !== void 0 && _state$rootConfig.pageId)) return null;\n  console.log('mobileflowdetailpage', loadMore);\n  return /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _MobileFlowDetailPage.default.container\n  }, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _MobileFlowDetailPage.default.main\n  }, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _MobileFlowDetailPage.default.form_detail\n  }, /*#__PURE__*/_react.default.createElement(\"div\", {\n    ref: bosRef,\n    className: _MobileFlowDetailPage.default.form_box\n  }, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: css\n  }, /*#__PURE__*/_react.default.createElement(_kdesignm.Icon, {\n    prefix: \"nocodeplatformicon\",\n    type: icon\n  })), /*#__PURE__*/_react.default.createElement(\"div\", {\n    style: !loadMore ? {\n      height: 230,\n      overflow: 'hidden'\n    } : {}\n  }, /*#__PURE__*/_react.default.createElement(_react.Suspense, {\n    fallback: /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null)\n  }, /*#__PURE__*/_react.default.createElement(NocodeEntry, {\n    config: config,\n    device: \"mobile\",\n    options: {\n      labelDirection: 'h',\n      sendUiData: sendUiData,\n      rootConfig: state.rootConfig\n    }\n  }))), visible && /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _MobileFlowDetailPage.default.load_more,\n    onClick: showMore\n  }, /*#__PURE__*/_react.default.createElement(_kdesignm.Icon, {\n    type: loadMore ? 'arrow-up' : 'arrow-down'\n  })))), /*#__PURE__*/_react.default.createElement(_MobileFlowList.default, {\n    data: approvalData,\n    curNode: curNode,\n    config: config\n  })), /*#__PURE__*/_react.default.createElement(_MobileFlowDetailFooter.default, {\n    data: approvalData,\n    curNode: curNode,\n    onSubmit: handleSubmit\n  }));\n});\nvar _default = exports[\"default\"] = MobileFlowDetailPage;//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./src/mobile/pages/apps/detail/MobileFlowDetailPage.tsx\n");

/***/ }),

/***/ "../../node_modules/classnames/index.js":
/*!**********************************************!*\
  !*** ../../node_modules/classnames/index.js ***!
  \**********************************************/
/***/ (function(module, exports) {

eval("var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!\n\tCopyright (c) 2018 Jed Watson.\n\tLicensed under the MIT License (MIT), see\n\thttp://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames () {\n\t\tvar classes = '';\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (arg) {\n\t\t\t\tclasses = appendClass(classes, parseValue(arg));\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction parseValue (arg) {\n\t\tif (typeof arg === 'string' || typeof arg === 'number') {\n\t\t\treturn arg;\n\t\t}\n\n\t\tif (typeof arg !== 'object') {\n\t\t\treturn '';\n\t\t}\n\n\t\tif (Array.isArray(arg)) {\n\t\t\treturn classNames.apply(null, arg);\n\t\t}\n\n\t\tif (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {\n\t\t\treturn arg.toString();\n\t\t}\n\n\t\tvar classes = '';\n\n\t\tfor (var key in arg) {\n\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\tclasses = appendClass(classes, key);\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction appendClass (value, newClass) {\n\t\tif (!newClass) {\n\t\t\treturn value;\n\t\t}\n\t\n\t\tif (value) {\n\t\t\treturn value + ' ' + newClass;\n\t\t}\n\t\n\t\treturn value + newClass;\n\t}\n\n\tif ( true && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (true) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\t!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function () {\n\t\t\treturn classNames;\n\t\t}).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\t} else {}\n}());\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi4vLi4vbm9kZV9tb2R1bGVzL2NsYXNzbmFtZXMvaW5kZXguanMiLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUF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