make-shift-brew-ui
Version:
Common User Interface for the Brewfactory projects, modified for MakeShift Aleworks
2 lines • 578 kB
JavaScript
!function(e){function t(r){if(n[r])return n[r].exports;var a=n[r]={exports:{},id:r,loaded:!1};return e[r].call(a.exports,a,a.exports,t),a.loaded=!0,a.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}(function(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))switch(typeof e[t]){case"function":break;case"object":e[t]=function(t){var n=t.slice(1),r=e[t[0]];return function(e,t,a){r.apply(this,[e,t,a].concat(n))}}(e[t]);break;default:e[t]=e[e[t]]}return e}([function(e,t,n){(function(e){"use strict";var t,r,a,o=n(13),i=n(4),s=n(339),u=i("BrewUI:client"),c=n(50).navigateAction,l=e.App&&e.App.Context,d=n(84);window.React=o,i.enable("BrewUI*");var p=n(341);p.register("brew",n(346)),p.register("log",n(347)),u("rehydrating app"),t=new s({fetcher:p,initialState:l}),t.init(),window.context=t.context,r=t.getComponent(),a=document.getElementById("app"),l||t.getActionContext().executeAction(c,{path:window.location.pathname},function(){}),u("React Rendering"),o.render(r,a,function(){u("React Rendered")}),n(348)({server:d.WebSocket,context:t.getActionContext()})}).call(t,function(){return this}())},function(e,t,n){(function(e){!function(t,n){e.exports=n()}(this,function(){"use strict";function t(){return mr.apply(null,arguments)}function r(e){mr=e}function a(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function o(e){return"[object Object]"===Object.prototype.toString.call(e)}function i(e){var t;for(t in e)return!1;return!0}function s(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function u(e,t){var n,r=[];for(n=0;n<e.length;++n)r.push(t(e[n],n));return r}function c(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function l(e,t){for(var n in t)c(t,n)&&(e[n]=t[n]);return c(t,"toString")&&(e.toString=t.toString),c(t,"valueOf")&&(e.valueOf=t.valueOf),e}function d(e,t,n,r){return vt(e,t,n,r,!0).utc()}function p(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null}}function h(e){return null==e._pf&&(e._pf=p()),e._pf}function f(e){if(null==e._isValid){var t=h(e),n=_r.call(t.parsedDateParts,function(e){return null!=e});e._isValid=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n),e._strict&&(e._isValid=e._isValid&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour)}return e._isValid}function m(e){var t=d(NaN);return null!=e?l(h(t),e):h(t).userInvalidated=!0,t}function _(e){return void 0===e}function y(e,t){var n,r,a;if(_(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),_(t._i)||(e._i=t._i),_(t._f)||(e._f=t._f),_(t._l)||(e._l=t._l),_(t._strict)||(e._strict=t._strict),_(t._tzm)||(e._tzm=t._tzm),_(t._isUTC)||(e._isUTC=t._isUTC),_(t._offset)||(e._offset=t._offset),_(t._pf)||(e._pf=h(t)),_(t._locale)||(e._locale=t._locale),yr.length>0)for(n in yr)r=yr[n],a=t[r],_(a)||(e[r]=a);return e}function v(e){y(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),vr===!1&&(vr=!0,t.updateOffset(this),vr=!1)}function g(e){return e instanceof v||null!=e&&null!=e._isAMomentObject}function M(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=M(t)),n}function b(e,t,n){var r,a=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),i=0;for(r=0;r<a;r++)(n&&e[r]!==t[r]||!n&&L(e[r])!==L(t[r]))&&i++;return i+o}function w(e){t.suppressDeprecationWarnings===!1&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function k(e,n){var r=!0;return l(function(){return null!=t.deprecationHandler&&t.deprecationHandler(null,e),r&&(w(e+"\nArguments: "+Array.prototype.slice.call(arguments).join(", ")+"\n"+(new Error).stack),r=!1),n.apply(this,arguments)},n)}function D(e,n){null!=t.deprecationHandler&&t.deprecationHandler(e,n),gr[e]||(w(n),gr[e]=!0)}function Y(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],Y(t)?this[n]=t:this["_"+n]=t;this._config=e,this._ordinalParseLenient=new RegExp(this._ordinalParse.source+"|"+/\d{1,2}/.source)}function x(e,t){var n,r=l({},e);for(n in t)c(t,n)&&(o(e[n])&&o(t[n])?(r[n]={},l(r[n],e[n]),l(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)c(e,n)&&!c(t,n)&&o(e[n])&&(r[n]=l({},r[n]));return r}function E(e){null!=e&&this.set(e)}function S(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return Y(r)?r.call(t,n):r}function C(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 j(){return this._invalidDate}function P(e){return this._ordinal.replace("%d",e)}function A(e,t,n,r){var a=this._relativeTime[n];return Y(a)?a(e,t,n,r):a.replace(/%d/i,e)}function O(e,t){var n=this._relativeTime[e>0?"future":"past"];return Y(n)?n(t):n.replace(/%s/i,t)}function N(e,t){var n=e.toLowerCase();xr[n]=xr[n+"s"]=xr[t]=e}function H(e){return"string"==typeof e?xr[e]||xr[e.toLowerCase()]:void 0}function R(e){var t,n,r={};for(n in e)c(e,n)&&(t=H(n),t&&(r[t]=e[n]));return r}function I(e,t){Er[e]=t}function F(e){var t=[];for(var n in e)t.push({unit:n,priority:Er[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}function W(e,n){return function(r){return null!=r?(B(this,e,r),t.updateOffset(this,n),this):U(this,e)}}function U(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function B(e,t,n){e.isValid()&&e._d["set"+(e._isUTC?"UTC":"")+t](n)}function z(e){return e=H(e),Y(this[e])?this[e]():this}function V(e,t){if("object"==typeof e){e=R(e);for(var n=F(e),r=0;r<n.length;r++)this[n[r].unit](e[n[r].unit])}else if(e=H(e),Y(this[e]))return this[e](t);return this}function J(e,t,n){var r=""+Math.abs(e),a=t-r.length,o=e>=0;return(o?n?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+r}function q(e,t,n,r){var a=r;"string"==typeof r&&(a=function(){return this[r]()}),e&&(Pr[e]=a),t&&(Pr[t[0]]=function(){return J(a.apply(this,arguments),t[1],t[2])}),n&&(Pr[n]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function G(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function K(e){var t,n,r=e.match(Sr);for(t=0,n=r.length;t<n;t++)Pr[r[t]]?r[t]=Pr[r[t]]:r[t]=G(r[t]);return function(t){var a,o="";for(a=0;a<n;a++)o+=r[a]instanceof Function?r[a].call(t,e):r[a];return o}}function $(e,t){return e.isValid()?(t=X(t,e.localeData()),jr[t]=jr[t]||K(t),jr[t](e)):e.localeData().invalidDate()}function X(e,t){function n(e){return t.longDateFormat(e)||e}var r=5;for(Cr.lastIndex=0;r>=0&&Cr.test(e);)e=e.replace(Cr,n),Cr.lastIndex=0,r-=1;return e}function Q(e,t,n){Xr[e]=Y(t)?t:function(e,r){return e&&n?n:t}}function Z(e,t){return c(Xr,e)?Xr[e](t._strict,t._locale):new RegExp(ee(e))}function ee(e){return te(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,a){return t||n||r||a}))}function te(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function ne(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),"number"==typeof t&&(r=function(e,n){n[t]=L(e)}),n=0;n<e.length;n++)Qr[e[n]]=r}function re(e,t){ne(e,function(e,n,r,a){r._w=r._w||{},t(e,r._w,r,a)})}function ae(e,t,n){null!=t&&c(Qr,e)&&Qr[e](t,n._a,n,e)}function oe(e,t){return new Date(Date.UTC(e,t+1,0)).getUTCDate()}function ie(e,t){return a(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||ua).test(t)?"format":"standalone"][e.month()]}function se(e,t){return a(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[ua.test(t)?"format":"standalone"][e.month()]}function ue(e,t,n){var r,a,o,i=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)o=d([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===t?(a=Lr.call(this._shortMonthsParse,i),a!==-1?a:null):(a=Lr.call(this._longMonthsParse,i),a!==-1?a:null):"MMM"===t?(a=Lr.call(this._shortMonthsParse,i),a!==-1?a:(a=Lr.call(this._longMonthsParse,i),a!==-1?a:null)):(a=Lr.call(this._longMonthsParse,i),a!==-1?a:(a=Lr.call(this._shortMonthsParse,i),a!==-1?a:null))}function ce(e,t,n){var r,a,o;if(this._monthsParseExact)return ue.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(a=d([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(o="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[r]=new RegExp(o.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 le(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),"number"!=typeof t)return e;return n=Math.min(e.date(),oe(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function de(e){return null!=e?(le(this,e),t.updateOffset(this,!0),this):U(this,"Month")}function pe(){return oe(this.year(),this.month())}function he(e){return this._monthsParseExact?(c(this,"_monthsRegex")||me.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(c(this,"_monthsShortRegex")||(this._monthsShortRegex=da),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function fe(e){return this._monthsParseExact?(c(this,"_monthsRegex")||me.call(this),e?this._monthsStrictRegex:this._monthsRegex):(c(this,"_monthsRegex")||(this._monthsRegex=pa),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function me(){function e(e,t){return t.length-e.length}var t,n,r=[],a=[],o=[];for(t=0;t<12;t++)n=d([2e3,t]),r.push(this.monthsShort(n,"")),a.push(this.months(n,"")),o.push(this.months(n,"")),o.push(this.monthsShort(n,""));for(r.sort(e),a.sort(e),o.sort(e),t=0;t<12;t++)r[t]=te(r[t]),a[t]=te(a[t]);for(t=0;t<24;t++)o[t]=te(o[t]);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 _e(e){return ye(e)?366:365}function ye(e){return e%4===0&&e%100!==0||e%400===0}function ve(){return ye(this.year())}function ge(e,t,n,r,a,o,i){var s=new Date(e,t,n,r,a,o,i);return e<100&&e>=0&&isFinite(s.getFullYear())&&s.setFullYear(e),s}function Me(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function Le(e,t,n){var r=7+t-n,a=(7+Me(e,0,r).getUTCDay()-t)%7;return-a+r-1}function be(e,t,n,r,a){var o,i,s=(7+n-r)%7,u=Le(e,r,a),c=1+7*(t-1)+s+u;return c<=0?(o=e-1,i=_e(o)+c):c>_e(e)?(o=e+1,i=c-_e(e)):(o=e,i=c),{year:o,dayOfYear:i}}function we(e,t,n){var r,a,o=Le(e.year(),t,n),i=Math.floor((e.dayOfYear()-o-1)/7)+1;return i<1?(a=e.year()-1,r=i+ke(a,t,n)):i>ke(e.year(),t,n)?(r=i-ke(e.year(),t,n),a=e.year()+1):(a=e.year(),r=i),{week:r,year:a}}function ke(e,t,n){var r=Le(e,t,n),a=Le(e+1,t,n);return(_e(e)-r+a)/7}function De(e){return we(e,this._week.dow,this._week.doy).week}function Ye(){return this._week.dow}function Te(){return this._week.doy}function xe(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Ee(e){var t=we(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Se(e,t){return"string"!=typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"==typeof e?e:null):parseInt(e,10)}function Ce(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function je(e,t){return a(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]}function Pe(e){return this._weekdaysShort[e.day()]}function Ae(e){return this._weekdaysMin[e.day()]}function Oe(e,t,n){var r,a,o,i=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=d([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 n?"dddd"===t?(a=Lr.call(this._weekdaysParse,i),a!==-1?a:null):"ddd"===t?(a=Lr.call(this._shortWeekdaysParse,i),a!==-1?a:null):(a=Lr.call(this._minWeekdaysParse,i),a!==-1?a:null):"dddd"===t?(a=Lr.call(this._weekdaysParse,i),a!==-1?a:(a=Lr.call(this._shortWeekdaysParse,i),a!==-1?a:(a=Lr.call(this._minWeekdaysParse,i),a!==-1?a:null))):"ddd"===t?(a=Lr.call(this._shortWeekdaysParse,i),a!==-1?a:(a=Lr.call(this._weekdaysParse,i),a!==-1?a:(a=Lr.call(this._minWeekdaysParse,i),a!==-1?a:null))):(a=Lr.call(this._minWeekdaysParse,i),a!==-1?a:(a=Lr.call(this._weekdaysParse,i),a!==-1?a:(a=Lr.call(this._shortWeekdaysParse,i),a!==-1?a:null)))}function Ne(e,t,n){var r,a,o;if(this._weekdaysParseExact)return Oe.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(a=d([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(a,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(a,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(a,"").replace(".",".?")+"$","i")),this._weekdaysParse[r]||(o="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[r]=new RegExp(o.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 He(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Se(e,this.localeData()),this.add(e-t,"d")):t}function Re(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 Ie(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Ce(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Fe(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Be.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(c(this,"_weekdaysRegex")||(this._weekdaysRegex=va),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function We(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Be.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(c(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=ga),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Ue(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Be.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(c(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ma),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Be(){function e(e,t){return t.length-e.length}var t,n,r,a,o,i=[],s=[],u=[],c=[];for(t=0;t<7;t++)n=d([2e3,1]).day(t),r=this.weekdaysMin(n,""),a=this.weekdaysShort(n,""),o=this.weekdays(n,""),i.push(r),s.push(a),u.push(o),c.push(r),c.push(a),c.push(o);for(i.sort(e),s.sort(e),u.sort(e),c.sort(e),t=0;t<7;t++)s[t]=te(s[t]),u[t]=te(u[t]),c[t]=te(c[t]);this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+i.join("|")+")","i")}function ze(){return this.hours()%12||12}function Ve(){return this.hours()||24}function Je(e,t){q(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function qe(e,t){return t._meridiemParse}function Ge(e){return"p"===(e+"").toLowerCase().charAt(0)}function Ke(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}function $e(e){return e?e.toLowerCase().replace("_","-"):e}function Xe(e){for(var t,n,r,a,o=0;o<e.length;){for(a=$e(e[o]).split("-"),t=a.length,n=$e(e[o+1]),n=n?n.split("-"):null;t>0;){if(r=Qe(a.slice(0,t).join("-")))return r;if(n&&n.length>=t&&b(a,n,!0)>=t-1)break;t--}o++}return null}function Qe(t){var r=null;if(!Da[t]&&"undefined"!=typeof e&&e&&e.exports)try{r=La._abbr,n(563)("./"+t),Ze(r)}catch(a){}return Da[t]}function Ze(e,t){var n;return e&&(n=_(t)?nt(e):et(e,t),n&&(La=n)),La._abbr}function et(e,t){if(null!==t){var n=ka;return t.abbr=e,null!=Da[e]?(D("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=Da[e]._config):null!=t.parentLocale&&(null!=Da[t.parentLocale]?n=Da[t.parentLocale]._config:D("parentLocaleUndefined","specified parentLocale is not defined yet. See http://momentjs.com/guides/#/warnings/parent-locale/")),Da[e]=new E(x(n,t)),Ze(e),Da[e]}return delete Da[e],null}function tt(e,t){if(null!=t){var n,r=ka;null!=Da[e]&&(r=Da[e]._config),t=x(r,t),n=new E(t),n.parentLocale=Da[e],Da[e]=n,Ze(e)}else null!=Da[e]&&(null!=Da[e].parentLocale?Da[e]=Da[e].parentLocale:null!=Da[e]&&delete Da[e]);return Da[e]}function nt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return La;if(!a(e)){if(t=Qe(e))return t;e=[e]}return Xe(e)}function rt(){return Mr(Da)}function at(e){var t,n=e._a;return n&&h(e).overflow===-2&&(t=n[ea]<0||n[ea]>11?ea:n[ta]<1||n[ta]>oe(n[Zr],n[ea])?ta:n[na]<0||n[na]>24||24===n[na]&&(0!==n[ra]||0!==n[aa]||0!==n[oa])?na:n[ra]<0||n[ra]>59?ra:n[aa]<0||n[aa]>59?aa:n[oa]<0||n[oa]>999?oa:-1,h(e)._overflowDayOfYear&&(t<Zr||t>ta)&&(t=ta),h(e)._overflowWeeks&&t===-1&&(t=ia),h(e)._overflowWeekday&&t===-1&&(t=sa),h(e).overflow=t),e}function ot(e){var t,n,r,a,o,i,s=e._i,u=Ya.exec(s)||Ta.exec(s);if(u){for(h(e).iso=!0,t=0,n=Ea.length;t<n;t++)if(Ea[t][1].exec(u[1])){a=Ea[t][0],r=Ea[t][2]!==!1;break}if(null==a)return void(e._isValid=!1);if(u[3]){for(t=0,n=Sa.length;t<n;t++)if(Sa[t][1].exec(u[3])){o=(u[2]||" ")+Sa[t][0];break}if(null==o)return void(e._isValid=!1)}if(!r&&null!=o)return void(e._isValid=!1);if(u[4]){if(!xa.exec(u[4]))return void(e._isValid=!1);i="Z"}e._f=a+(o||"")+(i||""),dt(e)}else e._isValid=!1}function it(e){var n=Ca.exec(e._i);return null!==n?void(e._d=new Date((+n[1]))):(ot(e),void(e._isValid===!1&&(delete e._isValid,t.createFromInputFallback(e))))}function st(e,t,n){return null!=e?e:null!=t?t:n}function ut(e){var n=new Date(t.now());return e._useUTC?[n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate()]:[n.getFullYear(),n.getMonth(),n.getDate()]}function ct(e){var t,n,r,a,o=[];if(!e._d){for(r=ut(e),e._w&&null==e._a[ta]&&null==e._a[ea]&<(e),e._dayOfYear&&(a=st(e._a[Zr],r[Zr]),e._dayOfYear>_e(a)&&(h(e)._overflowDayOfYear=!0),n=Me(a,0,e._dayOfYear),e._a[ea]=n.getUTCMonth(),e._a[ta]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=o[t]=r[t];for(;t<7;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[na]&&0===e._a[ra]&&0===e._a[aa]&&0===e._a[oa]&&(e._nextDay=!0,e._a[na]=0),e._d=(e._useUTC?Me:ge).apply(null,o),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[na]=24)}}function lt(e){var t,n,r,a,o,i,s,u;t=e._w,null!=t.GG||null!=t.W||null!=t.E?(o=1,i=4,n=st(t.GG,e._a[Zr],we(gt(),1,4).year),r=st(t.W,1),a=st(t.E,1),(a<1||a>7)&&(u=!0)):(o=e._locale._week.dow,i=e._locale._week.doy,n=st(t.gg,e._a[Zr],we(gt(),o,i).year),r=st(t.w,1),null!=t.d?(a=t.d,(a<0||a>6)&&(u=!0)):null!=t.e?(a=t.e+o,(t.e<0||t.e>6)&&(u=!0)):a=o),r<1||r>ke(n,o,i)?h(e)._overflowWeeks=!0:null!=u?h(e)._overflowWeekday=!0:(s=be(n,r,a,o,i),e._a[Zr]=s.year,e._dayOfYear=s.dayOfYear)}function dt(e){if(e._f===t.ISO_8601)return void ot(e);e._a=[],h(e).empty=!0;var n,r,a,o,i,s=""+e._i,u=s.length,c=0;for(a=X(e._f,e._locale).match(Sr)||[],n=0;n<a.length;n++)o=a[n],r=(s.match(Z(o,e))||[])[0],r&&(i=s.substr(0,s.indexOf(r)),i.length>0&&h(e).unusedInput.push(i),s=s.slice(s.indexOf(r)+r.length),c+=r.length),Pr[o]?(r?h(e).empty=!1:h(e).unusedTokens.push(o),ae(o,r,e)):e._strict&&!r&&h(e).unusedTokens.push(o);h(e).charsLeftOver=u-c,s.length>0&&h(e).unusedInput.push(s),e._a[na]<=12&&h(e).bigHour===!0&&e._a[na]>0&&(h(e).bigHour=void 0),h(e).parsedDateParts=e._a.slice(0),h(e).meridiem=e._meridiem,e._a[na]=pt(e._locale,e._a[na],e._meridiem),ct(e),at(e)}function pt(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 ht(e){var t,n,r,a,o;if(0===e._f.length)return h(e).invalidFormat=!0,void(e._d=new Date(NaN));for(a=0;a<e._f.length;a++)o=0,t=y({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[a],dt(t),f(t)&&(o+=h(t).charsLeftOver,o+=10*h(t).unusedTokens.length,h(t).score=o,(null==r||o<r)&&(r=o,n=t));l(e,n||t)}function ft(e){if(!e._d){var t=R(e._i);e._a=u([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),ct(e)}}function mt(e){var t=new v(at(_t(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function _t(e){var t=e._i,n=e._f;return e._locale=e._locale||nt(e._l),null===t||void 0===n&&""===t?m({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),g(t)?new v(at(t)):(a(n)?ht(e):s(t)?e._d=t:n?dt(e):yt(e),f(e)||(e._d=null),e))}function yt(e){var n=e._i;void 0===n?e._d=new Date(t.now()):s(n)?e._d=new Date(n.valueOf()):"string"==typeof n?it(e):a(n)?(e._a=u(n.slice(0),function(e){return parseInt(e,10)}),ct(e)):"object"==typeof n?ft(e):"number"==typeof n?e._d=new Date(n):t.createFromInputFallback(e)}function vt(e,t,n,r,s){var u={};return"boolean"==typeof n&&(r=n,n=void 0),(o(e)&&i(e)||a(e)&&0===e.length)&&(e=void 0),u._isAMomentObject=!0,u._useUTC=u._isUTC=s,u._l=n,u._i=e,u._f=t,u._strict=r,mt(u)}function gt(e,t,n,r){return vt(e,t,n,r,!1)}function Mt(e,t){var n,r;if(1===t.length&&a(t[0])&&(t=t[0]),!t.length)return gt();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}function Lt(){var e=[].slice.call(arguments,0);return Mt("isBefore",e)}function bt(){var e=[].slice.call(arguments,0);return Mt("isAfter",e)}function wt(e){var t=R(e),n=t.year||0,r=t.quarter||0,a=t.month||0,o=t.week||0,i=t.day||0,s=t.hour||0,u=t.minute||0,c=t.second||0,l=t.millisecond||0;this._milliseconds=+l+1e3*c+6e4*u+1e3*s*60*60,this._days=+i+7*o,this._months=+a+3*r+12*n,this._data={},this._locale=nt(),this._bubble()}function kt(e){return e instanceof wt}function Dt(e,t){q(e,0,0,function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+J(~~(e/60),2)+t+J(~~e%60,2)})}function Yt(e,t){var n=(t||"").match(e)||[],r=n[n.length-1]||[],a=(r+"").match(Oa)||["-",0,0],o=+(60*a[1])+L(a[2]);return"+"===a[0]?o:-o}function Tt(e,n){var r,a;return n._isUTC?(r=n.clone(),a=(g(e)||s(e)?e.valueOf():gt(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+a),t.updateOffset(r,!1),r):gt(e).local()}function xt(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function Et(e,n){var r,a=this._offset||0;return this.isValid()?null!=e?("string"==typeof e?e=Yt(Gr,e):Math.abs(e)<16&&(e=60*e),!this._isUTC&&n&&(r=xt(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),a!==e&&(!n||this._changeInProgress?Jt(this,Ft(e-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,t.updateOffset(this,!0),this._changeInProgress=null)),this):this._isUTC?a:xt(this):null!=e?this:NaN}function St(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function Ct(e){return this.utcOffset(0,e)}function jt(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(xt(this),"m")),this}function Pt(){return this._tzm?this.utcOffset(this._tzm):"string"==typeof this._i&&this.utcOffset(Yt(qr,this._i)),this}function At(e){return!!this.isValid()&&(e=e?gt(e).utcOffset():0,(this.utcOffset()-e)%60===0)}function Ot(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Nt(){if(!_(this._isDSTShifted))return this._isDSTShifted;var e={};if(y(e,this),e=_t(e),e._a){var t=e._isUTC?d(e._a):gt(e._a);this._isDSTShifted=this.isValid()&&b(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function Ht(){return!!this.isValid()&&!this._isUTC}function Rt(){return!!this.isValid()&&this._isUTC}function It(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function Ft(e,t){var n,r,a,o=e,i=null;return kt(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:"number"==typeof e?(o={},t?o[t]=e:o.milliseconds=e):(i=Na.exec(e))?(n="-"===i[1]?-1:1,o={y:0,d:L(i[ta])*n,h:L(i[na])*n,m:L(i[ra])*n,s:L(i[aa])*n,ms:L(i[oa])*n}):(i=Ha.exec(e))?(n="-"===i[1]?-1:1,o={y:Wt(i[2],n),M:Wt(i[3],n),w:Wt(i[4],n),d:Wt(i[5],n),h:Wt(i[6],n),m:Wt(i[7],n),s:Wt(i[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(a=Bt(gt(o.from),gt(o.to)),o={},o.ms=a.milliseconds,o.M=a.months),r=new wt(o),kt(e)&&c(e,"_locale")&&(r._locale=e._locale),r}function Wt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Ut(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 Bt(e,t){var n;return e.isValid()&&t.isValid()?(t=Tt(t,e),e.isBefore(t)?n=Ut(e,t):(n=Ut(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function zt(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function Vt(e,t){return function(n,r){var a,o;return null===r||isNaN(+r)||(D(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."),o=n,n=r,r=o),n="string"==typeof n?+n:n,a=Ft(n,r),Jt(this,a,e),this}}function Jt(e,n,r,a){var o=n._milliseconds,i=zt(n._days),s=zt(n._months);e.isValid()&&(a=null==a||a,o&&e._d.setTime(e._d.valueOf()+o*r),i&&B(e,"Date",U(e,"Date")+i*r),s&&le(e,U(e,"Month")+s*r),a&&t.updateOffset(e,i||s))}function qt(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 Gt(e,n){var r=e||gt(),a=Tt(r,this).startOf("day"),o=t.calendarFormat(this,a)||"sameElse",i=n&&(Y(n[o])?n[o].call(this,r):n[o]);return this.format(i||this.localeData().calendar(o,this,gt(r)))}function Kt(){return new v(this)}function $t(e,t){var n=g(e)?e:gt(e);return!(!this.isValid()||!n.isValid())&&(t=H(_(t)?"millisecond":t),"millisecond"===t?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())}function Xt(e,t){var n=g(e)?e:gt(e);return!(!this.isValid()||!n.isValid())&&(t=H(_(t)?"millisecond":t),"millisecond"===t?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())}function Qt(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 Zt(e,t){var n,r=g(e)?e:gt(e);return!(!this.isValid()||!r.isValid())&&(t=H(t||"millisecond"),"millisecond"===t?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))}function en(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function tn(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function nn(e,t,n){var r,a,o,i;return this.isValid()?(r=Tt(e,this),r.isValid()?(a=6e4*(r.utcOffset()-this.utcOffset()),t=H(t),"year"===t||"month"===t||"quarter"===t?(i=rn(this,r),"quarter"===t?i/=3:"year"===t&&(i/=12)):(o=this-r,i="second"===t?o/1e3:"minute"===t?o/6e4:"hour"===t?o/36e5:"day"===t?(o-a)/864e5:"week"===t?(o-a)/6048e5:o),n?i:M(i)):NaN):NaN}function rn(e,t){var n,r,a=12*(t.year()-e.year())+(t.month()-e.month()),o=e.clone().add(a,"months");return t-o<0?(n=e.clone().add(a-1,"months"),r=(t-o)/(o-n)):(n=e.clone().add(a+1,"months"),r=(t-o)/(n-o)),-(a+r)||0}function an(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function on(){var e=this.clone().utc();return 0<e.year()&&e.year()<=9999?Y(Date.prototype.toISOString)?this.toDate().toISOString():$(e,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):$(e,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")}function sn(e){e||(e=this.isUtc()?t.defaultFormatUtc:t.defaultFormat);var n=$(this,e);return this.localeData().postformat(n)}function un(e,t){return this.isValid()&&(g(e)&&e.isValid()||gt(e).isValid())?Ft({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function cn(e){return this.from(gt(),e)}function ln(e,t){return this.isValid()&&(g(e)&&e.isValid()||gt(e).isValid())?Ft({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function dn(e){return this.to(gt(),e)}function pn(e){var t;return void 0===e?this._locale._abbr:(t=nt(e),null!=t&&(this._locale=t),this)}function hn(){return this._locale}function fn(e){switch(e=H(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 mn(e){return e=H(e),void 0===e||"millisecond"===e?this:("date"===e&&(e="day"),this.startOf(e).add(1,"isoWeek"===e?"week":e).subtract(1,"ms"))}function _n(){return this._d.valueOf()-6e4*(this._offset||0)}function yn(){return Math.floor(this.valueOf()/1e3)}function vn(){return new Date(this.valueOf())}function gn(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Mn(){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 Ln(){return this.isValid()?this.toISOString():null}function bn(){return f(this)}function wn(){return l({},h(this))}function kn(){return h(this).overflow}function Dn(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Yn(e,t){q(0,[e,e.length],0,t)}function Tn(e){return Cn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function xn(e){return Cn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function En(){return ke(this.year(),1,4)}function Sn(){var e=this.localeData()._week;return ke(this.year(),e.dow,e.doy)}function Cn(e,t,n,r,a){var o;return null==e?we(this,r,a).year:(o=ke(e,r,a),t>o&&(t=o),jn.call(this,e,t,n,r,a))}function jn(e,t,n,r,a){var o=be(e,t,n,r,a),i=Me(o.year,0,o.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}function Pn(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}function An(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 On(e,t){t[oa]=L(1e3*("0."+e))}function Nn(){return this._isUTC?"UTC":""}function Hn(){return this._isUTC?"Coordinated Universal Time":""}function Rn(e){return gt(1e3*e)}function In(){return gt.apply(null,arguments).parseZone()}function Fn(e){return e}function Wn(e,t,n,r){var a=nt(),o=d().set(r,t);return a[n](o,e)}function Un(e,t,n){if("number"==typeof e&&(t=e,e=void 0),
e=e||"",null!=t)return Wn(e,t,n,"month");var r,a=[];for(r=0;r<12;r++)a[r]=Wn(e,r,n,"month");return a}function Bn(e,t,n,r){"boolean"==typeof e?("number"==typeof t&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,"number"==typeof t&&(n=t,t=void 0),t=t||"");var a=nt(),o=e?a._week.dow:0;if(null!=n)return Wn(t,(n+o)%7,r,"day");var i,s=[];for(i=0;i<7;i++)s[i]=Wn(t,(i+o)%7,r,"day");return s}function zn(e,t){return Un(e,t,"months")}function Vn(e,t){return Un(e,t,"monthsShort")}function Jn(e,t,n){return Bn(e,t,n,"weekdays")}function qn(e,t,n){return Bn(e,t,n,"weekdaysShort")}function Gn(e,t,n){return Bn(e,t,n,"weekdaysMin")}function Kn(){var e=this._data;return this._milliseconds=Ka(this._milliseconds),this._days=Ka(this._days),this._months=Ka(this._months),e.milliseconds=Ka(e.milliseconds),e.seconds=Ka(e.seconds),e.minutes=Ka(e.minutes),e.hours=Ka(e.hours),e.months=Ka(e.months),e.years=Ka(e.years),this}function $n(e,t,n,r){var a=Ft(t,n);return e._milliseconds+=r*a._milliseconds,e._days+=r*a._days,e._months+=r*a._months,e._bubble()}function Xn(e,t){return $n(this,e,t,1)}function Qn(e,t){return $n(this,e,t,-1)}function Zn(e){return e<0?Math.floor(e):Math.ceil(e)}function er(){var e,t,n,r,a,o=this._milliseconds,i=this._days,s=this._months,u=this._data;return o>=0&&i>=0&&s>=0||o<=0&&i<=0&&s<=0||(o+=864e5*Zn(nr(s)+i),i=0,s=0),u.milliseconds=o%1e3,e=M(o/1e3),u.seconds=e%60,t=M(e/60),u.minutes=t%60,n=M(t/60),u.hours=n%24,i+=M(n/24),a=M(tr(i)),s+=a,i-=Zn(nr(a)),r=M(s/12),s%=12,u.days=i,u.months=s,u.years=r,this}function tr(e){return 4800*e/146097}function nr(e){return 146097*e/4800}function rr(e){var t,n,r=this._milliseconds;if(e=H(e),"month"===e||"year"===e)return t=this._days+r/864e5,n=this._months+tr(t),"month"===e?n:n/12;switch(t=this._days+Math.round(nr(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 ar(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*L(this._months/12)}function or(e){return function(){return this.as(e)}}function ir(e){return e=H(e),this[e+"s"]()}function sr(e){return function(){return this._data[e]}}function ur(){return M(this.days()/7)}function cr(e,t,n,r,a){return a.relativeTime(t||1,!!n,e,r)}function lr(e,t,n){var r=Ft(e).abs(),a=po(r.as("s")),o=po(r.as("m")),i=po(r.as("h")),s=po(r.as("d")),u=po(r.as("M")),c=po(r.as("y")),l=a<ho.s&&["s",a]||o<=1&&["m"]||o<ho.m&&["mm",o]||i<=1&&["h"]||i<ho.h&&["hh",i]||s<=1&&["d"]||s<ho.d&&["dd",s]||u<=1&&["M"]||u<ho.M&&["MM",u]||c<=1&&["y"]||["yy",c];return l[2]=t,l[3]=+e>0,l[4]=n,cr.apply(null,l)}function dr(e){return void 0===e?po:"function"==typeof e&&(po=e,!0)}function pr(e,t){return void 0!==ho[e]&&(void 0===t?ho[e]:(ho[e]=t,!0))}function hr(e){var t=this.localeData(),n=lr(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function fr(){var e,t,n,r=fo(this._milliseconds)/1e3,a=fo(this._days),o=fo(this._months);e=M(r/60),t=M(e/60),r%=60,e%=60,n=M(o/12),o%=12;var i=n,s=o,u=a,c=t,l=e,d=r,p=this.asSeconds();return p?(p<0?"-":"")+"P"+(i?i+"Y":"")+(s?s+"M":"")+(u?u+"D":"")+(c||l||d?"T":"")+(c?c+"H":"")+(l?l+"M":"")+(d?d+"S":""):"P0D"}var mr,_r;_r=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 yr=t.momentProperties=[],vr=!1,gr={};t.suppressDeprecationWarnings=!1,t.deprecationHandler=null;var Mr;Mr=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)c(e,t)&&n.push(t);return n};var Lr,br={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},wr={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"},kr="Invalid date",Dr="%d",Yr=/\d{1,2}/,Tr={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},xr={},Er={},Sr=/(\[[^\[]*\])|(\\)?([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,Cr=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,jr={},Pr={},Ar=/\d/,Or=/\d\d/,Nr=/\d{3}/,Hr=/\d{4}/,Rr=/[+-]?\d{6}/,Ir=/\d\d?/,Fr=/\d\d\d\d?/,Wr=/\d\d\d\d\d\d?/,Ur=/\d{1,3}/,Br=/\d{1,4}/,zr=/[+-]?\d{1,6}/,Vr=/\d+/,Jr=/[+-]?\d+/,qr=/Z|[+-]\d\d:?\d\d/gi,Gr=/Z|[+-]\d\d(?::?\d\d)?/gi,Kr=/[+-]?\d+(\.\d{1,3})?/,$r=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,Xr={},Qr={},Zr=0,ea=1,ta=2,na=3,ra=4,aa=5,oa=6,ia=7,sa=8;Lr=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},q("M",["MM",2],"Mo",function(){return this.month()+1}),q("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),q("MMMM",0,0,function(e){return this.localeData().months(this,e)}),N("month","M"),I("month",8),Q("M",Ir),Q("MM",Ir,Or),Q("MMM",function(e,t){return t.monthsShortRegex(e)}),Q("MMMM",function(e,t){return t.monthsRegex(e)}),ne(["M","MM"],function(e,t){t[ea]=L(e)-1}),ne(["MMM","MMMM"],function(e,t,n,r){var a=n._locale.monthsParse(e,r,n._strict);null!=a?t[ea]=a:h(n).invalidMonth=e});var ua=/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/,ca="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),la="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),da=$r,pa=$r;q("Y",0,0,function(){var e=this.year();return e<=9999?""+e:"+"+e}),q(0,["YY",2],0,function(){return this.year()%100}),q(0,["YYYY",4],0,"year"),q(0,["YYYYY",5],0,"year"),q(0,["YYYYYY",6,!0],0,"year"),N("year","y"),I("year",1),Q("Y",Jr),Q("YY",Ir,Or),Q("YYYY",Br,Hr),Q("YYYYY",zr,Rr),Q("YYYYYY",zr,Rr),ne(["YYYYY","YYYYYY"],Zr),ne("YYYY",function(e,n){n[Zr]=2===e.length?t.parseTwoDigitYear(e):L(e)}),ne("YY",function(e,n){n[Zr]=t.parseTwoDigitYear(e)}),ne("Y",function(e,t){t[Zr]=parseInt(e,10)}),t.parseTwoDigitYear=function(e){return L(e)+(L(e)>68?1900:2e3)};var ha=W("FullYear",!0);q("w",["ww",2],"wo","week"),q("W",["WW",2],"Wo","isoWeek"),N("week","w"),N("isoWeek","W"),I("week",5),I("isoWeek",5),Q("w",Ir),Q("ww",Ir,Or),Q("W",Ir),Q("WW",Ir,Or),re(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=L(e)});var fa={dow:0,doy:6};q("d",0,"do","day"),q("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),q("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),q("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),q("e",0,0,"weekday"),q("E",0,0,"isoWeekday"),N("day","d"),N("weekday","e"),N("isoWeekday","E"),I("day",11),I("weekday",11),I("isoWeekday",11),Q("d",Ir),Q("e",Ir),Q("E",Ir),Q("dd",function(e,t){return t.weekdaysMinRegex(e)}),Q("ddd",function(e,t){return t.weekdaysShortRegex(e)}),Q("dddd",function(e,t){return t.weekdaysRegex(e)}),re(["dd","ddd","dddd"],function(e,t,n,r){var a=n._locale.weekdaysParse(e,r,n._strict);null!=a?t.d=a:h(n).invalidWeekday=e}),re(["d","e","E"],function(e,t,n,r){t[r]=L(e)});var ma="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),_a="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),ya="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),va=$r,ga=$r,Ma=$r;q("H",["HH",2],0,"hour"),q("h",["hh",2],0,ze),q("k",["kk",2],0,Ve),q("hmm",0,0,function(){return""+ze.apply(this)+J(this.minutes(),2)}),q("hmmss",0,0,function(){return""+ze.apply(this)+J(this.minutes(),2)+J(this.seconds(),2)}),q("Hmm",0,0,function(){return""+this.hours()+J(this.minutes(),2)}),q("Hmmss",0,0,function(){return""+this.hours()+J(this.minutes(),2)+J(this.seconds(),2)}),Je("a",!0),Je("A",!1),N("hour","h"),I("hour",13),Q("a",qe),Q("A",qe),Q("H",Ir),Q("h",Ir),Q("HH",Ir,Or),Q("hh",Ir,Or),Q("hmm",Fr),Q("hmmss",Wr),Q("Hmm",Fr),Q("Hmmss",Wr),ne(["H","HH"],na),ne(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ne(["h","hh"],function(e,t,n){t[na]=L(e),h(n).bigHour=!0}),ne("hmm",function(e,t,n){var r=e.length-2;t[na]=L(e.substr(0,r)),t[ra]=L(e.substr(r)),h(n).bigHour=!0}),ne("hmmss",function(e,t,n){var r=e.length-4,a=e.length-2;t[na]=L(e.substr(0,r)),t[ra]=L(e.substr(r,2)),t[aa]=L(e.substr(a)),h(n).bigHour=!0}),ne("Hmm",function(e,t,n){var r=e.length-2;t[na]=L(e.substr(0,r)),t[ra]=L(e.substr(r))}),ne("Hmmss",function(e,t,n){var r=e.length-4,a=e.length-2;t[na]=L(e.substr(0,r)),t[ra]=L(e.substr(r,2)),t[aa]=L(e.substr(a))});var La,ba=/[ap]\.?m?\.?/i,wa=W("Hours",!0),ka={calendar:br,longDateFormat:wr,invalidDate:kr,ordinal:Dr,ordinalParse:Yr,relativeTime:Tr,months:ca,monthsShort:la,week:fa,weekdays:ma,weekdaysMin:ya,weekdaysShort:_a,meridiemParse:ba},Da={},Ya=/^\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)?)?/,Ta=/^\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)?)?/,xa=/Z|[+-]\d\d(?::?\d\d)?/,Ea=[["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}/]],Sa=[["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/]],Ca=/^\/?Date\((\-?\d+)/i;t.createFromInputFallback=k("moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),t.ISO_8601=function(){};var ja=k("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=gt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:m()}),Pa=k("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=gt.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:m()}),Aa=function(){return Date.now?Date.now():+new Date};Dt("Z",":"),Dt("ZZ",""),Q("Z",Gr),Q("ZZ",Gr),ne(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Yt(Gr,e)});var Oa=/([\+\-]|\d\d)/gi;t.updateOffset=function(){};var Na=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?\d*)?$/,Ha=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;Ft.fn=wt.prototype;var Ra=Vt(1,"add"),Ia=Vt(-1,"subtract");t.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",t.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Fa=k("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)});q(0,["gg",2],0,function(){return this.weekYear()%100}),q(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Yn("gggg","weekYear"),Yn("ggggg","weekYear"),Yn("GGGG","isoWeekYear"),Yn("GGGGG","isoWeekYear"),N("weekYear","gg"),N("isoWeekYear","GG"),I("weekYear",1),I("isoWeekYear",1),Q("G",Jr),Q("g",Jr),Q("GG",Ir,Or),Q("gg",Ir,Or),Q("GGGG",Br,Hr),Q("gggg",Br,Hr),Q("GGGGG",zr,Rr),Q("ggggg",zr,Rr),re(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=L(e)}),re(["gg","GG"],function(e,n,r,a){n[a]=t.parseTwoDigitYear(e)}),q("Q",0,"Qo","quarter"),N("quarter","Q"),I("quarter",7),Q("Q",Ar),ne("Q",function(e,t){t[ea]=3*(L(e)-1)}),q("D",["DD",2],"Do","date"),N("date","D"),I("date",9),Q("D",Ir),Q("DD",Ir,Or),Q("Do",function(e,t){return e?t._ordinalParse:t._ordinalParseLenient}),ne(["D","DD"],ta),ne("Do",function(e,t){t[ta]=L(e.match(Ir)[0],10)});var Wa=W("Date",!0);q("DDD",["DDDD",3],"DDDo","dayOfYear"),N("dayOfYear","DDD"),I("dayOfYear",4),Q("DDD",Ur),Q("DDDD",Nr),ne(["DDD","DDDD"],function(e,t,n){n._dayOfYear=L(e)}),q("m",["mm",2],0,"minute"),N("minute","m"),I("minute",14),Q("m",Ir),Q("mm",Ir,Or),ne(["m","mm"],ra);var Ua=W("Minutes",!1);q("s",["ss",2],0,"second"),N("second","s"),I("second",15),Q("s",Ir),Q("ss",Ir,Or),ne(["s","ss"],aa);var Ba=W("Seconds",!1);q("S",0,0,function(){return~~(this.millisecond()/100)}),q(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),q(0,["SSS",3],0,"millisecond"),q(0,["SSSS",4],0,function(){return 10*this.millisecond()}),q(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),q(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),q(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),q(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),q(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),N("millisecond","ms"),I("millisecond",16),Q("S",Ur,Ar),Q("SS",Ur,Or),Q("SSS",Ur,Nr);var za;for(za="SSSS";za.length<=9;za+="S")Q(za,Vr);for(za="S";za.length<=9;za+="S")ne(za,On);var Va=W("Milliseconds",!1);q("z",0,0,"zoneAbbr"),q("zz",0,0,"zoneName");var Ja=v.prototype;Ja.add=Ra,Ja.calendar=Gt,Ja.clone=Kt,Ja.diff=nn,Ja.endOf=mn,Ja.format=sn,Ja.from=un,Ja.fromNow=cn,Ja.to=ln,Ja.toNow=dn,Ja.get=z,Ja.invalidAt=kn,Ja.isAfter=$t,Ja.isBefore=Xt,Ja.isBetween=Qt,Ja.isSame=Zt,Ja.isSameOrAfter=en,Ja.isSameOrBefore=tn,Ja.isValid=bn,Ja.lang=Fa,Ja.locale=pn,Ja.localeData=hn,Ja.max=Pa,Ja.min=ja,Ja.parsingFlags=wn,Ja.set=V,Ja.startOf=fn,Ja.subtract=Ia,Ja.toArray=gn,Ja.toObject=Mn,Ja.toDate=vn,Ja.toISOString=on,Ja.toJSON=Ln,Ja.toString=an,Ja.unix=yn,Ja.valueOf=_n,Ja.creationData=Dn,Ja.year=ha,Ja.isLeapYear=ve,Ja.weekYear=Tn,Ja.isoWeekYear=xn,Ja.quarter=Ja.quarters=Pn,Ja.month=de,Ja.daysInMonth=pe,Ja.week=Ja.weeks=xe,Ja.isoWeek=Ja.isoWeeks=Ee,Ja.weeksInYear=Sn,Ja.isoWeeksInYear=En,Ja.date=Wa,Ja.day=Ja.days=He,Ja.weekday=Re,Ja.isoWeekday=Ie,Ja.dayOfYear=An,Ja.hour=Ja.hours=wa,Ja.minute=Ja.minutes=Ua,Ja.second=Ja.seconds=Ba,Ja.millisecond=Ja.milliseconds=Va,Ja.utcOffset=Et,Ja.utc=Ct,Ja.local=jt,Ja.parseZone=Pt,Ja.hasAlignedHourOffset=At,Ja.isDST=Ot,Ja.isLocal=Ht,Ja.isUtcOffset=Rt,Ja.isUtc=It,Ja.isUTC=It,Ja.zoneAbbr=Nn,Ja.zoneName=Hn,Ja.dates=k("dates accessor is deprecated. Use date instead.",Wa),Ja.months=k("months accessor is deprecated. Use month instead",de),Ja.years=k("years accessor is deprecated. Use year instead",ha),Ja.zone=k("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",St),Ja.isDSTShifted=k("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Nt);var qa=Ja,Ga=E.prototype;Ga.calendar=S,Ga.longDateFormat=C,Ga.invalidDate=j,Ga.ordinal=P,Ga.preparse=Fn,Ga.postformat=Fn,Ga.relativeTime=A,Ga.pastFuture=O,Ga.set=T,Ga.months=ie,Ga.monthsShort=se,Ga.monthsParse=ce,Ga.monthsRegex=fe,Ga.monthsShortRegex=he,Ga.week=De,Ga.firstDayOfYear=Te,Ga.firstDayOfWeek=Ye,Ga.weekdays=je,Ga.weekdaysMin=Ae,Ga.weekdaysShort=Pe,Ga.weekdaysParse=Ne,Ga.weekdaysRegex=Fe,Ga.weekdaysShortRegex=We,Ga.weekdaysMinRegex=Ue,Ga.isPM=Ge,Ga.meridiem=Ke,Ze("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===L(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}}),t.lang=k("moment.lang is deprecated. Use moment.locale instead.",Ze),t.langData=k("moment.langData is deprecated. Use moment.localeData instead.",nt);var Ka=Math.abs,$a=or("ms"),Xa=or("s"),Qa=or("m"),Za=or("h"),eo=or("d"),to=or("w"),no=or("M"),ro=or("y"),ao=sr("milliseconds"),oo=sr("seconds"),io=sr("minutes"),so=sr("hours"),uo=sr("days"),co=sr("months"),lo=sr("years"),po=Math.round,ho={s:45,m:45,h:22,d:26,M:11},fo=Math.abs,mo=wt.prototype;mo.abs=Kn,mo.add=Xn,mo.subtract=Qn,mo.as=rr,mo.asMilliseconds=$a,mo.asSeconds=Xa,mo.asMinutes=Qa,mo.asHours=Za,mo.asDays=eo,mo.asWeeks=to,mo.asMonths=no,mo.asYears=ro,mo.valueOf=ar,mo._bubble=er,mo.get=ir,mo.milliseconds=ao,mo.seconds=oo,mo.minutes=io,mo.hours=so,mo.days=uo,mo.weeks=ur,mo.months=co,mo.years=lo,mo.humanize=hr,mo.toISOString=fr,mo.toString=fr,mo.toJSON=fr,mo.locale=pn,mo.localeData=hn,mo.toIsoString=k("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",fr),mo.lang=Fa,q("X",0,0,"unix"),q("x",0,0,"valueOf"),Q("x",Jr),Q("X",Kr),ne("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),ne("x",function(e,t,n){n._d=new Date(L(e))}),t.version="2.14.1",r(gt),t.fn=qa,t.min=Lt,t.max=bt,t.now=Aa,t.utc=d,t.unix=Rn,t.months=zn,t.isDate=s,t.locale=Ze,t.invalid=m,t.duration=Ft,t.isMoment=g,t.weekdays=Jn,t.parseZone=In,t.localeData=nt,t.isDuration=kt,t.monthsShort=Vn,t.weekdaysMin=Gn,t.defineLocale=et,t.updateLocale=tt,t.locales=rt,t.weekdaysShort=qn,t.normalizeUnits=H,t.relativeTimeRounding=dr,t.relativeTimeThreshold=pr,t.calendarFormat=qt,t.prototype=qa;var _o=t;return _o})}).call(t,n(59)(e))},function(e,t,n){"use strict";var r=function(e,t,n,r,a,o,i,s){if(!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,a,o,i,s],l=0;u=new Error("Invariant Violation: "+t.replace(/%s/g,function(){return c[l++]}))}throw u.framesToPop=1,u}};e.exports=r},function(e,t,n){function r(e,t,n){var r=typeof e;if(null==e||"function"==r)return a(e,t,n);if("object"!=r)return u(e);var c=s(e),l=c[0],d=e[l];return 1!=c.length||d!==d||i(d)?function(t){for(var n=c.length,r=!1;n--&&(r=o(t[c[n]],e[c[n]],null,!0)););return r}:function(e){var t=e[l];return d===t&&(0!==d||1/d==1/t)}}var a=n(16),o=n(146),i=n(17),s=n(12),u=n(161);e.exports=r},function(e,t,n){function r(){return"WebkitAppearance"in document.documentElement.style||window.console&&(console.firebug||console.exception&&console.table)||navigator.userAgent.toLo