/**
* @package DPCalendar
* @copyright Digital Peak GmbH. <https://www.digital-peak.com>
* @license https://www.gnu.org/licenses/gpl-3.0.html GNU/GPL
*/
var t=1e3,e=6e4,n=36e5,s=864e5,r=6048e5,i="millisecond",a="second",o="minute",u="hour",h="day",c="week",f="month",d="quarter",l="year",$="date",m="Invalid Date",v=/^(\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,y={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])+"]"}},g=function(t,e,n){var s=String(t);return!s||s.length>=e?t:""+Array(e+1-s.length).join(n)+t},D={s:g,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),s=Math.floor(n/60),r=n%60;return(e<=0?"+":"-")+g(s,2,"0")+":"+g(r,2,"0")},m:function t(e,n){if(e.date()<n.date())return-t(n,e);var s=12*(n.year()-e.year())+(n.month()-e.month()),r=e.clone().add(s,f),i=n-r<0,a=e.clone().add(s+(i?-1:1),f);return+(-(s+(n-r)/(i?r-a:a-r))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:f,y:l,w:c,d:h,D:$,h:u,m:o,s:a,ms:i,Q:d}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},p="en",S={};S[p]=y;var w="$isDayjsObject",Y=function(t){return t instanceof k||!(!t||!t[w])},O=function t(e,n,s){var r;if(!e)return p;if("string"==typeof e){var i=e.toLowerCase();S[i]&&(r=i),n&&(S[i]=n,r=i);var a=e.split("-");if(!r&&a.length>1)return t(a[0])}else{var o=e.name;S[o]=e,r=o}return!s&&r&&(p=r),r||!s&&p},b=function(t,e){if(Y(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new k(n)},T=D;T.l=O,T.i=Y,T.w=function(t,e){return b(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var k=function(){function y(t){this.$L=O(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[w]=!0}var g=y.prototype;return g.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(T.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var s=e.match(v);if(s){var r=s[2]-1||0,i=(s[7]||"0").substring(0,3);return n?new Date(Date.UTC(s[1],r,s[3]||1,s[4]||0,s[5]||0,s[6]||0,i)):new Date(s[1],r,s[3]||1,s[4]||0,s[5]||0,s[6]||0,i)}}return new Date(e)}(t),this.init()},g.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()},g.$utils=function(){return T},g.isValid=function(){return!(this.$d.toString()===m)},g.isSame=function(t,e){var n=b(t);return this.startOf(e)<=n&&n<=this.endOf(e)},g.isAfter=function(t,e){return b(t)<this.startOf(e)},g.isBefore=function(t,e){return this.endOf(e)<b(t)},g.$g=function(t,e,n){return T.u(t)?this[e]:this.set(n,t)},g.unix=function(){return Math.floor(this.valueOf()/1e3)},g.valueOf=function(){return this.$d.getTime()},g.startOf=function(t,e){var n=this,s=!!T.u(e)||e,r=T.p(t),i=function(t,e){var r=T.w(n.$u?Date.UTC(n.$y,e,t):new Date(n.$y,e,t),n);return s?r:r.endOf(h)},d=function(t,e){return T.w(n.toDate()[t].apply(n.toDate("s"),(s?[0,0,0,0]:[23,59,59,999]).slice(e)),n)},m=this.$W,v=this.$M,M=this.$D,y="set"+(this.$u?"UTC":"");switch(r){case l:return s?i(1,0):i(31,11);case f:return s?i(1,v):i(0,v+1);case c:var g=this.$locale().weekStart||0,D=(m<g?m+7:m)-g;return i(s?M-D:M+(6-D),v);case h:case $:return d(y+"Hours",0);case u:return d(y+"Minutes",1);case o:return d(y+"Seconds",2);case a:return d(y+"Milliseconds",3);default:return this.clone()}},g.endOf=function(t){return this.startOf(t,!1)},g.$set=function(t,e){var n,s=T.p(t),r="set"+(this.$u?"UTC":""),c=(n={},n[h]=r+"Date",n[$]=r+"Date",n[f]=r+"Month",n[l]=r+"FullYear",n[u]=r+"Hours",n[o]=r+"Minutes",n[a]=r+"Seconds",n[i]=r+"Milliseconds",n)[s],d=s===h?this.$D+(e-this.$W):e;if(s===f||s===l){var m=this.clone().set($,1);m.$d[c](d),m.init(),this.$d=m.set($,Math.min(this.$D,m.daysInMonth())).$d}else c&&this.$d[c](d);return this.init(),this},g.set=function(t,e){return this.clone().$set(t,e)},g.get=function(t){return this[T.p(t)]()},g.add=function(s,r){var i,d=this;s=Number(s);var $=T.p(r),m=function(t){var e=b(d);return T.w(e.date(e.date()+Math.round(t*s)),d)};if($===f)return this.set(f,this.$M+s);if($===l)return this.set(l,this.$y+s);if($===h)return m(1);if($===c)return m(7);var v=(i={},i[o]=e,i[u]=n,i[a]=t,i)[$]||1,M=this.$d.getTime()+s*v;return T.w(M,this)},g.subtract=function(t,e){return this.add(-1*t,e)},g.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return n.invalidDate||m;var s=t||"YYYY-MM-DDTHH:mm:ssZ",r=T.z(this),i=this.$H,a=this.$m,o=this.$M,u=n.weekdays,h=n.months,c=n.meridiem,f=function(t,n,r,i){return t&&(t[n]||t(e,s))||r[n].slice(0,i)},d=function(t){return T.s(i%12||12,t,"0")},l=c||function(t,e,n){var s=t<12?"AM":"PM";return n?s.toLowerCase():s};return s.replace(M,(function(t,s){return s||function(t){switch(t){case"YY":return String(e.$y).slice(-2);case"YYYY":return T.s(e.$y,4,"0");case"M":return o+1;case"MM":return T.s(o+1,2,"0");case"MMM":return f(n.monthsShort,o,h,3);case"MMMM":return f(h,o);case"D":return e.$D;case"DD":return T.s(e.$D,2,"0");case"d":return String(e.$W);case"dd":return f(n.weekdaysMin,e.$W,u,2);case"ddd":return f(n.weekdaysShort,e.$W,u,3);case"dddd":return u[e.$W];case"H":return String(i);case"HH":return T.s(i,2,"0");case"h":return d(1);case"hh":return d(2);case"a":return l(i,a,!0);case"A":return l(i,a,!1);case"m":return String(a);case"mm":return T.s(a,2,"0");case"s":return String(e.$s);case"ss":return T.s(e.$s,2,"0");case"SSS":return T.s(e.$ms,3,"0");case"Z":return r}return null}(t)||r.replace(":","")}))},g.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},g.diff=function(i,$,m){var v,M=this,y=T.p($),g=b(i),D=(g.utcOffset()-this.utcOffset())*e,p=this-g,S=function(){return T.m(M,g)};switch(y){case l:v=S()/12;break;case f:v=S();break;case d:v=S()/3;break;case c:v=(p-D)/r;break;case h:v=(p-D)/s;break;case u:v=p/n;break;case o:v=p/e;break;case a:v=p/t;break;default:v=p}return m?v:T.a(v)},g.daysInMonth=function(){return this.endOf(f).$D},g.$locale=function(){return S[this.$L]},g.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),s=O(t,e,!0);return s&&(n.$L=s),n},g.clone=function(){return T.w(this.$d,this)},g.toDate=function(){return new Date(this.valueOf())},g.toJSON=function(){return this.isValid()?this.toISOString():null},g.toISOString=function(){return this.$d.toISOString()},g.toString=function(){return this.$d.toUTCString()},y}(),L=k.prototype;b.prototype=L,[["$ms",i],["$s",a],["$m",o],["$H",u],["$W",h],["$M",f],["$y",l],["$D",$]].forEach((function(t){L[t[1]]=function(e){return this.$g(e,t[0],t[1])}})),b.extend=function(t,e){return t.$i||(t(e,k,b),t.$i=!0),b},b.locale=O,b.isDayjs=Y,b.unix=function(t){return b(1e3*t)},b.en=S[p],b.Ls=S,b.p={};var H={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"},x=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,C=/\d/,_=/\d\d/,U=/\d\d?/,A=/\d*[^-_:/,()\s\d]+/,N={},W=function(t){return(t=+t)+(t>68?1900:2e3)};var Z=function(t){return function(e){this[t]=+e}},F=[/[+-]\d\d:?(\d\d)?|Z/,function(t){(this.zone||(this.zone={})).offset=function(t){if(!t)return 0;if("Z"===t)return 0;var e=t.match(/([+-]|\d\d)/g),n=60*e[1]+(+e[2]||0);return 0===n?0:"+"===e[0]?-n:n}(t)}],z=function(t){var e=N[t];return e&&(e.indexOf?e:e.s.concat(e.f))},I=function(t,e){var n,s=N.meridiem;if(s){for(var r=1;r<=24;r+=1)if(t.indexOf(s(r,0,e))>-1){n=r>12;break}}else n=t===(e?"pm":"PM");return n},j={A:[A,function(t){this.afternoon=I(t,!1)}],a:[A,function(t){this.afternoon=I(t,!0)}],Q:[C,function(t){this.month=3*(t-1)+1}],S:[C,function(t){this.milliseconds=100*+t}],SS:[_,function(t){this.milliseconds=10*+t}],SSS:[/\d{3}/,function(t){this.milliseconds=+t}],s:[U,Z("seconds")],ss:[U,Z("seconds")],m:[U,Z("minutes")],mm:[U,Z("minutes")],H:[U,Z("hours")],h:[U,Z("hours")],HH:[U,Z("hours")],hh:[U,Z("hours")],D:[U,Z("day")],DD:[_,Z("day")],Do:[A,function(t){var e=N.ordinal,n=t.match(/\d+/);if(this.day=n[0],e)for(var s=1;s<=31;s+=1)e(s).replace(/\[|\]/g,"")===t&&(this.day=s)}],w:[U,Z("week")],ww:[_,Z("week")],M:[U,Z("month")],MM:[_,Z("month")],MMM:[A,function(t){var e=z("months"),n=(z("monthsShort")||e.map((function(t){return t.slice(0,3)}))).indexOf(t)+1;if(n<1)throw new Error;this.month=n%12||n}],MMMM:[A,function(t){var e=z("months").indexOf(t)+1;if(e<1)throw new Error;this.month=e%12||e}],Y:[/[+-]?\d+/,Z("year")],YY:[_,function(t){this.year=W(t)}],YYYY:[/\d{4}/,Z("year")],Z:F,ZZ:F};function P(t){var e,n;e=t,n=N&&N.formats;for(var s=(t=e.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,e,s){var r=s&&s.toUpperCase();return e||n[s]||H[s]||n[r].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(t,e,n){return e||n.slice(1)}))}))).match(x),r=s.length,i=0;i<r;i+=1){var a=s[i],o=j[a],u=o&&o[0],h=o&&o[1];s[i]=h?{regex:u,parser:h}:a.replace(/^\[|\]$/g,"")}return function(t){for(var e={},n=0,i=0;n<r;n+=1){var a=s[n];if("string"==typeof a)i+=a.length;else{var o=a.regex,u=a.parser,h=t.slice(i),c=o.exec(h)[0];u.call(e,c),t=t.replace(c,"")}}return function(t){var e=t.afternoon;if(void 0!==e){var n=t.hours;e?n<12&&(t.hours+=12):12===n&&(t.hours=0),delete t.afternoon}}(e),e}}var J,E,V=31536e6,Q=2628e6,X=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,q={years:V,months:Q,days:s,hours:n,minutes:e,seconds:t,milliseconds:1,weeks:r},B=function(t){return t instanceof st},G=function(t,e,n){return new st(t,n,e.$l)},K=function(t){return E.p(t)+"s"},R=function(t){return t<0},tt=function(t){return R(t)?Math.ceil(t):Math.floor(t)},et=function(t){return Math.abs(t)},nt=function(t,e){return t?R(t)?{negative:!0,format:""+et(t)+e}:{negative:!1,format:""+t+e}:{negative:!1,format:""}},st=function(){function r(t,e,n){var s=this;if(this.$d={},this.$l=n,void 0===t&&(this.$ms=0,this.parseFromMilliseconds()),e)return G(t*q[K(e)],this);if("number"==typeof t)return this.$ms=t,this.parseFromMilliseconds(),this;if("object"==typeof t)return Object.keys(t).forEach((function(e){s.$d[K(e)]=t[e]})),this.calMilliseconds(),this;if("string"==typeof t){var r=t.match(X);if(r){var i=r.slice(2).map((function(t){return null!=t?Number(t):0}));return this.$d.years=i[0],this.$d.months=i[1],this.$d.weeks=i[2],this.$d.days=i[3],this.$d.hours=i[4],this.$d.minutes=i[5],this.$d.seconds=i[6],this.calMilliseconds(),this}}return this}var i=r.prototype;return i.calMilliseconds=function(){var t=this;this.$ms=Object.keys(this.$d).reduce((function(e,n){return e+(t.$d[n]||0)*q[n]}),0)},i.parseFromMilliseconds=function(){var r=this.$ms;this.$d.years=tt(r/V),r%=V,this.$d.months=tt(r/Q),r%=Q,this.$d.days=tt(r/s),r%=s,this.$d.hours=tt(r/n),r%=n,this.$d.minutes=tt(r/e),r%=e,this.$d.seconds=tt(r/t),r%=t,this.$d.milliseconds=r},i.toISOString=function(){var t=nt(this.$d.years,"Y"),e=nt(this.$d.months,"M"),n=+this.$d.days||0;this.$d.weeks&&(n+=7*this.$d.weeks);var s=nt(n,"D"),r=nt(this.$d.hours,"H"),i=nt(this.$d.minutes,"M"),a=this.$d.seconds||0;this.$d.milliseconds&&(a+=this.$d.milliseconds/1e3,a=Math.round(1e3*a)/1e3);var o=nt(a,"S"),u=t.negative||e.negative||s.negative||r.negative||i.negative||o.negative,h=r.format||i.format||o.format?"T":"",c=(u?"-":"")+"P"+t.format+e.format+s.format+h+r.format+i.format+o.format;return"P"===c||"-P"===c?"P0D":c},i.toJSON=function(){return this.toISOString()},i.format=function(t){var e=t||"YYYY-MM-DDTHH:mm:ss",n={Y:this.$d.years,YY:E.s(this.$d.years,2,"0"),YYYY:E.s(this.$d.years,4,"0"),M:this.$d.months,MM:E.s(this.$d.months,2,"0"),D:this.$d.days,DD:E.s(this.$d.days,2,"0"),H:this.$d.hours,HH:E.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:E.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:E.s(this.$d.seconds,2,"0"),SSS:E.s(this.$d.milliseconds,3,"0")};return e.replace(M,(function(t,e){return e||String(n[t])}))},i.as=function(t){return this.$ms/q[K(t)]},i.get=function(t){var e=this.$ms,n=K(t);return"milliseconds"===n?e%=1e3:e="weeks"===n?tt(e/q[n]):this.$d[n],e||0},i.add=function(t,e,n){var s;return s=e?t*q[K(e)]:B(t)?t.$ms:G(t,this).$ms,G(this.$ms+s*(n?-1:1),this)},i.subtract=function(t,e){return this.add(t,e,!0)},i.locale=function(t){var e=this.clone();return e.$l=t,e},i.clone=function(){return G(this.$ms,this)},i.humanize=function(t){return J().add(this.$ms,"ms").locale(this.$l).fromNow(!t)},i.valueOf=function(){return this.asMilliseconds()},i.milliseconds=function(){return this.get("milliseconds")},i.asMilliseconds=function(){return this.as("milliseconds")},i.seconds=function(){return this.get("seconds")},i.asSeconds=function(){return this.as("seconds")},i.minutes=function(){return this.get("minutes")},i.asMinutes=function(){return this.as("minutes")},i.hours=function(){return this.get("hours")},i.asHours=function(){return this.as("hours")},i.days=function(){return this.get("days")},i.asDays=function(){return this.as("days")},i.weeks=function(){return this.get("weeks")},i.asWeeks=function(){return this.as("weeks")},i.months=function(){return this.get("months")},i.asMonths=function(){return this.as("months")},i.years=function(){return this.get("years")},i.asYears=function(){return this.as("years")},r}(),rt=function(t,e,n){return t.add(e.years()*n,"y").add(e.months()*n,"M").add(e.days()*n,"d").add(e.hours()*n,"h").add(e.minutes()*n,"m").add(e.seconds()*n,"s").add(e.milliseconds()*n,"ms")},it=/[+-]\d\d(?::?\d\d)?/g,at=/([+-]|\d\d)/g;b.extend((function(t,e,n){var s=e.prototype,r=function(t){var e=t.date,s=t.utc;return Array.isArray(e)?s?e.length?new Date(Date.UTC.apply(null,e)):new Date:1===e.length?n(String(e[0])).toDate():new(Function.prototype.bind.apply(Date,[null].concat(e))):e},i=s.parse;s.parse=function(t){t.date=r.bind(this)(t),i.bind(this)(t)}})),b.extend((function(t,e,n){n.p.customParseFormat=!0,t&&t.parseTwoDigitYear&&(W=t.parseTwoDigitYear);var s=e.prototype,r=s.parse;s.parse=function(t){var e=t.date,s=t.utc,i=t.args;this.$u=s;var a=i[1];if("string"==typeof a){var o=!0===i[2],u=!0===i[3],h=o||u,c=i[2];u&&(c=i[2]),N=this.$locale(),!o&&c&&(N=n.Ls[c]),this.$d=function(t,e,n,s){try{if(["x","X"].indexOf(e)>-1)return new Date(("X"===e?1e3:1)*t);var r=P(e)(t),i=r.year,a=r.month,o=r.day,u=r.hours,h=r.minutes,c=r.seconds,f=r.milliseconds,d=r.zone,l=r.week,$=new Date,m=o||(i||a?1:$.getDate()),v=i||$.getFullYear(),M=0;i&&!a||(M=a>0?a-1:$.getMonth());var y,g=u||0,D=h||0,p=c||0,S=f||0;return d?new Date(Date.UTC(v,M,m,g,D,p,S+60*d.offset*1e3)):n?new Date(Date.UTC(v,M,m,g,D,p,S)):(y=new Date(v,M,m,g,D,p,S),l&&(y=s(y).week(l).toDate()),y)}catch(t){return new Date("")}}(e,a,s,n),this.init(),c&&!0!==c&&(this.$L=this.locale(c).$L),h&&e!=this.format(a)&&(this.$d=new Date("")),N={}}else if(a instanceof Array)for(var f=a.length,d=1;d<=f;d+=1){i[1]=a[d-1];var l=n.apply(this,i);if(l.isValid()){this.$d=l.$d,this.$L=l.$L,this.init();break}d===f&&(this.$d=new Date(""))}else r.call(this,t)}})),b.extend((function(t,e,n){J=n,E=n().$utils(),n.duration=function(t,e){var s=n.locale();return G(t,{$l:s},e)},n.isDuration=B;var s=e.prototype.add,r=e.prototype.subtract;e.prototype.add=function(t,e){return B(t)?rt(this,t,1):s.bind(this)(t,e)},e.prototype.subtract=function(t,e){return B(t)?rt(this,t,-1):r.bind(this)(t,e)}})),b.extend((function(t,e,n){n.updateLocale=function(t,e){var s=n.Ls[t];if(s)return(e?Object.keys(e):[]).forEach((function(t){s[t]=e[t]})),s}})),b.extend((function(t,n,s){var r=n.prototype;s.utc=function(t){return new n({date:t,utc:!0,args:arguments})},r.utc=function(t){var e=s(this.toDate(),{locale:this.$L,utc:!0});return t?e.add(this.utcOffset(),o):e},r.local=function(){return s(this.toDate(),{locale:this.$L,utc:!1})};var i=r.parse;r.parse=function(t){t.utc&&(this.$u=!0),this.$utils().u(t.$offset)||(this.$offset=t.$offset),i.call(this,t)};var a=r.init;r.init=function(){if(this.$u){var t=this.$d;this.$y=t.getUTCFullYear(),this.$M=t.getUTCMonth(),this.$D=t.getUTCDate(),this.$W=t.getUTCDay(),this.$H=t.getUTCHours(),this.$m=t.getUTCMinutes(),this.$s=t.getUTCSeconds(),this.$ms=t.getUTCMilliseconds()}else a.call(this)};var u=r.utcOffset;r.utcOffset=function(t,e){var n=this.$utils().u;if(n(t))return this.$u?0:n(this.$offset)?u.call(this):this.$offset;if("string"==typeof t&&(t=function(t){void 0===t&&(t="");var e=t.match(it);if(!e)return null;var n=(""+e[0]).match(at)||["-",0,0],s=n[0],r=60*+n[1]+ +n[2];return 0===r?0:"+"===s?r:-r}(t),null===t))return this;var s=Math.abs(t)<=16?60*t:t,r=this;if(e)return r.$offset=s,r.$u=0===t,r;if(0!==t){var i=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(r=this.local().add(s+i,o)).$offset=s,r.$x.$localOffset=i}else r=this.utc();return r};var h=r.format;r.format=function(t){var e=t||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return h.call(this,e)},r.valueOf=function(){var t=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-t*e},r.isUTC=function(){return!!this.$u},r.toISOString=function(){return this.toDate().toISOString()},r.toString=function(){return this.toDate().toUTCString()};var c=r.toDate;r.toDate=function(t){return"s"===t&&this.$offset?s(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():c.call(this)};var f=r.diff;r.diff=function(t,e,n){if(t&&this.$u===t.$u)return f.call(this,t,e,n);var r=this.local(),i=s(t).local();return f.call(r,i,e,n)}}));const ot=Joomla.getOptions("DPCalendar.calendar.names");ot&&b.updateLocale("en",{months:ot.monthNames,monthsShort:ot.monthNamesShort,weekdays:ot.dayNames,weekdaysShort:ot.dayNamesShort,weekdaysMin:ot.dayNamesMin});export{b as default};