hadron-react-bson
Version:
Hadron React BSON Components
1 lines • 549 kB
JavaScript
!function(e,a){"object"==typeof exports&&"object"==typeof module?module.exports=a(require("prop-types"),require("react")):"function"==typeof define&&define.amd?define(["prop-types","react"],a):"object"==typeof exports?exports["hadron-react-bson"]=a(require("prop-types"),require("react")):e["hadron-react-bson"]=a(e["prop-types"],e.react)}(window,(function(e,a){return function(e){var a={};function n(t){if(a[t])return a[t].exports;var r=a[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=a,n.d=function(e,a,t){n.o(e,a)||Object.defineProperty(e,a,{enumerable:!0,get:t})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,a){if(1&a&&(e=n(e)),8&a)return e;if(4&a&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(n.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&a&&"string"!=typeof e)for(var r in e)n.d(t,r,function(a){return e[a]}.bind(null,r));return t},n.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(a,"a",a),a},n.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},n.p="./",n(n.s=250)}([function(e,a,n){(function(e){e.exports=function(){"use strict";var a,t;function r(){return a.apply(null,arguments)}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function c(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function i(e,a){return Object.prototype.hasOwnProperty.call(e,a)}function s(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var a;for(a in e)if(i(e,a))return!1;return!0}function M(e){return void 0===e}function d(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function u(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function _(e,a){var n,t=[];for(n=0;n<e.length;++n)t.push(a(e[n],n));return t}function l(e,a){for(var n in a)i(a,n)&&(e[n]=a[n]);return i(a,"toString")&&(e.toString=a.toString),i(a,"valueOf")&&(e.valueOf=a.valueOf),e}function m(e,a,n,t){return Oa(e,a,n,t,!0).utc()}function p(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function f(e){if(null==e._isValid){var a=p(e),n=t.call(a.parsedDateParts,(function(e){return null!=e})),r=!isNaN(e._d.getTime())&&a.overflow<0&&!a.empty&&!a.invalidEra&&!a.invalidMonth&&!a.invalidWeekday&&!a.weekdayMismatch&&!a.nullInput&&!a.invalidFormat&&!a.userInvalidated&&(!a.meridiem||a.meridiem&&n);if(e._strict&&(r=r&&0===a.charsLeftOver&&0===a.unusedTokens.length&&void 0===a.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return r;e._isValid=r}return e._isValid}function L(e){var a=m(NaN);return null!=e?l(p(a),e):p(a).userInvalidated=!0,a}t=Array.prototype.some?Array.prototype.some:function(e){var a,n=Object(this),t=n.length>>>0;for(a=0;a<t;a++)if(a in n&&e.call(this,n[a],a,n))return!0;return!1};var b=r.momentProperties=[],A=!1;function h(e,a){var n,t,r;if(M(a._isAMomentObject)||(e._isAMomentObject=a._isAMomentObject),M(a._i)||(e._i=a._i),M(a._f)||(e._f=a._f),M(a._l)||(e._l=a._l),M(a._strict)||(e._strict=a._strict),M(a._tzm)||(e._tzm=a._tzm),M(a._isUTC)||(e._isUTC=a._isUTC),M(a._offset)||(e._offset=a._offset),M(a._pf)||(e._pf=p(a)),M(a._locale)||(e._locale=a._locale),b.length>0)for(n=0;n<b.length;n++)M(r=a[t=b[n]])||(e[t]=r);return e}function z(e){h(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===A&&(A=!0,r.updateOffset(this),A=!1)}function y(e){return e instanceof z||null!=e&&null!=e._isAMomentObject}function T(e){!1===r.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function Y(e,a){var n=!0;return l((function(){if(null!=r.deprecationHandler&&r.deprecationHandler(null,e),n){var t,o,c,s=[];for(o=0;o<arguments.length;o++){if(t="","object"==typeof arguments[o]){for(c in t+="\n["+o+"] ",arguments[0])i(arguments[0],c)&&(t+=c+": "+arguments[0][c]+", ");t=t.slice(0,-2)}else t=arguments[o];s.push(t)}T(e+"\nArguments: "+Array.prototype.slice.call(s).join("")+"\n"+(new Error).stack),n=!1}return a.apply(this,arguments)}),a)}var O,k={};function D(e,a){null!=r.deprecationHandler&&r.deprecationHandler(e,a),k[e]||(T(a),k[e]=!0)}function g(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function N(e,a){var n,t=l({},e);for(n in a)i(a,n)&&(c(e[n])&&c(a[n])?(t[n]={},l(t[n],e[n]),l(t[n],a[n])):null!=a[n]?t[n]=a[n]:delete t[n]);for(n in e)i(e,n)&&!i(a,n)&&c(e[n])&&(t[n]=l({},t[n]));return t}function W(e){null!=e&&this.set(e)}function q(e,a,n){var t=""+Math.abs(e),r=a-t.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,r)).toString().substr(1)+t}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null,O=Object.keys?Object.keys:function(e){var a,n=[];for(a in e)i(e,a)&&n.push(a);return n};var w=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,S=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,v={},B={};function X(e,a,n,t){var r=t;"string"==typeof t&&(r=function(){return this[t]()}),e&&(B[e]=r),a&&(B[a[0]]=function(){return q(r.apply(this,arguments),a[1],a[2])}),n&&(B[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function H(e,a){return e.isValid()?(a=j(a,e.localeData()),v[a]=v[a]||function(e){var a,n,t,r=e.match(w);for(a=0,n=r.length;a<n;a++)B[r[a]]?r[a]=B[r[a]]:r[a]=(t=r[a]).match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"");return function(a){var t,o="";for(t=0;t<n;t++)o+=g(r[t])?r[t].call(a,e):r[t];return o}}(a),v[a](e)):e.localeData().invalidDate()}function j(e,a){var n=5;function t(e){return a.longDateFormat(e)||e}for(S.lastIndex=0;n>=0&&S.test(e);)e=e.replace(S,t),S.lastIndex=0,n-=1;return e}var E={};function P(e,a){var n=e.toLowerCase();E[n]=E[n+"s"]=E[a]=e}function x(e){return"string"==typeof e?E[e]||E[e.toLowerCase()]:void 0}function R(e){var a,n,t={};for(n in e)i(e,n)&&(a=x(n))&&(t[a]=e[n]);return t}var C={};function F(e,a){C[e]=a}function I(e){return e%4==0&&e%100!=0||e%400==0}function U(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function J(e){var a=+e,n=0;return 0!==a&&isFinite(a)&&(n=U(a)),n}function G(e,a){return function(n){return null!=n?(V(this,e,n),r.updateOffset(this,a),this):K(this,e)}}function K(e,a){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+a]():NaN}function V(e,a,n){e.isValid()&&!isNaN(n)&&("FullYear"===a&&I(e.year())&&1===e.month()&&29===e.date()?(n=J(n),e._d["set"+(e._isUTC?"UTC":"")+a](n,e.month(),ye(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+a](n))}var Q,Z=/\d/,$=/\d\d/,ee=/\d{3}/,ae=/\d{4}/,ne=/[+-]?\d{6}/,te=/\d\d?/,re=/\d\d\d\d?/,oe=/\d\d\d\d\d\d?/,ce=/\d{1,3}/,ie=/\d{1,4}/,se=/[+-]?\d{1,6}/,Me=/\d+/,de=/[+-]?\d+/,ue=/Z|[+-]\d\d:?\d\d/gi,_e=/Z|[+-]\d\d(?::?\d\d)?/gi,le=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function me(e,a,n){Q[e]=g(a)?a:function(e,t){return e&&n?n:a}}function pe(e,a){return i(Q,e)?Q[e](a._strict,a._locale):new RegExp(fe(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,a,n,t,r){return a||n||t||r}))))}function fe(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}Q={};var Le,be={};function Ae(e,a){var n,t=a;for("string"==typeof e&&(e=[e]),d(a)&&(t=function(e,n){n[a]=J(e)}),n=0;n<e.length;n++)be[e[n]]=t}function he(e,a){Ae(e,(function(e,n,t,r){t._w=t._w||{},a(e,t._w,t,r)}))}function ze(e,a,n){null!=a&&i(be,e)&&be[e](a,n._a,n,e)}function ye(e,a){if(isNaN(e)||isNaN(a))return NaN;var n,t=(a%(n=12)+n)%n;return e+=(a-t)/12,1===t?I(e)?29:28:31-t%7%2}Le=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var a;for(a=0;a<this.length;++a)if(this[a]===e)return a;return-1},X("M",["MM",2],"Mo",(function(){return this.month()+1})),X("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),X("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),P("month","M"),F("month",8),me("M",te),me("MM",te,$),me("MMM",(function(e,a){return a.monthsShortRegex(e)})),me("MMMM",(function(e,a){return a.monthsRegex(e)})),Ae(["M","MM"],(function(e,a){a[1]=J(e)-1})),Ae(["MMM","MMMM"],(function(e,a,n,t){var r=n._locale.monthsParse(e,t,n._strict);null!=r?a[1]=r:p(n).invalidMonth=e}));var Te="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ye="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Oe=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,ke=le,De=le;function ge(e,a,n){var t,r,o,c=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],t=0;t<12;++t)o=m([2e3,t]),this._shortMonthsParse[t]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[t]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===a?-1!==(r=Le.call(this._shortMonthsParse,c))?r:null:-1!==(r=Le.call(this._longMonthsParse,c))?r:null:"MMM"===a?-1!==(r=Le.call(this._shortMonthsParse,c))||-1!==(r=Le.call(this._longMonthsParse,c))?r:null:-1!==(r=Le.call(this._longMonthsParse,c))||-1!==(r=Le.call(this._shortMonthsParse,c))?r:null}function Ne(e,a){var n;if(!e.isValid())return e;if("string"==typeof a)if(/^\d+$/.test(a))a=J(a);else if(!d(a=e.localeData().monthsParse(a)))return e;return n=Math.min(e.date(),ye(e.year(),a)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](a,n),e}function We(e){return null!=e?(Ne(this,e),r.updateOffset(this,!0),this):K(this,"Month")}function qe(){function e(e,a){return a.length-e.length}var a,n,t=[],r=[],o=[];for(a=0;a<12;a++)n=m([2e3,a]),t.push(this.monthsShort(n,"")),r.push(this.months(n,"")),o.push(this.months(n,"")),o.push(this.monthsShort(n,""));for(t.sort(e),r.sort(e),o.sort(e),a=0;a<12;a++)t[a]=fe(t[a]),r[a]=fe(r[a]);for(a=0;a<24;a++)o[a]=fe(o[a]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}function we(e){return I(e)?366:365}X("Y",0,0,(function(){var e=this.year();return e<=9999?q(e,4):"+"+e})),X(0,["YY",2],0,(function(){return this.year()%100})),X(0,["YYYY",4],0,"year"),X(0,["YYYYY",5],0,"year"),X(0,["YYYYYY",6,!0],0,"year"),P("year","y"),F("year",1),me("Y",de),me("YY",te,$),me("YYYY",ie,ae),me("YYYYY",se,ne),me("YYYYYY",se,ne),Ae(["YYYYY","YYYYYY"],0),Ae("YYYY",(function(e,a){a[0]=2===e.length?r.parseTwoDigitYear(e):J(e)})),Ae("YY",(function(e,a){a[0]=r.parseTwoDigitYear(e)})),Ae("Y",(function(e,a){a[0]=parseInt(e,10)})),r.parseTwoDigitYear=function(e){return J(e)+(J(e)>68?1900:2e3)};var Se=G("FullYear",!0);function ve(e,a,n,t,r,o,c){var i;return e<100&&e>=0?(i=new Date(e+400,a,n,t,r,o,c),isFinite(i.getFullYear())&&i.setFullYear(e)):i=new Date(e,a,n,t,r,o,c),i}function Be(e){var a,n;return e<100&&e>=0?((n=Array.prototype.slice.call(arguments))[0]=e+400,a=new Date(Date.UTC.apply(null,n)),isFinite(a.getUTCFullYear())&&a.setUTCFullYear(e)):a=new Date(Date.UTC.apply(null,arguments)),a}function Xe(e,a,n){var t=7+a-n;return-(7+Be(e,0,t).getUTCDay()-a)%7+t-1}function He(e,a,n,t,r){var o,c,i=1+7*(a-1)+(7+n-t)%7+Xe(e,t,r);return i<=0?c=we(o=e-1)+i:i>we(e)?(o=e+1,c=i-we(e)):(o=e,c=i),{year:o,dayOfYear:c}}function je(e,a,n){var t,r,o=Xe(e.year(),a,n),c=Math.floor((e.dayOfYear()-o-1)/7)+1;return c<1?t=c+Ee(r=e.year()-1,a,n):c>Ee(e.year(),a,n)?(t=c-Ee(e.year(),a,n),r=e.year()+1):(r=e.year(),t=c),{week:t,year:r}}function Ee(e,a,n){var t=Xe(e,a,n),r=Xe(e+1,a,n);return(we(e)-t+r)/7}function Pe(e,a){return e.slice(a,7).concat(e.slice(0,a))}X("w",["ww",2],"wo","week"),X("W",["WW",2],"Wo","isoWeek"),P("week","w"),P("isoWeek","W"),F("week",5),F("isoWeek",5),me("w",te),me("ww",te,$),me("W",te),me("WW",te,$),he(["w","ww","W","WW"],(function(e,a,n,t){a[t.substr(0,1)]=J(e)})),X("d",0,"do","day"),X("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),X("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),X("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),X("e",0,0,"weekday"),X("E",0,0,"isoWeekday"),P("day","d"),P("weekday","e"),P("isoWeekday","E"),F("day",11),F("weekday",11),F("isoWeekday",11),me("d",te),me("e",te),me("E",te),me("dd",(function(e,a){return a.weekdaysMinRegex(e)})),me("ddd",(function(e,a){return a.weekdaysShortRegex(e)})),me("dddd",(function(e,a){return a.weekdaysRegex(e)})),he(["dd","ddd","dddd"],(function(e,a,n,t){var r=n._locale.weekdaysParse(e,t,n._strict);null!=r?a.d=r:p(n).invalidWeekday=e})),he(["d","e","E"],(function(e,a,n,t){a[t]=J(e)}));var xe="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Re="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ce="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Fe=le,Ie=le,Ue=le;function Je(e,a,n){var t,r,o,c=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],t=0;t<7;++t)o=m([2e3,1]).day(t),this._minWeekdaysParse[t]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[t]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[t]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===a?-1!==(r=Le.call(this._weekdaysParse,c))?r:null:"ddd"===a?-1!==(r=Le.call(this._shortWeekdaysParse,c))?r:null:-1!==(r=Le.call(this._minWeekdaysParse,c))?r:null:"dddd"===a?-1!==(r=Le.call(this._weekdaysParse,c))||-1!==(r=Le.call(this._shortWeekdaysParse,c))||-1!==(r=Le.call(this._minWeekdaysParse,c))?r:null:"ddd"===a?-1!==(r=Le.call(this._shortWeekdaysParse,c))||-1!==(r=Le.call(this._weekdaysParse,c))||-1!==(r=Le.call(this._minWeekdaysParse,c))?r:null:-1!==(r=Le.call(this._minWeekdaysParse,c))||-1!==(r=Le.call(this._weekdaysParse,c))||-1!==(r=Le.call(this._shortWeekdaysParse,c))?r:null}function Ge(){function e(e,a){return a.length-e.length}var a,n,t,r,o,c=[],i=[],s=[],M=[];for(a=0;a<7;a++)n=m([2e3,1]).day(a),t=fe(this.weekdaysMin(n,"")),r=fe(this.weekdaysShort(n,"")),o=fe(this.weekdays(n,"")),c.push(t),i.push(r),s.push(o),M.push(t),M.push(r),M.push(o);c.sort(e),i.sort(e),s.sort(e),M.sort(e),this._weekdaysRegex=new RegExp("^("+M.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+c.join("|")+")","i")}function Ke(){return this.hours()%12||12}function Ve(e,a){X(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),a)}))}function Qe(e,a){return a._meridiemParse}X("H",["HH",2],0,"hour"),X("h",["hh",2],0,Ke),X("k",["kk",2],0,(function(){return this.hours()||24})),X("hmm",0,0,(function(){return""+Ke.apply(this)+q(this.minutes(),2)})),X("hmmss",0,0,(function(){return""+Ke.apply(this)+q(this.minutes(),2)+q(this.seconds(),2)})),X("Hmm",0,0,(function(){return""+this.hours()+q(this.minutes(),2)})),X("Hmmss",0,0,(function(){return""+this.hours()+q(this.minutes(),2)+q(this.seconds(),2)})),Ve("a",!0),Ve("A",!1),P("hour","h"),F("hour",13),me("a",Qe),me("A",Qe),me("H",te),me("h",te),me("k",te),me("HH",te,$),me("hh",te,$),me("kk",te,$),me("hmm",re),me("hmmss",oe),me("Hmm",re),me("Hmmss",oe),Ae(["H","HH"],3),Ae(["k","kk"],(function(e,a,n){var t=J(e);a[3]=24===t?0:t})),Ae(["a","A"],(function(e,a,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),Ae(["h","hh"],(function(e,a,n){a[3]=J(e),p(n).bigHour=!0})),Ae("hmm",(function(e,a,n){var t=e.length-2;a[3]=J(e.substr(0,t)),a[4]=J(e.substr(t)),p(n).bigHour=!0})),Ae("hmmss",(function(e,a,n){var t=e.length-4,r=e.length-2;a[3]=J(e.substr(0,t)),a[4]=J(e.substr(t,2)),a[5]=J(e.substr(r)),p(n).bigHour=!0})),Ae("Hmm",(function(e,a,n){var t=e.length-2;a[3]=J(e.substr(0,t)),a[4]=J(e.substr(t))})),Ae("Hmmss",(function(e,a,n){var t=e.length-4,r=e.length-2;a[3]=J(e.substr(0,t)),a[4]=J(e.substr(t,2)),a[5]=J(e.substr(r))}));var Ze,$e=G("Hours",!0),ea={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{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"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Te,monthsShort:Ye,week:{dow:0,doy:6},weekdays:xe,weekdaysMin:Ce,weekdaysShort:Re,meridiemParse:/[ap]\.?m?\.?/i},aa={},na={};function ta(e,a){var n,t=Math.min(e.length,a.length);for(n=0;n<t;n+=1)if(e[n]!==a[n])return n;return t}function ra(e){return e?e.toLowerCase().replace("_","-"):e}function oa(a){var t=null;if(void 0===aa[a]&&void 0!==e&&e&&e.exports)try{t=Ze._abbr,n(247)("./"+a),ca(t)}catch(e){aa[a]=null}return aa[a]}function ca(e,a){var n;return e&&((n=M(a)?sa(e):ia(e,a))?Ze=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Ze._abbr}function ia(e,a){if(null!==a){var n,t=ea;if(a.abbr=e,null!=aa[e])D("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."),t=aa[e]._config;else if(null!=a.parentLocale)if(null!=aa[a.parentLocale])t=aa[a.parentLocale]._config;else{if(null==(n=oa(a.parentLocale)))return na[a.parentLocale]||(na[a.parentLocale]=[]),na[a.parentLocale].push({name:e,config:a}),null;t=n._config}return aa[e]=new W(N(t,a)),na[e]&&na[e].forEach((function(e){ia(e.name,e.config)})),ca(e),aa[e]}return delete aa[e],null}function sa(e){var a;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Ze;if(!o(e)){if(a=oa(e))return a;e=[e]}return function(e){for(var a,n,t,r,o=0;o<e.length;){for(a=(r=ra(e[o]).split("-")).length,n=(n=ra(e[o+1]))?n.split("-"):null;a>0;){if(t=oa(r.slice(0,a).join("-")))return t;if(n&&n.length>=a&&ta(r,n)>=a-1)break;a--}o++}return Ze}(e)}function Ma(e){var a,n=e._a;return n&&-2===p(e).overflow&&(a=n[1]<0||n[1]>11?1:n[2]<1||n[2]>ye(n[0],n[1])?2:n[3]<0||n[3]>24||24===n[3]&&(0!==n[4]||0!==n[5]||0!==n[6])?3:n[4]<0||n[4]>59?4:n[5]<0||n[5]>59?5:n[6]<0||n[6]>999?6:-1,p(e)._overflowDayOfYear&&(a<0||a>2)&&(a=2),p(e)._overflowWeeks&&-1===a&&(a=7),p(e)._overflowWeekday&&-1===a&&(a=8),p(e).overflow=a),e}var da=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ua=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,_a=/Z|[+-]\d\d(?::?\d\d)?/,la=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],ma=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],pa=/^\/?Date\((-?\d+)/i,fa=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,La={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function ba(e){var a,n,t,r,o,c,i=e._i,s=da.exec(i)||ua.exec(i);if(s){for(p(e).iso=!0,a=0,n=la.length;a<n;a++)if(la[a][1].exec(s[1])){r=la[a][0],t=!1!==la[a][2];break}if(null==r)return void(e._isValid=!1);if(s[3]){for(a=0,n=ma.length;a<n;a++)if(ma[a][1].exec(s[3])){o=(s[2]||" ")+ma[a][0];break}if(null==o)return void(e._isValid=!1)}if(!t&&null!=o)return void(e._isValid=!1);if(s[4]){if(!_a.exec(s[4]))return void(e._isValid=!1);c="Z"}e._f=r+(o||"")+(c||""),Ta(e)}else e._isValid=!1}function Aa(e){var a=parseInt(e,10);return a<=49?2e3+a:a<=999?1900+a:a}function ha(e){var a,n,t,r,o,c,i,s,M=fa.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(M){if(n=M[4],t=M[3],r=M[2],o=M[5],c=M[6],i=M[7],s=[Aa(n),Ye.indexOf(t),parseInt(r,10),parseInt(o,10),parseInt(c,10)],i&&s.push(parseInt(i,10)),a=s,!function(e,a,n){return!e||Re.indexOf(e)===new Date(a[0],a[1],a[2]).getDay()||(p(n).weekdayMismatch=!0,n._isValid=!1,!1)}(M[1],a,e))return;e._a=a,e._tzm=function(e,a,n){if(e)return La[e];if(a)return 0;var t=parseInt(n,10),r=t%100;return(t-r)/100*60+r}(M[8],M[9],M[10]),e._d=Be.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),p(e).rfc2822=!0}else e._isValid=!1}function za(e,a,n){return null!=e?e:null!=a?a:n}function ya(e){var a,n,t,o,c,i=[];if(!e._d){for(t=function(e){var a=new Date(r.now());return e._useUTC?[a.getUTCFullYear(),a.getUTCMonth(),a.getUTCDate()]:[a.getFullYear(),a.getMonth(),a.getDate()]}(e),e._w&&null==e._a[2]&&null==e._a[1]&&function(e){var a,n,t,r,o,c,i,s,M;null!=(a=e._w).GG||null!=a.W||null!=a.E?(o=1,c=4,n=za(a.GG,e._a[0],je(ka(),1,4).year),t=za(a.W,1),((r=za(a.E,1))<1||r>7)&&(s=!0)):(o=e._locale._week.dow,c=e._locale._week.doy,M=je(ka(),o,c),n=za(a.gg,e._a[0],M.year),t=za(a.w,M.week),null!=a.d?((r=a.d)<0||r>6)&&(s=!0):null!=a.e?(r=a.e+o,(a.e<0||a.e>6)&&(s=!0)):r=o),t<1||t>Ee(n,o,c)?p(e)._overflowWeeks=!0:null!=s?p(e)._overflowWeekday=!0:(i=He(n,t,r,o,c),e._a[0]=i.year,e._dayOfYear=i.dayOfYear)}(e),null!=e._dayOfYear&&(c=za(e._a[0],t[0]),(e._dayOfYear>we(c)||0===e._dayOfYear)&&(p(e)._overflowDayOfYear=!0),n=Be(c,0,e._dayOfYear),e._a[1]=n.getUTCMonth(),e._a[2]=n.getUTCDate()),a=0;a<3&&null==e._a[a];++a)e._a[a]=i[a]=t[a];for(;a<7;a++)e._a[a]=i[a]=null==e._a[a]?2===a?1:0:e._a[a];24===e._a[3]&&0===e._a[4]&&0===e._a[5]&&0===e._a[6]&&(e._nextDay=!0,e._a[3]=0),e._d=(e._useUTC?Be:ve).apply(null,i),o=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[3]=24),e._w&&void 0!==e._w.d&&e._w.d!==o&&(p(e).weekdayMismatch=!0)}}function Ta(e){if(e._f!==r.ISO_8601)if(e._f!==r.RFC_2822){e._a=[],p(e).empty=!0;var a,n,t,o,c,i,s=""+e._i,M=s.length,d=0;for(t=j(e._f,e._locale).match(w)||[],a=0;a<t.length;a++)o=t[a],(n=(s.match(pe(o,e))||[])[0])&&((c=s.substr(0,s.indexOf(n))).length>0&&p(e).unusedInput.push(c),s=s.slice(s.indexOf(n)+n.length),d+=n.length),B[o]?(n?p(e).empty=!1:p(e).unusedTokens.push(o),ze(o,n,e)):e._strict&&!n&&p(e).unusedTokens.push(o);p(e).charsLeftOver=M-d,s.length>0&&p(e).unusedInput.push(s),e._a[3]<=12&&!0===p(e).bigHour&&e._a[3]>0&&(p(e).bigHour=void 0),p(e).parsedDateParts=e._a.slice(0),p(e).meridiem=e._meridiem,e._a[3]=function(e,a,n){var t;return null==n?a:null!=e.meridiemHour?e.meridiemHour(a,n):null!=e.isPM?((t=e.isPM(n))&&a<12&&(a+=12),t||12!==a||(a=0),a):a}(e._locale,e._a[3],e._meridiem),null!==(i=p(e).era)&&(e._a[0]=e._locale.erasConvertYear(i,e._a[0])),ya(e),Ma(e)}else ha(e);else ba(e)}function Ya(e){var a=e._i,n=e._f;return e._locale=e._locale||sa(e._l),null===a||void 0===n&&""===a?L({nullInput:!0}):("string"==typeof a&&(e._i=a=e._locale.preparse(a)),y(a)?new z(Ma(a)):(u(a)?e._d=a:o(n)?function(e){var a,n,t,r,o,c,i=!1;if(0===e._f.length)return p(e).invalidFormat=!0,void(e._d=new Date(NaN));for(r=0;r<e._f.length;r++)o=0,c=!1,a=h({},e),null!=e._useUTC&&(a._useUTC=e._useUTC),a._f=e._f[r],Ta(a),f(a)&&(c=!0),o+=p(a).charsLeftOver,o+=10*p(a).unusedTokens.length,p(a).score=o,i?o<t&&(t=o,n=a):(null==t||o<t||c)&&(t=o,n=a,c&&(i=!0));l(e,n||a)}(e):n?Ta(e):function(e){var a=e._i;M(a)?e._d=new Date(r.now()):u(a)?e._d=new Date(a.valueOf()):"string"==typeof a?function(e){var a=pa.exec(e._i);null===a?(ba(e),!1===e._isValid&&(delete e._isValid,ha(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:r.createFromInputFallback(e)))):e._d=new Date(+a[1])}(e):o(a)?(e._a=_(a.slice(0),(function(e){return parseInt(e,10)})),ya(e)):c(a)?function(e){if(!e._d){var a=R(e._i),n=void 0===a.day?a.date:a.day;e._a=_([a.year,a.month,n,a.hour,a.minute,a.second,a.millisecond],(function(e){return e&&parseInt(e,10)})),ya(e)}}(e):d(a)?e._d=new Date(a):r.createFromInputFallback(e)}(e),f(e)||(e._d=null),e))}function Oa(e,a,n,t,r){var i,M={};return!0!==a&&!1!==a||(t=a,a=void 0),!0!==n&&!1!==n||(t=n,n=void 0),(c(e)&&s(e)||o(e)&&0===e.length)&&(e=void 0),M._isAMomentObject=!0,M._useUTC=M._isUTC=r,M._l=n,M._i=e,M._f=a,M._strict=t,(i=new z(Ma(Ya(M))))._nextDay&&(i.add(1,"d"),i._nextDay=void 0),i}function ka(e,a,n,t){return Oa(e,a,n,t,!1)}r.createFromInputFallback=Y("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),r.ISO_8601=function(){},r.RFC_2822=function(){};var Da=Y("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=ka.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:L()})),ga=Y("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=ka.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:L()}));function Na(e,a){var n,t;if(1===a.length&&o(a[0])&&(a=a[0]),!a.length)return ka();for(n=a[0],t=1;t<a.length;++t)a[t].isValid()&&!a[t][e](n)||(n=a[t]);return n}var Wa=["year","quarter","month","week","day","hour","minute","second","millisecond"];function qa(e){var a=R(e),n=a.year||0,t=a.quarter||0,r=a.month||0,o=a.week||a.isoWeek||0,c=a.day||0,s=a.hour||0,M=a.minute||0,d=a.second||0,u=a.millisecond||0;this._isValid=function(e){var a,n,t=!1;for(a in e)if(i(e,a)&&(-1===Le.call(Wa,a)||null!=e[a]&&isNaN(e[a])))return!1;for(n=0;n<Wa.length;++n)if(e[Wa[n]]){if(t)return!1;parseFloat(e[Wa[n]])!==J(e[Wa[n]])&&(t=!0)}return!0}(a),this._milliseconds=+u+1e3*d+6e4*M+1e3*s*60*60,this._days=+c+7*o,this._months=+r+3*t+12*n,this._data={},this._locale=sa(),this._bubble()}function wa(e){return e instanceof qa}function Sa(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function va(e,a){X(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+q(~~(e/60),2)+a+q(~~e%60,2)}))}va("Z",":"),va("ZZ",""),me("Z",_e),me("ZZ",_e),Ae(["Z","ZZ"],(function(e,a,n){n._useUTC=!0,n._tzm=Xa(_e,e)}));var Ba=/([\+\-]|\d\d)/gi;function Xa(e,a){var n,t,r=(a||"").match(e);return null===r?null:0===(t=60*(n=((r[r.length-1]||[])+"").match(Ba)||["-",0,0])[1]+J(n[2]))?0:"+"===n[0]?t:-t}function Ha(e,a){var n,t;return a._isUTC?(n=a.clone(),t=(y(e)||u(e)?e.valueOf():ka(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+t),r.updateOffset(n,!1),n):ka(e).local()}function ja(e){return-Math.round(e._d.getTimezoneOffset())}function Ea(){return!!this.isValid()&&this._isUTC&&0===this._offset}r.updateOffset=function(){};var Pa=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,xa=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Ra(e,a){var n,t,r,o,c,s,M=e,u=null;return wa(e)?M={ms:e._milliseconds,d:e._days,M:e._months}:d(e)||!isNaN(+e)?(M={},a?M[a]=+e:M.milliseconds=+e):(u=Pa.exec(e))?(n="-"===u[1]?-1:1,M={y:0,d:J(u[2])*n,h:J(u[3])*n,m:J(u[4])*n,s:J(u[5])*n,ms:J(Sa(1e3*u[6]))*n}):(u=xa.exec(e))?(n="-"===u[1]?-1:1,M={y:Ca(u[2],n),M:Ca(u[3],n),w:Ca(u[4],n),d:Ca(u[5],n),h:Ca(u[6],n),m:Ca(u[7],n),s:Ca(u[8],n)}):null==M?M={}:"object"==typeof M&&("from"in M||"to"in M)&&(o=ka(M.from),c=ka(M.to),r=o.isValid()&&c.isValid()?(c=Ha(c,o),o.isBefore(c)?s=Fa(o,c):((s=Fa(c,o)).milliseconds=-s.milliseconds,s.months=-s.months),s):{milliseconds:0,months:0},(M={}).ms=r.milliseconds,M.M=r.months),t=new qa(M),wa(e)&&i(e,"_locale")&&(t._locale=e._locale),wa(e)&&i(e,"_isValid")&&(t._isValid=e._isValid),t}function Ca(e,a){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*a}function Fa(e,a){var n={};return n.months=a.month()-e.month()+12*(a.year()-e.year()),e.clone().add(n.months,"M").isAfter(a)&&--n.months,n.milliseconds=+a-+e.clone().add(n.months,"M"),n}function Ia(e,a){return function(n,t){var r;return null===t||isNaN(+t)||(D(a,"moment()."+a+"(period, number) is deprecated. Please use moment()."+a+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),r=n,n=t,t=r),Ua(this,Ra(n,t),e),this}}function Ua(e,a,n,t){var o=a._milliseconds,c=Sa(a._days),i=Sa(a._months);e.isValid()&&(t=null==t||t,i&&Ne(e,K(e,"Month")+i*n),c&&V(e,"Date",K(e,"Date")+c*n),o&&e._d.setTime(e._d.valueOf()+o*n),t&&r.updateOffset(e,c||i))}Ra.fn=qa.prototype,Ra.invalid=function(){return Ra(NaN)};var Ja=Ia(1,"add"),Ga=Ia(-1,"subtract");function Ka(e){return"string"==typeof e||e instanceof String}function Va(e){return y(e)||u(e)||Ka(e)||d(e)||function(e){var a=o(e),n=!1;return a&&(n=0===e.filter((function(a){return!d(a)&&Ka(e)})).length),a&&n}(e)||function(e){var a,n,t=c(e)&&!s(e),r=!1,o=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"];for(a=0;a<o.length;a+=1)n=o[a],r=r||i(e,n);return t&&r}(e)||null==e}function Qa(e){var a,n=c(e)&&!s(e),t=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(a=0;a<r.length;a+=1)t=t||i(e,r[a]);return n&&t}function Za(e,a){if(e.date()<a.date())return-Za(a,e);var n=12*(a.year()-e.year())+(a.month()-e.month()),t=e.clone().add(n,"months");return-(n+(a-t<0?(a-t)/(t-e.clone().add(n-1,"months")):(a-t)/(e.clone().add(n+1,"months")-t)))||0}function $a(e){var a;return void 0===e?this._locale._abbr:(null!=(a=sa(e))&&(this._locale=a),this)}r.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",r.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var en=Y("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function an(){return this._locale}function nn(e,a){return(e%a+a)%a}function tn(e,a,n){return e<100&&e>=0?new Date(e+400,a,n)-126227808e5:new Date(e,a,n).valueOf()}function rn(e,a,n){return e<100&&e>=0?Date.UTC(e+400,a,n)-126227808e5:Date.UTC(e,a,n)}function on(e,a){return a.erasAbbrRegex(e)}function cn(){var e,a,n=[],t=[],r=[],o=[],c=this.eras();for(e=0,a=c.length;e<a;++e)t.push(fe(c[e].name)),n.push(fe(c[e].abbr)),r.push(fe(c[e].narrow)),o.push(fe(c[e].name)),o.push(fe(c[e].abbr)),o.push(fe(c[e].narrow));this._erasRegex=new RegExp("^("+o.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}function sn(e,a){X(0,[e,e.length],0,a)}function Mn(e,a,n,t,r){var o;return null==e?je(this,t,r).year:(a>(o=Ee(e,t,r))&&(a=o),dn.call(this,e,a,n,t,r))}function dn(e,a,n,t,r){var o=He(e,a,n,t,r),c=Be(o.year,0,o.dayOfYear);return this.year(c.getUTCFullYear()),this.month(c.getUTCMonth()),this.date(c.getUTCDate()),this}X("N",0,0,"eraAbbr"),X("NN",0,0,"eraAbbr"),X("NNN",0,0,"eraAbbr"),X("NNNN",0,0,"eraName"),X("NNNNN",0,0,"eraNarrow"),X("y",["y",1],"yo","eraYear"),X("y",["yy",2],0,"eraYear"),X("y",["yyy",3],0,"eraYear"),X("y",["yyyy",4],0,"eraYear"),me("N",on),me("NN",on),me("NNN",on),me("NNNN",(function(e,a){return a.erasNameRegex(e)})),me("NNNNN",(function(e,a){return a.erasNarrowRegex(e)})),Ae(["N","NN","NNN","NNNN","NNNNN"],(function(e,a,n,t){var r=n._locale.erasParse(e,t,n._strict);r?p(n).era=r:p(n).invalidEra=e})),me("y",Me),me("yy",Me),me("yyy",Me),me("yyyy",Me),me("yo",(function(e,a){return a._eraYearOrdinalRegex||Me})),Ae(["y","yy","yyy","yyyy"],0),Ae(["yo"],(function(e,a,n,t){var r;n._locale._eraYearOrdinalRegex&&(r=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?a[0]=n._locale.eraYearOrdinalParse(e,r):a[0]=parseInt(e,10)})),X(0,["gg",2],0,(function(){return this.weekYear()%100})),X(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),sn("gggg","weekYear"),sn("ggggg","weekYear"),sn("GGGG","isoWeekYear"),sn("GGGGG","isoWeekYear"),P("weekYear","gg"),P("isoWeekYear","GG"),F("weekYear",1),F("isoWeekYear",1),me("G",de),me("g",de),me("GG",te,$),me("gg",te,$),me("GGGG",ie,ae),me("gggg",ie,ae),me("GGGGG",se,ne),me("ggggg",se,ne),he(["gggg","ggggg","GGGG","GGGGG"],(function(e,a,n,t){a[t.substr(0,2)]=J(e)})),he(["gg","GG"],(function(e,a,n,t){a[t]=r.parseTwoDigitYear(e)})),X("Q",0,"Qo","quarter"),P("quarter","Q"),F("quarter",7),me("Q",Z),Ae("Q",(function(e,a){a[1]=3*(J(e)-1)})),X("D",["DD",2],"Do","date"),P("date","D"),F("date",9),me("D",te),me("DD",te,$),me("Do",(function(e,a){return e?a._dayOfMonthOrdinalParse||a._ordinalParse:a._dayOfMonthOrdinalParseLenient})),Ae(["D","DD"],2),Ae("Do",(function(e,a){a[2]=J(e.match(te)[0])}));var un=G("Date",!0);X("DDD",["DDDD",3],"DDDo","dayOfYear"),P("dayOfYear","DDD"),F("dayOfYear",4),me("DDD",ce),me("DDDD",ee),Ae(["DDD","DDDD"],(function(e,a,n){n._dayOfYear=J(e)})),X("m",["mm",2],0,"minute"),P("minute","m"),F("minute",14),me("m",te),me("mm",te,$),Ae(["m","mm"],4);var _n=G("Minutes",!1);X("s",["ss",2],0,"second"),P("second","s"),F("second",15),me("s",te),me("ss",te,$),Ae(["s","ss"],5);var ln,mn,pn=G("Seconds",!1);for(X("S",0,0,(function(){return~~(this.millisecond()/100)})),X(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),X(0,["SSS",3],0,"millisecond"),X(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),X(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),X(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),X(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),X(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),X(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),P("millisecond","ms"),F("millisecond",16),me("S",ce,Z),me("SS",ce,$),me("SSS",ce,ee),ln="SSSS";ln.length<=9;ln+="S")me(ln,Me);function fn(e,a){a[6]=J(1e3*("0."+e))}for(ln="S";ln.length<=9;ln+="S")Ae(ln,fn);mn=G("Milliseconds",!1),X("z",0,0,"zoneAbbr"),X("zz",0,0,"zoneName");var Ln=z.prototype;function bn(e){return e}Ln.add=Ja,Ln.calendar=function(e,a){1===arguments.length&&(arguments[0]?Va(arguments[0])?(e=arguments[0],a=void 0):Qa(arguments[0])&&(a=arguments[0],e=void 0):(e=void 0,a=void 0));var n=e||ka(),t=Ha(n,this).startOf("day"),o=r.calendarFormat(this,t)||"sameElse",c=a&&(g(a[o])?a[o].call(this,n):a[o]);return this.format(c||this.localeData().calendar(o,this,ka(n)))},Ln.clone=function(){return new z(this)},Ln.diff=function(e,a,n){var t,r,o;if(!this.isValid())return NaN;if(!(t=Ha(e,this)).isValid())return NaN;switch(r=6e4*(t.utcOffset()-this.utcOffset()),a=x(a)){case"year":o=Za(this,t)/12;break;case"month":o=Za(this,t);break;case"quarter":o=Za(this,t)/3;break;case"second":o=(this-t)/1e3;break;case"minute":o=(this-t)/6e4;break;case"hour":o=(this-t)/36e5;break;case"day":o=(this-t-r)/864e5;break;case"week":o=(this-t-r)/6048e5;break;default:o=this-t}return n?o:U(o)},Ln.endOf=function(e){var a,n;if(void 0===(e=x(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?rn:tn,e){case"year":a=n(this.year()+1,0,1)-1;break;case"quarter":a=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":a=n(this.year(),this.month()+1,1)-1;break;case"week":a=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":a=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":a=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":a=this._d.valueOf(),a+=36e5-nn(a+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":a=this._d.valueOf(),a+=6e4-nn(a,6e4)-1;break;case"second":a=this._d.valueOf(),a+=1e3-nn(a,1e3)-1}return this._d.setTime(a),r.updateOffset(this,!0),this},Ln.format=function(e){e||(e=this.isUtc()?r.defaultFormatUtc:r.defaultFormat);var a=H(this,e);return this.localeData().postformat(a)},Ln.from=function(e,a){return this.isValid()&&(y(e)&&e.isValid()||ka(e).isValid())?Ra({to:this,from:e}).locale(this.locale()).humanize(!a):this.localeData().invalidDate()},Ln.fromNow=function(e){return this.from(ka(),e)},Ln.to=function(e,a){return this.isValid()&&(y(e)&&e.isValid()||ka(e).isValid())?Ra({from:this,to:e}).locale(this.locale()).humanize(!a):this.localeData().invalidDate()},Ln.toNow=function(e){return this.to(ka(),e)},Ln.get=function(e){return g(this[e=x(e)])?this[e]():this},Ln.invalidAt=function(){return p(this).overflow},Ln.isAfter=function(e,a){var n=y(e)?e:ka(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(a=x(a)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(a).valueOf())},Ln.isBefore=function(e,a){var n=y(e)?e:ka(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(a=x(a)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(a).valueOf()<n.valueOf())},Ln.isBetween=function(e,a,n,t){var r=y(e)?e:ka(e),o=y(a)?a:ka(a);return!!(this.isValid()&&r.isValid()&&o.isValid())&&(("("===(t=t||"()")[0]?this.isAfter(r,n):!this.isBefore(r,n))&&(")"===t[1]?this.isBefore(o,n):!this.isAfter(o,n)))},Ln.isSame=function(e,a){var n,t=y(e)?e:ka(e);return!(!this.isValid()||!t.isValid())&&("millisecond"===(a=x(a)||"millisecond")?this.valueOf()===t.valueOf():(n=t.valueOf(),this.clone().startOf(a).valueOf()<=n&&n<=this.clone().endOf(a).valueOf()))},Ln.isSameOrAfter=function(e,a){return this.isSame(e,a)||this.isAfter(e,a)},Ln.isSameOrBefore=function(e,a){return this.isSame(e,a)||this.isBefore(e,a)},Ln.isValid=function(){return f(this)},Ln.lang=en,Ln.locale=$a,Ln.localeData=an,Ln.max=ga,Ln.min=Da,Ln.parsingFlags=function(){return l({},p(this))},Ln.set=function(e,a){if("object"==typeof e){var n,t=function(e){var a,n=[];for(a in e)i(e,a)&&n.push({unit:a,priority:C[a]});return n.sort((function(e,a){return e.priority-a.priority})),n}(e=R(e));for(n=0;n<t.length;n++)this[t[n].unit](e[t[n].unit])}else if(g(this[e=x(e)]))return this[e](a);return this},Ln.startOf=function(e){var a,n;if(void 0===(e=x(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?rn:tn,e){case"year":a=n(this.year(),0,1);break;case"quarter":a=n(this.year(),this.month()-this.month()%3,1);break;case"month":a=n(this.year(),this.month(),1);break;case"week":a=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":a=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":a=n(this.year(),this.month(),this.date());break;case"hour":a=this._d.valueOf(),a-=nn(a+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":a=this._d.valueOf(),a-=nn(a,6e4);break;case"second":a=this._d.valueOf(),a-=nn(a,1e3)}return this._d.setTime(a),r.updateOffset(this,!0),this},Ln.subtract=Ga,Ln.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},Ln.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},Ln.toDate=function(){return new Date(this.valueOf())},Ln.toISOString=function(e){if(!this.isValid())return null;var a=!0!==e,n=a?this.clone().utc():this;return n.year()<0||n.year()>9999?H(n,a?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):g(Date.prototype.toISOString)?a?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",H(n,"Z")):H(n,a?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},Ln.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,a,n,t="moment",r="";return this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",r="Z"),e="["+t+'("]',a=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n=r+'[")]',this.format(e+a+"-MM-DD[T]HH:mm:ss.SSS"+n)},"undefined"!=typeof Symbol&&null!=Symbol.for&&(Ln[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),Ln.toJSON=function(){return this.isValid()?this.toISOString():null},Ln.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Ln.unix=function(){return Math.floor(this.valueOf()/1e3)},Ln.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},Ln.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Ln.eraName=function(){var e,a,n,t=this.localeData().eras();for(e=0,a=t.length;e<a;++e){if(n=this.clone().startOf("day").valueOf(),t[e].since<=n&&n<=t[e].until)return t[e].name;if(t[e].until<=n&&n<=t[e].since)return t[e].name}return""},Ln.eraNarrow=function(){var e,a,n,t=this.localeData().eras();for(e=0,a=t.length;e<a;++e){if(n=this.clone().startOf("day").valueOf(),t[e].since<=n&&n<=t[e].until)return t[e].narrow;if(t[e].until<=n&&n<=t[e].since)return t[e].narrow}return""},Ln.eraAbbr=function(){var e,a,n,t=this.localeData().eras();for(e=0,a=t.length;e<a;++e){if(n=this.clone().startOf("day").valueOf(),t[e].since<=n&&n<=t[e].until)return t[e].abbr;if(t[e].until<=n&&n<=t[e].since)return t[e].abbr}return""},Ln.eraYear=function(){var e,a,n,t,o=this.localeData().eras();for(e=0,a=o.length;e<a;++e)if(n=o[e].since<=o[e].until?1:-1,t=this.clone().startOf("day").valueOf(),o[e].since<=t&&t<=o[e].until||o[e].until<=t&&t<=o[e].since)return(this.year()-r(o[e].since).year())*n+o[e].offset;return this.year()},Ln.year=Se,Ln.isLeapYear=function(){return I(this.year())},Ln.weekYear=function(e){return Mn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},Ln.isoWeekYear=function(e){return Mn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},Ln.quarter=Ln.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},Ln.month=We,Ln.daysInMonth=function(){return ye(this.year(),this.month())},Ln.week=Ln.weeks=function(e){var a=this.localeData().week(this);return null==e?a:this.add(7*(e-a),"d")},Ln.isoWeek=Ln.isoWeeks=function(e){var a=je(this,1,4).week;return null==e?a:this.add(7*(e-a),"d")},Ln.weeksInYear=function(){var e=this.localeData()._week;return Ee(this.year(),e.dow,e.doy)},Ln.weeksInWeekYear=function(){var e=this.localeData()._week;return Ee(this.weekYear(),e.dow,e.doy)},Ln.isoWeeksInYear=function(){return Ee(this.year(),1,4)},Ln.isoWeeksInISOWeekYear=function(){return Ee(this.isoWeekYear(),1,4)},Ln.date=un,Ln.day=Ln.days=function(e){if(!this.isValid())return null!=e?this:NaN;var a=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=function(e,a){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=a.weekdaysParse(e))?e:null:parseInt(e,10)}(e,this.localeData()),this.add(e-a,"d")):a},Ln.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var a=(this.day()+7-this.localeData()._week.dow)%7;return null==e?a:this.add(e-a,"d")},Ln.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var a=function(e,a){return"string"==typeof e?a.weekdaysParse(e)%7||7:isNaN(e)?null:e}(e,this.localeData());return this.day(this.day()%7?a:a-7)}return this.day()||7},Ln.dayOfYear=function(e){var a=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?a:this.add(e-a,"d")},Ln.hour=Ln.hours=$e,Ln.minute=Ln.minutes=_n,Ln.second=Ln.seconds=pn,Ln.millisecond=Ln.milliseconds=mn,Ln.utcOffset=function(e,a,n){var t,o=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=Xa(_e,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&a&&(t=ja(this)),this._offset=e,this._isUTC=!0,null!=t&&this.add(t,"m"),o!==e&&(!a||this._changeInProgress?Ua(this,Ra(e-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,r.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:ja(this)},Ln.utc=function(e){return this.utcOffset(0,e)},Ln.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(ja(this),"m")),this},Ln.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=Xa(ue,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},Ln.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?ka(e).utcOffset():0,(this.utcOffset()-e)%60==0)},Ln.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Ln.isLocal=function(){return!!this.isValid()&&!this._isUTC},Ln.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},Ln.isUtc=Ea,Ln.isUTC=Ea,Ln.zoneAbbr=function(){return this._isUTC?"UTC":""},Ln.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},Ln.dates=Y("dates accessor is deprecated. Use date instead.",un),Ln.months=Y("months accessor is deprecated. Use month instead",We),Ln.years=Y("years accessor is deprecated. Use year instead",Se),Ln.zone=Y("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(e,a){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,a),this):-this.utcOffset()})),Ln.isDSTShifted=Y("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!M(this._isDSTShifted))return this._isDSTShifted;var e,a={};return h(a,this),(a=Ya(a))._a?(e=a._isUTC?m(a._a):ka(a._a),this._isDSTShifted=this.isValid()&&function(e,a,n){var t,r=Math.min(e.length,a.length),o=Math.abs(e.length-a.length),c=0;for(t=0;t<r;t++)(n&&e[t]!==a[t]||!n&&J(e[t])!==J(a[t]))&&c++;return c+o}(a._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}));var An=W.prototype;function hn(e,a,n,t){var r=sa(),o=m().set(t,a);return r[n](o,e)}function zn(e,a,n){if(d(e)&&(a=e,e=void 0),e=e||"",null!=a)return hn(e,a,n,"month");var t,r=[];for(t=0;t<12;t++)r[t]=hn(e,t,n,"month");return r}function yn(e,a,n,t){"boolean"==typeof e?(d(a)&&(n=a,a=void 0),a=a||""):(n=a=e,e=!1,d(a)&&(n=a,a=void 0),a=a||"");var r,o=sa(),c=e?o._week.dow:0,i=[];if(null!=n)return hn(a,(n+c)%7,t,"day");for(r=0;r<7;r++)i[r]=hn(a,(r+c)%7,t,"day");return i}An.calendar=function(e,a,n){var t=this._calendar[e]||this._calendar.sameElse;return g(t)?t.call(a,n):t},An.longDateFormat=function(e){var a=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return a||!n?a:(this._longDateFormat[e]=n.match(w).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])},An.invalidDate=function(){return this._invalidDate},An.ordinal=function(e){return this._ordinal.replace("%d",e)},An.preparse=bn,An.postformat=bn,An.relativeTime=function(e,a,n,t){var r=this._relativeTime[n];return g(r)?r(e,a,n,t):r.replace(/%d/i,e)},An.pastFuture=function(e,a){var n=this._relativeTime[e>0?"future":"past"];return g(n)?n(a):n.replace(/%s/i,a)},An.set=function(e){var a,n;for(n in e)i(e,n)&&(g(a=e[n])?this[n]=a:this["_"+n]=a);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},An.eras=function(e,a){var n,t,o,c=this._eras||sa("en")._eras;for(n=0,t=c.length;n<t;++n){switch(typeof c[n].since){case"string":o=r(c[n].since).startOf("day"),c[n].since=o.valueOf()}switch(typeof c[n].until){case"undefined":c[n].until=1/0;break;case"string":o=r(c[n].until).startOf("day").valueOf(),c[n].until=o.valueOf()}}return c},An.erasParse=function(e,a,n){var t,r,o,c,i,s=this.eras();for(e=e.toUpperCase(),t=0,r=s.length;t<r;++t)if(o=s[t].name.toUpperCase(),c=s[t].abbr.toUpperCase(),i=s[t].narrow.toUpperCase(),n)switch(a){case"N":case"NN":case"NNN":if(c===e)return s[t];break;case"NNNN":if(o===e)return s[t];break;case"NNNNN":if(i===e)return s[t]}else if([o,c,i].indexOf(e)>=0)return s[t]},An.erasConvertYear=function(e,a){var n=e.since<=e.until?1:-1;return void 0===a?r(e.since).year():r(e.since).year()+(a-e.offset)*n},An.erasAbbrRegex=function(e){return i(this,"_erasAbbrRegex")||cn.call(this),e?this._erasAbbrRegex:this._erasRegex},An.erasNameRegex=function(e){return i(this,"_erasNameRegex")||cn.call(this),e?this._erasNameRegex:this._erasRegex},An.erasNarrowRegex=function(e){return i(this,"_erasNarrowRegex")||cn.call(this),e?this._erasNarrowRegex:this._erasRegex},An.months=function(e,a){return e?o(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Oe).test(a)?"format":"standalone"][e.month()]:o(this._months)?this._months:this._months.standalone},An.monthsShort=function(e,a){return e?o(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Oe.test(a)?"format":"standalone"][e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},An.monthsParse=function(e,a,n){var t,r,o;if(this._monthsParseExact)return ge.call(this,e,a,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),t=0;t<12;t++){if(r=m([2e3,t]),n&&!this._longMonthsParse[t]&&(this._longMonthsParse[t]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[t]=new RegExp("^"+this.monthsShort(r,"").re