-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path1587.async.js
More file actions
1 lines (1 loc) · 18.5 KB
/
1587.async.js
File metadata and controls
1 lines (1 loc) · 18.5 KB
1
(self.webpackChunk=self.webpackChunk||[]).push([[1587],{27484:function(C){(function(_,$){C.exports=$()})(this,function(){"use strict";var _=1e3,$=6e4,y=36e5,g="millisecond",Y="second",p="minute",i="hour",v="day",l="week",o="month",m="quarter",b="year",x="date",s="Invalid Date",r=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,h=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,D={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(a){var n=["th","st","nd","rd"],t=a%100;return"["+a+(n[(t-20)%10]||n[t]||n[0])+"]"}},d=function(a,n,t){var u=String(a);return!u||u.length>=n?a:""+Array(n+1-u.length).join(t)+a},H={s:d,z:function(a){var n=-a.utcOffset(),t=Math.abs(n),u=Math.floor(t/60),e=t%60;return(n<=0?"+":"-")+d(u,2,"0")+":"+d(e,2,"0")},m:function a(n,t){if(n.date()<t.date())return-a(t,n);var u=12*(t.year()-n.year())+(t.month()-n.month()),e=n.clone().add(u,o),f=t-e<0,c=n.clone().add(u+(f?-1:1),o);return+(-(u+(t-e)/(f?e-c:c-e))||0)},a:function(a){return a<0?Math.ceil(a)||0:Math.floor(a)},p:function(a){return{M:o,y:b,w:l,d:v,D:x,h:i,m:p,s:Y,ms:g,Q:m}[a]||String(a||"").toLowerCase().replace(/s$/,"")},u:function(a){return a===void 0}},S="en",L={};L[S]=D;var U="$isDayjsObject",A=function(a){return a instanceof F||!(!a||!a[U])},W=function a(n,t,u){var e;if(!n)return S;if(typeof n=="string"){var f=n.toLowerCase();L[f]&&(e=f),t&&(L[f]=t,e=f);var c=n.split("-");if(!e&&c.length>1)return a(c[0])}else{var M=n.name;L[M]=n,e=M}return!u&&e&&(S=e),e||!u&&S},k=function(a,n){if(A(a))return a.clone();var t=typeof n=="object"?n:{};return t.date=a,t.args=arguments,new F(t)},w=H;w.l=W,w.i=A,w.w=function(a,n){return k(a,{locale:n.$L,utc:n.$u,x:n.$x,$offset:n.$offset})};var F=function(){function a(t){this.$L=W(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[U]=!0}var n=a.prototype;return n.parse=function(t){this.$d=function(u){var e=u.date,f=u.utc;if(e===null)return new Date(NaN);if(w.u(e))return new Date;if(e instanceof Date)return new Date(e);if(typeof e=="string"&&!/Z$/i.test(e)){var c=e.match(r);if(c){var M=c[2]-1||0,T=(c[7]||"0").substring(0,3);return f?new Date(Date.UTC(c[1],M,c[3]||1,c[4]||0,c[5]||0,c[6]||0,T)):new Date(c[1],M,c[3]||1,c[4]||0,c[5]||0,c[6]||0,T)}}return new Date(e)}(t),this.init()},n.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},n.$utils=function(){return w},n.isValid=function(){return this.$d.toString()!==s},n.isSame=function(t,u){var e=k(t);return this.startOf(u)<=e&&e<=this.endOf(u)},n.isAfter=function(t,u){return k(t)<this.startOf(u)},n.isBefore=function(t,u){return this.endOf(u)<k(t)},n.$g=function(t,u,e){return w.u(t)?this[u]:this.set(e,t)},n.unix=function(){return Math.floor(this.valueOf()/1e3)},n.valueOf=function(){return this.$d.getTime()},n.startOf=function(t,u){var e=this,f=!!w.u(u)||u,c=w.p(t),M=function(J,z){var j=w.w(e.$u?Date.UTC(e.$y,z,J):new Date(e.$y,z,J),e);return f?j:j.endOf(v)},T=function(J,z){return w.w(e.toDate()[J].apply(e.toDate("s"),(f?[0,0,0,0]:[23,59,59,999]).slice(z)),e)},O=this.$W,Z=this.$M,N=this.$D,E="set"+(this.$u?"UTC":"");switch(c){case b:return f?M(1,0):M(31,11);case o:return f?M(1,Z):M(0,Z+1);case l:var V=this.$locale().weekStart||0,Q=(O<V?O+7:O)-V;return M(f?N-Q:N+(6-Q),Z);case v:case x:return T(E+"Hours",0);case i:return T(E+"Minutes",1);case p:return T(E+"Seconds",2);case Y:return T(E+"Milliseconds",3);default:return this.clone()}},n.endOf=function(t){return this.startOf(t,!1)},n.$set=function(t,u){var e,f=w.p(t),c="set"+(this.$u?"UTC":""),M=(e={},e[v]=c+"Date",e[x]=c+"Date",e[o]=c+"Month",e[b]=c+"FullYear",e[i]=c+"Hours",e[p]=c+"Minutes",e[Y]=c+"Seconds",e[g]=c+"Milliseconds",e)[f],T=f===v?this.$D+(u-this.$W):u;if(f===o||f===b){var O=this.clone().set(x,1);O.$d[M](T),O.init(),this.$d=O.set(x,Math.min(this.$D,O.daysInMonth())).$d}else M&&this.$d[M](T);return this.init(),this},n.set=function(t,u){return this.clone().$set(t,u)},n.get=function(t){return this[w.p(t)]()},n.add=function(t,u){var e,f=this;t=Number(t);var c=w.p(u),M=function(Z){var N=k(f);return w.w(N.date(N.date()+Math.round(Z*t)),f)};if(c===o)return this.set(o,this.$M+t);if(c===b)return this.set(b,this.$y+t);if(c===v)return M(1);if(c===l)return M(7);var T=(e={},e[p]=$,e[i]=y,e[Y]=_,e)[c]||1,O=this.$d.getTime()+t*T;return w.w(O,this)},n.subtract=function(t,u){return this.add(-1*t,u)},n.format=function(t){var u=this,e=this.$locale();if(!this.isValid())return e.invalidDate||s;var f=t||"YYYY-MM-DDTHH:mm:ssZ",c=w.z(this),M=this.$H,T=this.$m,O=this.$M,Z=e.weekdays,N=e.months,E=e.meridiem,V=function(z,j,B,P){return z&&(z[j]||z(u,f))||B[j].slice(0,P)},Q=function(z){return w.s(M%12||12,z,"0")},J=E||function(z,j,B){var P=z<12?"AM":"PM";return B?P.toLowerCase():P};return f.replace(h,function(z,j){return j||function(B){switch(B){case"YY":return String(u.$y).slice(-2);case"YYYY":return w.s(u.$y,4,"0");case"M":return O+1;case"MM":return w.s(O+1,2,"0");case"MMM":return V(e.monthsShort,O,N,3);case"MMMM":return V(N,O);case"D":return u.$D;case"DD":return w.s(u.$D,2,"0");case"d":return String(u.$W);case"dd":return V(e.weekdaysMin,u.$W,Z,2);case"ddd":return V(e.weekdaysShort,u.$W,Z,3);case"dddd":return Z[u.$W];case"H":return String(M);case"HH":return w.s(M,2,"0");case"h":return Q(1);case"hh":return Q(2);case"a":return J(M,T,!0);case"A":return J(M,T,!1);case"m":return String(T);case"mm":return w.s(T,2,"0");case"s":return String(u.$s);case"ss":return w.s(u.$s,2,"0");case"SSS":return w.s(u.$ms,3,"0");case"Z":return c}return null}(z)||c.replace(":","")})},n.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},n.diff=function(t,u,e){var f,c=this,M=w.p(u),T=k(t),O=(T.utcOffset()-this.utcOffset())*$,Z=this-T,N=function(){return w.m(c,T)};switch(M){case b:f=N()/12;break;case o:f=N();break;case m:f=N()/3;break;case l:f=(Z-O)/6048e5;break;case v:f=(Z-O)/864e5;break;case i:f=Z/y;break;case p:f=Z/$;break;case Y:f=Z/_;break;default:f=Z}return e?f:w.a(f)},n.daysInMonth=function(){return this.endOf(o).$D},n.$locale=function(){return L[this.$L]},n.locale=function(t,u){if(!t)return this.$L;var e=this.clone(),f=W(t,u,!0);return f&&(e.$L=f),e},n.clone=function(){return w.w(this.$d,this)},n.toDate=function(){return new Date(this.valueOf())},n.toJSON=function(){return this.isValid()?this.toISOString():null},n.toISOString=function(){return this.$d.toISOString()},n.toString=function(){return this.$d.toUTCString()},a}(),I=F.prototype;return k.prototype=I,[["$ms",g],["$s",Y],["$m",p],["$H",i],["$W",v],["$M",o],["$y",b],["$D",x]].forEach(function(a){I[a[1]]=function(n){return this.$g(n,a[0],a[1])}}),k.extend=function(a,n){return a.$i||(a(n,F,k),a.$i=!0),k},k.locale=W,k.isDayjs=A,k.unix=function(a){return k(1e3*a)},k.en=L[S],k.Ls=L,k.p={},k})},33852:function(C,_,$){(function(y,g){C.exports=g($(27484))})(this,function(y){"use strict";function g(i){return i&&typeof i=="object"&&"default"in i?i:{default:i}}var Y=g(y),p={name:"zh-cn",weekdays:"\u661F\u671F\u65E5_\u661F\u671F\u4E00_\u661F\u671F\u4E8C_\u661F\u671F\u4E09_\u661F\u671F\u56DB_\u661F\u671F\u4E94_\u661F\u671F\u516D".split("_"),weekdaysShort:"\u5468\u65E5_\u5468\u4E00_\u5468\u4E8C_\u5468\u4E09_\u5468\u56DB_\u5468\u4E94_\u5468\u516D".split("_"),weekdaysMin:"\u65E5_\u4E00_\u4E8C_\u4E09_\u56DB_\u4E94_\u516D".split("_"),months:"\u4E00\u6708_\u4E8C\u6708_\u4E09\u6708_\u56DB\u6708_\u4E94\u6708_\u516D\u6708_\u4E03\u6708_\u516B\u6708_\u4E5D\u6708_\u5341\u6708_\u5341\u4E00\u6708_\u5341\u4E8C\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),ordinal:function(i,v){return v==="W"?i+"\u5468":i+"\u65E5"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5E74M\u6708D\u65E5",LLL:"YYYY\u5E74M\u6708D\u65E5Ah\u70B9mm\u5206",LLLL:"YYYY\u5E74M\u6708D\u65E5ddddAh\u70B9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5E74M\u6708D\u65E5",lll:"YYYY\u5E74M\u6708D\u65E5 HH:mm",llll:"YYYY\u5E74M\u6708D\u65E5dddd HH:mm"},relativeTime:{future:"%s\u5185",past:"%s\u524D",s:"\u51E0\u79D2",m:"1 \u5206\u949F",mm:"%d \u5206\u949F",h:"1 \u5C0F\u65F6",hh:"%d \u5C0F\u65F6",d:"1 \u5929",dd:"%d \u5929",M:"1 \u4E2A\u6708",MM:"%d \u4E2A\u6708",y:"1 \u5E74",yy:"%d \u5E74"},meridiem:function(i,v){var l=100*i+v;return l<600?"\u51CC\u6668":l<900?"\u65E9\u4E0A":l<1100?"\u4E0A\u5348":l<1300?"\u4E2D\u5348":l<1800?"\u4E0B\u5348":"\u665A\u4E0A"}};return Y.default.locale(p,null,!0),p})},10285:function(C){(function(_,$){C.exports=$()})(this,function(){"use strict";var _={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},$=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,y=/\d/,g=/\d\d/,Y=/\d\d?/,p=/\d*[^-_:/,()\s\d]+/,i={},v=function(r){return(r=+r)+(r>68?1900:2e3)},l=function(r){return function(h){this[r]=+h}},o=[/[+-]\d\d:?(\d\d)?|Z/,function(r){(this.zone||(this.zone={})).offset=function(h){if(!h||h==="Z")return 0;var D=h.match(/([+-]|\d\d)/g),d=60*D[1]+(+D[2]||0);return d===0?0:D[0]==="+"?-d:d}(r)}],m=function(r){var h=i[r];return h&&(h.indexOf?h:h.s.concat(h.f))},b=function(r,h){var D,d=i.meridiem;if(d){for(var H=1;H<=24;H+=1)if(r.indexOf(d(H,0,h))>-1){D=H>12;break}}else D=r===(h?"pm":"PM");return D},x={A:[p,function(r){this.afternoon=b(r,!1)}],a:[p,function(r){this.afternoon=b(r,!0)}],Q:[y,function(r){this.month=3*(r-1)+1}],S:[y,function(r){this.milliseconds=100*+r}],SS:[g,function(r){this.milliseconds=10*+r}],SSS:[/\d{3}/,function(r){this.milliseconds=+r}],s:[Y,l("seconds")],ss:[Y,l("seconds")],m:[Y,l("minutes")],mm:[Y,l("minutes")],H:[Y,l("hours")],h:[Y,l("hours")],HH:[Y,l("hours")],hh:[Y,l("hours")],D:[Y,l("day")],DD:[g,l("day")],Do:[p,function(r){var h=i.ordinal,D=r.match(/\d+/);if(this.day=D[0],h)for(var d=1;d<=31;d+=1)h(d).replace(/\[|\]/g,"")===r&&(this.day=d)}],w:[Y,l("week")],ww:[g,l("week")],M:[Y,l("month")],MM:[g,l("month")],MMM:[p,function(r){var h=m("months"),D=(m("monthsShort")||h.map(function(d){return d.slice(0,3)})).indexOf(r)+1;if(D<1)throw new Error;this.month=D%12||D}],MMMM:[p,function(r){var h=m("months").indexOf(r)+1;if(h<1)throw new Error;this.month=h%12||h}],Y:[/[+-]?\d+/,l("year")],YY:[g,function(r){this.year=v(r)}],YYYY:[/\d{4}/,l("year")],Z:o,ZZ:o};function s(r){var h,D;h=r,D=i&&i.formats;for(var d=(r=h.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(k,w,F){var I=F&&F.toUpperCase();return w||D[F]||_[F]||D[I].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(a,n,t){return n||t.slice(1)})})).match($),H=d.length,S=0;S<H;S+=1){var L=d[S],U=x[L],A=U&&U[0],W=U&&U[1];d[S]=W?{regex:A,parser:W}:L.replace(/^\[|\]$/g,"")}return function(k){for(var w={},F=0,I=0;F<H;F+=1){var a=d[F];if(typeof a=="string")I+=a.length;else{var n=a.regex,t=a.parser,u=k.slice(I),e=n.exec(u)[0];t.call(w,e),k=k.replace(e,"")}}return function(f){var c=f.afternoon;if(c!==void 0){var M=f.hours;c?M<12&&(f.hours+=12):M===12&&(f.hours=0),delete f.afternoon}}(w),w}}return function(r,h,D){D.p.customParseFormat=!0,r&&r.parseTwoDigitYear&&(v=r.parseTwoDigitYear);var d=h.prototype,H=d.parse;d.parse=function(S){var L=S.date,U=S.utc,A=S.args;this.$u=U;var W=A[1];if(typeof W=="string"){var k=A[2]===!0,w=A[3]===!0,F=k||w,I=A[2];w&&(I=A[2]),i=this.$locale(),!k&&I&&(i=D.Ls[I]),this.$d=function(u,e,f,c){try{if(["x","X"].indexOf(e)>-1)return new Date((e==="X"?1e3:1)*u);var M=s(e)(u),T=M.year,O=M.month,Z=M.day,N=M.hours,E=M.minutes,V=M.seconds,Q=M.milliseconds,J=M.zone,z=M.week,j=new Date,B=Z||(T||O?1:j.getDate()),P=T||j.getFullYear(),X=0;T&&!O||(X=O>0?O-1:j.getMonth());var q,G=N||0,K=E||0,R=V||0,tt=Q||0;return J?new Date(Date.UTC(P,X,B,G,K,R,tt+60*J.offset*1e3)):f?new Date(Date.UTC(P,X,B,G,K,R,tt)):(q=new Date(P,X,B,G,K,R,tt),z&&(q=c(q).week(z).toDate()),q)}catch(nt){return new Date("")}}(L,W,U,D),this.init(),I&&I!==!0&&(this.$L=this.locale(I).$L),F&&L!=this.format(W)&&(this.$d=new Date("")),i={}}else if(W instanceof Array)for(var a=W.length,n=1;n<=a;n+=1){A[1]=W[n-1];var t=D.apply(this,A);if(t.isValid()){this.$d=t.$d,this.$L=t.$L,this.init();break}n===a&&(this.$d=new Date(""))}else H.call(this,S)}}})},7124:function(C){(function(_,$){C.exports=$()})(this,function(){"use strict";return function(_,$,y){$.prototype.isToday=function(){var g="YYYY-MM-DD",Y=y();return this.format(g)===Y.format(g)}}})},49133:function(C){(function(_,$){C.exports=$()})(this,function(){"use strict";return function(_,$,y){$.prototype.isTomorrow=function(){var g="YYYY-MM-DD",Y=y().add(1,"day");return this.format(g)===Y.format(g)}}})},50356:function(C){(function(_,$){C.exports=$()})(this,function(){"use strict";return function(_,$,y){$.prototype.isYesterday=function(){var g="YYYY-MM-DD",Y=y().subtract(1,"day");return this.format(g)===Y.format(g)}}})},96036:function(C){(function(_,$){C.exports=$()})(this,function(){"use strict";return function(_,$,y){var g=$.prototype,Y=function(o){return o&&(o.indexOf?o:o.s)},p=function(o,m,b,x,s){var r=o.name?o:o.$locale(),h=Y(r[m]),D=Y(r[b]),d=h||D.map(function(S){return S.slice(0,x)});if(!s)return d;var H=r.weekStart;return d.map(function(S,L){return d[(L+(H||0))%7]})},i=function(){return y.Ls[y.locale()]},v=function(o,m){return o.formats[m]||function(b){return b.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(x,s,r){return s||r.slice(1)})}(o.formats[m.toUpperCase()])},l=function(){var o=this;return{months:function(m){return m?m.format("MMMM"):p(o,"months")},monthsShort:function(m){return m?m.format("MMM"):p(o,"monthsShort","months",3)},firstDayOfWeek:function(){return o.$locale().weekStart||0},weekdays:function(m){return m?m.format("dddd"):p(o,"weekdays")},weekdaysMin:function(m){return m?m.format("dd"):p(o,"weekdaysMin","weekdays",2)},weekdaysShort:function(m){return m?m.format("ddd"):p(o,"weekdaysShort","weekdays",3)},longDateFormat:function(m){return v(o.$locale(),m)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};g.localeData=function(){return l.bind(this)()},y.localeData=function(){var o=i();return{firstDayOfWeek:function(){return o.weekStart||0},weekdays:function(){return y.weekdays()},weekdaysShort:function(){return y.weekdaysShort()},weekdaysMin:function(){return y.weekdaysMin()},months:function(){return y.months()},monthsShort:function(){return y.monthsShort()},longDateFormat:function(m){return v(o,m)},meridiem:o.meridiem,ordinal:o.ordinal}},y.months=function(){return p(i(),"months")},y.monthsShort=function(){return p(i(),"monthsShort","months",3)},y.weekdays=function(o){return p(i(),"weekdays",null,null,o)},y.weekdaysShort=function(o){return p(i(),"weekdaysShort","weekdays",3,o)},y.weekdaysMin=function(o){return p(i(),"weekdaysMin","weekdays",2,o)}}})},56176:function(C){(function(_,$){C.exports=$()})(this,function(){"use strict";var _={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};return function($,y,g){var Y=y.prototype,p=Y.format;g.en.formats=_,Y.format=function(i){i===void 0&&(i="YYYY-MM-DDTHH:mm:ssZ");var v=this.$locale().formats,l=function(o,m){return o.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(b,x,s){var r=s&&s.toUpperCase();return x||m[s]||_[s]||m[r].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(h,D,d){return D||d.slice(1)})})}(i,v===void 0?{}:v);return p.call(this,l)}}})},84110:function(C){(function(_,$){C.exports=$()})(this,function(){"use strict";return function(_,$,y){_=_||{};var g=$.prototype,Y={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function p(v,l,o,m){return g.fromToBase(v,l,o,m)}y.en.relativeTime=Y,g.fromToBase=function(v,l,o,m,b){for(var x,s,r,h=o.$locale().relativeTime||Y,D=_.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],d=D.length,H=0;H<d;H+=1){var S=D[H];S.d&&(x=m?y(v).diff(o,S.d,!0):o.diff(v,S.d,!0));var L=(_.rounding||Math.round)(Math.abs(x));if(r=x>0,L<=S.r||!S.r){L<=1&&H>0&&(S=D[H-1]);var U=h[S.l];b&&(L=b(""+L)),s=typeof U=="string"?U.replace("%d",L):U(L,l,S.l,r);break}}if(l)return s;var A=r?h.future:h.past;return typeof A=="function"?A(s):A.replace("%s",s)},g.to=function(v,l){return p(v,l,this,!0)},g.from=function(v,l){return p(v,l,this)};var i=function(v){return v.$u?y.utc():y()};g.toNow=function(v){return this.to(i(this),v)},g.fromNow=function(v){return this.from(i(this),v)}}})},70178:function(C){(function(_,$){C.exports=$()})(this,function(){"use strict";var _="minute",$=/[+-]\d\d(?::?\d\d)?/g,y=/([+-]|\d\d)/g;return function(g,Y,p){var i=Y.prototype;p.utc=function(s){var r={date:s,utc:!0,args:arguments};return new Y(r)},i.utc=function(s){var r=p(this.toDate(),{locale:this.$L,utc:!0});return s?r.add(this.utcOffset(),_):r},i.local=function(){return p(this.toDate(),{locale:this.$L,utc:!1})};var v=i.parse;i.parse=function(s){s.utc&&(this.$u=!0),this.$utils().u(s.$offset)||(this.$offset=s.$offset),v.call(this,s)};var l=i.init;i.init=function(){if(this.$u){var s=this.$d;this.$y=s.getUTCFullYear(),this.$M=s.getUTCMonth(),this.$D=s.getUTCDate(),this.$W=s.getUTCDay(),this.$H=s.getUTCHours(),this.$m=s.getUTCMinutes(),this.$s=s.getUTCSeconds(),this.$ms=s.getUTCMilliseconds()}else l.call(this)};var o=i.utcOffset;i.utcOffset=function(s,r){var h=this.$utils().u;if(h(s))return this.$u?0:h(this.$offset)?o.call(this):this.$offset;if(typeof s=="string"&&(s=function(S){S===void 0&&(S="");var L=S.match($);if(!L)return null;var U=(""+L[0]).match(y)||["-",0,0],A=U[0],W=60*+U[1]+ +U[2];return W===0?0:A==="+"?W:-W}(s),s===null))return this;var D=Math.abs(s)<=16?60*s:s,d=this;if(r)return d.$offset=D,d.$u=s===0,d;if(s!==0){var H=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(d=this.local().add(D+H,_)).$offset=D,d.$x.$localOffset=H}else d=this.utc();return d};var m=i.format;i.format=function(s){var r=s||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return m.call(this,r)},i.valueOf=function(){var s=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*s},i.isUTC=function(){return!!this.$u},i.toISOString=function(){return this.toDate().toISOString()},i.toString=function(){return this.toDate().toUTCString()};var b=i.toDate;i.toDate=function(s){return s==="s"&&this.$offset?p(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():b.call(this)};var x=i.diff;i.diff=function(s,r,h){if(s&&this.$u===s.$u)return x.call(this,s,r,h);var D=this.local(),d=p(s).local();return x.call(D,d,r,h)}}})}}]);