coc-nuxt-iview
Version:
coc engine based implementation for nuxt-iview applications
1 lines • 513 kB
JavaScript
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("coc-nuxt-iview",[],t):"object"==typeof exports?exports["coc-nuxt-iview"]=t():e["coc-nuxt-iview"]=t()}(this,function(){return function(n){var r={};function a(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,a),t.l=!0,t.exports}return a.m=n,a.c=r,a.d=function(e,t,n){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(t,e){if(1&e&&(t=a(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)a.d(n,r,function(e){return t[e]}.bind(null,r));return n},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="/dist",a(a.s=233)}([function(e,t,Gn){(function(Jn){Jn.exports=function(){"use strict";var e,a;function p(){return e.apply(null,arguments)}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function u(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function i(e){return void 0===e}function d(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function s(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function l(e,t){var n,r=[];for(n=0;n<e.length;++n)r.push(t(e[n],n));return r}function y(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function c(e,t){for(var n in t)y(t,n)&&(e[n]=t[n]);return y(t,"toString")&&(e.toString=t.toString),y(t,"valueOf")&&(e.valueOf=t.valueOf),e}function _(e,t,n,r){return xt(e,t,n,r,!0).utc()}function v(e){return null==e._pf&&(e._pf={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}),e._pf}function m(e){if(null==e._isValid){var t=v(e),n=a.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 f(e){var t=_(NaN);return null!=e?c(v(t),e):v(t).userInvalidated=!0,t}a=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 h=p.momentProperties=[];function M(e,t){var n,r,a;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=v(t)),i(t._locale)||(e._locale=t._locale),0<h.length)for(n=0;n<h.length;n++)r=h[n],i(a=t[r])||(e[r]=a);return e}var t=!1;function g(e){M(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===t&&(t=!0,p.updateOffset(this),t=!1)}function L(e){return e instanceof g||null!=e&&null!=e._isAMomentObject}function Y(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function k(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=Y(t)),n}function b(e,t,n){var r,a=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),s=0;for(r=0;r<a;r++)(n&&e[r]!==t[r]||!n&&k(e[r])!==k(t[r]))&&s++;return s+i}function w(e){!1===p.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function n(a,i){var s=!0;return c(function(){if(null!=p.deprecationHandler&&p.deprecationHandler(null,a),s){for(var e,t=[],n=0;n<arguments.length;n++){if(e="","object"==typeof arguments[n]){for(var r in e+="\n["+n+"] ",arguments[0])e+=r+": "+arguments[0][r]+", ";e=e.slice(0,-2)}else e=arguments[n];t.push(e)}w(a+"\nArguments: "+Array.prototype.slice.call(t).join("")+"\n"+(new Error).stack),s=!1}return i.apply(this,arguments)},i)}var r,D={};function T(e,t){null!=p.deprecationHandler&&p.deprecationHandler(e,t),D[e]||(w(t),D[e]=!0)}function S(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function x(e,t){var n,r=c({},e);for(n in t)y(t,n)&&(u(e[n])&&u(t[n])?(r[n]={},c(r[n],e[n]),c(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)y(e,n)&&!y(t,n)&&u(e[n])&&(r[n]=c({},r[n]));return r}function j(e){null!=e&&this.set(e)}p.suppressDeprecationWarnings=!1,p.deprecationHandler=null,r=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)y(e,t)&&n.push(t);return n};var H={};function O(e,t){var n=e.toLowerCase();H[n]=H[n+"s"]=H[t]=e}function C(e){return"string"==typeof e?H[e]||H[e.toLowerCase()]:void 0}function A(e){var t,n,r={};for(n in e)y(e,n)&&(t=C(n))&&(r[t]=e[n]);return r}var E={};function P(e,t){E[e]=t}function F(e){var t=[];for(var n in e)t.push({unit:n,priority:E[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}function R(e,t,n){var r=""+Math.abs(e),a=t-r.length,i=0<=e;return(i?n?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+r}var W=/(\[[^\[]*\])|(\\)?([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,I=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,z={},V={};function $(e,t,n,r){var a=r;"string"==typeof r&&(a=function(){return this[r]()}),e&&(V[e]=a),t&&(V[t[0]]=function(){return R(a.apply(this,arguments),t[1],t[2])}),n&&(V[n]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function N(e,t){return e.isValid()?(t=B(t,e.localeData()),z[t]=z[t]||function(r){var e,a,t,i=r.match(W);for(e=0,a=i.length;e<a;e++)V[i[e]]?i[e]=V[i[e]]:i[e]=(t=i[e]).match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"");return function(e){var t,n="";for(t=0;t<a;t++)n+=S(i[t])?i[t].call(e,r):i[t];return n}}(t),z[t](e)):e.localeData().invalidDate()}function B(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(I.lastIndex=0;0<=n&&I.test(e);)e=e.replace(I,r),I.lastIndex=0,n-=1;return e}var J=/\d/,G=/\d\d/,U=/\d{3}/,q=/\d{4}/,K=/[+-]?\d{6}/,Z=/\d\d?/,Q=/\d\d\d\d?/,X=/\d\d\d\d\d\d?/,ee=/\d{1,3}/,te=/\d{1,4}/,ne=/[+-]?\d{1,6}/,re=/\d+/,ae=/[+-]?\d+/,ie=/Z|[+-]\d\d:?\d\d/gi,se=/Z|[+-]\d\d(?::?\d\d)?/gi,oe=/[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,ue={};function le(e,n,r){ue[e]=S(n)?n:function(e,t){return e&&r?r:n}}function de(e,t){return y(ue,e)?ue[e](t._strict,t._locale):new RegExp(ce(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,a){return t||n||r||a})))}function ce(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var _e={};function me(e,n){var t,r=n;for("string"==typeof e&&(e=[e]),d(n)&&(r=function(e,t){t[n]=k(e)}),t=0;t<e.length;t++)_e[e[t]]=r}function fe(e,a){me(e,function(e,t,n,r){n._w=n._w||{},a(e,n._w,n,r)})}var he=0,pe=1,ye=2,ve=3,Me=4,ge=5,Le=6,Ye=7,ke=8;function be(e){return we(e)?366:365}function we(e){return e%4==0&&e%100!=0||e%400==0}$("Y",0,0,function(){var e=this.year();return e<=9999?""+e:"+"+e}),$(0,["YY",2],0,function(){return this.year()%100}),$(0,["YYYY",4],0,"year"),$(0,["YYYYY",5],0,"year"),$(0,["YYYYYY",6,!0],0,"year"),O("year","y"),P("year",1),le("Y",ae),le("YY",Z,G),le("YYYY",te,q),le("YYYYY",ne,K),le("YYYYYY",ne,K),me(["YYYYY","YYYYYY"],he),me("YYYY",function(e,t){t[he]=2===e.length?p.parseTwoDigitYear(e):k(e)}),me("YY",function(e,t){t[he]=p.parseTwoDigitYear(e)}),me("Y",function(e,t){t[he]=parseInt(e,10)}),p.parseTwoDigitYear=function(e){return k(e)+(68<k(e)?1900:2e3)};var De,Te=Se("FullYear",!0);function Se(t,n){return function(e){return null!=e?(je(this,t,e),p.updateOffset(this,n),this):xe(this,t)}}function xe(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function je(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&we(e.year())&&1===e.month()&&29===e.date()?e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),He(n,e.month())):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function He(e,t){if(isNaN(e)||isNaN(t))return NaN;var n,r=(t%(n=12)+n)%n;return e+=(t-r)/12,1===r?we(e)?29:28:31-r%7%2}De=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},$("M",["MM",2],"Mo",function(){return this.month()+1}),$("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),$("MMMM",0,0,function(e){return this.localeData().months(this,e)}),O("month","M"),P("month",8),le("M",Z),le("MM",Z,G),le("MMM",function(e,t){return t.monthsShortRegex(e)}),le("MMMM",function(e,t){return t.monthsRegex(e)}),me(["M","MM"],function(e,t){t[pe]=k(e)-1}),me(["MMM","MMMM"],function(e,t,n,r){var a=n._locale.monthsParse(e,r,n._strict);null!=a?t[pe]=a:v(n).invalidMonth=e});var Oe=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ce="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ae="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function Ee(e,t,n){var r,a,i,s=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)i=_([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(i,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(a=De.call(this._shortMonthsParse,s))?a:null:-1!==(a=De.call(this._longMonthsParse,s))?a:null:"MMM"===t?-1!==(a=De.call(this._shortMonthsParse,s))?a:-1!==(a=De.call(this._longMonthsParse,s))?a:null:-1!==(a=De.call(this._longMonthsParse,s))?a:-1!==(a=De.call(this._shortMonthsParse,s))?a:null}function Pe(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=k(t);else if(!d(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),He(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function Fe(e){return null!=e?(Pe(this,e),p.updateOffset(this,!0),this):xe(this,"Month")}var Re=oe,We=oe;function Ie(){function e(e,t){return t.length-e.length}var t,n,r=[],a=[],i=[];for(t=0;t<12;t++)n=_([2e3,t]),r.push(this.monthsShort(n,"")),a.push(this.months(n,"")),i.push(this.months(n,"")),i.push(this.monthsShort(n,""));for(r.sort(e),a.sort(e),i.sort(e),t=0;t<12;t++)r[t]=ce(r[t]),a[t]=ce(a[t]);for(t=0;t<24;t++)i[t]=ce(i[t]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function ze(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&0<=e&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function Ve(e,t,n){var r=7+t-n,a=(7+ze(e,0,r).getUTCDay()-t)%7;return-a+r-1}function $e(e,t,n,r,a){var i,s,o=(7+n-r)%7,u=Ve(e,r,a),l=1+7*(t-1)+o+u;return s=l<=0?be(i=e-1)+l:l>be(e)?(i=e+1,l-be(e)):(i=e,l),{year:i,dayOfYear:s}}function Ne(e,t,n){var r,a,i=Ve(e.year(),t,n),s=Math.floor((e.dayOfYear()-i-1)/7)+1;return s<1?(a=e.year()-1,r=s+Be(a,t,n)):s>Be(e.year(),t,n)?(r=s-Be(e.year(),t,n),a=e.year()+1):(a=e.year(),r=s),{week:r,year:a}}function Be(e,t,n){var r=Ve(e,t,n),a=Ve(e+1,t,n);return(be(e)-r+a)/7}$("w",["ww",2],"wo","week"),$("W",["WW",2],"Wo","isoWeek"),O("week","w"),O("isoWeek","W"),P("week",5),P("isoWeek",5),le("w",Z),le("ww",Z,G),le("W",Z),le("WW",Z,G),fe(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=k(e)}),$("d",0,"do","day"),$("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),$("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),$("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),$("e",0,0,"weekday"),$("E",0,0,"isoWeekday"),O("day","d"),O("weekday","e"),O("isoWeekday","E"),P("day",11),P("weekday",11),P("isoWeekday",11),le("d",Z),le("e",Z),le("E",Z),le("dd",function(e,t){return t.weekdaysMinRegex(e)}),le("ddd",function(e,t){return t.weekdaysShortRegex(e)}),le("dddd",function(e,t){return t.weekdaysRegex(e)}),fe(["dd","ddd","dddd"],function(e,t,n,r){var a=n._locale.weekdaysParse(e,r,n._strict);null!=a?t.d=a:v(n).invalidWeekday=e}),fe(["d","e","E"],function(e,t,n,r){t[r]=k(e)});var Je="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ge="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ue="Su_Mo_Tu_We_Th_Fr_Sa".split("_");function qe(e,t,n){var r,a,i,s=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)i=_([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(i,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(a=De.call(this._weekdaysParse,s))?a:null:"ddd"===t?-1!==(a=De.call(this._shortWeekdaysParse,s))?a:null:-1!==(a=De.call(this._minWeekdaysParse,s))?a:null:"dddd"===t?-1!==(a=De.call(this._weekdaysParse,s))?a:-1!==(a=De.call(this._shortWeekdaysParse,s))?a:-1!==(a=De.call(this._minWeekdaysParse,s))?a:null:"ddd"===t?-1!==(a=De.call(this._shortWeekdaysParse,s))?a:-1!==(a=De.call(this._weekdaysParse,s))?a:-1!==(a=De.call(this._minWeekdaysParse,s))?a:null:-1!==(a=De.call(this._minWeekdaysParse,s))?a:-1!==(a=De.call(this._weekdaysParse,s))?a:-1!==(a=De.call(this._shortWeekdaysParse,s))?a:null}var Ke=oe,Ze=oe,Qe=oe;function Xe(){function e(e,t){return t.length-e.length}var t,n,r,a,i,s=[],o=[],u=[],l=[];for(t=0;t<7;t++)n=_([2e3,1]).day(t),r=this.weekdaysMin(n,""),a=this.weekdaysShort(n,""),i=this.weekdays(n,""),s.push(r),o.push(a),u.push(i),l.push(r),l.push(a),l.push(i);for(s.sort(e),o.sort(e),u.sort(e),l.sort(e),t=0;t<7;t++)o[t]=ce(o[t]),u[t]=ce(u[t]),l[t]=ce(l[t]);this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+s.join("|")+")","i")}function et(){return this.hours()%12||12}function tt(e,t){$(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function nt(e,t){return t._meridiemParse}$("H",["HH",2],0,"hour"),$("h",["hh",2],0,et),$("k",["kk",2],0,function(){return this.hours()||24}),$("hmm",0,0,function(){return""+et.apply(this)+R(this.minutes(),2)}),$("hmmss",0,0,function(){return""+et.apply(this)+R(this.minutes(),2)+R(this.seconds(),2)}),$("Hmm",0,0,function(){return""+this.hours()+R(this.minutes(),2)}),$("Hmmss",0,0,function(){return""+this.hours()+R(this.minutes(),2)+R(this.seconds(),2)}),tt("a",!0),tt("A",!1),O("hour","h"),P("hour",13),le("a",nt),le("A",nt),le("H",Z),le("h",Z),le("k",Z),le("HH",Z,G),le("hh",Z,G),le("kk",Z,G),le("hmm",Q),le("hmmss",X),le("Hmm",Q),le("Hmmss",X),me(["H","HH"],ve),me(["k","kk"],function(e,t,n){var r=k(e);t[ve]=24===r?0:r}),me(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),me(["h","hh"],function(e,t,n){t[ve]=k(e),v(n).bigHour=!0}),me("hmm",function(e,t,n){var r=e.length-2;t[ve]=k(e.substr(0,r)),t[Me]=k(e.substr(r)),v(n).bigHour=!0}),me("hmmss",function(e,t,n){var r=e.length-4,a=e.length-2;t[ve]=k(e.substr(0,r)),t[Me]=k(e.substr(r,2)),t[ge]=k(e.substr(a)),v(n).bigHour=!0}),me("Hmm",function(e,t,n){var r=e.length-2;t[ve]=k(e.substr(0,r)),t[Me]=k(e.substr(r))}),me("Hmmss",function(e,t,n){var r=e.length-4,a=e.length-2;t[ve]=k(e.substr(0,r)),t[Me]=k(e.substr(r,2)),t[ge]=k(e.substr(a))});var rt,at=Se("Hours",!0),it={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{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"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{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"},months:Ce,monthsShort:Ae,week:{dow:0,doy:6},weekdays:Je,weekdaysMin:Ue,weekdaysShort:Ge,meridiemParse:/[ap]\.?m?\.?/i},st={},ot={};function ut(e){return e?e.toLowerCase().replace("_","-"):e}function lt(e){var t=null;if(!st[e]&&void 0!==Jn&&Jn&&Jn.exports)try{t=rt._abbr,Gn(238)("./"+e),dt(t)}catch(e){}return st[e]}function dt(e,t){var n;return e&&((n=i(t)?_t(e):ct(e,t))?rt=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),rt._abbr}function ct(e,t){if(null===t)return delete st[e],null;var n,r=it;if(t.abbr=e,null!=st[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=st[e]._config;else if(null!=t.parentLocale)if(null!=st[t.parentLocale])r=st[t.parentLocale]._config;else{if(null==(n=lt(t.parentLocale)))return ot[t.parentLocale]||(ot[t.parentLocale]=[]),ot[t.parentLocale].push({name:e,config:t}),null;r=n._config}return st[e]=new j(x(r,t)),ot[e]&&ot[e].forEach(function(e){ct(e.name,e.config)}),dt(e),st[e]}function _t(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return rt;if(!o(e)){if(t=lt(e))return t;e=[e]}return function(e){for(var t,n,r,a,i=0;i<e.length;){for(a=ut(e[i]).split("-"),t=a.length,n=(n=ut(e[i+1]))?n.split("-"):null;0<t;){if(r=lt(a.slice(0,t).join("-")))return r;if(n&&n.length>=t&&b(a,n,!0)>=t-1)break;t--}i++}return rt}(e)}function mt(e){var t,n=e._a;return n&&-2===v(e).overflow&&(t=n[pe]<0||11<n[pe]?pe:n[ye]<1||n[ye]>He(n[he],n[pe])?ye:n[ve]<0||24<n[ve]||24===n[ve]&&(0!==n[Me]||0!==n[ge]||0!==n[Le])?ve:n[Me]<0||59<n[Me]?Me:n[ge]<0||59<n[ge]?ge:n[Le]<0||999<n[Le]?Le:-1,v(e)._overflowDayOfYear&&(t<he||ye<t)&&(t=ye),v(e)._overflowWeeks&&-1===t&&(t=Ye),v(e)._overflowWeekday&&-1===t&&(t=ke),v(e).overflow=t),e}function ft(e,t,n){return null!=e?e:null!=t?t:n}function ht(e){var t,n,r,a,i,s,o,u=[];if(!e._d){for(s=e,o=void 0,o=new Date(p.now()),r=s._useUTC?[o.getUTCFullYear(),o.getUTCMonth(),o.getUTCDate()]:[o.getFullYear(),o.getMonth(),o.getDate()],e._w&&null==e._a[ye]&&null==e._a[pe]&&function(e){var t,n,r,a,i,s,o,u;if(null!=(t=e._w).GG||null!=t.W||null!=t.E)i=1,s=4,n=ft(t.GG,e._a[he],Ne(jt(),1,4).year),r=ft(t.W,1),((a=ft(t.E,1))<1||7<a)&&(u=!0);else{i=e._locale._week.dow,s=e._locale._week.doy;var l=Ne(jt(),i,s);n=ft(t.gg,e._a[he],l.year),r=ft(t.w,l.week),null!=t.d?((a=t.d)<0||6<a)&&(u=!0):null!=t.e?(a=t.e+i,(t.e<0||6<t.e)&&(u=!0)):a=i}r<1||r>Be(n,i,s)?v(e)._overflowWeeks=!0:null!=u?v(e)._overflowWeekday=!0:(o=$e(n,r,a,i,s),e._a[he]=o.year,e._dayOfYear=o.dayOfYear)}(e),null!=e._dayOfYear&&(i=ft(e._a[he],r[he]),(e._dayOfYear>be(i)||0===e._dayOfYear)&&(v(e)._overflowDayOfYear=!0),n=ze(i,0,e._dayOfYear),e._a[pe]=n.getUTCMonth(),e._a[ye]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=u[t]=r[t];for(;t<7;t++)e._a[t]=u[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[ve]&&0===e._a[Me]&&0===e._a[ge]&&0===e._a[Le]&&(e._nextDay=!0,e._a[ve]=0),e._d=(e._useUTC?ze:function(e,t,n,r,a,i,s){var o=new Date(e,t,n,r,a,i,s);return e<100&&0<=e&&isFinite(o.getFullYear())&&o.setFullYear(e),o}).apply(null,u),a=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[ve]=24),e._w&&void 0!==e._w.d&&e._w.d!==a&&(v(e).weekdayMismatch=!0)}}var pt=/^\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)?)?$/,yt=/^\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)?)?$/,vt=/Z|[+-]\d\d(?::?\d\d)?/,Mt=[["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}/]],gt=[["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/]],Lt=/^\/?Date\((\-?\d+)/i;function Yt(e){var t,n,r,a,i,s,o=e._i,u=pt.exec(o)||yt.exec(o);if(u){for(v(e).iso=!0,t=0,n=Mt.length;t<n;t++)if(Mt[t][1].exec(u[1])){a=Mt[t][0],r=!1!==Mt[t][2];break}if(null==a)return void(e._isValid=!1);if(u[3]){for(t=0,n=gt.length;t<n;t++)if(gt[t][1].exec(u[3])){i=(u[2]||" ")+gt[t][0];break}if(null==i)return void(e._isValid=!1)}if(!r&&null!=i)return void(e._isValid=!1);if(u[4]){if(!vt.exec(u[4]))return void(e._isValid=!1);s="Z"}e._f=a+(i||"")+(s||""),Tt(e)}else e._isValid=!1}var kt=/^(?:(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}))$/;function bt(e,t,n,r,a,i){var s,o,u=[(s=e,o=parseInt(s,10),o<=49?2e3+o:o<=999?1900+o:o),Ae.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(a,10)];return i&&u.push(parseInt(i,10)),u}var wt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Dt(e){var t=kt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(t){var n=bt(t[4],t[3],t[2],t[5],t[6],t[7]);if(!function(e,t,n){if(e){var r=Ge.indexOf(e),a=new Date(t[0],t[1],t[2]).getDay();if(r!==a)return v(n).weekdayMismatch=!0,n._isValid=!1}return!0}(t[1],n,e))return;e._a=n,e._tzm=function(e,t,n){if(e)return wt[e];if(t)return 0;var r=parseInt(n,10),a=r%100,i=(r-a)/100;return 60*i+a}(t[8],t[9],t[10]),e._d=ze.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),v(e).rfc2822=!0}else e._isValid=!1}function Tt(e){if(e._f!==p.ISO_8601)if(e._f!==p.RFC_2822){e._a=[],v(e).empty=!0;var t,n,r,a,i,s=""+e._i,o=s.length,u=0;for(r=B(e._f,e._locale).match(W)||[],t=0;t<r.length;t++)a=r[t],(n=(s.match(de(a,e))||[])[0])&&(0<(i=s.substr(0,s.indexOf(n))).length&&v(e).unusedInput.push(i),s=s.slice(s.indexOf(n)+n.length),u+=n.length),V[a]?(n?v(e).empty=!1:v(e).unusedTokens.push(a),m=a,h=e,null!=(f=n)&&y(_e,m)&&_e[m](f,h._a,h,m)):e._strict&&!n&&v(e).unusedTokens.push(a);v(e).charsLeftOver=o-u,0<s.length&&v(e).unusedInput.push(s),e._a[ve]<=12&&!0===v(e).bigHour&&0<e._a[ve]&&(v(e).bigHour=void 0),v(e).parsedDateParts=e._a.slice(0),v(e).meridiem=e._meridiem,e._a[ve]=(l=e._locale,d=e._a[ve],null==(c=e._meridiem)?d:null!=l.meridiemHour?l.meridiemHour(d,c):(null!=l.isPM&&((_=l.isPM(c))&&d<12&&(d+=12),_||12!==d||(d=0)),d)),ht(e),mt(e)}else Dt(e);else Yt(e);var l,d,c,_,m,f,h}function St(e){var t,n,r=e._i,a=e._f;return e._locale=e._locale||_t(e._l),null===r||void 0===a&&""===r?f({nullInput:!0}):("string"==typeof r&&(e._i=r=e._locale.preparse(r)),L(r)?new g(mt(r)):(s(r)?e._d=r:o(a)?function(e){var t,n,r,a,i;if(0===e._f.length)return v(e).invalidFormat=!0,e._d=new Date(NaN);for(a=0;a<e._f.length;a++)i=0,t=M({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[a],Tt(t),m(t)&&(i+=v(t).charsLeftOver,i+=10*v(t).unusedTokens.length,v(t).score=i,(null==r||i<r)&&(r=i,n=t));c(e,n||t)}(e):a?Tt(e):i(n=(t=e)._i)?t._d=new Date(p.now()):s(n)?t._d=new Date(n.valueOf()):"string"==typeof n?function(e){var t=Lt.exec(e._i);if(null!==t)return e._d=new Date(+t[1]);Yt(e),!1===e._isValid&&(delete e._isValid,Dt(e),!1===e._isValid&&(delete e._isValid,p.createFromInputFallback(e)))}(t):o(n)?(t._a=l(n.slice(0),function(e){return parseInt(e,10)}),ht(t)):u(n)?function(e){if(!e._d){var t=A(e._i);e._a=l([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),ht(e)}}(t):d(n)?t._d=new Date(n):p.createFromInputFallback(t),m(e)||(e._d=null),e))}function xt(e,t,n,r,a){var i,s={};return!0!==n&&!1!==n||(r=n,n=void 0),(u(e)&&function(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(e.hasOwnProperty(t))return!1;return!0}(e)||o(e)&&0===e.length)&&(e=void 0),s._isAMomentObject=!0,s._useUTC=s._isUTC=a,s._l=n,s._i=e,s._f=t,s._strict=r,(i=new g(mt(St(s))))._nextDay&&(i.add(1,"d"),i._nextDay=void 0),i}function jt(e,t,n,r){return xt(e,t,n,r,!1)}p.createFromInputFallback=n("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":""))}),p.ISO_8601=function(){},p.RFC_2822=function(){};var Ht=n("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=jt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:f()}),Ot=n("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=jt.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:f()});function Ct(e,t){var n,r;if(1===t.length&&o(t[0])&&(t=t[0]),!t.length)return jt();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}var At=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Et(e){var t=A(e),n=t.year||0,r=t.quarter||0,a=t.month||0,i=t.week||0,s=t.day||0,o=t.hour||0,u=t.minute||0,l=t.second||0,d=t.millisecond||0;this._isValid=function(e){for(var t in e)if(-1===De.call(At,t)||null!=e[t]&&isNaN(e[t]))return!1;for(var n=!1,r=0;r<At.length;++r)if(e[At[r]]){if(n)return!1;parseFloat(e[At[r]])!==k(e[At[r]])&&(n=!0)}return!0}(t),this._milliseconds=+d+1e3*l+6e4*u+1e3*o*60*60,this._days=+s+7*i,this._months=+a+3*r+12*n,this._data={},this._locale=_t(),this._bubble()}function Pt(e){return e instanceof Et}function Ft(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Rt(e,n){$(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+R(~~(e/60),2)+n+R(~~e%60,2)})}Rt("Z",":"),Rt("ZZ",""),le("Z",se),le("ZZ",se),me(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=It(se,e)});var Wt=/([\+\-]|\d\d)/gi;function It(e,t){var n=(t||"").match(e);if(null===n)return null;var r=n[n.length-1]||[],a=(r+"").match(Wt)||["-",0,0],i=60*a[1]+k(a[2]);return 0===i?0:"+"===a[0]?i:-i}function zt(e,t){var n,r;return t._isUTC?(n=t.clone(),r=(L(e)||s(e)?e.valueOf():jt(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),p.updateOffset(n,!1),n):jt(e).local()}function Vt(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function $t(){return!!this.isValid()&&this._isUTC&&0===this._offset}p.updateOffset=function(){};var Nt=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Bt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Jt(e,t){var n,r,a,i,s,o,u=e,l=null;return Pt(e)?u={ms:e._milliseconds,d:e._days,M:e._months}:d(e)?(u={},t?u[t]=e:u.milliseconds=e):(l=Nt.exec(e))?(n="-"===l[1]?-1:1,u={y:0,d:k(l[ye])*n,h:k(l[ve])*n,m:k(l[Me])*n,s:k(l[ge])*n,ms:k(Ft(1e3*l[Le]))*n}):(l=Bt.exec(e))?(n="-"===l[1]?-1:(l[1],1),u={y:Gt(l[2],n),M:Gt(l[3],n),w:Gt(l[4],n),d:Gt(l[5],n),h:Gt(l[6],n),m:Gt(l[7],n),s:Gt(l[8],n)}):null==u?u={}:"object"==typeof u&&("from"in u||"to"in u)&&(i=jt(u.from),s=jt(u.to),a=i.isValid()&&s.isValid()?(s=zt(s,i),i.isBefore(s)?o=Ut(i,s):((o=Ut(s,i)).milliseconds=-o.milliseconds,o.months=-o.months),o):{milliseconds:0,months:0},(u={}).ms=a.milliseconds,u.M=a.months),r=new Et(u),Pt(e)&&y(e,"_locale")&&(r._locale=e._locale),r}function Gt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Ut(e,t){var n={milliseconds:0,months:0};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function qt(r,a){return function(e,t){var n;return null===t||isNaN(+t)||(T(a,"moment()."+a+"(period, number) is deprecated. Please use moment()."+a+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=e,e=t,t=n),Kt(this,Jt(e="string"==typeof e?+e:e,t),r),this}}function Kt(e,t,n,r){var a=t._milliseconds,i=Ft(t._days),s=Ft(t._months);e.isValid()&&(r=null==r||r,s&&Pe(e,xe(e,"Month")+s*n),i&&je(e,"Date",xe(e,"Date")+i*n),a&&e._d.setTime(e._d.valueOf()+a*n),r&&p.updateOffset(e,i||s))}Jt.fn=Et.prototype,Jt.invalid=function(){return Jt(NaN)};var Zt=qt(1,"add"),Qt=qt(-1,"subtract");function Xt(e,t){var n,r,a=12*(t.year()-e.year())+(t.month()-e.month()),i=e.clone().add(a,"months");return r=t-i<0?(n=e.clone().add(a-1,"months"),(t-i)/(i-n)):(n=e.clone().add(a+1,"months"),(t-i)/(n-i)),-(a+r)||0}function en(e){var t;return void 0===e?this._locale._abbr:(null!=(t=_t(e))&&(this._locale=t),this)}p.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",p.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var tn=n("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)});function nn(){return this._locale}function rn(e,t){$(0,[e,e.length],0,t)}function an(e,t,n,r,a){var i;return null==e?Ne(this,r,a).year:((i=Be(e,r,a))<t&&(t=i),function(e,t,n,r,a){var i=$e(e,t,n,r,a),s=ze(i.year,0,i.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}.call(this,e,t,n,r,a))}$(0,["gg",2],0,function(){return this.weekYear()%100}),$(0,["GG",2],0,function(){return this.isoWeekYear()%100}),rn("gggg","weekYear"),rn("ggggg","weekYear"),rn("GGGG","isoWeekYear"),rn("GGGGG","isoWeekYear"),O("weekYear","gg"),O("isoWeekYear","GG"),P("weekYear",1),P("isoWeekYear",1),le("G",ae),le("g",ae),le("GG",Z,G),le("gg",Z,G),le("GGGG",te,q),le("gggg",te,q),le("GGGGG",ne,K),le("ggggg",ne,K),fe(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=k(e)}),fe(["gg","GG"],function(e,t,n,r){t[r]=p.parseTwoDigitYear(e)}),$("Q",0,"Qo","quarter"),O("quarter","Q"),P("quarter",7),le("Q",J),me("Q",function(e,t){t[pe]=3*(k(e)-1)}),$("D",["DD",2],"Do","date"),O("date","D"),P("date",9),le("D",Z),le("DD",Z,G),le("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),me(["D","DD"],ye),me("Do",function(e,t){t[ye]=k(e.match(Z)[0])});var sn=Se("Date",!0);$("DDD",["DDDD",3],"DDDo","dayOfYear"),O("dayOfYear","DDD"),P("dayOfYear",4),le("DDD",ee),le("DDDD",U),me(["DDD","DDDD"],function(e,t,n){n._dayOfYear=k(e)}),$("m",["mm",2],0,"minute"),O("minute","m"),P("minute",14),le("m",Z),le("mm",Z,G),me(["m","mm"],Me);var on=Se("Minutes",!1);$("s",["ss",2],0,"second"),O("second","s"),P("second",15),le("s",Z),le("ss",Z,G),me(["s","ss"],ge);var un,ln=Se("Seconds",!1);for($("S",0,0,function(){return~~(this.millisecond()/100)}),$(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),$(0,["SSS",3],0,"millisecond"),$(0,["SSSS",4],0,function(){return 10*this.millisecond()}),$(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),$(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),$(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),$(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),$(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),O("millisecond","ms"),P("millisecond",16),le("S",ee,J),le("SS",ee,G),le("SSS",ee,U),un="SSSS";un.length<=9;un+="S")le(un,re);function dn(e,t){t[Le]=k(1e3*("0."+e))}for(un="S";un.length<=9;un+="S")me(un,dn);var cn=Se("Milliseconds",!1);$("z",0,0,"zoneAbbr"),$("zz",0,0,"zoneName");var _n=g.prototype;function mn(e){return e}_n.add=Zt,_n.calendar=function(e,t){var n=e||jt(),r=zt(n,this).startOf("day"),a=p.calendarFormat(this,r)||"sameElse",i=t&&(S(t[a])?t[a].call(this,n):t[a]);return this.format(i||this.localeData().calendar(a,this,jt(n)))},_n.clone=function(){return new g(this)},_n.diff=function(e,t,n){var r,a,i;if(!this.isValid())return NaN;if(!(r=zt(e,this)).isValid())return NaN;switch(a=6e4*(r.utcOffset()-this.utcOffset()),t=C(t)){case"year":i=Xt(this,r)/12;break;case"month":i=Xt(this,r);break;case"quarter":i=Xt(this,r)/3;break;case"second":i=(this-r)/1e3;break;case"minute":i=(this-r)/6e4;break;case"hour":i=(this-r)/36e5;break;case"day":i=(this-r-a)/864e5;break;case"week":i=(this-r-a)/6048e5;break;default:i=this-r}return n?i:Y(i)},_n.endOf=function(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"))},_n.format=function(e){e||(e=this.isUtc()?p.defaultFormatUtc:p.defaultFormat);var t=N(this,e);return this.localeData().postformat(t)},_n.from=function(e,t){return this.isValid()&&(L(e)&&e.isValid()||jt(e).isValid())?Jt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},_n.fromNow=function(e){return this.from(jt(),e)},_n.to=function(e,t){return this.isValid()&&(L(e)&&e.isValid()||jt(e).isValid())?Jt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},_n.toNow=function(e){return this.to(jt(),e)},_n.get=function(e){return S(this[e=C(e)])?this[e]():this},_n.invalidAt=function(){return v(this).overflow},_n.isAfter=function(e,t){var n=L(e)?e:jt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=C(i(t)?"millisecond":t))?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())},_n.isBefore=function(e,t){var n=L(e)?e:jt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=C(i(t)?"millisecond":t))?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())},_n.isBetween=function(e,t,n,r){return("("===(r=r||"()")[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===r[1]?this.isBefore(t,n):!this.isAfter(t,n))},_n.isSame=function(e,t){var n,r=L(e)?e:jt(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=C(t||"millisecond"))?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))},_n.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},_n.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},_n.isValid=function(){return m(this)},_n.lang=tn,_n.locale=en,_n.localeData=nn,_n.max=Ot,_n.min=Ht,_n.parsingFlags=function(){return c({},v(this))},_n.set=function(e,t){if("object"==typeof e)for(var n=F(e=A(e)),r=0;r<n.length;r++)this[n[r].unit](e[n[r].unit]);else if(S(this[e=C(e)]))return this[e](t);return this},_n.startOf=function(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},_n.subtract=Qt,_n.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},_n.toObject=function(){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()}},_n.toDate=function(){return new Date(this.valueOf())},_n.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||9999<n.year()?N(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):S(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",N(n,"Z")):N(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},_n.inspect=function(){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",a=t+'[")]';return this.format(n+r+"-MM-DD[T]HH:mm:ss.SSS"+a)},_n.toJSON=function(){return this.isValid()?this.toISOString():null},_n.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},_n.unix=function(){return Math.floor(this.valueOf()/1e3)},_n.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},_n.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},_n.year=Te,_n.isLeapYear=function(){return we(this.year())},_n.weekYear=function(e){return an.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},_n.isoWeekYear=function(e){return an.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},_n.quarter=_n.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},_n.month=Fe,_n.daysInMonth=function(){return He(this.year(),this.month())},_n.week=_n.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},_n.isoWeek=_n.isoWeeks=function(e){var t=Ne(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},_n.weeksInYear=function(){var e=this.localeData()._week;return Be(this.year(),e.dow,e.doy)},_n.isoWeeksInYear=function(){return Be(this.year(),1,4)},_n.date=sn,_n.day=_n.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t,n,r=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(t=e,n=this.localeData(),e="string"==typeof t?isNaN(t)?"number"!=typeof(t=n.weekdaysParse(t))?null:t:parseInt(t,10):t,this.add(e-r,"d")):r},_n.weekday=function(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")},_n.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null==e)return this.day()||7;var t,n,r=(t=e,n=this.localeData(),"string"!=typeof t?isNaN(t)?null:t:n.weekdaysParse(t)%7||7);return this.day(this.day()%7?r:r-7)},_n.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},_n.hour=_n.hours=at,_n.minute=_n.minutes=on,_n.second=_n.seconds=ln,_n.millisecond=_n.milliseconds=cn,_n.utcOffset=function(e,t,n){var r,a=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?a:Vt(this);if("string"==typeof e){if(null===(e=It(se,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=Vt(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),a!==e&&(!t||this._changeInProgress?Kt(this,Jt(e-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,p.updateOffset(this,!0),this._changeInProgress=null)),this},_n.utc=function(e){return this.utcOffset(0,e)},_n.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Vt(this),"m")),this},_n.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=It(ie,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},_n.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?jt(e).utcOffset():0,(this.utcOffset()-e)%60==0)},_n.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},_n.isLocal=function(){return!!this.isValid()&&!this._isUTC},_n.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},_n.isUtc=$t,_n.isUTC=$t,_n.zoneAbbr=function(){return this._isUTC?"UTC":""},_n.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},_n.dates=n("dates accessor is deprecated. Use date instead.",sn),_n.months=n("months accessor is deprecated. Use month instead",Fe),_n.years=n("years accessor is deprecated. Use year instead",Te),_n.zone=n("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}),_n.isDSTShifted=n("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!i(this._isDSTShifted))return this._isDSTShifted;var e={};if(M(e,this),(e=St(e))._a){var t=e._isUTC?_(e._a):jt(e._a);this._isDSTShifted=this.isValid()&&0<b(e._a,t.toArray())}else this._isDSTShifted=!1;return this._isDSTShifted});var fn=j.prototype;function hn(e,t,n,r){var a=_t(),i=_().set(r,t);return a[n](i,e)}function pn(e,t,n){if(d(e)&&(t=e,e=void 0),e=e||"",null!=t)return hn(e,t,n,"month");var r,a=[];for(r=0;r<12;r++)a[r]=hn(e,r,n,"month");return a}function yn(e,t,n,r){"boolean"==typeof e?d(t)&&(n=t,t=void 0):(t=e,e=!1,d(n=t)&&(n=t,t=void 0)),t=t||"";var a,i=_t(),s=e?i._week.dow:0;if(null!=n)return hn(t,(n+s)%7,r,"day");var o=[];for(a=0;a<7;a++)o[a]=hn(t,(a+s)%7,r,"day");return o}fn.calendar=function(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return S(r)?r.call(t,n):r},fn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return!t&&n?(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}),this._longDateFormat[e]):t},fn.invalidDate=function(){return this._invalidDate},fn.ordinal=function(e){return this._ordinal.replace("%d",e)},fn.preparse=mn,fn.postformat=mn,fn.relativeTime=function(e,t,n,r){var a=this._relativeTime[n];return S(a)?a(e,t,n,r):a.replace(/%d/i,e)},fn.pastFuture=function(e,t){var n=this._relativeTime[0<e?"future":"past"];return S(n)?n(t):n.replace(/%s/i,t)},fn.set=function(e){var t,n;for(n in e)S(t=e[n])?this[n]=t:this["_"+n]=t;this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},fn.months=function(e,t){return e?o(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Oe).test(t)?"format":"standalone"][e.month()]:o(this._months)?this._months:this._months.standalone},fn.monthsShort=function(e,t){return e?o(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Oe.test(t)?"format":"standalone"][e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},fn.monthsParse=function(e,t,n){var r,a,i;if(this._monthsParseExact)return Ee.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(a=_([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(i="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[r]=new RegExp(i.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}},fn.monthsRegex=function(e){return this._monthsParseExact?(y(this,"_monthsRegex")||Ie.call(this),e?this._monthsStrictRegex:this._monthsRegex):(y(this,"_monthsRegex")||(this._monthsRegex=We),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},fn.monthsShortRegex=function(e){return this._monthsParseExact?(y(this,"_monthsRegex")||Ie.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(y(this,"_monthsShortRegex")||(this._monthsShortRegex=Re),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},fn.week=function(e){return Ne(e,this._week.dow,this._week.doy).week},fn.firstDayOfYear=function(){return this._week.doy},fn.firstDayOfWeek=function(){return this._week.dow},fn.weekdays=function(e,t){return e?o(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]:o(this._weekdays)?this._weekdays:this._weekdays.standalone},fn.weekdaysMin=function(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin},fn.weekdaysShort=function(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort},fn.weekdaysParse=function(e,t,n){var r,a,i;if(this._weekdaysParseExact)return qe.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(a=_([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[r]=new RegExp(i.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}},fn.weekdaysRegex=function(e){return this._weekdaysParseExact?(y(this,"_weekdaysRegex")||Xe.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(y(this,"_weekdaysRegex")||(this._weekdaysRegex=Ke),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},fn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(y(this,"_weekdaysRegex")||Xe.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(y(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ze),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},fn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(y(this,"_weekdaysRegex")||Xe.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(y(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Qe),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},fn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},fn.meridiem=function(e,t,n){return 11<e?n?"pm":"PM":n?"am":"AM"},dt("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===k(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}}),p.lang=n("moment.lang is deprecated. Use moment.locale instead.",dt),p.langData=n("moment.langData is deprecated. Use moment.localeData instead.",_t);var vn=Math.abs;function Mn(e,t,n,r){var a=Jt(t,n);return e._milliseconds+=r*a._milliseconds,e._days+=r*a._days,e._months+=r*a._months,e._bubble()}function gn(e){return e<0?Math.floor(e):Math.ceil(e)}function Ln(e){return 4800*e/146097}function Yn(e){return 146097*e/4800}function kn(e){return function(){return this.as(e)}}var bn=kn("ms"),wn=kn("s"),Dn=kn("m"),Tn=kn("h"),Sn=kn("d"),xn=kn("w"),jn=kn("M"),Hn=kn("y");function On(e){return function(){return this.isValid()?this._data[e]:NaN}}var Cn=On("milliseconds"),An=On("seconds"),En=On("minutes"),Pn=On("hours"),Fn=On("days"),Rn=On("months"),Wn=On("years"),In=Math.round,zn={ss:44,s:45,m:45,h:22,d:26,M:11},Vn=Math.abs;function $n(e){return(0<e)-(e<0)||+e}function Nn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n=Vn(this._milliseconds)/1e3,r=Vn(this._days),a=Vn(this._months);e=Y(n/60),t=Y(e/60),n%=60,e%=60;var i=Y(a/12),s=a%=12,o=r,u=t,l=e,d=n?n.toFixed(3).replace(/\.?0+$/,""):"",c=this.asSeconds();if(!c)return"P0D";var _=c<0?"-":"",m=$n(this._months)!==$n(c)?"-":"",f=$n(this._days)!==$n(c)?"-":"",h=$n(this._milliseconds)!==$n(c)?"-":"";return _+"P"+(i?m+i+"Y":"")+(s?m+s+"M":"")+(o?f+o+"D":"")+(u||l||d?"T":"")+(u?h+u+"H":"")+(l?h+l+"M":"")+(d?h+d+"S":"")}var Bn=Et.prototype;return Bn.isValid=function(){return this._isValid},Bn.abs=function(){var e=this._data;return this._milliseconds=vn(this._milliseconds),this._days=vn(this._days),this._months=vn(this._months),e.milliseconds=vn(e.milliseconds),e.seconds=vn(e.seconds),e.minutes=vn(e.minutes),e.hours=vn(e.hours),e.months=vn(e.months),e.years=vn(e.years),this},Bn.add=function(e,t){return Mn(this,e,t,1)},Bn.subtract=function(e,t){return Mn(this,e,t,-1)},Bn.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=C(e))||"year"===e)return t=this._days+r/864e5,n=this._months+Ln(t),"month"===e?n:n/12;switch(t=this._days+Math.round(Yn(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)}},Bn.asMilliseconds=bn,Bn.asSeconds=wn,Bn.asMinutes=Dn,Bn.asHours=Tn,Bn.asDays=Sn,Bn.asWeeks=xn,Bn.asMonths=jn,Bn.asYears=Hn,Bn.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*k(this._months/12):NaN},Bn._bubble=function(){var e,t,n,r,a,i=this._milliseconds,s=this._days,o=this._months,u=this._data;return 0<=i&&0<=s&&0<=o||i<=0&&s<=0&&o<=0||(i+=864e5*gn(Yn(o)+s),o=s=0),u.milliseconds=i%1e3,e=Y(i/1e3),u.seconds=e%60,t=Y(e/60),u.minutes=t%60,n=Y(t/60),u.hours=n%24,s+=Y(n/24),a=Y(Ln(s)),o+=a,s-=gn(Yn(a)),r=Y(o/12),o%=12,u.days=s,u.months=o,u.years=r,this},Bn.clone=function(){return Jt(this)},Bn.get=function(e){return e=C(e),this.isValid()?this[e+"s"]():NaN},Bn.milliseconds=Cn,Bn.seconds=An,Bn.minutes=En,Bn.hours=Pn,Bn.days=Fn,Bn