UNPKG

occ-tinper-bee

Version:

Base tinper-bee 2.0.10-beta.2: React Components living for enterprise-class pc backend application

1 lines 2.23 MB
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("react-dom"),require("prop-types")):"function"==typeof define&&define.amd?define(["react","react-dom","prop-types"],t):"object"==typeof exports?exports["OCC-TinperBee"]=t(require("react"),require("react-dom"),require("prop-types")):e["OCC-TinperBee"]=t(e.React,e.ReactDOM,e.PropTypes)}("undefined"!=typeof self?self:this,function(e,t,n){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=463)}([function(t,n){t.exports=e},function(e,t){e.exports=n},function(e,t,n){var r,o;!function(){"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var o=typeof r;if("string"===o||"number"===o)e.push(r);else if(Array.isArray(r)&&r.length){var i=n.apply(null,r);i&&e.push(i)}else if("object"===o)for(var s in r)a.call(r,s)&&r[s]&&e.push(s)}}return e.join(" ")}var a={}.hasOwnProperty;void 0!==e&&e.exports?(n.default=n,e.exports=n):(r=[],void 0!==(o=function(){return n}.apply(t,r))&&(e.exports=o))}()},function(e,t,n){(function(e){!function(t,n){e.exports=n()}(0,function(){"use strict";function t(){return Lr.apply(null,arguments)}function r(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function o(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function a(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 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 f(e,t,n,r){return Ct(e,t,n,r,!0).utc()}function p(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function h(e){return null==e._pf&&(e._pf=p()),e._pf}function m(e){if(null==e._isValid){var t=h(e),n=kr.call(t.parsedDateParts,function(e){return null!=e}),r=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(r=r&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return r;e._isValid=r}return e._isValid}function y(e){var t=f(NaN);return null!=e?d(h(t),e):h(t).userInvalidated=!0,t}function v(e,t){var n,r,o;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),jr.length>0)for(n=0;n<jr.length;n++)r=jr[n],o=t[r],i(o)||(e[r]=o);return e}function b(e){v(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===Ar&&(Ar=!0,t.updateOffset(this),Ar=!1)}function g(e){return e instanceof b||null!=e&&null!=e._isAMomentObject}function _(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function w(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=_(t)),n}function E(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&&w(e[r])!==w(t[r]))&&i++;return i+a}function O(e){!1===t.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function M(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)}O(e+"\nArguments: "+Array.prototype.slice.call(a).join("")+"\n"+(new Error).stack),r=!1}return n.apply(this,arguments)},n)}function T(e,n){null!=t.deprecationHandler&&t.deprecationHandler(e,n),Ir[e]||(O(n),Ir[e]=!0)}function C(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],C(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 x(e,t){var n,r=d({},e);for(n in t)c(t,n)&&(o(e[n])&&o(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)&&o(e[n])&&(r[n]=d({},r[n]));return r}function P(e){null!=e&&this.set(e)}function D(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return C(r)?r.call(t,n):r}function N(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}),this._longDateFormat[e])}function L(){return this._invalidDate}function k(e){return this._ordinal.replace("%d",e)}function j(e,t,n,r){var o=this._relativeTime[n];return C(o)?o(e,t,n,r):o.replace(/%d/i,e)}function A(e,t){var n=this._relativeTime[e>0?"future":"past"];return C(n)?n(t):n.replace(/%s/i,t)}function I(e,t){var n=e.toLowerCase();Ur[n]=Ur[n+"s"]=Ur[t]=e}function R(e){return"string"==typeof e?Ur[e]||Ur[e.toLowerCase()]:void 0}function Y(e){var t,n,r={};for(n in e)c(e,n)&&(t=R(n))&&(r[t]=e[n]);return r}function F(e,t){Wr[e]=t}function H(e){var t=[];for(var n in e)t.push({unit:n,priority:Wr[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}function V(e,t,n){var r=""+Math.abs(e),o=t-r.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,o)).toString().substr(1)+r}function U(e,t,n,r){var o=r;"string"==typeof r&&(o=function(){return this[r]()}),e&&(Gr[e]=o),t&&(Gr[t[0]]=function(){return V(o.apply(this,arguments),t[1],t[2])}),n&&(Gr[n]=function(){return this.localeData().ordinal(o.apply(this,arguments),e)})}function W(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function K(e){var t,n,r=e.match(Kr);for(t=0,n=r.length;t<n;t++)Gr[r[t]]?r[t]=Gr[r[t]]:r[t]=W(r[t]);return function(t){var o,a="";for(o=0;o<n;o++)a+=C(r[o])?r[o].call(t,e):r[o];return a}}function z(e,t){return e.isValid()?(t=B(t,e.localeData()),Br[t]=Br[t]||K(t),Br[t](e)):e.localeData().invalidDate()}function B(e,t){function n(e){return t.longDateFormat(e)||e}var r=5;for(zr.lastIndex=0;r>=0&&zr.test(e);)e=e.replace(zr,n),zr.lastIndex=0,r-=1;return e}function G(e,t,n){fo[e]=C(t)?t:function(e,r){return e&&n?n:t}}function q(e,t){return c(fo,e)?fo[e](t._strict,t._locale):new RegExp(X(e))}function X(e){return $(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,o){return t||n||r||o}))}function $(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function J(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),s(t)&&(r=function(e,n){n[t]=w(e)}),n=0;n<e.length;n++)po[e[n]]=r}function Q(e,t){J(e,function(e,n,r,o){r._w=r._w||{},t(e,r._w,r,o)})}function Z(e,t,n){null!=t&&c(po,e)&&po[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 re(e,n){return function(r){return null!=r?(ae(this,e,r),t.updateOffset(this,n),this):oe(this,e)}}function oe(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function ae(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=R(e),C(this[e])?this[e]():this}function se(e,t){if("object"==typeof e){e=Y(e);for(var n=H(e),r=0;r<n.length;r++)this[n[r].unit](e[n[r].unit])}else if(e=R(e),C(this[e]))return this[e](t);return this}function le(e,t){return(e%t+t)%t}function ue(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=le(t,12);return e+=(t-n)/12,1===n?te(e)?29:28:31-n%7%2}function ce(e,t){return e?r(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||To).test(t)?"format":"standalone"][e.month()]:r(this._months)?this._months:this._months.standalone}function de(e,t){return e?r(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[To.test(t)?"format":"standalone"][e.month()]:r(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function fe(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=f([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(a,"").toLocaleLowerCase();return n?"MMM"===t?(o=Oo.call(this._shortMonthsParse,i),-1!==o?o:null):(o=Oo.call(this._longMonthsParse,i),-1!==o?o:null):"MMM"===t?-1!==(o=Oo.call(this._shortMonthsParse,i))?o:(o=Oo.call(this._longMonthsParse,i),-1!==o?o:null):-1!==(o=Oo.call(this._longMonthsParse,i))?o:(o=Oo.call(this._shortMonthsParse,i),-1!==o?o:null)}function pe(e,t,n){var r,o,a;if(this._monthsParseExact)return fe.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(o=f([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 he(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=w(t);else if(t=e.localeData().monthsParse(t),!s(t))return e;return n=Math.min(e.date(),ue(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function me(e){return null!=e?(he(this,e),t.updateOffset(this,!0),this):oe(this,"Month")}function ye(){return ue(this.year(),this.month())}function ve(e){return this._monthsParseExact?(c(this,"_monthsRegex")||ge.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(c(this,"_monthsShortRegex")||(this._monthsShortRegex=xo),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function be(e){return this._monthsParseExact?(c(this,"_monthsRegex")||ge.call(this),e?this._monthsStrictRegex:this._monthsRegex):(c(this,"_monthsRegex")||(this._monthsRegex=Po),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function ge(){function e(e,t){return t.length-e.length}var t,n,r=[],o=[],a=[];for(t=0;t<12;t++)n=f([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]=$(r[t]),o[t]=$(o[t]);for(t=0;t<24;t++)a[t]=$(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 _e(e,t,n,r,o,a,i){var s;return e<100&&e>=0?(s=new Date(e+400,t,n,r,o,a,i),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,o,a,i),s}function we(e){var t;if(e<100&&e>=0){var n=Array.prototype.slice.call(arguments);n[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)}else t=new Date(Date.UTC.apply(null,arguments));return t}function Ee(e,t,n){var r=7+t-n;return-(7+we(e,0,r).getUTCDay()-t)%7+r-1}function Oe(e,t,n,r,o){var a,i,s=(7+n-r)%7,l=Ee(e,r,o),u=1+7*(t-1)+s+l;return u<=0?(a=e-1,i=ee(a)+u):u>ee(e)?(a=e+1,i=u-ee(e)):(a=e,i=u),{year:a,dayOfYear:i}}function Me(e,t,n){var r,o,a=Ee(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=Ee(e,t,n),o=Ee(e+1,t,n);return(ee(e)-r+o)/7}function Ce(e){return Me(e,this._week.dow,this._week.doy).week}function Se(){return this._week.dow}function xe(){return this._week.doy}function Pe(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function De(e){var t=Me(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Ne(e,t){return"string"!=typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"==typeof e?e:null):parseInt(e,10)}function Le(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function ke(e,t){return e.slice(t,7).concat(e.slice(0,t))}function je(e,t){var n=r(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?ke(n,this._week.dow):e?n[e.day()]:n}function Ae(e){return!0===e?ke(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Ie(e){return!0===e?ke(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Re(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=f([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=Oo.call(this._weekdaysParse,i),-1!==o?o:null):"ddd"===t?(o=Oo.call(this._shortWeekdaysParse,i),-1!==o?o:null):(o=Oo.call(this._minWeekdaysParse,i),-1!==o?o:null):"dddd"===t?-1!==(o=Oo.call(this._weekdaysParse,i))?o:-1!==(o=Oo.call(this._shortWeekdaysParse,i))?o:(o=Oo.call(this._minWeekdaysParse,i),-1!==o?o:null):"ddd"===t?-1!==(o=Oo.call(this._shortWeekdaysParse,i))?o:-1!==(o=Oo.call(this._weekdaysParse,i))?o:(o=Oo.call(this._minWeekdaysParse,i),-1!==o?o:null):-1!==(o=Oo.call(this._minWeekdaysParse,i))?o:-1!==(o=Oo.call(this._weekdaysParse,i))?o:(o=Oo.call(this._shortWeekdaysParse,i),-1!==o?o:null)}function Ye(e,t,n){var r,o,a;if(this._weekdaysParseExact)return Re.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(o=f([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 Fe(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Ne(e,this.localeData()),this.add(e-t,"d")):t}function He(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function Ve(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Le(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Ue(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||ze.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(c(this,"_weekdaysRegex")||(this._weekdaysRegex=jo),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function We(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||ze.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(c(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ao),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Ke(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||ze.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(c(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Io),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function ze(){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=f([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]=$(s[t]),l[t]=$(l[t]),u[t]=$(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 Be(){return this.hours()%12||12}function Ge(){return this.hours()||24}function qe(e,t){U(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function Xe(e,t){return t._meridiemParse}function $e(e){return"p"===(e+"").toLowerCase().charAt(0)}function Je(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}function Qe(e){return e?e.toLowerCase().replace("_","-"):e}function Ze(e){for(var t,n,r,o,a=0;a<e.length;){for(o=Qe(e[a]).split("-"),t=o.length,n=Qe(e[a+1]),n=n?n.split("-"):null;t>0;){if(r=et(o.slice(0,t).join("-")))return r;if(n&&n.length>=t&&E(o,n,!0)>=t-1)break;t--}a++}return Ro}function et(t){var r=null;if(!Vo[t]&&void 0!==e&&e&&e.exports)try{r=Ro._abbr;n(1074)("./"+t),tt(r)}catch(e){}return Vo[t]}function tt(e,t){var n;return e&&(n=i(t)?ot(e):nt(e,t),n?Ro=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Ro._abbr}function nt(e,t){if(null!==t){var n,r=Ho;if(t.abbr=e,null!=Vo[e])T("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=Vo[e]._config;else if(null!=t.parentLocale)if(null!=Vo[t.parentLocale])r=Vo[t.parentLocale]._config;else{if(null==(n=et(t.parentLocale)))return Uo[t.parentLocale]||(Uo[t.parentLocale]=[]),Uo[t.parentLocale].push({name:e,config:t}),null;r=n._config}return Vo[e]=new P(x(r,t)),Uo[e]&&Uo[e].forEach(function(e){nt(e.name,e.config)}),tt(e),Vo[e]}return delete Vo[e],null}function rt(e,t){if(null!=t){var n,r,o=Ho;r=et(e),null!=r&&(o=r._config),t=x(o,t),n=new P(t),n.parentLocale=Vo[e],Vo[e]=n,tt(e)}else null!=Vo[e]&&(null!=Vo[e].parentLocale?Vo[e]=Vo[e].parentLocale:null!=Vo[e]&&delete Vo[e]);return Vo[e]}function ot(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Ro;if(!r(e)){if(t=et(e))return t;e=[e]}return Ze(e)}function at(){return Rr(Vo)}function it(e){var t,n=e._a;return n&&-2===h(e).overflow&&(t=n[mo]<0||n[mo]>11?mo:n[yo]<1||n[yo]>ue(n[ho],n[mo])?yo:n[vo]<0||n[vo]>24||24===n[vo]&&(0!==n[bo]||0!==n[go]||0!==n[_o])?vo:n[bo]<0||n[bo]>59?bo:n[go]<0||n[go]>59?go:n[_o]<0||n[_o]>999?_o:-1,h(e)._overflowDayOfYear&&(t<ho||t>yo)&&(t=yo),h(e)._overflowWeeks&&-1===t&&(t=wo),h(e)._overflowWeekday&&-1===t&&(t=Eo),h(e).overflow=t),e}function st(e,t,n){return null!=e?e:null!=t?t:n}function lt(e){var n=new Date(t.now());return e._useUTC?[n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate()]:[n.getFullYear(),n.getMonth(),n.getDate()]}function ut(e){var t,n,r,o,a,i=[];if(!e._d){for(r=lt(e),e._w&&null==e._a[yo]&&null==e._a[mo]&&ct(e),null!=e._dayOfYear&&(a=st(e._a[ho],r[ho]),(e._dayOfYear>ee(a)||0===e._dayOfYear)&&(h(e)._overflowDayOfYear=!0),n=we(a,0,e._dayOfYear),e._a[mo]=n.getUTCMonth(),e._a[yo]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=i[t]=r[t];for(;t<7;t++)e._a[t]=i[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[vo]&&0===e._a[bo]&&0===e._a[go]&&0===e._a[_o]&&(e._nextDay=!0,e._a[vo]=0),e._d=(e._useUTC?we:_e).apply(null,i),o=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[vo]=24),e._w&&void 0!==e._w.d&&e._w.d!==o&&(h(e).weekdayMismatch=!0)}}function ct(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=st(t.GG,e._a[ho],Me(St(),1,4).year),r=st(t.W,1),((o=st(t.E,1))<1||o>7)&&(l=!0);else{a=e._locale._week.dow,i=e._locale._week.doy;var u=Me(St(),a,i);n=st(t.gg,e._a[ho],u.year),r=st(t.w,u.week),null!=t.d?((o=t.d)<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=Oe(n,r,o,a,i),e._a[ho]=s.year,e._dayOfYear=s.dayOfYear)}function dt(e){var t,n,r,o,a,i,s=e._i,l=Wo.exec(s)||Ko.exec(s);if(l){for(h(e).iso=!0,t=0,n=Bo.length;t<n;t++)if(Bo[t][1].exec(l[1])){o=Bo[t][0],r=!1!==Bo[t][2];break}if(null==o)return void(e._isValid=!1);if(l[3]){for(t=0,n=Go.length;t<n;t++)if(Go[t][1].exec(l[3])){a=(l[2]||" ")+Go[t][0];break}if(null==a)return void(e._isValid=!1)}if(!r&&null!=a)return void(e._isValid=!1);if(l[4]){if(!zo.exec(l[4]))return void(e._isValid=!1);i="Z"}e._f=o+(a||"")+(i||""),gt(e)}else e._isValid=!1}function ft(e,t,n,r,o,a){var i=[pt(e),So.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(o,10)];return a&&i.push(parseInt(a,10)),i}function pt(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function ht(e){return e.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function mt(e,t,n){if(e){if(Lo.indexOf(e)!==new Date(t[0],t[1],t[2]).getDay())return h(n).weekdayMismatch=!0,n._isValid=!1,!1}return!0}function yt(e,t,n){if(e)return $o[e];if(t)return 0;var r=parseInt(n,10),o=r%100;return(r-o)/100*60+o}function vt(e){var t=Xo.exec(ht(e._i));if(t){var n=ft(t[4],t[3],t[2],t[5],t[6],t[7]);if(!mt(t[1],n,e))return;e._a=n,e._tzm=yt(t[8],t[9],t[10]),e._d=we.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),h(e).rfc2822=!0}else e._isValid=!1}function bt(e){var n=qo.exec(e._i);if(null!==n)return void(e._d=new Date(+n[1]));dt(e),!1===e._isValid&&(delete e._isValid,vt(e),!1===e._isValid&&(delete e._isValid,t.createFromInputFallback(e)))}function gt(e){if(e._f===t.ISO_8601)return void dt(e);if(e._f===t.RFC_2822)return void vt(e);e._a=[],h(e).empty=!0;var n,r,o,a,i,s=""+e._i,l=s.length,u=0;for(o=B(e._f,e._locale).match(Kr)||[],n=0;n<o.length;n++)a=o[n],r=(s.match(q(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),Gr[a]?(r?h(e).empty=!1:h(e).unusedTokens.push(a),Z(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[vo]<=12&&!0===h(e).bigHour&&e._a[vo]>0&&(h(e).bigHour=void 0),h(e).parsedDateParts=e._a.slice(0),h(e).meridiem=e._meridiem,e._a[vo]=_t(e._locale,e._a[vo],e._meridiem),ut(e),it(e)}function _t(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 wt(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=v({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[o],gt(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 Et(e){if(!e._d){var t=Y(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)}),ut(e)}}function Ot(e){var t=new b(it(Mt(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function Mt(e){var t=e._i,n=e._f;return e._locale=e._locale||ot(e._l),null===t||void 0===n&&""===t?y({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),g(t)?new b(it(t)):(l(t)?e._d=t:r(n)?wt(e):n?gt(e):Tt(e),m(e)||(e._d=null),e))}function Tt(e){var n=e._i;i(n)?e._d=new Date(t.now()):l(n)?e._d=new Date(n.valueOf()):"string"==typeof n?bt(e):r(n)?(e._a=u(n.slice(0),function(e){return parseInt(e,10)}),ut(e)):o(n)?Et(e):s(n)?e._d=new Date(n):t.createFromInputFallback(e)}function Ct(e,t,n,i,s){var l={};return!0!==n&&!1!==n||(i=n,n=void 0),(o(e)&&a(e)||r(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=i,Ot(l)}function St(e,t,n,r){return Ct(e,t,n,r,!1)}function xt(e,t){var n,o;if(1===t.length&&r(t[0])&&(t=t[0]),!t.length)return St();for(n=t[0],o=1;o<t.length;++o)t[o].isValid()&&!t[o][e](n)||(n=t[o]);return n}function Pt(){return xt("isBefore",[].slice.call(arguments,0))}function Dt(){return xt("isAfter",[].slice.call(arguments,0))}function Nt(e){for(var t in e)if(-1===Oo.call(ea,t)||null!=e[t]&&isNaN(e[t]))return!1;for(var n=!1,r=0;r<ea.length;++r)if(e[ea[r]]){if(n)return!1;parseFloat(e[ea[r]])!==w(e[ea[r]])&&(n=!0)}return!0}function Lt(){return this._isValid}function kt(){return Qt(NaN)}function jt(e){var t=Y(e),n=t.year||0,r=t.quarter||0,o=t.month||0,a=t.week||t.isoWeek||0,i=t.day||0,s=t.hour||0,l=t.minute||0,u=t.second||0,c=t.millisecond||0;this._isValid=Nt(t),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=ot(),this._bubble()}function At(e){return e instanceof jt}function It(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Rt(e,t){U(e,0,0,function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+V(~~(e/60),2)+t+V(~~e%60,2)})}function Yt(e,t){var n=(t||"").match(e);if(null===n)return null;var r=n[n.length-1]||[],o=(r+"").match(ta)||["-",0,0],a=60*o[1]+w(o[2]);return 0===a?0:"+"===o[0]?a:-a}function Ft(e,n){var r,o;return n._isUTC?(r=n.clone(),o=(g(e)||l(e)?e.valueOf():St(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+o),t.updateOffset(r,!1),r):St(e).local()}function Ht(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function Vt(e,n,r){var o,a=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=Yt(lo,e)))return this}else Math.abs(e)<16&&!r&&(e*=60);return!this._isUTC&&n&&(o=Ht(this)),this._offset=e,this._isUTC=!0,null!=o&&this.add(o,"m"),a!==e&&(!n||this._changeInProgress?rn(this,Qt(e-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,t.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?a:Ht(this)}function Ut(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function Wt(e){return this.utcOffset(0,e)}function Kt(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Ht(this),"m")),this}function zt(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=Yt(so,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function Bt(e){return!!this.isValid()&&(e=e?St(e).utcOffset():0,(this.utcOffset()-e)%60==0)}function Gt(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function qt(){if(!i(this._isDSTShifted))return this._isDSTShifted;var e={};if(v(e,this),e=Mt(e),e._a){var t=e._isUTC?f(e._a):St(e._a);this._isDSTShifted=this.isValid()&&E(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function Xt(){return!!this.isValid()&&!this._isUTC}function $t(){return!!this.isValid()&&this._isUTC}function Jt(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function Qt(e,t){var n,r,o,a=e,i=null;return At(e)?a={ms:e._milliseconds,d:e._days,M:e._months}:s(e)?(a={},t?a[t]=e:a.milliseconds=e):(i=na.exec(e))?(n="-"===i[1]?-1:1,a={y:0,d:w(i[yo])*n,h:w(i[vo])*n,m:w(i[bo])*n,s:w(i[go])*n,ms:w(It(1e3*i[_o]))*n}):(i=ra.exec(e))?(n="-"===i[1]?-1:1,a={y:Zt(i[2],n),M:Zt(i[3],n),w:Zt(i[4],n),d:Zt(i[5],n),h:Zt(i[6],n),m:Zt(i[7],n),s:Zt(i[8],n)}):null==a?a={}:"object"==typeof a&&("from"in a||"to"in a)&&(o=tn(St(a.from),St(a.to)),a={},a.ms=o.milliseconds,a.M=o.months),r=new jt(a),At(e)&&c(e,"_locale")&&(r._locale=e._locale),r}function Zt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function en(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function tn(e,t){var n;return e.isValid()&&t.isValid()?(t=Ft(t,e),e.isBefore(t)?n=en(e,t):(n=en(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function nn(e,t){return function(n,r){var o,a;return null===r||isNaN(+r)||(T(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=Qt(n,r),rn(this,o,e),this}}function rn(e,n,r,o){var a=n._milliseconds,i=It(n._days),s=It(n._months);e.isValid()&&(o=null==o||o,s&&he(e,oe(e,"Month")+s*r),i&&ae(e,"Date",oe(e,"Date")+i*r),a&&e._d.setTime(e._d.valueOf()+a*r),o&&t.updateOffset(e,i||s))}function on(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function an(e,n){var r=e||St(),o=Ft(r,this).startOf("day"),a=t.calendarFormat(this,o)||"sameElse",i=n&&(C(n[a])?n[a].call(this,r):n[a]);return this.format(i||this.localeData().calendar(a,this,St(r)))}function sn(){return new b(this)}function ln(e,t){var n=g(e)?e:St(e);return!(!this.isValid()||!n.isValid())&&(t=R(t)||"millisecond","millisecond"===t?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())}function un(e,t){var n=g(e)?e:St(e);return!(!this.isValid()||!n.isValid())&&(t=R(t)||"millisecond","millisecond"===t?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())}function cn(e,t,n,r){var o=g(e)?e:St(e),a=g(t)?t:St(t);return!!(this.isValid()&&o.isValid()&&a.isValid())&&(r=r||"()",("("===r[0]?this.isAfter(o,n):!this.isBefore(o,n))&&(")"===r[1]?this.isBefore(a,n):!this.isAfter(a,n)))}function dn(e,t){var n,r=g(e)?e:St(e);return!(!this.isValid()||!r.isValid())&&(t=R(t)||"millisecond","millisecond"===t?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))}function fn(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function pn(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function hn(e,t,n){var r,o,a;if(!this.isValid())return NaN;if(r=Ft(e,this),!r.isValid())return NaN;switch(o=6e4*(r.utcOffset()-this.utcOffset()),t=R(t)){case"year":a=mn(this,r)/12;break;case"month":a=mn(this,r);break;case"quarter":a=mn(this,r)/3;break;case"second":a=(this-r)/1e3;break;case"minute":a=(this-r)/6e4;break;case"hour":a=(this-r)/36e5;break;case"day":a=(this-r-o)/864e5;break;case"week":a=(this-r-o)/6048e5;break;default:a=this-r}return n?a:_(a)}function mn(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 yn(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function vn(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?z(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):C(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",z(n,"Z")):z(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function bn(){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=t+'[")]';return this.format(n+r+"-MM-DD[T]HH:mm:ss.SSS"+o)}function gn(e){e||(e=this.isUtc()?t.defaultFormatUtc:t.defaultFormat);var n=z(this,e);return this.localeData().postformat(n)}function _n(e,t){return this.isValid()&&(g(e)&&e.isValid()||St(e).isValid())?Qt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function wn(e){return this.from(St(),e)}function En(e,t){return this.isValid()&&(g(e)&&e.isValid()||St(e).isValid())?Qt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function On(e){return this.to(St(),e)}function Mn(e){var t;return void 0===e?this._locale._abbr:(t=ot(e),null!=t&&(this._locale=t),this)}function Tn(){return this._locale}function Cn(e,t){return(e%t+t)%t}function Sn(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-ca:new Date(e,t,n).valueOf()}function xn(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-ca:Date.UTC(e,t,n)}function Pn(e){var n;if(void 0===(e=R(e))||"millisecond"===e||!this.isValid())return this;var r=this._isUTC?xn:Sn;switch(e){case"year":n=r(this.year(),0,1);break;case"quarter":n=r(this.year(),this.month()-this.month()%3,1);break;case"month":n=r(this.year(),this.month(),1);break;case"week":n=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":n=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":n=r(this.year(),this.month(),this.date());break;case"hour":n=this._d.valueOf(),n-=Cn(n+(this._isUTC?0:this.utcOffset()*la),ua);break;case"minute":n=this._d.valueOf(),n-=Cn(n,la);break;case"second":n=this._d.valueOf(),n-=Cn(n,sa)}return this._d.setTime(n),t.updateOffset(this,!0),this}function Dn(e){var n;if(void 0===(e=R(e))||"millisecond"===e||!this.isValid())return this;var r=this._isUTC?xn:Sn;switch(e){case"year":n=r(this.year()+1,0,1)-1;break;case"quarter":n=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":n=r(this.year(),this.month()+1,1)-1;break;case"week":n=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":n=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":n=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":n=this._d.valueOf(),n+=ua-Cn(n+(this._isUTC?0:this.utcOffset()*la),ua)-1;break;case"minute":n=this._d.valueOf(),n+=la-Cn(n,la)-1;break;case"second":n=this._d.valueOf(),n+=sa-Cn(n,sa)-1}return this._d.setTime(n),t.updateOffset(this,!0),this}function Nn(){return this._d.valueOf()-6e4*(this._offset||0)}function Ln(){return Math.floor(this.valueOf()/1e3)}function kn(){return new Date(this.valueOf())}function jn(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function An(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function In(){return this.isValid()?this.toISOString():null}function Rn(){return m(this)}function Yn(){return d({},h(this))}function Fn(){return h(this).overflow}function Hn(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Vn(e,t){U(0,[e,e.length],0,t)}function Un(e){return Bn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Wn(e){return Bn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Kn(){return Te(this.year(),1,4)}function zn(){var e=this.localeData()._week;return Te(this.year(),e.dow,e.doy)}function Bn(e,t,n,r,o){var a;return null==e?Me(this,r,o).year:(a=Te(e,r,o),t>a&&(t=a),Gn.call(this,e,t,n,r,o))}function Gn(e,t,n,r,o){var a=Oe(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 qn(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}function Xn(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}function $n(e,t){t[_o]=w(1e3*("0."+e))}function Jn(){return this._isUTC?"UTC":""}function Qn(){return this._isUTC?"Coordinated Universal Time":""}function Zn(e){return St(1e3*e)}function er(){return St.apply(null,arguments).parseZone()}function tr(e){return e}function nr(e,t,n,r){var o=ot(),a=f().set(r,t);return o[n](a,e)}function rr(e,t,n){if(s(e)&&(t=e,e=void 0),e=e||"",null!=t)return nr(e,t,n,"month");var r,o=[];for(r=0;r<12;r++)o[r]=nr(e,r,n,"month");return o}function or(e,t,n,r){"boolean"==typeof e?(s(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,s(t)&&(n=t,t=void 0),t=t||"");var o=ot(),a=e?o._week.dow:0;if(null!=n)return nr(t,(n+a)%7,r,"day");var i,l=[];for(i=0;i<7;i++)l[i]=nr(t,(i+a)%7,r,"day");return l}function ar(e,t){return rr(e,t,"months")}function ir(e,t){return rr(e,t,"monthsShort")}function sr(e,t,n){return or(e,t,n,"weekdays")}function lr(e,t,n){return or(e,t,n,"weekdaysShort")}function ur(e,t,n){return or(e,t,n,"weekdaysMin")}function cr(){var e=this._data;return this._milliseconds=ba(this._milliseconds),this._days=ba(this._days),this._months=ba(this._months),e.milliseconds=ba(e.milliseconds),e.seconds=ba(e.seconds),e.minutes=ba(e.minutes),e.hours=ba(e.hours),e.months=ba(e.months),e.years=ba(e.years),this}function dr(e,t,n,r){var o=Qt(t,n);return e._milliseconds+=r*o._milliseconds,e._days+=r*o._days,e._months+=r*o._months,e._bubble()}function fr(e,t){return dr(this,e,t,1)}function pr(e,t){return dr(this,e,t,-1)}function hr(e){return e<0?Math.floor(e):Math.ceil(e)}function mr(){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*hr(vr(s)+i),i=0,s=0),l.milliseconds=a%1e3,e=_(a/1e3),l.seconds=e%60,t=_(e/60),l.minutes=t%60,n=_(t/60),l.hours=n%24,i+=_(n/24),o=_(yr(i)),s+=o,i-=hr(vr(o)),r=_(s/12),s%=12,l.days=i,l.months=s,l.years=r,this}function yr(e){return 4800*e/146097}function vr(e){return 146097*e/4800}function br(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=R(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+yr(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(vr(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 gr(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*w(this._months/12):NaN}function _r(e){return function(){return this.as(e)}}function wr(){return Qt(this)}function Er(e){return e=R(e),this.isValid()?this[e+"s"]():NaN}function Or(e){return function(){return this.isValid()?this._data[e]:NaN}}function Mr(){return _(this.days()/7)}function Tr(e,t,n,r,o){return o.relativeTime(t||1,!!n,e,r)}function Cr(e,t,n){var r=Qt(e).abs(),o=Aa(r.as("s")),a=Aa(r.as("m")),i=Aa(r.as("h")),s=Aa(r.as("d")),l=Aa(r.as("M")),u=Aa(r.as("y")),c=o<=Ia.ss&&["s",o]||o<Ia.s&&["ss",o]||a<=1&&["m"]||a<Ia.m&&["mm",a]||i<=1&&["h"]||i<Ia.h&&["hh",i]||s<=1&&["d"]||s<Ia.d&&["dd",s]||l<=1&&["M"]||l<Ia.M&&["MM",l]||u<=1&&["y"]||["yy",u];return c[2]=t,c[3]=+e>0,c[4]=n,Tr.apply(null,c)}function Sr(e){return void 0===e?Aa:"function"==typeof e&&(Aa=e,!0)}function xr(e,t){return void 0!==Ia[e]&&(void 0===t?Ia[e]:(Ia[e]=t,"s"===e&&(Ia.ss=t-1),!0))}function Pr(e){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),n=Cr(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function Dr(e){return(e>0)-(e<0)||+e}function Nr(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r=Ra(this._milliseconds)/1e3,o=Ra(this._days),a=Ra(this._months);e=_(r/60),t=_(e/60),r%=60,e%=60,n=_(a/12),a%=12;var i=n,s=a,l=o,u=t,c=e,d=r?r.toFixed(3).replace(/\.?0+$/,""):"",f=this.asSeconds();if(!f)return"P0D";var p=f<0?"-":"",h=Dr(this._months)!==Dr(f)?"-":"",m=Dr(this._days)!==Dr(f)?"-":"",y=Dr(this._milliseconds)!==Dr(f)?"-":"";return p+"P"+(i?h+i+"Y":"")+(s?h+s+"M":"")+(l?m+l+"D":"")+(u||c||d?"T":"")+(u?y+u+"H":"")+(c?y+c+"M":"")+(d?y+d+"S":"")}var Lr,kr;kr=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 jr=t.momentProperties=[],Ar=!1,Ir={};t.suppressDeprecationWarnings=!1,t.deprecationHandler=null;var Rr;Rr=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)c(e,t)&&n.push(t);return n};var Yr={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},Fr={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"},Hr=/\d{1,2}/,Vr={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"},Ur={},Wr={},Kr=/(\[[^\[]*\])|(\\)?([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,zr=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Br={},Gr={},qr=/\d/,Xr=/\d\d/,$r=/\d{3}/,Jr=/\d{4}/,Qr=/[+-]?\d{6}/,Zr=/\d\d?/,eo=/\d\d\d\d?/,to=/\d\d\d\d\d\d?/,no=/\d{1,3}/,ro=/\d{1,4}/,oo=/[+-]?\d{1,6}/,ao=/\d+/,io=/[+-]?\d+/,so=/Z|[+-]\d\d:?\d\d/gi,lo=/Z|[+-]\d\d(?::?\d\d)?/gi,uo=/[+-]?\d+(\.\d{1,3})?/,co=/[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,fo={},po={},ho=0,mo=1,yo=2,vo=3,bo=4,go=5,_o=6,wo=7,Eo=8;U("Y",0,0,function(){var e=this.year();return e<=9999?""+e:"+"+e}),U(0,["YY",2],0,function(){return this.year()%100}),U(0,["YYYY",4],0,"year"),U(0,["YYYYY",5],0,"year"),U(0,["YYYYYY",6,!0],0,"year"),I("year","y"),F("year",1),G("Y",io),G("YY",Zr,Xr),G("YYYY",ro,Jr),G("YYYYY",oo,Qr),G("YYYYYY",oo,Qr),J(["YYYYY","YYYYYY"],ho),J("YYYY",function(e,n){n[ho]=2===e.length?t.parseTwoDigitYear(e):w(e)}),J("YY",function(e,n){n[ho]=t.parseTwoDigitYear(e)}),J("Y",function(e,t){t[ho]=parseInt(e,10)}),t.parseTwoDigitYear=function(e){return w(e)+(w(e)>68?1900:2e3)};var Oo,Mo=re("FullYear",!0);Oo=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},U("M",["MM",2],"Mo",function(){return this.month()+1}),U("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),U("MMMM",0,0,function(e){return this.localeData().months(this,e)}),I("month","M"),F("month",8),G("M",Zr),G("MM",Zr,Xr),G("MMM",function(e,t){return t.monthsShortRegex(e)}),G("MMMM",function(e,t){return t.monthsRegex(e)}),J(["M","MM"],function(e,t){t[mo]=w(e)-1}),J(["MMM","MMMM"],function(e,t,n,r){var o=n._locale.monthsParse(e,r,n._strict);null!=o?t[mo]=o:h(n).invalidMonth=e});var To=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Co="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),So="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),xo=co,Po=co;U("w",["ww",2],"wo","week"),U("W",["WW",2],"Wo","isoWeek"),I("week","w"),I("isoWeek","W"),F("week",5),F("isoWeek",5),G("w",Zr),G("ww",Zr,Xr),G("W",Zr),G("WW",Zr,Xr),Q(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=w(e)});var Do={dow:0,doy:6};U("d",0,"do","day"),U("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),U("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),U("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),U("e",0,0,"weekday"),U("E",0,0,"isoWeekday"),I("day","d"),I("weekday","e"),I("isoWeekday","E"),F("day",11),F("weekday",11),F("isoWeekday",11),G("d",Zr),G("e",Zr),G("E",Zr),G("dd",function(e,t){return t.weekdaysMinRegex(e)}),G("ddd",function(e,t){return t.weekdaysShortRegex(e)}),G("dddd",function(e,t){return t.weekdaysRegex(e)}),Q(["dd","ddd","dddd"],function(e,t,n,r){var o=n._locale.weekdaysParse(e,r,n._strict);null!=o?t.d=o:h(n).invalidWeekday=e}),Q(["d","e","E"],function(e,t,n,r){t[r]=w(e)});var No="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Lo="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),ko="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),jo=co,Ao=co,Io=co;U("H",["HH",2],0,"hour"),U("h",["hh",2],0,Be),U("k",["kk",2],0,Ge),U("hmm",0,0,function(){return""+Be.apply(this)+V(this.minutes(),2)}),U("hmmss",0,0,function(){return""+Be.apply(this)+V(this.minutes(),2)+V(this.seconds(),2)}),U("Hmm",0,0,function(){return""+this.hours()+V(this.minutes(),2)}),U("Hmmss",0,0,function(){return""+this.hours()+V(this.minutes(),2)+V(this.seconds(),2)}),qe("a",!0),qe("A",!1),I("hour","h"),F("hour",13),G("a",Xe),G("A",Xe),G("H",Zr),G("h",Zr),G("k",Zr),G("HH",Zr,Xr),G("hh",Zr,Xr),G("kk",Zr,Xr),G("hmm",eo),G("hmmss",to),G("Hmm",eo),G("Hmmss",to),J(["H","HH"],vo),J(["k","kk"],function(e,t,n){var r=w(e);t[vo]=24===r?0:r}),J(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),J(["h","hh"],function(e,t,n){t[vo]=w(e),h(n).bigHour=!0}),J("hmm",function(e,t,n){var r=e.length-2;t[vo]=w(e.substr(0,r)),t[bo]=w(e.substr(r)),h(n).bigHour=!0}),J("hmmss",function(e,t,n){var r=e.length-4,o=e.length-2;t[vo]=w(e.substr(0,r)),t[bo]=w(e.substr(r,2)),t[go]=w(e.substr(o)),h(n).bigHour=!0}),J("Hmm",function(e,t,n){var r=e.length-2;t[vo]=w(e.substr(0,r)),t[bo]=w(e.substr(r))}),J("Hmmss",function(e,t,n){var r=e.length-4,o=e.length-2;t[vo]=w(e.substr(0,r)),t[bo]=w(e.substr(r,2)),t[go]=w(e.substr(o))});var Ro,Yo=/[ap]\.?m?\.?/i,Fo=re("Hours",!0),Ho={calendar:Yr,longDateFormat:Fr,invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:Hr,relativeTime:Vr,months:Co,monthsShort:So,week:Do,weekdays:No,weekdaysMin:ko,weekdaysShort:Lo,meridiemParse:Yo},Vo={},Uo={},Wo=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Ko=/^\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)?)?$/,zo=/Z|[+-]\d\d(?::?\d\d)?/,Bo=[["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}/]],Go=[["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/]],qo=/^\/?Date\((\-?\d+)/i,Xo=/^(?:(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}))$/,$o={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};t.createFromInputFallback=M("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged 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 Jo=M("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=St.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:y()}),Qo=M("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=St.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:y()}),Zo=function(){return Date.now?Date.now():+new Date},ea=["year","quarter","month","week","day","hour","minute","second","millisecond"];Rt("Z",":"),Rt("ZZ",""),G("Z",lo),G("ZZ",lo),J(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Yt(lo,e)});var ta=/([\+\-]|\d\d)/gi;t.updateOffset=function(){};var na=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,ra=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;Qt.fn=jt.prototype,Qt.invalid=kt;var oa=nn(1,"add"),aa=nn(-1,"subtract");t.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",t.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var ia=M("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)}),sa=1e3,la=60*sa,ua=60*la,ca=3506328*ua;U(0,["gg",2],0,function(){return this.weekYear()%100}),U(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Vn("gggg","weekYear"),Vn("ggggg","weekYear"),Vn("GGGG","isoWeekYear"),Vn("GGGGG","isoWeekYear"),I("weekYear","gg"),I("isoWeekYear","GG"),F("weekYear",1),F("isoWeekYear",1),G("G",io),G("g",io),G("GG",Zr,Xr),G("gg",Zr,Xr),G("GGGG",ro,Jr),G("gggg",ro,Jr),G("GGGGG",oo,Qr),G("ggggg",oo,Qr),Q(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=w(e)}),Q(["gg","GG"],function(e,n,r