UNPKG

virtual-antd-select

Version:

使用IntersectionObserve虚拟滚动解决基于antd3.X的Select下拉组件大数据量卡顿情况

6 lines 3.25 MB
!function(e){var n={};function t(r){if(n[r])return n[r].exports;var a=n[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,t),a.l=!0,a.exports}t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var a in e)t.d(r,a,function(n){return e[n]}.bind(null,a));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=427)}([function(e,n,t){"use strict";e.exports=t(428)},function(e,n,t){e.exports=t(449)()},function(e,n,t){var r; /*! Copyright (c) 2017 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames */!function(){"use strict";var t={}.hasOwnProperty;function a(){for(var e=[],n=0;n<arguments.length;n++){var r=arguments[n];if(r){var o=typeof r;if("string"===o||"number"===o)e.push(r);else if(Array.isArray(r)&&r.length){var i=a.apply(null,r);i&&e.push(i)}else if("object"===o)for(var l in r)t.call(r,l)&&r[l]&&e.push(l)}}return e.join(" ")}e.exports?(a.default=a,e.exports=a):void 0===(r=function(){return a}.apply(n,[]))||(e.exports=r)}()},function(e,n,t){"use strict";n.__esModule=!0;var r,a=t(434),o=(r=a)&&r.__esModule?r:{default:r};n.default=o.default||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e}},function(e,n,t){(function(e){e.exports=function(){"use strict";var n,r;function a(){return n.apply(null,arguments)}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function i(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function l(e,n){return Object.prototype.hasOwnProperty.call(e,n)}function c(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var n;for(n in e)if(l(e,n))return!1;return!0}function s(e){return void 0===e}function u(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function d(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function p(e,n){var t,r=[];for(t=0;t<e.length;++t)r.push(n(e[t],t));return r}function f(e,n){for(var t in n)l(n,t)&&(e[t]=n[t]);return l(n,"toString")&&(e.toString=n.toString),l(n,"valueOf")&&(e.valueOf=n.valueOf),e}function h(e,n,t,r){return Sn(e,n,t,r,!0).utc()}function m(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 b(e){if(null==e._isValid){var n=m(e),t=r.call(n.parsedDateParts,(function(e){return null!=e})),a=!isNaN(e._d.getTime())&&n.overflow<0&&!n.empty&&!n.invalidEra&&!n.invalidMonth&&!n.invalidWeekday&&!n.weekdayMismatch&&!n.nullInput&&!n.invalidFormat&&!n.userInvalidated&&(!n.meridiem||n.meridiem&&t);if(e._strict&&(a=a&&0===n.charsLeftOver&&0===n.unusedTokens.length&&void 0===n.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return a;e._isValid=a}return e._isValid}function y(e){var n=h(NaN);return null!=e?f(m(n),e):m(n).userInvalidated=!0,n}r=Array.prototype.some?Array.prototype.some:function(e){var n,t=Object(this),r=t.length>>>0;for(n=0;n<r;n++)if(n in t&&e.call(this,t[n],n,t))return!0;return!1};var v=a.momentProperties=[],g=!1;function w(e,n){var t,r,a;if(s(n._isAMomentObject)||(e._isAMomentObject=n._isAMomentObject),s(n._i)||(e._i=n._i),s(n._f)||(e._f=n._f),s(n._l)||(e._l=n._l),s(n._strict)||(e._strict=n._strict),s(n._tzm)||(e._tzm=n._tzm),s(n._isUTC)||(e._isUTC=n._isUTC),s(n._offset)||(e._offset=n._offset),s(n._pf)||(e._pf=m(n)),s(n._locale)||(e._locale=n._locale),v.length>0)for(t=0;t<v.length;t++)s(a=n[r=v[t]])||(e[r]=a);return e}function x(e){w(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===g&&(g=!0,a.updateOffset(this),g=!1)}function k(e){return e instanceof x||null!=e&&null!=e._isAMomentObject}function _(e){!1===a.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function M(e,n){var t=!0;return f((function(){if(null!=a.deprecationHandler&&a.deprecationHandler(null,e),t){var r,o,i,c=[];for(o=0;o<arguments.length;o++){if(r="","object"==typeof arguments[o]){for(i in r+="\n["+o+"] ",arguments[0])l(arguments[0],i)&&(r+=i+": "+arguments[0][i]+", ");r=r.slice(0,-2)}else r=arguments[o];c.push(r)}_(e+"\nArguments: "+Array.prototype.slice.call(c).join("")+"\n"+(new Error).stack),t=!1}return n.apply(this,arguments)}),n)}var O,S={};function C(e,n){null!=a.deprecationHandler&&a.deprecationHandler(e,n),S[e]||(_(n),S[e]=!0)}function z(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function E(e,n){var t,r=f({},e);for(t in n)l(n,t)&&(i(e[t])&&i(n[t])?(r[t]={},f(r[t],e[t]),f(r[t],n[t])):null!=n[t]?r[t]=n[t]:delete r[t]);for(t in e)l(e,t)&&!l(n,t)&&i(e[t])&&(r[t]=f({},r[t]));return r}function L(e){null!=e&&this.set(e)}function T(e,n,t){var r=""+Math.abs(e),a=n-r.length;return(e>=0?t?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+r}a.suppressDeprecationWarnings=!1,a.deprecationHandler=null,O=Object.keys?Object.keys:function(e){var n,t=[];for(n in e)l(e,n)&&t.push(n);return t};var P=/(\[[^\[]*\])|(\\)?([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,j=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,D={},H={};function N(e,n,t,r){var a=r;"string"==typeof r&&(a=function(){return this[r]()}),e&&(H[e]=a),n&&(H[n[0]]=function(){return T(a.apply(this,arguments),n[1],n[2])}),t&&(H[t]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function V(e,n){return e.isValid()?(n=Y(n,e.localeData()),D[n]=D[n]||function(e){var n,t,r,a=e.match(P);for(n=0,t=a.length;n<t;n++)H[a[n]]?a[n]=H[a[n]]:a[n]=(r=a[n]).match(/\[[\s\S]/)?r.replace(/^\[|\]$/g,""):r.replace(/\\/g,"");return function(n){var r,o="";for(r=0;r<t;r++)o+=z(a[r])?a[r].call(n,e):a[r];return o}}(n),D[n](e)):e.localeData().invalidDate()}function Y(e,n){var t=5;function r(e){return n.longDateFormat(e)||e}for(j.lastIndex=0;t>=0&&j.test(e);)e=e.replace(j,r),j.lastIndex=0,t-=1;return e}var R={};function A(e,n){var t=e.toLowerCase();R[t]=R[t+"s"]=R[n]=e}function I(e){return"string"==typeof e?R[e]||R[e.toLowerCase()]:void 0}function F(e){var n,t,r={};for(t in e)l(e,t)&&(n=I(t))&&(r[n]=e[t]);return r}var K={};function W(e,n){K[e]=n}function B(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 q(e){var n=+e,t=0;return 0!==n&&isFinite(n)&&(t=U(n)),t}function G(e,n){return function(t){return null!=t?(J(this,e,t),a.updateOffset(this,n),this):X(this,e)}}function X(e,n){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+n]():NaN}function J(e,n,t){e.isValid()&&!isNaN(t)&&("FullYear"===n&&B(e.year())&&1===e.month()&&29===e.date()?(t=q(t),e._d["set"+(e._isUTC?"UTC":"")+n](t,e.month(),ke(t,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+n](t))}var $,Z=/\d/,Q=/\d\d/,ee=/\d{3}/,ne=/\d{4}/,te=/[+-]?\d{6}/,re=/\d\d?/,ae=/\d\d\d\d?/,oe=/\d\d\d\d\d\d?/,ie=/\d{1,3}/,le=/\d{1,4}/,ce=/[+-]?\d{1,6}/,se=/\d+/,ue=/[+-]?\d+/,de=/Z|[+-]\d\d:?\d\d/gi,pe=/Z|[+-]\d\d(?::?\d\d)?/gi,fe=/[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 he(e,n,t){$[e]=z(n)?n:function(e,r){return e&&t?t:n}}function me(e,n){return l($,e)?$[e](n._strict,n._locale):new RegExp(be(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,n,t,r,a){return n||t||r||a}))))}function be(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}$={};var ye,ve={};function ge(e,n){var t,r=n;for("string"==typeof e&&(e=[e]),u(n)&&(r=function(e,t){t[n]=q(e)}),t=0;t<e.length;t++)ve[e[t]]=r}function we(e,n){ge(e,(function(e,t,r,a){r._w=r._w||{},n(e,r._w,r,a)}))}function xe(e,n,t){null!=n&&l(ve,e)&&ve[e](n,t._a,t,e)}function ke(e,n){if(isNaN(e)||isNaN(n))return NaN;var t,r=(n%(t=12)+t)%t;return e+=(n-r)/12,1===r?B(e)?29:28:31-r%7%2}ye=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var n;for(n=0;n<this.length;++n)if(this[n]===e)return n;return-1},N("M",["MM",2],"Mo",(function(){return this.month()+1})),N("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),N("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),A("month","M"),W("month",8),he("M",re),he("MM",re,Q),he("MMM",(function(e,n){return n.monthsShortRegex(e)})),he("MMMM",(function(e,n){return n.monthsRegex(e)})),ge(["M","MM"],(function(e,n){n[1]=q(e)-1})),ge(["MMM","MMMM"],(function(e,n,t,r){var a=t._locale.monthsParse(e,r,t._strict);null!=a?n[1]=a:m(t).invalidMonth=e}));var _e="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Me="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Oe=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Se=fe,Ce=fe;function ze(e,n,t){var r,a,o,i=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)o=h([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return t?"MMM"===n?-1!==(a=ye.call(this._shortMonthsParse,i))?a:null:-1!==(a=ye.call(this._longMonthsParse,i))?a:null:"MMM"===n?-1!==(a=ye.call(this._shortMonthsParse,i))||-1!==(a=ye.call(this._longMonthsParse,i))?a:null:-1!==(a=ye.call(this._longMonthsParse,i))||-1!==(a=ye.call(this._shortMonthsParse,i))?a:null}function Ee(e,n){var t;if(!e.isValid())return e;if("string"==typeof n)if(/^\d+$/.test(n))n=q(n);else if(!u(n=e.localeData().monthsParse(n)))return e;return t=Math.min(e.date(),ke(e.year(),n)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](n,t),e}function Le(e){return null!=e?(Ee(this,e),a.updateOffset(this,!0),this):X(this,"Month")}function Te(){function e(e,n){return n.length-e.length}var n,t,r=[],a=[],o=[];for(n=0;n<12;n++)t=h([2e3,n]),r.push(this.monthsShort(t,"")),a.push(this.months(t,"")),o.push(this.months(t,"")),o.push(this.monthsShort(t,""));for(r.sort(e),a.sort(e),o.sort(e),n=0;n<12;n++)r[n]=be(r[n]),a[n]=be(a[n]);for(n=0;n<24;n++)o[n]=be(o[n]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function Pe(e){return B(e)?366:365}N("Y",0,0,(function(){var e=this.year();return e<=9999?T(e,4):"+"+e})),N(0,["YY",2],0,(function(){return this.year()%100})),N(0,["YYYY",4],0,"year"),N(0,["YYYYY",5],0,"year"),N(0,["YYYYYY",6,!0],0,"year"),A("year","y"),W("year",1),he("Y",ue),he("YY",re,Q),he("YYYY",le,ne),he("YYYYY",ce,te),he("YYYYYY",ce,te),ge(["YYYYY","YYYYYY"],0),ge("YYYY",(function(e,n){n[0]=2===e.length?a.parseTwoDigitYear(e):q(e)})),ge("YY",(function(e,n){n[0]=a.parseTwoDigitYear(e)})),ge("Y",(function(e,n){n[0]=parseInt(e,10)})),a.parseTwoDigitYear=function(e){return q(e)+(q(e)>68?1900:2e3)};var je=G("FullYear",!0);function De(e,n,t,r,a,o,i){var l;return e<100&&e>=0?(l=new Date(e+400,n,t,r,a,o,i),isFinite(l.getFullYear())&&l.setFullYear(e)):l=new Date(e,n,t,r,a,o,i),l}function He(e){var n,t;return e<100&&e>=0?((t=Array.prototype.slice.call(arguments))[0]=e+400,n=new Date(Date.UTC.apply(null,t)),isFinite(n.getUTCFullYear())&&n.setUTCFullYear(e)):n=new Date(Date.UTC.apply(null,arguments)),n}function Ne(e,n,t){var r=7+n-t;return-(7+He(e,0,r).getUTCDay()-n)%7+r-1}function Ve(e,n,t,r,a){var o,i,l=1+7*(n-1)+(7+t-r)%7+Ne(e,r,a);return l<=0?i=Pe(o=e-1)+l:l>Pe(e)?(o=e+1,i=l-Pe(e)):(o=e,i=l),{year:o,dayOfYear:i}}function Ye(e,n,t){var r,a,o=Ne(e.year(),n,t),i=Math.floor((e.dayOfYear()-o-1)/7)+1;return i<1?r=i+Re(a=e.year()-1,n,t):i>Re(e.year(),n,t)?(r=i-Re(e.year(),n,t),a=e.year()+1):(a=e.year(),r=i),{week:r,year:a}}function Re(e,n,t){var r=Ne(e,n,t),a=Ne(e+1,n,t);return(Pe(e)-r+a)/7}function Ae(e,n){return e.slice(n,7).concat(e.slice(0,n))}N("w",["ww",2],"wo","week"),N("W",["WW",2],"Wo","isoWeek"),A("week","w"),A("isoWeek","W"),W("week",5),W("isoWeek",5),he("w",re),he("ww",re,Q),he("W",re),he("WW",re,Q),we(["w","ww","W","WW"],(function(e,n,t,r){n[r.substr(0,1)]=q(e)})),N("d",0,"do","day"),N("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),N("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),N("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),N("e",0,0,"weekday"),N("E",0,0,"isoWeekday"),A("day","d"),A("weekday","e"),A("isoWeekday","E"),W("day",11),W("weekday",11),W("isoWeekday",11),he("d",re),he("e",re),he("E",re),he("dd",(function(e,n){return n.weekdaysMinRegex(e)})),he("ddd",(function(e,n){return n.weekdaysShortRegex(e)})),he("dddd",(function(e,n){return n.weekdaysRegex(e)})),we(["dd","ddd","dddd"],(function(e,n,t,r){var a=t._locale.weekdaysParse(e,r,t._strict);null!=a?n.d=a:m(t).invalidWeekday=e})),we(["d","e","E"],(function(e,n,t,r){n[r]=q(e)}));var Ie="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Fe="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ke="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),We=fe,Be=fe,Ue=fe;function qe(e,n,t){var r,a,o,i=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=h([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return t?"dddd"===n?-1!==(a=ye.call(this._weekdaysParse,i))?a:null:"ddd"===n?-1!==(a=ye.call(this._shortWeekdaysParse,i))?a:null:-1!==(a=ye.call(this._minWeekdaysParse,i))?a:null:"dddd"===n?-1!==(a=ye.call(this._weekdaysParse,i))||-1!==(a=ye.call(this._shortWeekdaysParse,i))||-1!==(a=ye.call(this._minWeekdaysParse,i))?a:null:"ddd"===n?-1!==(a=ye.call(this._shortWeekdaysParse,i))||-1!==(a=ye.call(this._weekdaysParse,i))||-1!==(a=ye.call(this._minWeekdaysParse,i))?a:null:-1!==(a=ye.call(this._minWeekdaysParse,i))||-1!==(a=ye.call(this._weekdaysParse,i))||-1!==(a=ye.call(this._shortWeekdaysParse,i))?a:null}function Ge(){function e(e,n){return n.length-e.length}var n,t,r,a,o,i=[],l=[],c=[],s=[];for(n=0;n<7;n++)t=h([2e3,1]).day(n),r=be(this.weekdaysMin(t,"")),a=be(this.weekdaysShort(t,"")),o=be(this.weekdays(t,"")),i.push(r),l.push(a),c.push(o),s.push(r),s.push(a),s.push(o);i.sort(e),l.sort(e),c.sort(e),s.sort(e),this._weekdaysRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+i.join("|")+")","i")}function Xe(){return this.hours()%12||12}function Je(e,n){N(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),n)}))}function $e(e,n){return n._meridiemParse}N("H",["HH",2],0,"hour"),N("h",["hh",2],0,Xe),N("k",["kk",2],0,(function(){return this.hours()||24})),N("hmm",0,0,(function(){return""+Xe.apply(this)+T(this.minutes(),2)})),N("hmmss",0,0,(function(){return""+Xe.apply(this)+T(this.minutes(),2)+T(this.seconds(),2)})),N("Hmm",0,0,(function(){return""+this.hours()+T(this.minutes(),2)})),N("Hmmss",0,0,(function(){return""+this.hours()+T(this.minutes(),2)+T(this.seconds(),2)})),Je("a",!0),Je("A",!1),A("hour","h"),W("hour",13),he("a",$e),he("A",$e),he("H",re),he("h",re),he("k",re),he("HH",re,Q),he("hh",re,Q),he("kk",re,Q),he("hmm",ae),he("hmmss",oe),he("Hmm",ae),he("Hmmss",oe),ge(["H","HH"],3),ge(["k","kk"],(function(e,n,t){var r=q(e);n[3]=24===r?0:r})),ge(["a","A"],(function(e,n,t){t._isPm=t._locale.isPM(e),t._meridiem=e})),ge(["h","hh"],(function(e,n,t){n[3]=q(e),m(t).bigHour=!0})),ge("hmm",(function(e,n,t){var r=e.length-2;n[3]=q(e.substr(0,r)),n[4]=q(e.substr(r)),m(t).bigHour=!0})),ge("hmmss",(function(e,n,t){var r=e.length-4,a=e.length-2;n[3]=q(e.substr(0,r)),n[4]=q(e.substr(r,2)),n[5]=q(e.substr(a)),m(t).bigHour=!0})),ge("Hmm",(function(e,n,t){var r=e.length-2;n[3]=q(e.substr(0,r)),n[4]=q(e.substr(r))})),ge("Hmmss",(function(e,n,t){var r=e.length-4,a=e.length-2;n[3]=q(e.substr(0,r)),n[4]=q(e.substr(r,2)),n[5]=q(e.substr(a))}));var Ze,Qe=G("Hours",!0),en={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:_e,monthsShort:Me,week:{dow:0,doy:6},weekdays:Ie,weekdaysMin:Ke,weekdaysShort:Fe,meridiemParse:/[ap]\.?m?\.?/i},nn={},tn={};function rn(e,n){var t,r=Math.min(e.length,n.length);for(t=0;t<r;t+=1)if(e[t]!==n[t])return t;return r}function an(e){return e?e.toLowerCase().replace("_","-"):e}function on(n){var r=null;if(void 0===nn[n]&&void 0!==e&&e&&e.exports)try{r=Ze._abbr,t(491)("./"+n),ln(r)}catch(e){nn[n]=null}return nn[n]}function ln(e,n){var t;return e&&((t=s(n)?sn(e):cn(e,n))?Ze=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Ze._abbr}function cn(e,n){if(null!==n){var t,r=en;if(n.abbr=e,null!=nn[e])C("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."),r=nn[e]._config;else if(null!=n.parentLocale)if(null!=nn[n.parentLocale])r=nn[n.parentLocale]._config;else{if(null==(t=on(n.parentLocale)))return tn[n.parentLocale]||(tn[n.parentLocale]=[]),tn[n.parentLocale].push({name:e,config:n}),null;r=t._config}return nn[e]=new L(E(r,n)),tn[e]&&tn[e].forEach((function(e){cn(e.name,e.config)})),ln(e),nn[e]}return delete nn[e],null}function sn(e){var n;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Ze;if(!o(e)){if(n=on(e))return n;e=[e]}return function(e){for(var n,t,r,a,o=0;o<e.length;){for(n=(a=an(e[o]).split("-")).length,t=(t=an(e[o+1]))?t.split("-"):null;n>0;){if(r=on(a.slice(0,n).join("-")))return r;if(t&&t.length>=n&&rn(a,t)>=n-1)break;n--}o++}return Ze}(e)}function un(e){var n,t=e._a;return t&&-2===m(e).overflow&&(n=t[1]<0||t[1]>11?1:t[2]<1||t[2]>ke(t[0],t[1])?2:t[3]<0||t[3]>24||24===t[3]&&(0!==t[4]||0!==t[5]||0!==t[6])?3:t[4]<0||t[4]>59?4:t[5]<0||t[5]>59?5:t[6]<0||t[6]>999?6:-1,m(e)._overflowDayOfYear&&(n<0||n>2)&&(n=2),m(e)._overflowWeeks&&-1===n&&(n=7),m(e)._overflowWeekday&&-1===n&&(n=8),m(e).overflow=n),e}var dn=/^\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)?)?$/,pn=/^\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)?)?$/,fn=/Z|[+-]\d\d(?::?\d\d)?/,hn=[["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]],mn=[["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/]],bn=/^\/?Date\((-?\d+)/i,yn=/^(?:(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}))$/,vn={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function gn(e){var n,t,r,a,o,i,l=e._i,c=dn.exec(l)||pn.exec(l);if(c){for(m(e).iso=!0,n=0,t=hn.length;n<t;n++)if(hn[n][1].exec(c[1])){a=hn[n][0],r=!1!==hn[n][2];break}if(null==a)return void(e._isValid=!1);if(c[3]){for(n=0,t=mn.length;n<t;n++)if(mn[n][1].exec(c[3])){o=(c[2]||" ")+mn[n][0];break}if(null==o)return void(e._isValid=!1)}if(!r&&null!=o)return void(e._isValid=!1);if(c[4]){if(!fn.exec(c[4]))return void(e._isValid=!1);i="Z"}e._f=a+(o||"")+(i||""),Mn(e)}else e._isValid=!1}function wn(e){var n=parseInt(e,10);return n<=49?2e3+n:n<=999?1900+n:n}function xn(e){var n,t,r,a,o,i,l,c,s=yn.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(s){if(t=s[4],r=s[3],a=s[2],o=s[5],i=s[6],l=s[7],c=[wn(t),Me.indexOf(r),parseInt(a,10),parseInt(o,10),parseInt(i,10)],l&&c.push(parseInt(l,10)),n=c,!function(e,n,t){return!e||Fe.indexOf(e)===new Date(n[0],n[1],n[2]).getDay()||(m(t).weekdayMismatch=!0,t._isValid=!1,!1)}(s[1],n,e))return;e._a=n,e._tzm=function(e,n,t){if(e)return vn[e];if(n)return 0;var r=parseInt(t,10),a=r%100;return(r-a)/100*60+a}(s[8],s[9],s[10]),e._d=He.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),m(e).rfc2822=!0}else e._isValid=!1}function kn(e,n,t){return null!=e?e:null!=n?n:t}function _n(e){var n,t,r,o,i,l=[];if(!e._d){for(r=function(e){var n=new Date(a.now());return e._useUTC?[n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate()]:[n.getFullYear(),n.getMonth(),n.getDate()]}(e),e._w&&null==e._a[2]&&null==e._a[1]&&function(e){var n,t,r,a,o,i,l,c,s;null!=(n=e._w).GG||null!=n.W||null!=n.E?(o=1,i=4,t=kn(n.GG,e._a[0],Ye(Cn(),1,4).year),r=kn(n.W,1),((a=kn(n.E,1))<1||a>7)&&(c=!0)):(o=e._locale._week.dow,i=e._locale._week.doy,s=Ye(Cn(),o,i),t=kn(n.gg,e._a[0],s.year),r=kn(n.w,s.week),null!=n.d?((a=n.d)<0||a>6)&&(c=!0):null!=n.e?(a=n.e+o,(n.e<0||n.e>6)&&(c=!0)):a=o),r<1||r>Re(t,o,i)?m(e)._overflowWeeks=!0:null!=c?m(e)._overflowWeekday=!0:(l=Ve(t,r,a,o,i),e._a[0]=l.year,e._dayOfYear=l.dayOfYear)}(e),null!=e._dayOfYear&&(i=kn(e._a[0],r[0]),(e._dayOfYear>Pe(i)||0===e._dayOfYear)&&(m(e)._overflowDayOfYear=!0),t=He(i,0,e._dayOfYear),e._a[1]=t.getUTCMonth(),e._a[2]=t.getUTCDate()),n=0;n<3&&null==e._a[n];++n)e._a[n]=l[n]=r[n];for(;n<7;n++)e._a[n]=l[n]=null==e._a[n]?2===n?1:0:e._a[n];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?He:De).apply(null,l),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&&(m(e).weekdayMismatch=!0)}}function Mn(e){if(e._f!==a.ISO_8601)if(e._f!==a.RFC_2822){e._a=[],m(e).empty=!0;var n,t,r,o,i,l,c=""+e._i,s=c.length,u=0;for(r=Y(e._f,e._locale).match(P)||[],n=0;n<r.length;n++)o=r[n],(t=(c.match(me(o,e))||[])[0])&&((i=c.substr(0,c.indexOf(t))).length>0&&m(e).unusedInput.push(i),c=c.slice(c.indexOf(t)+t.length),u+=t.length),H[o]?(t?m(e).empty=!1:m(e).unusedTokens.push(o),xe(o,t,e)):e._strict&&!t&&m(e).unusedTokens.push(o);m(e).charsLeftOver=s-u,c.length>0&&m(e).unusedInput.push(c),e._a[3]<=12&&!0===m(e).bigHour&&e._a[3]>0&&(m(e).bigHour=void 0),m(e).parsedDateParts=e._a.slice(0),m(e).meridiem=e._meridiem,e._a[3]=function(e,n,t){var r;return null==t?n:null!=e.meridiemHour?e.meridiemHour(n,t):null!=e.isPM?((r=e.isPM(t))&&n<12&&(n+=12),r||12!==n||(n=0),n):n}(e._locale,e._a[3],e._meridiem),null!==(l=m(e).era)&&(e._a[0]=e._locale.erasConvertYear(l,e._a[0])),_n(e),un(e)}else xn(e);else gn(e)}function On(e){var n=e._i,t=e._f;return e._locale=e._locale||sn(e._l),null===n||void 0===t&&""===n?y({nullInput:!0}):("string"==typeof n&&(e._i=n=e._locale.preparse(n)),k(n)?new x(un(n)):(d(n)?e._d=n:o(t)?function(e){var n,t,r,a,o,i,l=!1;if(0===e._f.length)return m(e).invalidFormat=!0,void(e._d=new Date(NaN));for(a=0;a<e._f.length;a++)o=0,i=!1,n=w({},e),null!=e._useUTC&&(n._useUTC=e._useUTC),n._f=e._f[a],Mn(n),b(n)&&(i=!0),o+=m(n).charsLeftOver,o+=10*m(n).unusedTokens.length,m(n).score=o,l?o<r&&(r=o,t=n):(null==r||o<r||i)&&(r=o,t=n,i&&(l=!0));f(e,t||n)}(e):t?Mn(e):function(e){var n=e._i;s(n)?e._d=new Date(a.now()):d(n)?e._d=new Date(n.valueOf()):"string"==typeof n?function(e){var n=bn.exec(e._i);null===n?(gn(e),!1===e._isValid&&(delete e._isValid,xn(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:a.createFromInputFallback(e)))):e._d=new Date(+n[1])}(e):o(n)?(e._a=p(n.slice(0),(function(e){return parseInt(e,10)})),_n(e)):i(n)?function(e){if(!e._d){var n=F(e._i),t=void 0===n.day?n.date:n.day;e._a=p([n.year,n.month,t,n.hour,n.minute,n.second,n.millisecond],(function(e){return e&&parseInt(e,10)})),_n(e)}}(e):u(n)?e._d=new Date(n):a.createFromInputFallback(e)}(e),b(e)||(e._d=null),e))}function Sn(e,n,t,r,a){var l,s={};return!0!==n&&!1!==n||(r=n,n=void 0),!0!==t&&!1!==t||(r=t,t=void 0),(i(e)&&c(e)||o(e)&&0===e.length)&&(e=void 0),s._isAMomentObject=!0,s._useUTC=s._isUTC=a,s._l=t,s._i=e,s._f=n,s._strict=r,(l=new x(un(On(s))))._nextDay&&(l.add(1,"d"),l._nextDay=void 0),l}function Cn(e,n,t,r){return Sn(e,n,t,r,!1)}a.createFromInputFallback=M("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":""))})),a.ISO_8601=function(){},a.RFC_2822=function(){};var zn=M("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Cn.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:y()})),En=M("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Cn.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:y()}));function Ln(e,n){var t,r;if(1===n.length&&o(n[0])&&(n=n[0]),!n.length)return Cn();for(t=n[0],r=1;r<n.length;++r)n[r].isValid()&&!n[r][e](t)||(t=n[r]);return t}var Tn=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Pn(e){var n=F(e),t=n.year||0,r=n.quarter||0,a=n.month||0,o=n.week||n.isoWeek||0,i=n.day||0,c=n.hour||0,s=n.minute||0,u=n.second||0,d=n.millisecond||0;this._isValid=function(e){var n,t,r=!1;for(n in e)if(l(e,n)&&(-1===ye.call(Tn,n)||null!=e[n]&&isNaN(e[n])))return!1;for(t=0;t<Tn.length;++t)if(e[Tn[t]]){if(r)return!1;parseFloat(e[Tn[t]])!==q(e[Tn[t]])&&(r=!0)}return!0}(n),this._milliseconds=+d+1e3*u+6e4*s+1e3*c*60*60,this._days=+i+7*o,this._months=+a+3*r+12*t,this._data={},this._locale=sn(),this._bubble()}function jn(e){return e instanceof Pn}function Dn(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Hn(e,n){N(e,0,0,(function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+T(~~(e/60),2)+n+T(~~e%60,2)}))}Hn("Z",":"),Hn("ZZ",""),he("Z",pe),he("ZZ",pe),ge(["Z","ZZ"],(function(e,n,t){t._useUTC=!0,t._tzm=Vn(pe,e)}));var Nn=/([\+\-]|\d\d)/gi;function Vn(e,n){var t,r,a=(n||"").match(e);return null===a?null:0===(r=60*(t=((a[a.length-1]||[])+"").match(Nn)||["-",0,0])[1]+q(t[2]))?0:"+"===t[0]?r:-r}function Yn(e,n){var t,r;return n._isUTC?(t=n.clone(),r=(k(e)||d(e)?e.valueOf():Cn(e).valueOf())-t.valueOf(),t._d.setTime(t._d.valueOf()+r),a.updateOffset(t,!1),t):Cn(e).local()}function Rn(e){return-Math.round(e._d.getTimezoneOffset())}function An(){return!!this.isValid()&&this._isUTC&&0===this._offset}a.updateOffset=function(){};var In=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Fn=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Kn(e,n){var t,r,a,o,i,c,s=e,d=null;return jn(e)?s={ms:e._milliseconds,d:e._days,M:e._months}:u(e)||!isNaN(+e)?(s={},n?s[n]=+e:s.milliseconds=+e):(d=In.exec(e))?(t="-"===d[1]?-1:1,s={y:0,d:q(d[2])*t,h:q(d[3])*t,m:q(d[4])*t,s:q(d[5])*t,ms:q(Dn(1e3*d[6]))*t}):(d=Fn.exec(e))?(t="-"===d[1]?-1:1,s={y:Wn(d[2],t),M:Wn(d[3],t),w:Wn(d[4],t),d:Wn(d[5],t),h:Wn(d[6],t),m:Wn(d[7],t),s:Wn(d[8],t)}):null==s?s={}:"object"==typeof s&&("from"in s||"to"in s)&&(o=Cn(s.from),i=Cn(s.to),a=o.isValid()&&i.isValid()?(i=Yn(i,o),o.isBefore(i)?c=Bn(o,i):((c=Bn(i,o)).milliseconds=-c.milliseconds,c.months=-c.months),c):{milliseconds:0,months:0},(s={}).ms=a.milliseconds,s.M=a.months),r=new Pn(s),jn(e)&&l(e,"_locale")&&(r._locale=e._locale),jn(e)&&l(e,"_isValid")&&(r._isValid=e._isValid),r}function Wn(e,n){var t=e&&parseFloat(e.replace(",","."));return(isNaN(t)?0:t)*n}function Bn(e,n){var t={};return t.months=n.month()-e.month()+12*(n.year()-e.year()),e.clone().add(t.months,"M").isAfter(n)&&--t.months,t.milliseconds=+n-+e.clone().add(t.months,"M"),t}function Un(e,n){return function(t,r){var a;return null===r||isNaN(+r)||(C(n,"moment()."+n+"(period, number) is deprecated. Please use moment()."+n+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),a=t,t=r,r=a),qn(this,Kn(t,r),e),this}}function qn(e,n,t,r){var o=n._milliseconds,i=Dn(n._days),l=Dn(n._months);e.isValid()&&(r=null==r||r,l&&Ee(e,X(e,"Month")+l*t),i&&J(e,"Date",X(e,"Date")+i*t),o&&e._d.setTime(e._d.valueOf()+o*t),r&&a.updateOffset(e,i||l))}Kn.fn=Pn.prototype,Kn.invalid=function(){return Kn(NaN)};var Gn=Un(1,"add"),Xn=Un(-1,"subtract");function Jn(e){return"string"==typeof e||e instanceof String}function $n(e){return k(e)||d(e)||Jn(e)||u(e)||function(e){var n=o(e),t=!1;return n&&(t=0===e.filter((function(n){return!u(n)&&Jn(e)})).length),n&&t}(e)||function(e){var n,t,r=i(e)&&!c(e),a=!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(n=0;n<o.length;n+=1)t=o[n],a=a||l(e,t);return r&&a}(e)||null==e}function Zn(e){var n,t=i(e)&&!c(e),r=!1,a=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(n=0;n<a.length;n+=1)r=r||l(e,a[n]);return t&&r}function Qn(e,n){if(e.date()<n.date())return-Qn(n,e);var t=12*(n.year()-e.year())+(n.month()-e.month()),r=e.clone().add(t,"months");return-(t+(n-r<0?(n-r)/(r-e.clone().add(t-1,"months")):(n-r)/(e.clone().add(t+1,"months")-r)))||0}function et(e){var n;return void 0===e?this._locale._abbr:(null!=(n=sn(e))&&(this._locale=n),this)}a.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",a.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var nt=M("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 tt(){return this._locale}function rt(e,n){return(e%n+n)%n}function at(e,n,t){return e<100&&e>=0?new Date(e+400,n,t)-126227808e5:new Date(e,n,t).valueOf()}function ot(e,n,t){return e<100&&e>=0?Date.UTC(e+400,n,t)-126227808e5:Date.UTC(e,n,t)}function it(e,n){return n.erasAbbrRegex(e)}function lt(){var e,n,t=[],r=[],a=[],o=[],i=this.eras();for(e=0,n=i.length;e<n;++e)r.push(be(i[e].name)),t.push(be(i[e].abbr)),a.push(be(i[e].narrow)),o.push(be(i[e].name)),o.push(be(i[e].abbr)),o.push(be(i[e].narrow));this._erasRegex=new RegExp("^("+o.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+r.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+t.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+a.join("|")+")","i")}function ct(e,n){N(0,[e,e.length],0,n)}function st(e,n,t,r,a){var o;return null==e?Ye(this,r,a).year:(n>(o=Re(e,r,a))&&(n=o),ut.call(this,e,n,t,r,a))}function ut(e,n,t,r,a){var o=Ve(e,n,t,r,a),i=He(o.year,0,o.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}N("N",0,0,"eraAbbr"),N("NN",0,0,"eraAbbr"),N("NNN",0,0,"eraAbbr"),N("NNNN",0,0,"eraName"),N("NNNNN",0,0,"eraNarrow"),N("y",["y",1],"yo","eraYear"),N("y",["yy",2],0,"eraYear"),N("y",["yyy",3],0,"eraYear"),N("y",["yyyy",4],0,"eraYear"),he("N",it),he("NN",it),he("NNN",it),he("NNNN",(function(e,n){return n.erasNameRegex(e)})),he("NNNNN",(function(e,n){return n.erasNarrowRegex(e)})),ge(["N","NN","NNN","NNNN","NNNNN"],(function(e,n,t,r){var a=t._locale.erasParse(e,r,t._strict);a?m(t).era=a:m(t).invalidEra=e})),he("y",se),he("yy",se),he("yyy",se),he("yyyy",se),he("yo",(function(e,n){return n._eraYearOrdinalRegex||se})),ge(["y","yy","yyy","yyyy"],0),ge(["yo"],(function(e,n,t,r){var a;t._locale._eraYearOrdinalRegex&&(a=e.match(t._locale._eraYearOrdinalRegex)),t._locale.eraYearOrdinalParse?n[0]=t._locale.eraYearOrdinalParse(e,a):n[0]=parseInt(e,10)})),N(0,["gg",2],0,(function(){return this.weekYear()%100})),N(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),ct("gggg","weekYear"),ct("ggggg","weekYear"),ct("GGGG","isoWeekYear"),ct("GGGGG","isoWeekYear"),A("weekYear","gg"),A("isoWeekYear","GG"),W("weekYear",1),W("isoWeekYear",1),he("G",ue),he("g",ue),he("GG",re,Q),he("gg",re,Q),he("GGGG",le,ne),he("gggg",le,ne),he("GGGGG",ce,te),he("ggggg",ce,te),we(["gggg","ggggg","GGGG","GGGGG"],(function(e,n,t,r){n[r.substr(0,2)]=q(e)})),we(["gg","GG"],(function(e,n,t,r){n[r]=a.parseTwoDigitYear(e)})),N("Q",0,"Qo","quarter"),A("quarter","Q"),W("quarter",7),he("Q",Z),ge("Q",(function(e,n){n[1]=3*(q(e)-1)})),N("D",["DD",2],"Do","date"),A("date","D"),W("date",9),he("D",re),he("DD",re,Q),he("Do",(function(e,n){return e?n._dayOfMonthOrdinalParse||n._ordinalParse:n._dayOfMonthOrdinalParseLenient})),ge(["D","DD"],2),ge("Do",(function(e,n){n[2]=q(e.match(re)[0])}));var dt=G("Date",!0);N("DDD",["DDDD",3],"DDDo","dayOfYear"),A("dayOfYear","DDD"),W("dayOfYear",4),he("DDD",ie),he("DDDD",ee),ge(["DDD","DDDD"],(function(e,n,t){t._dayOfYear=q(e)})),N("m",["mm",2],0,"minute"),A("minute","m"),W("minute",14),he("m",re),he("mm",re,Q),ge(["m","mm"],4);var pt=G("Minutes",!1);N("s",["ss",2],0,"second"),A("second","s"),W("second",15),he("s",re),he("ss",re,Q),ge(["s","ss"],5);var ft,ht,mt=G("Seconds",!1);for(N("S",0,0,(function(){return~~(this.millisecond()/100)})),N(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),N(0,["SSS",3],0,"millisecond"),N(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),N(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),N(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),N(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),N(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),N(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),A("millisecond","ms"),W("millisecond",16),he("S",ie,Z),he("SS",ie,Q),he("SSS",ie,ee),ft="SSSS";ft.length<=9;ft+="S")he(ft,se);function bt(e,n){n[6]=q(1e3*("0."+e))}for(ft="S";ft.length<=9;ft+="S")ge(ft,bt);ht=G("Milliseconds",!1),N("z",0,0,"zoneAbbr"),N("zz",0,0,"zoneName");var yt=x.prototype;function vt(e){return e}yt.add=Gn,yt.calendar=function(e,n){1===arguments.length&&(arguments[0]?$n(arguments[0])?(e=arguments[0],n=void 0):Zn(arguments[0])&&(n=arguments[0],e=void 0):(e=void 0,n=void 0));var t=e||Cn(),r=Yn(t,this).startOf("day"),o=a.calendarFormat(this,r)||"sameElse",i=n&&(z(n[o])?n[o].call(this,t):n[o]);return this.format(i||this.localeData().calendar(o,this,Cn(t)))},yt.clone=function(){return new x(this)},yt.diff=function(e,n,t){var r,a,o;if(!this.isValid())return NaN;if(!(r=Yn(e,this)).isValid())return NaN;switch(a=6e4*(r.utcOffset()-this.utcOffset()),n=I(n)){case"year":o=Qn(this,r)/12;break;case"month":o=Qn(this,r);break;case"quarter":o=Qn(this,r)/3;break;case"second":o=(this-r)/1e3;break;case"minute":o=(this-r)/6e4;break;case"hour":o=(this-r)/36e5;break;case"day":o=(this-r-a)/864e5;break;case"week":o=(this-r-a)/6048e5;break;default:o=this-r}return t?o:U(o)},yt.endOf=function(e){var n,t;if(void 0===(e=I(e))||"millisecond"===e||!this.isValid())return this;switch(t=this._isUTC?ot:at,e){case"year":n=t(this.year()+1,0,1)-1;break;case"quarter":n=t(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":n=t(this.year(),this.month()+1,1)-1;break;case"week":n=t(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":n=t(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":n=t(this.year(),this.month(),this.date()+1)-1;break;case"hour":n=this._d.valueOf(),n+=36e5-rt(n+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":n=this._d.valueOf(),n+=6e4-rt(n,6e4)-1;break;case"second":n=this._d.valueOf(),n+=1e3-rt(n,1e3)-1}return this._d.setTime(n),a.updateOffset(this,!0),this},yt.format=function(e){e||(e=this.isUtc()?a.defaultFormatUtc:a.defaultFormat);var n=V(this,e);return this.localeData().postformat(n)},yt.from=function(e,n){return this.isValid()&&(k(e)&&e.isValid()||Cn(e).isValid())?Kn({to:this,from:e}).locale(this.locale()).humanize(!n):this.localeData().invalidDate()},yt.fromNow=function(e){return this.from(Cn(),e)},yt.to=function(e,n){return this.isValid()&&(k(e)&&e.isValid()||Cn(e).isValid())?Kn({from:this,to:e}).locale(this.locale()).humanize(!n):this.localeData().invalidDate()},yt.toNow=function(e){return this.to(Cn(),e)},yt.get=function(e){return z(this[e=I(e)])?this[e]():this},yt.invalidAt=function(){return m(this).overflow},yt.isAfter=function(e,n){var t=k(e)?e:Cn(e);return!(!this.isValid()||!t.isValid())&&("millisecond"===(n=I(n)||"millisecond")?this.valueOf()>t.valueOf():t.valueOf()<this.clone().startOf(n).valueOf())},yt.isBefore=function(e,n){var t=k(e)?e:Cn(e);return!(!this.isValid()||!t.isValid())&&("millisecond"===(n=I(n)||"millisecond")?this.valueOf()<t.valueOf():this.clone().endOf(n).valueOf()<t.valueOf())},yt.isBetween=function(e,n,t,r){var a=k(e)?e:Cn(e),o=k(n)?n:Cn(n);return!!(this.isValid()&&a.isValid()&&o.isValid())&&(("("===(r=r||"()")[0]?this.isAfter(a,t):!this.isBefore(a,t))&&(")"===r[1]?this.isBefore(o,t):!this.isAfter(o,t)))},yt.isSame=function(e,n){var t,r=k(e)?e:Cn(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(n=I(n)||"millisecond")?this.valueOf()===r.valueOf():(t=r.valueOf(),this.clone().startOf(n).valueOf()<=t&&t<=this.clone().endOf(n).valueOf()))},yt.isSameOrAfter=function(e,n){return this.isSame(e,n)||this.isAfter(e,n)},yt.isSameOrBefore=function(e,n){return this.isSame(e,n)||this.isBefore(e,n)},yt.isValid=function(){return b(this)},yt.lang=nt,yt.locale=et,yt.localeData=tt,yt.max=En,yt.min=zn,yt.parsingFlags=function(){return f({},m(this))},yt.set=function(e,n){if("object"==typeof e){var t,r=function(e){var n,t=[];for(n in e)l(e,n)&&t.push({unit:n,priority:K[n]});return t.sort((function(e,n){return e.priority-n.priority})),t}(e=F(e));for(t=0;t<r.length;t++)this[r[t].unit](e[r[t].unit])}else if(z(this[e=I(e)]))return this[e](n);return this},yt.startOf=function(e){var n,t;if(void 0===(e=I(e))||"millisecond"===e||!this.isValid())return this;switch(t=this._isUTC?ot:at,e){case"year":n=t(this.year(),0,1);break;case"quarter":n=t(this.year(),this.month()-this.month()%3,1);break;case"month":n=t(this.year(),this.month(),1);break;case"week":n=t(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":n=t(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":n=t(this.year(),this.month(),this.date());break;case"hour":n=this._d.valueOf(),n-=rt(n+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":n=this._d.valueOf(),n-=rt(n,6e4);break;case"second":n=this._d.valueOf(),n-=rt(n,1e3)}return this._d.setTime(n),a.updateOffset(this,!0),this},yt.subtract=Xn,yt.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},yt.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()}},yt.toDate=function(){return new Date(this.valueOf())},yt.toISOString=function(e){if(!this.isValid())return null;var n=!0!==e,t=n?this.clone().utc():this;return t.year()<0||t.year()>9999?V(t,n?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):z(Date.prototype.toISOString)?n?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",V(t,"Z")):V(t,n?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},yt.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,n,t,r="moment",a="";return this.isLocal()||(r=0===this.utcOffset()?"moment.utc":"moment.parseZone",a="Z"),e="["+r+'("]',n=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",t=a+'[")]',this.format(e+n+"-MM-DD[T]HH:mm:ss.SSS"+t)},"undefined"!=typeof Symbol&&null!=Symbol.for&&(yt[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),yt.toJSON=function(){return this.isValid()?this.toISOString():null},yt.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},yt.unix=function(){return Math.floor(this.valueOf()/1e3)},yt.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},yt.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},yt.eraName=function(){var e,n,t,r=this.localeData().eras();for(e=0,n=r.length;e<n;++e){if(t=this.clone().startOf("day").valueOf(),r[e].since<=t&&t<=r[e].until)return r[e].name;if(r[e].until<=t&&t<=r[e].since)return r[e].name}return""},yt.eraNarrow=function(){var e,n,t,r=this.localeData().eras();for(e=0,n=r.length;e<n;++e){if(t=this.clone().startOf("day").valueOf(),r[e].since<=t&&t<=r[e].until)return r[e].narrow;if(r[e].until<=t&&t<=r[e].since)return r[e].narrow}return""},yt.eraAbbr=function(){var e,n,t,r=this.localeData().eras();for(e=0,n=r.length;e<n;++e){if(t=this.clone().startOf("day").valueOf(),r[e].since<=t&&t<=r[e].until)return r[e].abbr;if(r[e].until<=t&&t<=r[e].since)return r[e].abbr}return""},yt.eraYear=function(){var e,n,t,r,o=this.localeData().eras();for(e=0,n=o.length;e<n;++e)if(t=o[e].since<=o[e].until?1:-1,r=this.clone().startOf("day").valueOf(),o[e].since<=r&&r<=o[e].until||o[e].until<=r&&r<=o[e].since)return(this.year()-a(o[e].since).year())*t+o[e].offset;return this.year()},yt.year=je,yt.isLeapYear=function(){return B(this.year())},yt.weekYear=function(e){return st.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},yt.isoWeekYear=function(e){return st.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},yt.quarter=yt.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},yt.month=Le,yt.daysInMonth=function(){return ke(this.year(),this.month())},yt.week=yt.weeks=function(e){var n=this.localeData().week(this);return null==e?n:this.add(7*(e-n),"d")},yt.isoWeek=yt.isoWeeks=function(e){var n=Ye(this,1,4).week;return null==e?n:this.add(7*(e-n),"d")},yt.weeksInYear=function(){var e=this.localeData()._week;return Re(this.year(),e.dow,e.doy)},yt.weeksInWeekYear=function(){var e=this.localeData()._week;return Re(this.weekYear(),e.dow,e.doy)},yt.isoWeeksInYear=function(){return Re(this.year(),1,4)},yt.isoWeeksInISOWeekYear=function(){return Re(this.isoWeekYear(),1,4)},yt.date=dt,yt.day=yt.days=function(e){if(!this.isValid())return null!=e?this:NaN;var n=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=function(e,n){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=n.weekdaysParse(e))?e:null:parseInt(e,10)}(e,this.localeData()),this.add(e-n,"d")):n},yt.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var n=(this.day()+7-this.localeData()._week.dow)%7;return null==e?n:this.add(e-n,"d")},yt.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var n=function(e,n){return"string"==typeof e?n.weekdaysParse(e)%7||7:isNaN(e)?null:e}(e,this.localeData());return this.day(this.day()%7?n:n-7)}return this.day()||7},yt.dayOfYear=function(e){var n=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?n:this.add(e-n,"d")},yt.hour=yt.hours=Qe,yt.minute=yt.minutes=pt,yt.second=yt.seconds=mt,yt.millisecond=yt.milliseconds=ht,yt.utcOffset=function(e,n,t){var r,o=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=Vn(pe,e)))return this}else Math.abs(e)<16&&!t&&(e*=60);return!this._isUTC&&n&&(r=Rn(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),o!==e&&(!n||this._changeInProgress?qn(this,Kn(e-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,a.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:Rn(this)},yt.utc=function(e){return this.utcOffset(0,e)},yt.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Rn(this),"m")),this},yt.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=Vn(de,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},yt.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?Cn(e).utcOffset():0,(this.utcOffset()-e)%60==0)},yt.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},yt.isLocal=function(){return!!this.isValid()&&!this._isUTC},yt.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},yt.isUtc=An,yt.isUTC=An,yt.zoneAbbr=function(){return this._isUTC?"UTC":""},yt.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},yt.dates=M("dates accessor is deprecated. Use date instead.",dt),yt.months=M("months accessor is deprecated. Use month instead",Le),yt.years=M("years accessor is deprecated. Use year instead",je),yt.zone=M("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(e,n){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,n),this):-this.utcOffset()})),yt.isDSTShifted=M("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!s(this._isDSTShifted))return this._isDSTShifted;var e,n={};return w(n,this),(n=On(n))._a?(e=n._isUTC?h(n._a):Cn(n._a),this._isDSTShifted=this.isValid()&&function(e,n,t){var r,a=Math.min(e.length,n.length),o=Math.abs(e.length-n.length),i=0;for(r=0;r<a;r++)(t&&e[r]!==n[r]||!t&&q(e[r])!==q(n[r]))&&i++;return i+o}(n._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}));var gt=L.prototype;function wt(e,n,t,r){var a=sn(),o=h().set(r,n);return a[t](o,e)}function xt(e,n,t){if(u(e)&&(n=e,e=void 0),e=e||"",null!=n)return wt(e,n,t,"month");var r,a=[];for(r=0;r<12;r++)a[r]=wt(e,r,t,"month");return a}function kt(e,n,t,r){"boolean"==typeof e?(u(n)&&(t=n,n=void 0),n=n||""):(t=n=e,e=!1,u(n)&&(t=n,n=void 0),n=n||"");var a,o=sn(),i=e?o._week.dow:0,l=[];if(null!=t)return wt(n,(t+i)%7,r,"day");for(a=0;a<7;a++)l[a]=wt(n,(a+i)%7,r,"day");return l}gt.calendar=function(e,n,t){var r=this._calendar[e]||this._calendar.sameElse;return z(r)?r.call(n,t):r},gt.longDateFormat=function(e){var n=this._longDateFormat[e],t=this._longDateFormat[e.toUpperCase()];return n||!t?n:(this._longDateFormat[e]=t.match(P).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])},gt.invalidDate=function(){return this._invalidDate},gt.ordinal=function(e){return this._ordinal.replace("%d",e)},gt.preparse=vt,gt.postformat=vt,gt.relativeTime=function(e,n,t,r){var a=this._relativeTime[t];return z(a)?a(e,n,t,r):a.replace(/%d/i,e)},gt.pastFuture=function(e,n){var t=this._relativeTime[e>0?"future":"past"];return z(t)?t(n):t.replace(/%s/i,n)},gt.set=function(e){var n,t;for(t in e)l(e,t)&&(z(n=e[t])?this[t]=n:this["_"+t]=n);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},gt.eras=function(e,n){var t,r,o,i=this._eras||sn("en")._eras;for(t=0,r=i.length;t<r;++t){switch(typeof i[t].since){case"string":o=a(i[t].since).startOf("day"),i[t].since=o.valueOf()}switch(typeof i[t].until){case"undefined":i[t].until=1/0;break;case"string":o=a(i[t].until).startOf("day").valueOf(),i[t].until=o.valueOf()}}return i},gt.erasParse=function(e,n,t){var r,a,o,i,l,c=this.eras();for(e=e.toUpperCase(),r=0,a=c.length;r<a;++r)if(o=c[r].name.toUpperCase(),i=c[r].abbr.toUpperCase(),l=c[r].narrow.toUpperCase(),t)switch(n){case"N":case"NN":case"NNN":if(i===e)return c[r];break;case"NNNN":if(o===e)return c[r];break;case"NNNNN":if(l===e)return c[r]}else if([o,i,l].indexOf(e)>=0)return c[r]},gt.erasConvertYear=function(e,n){var t=e.since<=e.until?1:-1;return void 0===n?a(e.since).year():a(e.since).year()+(n-e.offset)*t},gt.erasAbbrRegex=function(e){return l(this,"_erasAbbrRegex")||lt.call(this),e?this._erasAbbrRegex:this._erasRegex},gt.erasNameRegex=function(e){return l(this,"_erasNameRegex")||lt.call(this),e?this._erasNameRegex:this._erasRegex},gt.erasNarrowRegex=function(e){return l(this,"_erasNarrowRegex")||lt.call(this),e?this._erasNarrowRegex:this._erasRegex},gt.months=function(e,n){return e?o(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Oe).test(n)?"format":"standalone"][e.month()]:o(this._months)?this._months:this._months.standalone},gt.monthsShort=function(e,n){return e?o(this._monthsShort)?this.