//! moment.js //! version : 2.10.2 //! authors : tim wood, iskren chernev, moment.js contributors //! license : mit //! momentjs.com !function(a,b){ "object"==typeof exports&&"undefined"!=typeof module?module.exports=b():"function"==typeof define&&define.amd?define(b):a.moment=b() }(this,function(){ "use strict";function a(){ return ac.apply(null,arguments) } function b(a){ ac=a } function c(){ return{empty:!1,unusedtokens:[],unusedinput:[],overflow:-2,charsleftover:0,nullinput:!1,invalidmonth:null,invalidformat:!1,userinvalidated:!1,iso:!1} } function d(a){ return"[object array]"===object.prototype.tostring.call(a) } function e(a){ return"[object date]"===object.prototype.tostring.call(a)||a instanceof date } function f(a,b){ var c,d=[];for(c=0;c0)for(c in cc)d=cc[c],e=b[d],"undefined"!=typeof e&&(a[d]=e);return a } function m(b){ l(this,b),this._d=new date(+b._d),dc===!1&&(dc=!0,a.updateoffset(this),dc=!1) } function n(a){ return a instanceof m||null!=a&&g(a,"_isamomentobject") } function o(a){ var b=+a,c=0;return 0!==b&&isfinite(b)&&(c=b>=0?math.floor(b):math.ceil(b)),c } function p(a,b,c){ var d,e=math.min(a.length,b.length),f=math.abs(a.length-b.length),g=0; for(d=0;e>d;d++)(c&&a[d]!==b[d]||!c&&o(a[d])!==o(b[d]))&&g++; return g+f } function q(){} function r(a){ return a?a.tolowercase().replace("_","-"):a} function s(a){ for(var b,c,d,e,f=0;f0;){ if(d=t(e.slice(0,b).join("-"))) return d; if(c&&c.length>=b&&p(e,c,!0)>=b-1)break; b-- } f++ } return null } function t(a){ var b=null; if(!ec[a]&&"undefined"!=typeof module&&module&&module.exports)try{ b=bc._abbr,require("./locale/"+a),u(b) }catch(c){} return ec[a] } function u(a,b){ var c; return a&&(c="undefined"==typeof b?w(a):v(a,b),c&&(bc=c)),bc._abbr } function v(a,b){ return null!==b?(b.abbr=a,ec[a]||(ec[a]=new q),ec[a].set(b),u(a),ec[a]):(delete ec[a],null) } function w(a){ var b; if(a&&a._locale&&a._locale._abbr&&(a=a._locale._abbr),!a) return bc; if(!d(a)){ if(b=t(a))return b; a=[a] } return s(a) } function x(a,b){ var c=a.tolowercase();fc[c]=fc[c+"s"]=fc[b]=a } function y(a){ return"string"==typeof a?fc[a]||fc[a.tolowercase()]:void 0 } function z(a){ var b,c,d={}; for(c in a)g(a,c)&&(b=y(c),b&&(d[b]=a[c])); return d } function a(b,c){ return function(d){ return null!=d?(c(this,b,d),a.updateoffset(this,c),this):b(this,b) } } function b(a,b){ return a._d["get"+(a._isutc?"utc":"")+b]() } function c(a,b,c){ return a._d["set"+(a._isutc?"utc":"")+b](c) } function d(a,b){ var c; if("object"==typeof a) for(c in a)this.set(c,a[c]); else if(a=y(a),"function"==typeof this[a]) return this[a](b); return this } function e(a,b,c){ for(var d=""+math.abs(a),e=a>=0;d.lengthb;b++)d[b]=jc[d[b]]?jc[d[b]]:g(d[b]);return function(e){var f="";for(b=0;c>b;b++)f+=d[b]instanceof function?d[b].call(e,a):d[b];return f}}function i(a,b){return a.isvalid()?(b=j(b,a.localedata()),ic[b]||(ic[b]=h(b)),ic[b](a)):a.localedata().invaliddate()}function j(a,b){function c(a){return b.longdateformat(a)||a}var d=5;for(hc.lastindex=0;d>=0&&hc.test(a);)a=a.replace(hc,c),hc.lastindex=0,d-=1;return a}function k(a,b,c){yc[a]="function"==typeof b?b:function(a){return a&&c?c:b}}function l(a,b){return g(yc,a)?yc[a](b._strict,b._locale):new regexp(m(a))}function m(a){return a.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(a,b,c,d,e){return b||c||d||e}).replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function n(a,b){var c,d=b;for("string"==typeof a&&(a=[a]),"number"==typeof b&&(d=function(a,c){c[b]=o(a)}),c=0;cd;d++){if(e=i([2e3,d]),c&&!this._longmonthsparse[d]&&(this._longmonthsparse[d]=new regexp("^"+this.months(e,"").replace(".","")+"$","i"),this._shortmonthsparse[d]=new regexp("^"+this.monthsshort(e,"").replace(".","")+"$","i")),c||this._monthsparse[d]||(f="^"+this.months(e,"")+"|^"+this.monthsshort(e,""),this._monthsparse[d]=new regexp(f.replace(".",""),"i")),c&&"mmmm"===b&&this._longmonthsparse[d].test(a))return d;if(c&&"mmm"===b&&this._shortmonthsparse[d].test(a))return d;if(!c&&this._monthsparse[d].test(a))return d}}function u(a,b){var c;return"string"==typeof b&&(b=a.localedata().monthsparse(b),"number"!=typeof b)?a:(c=math.min(a.date(),q(a.year(),b)),a._d["set"+(a._isutc?"utc":"")+"month"](b,c),a)}function v(b){return null!=b?(u(this,b),a.updateoffset(this,!0),this):b(this,"month")}function w(){return q(this.year(),this.month())}function x(a){var b,c=a._a;return c&&-2===a._pf.overflow&&(b=c[_c]<0||c[_c]>11?_c:c[ad]<1||c[ad]>q(c[$c],c[_c])?ad:c[bd]<0||c[bd]>24||24===c[bd]&&(0!==c[cd]||0!==c[dd]||0!==c[ed])?bd:c[cd]<0||c[cd]>59?cd:c[dd]<0||c[dd]>59?dd:c[ed]<0||c[ed]>999?ed:-1,a._pf._overflowdayofyear&&($c>b||b>ad)&&(b=ad),a._pf.overflow=b),a}function y(b){a.suppressdeprecationwarnings===!1&&"undefined"!=typeof console&&console.warn&&console.warn("deprecation warning: "+b)}function z(a,b){var c=!0;return h(function(){return c&&(y(a),c=!1),b.apply(this,arguments)},b)}function $(a,b){hd[a]||(y(b),hd[a]=!0)}function _(a){var b,c,d=a._i,e=id.exec(d);if(e){for(a._pf.iso=!0,b=0,c=jd.length;c>b;b++)if(jd[b][1].exec(d)){a._f=jd[b][0]+(e[6]||" ");break}for(b=0,c=kd.length;c>b;b++)if(kd[b][1].exec(d)){a._f+=kd[b][0];break}d.match(vc)&&(a._f+="z"),sa(a)}else a._isvalid=!1}function aa(b){var c=ld.exec(b._i);return null!==c?void(b._d=new date(+c[1])):(_(b),void(b._isvalid===!1&&(delete b._isvalid,a.createfrominputfallback(b))))}function ba(a,b,c,d,e,f,g){var h=new date(a,b,c,d,e,f,g);return 1970>a&&h.setfullyear(a),h}function ca(a){var b=new date(date.utc.apply(null,arguments));return 1970>a&&b.setutcfullyear(a),b}function da(a){return ea(a)?366:365}function ea(a){return a%4===0&&a%100!==0||a%400===0}function fa(){return ea(this.year())}function ga(a,b,c){var d,e=c-b,f=c-a.day();return f>e&&(f-=7),e-7>f&&(f+=7),d=za(a).add(f,"d"),{week:math.ceil(d.dayofyear()/7),year:d.year()}}function ha(a){return ga(a,this._week.dow,this._week.doy).week}function ia(){return this._week.dow}function ja(){return this._week.doy}function ka(a){var b=this.localedata().week(this);return null==a?b:this.add(7*(a-b),"d")}function la(a){var b=ga(this,1,4).week;return null==a?b:this.add(7*(a-b),"d")}function ma(a,b,c,d,e){var f,g,h=ca(a,0,1).getutcday();return h=0===h?7:h,c=null!=c?c:e,f=e-h+(h>d?7:0)-(e>h?7:0),g=7*(b-1)+(c-e)+f+1,{year:g>0?a:a-1,dayofyear:g>0?g:da(a-1)+g}}function na(a){var b=math.round((this.clone().startof("day")-this.clone().startof("year"))/864e5)+1;return null==a?b:this.add(a-b,"d")}function oa(a,b,c){return null!=a?a:null!=b?b:c}function pa(a){var b=new date;return a._useutc?[b.getutcfullyear(),b.getutcmonth(),b.getutcdate()]:[b.getfullyear(),b.getmonth(),b.getdate()]}function qa(a){var b,c,d,e,f=[];if(!a._d){for(d=pa(a),a._w&&null==a._a[ad]&&null==a._a[_c]&&ra(a),a._dayofyear&&(e=oa(a._a[$c],d[$c]),a._dayofyear>da(e)&&(a._pf._overflowdayofyear=!0),c=ca(e,0,a._dayofyear),a._a[_c]=c.getutcmonth(),a._a[ad]=c.getutcdate()),b=0;3>b&&null==a._a[b];++b)a._a[b]=f[b]=d[b];for(;7>b;b++)a._a[b]=f[b]=null==a._a[b]?2===b?1:0:a._a[b];24===a._a[bd]&&0===a._a[cd]&&0===a._a[dd]&&0===a._a[ed]&&(a._nextday=!0,a._a[bd]=0),a._d=(a._useutc?ca:ba).apply(null,f),null!=a._tzm&&a._d.setutcminutes(a._d.getutcminutes()-a._tzm),a._nextday&&(a._a[bd]=24)}}function ra(a){var b,c,d,e,f,g,h;b=a._w,null!=b.gg||null!=b.w||null!=b.e?(f=1,g=4,c=oa(b.gg,a._a[$c],ga(za(),1,4).year),d=oa(b.w,1),e=oa(b.e,1)):(f=a._locale._week.dow,g=a._locale._week.doy,c=oa(b.gg,a._a[$c],ga(za(),f,g).year),d=oa(b.w,1),null!=b.d?(e=b.d,f>e&&++d):e=null!=b.e?b.e+f:f),h=ma(c,d,e,g,f),a._a[$c]=h.year,a._dayofyear=h.dayofyear}function sa(b){if(b._f===a.iso_8601)return void _(b);b._a=[],b._pf.empty=!0;var c,d,e,f,g,h=""+b._i,i=h.length,j=0;for(e=j(b._f,b._locale).match(gc)||[],c=0;c0&&b._pf.unusedinput.push(g),h=h.slice(h.indexof(d)+d.length),j+=d.length),jc[f]?(d?b._pf.empty=!1:b._pf.unusedtokens.push(f),p(f,d,b)):b._strict&&!d&&b._pf.unusedtokens.push(f);b._pf.charsleftover=i-j,h.length>0&&b._pf.unusedinput.push(h),b._pf.bighour===!0&&b._a[bd]<=12&&(b._pf.bighour=void 0),b._a[bd]=ta(b._locale,b._a[bd],b._meridiem),qa(b),x(b)}function ta(a,b,c){var d;return null==c?b:null!=a.meridiemhour?a.meridiemhour(b,c):null!=a.ispm?(d=a.ispm(c),d&&12>b&&(b+=12),d||12!==b||(b=0),b):b}function ua(a){var b,d,e,f,g;if(0===a._f.length)return a._pf.invalidformat=!0,void(a._d=new date(0/0));for(f=0;fg)&&(e=g,d=b));h(a,d||b)}function va(a){if(!a._d){var b=z(a._i);a._a=[b.year,b.month,b.day||b.date,b.hour,b.minute,b.second,b.millisecond],qa(a)}}function wa(a){var b,c=a._i,e=a._f;return a._locale=a._locale||w(a._l),null===c||void 0===e&&""===c?k({nullinput:!0}):("string"==typeof c&&(a._i=c=a._locale.preparse(c)),n(c)?new m(x(c)):(d(e)?ua(a):e?sa(a):xa(a),b=new m(x(a)),b._nextday&&(b.add(1,"d"),b._nextday=void 0),b))}function xa(b){var c=b._i;void 0===c?b._d=new date:e(c)?b._d=new date(+c):"string"==typeof c?aa(b):d(c)?(b._a=f(c.slice(0),function(a){return parseint(a,10)}),qa(b)):"object"==typeof c?va(b):"number"==typeof c?b._d=new date(c):a.createfrominputfallback(b)}function ya(a,b,d,e,f){var g={};return"boolean"==typeof d&&(e=d,d=void 0),g._isamomentobject=!0,g._useutc=g._isutc=f,g._l=d,g._i=a,g._f=b,g._strict=e,g._pf=c(),wa(g)}function za(a,b,c,d){return ya(a,b,c,d,!1)}function aa(a,b){var c,e;if(1===b.length&&d(b[0])&&(b=b[0]),!b.length)return za();for(c=b[0],e=1;ea&&(a=-a,c="-"),c+e(~~(a/60),2)+b+e(~~a%60,2)})}function ga(a){var b=(a||"").match(vc)||[],c=b[b.length-1]||[],d=(c+"").match(qd)||["-",0,0],e=+(60*d[1])+o(d[2]);return"+"===d[0]?e:-e}function ha(b,c){var d,f;return c._isutc?(d=c.clone(),f=(n(b)||e(b)?+b:+za(b))-+d,d._d.settime(+d._d+f),a.updateoffset(d,!1),d):za(b).local();return c._isutc?za(b).zone(c._offset||0):za(b).local()}function ia(a){return 15*-math.round(a._d.gettimezoneoffset()/15)}function ja(b,c){var d,e=this._offset||0;return null!=b?("string"==typeof b&&(b=ga(b)),math.abs(b)<16&&(b=60*b),!this._isutc&&c&&(d=ia(this)),this._offset=b,this._isutc=!0,null!=d&&this.add(d,"m"),e!==b&&(!c||this._changeinprogress?za(this,ua(b-e,"m"),1,!1):this._changeinprogress||(this._changeinprogress=!0,a.updateoffset(this,!0),this._changeinprogress=null)),this):this._isutc?e:ia(this)}function ka(a,b){return null!=a?("string"!=typeof a&&(a=-a),this.utcoffset(a,b),this):-this.utcoffset()}function la(a){return this.utcoffset(0,a)}function ma(a){return this._isutc&&(this.utcoffset(0,a),this._isutc=!1,a&&this.subtract(ia(this),"m")),this}function na(){return this._tzm?this.utcoffset(this._tzm):"string"==typeof this._i&&this.utcoffset(ga(this._i)),this}function oa(a){return a=a?za(a).utcoffset():0,(this.utcoffset()-a)%60===0}function pa(){return this.utcoffset()>this.clone().month(0).utcoffset()||this.utcoffset()>this.clone().month(5).utcoffset()}function qa(){if(this._a){var a=this._isutc?i(this._a):za(this._a);return this.isvalid()&&p(this._a,a.toarray())>0}return!1}function ra(){return!this._isutc}function sa(){return this._isutc}function ta(){return this._isutc&&0===this._offset}function ua(a,b){var c,d,e,f=a,h=null;return ea(a)?f={ms:a._milliseconds,d:a._days,m:a._months}:"number"==typeof a?(f={},b?f[b]=a:f.milliseconds=a):(h=rd.exec(a))?(c="-"===h[1]?-1:1,f={y:0,d:o(h[ad])*c,h:o(h[bd])*c,m:o(h[cd])*c,s:o(h[dd])*c,ms:o(h[ed])*c}):(h=sd.exec(a))?(c="-"===h[1]?-1:1,f={y:va(h[2],c),m:va(h[3],c),d:va(h[4],c),h:va(h[5],c),m:va(h[6],c),s:va(h[7],c),w:va(h[8],c)}):null==f?f={}:"object"==typeof f&&("from"in f||"to"in f)&&(e=xa(za(f.from),za(f.to)),f={},f.ms=e.milliseconds,f.m=e.months),d=new da(f),ea(a)&&g(a,"_locale")&&(d._locale=a._locale),d}function va(a,b){var c=a&&parsefloat(a.replace(",","."));return(isnan(c)?0:c)*b}function wa(a,b){var c={milliseconds:0,months:0};return c.months=b.month()-a.month()+12*(b.year()-a.year()),a.clone().add(c.months,"m").isafter(b)&&--c.months,c.milliseconds=+b-+a.clone().add(c.months,"m"),c}function xa(a,b){var c;return b=ha(b,a),a.isbefore(b)?c=wa(a,b):(c=wa(b,a),c.milliseconds=-c.milliseconds,c.months=-c.months),c}function ya(a,b){return function(c,d){var e,f;return null===d||isnan(+d)||($(b,"moment()."+b+"(period, number) is deprecated. please use moment()."+b+"(number, period)."),f=c,c=d,d=f),c="string"==typeof c?+c:c,e=ua(c,d),za(this,e,a),this}}function za(b,c,d,e){var f=c._milliseconds,g=c._days,h=c._months;e=null==e?!0:e,f&&b._d.settime(+b._d+f*d),g&&c(b,"date",b(b,"date")+g*d),h&&u(b,b(b,"month")+h*d),e&&a.updateoffset(b,g||h)}function $a(a){var b=a||za(),c=ha(b,this).startof("day"),d=this.diff(c,"days",!0),e=-6>d?"sameelse":-1>d?"lastweek":0>d?"lastday":1>d?"sameday":2>d?"nextday":7>d?"nextweek":"sameelse";return this.format(this.localedata().calendar(e,this,za(b)))}function _a(){return new m(this)}function ab(a,b){var c;return b=y("undefined"!=typeof b?b:"millisecond"),"millisecond"===b?(a=n(a)?a:za(a),+this>+a):(c=n(a)?+a:+za(a),c<+this.clone().startof(b))}function bb(a,b){var c;return b=y("undefined"!=typeof b?b:"millisecond"),"millisecond"===b?(a=n(a)?a:za(a),+a>+this):(c=n(a)?+a:+za(a),+this.clone().endof(b)a?math.ceil(a):math.floor(a)}function fb(a,b,c){var d,e,f=ha(a,this),g=6e4*(f.utcoffset()-this.utcoffset());return b=y(b),"year"===b||"month"===b||"quarter"===b?(e=gb(this,f),"quarter"===b?e/=3:"year"===b&&(e/=12)):(d=this-f,e="second"===b?d/1e3:"minute"===b?d/6e4:"hour"===b?d/36e5:"day"===b?(d-g)/864e5:"week"===b?(d-g)/6048e5:d),c?e:eb(e)}function gb(a,b){var c,d,e=12*(b.year()-a.year())+(b.month()-a.month()),f=a.clone().add(e,"months");return 0>b-f?(c=a.clone().add(e-1,"months"),d=(b-f)/(f-c)):(c=a.clone().add(e+1,"months"),d=(b-f)/(c-f)),-(e+d)}function hb(){return this.clone().locale("en").format("ddd mmm dd yyyy hh:mm:ss [gmt]zz")}function ib(){var a=this.clone().utc();return 0b;b++)if(this._weekdaysparse[b]||(c=za([2e3,1]).day(b),d="^"+this.weekdays(c,"")+"|^"+this.weekdaysshort(c,"")+"|^"+this.weekdaysmin(c,""),this._weekdaysparse[b]=new regexp(d.replace(".",""),"i")),this._weekdaysparse[b].test(a))return b}function jb(a){var b=this._isutc?this._d.getutcday():this._d.getday();return null!=a?(a=eb(a,this.localedata()),this.add(a-b,"d")):b}function kb(a){var b=(this.day()+7-this.localedata()._week.dow)%7;return null==a?b:this.add(a-b,"d")}function lb(a){return null==a?this.day()||7:this.day(this.day()%7?a:a-7)}function mb(a,b){f(a,0,0,function(){return this.localedata().meridiem(this.hours(),this.minutes(),b)})}function nb(a,b){return b._meridiemparse} function ob(a){return"p"===(a+"").tolowercase().charat(0)} function pb(a,b,c){return a>11?c?"pm":"pm":c?"am":"am"} function qb(a){f(0,[a,3],0,"millisecond")} function rb(){return this._isutc?"utc":""} function sb(){return this._isutc?"coordinated universal time":""} function tb(a){return za(1e3*a)} function ub(){return za.apply(null,arguments).parsezone()} function vb(a,b,c){var d=this._calendar[a];return"function"==typeof d?d.call(b,c):d} function wb(a){var b=this._longdateformat[a];return!b&&this._longdateformat[a.touppercase()]&&(b=this._longdateformat[a.touppercase()].replace(/mmmm|mm|dd|dddd/g,function(a){return a.slice(1)}),this._longdateformat[a]=b),b} function xb(){return this._invaliddate} function yb(a){return this._ordinal.replace("%d",a)} function zb(a){return a} function $b(a,b,c,d){var e=this._relativetime[c];return"function"==typeof e?e(a,b,c,d):e.replace(/%d/i,a)}function _b(a,b){var c=this._relativetime[a>0?"future":"past"];return"function"==typeof c?c(b):c.replace(/%s/i,b)} function ac(a){var b,c;for(c in a)b=a[c],"function"==typeof b?this[c]=b:this["_"+c]=b;this._ordinalparselenient=new regexp(this._ordinalparse.source+"|"+/\d{1,2}/.source)}function bc(a,b,c,d){var e=w(),f=i().set(d,b);return e[c](f,a)}function cc(a,b,c,d,e){if("number"==typeof a&&(b=a,a=void 0),a=a||"",null!=b)return bc(a,b,c,e);var f,g=[];for(f=0;d>f;f++)g[f]=bc(a,f,c,e);return g}function dc(a,b){return cc(a,b,"months",12,"month")}function ec(a,b){return cc(a,b,"monthsshort",12,"month")}function fc(a,b){return cc(a,b,"weekdays",7,"day")}function gc(a,b){return cc(a,b,"weekdaysshort",7,"day")}function hc(a,b){return cc(a,b,"weekdaysmin",7,"day")}function ic(){var a=this._data;return this._milliseconds=od(this._milliseconds),this._days=od(this._days),this._months=od(this._months),a.milliseconds=od(a.milliseconds),a.seconds=od(a.seconds),a.minutes=od(a.minutes),a.hours=od(a.hours),a.months=od(a.months),a.years=od(a.years),this}function jc(a,b,c,d){var e=ua(b,c);return a._milliseconds+=d*e._milliseconds,a._days+=d*e._days,a._months+=d*e._months,a._bubble()}function kc(a,b){return jc(this,a,b,1)}function lc(a,b){return jc(this,a,b,-1)}function mc(){var a,b,c,d=this._milliseconds,e=this._days,f=this._months,g=this._data,h=0;return g.milliseconds=d%1e3,a=eb(d/1e3),g.seconds=a%60,b=eb(a/60),g.minutes=b%60,c=eb(b/60),g.hours=c%24,e+=eb(c/24),h=eb(nc(e)),e-=eb(oc(h)),f+=eb(e/30),e%=30,h+=eb(f/12),f%=12,g.days=e,g.months=f,g.years=h,this} function nc(a){return 400*a/146097} function oc(a){return 146097*a/400}function pc(a){var b,c,d=this._milliseconds;if(a=y(a),"month"===a||"year"===a)return b=this._days+d/864e5,c=this._months+12*nc(b),"month"===a?c:c/12;switch(b=this._days+math.round(oc(this._months/12)),a){case"week":return b/7+d/6048e5;case"day":return b+d/864e5;case"hour":return 24*b+d/36e5;case"minute":return 24*b*60+d/6e4;case"second":return 24*b*60*60+d/1e3;case"millisecond":return math.floor(24*b*60*60*1e3)+d;default:throw new error("unknown unit "+a)}}function qc(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*o(this._months/12)}function rc(a){return function(){return this.as(a)}}function sc(a){return a=y(a),this[a+"s"]()}function tc(a){return function(){return this._data[a]}}function uc(){return eb(this.days()/7)}function vc(a,b,c,d,e){return e.relativetime(b||1,!!c,a,d)}function wc(a,b,c){var d=ua(a).abs(),e=ce(d.as("s")),f=ce(d.as("m")),g=ce(d.as("h")),h=ce(d.as("d")),i=ce(d.as("m")),j=ce(d.as("y")),k=e0,k[4]=c,vc.apply(null,k)}function xc(a,b){return void 0===de[a]?!1:void 0===b?de[a]:(de[a]=b,!0)}function yc(a){var b=this.localedata(),c=wc(this,!a,b);return a&&(c=b.pastfuture(+this,c)),b.postformat(c)}function zc(){var a=ee(this.years()),b=ee(this.months()),c=ee(this.days()),d=ee(this.hours()),e=ee(this.minutes()),f=ee(this.seconds()+this.milliseconds()/1e3),g=this.asseconds();return g?(0>g?"-":"")+"p"+(a?a+"y":"")+(b?b+"m":"")+(c?c+"d":"")+(d||e||f?"t":"")+(d?d+"h":"")+(e?e+"m":"")+(f?f+"s":""):"p0d"}var ac,bc,cc=a.momentproperties=[],dc=!1,ec={},fc={},gc=/(\[[^\[]*\])|(\\)?(mo|mm?m?m?|do|dddo|dd?d?d?|ddd?d?|do?|w[o|w]?|w[o|w]?|q|yyyyyy|yyyyy|yyyy|yy|gg(ggg?)?|gg(ggg?)?|e|e|a|a|hh?|hh?|mm?|ss?|s{1,4}|x|x|zz?|zz?|.)/g,hc=/(\[[^\[]*\])|(\\)?(lts|lt|ll?l?l?|l{1,4})/g,ic={},jc={},kc=/\d/,lc=/\d\d/,mc=/\d{3}/,nc=/\d{4}/,oc=/[+-]?\d{6}/,pc=/\d\d?/,qc=/\d{1,3}/,rc=/\d{1,4}/,sc=/[+-]?\d{1,6}/,tc=/\d+/,uc=/[+-]?\d+/,vc=/z|[+-]\d\d:?\d\d/gi,wc=/[+-]?\d+(\.\d{1,3})?/,xc=/[0-9]*['a-z\u00a0-\u05ff\u0700-\ud7ff\uf900-\ufdcf\ufdf0-\uffef]+|[\u0600-\u06ff\/]+(\s*?[\u0600-\u06ff]+){1,2}/i,yc={},zc={},$c=0,_c=1,ad=2,bd=3,cd=4,dd=5,ed=6;f("m",["mm",2],"mo",function(){return this.month()+1}),f("mmm",0,0,function(a){return this.localedata().monthsshort(this,a)}),f("mmmm",0,0,function(a){return this.localedata().months(this,a)}),x("month","m"),k("m",pc),k("mm",pc,lc),k("mmm",xc),k("mmmm",xc),n(["m","mm"],function(a,b){b[_c]=o(a)-1}),n(["mmm","mmmm"],function(a,b,c,d){var e=c._locale.monthsparse(a,d,c._strict);null!=e?b[_c]=e:c._pf.invalidmonth=a});var fd="january_february_march_april_may_june_july_august_september_october_november_december".split("_"),gd="jan_feb_mar_apr_may_jun_jul_aug_sep_oct_nov_dec".split("_"),hd={};a.suppressdeprecationwarnings=!1;var id=/^\s*(?:[+-]\d{6}|\d{4})-(?:(\d\d-\d\d)|(w\d\d$)|(w\d\d-\d)|(\d\d\d))((t| )(\d\d(:\d\d(:\d\d(\.\d+)?)?)?)?([\+\-]\d\d(?::?\d\d)?|\s*z)?)?$/,jd=[["yyyyyy-mm-dd",/[+-]\d{6}-\d{2}-\d{2}/],["yyyy-mm-dd",/\d{4}-\d{2}-\d{2}/],["gggg-[w]ww-e",/\d{4}-w\d{2}-\d/],["gggg-[w]ww",/\d{4}-w\d{2}/],["yyyy-ddd",/\d{4}-\d{3}/]],kd=[["hh:mm:ss.ssss",/(t| )\d\d:\d\d:\d\d\.\d+/],["hh:mm:ss",/(t| )\d\d:\d\d:\d\d/],["hh:mm",/(t| )\d\d:\d\d/],["hh",/(t| )\d\d/]],ld=/^\/?date\((\-?\d+)/i;a.createfrominputfallback=z("moment construction falls back to js date. this is discouraged and will be removed in upcoming major release. please refer to https://github.com/moment/moment/issues/1407 for more info.",function(a){a._d=new date(a._i+(a._useutc?" utc":""))}),f(0,["yy",2],0,function(){return this.year()%100}),f(0,["yyyy",4],0,"year"),f(0,["yyyyy",5],0,"year"),f(0,["yyyyyy",6,!0],0,"year"),x("year","y"),k("y",uc),k("yy",pc,lc),k("yyyy",rc,nc),k("yyyyy",sc,oc),k("yyyyyy",sc,oc),n(["yyyy","yyyyy","yyyyyy"],$c),n("yy",function(b,c){c[$c]=a.parsetwodigityear(b)}),a.parsetwodigityear=function(a){return o(a)+(o(a)>68?1900:2e3)};var md=a("fullyear",!1);f("w",["ww",2],"wo","week"),f("w",["ww",2],"wo","isoweek"),x("week","w"),x("isoweek","w"),k("w",pc),k("ww",pc,lc),k("w",pc),k("ww",pc,lc),o(["w","ww","w","ww"],function(a,b,c,d){b[d.substr(0,1)]=o(a)});var nd={dow:0,doy:6};f("ddd",["dddd",3],"dddo","dayofyear"),x("dayofyear","ddd"),k("ddd",qc),k("dddd",mc),n(["ddd","dddd"],function(a,b,c){c._dayofyear=o(a)}),a.iso_8601=function(){};var od=z("moment().min is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548",function(){var a=za.apply(null,arguments);return this>a?this:a}),pd=z("moment().max is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548",function(){var a=za.apply(null,arguments);return a>this?this:a});fa("z",":"),fa("zz",""),k("z",vc),k("zz",vc),n(["z","zz"],function(a,b,c){c._useutc=!0,c._tzm=ga(a)});var qd=/([\+\-]|\d\d)/gi;a.updateoffset=function(){};var rd=/(\-)?(?:(\d*)\.)?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?)?/,sd=/^(-)?p(?:(?:([0-9,.]*)y)?(?:([0-9,.]*)m)?(?:([0-9,.]*)d)?(?:t(?:([0-9,.]*)h)?(?:([0-9,.]*)m)?(?:([0-9,.]*)s)?)?|([0-9,.]*)w)$/;ua.fn=da.prototype;var td=ya(1,"add"),ud=ya(-1,"subtract");a.defaultformat="yyyy-mm-ddthh:mm:ssz";var vd=z("moment().lang() is deprecated. instead, use moment().localedata() to get the language configuration. use moment().locale() to change languages.",function(a){return void 0===a?this.localedata():this.locale(a)});f(0,["gg",2],0,function(){return this.weekyear()%100}),f(0,["gg",2],0,function(){return this.isoweekyear()%100}),xb("gggg","weekyear"),xb("ggggg","weekyear"),xb("gggg","isoweekyear"),xb("ggggg","isoweekyear"),x("weekyear","gg"),x("isoweekyear","gg"),k("g",uc),k("g",uc),k("gg",pc,lc),k("gg",pc,lc),k("gggg",rc,nc),k("gggg",rc,nc),k("ggggg",sc,oc),k("ggggg",sc,oc),o(["gggg","ggggg","gggg","ggggg"],function(a,b,c,d){b[d.substr(0,2)]=o(a)}),o(["gg","gg"],function(b,c,d,e){c[e]=a.parsetwodigityear(b)}),f("q",0,0,"quarter"),x("quarter","q"),k("q",kc),n("q",function(a,b){b[_c]=3*(o(a)-1)}),f("d",["dd",2],"do","date"),x("date","d"),k("d",pc),k("dd",pc,lc),k("do",function(a,b){return a?b._ordinalparse:b._ordinalparselenient}),n(["d","dd"],ad),n("do",function(a,b){b[ad]=o(a.match(pc)[0],10)});var wd=a("date",!0);f("d",0,"do","day"),f("dd",0,0,function(a){return this.localedata().weekdaysmin(this,a)}),f("ddd",0,0,function(a){return this.localedata().weekdaysshort(this,a)}),f("dddd",0,0,function(a){return this.localedata().weekdays(this,a)}),f("e",0,0,"weekday"),f("e",0,0,"isoweekday"),x("day","d"),x("weekday","e"),x("isoweekday","e"),k("d",pc),k("e",pc),k("e",pc),k("dd",xc),k("ddd",xc),k("dddd",xc),o(["dd","ddd","dddd"],function(a,b,c){var d=c._locale.weekdaysparse(a);null!=d?b.d=d:c._pf.invalidweekday=a}),o(["d","e","e"],function(a,b,c,d){b[d]=o(a)});var xd="sunday_monday_tuesday_wednesday_thursday_friday_saturday".split("_"),yd="sun_mon_tue_wed_thu_fri_sat".split("_"),zd="su_mo_tu_we_th_fr_sa".split("_");f("h",["hh",2],0,"hour"),f("h",["hh",2],0,function(){return this.hours()%12||12}),mb("a",!0),mb("a",!1),x("hour","h"),k("a",nb),k("a",nb),k("h",pc),k("h",pc),k("hh",pc,lc),k("hh",pc,lc),n(["h","hh"],bd),n(["a","a"],function(a,b,c){c._ispm=c._locale.ispm(a),c._meridiem=a}),n(["h","hh"],function(a,b,c){b[bd]=o(a),c._pf.bighour=!0});var ad=/[ap]\.?m?\.?/i,bd=a("hours",!0);f("m",["mm",2],0,"minute"),x("minute","m"),k("m",pc),k("mm",pc,lc),n(["m","mm"],cd);var cd=a("minutes",!1);f("s",["ss",2],0,"second"),x("second","s"),k("s",pc),k("ss",pc,lc),n(["s","ss"],dd);var dd=a("seconds",!1);f("s",0,0,function(){return~~(this.millisecond()/100)}),f(0,["ss",2],0,function(){return~~(this.millisecond()/10)}),qb("sss"),qb("ssss"),x("millisecond","ms"),k("s",qc,kc),k("ss",qc,lc),k("sss",qc,mc),k("ssss",tc),n(["s","ss","sss","ssss"],function(a,b){b[ed]=o(1e3*("0."+a))});var ed=a("milliseconds",!1);f("z",0,0,"zoneabbr"),f("zz",0,0,"zonename");var fd=m.prototype;fd.add=td,fd.calendar=$a,fd.clone=_a,fd.diff=fb,fd.endof=pb,fd.format=jb,fd.from=kb,fd.fromnow=lb,fd.get=d,fd.invalidat=wb,fd.isafter=ab,fd.isbefore=bb,fd.isbetween=cb,fd.issame=db,fd.isvalid=ub,fd.lang=vd,fd.locale=mb,fd.localedata=nb,fd.max=pd,fd.min=od,fd.parsingflags=vb,fd.set=d,fd.startof=ob,fd.subtract=ud,fd.toarray=tb,fd.todate=sb,fd.toisostring=ib,fd.tojson=ib,fd.tostring=hb,fd.unix=rb,fd.valueof=qb,fd.year=md,fd.isleapyear=fa,fd.weekyear=zb,fd.isoweekyear=ab,fd.quarter=fd.quarters=db,fd.month=v,fd.daysinmonth=w,fd.week=fd.weeks=ka,fd.isoweek=fd.isoweeks=la,fd.weeksinyear=cb,fd.isoweeksinyear=bb,fd.date=wd,fd.day=fd.days=jb,fd.weekday=kb,fd.isoweekday=lb,fd.dayofyear=na,fd.hour=fd.hours=bd,fd.minute=fd.minutes=cd,fd.second=fd.seconds=dd,fd.millisecond=fd.milliseconds=ed,fd.utcoffset=ja,fd.utc=la,fd.local=ma,fd.parsezone=na,fd.hasalignedhouroffset=oa,fd.isdst=pa,fd.isdstshifted=qa,fd.islocal=ra,fd.isutcoffset=sa,fd.isutc=ta,fd.isutc=ta,fd.zoneabbr=rb,fd.zonename=sb,fd.dates=z("dates accessor is deprecated. use date instead.",wd),fd.months=z("months accessor is deprecated. use month instead",v),fd.years=z("years accessor is deprecated. use year instead",md),fd.zone=z("moment().zone is deprecated, use moment().utcoffset instead. https://github.com/moment/moment/issues/1779",ka);var gd=fd,hd={sameday:"[today at] lt",nextday:"[tomorrow at] lt",nextweek:"dddd [at] lt",lastday:"[yesterday at] lt",lastweek:"[last] dddd [at] lt",sameelse:"l"},id={lts:"h:mm:ss a",lt:"h:mm a",l:"mm/dd/yyyy",ll:"mmmm d, yyyy",lll:"mmmm d, yyyy lt",llll:"dddd, mmmm d, yyyy lt"},jd="invalid date",kd="%d",ld=/\d{1,2}/,md={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"},nd=q.prototype;nd._calendar=hd,nd.calendar=vb,nd._longdateformat=id,nd.longdateformat=wb,nd._invaliddate=jd,nd.invaliddate=xb,nd._ordinal=kd,nd.ordinal=yb,nd._ordinalparse=ld, nd.preparse=zb,nd.postformat=zb,nd._relativetime=md,nd.relativetime=$b,nd.pastfuture=_b,nd.set=ac,nd.months=r,nd._months=fd,nd.monthsshort=s,nd._monthsshort=gd,nd.monthsparse=t,nd.week=ha,nd._week=nd,nd.firstdayofyear=ja,nd.firstdayofweek=ia,nd.weekdays=fb,nd._weekdays=xd,nd.weekdaysmin=hb,nd._weekdaysmin=zd,nd.weekdaysshort=gb,nd._weekdaysshort=yd,nd.weekdaysparse=ib,nd.ispm=ob,nd._meridiemparse=ad,nd.meridiem=pb,u("en",{ordinalparse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(a){var b=a%10,c=1===o(a%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th";return a+c}}),a.lang=z("moment.lang is deprecated. use moment.locale instead.",u),a.langdata=z("moment.langdata is deprecated. use moment.localedata instead.",w);var od=math.abs,pd=rc("ms"),qd=rc("s"),rd=rc("m"),sd=rc("h"),td=rc("d"),ud=rc("w"),vd=rc("m"),wd=rc("y"),xd=tc("milliseconds"),yd=tc("seconds"),zd=tc("minutes"),$d=tc("hours"),_d=tc("days"),ae=tc("months"),be=tc("years"),ce=math.round,de={s:45,m:45,h:22,d:26,m:11},ee=math.abs,fe=da.prototype;fe.abs=ic,fe.add=kc,fe.subtract=lc,fe.as=pc,fe.asmilliseconds=pd,fe.asseconds=qd,fe.asminutes=rd,fe.ashours=sd,fe.asdays=td,fe.asweeks=ud,fe.asmonths=vd,fe.asyears=wd,fe.valueof=qc,fe._bubble=mc,fe.get=sc,fe.milliseconds=xd,fe.seconds=yd,fe.minutes=zd,fe.hours=$d,fe.days=_d,fe.weeks=uc,fe.months=ae,fe.years=be,fe.humanize=yc,fe.toisostring=zc,fe.tostring=zc,fe.tojson=zc,fe.locale=mb,fe.localedata=nb,fe.toisostring=z("toisostring() is deprecated. please use toisostring() instead (notice the capitals)",zc),fe.lang=vd,f("x",0,0,"unix"),f("x",0,0,"valueof"),k("x",uc),k("x",wc),n("x",function(a,b,c){c._d=new date(1e3*parsefloat(a,10))}),n("x",function(a,b,c){c._d=new date(o(a))}),a.version="2.10.2",b(za),a.fn=gd,a.min=ba,a.max=ca,a.utc=i,a.unix=tb,a.months=dc,a.isdate=e,a.locale=u,a.invalid=k,a.duration=ua,a.ismoment=n,a.weekdays=fc,a.parsezone=ub,a.localedata=w,a.isduration=ea,a.monthsshort=ec,a.weekdaysmin=hc,a.definelocale=v,a.weekdaysshort=gc,a.normalizeunits=y,a.relativetimethreshold=xc;var ge=a;return ge});