UNPKG

vueforce

Version:

A Vue.js lightning framework for salesforce

1 lines 397 kB
!function(e){function t(a){if(n[a])return n[a].exports;var s=n[a]={i:a,l:!1,exports:{}};return e[a].call(s.exports,s,s.exports,t),s.l=!0,s.exports}var n={};t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,a){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:a})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/",t(t.s=153)}([function(e,t,n){(function(e){!function(t,n){e.exports=n()}(0,function(){"use strict";function t(){return Sa.apply(null,arguments)}function a(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function s(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function r(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(e.hasOwnProperty(t))return!1;return!0}function i(e){return void 0===e}function o(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function d(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function u(e,t){var n,a=[];for(n=0;n<e.length;++n)a.push(t(e[n],n));return a}function l(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function _(e,t){for(var n in t)l(t,n)&&(e[n]=t[n]);return l(t,"toString")&&(e.toString=t.toString),l(t,"valueOf")&&(e.valueOf=t.valueOf),e}function c(e,t,n,a){return wt(e,t,n,a,!0).utc()}function m(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function h(e){return null==e._pf&&(e._pf=m()),e._pf}function f(e){if(null==e._isValid){var t=h(e),n=xa.call(t.parsedDateParts,function(e){return null!=e}),a=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(a=a&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return a;e._isValid=a}return e._isValid}function p(e){var t=c(NaN);return null!=e?_(h(t),e):h(t).userInvalidated=!0,t}function M(e,t){var n,a,s;if(i(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),i(t._i)||(e._i=t._i),i(t._f)||(e._f=t._f),i(t._l)||(e._l=t._l),i(t._strict)||(e._strict=t._strict),i(t._tzm)||(e._tzm=t._tzm),i(t._isUTC)||(e._isUTC=t._isUTC),i(t._offset)||(e._offset=t._offset),i(t._pf)||(e._pf=h(t)),i(t._locale)||(e._locale=t._locale),Ha.length>0)for(n=0;n<Ha.length;n++)a=Ha[n],s=t[a],i(s)||(e[a]=s);return e}function y(e){M(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===ja&&(ja=!0,t.updateOffset(this),ja=!1)}function L(e){return e instanceof y||null!=e&&null!=e._isAMomentObject}function Y(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function g(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=Y(t)),n}function v(e,t,n){var a,s=Math.min(e.length,t.length),r=Math.abs(e.length-t.length),i=0;for(a=0;a<s;a++)(n&&e[a]!==t[a]||!n&&g(e[a])!==g(t[a]))&&i++;return i+r}function k(e){!1===t.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function D(e,n){var a=!0;return _(function(){if(null!=t.deprecationHandler&&t.deprecationHandler(null,e),a){for(var s,r=[],i=0;i<arguments.length;i++){if(s="","object"==typeof arguments[i]){s+="\n["+i+"] ";for(var o in arguments[0])s+=o+": "+arguments[0][o]+", ";s=s.slice(0,-2)}else s=arguments[i];r.push(s)}k(e+"\nArguments: "+Array.prototype.slice.call(r).join("")+"\n"+(new Error).stack),a=!1}return n.apply(this,arguments)},n)}function w(e,n){null!=t.deprecationHandler&&t.deprecationHandler(e,n),Ea[e]||(k(n),Ea[e]=!0)}function T(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function b(e){var t,n;for(n in e)t=e[n],T(t)?this[n]=t:this["_"+n]=t;this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function S(e,t){var n,a=_({},e);for(n in t)l(t,n)&&(s(e[n])&&s(t[n])?(a[n]={},_(a[n],e[n]),_(a[n],t[n])):null!=t[n]?a[n]=t[n]:delete a[n]);for(n in e)l(e,n)&&!l(t,n)&&s(e[n])&&(a[n]=_({},a[n]));return a}function x(e){null!=e&&this.set(e)}function H(e,t,n){var a=this._calendar[e]||this._calendar.sameElse;return T(a)?a.call(t,n):a}function j(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 E(){return this._invalidDate}function O(e){return this._ordinal.replace("%d",e)}function P(e,t,n,a){var s=this._relativeTime[n];return T(s)?s(e,t,n,a):s.replace(/%d/i,e)}function A(e,t){var n=this._relativeTime[e>0?"future":"past"];return T(n)?n(t):n.replace(/%s/i,t)}function W(e,t){var n=e.toLowerCase();Fa[n]=Fa[n+"s"]=Fa[t]=e}function C(e){return"string"==typeof e?Fa[e]||Fa[e.toLowerCase()]:void 0}function F(e){var t,n,a={};for(n in e)l(e,n)&&(t=C(n))&&(a[t]=e[n]);return a}function N(e,t){Na[e]=t}function z(e){var t=[];for(var n in e)t.push({unit:n,priority:Na[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}function I(e,t,n){var a=""+Math.abs(e),s=t-a.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,s)).toString().substr(1)+a}function R(e,t,n,a){var s=a;"string"==typeof a&&(s=function(){return this[a]()}),e&&($a[e]=s),t&&($a[t[0]]=function(){return I(s.apply(this,arguments),t[1],t[2])}),n&&($a[n]=function(){return this.localeData().ordinal(s.apply(this,arguments),e)})}function $(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function J(e){var t,n,a=e.match(za);for(t=0,n=a.length;t<n;t++)$a[a[t]]?a[t]=$a[a[t]]:a[t]=$(a[t]);return function(t){var s,r="";for(s=0;s<n;s++)r+=T(a[s])?a[s].call(t,e):a[s];return r}}function q(e,t){return e.isValid()?(t=U(t,e.localeData()),Ra[t]=Ra[t]||J(t),Ra[t](e)):e.localeData().invalidDate()}function U(e,t){function n(e){return t.longDateFormat(e)||e}var a=5;for(Ia.lastIndex=0;a>=0&&Ia.test(e);)e=e.replace(Ia,n),Ia.lastIndex=0,a-=1;return e}function G(e,t,n){os[e]=T(t)?t:function(e,a){return e&&n?n:t}}function B(e,t){return l(os,e)?os[e](t._strict,t._locale):new RegExp(V(e))}function V(e){return K(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,a,s){return t||n||a||s}))}function K(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Z(e,t){var n,a=t;for("string"==typeof e&&(e=[e]),o(t)&&(a=function(e,n){n[t]=g(e)}),n=0;n<e.length;n++)ds[e[n]]=a}function Q(e,t){Z(e,function(e,n,a,s){a._w=a._w||{},t(e,a._w,a,s)})}function X(e,t,n){null!=t&&l(ds,e)&&ds[e](t,n._a,n,e)}function ee(e){return te(e)?366:365}function te(e){return e%4==0&&e%100!=0||e%400==0}function ne(){return te(this.year())}function ae(e,n){return function(a){return null!=a?(re(this,e,a),t.updateOffset(this,n),this):se(this,e)}}function se(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function re(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&te(e.year())&&1===e.month()&&29===e.date()?e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),ue(n,e.month())):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function ie(e){return e=C(e),T(this[e])?this[e]():this}function oe(e,t){if("object"==typeof e){e=F(e);for(var n=z(e),a=0;a<n.length;a++)this[n[a].unit](e[n[a].unit])}else if(e=C(e),T(this[e]))return this[e](t);return this}function de(e,t){return(e%t+t)%t}function ue(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=de(t,12);return e+=(t-n)/12,1===n?te(e)?29:28:31-n%7%2}function le(e,t){return e?a(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Ys).test(t)?"format":"standalone"][e.month()]:a(this._months)?this._months:this._months.standalone}function _e(e,t){return e?a(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Ys.test(t)?"format":"standalone"][e.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function ce(e,t,n){var a,s,r,i=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],a=0;a<12;++a)r=c([2e3,a]),this._shortMonthsParse[a]=this.monthsShort(r,"").toLocaleLowerCase(),this._longMonthsParse[a]=this.months(r,"").toLocaleLowerCase();return n?"MMM"===t?(s=ys.call(this._shortMonthsParse,i),-1!==s?s:null):(s=ys.call(this._longMonthsParse,i),-1!==s?s:null):"MMM"===t?-1!==(s=ys.call(this._shortMonthsParse,i))?s:(s=ys.call(this._longMonthsParse,i),-1!==s?s:null):-1!==(s=ys.call(this._longMonthsParse,i))?s:(s=ys.call(this._shortMonthsParse,i),-1!==s?s:null)}function me(e,t,n){var a,s,r;if(this._monthsParseExact)return ce.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),a=0;a<12;a++){if(s=c([2e3,a]),n&&!this._longMonthsParse[a]&&(this._longMonthsParse[a]=new RegExp("^"+this.months(s,"").replace(".","")+"$","i"),this._shortMonthsParse[a]=new RegExp("^"+this.monthsShort(s,"").replace(".","")+"$","i")),n||this._monthsParse[a]||(r="^"+this.months(s,"")+"|^"+this.monthsShort(s,""),this._monthsParse[a]=new RegExp(r.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[a].test(e))return a;if(n&&"MMM"===t&&this._shortMonthsParse[a].test(e))return a;if(!n&&this._monthsParse[a].test(e))return a}}function he(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=g(t);else if(t=e.localeData().monthsParse(t),!o(t))return e;return n=Math.min(e.date(),ue(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function fe(e){return null!=e?(he(this,e),t.updateOffset(this,!0),this):se(this,"Month")}function pe(){return ue(this.year(),this.month())}function Me(e){return this._monthsParseExact?(l(this,"_monthsRegex")||Le.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(l(this,"_monthsShortRegex")||(this._monthsShortRegex=ks),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function ye(e){return this._monthsParseExact?(l(this,"_monthsRegex")||Le.call(this),e?this._monthsStrictRegex:this._monthsRegex):(l(this,"_monthsRegex")||(this._monthsRegex=Ds),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function Le(){function e(e,t){return t.length-e.length}var t,n,a=[],s=[],r=[];for(t=0;t<12;t++)n=c([2e3,t]),a.push(this.monthsShort(n,"")),s.push(this.months(n,"")),r.push(this.months(n,"")),r.push(this.monthsShort(n,""));for(a.sort(e),s.sort(e),r.sort(e),t=0;t<12;t++)a[t]=K(a[t]),s[t]=K(s[t]);for(t=0;t<24;t++)r[t]=K(r[t]);this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Ye(e,t,n,a,s,r,i){var o=new Date(e,t,n,a,s,r,i);return e<100&&e>=0&&isFinite(o.getFullYear())&&o.setFullYear(e),o}function ge(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function ve(e,t,n){var a=7+t-n;return-(7+ge(e,0,a).getUTCDay()-t)%7+a-1}function ke(e,t,n,a,s){var r,i,o=(7+n-a)%7,d=ve(e,a,s),u=1+7*(t-1)+o+d;return u<=0?(r=e-1,i=ee(r)+u):u>ee(e)?(r=e+1,i=u-ee(e)):(r=e,i=u),{year:r,dayOfYear:i}}function De(e,t,n){var a,s,r=ve(e.year(),t,n),i=Math.floor((e.dayOfYear()-r-1)/7)+1;return i<1?(s=e.year()-1,a=i+we(s,t,n)):i>we(e.year(),t,n)?(a=i-we(e.year(),t,n),s=e.year()+1):(s=e.year(),a=i),{week:a,year:s}}function we(e,t,n){var a=ve(e,t,n),s=ve(e+1,t,n);return(ee(e)-a+s)/7}function Te(e){return De(e,this._week.dow,this._week.doy).week}function be(){return this._week.dow}function Se(){return this._week.doy}function xe(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function He(e){var t=De(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function je(e,t){return"string"!=typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"==typeof e?e:null):parseInt(e,10)}function Ee(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Oe(e,t){return e?a(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]:a(this._weekdays)?this._weekdays:this._weekdays.standalone}function Pe(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Ae(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin}function We(e,t,n){var a,s,r,i=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],a=0;a<7;++a)r=c([2e3,1]).day(a),this._minWeekdaysParse[a]=this.weekdaysMin(r,"").toLocaleLowerCase(),this._shortWeekdaysParse[a]=this.weekdaysShort(r,"").toLocaleLowerCase(),this._weekdaysParse[a]=this.weekdays(r,"").toLocaleLowerCase();return n?"dddd"===t?(s=ys.call(this._weekdaysParse,i),-1!==s?s:null):"ddd"===t?(s=ys.call(this._shortWeekdaysParse,i),-1!==s?s:null):(s=ys.call(this._minWeekdaysParse,i),-1!==s?s:null):"dddd"===t?-1!==(s=ys.call(this._weekdaysParse,i))?s:-1!==(s=ys.call(this._shortWeekdaysParse,i))?s:(s=ys.call(this._minWeekdaysParse,i),-1!==s?s:null):"ddd"===t?-1!==(s=ys.call(this._shortWeekdaysParse,i))?s:-1!==(s=ys.call(this._weekdaysParse,i))?s:(s=ys.call(this._minWeekdaysParse,i),-1!==s?s:null):-1!==(s=ys.call(this._minWeekdaysParse,i))?s:-1!==(s=ys.call(this._weekdaysParse,i))?s:(s=ys.call(this._shortWeekdaysParse,i),-1!==s?s:null)}function Ce(e,t,n){var a,s,r;if(this._weekdaysParseExact)return We.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),a=0;a<7;a++){if(s=c([2e3,1]).day(a),n&&!this._fullWeekdaysParse[a]&&(this._fullWeekdaysParse[a]=new RegExp("^"+this.weekdays(s,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[a]=new RegExp("^"+this.weekdaysShort(s,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[a]=new RegExp("^"+this.weekdaysMin(s,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[a]||(r="^"+this.weekdays(s,"")+"|^"+this.weekdaysShort(s,"")+"|^"+this.weekdaysMin(s,""),this._weekdaysParse[a]=new RegExp(r.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[a].test(e))return a;if(n&&"ddd"===t&&this._shortWeekdaysParse[a].test(e))return a;if(n&&"dd"===t&&this._minWeekdaysParse[a].test(e))return a;if(!n&&this._weekdaysParse[a].test(e))return a}}function Fe(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=je(e,this.localeData()),this.add(e-t,"d")):t}function Ne(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function ze(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Ee(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Ie(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Je.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(l(this,"_weekdaysRegex")||(this._weekdaysRegex=xs),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Re(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Je.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(l(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Hs),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function $e(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Je.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(l(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=js),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Je(){function e(e,t){return t.length-e.length}var t,n,a,s,r,i=[],o=[],d=[],u=[];for(t=0;t<7;t++)n=c([2e3,1]).day(t),a=this.weekdaysMin(n,""),s=this.weekdaysShort(n,""),r=this.weekdays(n,""),i.push(a),o.push(s),d.push(r),u.push(a),u.push(s),u.push(r);for(i.sort(e),o.sort(e),d.sort(e),u.sort(e),t=0;t<7;t++)o[t]=K(o[t]),d[t]=K(d[t]),u[t]=K(u[t]);this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+d.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+i.join("|")+")","i")}function qe(){return this.hours()%12||12}function Ue(){return this.hours()||24}function Ge(e,t){R(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function Be(e,t){return t._meridiemParse}function Ve(e){return"p"===(e+"").toLowerCase().charAt(0)}function Ke(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}function Ze(e){return e?e.toLowerCase().replace("_","-"):e}function Qe(e){for(var t,n,a,s,r=0;r<e.length;){for(s=Ze(e[r]).split("-"),t=s.length,n=Ze(e[r+1]),n=n?n.split("-"):null;t>0;){if(a=Xe(s.slice(0,t).join("-")))return a;if(n&&n.length>=t&&v(s,n,!0)>=t-1)break;t--}r++}return Es}function Xe(t){var a=null;if(!Ws[t]&&void 0!==e&&e&&e.exports)try{a=Es._abbr;n(189)("./"+t),et(a)}catch(e){}return Ws[t]}function et(e,t){var n;return e&&(n=i(t)?at(e):tt(e,t),n?Es=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Es._abbr}function tt(e,t){if(null!==t){var n,a=As;if(t.abbr=e,null!=Ws[e])w("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."),a=Ws[e]._config;else if(null!=t.parentLocale)if(null!=Ws[t.parentLocale])a=Ws[t.parentLocale]._config;else{if(null==(n=Xe(t.parentLocale)))return Cs[t.parentLocale]||(Cs[t.parentLocale]=[]),Cs[t.parentLocale].push({name:e,config:t}),null;a=n._config}return Ws[e]=new x(S(a,t)),Cs[e]&&Cs[e].forEach(function(e){tt(e.name,e.config)}),et(e),Ws[e]}return delete Ws[e],null}function nt(e,t){if(null!=t){var n,a,s=As;a=Xe(e),null!=a&&(s=a._config),t=S(s,t),n=new x(t),n.parentLocale=Ws[e],Ws[e]=n,et(e)}else null!=Ws[e]&&(null!=Ws[e].parentLocale?Ws[e]=Ws[e].parentLocale:null!=Ws[e]&&delete Ws[e]);return Ws[e]}function at(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Es;if(!a(e)){if(t=Xe(e))return t;e=[e]}return Qe(e)}function st(){return Oa(Ws)}function rt(e){var t,n=e._a;return n&&-2===h(e).overflow&&(t=n[ls]<0||n[ls]>11?ls:n[_s]<1||n[_s]>ue(n[us],n[ls])?_s:n[cs]<0||n[cs]>24||24===n[cs]&&(0!==n[ms]||0!==n[hs]||0!==n[fs])?cs:n[ms]<0||n[ms]>59?ms:n[hs]<0||n[hs]>59?hs:n[fs]<0||n[fs]>999?fs:-1,h(e)._overflowDayOfYear&&(t<us||t>_s)&&(t=_s),h(e)._overflowWeeks&&-1===t&&(t=ps),h(e)._overflowWeekday&&-1===t&&(t=Ms),h(e).overflow=t),e}function it(e,t,n){return null!=e?e:null!=t?t:n}function ot(e){var n=new Date(t.now());return e._useUTC?[n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate()]:[n.getFullYear(),n.getMonth(),n.getDate()]}function dt(e){var t,n,a,s,r,i=[];if(!e._d){for(a=ot(e),e._w&&null==e._a[_s]&&null==e._a[ls]&&ut(e),null!=e._dayOfYear&&(r=it(e._a[us],a[us]),(e._dayOfYear>ee(r)||0===e._dayOfYear)&&(h(e)._overflowDayOfYear=!0),n=ge(r,0,e._dayOfYear),e._a[ls]=n.getUTCMonth(),e._a[_s]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=i[t]=a[t];for(;t<7;t++)e._a[t]=i[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[cs]&&0===e._a[ms]&&0===e._a[hs]&&0===e._a[fs]&&(e._nextDay=!0,e._a[cs]=0),e._d=(e._useUTC?ge:Ye).apply(null,i),s=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[cs]=24),e._w&&void 0!==e._w.d&&e._w.d!==s&&(h(e).weekdayMismatch=!0)}}function ut(e){var t,n,a,s,r,i,o,d;if(t=e._w,null!=t.GG||null!=t.W||null!=t.E)r=1,i=4,n=it(t.GG,e._a[us],De(Tt(),1,4).year),a=it(t.W,1),((s=it(t.E,1))<1||s>7)&&(d=!0);else{r=e._locale._week.dow,i=e._locale._week.doy;var u=De(Tt(),r,i);n=it(t.gg,e._a[us],u.year),a=it(t.w,u.week),null!=t.d?((s=t.d)<0||s>6)&&(d=!0):null!=t.e?(s=t.e+r,(t.e<0||t.e>6)&&(d=!0)):s=r}a<1||a>we(n,r,i)?h(e)._overflowWeeks=!0:null!=d?h(e)._overflowWeekday=!0:(o=ke(n,a,s,r,i),e._a[us]=o.year,e._dayOfYear=o.dayOfYear)}function lt(e){var t,n,a,s,r,i,o=e._i,d=Fs.exec(o)||Ns.exec(o);if(d){for(h(e).iso=!0,t=0,n=Is.length;t<n;t++)if(Is[t][1].exec(d[1])){s=Is[t][0],a=!1!==Is[t][2];break}if(null==s)return void(e._isValid=!1);if(d[3]){for(t=0,n=Rs.length;t<n;t++)if(Rs[t][1].exec(d[3])){r=(d[2]||" ")+Rs[t][0];break}if(null==r)return void(e._isValid=!1)}if(!a&&null!=r)return void(e._isValid=!1);if(d[4]){if(!zs.exec(d[4]))return void(e._isValid=!1);i="Z"}e._f=s+(r||"")+(i||""),yt(e)}else e._isValid=!1}function _t(e,t,n,a,s,r){var i=[ct(e),vs.indexOf(t),parseInt(n,10),parseInt(a,10),parseInt(s,10)];return r&&i.push(parseInt(r,10)),i}function ct(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function mt(e){return e.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function ht(e,t,n){if(e){if(bs.indexOf(e)!==new Date(t[0],t[1],t[2]).getDay())return h(n).weekdayMismatch=!0,n._isValid=!1,!1}return!0}function ft(e,t,n){if(e)return qs[e];if(t)return 0;var a=parseInt(n,10),s=a%100;return(a-s)/100*60+s}function pt(e){var t=Js.exec(mt(e._i));if(t){var n=_t(t[4],t[3],t[2],t[5],t[6],t[7]);if(!ht(t[1],n,e))return;e._a=n,e._tzm=ft(t[8],t[9],t[10]),e._d=ge.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),h(e).rfc2822=!0}else e._isValid=!1}function Mt(e){var n=$s.exec(e._i);if(null!==n)return void(e._d=new Date(+n[1]));lt(e),!1===e._isValid&&(delete e._isValid,pt(e),!1===e._isValid&&(delete e._isValid,t.createFromInputFallback(e)))}function yt(e){if(e._f===t.ISO_8601)return void lt(e);if(e._f===t.RFC_2822)return void pt(e);e._a=[],h(e).empty=!0;var n,a,s,r,i,o=""+e._i,d=o.length,u=0;for(s=U(e._f,e._locale).match(za)||[],n=0;n<s.length;n++)r=s[n],a=(o.match(B(r,e))||[])[0],a&&(i=o.substr(0,o.indexOf(a)),i.length>0&&h(e).unusedInput.push(i),o=o.slice(o.indexOf(a)+a.length),u+=a.length),$a[r]?(a?h(e).empty=!1:h(e).unusedTokens.push(r),X(r,a,e)):e._strict&&!a&&h(e).unusedTokens.push(r);h(e).charsLeftOver=d-u,o.length>0&&h(e).unusedInput.push(o),e._a[cs]<=12&&!0===h(e).bigHour&&e._a[cs]>0&&(h(e).bigHour=void 0),h(e).parsedDateParts=e._a.slice(0),h(e).meridiem=e._meridiem,e._a[cs]=Lt(e._locale,e._a[cs],e._meridiem),dt(e),rt(e)}function Lt(e,t,n){var a;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(a=e.isPM(n),a&&t<12&&(t+=12),a||12!==t||(t=0),t):t}function Yt(e){var t,n,a,s,r;if(0===e._f.length)return h(e).invalidFormat=!0,void(e._d=new Date(NaN));for(s=0;s<e._f.length;s++)r=0,t=M({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[s],yt(t),f(t)&&(r+=h(t).charsLeftOver,r+=10*h(t).unusedTokens.length,h(t).score=r,(null==a||r<a)&&(a=r,n=t));_(e,n||t)}function gt(e){if(!e._d){var t=F(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)}),dt(e)}}function vt(e){var t=new y(rt(kt(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function kt(e){var t=e._i,n=e._f;return e._locale=e._locale||at(e._l),null===t||void 0===n&&""===t?p({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),L(t)?new y(rt(t)):(d(t)?e._d=t:a(n)?Yt(e):n?yt(e):Dt(e),f(e)||(e._d=null),e))}function Dt(e){var n=e._i;i(n)?e._d=new Date(t.now()):d(n)?e._d=new Date(n.valueOf()):"string"==typeof n?Mt(e):a(n)?(e._a=u(n.slice(0),function(e){return parseInt(e,10)}),dt(e)):s(n)?gt(e):o(n)?e._d=new Date(n):t.createFromInputFallback(e)}function wt(e,t,n,i,o){var d={};return!0!==n&&!1!==n||(i=n,n=void 0),(s(e)&&r(e)||a(e)&&0===e.length)&&(e=void 0),d._isAMomentObject=!0,d._useUTC=d._isUTC=o,d._l=n,d._i=e,d._f=t,d._strict=i,vt(d)}function Tt(e,t,n,a){return wt(e,t,n,a,!1)}function bt(e,t){var n,s;if(1===t.length&&a(t[0])&&(t=t[0]),!t.length)return Tt();for(n=t[0],s=1;s<t.length;++s)t[s].isValid()&&!t[s][e](n)||(n=t[s]);return n}function St(){return bt("isBefore",[].slice.call(arguments,0))}function xt(){return bt("isAfter",[].slice.call(arguments,0))}function Ht(e){for(var t in e)if(-1===ys.call(Vs,t)||null!=e[t]&&isNaN(e[t]))return!1;for(var n=!1,a=0;a<Vs.length;++a)if(e[Vs[a]]){if(n)return!1;parseFloat(e[Vs[a]])!==g(e[Vs[a]])&&(n=!0)}return!0}function jt(){return this._isValid}function Et(){return Zt(NaN)}function Ot(e){var t=F(e),n=t.year||0,a=t.quarter||0,s=t.month||0,r=t.week||0,i=t.day||0,o=t.hour||0,d=t.minute||0,u=t.second||0,l=t.millisecond||0;this._isValid=Ht(t),this._milliseconds=+l+1e3*u+6e4*d+1e3*o*60*60,this._days=+i+7*r,this._months=+s+3*a+12*n,this._data={},this._locale=at(),this._bubble()}function Pt(e){return e instanceof Ot}function At(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Wt(e,t){R(e,0,0,function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+I(~~(e/60),2)+t+I(~~e%60,2)})}function Ct(e,t){var n=(t||"").match(e);if(null===n)return null;var a=n[n.length-1]||[],s=(a+"").match(Ks)||["-",0,0],r=60*s[1]+g(s[2]);return 0===r?0:"+"===s[0]?r:-r}function Ft(e,n){var a,s;return n._isUTC?(a=n.clone(),s=(L(e)||d(e)?e.valueOf():Tt(e).valueOf())-a.valueOf(),a._d.setTime(a._d.valueOf()+s),t.updateOffset(a,!1),a):Tt(e).local()}function Nt(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function zt(e,n,a){var s,r=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=Ct(ss,e)))return this}else Math.abs(e)<16&&!a&&(e*=60);return!this._isUTC&&n&&(s=Nt(this)),this._offset=e,this._isUTC=!0,null!=s&&this.add(s,"m"),r!==e&&(!n||this._changeInProgress?nn(this,Zt(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,t.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?r:Nt(this)}function It(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function Rt(e){return this.utcOffset(0,e)}function $t(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Nt(this),"m")),this}function Jt(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=Ct(as,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function qt(e){return!!this.isValid()&&(e=e?Tt(e).utcOffset():0,(this.utcOffset()-e)%60==0)}function Ut(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Gt(){if(!i(this._isDSTShifted))return this._isDSTShifted;var e={};if(M(e,this),e=kt(e),e._a){var t=e._isUTC?c(e._a):Tt(e._a);this._isDSTShifted=this.isValid()&&v(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function Bt(){return!!this.isValid()&&!this._isUTC}function Vt(){return!!this.isValid()&&this._isUTC}function Kt(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function Zt(e,t){var n,a,s,r=e,i=null;return Pt(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:o(e)?(r={},t?r[t]=e:r.milliseconds=e):(i=Zs.exec(e))?(n="-"===i[1]?-1:1,r={y:0,d:g(i[_s])*n,h:g(i[cs])*n,m:g(i[ms])*n,s:g(i[hs])*n,ms:g(At(1e3*i[fs]))*n}):(i=Qs.exec(e))?(n="-"===i[1]?-1:(i[1],1),r={y:Qt(i[2],n),M:Qt(i[3],n),w:Qt(i[4],n),d:Qt(i[5],n),h:Qt(i[6],n),m:Qt(i[7],n),s:Qt(i[8],n)}):null==r?r={}:"object"==typeof r&&("from"in r||"to"in r)&&(s=en(Tt(r.from),Tt(r.to)),r={},r.ms=s.milliseconds,r.M=s.months),a=new Ot(r),Pt(e)&&l(e,"_locale")&&(a._locale=e._locale),a}function Qt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Xt(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 en(e,t){var n;return e.isValid()&&t.isValid()?(t=Ft(t,e),e.isBefore(t)?n=Xt(e,t):(n=Xt(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function tn(e,t){return function(n,a){var s,r;return null===a||isNaN(+a)||(w(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."),r=n,n=a,a=r),n="string"==typeof n?+n:n,s=Zt(n,a),nn(this,s,e),this}}function nn(e,n,a,s){var r=n._milliseconds,i=At(n._days),o=At(n._months);e.isValid()&&(s=null==s||s,o&&he(e,se(e,"Month")+o*a),i&&re(e,"Date",se(e,"Date")+i*a),r&&e._d.setTime(e._d.valueOf()+r*a),s&&t.updateOffset(e,i||o))}function an(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 sn(e,n){var a=e||Tt(),s=Ft(a,this).startOf("day"),r=t.calendarFormat(this,s)||"sameElse",i=n&&(T(n[r])?n[r].call(this,a):n[r]);return this.format(i||this.localeData().calendar(r,this,Tt(a)))}function rn(){return new y(this)}function on(e,t){var n=L(e)?e:Tt(e);return!(!this.isValid()||!n.isValid())&&(t=C(i(t)?"millisecond":t),"millisecond"===t?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())}function dn(e,t){var n=L(e)?e:Tt(e);return!(!this.isValid()||!n.isValid())&&(t=C(i(t)?"millisecond":t),"millisecond"===t?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())}function un(e,t,n,a){return a=a||"()",("("===a[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===a[1]?this.isBefore(t,n):!this.isAfter(t,n))}function ln(e,t){var n,a=L(e)?e:Tt(e);return!(!this.isValid()||!a.isValid())&&(t=C(t||"millisecond"),"millisecond"===t?this.valueOf()===a.valueOf():(n=a.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))}function _n(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function cn(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function mn(e,t,n){var a,s,r;if(!this.isValid())return NaN;if(a=Ft(e,this),!a.isValid())return NaN;switch(s=6e4*(a.utcOffset()-this.utcOffset()),t=C(t)){case"year":r=hn(this,a)/12;break;case"month":r=hn(this,a);break;case"quarter":r=hn(this,a)/3;break;case"second":r=(this-a)/1e3;break;case"minute":r=(this-a)/6e4;break;case"hour":r=(this-a)/36e5;break;case"day":r=(this-a-s)/864e5;break;case"week":r=(this-a-s)/6048e5;break;default:r=this-a}return n?r:Y(r)}function hn(e,t){var n,a,s=12*(t.year()-e.year())+(t.month()-e.month()),r=e.clone().add(s,"months");return t-r<0?(n=e.clone().add(s-1,"months"),a=(t-r)/(r-n)):(n=e.clone().add(s+1,"months"),a=(t-r)/(n-r)),-(s+a)||0}function fn(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function pn(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?q(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):T(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",q(n,"Z")):q(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Mn(){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+'("]',a=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",s=t+'[")]';return this.format(n+a+"-MM-DD[T]HH:mm:ss.SSS"+s)}function yn(e){e||(e=this.isUtc()?t.defaultFormatUtc:t.defaultFormat);var n=q(this,e);return this.localeData().postformat(n)}function Ln(e,t){return this.isValid()&&(L(e)&&e.isValid()||Tt(e).isValid())?Zt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Yn(e){return this.from(Tt(),e)}function gn(e,t){return this.isValid()&&(L(e)&&e.isValid()||Tt(e).isValid())?Zt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function vn(e){return this.to(Tt(),e)}function kn(e){var t;return void 0===e?this._locale._abbr:(t=at(e),null!=t&&(this._locale=t),this)}function Dn(){return this._locale}function wn(e){switch(e=C(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 Tn(e){return void 0===(e=C(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 Sn(){return Math.floor(this.valueOf()/1e3)}function xn(){return new Date(this.valueOf())}function Hn(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function jn(){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 En(){return this.isValid()?this.toISOString():null}function On(){return f(this)}function Pn(){return _({},h(this))}function An(){return h(this).overflow}function Wn(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Cn(e,t){R(0,[e,e.length],0,t)}function Fn(e){return Rn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Nn(e){return Rn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function zn(){return we(this.year(),1,4)}function In(){var e=this.localeData()._week;return we(this.year(),e.dow,e.doy)}function Rn(e,t,n,a,s){var r;return null==e?De(this,a,s).year:(r=we(e,a,s),t>r&&(t=r),$n.call(this,e,t,n,a,s))}function $n(e,t,n,a,s){var r=ke(e,t,n,a,s),i=ge(r.year,0,r.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}function Jn(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}function qn(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}function Un(e,t){t[fs]=g(1e3*("0."+e))}function Gn(){return this._isUTC?"UTC":""}function Bn(){return this._isUTC?"Coordinated Universal Time":""}function Vn(e){return Tt(1e3*e)}function Kn(){return Tt.apply(null,arguments).parseZone()}function Zn(e){return e}function Qn(e,t,n,a){var s=at(),r=c().set(a,t);return s[n](r,e)}function Xn(e,t,n){if(o(e)&&(t=e,e=void 0),e=e||"",null!=t)return Qn(e,t,n,"month");var a,s=[];for(a=0;a<12;a++)s[a]=Qn(e,a,n,"month");return s}function ea(e,t,n,a){"boolean"==typeof e?(o(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,o(t)&&(n=t,t=void 0),t=t||"");var s=at(),r=e?s._week.dow:0;if(null!=n)return Qn(t,(n+r)%7,a,"day");var i,d=[];for(i=0;i<7;i++)d[i]=Qn(t,(i+r)%7,a,"day");return d}function ta(e,t){return Xn(e,t,"months")}function na(e,t){return Xn(e,t,"monthsShort")}function aa(e,t,n){return ea(e,t,n,"weekdays")}function sa(e,t,n){return ea(e,t,n,"weekdaysShort")}function ra(e,t,n){return ea(e,t,n,"weekdaysMin")}function ia(){var e=this._data;return this._milliseconds=ur(this._milliseconds),this._days=ur(this._days),this._months=ur(this._months),e.milliseconds=ur(e.milliseconds),e.seconds=ur(e.seconds),e.minutes=ur(e.minutes),e.hours=ur(e.hours),e.months=ur(e.months),e.years=ur(e.years),this}function oa(e,t,n,a){var s=Zt(t,n);return e._milliseconds+=a*s._milliseconds,e._days+=a*s._days,e._months+=a*s._months,e._bubble()}function da(e,t){return oa(this,e,t,1)}function ua(e,t){return oa(this,e,t,-1)}function la(e){return e<0?Math.floor(e):Math.ceil(e)}function _a(){var e,t,n,a,s,r=this._milliseconds,i=this._days,o=this._months,d=this._data;return r>=0&&i>=0&&o>=0||r<=0&&i<=0&&o<=0||(r+=864e5*la(ma(o)+i),i=0,o=0),d.milliseconds=r%1e3,e=Y(r/1e3),d.seconds=e%60,t=Y(e/60),d.minutes=t%60,n=Y(t/60),d.hours=n%24,i+=Y(n/24),s=Y(ca(i)),o+=s,i-=la(ma(s)),a=Y(o/12),o%=12,d.days=i,d.months=o,d.years=a,this}function ca(e){return 4800*e/146097}function ma(e){return 146097*e/4800}function ha(e){if(!this.isValid())return NaN;var t,n,a=this._milliseconds;if("month"===(e=C(e))||"year"===e)return t=this._days+a/864e5,n=this._months+ca(t),"month"===e?n:n/12;switch(t=this._days+Math.round(ma(this._months)),e){case"week":return t/7+a/6048e5;case"day":return t+a/864e5;case"hour":return 24*t+a/36e5;case"minute":return 1440*t+a/6e4;case"second":return 86400*t+a/1e3;case"millisecond":return Math.floor(864e5*t)+a;default:throw new Error("Unknown unit "+e)}}function fa(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*g(this._months/12):NaN}function pa(e){return function(){return this.as(e)}}function Ma(){return Zt(this)}function ya(e){return e=C(e),this.isValid()?this[e+"s"]():NaN}function La(e){return function(){return this.isValid()?this._data[e]:NaN}}function Ya(){return Y(this.days()/7)}function ga(e,t,n,a,s){return s.relativeTime(t||1,!!n,e,a)}function va(e,t,n){var a=Zt(e).abs(),s=wr(a.as("s")),r=wr(a.as("m")),i=wr(a.as("h")),o=wr(a.as("d")),d=wr(a.as("M")),u=wr(a.as("y")),l=s<=Tr.ss&&["s",s]||s<Tr.s&&["ss",s]||r<=1&&["m"]||r<Tr.m&&["mm",r]||i<=1&&["h"]||i<Tr.h&&["hh",i]||o<=1&&["d"]||o<Tr.d&&["dd",o]||d<=1&&["M"]||d<Tr.M&&["MM",d]||u<=1&&["y"]||["yy",u];return l[2]=t,l[3]=+e>0,l[4]=n,ga.apply(null,l)}function ka(e){return void 0===e?wr:"function"==typeof e&&(wr=e,!0)}function Da(e,t){return void 0!==Tr[e]&&(void 0===t?Tr[e]:(Tr[e]=t,"s"===e&&(Tr.ss=t-1),!0))}function wa(e){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),n=va(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function Ta(e){return(e>0)-(e<0)||+e}function ba(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,a=br(this._milliseconds)/1e3,s=br(this._days),r=br(this._months);e=Y(a/60),t=Y(e/60),a%=60,e%=60,n=Y(r/12),r%=12;var i=n,o=r,d=s,u=t,l=e,_=a?a.toFixed(3).replace(/\.?0+$/,""):"",c=this.asSeconds();if(!c)return"P0D";var m=c<0?"-":"",h=Ta(this._months)!==Ta(c)?"-":"",f=Ta(this._days)!==Ta(c)?"-":"",p=Ta(this._milliseconds)!==Ta(c)?"-":"";return m+"P"+(i?h+i+"Y":"")+(o?h+o+"M":"")+(d?f+d+"D":"")+(u||l||_?"T":"")+(u?p+u+"H":"")+(l?p+l+"M":"")+(_?p+_+"S":"")}var Sa,xa;xa=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,a=0;a<n;a++)if(a in t&&e.call(this,t[a],a,t))return!0;return!1};var Ha=t.momentProperties=[],ja=!1,Ea={};t.suppressDeprecationWarnings=!1,t.deprecationHandler=null;var Oa;Oa=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)l(e,t)&&n.push(t);return n};var Pa={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},Aa={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"},Wa=/\d{1,2}/,Ca={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},Fa={},Na={},za=/(\[[^\[]*\])|(\\)?([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,Ia=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Ra={},$a={},Ja=/\d/,qa=/\d\d/,Ua=/\d{3}/,Ga=/\d{4}/,Ba=/[+-]?\d{6}/,Va=/\d\d?/,Ka=/\d\d\d\d?/,Za=/\d\d\d\d\d\d?/,Qa=/\d{1,3}/,Xa=/\d{1,4}/,es=/[+-]?\d{1,6}/,ts=/\d+/,ns=/[+-]?\d+/,as=/Z|[+-]\d\d:?\d\d/gi,ss=/Z|[+-]\d\d(?::?\d\d)?/gi,rs=/[+-]?\d+(\.\d{1,3})?/,is=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,os={},ds={},us=0,ls=1,_s=2,cs=3,ms=4,hs=5,fs=6,ps=7,Ms=8;R("Y",0,0,function(){var e=this.year();return e<=9999?""+e:"+"+e}),R(0,["YY",2],0,function(){return this.year()%100}),R(0,["YYYY",4],0,"year"),R(0,["YYYYY",5],0,"year"),R(0,["YYYYYY",6,!0],0,"year"),W("year","y"),N("year",1),G("Y",ns),G("YY",Va,qa),G("YYYY",Xa,Ga),G("YYYYY",es,Ba),G("YYYYYY",es,Ba),Z(["YYYYY","YYYYYY"],us),Z("YYYY",function(e,n){n[us]=2===e.length?t.parseTwoDigitYear(e):g(e)}),Z("YY",function(e,n){n[us]=t.parseTwoDigitYear(e)}),Z("Y",function(e,t){t[us]=parseInt(e,10)}),t.parseTwoDigitYear=function(e){return g(e)+(g(e)>68?1900:2e3)};var ys,Ls=ae("FullYear",!0);ys=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},R("M",["MM",2],"Mo",function(){return this.month()+1}),R("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),R("MMMM",0,0,function(e){return this.localeData().months(this,e)}),W("month","M"),N("month",8),G("M",Va),G("MM",Va,qa),G("MMM",function(e,t){return t.monthsShortRegex(e)}),G("MMMM",function(e,t){return t.monthsRegex(e)}),Z(["M","MM"],function(e,t){t[ls]=g(e)-1}),Z(["MMM","MMMM"],function(e,t,n,a){var s=n._locale.monthsParse(e,a,n._strict);null!=s?t[ls]=s:h(n).invalidMonth=e});var Ys=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,gs="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),vs="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),ks=is,Ds=is;R("w",["ww",2],"wo","week"),R("W",["WW",2],"Wo","isoWeek"),W("week","w"),W("isoWeek","W"),N("week",5),N("isoWeek",5),G("w",Va),G("ww",Va,qa),G("W",Va),G("WW",Va,qa),Q(["w","ww","W","WW"],function(e,t,n,a){t[a.substr(0,1)]=g(e)});var ws={dow:0,doy:6};R("d",0,"do","day"),R("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),R("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),R("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),R("e",0,0,"weekday"),R("E",0,0,"isoWeekday"),W("day","d"),W("weekday","e"),W("isoWeekday","E"),N("day",11),N("weekday",11),N("isoWeekday",11),G("d",Va),G("e",Va),G("E",Va),G("dd",function(e,t){return t.weekdaysMinRegex(e)}),G("ddd",function(e,t){return t.weekdaysShortRegex(e)}),G("dddd",function(e,t){return t.weekdaysRegex(e)}),Q(["dd","ddd","dddd"],function(e,t,n,a){var s=n._locale.weekdaysParse(e,a,n._strict);null!=s?t.d=s:h(n).invalidWeekday=e}),Q(["d","e","E"],function(e,t,n,a){t[a]=g(e)});var Ts="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),bs="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ss="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),xs=is,Hs=is,js=is;R("H",["HH",2],0,"hour"),R("h",["hh",2],0,qe),R("k",["kk",2],0,Ue),R("hmm",0,0,function(){return""+qe.apply(this)+I(this.minutes(),2)}),R("hmmss",0,0,function(){return""+qe.apply(this)+I(this.minutes(),2)+I(this.seconds(),2)}),R("Hmm",0,0,function(){return""+this.hours()+I(this.minutes(),2)}),R("Hmmss",0,0,function(){return""+this.hours()+I(this.minutes(),2)+I(this.seconds(),2)}),Ge("a",!0),Ge("A",!1),W("hour","h"),N("hour",13),G("a",Be),G("A",Be),G("H",Va),G("h",Va),G("k",Va),G("HH",Va,qa),G("hh",Va,qa),G("kk",Va,qa),G("hmm",Ka),G("hmmss",Za),G("Hmm",Ka),G("Hmmss",Za),Z(["H","HH"],cs),Z(["k","kk"],function(e,t,n){var a=g(e);t[cs]=24===a?0:a}),Z(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),Z(["h","hh"],function(e,t,n){t[cs]=g(e),h(n).bigHour=!0}),Z("hmm",function(e,t,n){var a=e.length-2;t[cs]=g(e.substr(0,a)),t[ms]=g(e.substr(a)),h(n).bigHour=!0}),Z("hmmss",function(e,t,n){var a=e.length-4,s=e.length-2;t[cs]=g(e.substr(0,a)),t[ms]=g(e.substr(a,2)),t[hs]=g(e.substr(s)),h(n).bigHour=!0}),Z("Hmm",function(e,t,n){var a=e.length-2;t[cs]=g(e.substr(0,a)),t[ms]=g(e.substr(a))}),Z("Hmmss",function(e,t,n){var a=e.length-4,s=e.length-2;t[cs]=g(e.substr(0,a)),t[ms]=g(e.substr(a,2)),t[hs]=g(e.substr(s))});var Es,Os=/[ap]\.?m?\.?/i,Ps=ae("Hours",!0),As={calendar:Pa,longDateFormat:Aa,invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:Wa,relativeTime:Ca,months:gs,monthsShort:vs,week:ws,weekdays:Ts,weekdaysMin:Ss,weekdaysShort:bs,meridiemParse:Os},Ws={},Cs={},Fs=/^\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)?)?$/,Ns=/^\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)?)?$/,zs=/Z|[+-]\d\d(?::?\d\d)?/,Is=[["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}/]],Rs=[["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/]],$s=/^\/?Date\((\-?\d+)/i,Js=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,qs={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};t.createFromInputFallback=D("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),t.ISO_8601=function(){},t.RFC_2822=function(){};var Us=D("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Tt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:p()}),Gs=D("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Tt.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:p()}),Bs=function(){return Date.now?Date.now():+new Date},Vs=["year","quarter","month","week","day","hour","minute","second","millisecond"];Wt("Z",":"),Wt("ZZ",""),G("Z",ss),G("ZZ",ss),Z(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Ct(ss,e)});var Ks=/([\+\-]|\d\d)/gi;t.updateOffset=function(){};var Zs=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Qs=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;Zt.fn=Ot.prototype,Zt.invalid=Et;var Xs=tn(1,"add"),er=tn(-1,"subtract");t.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",t.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var tr=D("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)});R(0,["gg",2],0,function(){return this.weekYear()%100}),R(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Cn("gggg","weekYear"),Cn("ggggg","weekYear"),Cn("GGGG","isoWeekYear"),Cn("GGGGG","isoWeekYear"),W("weekYear","gg"),W("isoWeekYear","GG"),N("weekYear",1),N("isoWeekYear",1),G("G",ns),G("g",ns),G("GG",Va,qa),G("gg",Va,qa),G("GGGG",Xa,Ga),G("gggg",Xa,Ga),G("GGGGG",es,Ba),G("ggggg",es,Ba),Q(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,a){t[a.substr(0,2)]=g(e)}),Q(["gg","GG"],function(e,n,a,s){n[s]=t.parseTwoDigitYear(e)}),R("Q",0,"Qo","quarter"),W("quarter","Q"),N("quarter",7),G("Q",Ja),Z("Q",function(e,t){t[ls]=3*(g(e)-1)}),R("D",["DD",2],"Do","date"),W("date","D"),N("date",9),G("D",Va),G("DD",Va,qa),G("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),Z(["D","DD"],_s),Z("Do",function(e,t){t[_s]=g(e.match(Va)[0])});var nr=ae("Date",!0);R("DDD",["DDDD",3],"DDDo","dayOfYear"),W("dayOfYear","DDD"),N("dayOfYear",4),G("DDD",Qa),G("DDDD",Ua),Z(["DDD","DDDD"],function(e,t,n){n._dayOfYear=g(e)}),R("m",["mm",2],0,"minute"),W("minute","m"),N("minute",14),G("m",Va),G("mm",Va,qa),Z(["m","mm"],ms);var ar=ae("Minutes",!1);R("s",["ss",2],0,"second"),W("second","s"),N("second",15),G("s",Va),G("ss",Va,qa),Z(["s","ss"],hs);var sr=ae("Seconds",!1);R("S",0,0,function(){return~~(this.millisecond()/100)}),R(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),R(0,["SSS",3],0,"millisecond"),R(0,["SSSS",4],0,function(){return 10*this.millisecond()}),R(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),R(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),R(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),R(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),R(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),W("millisecond","ms"),N("millisecond",16),G("S",Qa,Ja),G("SS",Qa,qa),G("SSS",Qa,Ua);var rr;for(rr="SSSS";rr.length<=9;rr+="S")G(rr,ts);for(rr="S";rr.length<=9;rr+="S")Z(rr,Un);var ir=ae("Milliseconds",!1);R("z",0,0,"zoneAbbr"),R("zz",0,0,"zoneName");var or=y.prototype;or.add=Xs,or.calendar=sn,or.clone=rn,or.diff=mn,or.endOf=Tn,or.format=yn,or.from=Ln,or.fromNow=Yn,or.to=gn,or.toNow=vn,or.get=ie,or.invalidAt=An,or.isAfter=on,or.isBefore=dn,or.isBetween=un,or.isSame=ln,or.isSameOrAfter=_n,or.isSameOrBefore=cn,or.isValid=On,or.lang=tr,or.locale=kn,or.localeData=Dn,or.max=Gs,or.min=Us,or.parsingFlags=Pn,or.set=oe,or.startOf=wn,or.subtract=er,or.toArray=Hn,or.toObject=jn,or.toDate=xn,or.toISOString=pn,or.inspect=Mn,or.toJSON=En,or.toString=fn,or.unix=Sn,or.valueOf=bn,or.creationData=Wn,or.year=Ls,or.isLeapYear=ne,or.weekYear=Fn,or.isoWeekYear=Nn,or.quarter=or.quarters=Jn,or.month=fe,or.daysInMonth=pe,or.week=or.weeks=xe,or.isoWeek=or.isoWeeks=He,or.weeksInYear=In,or.isoWeeksInYear=zn,or.date=nr,or.day=or.days=Fe,or.weekday=Ne,or.isoWeekday=ze,or.dayOfYear=qn,or.hour=or.hours=Ps,or.minute=or.minutes=ar,or.second=or.seconds=sr,or.millisecond=or.milliseconds=ir,or.utcOffset=zt,or.utc=Rt,or.local=$t,or.parseZone=Jt,or.hasAlignedHourOffset=qt,or.