glhcp/server/public/pc/_nuxt/7af7118.js

1 line
14 KiB
JavaScript
Raw Normal View History

2023-08-10 06:59:52 +00:00
(window.webpackJsonp=window.webpackJsonp||[]).push([[41,9],{439:function(e,t,r){"use strict";var n=r(18),o=r(2),c=r(3),l=r(137),m=r(27),f=r(19),d=r(273),h=r(54),v=r(136),x=r(272),_=r(5),S=r(97).f,w=r(45).f,y=r(25).f,k=r(440),O=r(441).trim,N="Number",I=o.Number,$=I.prototype,E=o.TypeError,T=c("".slice),C=c("".charCodeAt),M=function(e){var t=x(e,"number");return"bigint"==typeof t?t:R(t)},R=function(e){var t,r,n,o,c,l,m,code,f=x(e,"number");if(v(f))throw E("Cannot convert a Symbol value to a number");if("string"==typeof f&&f.length>2)if(f=O(f),43===(t=C(f,0))||45===t){if(88===(r=C(f,2))||120===r)return NaN}else if(48===t){switch(C(f,1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+f}for(l=(c=T(f,2)).length,m=0;m<l;m++)if((code=C(c,m))<48||code>o)return NaN;return parseInt(c,n)}return+f};if(l(N,!I(" 0o1")||!I("0b1")||I("+0x1"))){for(var j,A=function(e){var t=arguments.length<1?0:I(M(e)),r=this;return h($,r)&&_((function(){k(r)}))?d(Object(t),r,A):t},P=n?S(I):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),D=0;P.length>D;D++)f(I,j=P[D])&&!f(A,j)&&y(A,j,w(I,j));A.prototype=$,$.constructor=A,m(o,N,A)}},440:function(e,t,r){var n=r(3);e.exports=n(1..valueOf)},441:function(e,t,r){var n=r(3),o=r(33),c=r(17),l=r(442),m=n("".replace),f="["+l+"]",d=RegExp("^"+f+f+"*"),h=RegExp(f+f+"*$"),v=function(e){return function(t){var r=c(o(t));return 1&e&&(r=m(r,d,"")),2&e&&(r=m(r,h,"")),r}};e.exports={start:v(1),end:v(2),trim:v(3)}},442:function(e,t){e.exports="\t\n\v\f\r    \u2028\u2029\ufeff"},451:function(e,t,r){"use strict";r.r(t);r(439),r(81),r(61),r(11),r(99),r(39),r(98);var n=6e4,o=36e5,c=24*o;function l(e){return(0+e.toString()).slice(-2)}var m={components:{},props:{isSlot:{type:Boolean,default:!1},time:{type:Number,default:0},format:{type:String,default:"hh:mm:ss"},autoStart:{type:Boolean,default:!0}},watch:{time:{immediate:!0,handler:function(e){e&&this.reset()}}},data:function(){return{timeObj:{},formateTime:0}},created:function(){},computed:{},methods:{createTimer:function(e){return setTimeout(e,100)},isSameSecond:function(e,t){return Math.floor(e)===Math.floor(t)},start:function(){this.counting||(this.counting=!0,this.endTime=Date.now()+1e3*this.remain,this.setTimer())},setTimer:function(){var e=this;this.tid=this.createTimer((function(){var t=e.getRemain();e.isSameSecond(t,e.remain)&&0!==t||e.setRemain(t),0!==e.remain&&e.setTimer()}))},getRemain:function(){return Math.max(this.endTime-Date.now(),0)},pause:function(){this.counting=!1,clearTimeout(this.tid)},reset:function(){this.pause(),this.remain=this.time,this.setRemain(this.remain),this.autoStart&&this.start()},setRemain:function(e){var t=this.format;this.remain=e;var time,r=(time=e,{days:Math.floor(time/c),hours:l(Math.floor(time%c/o)),minutes:l(Math.floor(time%o/n)),seconds:l(Math.floor(time%n/1e3))});this.formateTime=function(e,t){var r=t.days,n=t.hours,o=t.minutes,c=t.seconds;return-1!==e.indexOf("dd")&&(e=e.replace("dd",r)),-1!==e.indexOf("hh")&&(e=e.replace("hh",l(n))),-1!==e.indexOf("mm")&&(e=e.replace("mm",l(o))),-1!==e.indexOf("ss")&&(e=e.replace("ss",l(c))),e}(t,r),this.$emit("change",r),0===e&&(this.pause(),this.$emit("finish"))}}},f=r(9),component=Object(f.a)(m,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return e.time>=0?r("div",[r("client-only",[e.isSlot?e._t("default"):r("span",[e._v(e._s(e.formateTime))])],2)],1):e._e()}),[],!1,null,null,null);t.default=component.exports},456:function(e,t,r){"use strict";r.d(t,"d",(function(){return n})),r.d(t,"e",(function(){return o})),r.d(t,"c",(function(){return c})),r.d(t,"b",(function(){return l})),r.d(t,"a",(function(){return m}));var n=5,o={SMS:0,ACCOUNT:1},c={REGISTER:"ZCYZ",FINDPWD:"ZHMM",LOGIN:"YZMDL",SJSQYZ:"SJSQYZ",CHANGE_MOBILE:"BGSJHM",BIND:"BDSJHM"},l={NONE:"",SEX:"sex",NICKNAME:"nickname",AVATAR:"avatar",MOBILE:"mobile"},m={NORMAL:"normal",HANDLING:"apply",FINISH:"finish"}},533:func