grommet
Version:
The most advanced UX framework for enterprise applications.
7 lines • 2.77 MB
JavaScript
var Grommet=function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";var r={Accordion:n(263),AccordionPanel:n(264),Anchor:n(26),Animate:n(265),App:n(266),Article:n(267),Box:n(8),Button:n(10),Card:n(268),Carousel:n(269),chart:{Area:n(81),Axis:n(82),Bar:n(83),Base:n(84),Chart:n(304),Grid:n(85),HotSpots:n(86),Layers:n(87),Line:n(88),Marker:n(89),MarkerLabel:n(90),Range:n(91)},CheckBox:n(37),Columns:n(271),DateTime:n(272),Distribution:n(274),Footer:n(67),Form:n(38),FormattedMessage:n(27),FormField:n(39),FormFields:n(275),Grommet:n(276),Header:n(40),Heading:n(18),Headline:n(68),Hero:n(277),Image:n(41),Label:n(42),Layer:n(43),Legend:n(278),List:n(44),ListItem:n(45),LoginForm:n(279),Map:n(280),Markdown:n(281),Menu:n(69),Meter:n(46),Notification:n(282),NumberInput:n(283),Object:n(284),Paragraph:n(23),PasswordInput:n(285),Quote:n(286),RadioButton:n(70),Search:n(71),SearchInput:n(288),Section:n(289),Select:n(290),Sidebar:n(291),SkipLinkAnchor:n(47),SkipLinks:n(72),SocialShare:n(73),Split:n(292),SunBurst:n(293),SVGIcon:n(287),Tab:n(295),Table:n(74),TableHeader:n(75),TableRow:n(296),Tabs:n(297),TBD:n(294),TextInput:n(298),Tile:n(76),Tiles:n(77),Timestamp:n(299),Tip:n(300),Title:n(78),Toast:n(301),Topology:n(302),Value:n(79),Video:n(80),WorldMap:n(303),Icons:{Grommet:n(305),Pulse:n(306),Spinning:n(28),Status:n(29),Base:n(773)},Cookies:n(128),DOM:n(13),KeyboardAccelerators:n(11),Locale:n(35),Responsive:n(15),Rest:n(791),Validator:n(793)};e.exports=r},function(e,t){e.exports=React},function(e,t,n){e.exports=n(835)()},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=t.namespace="grommetux-";t.default={ACCORDION:n+"accordion",ACCORDION_PANEL:n+"accordion-panel",ANCHOR:n+"anchor",ANIMATE:n+"animate",APP:n+"app",ARTICLE:n+"article",ATTRIBUTE:n+"attribute",BACKGROUND_COLOR_INDEX:n+"background-color-index",BOX:n+"box",BORDER_COLOR_INDEX:n+"border-color-index",BRICK:n+"brick",BUTTON:n+"button",CALENDAR:n+"calendar",CARD:n+"card",CAROUSEL:n+"carousel",CAROUSEL_CONTROLS:n+"carousel-controls",CHART:n+"chart",CHART_AXIS:n+"chart-axis",CHART_BASE:n+"chart-base",CHART_GRAPH:n+"chart-graph",CHART_GRID:n+"chart-grid",CHART_HOT_SPOTS:n+"chart-hot-spots",CHART_LAYERS:n+"chart-layers",CHART_MARKER:n+"chart-marker",CHART_MARKER_LABEL:n+"chart-marker-label",CHART_RANGE:n+"chart-range",CHECK_BOX:n+"check-box",COLLAPSIBLE:n+"collapsible",COLOR_INDEX:n+"color-index",COLUMNS:n+"columns",CONTROL_ICON:n+"control-icon",DATE_TIME:n+"date-time",DATE_TIME_DROP:n+"date-time-drop",DISTRIBUTION:n+"distribution",DROP:n+"drop",FOOTER:n+"footer",FORM:n+"form",FORM_FIELD:n+"form-field",FORM_FIELDS:n+"form-fields",HEADER:n+"header",HEADING:n+"heading",HEADLINE:n+"headline",HERO:n+"hero",IMAGE:n+"image",IMAGE_FIELD:n+"image-field",INPUT:n+"input",LABEL:n+"label",LAYER:n+"layer",LEGEND:n+"legend",LIST:n+"list",LIST_ITEM:n+"list-item",LOGIN:n+"login",LOGIN_FORM:n+"login-form",LOGO_ICON:n+"logo-icon",MAP:n+"map",MENU:n+"menu",METER:n+"meter",NAMESPACE:""+n,NOTIFICATION:n+"notification",NUMBER_INPUT:n+"number-input",OBJECT:n+"object",PARAGRAPH:n+"paragraph",PASSWORD_INPUT:n+"password-input",PULSE:n+"pulse",QUOTE:n+"quote",RADIO_BUTTON:n+"radio-button",SEARCH:n+"search",SEARCH_INPUT:n+"search-input",SECTION:n+"section",SELECT:n+"select",SIDEBAR:n+"sidebar",SKIP_LINK_ANCHOR:n+"skip-link-anchor",SKIP_LINKS:n+"skip-links",SPLIT:n+"split",SPINNING:n+"icon-spinning",STATUS_ICON:n+"status-icon",SUN_BURST:n+"sun-burst",TAB:n+"tab",TABLE:n+"table",TABLE_ROW:n+"table-row",TABS:n+"tabs",TAG:n+"tag",TAGS:n+"tags",TBD:n+"tbd",TEXT_INPUT:n+"text-input",TILE:n+"tile",TILES:n+"tiles",TIMESTAMP:n+"timestamp",TIP:n+"tip",TITLE:n+"title",TOAST:n+"toast",TOPOLOGY:n+"topology",VALUE:n+"value",VIDEO:n+"video",WORLD_MAP:n+"world-map"}},function(e,t,n){var r,o;/*!
Copyright (c) 2016 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/
!function(){"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var o=typeof r;if("string"===o||"number"===o)e.push(r);else if(Array.isArray(r))e.push(n.apply(null,r));else if("object"===o)for(var i in r)a.call(r,i)&&r[i]&&e.push(i)}}return e.join(" ")}var a={}.hasOwnProperty;"undefined"!=typeof e&&e.exports?e.exports=n:(r=[],o=function(){return n}.apply(t,r),!(void 0!==o&&(e.exports=o)))}()},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={getMessage:function(e,t,n){return e?e.formatMessage({id:t,defaultMessage:t},n):t}},e.exports=t.default},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={pick:function(e,t){var n=function(t){return e.hasOwnProperty(t)},r={};return(t||[]).forEach(function(t){n(t)&&(r[t]=e[t])}),r},omit:function(e,t){var n={};return Object.keys(e).forEach(function(r){(t||[]).indexOf(r)===-1&&(n[r]=e[r])}),n}},e.exports=t.default},function(e,t,n){(function(e){!function(t,n){e.exports=n()}(this,function(){"use strict";function t(){return kr.apply(null,arguments)}function r(e){kr=e}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function a(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function i(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(e.hasOwnProperty(t))return!1;return!0}function l(e){return void 0===e}function s(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 c(e,t){var n,r=[];for(n=0;n<e.length;++n)r.push(t(e[n],n));return r}function f(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function p(e,t){for(var n in t)f(t,n)&&(e[n]=t[n]);return f(t,"toString")&&(e.toString=t.toString),f(t,"valueOf")&&(e.valueOf=t.valueOf),e}function d(e,t,n,r){return Mt(e,t,n,r,!0).utc()}function h(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function y(e){return null==e._pf&&(e._pf=h()),e._pf}function m(e){if(null==e._isValid){var t=y(e),n=Pr.call(t.parsedDateParts,function(e){return null!=e}),r=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(r=r&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return r;e._isValid=r}return e._isValid}function b(e){var t=d(NaN);return null!=e?p(y(t),e):y(t).userInvalidated=!0,t}function v(e,t){var n,r,o;if(l(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),l(t._i)||(e._i=t._i),l(t._f)||(e._f=t._f),l(t._l)||(e._l=t._l),l(t._strict)||(e._strict=t._strict),l(t._tzm)||(e._tzm=t._tzm),l(t._isUTC)||(e._isUTC=t._isUTC),l(t._offset)||(e._offset=t._offset),l(t._pf)||(e._pf=y(t)),l(t._locale)||(e._locale=t._locale),Er.length>0)for(n=0;n<Er.length;n++)r=Er[n],o=t[r],l(o)||(e[r]=o);return e}function _(e){v(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),Nr===!1&&(Nr=!0,t.updateOffset(this),Nr=!1)}function g(e){return e instanceof _||null!=e&&null!=e._isAMomentObject}function O(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function L(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=O(t)),n}function w(e,t,n){var r,o=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),i=0;for(r=0;r<o;r++)(n&&e[r]!==t[r]||!n&&L(e[r])!==L(t[r]))&&i++;return i+a}function C(e){t.suppressDeprecationWarnings===!1&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function j(e,n){var r=!0;return p(function(){if(null!=t.deprecationHandler&&t.deprecationHandler(null,e),r){for(var o,a=[],i=0;i<arguments.length;i++){if(o="","object"==typeof arguments[i]){o+="\n["+i+"] ";for(var l in arguments[0])o+=l+": "+arguments[0][l]+", ";o=o.slice(0,-2)}else o=arguments[i];a.push(o)}C(e+"\nArguments: "+Array.prototype.slice.call(a).join("")+"\n"+(new Error).stack),r=!1}return n.apply(this,arguments)},n)}function M(e,n){null!=t.deprecationHandler&&t.deprecationHandler(e,n),Ir[e]||(C(n),Ir[e]=!0)}function x(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function T(e){var t,n;for(n in e)t=e[n],x(t)?this[n]=t:this["_"+n]=t;this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function k(e,t){var n,r=p({},e);for(n in t)f(t,n)&&(a(e[n])&&a(t[n])?(r[n]={},p(r[n],e[n]),p(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)f(e,n)&&!f(t,n)&&a(e[n])&&(r[n]=p({},r[n]));return r}function P(e){null!=e&&this.set(e)}function E(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return x(r)?r.call(t,n):r}function N(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}),this._longDateFormat[e])}function I(){return this._invalidDate}function S(e){return this._ordinal.replace("%d",e)}function R(e,t,n,r){var o=this._relativeTime[n];return x(o)?o(e,t,n,r):o.replace(/%d/i,e)}function D(e,t){var n=this._relativeTime[e>0?"future":"past"];return x(n)?n(t):n.replace(/%s/i,t)}function Y(e,t){var n=e.toLowerCase();Zr[n]=Zr[n+"s"]=Zr[t]=e}function z(e){return"string"==typeof e?Zr[e]||Zr[e.toLowerCase()]:void 0}function A(e){var t,n,r={};for(n in e)f(e,n)&&(t=z(n),t&&(r[t]=e[n]));return r}function H(e,t){Br[e]=t}function Z(e){var t=[];for(var n in e)t.push({unit:n,priority:Br[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}function B(e,t,n){var r=""+Math.abs(e),o=t-r.length,a=e>=0;return(a?n?"+":"":"-")+Math.pow(10,Math.max(0,o)).toString().substr(1)+r}function W(e,t,n,r){var o=r;"string"==typeof r&&(o=function(){return this[r]()}),e&&(Xr[e]=o),t&&(Xr[t[0]]=function(){return B(o.apply(this,arguments),t[1],t[2])}),n&&(Xr[n]=function(){return this.localeData().ordinal(o.apply(this,arguments),e)})}function F(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function K(e){var t,n,r=e.match(Wr);for(t=0,n=r.length;t<n;t++)Xr[r[t]]?r[t]=Xr[r[t]]:r[t]=F(r[t]);return function(t){var o,a="";for(o=0;o<n;o++)a+=x(r[o])?r[o].call(t,e):r[o];return a}}function X(e,t){return e.isValid()?(t=U(t,e.localeData()),Kr[t]=Kr[t]||K(t),Kr[t](e)):e.localeData().invalidDate()}function U(e,t){function n(e){return t.longDateFormat(e)||e}var r=5;for(Fr.lastIndex=0;r>=0&&Fr.test(e);)e=e.replace(Fr,n),Fr.lastIndex=0,r-=1;return e}function G(e,t,n){co[e]=x(t)?t:function(e,r){return e&&n?n:t}}function q(e,t){return f(co,e)?co[e](t._strict,t._locale):new RegExp(J(e))}function J(e){return V(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,o){return t||n||r||o}))}function V(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function $(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),s(t)&&(r=function(e,n){n[t]=L(e)}),n=0;n<e.length;n++)fo[e[n]]=r}function Q(e,t){$(e,function(e,n,r,o){r._w=r._w||{},t(e,r._w,r,o)})}function ee(e,t,n){null!=t&&f(fo,e)&&fo[e](t,n._a,n,e)}function te(e){return ne(e)?366:365}function ne(e){return e%4===0&&e%100!==0||e%400===0}function re(){return ne(this.year())}function oe(e,n){return function(r){return null!=r?(ie(this,e,r),t.updateOffset(this,n),this):ae(this,e)}}function ae(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function ie(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&ne(e.year())&&1===e.month()&&29===e.date()?e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),ce(n,e.month())):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function le(e){return e=z(e),x(this[e])?this[e]():this}function se(e,t){if("object"==typeof e){e=A(e);for(var n=Z(e),r=0;r<n.length;r++)this[n[r].unit](e[n[r].unit])}else if(e=z(e),x(this[e]))return this[e](t);return this}function ue(e,t){return(e%t+t)%t}function ce(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=ue(t,12);return e+=(t-n)/12,1===n?ne(e)?29:28:31-n%7%2}function fe(e,t){return e?o(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Co).test(t)?"format":"standalone"][e.month()]:o(this._months)?this._months:this._months.standalone}function pe(e,t){return e?o(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Co.test(t)?"format":"standalone"][e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function de(e,t,n){var r,o,a,i=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)a=d([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(a,"").toLocaleLowerCase();return n?"MMM"===t?(o=Lo.call(this._shortMonthsParse,i),o!==-1?o:null):(o=Lo.call(this._longMonthsParse,i),o!==-1?o:null):"MMM"===t?(o=Lo.call(this._shortMonthsParse,i),o!==-1?o:(o=Lo.call(this._longMonthsParse,i),o!==-1?o:null)):(o=Lo.call(this._longMonthsParse,i),o!==-1?o:(o=Lo.call(this._shortMonthsParse,i),o!==-1?o:null))}function he(e,t,n){var r,o,a;if(this._monthsParseExact)return de.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(o=d([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(o,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(o,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(a="^"+this.months(o,"")+"|^"+this.monthsShort(o,""),this._monthsParse[r]=new RegExp(a.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}}function ye(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=L(t);else if(t=e.localeData().monthsParse(t),!s(t))return e;return n=Math.min(e.date(),ce(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function me(e){return null!=e?(ye(this,e),t.updateOffset(this,!0),this):ae(this,"Month")}function be(){return ce(this.year(),this.month())}function ve(e){return this._monthsParseExact?(f(this,"_monthsRegex")||ge.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(f(this,"_monthsShortRegex")||(this._monthsShortRegex=xo),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function _e(e){return this._monthsParseExact?(f(this,"_monthsRegex")||ge.call(this),e?this._monthsStrictRegex:this._monthsRegex):(f(this,"_monthsRegex")||(this._monthsRegex=To),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function ge(){function e(e,t){return t.length-e.length}var t,n,r=[],o=[],a=[];for(t=0;t<12;t++)n=d([2e3,t]),r.push(this.monthsShort(n,"")),o.push(this.months(n,"")),a.push(this.months(n,"")),a.push(this.monthsShort(n,""));for(r.sort(e),o.sort(e),a.sort(e),t=0;t<12;t++)r[t]=V(r[t]),o[t]=V(o[t]);for(t=0;t<24;t++)a[t]=V(a[t]);this._monthsRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function Oe(e,t,n,r,o,a,i){var l=new Date(e,t,n,r,o,a,i);return e<100&&e>=0&&isFinite(l.getFullYear())&&l.setFullYear(e),l}function Le(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function we(e,t,n){var r=7+t-n,o=(7+Le(e,0,r).getUTCDay()-t)%7;return-o+r-1}function Ce(e,t,n,r,o){var a,i,l=(7+n-r)%7,s=we(e,r,o),u=1+7*(t-1)+l+s;return u<=0?(a=e-1,i=te(a)+u):u>te(e)?(a=e+1,i=u-te(e)):(a=e,i=u),{year:a,dayOfYear:i}}function je(e,t,n){var r,o,a=we(e.year(),t,n),i=Math.floor((e.dayOfYear()-a-1)/7)+1;return i<1?(o=e.year()-1,r=i+Me(o,t,n)):i>Me(e.year(),t,n)?(r=i-Me(e.year(),t,n),o=e.year()+1):(o=e.year(),r=i),{week:r,year:o}}function Me(e,t,n){var r=we(e,t,n),o=we(e+1,t,n);return(te(e)-r+o)/7}function xe(e){return je(e,this._week.dow,this._week.doy).week}function Te(){return this._week.dow}function ke(){return this._week.doy}function Pe(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Ee(e){var t=je(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Ne(e,t){return"string"!=typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"==typeof e?e:null):parseInt(e,10)}function Ie(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Se(e,t){return e?o(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]:o(this._weekdays)?this._weekdays:this._weekdays.standalone}function Re(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort}function De(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Ye(e,t,n){var r,o,a,i=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)a=d([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===t?(o=Lo.call(this._weekdaysParse,i),o!==-1?o:null):"ddd"===t?(o=Lo.call(this._shortWeekdaysParse,i),o!==-1?o:null):(o=Lo.call(this._minWeekdaysParse,i),o!==-1?o:null):"dddd"===t?(o=Lo.call(this._weekdaysParse,i),o!==-1?o:(o=Lo.call(this._shortWeekdaysParse,i),o!==-1?o:(o=Lo.call(this._minWeekdaysParse,i),o!==-1?o:null))):"ddd"===t?(o=Lo.call(this._shortWeekdaysParse,i),o!==-1?o:(o=Lo.call(this._weekdaysParse,i),o!==-1?o:(o=Lo.call(this._minWeekdaysParse,i),o!==-1?o:null))):(o=Lo.call(this._minWeekdaysParse,i),o!==-1?o:(o=Lo.call(this._weekdaysParse,i),o!==-1?o:(o=Lo.call(this._shortWeekdaysParse,i),o!==-1?o:null)))}function ze(e,t,n){var r,o,a;if(this._weekdaysParseExact)return Ye.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(o=d([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(o,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(o,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(o,"").replace(".",".?")+"$","i")),this._weekdaysParse[r]||(a="^"+this.weekdays(o,"")+"|^"+this.weekdaysShort(o,"")+"|^"+this.weekdaysMin(o,""),this._weekdaysParse[r]=new RegExp(a.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function Ae(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Ne(e,this.localeData()),this.add(e-t,"d")):t}function He(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function Ze(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Ie(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Be(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||Ke.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(f(this,"_weekdaysRegex")||(this._weekdaysRegex=Io),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function We(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||Ke.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(f(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=So),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Fe(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||Ke.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(f(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ro),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Ke(){function e(e,t){return t.length-e.length}var t,n,r,o,a,i=[],l=[],s=[],u=[];for(t=0;t<7;t++)n=d([2e3,1]).day(t),r=this.weekdaysMin(n,""),o=this.weekdaysShort(n,""),a=this.weekdays(n,""),i.push(r),l.push(o),s.push(a),u.push(r),u.push(o),u.push(a);for(i.sort(e),l.sort(e),s.sort(e),u.sort(e),t=0;t<7;t++)l[t]=V(l[t]),s[t]=V(s[t]),u[t]=V(u[t]);this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+i.join("|")+")","i")}function Xe(){return this.hours()%12||12}function Ue(){return this.hours()||24}function Ge(e,t){W(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function qe(e,t){return t._meridiemParse}function Je(e){return"p"===(e+"").toLowerCase().charAt(0)}function Ve(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}function $e(e){return e?e.toLowerCase().replace("_","-"):e}function Qe(e){for(var t,n,r,o,a=0;a<e.length;){for(o=$e(e[a]).split("-"),t=o.length,n=$e(e[a+1]),n=n?n.split("-"):null;t>0;){if(r=et(o.slice(0,t).join("-")))return r;if(n&&n.length>=t&&w(o,n,!0)>=t-1)break;t--}a++}return null}function et(t){var r=null;if(!Ho[t]&&"undefined"!=typeof e&&e&&e.exports)try{r=Do._abbr;n(833)("./"+t),tt(r)}catch(e){}return Ho[t]}function tt(e,t){var n;return e&&(n=l(t)?ot(e):nt(e,t),n&&(Do=n)),Do._abbr}function nt(e,t){if(null!==t){var n=Ao;if(t.abbr=e,null!=Ho[e])M("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."),n=Ho[e]._config;else if(null!=t.parentLocale){if(null==Ho[t.parentLocale])return Zo[t.parentLocale]||(Zo[t.parentLocale]=[]),Zo[t.parentLocale].push({name:e,config:t}),null;n=Ho[t.parentLocale]._config}return Ho[e]=new P(k(n,t)),Zo[e]&&Zo[e].forEach(function(e){nt(e.name,e.config)}),tt(e),Ho[e]}return delete Ho[e],null}function rt(e,t){if(null!=t){var n,r,o=Ao;r=et(e),null!=r&&(o=r._config),t=k(o,t),n=new P(t),n.parentLocale=Ho[e],Ho[e]=n,tt(e)}else null!=Ho[e]&&(null!=Ho[e].parentLocale?Ho[e]=Ho[e].parentLocale:null!=Ho[e]&&delete Ho[e]);return Ho[e]}function ot(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Do;if(!o(e)){if(t=et(e))return t;e=[e]}return Qe(e)}function at(){return Sr(Ho)}function it(e){var t,n=e._a;return n&&y(e).overflow===-2&&(t=n[ho]<0||n[ho]>11?ho:n[yo]<1||n[yo]>ce(n[po],n[ho])?yo:n[mo]<0||n[mo]>24||24===n[mo]&&(0!==n[bo]||0!==n[vo]||0!==n[_o])?mo:n[bo]<0||n[bo]>59?bo:n[vo]<0||n[vo]>59?vo:n[_o]<0||n[_o]>999?_o:-1,y(e)._overflowDayOfYear&&(t<po||t>yo)&&(t=yo),y(e)._overflowWeeks&&t===-1&&(t=go),y(e)._overflowWeekday&&t===-1&&(t=Oo),y(e).overflow=t),e}function lt(e,t,n){return null!=e?e:null!=t?t:n}function st(e){var n=new Date(t.now());return e._useUTC?[n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate()]:[n.getFullYear(),n.getMonth(),n.getDate()]}function ut(e){var t,n,r,o,a,i=[];if(!e._d){for(r=st(e),e._w&&null==e._a[yo]&&null==e._a[ho]&&ct(e),null!=e._dayOfYear&&(a=lt(e._a[po],r[po]),(e._dayOfYear>te(a)||0===e._dayOfYear)&&(y(e)._overflowDayOfYear=!0),n=Le(a,0,e._dayOfYear),e._a[ho]=n.getUTCMonth(),e._a[yo]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=i[t]=r[t];for(;t<7;t++)e._a[t]=i[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[mo]&&0===e._a[bo]&&0===e._a[vo]&&0===e._a[_o]&&(e._nextDay=!0,e._a[mo]=0),e._d=(e._useUTC?Le:Oe).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[mo]=24),e._w&&"undefined"!=typeof e._w.d&&e._w.d!==o&&(y(e).weekdayMismatch=!0)}}function ct(e){var t,n,r,o,a,i,l,s;if(t=e._w,null!=t.GG||null!=t.W||null!=t.E)a=1,i=4,n=lt(t.GG,e._a[po],je(xt(),1,4).year),r=lt(t.W,1),o=lt(t.E,1),(o<1||o>7)&&(s=!0);else{a=e._locale._week.dow,i=e._locale._week.doy;var u=je(xt(),a,i);n=lt(t.gg,e._a[po],u.year),r=lt(t.w,u.week),null!=t.d?(o=t.d,(o<0||o>6)&&(s=!0)):null!=t.e?(o=t.e+a,(t.e<0||t.e>6)&&(s=!0)):o=a}r<1||r>Me(n,a,i)?y(e)._overflowWeeks=!0:null!=s?y(e)._overflowWeekday=!0:(l=Ce(n,r,o,a,i),e._a[po]=l.year,e._dayOfYear=l.dayOfYear)}function ft(e){var t,n,r,o,a,i,l=e._i,s=Bo.exec(l)||Wo.exec(l);if(s){for(y(e).iso=!0,t=0,n=Ko.length;t<n;t++)if(Ko[t][1].exec(s[1])){o=Ko[t][0],r=Ko[t][2]!==!1;break}if(null==o)return void(e._isValid=!1);if(s[3]){for(t=0,n=Xo.length;t<n;t++)if(Xo[t][1].exec(s[3])){a=(s[2]||" ")+Xo[t][0];break}if(null==a)return void(e._isValid=!1)}if(!r&&null!=a)return void(e._isValid=!1);if(s[4]){if(!Fo.exec(s[4]))return void(e._isValid=!1);i="Z"}e._f=o+(a||"")+(i||""),_t(e)}else e._isValid=!1}function pt(e,t,n,r,o,a){var i=[dt(e),Mo.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(o,10)];return a&&i.push(parseInt(a,10)),i}function dt(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function ht(e){return e.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}function yt(e,t,n){if(e){var r=Eo.indexOf(e),o=new Date(t[0],t[1],t[2]).getDay();if(r!==o)return y(n).weekdayMismatch=!0,n._isValid=!1,!1}return!0}function mt(e,t,n){if(e)return qo[e];if(t)return 0;var r=parseInt(n,10),o=r%100,a=(r-o)/100;return 60*a+o}function bt(e){var t=Go.exec(ht(e._i));if(t){var n=pt(t[4],t[3],t[2],t[5],t[6],t[7]);if(!yt(t[1],n,e))return;e._a=n,e._tzm=mt(t[8],t[9],t[10]),e._d=Le.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),y(e).rfc2822=!0}else e._isValid=!1}function vt(e){var n=Uo.exec(e._i);return null!==n?void(e._d=new Date(+n[1])):(ft(e),void(e._isValid===!1&&(delete e._isValid,bt(e),e._isValid===!1&&(delete e._isValid,t.createFromInputFallback(e)))))}function _t(e){if(e._f===t.ISO_8601)return void ft(e);if(e._f===t.RFC_2822)return void bt(e);e._a=[],y(e).empty=!0;var n,r,o,a,i,l=""+e._i,s=l.length,u=0;for(o=U(e._f,e._locale).match(Wr)||[],n=0;n<o.length;n++)a=o[n],r=(l.match(q(a,e))||[])[0],r&&(i=l.substr(0,l.indexOf(r)),i.length>0&&y(e).unusedInput.push(i),l=l.slice(l.indexOf(r)+r.length),u+=r.length),Xr[a]?(r?y(e).empty=!1:y(e).unusedTokens.push(a),ee(a,r,e)):e._strict&&!r&&y(e).unusedTokens.push(a);y(e).charsLeftOver=s-u,l.length>0&&y(e).unusedInput.push(l),e._a[mo]<=12&&y(e).bigHour===!0&&e._a[mo]>0&&(y(e).bigHour=void 0),y(e).parsedDateParts=e._a.slice(0),y(e).meridiem=e._meridiem,e._a[mo]=gt(e._locale,e._a[mo],e._meridiem),ut(e),it(e)}function gt(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(r=e.isPM(n),r&&t<12&&(t+=12),r||12!==t||(t=0),t):t}function Ot(e){var t,n,r,o,a;if(0===e._f.length)return y(e).invalidFormat=!0,void(e._d=new Date(NaN));for(o=0;o<e._f.length;o++)a=0,t=v({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[o],_t(t),m(t)&&(a+=y(t).charsLeftOver,a+=10*y(t).unusedTokens.length,y(t).score=a,(null==r||a<r)&&(r=a,n=t));p(e,n||t)}function Lt(e){if(!e._d){var t=A(e._i);e._a=c([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),ut(e)}}function wt(e){var t=new _(it(Ct(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function Ct(e){var t=e._i,n=e._f;return e._locale=e._locale||ot(e._l),null===t||void 0===n&&""===t?b({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),g(t)?new _(it(t)):(u(t)?e._d=t:o(n)?Ot(e):n?_t(e):jt(e),m(e)||(e._d=null),e))}function jt(e){var n=e._i;l(n)?e._d=new Date(t.now()):u(n)?e._d=new Date(n.valueOf()):"string"==typeof n?vt(e):o(n)?(e._a=c(n.slice(0),function(e){return parseInt(e,10)}),ut(e)):a(n)?Lt(e):s(n)?e._d=new Date(n):t.createFromInputFallback(e)}function Mt(e,t,n,r,l){var s={};return n!==!0&&n!==!1||(r=n,n=void 0),(a(e)&&i(e)||o(e)&&0===e.length)&&(e=void 0),s._isAMomentObject=!0,s._useUTC=s._isUTC=l,s._l=n,s._i=e,s._f=t,s._strict=r,wt(s)}function xt(e,t,n,r){return Mt(e,t,n,r,!1)}function Tt(e,t){var n,r;if(1===t.length&&o(t[0])&&(t=t[0]),!t.length)return xt();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}function kt(){var e=[].slice.call(arguments,0);return Tt("isBefore",e)}function Pt(){var e=[].slice.call(arguments,0);return Tt("isAfter",e)}function Et(e){for(var t in e)if(Lo.call(Qo,t)===-1||null!=e[t]&&isNaN(e[t]))return!1;for(var n=!1,r=0;r<Qo.length;++r)if(e[Qo[r]]){if(n)return!1;parseFloat(e[Qo[r]])!==L(e[Qo[r]])&&(n=!0)}return!0}function Nt(){return this._isValid}function It(){return $t(NaN)}function St(e){var t=A(e),n=t.year||0,r=t.quarter||0,o=t.month||0,a=t.week||0,i=t.day||0,l=t.hour||0,s=t.minute||0,u=t.second||0,c=t.millisecond||0;this._isValid=Et(t),this._milliseconds=+c+1e3*u+6e4*s+1e3*l*60*60,this._days=+i+7*a,this._months=+o+3*r+12*n,this._data={},this._locale=ot(),this._bubble()}function Rt(e){return e instanceof St}function Dt(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function Yt(e,t){W(e,0,0,function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+B(~~(e/60),2)+t+B(~~e%60,2)})}function zt(e,t){var n=(t||"").match(e);if(null===n)return null;var r=n[n.length-1]||[],o=(r+"").match(ea)||["-",0,0],a=+(60*o[1])+L(o[2]);return 0===a?0:"+"===o[0]?a:-a}function At(e,n){var r,o;return n._isUTC?(r=n.clone(),o=(g(e)||u(e)?e.valueOf():xt(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+o),t.updateOffset(r,!1),r):xt(e).local()}function Ht(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function Zt(e,n,r){var o,a=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(e=zt(lo,e),null===e)return this}else Math.abs(e)<16&&!r&&(e*=60);return!this._isUTC&&n&&(o=Ht(this)),this._offset=e,this._isUTC=!0,null!=o&&this.add(o,"m"),a!==e&&(!n||this._changeInProgress?rn(this,$t(e-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,t.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?a:Ht(this)}function Bt(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function Wt(e){return this.utcOffset(0,e)}function Ft(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Ht(this),"m")),this}function Kt(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=zt(io,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function Xt(e){return!!this.isValid()&&(e=e?xt(e).utcOffset():0,(this.utcOffset()-e)%60===0)}function Ut(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Gt(){if(!l(this._isDSTShifted))return this._isDSTShifted;var e={};if(v(e,this),e=Ct(e),e._a){var t=e._isUTC?d(e._a):xt(e._a);this._isDSTShifted=this.isValid()&&w(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function qt(){return!!this.isValid()&&!this._isUTC}function Jt(){return!!this.isValid()&&this._isUTC}function Vt(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function $t(e,t){var n,r,o,a=e,i=null;return Rt(e)?a={ms:e._milliseconds,d:e._days,M:e._months}:s(e)?(a={},t?a[t]=e:a.milliseconds=e):(i=ta.exec(e))?(n="-"===i[1]?-1:1,a={y:0,d:L(i[yo])*n,h:L(i[mo])*n,m:L(i[bo])*n,s:L(i[vo])*n,ms:L(Dt(1e3*i[_o]))*n}):(i=na.exec(e))?(n="-"===i[1]?-1:("+"===i[1],1),a={y:Qt(i[2],n),M:Qt(i[3],n),w:Qt(i[4],n),d:Qt(i[5],n),h:Qt(i[6],n),m:Qt(i[7],n),s:Qt(i[8],n)}):null==a?a={}:"object"==typeof a&&("from"in a||"to"in a)&&(o=tn(xt(a.from),xt(a.to)),a={},a.ms=o.milliseconds,a.M=o.months),r=new St(a),Rt(e)&&f(e,"_locale")&&(r._locale=e._locale),r}function Qt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function en(e,t){var n={milliseconds:0,months:0};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function tn(e,t){var n;return e.isValid()&&t.isValid()?(t=At(t,e),e.isBefore(t)?n=en(e,t):(n=en(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function nn(e,t){return function(n,r){var o,a;return null===r||isNaN(+r)||(M(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),a=n,n=r,r=a),n="string"==typeof n?+n:n,o=$t(n,r),rn(this,o,e),this}}function rn(e,n,r,o){var a=n._milliseconds,i=Dt(n._days),l=Dt(n._months);e.isValid()&&(o=null==o||o,l&&ye(e,ae(e,"Month")+l*r),i&&ie(e,"Date",ae(e,"Date")+i*r),a&&e._d.setTime(e._d.valueOf()+a*r),o&&t.updateOffset(e,i||l))}function on(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function an(e,n){var r=e||xt(),o=At(r,this).startOf("day"),a=t.calendarFormat(this,o)||"sameElse",i=n&&(x(n[a])?n[a].call(this,r):n[a]);return this.format(i||this.localeData().calendar(a,this,xt(r)))}function ln(){return new _(this)}function sn(e,t){var n=g(e)?e:xt(e);return!(!this.isValid()||!n.isValid())&&(t=z(l(t)?"millisecond":t),"millisecond"===t?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())}function un(e,t){var n=g(e)?e:xt(e);return!(!this.isValid()||!n.isValid())&&(t=z(l(t)?"millisecond":t),"millisecond"===t?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())}function cn(e,t,n,r){return r=r||"()",("("===r[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===r[1]?this.isBefore(t,n):!this.isAfter(t,n))}function fn(e,t){var n,r=g(e)?e:xt(e);return!(!this.isValid()||!r.isValid())&&(t=z(t||"millisecond"),"millisecond"===t?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))}function pn(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function dn(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function hn(e,t,n){var r,o,a;if(!this.isValid())return NaN;if(r=At(e,this),!r.isValid())return NaN;switch(o=6e4*(r.utcOffset()-this.utcOffset()),t=z(t)){case"year":a=yn(this,r)/12;break;case"month":a=yn(this,r);break;case"quarter":a=yn(this,r)/3;break;case"second":a=(this-r)/1e3;break;case"minute":a=(this-r)/6e4;break;case"hour":a=(this-r)/36e5;break;case"day":a=(this-r-o)/864e5;break;case"week":a=(this-r-o)/6048e5;break;default:a=this-r}return n?a:O(a)}function yn(e,t){var n,r,o=12*(t.year()-e.year())+(t.month()-e.month()),a=e.clone().add(o,"months");return t-a<0?(n=e.clone().add(o-1,"months"),r=(t-a)/(a-n)):(n=e.clone().add(o+1,"months"),r=(t-a)/(n-a)),-(o+r)||0}function mn(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function bn(e){if(!this.isValid())return null;var t=e!==!0,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?X(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):x(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this._d.valueOf()).toISOString().replace("Z",X(n,"Z")):X(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function vn(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="";this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z");var n="["+e+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",o="-MM-DD[T]HH:mm:ss.SSS",a=t+'[")]';return this.format(n+r+o+a)}function _n(e){e||(e=this.isUtc()?t.defaultFormatUtc:t.defaultFormat);var n=X(this,e);return this.localeData().postformat(n)}function gn(e,t){return this.isValid()&&(g(e)&&e.isValid()||xt(e).isValid())?$t({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate();
}function On(e){return this.from(xt(),e)}function Ln(e,t){return this.isValid()&&(g(e)&&e.isValid()||xt(e).isValid())?$t({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function wn(e){return this.to(xt(),e)}function Cn(e){var t;return void 0===e?this._locale._abbr:(t=ot(e),null!=t&&(this._locale=t),this)}function jn(){return this._locale}function Mn(e){switch(e=z(e)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===e&&this.weekday(0),"isoWeek"===e&&this.isoWeekday(1),"quarter"===e&&this.month(3*Math.floor(this.month()/3)),this}function xn(e){return e=z(e),void 0===e||"millisecond"===e?this:("date"===e&&(e="day"),this.startOf(e).add(1,"isoWeek"===e?"week":e).subtract(1,"ms"))}function Tn(){return this._d.valueOf()-6e4*(this._offset||0)}function kn(){return Math.floor(this.valueOf()/1e3)}function Pn(){return new Date(this.valueOf())}function En(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Nn(){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()}}function In(){return this.isValid()?this.toISOString():null}function Sn(){return m(this)}function Rn(){return p({},y(this))}function Dn(){return y(this).overflow}function Yn(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function zn(e,t){W(0,[e,e.length],0,t)}function An(e){return Wn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Hn(e){return Wn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Zn(){return Me(this.year(),1,4)}function Bn(){var e=this.localeData()._week;return Me(this.year(),e.dow,e.doy)}function Wn(e,t,n,r,o){var a;return null==e?je(this,r,o).year:(a=Me(e,r,o),t>a&&(t=a),Fn.call(this,e,t,n,r,o))}function Fn(e,t,n,r,o){var a=Ce(e,t,n,r,o),i=Le(a.year,0,a.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}function Kn(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}function Xn(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}function Un(e,t){t[_o]=L(1e3*("0."+e))}function Gn(){return this._isUTC?"UTC":""}function qn(){return this._isUTC?"Coordinated Universal Time":""}function Jn(e){return xt(1e3*e)}function Vn(){return xt.apply(null,arguments).parseZone()}function $n(e){return e}function Qn(e,t,n,r){var o=ot(),a=d().set(r,t);return o[n](a,e)}function er(e,t,n){if(s(e)&&(t=e,e=void 0),e=e||"",null!=t)return Qn(e,t,n,"month");var r,o=[];for(r=0;r<12;r++)o[r]=Qn(e,r,n,"month");return o}function tr(e,t,n,r){"boolean"==typeof e?(s(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,s(t)&&(n=t,t=void 0),t=t||"");var o=ot(),a=e?o._week.dow:0;if(null!=n)return Qn(t,(n+a)%7,r,"day");var i,l=[];for(i=0;i<7;i++)l[i]=Qn(t,(i+a)%7,r,"day");return l}function nr(e,t){return er(e,t,"months")}function rr(e,t){return er(e,t,"monthsShort")}function or(e,t,n){return tr(e,t,n,"weekdays")}function ar(e,t,n){return tr(e,t,n,"weekdaysShort")}function ir(e,t,n){return tr(e,t,n,"weekdaysMin")}function lr(){var e=this._data;return this._milliseconds=da(this._milliseconds),this._days=da(this._days),this._months=da(this._months),e.milliseconds=da(e.milliseconds),e.seconds=da(e.seconds),e.minutes=da(e.minutes),e.hours=da(e.hours),e.months=da(e.months),e.years=da(e.years),this}function sr(e,t,n,r){var o=$t(t,n);return e._milliseconds+=r*o._milliseconds,e._days+=r*o._days,e._months+=r*o._months,e._bubble()}function ur(e,t){return sr(this,e,t,1)}function cr(e,t){return sr(this,e,t,-1)}function fr(e){return e<0?Math.floor(e):Math.ceil(e)}function pr(){var e,t,n,r,o,a=this._milliseconds,i=this._days,l=this._months,s=this._data;return a>=0&&i>=0&&l>=0||a<=0&&i<=0&&l<=0||(a+=864e5*fr(hr(l)+i),i=0,l=0),s.milliseconds=a%1e3,e=O(a/1e3),s.seconds=e%60,t=O(e/60),s.minutes=t%60,n=O(t/60),s.hours=n%24,i+=O(n/24),o=O(dr(i)),l+=o,i-=fr(hr(o)),r=O(l/12),l%=12,s.days=i,s.months=l,s.years=r,this}function dr(e){return 4800*e/146097}function hr(e){return 146097*e/4800}function yr(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if(e=z(e),"month"===e||"year"===e)return t=this._days+r/864e5,n=this._months+dr(t),"month"===e?n:n/12;switch(t=this._days+Math.round(hr(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}function mr(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*L(this._months/12):NaN}function br(e){return function(){return this.as(e)}}function vr(){return $t(this)}function _r(e){return e=z(e),this.isValid()?this[e+"s"]():NaN}function gr(e){return function(){return this.isValid()?this._data[e]:NaN}}function Or(){return O(this.days()/7)}function Lr(e,t,n,r,o){return o.relativeTime(t||1,!!n,e,r)}function wr(e,t,n){var r=$t(e).abs(),o=ka(r.as("s")),a=ka(r.as("m")),i=ka(r.as("h")),l=ka(r.as("d")),s=ka(r.as("M")),u=ka(r.as("y")),c=o<=Pa.ss&&["s",o]||o<Pa.s&&["ss",o]||a<=1&&["m"]||a<Pa.m&&["mm",a]||i<=1&&["h"]||i<Pa.h&&["hh",i]||l<=1&&["d"]||l<Pa.d&&["dd",l]||s<=1&&["M"]||s<Pa.M&&["MM",s]||u<=1&&["y"]||["yy",u];return c[2]=t,c[3]=+e>0,c[4]=n,Lr.apply(null,c)}function Cr(e){return void 0===e?ka:"function"==typeof e&&(ka=e,!0)}function jr(e,t){return void 0!==Pa[e]&&(void 0===t?Pa[e]:(Pa[e]=t,"s"===e&&(Pa.ss=t-1),!0))}function Mr(e){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),n=wr(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function xr(e){return(e>0)-(e<0)||+e}function Tr(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r=Ea(this._milliseconds)/1e3,o=Ea(this._days),a=Ea(this._months);e=O(r/60),t=O(e/60),r%=60,e%=60,n=O(a/12),a%=12;var i=n,l=a,s=o,u=t,c=e,f=r?r.toFixed(3).replace(/\.?0+$/,""):"",p=this.asSeconds();if(!p)return"P0D";var d=p<0?"-":"",h=xr(this._months)!==xr(p)?"-":"",y=xr(this._days)!==xr(p)?"-":"",m=xr(this._milliseconds)!==xr(p)?"-":"";return d+"P"+(i?h+i+"Y":"")+(l?h+l+"M":"")+(s?y+s+"D":"")+(u||c||f?"T":"")+(u?m+u+"H":"")+(c?m+c+"M":"")+(f?m+f+"S":"")}var kr,Pr;Pr=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,r=0;r<n;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1};var Er=t.momentProperties=[],Nr=!1,Ir={};t.suppressDeprecationWarnings=!1,t.deprecationHandler=null;var Sr;Sr=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)f(e,t)&&n.push(t);return n};var Rr={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},Dr={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"},Yr="Invalid date",zr="%d",Ar=/\d{1,2}/,Hr={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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},Zr={},Br={},Wr=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Fr=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Kr={},Xr={},Ur=/\d/,Gr=/\d\d/,qr=/\d{3}/,Jr=/\d{4}/,Vr=/[+-]?\d{6}/,$r=/\d\d?/,Qr=/\d\d\d\d?/,eo=/\d\d\d\d\d\d?/,to=/\d{1,3}/,no=/\d{1,4}/,ro=/[+-]?\d{1,6}/,oo=/\d+/,ao=/[+-]?\d+/,io=/Z|[+-]\d\d:?\d\d/gi,lo=/Z|[+-]\d\d(?::?\d\d)?/gi,so=/[+-]?\d+(\.\d{1,3})?/,uo=/[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,co={},fo={},po=0,ho=1,yo=2,mo=3,bo=4,vo=5,_o=6,go=7,Oo=8;W("Y",0,0,function(){var e=this.year();return e<=9999?""+e:"+"+e}),W(0,["YY",2],0,function(){return this.year()%100}),W(0,["YYYY",4],0,"year"),W(0,["YYYYY",5],0,"year"),W(0,["YYYYYY",6,!0],0,"year"),Y("year","y"),H("year",1),G("Y",ao),G("YY",$r,Gr),G("YYYY",no,Jr),G("YYYYY",ro,Vr),G("YYYYYY",ro,Vr),$(["YYYYY","YYYYYY"],po),$("YYYY",function(e,n){n[po]=2===e.length?t.parseTwoDigitYear(e):L(e)}),$("YY",function(e,n){n[po]=t.parseTwoDigitYear(e)}),$("Y",function(e,t){t[po]=parseInt(e,10)}),t.parseTwoDigitYear=function(e){return L(e)+(L(e)>68?1900:2e3)};var Lo,wo=oe("FullYear",!0);Lo=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},W("M",["MM",2],"Mo",function(){return this.month()+1}),W("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),W("MMMM",0,0,function(e){return this.localeData().months(this,e)}),Y("month","M"),H("month",8),G("M",$r),G("MM",$r,Gr),G("MMM",function(e,t){return t.monthsShortRegex(e)}),G("MMMM",function(e,t){return t.monthsRegex(e)}),$(["M","MM"],function(e,t){t[ho]=L(e)-1}),$(["MMM","MMMM"],function(e,t,n,r){var o=n._locale.monthsParse(e,r,n._strict);null!=o?t[ho]=o:y(n).invalidMonth=e});var Co=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,jo="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Mo="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),xo=uo,To=uo;W("w",["ww",2],"wo","week"),W("W",["WW",2],"Wo","isoWeek"),Y("week","w"),Y("isoWeek","W"),H("week",5),H("isoWeek",5),G("w",$r),G("ww",$r,Gr),G("W",$r),G("WW",$r,Gr),Q(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=L(e)});var ko={dow:0,doy:6};W("d",0,"do","day"),W("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),W("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),W("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),W("e",0,0,"weekday"),W("E",0,0,"isoWeekday"),Y("day","d"),Y("weekday","e"),Y("isoWeekday","E"),H("day",11),H("weekday",11),H("isoWeekday",11),G("d",$r),G("e",$r),G("E",$r),G("dd",function(e,t){return t.weekdaysMinRegex(e)}),G("ddd",function(e,t){return t.weekdaysShortRegex(e)}),G("dddd",function(e,t){return t.weekdaysRegex(e)}),Q(["dd","ddd","dddd"],function(e,t,n,r){var o=n._locale.weekdaysParse(e,r,n._strict);null!=o?t.d=o:y(n).invalidWeekday=e}),Q(["d","e","E"],function(e,t,n,r){t[r]=L(e)});var Po="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Eo="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),No="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Io=uo,So=uo,Ro=uo;W("H",["HH",2],0,"hour"),W("h",["hh",2],0,Xe),W("k",["kk",2],0,Ue),W("hmm",0,0,function(){return""+Xe.apply(this)+B(this.minutes(),2)}),W("hmmss",0,0,function(){return""+Xe.apply(this)+B(this.minutes(),2)+B(this.seconds(),2)}),W("Hmm",0,0,function(){return""+this.hours()+B(this.minutes(),2)}),W("Hmmss",0,0,function(){return""+this.hours()+B(this.minutes(),2)+B(this.seconds(),2)}),Ge("a",!0),Ge("A",!1),Y("hour","h"),H("hour",13),G("a",qe),G("A",qe),G("H",$r),G("h",$r),G("k",$r),G("HH",$r,Gr),G("hh",$r,Gr),G("kk",$r,Gr),G("hmm",Qr),G("hmmss",eo),G("Hmm",Qr),G("Hmmss",eo),$(["H","HH"],mo),$(["k","kk"],function(e,t,n){var r=L(e);t[mo]=24===r?0:r}),$(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),$(["h","hh"],function(e,t,n){t[mo]=L(e),y(n).bigHour=!0}),$("hmm",function(e,t,n){var r=e.length-2;t[mo]=L(e.substr(0,r)),t[bo]=L(e.substr(r)),y(n).bigHour=!0}),$("hmmss",function(e,t,n){var r=e.length-4,o=e.length-2;t[mo]=L(e.substr(0,r)),t[bo]=L(e.substr(r,2)),t[vo]=L(e.substr(o)),y(n).bigHour=!0}),$("Hmm",function(e,t,n){var r=e.length-2;t[mo]=L(e.substr(0,r)),t[bo]=L(e.substr(r))}),$("Hmmss",function(e,t,n){var r=e.length-4,o=e.length-2;t[mo]=L(e.substr(0,r)),t[bo]=L(e.substr(r,2)),t[vo]=L(e.substr(o))});var Do,Yo=/[ap]\.?m?\.?/i,zo=oe("Hours",!0),Ao={calendar:Rr,longDateFormat:Dr,invalidDate:Yr,ordinal:zr,dayOfMonthOrdinalParse:Ar,relativeTime:Hr,months:jo,monthsShort:Mo,week:ko,weekdays:Po,weekdaysMin:No,weekdaysShort:Eo,meridiemParse:Yo},Ho={},Zo={},Bo=/^\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)?)?$/,Wo=/^\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)?)?$/,Fo=/Z|[+-]\d\d(?::?\d\d)?/,Ko=[["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}/]],Xo=[["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/]],Uo=/^\/?Date\((\-?\d+)/i,Go=/^(?:(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}))$/,qo={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};t.createFromInputFallback=j("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 and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._