@opfr/utils-type 0.11.1 → 0.12.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +408 -378
- package/dist/index.umd.js +4 -4
- package/dist/ranks/constants.d.ts.map +1 -1
- package/dist/ranks/constants.js +37 -6
- package/dist/ranks/constants.js.map +1 -1
- package/dist/ranks/types.d.ts +1 -0
- package/dist/ranks/types.d.ts.map +1 -1
- package/package.json +2 -2
package/dist/index.umd.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
(function(S,
|
|
1
|
+
(function(S,C){typeof exports=="object"&&typeof module<"u"?C(exports,require("i18next")):typeof define=="function"&&define.amd?define(["exports","i18next"],C):(S=typeof globalThis<"u"?globalThis:S||self,C(S.utils={},S.i18next))})(this,function(S,C){"use strict";var b=(e=>(e.BASIC="BASIC",e.COMMON="COMMON",e.RARE="RARE",e.EPIC="EPIC",e.LEGENDARY="LEGENDARY",e.MYTHIC="MYTHIC",e))(b||{});const Pn={BASIC:{color:"#fff",strength:0,id:b.BASIC,name:(e,t=1)=>C.t(`ranks.${b.BASIC}.text`,{count:t,context:e})},COMMON:{color:"#813D31",strength:1,id:b.COMMON,name:(e,t=1)=>C.t(`ranks.${b.COMMON}.text`,{count:t,context:e})},RARE:{color:"#5B6870",strength:2,id:b.RARE,name:(e,t=1)=>C.t(`ranks.${b.RARE}.text`,{count:t,context:e})},EPIC:{color:"#C46619",strength:3,id:b.EPIC,name:(e,t=1)=>C.t(`ranks.${b.EPIC}.text`,{count:t,context:e})},LEGENDARY:{color:"#88A3CB",strength:4,id:b.LEGENDARY,name:(e,t=1)=>C.t(`ranks.${b.LEGENDARY}.text`,{count:t,context:e})},MYTHIC:{color:"#F6bF62",strength:5,id:b.MYTHIC,name:(e,t=1)=>C.t(`ranks.${b.MYTHIC}.text`,{count:t,context:e})}},En=["vitality","strength","agility","intelligence","chance","wisdom"],Ln=10,Rt=1,An=[[200,4],[100,3],[50,2],[0,Rt]],Hn=100,Wn=10,In={pirate:{name:"pirate",color:"#8A1623",role:"1047815125282848849"},marine:{name:"marine",color:"#387cbc",role:"1047816059937361940"},revolutionary:{name:"revolutionary",color:"#335635",role:"1047815105846444152"},citizen:{name:"citizen",color:"#fff",role:"1147953458507423874"}},Fn="citizen",Un=["category","alpha","quantity"],jn=(e,t)=>t===null?null:e===t?`-${e}`:t,$e={d1:"<:d1:1159542168738873455>",d2:"<:d2:1159542071049334814>",d3:"<:d3:1159542073914032191>",d4:"<:d4:1159542075512082543>",d5:"<:d5:1159542078179651614>",d6:"<:d6:1159542079458910229>",revolutionary:"<:revolutionnaire:648245785133056020>",pirate:"<:pirate:648245785053626368>",marine:"<:marine:648245784407441429>",berry:"<:berry:1153734056035504158>",xp:"<:xp:1084914564379975772>",success:"<:success:1186707379534954506>",hp:"<:hp:1257776163955277824>",paper:"📄",rock:"🪨",scissor:"✂️",pray:"<:Ryokugyu_pray:1147542990844334280>",gun:"<:fujigun:1050120413243506688>",promise:"<:Luffy_Promise:1027626431565529099>",love:"<:Lawve:1050916817801072730>",note:"<:imsusnote:1136952496456224778>",watching:"<:Carrot_Watching:1024736915922104360>",card:"<:carteDos:1168580012258103387>",cards:{spades:{1:"<:asdepique:1168560615170768967>",2:"<:2depique:1168559430955184259>",3:"<:3depique:1168559437548638248>",4:"<:4depique:1168559679354445934>",5:"<:5depique:1168559725504372796>",6:"<:6depique:1168559764528185394>",7:"<:7depique:1168559459392553061>",8:"<:8depique:1168559887870083162>",9:"<:9depique:1168559471392464988>",10:"<:10depique:1168559958435053598>",J:"<:valetdepique:1168560676202086523>",Q:"<:reinedepique:1168560621722284083>",K:"<:roidepique:1168560628189888634>"},diamonds:{1:"<:asdecarreau:1168560612742279308>",2:"<:2decarreau:1168559427788472330>",3:"<:3decarreau:1168559434138669236>",4:"<:4decarreau:1168559440774041621>",5:"<:5decarreau:1168559445308084256>",6:"<:6decarreau:1168559763462819940>",7:"<:7decarreau:1168559845872517172>",8:"<:8decarreau:1168559888989949994>",9:"<:9decarreau:1168559942215667804>",10:"<:10decarreau:1168559475481907230>",J:"<:valetdecarreau:1168560633634095234>",Q:"<:reinedecarreau:1168560618182291577>",K:"<:roidecarreau:1168560626185011281>"},hearts:{1:"<:asdecoeur:1168560613971214368>",2:"<:2decoeur:1168559428681859073>",3:"<:3decoeur:1168559435950592060>",4:"<:4decoeur:1168559442074284073>",5:"<:5decoeur:1168559723226865725>",6:"<:6decoeur:1168559452509708298>",7:"<:7decoeur:1168559457769365684>",8:"<:8decoeur:1168559463368757339>",9:"<:9decoeur:1168559938897989672>",10:"<:10decoeur:1168559477658751006>",J:"<:valetdecoeur:1168560635991298160>",Q:"<:reinedecoeur:1168560619855822940>",K:"<:roidecoeur:1168560678378950716>"},clubs:{1:"<:asdetrfle:1168560617444081834>",2:"<:2detrfle:1168559432242831512>",3:"<:3detrfle:1168559439440269403>",4:"<:4detrfle:1168559677936762982>",5:"<:5detrfle:1168559449540145153>",6:"<:6detrfle:1168559761260818594>",7:"<:7detrfle:1168559844748435549>",8:"<:8detrfle:1168559466334142575>",9:"<:9detrfle:1168559940953194576>",10:"<:10detrfle:1168559959802380288>",J:"<:valetdetrfle:1168560610531885137>",Q:"<:reinedetrfle:1168560623228026972>",K:"<:roidetrfle:1168560675543580712>"}},factions:{b_citizen_COMMON:"<:BasiqueOPFRbois:1175507882188484761>",b_citizen_RARE:"<:BasiqueOPFRargent:1175507880724668488>",b_citizen_EPIC:"<:BasiqueOPFRor:1175507883501289512>",b_citizen_LEGENDARY:"<:BasiqueOPFRplatine:1175507886714134548>",b_citizen_MYTHIC:"<:BasiqueOPFRultime:1175507889553670264>",b_marine_COMMON:"<:Marinebois:1175507936953512036>",b_marine_RARE:"<:Marineargent:1175508322351321178>",b_marine_EPIC:"<:Marineor:1175508300603863132>",b_marine_LEGENDARY:"<:Marineplatine:1175507940803879012>",b_marine_MYTHIC:"<:Marineultime:1175508279590395977>",b_revolutionary_COMMON:"<:RvoBois:1175507954779295810>",b_revolutionary_RARE:"<:RvoArgent:1175508199118483457>",b_revolutionary_EPIC:"<:RvoOr:1175508111885344819>",b_revolutionary_LEGENDARY:"<:RvoPlatine:1175507958378008756>",b_revolutionary_MYTHIC:"<:RvoUltime:1175508127815319612>",b_pirate_COMMON:"<:Piratebois:1175508259768115272>",b_pirate_RARE:"<:Pirateargent:1175507943987363941>",b_pirate_EPIC:"<:Pirateor:1175508240243621928>",b_pirate_LEGENDARY:"<:Pirateplatine:1175507949578358804>",b_pirate_MYTHIC:"<:Pirateultime:1175507951709061150>"},characteristics:{vitality:"<:vitality:1251861015277338675>",strength:"<:strength:1251860738595618838>",agility:"<:agility:1251860734145728596>",intelligence:"<:intelligence:1251860736943194144>",chance:"<:chance:1251860735827513425>",wisdom:"<:wisdom:1251861017231884378>"},equipment_adventurer_strap:"<:adventurer_strap:1253041086147068035>",equipment_adventurer_collar:"<:adventurer_collar:1253041084611690567>",equipment_adventurer_boots:"<:adventurer_boots:1253041083252867123>",equipment_adventurer_helmet:"<:Casque_cuir:1256965718432550953>",equipment_adventurer_weapon:"<:Dague_cuir:1256965714141515837>",equipment_adventurer_belt:"<:Ceinture_cuir:1256965593333108838>"},Be=e=>new Intl.NumberFormat("de-DE").format(e);//! moment.js
|
|
2
2
|
//! version : 2.30.1
|
|
3
3
|
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
|
4
4
|
//! license : MIT
|
|
5
5
|
//! momentjs.com
|
|
6
|
-
var xt;function u(){return xt.apply(null,arguments)}function Gn(e){xt=e}function
|
|
6
|
+
var xt;function u(){return xt.apply(null,arguments)}function Gn(e){xt=e}function L(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function re(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function g(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Je(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var t;for(t in e)if(g(e,t))return!1;return!0}function N(e){return e===void 0}function G(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function ye(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function Pt(e,t){var n=[],r,i=e.length;for(r=0;r<i;++r)n.push(t(e[r],r));return n}function K(e,t){for(var n in t)g(t,n)&&(e[n]=t[n]);return g(t,"toString")&&(e.toString=t.toString),g(t,"valueOf")&&(e.valueOf=t.valueOf),e}function I(e,t,n,r){return on(e,t,n,r,!0).utc()}function Vn(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function f(e){return e._pf==null&&(e._pf=Vn()),e._pf}var Qe;Array.prototype.some?Qe=Array.prototype.some:Qe=function(e){var t=Object(this),n=t.length>>>0,r;for(r=0;r<n;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1};function Xe(e){var t=null,n=!1,r=e._d&&!isNaN(e._d.getTime());if(r&&(t=f(e),n=Qe.call(t.parsedDateParts,function(i){return i!=null}),r=t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n),e._strict&&(r=r&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===void 0)),Object.isFrozen==null||!Object.isFrozen(e))e._isValid=r;else return r;return e._isValid}function Te(e){var t=I(NaN);return e!=null?K(f(t),e):f(t).userInvalidated=!0,t}var Et=u.momentProperties=[],Ke=!1;function et(e,t){var n,r,i,s=Et.length;if(N(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),N(t._i)||(e._i=t._i),N(t._f)||(e._f=t._f),N(t._l)||(e._l=t._l),N(t._strict)||(e._strict=t._strict),N(t._tzm)||(e._tzm=t._tzm),N(t._isUTC)||(e._isUTC=t._isUTC),N(t._offset)||(e._offset=t._offset),N(t._pf)||(e._pf=f(t)),N(t._locale)||(e._locale=t._locale),s>0)for(n=0;n<s;n++)r=Et[n],i=t[r],N(i)||(e[r]=i);return e}function ge(e){et(this,e),this._d=new Date(e._d!=null?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),Ke===!1&&(Ke=!0,u.updateOffset(this),Ke=!1)}function A(e){return e instanceof ge||e!=null&&e._isAMomentObject!=null}function Lt(e){u.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+e)}function x(e,t){var n=!0;return K(function(){if(u.deprecationHandler!=null&&u.deprecationHandler(null,e),n){var r=[],i,s,a,l=arguments.length;for(s=0;s<l;s++){if(i="",typeof arguments[s]=="object"){i+=`
|
|
7
7
|
[`+s+"] ";for(a in arguments[0])g(arguments[0],a)&&(i+=a+": "+arguments[0][a]+", ");i=i.slice(0,-2)}else i=arguments[s];r.push(i)}Lt(e+`
|
|
8
8
|
Arguments: `+Array.prototype.slice.call(r).join("")+`
|
|
9
|
-
`+new Error().stack),n=!1}return t.apply(this,arguments)},t)}var At={};function Ht(e,t){u.deprecationHandler!=null&&u.deprecationHandler(e,t),At[e]||(Lt(t),At[e]=!0)}u.suppressDeprecationWarnings=!1,u.deprecationHandler=null;function W(e){return typeof Function<"u"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function qn(e){var t,n;for(n in e)g(e,n)&&(t=e[n],W(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 tt(e,t){var n=X({},e),r;for(r in t)g(t,r)&&(re(e[r])&&re(t[r])?(n[r]={},X(n[r],e[r]),X(n[r],t[r])):t[r]!=null?n[r]=t[r]:delete n[r]);for(r in e)g(e,r)&&!g(t,r)&&re(e[r])&&(n[r]=X({},n[r]));return n}function nt(e){e!=null&&this.set(e)}var rt;Object.keys?rt=Object.keys:rt=function(e){var t,n=[];for(t in e)g(e,t)&&n.push(t);return n};var zn={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function Zn(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return W(r)?r.call(t,n):r}function F(e,t,n){var r=""+Math.abs(e),i=t-r.length,s=e>=0;return(s?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}var it=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,be=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,st={},oe={};function h(e,t,n,r){var i=r;typeof r=="string"&&(i=function(){return this[r]()}),e&&(oe[e]=i),t&&(oe[t[0]]=function(){return F(i.apply(this,arguments),t[1],t[2])}),n&&(oe[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function Bn(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function $n(e){var t=e.match(it),n,r;for(n=0,r=t.length;n<r;n++)oe[t[n]]?t[n]=oe[t[n]]:t[n]=Bn(t[n]);return function(i){var s="",a;for(a=0;a<r;a++)s+=W(t[a])?t[a].call(i,e):t[a];return s}}function Ne(e,t){return e.isValid()?(t=Wt(t,e.localeData()),st[t]=st[t]||$n(t),st[t](e)):e.localeData().invalidDate()}function Wt(e,t){var n=5;function r(i){return t.longDateFormat(i)||i}for(be.lastIndex=0;n>=0&&be.test(e);)e=e.replace(be,r),be.lastIndex=0,n-=1;return e}var Jn={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"};function Qn(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(it).map(function(r){return r==="MMMM"||r==="MM"||r==="DD"||r==="dddd"?r.slice(1):r}).join(""),this._longDateFormat[e])}var Xn="Invalid date";function Kn(){return this._invalidDate}var er="%d",tr=/\d{1,2}/;function nr(e){return this._ordinal.replace("%d",e)}var rr={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",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function ir(e,t,n,r){var i=this._relativeTime[n];return W(i)?i(e,t,n,r):i.replace(/%d/i,e)}function sr(e,t){var n=this._relativeTime[e>0?"future":"past"];return W(n)?n(t):n.replace(/%s/i,t)}var Ft={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function R(e){return typeof e=="string"?Ft[e]||Ft[e.toLowerCase()]:void 0}function at(e){var t={},n,r;for(r in e)g(e,r)&&(n=R(r),n&&(t[n]=e[r]));return t}var ar={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function or(e){var t=[],n;for(n in e)g(e,n)&&t.push({unit:n,priority:ar[n]});return t.sort(function(r,i){return r.priority-i.priority}),t}var It=/\d/,N=/\d\d/,Ut=/\d{3}/,ot=/\d{4}/,Ce=/[+-]?\d{6}/,w=/\d\d?/,jt=/\d\d\d\d?/,Gt=/\d\d\d\d\d\d?/,Re=/\d{1,3}/,ut=/\d{1,4}/,xe=/[+-]?\d{1,6}/,ue=/\d+/,Pe=/[+-]?\d+/,ur=/Z|[+-]\d\d:?\d\d/gi,Ee=/Z|[+-]\d\d(?::?\d\d)?/gi,lr=/[+-]?\d+(\.\d{1,3})?/,ve=/[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,le=/^[1-9]\d?/,lt=/^([1-9]\d|\d)/,Le;Le={};function d(e,t,n){Le[e]=W(t)?t:function(r,i){return r&&n?n:t}}function dr(e,t){return g(Le,e)?Le[e](t._strict,t._locale):new RegExp(hr(e))}function hr(e){return j(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,n,r,i,s){return n||r||i||s}))}function j(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function x(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function m(e){var t=+e,n=0;return t!==0&&isFinite(t)&&(n=x(t)),n}var dt={};function p(e,t){var n,r=t,i;for(typeof e=="string"&&(e=[e]),U(t)&&(r=function(s,a){a[t]=m(s)}),i=e.length,n=0;n<i;n++)dt[e[n]]=r}function pe(e,t){p(e,function(n,r,i,s){i._w=i._w||{},t(n,i._w,i,s)})}function cr(e,t,n){t!=null&&g(dt,e)&&dt[e](t,n._a,n,e)}function Ae(e){return e%4===0&&e%100!==0||e%400===0}var O=0,G=1,I=2,Y=3,L=4,V=5,ie=6,fr=7,mr=8;h("Y",0,0,function(){var e=this.year();return e<=9999?F(e,4):"+"+e}),h(0,["YY",2],0,function(){return this.year()%100}),h(0,["YYYY",4],0,"year"),h(0,["YYYYY",5],0,"year"),h(0,["YYYYYY",6,!0],0,"year"),d("Y",Pe),d("YY",w,N),d("YYYY",ut,ot),d("YYYYY",xe,Ce),d("YYYYYY",xe,Ce),p(["YYYYY","YYYYYY"],O),p("YYYY",function(e,t){t[O]=e.length===2?u.parseTwoDigitYear(e):m(e)}),p("YY",function(e,t){t[O]=u.parseTwoDigitYear(e)}),p("Y",function(e,t){t[O]=parseInt(e,10)});function we(e){return Ae(e)?366:365}u.parseTwoDigitYear=function(e){return m(e)+(m(e)>68?1900:2e3)};var Vt=de("FullYear",!0);function _r(){return Ae(this.year())}function de(e,t){return function(n){return n!=null?(qt(this,e,n),u.updateOffset(this,t),this):Me(this,e)}}function Me(e,t){if(!e.isValid())return NaN;var n=e._d,r=e._isUTC;switch(t){case"Milliseconds":return r?n.getUTCMilliseconds():n.getMilliseconds();case"Seconds":return r?n.getUTCSeconds():n.getSeconds();case"Minutes":return r?n.getUTCMinutes():n.getMinutes();case"Hours":return r?n.getUTCHours():n.getHours();case"Date":return r?n.getUTCDate():n.getDate();case"Day":return r?n.getUTCDay():n.getDay();case"Month":return r?n.getUTCMonth():n.getMonth();case"FullYear":return r?n.getUTCFullYear():n.getFullYear();default:return NaN}}function qt(e,t,n){var r,i,s,a,l;if(!(!e.isValid()||isNaN(n))){switch(r=e._d,i=e._isUTC,t){case"Milliseconds":return void(i?r.setUTCMilliseconds(n):r.setMilliseconds(n));case"Seconds":return void(i?r.setUTCSeconds(n):r.setSeconds(n));case"Minutes":return void(i?r.setUTCMinutes(n):r.setMinutes(n));case"Hours":return void(i?r.setUTCHours(n):r.setHours(n));case"Date":return void(i?r.setUTCDate(n):r.setDate(n));case"FullYear":break;default:return}s=n,a=e.month(),l=e.date(),l=l===29&&a===1&&!Ae(s)?28:l,i?r.setUTCFullYear(s,a,l):r.setFullYear(s,a,l)}}function yr(e){return e=R(e),W(this[e])?this[e]():this}function gr(e,t){if(typeof e=="object"){e=at(e);var n=or(e),r,i=n.length;for(r=0;r<i;r++)this[n[r].unit](e[n[r].unit])}else if(e=R(e),W(this[e]))return this[e](t);return this}function vr(e,t){return(e%t+t)%t}var D;Array.prototype.indexOf?D=Array.prototype.indexOf:D=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function ht(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=vr(t,12);return e+=(t-n)/12,n===1?Ae(e)?29:28:31-n%7%2}h("M",["MM",2],"Mo",function(){return this.month()+1}),h("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),h("MMMM",0,0,function(e){return this.localeData().months(this,e)}),d("M",w,le),d("MM",w,N),d("MMM",function(e,t){return t.monthsShortRegex(e)}),d("MMMM",function(e,t){return t.monthsRegex(e)}),p(["M","MM"],function(e,t){t[G]=m(e)-1}),p(["MMM","MMMM"],function(e,t,n,r){var i=n._locale.monthsParse(e,r,n._strict);i!=null?t[G]=i:f(n).invalidMonth=e});var pr="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),zt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Zt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,wr=ve,Mr=ve;function kr(e,t){return e?P(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Zt).test(t)?"format":"standalone"][e.month()]:P(this._months)?this._months:this._months.standalone}function Sr(e,t){return e?P(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Zt.test(t)?"format":"standalone"][e.month()]:P(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function Dr(e,t,n){var r,i,s,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)s=H([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(s,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(s,"").toLocaleLowerCase();return n?t==="MMM"?(i=D.call(this._shortMonthsParse,a),i!==-1?i:null):(i=D.call(this._longMonthsParse,a),i!==-1?i:null):t==="MMM"?(i=D.call(this._shortMonthsParse,a),i!==-1?i:(i=D.call(this._longMonthsParse,a),i!==-1?i:null)):(i=D.call(this._longMonthsParse,a),i!==-1?i:(i=D.call(this._shortMonthsParse,a),i!==-1?i:null))}function Yr(e,t,n){var r,i,s;if(this._monthsParseExact)return Dr.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++)if(i=H([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),!n&&!this._monthsParse[r]&&(s="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(s.replace(".",""),"i")),n&&t==="MMMM"&&this._longMonthsParse[r].test(e)||n&&t==="MMM"&&this._shortMonthsParse[r].test(e)||!n&&this._monthsParse[r].test(e))return r}function Bt(e,t){if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=m(t);else if(t=e.localeData().monthsParse(t),!U(t))return e}var n=t,r=e.date();return r=r<29?r:Math.min(r,ht(e.year(),n)),e._isUTC?e._d.setUTCMonth(n,r):e._d.setMonth(n,r),e}function $t(e){return e!=null?(Bt(this,e),u.updateOffset(this,!0),this):Me(this,"Month")}function Or(){return ht(this.year(),this.month())}function Tr(e){return this._monthsParseExact?(g(this,"_monthsRegex")||Jt.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(g(this,"_monthsShortRegex")||(this._monthsShortRegex=wr),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function br(e){return this._monthsParseExact?(g(this,"_monthsRegex")||Jt.call(this),e?this._monthsStrictRegex:this._monthsRegex):(g(this,"_monthsRegex")||(this._monthsRegex=Mr),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function Jt(){function e(c,_){return _.length-c.length}var t=[],n=[],r=[],i,s,a,l;for(i=0;i<12;i++)s=H([2e3,i]),a=j(this.monthsShort(s,"")),l=j(this.months(s,"")),t.push(a),n.push(l),r.push(l),r.push(a);t.sort(e),n.sort(e),r.sort(e),this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}function Nr(e,t,n,r,i,s,a){var l;return e<100&&e>=0?(l=new Date(e+400,t,n,r,i,s,a),isFinite(l.getFullYear())&&l.setFullYear(e)):l=new Date(e,t,n,r,i,s,a),l}function ke(e){var t,n;return e<100&&e>=0?(n=Array.prototype.slice.call(arguments),n[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function He(e,t,n){var r=7+t-n,i=(7+ke(e,0,r).getUTCDay()-t)%7;return-i+r-1}function Qt(e,t,n,r,i){var s=(7+n-r)%7,a=He(e,r,i),l=1+7*(t-1)+s+a,c,_;return l<=0?(c=e-1,_=we(c)+l):l>we(e)?(c=e+1,_=l-we(e)):(c=e,_=l),{year:c,dayOfYear:_}}function Se(e,t,n){var r=He(e.year(),t,n),i=Math.floor((e.dayOfYear()-r-1)/7)+1,s,a;return i<1?(a=e.year()-1,s=i+q(a,t,n)):i>q(e.year(),t,n)?(s=i-q(e.year(),t,n),a=e.year()+1):(a=e.year(),s=i),{week:s,year:a}}function q(e,t,n){var r=He(e,t,n),i=He(e+1,t,n);return(we(e)-r+i)/7}h("w",["ww",2],"wo","week"),h("W",["WW",2],"Wo","isoWeek"),d("w",w,le),d("ww",w,N),d("W",w,le),d("WW",w,N),pe(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=m(e)});function Cr(e){return Se(e,this._week.dow,this._week.doy).week}var Rr={dow:0,doy:6};function xr(){return this._week.dow}function Pr(){return this._week.doy}function Er(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function Lr(e){var t=Se(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}h("d",0,"do","day"),h("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),h("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),h("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),h("e",0,0,"weekday"),h("E",0,0,"isoWeekday"),d("d",w),d("e",w),d("E",w),d("dd",function(e,t){return t.weekdaysMinRegex(e)}),d("ddd",function(e,t){return t.weekdaysShortRegex(e)}),d("dddd",function(e,t){return t.weekdaysRegex(e)}),pe(["dd","ddd","dddd"],function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);i!=null?t.d=i:f(n).invalidWeekday=e}),pe(["d","e","E"],function(e,t,n,r){t[r]=m(e)});function Ar(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function Hr(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function ct(e,t){return e.slice(t,7).concat(e.slice(0,t))}var Wr="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Xt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Fr="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ir=ve,Ur=ve,jr=ve;function Gr(e,t){var n=P(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?ct(n,this._week.dow):e?n[e.day()]:n}function Vr(e){return e===!0?ct(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function qr(e){return e===!0?ct(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function zr(e,t,n){var r,i,s,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)s=H([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(s,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(s,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(s,"").toLocaleLowerCase();return n?t==="dddd"?(i=D.call(this._weekdaysParse,a),i!==-1?i:null):t==="ddd"?(i=D.call(this._shortWeekdaysParse,a),i!==-1?i:null):(i=D.call(this._minWeekdaysParse,a),i!==-1?i:null):t==="dddd"?(i=D.call(this._weekdaysParse,a),i!==-1||(i=D.call(this._shortWeekdaysParse,a),i!==-1)?i:(i=D.call(this._minWeekdaysParse,a),i!==-1?i:null)):t==="ddd"?(i=D.call(this._shortWeekdaysParse,a),i!==-1||(i=D.call(this._weekdaysParse,a),i!==-1)?i:(i=D.call(this._minWeekdaysParse,a),i!==-1?i:null)):(i=D.call(this._minWeekdaysParse,a),i!==-1||(i=D.call(this._weekdaysParse,a),i!==-1)?i:(i=D.call(this._shortWeekdaysParse,a),i!==-1?i:null))}function Zr(e,t,n){var r,i,s;if(this._weekdaysParseExact)return zr.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++)if(i=H([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(s="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(s.replace(".",""),"i")),n&&t==="dddd"&&this._fullWeekdaysParse[r].test(e)||n&&t==="ddd"&&this._shortWeekdaysParse[r].test(e)||n&&t==="dd"&&this._minWeekdaysParse[r].test(e)||!n&&this._weekdaysParse[r].test(e))return r}function Br(e){if(!this.isValid())return e!=null?this:NaN;var t=Me(this,"Day");return e!=null?(e=Ar(e,this.localeData()),this.add(e-t,"d")):t}function $r(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function Jr(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=Hr(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function Qr(e){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||ft.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(g(this,"_weekdaysRegex")||(this._weekdaysRegex=Ir),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Xr(e){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||ft.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(g(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ur),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Kr(e){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||ft.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(g(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=jr),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function ft(){function e(T,J){return J.length-T.length}var t=[],n=[],r=[],i=[],s,a,l,c,_;for(s=0;s<7;s++)a=H([2e3,1]).day(s),l=j(this.weekdaysMin(a,"")),c=j(this.weekdaysShort(a,"")),_=j(this.weekdays(a,"")),t.push(l),n.push(c),r.push(_),i.push(l),i.push(c),i.push(_);t.sort(e),n.sort(e),r.sort(e),i.sort(e),this._weekdaysRegex=new RegExp("^("+i.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function mt(){return this.hours()%12||12}function ei(){return this.hours()||24}h("H",["HH",2],0,"hour"),h("h",["hh",2],0,mt),h("k",["kk",2],0,ei),h("hmm",0,0,function(){return""+mt.apply(this)+F(this.minutes(),2)}),h("hmmss",0,0,function(){return""+mt.apply(this)+F(this.minutes(),2)+F(this.seconds(),2)}),h("Hmm",0,0,function(){return""+this.hours()+F(this.minutes(),2)}),h("Hmmss",0,0,function(){return""+this.hours()+F(this.minutes(),2)+F(this.seconds(),2)});function Kt(e,t){h(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}Kt("a",!0),Kt("A",!1);function en(e,t){return t._meridiemParse}d("a",en),d("A",en),d("H",w,lt),d("h",w,le),d("k",w,le),d("HH",w,N),d("hh",w,N),d("kk",w,N),d("hmm",jt),d("hmmss",Gt),d("Hmm",jt),d("Hmmss",Gt),p(["H","HH"],Y),p(["k","kk"],function(e,t,n){var r=m(e);t[Y]=r===24?0:r}),p(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),p(["h","hh"],function(e,t,n){t[Y]=m(e),f(n).bigHour=!0}),p("hmm",function(e,t,n){var r=e.length-2;t[Y]=m(e.substr(0,r)),t[L]=m(e.substr(r)),f(n).bigHour=!0}),p("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[Y]=m(e.substr(0,r)),t[L]=m(e.substr(r,2)),t[V]=m(e.substr(i)),f(n).bigHour=!0}),p("Hmm",function(e,t,n){var r=e.length-2;t[Y]=m(e.substr(0,r)),t[L]=m(e.substr(r))}),p("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[Y]=m(e.substr(0,r)),t[L]=m(e.substr(r,2)),t[V]=m(e.substr(i))});function ti(e){return(e+"").toLowerCase().charAt(0)==="p"}var ni=/[ap]\.?m?\.?/i,ri=de("Hours",!0);function ii(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var tn={calendar:zn,longDateFormat:Jn,invalidDate:Xn,ordinal:er,dayOfMonthOrdinalParse:tr,relativeTime:rr,months:pr,monthsShort:zt,week:Rr,weekdays:Wr,weekdaysMin:Fr,weekdaysShort:Xt,meridiemParse:ni},k={},De={},Ye;function si(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n<r;n+=1)if(e[n]!==t[n])return n;return r}function nn(e){return e&&e.toLowerCase().replace("_","-")}function ai(e){for(var t=0,n,r,i,s;t<e.length;){for(s=nn(e[t]).split("-"),n=s.length,r=nn(e[t+1]),r=r?r.split("-"):null;n>0;){if(i=We(s.slice(0,n).join("-")),i)return i;if(r&&r.length>=n&&si(s,r)>=n-1)break;n--}t++}return Ye}function oi(e){return!!(e&&e.match("^[^/\\\\]*$"))}function We(e){var t=null,n;if(k[e]===void 0&&typeof module<"u"&&module&&module.exports&&oi(e))try{t=Ye._abbr,n=require,n("./locale/"+e),K(t)}catch{k[e]=null}return k[e]}function K(e,t){var n;return e&&(b(t)?n=z(e):n=_t(e,t),n?Ye=n:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Ye._abbr}function _t(e,t){if(t!==null){var n,r=tn;if(t.abbr=e,k[e]!=null)Ht("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=k[e]._config;else if(t.parentLocale!=null)if(k[t.parentLocale]!=null)r=k[t.parentLocale]._config;else if(n=We(t.parentLocale),n!=null)r=n._config;else return De[t.parentLocale]||(De[t.parentLocale]=[]),De[t.parentLocale].push({name:e,config:t}),null;return k[e]=new nt(tt(r,t)),De[e]&&De[e].forEach(function(i){_t(i.name,i.config)}),K(e),k[e]}else return delete k[e],null}function ui(e,t){if(t!=null){var n,r,i=tn;k[e]!=null&&k[e].parentLocale!=null?k[e].set(tt(k[e]._config,t)):(r=We(e),r!=null&&(i=r._config),t=tt(i,t),r==null&&(t.abbr=e),n=new nt(t),n.parentLocale=k[e],k[e]=n),K(e)}else k[e]!=null&&(k[e].parentLocale!=null?(k[e]=k[e].parentLocale,e===K()&&K(e)):k[e]!=null&&delete k[e]);return k[e]}function z(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Ye;if(!P(e)){if(t=We(e),t)return t;e=[e]}return ai(e)}function li(){return rt(k)}function yt(e){var t,n=e._a;return n&&f(e).overflow===-2&&(t=n[G]<0||n[G]>11?G:n[I]<1||n[I]>ht(n[O],n[G])?I:n[Y]<0||n[Y]>24||n[Y]===24&&(n[L]!==0||n[V]!==0||n[ie]!==0)?Y:n[L]<0||n[L]>59?L:n[V]<0||n[V]>59?V:n[ie]<0||n[ie]>999?ie:-1,f(e)._overflowDayOfYear&&(t<O||t>I)&&(t=I),f(e)._overflowWeeks&&t===-1&&(t=fr),f(e)._overflowWeekday&&t===-1&&(t=mr),f(e).overflow=t),e}var di=/^\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)?)?$/,hi=/^\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)?)?$/,ci=/Z|[+-]\d\d(?::?\d\d)?/,Fe=[["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}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],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/]],fi=/^\/?Date\((-?\d+)/i,mi=/^(?:(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}))$/,_i={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function rn(e){var t,n,r=e._i,i=di.exec(r)||hi.exec(r),s,a,l,c,_=Fe.length,T=gt.length;if(i){for(f(e).iso=!0,t=0,n=_;t<n;t++)if(Fe[t][1].exec(i[1])){a=Fe[t][0],s=Fe[t][2]!==!1;break}if(a==null){e._isValid=!1;return}if(i[3]){for(t=0,n=T;t<n;t++)if(gt[t][1].exec(i[3])){l=(i[2]||" ")+gt[t][0];break}if(l==null){e._isValid=!1;return}}if(!s&&l!=null){e._isValid=!1;return}if(i[4])if(ci.exec(i[4]))c="Z";else{e._isValid=!1;return}e._f=a+(l||"")+(c||""),pt(e)}else e._isValid=!1}function yi(e,t,n,r,i,s){var a=[gi(e),zt.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return s&&a.push(parseInt(s,10)),a}function gi(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function vi(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function pi(e,t,n){if(e){var r=Xt.indexOf(e),i=new Date(t[0],t[1],t[2]).getDay();if(r!==i)return f(n).weekdayMismatch=!0,n._isValid=!1,!1}return!0}function wi(e,t,n){if(e)return _i[e];if(t)return 0;var r=parseInt(n,10),i=r%100,s=(r-i)/100;return s*60+i}function sn(e){var t=mi.exec(vi(e._i)),n;if(t){if(n=yi(t[4],t[3],t[2],t[5],t[6],t[7]),!pi(t[1],n,e))return;e._a=n,e._tzm=wi(t[8],t[9],t[10]),e._d=ke.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),f(e).rfc2822=!0}else e._isValid=!1}function Mi(e){var t=fi.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(rn(e),e._isValid===!1)delete e._isValid;else return;if(sn(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:u.createFromInputFallback(e)}u.createFromInputFallback=C("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. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))});function he(e,t,n){return e??t??n}function ki(e){var t=new Date(u.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function vt(e){var t,n,r=[],i,s,a;if(!e._d){for(i=ki(e),e._w&&e._a[I]==null&&e._a[G]==null&&Si(e),e._dayOfYear!=null&&(a=he(e._a[O],i[O]),(e._dayOfYear>we(a)||e._dayOfYear===0)&&(f(e)._overflowDayOfYear=!0),n=ke(a,0,e._dayOfYear),e._a[G]=n.getUTCMonth(),e._a[I]=n.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=r[t]=i[t];for(;t<7;t++)e._a[t]=r[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[Y]===24&&e._a[L]===0&&e._a[V]===0&&e._a[ie]===0&&(e._nextDay=!0,e._a[Y]=0),e._d=(e._useUTC?ke:Nr).apply(null,r),s=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Y]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==s&&(f(e).weekdayMismatch=!0)}}function Si(e){var t,n,r,i,s,a,l,c,_;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(s=1,a=4,n=he(t.GG,e._a[O],Se(M(),1,4).year),r=he(t.W,1),i=he(t.E,1),(i<1||i>7)&&(c=!0)):(s=e._locale._week.dow,a=e._locale._week.doy,_=Se(M(),s,a),n=he(t.gg,e._a[O],_.year),r=he(t.w,_.week),t.d!=null?(i=t.d,(i<0||i>6)&&(c=!0)):t.e!=null?(i=t.e+s,(t.e<0||t.e>6)&&(c=!0)):i=s),r<1||r>q(n,s,a)?f(e)._overflowWeeks=!0:c!=null?f(e)._overflowWeekday=!0:(l=Qt(n,r,i,s,a),e._a[O]=l.year,e._dayOfYear=l.dayOfYear)}u.ISO_8601=function(){},u.RFC_2822=function(){};function pt(e){if(e._f===u.ISO_8601){rn(e);return}if(e._f===u.RFC_2822){sn(e);return}e._a=[],f(e).empty=!0;var t=""+e._i,n,r,i,s,a,l=t.length,c=0,_,T;for(i=Wt(e._f,e._locale).match(it)||[],T=i.length,n=0;n<T;n++)s=i[n],r=(t.match(dr(s,e))||[])[0],r&&(a=t.substr(0,t.indexOf(r)),a.length>0&&f(e).unusedInput.push(a),t=t.slice(t.indexOf(r)+r.length),c+=r.length),oe[s]?(r?f(e).empty=!1:f(e).unusedTokens.push(s),cr(s,r,e)):e._strict&&!r&&f(e).unusedTokens.push(s);f(e).charsLeftOver=l-c,t.length>0&&f(e).unusedInput.push(t),e._a[Y]<=12&&f(e).bigHour===!0&&e._a[Y]>0&&(f(e).bigHour=void 0),f(e).parsedDateParts=e._a.slice(0),f(e).meridiem=e._meridiem,e._a[Y]=Di(e._locale,e._a[Y],e._meridiem),_=f(e).era,_!==null&&(e._a[O]=e._locale.erasConvertYear(_,e._a[O])),vt(e),yt(e)}function Di(e,t,n){var r;return n==null?t:e.meridiemHour!=null?e.meridiemHour(t,n):(e.isPM!=null&&(r=e.isPM(n),r&&t<12&&(t+=12),!r&&t===12&&(t=0)),t)}function Yi(e){var t,n,r,i,s,a,l=!1,c=e._f.length;if(c===0){f(e).invalidFormat=!0,e._d=new Date(NaN);return}for(i=0;i<c;i++)s=0,a=!1,t=et({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[i],pt(t),Xe(t)&&(a=!0),s+=f(t).charsLeftOver,s+=f(t).unusedTokens.length*10,f(t).score=s,l?s<r&&(r=s,n=t):(r==null||s<r||a)&&(r=s,n=t,a&&(l=!0));X(e,n||t)}function Oi(e){if(!e._d){var t=at(e._i),n=t.day===void 0?t.date:t.day;e._a=Pt([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],function(r){return r&&parseInt(r,10)}),vt(e)}}function Ti(e){var t=new ge(yt(an(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function an(e){var t=e._i,n=e._f;return e._locale=e._locale||z(e._l),t===null||n===void 0&&t===""?Te({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),E(t)?new ge(yt(t)):(ye(t)?e._d=t:P(n)?Yi(e):n?pt(e):bi(e),Xe(e)||(e._d=null),e))}function bi(e){var t=e._i;b(t)?e._d=new Date(u.now()):ye(t)?e._d=new Date(t.valueOf()):typeof t=="string"?Mi(e):P(t)?(e._a=Pt(t.slice(0),function(n){return parseInt(n,10)}),vt(e)):re(t)?Oi(e):U(t)?e._d=new Date(t):u.createFromInputFallback(e)}function on(e,t,n,r,i){var s={};return(t===!0||t===!1)&&(r=t,t=void 0),(n===!0||n===!1)&&(r=n,n=void 0),(re(e)&&Je(e)||P(e)&&e.length===0)&&(e=void 0),s._isAMomentObject=!0,s._useUTC=s._isUTC=i,s._l=n,s._i=e,s._f=t,s._strict=r,Ti(s)}function M(e,t,n,r){return on(e,t,n,r,!1)}var Ni=C("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=M.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:Te()}),Ci=C("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=M.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:Te()});function un(e,t){var n,r;if(t.length===1&&P(t[0])&&(t=t[0]),!t.length)return M();for(n=t[0],r=1;r<t.length;++r)(!t[r].isValid()||t[r][e](n))&&(n=t[r]);return n}function Ri(){var e=[].slice.call(arguments,0);return un("isBefore",e)}function xi(){var e=[].slice.call(arguments,0);return un("isAfter",e)}var Pi=function(){return Date.now?Date.now():+new Date},Oe=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Ei(e){var t,n=!1,r,i=Oe.length;for(t in e)if(g(e,t)&&!(D.call(Oe,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(r=0;r<i;++r)if(e[Oe[r]]){if(n)return!1;parseFloat(e[Oe[r]])!==m(e[Oe[r]])&&(n=!0)}return!0}function Li(){return this._isValid}function Ai(){return A(NaN)}function Ie(e){var t=at(e),n=t.year||0,r=t.quarter||0,i=t.month||0,s=t.week||t.isoWeek||0,a=t.day||0,l=t.hour||0,c=t.minute||0,_=t.second||0,T=t.millisecond||0;this._isValid=Ei(t),this._milliseconds=+T+_*1e3+c*6e4+l*1e3*60*60,this._days=+a+s*7,this._months=+i+r*3+n*12,this._data={},this._locale=z(),this._bubble()}function Ue(e){return e instanceof Ie}function wt(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function Hi(e,t,n){var r=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),s=0,a;for(a=0;a<r;a++)m(e[a])!==m(t[a])&&s++;return s+i}function ln(e,t){h(e,0,0,function(){var n=this.utcOffset(),r="+";return n<0&&(n=-n,r="-"),r+F(~~(n/60),2)+t+F(~~n%60,2)})}ln("Z",":"),ln("ZZ",""),d("Z",Ee),d("ZZ",Ee),p(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Mt(Ee,e)});var Wi=/([\+\-]|\d\d)/gi;function Mt(e,t){var n=(t||"").match(e),r,i,s;return n===null?null:(r=n[n.length-1]||[],i=(r+"").match(Wi)||["-",0,0],s=+(i[1]*60)+m(i[2]),s===0?0:i[0]==="+"?s:-s)}function kt(e,t){var n,r;return t._isUTC?(n=t.clone(),r=(E(e)||ye(e)?e.valueOf():M(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),u.updateOffset(n,!1),n):M(e).local()}function St(e){return-Math.round(e._d.getTimezoneOffset())}u.updateOffset=function(){};function Fi(e,t,n){var r=this._offset||0,i;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=Mt(Ee,e),e===null)return this}else Math.abs(e)<16&&!n&&(e=e*60);return!this._isUTC&&t&&(i=St(this)),this._offset=e,this._isUTC=!0,i!=null&&this.add(i,"m"),r!==e&&(!t||this._changeInProgress?fn(this,A(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,u.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?r:St(this)}function Ii(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function Ui(e){return this.utcOffset(0,e)}function ji(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(St(this),"m")),this}function Gi(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=Mt(ur,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function Vi(e){return this.isValid()?(e=e?M(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function qi(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function zi(){if(!b(this._isDSTShifted))return this._isDSTShifted;var e={},t;return et(e,this),e=an(e),e._a?(t=e._isUTC?H(e._a):M(e._a),this._isDSTShifted=this.isValid()&&Hi(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Zi(){return this.isValid()?!this._isUTC:!1}function Bi(){return this.isValid()?this._isUTC:!1}function dn(){return this.isValid()?this._isUTC&&this._offset===0:!1}var $i=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Ji=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function A(e,t){var n=e,r=null,i,s,a;return Ue(e)?n={ms:e._milliseconds,d:e._days,M:e._months}:U(e)||!isNaN(+e)?(n={},t?n[t]=+e:n.milliseconds=+e):(r=$i.exec(e))?(i=r[1]==="-"?-1:1,n={y:0,d:m(r[I])*i,h:m(r[Y])*i,m:m(r[L])*i,s:m(r[V])*i,ms:m(wt(r[ie]*1e3))*i}):(r=Ji.exec(e))?(i=r[1]==="-"?-1:1,n={y:se(r[2],i),M:se(r[3],i),w:se(r[4],i),d:se(r[5],i),h:se(r[6],i),m:se(r[7],i),s:se(r[8],i)}):n==null?n={}:typeof n=="object"&&("from"in n||"to"in n)&&(a=Qi(M(n.from),M(n.to)),n={},n.ms=a.milliseconds,n.M=a.months),s=new Ie(n),Ue(e)&&g(e,"_locale")&&(s._locale=e._locale),Ue(e)&&g(e,"_isValid")&&(s._isValid=e._isValid),s}A.fn=Ie.prototype,A.invalid=Ai;function se(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function hn(e,t){var n={};return n.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Qi(e,t){var n;return e.isValid()&&t.isValid()?(t=kt(t,e),e.isBefore(t)?n=hn(e,t):(n=hn(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function cn(e,t){return function(n,r){var i,s;return r!==null&&!isNaN(+r)&&(Ht(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."),s=n,n=r,r=s),i=A(n,r),fn(this,i,e),this}}function fn(e,t,n,r){var i=t._milliseconds,s=wt(t._days),a=wt(t._months);e.isValid()&&(r=r??!0,a&&Bt(e,Me(e,"Month")+a*n),s&&qt(e,"Date",Me(e,"Date")+s*n),i&&e._d.setTime(e._d.valueOf()+i*n),r&&u.updateOffset(e,s||a))}var Xi=cn(1,"add"),Ki=cn(-1,"subtract");function mn(e){return typeof e=="string"||e instanceof String}function es(e){return E(e)||ye(e)||mn(e)||U(e)||ns(e)||ts(e)||e===null||e===void 0}function ts(e){var t=re(e)&&!Je(e),n=!1,r=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],i,s,a=r.length;for(i=0;i<a;i+=1)s=r[i],n=n||g(e,s);return t&&n}function ns(e){var t=P(e),n=!1;return t&&(n=e.filter(function(r){return!U(r)&&mn(e)}).length===0),t&&n}function rs(e){var t=re(e)&&!Je(e),n=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],i,s;for(i=0;i<r.length;i+=1)s=r[i],n=n||g(e,s);return t&&n}function is(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 ss(e,t){arguments.length===1&&(arguments[0]?es(arguments[0])?(e=arguments[0],t=void 0):rs(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||M(),r=kt(n,this).startOf("day"),i=u.calendarFormat(this,r)||"sameElse",s=t&&(W(t[i])?t[i].call(this,n):t[i]);return this.format(s||this.localeData().calendar(i,this,M(n)))}function as(){return new ge(this)}function os(e,t){var n=E(e)?e:M(e);return this.isValid()&&n.isValid()?(t=R(t)||"millisecond",t==="millisecond"?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf()):!1}function us(e,t){var n=E(e)?e:M(e);return this.isValid()&&n.isValid()?(t=R(t)||"millisecond",t==="millisecond"?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf()):!1}function ls(e,t,n,r){var i=E(e)?e:M(e),s=E(t)?t:M(t);return this.isValid()&&i.isValid()&&s.isValid()?(r=r||"()",(r[0]==="("?this.isAfter(i,n):!this.isBefore(i,n))&&(r[1]===")"?this.isBefore(s,n):!this.isAfter(s,n))):!1}function ds(e,t){var n=E(e)?e:M(e),r;return this.isValid()&&n.isValid()?(t=R(t)||"millisecond",t==="millisecond"?this.valueOf()===n.valueOf():(r=n.valueOf(),this.clone().startOf(t).valueOf()<=r&&r<=this.clone().endOf(t).valueOf())):!1}function hs(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function cs(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function fs(e,t,n){var r,i,s;if(!this.isValid())return NaN;if(r=kt(e,this),!r.isValid())return NaN;switch(i=(r.utcOffset()-this.utcOffset())*6e4,t=R(t),t){case"year":s=je(this,r)/12;break;case"month":s=je(this,r);break;case"quarter":s=je(this,r)/3;break;case"second":s=(this-r)/1e3;break;case"minute":s=(this-r)/6e4;break;case"hour":s=(this-r)/36e5;break;case"day":s=(this-r-i)/864e5;break;case"week":s=(this-r-i)/6048e5;break;default:s=this-r}return n?s:x(s)}function je(e,t){if(e.date()<t.date())return-je(t,e);var n=(t.year()-e.year())*12+(t.month()-e.month()),r=e.clone().add(n,"months"),i,s;return t-r<0?(i=e.clone().add(n-1,"months"),s=(t-r)/(r-i)):(i=e.clone().add(n+1,"months"),s=(t-r)/(i-r)),-(n+s)||0}u.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",u.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function ms(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function _s(e){if(!this.isValid())return null;var t=e!==!0,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?Ne(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):W(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Ne(n,"Z")):Ne(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function ys(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",n,r,i,s;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),n="["+e+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i="-MM-DD[T]HH:mm:ss.SSS",s=t+'[")]',this.format(n+r+i+s)}function gs(e){e||(e=this.isUtc()?u.defaultFormatUtc:u.defaultFormat);var t=Ne(this,e);return this.localeData().postformat(t)}function vs(e,t){return this.isValid()&&(E(e)&&e.isValid()||M(e).isValid())?A({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function ps(e){return this.from(M(),e)}function ws(e,t){return this.isValid()&&(E(e)&&e.isValid()||M(e).isValid())?A({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Ms(e){return this.to(M(),e)}function _n(e){var t;return e===void 0?this._locale._abbr:(t=z(e),t!=null&&(this._locale=t),this)}var yn=C("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function gn(){return this._locale}var Ge=1e3,ce=60*Ge,Ve=60*ce,vn=(365*400+97)*24*Ve;function fe(e,t){return(e%t+t)%t}function pn(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-vn:new Date(e,t,n).valueOf()}function wn(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-vn:Date.UTC(e,t,n)}function ks(e){var t,n;if(e=R(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?wn:pn,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=fe(t+(this._isUTC?0:this.utcOffset()*ce),Ve);break;case"minute":t=this._d.valueOf(),t-=fe(t,ce);break;case"second":t=this._d.valueOf(),t-=fe(t,Ge);break}return this._d.setTime(t),u.updateOffset(this,!0),this}function Ss(e){var t,n;if(e=R(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?wn:pn,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=Ve-fe(t+(this._isUTC?0:this.utcOffset()*ce),Ve)-1;break;case"minute":t=this._d.valueOf(),t+=ce-fe(t,ce)-1;break;case"second":t=this._d.valueOf(),t+=Ge-fe(t,Ge)-1;break}return this._d.setTime(t),u.updateOffset(this,!0),this}function Ds(){return this._d.valueOf()-(this._offset||0)*6e4}function Ys(){return Math.floor(this.valueOf()/1e3)}function Os(){return new Date(this.valueOf())}function Ts(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function bs(){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 Ns(){return this.isValid()?this.toISOString():null}function Cs(){return Xe(this)}function Rs(){return X({},f(this))}function xs(){return f(this).overflow}function Ps(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}h("N",0,0,"eraAbbr"),h("NN",0,0,"eraAbbr"),h("NNN",0,0,"eraAbbr"),h("NNNN",0,0,"eraName"),h("NNNNN",0,0,"eraNarrow"),h("y",["y",1],"yo","eraYear"),h("y",["yy",2],0,"eraYear"),h("y",["yyy",3],0,"eraYear"),h("y",["yyyy",4],0,"eraYear"),d("N",Dt),d("NN",Dt),d("NNN",Dt),d("NNNN",Vs),d("NNNNN",qs),p(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,r){var i=n._locale.erasParse(e,r,n._strict);i?f(n).era=i:f(n).invalidEra=e}),d("y",ue),d("yy",ue),d("yyy",ue),d("yyyy",ue),d("yo",zs),p(["y","yy","yyy","yyyy"],O),p(["yo"],function(e,t,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[O]=n._locale.eraYearOrdinalParse(e,i):t[O]=parseInt(e,10)});function Es(e,t){var n,r,i,s=this._eras||z("en")._eras;for(n=0,r=s.length;n<r;++n){switch(typeof s[n].since){case"string":i=u(s[n].since).startOf("day"),s[n].since=i.valueOf();break}switch(typeof s[n].until){case"undefined":s[n].until=1/0;break;case"string":i=u(s[n].until).startOf("day").valueOf(),s[n].until=i.valueOf();break}}return s}function Ls(e,t,n){var r,i,s=this.eras(),a,l,c;for(e=e.toUpperCase(),r=0,i=s.length;r<i;++r)if(a=s[r].name.toUpperCase(),l=s[r].abbr.toUpperCase(),c=s[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(l===e)return s[r];break;case"NNNN":if(a===e)return s[r];break;case"NNNNN":if(c===e)return s[r];break}else if([a,l,c].indexOf(e)>=0)return s[r]}function As(e,t){var n=e.since<=e.until?1:-1;return t===void 0?u(e.since).year():u(e.since).year()+(t-e.offset)*n}function Hs(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until||r[e].until<=n&&n<=r[e].since)return r[e].name;return""}function Ws(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until||r[e].until<=n&&n<=r[e].since)return r[e].narrow;return""}function Fs(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until||r[e].until<=n&&n<=r[e].since)return r[e].abbr;return""}function Is(){var e,t,n,r,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e)if(n=i[e].since<=i[e].until?1:-1,r=this.clone().startOf("day").valueOf(),i[e].since<=r&&r<=i[e].until||i[e].until<=r&&r<=i[e].since)return(this.year()-u(i[e].since).year())*n+i[e].offset;return this.year()}function Us(e){return g(this,"_erasNameRegex")||Yt.call(this),e?this._erasNameRegex:this._erasRegex}function js(e){return g(this,"_erasAbbrRegex")||Yt.call(this),e?this._erasAbbrRegex:this._erasRegex}function Gs(e){return g(this,"_erasNarrowRegex")||Yt.call(this),e?this._erasNarrowRegex:this._erasRegex}function Dt(e,t){return t.erasAbbrRegex(e)}function Vs(e,t){return t.erasNameRegex(e)}function qs(e,t){return t.erasNarrowRegex(e)}function zs(e,t){return t._eraYearOrdinalRegex||ue}function Yt(){var e=[],t=[],n=[],r=[],i,s,a,l,c,_=this.eras();for(i=0,s=_.length;i<s;++i)a=j(_[i].name),l=j(_[i].abbr),c=j(_[i].narrow),t.push(a),e.push(l),n.push(c),r.push(a),r.push(l),r.push(c);this._erasRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}h(0,["gg",2],0,function(){return this.weekYear()%100}),h(0,["GG",2],0,function(){return this.isoWeekYear()%100});function qe(e,t){h(0,[e,e.length],0,t)}qe("gggg","weekYear"),qe("ggggg","weekYear"),qe("GGGG","isoWeekYear"),qe("GGGGG","isoWeekYear"),d("G",Pe),d("g",Pe),d("GG",w,N),d("gg",w,N),d("GGGG",ut,ot),d("gggg",ut,ot),d("GGGGG",xe,Ce),d("ggggg",xe,Ce),pe(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=m(e)}),pe(["gg","GG"],function(e,t,n,r){t[r]=u.parseTwoDigitYear(e)});function Zs(e){return Mn.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function Bs(e){return Mn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function $s(){return q(this.year(),1,4)}function Js(){return q(this.isoWeekYear(),1,4)}function Qs(){var e=this.localeData()._week;return q(this.year(),e.dow,e.doy)}function Xs(){var e=this.localeData()._week;return q(this.weekYear(),e.dow,e.doy)}function Mn(e,t,n,r,i){var s;return e==null?Se(this,r,i).year:(s=q(e,r,i),t>s&&(t=s),Ks.call(this,e,t,n,r,i))}function Ks(e,t,n,r,i){var s=Qt(e,t,n,r,i),a=ke(s.year,0,s.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}h("Q",0,"Qo","quarter"),d("Q",It),p("Q",function(e,t){t[G]=(m(e)-1)*3});function ea(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}h("D",["DD",2],"Do","date"),d("D",w,le),d("DD",w,N),d("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),p(["D","DD"],I),p("Do",function(e,t){t[I]=m(e.match(w)[0])});var kn=de("Date",!0);h("DDD",["DDDD",3],"DDDo","dayOfYear"),d("DDD",Re),d("DDDD",Ut),p(["DDD","DDDD"],function(e,t,n){n._dayOfYear=m(e)});function ta(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}h("m",["mm",2],0,"minute"),d("m",w,lt),d("mm",w,N),p(["m","mm"],L);var na=de("Minutes",!1);h("s",["ss",2],0,"second"),d("s",w,lt),d("ss",w,N),p(["s","ss"],V);var ra=de("Seconds",!1);h("S",0,0,function(){return~~(this.millisecond()/100)}),h(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),h(0,["SSS",3],0,"millisecond"),h(0,["SSSS",4],0,function(){return this.millisecond()*10}),h(0,["SSSSS",5],0,function(){return this.millisecond()*100}),h(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),h(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),h(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),h(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),d("S",Re,It),d("SS",Re,N),d("SSS",Re,Ut);var ee,Sn;for(ee="SSSS";ee.length<=9;ee+="S")d(ee,ue);function ia(e,t){t[ie]=m(("0."+e)*1e3)}for(ee="S";ee.length<=9;ee+="S")p(ee,ia);Sn=de("Milliseconds",!1),h("z",0,0,"zoneAbbr"),h("zz",0,0,"zoneName");function sa(){return this._isUTC?"UTC":""}function aa(){return this._isUTC?"Coordinated Universal Time":""}var o=ge.prototype;o.add=Xi,o.calendar=ss,o.clone=as,o.diff=fs,o.endOf=Ss,o.format=gs,o.from=vs,o.fromNow=ps,o.to=ws,o.toNow=Ms,o.get=yr,o.invalidAt=xs,o.isAfter=os,o.isBefore=us,o.isBetween=ls,o.isSame=ds,o.isSameOrAfter=hs,o.isSameOrBefore=cs,o.isValid=Cs,o.lang=yn,o.locale=_n,o.localeData=gn,o.max=Ci,o.min=Ni,o.parsingFlags=Rs,o.set=gr,o.startOf=ks,o.subtract=Ki,o.toArray=Ts,o.toObject=bs,o.toDate=Os,o.toISOString=_s,o.inspect=ys,typeof Symbol<"u"&&Symbol.for!=null&&(o[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),o.toJSON=Ns,o.toString=ms,o.unix=Ys,o.valueOf=Ds,o.creationData=Ps,o.eraName=Hs,o.eraNarrow=Ws,o.eraAbbr=Fs,o.eraYear=Is,o.year=Vt,o.isLeapYear=_r,o.weekYear=Zs,o.isoWeekYear=Bs,o.quarter=o.quarters=ea,o.month=$t,o.daysInMonth=Or,o.week=o.weeks=Er,o.isoWeek=o.isoWeeks=Lr,o.weeksInYear=Qs,o.weeksInWeekYear=Xs,o.isoWeeksInYear=$s,o.isoWeeksInISOWeekYear=Js,o.date=kn,o.day=o.days=Br,o.weekday=$r,o.isoWeekday=Jr,o.dayOfYear=ta,o.hour=o.hours=ri,o.minute=o.minutes=na,o.second=o.seconds=ra,o.millisecond=o.milliseconds=Sn,o.utcOffset=Fi,o.utc=Ui,o.local=ji,o.parseZone=Gi,o.hasAlignedHourOffset=Vi,o.isDST=qi,o.isLocal=Zi,o.isUtcOffset=Bi,o.isUtc=dn,o.isUTC=dn,o.zoneAbbr=sa,o.zoneName=aa,o.dates=C("dates accessor is deprecated. Use date instead.",kn),o.months=C("months accessor is deprecated. Use month instead",$t),o.years=C("years accessor is deprecated. Use year instead",Vt),o.zone=C("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Ii),o.isDSTShifted=C("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",zi);function oa(e){return M(e*1e3)}function ua(){return M.apply(null,arguments).parseZone()}function Dn(e){return e}var v=nt.prototype;v.calendar=Zn,v.longDateFormat=Qn,v.invalidDate=Kn,v.ordinal=nr,v.preparse=Dn,v.postformat=Dn,v.relativeTime=ir,v.pastFuture=sr,v.set=qn,v.eras=Es,v.erasParse=Ls,v.erasConvertYear=As,v.erasAbbrRegex=js,v.erasNameRegex=Us,v.erasNarrowRegex=Gs,v.months=kr,v.monthsShort=Sr,v.monthsParse=Yr,v.monthsRegex=br,v.monthsShortRegex=Tr,v.week=Cr,v.firstDayOfYear=Pr,v.firstDayOfWeek=xr,v.weekdays=Gr,v.weekdaysMin=qr,v.weekdaysShort=Vr,v.weekdaysParse=Zr,v.weekdaysRegex=Qr,v.weekdaysShortRegex=Xr,v.weekdaysMinRegex=Kr,v.isPM=ti,v.meridiem=ii;function ze(e,t,n,r){var i=z(),s=H().set(r,t);return i[n](s,e)}function Yn(e,t,n){if(U(e)&&(t=e,e=void 0),e=e||"",t!=null)return ze(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=ze(e,r,n,"month");return i}function Ot(e,t,n,r){typeof e=="boolean"?(U(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,U(t)&&(n=t,t=void 0),t=t||"");var i=z(),s=e?i._week.dow:0,a,l=[];if(n!=null)return ze(t,(n+s)%7,r,"day");for(a=0;a<7;a++)l[a]=ze(t,(a+s)%7,r,"day");return l}function la(e,t){return Yn(e,t,"months")}function da(e,t){return Yn(e,t,"monthsShort")}function ha(e,t,n){return Ot(e,t,n,"weekdays")}function ca(e,t,n){return Ot(e,t,n,"weekdaysShort")}function fa(e,t,n){return Ot(e,t,n,"weekdaysMin")}K("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=m(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+n}}),u.lang=C("moment.lang is deprecated. Use moment.locale instead.",K),u.langData=C("moment.langData is deprecated. Use moment.localeData instead.",z);var Z=Math.abs;function ma(){var e=this._data;return this._milliseconds=Z(this._milliseconds),this._days=Z(this._days),this._months=Z(this._months),e.milliseconds=Z(e.milliseconds),e.seconds=Z(e.seconds),e.minutes=Z(e.minutes),e.hours=Z(e.hours),e.months=Z(e.months),e.years=Z(e.years),this}function On(e,t,n,r){var i=A(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function _a(e,t){return On(this,e,t,1)}function ya(e,t){return On(this,e,t,-1)}function Tn(e){return e<0?Math.floor(e):Math.ceil(e)}function ga(){var e=this._milliseconds,t=this._days,n=this._months,r=this._data,i,s,a,l,c;return e>=0&&t>=0&&n>=0||e<=0&&t<=0&&n<=0||(e+=Tn(Tt(n)+t)*864e5,t=0,n=0),r.milliseconds=e%1e3,i=x(e/1e3),r.seconds=i%60,s=x(i/60),r.minutes=s%60,a=x(s/60),r.hours=a%24,t+=x(a/24),c=x(bn(t)),n+=c,t-=Tn(Tt(c)),l=x(n/12),n%=12,r.days=t,r.months=n,r.years=l,this}function bn(e){return e*4800/146097}function Tt(e){return e*146097/4800}function va(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if(e=R(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+r/864e5,n=this._months+bn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Tt(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return t*24+r/36e5;case"minute":return t*1440+r/6e4;case"second":return t*86400+r/1e3;case"millisecond":return Math.floor(t*864e5)+r;default:throw new Error("Unknown unit "+e)}}function B(e){return function(){return this.as(e)}}var Nn=B("ms"),pa=B("s"),wa=B("m"),Ma=B("h"),ka=B("d"),Sa=B("w"),Da=B("M"),Ya=B("Q"),Oa=B("y"),Ta=Nn;function ba(){return A(this)}function Na(e){return e=R(e),this.isValid()?this[e+"s"]():NaN}function ae(e){return function(){return this.isValid()?this._data[e]:NaN}}var Ca=ae("milliseconds"),Ra=ae("seconds"),xa=ae("minutes"),Pa=ae("hours"),Ea=ae("days"),La=ae("months"),Aa=ae("years");function Ha(){return x(this.days()/7)}var $=Math.round,me={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Wa(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function Fa(e,t,n,r){var i=A(e).abs(),s=$(i.as("s")),a=$(i.as("m")),l=$(i.as("h")),c=$(i.as("d")),_=$(i.as("M")),T=$(i.as("w")),J=$(i.as("y")),te=s<=n.ss&&["s",s]||s<n.s&&["ss",s]||a<=1&&["m"]||a<n.m&&["mm",a]||l<=1&&["h"]||l<n.h&&["hh",l]||c<=1&&["d"]||c<n.d&&["dd",c];return n.w!=null&&(te=te||T<=1&&["w"]||T<n.w&&["ww",T]),te=te||_<=1&&["M"]||_<n.M&&["MM",_]||J<=1&&["y"]||["yy",J],te[2]=t,te[3]=+e>0,te[4]=r,Wa.apply(null,te)}function Ia(e){return e===void 0?$:typeof e=="function"?($=e,!0):!1}function Ua(e,t){return me[e]===void 0?!1:t===void 0?me[e]:(me[e]=t,e==="s"&&(me.ss=t-1),!0)}function ja(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,r=me,i,s;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(n=e),typeof t=="object"&&(r=Object.assign({},me,t),t.s!=null&&t.ss==null&&(r.ss=t.s-1)),i=this.localeData(),s=Fa(this,!n,r,i),n&&(s=i.pastFuture(+this,s)),i.postformat(s)}var bt=Math.abs;function _e(e){return(e>0)-(e<0)||+e}function Ze(){if(!this.isValid())return this.localeData().invalidDate();var e=bt(this._milliseconds)/1e3,t=bt(this._days),n=bt(this._months),r,i,s,a,l=this.asSeconds(),c,_,T,J;return l?(r=x(e/60),i=x(r/60),e%=60,r%=60,s=x(n/12),n%=12,a=e?e.toFixed(3).replace(/\.?0+$/,""):"",c=l<0?"-":"",_=_e(this._months)!==_e(l)?"-":"",T=_e(this._days)!==_e(l)?"-":"",J=_e(this._milliseconds)!==_e(l)?"-":"",c+"P"+(s?_+s+"Y":"")+(n?_+n+"M":"")+(t?T+t+"D":"")+(i||r||e?"T":"")+(i?J+i+"H":"")+(r?J+r+"M":"")+(e?J+a+"S":"")):"P0D"}var y=Ie.prototype;y.isValid=Li,y.abs=ma,y.add=_a,y.subtract=ya,y.as=va,y.asMilliseconds=Nn,y.asSeconds=pa,y.asMinutes=wa,y.asHours=Ma,y.asDays=ka,y.asWeeks=Sa,y.asMonths=Da,y.asQuarters=Ya,y.asYears=Oa,y.valueOf=Ta,y._bubble=ga,y.clone=ba,y.get=Na,y.milliseconds=Ca,y.seconds=Ra,y.minutes=xa,y.hours=Pa,y.days=Ea,y.weeks=Ha,y.months=La,y.years=Aa,y.humanize=ja,y.toISOString=Ze,y.toString=Ze,y.toJSON=Ze,y.locale=_n,y.localeData=gn,y.toIsoString=C("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Ze),y.lang=yn,h("X",0,0,"unix"),h("x",0,0,"valueOf"),d("x",Pe),d("X",lr),p("X",function(e,t,n){n._d=new Date(parseFloat(e)*1e3)}),p("x",function(e,t,n){n._d=new Date(m(e))});//! moment.js
|
|
10
|
-
u.version="2.30.1",Gn(M),u.fn=o,u.min=Ri,u.max=xi,u.now=Pi,u.utc=
|
|
9
|
+
`+new Error().stack),n=!1}return t.apply(this,arguments)},t)}var At={};function Ht(e,t){u.deprecationHandler!=null&&u.deprecationHandler(e,t),At[e]||(Lt(t),At[e]=!0)}u.suppressDeprecationWarnings=!1,u.deprecationHandler=null;function F(e){return typeof Function<"u"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function qn(e){var t,n;for(n in e)g(e,n)&&(t=e[n],F(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 tt(e,t){var n=K({},e),r;for(r in t)g(t,r)&&(re(e[r])&&re(t[r])?(n[r]={},K(n[r],e[r]),K(n[r],t[r])):t[r]!=null?n[r]=t[r]:delete n[r]);for(r in e)g(e,r)&&!g(t,r)&&re(e[r])&&(n[r]=K({},n[r]));return n}function nt(e){e!=null&&this.set(e)}var rt;Object.keys?rt=Object.keys:rt=function(e){var t,n=[];for(t in e)g(e,t)&&n.push(t);return n};var zn={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function Zn(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return F(r)?r.call(t,n):r}function U(e,t,n){var r=""+Math.abs(e),i=t-r.length,s=e>=0;return(s?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}var it=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,be=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,st={},oe={};function h(e,t,n,r){var i=r;typeof r=="string"&&(i=function(){return this[r]()}),e&&(oe[e]=i),t&&(oe[t[0]]=function(){return U(i.apply(this,arguments),t[1],t[2])}),n&&(oe[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function $n(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function Bn(e){var t=e.match(it),n,r;for(n=0,r=t.length;n<r;n++)oe[t[n]]?t[n]=oe[t[n]]:t[n]=$n(t[n]);return function(i){var s="",a;for(a=0;a<r;a++)s+=F(t[a])?t[a].call(i,e):t[a];return s}}function Ne(e,t){return e.isValid()?(t=Wt(t,e.localeData()),st[t]=st[t]||Bn(t),st[t](e)):e.localeData().invalidDate()}function Wt(e,t){var n=5;function r(i){return t.longDateFormat(i)||i}for(be.lastIndex=0;n>=0&&be.test(e);)e=e.replace(be,r),be.lastIndex=0,n-=1;return e}var Jn={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"};function Qn(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(it).map(function(r){return r==="MMMM"||r==="MM"||r==="DD"||r==="dddd"?r.slice(1):r}).join(""),this._longDateFormat[e])}var Xn="Invalid date";function Kn(){return this._invalidDate}var er="%d",tr=/\d{1,2}/;function nr(e){return this._ordinal.replace("%d",e)}var rr={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",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function ir(e,t,n,r){var i=this._relativeTime[n];return F(i)?i(e,t,n,r):i.replace(/%d/i,e)}function sr(e,t){var n=this._relativeTime[e>0?"future":"past"];return F(n)?n(t):n.replace(/%s/i,t)}var It={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function P(e){return typeof e=="string"?It[e]||It[e.toLowerCase()]:void 0}function at(e){var t={},n,r;for(r in e)g(e,r)&&(n=P(r),n&&(t[n]=e[r]));return t}var ar={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function or(e){var t=[],n;for(n in e)g(e,n)&&t.push({unit:n,priority:ar[n]});return t.sort(function(r,i){return r.priority-i.priority}),t}var Ft=/\d/,R=/\d\d/,Ut=/\d{3}/,ot=/\d{4}/,Ce=/[+-]?\d{6}/,w=/\d\d?/,jt=/\d\d\d\d?/,Gt=/\d\d\d\d\d\d?/,Re=/\d{1,3}/,ut=/\d{1,4}/,xe=/[+-]?\d{1,6}/,ue=/\d+/,Pe=/[+-]?\d+/,ur=/Z|[+-]\d\d:?\d\d/gi,Ee=/Z|[+-]\d\d(?::?\d\d)?/gi,lr=/[+-]?\d+(\.\d{1,3})?/,ve=/[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,le=/^[1-9]\d?/,lt=/^([1-9]\d|\d)/,Le;Le={};function d(e,t,n){Le[e]=F(t)?t:function(r,i){return r&&n?n:t}}function dr(e,t){return g(Le,e)?Le[e](t._strict,t._locale):new RegExp(hr(e))}function hr(e){return V(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,n,r,i,s){return n||r||i||s}))}function V(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function E(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function m(e){var t=+e,n=0;return t!==0&&isFinite(t)&&(n=E(t)),n}var dt={};function p(e,t){var n,r=t,i;for(typeof e=="string"&&(e=[e]),G(t)&&(r=function(s,a){a[t]=m(s)}),i=e.length,n=0;n<i;n++)dt[e[n]]=r}function pe(e,t){p(e,function(n,r,i,s){i._w=i._w||{},t(n,i._w,i,s)})}function cr(e,t,n){t!=null&&g(dt,e)&&dt[e](t,n._a,n,e)}function Ae(e){return e%4===0&&e%100!==0||e%400===0}var O=0,q=1,j=2,Y=3,H=4,z=5,ie=6,fr=7,mr=8;h("Y",0,0,function(){var e=this.year();return e<=9999?U(e,4):"+"+e}),h(0,["YY",2],0,function(){return this.year()%100}),h(0,["YYYY",4],0,"year"),h(0,["YYYYY",5],0,"year"),h(0,["YYYYYY",6,!0],0,"year"),d("Y",Pe),d("YY",w,R),d("YYYY",ut,ot),d("YYYYY",xe,Ce),d("YYYYYY",xe,Ce),p(["YYYYY","YYYYYY"],O),p("YYYY",function(e,t){t[O]=e.length===2?u.parseTwoDigitYear(e):m(e)}),p("YY",function(e,t){t[O]=u.parseTwoDigitYear(e)}),p("Y",function(e,t){t[O]=parseInt(e,10)});function we(e){return Ae(e)?366:365}u.parseTwoDigitYear=function(e){return m(e)+(m(e)>68?1900:2e3)};var Vt=de("FullYear",!0);function _r(){return Ae(this.year())}function de(e,t){return function(n){return n!=null?(qt(this,e,n),u.updateOffset(this,t),this):Me(this,e)}}function Me(e,t){if(!e.isValid())return NaN;var n=e._d,r=e._isUTC;switch(t){case"Milliseconds":return r?n.getUTCMilliseconds():n.getMilliseconds();case"Seconds":return r?n.getUTCSeconds():n.getSeconds();case"Minutes":return r?n.getUTCMinutes():n.getMinutes();case"Hours":return r?n.getUTCHours():n.getHours();case"Date":return r?n.getUTCDate():n.getDate();case"Day":return r?n.getUTCDay():n.getDay();case"Month":return r?n.getUTCMonth():n.getMonth();case"FullYear":return r?n.getUTCFullYear():n.getFullYear();default:return NaN}}function qt(e,t,n){var r,i,s,a,l;if(!(!e.isValid()||isNaN(n))){switch(r=e._d,i=e._isUTC,t){case"Milliseconds":return void(i?r.setUTCMilliseconds(n):r.setMilliseconds(n));case"Seconds":return void(i?r.setUTCSeconds(n):r.setSeconds(n));case"Minutes":return void(i?r.setUTCMinutes(n):r.setMinutes(n));case"Hours":return void(i?r.setUTCHours(n):r.setHours(n));case"Date":return void(i?r.setUTCDate(n):r.setDate(n));case"FullYear":break;default:return}s=n,a=e.month(),l=e.date(),l=l===29&&a===1&&!Ae(s)?28:l,i?r.setUTCFullYear(s,a,l):r.setFullYear(s,a,l)}}function yr(e){return e=P(e),F(this[e])?this[e]():this}function gr(e,t){if(typeof e=="object"){e=at(e);var n=or(e),r,i=n.length;for(r=0;r<i;r++)this[n[r].unit](e[n[r].unit])}else if(e=P(e),F(this[e]))return this[e](t);return this}function vr(e,t){return(e%t+t)%t}var D;Array.prototype.indexOf?D=Array.prototype.indexOf:D=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function ht(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=vr(t,12);return e+=(t-n)/12,n===1?Ae(e)?29:28:31-n%7%2}h("M",["MM",2],"Mo",function(){return this.month()+1}),h("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),h("MMMM",0,0,function(e){return this.localeData().months(this,e)}),d("M",w,le),d("MM",w,R),d("MMM",function(e,t){return t.monthsShortRegex(e)}),d("MMMM",function(e,t){return t.monthsRegex(e)}),p(["M","MM"],function(e,t){t[q]=m(e)-1}),p(["MMM","MMMM"],function(e,t,n,r){var i=n._locale.monthsParse(e,r,n._strict);i!=null?t[q]=i:f(n).invalidMonth=e});var pr="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),zt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Zt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,wr=ve,Mr=ve;function kr(e,t){return e?L(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Zt).test(t)?"format":"standalone"][e.month()]:L(this._months)?this._months:this._months.standalone}function Sr(e,t){return e?L(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Zt.test(t)?"format":"standalone"][e.month()]:L(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function Dr(e,t,n){var r,i,s,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)s=I([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(s,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(s,"").toLocaleLowerCase();return n?t==="MMM"?(i=D.call(this._shortMonthsParse,a),i!==-1?i:null):(i=D.call(this._longMonthsParse,a),i!==-1?i:null):t==="MMM"?(i=D.call(this._shortMonthsParse,a),i!==-1?i:(i=D.call(this._longMonthsParse,a),i!==-1?i:null)):(i=D.call(this._longMonthsParse,a),i!==-1?i:(i=D.call(this._shortMonthsParse,a),i!==-1?i:null))}function Yr(e,t,n){var r,i,s;if(this._monthsParseExact)return Dr.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++)if(i=I([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),!n&&!this._monthsParse[r]&&(s="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(s.replace(".",""),"i")),n&&t==="MMMM"&&this._longMonthsParse[r].test(e)||n&&t==="MMM"&&this._shortMonthsParse[r].test(e)||!n&&this._monthsParse[r].test(e))return r}function $t(e,t){if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=m(t);else if(t=e.localeData().monthsParse(t),!G(t))return e}var n=t,r=e.date();return r=r<29?r:Math.min(r,ht(e.year(),n)),e._isUTC?e._d.setUTCMonth(n,r):e._d.setMonth(n,r),e}function Bt(e){return e!=null?($t(this,e),u.updateOffset(this,!0),this):Me(this,"Month")}function Or(){return ht(this.year(),this.month())}function Tr(e){return this._monthsParseExact?(g(this,"_monthsRegex")||Jt.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(g(this,"_monthsShortRegex")||(this._monthsShortRegex=wr),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function br(e){return this._monthsParseExact?(g(this,"_monthsRegex")||Jt.call(this),e?this._monthsStrictRegex:this._monthsRegex):(g(this,"_monthsRegex")||(this._monthsRegex=Mr),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function Jt(){function e(c,_){return _.length-c.length}var t=[],n=[],r=[],i,s,a,l;for(i=0;i<12;i++)s=I([2e3,i]),a=V(this.monthsShort(s,"")),l=V(this.months(s,"")),t.push(a),n.push(l),r.push(l),r.push(a);t.sort(e),n.sort(e),r.sort(e),this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}function Nr(e,t,n,r,i,s,a){var l;return e<100&&e>=0?(l=new Date(e+400,t,n,r,i,s,a),isFinite(l.getFullYear())&&l.setFullYear(e)):l=new Date(e,t,n,r,i,s,a),l}function ke(e){var t,n;return e<100&&e>=0?(n=Array.prototype.slice.call(arguments),n[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function He(e,t,n){var r=7+t-n,i=(7+ke(e,0,r).getUTCDay()-t)%7;return-i+r-1}function Qt(e,t,n,r,i){var s=(7+n-r)%7,a=He(e,r,i),l=1+7*(t-1)+s+a,c,_;return l<=0?(c=e-1,_=we(c)+l):l>we(e)?(c=e+1,_=l-we(e)):(c=e,_=l),{year:c,dayOfYear:_}}function Se(e,t,n){var r=He(e.year(),t,n),i=Math.floor((e.dayOfYear()-r-1)/7)+1,s,a;return i<1?(a=e.year()-1,s=i+Z(a,t,n)):i>Z(e.year(),t,n)?(s=i-Z(e.year(),t,n),a=e.year()+1):(a=e.year(),s=i),{week:s,year:a}}function Z(e,t,n){var r=He(e,t,n),i=He(e+1,t,n);return(we(e)-r+i)/7}h("w",["ww",2],"wo","week"),h("W",["WW",2],"Wo","isoWeek"),d("w",w,le),d("ww",w,R),d("W",w,le),d("WW",w,R),pe(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=m(e)});function Cr(e){return Se(e,this._week.dow,this._week.doy).week}var Rr={dow:0,doy:6};function xr(){return this._week.dow}function Pr(){return this._week.doy}function Er(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function Lr(e){var t=Se(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}h("d",0,"do","day"),h("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),h("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),h("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),h("e",0,0,"weekday"),h("E",0,0,"isoWeekday"),d("d",w),d("e",w),d("E",w),d("dd",function(e,t){return t.weekdaysMinRegex(e)}),d("ddd",function(e,t){return t.weekdaysShortRegex(e)}),d("dddd",function(e,t){return t.weekdaysRegex(e)}),pe(["dd","ddd","dddd"],function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);i!=null?t.d=i:f(n).invalidWeekday=e}),pe(["d","e","E"],function(e,t,n,r){t[r]=m(e)});function Ar(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function Hr(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function ct(e,t){return e.slice(t,7).concat(e.slice(0,t))}var Wr="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Xt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ir="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Fr=ve,Ur=ve,jr=ve;function Gr(e,t){var n=L(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?ct(n,this._week.dow):e?n[e.day()]:n}function Vr(e){return e===!0?ct(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function qr(e){return e===!0?ct(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function zr(e,t,n){var r,i,s,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)s=I([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(s,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(s,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(s,"").toLocaleLowerCase();return n?t==="dddd"?(i=D.call(this._weekdaysParse,a),i!==-1?i:null):t==="ddd"?(i=D.call(this._shortWeekdaysParse,a),i!==-1?i:null):(i=D.call(this._minWeekdaysParse,a),i!==-1?i:null):t==="dddd"?(i=D.call(this._weekdaysParse,a),i!==-1||(i=D.call(this._shortWeekdaysParse,a),i!==-1)?i:(i=D.call(this._minWeekdaysParse,a),i!==-1?i:null)):t==="ddd"?(i=D.call(this._shortWeekdaysParse,a),i!==-1||(i=D.call(this._weekdaysParse,a),i!==-1)?i:(i=D.call(this._minWeekdaysParse,a),i!==-1?i:null)):(i=D.call(this._minWeekdaysParse,a),i!==-1||(i=D.call(this._weekdaysParse,a),i!==-1)?i:(i=D.call(this._shortWeekdaysParse,a),i!==-1?i:null))}function Zr(e,t,n){var r,i,s;if(this._weekdaysParseExact)return zr.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++)if(i=I([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(s="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(s.replace(".",""),"i")),n&&t==="dddd"&&this._fullWeekdaysParse[r].test(e)||n&&t==="ddd"&&this._shortWeekdaysParse[r].test(e)||n&&t==="dd"&&this._minWeekdaysParse[r].test(e)||!n&&this._weekdaysParse[r].test(e))return r}function $r(e){if(!this.isValid())return e!=null?this:NaN;var t=Me(this,"Day");return e!=null?(e=Ar(e,this.localeData()),this.add(e-t,"d")):t}function Br(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function Jr(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=Hr(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function Qr(e){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||ft.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(g(this,"_weekdaysRegex")||(this._weekdaysRegex=Fr),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Xr(e){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||ft.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(g(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ur),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Kr(e){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||ft.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(g(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=jr),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function ft(){function e(T,X){return X.length-T.length}var t=[],n=[],r=[],i=[],s,a,l,c,_;for(s=0;s<7;s++)a=I([2e3,1]).day(s),l=V(this.weekdaysMin(a,"")),c=V(this.weekdaysShort(a,"")),_=V(this.weekdays(a,"")),t.push(l),n.push(c),r.push(_),i.push(l),i.push(c),i.push(_);t.sort(e),n.sort(e),r.sort(e),i.sort(e),this._weekdaysRegex=new RegExp("^("+i.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function mt(){return this.hours()%12||12}function ei(){return this.hours()||24}h("H",["HH",2],0,"hour"),h("h",["hh",2],0,mt),h("k",["kk",2],0,ei),h("hmm",0,0,function(){return""+mt.apply(this)+U(this.minutes(),2)}),h("hmmss",0,0,function(){return""+mt.apply(this)+U(this.minutes(),2)+U(this.seconds(),2)}),h("Hmm",0,0,function(){return""+this.hours()+U(this.minutes(),2)}),h("Hmmss",0,0,function(){return""+this.hours()+U(this.minutes(),2)+U(this.seconds(),2)});function Kt(e,t){h(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}Kt("a",!0),Kt("A",!1);function en(e,t){return t._meridiemParse}d("a",en),d("A",en),d("H",w,lt),d("h",w,le),d("k",w,le),d("HH",w,R),d("hh",w,R),d("kk",w,R),d("hmm",jt),d("hmmss",Gt),d("Hmm",jt),d("Hmmss",Gt),p(["H","HH"],Y),p(["k","kk"],function(e,t,n){var r=m(e);t[Y]=r===24?0:r}),p(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),p(["h","hh"],function(e,t,n){t[Y]=m(e),f(n).bigHour=!0}),p("hmm",function(e,t,n){var r=e.length-2;t[Y]=m(e.substr(0,r)),t[H]=m(e.substr(r)),f(n).bigHour=!0}),p("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[Y]=m(e.substr(0,r)),t[H]=m(e.substr(r,2)),t[z]=m(e.substr(i)),f(n).bigHour=!0}),p("Hmm",function(e,t,n){var r=e.length-2;t[Y]=m(e.substr(0,r)),t[H]=m(e.substr(r))}),p("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[Y]=m(e.substr(0,r)),t[H]=m(e.substr(r,2)),t[z]=m(e.substr(i))});function ti(e){return(e+"").toLowerCase().charAt(0)==="p"}var ni=/[ap]\.?m?\.?/i,ri=de("Hours",!0);function ii(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var tn={calendar:zn,longDateFormat:Jn,invalidDate:Xn,ordinal:er,dayOfMonthOrdinalParse:tr,relativeTime:rr,months:pr,monthsShort:zt,week:Rr,weekdays:Wr,weekdaysMin:Ir,weekdaysShort:Xt,meridiemParse:ni},k={},De={},Ye;function si(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n<r;n+=1)if(e[n]!==t[n])return n;return r}function nn(e){return e&&e.toLowerCase().replace("_","-")}function ai(e){for(var t=0,n,r,i,s;t<e.length;){for(s=nn(e[t]).split("-"),n=s.length,r=nn(e[t+1]),r=r?r.split("-"):null;n>0;){if(i=We(s.slice(0,n).join("-")),i)return i;if(r&&r.length>=n&&si(s,r)>=n-1)break;n--}t++}return Ye}function oi(e){return!!(e&&e.match("^[^/\\\\]*$"))}function We(e){var t=null,n;if(k[e]===void 0&&typeof module<"u"&&module&&module.exports&&oi(e))try{t=Ye._abbr,n=require,n("./locale/"+e),ee(t)}catch{k[e]=null}return k[e]}function ee(e,t){var n;return e&&(N(t)?n=$(e):n=_t(e,t),n?Ye=n:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Ye._abbr}function _t(e,t){if(t!==null){var n,r=tn;if(t.abbr=e,k[e]!=null)Ht("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=k[e]._config;else if(t.parentLocale!=null)if(k[t.parentLocale]!=null)r=k[t.parentLocale]._config;else if(n=We(t.parentLocale),n!=null)r=n._config;else return De[t.parentLocale]||(De[t.parentLocale]=[]),De[t.parentLocale].push({name:e,config:t}),null;return k[e]=new nt(tt(r,t)),De[e]&&De[e].forEach(function(i){_t(i.name,i.config)}),ee(e),k[e]}else return delete k[e],null}function ui(e,t){if(t!=null){var n,r,i=tn;k[e]!=null&&k[e].parentLocale!=null?k[e].set(tt(k[e]._config,t)):(r=We(e),r!=null&&(i=r._config),t=tt(i,t),r==null&&(t.abbr=e),n=new nt(t),n.parentLocale=k[e],k[e]=n),ee(e)}else k[e]!=null&&(k[e].parentLocale!=null?(k[e]=k[e].parentLocale,e===ee()&&ee(e)):k[e]!=null&&delete k[e]);return k[e]}function $(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Ye;if(!L(e)){if(t=We(e),t)return t;e=[e]}return ai(e)}function li(){return rt(k)}function yt(e){var t,n=e._a;return n&&f(e).overflow===-2&&(t=n[q]<0||n[q]>11?q:n[j]<1||n[j]>ht(n[O],n[q])?j:n[Y]<0||n[Y]>24||n[Y]===24&&(n[H]!==0||n[z]!==0||n[ie]!==0)?Y:n[H]<0||n[H]>59?H:n[z]<0||n[z]>59?z:n[ie]<0||n[ie]>999?ie:-1,f(e)._overflowDayOfYear&&(t<O||t>j)&&(t=j),f(e)._overflowWeeks&&t===-1&&(t=fr),f(e)._overflowWeekday&&t===-1&&(t=mr),f(e).overflow=t),e}var di=/^\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)?)?$/,hi=/^\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)?)?$/,ci=/Z|[+-]\d\d(?::?\d\d)?/,Ie=[["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}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],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/]],fi=/^\/?Date\((-?\d+)/i,mi=/^(?:(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}))$/,_i={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function rn(e){var t,n,r=e._i,i=di.exec(r)||hi.exec(r),s,a,l,c,_=Ie.length,T=gt.length;if(i){for(f(e).iso=!0,t=0,n=_;t<n;t++)if(Ie[t][1].exec(i[1])){a=Ie[t][0],s=Ie[t][2]!==!1;break}if(a==null){e._isValid=!1;return}if(i[3]){for(t=0,n=T;t<n;t++)if(gt[t][1].exec(i[3])){l=(i[2]||" ")+gt[t][0];break}if(l==null){e._isValid=!1;return}}if(!s&&l!=null){e._isValid=!1;return}if(i[4])if(ci.exec(i[4]))c="Z";else{e._isValid=!1;return}e._f=a+(l||"")+(c||""),pt(e)}else e._isValid=!1}function yi(e,t,n,r,i,s){var a=[gi(e),zt.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return s&&a.push(parseInt(s,10)),a}function gi(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function vi(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function pi(e,t,n){if(e){var r=Xt.indexOf(e),i=new Date(t[0],t[1],t[2]).getDay();if(r!==i)return f(n).weekdayMismatch=!0,n._isValid=!1,!1}return!0}function wi(e,t,n){if(e)return _i[e];if(t)return 0;var r=parseInt(n,10),i=r%100,s=(r-i)/100;return s*60+i}function sn(e){var t=mi.exec(vi(e._i)),n;if(t){if(n=yi(t[4],t[3],t[2],t[5],t[6],t[7]),!pi(t[1],n,e))return;e._a=n,e._tzm=wi(t[8],t[9],t[10]),e._d=ke.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),f(e).rfc2822=!0}else e._isValid=!1}function Mi(e){var t=fi.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(rn(e),e._isValid===!1)delete e._isValid;else return;if(sn(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:u.createFromInputFallback(e)}u.createFromInputFallback=x("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. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))});function he(e,t,n){return e??t??n}function ki(e){var t=new Date(u.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function vt(e){var t,n,r=[],i,s,a;if(!e._d){for(i=ki(e),e._w&&e._a[j]==null&&e._a[q]==null&&Si(e),e._dayOfYear!=null&&(a=he(e._a[O],i[O]),(e._dayOfYear>we(a)||e._dayOfYear===0)&&(f(e)._overflowDayOfYear=!0),n=ke(a,0,e._dayOfYear),e._a[q]=n.getUTCMonth(),e._a[j]=n.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=r[t]=i[t];for(;t<7;t++)e._a[t]=r[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[Y]===24&&e._a[H]===0&&e._a[z]===0&&e._a[ie]===0&&(e._nextDay=!0,e._a[Y]=0),e._d=(e._useUTC?ke:Nr).apply(null,r),s=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Y]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==s&&(f(e).weekdayMismatch=!0)}}function Si(e){var t,n,r,i,s,a,l,c,_;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(s=1,a=4,n=he(t.GG,e._a[O],Se(M(),1,4).year),r=he(t.W,1),i=he(t.E,1),(i<1||i>7)&&(c=!0)):(s=e._locale._week.dow,a=e._locale._week.doy,_=Se(M(),s,a),n=he(t.gg,e._a[O],_.year),r=he(t.w,_.week),t.d!=null?(i=t.d,(i<0||i>6)&&(c=!0)):t.e!=null?(i=t.e+s,(t.e<0||t.e>6)&&(c=!0)):i=s),r<1||r>Z(n,s,a)?f(e)._overflowWeeks=!0:c!=null?f(e)._overflowWeekday=!0:(l=Qt(n,r,i,s,a),e._a[O]=l.year,e._dayOfYear=l.dayOfYear)}u.ISO_8601=function(){},u.RFC_2822=function(){};function pt(e){if(e._f===u.ISO_8601){rn(e);return}if(e._f===u.RFC_2822){sn(e);return}e._a=[],f(e).empty=!0;var t=""+e._i,n,r,i,s,a,l=t.length,c=0,_,T;for(i=Wt(e._f,e._locale).match(it)||[],T=i.length,n=0;n<T;n++)s=i[n],r=(t.match(dr(s,e))||[])[0],r&&(a=t.substr(0,t.indexOf(r)),a.length>0&&f(e).unusedInput.push(a),t=t.slice(t.indexOf(r)+r.length),c+=r.length),oe[s]?(r?f(e).empty=!1:f(e).unusedTokens.push(s),cr(s,r,e)):e._strict&&!r&&f(e).unusedTokens.push(s);f(e).charsLeftOver=l-c,t.length>0&&f(e).unusedInput.push(t),e._a[Y]<=12&&f(e).bigHour===!0&&e._a[Y]>0&&(f(e).bigHour=void 0),f(e).parsedDateParts=e._a.slice(0),f(e).meridiem=e._meridiem,e._a[Y]=Di(e._locale,e._a[Y],e._meridiem),_=f(e).era,_!==null&&(e._a[O]=e._locale.erasConvertYear(_,e._a[O])),vt(e),yt(e)}function Di(e,t,n){var r;return n==null?t:e.meridiemHour!=null?e.meridiemHour(t,n):(e.isPM!=null&&(r=e.isPM(n),r&&t<12&&(t+=12),!r&&t===12&&(t=0)),t)}function Yi(e){var t,n,r,i,s,a,l=!1,c=e._f.length;if(c===0){f(e).invalidFormat=!0,e._d=new Date(NaN);return}for(i=0;i<c;i++)s=0,a=!1,t=et({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[i],pt(t),Xe(t)&&(a=!0),s+=f(t).charsLeftOver,s+=f(t).unusedTokens.length*10,f(t).score=s,l?s<r&&(r=s,n=t):(r==null||s<r||a)&&(r=s,n=t,a&&(l=!0));K(e,n||t)}function Oi(e){if(!e._d){var t=at(e._i),n=t.day===void 0?t.date:t.day;e._a=Pt([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],function(r){return r&&parseInt(r,10)}),vt(e)}}function Ti(e){var t=new ge(yt(an(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function an(e){var t=e._i,n=e._f;return e._locale=e._locale||$(e._l),t===null||n===void 0&&t===""?Te({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),A(t)?new ge(yt(t)):(ye(t)?e._d=t:L(n)?Yi(e):n?pt(e):bi(e),Xe(e)||(e._d=null),e))}function bi(e){var t=e._i;N(t)?e._d=new Date(u.now()):ye(t)?e._d=new Date(t.valueOf()):typeof t=="string"?Mi(e):L(t)?(e._a=Pt(t.slice(0),function(n){return parseInt(n,10)}),vt(e)):re(t)?Oi(e):G(t)?e._d=new Date(t):u.createFromInputFallback(e)}function on(e,t,n,r,i){var s={};return(t===!0||t===!1)&&(r=t,t=void 0),(n===!0||n===!1)&&(r=n,n=void 0),(re(e)&&Je(e)||L(e)&&e.length===0)&&(e=void 0),s._isAMomentObject=!0,s._useUTC=s._isUTC=i,s._l=n,s._i=e,s._f=t,s._strict=r,Ti(s)}function M(e,t,n,r){return on(e,t,n,r,!1)}var Ni=x("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=M.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:Te()}),Ci=x("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=M.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:Te()});function un(e,t){var n,r;if(t.length===1&&L(t[0])&&(t=t[0]),!t.length)return M();for(n=t[0],r=1;r<t.length;++r)(!t[r].isValid()||t[r][e](n))&&(n=t[r]);return n}function Ri(){var e=[].slice.call(arguments,0);return un("isBefore",e)}function xi(){var e=[].slice.call(arguments,0);return un("isAfter",e)}var Pi=function(){return Date.now?Date.now():+new Date},Oe=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Ei(e){var t,n=!1,r,i=Oe.length;for(t in e)if(g(e,t)&&!(D.call(Oe,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(r=0;r<i;++r)if(e[Oe[r]]){if(n)return!1;parseFloat(e[Oe[r]])!==m(e[Oe[r]])&&(n=!0)}return!0}function Li(){return this._isValid}function Ai(){return W(NaN)}function Fe(e){var t=at(e),n=t.year||0,r=t.quarter||0,i=t.month||0,s=t.week||t.isoWeek||0,a=t.day||0,l=t.hour||0,c=t.minute||0,_=t.second||0,T=t.millisecond||0;this._isValid=Ei(t),this._milliseconds=+T+_*1e3+c*6e4+l*1e3*60*60,this._days=+a+s*7,this._months=+i+r*3+n*12,this._data={},this._locale=$(),this._bubble()}function Ue(e){return e instanceof Fe}function wt(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function Hi(e,t,n){var r=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),s=0,a;for(a=0;a<r;a++)m(e[a])!==m(t[a])&&s++;return s+i}function ln(e,t){h(e,0,0,function(){var n=this.utcOffset(),r="+";return n<0&&(n=-n,r="-"),r+U(~~(n/60),2)+t+U(~~n%60,2)})}ln("Z",":"),ln("ZZ",""),d("Z",Ee),d("ZZ",Ee),p(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Mt(Ee,e)});var Wi=/([\+\-]|\d\d)/gi;function Mt(e,t){var n=(t||"").match(e),r,i,s;return n===null?null:(r=n[n.length-1]||[],i=(r+"").match(Wi)||["-",0,0],s=+(i[1]*60)+m(i[2]),s===0?0:i[0]==="+"?s:-s)}function kt(e,t){var n,r;return t._isUTC?(n=t.clone(),r=(A(e)||ye(e)?e.valueOf():M(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),u.updateOffset(n,!1),n):M(e).local()}function St(e){return-Math.round(e._d.getTimezoneOffset())}u.updateOffset=function(){};function Ii(e,t,n){var r=this._offset||0,i;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=Mt(Ee,e),e===null)return this}else Math.abs(e)<16&&!n&&(e=e*60);return!this._isUTC&&t&&(i=St(this)),this._offset=e,this._isUTC=!0,i!=null&&this.add(i,"m"),r!==e&&(!t||this._changeInProgress?fn(this,W(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,u.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?r:St(this)}function Fi(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function Ui(e){return this.utcOffset(0,e)}function ji(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(St(this),"m")),this}function Gi(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=Mt(ur,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function Vi(e){return this.isValid()?(e=e?M(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function qi(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function zi(){if(!N(this._isDSTShifted))return this._isDSTShifted;var e={},t;return et(e,this),e=an(e),e._a?(t=e._isUTC?I(e._a):M(e._a),this._isDSTShifted=this.isValid()&&Hi(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Zi(){return this.isValid()?!this._isUTC:!1}function $i(){return this.isValid()?this._isUTC:!1}function dn(){return this.isValid()?this._isUTC&&this._offset===0:!1}var Bi=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Ji=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function W(e,t){var n=e,r=null,i,s,a;return Ue(e)?n={ms:e._milliseconds,d:e._days,M:e._months}:G(e)||!isNaN(+e)?(n={},t?n[t]=+e:n.milliseconds=+e):(r=Bi.exec(e))?(i=r[1]==="-"?-1:1,n={y:0,d:m(r[j])*i,h:m(r[Y])*i,m:m(r[H])*i,s:m(r[z])*i,ms:m(wt(r[ie]*1e3))*i}):(r=Ji.exec(e))?(i=r[1]==="-"?-1:1,n={y:se(r[2],i),M:se(r[3],i),w:se(r[4],i),d:se(r[5],i),h:se(r[6],i),m:se(r[7],i),s:se(r[8],i)}):n==null?n={}:typeof n=="object"&&("from"in n||"to"in n)&&(a=Qi(M(n.from),M(n.to)),n={},n.ms=a.milliseconds,n.M=a.months),s=new Fe(n),Ue(e)&&g(e,"_locale")&&(s._locale=e._locale),Ue(e)&&g(e,"_isValid")&&(s._isValid=e._isValid),s}W.fn=Fe.prototype,W.invalid=Ai;function se(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function hn(e,t){var n={};return n.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Qi(e,t){var n;return e.isValid()&&t.isValid()?(t=kt(t,e),e.isBefore(t)?n=hn(e,t):(n=hn(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function cn(e,t){return function(n,r){var i,s;return r!==null&&!isNaN(+r)&&(Ht(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."),s=n,n=r,r=s),i=W(n,r),fn(this,i,e),this}}function fn(e,t,n,r){var i=t._milliseconds,s=wt(t._days),a=wt(t._months);e.isValid()&&(r=r??!0,a&&$t(e,Me(e,"Month")+a*n),s&&qt(e,"Date",Me(e,"Date")+s*n),i&&e._d.setTime(e._d.valueOf()+i*n),r&&u.updateOffset(e,s||a))}var Xi=cn(1,"add"),Ki=cn(-1,"subtract");function mn(e){return typeof e=="string"||e instanceof String}function es(e){return A(e)||ye(e)||mn(e)||G(e)||ns(e)||ts(e)||e===null||e===void 0}function ts(e){var t=re(e)&&!Je(e),n=!1,r=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],i,s,a=r.length;for(i=0;i<a;i+=1)s=r[i],n=n||g(e,s);return t&&n}function ns(e){var t=L(e),n=!1;return t&&(n=e.filter(function(r){return!G(r)&&mn(e)}).length===0),t&&n}function rs(e){var t=re(e)&&!Je(e),n=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],i,s;for(i=0;i<r.length;i+=1)s=r[i],n=n||g(e,s);return t&&n}function is(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 ss(e,t){arguments.length===1&&(arguments[0]?es(arguments[0])?(e=arguments[0],t=void 0):rs(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||M(),r=kt(n,this).startOf("day"),i=u.calendarFormat(this,r)||"sameElse",s=t&&(F(t[i])?t[i].call(this,n):t[i]);return this.format(s||this.localeData().calendar(i,this,M(n)))}function as(){return new ge(this)}function os(e,t){var n=A(e)?e:M(e);return this.isValid()&&n.isValid()?(t=P(t)||"millisecond",t==="millisecond"?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf()):!1}function us(e,t){var n=A(e)?e:M(e);return this.isValid()&&n.isValid()?(t=P(t)||"millisecond",t==="millisecond"?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf()):!1}function ls(e,t,n,r){var i=A(e)?e:M(e),s=A(t)?t:M(t);return this.isValid()&&i.isValid()&&s.isValid()?(r=r||"()",(r[0]==="("?this.isAfter(i,n):!this.isBefore(i,n))&&(r[1]===")"?this.isBefore(s,n):!this.isAfter(s,n))):!1}function ds(e,t){var n=A(e)?e:M(e),r;return this.isValid()&&n.isValid()?(t=P(t)||"millisecond",t==="millisecond"?this.valueOf()===n.valueOf():(r=n.valueOf(),this.clone().startOf(t).valueOf()<=r&&r<=this.clone().endOf(t).valueOf())):!1}function hs(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function cs(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function fs(e,t,n){var r,i,s;if(!this.isValid())return NaN;if(r=kt(e,this),!r.isValid())return NaN;switch(i=(r.utcOffset()-this.utcOffset())*6e4,t=P(t),t){case"year":s=je(this,r)/12;break;case"month":s=je(this,r);break;case"quarter":s=je(this,r)/3;break;case"second":s=(this-r)/1e3;break;case"minute":s=(this-r)/6e4;break;case"hour":s=(this-r)/36e5;break;case"day":s=(this-r-i)/864e5;break;case"week":s=(this-r-i)/6048e5;break;default:s=this-r}return n?s:E(s)}function je(e,t){if(e.date()<t.date())return-je(t,e);var n=(t.year()-e.year())*12+(t.month()-e.month()),r=e.clone().add(n,"months"),i,s;return t-r<0?(i=e.clone().add(n-1,"months"),s=(t-r)/(r-i)):(i=e.clone().add(n+1,"months"),s=(t-r)/(i-r)),-(n+s)||0}u.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",u.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function ms(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function _s(e){if(!this.isValid())return null;var t=e!==!0,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?Ne(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):F(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Ne(n,"Z")):Ne(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function ys(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",n,r,i,s;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),n="["+e+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i="-MM-DD[T]HH:mm:ss.SSS",s=t+'[")]',this.format(n+r+i+s)}function gs(e){e||(e=this.isUtc()?u.defaultFormatUtc:u.defaultFormat);var t=Ne(this,e);return this.localeData().postformat(t)}function vs(e,t){return this.isValid()&&(A(e)&&e.isValid()||M(e).isValid())?W({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function ps(e){return this.from(M(),e)}function ws(e,t){return this.isValid()&&(A(e)&&e.isValid()||M(e).isValid())?W({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Ms(e){return this.to(M(),e)}function _n(e){var t;return e===void 0?this._locale._abbr:(t=$(e),t!=null&&(this._locale=t),this)}var yn=x("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function gn(){return this._locale}var Ge=1e3,ce=60*Ge,Ve=60*ce,vn=(365*400+97)*24*Ve;function fe(e,t){return(e%t+t)%t}function pn(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-vn:new Date(e,t,n).valueOf()}function wn(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-vn:Date.UTC(e,t,n)}function ks(e){var t,n;if(e=P(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?wn:pn,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=fe(t+(this._isUTC?0:this.utcOffset()*ce),Ve);break;case"minute":t=this._d.valueOf(),t-=fe(t,ce);break;case"second":t=this._d.valueOf(),t-=fe(t,Ge);break}return this._d.setTime(t),u.updateOffset(this,!0),this}function Ss(e){var t,n;if(e=P(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?wn:pn,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=Ve-fe(t+(this._isUTC?0:this.utcOffset()*ce),Ve)-1;break;case"minute":t=this._d.valueOf(),t+=ce-fe(t,ce)-1;break;case"second":t=this._d.valueOf(),t+=Ge-fe(t,Ge)-1;break}return this._d.setTime(t),u.updateOffset(this,!0),this}function Ds(){return this._d.valueOf()-(this._offset||0)*6e4}function Ys(){return Math.floor(this.valueOf()/1e3)}function Os(){return new Date(this.valueOf())}function Ts(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function bs(){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 Ns(){return this.isValid()?this.toISOString():null}function Cs(){return Xe(this)}function Rs(){return K({},f(this))}function xs(){return f(this).overflow}function Ps(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}h("N",0,0,"eraAbbr"),h("NN",0,0,"eraAbbr"),h("NNN",0,0,"eraAbbr"),h("NNNN",0,0,"eraName"),h("NNNNN",0,0,"eraNarrow"),h("y",["y",1],"yo","eraYear"),h("y",["yy",2],0,"eraYear"),h("y",["yyy",3],0,"eraYear"),h("y",["yyyy",4],0,"eraYear"),d("N",Dt),d("NN",Dt),d("NNN",Dt),d("NNNN",Vs),d("NNNNN",qs),p(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,r){var i=n._locale.erasParse(e,r,n._strict);i?f(n).era=i:f(n).invalidEra=e}),d("y",ue),d("yy",ue),d("yyy",ue),d("yyyy",ue),d("yo",zs),p(["y","yy","yyy","yyyy"],O),p(["yo"],function(e,t,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[O]=n._locale.eraYearOrdinalParse(e,i):t[O]=parseInt(e,10)});function Es(e,t){var n,r,i,s=this._eras||$("en")._eras;for(n=0,r=s.length;n<r;++n){switch(typeof s[n].since){case"string":i=u(s[n].since).startOf("day"),s[n].since=i.valueOf();break}switch(typeof s[n].until){case"undefined":s[n].until=1/0;break;case"string":i=u(s[n].until).startOf("day").valueOf(),s[n].until=i.valueOf();break}}return s}function Ls(e,t,n){var r,i,s=this.eras(),a,l,c;for(e=e.toUpperCase(),r=0,i=s.length;r<i;++r)if(a=s[r].name.toUpperCase(),l=s[r].abbr.toUpperCase(),c=s[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(l===e)return s[r];break;case"NNNN":if(a===e)return s[r];break;case"NNNNN":if(c===e)return s[r];break}else if([a,l,c].indexOf(e)>=0)return s[r]}function As(e,t){var n=e.since<=e.until?1:-1;return t===void 0?u(e.since).year():u(e.since).year()+(t-e.offset)*n}function Hs(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until||r[e].until<=n&&n<=r[e].since)return r[e].name;return""}function Ws(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until||r[e].until<=n&&n<=r[e].since)return r[e].narrow;return""}function Is(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until||r[e].until<=n&&n<=r[e].since)return r[e].abbr;return""}function Fs(){var e,t,n,r,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e)if(n=i[e].since<=i[e].until?1:-1,r=this.clone().startOf("day").valueOf(),i[e].since<=r&&r<=i[e].until||i[e].until<=r&&r<=i[e].since)return(this.year()-u(i[e].since).year())*n+i[e].offset;return this.year()}function Us(e){return g(this,"_erasNameRegex")||Yt.call(this),e?this._erasNameRegex:this._erasRegex}function js(e){return g(this,"_erasAbbrRegex")||Yt.call(this),e?this._erasAbbrRegex:this._erasRegex}function Gs(e){return g(this,"_erasNarrowRegex")||Yt.call(this),e?this._erasNarrowRegex:this._erasRegex}function Dt(e,t){return t.erasAbbrRegex(e)}function Vs(e,t){return t.erasNameRegex(e)}function qs(e,t){return t.erasNarrowRegex(e)}function zs(e,t){return t._eraYearOrdinalRegex||ue}function Yt(){var e=[],t=[],n=[],r=[],i,s,a,l,c,_=this.eras();for(i=0,s=_.length;i<s;++i)a=V(_[i].name),l=V(_[i].abbr),c=V(_[i].narrow),t.push(a),e.push(l),n.push(c),r.push(a),r.push(l),r.push(c);this._erasRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}h(0,["gg",2],0,function(){return this.weekYear()%100}),h(0,["GG",2],0,function(){return this.isoWeekYear()%100});function qe(e,t){h(0,[e,e.length],0,t)}qe("gggg","weekYear"),qe("ggggg","weekYear"),qe("GGGG","isoWeekYear"),qe("GGGGG","isoWeekYear"),d("G",Pe),d("g",Pe),d("GG",w,R),d("gg",w,R),d("GGGG",ut,ot),d("gggg",ut,ot),d("GGGGG",xe,Ce),d("ggggg",xe,Ce),pe(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=m(e)}),pe(["gg","GG"],function(e,t,n,r){t[r]=u.parseTwoDigitYear(e)});function Zs(e){return Mn.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function $s(e){return Mn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Bs(){return Z(this.year(),1,4)}function Js(){return Z(this.isoWeekYear(),1,4)}function Qs(){var e=this.localeData()._week;return Z(this.year(),e.dow,e.doy)}function Xs(){var e=this.localeData()._week;return Z(this.weekYear(),e.dow,e.doy)}function Mn(e,t,n,r,i){var s;return e==null?Se(this,r,i).year:(s=Z(e,r,i),t>s&&(t=s),Ks.call(this,e,t,n,r,i))}function Ks(e,t,n,r,i){var s=Qt(e,t,n,r,i),a=ke(s.year,0,s.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}h("Q",0,"Qo","quarter"),d("Q",Ft),p("Q",function(e,t){t[q]=(m(e)-1)*3});function ea(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}h("D",["DD",2],"Do","date"),d("D",w,le),d("DD",w,R),d("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),p(["D","DD"],j),p("Do",function(e,t){t[j]=m(e.match(w)[0])});var kn=de("Date",!0);h("DDD",["DDDD",3],"DDDo","dayOfYear"),d("DDD",Re),d("DDDD",Ut),p(["DDD","DDDD"],function(e,t,n){n._dayOfYear=m(e)});function ta(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}h("m",["mm",2],0,"minute"),d("m",w,lt),d("mm",w,R),p(["m","mm"],H);var na=de("Minutes",!1);h("s",["ss",2],0,"second"),d("s",w,lt),d("ss",w,R),p(["s","ss"],z);var ra=de("Seconds",!1);h("S",0,0,function(){return~~(this.millisecond()/100)}),h(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),h(0,["SSS",3],0,"millisecond"),h(0,["SSSS",4],0,function(){return this.millisecond()*10}),h(0,["SSSSS",5],0,function(){return this.millisecond()*100}),h(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),h(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),h(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),h(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),d("S",Re,Ft),d("SS",Re,R),d("SSS",Re,Ut);var te,Sn;for(te="SSSS";te.length<=9;te+="S")d(te,ue);function ia(e,t){t[ie]=m(("0."+e)*1e3)}for(te="S";te.length<=9;te+="S")p(te,ia);Sn=de("Milliseconds",!1),h("z",0,0,"zoneAbbr"),h("zz",0,0,"zoneName");function sa(){return this._isUTC?"UTC":""}function aa(){return this._isUTC?"Coordinated Universal Time":""}var o=ge.prototype;o.add=Xi,o.calendar=ss,o.clone=as,o.diff=fs,o.endOf=Ss,o.format=gs,o.from=vs,o.fromNow=ps,o.to=ws,o.toNow=Ms,o.get=yr,o.invalidAt=xs,o.isAfter=os,o.isBefore=us,o.isBetween=ls,o.isSame=ds,o.isSameOrAfter=hs,o.isSameOrBefore=cs,o.isValid=Cs,o.lang=yn,o.locale=_n,o.localeData=gn,o.max=Ci,o.min=Ni,o.parsingFlags=Rs,o.set=gr,o.startOf=ks,o.subtract=Ki,o.toArray=Ts,o.toObject=bs,o.toDate=Os,o.toISOString=_s,o.inspect=ys,typeof Symbol<"u"&&Symbol.for!=null&&(o[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),o.toJSON=Ns,o.toString=ms,o.unix=Ys,o.valueOf=Ds,o.creationData=Ps,o.eraName=Hs,o.eraNarrow=Ws,o.eraAbbr=Is,o.eraYear=Fs,o.year=Vt,o.isLeapYear=_r,o.weekYear=Zs,o.isoWeekYear=$s,o.quarter=o.quarters=ea,o.month=Bt,o.daysInMonth=Or,o.week=o.weeks=Er,o.isoWeek=o.isoWeeks=Lr,o.weeksInYear=Qs,o.weeksInWeekYear=Xs,o.isoWeeksInYear=Bs,o.isoWeeksInISOWeekYear=Js,o.date=kn,o.day=o.days=$r,o.weekday=Br,o.isoWeekday=Jr,o.dayOfYear=ta,o.hour=o.hours=ri,o.minute=o.minutes=na,o.second=o.seconds=ra,o.millisecond=o.milliseconds=Sn,o.utcOffset=Ii,o.utc=Ui,o.local=ji,o.parseZone=Gi,o.hasAlignedHourOffset=Vi,o.isDST=qi,o.isLocal=Zi,o.isUtcOffset=$i,o.isUtc=dn,o.isUTC=dn,o.zoneAbbr=sa,o.zoneName=aa,o.dates=x("dates accessor is deprecated. Use date instead.",kn),o.months=x("months accessor is deprecated. Use month instead",Bt),o.years=x("years accessor is deprecated. Use year instead",Vt),o.zone=x("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Fi),o.isDSTShifted=x("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",zi);function oa(e){return M(e*1e3)}function ua(){return M.apply(null,arguments).parseZone()}function Dn(e){return e}var v=nt.prototype;v.calendar=Zn,v.longDateFormat=Qn,v.invalidDate=Kn,v.ordinal=nr,v.preparse=Dn,v.postformat=Dn,v.relativeTime=ir,v.pastFuture=sr,v.set=qn,v.eras=Es,v.erasParse=Ls,v.erasConvertYear=As,v.erasAbbrRegex=js,v.erasNameRegex=Us,v.erasNarrowRegex=Gs,v.months=kr,v.monthsShort=Sr,v.monthsParse=Yr,v.monthsRegex=br,v.monthsShortRegex=Tr,v.week=Cr,v.firstDayOfYear=Pr,v.firstDayOfWeek=xr,v.weekdays=Gr,v.weekdaysMin=qr,v.weekdaysShort=Vr,v.weekdaysParse=Zr,v.weekdaysRegex=Qr,v.weekdaysShortRegex=Xr,v.weekdaysMinRegex=Kr,v.isPM=ti,v.meridiem=ii;function ze(e,t,n,r){var i=$(),s=I().set(r,t);return i[n](s,e)}function Yn(e,t,n){if(G(e)&&(t=e,e=void 0),e=e||"",t!=null)return ze(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=ze(e,r,n,"month");return i}function Ot(e,t,n,r){typeof e=="boolean"?(G(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,G(t)&&(n=t,t=void 0),t=t||"");var i=$(),s=e?i._week.dow:0,a,l=[];if(n!=null)return ze(t,(n+s)%7,r,"day");for(a=0;a<7;a++)l[a]=ze(t,(a+s)%7,r,"day");return l}function la(e,t){return Yn(e,t,"months")}function da(e,t){return Yn(e,t,"monthsShort")}function ha(e,t,n){return Ot(e,t,n,"weekdays")}function ca(e,t,n){return Ot(e,t,n,"weekdaysShort")}function fa(e,t,n){return Ot(e,t,n,"weekdaysMin")}ee("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=m(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+n}}),u.lang=x("moment.lang is deprecated. Use moment.locale instead.",ee),u.langData=x("moment.langData is deprecated. Use moment.localeData instead.",$);var B=Math.abs;function ma(){var e=this._data;return this._milliseconds=B(this._milliseconds),this._days=B(this._days),this._months=B(this._months),e.milliseconds=B(e.milliseconds),e.seconds=B(e.seconds),e.minutes=B(e.minutes),e.hours=B(e.hours),e.months=B(e.months),e.years=B(e.years),this}function On(e,t,n,r){var i=W(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function _a(e,t){return On(this,e,t,1)}function ya(e,t){return On(this,e,t,-1)}function Tn(e){return e<0?Math.floor(e):Math.ceil(e)}function ga(){var e=this._milliseconds,t=this._days,n=this._months,r=this._data,i,s,a,l,c;return e>=0&&t>=0&&n>=0||e<=0&&t<=0&&n<=0||(e+=Tn(Tt(n)+t)*864e5,t=0,n=0),r.milliseconds=e%1e3,i=E(e/1e3),r.seconds=i%60,s=E(i/60),r.minutes=s%60,a=E(s/60),r.hours=a%24,t+=E(a/24),c=E(bn(t)),n+=c,t-=Tn(Tt(c)),l=E(n/12),n%=12,r.days=t,r.months=n,r.years=l,this}function bn(e){return e*4800/146097}function Tt(e){return e*146097/4800}function va(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if(e=P(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+r/864e5,n=this._months+bn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Tt(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return t*24+r/36e5;case"minute":return t*1440+r/6e4;case"second":return t*86400+r/1e3;case"millisecond":return Math.floor(t*864e5)+r;default:throw new Error("Unknown unit "+e)}}function J(e){return function(){return this.as(e)}}var Nn=J("ms"),pa=J("s"),wa=J("m"),Ma=J("h"),ka=J("d"),Sa=J("w"),Da=J("M"),Ya=J("Q"),Oa=J("y"),Ta=Nn;function ba(){return W(this)}function Na(e){return e=P(e),this.isValid()?this[e+"s"]():NaN}function ae(e){return function(){return this.isValid()?this._data[e]:NaN}}var Ca=ae("milliseconds"),Ra=ae("seconds"),xa=ae("minutes"),Pa=ae("hours"),Ea=ae("days"),La=ae("months"),Aa=ae("years");function Ha(){return E(this.days()/7)}var Q=Math.round,me={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Wa(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function Ia(e,t,n,r){var i=W(e).abs(),s=Q(i.as("s")),a=Q(i.as("m")),l=Q(i.as("h")),c=Q(i.as("d")),_=Q(i.as("M")),T=Q(i.as("w")),X=Q(i.as("y")),ne=s<=n.ss&&["s",s]||s<n.s&&["ss",s]||a<=1&&["m"]||a<n.m&&["mm",a]||l<=1&&["h"]||l<n.h&&["hh",l]||c<=1&&["d"]||c<n.d&&["dd",c];return n.w!=null&&(ne=ne||T<=1&&["w"]||T<n.w&&["ww",T]),ne=ne||_<=1&&["M"]||_<n.M&&["MM",_]||X<=1&&["y"]||["yy",X],ne[2]=t,ne[3]=+e>0,ne[4]=r,Wa.apply(null,ne)}function Fa(e){return e===void 0?Q:typeof e=="function"?(Q=e,!0):!1}function Ua(e,t){return me[e]===void 0?!1:t===void 0?me[e]:(me[e]=t,e==="s"&&(me.ss=t-1),!0)}function ja(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,r=me,i,s;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(n=e),typeof t=="object"&&(r=Object.assign({},me,t),t.s!=null&&t.ss==null&&(r.ss=t.s-1)),i=this.localeData(),s=Ia(this,!n,r,i),n&&(s=i.pastFuture(+this,s)),i.postformat(s)}var bt=Math.abs;function _e(e){return(e>0)-(e<0)||+e}function Ze(){if(!this.isValid())return this.localeData().invalidDate();var e=bt(this._milliseconds)/1e3,t=bt(this._days),n=bt(this._months),r,i,s,a,l=this.asSeconds(),c,_,T,X;return l?(r=E(e/60),i=E(r/60),e%=60,r%=60,s=E(n/12),n%=12,a=e?e.toFixed(3).replace(/\.?0+$/,""):"",c=l<0?"-":"",_=_e(this._months)!==_e(l)?"-":"",T=_e(this._days)!==_e(l)?"-":"",X=_e(this._milliseconds)!==_e(l)?"-":"",c+"P"+(s?_+s+"Y":"")+(n?_+n+"M":"")+(t?T+t+"D":"")+(i||r||e?"T":"")+(i?X+i+"H":"")+(r?X+r+"M":"")+(e?X+a+"S":"")):"P0D"}var y=Fe.prototype;y.isValid=Li,y.abs=ma,y.add=_a,y.subtract=ya,y.as=va,y.asMilliseconds=Nn,y.asSeconds=pa,y.asMinutes=wa,y.asHours=Ma,y.asDays=ka,y.asWeeks=Sa,y.asMonths=Da,y.asQuarters=Ya,y.asYears=Oa,y.valueOf=Ta,y._bubble=ga,y.clone=ba,y.get=Na,y.milliseconds=Ca,y.seconds=Ra,y.minutes=xa,y.hours=Pa,y.days=Ea,y.weeks=Ha,y.months=La,y.years=Aa,y.humanize=ja,y.toISOString=Ze,y.toString=Ze,y.toJSON=Ze,y.locale=_n,y.localeData=gn,y.toIsoString=x("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Ze),y.lang=yn,h("X",0,0,"unix"),h("x",0,0,"valueOf"),d("x",Pe),d("X",lr),p("X",function(e,t,n){n._d=new Date(parseFloat(e)*1e3)}),p("x",function(e,t,n){n._d=new Date(m(e))});//! moment.js
|
|
10
|
+
u.version="2.30.1",Gn(M),u.fn=o,u.min=Ri,u.max=xi,u.now=Pi,u.utc=I,u.unix=oa,u.months=la,u.isDate=ye,u.locale=ee,u.invalid=Te,u.duration=W,u.isMoment=A,u.weekdays=ha,u.parseZone=ua,u.localeData=$,u.isDuration=Ue,u.monthsShort=da,u.weekdaysMin=fa,u.defineLocale=_t,u.updateLocale=ui,u.locales=li,u.weekdaysShort=ca,u.normalizeUnits=P,u.relativeTimeRounding=Fa,u.relativeTimeThreshold=Ua,u.calendarFormat=is,u.prototype=o,u.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};const Ga=/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,Va=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,Cn=/(janv\.?|févr\.?|avr\.?|juil\.?|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,Nt=[/^janv/i,/^févr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^août/i,/^sept/i,/^oct/i,/^nov/i,/^déc/i],qa={months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsRegex:Cn,monthsShortRegex:Cn,monthsStrictRegex:Ga,monthsShortStrictRegex:Va,monthsParse:Nt,longMonthsParse:Nt,shortMonthsParse:Nt,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:(e,t)=>{switch(t){case"D":return e+(e===1?"er":"");default:case"M":case"Q":case"DDD":case"d":return e+(e===1?"er":"e");case"w":case"W":return e+(e===1?"re":"e")}},week:{dow:1,doy:4}};u.locale("fr",qa);const Rn=e=>Math.round(5e3*Math.pow(200,.01*e)/10)*10,Ct=e=>e>=1?Ct(e-1)+Rn(e):0,xn=(e,t=0)=>e<Ct(t+1)?t:xn(e,t+1),za=([e,t])=>t?`${C.t("xp.user",{amount:Be(e),emoji:$e.xp})} ${C.t("xp.crew",{amount:Be(t),emoji:$e.xp})}`:C.t("xp.user",{amount:Be(e),emoji:$e.xp});S.CHARACTERISTICS=En,S.CHARACTERISTIC_DEFAULT_POINT_COST=Rt,S.CHARACTERISTIC_POINT_COSTS=An,S.CHARACTERISTIC_POINT_PER_LEVEL=Ln,S.DEFAULT_FACTION=Fn,S.DEFAULT_MAX_HP=Hn,S.FACTIONS=In,S.HP_PER_VITALITY=Wn,S.RANKS=Pn,S.RankId=b,S.SORT_VALUES=Un,S.displayXp=za,S.getCurrentLevel=xn,S.getNewSortValue=jn,S.totalXpToLevel=Ct,S.xpToLevel=Rn,Object.defineProperty(S,Symbol.toStringTag,{value:"Module"})});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/ranks/constants.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/ranks/constants.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AACjC,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAEpC,eAAO,MAAM,KAAK,EAAE;KAAG,GAAG,IAAI,MAAM,GAAG,IAAI,CAAC,GAAG,CAAC;CA2CtC,CAAC"}
|
package/dist/ranks/constants.js
CHANGED
|
@@ -1,10 +1,41 @@
|
|
|
1
|
+
import { t } from 'i18next';
|
|
1
2
|
import { RankId } from './types';
|
|
2
3
|
export const RANKS = {
|
|
3
|
-
BASIC: {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
BASIC: {
|
|
5
|
+
color: '#fff',
|
|
6
|
+
strength: 0,
|
|
7
|
+
id: RankId.BASIC,
|
|
8
|
+
name: (context, count = 1) => t(`ranks.${RankId.BASIC}.text`, { count, context }),
|
|
9
|
+
},
|
|
10
|
+
COMMON: {
|
|
11
|
+
color: '#813D31',
|
|
12
|
+
strength: 1,
|
|
13
|
+
id: RankId.COMMON,
|
|
14
|
+
name: (context, count = 1) => t(`ranks.${RankId.COMMON}.text`, { count, context }),
|
|
15
|
+
},
|
|
16
|
+
RARE: {
|
|
17
|
+
color: '#5B6870',
|
|
18
|
+
strength: 2,
|
|
19
|
+
id: RankId.RARE,
|
|
20
|
+
name: (context, count = 1) => t(`ranks.${RankId.RARE}.text`, { count, context }),
|
|
21
|
+
},
|
|
22
|
+
EPIC: {
|
|
23
|
+
color: '#C46619',
|
|
24
|
+
strength: 3,
|
|
25
|
+
id: RankId.EPIC,
|
|
26
|
+
name: (context, count = 1) => t(`ranks.${RankId.EPIC}.text`, { count, context }),
|
|
27
|
+
},
|
|
28
|
+
LEGENDARY: {
|
|
29
|
+
color: '#88A3CB',
|
|
30
|
+
strength: 4,
|
|
31
|
+
id: RankId.LEGENDARY,
|
|
32
|
+
name: (context, count = 1) => t(`ranks.${RankId.LEGENDARY}.text`, { count, context }),
|
|
33
|
+
},
|
|
34
|
+
MYTHIC: {
|
|
35
|
+
color: '#F6bF62',
|
|
36
|
+
strength: 5,
|
|
37
|
+
id: RankId.MYTHIC,
|
|
38
|
+
name: (context, count = 1) => t(`ranks.${RankId.MYTHIC}.text`, { count, context }),
|
|
39
|
+
},
|
|
9
40
|
};
|
|
10
41
|
//# sourceMappingURL=constants.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/ranks/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AAGjC,MAAM,CAAC,MAAM,KAAK,GAAmC;IACnD,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/ranks/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,SAAS,CAAC;AAE5B,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AAGjC,MAAM,CAAC,MAAM,KAAK,GAAmC;IACnD,KAAK,EAAE;QACL,KAAK,EAAE,MAAM;QACb,QAAQ,EAAE,CAAC;QACX,EAAE,EAAE,MAAM,CAAC,KAAK;QAChB,IAAI,EAAE,CAAC,OAAO,EAAE,KAAK,GAAG,CAAC,EAAE,EAAE,CAC3B,CAAC,CAAC,SAAS,MAAM,CAAC,KAAK,OAAO,EAAE,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC;KACtD;IACD,MAAM,EAAE;QACN,KAAK,EAAE,SAAS;QAChB,QAAQ,EAAE,CAAC;QACX,EAAE,EAAE,MAAM,CAAC,MAAM;QACjB,IAAI,EAAE,CAAC,OAAO,EAAE,KAAK,GAAG,CAAC,EAAE,EAAE,CAC3B,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,OAAO,EAAE,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC;KACvD;IACD,IAAI,EAAE;QACJ,KAAK,EAAE,SAAS;QAChB,QAAQ,EAAE,CAAC;QACX,EAAE,EAAE,MAAM,CAAC,IAAI;QACf,IAAI,EAAE,CAAC,OAAO,EAAE,KAAK,GAAG,CAAC,EAAE,EAAE,CAC3B,CAAC,CAAC,SAAS,MAAM,CAAC,IAAI,OAAO,EAAE,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC;KACrD;IACD,IAAI,EAAE;QACJ,KAAK,EAAE,SAAS;QAChB,QAAQ,EAAE,CAAC;QACX,EAAE,EAAE,MAAM,CAAC,IAAI;QACf,IAAI,EAAE,CAAC,OAAO,EAAE,KAAK,GAAG,CAAC,EAAE,EAAE,CAC3B,CAAC,CAAC,SAAS,MAAM,CAAC,IAAI,OAAO,EAAE,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC;KACrD;IACD,SAAS,EAAE;QACT,KAAK,EAAE,SAAS;QAChB,QAAQ,EAAE,CAAC;QACX,EAAE,EAAE,MAAM,CAAC,SAAS;QACpB,IAAI,EAAE,CAAC,OAAO,EAAE,KAAK,GAAG,CAAC,EAAE,EAAE,CAC3B,CAAC,CAAC,SAAS,MAAM,CAAC,SAAS,OAAO,EAAE,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC;KAC1D;IACD,MAAM,EAAE;QACN,KAAK,EAAE,SAAS;QAChB,QAAQ,EAAE,CAAC;QACX,EAAE,EAAE,MAAM,CAAC,MAAM;QACjB,IAAI,EAAE,CAAC,OAAO,EAAE,KAAK,GAAG,CAAC,EAAE,EAAE,CAC3B,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,OAAO,EAAE,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC;KACvD;CACO,CAAC"}
|
package/dist/ranks/types.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/ranks/types.ts"],"names":[],"mappings":"AAAA,oBAAY,MAAM;IAChB,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,IAAI,SAAS;IACb,SAAS,cAAc;IACvB,MAAM,WAAW;CAClB;AAED,MAAM,MAAM,IAAI,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,IAAI;IAC5C,EAAE,EAAE,CAAC,CAAC;IACN,KAAK,EAAE,IAAI,MAAM,EAAE,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/ranks/types.ts"],"names":[],"mappings":"AAAA,oBAAY,MAAM;IAChB,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,IAAI,SAAS;IACb,SAAS,cAAc;IACvB,MAAM,WAAW;CAClB;AAED,MAAM,MAAM,IAAI,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,IAAI;IAC5C,EAAE,EAAE,CAAC,CAAC;IACN,KAAK,EAAE,IAAI,MAAM,EAAE,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,CAAC,OAAO,EAAE,GAAG,GAAG,GAAG,EAAE,KAAK,CAAC,EAAE,MAAM,KAAK,MAAM,CAAC;CACtD,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opfr/utils-type",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.12.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "OPFR utils-type",
|
|
6
6
|
"author": "Matthieu VEIGA",
|
|
@@ -34,5 +34,5 @@
|
|
|
34
34
|
"node_modules",
|
|
35
35
|
"dist"
|
|
36
36
|
],
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "80af9aa3995a07493ab70a421aeee7ffe7f770e2"
|
|
38
38
|
}
|