(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["uni_modules/uview-ui/components/u-count-down/u-count-down"],{5727:function(i,t,e){"use strict";e.d(t,"b",(function(){return n})),e.d(t,"c",(function(){return u})),e.d(t,"a",(function(){}));var n=function(){var i=this.$createElement;this._self._c},u=[]},"67d4":function(i,t,e){},8188:function(i,t,e){"use strict";var n=e("67d4"),u=e.n(n);u.a},9257:function(i,t,e){"use strict";e.r(t);var n=e("fb3c"),u=e.n(n);for(var a in n)["default"].indexOf(a)<0&&function(i){e.d(t,i,(function(){return n[i]}))}(a);t["default"]=u.a},b333:function(i,t,e){"use strict";e.r(t);var n=e("5727"),u=e("9257");for(var a in u)["default"].indexOf(a)<0&&function(i){e.d(t,i,(function(){return u[i]}))}(a);e("8188");var r=e("f0c5"),o=Object(r["a"])(u["default"],n["b"],n["c"],!1,null,"f147a924",null,!1,n["a"],void 0);t["default"]=o.exports},fb3c:function(i,t,e){"use strict";(function(i){var n=e("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u=n(e("b24e")),a=e("fdcf"),r={name:"u-count-down",mixins:[i.$u.mpMixin,i.$u.mixin,u.default],data:function(){return{timer:null,timeData:(0,a.parseTimeData)(0),formattedTime:"0",runing:!1,endTime:0,remainTime:0}},watch:{time:function(i){this.reset()}},mounted:function(){this.init()},methods:{init:function(){this.reset()},start:function(){this.runing||(this.runing=!0,this.endTime=Date.now()+this.remainTime,this.toTick())},toTick:function(){this.millisecond?this.microTick():this.macroTick()},macroTick:function(){var i=this;this.clearTimeout(),this.timer=setTimeout((function(){var t=i.getRemainTime();(0,a.isSameSecond)(t,i.remainTime)&&0!==t||i.setRemainTime(t),0!==i.remainTime&&i.macroTick()}),30)},microTick:function(){var i=this;this.clearTimeout(),this.timer=setTimeout((function(){i.setRemainTime(i.getRemainTime()),0!==i.remainTime&&i.microTick()}),50)},getRemainTime:function(){return Math.max(this.endTime-Date.now(),0)},setRemainTime:function(i){this.remainTime=i;var t=(0,a.parseTimeData)(i);this.$emit("change",t),this.formattedTime=(0,a.parseFormat)(this.format,t),i<=0&&(this.pause(),this.$emit("finish"))},reset:function(){this.pause(),this.remainTime=this.time,this.setRemainTime(this.remainTime),this.autoStart&&this.start()},pause:function(){this.runing=!1,this.clearTimeout()},clearTimeout:function(i){function t(){return i.apply(this,arguments)}return t.toString=function(){return i.toString()},t}((function(){clearTimeout(this.timer),this.timer=null}))},beforeDestroy:function(){this.clearTimeout()}};t.default=r}).call(this,e("543d")["default"])}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
    'uni_modules/uview-ui/components/u-count-down/u-count-down-create-component',
    {
        'uni_modules/uview-ui/components/u-count-down/u-count-down-create-component':(function(module, exports, __webpack_require__){
            __webpack_require__('543d')['createComponent'](__webpack_require__("b333"))
        })
    },
    [['uni_modules/uview-ui/components/u-count-down/u-count-down-create-component']]
]);
