dayjs-with-plugins
Version:
Day.js with all plugins and locales added out of the box, no need to use dayjs.extend nor dayjs.locale!
1 lines • 290 kB
JavaScript
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).dayjs=e()}}((function(){var e,t,a={exports:{}};e=this,t=function(){"use strict";var e="millisecond",t="second",a="minute",s="hour",_="day",r="week",n="month",o="quarter",i="year",l="date",u="Invalid Date",d=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,m=/\[([^\]]+)]|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(e){var t=["th","st","nd","rd"],a=e%100;return"["+e+(t[(a-20)%10]||t[a]||t[0])+"]"}},f=function(e,t,a){var s=String(e);return!s||s.length>=t?e:""+Array(t+1-s.length).join(a)+e},h={s:f,z:function(e){var t=-e.utcOffset(),a=Math.abs(t),s=Math.floor(a/60),_=a%60;return(t<=0?"+":"-")+f(s,2,"0")+":"+f(_,2,"0")},m:function e(t,a){if(t.date()<a.date())return-e(a,t);var s=12*(a.year()-t.year())+(a.month()-t.month()),_=t.clone().add(s,n),r=a-_<0,o=t.clone().add(s+(r?-1:1),n);return+(-(s+(a-_)/(r?_-o:o-_))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(u){return{M:n,y:i,w:r,d:_,D:l,h:s,m:a,s:t,ms:e,Q:o}[u]||String(u||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},p="en",Y={};Y[p]=M;var c="$isDayjsObject",y=function(e){return e instanceof v||!(!e||!e[c])},L=function e(t,a,s){var _;if(!t)return p;if("string"==typeof t){var r=t.toLowerCase();Y[r]&&(_=r),a&&(Y[r]=a,_=r);var n=t.split("-");if(!_&&n.length>1)return e(n[0])}else{var o=t.name;Y[o]=t,_=o}return!s&&_&&(p=_),_||!s&&p},b=function(e,t){if(y(e))return e.clone();var a="object"==typeof t?t:{};return a.date=e,a.args=arguments,new v(a)},g=h;g.l=L,g.i=y,g.w=function(e,t){return b(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var v=function(){function M(e){this.$L=L(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[c]=!0}var f=M.prototype;return f.parse=function(e){this.$d=function(e){var t=e.date,a=e.utc;if(null===t)return new Date(NaN);if(g.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var s=t.match(d);if(s){var _=s[2]-1||0,r=(s[7]||"0").substring(0,3);return a?new Date(Date.UTC(s[1],_,s[3]||1,s[4]||0,s[5]||0,s[6]||0,r)):new Date(s[1],_,s[3]||1,s[4]||0,s[5]||0,s[6]||0,r)}}return new Date(t)}(e),this.init()},f.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},f.$utils=function(){return g},f.isValid=function(){return!(this.$d.toString()===u)},f.isSame=function(e,t){var a=b(e);return this.startOf(t)<=a&&a<=this.endOf(t)},f.isAfter=function(e,t){return b(e)<this.startOf(t)},f.isBefore=function(e,t){return this.endOf(t)<b(e)},f.$g=function(e,t,a){return g.u(e)?this[t]:this.set(a,e)},f.unix=function(){return Math.floor(this.valueOf()/1e3)},f.valueOf=function(){return this.$d.getTime()},f.startOf=function(e,o){var u=this,d=!!g.u(o)||o,m=g.p(e),M=function(e,t){var a=g.w(u.$u?Date.UTC(u.$y,t,e):new Date(u.$y,t,e),u);return d?a:a.endOf(_)},f=function(e,t){return g.w(u.toDate()[e].apply(u.toDate("s"),(d?[0,0,0,0]:[23,59,59,999]).slice(t)),u)},h=this.$W,p=this.$M,Y=this.$D,c="set"+(this.$u?"UTC":"");switch(m){case i:return d?M(1,0):M(31,11);case n:return d?M(1,p):M(0,p+1);case r:var y=this.$locale().weekStart||0,L=(h<y?h+7:h)-y;return M(d?Y-L:Y+(6-L),p);case _:case l:return f(c+"Hours",0);case s:return f(c+"Minutes",1);case a:return f(c+"Seconds",2);case t:return f(c+"Milliseconds",3);default:return this.clone()}},f.endOf=function(e){return this.startOf(e,!1)},f.$set=function(r,o){var u,d=g.p(r),m="set"+(this.$u?"UTC":""),M=(u={},u[_]=m+"Date",u[l]=m+"Date",u[n]=m+"Month",u[i]=m+"FullYear",u[s]=m+"Hours",u[a]=m+"Minutes",u[t]=m+"Seconds",u[e]=m+"Milliseconds",u)[d],f=d===_?this.$D+(o-this.$W):o;if(d===n||d===i){var h=this.clone().set(l,1);h.$d[M](f),h.init(),this.$d=h.set(l,Math.min(this.$D,h.daysInMonth())).$d}else M&&this.$d[M](f);return this.init(),this},f.set=function(e,t){return this.clone().$set(e,t)},f.get=function(e){return this[g.p(e)]()},f.add=function(e,o){var l,u=this;e=Number(e);var d=g.p(o),m=function(t){var a=b(u);return g.w(a.date(a.date()+Math.round(t*e)),u)};if(d===n)return this.set(n,this.$M+e);if(d===i)return this.set(i,this.$y+e);if(d===_)return m(1);if(d===r)return m(7);var M=(l={},l[a]=6e4,l[s]=36e5,l[t]=1e3,l)[d]||1,f=this.$d.getTime()+e*M;return g.w(f,this)},f.subtract=function(e,t){return this.add(-1*e,t)},f.format=function(e){var t=this,a=this.$locale();if(!this.isValid())return a.invalidDate||u;var s=e||"YYYY-MM-DDTHH:mm:ssZ",_=g.z(this),r=this.$H,n=this.$m,o=this.$M,i=a.weekdays,l=a.months,d=a.meridiem,M=function(e,a,_,r){return e&&(e[a]||e(t,s))||_[a].slice(0,r)},f=function(e){return g.s(r%12||12,e,"0")},h=d||function(e,t,a){var s=e<12?"AM":"PM";return a?s.toLowerCase():s};return s.replace(m,(function(e,s){return s||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return g.s(t.$y,4,"0");case"M":return o+1;case"MM":return g.s(o+1,2,"0");case"MMM":return M(a.monthsShort,o,l,3);case"MMMM":return M(l,o);case"D":return t.$D;case"DD":return g.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return M(a.weekdaysMin,t.$W,i,2);case"ddd":return M(a.weekdaysShort,t.$W,i,3);case"dddd":return i[t.$W];case"H":return String(r);case"HH":return g.s(r,2,"0");case"h":return f(1);case"hh":return f(2);case"a":return h(r,n,!0);case"A":return h(r,n,!1);case"m":return String(n);case"mm":return g.s(n,2,"0");case"s":return String(t.$s);case"ss":return g.s(t.$s,2,"0");case"SSS":return g.s(t.$ms,3,"0");case"Z":return _}return null}(e)||_.replace(":","")}))},f.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},f.diff=function(e,l,u){var d,m=this,M=g.p(l),f=b(e),h=6e4*(f.utcOffset()-this.utcOffset()),p=this-f,Y=function(){return g.m(m,f)};switch(M){case i:d=Y()/12;break;case n:d=Y();break;case o:d=Y()/3;break;case r:d=(p-h)/6048e5;break;case _:d=(p-h)/864e5;break;case s:d=p/36e5;break;case a:d=p/6e4;break;case t:d=p/1e3;break;default:d=p}return u?d:g.a(d)},f.daysInMonth=function(){return this.endOf(n).$D},f.$locale=function(){return Y[this.$L]},f.locale=function(e,t){if(!e)return this.$L;var a=this.clone(),s=L(e,t,!0);return s&&(a.$L=s),a},f.clone=function(){return g.w(this.$d,this)},f.toDate=function(){return new Date(this.valueOf())},f.toJSON=function(){return this.isValid()?this.toISOString():null},f.toISOString=function(){return this.$d.toISOString()},f.toString=function(){return this.$d.toUTCString()},M}(),j=v.prototype;return b.prototype=j,[["$ms",e],["$s",t],["$m",a],["$H",s],["$W",_],["$M",n],["$y",i],["$D",l]].forEach((function(e){j[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),b.extend=function(e,t){return e.$i||(e(t,v,b),e.$i=!0),b},b.locale=L,b.isDayjs=y,b.unix=function(e){return b(1e3*e)},b.en=Y[p],b.Ls=Y,b.p={},b},"object"==typeof a.exports?a.exports=t():(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs=t(),a=a.exports;var s,_,r={exports:{}};s=this,_=function(){"use strict";return function(e,t){var a=t.prototype,s=a.format;a.format=function(e){var t=this,a=this.$locale();if(!this.isValid())return s.bind(this)(e);var _=this.$utils(),r=(e||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(e){switch(e){case"Q":return Math.ceil((t.$M+1)/3);case"Do":return a.ordinal(t.$D);case"gggg":return t.weekYear();case"GGGG":return t.isoWeekYear();case"wo":return a.ordinal(t.week(),"W");case"w":case"ww":return _.s(t.week(),"w"===e?1:2,"0");case"W":case"WW":return _.s(t.isoWeek(),"W"===e?1:2,"0");case"k":case"kk":return _.s(String(0===t.$H?24:t.$H),"k"===e?1:2,"0");case"X":return Math.floor(t.$d.getTime()/1e3);case"x":return t.$d.getTime();case"z":return"["+t.offsetName()+"]";case"zzz":return"["+t.offsetName("long")+"]";default:return e}}));return s.bind(this)(r)}}},"object"==typeof r.exports?r.exports=_():(s="undefined"!=typeof globalThis?globalThis:s||self).dayjs_plugin_advancedFormat=_(),r=r.exports;var n,o,i={exports:{}};n=this,o=function(){"use strict";return function(e,t,a){var s=t.prototype,_=s.parse;s.parse=function(e){e.date=function(e){var t=e.date,s=e.utc;return Array.isArray(t)?s?t.length?new Date(Date.UTC.apply(null,t)):new Date:1===t.length?a(String(t[0])).toDate():new(Function.prototype.bind.apply(Date,[null].concat(t))):t}.bind(this)(e),_.bind(this)(e)}}},"object"==typeof i.exports?i.exports=o():(n="undefined"!=typeof globalThis?globalThis:n||self).dayjs_plugin_arraySupport=o(),i=i.exports;var l,u,d={exports:{}};l=this,u=function(){"use strict";return function(e,t){var a=t.prototype,s=a.format;a.format=function(e){var t=this,a=(e||"YYYY-MM-DDTHH:mm:ssZ").replace(/(\[[^\]]+])|BBBB|BB/g,(function(e,a){var s,_=String(t.$y+543),r="BB"===e?[_.slice(-2),2]:[_,4];return a||(s=t.$utils()).s.apply(s,r.concat(["0"]))}));return s.bind(this)(a)}}},"object"==typeof d.exports?d.exports=u():(l="undefined"!=typeof globalThis?globalThis:l||self).dayjs_plugin_buddhistEra=u(),d=d.exports;var m,M,f={exports:{}};m=this,M=function(){"use strict";return function(e,t,a){var s="h:mm A",_={lastDay:"[Yesterday at] "+s,sameDay:"[Today at] "+s,nextDay:"[Tomorrow at] "+s,nextWeek:"dddd [at] "+s,lastWeek:"[Last] dddd [at] "+s,sameElse:"MM/DD/YYYY"};t.prototype.calendar=function(e,t){var s=t||this.$locale().calendar||_,r=a(e||void 0).startOf("d"),n=this.diff(r,"d",!0),o="sameElse",i=n<-6?o:n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":o,l=s[i]||_[i];return"function"==typeof l?l.call(this,a()):this.format(l)}}},"object"==typeof f.exports?f.exports=M():(m="undefined"!=typeof globalThis?globalThis:m||self).dayjs_plugin_calendar=M(),f=f.exports;var h,p,Y={exports:{}};h=this,p=function(){"use strict";var e={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"},t=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,a=/\d\d/,s=/\d\d?/,_=/\d*[^-_:/,()\s\d]+/,r={},n=function(e){return(e=+e)+(e>68?1900:2e3)},o=function(e){return function(t){this[e]=+t}},i=[/[+-]\d\d:?(\d\d)?|Z/,function(e){(this.zone||(this.zone={})).offset=function(e){if(!e)return 0;if("Z"===e)return 0;var t=e.match(/([+-]|\d\d)/g),a=60*t[1]+(+t[2]||0);return 0===a?0:"+"===t[0]?-a:a}(e)}],l=function(e){var t=r[e];return t&&(t.indexOf?t:t.s.concat(t.f))},u=function(e,t){var a,s=r.meridiem;if(s){for(var _=1;_<=24;_+=1)if(e.indexOf(s(_,0,t))>-1){a=_>12;break}}else a=e===(t?"pm":"PM");return a},d={A:[_,function(e){this.afternoon=u(e,!1)}],a:[_,function(e){this.afternoon=u(e,!0)}],S:[/\d/,function(e){this.milliseconds=100*+e}],SS:[a,function(e){this.milliseconds=10*+e}],SSS:[/\d{3}/,function(e){this.milliseconds=+e}],s:[s,o("seconds")],ss:[s,o("seconds")],m:[s,o("minutes")],mm:[s,o("minutes")],H:[s,o("hours")],h:[s,o("hours")],HH:[s,o("hours")],hh:[s,o("hours")],D:[s,o("day")],DD:[a,o("day")],Do:[_,function(e){var t=r.ordinal,a=e.match(/\d+/);if(this.day=a[0],t)for(var s=1;s<=31;s+=1)t(s).replace(/\[|\]/g,"")===e&&(this.day=s)}],M:[s,o("month")],MM:[a,o("month")],MMM:[_,function(e){var t=l("months"),a=(l("monthsShort")||t.map((function(e){return e.slice(0,3)}))).indexOf(e)+1;if(a<1)throw new Error;this.month=a%12||a}],MMMM:[_,function(e){var t=l("months").indexOf(e)+1;if(t<1)throw new Error;this.month=t%12||t}],Y:[/[+-]?\d+/,o("year")],YY:[a,function(e){this.year=n(e)}],YYYY:[/\d{4}/,o("year")],Z:i,ZZ:i};function m(a){var s,_;s=a,_=r&&r.formats;for(var n=(a=s.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,a,s){var r=s&&s.toUpperCase();return a||_[s]||e[s]||_[r].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,a){return t||a.slice(1)}))}))).match(t),o=n.length,i=0;i<o;i+=1){var l=n[i],u=d[l],m=u&&u[0],M=u&&u[1];n[i]=M?{regex:m,parser:M}:l.replace(/^\[|\]$/g,"")}return function(e){for(var t={},a=0,s=0;a<o;a+=1){var _=n[a];if("string"==typeof _)s+=_.length;else{var r=_.regex,i=_.parser,l=e.slice(s),u=r.exec(l)[0];i.call(t,u),e=e.replace(u,"")}}return function(e){var t=e.afternoon;if(void 0!==t){var a=e.hours;t?a<12&&(e.hours+=12):12===a&&(e.hours=0),delete e.afternoon}}(t),t}}return function(e,t,a){a.p.customParseFormat=!0,e&&e.parseTwoDigitYear&&(n=e.parseTwoDigitYear);var s=t.prototype,_=s.parse;s.parse=function(e){var t=e.date,s=e.utc,n=e.args;this.$u=s;var o=n[1];if("string"==typeof o){var i=!0===n[2],l=!0===n[3],u=i||l,d=n[2];l&&(d=n[2]),r=this.$locale(),!i&&d&&(r=a.Ls[d]),this.$d=function(e,t,a){try{if(["x","X"].indexOf(t)>-1)return new Date(("X"===t?1e3:1)*e);var s=m(t)(e),_=s.year,r=s.month,n=s.day,o=s.hours,i=s.minutes,l=s.seconds,u=s.milliseconds,d=s.zone,M=new Date,f=n||(_||r?1:M.getDate()),h=_||M.getFullYear(),p=0;_&&!r||(p=r>0?r-1:M.getMonth());var Y=o||0,c=i||0,y=l||0,L=u||0;return d?new Date(Date.UTC(h,p,f,Y,c,y,L+60*d.offset*1e3)):a?new Date(Date.UTC(h,p,f,Y,c,y,L)):new Date(h,p,f,Y,c,y,L)}catch(e){return new Date("")}}(t,o,s),this.init(),d&&!0!==d&&(this.$L=this.locale(d).$L),u&&t!=this.format(o)&&(this.$d=new Date("")),r={}}else if(o instanceof Array)for(var M=o.length,f=1;f<=M;f+=1){n[1]=o[f-1];var h=a.apply(this,n);if(h.isValid()){this.$d=h.$d,this.$L=h.$L,this.init();break}f===M&&(this.$d=new Date(""))}else _.call(this,e)}}},"object"==typeof Y.exports?Y.exports=p():(h="undefined"!=typeof globalThis?globalThis:h||self).dayjs_plugin_customParseFormat=p(),Y=Y.exports;var c,y,L={exports:{}};c=this,y=function(){"use strict";return function(e,t,a){t.prototype.dayOfYear=function(e){var t=Math.round((a(this).startOf("day")-a(this).startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"day")}}},"object"==typeof L.exports?L.exports=y():(c="undefined"!=typeof globalThis?globalThis:c||self).dayjs_plugin_dayOfYear=y(),L=L.exports;var b,g,v,j=b={};function D(){throw new Error("setTimeout has not been defined")}function k(){throw new Error("clearTimeout has not been defined")}function T(e){if(g===setTimeout)return setTimeout(e,0);if((g===D||!g)&&setTimeout)return g=setTimeout,setTimeout(e,0);try{return g(e,0)}catch(t){try{return g.call(null,e,0)}catch(t){return g.call(this,e,0)}}}!function(){try{g="function"==typeof setTimeout?setTimeout:D}catch(t){g=D}try{v="function"==typeof clearTimeout?clearTimeout:k}catch(t){v=k}}();var H,S=[],w=!1,x=-1;function A(){w&&H&&(w=!1,H.length?S=H.concat(S):x=-1,S.length&&$())}function $(){if(!w){var e=T(A);w=!0;for(var a=S.length;a;){for(H=S,S=[];++x<a;)H&&H[x].run();x=-1,a=S.length}H=null,w=!1,function(e){if(v===clearTimeout)return clearTimeout(e);if((v===k||!v)&&clearTimeout)return v=clearTimeout,clearTimeout(e);try{v(e)}catch(t){try{return v.call(null,e)}catch(t){return v.call(this,e)}}}(e)}}function z(e,t){this.fun=e,this.array=t}function J(){}j.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var a=1;a<arguments.length;a++)t[a-1]=arguments[a];S.push(new z(e,t)),1!==S.length||w||T($)},z.prototype.run=function(){this.fun.apply(null,this.array)},j.title="browser",j.browser=!0,j.env={},j.argv=[],j.version="",j.versions={},j.on=J,j.addListener=J,j.once=J,j.off=J,j.removeListener=J,j.removeAllListeners=J,j.emit=J,j.prependListener=J,j.prependOnceListener=J,j.listeners=function(e){return[]},j.binding=function(e){throw new Error("process.binding is not supported")},j.cwd=function(){return"/"},j.chdir=function(e){throw new Error("process.chdir is not supported")},j.umask=function(){return 0};var O={exports:{}};(function(e){(function(){var t,a;t=this,a=function(){"use strict";return function(t,a,s){if(!e){var _=a.prototype,r=_.parse;_.parse=function(e){var t=e.date;return"string"==typeof t&&13===t.length&&console.warn("To parse a Unix timestamp like "+t+", you should pass it as a Number. https://day.js.org/docs/en/parse/unix-timestamp-milliseconds"),"number"==typeof t&&4===String(t).length&&console.warn("Guessing you may want to parse the Year "+t+", you should pass it as a String "+t+", not a Number. Otherwise, "+t+" will be treated as a Unix timestamp"),e.args.length>=2&&!s.p.customParseFormat&&console.warn("To parse a date-time string like "+t+" using the given format, you should enable customParseFormat plugin first. https://day.js.org/docs/en/parse/string-format"),r.bind(this)(e)};var n=s.locale;s.locale=function(e,t,a){return void 0===t&&"string"==typeof e&&(s.Ls[e]||console.warn("Guessing you may want to use locale "+e+", you have to load it before using it. https://day.js.org/docs/en/i18n/loading-into-nodejs")),n(e,t,a)}}}},"object"==typeof O.exports?O.exports=a():(t="undefined"!=typeof globalThis?globalThis:t||self).dayjs_plugin_devHelper=a()}).call(this)}).call(this,b),O=O.exports;var F,N,W={exports:{}};F=this,N=function(){"use strict";var e,t,a=36e5,s=864e5,_=/\[([^\]]+)]|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,r=31536e6,n=2628e6,o=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,i={years:r,months:n,days:s,hours:a,minutes:6e4,seconds:1e3,milliseconds:1,weeks:6048e5},l=function(e){return e instanceof p},u=function(e,t,a){return new p(e,a,t.$l)},d=function(e){return t.p(e)+"s"},m=function(e){return e<0},M=function(e){return m(e)?Math.ceil(e):Math.floor(e)},f=function(e){return Math.abs(e)},h=function(e,t){return e?m(e)?{negative:!0,format:""+f(e)+t}:{negative:!1,format:""+e+t}:{negative:!1,format:""}},p=function(){function m(e,t,a){var s=this;if(this.$d={},this.$l=a,void 0===e&&(this.$ms=0,this.parseFromMilliseconds()),t)return u(e*i[d(t)],this);if("number"==typeof e)return this.$ms=e,this.parseFromMilliseconds(),this;if("object"==typeof e)return Object.keys(e).forEach((function(t){s.$d[d(t)]=e[t]})),this.calMilliseconds(),this;if("string"==typeof e){var _=e.match(o);if(_){var r=_.slice(2).map((function(e){return null!=e?Number(e):0}));return this.$d.years=r[0],this.$d.months=r[1],this.$d.weeks=r[2],this.$d.days=r[3],this.$d.hours=r[4],this.$d.minutes=r[5],this.$d.seconds=r[6],this.calMilliseconds(),this}}return this}var f=m.prototype;return f.calMilliseconds=function(){var e=this;this.$ms=Object.keys(this.$d).reduce((function(t,a){return t+(e.$d[a]||0)*i[a]}),0)},f.parseFromMilliseconds=function(){var e=this.$ms;this.$d.years=M(e/r),e%=r,this.$d.months=M(e/n),e%=n,this.$d.days=M(e/s),e%=s,this.$d.hours=M(e/a),e%=a,this.$d.minutes=M(e/6e4),e%=6e4,this.$d.seconds=M(e/1e3),e%=1e3,this.$d.milliseconds=e},f.toISOString=function(){var e=h(this.$d.years,"Y"),t=h(this.$d.months,"M"),a=+this.$d.days||0;this.$d.weeks&&(a+=7*this.$d.weeks);var s=h(a,"D"),_=h(this.$d.hours,"H"),r=h(this.$d.minutes,"M"),n=this.$d.seconds||0;this.$d.milliseconds&&(n+=this.$d.milliseconds/1e3,n=Math.round(1e3*n)/1e3);var o=h(n,"S"),i=e.negative||t.negative||s.negative||_.negative||r.negative||o.negative,l=_.format||r.format||o.format?"T":"",u=(i?"-":"")+"P"+e.format+t.format+s.format+l+_.format+r.format+o.format;return"P"===u||"-P"===u?"P0D":u},f.toJSON=function(){return this.toISOString()},f.format=function(e){var a=e||"YYYY-MM-DDTHH:mm:ss",s={Y:this.$d.years,YY:t.s(this.$d.years,2,"0"),YYYY:t.s(this.$d.years,4,"0"),M:this.$d.months,MM:t.s(this.$d.months,2,"0"),D:this.$d.days,DD:t.s(this.$d.days,2,"0"),H:this.$d.hours,HH:t.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:t.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:t.s(this.$d.seconds,2,"0"),SSS:t.s(this.$d.milliseconds,3,"0")};return a.replace(_,(function(e,t){return t||String(s[e])}))},f.as=function(e){return this.$ms/i[d(e)]},f.get=function(e){var t=this.$ms,a=d(e);return"milliseconds"===a?t%=1e3:t="weeks"===a?M(t/i[a]):this.$d[a],t||0},f.add=function(e,t,a){var s;return s=t?e*i[d(t)]:l(e)?e.$ms:u(e,this).$ms,u(this.$ms+s*(a?-1:1),this)},f.subtract=function(e,t){return this.add(e,t,!0)},f.locale=function(e){var t=this.clone();return t.$l=e,t},f.clone=function(){return u(this.$ms,this)},f.humanize=function(t){return e().add(this.$ms,"ms").locale(this.$l).fromNow(!t)},f.valueOf=function(){return this.asMilliseconds()},f.milliseconds=function(){return this.get("milliseconds")},f.asMilliseconds=function(){return this.as("milliseconds")},f.seconds=function(){return this.get("seconds")},f.asSeconds=function(){return this.as("seconds")},f.minutes=function(){return this.get("minutes")},f.asMinutes=function(){return this.as("minutes")},f.hours=function(){return this.get("hours")},f.asHours=function(){return this.as("hours")},f.days=function(){return this.get("days")},f.asDays=function(){return this.as("days")},f.weeks=function(){return this.get("weeks")},f.asWeeks=function(){return this.as("weeks")},f.months=function(){return this.get("months")},f.asMonths=function(){return this.as("months")},f.years=function(){return this.get("years")},f.asYears=function(){return this.as("years")},m}(),Y=function(e,t,a){return e.add(t.years()*a,"y").add(t.months()*a,"M").add(t.days()*a,"d").add(t.hours()*a,"h").add(t.minutes()*a,"m").add(t.seconds()*a,"s").add(t.milliseconds()*a,"ms")};return function(a,s,_){e=_,t=_().$utils(),_.duration=function(e,t){var a=_.locale();return u(e,{$l:a},t)},_.isDuration=l;var r=s.prototype.add,n=s.prototype.subtract;s.prototype.add=function(e,t){return l(e)?Y(this,e,1):r.bind(this)(e,t)},s.prototype.subtract=function(e,t){return l(e)?Y(this,e,-1):n.bind(this)(e,t)}}},"object"==typeof W.exports?W.exports=N():(F="undefined"!=typeof globalThis?globalThis:F||self).dayjs_plugin_duration=N(),W=W.exports;var I,K,C={exports:{}};I=this,K=function(){"use strict";return function(e,t,a){t.prototype.isBetween=function(e,t,s,_){var r=a(e),n=a(t),o="("===(_=_||"()")[0],i=")"===_[1];return(o?this.isAfter(r,s):!this.isBefore(r,s))&&(i?this.isBefore(n,s):!this.isAfter(n,s))||(o?this.isBefore(r,s):!this.isAfter(r,s))&&(i?this.isAfter(n,s):!this.isBefore(n,s))}}},"object"==typeof C.exports?C.exports=K():(I="undefined"!=typeof globalThis?globalThis:I||self).dayjs_plugin_isBetween=K(),C=C.exports;var P,E,G={exports:{}};P=this,E=function(){"use strict";return function(e,t){t.prototype.isLeapYear=function(){return this.$y%4==0&&this.$y%100!=0||this.$y%400==0}}},"object"==typeof G.exports?G.exports=E():(P="undefined"!=typeof globalThis?globalThis:P||self).dayjs_plugin_isLeapYear=E(),G=G.exports;var B,U,q={exports:{}};B=this,U=function(){"use strict";return function(e,t,a){a.isMoment=function(e){return a.isDayjs(e)}}},"object"==typeof q.exports?q.exports=U():(B="undefined"!=typeof globalThis?globalThis:B||self).dayjs_plugin_isMoment=U(),q=q.exports;var Z,R,V={exports:{}};Z=this,R=function(){"use strict";return function(e,t){t.prototype.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)}}},"object"==typeof V.exports?V.exports=R():(Z="undefined"!=typeof globalThis?globalThis:Z||self).dayjs_plugin_isSameOrAfter=R(),V=V.exports;var X,Q,ee={exports:{}};X=this,Q=function(){"use strict";return function(e,t){t.prototype.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)}}},"object"==typeof ee.exports?ee.exports=Q():(X="undefined"!=typeof globalThis?globalThis:X||self).dayjs_plugin_isSameOrBefore=Q(),ee=ee.exports;var te,ae,se={exports:{}};te=this,ae=function(){"use strict";return function(e,t,a){t.prototype.isToday=function(){var e="YYYY-MM-DD",t=a();return this.format(e)===t.format(e)}}},"object"==typeof se.exports?se.exports=ae():(te="undefined"!=typeof globalThis?globalThis:te||self).dayjs_plugin_isToday=ae(),se=se.exports;var _e,re,ne={exports:{}};_e=this,re=function(){"use strict";return function(e,t,a){t.prototype.isTomorrow=function(){var e="YYYY-MM-DD",t=a().add(1,"day");return this.format(e)===t.format(e)}}},"object"==typeof ne.exports?ne.exports=re():(_e="undefined"!=typeof globalThis?globalThis:_e||self).dayjs_plugin_isTomorrow=re(),ne=ne.exports;var oe,ie,le={exports:{}};oe=this,ie=function(){"use strict";return function(e,t,a){t.prototype.isYesterday=function(){var e="YYYY-MM-DD",t=a().subtract(1,"day");return this.format(e)===t.format(e)}}},"object"==typeof le.exports?le.exports=ie():(oe="undefined"!=typeof globalThis?globalThis:oe||self).dayjs_plugin_isYesterday=ie(),le=le.exports;var ue,de,me={exports:{}};ue=this,de=function(){"use strict";var e="day";return function(t,a,s){var _=function(t){return t.add(4-t.isoWeekday(),e)},r=a.prototype;r.isoWeekYear=function(){return _(this).year()},r.isoWeek=function(t){if(!this.$utils().u(t))return this.add(7*(t-this.isoWeek()),e);var a,r,n,o=_(this),i=(a=this.isoWeekYear(),n=4-(r=(this.$u?s.utc:s)().year(a).startOf("year")).isoWeekday(),r.isoWeekday()>4&&(n+=7),r.add(n,e));return o.diff(i,"week")+1},r.isoWeekday=function(e){return this.$utils().u(e)?this.day()||7:this.day(this.day()%7?e:e-7)};var n=r.startOf;r.startOf=function(e,t){var a=this.$utils(),s=!!a.u(t)||t;return"isoweek"===a.p(e)?s?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):n.bind(this)(e,t)}}},"object"==typeof me.exports?me.exports=de():(ue="undefined"!=typeof globalThis?globalThis:ue||self).dayjs_plugin_isoWeek=de(),me=me.exports;var Me,fe,he={exports:{}};Me=this,fe=function(){"use strict";return function(e,t){t.prototype.isoWeeksInYear=function(){var e=this.isLeapYear(),t=this.endOf("y").day();return 4===t||e&&5===t?53:52}}},"object"==typeof he.exports?he.exports=fe():(Me="undefined"!=typeof globalThis?globalThis:Me||self).dayjs_plugin_isoWeeksInYear=fe(),he=he.exports;var pe,Ye,ce={exports:{}};pe=this,Ye=function(){"use strict";return function(e,t,a){var s=t.prototype,_=function(e){return e&&(e.indexOf?e:e.s)},r=function(e,t,a,s,r){var n=e.name?e:e.$locale(),o=_(n[t]),i=_(n[a]),l=o||i.map((function(e){return e.slice(0,s)}));if(!r)return l;var u=n.weekStart;return l.map((function(e,t){return l[(t+(u||0))%7]}))},n=function(){return a.Ls[a.locale()]},o=function(e,t){return e.formats[t]||function(e){return e.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,a){return t||a.slice(1)}))}(e.formats[t.toUpperCase()])};s.localeData=function(){return function(){var e=this;return{months:function(t){return t?t.format("MMMM"):r(e,"months")},monthsShort:function(t){return t?t.format("MMM"):r(e,"monthsShort","months",3)},firstDayOfWeek:function(){return e.$locale().weekStart||0},weekdays:function(t){return t?t.format("dddd"):r(e,"weekdays")},weekdaysMin:function(t){return t?t.format("dd"):r(e,"weekdaysMin","weekdays",2)},weekdaysShort:function(t){return t?t.format("ddd"):r(e,"weekdaysShort","weekdays",3)},longDateFormat:function(t){return o(e.$locale(),t)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}}.bind(this)()},a.localeData=function(){var e=n();return{firstDayOfWeek:function(){return e.weekStart||0},weekdays:function(){return a.weekdays()},weekdaysShort:function(){return a.weekdaysShort()},weekdaysMin:function(){return a.weekdaysMin()},months:function(){return a.months()},monthsShort:function(){return a.monthsShort()},longDateFormat:function(t){return o(e,t)},meridiem:e.meridiem,ordinal:e.ordinal}},a.months=function(){return r(n(),"months")},a.monthsShort=function(){return r(n(),"monthsShort","months",3)},a.weekdays=function(e){return r(n(),"weekdays",null,null,e)},a.weekdaysShort=function(e){return r(n(),"weekdaysShort","weekdays",3,e)},a.weekdaysMin=function(e){return r(n(),"weekdaysMin","weekdays",2,e)}}},"object"==typeof ce.exports?ce.exports=Ye():(pe="undefined"!=typeof globalThis?globalThis:pe||self).dayjs_plugin_localeData=Ye(),ce=ce.exports;var ye,Le,be={exports:{}};ye=this,Le=function(){"use strict";var e={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"};return function(t,a,s){var _=a.prototype,r=_.format;s.en.formats=e,_.format=function(t){void 0===t&&(t="YYYY-MM-DDTHH:mm:ssZ");var a=this.$locale().formats,s=function(t,a){return t.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,s,_){var r=_&&_.toUpperCase();return s||a[_]||e[_]||a[r].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,a){return t||a.slice(1)}))}))}(t,void 0===a?{}:a);return r.call(this,s)}}},"object"==typeof be.exports?be.exports=Le():(ye="undefined"!=typeof globalThis?globalThis:ye||self).dayjs_plugin_localizedFormat=Le(),be=be.exports;var ge,ve,je={exports:{}};ge=this,ve=function(){"use strict";return function(e,t,a){var s=function(e,t){if(!t||!t.length||1===t.length&&!t[0]||1===t.length&&Array.isArray(t[0])&&!t[0].length)return null;var a;1===t.length&&t[0].length>0&&(t=t[0]),a=(t=t.filter((function(e){return e})))[0];for(var s=1;s<t.length;s+=1)t[s].isValid()&&!t[s][e](a)||(a=t[s]);return a};a.max=function(){var e=[].slice.call(arguments,0);return s("isAfter",e)},a.min=function(){var e=[].slice.call(arguments,0);return s("isBefore",e)}}},"object"==typeof je.exports?je.exports=ve():(ge="undefined"!=typeof globalThis?globalThis:ge||self).dayjs_plugin_minMax=ve(),je=je.exports;var De,ke,Te={exports:{}};De=this,ke=function(){"use strict";return function(e,t,a){var s=t.prototype,_=s.parse;s.parse=function(e){e.date=function(e){var t,_=e.date,r=e.utc,n={};if(!(null===(t=_)||t instanceof Date||t instanceof Array||s.$utils().u(t)||"Object"!==t.constructor.name)){if(!Object.keys(_).length)return new Date;var o=r?a.utc():a();Object.keys(_).forEach((function(e){var t,a;n[(t=e,a=s.$utils().p(t),"date"===a?"day":a)]=_[e]}));var i=n.day||(n.year||n.month>=0?1:o.date()),l=n.year||o.year(),u=n.month>=0?n.month:n.year||n.day?0:o.month(),d=n.hour||0,m=n.minute||0,M=n.second||0,f=n.millisecond||0;return r?new Date(Date.UTC(l,u,i,d,m,M,f)):new Date(l,u,i,d,m,M,f)}return _}.bind(this)(e),_.bind(this)(e)};var r=s.set,n=s.add,o=s.subtract,i=function(e,t,a,s){void 0===s&&(s=1);var _=Object.keys(t),r=this;return _.forEach((function(a){r=e.bind(r)(t[a]*s,a)})),r};s.set=function(e,t){return t=void 0===t?e:t,"Object"===e.constructor.name?i.bind(this)((function(e,t){return r.bind(this)(t,e)}),t,e):r.bind(this)(e,t)},s.add=function(e,t){return"Object"===e.constructor.name?i.bind(this)(n,e,t):n.bind(this)(e,t)},s.subtract=function(e,t){return"Object"===e.constructor.name?i.bind(this)(n,e,t,-1):o.bind(this)(e,t)}}},"object"==typeof Te.exports?Te.exports=ke():(De="undefined"!=typeof globalThis?globalThis:De||self).dayjs_plugin_objectSupport=ke(),Te=Te.exports;var He,Se,we={exports:{}};He=this,Se=function(){"use strict";return function(e,t){var a=t.prototype;["milliseconds","seconds","minutes","hours","days","weeks","isoWeeks","months","quarters","years","dates"].forEach((function(e){a[e]=a[e.replace(/s$/,"")]}))}},"object"==typeof we.exports?we.exports=Se():(He="undefined"!=typeof globalThis?globalThis:He||self).dayjs_plugin_pluralGetSet=Se(),we=we.exports;var xe,Ae,$e={exports:{}};xe=this,Ae=function(){"use strict";return function(e,t){var a=t.prototype.parse;t.prototype.parse=function(e){if("string"==typeof e.date){var t=this.$locale();e.date=t&&t.preparse?t.preparse(e.date):e.date}return a.bind(this)(e)};var s=t.prototype.format;t.prototype.format=function(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];var _=s.call.apply(s,[this].concat(t)),r=this.$locale();return r&&r.postformat?r.postformat(_):_};var _=t.prototype.fromToBase;_&&(t.prototype.fromToBase=function(e,t,a,s){var r=this.$locale()||a.$locale();return _.call(this,e,t,a,s,r&&r.postformat)})}},"object"==typeof $e.exports?$e.exports=Ae():(xe="undefined"!=typeof globalThis?globalThis:xe||self).dayjs_plugin_preParsePostFormat=Ae(),$e=$e.exports;var ze,Je,Oe={exports:{}};ze=this,Je=function(){"use strict";var e="month",t="quarter";return function(a,s){var _=s.prototype;_.quarter=function(e){return this.$utils().u(e)?Math.ceil((this.month()+1)/3):this.month(this.month()%3+3*(e-1))};var r=_.add;_.add=function(a,s){return a=Number(a),this.$utils().p(s)===t?this.add(3*a,e):r.bind(this)(a,s)};var n=_.startOf;_.startOf=function(a,s){var _=this.$utils(),r=!!_.u(s)||s;if(_.p(a)===t){var o=this.quarter()-1;return r?this.month(3*o).startOf(e).startOf("day"):this.month(3*o+2).endOf(e).endOf("day")}return n.bind(this)(a,s)}}},"object"==typeof Oe.exports?Oe.exports=Je():(ze="undefined"!=typeof globalThis?globalThis:ze||self).dayjs_plugin_quarterOfYear=Je(),Oe=Oe.exports;var Fe,Ne,We={exports:{}};Fe=this,Ne=function(){"use strict";return function(e,t,a){e=e||{};var s=t.prototype,_={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"};function r(e,t,a,_){return s.fromToBase(e,t,a,_)}a.en.relativeTime=_,s.fromToBase=function(t,s,r,n,o){for(var i,l,u,d=r.$locale().relativeTime||_,m=e.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"}],M=m.length,f=0;f<M;f+=1){var h=m[f];h.d&&(i=n?a(t).diff(r,h.d,!0):r.diff(t,h.d,!0));var p=(e.rounding||Math.round)(Math.abs(i));if(u=i>0,p<=h.r||!h.r){p<=1&&f>0&&(h=m[f-1]);var Y=d[h.l];o&&(p=o(""+p)),l="string"==typeof Y?Y.replace("%d",p):Y(p,s,h.l,u);break}}if(s)return l;var c=u?d.future:d.past;return"function"==typeof c?c(l):c.replace("%s",l)},s.to=function(e,t){return r(e,t,this,!0)},s.from=function(e,t){return r(e,t,this)};var n=function(e){return e.$u?a.utc():a()};s.toNow=function(e){return this.to(n(this),e)},s.fromNow=function(e){return this.from(n(this),e)}}},"object"==typeof We.exports?We.exports=Ne():(Fe="undefined"!=typeof globalThis?globalThis:Fe||self).dayjs_plugin_relativeTime=Ne(),We=We.exports;var Ie,Ke,Ce={exports:{}};Ie=this,Ke=function(){"use strict";var e={year:0,month:1,day:2,hour:3,minute:4,second:5},t={};return function(a,s,_){var r,n=function(e,a,s){void 0===s&&(s={});var _=new Date(e);return function(e,a){void 0===a&&(a={});var s=a.timeZoneName||"short",_=e+"|"+s,r=t[_];return r||(r=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:s}),t[_]=r),r}(a,s).formatToParts(_)},o=function(t,a){for(var s=n(t,a),r=[],o=0;o<s.length;o+=1){var i=s[o],l=i.type,u=i.value,d=e[l];d>=0&&(r[d]=parseInt(u,10))}var m=r[3],M=24===m?0:m,f=r[0]+"-"+r[1]+"-"+r[2]+" "+M+":"+r[4]+":"+r[5]+":000",h=+t;return(_.utc(f).valueOf()-(h-=h%1e3))/6e4},i=s.prototype;i.tz=function(e,t){void 0===e&&(e=r);var a=this.utcOffset(),s=this.toDate(),n=s.toLocaleString("en-US",{timeZone:e}),o=Math.round((s-new Date(n))/1e3/60),i=_(n,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(15*-Math.round(s.getTimezoneOffset()/15)-o,!0);if(t){var l=i.utcOffset();i=i.add(a-l,"minute")}return i.$x.$timezone=e,i},i.offsetName=function(e){var t=this.$x.$timezone||_.tz.guess(),a=n(this.valueOf(),t,{timeZoneName:e}).find((function(e){return"timezonename"===e.type.toLowerCase()}));return a&&a.value};var l=i.startOf;i.startOf=function(e,t){if(!this.$x||!this.$x.$timezone)return l.call(this,e,t);var a=_(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return l.call(a,e,t).tz(this.$x.$timezone,!0)},_.tz=function(e,t,a){var s=a&&t,n=a||t||r,i=o(+_(),n);if("string"!=typeof e)return _(e).tz(n);var l=function(e,t,a){var s=e-60*t*1e3,_=o(s,a);if(t===_)return[s,t];var r=o(s-=60*(_-t)*1e3,a);return _===r?[s,_]:[e-60*Math.min(_,r)*1e3,Math.max(_,r)]}(_.utc(e,s).valueOf(),i,n),u=l[0],d=l[1],m=_(u).utcOffset(d);return m.$x.$timezone=n,m},_.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},_.tz.setDefault=function(e){r=e}}},"object"==typeof Ce.exports?Ce.exports=Ke():(Ie="undefined"!=typeof globalThis?globalThis:Ie||self).dayjs_plugin_timezone=Ke(),Ce=Ce.exports;var Pe,Ee,Ge={exports:{}};Pe=this,Ee=function(){"use strict";return function(e,t){t.prototype.toArray=function(){return[this.$y,this.$M,this.$D,this.$H,this.$m,this.$s,this.$ms]}}},"object"==typeof Ge.exports?Ge.exports=Ee():(Pe="undefined"!=typeof globalThis?globalThis:Pe||self).dayjs_plugin_toArray=Ee(),Ge=Ge.exports;var Be,Ue,qe={exports:{}};Be=this,Ue=function(){"use strict";return function(e,t){t.prototype.toObject=function(){return{years:this.$y,months:this.$M,date:this.$D,hours:this.$H,minutes:this.$m,seconds:this.$s,milliseconds:this.$ms}}}},"object"==typeof qe.exports?qe.exports=Ue():(Be="undefined"!=typeof globalThis?globalThis:Be||self).dayjs_plugin_toObject=Ue(),qe=qe.exports;var Ze,Re,Ve={exports:{}};Ze=this,Re=function(){"use strict";return function(e,t,a){a.updateLocale=function(e,t){var s=a.Ls[e];if(s)return(t?Object.keys(t):[]).forEach((function(e){s[e]=t[e]})),s}}},"object"==typeof Ve.exports?Ve.exports=Re():(Ze="undefined"!=typeof globalThis?globalThis:Ze||self).dayjs_plugin_updateLocale=Re(),Ve=Ve.exports;var Xe,Qe,et={exports:{}};Xe=this,Qe=function(){"use strict";var e="minute",t=/[+-]\d\d(?::?\d\d)?/g,a=/([+-]|\d\d)/g;return function(s,_,r){var n=_.prototype;r.utc=function(e){return new _({date:e,utc:!0,args:arguments})},n.utc=function(t){var a=r(this.toDate(),{locale:this.$L,utc:!0});return t?a.add(this.utcOffset(),e):a},n.local=function(){return r(this.toDate(),{locale:this.$L,utc:!1})};var o=n.parse;n.parse=function(e){e.utc&&(this.$u=!0),this.$utils().u(e.$offset)||(this.$offset=e.$offset),o.call(this,e)};var i=n.init;n.init=function(){if(this.$u){var e=this.$d;this.$y=e.getUTCFullYear(),this.$M=e.getUTCMonth(),this.$D=e.getUTCDate(),this.$W=e.getUTCDay(),this.$H=e.getUTCHours(),this.$m=e.getUTCMinutes(),this.$s=e.getUTCSeconds(),this.$ms=e.getUTCMilliseconds()}else i.call(this)};var l=n.utcOffset;n.utcOffset=function(s,_){var r=this.$utils().u;if(r(s))return this.$u?0:r(this.$offset)?l.call(this):this.$offset;if("string"==typeof s&&null===(s=function(e){void 0===e&&(e="");var s=e.match(t);if(!s)return null;var _=(""+s[0]).match(a)||["-",0,0],r=_[0],n=60*+_[1]+ +_[2];return 0===n?0:"+"===r?n:-n}(s)))return this;var n=Math.abs(s)<=16?60*s:s,o=this;if(_)return o.$offset=n,o.$u=0===s,o;if(0!==s){var i=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(o=this.local().add(n+i,e)).$offset=n,o.$x.$localOffset=i}else o=this.utc();return o};var u=n.format;n.format=function(e){var t=e||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return u.call(this,t)},n.valueOf=function(){var e=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*e},n.isUTC=function(){return!!this.$u},n.toISOString=function(){return this.toDate().toISOString()},n.toString=function(){return this.toDate().toUTCString()};var d=n.toDate;n.toDate=function(e){return"s"===e&&this.$offset?r(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():d.call(this)};var m=n.diff;n.diff=function(e,t,a){if(e&&this.$u===e.$u)return m.call(this,e,t,a);var s=this.local(),_=r(e).local();return m.call(s,_,t,a)}}},"object"==typeof et.exports?et.exports=Qe():(Xe="undefined"!=typeof globalThis?globalThis:Xe||self).dayjs_plugin_utc=Qe(),et=et.exports;var tt,at,st={exports:{}};tt=this,at=function(){"use strict";var e="week",t="year";return function(a,s,_){var r=s.prototype;r.week=function(a){if(void 0===a&&(a=null),null!==a)return this.add(7*(a-this.week()),"day");var s=this.$locale().yearStart||1;if(11===this.month()&&this.date()>25){var r=_(this).startOf(t).add(1,t).date(s),n=_(this).endOf(e);if(r.isBefore(n))return 1}var o=_(this).startOf(t).date(s).startOf(e).subtract(1,"millisecond"),i=this.diff(o,e,!0);return i<0?_(this).startOf("week").week():Math.ceil(i)},r.weeks=function(e){return void 0===e&&(e=null),this.week(e)}}},"object"==typeof st.exports?st.exports=at():(tt="undefined"!=typeof globalThis?globalThis:tt||self).dayjs_plugin_weekOfYear=at(),st=st.exports;var _t,rt,nt={exports:{}};_t=this,rt=function(){"use strict";return function(e,t){t.prototype.weekYear=function(){var e=this.month(),t=this.week(),a=this.year();return 1===t&&11===e?a+1:0===e&&t>=52?a-1:a}}},"object"==typeof nt.exports?nt.exports=rt():(_t="undefined"!=typeof globalThis?globalThis:_t||self).dayjs_plugin_weekYear=rt(),nt=nt.exports;var ot,it,lt={exports:{}};ot=this,it=function(){"use strict";return function(e,t){t.prototype.weekday=function(e){var t=this.$locale().weekStart||0,a=this.$W,s=(a<t?a+7:a)-t;return this.$utils().u(e)?s:this.subtract(s,"day").add(e,"day")}}},"object"==typeof lt.exports?lt.exports=it():(ot="undefined"!=typeof globalThis?globalThis:ot||self).dayjs_plugin_weekday=it(),lt=lt.exports;var ut,dt,mt={exports:{}};ut=this,dt=function(e){"use strict";var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"af",weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),weekStart:1,weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),ordinal:function(e){return e},formats:{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"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"}};return t.default.locale(a,null,!0),a},"object"==typeof mt.exports?mt.exports=dt(a):(ut="undefined"!=typeof globalThis?globalThis:ut||self).dayjs_locale_af=dt(ut.dayjs),mt=mt.exports;var Mt,ft,ht={exports:{}};Mt=this,ft=function(e){"use strict";var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"ar-dz",weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),months:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdaysMin:"\u0623\u062d_\u0625\u062b_\u062b\u0644\u0627_\u0623\u0631_\u062e\u0645_\u062c\u0645_\u0633\u0628".split("_"),ordinal:function(e){return e},formats:{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"},meridiem:function(e){return e>12?"\u0645":"\u0635"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"}};return t.default.locale(a,null,!0),a},"object"==typeof ht.exports?ht.exports=ft(a):(Mt="undefined"!=typeof globalThis?globalThis:Mt||self).dayjs_locale_ar_dz=ft(Mt.dayjs),ht=ht.exports;var pt,Yt,ct={exports:{}};pt=this,Yt=function(e){"use strict";var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"am",weekdays:"\u12a5\u1211\u12f5_\u1230\u129e_\u121b\u12ad\u1230\u129e_\u1228\u1261\u12d5_\u1210\u1219\u1235_\u12a0\u122d\u1265_\u1245\u12f3\u121c".split("_"),weekdaysShort:"\u12a5\u1211\u12f5_\u1230\u129e_\u121b\u12ad\u1230_\u1228\u1261\u12d5_\u1210\u1219\u1235_\u12a0\u122d\u1265_\u1245\u12f3\u121c".split("_"),weekdaysMin:"\u12a5\u1211_\u1230\u129e_\u121b\u12ad_\u1228\u1261_\u1210\u1219_\u12a0\u122d_\u1245\u12f3".split("_"),months:"\u1303\u1295\u12cb\u122a_\u134c\u1265\u122f\u122a_\u121b\u122d\u127d_\u12a4\u1355\u122a\u120d_\u121c\u12ed_\u1301\u1295_\u1301\u120b\u12ed_\u12a6\u1308\u1235\u1275_\u1234\u1355\u1274\u121d\u1260\u122d_\u12a6\u12ad\u1276\u1260\u122d_\u1296\u126c\u121d\u1260\u122d_\u12f2\u1234\u121d\u1260\u122d".split("_"),monthsShort:"\u1303\u1295\u12cb_\u134c\u1265\u122f_\u121b\u122d\u127d_\u12a4\u1355\u122a_\u121c\u12ed_\u1301\u1295_\u1301\u120b\u12ed_\u12a6\u1308\u1235_\u1234\u1355\u1274_\u12a6\u12ad\u1276_\u1296\u126c\u121d_\u12f2\u1234\u121d".split("_"),weekStart:1,yearStart:4,relativeTime:{future:"\u1260%s",past:"%s \u1260\u134a\u1275",s:"\u1325\u1242\u1275 \u1230\u12a8\u1295\u12f6\u127d",m:"\u12a0\u1295\u12f5 \u12f0\u1242\u1243",mm:"%d \u12f0\u1242\u1243\u12ce\u127d",h:"\u12a0\u1295\u12f5 \u1230\u12d3\u1275",hh:"%d \u1230\u12d3\u1273\u1275",d:"\u12a0\u1295\u12f5 \u1240\u1295",dd:"%d \u1240\u1293\u1275",M:"\u12a0\u1295\u12f5 \u12c8\u122d",MM:"%d \u12c8\u122b\u1275",y:"\u12a0\u1295\u12f5 \u12d3\u1218\u1275",yy:"%d \u12d3\u1218\u1273\u1275"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM D \u1363 YYYY",LLL:"MMMM D \u1363 YYYY HH:mm",LLLL:"dddd \u1363 MMMM D \u1363 YYYY HH:mm"},ordinal:function(e){return e+"\u129b"}};return t.default.locale(a,null,!0),a},"object"==typeof ct.exports?ct.exports=Yt(a):(pt="undefined"!=typeof globalThis?globalThis:pt||self).dayjs_locale_am=Yt(pt.dayjs),ct=ct.exports;var yt,Lt,bt={exports:{}};yt=this,Lt=function(e){"use strict";var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"ar-iq",weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),months:"\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u062b\u0627\u0646\u064a_\u0634\u0628\u0627\u0637_\u0622\u0630\u0627\u0631_\u0646\u064a\u0633\u0627\u0646_\u0623\u064a\u0627\u0631_\u062d\u0632\u064a\u0631\u0627\u0646_\u062a\u0645\u0648\u0632_\u0622\u0628_\u0623\u064a\u0644\u0648\u0644_\u062a\u0634\u0631\u064a\u0646 \u0627\u0644\u0623\u0648\u0644_ \u062a\u0634\u0631\u064a\u0646 \u0627\u0644\u062b\u0627\u0646\u064a_\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u0623\u0648\u0644".split("_"),weekStart:1,weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),monthsShort:"\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u062b\u0627\u0646\u064a_\u0634\u0628\u0627\u0637_\u0622\u0630\u0627\u0631_\u0646\u064a\u0633\u0627\u0646_\u0623\u064a\u0627\u0631_\u062d\u0632\u064a\u0631\u0627\u0646_\u062a\u0645\u0648\u0632_\u0622\u0628_\u0623\u064a\u0644\u0648\u0644_\u062a\u0634\u0631\u064a\u0646 \u0627\u0644\u0623\u0648\u0644_ \u062a\u0634\u0631\u064a\u0646 \u0627\u0644\u062b\u0627\u0646\u064a_\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u0623\u0648\u0644".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),ordinal:function(e){return e},formats:{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"},meridiem:function(e){return e>12?"\u0645":"\u0635"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"}};return t.default.locale(a,null,!0),a},"object"==typeof bt.exports?bt.exports=Lt(a):(yt="undefined"!=typeof globalThis?globalThis:yt||self).dayjs_locale_ar_iq=Lt(yt.dayjs),bt=bt.exports;var gt,vt,jt={exports:{}};gt=this,vt=function(e){"use strict";var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"ar-kw",weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u