@opfr/utils-lang 0.0.8 → 0.0.9

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/string.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  export declare const TIGHT_SPACE: string;
2
2
  export declare const WIDE_SPACE: string;
3
- export declare const fillWithTightSpaces: (str: string) => string;
4
- export declare const fillWithWideSpaces: (str: string) => string;
3
+ export declare const fillWithTightSpaces: (str: string, separator?: string) => string;
4
+ export declare const fillWithWideSpaces: (str: string, separator?: string) => string;
5
5
  export declare const ellipsis: (str: string, limit: number) => string;
6
6
  export declare const capitalize: (str: string) => string;
7
7
  export declare const capitalizeAllWords: (str: string) => string;
@@ -2664,7 +2664,7 @@ const bi = /^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octob
2664
2664
  dow: 1,
2665
2665
  doy: 4
2666
2666
  }
2667
- }, Pi = " ", Wi = " ", Ei = (e) => e.split("").join(Pi), Ai = (e) => e.split("").join(Wi), ji = (e, t) => e.length > t ? e.slice(0, t - 3) + "..." : e, Ri = (e) => e && e[0].toUpperCase() + e.slice(1), Yr = (e) => e.split(" ").map(Ri).join(" "), Vi = (e) => /^\d+$/.test(e), Gi = (e) => e !== Math.round(e) || e < 1 || e === 1 / 0 || e === -1 / 0 ? null : e === 1 ? "1er" : `${e}ème`, zi = (e) => e.trim().replace(/\s+/gi, " "), $i = (e) => {
2667
+ }, Pi = " ", Wi = " ", Ei = (e, t = "") => e.split(t).join(Pi), Ai = (e, t = "") => e.split(t).join(Wi), ji = (e, t) => e.length > t ? e.slice(0, t - 3) + "..." : e, Ri = (e) => e && e[0].toUpperCase() + e.slice(1), Yr = (e) => e.split(" ").map(Ri).join(" "), Vi = (e) => /^\d+$/.test(e), Gi = (e) => e !== Math.round(e) || e < 1 || e === 1 / 0 || e === -1 / 0 ? null : e === 1 ? "1er" : `${e}ème`, zi = (e) => e.trim().replace(/\s+/gi, " "), $i = (e) => {
2668
2668
  const t = e.split(" "), s = ((a) => {
2669
2669
  let n = 1 / 0;
2670
2670
  for (let i = 0; i < a.length; i++) {
@@ -7,4 +7,4 @@ var xt;function l(){return xt.apply(null,arguments)}function Ir(e){xt=e}function
7
7
  [`+n+"] ";for(i in arguments[0])M(arguments[0],i)&&(a+=i+": "+arguments[0][i]+", ");a=a.slice(0,-2)}else a=arguments[n];s.push(a)}Nt(e+`
8
8
  Arguments: `+Array.prototype.slice.call(s).join("")+`
9
9
  `+new Error().stack),r=!1}return t.apply(this,arguments)},t)}var Ft={};function Lt(e,t){l.deprecationHandler!=null&&l.deprecationHandler(e,t),Ft[e]||(Nt(t),Ft[e]=!0)}l.suppressDeprecationWarnings=!1,l.deprecationHandler=null;function U(e){return typeof Function<"u"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function Hr(e){var t,r;for(r in e)M(e,r)&&(t=e[r],U(t)?this[r]=t:this["_"+r]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function Xe(e,t){var r=Q({},e),s;for(s in t)M(t,s)&&(te(e[s])&&te(t[s])?(r[s]={},Q(r[s],e[s]),Q(r[s],t[s])):t[s]!=null?r[s]=t[s]:delete r[s]);for(s in e)M(e,s)&&!M(t,s)&&te(e[s])&&(r[s]=Q({},r[s]));return r}function et(e){e!=null&&this.set(e)}var tt;Object.keys?tt=Object.keys:tt=function(e){var t,r=[];for(t in e)M(e,t)&&r.push(t);return r};var Er={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function Ar(e,t,r){var s=this._calendar[e]||this._calendar.sameElse;return U(s)?s.call(t,r):s}function H(e,t,r){var s=""+Math.abs(e),a=t-s.length,n=e>=0;return(n?r?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+s}var rt=/(\[[^\[]*\])|(\\)?([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,Te=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,st={},ne={};function h(e,t,r,s){var a=s;typeof s=="string"&&(a=function(){return this[s]()}),e&&(ne[e]=a),t&&(ne[t[0]]=function(){return H(a.apply(this,arguments),t[1],t[2])}),r&&(ne[r]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function jr(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function Vr(e){var t=e.match(rt),r,s;for(r=0,s=t.length;r<s;r++)ne[t[r]]?t[r]=ne[t[r]]:t[r]=jr(t[r]);return function(a){var n="",i;for(i=0;i<s;i++)n+=U(t[i])?t[i].call(a,e):t[i];return n}}function Pe(e,t){return e.isValid()?(t=Ct(t,e.localeData()),st[t]=st[t]||Vr(t),st[t](e)):e.localeData().invalidDate()}function Ct(e,t){var r=5;function s(a){return t.longDateFormat(a)||a}for(Te.lastIndex=0;r>=0&&Te.test(e);)e=e.replace(Te,s),Te.lastIndex=0,r-=1;return e}var Gr={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 zr(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()];return t||!r?t:(this._longDateFormat[e]=r.match(rt).map(function(s){return s==="MMMM"||s==="MM"||s==="DD"||s==="dddd"?s.slice(1):s}).join(""),this._longDateFormat[e])}var $r="Invalid date";function qr(){return this._invalidDate}var Zr="%d",Br=/\d{1,2}/;function Jr(e){return this._ordinal.replace("%d",e)}var Qr={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 Kr(e,t,r,s){var a=this._relativeTime[r];return U(a)?a(e,t,r,s):a.replace(/%d/i,e)}function Xr(e,t){var r=this._relativeTime[e>0?"future":"past"];return U(r)?r(t):r.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 W(e){return typeof e=="string"?It[e]||It[e.toLowerCase()]:void 0}function at(e){var t={},r,s;for(s in e)M(e,s)&&(r=W(s),r&&(t[r]=e[s]));return t}var es={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 ts(e){var t=[],r;for(r in e)M(e,r)&&t.push({unit:r,priority:es[r]});return t.sort(function(s,a){return s.priority-a.priority}),t}var Ut=/\d/,P=/\d\d/,Ht=/\d{3}/,nt=/\d{4}/,xe=/[+-]?\d{6}/,S=/\d\d?/,Et=/\d\d\d\d?/,At=/\d\d\d\d\d\d?/,We=/\d{1,3}/,it=/\d{1,4}/,Re=/[+-]?\d{1,6}/,ie=/\d+/,Ne=/[+-]?\d+/,rs=/Z|[+-]\d\d:?\d\d/gi,Fe=/Z|[+-]\d\d(?::?\d\d)?/gi,ss=/[+-]?\d+(\.\d{1,3})?/,we=/[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,oe=/^[1-9]\d?/,ot=/^([1-9]\d|\d)/,Le;Le={};function d(e,t,r){Le[e]=U(t)?t:function(s,a){return s&&r?r:t}}function as(e,t){return M(Le,e)?Le[e](t._strict,t._locale):new RegExp(ns(e))}function ns(e){return j(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,r,s,a,n){return r||s||a||n}))}function j(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function R(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function _(e){var t=+e,r=0;return t!==0&&isFinite(t)&&(r=R(t)),r}var lt={};function D(e,t){var r,s=t,a;for(typeof e=="string"&&(e=[e]),A(t)&&(s=function(n,i){i[t]=_(n)}),a=e.length,r=0;r<a;r++)lt[e[r]]=s}function Me(e,t){D(e,function(r,s,a,n){a._w=a._w||{},t(r,a._w,a,n)})}function is(e,t,r){t!=null&&M(lt,e)&&lt[e](t,r._a,r,e)}function Ce(e){return e%4===0&&e%100!==0||e%400===0}var O=0,V=1,E=2,Y=3,L=4,G=5,re=6,os=7,ls=8;h("Y",0,0,function(){var e=this.year();return e<=9999?H(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",Ne),d("YY",S,P),d("YYYY",it,nt),d("YYYYY",Re,xe),d("YYYYYY",Re,xe),D(["YYYYY","YYYYYY"],O),D("YYYY",function(e,t){t[O]=e.length===2?l.parseTwoDigitYear(e):_(e)}),D("YY",function(e,t){t[O]=l.parseTwoDigitYear(e)}),D("Y",function(e,t){t[O]=parseInt(e,10)});function ge(e){return Ce(e)?366:365}l.parseTwoDigitYear=function(e){return _(e)+(_(e)>68?1900:2e3)};var jt=le("FullYear",!0);function us(){return Ce(this.year())}function le(e,t){return function(r){return r!=null?(Vt(this,e,r),l.updateOffset(this,t),this):De(this,e)}}function De(e,t){if(!e.isValid())return NaN;var r=e._d,s=e._isUTC;switch(t){case"Milliseconds":return s?r.getUTCMilliseconds():r.getMilliseconds();case"Seconds":return s?r.getUTCSeconds():r.getSeconds();case"Minutes":return s?r.getUTCMinutes():r.getMinutes();case"Hours":return s?r.getUTCHours():r.getHours();case"Date":return s?r.getUTCDate():r.getDate();case"Day":return s?r.getUTCDay():r.getDay();case"Month":return s?r.getUTCMonth():r.getMonth();case"FullYear":return s?r.getUTCFullYear():r.getFullYear();default:return NaN}}function Vt(e,t,r){var s,a,n,i,u;if(!(!e.isValid()||isNaN(r))){switch(s=e._d,a=e._isUTC,t){case"Milliseconds":return void(a?s.setUTCMilliseconds(r):s.setMilliseconds(r));case"Seconds":return void(a?s.setUTCSeconds(r):s.setSeconds(r));case"Minutes":return void(a?s.setUTCMinutes(r):s.setMinutes(r));case"Hours":return void(a?s.setUTCHours(r):s.setHours(r));case"Date":return void(a?s.setUTCDate(r):s.setDate(r));case"FullYear":break;default:return}n=r,i=e.month(),u=e.date(),u=u===29&&i===1&&!Ce(n)?28:u,a?s.setUTCFullYear(n,i,u):s.setFullYear(n,i,u)}}function ds(e){return e=W(e),U(this[e])?this[e]():this}function hs(e,t){if(typeof e=="object"){e=at(e);var r=ts(e),s,a=r.length;for(s=0;s<a;s++)this[r[s].unit](e[r[s].unit])}else if(e=W(e),U(this[e]))return this[e](t);return this}function fs(e,t){return(e%t+t)%t}var p;Array.prototype.indexOf?p=Array.prototype.indexOf:p=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function ut(e,t){if(isNaN(e)||isNaN(t))return NaN;var r=fs(t,12);return e+=(t-r)/12,r===1?Ce(e)?29:28:31-r%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",S,oe),d("MM",S,P),d("MMM",function(e,t){return t.monthsShortRegex(e)}),d("MMMM",function(e,t){return t.monthsRegex(e)}),D(["M","MM"],function(e,t){t[V]=_(e)-1}),D(["MMM","MMMM"],function(e,t,r,s){var a=r._locale.monthsParse(e,s,r._strict);a!=null?t[V]=a:c(r).invalidMonth=e});var cs="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Gt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),zt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,ms=we,_s=we;function ys(e,t){return e?N(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||zt).test(t)?"format":"standalone"][e.month()]:N(this._months)?this._months:this._months.standalone}function ws(e,t){return e?N(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[zt.test(t)?"format":"standalone"][e.month()]:N(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function Ms(e,t,r){var s,a,n,i=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],s=0;s<12;++s)n=I([2e3,s]),this._shortMonthsParse[s]=this.monthsShort(n,"").toLocaleLowerCase(),this._longMonthsParse[s]=this.months(n,"").toLocaleLowerCase();return r?t==="MMM"?(a=p.call(this._shortMonthsParse,i),a!==-1?a:null):(a=p.call(this._longMonthsParse,i),a!==-1?a:null):t==="MMM"?(a=p.call(this._shortMonthsParse,i),a!==-1?a:(a=p.call(this._longMonthsParse,i),a!==-1?a:null)):(a=p.call(this._longMonthsParse,i),a!==-1?a:(a=p.call(this._shortMonthsParse,i),a!==-1?a:null))}function gs(e,t,r){var s,a,n;if(this._monthsParseExact)return Ms.call(this,e,t,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),s=0;s<12;s++){if(a=I([2e3,s]),r&&!this._longMonthsParse[s]&&(this._longMonthsParse[s]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[s]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),!r&&!this._monthsParse[s]&&(n="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[s]=new RegExp(n.replace(".",""),"i")),r&&t==="MMMM"&&this._longMonthsParse[s].test(e))return s;if(r&&t==="MMM"&&this._shortMonthsParse[s].test(e))return s;if(!r&&this._monthsParse[s].test(e))return s}}function $t(e,t){if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=_(t);else if(t=e.localeData().monthsParse(t),!A(t))return e}var r=t,s=e.date();return s=s<29?s:Math.min(s,ut(e.year(),r)),e._isUTC?e._d.setUTCMonth(r,s):e._d.setMonth(r,s),e}function qt(e){return e!=null?($t(this,e),l.updateOffset(this,!0),this):De(this,"Month")}function Ds(){return ut(this.year(),this.month())}function Ss(e){return this._monthsParseExact?(M(this,"_monthsRegex")||Zt.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(M(this,"_monthsShortRegex")||(this._monthsShortRegex=ms),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function ks(e){return this._monthsParseExact?(M(this,"_monthsRegex")||Zt.call(this),e?this._monthsStrictRegex:this._monthsRegex):(M(this,"_monthsRegex")||(this._monthsRegex=_s),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function Zt(){function e(f,y){return y.length-f.length}var t=[],r=[],s=[],a,n,i,u;for(a=0;a<12;a++)n=I([2e3,a]),i=j(this.monthsShort(n,"")),u=j(this.months(n,"")),t.push(i),r.push(u),s.push(u),s.push(i);t.sort(e),r.sort(e),s.sort(e),this._monthsRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}function vs(e,t,r,s,a,n,i){var u;return e<100&&e>=0?(u=new Date(e+400,t,r,s,a,n,i),isFinite(u.getFullYear())&&u.setFullYear(e)):u=new Date(e,t,r,s,a,n,i),u}function Se(e){var t,r;return e<100&&e>=0?(r=Array.prototype.slice.call(arguments),r[0]=e+400,t=new Date(Date.UTC.apply(null,r)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Ie(e,t,r){var s=7+t-r,a=(7+Se(e,0,s).getUTCDay()-t)%7;return-a+s-1}function Bt(e,t,r,s,a){var n=(7+r-s)%7,i=Ie(e,s,a),u=1+7*(t-1)+n+i,f,y;return u<=0?(f=e-1,y=ge(f)+u):u>ge(e)?(f=e+1,y=u-ge(e)):(f=e,y=u),{year:f,dayOfYear:y}}function ke(e,t,r){var s=Ie(e.year(),t,r),a=Math.floor((e.dayOfYear()-s-1)/7)+1,n,i;return a<1?(i=e.year()-1,n=a+z(i,t,r)):a>z(e.year(),t,r)?(n=a-z(e.year(),t,r),i=e.year()+1):(i=e.year(),n=a),{week:n,year:i}}function z(e,t,r){var s=Ie(e,t,r),a=Ie(e+1,t,r);return(ge(e)-s+a)/7}h("w",["ww",2],"wo","week"),h("W",["WW",2],"Wo","isoWeek"),d("w",S,oe),d("ww",S,P),d("W",S,oe),d("WW",S,P),Me(["w","ww","W","WW"],function(e,t,r,s){t[s.substr(0,1)]=_(e)});function ps(e){return ke(e,this._week.dow,this._week.doy).week}var Ys={dow:0,doy:6};function Os(){return this._week.dow}function bs(){return this._week.doy}function Ts(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function Ps(e){var t=ke(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",S),d("e",S),d("E",S),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)}),Me(["dd","ddd","dddd"],function(e,t,r,s){var a=r._locale.weekdaysParse(e,s,r._strict);a!=null?t.d=a:c(r).invalidWeekday=e}),Me(["d","e","E"],function(e,t,r,s){t[s]=_(e)});function xs(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function Ws(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function dt(e,t){return e.slice(t,7).concat(e.slice(0,t))}var Rs="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Jt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ns="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Fs=we,Ls=we,Cs=we;function Is(e,t){var r=N(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?dt(r,this._week.dow):e?r[e.day()]:r}function Us(e){return e===!0?dt(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Hs(e){return e===!0?dt(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Es(e,t,r){var s,a,n,i=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],s=0;s<7;++s)n=I([2e3,1]).day(s),this._minWeekdaysParse[s]=this.weekdaysMin(n,"").toLocaleLowerCase(),this._shortWeekdaysParse[s]=this.weekdaysShort(n,"").toLocaleLowerCase(),this._weekdaysParse[s]=this.weekdays(n,"").toLocaleLowerCase();return r?t==="dddd"?(a=p.call(this._weekdaysParse,i),a!==-1?a:null):t==="ddd"?(a=p.call(this._shortWeekdaysParse,i),a!==-1?a:null):(a=p.call(this._minWeekdaysParse,i),a!==-1?a:null):t==="dddd"?(a=p.call(this._weekdaysParse,i),a!==-1||(a=p.call(this._shortWeekdaysParse,i),a!==-1)?a:(a=p.call(this._minWeekdaysParse,i),a!==-1?a:null)):t==="ddd"?(a=p.call(this._shortWeekdaysParse,i),a!==-1||(a=p.call(this._weekdaysParse,i),a!==-1)?a:(a=p.call(this._minWeekdaysParse,i),a!==-1?a:null)):(a=p.call(this._minWeekdaysParse,i),a!==-1||(a=p.call(this._weekdaysParse,i),a!==-1)?a:(a=p.call(this._shortWeekdaysParse,i),a!==-1?a:null))}function As(e,t,r){var s,a,n;if(this._weekdaysParseExact)return Es.call(this,e,t,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),s=0;s<7;s++){if(a=I([2e3,1]).day(s),r&&!this._fullWeekdaysParse[s]&&(this._fullWeekdaysParse[s]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[s]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[s]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[s]||(n="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[s]=new RegExp(n.replace(".",""),"i")),r&&t==="dddd"&&this._fullWeekdaysParse[s].test(e))return s;if(r&&t==="ddd"&&this._shortWeekdaysParse[s].test(e))return s;if(r&&t==="dd"&&this._minWeekdaysParse[s].test(e))return s;if(!r&&this._weekdaysParse[s].test(e))return s}}function js(e){if(!this.isValid())return e!=null?this:NaN;var t=De(this,"Day");return e!=null?(e=xs(e,this.localeData()),this.add(e-t,"d")):t}function Vs(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 Gs(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=Ws(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function zs(e){return this._weekdaysParseExact?(M(this,"_weekdaysRegex")||ht.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(M(this,"_weekdaysRegex")||(this._weekdaysRegex=Fs),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function $s(e){return this._weekdaysParseExact?(M(this,"_weekdaysRegex")||ht.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(M(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ls),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function qs(e){return this._weekdaysParseExact?(M(this,"_weekdaysRegex")||ht.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(M(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Cs),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function ht(){function e(b,J){return J.length-b.length}var t=[],r=[],s=[],a=[],n,i,u,f,y;for(n=0;n<7;n++)i=I([2e3,1]).day(n),u=j(this.weekdaysMin(i,"")),f=j(this.weekdaysShort(i,"")),y=j(this.weekdays(i,"")),t.push(u),r.push(f),s.push(y),a.push(u),a.push(f),a.push(y);t.sort(e),r.sort(e),s.sort(e),a.sort(e),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function ft(){return this.hours()%12||12}function Zs(){return this.hours()||24}h("H",["HH",2],0,"hour"),h("h",["hh",2],0,ft),h("k",["kk",2],0,Zs),h("hmm",0,0,function(){return""+ft.apply(this)+H(this.minutes(),2)}),h("hmmss",0,0,function(){return""+ft.apply(this)+H(this.minutes(),2)+H(this.seconds(),2)}),h("Hmm",0,0,function(){return""+this.hours()+H(this.minutes(),2)}),h("Hmmss",0,0,function(){return""+this.hours()+H(this.minutes(),2)+H(this.seconds(),2)});function Qt(e,t){h(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}Qt("a",!0),Qt("A",!1);function Kt(e,t){return t._meridiemParse}d("a",Kt),d("A",Kt),d("H",S,ot),d("h",S,oe),d("k",S,oe),d("HH",S,P),d("hh",S,P),d("kk",S,P),d("hmm",Et),d("hmmss",At),d("Hmm",Et),d("Hmmss",At),D(["H","HH"],Y),D(["k","kk"],function(e,t,r){var s=_(e);t[Y]=s===24?0:s}),D(["a","A"],function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e}),D(["h","hh"],function(e,t,r){t[Y]=_(e),c(r).bigHour=!0}),D("hmm",function(e,t,r){var s=e.length-2;t[Y]=_(e.substr(0,s)),t[L]=_(e.substr(s)),c(r).bigHour=!0}),D("hmmss",function(e,t,r){var s=e.length-4,a=e.length-2;t[Y]=_(e.substr(0,s)),t[L]=_(e.substr(s,2)),t[G]=_(e.substr(a)),c(r).bigHour=!0}),D("Hmm",function(e,t,r){var s=e.length-2;t[Y]=_(e.substr(0,s)),t[L]=_(e.substr(s))}),D("Hmmss",function(e,t,r){var s=e.length-4,a=e.length-2;t[Y]=_(e.substr(0,s)),t[L]=_(e.substr(s,2)),t[G]=_(e.substr(a))});function Bs(e){return(e+"").toLowerCase().charAt(0)==="p"}var Js=/[ap]\.?m?\.?/i,Qs=le("Hours",!0);function Ks(e,t,r){return e>11?r?"pm":"PM":r?"am":"AM"}var Xt={calendar:Er,longDateFormat:Gr,invalidDate:$r,ordinal:Zr,dayOfMonthOrdinalParse:Br,relativeTime:Qr,months:cs,monthsShort:Gt,week:Ys,weekdays:Rs,weekdaysMin:Ns,weekdaysShort:Jt,meridiemParse:Js},v={},ve={},pe;function Xs(e,t){var r,s=Math.min(e.length,t.length);for(r=0;r<s;r+=1)if(e[r]!==t[r])return r;return s}function er(e){return e&&e.toLowerCase().replace("_","-")}function ea(e){for(var t=0,r,s,a,n;t<e.length;){for(n=er(e[t]).split("-"),r=n.length,s=er(e[t+1]),s=s?s.split("-"):null;r>0;){if(a=Ue(n.slice(0,r).join("-")),a)return a;if(s&&s.length>=r&&Xs(n,s)>=r-1)break;r--}t++}return pe}function ta(e){return!!(e&&e.match("^[^/\\\\]*$"))}function Ue(e){var t=null,r;if(v[e]===void 0&&typeof module<"u"&&module&&module.exports&&ta(e))try{t=pe._abbr,r=require,r("./locale/"+e),K(t)}catch{v[e]=null}return v[e]}function K(e,t){var r;return e&&(T(t)?r=$(e):r=ct(e,t),r?pe=r:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),pe._abbr}function ct(e,t){if(t!==null){var r,s=Xt;if(t.abbr=e,v[e]!=null)Lt("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."),s=v[e]._config;else if(t.parentLocale!=null)if(v[t.parentLocale]!=null)s=v[t.parentLocale]._config;else if(r=Ue(t.parentLocale),r!=null)s=r._config;else return ve[t.parentLocale]||(ve[t.parentLocale]=[]),ve[t.parentLocale].push({name:e,config:t}),null;return v[e]=new et(Xe(s,t)),ve[e]&&ve[e].forEach(function(a){ct(a.name,a.config)}),K(e),v[e]}else return delete v[e],null}function ra(e,t){if(t!=null){var r,s,a=Xt;v[e]!=null&&v[e].parentLocale!=null?v[e].set(Xe(v[e]._config,t)):(s=Ue(e),s!=null&&(a=s._config),t=Xe(a,t),s==null&&(t.abbr=e),r=new et(t),r.parentLocale=v[e],v[e]=r),K(e)}else v[e]!=null&&(v[e].parentLocale!=null?(v[e]=v[e].parentLocale,e===K()&&K(e)):v[e]!=null&&delete v[e]);return v[e]}function $(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return pe;if(!N(e)){if(t=Ue(e),t)return t;e=[e]}return ea(e)}function sa(){return tt(v)}function mt(e){var t,r=e._a;return r&&c(e).overflow===-2&&(t=r[V]<0||r[V]>11?V:r[E]<1||r[E]>ut(r[O],r[V])?E:r[Y]<0||r[Y]>24||r[Y]===24&&(r[L]!==0||r[G]!==0||r[re]!==0)?Y:r[L]<0||r[L]>59?L:r[G]<0||r[G]>59?G:r[re]<0||r[re]>999?re:-1,c(e)._overflowDayOfYear&&(t<O||t>E)&&(t=E),c(e)._overflowWeeks&&t===-1&&(t=os),c(e)._overflowWeekday&&t===-1&&(t=ls),c(e).overflow=t),e}var aa=/^\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)?)?$/,na=/^\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)?)?$/,ia=/Z|[+-]\d\d(?::?\d\d)?/,He=[["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]],_t=[["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/]],oa=/^\/?Date\((-?\d+)/i,la=/^(?:(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}))$/,ua={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 tr(e){var t,r,s=e._i,a=aa.exec(s)||na.exec(s),n,i,u,f,y=He.length,b=_t.length;if(a){for(c(e).iso=!0,t=0,r=y;t<r;t++)if(He[t][1].exec(a[1])){i=He[t][0],n=He[t][2]!==!1;break}if(i==null){e._isValid=!1;return}if(a[3]){for(t=0,r=b;t<r;t++)if(_t[t][1].exec(a[3])){u=(a[2]||" ")+_t[t][0];break}if(u==null){e._isValid=!1;return}}if(!n&&u!=null){e._isValid=!1;return}if(a[4])if(ia.exec(a[4]))f="Z";else{e._isValid=!1;return}e._f=i+(u||"")+(f||""),wt(e)}else e._isValid=!1}function da(e,t,r,s,a,n){var i=[ha(e),Gt.indexOf(t),parseInt(r,10),parseInt(s,10),parseInt(a,10)];return n&&i.push(parseInt(n,10)),i}function ha(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function fa(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function ca(e,t,r){if(e){var s=Jt.indexOf(e),a=new Date(t[0],t[1],t[2]).getDay();if(s!==a)return c(r).weekdayMismatch=!0,r._isValid=!1,!1}return!0}function ma(e,t,r){if(e)return ua[e];if(t)return 0;var s=parseInt(r,10),a=s%100,n=(s-a)/100;return n*60+a}function rr(e){var t=la.exec(fa(e._i)),r;if(t){if(r=da(t[4],t[3],t[2],t[5],t[6],t[7]),!ca(t[1],r,e))return;e._a=r,e._tzm=ma(t[8],t[9],t[10]),e._d=Se.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),c(e).rfc2822=!0}else e._isValid=!1}function _a(e){var t=oa.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(tr(e),e._isValid===!1)delete e._isValid;else return;if(rr(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:l.createFromInputFallback(e)}l.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 ue(e,t,r){return e??t??r}function ya(e){var t=new Date(l.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function yt(e){var t,r,s=[],a,n,i;if(!e._d){for(a=ya(e),e._w&&e._a[E]==null&&e._a[V]==null&&wa(e),e._dayOfYear!=null&&(i=ue(e._a[O],a[O]),(e._dayOfYear>ge(i)||e._dayOfYear===0)&&(c(e)._overflowDayOfYear=!0),r=Se(i,0,e._dayOfYear),e._a[V]=r.getUTCMonth(),e._a[E]=r.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=s[t]=a[t];for(;t<7;t++)e._a[t]=s[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[Y]===24&&e._a[L]===0&&e._a[G]===0&&e._a[re]===0&&(e._nextDay=!0,e._a[Y]=0),e._d=(e._useUTC?Se:vs).apply(null,s),n=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!==n&&(c(e).weekdayMismatch=!0)}}function wa(e){var t,r,s,a,n,i,u,f,y;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(n=1,i=4,r=ue(t.GG,e._a[O],ke(k(),1,4).year),s=ue(t.W,1),a=ue(t.E,1),(a<1||a>7)&&(f=!0)):(n=e._locale._week.dow,i=e._locale._week.doy,y=ke(k(),n,i),r=ue(t.gg,e._a[O],y.year),s=ue(t.w,y.week),t.d!=null?(a=t.d,(a<0||a>6)&&(f=!0)):t.e!=null?(a=t.e+n,(t.e<0||t.e>6)&&(f=!0)):a=n),s<1||s>z(r,n,i)?c(e)._overflowWeeks=!0:f!=null?c(e)._overflowWeekday=!0:(u=Bt(r,s,a,n,i),e._a[O]=u.year,e._dayOfYear=u.dayOfYear)}l.ISO_8601=function(){},l.RFC_2822=function(){};function wt(e){if(e._f===l.ISO_8601){tr(e);return}if(e._f===l.RFC_2822){rr(e);return}e._a=[],c(e).empty=!0;var t=""+e._i,r,s,a,n,i,u=t.length,f=0,y,b;for(a=Ct(e._f,e._locale).match(rt)||[],b=a.length,r=0;r<b;r++)n=a[r],s=(t.match(as(n,e))||[])[0],s&&(i=t.substr(0,t.indexOf(s)),i.length>0&&c(e).unusedInput.push(i),t=t.slice(t.indexOf(s)+s.length),f+=s.length),ne[n]?(s?c(e).empty=!1:c(e).unusedTokens.push(n),is(n,s,e)):e._strict&&!s&&c(e).unusedTokens.push(n);c(e).charsLeftOver=u-f,t.length>0&&c(e).unusedInput.push(t),e._a[Y]<=12&&c(e).bigHour===!0&&e._a[Y]>0&&(c(e).bigHour=void 0),c(e).parsedDateParts=e._a.slice(0),c(e).meridiem=e._meridiem,e._a[Y]=Ma(e._locale,e._a[Y],e._meridiem),y=c(e).era,y!==null&&(e._a[O]=e._locale.erasConvertYear(y,e._a[O])),yt(e),mt(e)}function Ma(e,t,r){var s;return r==null?t:e.meridiemHour!=null?e.meridiemHour(t,r):(e.isPM!=null&&(s=e.isPM(r),s&&t<12&&(t+=12),!s&&t===12&&(t=0)),t)}function ga(e){var t,r,s,a,n,i,u=!1,f=e._f.length;if(f===0){c(e).invalidFormat=!0,e._d=new Date(NaN);return}for(a=0;a<f;a++)n=0,i=!1,t=Ke({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[a],wt(t),Je(t)&&(i=!0),n+=c(t).charsLeftOver,n+=c(t).unusedTokens.length*10,c(t).score=n,u?n<s&&(s=n,r=t):(s==null||n<s||i)&&(s=n,r=t,i&&(u=!0));Q(e,r||t)}function Da(e){if(!e._d){var t=at(e._i),r=t.day===void 0?t.date:t.day;e._a=Wt([t.year,t.month,r,t.hour,t.minute,t.second,t.millisecond],function(s){return s&&parseInt(s,10)}),yt(e)}}function Sa(e){var t=new ye(mt(sr(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function sr(e){var t=e._i,r=e._f;return e._locale=e._locale||$(e._l),t===null||r===void 0&&t===""?be({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),F(t)?new ye(mt(t)):(_e(t)?e._d=t:N(r)?ga(e):r?wt(e):ka(e),Je(e)||(e._d=null),e))}function ka(e){var t=e._i;T(t)?e._d=new Date(l.now()):_e(t)?e._d=new Date(t.valueOf()):typeof t=="string"?_a(e):N(t)?(e._a=Wt(t.slice(0),function(r){return parseInt(r,10)}),yt(e)):te(t)?Da(e):A(t)?e._d=new Date(t):l.createFromInputFallback(e)}function ar(e,t,r,s,a){var n={};return(t===!0||t===!1)&&(s=t,t=void 0),(r===!0||r===!1)&&(s=r,r=void 0),(te(e)&&Ze(e)||N(e)&&e.length===0)&&(e=void 0),n._isAMomentObject=!0,n._useUTC=n._isUTC=a,n._l=r,n._i=e,n._f=t,n._strict=s,Sa(n)}function k(e,t,r,s){return ar(e,t,r,s,!1)}var va=x("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=k.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:be()}),pa=x("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=k.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:be()});function nr(e,t){var r,s;if(t.length===1&&N(t[0])&&(t=t[0]),!t.length)return k();for(r=t[0],s=1;s<t.length;++s)(!t[s].isValid()||t[s][e](r))&&(r=t[s]);return r}function Ya(){var e=[].slice.call(arguments,0);return nr("isBefore",e)}function Oa(){var e=[].slice.call(arguments,0);return nr("isAfter",e)}var ba=function(){return Date.now?Date.now():+new Date},Ye=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Ta(e){var t,r=!1,s,a=Ye.length;for(t in e)if(M(e,t)&&!(p.call(Ye,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(s=0;s<a;++s)if(e[Ye[s]]){if(r)return!1;parseFloat(e[Ye[s]])!==_(e[Ye[s]])&&(r=!0)}return!0}function Pa(){return this._isValid}function xa(){return C(NaN)}function Ee(e){var t=at(e),r=t.year||0,s=t.quarter||0,a=t.month||0,n=t.week||t.isoWeek||0,i=t.day||0,u=t.hour||0,f=t.minute||0,y=t.second||0,b=t.millisecond||0;this._isValid=Ta(t),this._milliseconds=+b+y*1e3+f*6e4+u*1e3*60*60,this._days=+i+n*7,this._months=+a+s*3+r*12,this._data={},this._locale=$(),this._bubble()}function Ae(e){return e instanceof Ee}function Mt(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function Wa(e,t,r){var s=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),n=0,i;for(i=0;i<s;i++)(r&&e[i]!==t[i]||!r&&_(e[i])!==_(t[i]))&&n++;return n+a}function ir(e,t){h(e,0,0,function(){var r=this.utcOffset(),s="+";return r<0&&(r=-r,s="-"),s+H(~~(r/60),2)+t+H(~~r%60,2)})}ir("Z",":"),ir("ZZ",""),d("Z",Fe),d("ZZ",Fe),D(["Z","ZZ"],function(e,t,r){r._useUTC=!0,r._tzm=gt(Fe,e)});var Ra=/([\+\-]|\d\d)/gi;function gt(e,t){var r=(t||"").match(e),s,a,n;return r===null?null:(s=r[r.length-1]||[],a=(s+"").match(Ra)||["-",0,0],n=+(a[1]*60)+_(a[2]),n===0?0:a[0]==="+"?n:-n)}function Dt(e,t){var r,s;return t._isUTC?(r=t.clone(),s=(F(e)||_e(e)?e.valueOf():k(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+s),l.updateOffset(r,!1),r):k(e).local()}function St(e){return-Math.round(e._d.getTimezoneOffset())}l.updateOffset=function(){};function Na(e,t,r){var s=this._offset||0,a;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=gt(Fe,e),e===null)return this}else Math.abs(e)<16&&!r&&(e=e*60);return!this._isUTC&&t&&(a=St(this)),this._offset=e,this._isUTC=!0,a!=null&&this.add(a,"m"),s!==e&&(!t||this._changeInProgress?dr(this,C(e-s,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,l.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?s:St(this)}function Fa(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function La(e){return this.utcOffset(0,e)}function Ca(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(St(this),"m")),this}function Ia(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=gt(rs,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function Ua(e){return this.isValid()?(e=e?k(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function Ha(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Ea(){if(!T(this._isDSTShifted))return this._isDSTShifted;var e={},t;return Ke(e,this),e=sr(e),e._a?(t=e._isUTC?I(e._a):k(e._a),this._isDSTShifted=this.isValid()&&Wa(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Aa(){return this.isValid()?!this._isUTC:!1}function ja(){return this.isValid()?this._isUTC:!1}function or(){return this.isValid()?this._isUTC&&this._offset===0:!1}var Va=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Ga=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function C(e,t){var r=e,s=null,a,n,i;return Ae(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:A(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(s=Va.exec(e))?(a=s[1]==="-"?-1:1,r={y:0,d:_(s[E])*a,h:_(s[Y])*a,m:_(s[L])*a,s:_(s[G])*a,ms:_(Mt(s[re]*1e3))*a}):(s=Ga.exec(e))?(a=s[1]==="-"?-1:1,r={y:se(s[2],a),M:se(s[3],a),w:se(s[4],a),d:se(s[5],a),h:se(s[6],a),m:se(s[7],a),s:se(s[8],a)}):r==null?r={}:typeof r=="object"&&("from"in r||"to"in r)&&(i=za(k(r.from),k(r.to)),r={},r.ms=i.milliseconds,r.M=i.months),n=new Ee(r),Ae(e)&&M(e,"_locale")&&(n._locale=e._locale),Ae(e)&&M(e,"_isValid")&&(n._isValid=e._isValid),n}C.fn=Ee.prototype,C.invalid=xa;function se(e,t){var r=e&&parseFloat(e.replace(",","."));return(isNaN(r)?0:r)*t}function lr(e,t){var r={};return r.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(r.months,"M").isAfter(t)&&--r.months,r.milliseconds=+t-+e.clone().add(r.months,"M"),r}function za(e,t){var r;return e.isValid()&&t.isValid()?(t=Dt(t,e),e.isBefore(t)?r=lr(e,t):(r=lr(t,e),r.milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0}}function ur(e,t){return function(r,s){var a,n;return s!==null&&!isNaN(+s)&&(Lt(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."),n=r,r=s,s=n),a=C(r,s),dr(this,a,e),this}}function dr(e,t,r,s){var a=t._milliseconds,n=Mt(t._days),i=Mt(t._months);e.isValid()&&(s=s??!0,i&&$t(e,De(e,"Month")+i*r),n&&Vt(e,"Date",De(e,"Date")+n*r),a&&e._d.setTime(e._d.valueOf()+a*r),s&&l.updateOffset(e,n||i))}var $a=ur(1,"add"),qa=ur(-1,"subtract");function hr(e){return typeof e=="string"||e instanceof String}function Za(e){return F(e)||_e(e)||hr(e)||A(e)||Ja(e)||Ba(e)||e===null||e===void 0}function Ba(e){var t=te(e)&&!Ze(e),r=!1,s=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],a,n,i=s.length;for(a=0;a<i;a+=1)n=s[a],r=r||M(e,n);return t&&r}function Ja(e){var t=N(e),r=!1;return t&&(r=e.filter(function(s){return!A(s)&&hr(e)}).length===0),t&&r}function Qa(e){var t=te(e)&&!Ze(e),r=!1,s=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],a,n;for(a=0;a<s.length;a+=1)n=s[a],r=r||M(e,n);return t&&r}function Ka(e,t){var r=e.diff(t,"days",!0);return r<-6?"sameElse":r<-1?"lastWeek":r<0?"lastDay":r<1?"sameDay":r<2?"nextDay":r<7?"nextWeek":"sameElse"}function Xa(e,t){arguments.length===1&&(arguments[0]?Za(arguments[0])?(e=arguments[0],t=void 0):Qa(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var r=e||k(),s=Dt(r,this).startOf("day"),a=l.calendarFormat(this,s)||"sameElse",n=t&&(U(t[a])?t[a].call(this,r):t[a]);return this.format(n||this.localeData().calendar(a,this,k(r)))}function en(){return new ye(this)}function tn(e,t){var r=F(e)?e:k(e);return this.isValid()&&r.isValid()?(t=W(t)||"millisecond",t==="millisecond"?this.valueOf()>r.valueOf():r.valueOf()<this.clone().startOf(t).valueOf()):!1}function rn(e,t){var r=F(e)?e:k(e);return this.isValid()&&r.isValid()?(t=W(t)||"millisecond",t==="millisecond"?this.valueOf()<r.valueOf():this.clone().endOf(t).valueOf()<r.valueOf()):!1}function sn(e,t,r,s){var a=F(e)?e:k(e),n=F(t)?t:k(t);return this.isValid()&&a.isValid()&&n.isValid()?(s=s||"()",(s[0]==="("?this.isAfter(a,r):!this.isBefore(a,r))&&(s[1]===")"?this.isBefore(n,r):!this.isAfter(n,r))):!1}function an(e,t){var r=F(e)?e:k(e),s;return this.isValid()&&r.isValid()?(t=W(t)||"millisecond",t==="millisecond"?this.valueOf()===r.valueOf():(s=r.valueOf(),this.clone().startOf(t).valueOf()<=s&&s<=this.clone().endOf(t).valueOf())):!1}function nn(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function on(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function ln(e,t,r){var s,a,n;if(!this.isValid())return NaN;if(s=Dt(e,this),!s.isValid())return NaN;switch(a=(s.utcOffset()-this.utcOffset())*6e4,t=W(t),t){case"year":n=je(this,s)/12;break;case"month":n=je(this,s);break;case"quarter":n=je(this,s)/3;break;case"second":n=(this-s)/1e3;break;case"minute":n=(this-s)/6e4;break;case"hour":n=(this-s)/36e5;break;case"day":n=(this-s-a)/864e5;break;case"week":n=(this-s-a)/6048e5;break;default:n=this-s}return r?n:R(n)}function je(e,t){if(e.date()<t.date())return-je(t,e);var r=(t.year()-e.year())*12+(t.month()-e.month()),s=e.clone().add(r,"months"),a,n;return t-s<0?(a=e.clone().add(r-1,"months"),n=(t-s)/(s-a)):(a=e.clone().add(r+1,"months"),n=(t-s)/(a-s)),-(r+n)||0}l.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",l.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function un(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function dn(e){if(!this.isValid())return null;var t=e!==!0,r=t?this.clone().utc():this;return r.year()<0||r.year()>9999?Pe(r,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):U(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Pe(r,"Z")):Pe(r,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function hn(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",r,s,a,n;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),r="["+e+'("]',s=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",a="-MM-DD[T]HH:mm:ss.SSS",n=t+'[")]',this.format(r+s+a+n)}function fn(e){e||(e=this.isUtc()?l.defaultFormatUtc:l.defaultFormat);var t=Pe(this,e);return this.localeData().postformat(t)}function cn(e,t){return this.isValid()&&(F(e)&&e.isValid()||k(e).isValid())?C({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function mn(e){return this.from(k(),e)}function _n(e,t){return this.isValid()&&(F(e)&&e.isValid()||k(e).isValid())?C({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function yn(e){return this.to(k(),e)}function fr(e){var t;return e===void 0?this._locale._abbr:(t=$(e),t!=null&&(this._locale=t),this)}var cr=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 mr(){return this._locale}var Ve=1e3,de=60*Ve,Ge=60*de,_r=(365*400+97)*24*Ge;function he(e,t){return(e%t+t)%t}function yr(e,t,r){return e<100&&e>=0?new Date(e+400,t,r)-_r:new Date(e,t,r).valueOf()}function wr(e,t,r){return e<100&&e>=0?Date.UTC(e+400,t,r)-_r:Date.UTC(e,t,r)}function wn(e){var t,r;if(e=W(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?wr:yr,e){case"year":t=r(this.year(),0,1);break;case"quarter":t=r(this.year(),this.month()-this.month()%3,1);break;case"month":t=r(this.year(),this.month(),1);break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=r(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=he(t+(this._isUTC?0:this.utcOffset()*de),Ge);break;case"minute":t=this._d.valueOf(),t-=he(t,de);break;case"second":t=this._d.valueOf(),t-=he(t,Ve);break}return this._d.setTime(t),l.updateOffset(this,!0),this}function Mn(e){var t,r;if(e=W(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?wr:yr,e){case"year":t=r(this.year()+1,0,1)-1;break;case"quarter":t=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=r(this.year(),this.month()+1,1)-1;break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=Ge-he(t+(this._isUTC?0:this.utcOffset()*de),Ge)-1;break;case"minute":t=this._d.valueOf(),t+=de-he(t,de)-1;break;case"second":t=this._d.valueOf(),t+=Ve-he(t,Ve)-1;break}return this._d.setTime(t),l.updateOffset(this,!0),this}function gn(){return this._d.valueOf()-(this._offset||0)*6e4}function Dn(){return Math.floor(this.valueOf()/1e3)}function Sn(){return new Date(this.valueOf())}function kn(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function vn(){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 pn(){return this.isValid()?this.toISOString():null}function Yn(){return Je(this)}function On(){return Q({},c(this))}function bn(){return c(this).overflow}function Tn(){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",kt),d("NN",kt),d("NNN",kt),d("NNNN",Hn),d("NNNNN",En),D(["N","NN","NNN","NNNN","NNNNN"],function(e,t,r,s){var a=r._locale.erasParse(e,s,r._strict);a?c(r).era=a:c(r).invalidEra=e}),d("y",ie),d("yy",ie),d("yyy",ie),d("yyyy",ie),d("yo",An),D(["y","yy","yyy","yyyy"],O),D(["yo"],function(e,t,r,s){var a;r._locale._eraYearOrdinalRegex&&(a=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[O]=r._locale.eraYearOrdinalParse(e,a):t[O]=parseInt(e,10)});function Pn(e,t){var r,s,a,n=this._eras||$("en")._eras;for(r=0,s=n.length;r<s;++r){switch(typeof n[r].since){case"string":a=l(n[r].since).startOf("day"),n[r].since=a.valueOf();break}switch(typeof n[r].until){case"undefined":n[r].until=1/0;break;case"string":a=l(n[r].until).startOf("day").valueOf(),n[r].until=a.valueOf();break}}return n}function xn(e,t,r){var s,a,n=this.eras(),i,u,f;for(e=e.toUpperCase(),s=0,a=n.length;s<a;++s)if(i=n[s].name.toUpperCase(),u=n[s].abbr.toUpperCase(),f=n[s].narrow.toUpperCase(),r)switch(t){case"N":case"NN":case"NNN":if(u===e)return n[s];break;case"NNNN":if(i===e)return n[s];break;case"NNNNN":if(f===e)return n[s];break}else if([i,u,f].indexOf(e)>=0)return n[s]}function Wn(e,t){var r=e.since<=e.until?1:-1;return t===void 0?l(e.since).year():l(e.since).year()+(t-e.offset)*r}function Rn(){var e,t,r,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),s[e].since<=r&&r<=s[e].until||s[e].until<=r&&r<=s[e].since)return s[e].name;return""}function Nn(){var e,t,r,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),s[e].since<=r&&r<=s[e].until||s[e].until<=r&&r<=s[e].since)return s[e].narrow;return""}function Fn(){var e,t,r,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),s[e].since<=r&&r<=s[e].until||s[e].until<=r&&r<=s[e].since)return s[e].abbr;return""}function Ln(){var e,t,r,s,a=this.localeData().eras();for(e=0,t=a.length;e<t;++e)if(r=a[e].since<=a[e].until?1:-1,s=this.clone().startOf("day").valueOf(),a[e].since<=s&&s<=a[e].until||a[e].until<=s&&s<=a[e].since)return(this.year()-l(a[e].since).year())*r+a[e].offset;return this.year()}function Cn(e){return M(this,"_erasNameRegex")||vt.call(this),e?this._erasNameRegex:this._erasRegex}function In(e){return M(this,"_erasAbbrRegex")||vt.call(this),e?this._erasAbbrRegex:this._erasRegex}function Un(e){return M(this,"_erasNarrowRegex")||vt.call(this),e?this._erasNarrowRegex:this._erasRegex}function kt(e,t){return t.erasAbbrRegex(e)}function Hn(e,t){return t.erasNameRegex(e)}function En(e,t){return t.erasNarrowRegex(e)}function An(e,t){return t._eraYearOrdinalRegex||ie}function vt(){var e=[],t=[],r=[],s=[],a,n,i,u,f,y=this.eras();for(a=0,n=y.length;a<n;++a)i=j(y[a].name),u=j(y[a].abbr),f=j(y[a].narrow),t.push(i),e.push(u),r.push(f),s.push(i),s.push(u),s.push(f);this._erasRegex=new RegExp("^("+s.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}h(0,["gg",2],0,function(){return this.weekYear()%100}),h(0,["GG",2],0,function(){return this.isoWeekYear()%100});function ze(e,t){h(0,[e,e.length],0,t)}ze("gggg","weekYear"),ze("ggggg","weekYear"),ze("GGGG","isoWeekYear"),ze("GGGGG","isoWeekYear"),d("G",Ne),d("g",Ne),d("GG",S,P),d("gg",S,P),d("GGGG",it,nt),d("gggg",it,nt),d("GGGGG",Re,xe),d("ggggg",Re,xe),Me(["gggg","ggggg","GGGG","GGGGG"],function(e,t,r,s){t[s.substr(0,2)]=_(e)}),Me(["gg","GG"],function(e,t,r,s){t[s]=l.parseTwoDigitYear(e)});function jn(e){return Mr.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function Vn(e){return Mr.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Gn(){return z(this.year(),1,4)}function zn(){return z(this.isoWeekYear(),1,4)}function $n(){var e=this.localeData()._week;return z(this.year(),e.dow,e.doy)}function qn(){var e=this.localeData()._week;return z(this.weekYear(),e.dow,e.doy)}function Mr(e,t,r,s,a){var n;return e==null?ke(this,s,a).year:(n=z(e,s,a),t>n&&(t=n),Zn.call(this,e,t,r,s,a))}function Zn(e,t,r,s,a){var n=Bt(e,t,r,s,a),i=Se(n.year,0,n.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}h("Q",0,"Qo","quarter"),d("Q",Ut),D("Q",function(e,t){t[V]=(_(e)-1)*3});function Bn(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",S,oe),d("DD",S,P),d("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),D(["D","DD"],E),D("Do",function(e,t){t[E]=_(e.match(S)[0])});var gr=le("Date",!0);h("DDD",["DDDD",3],"DDDo","dayOfYear"),d("DDD",We),d("DDDD",Ht),D(["DDD","DDDD"],function(e,t,r){r._dayOfYear=_(e)});function Jn(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",S,ot),d("mm",S,P),D(["m","mm"],L);var Qn=le("Minutes",!1);h("s",["ss",2],0,"second"),d("s",S,ot),d("ss",S,P),D(["s","ss"],G);var Kn=le("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",We,Ut),d("SS",We,P),d("SSS",We,Ht);var X,Dr;for(X="SSSS";X.length<=9;X+="S")d(X,ie);function Xn(e,t){t[re]=_(("0."+e)*1e3)}for(X="S";X.length<=9;X+="S")D(X,Xn);Dr=le("Milliseconds",!1),h("z",0,0,"zoneAbbr"),h("zz",0,0,"zoneName");function ei(){return this._isUTC?"UTC":""}function ti(){return this._isUTC?"Coordinated Universal Time":""}var o=ye.prototype;o.add=$a,o.calendar=Xa,o.clone=en,o.diff=ln,o.endOf=Mn,o.format=fn,o.from=cn,o.fromNow=mn,o.to=_n,o.toNow=yn,o.get=ds,o.invalidAt=bn,o.isAfter=tn,o.isBefore=rn,o.isBetween=sn,o.isSame=an,o.isSameOrAfter=nn,o.isSameOrBefore=on,o.isValid=Yn,o.lang=cr,o.locale=fr,o.localeData=mr,o.max=pa,o.min=va,o.parsingFlags=On,o.set=hs,o.startOf=wn,o.subtract=qa,o.toArray=kn,o.toObject=vn,o.toDate=Sn,o.toISOString=dn,o.inspect=hn,typeof Symbol<"u"&&Symbol.for!=null&&(o[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),o.toJSON=pn,o.toString=un,o.unix=Dn,o.valueOf=gn,o.creationData=Tn,o.eraName=Rn,o.eraNarrow=Nn,o.eraAbbr=Fn,o.eraYear=Ln,o.year=jt,o.isLeapYear=us,o.weekYear=jn,o.isoWeekYear=Vn,o.quarter=o.quarters=Bn,o.month=qt,o.daysInMonth=Ds,o.week=o.weeks=Ts,o.isoWeek=o.isoWeeks=Ps,o.weeksInYear=$n,o.weeksInWeekYear=qn,o.isoWeeksInYear=Gn,o.isoWeeksInISOWeekYear=zn,o.date=gr,o.day=o.days=js,o.weekday=Vs,o.isoWeekday=Gs,o.dayOfYear=Jn,o.hour=o.hours=Qs,o.minute=o.minutes=Qn,o.second=o.seconds=Kn,o.millisecond=o.milliseconds=Dr,o.utcOffset=Na,o.utc=La,o.local=Ca,o.parseZone=Ia,o.hasAlignedHourOffset=Ua,o.isDST=Ha,o.isLocal=Aa,o.isUtcOffset=ja,o.isUtc=or,o.isUTC=or,o.zoneAbbr=ei,o.zoneName=ti,o.dates=x("dates accessor is deprecated. Use date instead.",gr),o.months=x("months accessor is deprecated. Use month instead",qt),o.years=x("years accessor is deprecated. Use year instead",jt),o.zone=x("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Fa),o.isDSTShifted=x("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Ea);function ri(e){return k(e*1e3)}function si(){return k.apply(null,arguments).parseZone()}function Sr(e){return e}var g=et.prototype;g.calendar=Ar,g.longDateFormat=zr,g.invalidDate=qr,g.ordinal=Jr,g.preparse=Sr,g.postformat=Sr,g.relativeTime=Kr,g.pastFuture=Xr,g.set=Hr,g.eras=Pn,g.erasParse=xn,g.erasConvertYear=Wn,g.erasAbbrRegex=In,g.erasNameRegex=Cn,g.erasNarrowRegex=Un,g.months=ys,g.monthsShort=ws,g.monthsParse=gs,g.monthsRegex=ks,g.monthsShortRegex=Ss,g.week=ps,g.firstDayOfYear=bs,g.firstDayOfWeek=Os,g.weekdays=Is,g.weekdaysMin=Hs,g.weekdaysShort=Us,g.weekdaysParse=As,g.weekdaysRegex=zs,g.weekdaysShortRegex=$s,g.weekdaysMinRegex=qs,g.isPM=Bs,g.meridiem=Ks;function $e(e,t,r,s){var a=$(),n=I().set(s,t);return a[r](n,e)}function kr(e,t,r){if(A(e)&&(t=e,e=void 0),e=e||"",t!=null)return $e(e,t,r,"month");var s,a=[];for(s=0;s<12;s++)a[s]=$e(e,s,r,"month");return a}function pt(e,t,r,s){typeof e=="boolean"?(A(t)&&(r=t,t=void 0),t=t||""):(t=e,r=t,e=!1,A(t)&&(r=t,t=void 0),t=t||"");var a=$(),n=e?a._week.dow:0,i,u=[];if(r!=null)return $e(t,(r+n)%7,s,"day");for(i=0;i<7;i++)u[i]=$e(t,(i+n)%7,s,"day");return u}function ai(e,t){return kr(e,t,"months")}function ni(e,t){return kr(e,t,"monthsShort")}function ii(e,t,r){return pt(e,t,r,"weekdays")}function oi(e,t,r){return pt(e,t,r,"weekdaysShort")}function li(e,t,r){return pt(e,t,r,"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,r=_(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+r}}),l.lang=x("moment.lang is deprecated. Use moment.locale instead.",K),l.langData=x("moment.langData is deprecated. Use moment.localeData instead.",$);var q=Math.abs;function ui(){var e=this._data;return this._milliseconds=q(this._milliseconds),this._days=q(this._days),this._months=q(this._months),e.milliseconds=q(e.milliseconds),e.seconds=q(e.seconds),e.minutes=q(e.minutes),e.hours=q(e.hours),e.months=q(e.months),e.years=q(e.years),this}function vr(e,t,r,s){var a=C(t,r);return e._milliseconds+=s*a._milliseconds,e._days+=s*a._days,e._months+=s*a._months,e._bubble()}function di(e,t){return vr(this,e,t,1)}function hi(e,t){return vr(this,e,t,-1)}function pr(e){return e<0?Math.floor(e):Math.ceil(e)}function fi(){var e=this._milliseconds,t=this._days,r=this._months,s=this._data,a,n,i,u,f;return e>=0&&t>=0&&r>=0||e<=0&&t<=0&&r<=0||(e+=pr(Yt(r)+t)*864e5,t=0,r=0),s.milliseconds=e%1e3,a=R(e/1e3),s.seconds=a%60,n=R(a/60),s.minutes=n%60,i=R(n/60),s.hours=i%24,t+=R(i/24),f=R(Yr(t)),r+=f,t-=pr(Yt(f)),u=R(r/12),r%=12,s.days=t,s.months=r,s.years=u,this}function Yr(e){return e*4800/146097}function Yt(e){return e*146097/4800}function ci(e){if(!this.isValid())return NaN;var t,r,s=this._milliseconds;if(e=W(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+s/864e5,r=this._months+Yr(t),e){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(t=this._days+Math.round(Yt(this._months)),e){case"week":return t/7+s/6048e5;case"day":return t+s/864e5;case"hour":return t*24+s/36e5;case"minute":return t*1440+s/6e4;case"second":return t*86400+s/1e3;case"millisecond":return Math.floor(t*864e5)+s;default:throw new Error("Unknown unit "+e)}}function Z(e){return function(){return this.as(e)}}var Or=Z("ms"),mi=Z("s"),_i=Z("m"),yi=Z("h"),wi=Z("d"),Mi=Z("w"),gi=Z("M"),Di=Z("Q"),Si=Z("y"),ki=Or;function vi(){return C(this)}function pi(e){return e=W(e),this.isValid()?this[e+"s"]():NaN}function ae(e){return function(){return this.isValid()?this._data[e]:NaN}}var Yi=ae("milliseconds"),Oi=ae("seconds"),bi=ae("minutes"),Ti=ae("hours"),Pi=ae("days"),xi=ae("months"),Wi=ae("years");function Ri(){return R(this.days()/7)}var B=Math.round,fe={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Ni(e,t,r,s,a){return a.relativeTime(t||1,!!r,e,s)}function Fi(e,t,r,s){var a=C(e).abs(),n=B(a.as("s")),i=B(a.as("m")),u=B(a.as("h")),f=B(a.as("d")),y=B(a.as("M")),b=B(a.as("w")),J=B(a.as("y")),ee=n<=r.ss&&["s",n]||n<r.s&&["ss",n]||i<=1&&["m"]||i<r.m&&["mm",i]||u<=1&&["h"]||u<r.h&&["hh",u]||f<=1&&["d"]||f<r.d&&["dd",f];return r.w!=null&&(ee=ee||b<=1&&["w"]||b<r.w&&["ww",b]),ee=ee||y<=1&&["M"]||y<r.M&&["MM",y]||J<=1&&["y"]||["yy",J],ee[2]=t,ee[3]=+e>0,ee[4]=s,Ni.apply(null,ee)}function Li(e){return e===void 0?B:typeof e=="function"?(B=e,!0):!1}function Ci(e,t){return fe[e]===void 0?!1:t===void 0?fe[e]:(fe[e]=t,e==="s"&&(fe.ss=t-1),!0)}function Ii(e,t){if(!this.isValid())return this.localeData().invalidDate();var r=!1,s=fe,a,n;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(r=e),typeof t=="object"&&(s=Object.assign({},fe,t),t.s!=null&&t.ss==null&&(s.ss=t.s-1)),a=this.localeData(),n=Fi(this,!r,s,a),r&&(n=a.pastFuture(+this,n)),a.postformat(n)}var Ot=Math.abs;function ce(e){return(e>0)-(e<0)||+e}function qe(){if(!this.isValid())return this.localeData().invalidDate();var e=Ot(this._milliseconds)/1e3,t=Ot(this._days),r=Ot(this._months),s,a,n,i,u=this.asSeconds(),f,y,b,J;return u?(s=R(e/60),a=R(s/60),e%=60,s%=60,n=R(r/12),r%=12,i=e?e.toFixed(3).replace(/\.?0+$/,""):"",f=u<0?"-":"",y=ce(this._months)!==ce(u)?"-":"",b=ce(this._days)!==ce(u)?"-":"",J=ce(this._milliseconds)!==ce(u)?"-":"",f+"P"+(n?y+n+"Y":"")+(r?y+r+"M":"")+(t?b+t+"D":"")+(a||s||e?"T":"")+(a?J+a+"H":"")+(s?J+s+"M":"")+(e?J+i+"S":"")):"P0D"}var w=Ee.prototype;w.isValid=Pa,w.abs=ui,w.add=di,w.subtract=hi,w.as=ci,w.asMilliseconds=Or,w.asSeconds=mi,w.asMinutes=_i,w.asHours=yi,w.asDays=wi,w.asWeeks=Mi,w.asMonths=gi,w.asQuarters=Di,w.asYears=Si,w.valueOf=ki,w._bubble=fi,w.clone=vi,w.get=pi,w.milliseconds=Yi,w.seconds=Oi,w.minutes=bi,w.hours=Ti,w.days=Pi,w.weeks=Ri,w.months=xi,w.years=Wi,w.humanize=Ii,w.toISOString=qe,w.toString=qe,w.toJSON=qe,w.locale=fr,w.localeData=mr,w.toIsoString=x("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",qe),w.lang=cr,h("X",0,0,"unix"),h("x",0,0,"valueOf"),d("x",Ne),d("X",ss),D("X",function(e,t,r){r._d=new Date(parseFloat(e)*1e3)}),D("x",function(e,t,r){r._d=new Date(_(e))});//! moment.js
10
- l.version="2.30.1",Ir(k),l.fn=o,l.min=Ya,l.max=Oa,l.now=ba,l.utc=I,l.unix=ri,l.months=ai,l.isDate=_e,l.locale=K,l.invalid=be,l.duration=C,l.isMoment=F,l.weekdays=ii,l.parseZone=si,l.localeData=$,l.isDuration=Ae,l.monthsShort=ni,l.weekdaysMin=li,l.defineLocale=ct,l.updateLocale=ra,l.locales=sa,l.weekdaysShort=oi,l.normalizeUnits=W,l.relativeTimeRounding=Li,l.relativeTimeThreshold=Ci,l.calendarFormat=Ka,l.prototype=o,l.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 Ui=/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,Hi=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,br=/(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,bt=[/^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],Ei={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:br,monthsShortRegex:br,monthsStrictRegex:Ui,monthsShortStrictRegex:Hi,monthsParse:bt,longMonthsParse:bt,shortMonthsParse:bt,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}},Tr=" ",Pr=" ",Ai=e=>e.split("").join(Tr),ji=e=>e.split("").join(Pr),Vi=(e,t)=>e.length>t?e.slice(0,t-3)+"...":e,xr=e=>e&&e[0].toUpperCase()+e.slice(1),Tt=e=>e.split(" ").map(xr).join(" "),Gi=e=>/^\d+$/.test(e),zi=e=>e!==Math.round(e)||e<1||e===1/0||e===-1/0?null:e===1?"1er":`${e}ème`,$i=e=>e.trim().replace(/\s+/gi," "),qi=e=>{const t=e.split(" "),s=(a=>{let n=1/0;for(let i=0;i<a.length;i++){const u=Math.abs(a.slice(0,i+1).join(" ").length-a.slice(i+1).join(" ").length);if(u<=n)n=u;else return i-1}return n})(t);return t.length===1?[t[0]]:[t.slice(0,s+1),t.slice(s+1)].map(a=>a.join(" "))};l.locale("fr",Ei);const Zi=e=>new Date(e).toString()!=="Invalid Date",Bi=(e,t)=>Math.abs(Math.ceil((t.getTime()-e.getTime())/(1e3*60*60*24))),Ji=e=>Tt(l(e).format("DD MMMM YYYY")),Qi=e=>Tt(l(e).format("dddd DD MMMM YYYY")),Ki=(e,t,r=!0)=>(r?e.getFullYear()===t.getFullYear():!0)&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate(),Xi=()=>l().locale("fr").subtract(1,"days").toDate(),eo=e=>{const t=[],r=l.duration(e);if(!(!r||r.toISOString()==="P0D")){if(r.years()>=1){const s=Math.floor(r.years());t.push(s+" "+(s>1?"années":"année"))}if(r.months()>=1){const s=Math.floor(r.months());t.push(s+" mois")}if(r.days()>=1){const s=Math.floor(r.days());t.push(s+" "+(s>1?"jours":"jour"))}if(r.hours()>=1){const s=Math.floor(r.hours());t.push(s+" "+(s>1?"heures":"heure"))}if(r.minutes()>=1){const s=Math.floor(r.minutes());t.push(s+" "+(s>1?"minutes":"minute"))}if(r.seconds()>=1){const s=Math.floor(r.seconds());t.push(s+" "+(s>1?"secondes":"seconde"))}return t.join(", ")}},Pt=/^([1-9][0-9]?)([hmd])$/i,to=e=>!!e&&Pt.test(e),ro=e=>{const t=Pt.exec(e);if(!t)return null;const[,r,s]=t,a=parseInt(r,10),n=1e3*60;if(s==="m")return n*a;if(s==="h")return n*60*a;if(s==="d")return n*60*24*a},so=e=>{const t=Pt.exec(e);if(!t)return null;const[,r,s]=t,a=parseInt(r,10);if(s==="m")return`${a} minute${a>1?"s":""}`;if(s==="h")return`${a} heure${a>1?"s":""}`;if(s==="d")return`${a} jour${a>1?"s":""}`},ao={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>",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_Bronze:"<:BasiqueOPFRbois:1175507882188484761>",b_citizen_Silver:"<:BasiqueOPFRargent:1175507880724668488>",b_citizen_Gold:"<:BasiqueOPFRor:1175507883501289512>",b_citizen_Platinum:"<:BasiqueOPFRplatine:1175507886714134548>",b_citizen_Diamond:"<:BasiqueOPFRultime:1175507889553670264>",b_marine_Bronze:"<:Marinebois:1175507936953512036>",b_marine_Silver:"<:Marineargent:1175508322351321178>",b_marine_Gold:"<:Marineor:1175508300603863132>",b_marine_Platinum:"<:Marineplatine:1175507940803879012>",b_marine_Diamond:"<:Marineultime:1175508279590395977>",b_revolutionary_Bronze:"<:RvoBois:1175507954779295810>",b_revolutionary_Silver:"<:RvoArgent:1175508199118483457>",b_revolutionary_Gold:"<:RvoOr:1175508111885344819>",b_revolutionary_Platinum:"<:RvoPlatine:1175507958378008756>",b_revolutionary_Diamond:"<:RvoUltime:1175508127815319612>",b_pirate_Bronze:"<:Piratebois:1175508259768115272>",b_pirate_Silver:"<:Pirateargent:1175507943987363941>",b_pirate_Gold:"<:Pirateor:1175508240243621928>",b_pirate_Platinum:"<:Pirateplatine:1175507949578358804>",b_pirate_Diamond:"<:Pirateultime:1175507951709061150>"},item_background:"<:background:1178465681809887334>",item_title:"<:title:1178465688915038208>",item_lootbox1:"<:lootbox1:1186689926167810088>",item_lootbox2:"<:lootbox2:1186258728882811051>",item_lootbox3:"<:lootbox3:1186259958216523786>",item_bottle_xp:"<:bottle_xp:1186204593667969035>",item_boost_week:"<:boost_week:1186258728073297971>",item_boost_day:"<:boost_day:1186258726030680145>"},Wr=e=>new Intl.NumberFormat("de-DE").format(e),no=(e,t)=>Math.floor(Math.random()*(t-e)+e),Oe=e=>`${Wr(Math.round(e/1024/1024*100)/100)} MB`,io=()=>{const e=process.memoryUsage(),t={rss:`${Oe(e.rss)} -> Resident Set Size - total memory allocated for the process execution`,heapTotal:`${Oe(e.heapTotal)} -> total size of the allocated heap`,heapUsed:`${Oe(e.heapUsed)} -> actual memory used during the execution`,external:`${Oe(e.external)} -> V8 external memory`};console.log(t)};m.TIGHT_SPACE=Tr,m.WIDE_SPACE=Pr,m.breakWords=qi,m.capitalize=xr,m.capitalizeAllWords=Tt,m.dateDiff=Bi,m.durationToMs=ro,m.ellipsis=Vi,m.emojis=ao,m.exclude=Lr,m.fillWithTightSpaces=Ai,m.fillWithWideSpaces=ji,m.formatDate=Ji,m.formatDateWithDay=Qi,m.formatDuration=so,m.formatMemoryUsage=Oe,m.formatNumber=Wr,m.groupBy=Rr,m.isDuration=to,m.isPositiveInteger=Gi,m.isValidDate=Zi,m.mutuallyInclusive=Fr,m.numberToOrdinal=zi,m.paginate=me,m.precise=eo,m.printMemoryUsage=io,m.randomBetween=no,m.sameDay=Ki,m.sortBy=Nr,m.trim=$i,m.unique=Cr,m.yesterday=Xi,Object.defineProperty(m,Symbol.toStringTag,{value:"Module"})});
10
+ l.version="2.30.1",Ir(k),l.fn=o,l.min=Ya,l.max=Oa,l.now=ba,l.utc=I,l.unix=ri,l.months=ai,l.isDate=_e,l.locale=K,l.invalid=be,l.duration=C,l.isMoment=F,l.weekdays=ii,l.parseZone=si,l.localeData=$,l.isDuration=Ae,l.monthsShort=ni,l.weekdaysMin=li,l.defineLocale=ct,l.updateLocale=ra,l.locales=sa,l.weekdaysShort=oi,l.normalizeUnits=W,l.relativeTimeRounding=Li,l.relativeTimeThreshold=Ci,l.calendarFormat=Ka,l.prototype=o,l.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 Ui=/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,Hi=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,br=/(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,bt=[/^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],Ei={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:br,monthsShortRegex:br,monthsStrictRegex:Ui,monthsShortStrictRegex:Hi,monthsParse:bt,longMonthsParse:bt,shortMonthsParse:bt,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}},Tr=" ",Pr=" ",Ai=(e,t="")=>e.split(t).join(Tr),ji=(e,t="")=>e.split(t).join(Pr),Vi=(e,t)=>e.length>t?e.slice(0,t-3)+"...":e,xr=e=>e&&e[0].toUpperCase()+e.slice(1),Tt=e=>e.split(" ").map(xr).join(" "),Gi=e=>/^\d+$/.test(e),zi=e=>e!==Math.round(e)||e<1||e===1/0||e===-1/0?null:e===1?"1er":`${e}ème`,$i=e=>e.trim().replace(/\s+/gi," "),qi=e=>{const t=e.split(" "),s=(a=>{let n=1/0;for(let i=0;i<a.length;i++){const u=Math.abs(a.slice(0,i+1).join(" ").length-a.slice(i+1).join(" ").length);if(u<=n)n=u;else return i-1}return n})(t);return t.length===1?[t[0]]:[t.slice(0,s+1),t.slice(s+1)].map(a=>a.join(" "))};l.locale("fr",Ei);const Zi=e=>new Date(e).toString()!=="Invalid Date",Bi=(e,t)=>Math.abs(Math.ceil((t.getTime()-e.getTime())/(1e3*60*60*24))),Ji=e=>Tt(l(e).format("DD MMMM YYYY")),Qi=e=>Tt(l(e).format("dddd DD MMMM YYYY")),Ki=(e,t,r=!0)=>(r?e.getFullYear()===t.getFullYear():!0)&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate(),Xi=()=>l().locale("fr").subtract(1,"days").toDate(),eo=e=>{const t=[],r=l.duration(e);if(!(!r||r.toISOString()==="P0D")){if(r.years()>=1){const s=Math.floor(r.years());t.push(s+" "+(s>1?"années":"année"))}if(r.months()>=1){const s=Math.floor(r.months());t.push(s+" mois")}if(r.days()>=1){const s=Math.floor(r.days());t.push(s+" "+(s>1?"jours":"jour"))}if(r.hours()>=1){const s=Math.floor(r.hours());t.push(s+" "+(s>1?"heures":"heure"))}if(r.minutes()>=1){const s=Math.floor(r.minutes());t.push(s+" "+(s>1?"minutes":"minute"))}if(r.seconds()>=1){const s=Math.floor(r.seconds());t.push(s+" "+(s>1?"secondes":"seconde"))}return t.join(", ")}},Pt=/^([1-9][0-9]?)([hmd])$/i,to=e=>!!e&&Pt.test(e),ro=e=>{const t=Pt.exec(e);if(!t)return null;const[,r,s]=t,a=parseInt(r,10),n=1e3*60;if(s==="m")return n*a;if(s==="h")return n*60*a;if(s==="d")return n*60*24*a},so=e=>{const t=Pt.exec(e);if(!t)return null;const[,r,s]=t,a=parseInt(r,10);if(s==="m")return`${a} minute${a>1?"s":""}`;if(s==="h")return`${a} heure${a>1?"s":""}`;if(s==="d")return`${a} jour${a>1?"s":""}`},ao={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>",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_Bronze:"<:BasiqueOPFRbois:1175507882188484761>",b_citizen_Silver:"<:BasiqueOPFRargent:1175507880724668488>",b_citizen_Gold:"<:BasiqueOPFRor:1175507883501289512>",b_citizen_Platinum:"<:BasiqueOPFRplatine:1175507886714134548>",b_citizen_Diamond:"<:BasiqueOPFRultime:1175507889553670264>",b_marine_Bronze:"<:Marinebois:1175507936953512036>",b_marine_Silver:"<:Marineargent:1175508322351321178>",b_marine_Gold:"<:Marineor:1175508300603863132>",b_marine_Platinum:"<:Marineplatine:1175507940803879012>",b_marine_Diamond:"<:Marineultime:1175508279590395977>",b_revolutionary_Bronze:"<:RvoBois:1175507954779295810>",b_revolutionary_Silver:"<:RvoArgent:1175508199118483457>",b_revolutionary_Gold:"<:RvoOr:1175508111885344819>",b_revolutionary_Platinum:"<:RvoPlatine:1175507958378008756>",b_revolutionary_Diamond:"<:RvoUltime:1175508127815319612>",b_pirate_Bronze:"<:Piratebois:1175508259768115272>",b_pirate_Silver:"<:Pirateargent:1175507943987363941>",b_pirate_Gold:"<:Pirateor:1175508240243621928>",b_pirate_Platinum:"<:Pirateplatine:1175507949578358804>",b_pirate_Diamond:"<:Pirateultime:1175507951709061150>"},item_background:"<:background:1178465681809887334>",item_title:"<:title:1178465688915038208>",item_lootbox1:"<:lootbox1:1186689926167810088>",item_lootbox2:"<:lootbox2:1186258728882811051>",item_lootbox3:"<:lootbox3:1186259958216523786>",item_bottle_xp:"<:bottle_xp:1186204593667969035>",item_boost_week:"<:boost_week:1186258728073297971>",item_boost_day:"<:boost_day:1186258726030680145>"},Wr=e=>new Intl.NumberFormat("de-DE").format(e),no=(e,t)=>Math.floor(Math.random()*(t-e)+e),Oe=e=>`${Wr(Math.round(e/1024/1024*100)/100)} MB`,io=()=>{const e=process.memoryUsage(),t={rss:`${Oe(e.rss)} -> Resident Set Size - total memory allocated for the process execution`,heapTotal:`${Oe(e.heapTotal)} -> total size of the allocated heap`,heapUsed:`${Oe(e.heapUsed)} -> actual memory used during the execution`,external:`${Oe(e.external)} -> V8 external memory`};console.log(t)};m.TIGHT_SPACE=Tr,m.WIDE_SPACE=Pr,m.breakWords=qi,m.capitalize=xr,m.capitalizeAllWords=Tt,m.dateDiff=Bi,m.durationToMs=ro,m.ellipsis=Vi,m.emojis=ao,m.exclude=Lr,m.fillWithTightSpaces=Ai,m.fillWithWideSpaces=ji,m.formatDate=Ji,m.formatDateWithDay=Qi,m.formatDuration=so,m.formatMemoryUsage=Oe,m.formatNumber=Wr,m.groupBy=Rr,m.isDuration=to,m.isPositiveInteger=Gi,m.isValidDate=Zi,m.mutuallyInclusive=Fr,m.numberToOrdinal=zi,m.paginate=me,m.precise=eo,m.printMemoryUsage=io,m.randomBetween=no,m.sameDay=Ki,m.sortBy=Nr,m.trim=$i,m.unique=Cr,m.yesterday=Xi,Object.defineProperty(m,Symbol.toStringTag,{value:"Module"})});
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
- "version": "0.0.8",
7
+ "version": "0.0.9",
8
8
  "repository": {
9
9
  "type": "git",
10
10
  "url": "git+https://github.com/Discord-OPFR/utils-lang.git"