require('../../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["plugin/tongue_diagnosis/PageComponents/CustomProgress"],{"15f3":function(t,e,r){"use strict";r.r(e);var n=r("4c4a"),o=r.n(n);for(var s in n)["default"].indexOf(s)<0&&function(t){r.d(e,t,(function(){return n[t]}))}(s);e["default"]=o.a},3478:function(t,e,r){"use strict";r.r(e);var n=r("e931"),o=r("15f3");for(var s in o)["default"].indexOf(s)<0&&function(t){r.d(e,t,(function(){return o[t]}))}(s);r("6f6c");var c=r("828b"),u=Object(c["a"])(o["default"],n["b"],n["c"],!1,null,"776d8ec2",null,!1,n["a"],void 0);e["default"]=u.exports},"4c4a":function(t,e,r){"use strict";var n=r("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(r("7ca3")),s=r("8f59");function c(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}getApp();var u={data:function(){return{show:!1,updateProcess:{status:"running",progress:0},progressTimer:null}},computed:function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?c(Object(r),!0).forEach((function(e){(0,o.default)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({},(0,s.mapGetters)(["base"])),mounted:function(){},methods:{calcProgress:function(){var t=this;this.stopCalcProgress();var e=Date.now();this.progressTimer=setInterval((function(){if("running"===t.updateProcess.status){var r=Date.now()-e,n=Math.min(r/1e4,1),o=Math.floor(100*function(t){return 1-Math.pow(1-t,3)}(n));t.updateProcess.progress=Math.min(o,99),o>=99&&t.stopCalcProgress()}else t.stopCalcProgress()}),100)},stopCalcProgress:function(){this.progressTimer&&(clearInterval(this.progressTimer),this.progressTimer=null)},onBack:function(){this.cancel()},cancel:function(){this.show=!1,this.$emit("cancel")},close:function(){this.show=!1},showPop:function(){this.show=!0,this.calcProgress()},hidePop:function(){this.show=!1,this.stopCalcProgress()}}};e.default=u},"6f6c":function(t,e,r){"use strict";var n=r("f329"),o=r.n(n);o.a},e931:function(t,e,r){"use strict";r.d(e,"b",(function(){return o})),r.d(e,"c",(function(){return s})),r.d(e,"a",(function(){return n}));var n={uPopup:function(){return Promise.all([r.e("common/vendor"),r.e("uni_modules/uview-ui/components/u-popup/u-popup")]).then(r.bind(null,"7d68"))}},o=function(){var t=this,e=t.$createElement,r=(t._self._c,"running"==t.updateProcess.status?t.__map(20,(function(e,r){var n=t.__get_orig(e),o=Math.random(),s=Math.random(),c=Math.random();return{$orig:n,g0:o,g1:s,g2:c}})):null);t.$mp.data=Object.assign({},{$root:{l0:r}})},s=[]},f329:function(t,e,r){}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
    'plugin/tongue_diagnosis/PageComponents/CustomProgress-create-component',
    {
        'plugin/tongue_diagnosis/PageComponents/CustomProgress-create-component':(function(module, exports, __webpack_require__){
            __webpack_require__('df3c')['createComponent'](__webpack_require__("3478"))
        })
    },
    [['plugin/tongue_diagnosis/PageComponents/CustomProgress-create-component']]
]);
