!function(n,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):n.moment=t()}(this,function(){"use strict";function t(){return kf.apply(null,arguments)}function nt(n){return n instanceof Array||"[object Array]"===Object.prototype.toString.call(n)}function ni(n){return null!=n&&"[object Object]"===Object.prototype.toString.call(n)}function s(n,t){return Object.prototype.hasOwnProperty.call(n,t)}function cu(n){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(n).length;for(var t in n)if(s(n,t))return;return 1}function b(n){return void 0===n}function ht(n){return"number"==typeof n||"[object Number]"===Object.prototype.toString.call(n)}function di(n){return n instanceof Date||"[object Date]"===Object.prototype.toString.call(n)}function df(n,t){for(var r=[],u=n.length,i=0;iir(n)?(f=n+1,t-ir(n)):(f=n,t);return{year:f,dayOfYear:i}}function er(n,t,i){var u,f,r=gr(n.year(),t,i),r=Math.floor((n.dayOfYear()-r-1)/7)+1;return r<1?u=r+yt(f=n.year()-1,t,i):r>yt(n.year(),t,i)?(u=r-yt(n.year(),t,i),f=n.year()+1):(f=n.year(),u=r),{week:u,year:f}}function yt(n,t,i){var r=gr(n,t,i),t=gr(n+1,t,i);return(ir(n)-r+t)/7}function nf(n,t){return n.slice(t,7).concat(n.slice(0,t))}function tf(){function i(n,t){return t.length-n.length}for(var r,u,n,f=[],e=[],o=[],t=[],s=0;s<7;s++)n=ut([2e3,1]).day(s),r=lt(this.weekdaysMin(n,"")),u=lt(this.weekdaysShort(n,"")),n=lt(this.weekdays(n,"")),f.push(r),e.push(u),o.push(n),t.push(r),t.push(u),t.push(n);f.sort(i);e.sort(i);o.sort(i);t.sort(i);this._weekdaysRegex=new RegExp("^("+t.join("|")+")","i");this._weekdaysShortRegex=this._weekdaysRegex;this._weekdaysMinRegex=this._weekdaysRegex;this._weekdaysStrictRegex=new RegExp("^("+o.join("|")+")","i");this._weekdaysShortStrictRegex=new RegExp("^("+e.join("|")+")","i");this._weekdaysMinStrictRegex=new RegExp("^("+f.join("|")+")","i")}function rf(){return this.hours()%12||12}function ve(n,t){r(n,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function ye(n,t){return t._meridiemParse}function we(n){return n&&n.toLowerCase().replace("_","-")}function as(n){for(var t,i,f,u,r=0;r=t&&function(n,t){for(var r=Math.min(n.length,t.length),i=0;i=t-1)break;t--}r++}return sr}function tu(n){var t,i;if(void 0===a[n]&&"undefined"!=typeof module&&module&&module.exports&&(i=n)&&i.match("^[^/\\\\]*$"))try{t=sr._abbr;require("./locale/"+n);dt(t)}catch(t){a[n]=null}return a[n]}function dt(n,t){return n&&((t=b(t)?pt(n):uf(n,t))?sr=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+n+" not found. Did you forget to load it?")),sr._abbr}function uf(n,t){if(null===t)return delete a[n],null;var r,i=pe;if(t.abbr=n,null!=a[n])ie("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),i=a[n]._config;else if(null!=t.parentLocale)if(null!=a[t.parentLocale])i=a[t.parentLocale]._config;else{if(null==(r=tu(t.parentLocale)))return hr[t.parentLocale]||(hr[t.parentLocale]=[]),hr[t.parentLocale].push({name:n,config:t}),null;i=r._config}return a[n]=new pu(yu(i,t)),hr[n]&&hr[n].forEach(function(n){uf(n.name,n.config)}),dt(n),a[n]}function pt(n){var t;if(!(n=n&&n._locale&&n._locale._abbr?n._locale._abbr:n))return sr;if(!nt(n)){if(t=tu(n))return t;n=[n]}return as(n)}function ff(n){var t=n._a;return t&&-2===u(n).overflow&&(t=t[at]<0||11gu(t[p],t[at])?ot:t[y]<0||24yt(h,o,v)?u(f)._overflowWeeks=!0:null!=s?u(f)._overflowWeekday=!0:(c=le(h,a,e,o,v),f._a[p]=c.year,f._dayOfYear=c.dayOfYear)),null!=n._dayOfYear&&(i=yi(n._a[p],w[p]),(n._dayOfYear>ir(i)||0===n._dayOfYear)&&(u(n)._overflowDayOfYear=!0),s=fr(i,0,n._dayOfYear),n._a[at]=s.getUTCMonth(),n._a[ot]=s.getUTCDate()),r=0;r<3&&null==n._a[r];++r)n._a[r]=b[r]=w[r];for(;r<7;r++)n._a[r]=b[r]=null==n._a[r]?2===r?1:0:n._a[r];24===n._a[y]&&0===n._a[it]&&0===n._a[vt]&&0===n._a[fi]&&(n._nextDay=!0,n._a[y]=0);n._d=(n._useUTC?fr:ss).apply(null,b);h=n._useUTC?n._d.getUTCDay():n._d.getDay();null!=n._tzm&&n._d.setUTCMinutes(n._d.getUTCMinutes()-n._tzm);n._nextDay&&(n._a[y]=24);n._w&&void 0!==n._w.d&&n._w.d!==h&&(u(n).weekdayMismatch=!0)}}function sf(n){if(n._f===t.ISO_8601)be(n);else if(n._f===t.RFC_2822)ke(n);else{n._a=[];u(n).empty=!0;for(var r,f,e,l,o,i=""+n._i,h=i.length,a=0,v=ue(n._f,n._locale).match(wu)||[],w=v.length,c=0;c>>0,t=0;tn.valueOf():n.valueOf()"});n.toJSON=function(){return this.isValid()?this.toISOString():null};n.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")};n.unix=function(){return Math.floor(this.valueOf()/1e3)};n.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)};n.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}};n.eraName=function(){for(var i,t=this.localeData().eras(),n=0,r=t.length;nthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()};n.isLocal=function(){return!!this.isValid()&&!this._isUTC};n.isUtcOffset=function(){return!!this.isValid()&&this._isUTC};n.isUtc=ro;n.isUTC=ro;n.zoneAbbr=function(){return this._isUTC?"UTC":""};n.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""};n.dates=k("dates accessor is deprecated. Use date instead.",ri);n.months=k("months accessor is deprecated. Use month instead",he);n.years=k("years accessor is deprecated. Use year instead",dr);n.zone=k("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(n,t){return null!=n?(this.utcOffset(n="string"!=typeof n?-n:n,t),this):-this.utcOffset()});n.isDSTShifted=k("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){var n,t;return b(this._isDSTShifted)&&(vu(n={},this),(n=de(n))._a?(t=(n._isUTC?ut:l)(n._a),this._isDSTShifted=this.isValid()&&0