UNPKG

rasa-nlu-trainer

Version:

This is a tool to edit your training examples for [rasa NLU](https://github.com/golastmile/rasa_nlu)

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