!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalthis?globalthis:t||self).dayjs=e()}(this,(function(){"use strict";var t=1e3,e=6e4,n=36e5,r="millisecond",i="second",s="minute",u="hour",a="day",o="week",f="month",h="quarter",c="year",d="date",l="invalid date",$=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|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,m={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(t){var e=["th","st","nd","rd"],n=t%100;return"["+t+(e[(n-20)%10]||e[n]||e[0])+"]"}},m=function(t,e,n){var r=string(t);return!r||r.length>=e?t:""+array(e+1-r.length).join(n)+t},v={s:m,z:function(t){var e=-t.utcoffset(),n=math.abs(e),r=math.floor(n/60),i=n%60;return(e<=0?"+":"-")+m(r,2,"0")+":"+m(i,2,"0")},m:function t(e,n){if(e.date()1)return t(u[0])}else{var a=e.name;d[a]=e,i=a}return!r&&i&&(g=i),i||!r&&g},w=function(t,e){if(p(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new _(n)},o=v;o.l=s,o.i=p,o.w=function(t,e){return w(t,{locale:e.$l,utc:e.$u,x:e.$x,$offset:e.$offset})};var _=function(){function m(t){this.$l=s(t.locale,null,!0),this.parse(t)}var m=m.prototype;return m.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new date(nan);if(o.u(e))return new date;if(e instanceof date)return new date(e);if("string"==typeof e&&!/z$/i.test(e)){var r=e.match($);if(r){var i=r[2]-1||0,s=(r[7]||"0").substring(0,3);return n?new date(date.utc(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)):new date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)}}return new date(e)}(t),this.$x=t.x||{},this.init()},m.init=function(){var t=this.$d;this.$y=t.getfullyear(),this.$m=t.getmonth(),this.$d=t.getdate(),this.$w=t.getday(),this.$h=t.gethours(),this.$m=t.getminutes(),this.$s=t.getseconds(),this.$ms=t.getmilliseconds()},m.$utils=function(){return o},m.isvalid=function(){return!(this.$d.tostring()===l)},m.issame=function(t,e){var n=w(t);return this.startof(e)<=n&&n<=this.endof(e)},m.isafter=function(t,e){return w(t)