!function(n,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(n="undefined"!=typeof globalThis?globalThis:n||self).dayjs=t()}(this,function(){"use strict";var a=1e3,p=6e4,g=36e5,w="millisecond",e="second",o="minute",s="hour",r="day",v="week",i="month",nt="quarter",u="year",h="date",tt="Invalid Date",rt=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,ut=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,ft={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(n){var t=["th","st","nd","rd"],i=n%100;return"["+n+(t[(i-20)%10]||t[i]||t[0])+"]"}},b=function(n,t,i){var r=String(n);return!r||r.length>=t?n:""+Array(t+1-r.length).join(i)+n},et={s:b,z:function(n){var t=-n.utcOffset(),i=Math.abs(t),r=Math.floor(i/60),u=i%60;return(t<=0?"+":"-")+b(r,2,"0")+":"+b(u,2,"0")},m:function a(n,t){if(n.date()<t.date())return-a(t,n);var u=12*(t.year()-n.year())+(t.month()-n.month()),r=n.clone().add(u,i),f=t-r<0,e=n.clone().add(u+(f?-1:1),i);return+(-(u+(t-r)/(f?r-e:e-r))||0)},a:function(n){return n<0?Math.ceil(n)||0:Math.floor(n)},p:function(n){return{M:i,y:u,w:v,d:r,D:h,h:s,m:o,s:e,ms:w,Q:nt}[n]||String(n||"").toLowerCase().replace(/s$/,"")},u:function(n){return void 0===n}},c="en",f={},l,d;f[c]=ft;var it="$isDayjsObject",k=function(n){return n instanceof l||!(!n||!n[it])},y=function a(n,t,i){var r,u,e,o;if(!n)return c;if("string"==typeof n){if(u=n.toLowerCase(),f[u]&&(r=u),t&&(f[u]=t,r=u),e=n.split("-"),!r&&e.length>1)return a(e[0])}else o=n.name,f[o]=n,r=o;return!i&&r&&(c=r),r||!i&&c},t=function(n,t){if(k(n))return n.clone();var i="object"==typeof t?t:{};return i.date=n,i.args=arguments,new l(i)},n=et;return n.l=y,n.i=k,n.w=function(n,i){return t(n,{locale:i.$L,utc:i.$u,x:i.$x,$offset:i.$offset})},l=function(){function l(n){this.$L=y(n.locale,null,!0);this.parse(n);this.$x=this.$x||n.x||{};this[it]=!0}var c=l.prototype;return c.parse=function(t){this.$d=function(t){var r=t.date,e=t.utc,i,u,f;return null===r?new Date(NaN):n.u(r)?new Date:r instanceof Date?new Date(r):"string"==typeof r&&!/Z$/i.test(r)&&(i=r.match(rt),i)?(u=i[2]-1||0,f=(i[7]||"0").substring(0,3),e?new Date(Date.UTC(i[1],u,i[3]||1,i[4]||0,i[5]||0,i[6]||0,f)):new Date(i[1],u,i[3]||1,i[4]||0,i[5]||0,i[6]||0,f)):new Date(r)}(t);this.init()},c.init=function(){var n=this.$d;this.$y=n.getFullYear();this.$M=n.getMonth();this.$D=n.getDate();this.$W=n.getDay();this.$H=n.getHours();this.$m=n.getMinutes();this.$s=n.getSeconds();this.$ms=n.getMilliseconds()},c.$utils=function(){return n},c.isValid=function(){return!(this.$d.toString()===tt)},c.isSame=function(n,i){var r=t(n);return this.startOf(i)<=r&&r<=this.endOf(i)},c.isAfter=function(n,i){return t(n)<this.startOf(i)},c.isBefore=function(n,i){return this.endOf(i)<t(n)},c.$g=function(t,i,r){return n.u(t)?this[i]:this.set(r,t)},c.unix=function(){return Math.floor(this.valueOf()/1e3)},c.valueOf=function(){return this.$d.getTime()},c.startOf=function(t,f){var c=this,l=!!n.u(f)||f,nt=n.p(t),a=function(t,i){var u=n.w(c.$u?Date.UTC(c.$y,i,t):new Date(c.$y,i,t),c);return l?u:u.endOf(r)},y=function(t,i){return n.w(c.toDate()[t].apply(c.toDate("s"),(l?[0,0,0,0]:[23,59,59,999]).slice(i)),c)},w=this.$W,b=this.$M,g=this.$D,p="set"+(this.$u?"UTC":""),k,d;switch(nt){case u:return l?a(1,0):a(31,11);case i:return l?a(1,b):a(0,b+1);case v:return k=this.$locale().weekStart||0,d=(w<k?w+7:w)-k,a(l?g-d:g+(6-d),b);case r:case h:return y(p+"Hours",0);case s:return y(p+"Minutes",1);case o:return y(p+"Seconds",2);case e:return y(p+"Milliseconds",3);default:return this.clone()}},c.endOf=function(n){return this.startOf(n,!1)},c.$set=function(t,f){var c,v=n.p(t),l="set"+(this.$u?"UTC":""),y=(c={},c[r]=l+"Date",c[h]=l+"Date",c[i]=l+"Month",c[u]=l+"FullYear",c[s]=l+"Hours",c[o]=l+"Minutes",c[e]=l+"Seconds",c[w]=l+"Milliseconds",c)[v],p=v===r?this.$D+(f-this.$W):f,a;return v===i||v===u?(a=this.clone().set(h,1),a.$d[y](p),a.init(),this.$d=a.set(h,Math.min(this.$D,a.daysInMonth())).$d):y&&this.$d[y](p),this.init(),this},c.set=function(n,t){return this.clone().$set(n,t)},c.get=function(t){return this[n.p(t)]()},c.add=function(f,h){var l,w=this,c,y,b,k;return(f=Number(f),c=n.p(h),y=function(i){var r=t(w);return n.w(r.date(r.date()+Math.round(i*f)),w)},c===i)?this.set(i,this.$M+f):c===u?this.set(u,this.$y+f):c===r?y(1):c===v?y(7):(b=(l={},l[o]=p,l[s]=g,l[e]=a,l)[c]||1,k=this.$d.getTime()+f*b,n.w(k,this))},c.subtract=function(n,t){return this.add(-1*n,t)},c.format=function(t){var i=this,r=this.$locale();if(!this.isValid())return r.invalidDate||tt;var h=t||"YYYY-MM-DDTHH:mm:ssZ",c=n.z(this),u=this.$H,f=this.$m,e=this.$M,s=r.weekdays,l=r.months,y=r.meridiem,o=function(n,t,r,u){return n&&(n[t]||n(i,h))||r[t].slice(0,u)},a=function(t){return n.s(u%12||12,t,"0")},v=y||function(n,t,i){var r=n<12?"AM":"PM";return i?r.toLowerCase():r};return h.replace(ut,function(t,h){return h||function(t){switch(t){case"YY":return String(i.$y).slice(-2);case"YYYY":return n.s(i.$y,4,"0");case"M":return e+1;case"MM":return n.s(e+1,2,"0");case"MMM":return o(r.monthsShort,e,l,3);case"MMMM":return o(l,e);case"D":return i.$D;case"DD":return n.s(i.$D,2,"0");case"d":return String(i.$W);case"dd":return o(r.weekdaysMin,i.$W,s,2);case"ddd":return o(r.weekdaysShort,i.$W,s,3);case"dddd":return s[i.$W];case"H":return String(u);case"HH":return n.s(u,2,"0");case"h":return a(1);case"hh":return a(2);case"a":return v(u,f,!0);case"A":return v(u,f,!1);case"m":return String(f);case"mm":return n.s(f,2,"0");case"s":return String(i.$s);case"ss":return n.s(i.$s,2,"0");case"SSS":return n.s(i.$ms,3,"0");case"Z":return c}return null}(t)||c.replace(":","")})},c.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},c.diff=function(f,h,c){var l,d=this,tt=n.p(h),w=t(f),k=(w.utcOffset()-this.utcOffset())*p,y=this-w,b=function(){return n.m(d,w)};switch(tt){case u:l=b()/12;break;case i:l=b();break;case nt:l=b()/3;break;case v:l=(y-k)/6048e5;break;case r:l=(y-k)/864e5;break;case s:l=y/g;break;case o:l=y/p;break;case e:l=y/a;break;default:l=y}return c?l:n.a(l)},c.daysInMonth=function(){return this.endOf(i).$D},c.$locale=function(){return f[this.$L]},c.locale=function(n,t){if(!n)return this.$L;var i=this.clone(),r=y(n,t,!0);return r&&(i.$L=r),i},c.clone=function(){return n.w(this.$d,this)},c.toDate=function(){return new Date(this.valueOf())},c.toJSON=function(){return this.isValid()?this.toISOString():null},c.toISOString=function(){return this.$d.toISOString()},c.toString=function(){return this.$d.toUTCString()},l}(),d=l.prototype,t.prototype=d,[["$ms",w],["$s",e],["$m",o],["$H",s],["$W",r],["$M",i],["$y",u],["$D",h]].forEach(function(n){d[n[1]]=function(t){return this.$g(t,n[0],n[1])}}),t.extend=function(n,i){return n.$i||(n(i,l,t),n.$i=!0),t},t.locale=y,t.isDayjs=k,t.unix=function(n){return t(1e3*n)},t.en=f[c],t.Ls=f,t.p={},t});!function(n,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(n="undefined"!=typeof globalThis?globalThis:n||self).dayjs_plugin_relativeTime=t()}(this,function(){"use strict";return function(n,t,i){function f(n,t,i,u){return r.fromToBase(n,t,i,u)}function e(n){return n.$u?i.utc():i()}n=n||{};var r=t.prototype,u={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};i.en.relativeTime=u;r.fromToBase=function(t,r,f,e,o){for(var a,v,y,l,p=f.$locale().relativeTime||u,w=n.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],k=w.length,c=0;c<k;c+=1){var s=w[c],h=(s.d&&(y=e?i(t).diff(f,s.d,!0):f.diff(t,s.d,!0)),(n.rounding||Math.round)(Math.abs(y))),b=0<y;if(h<=s.r||!s.r){a=p[(s=h<=1&&0<c?w[c-1]:s).l];o&&(h=o(""+h));l="string"==typeof a?a.replace("%d",h):a(h,r,s.l,b);break}}return r?l:(v=b?p.future:p.past,"function"==typeof v?v(l):v.replace("%s",l))};r.to=function(n,t){return f(n,t,this,!0)};r.from=function(n,t){return f(n,t,this)};r.toNow=function(n){return this.to(e(this),n)};r.fromNow=function(n){return this.from(e(this),n)}}})