1 line
201 KiB
JavaScript
1 line
201 KiB
JavaScript
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7272],{381:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});let i=(0,n(19946).A)("Settings",[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]])},1599:(e,t,n)=>{"use strict";n.d(t,{o:()=>r});var i=n(23327);function r(e,t){let n=(0,i.a)(e,null==t?void 0:t.in);return n.setHours(0,0,0,0),n}},5222:(e,t,n)=>{"use strict";n.d(t,{t:()=>r});var i=n(79447);function r(e,t,n){let[r,s]=(0,i.x)(null==n?void 0:n.in,e,t);return r.getFullYear()===s.getFullYear()&&r.getMonth()===s.getMonth()}},5461:(e,t,n)=>{"use strict";n.d(t,{w:()=>s});var i=n(79447),r=n(16294);function s(e,t,n){let[s,a]=(0,i.x)(null==n?void 0:n.in,e,t);return 4*(s.getFullYear()-a.getFullYear())+((0,r.F)(s)-(0,r.F)(a))}},6455:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var i=n(63039),r=n(23327);function s(e,t,n){return(0,i.w)((null==n?void 0:n.in)||e,+(0,r.a)(e)+t)}},6942:(e,t,n)=>{"use strict";n.d(t,{qg:()=>ey});var i=n(45279),r=n(51220),s=n(33317),a=n(63039),o=n(50826),l=n(23327);class d{validate(e,t){return!0}constructor(){this.subPriority=0}}class c extends d{validate(e,t){return this.validateValue(e,this.value,t)}set(e,t,n){return this.setValue(e,t,this.value,n)}constructor(e,t,n,i,r){super(),this.value=e,this.validateValue=t,this.setValue=n,this.priority=i,r&&(this.subPriority=r)}}class u extends d{set(e,t){return t.timestampIsSet?e:(0,a.w)(e,function(e,t){var n,i;let r="function"==typeof(n=t)&&(null==(i=n.prototype)?void 0:i.constructor)===n?new t(0):(0,a.w)(t,0);return r.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),r.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),r}(e,this.context))}constructor(e,t){super(),this.priority=10,this.subPriority=-1,this.context=e||(e=>(0,a.w)(t,e))}}class h{run(e,t,n,i){let r=this.parse(e,t,n,i);return r?{setter:new c(r.value,this.validate,this.set,this.priority,this.subPriority),rest:r.rest}:null}validate(e,t,n){return!0}}class f extends h{parse(e,t,n){switch(t){case"G":case"GG":case"GGG":return n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"});case"GGGGG":return n.era(e,{width:"narrow"});default:return n.era(e,{width:"wide"})||n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"})}}set(e,t,n){return t.era=n,e.setFullYear(n,0,1),e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=140,this.incompatibleTokens=["R","u","t","T"]}}var g=n(44783);let p={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},m={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function v(e,t){return e?{value:t(e.value),rest:e.rest}:e}function b(e,t){let n=t.match(e);return n?{value:parseInt(n[0],10),rest:t.slice(n[0].length)}:null}function y(e,t){let n=t.match(e);if(!n)return null;if("Z"===n[0])return{value:0,rest:t.slice(1)};let i="+"===n[1]?1:-1,r=n[2]?parseInt(n[2],10):0,s=n[3]?parseInt(n[3],10):0,a=n[5]?parseInt(n[5],10):0;return{value:i*(r*g.s0+s*g.Cg+a*g._m),rest:t.slice(n[0].length)}}function w(e){return b(p.anyDigitsSigned,e)}function _(e,t){switch(e){case 1:return b(p.singleDigit,t);case 2:return b(p.twoDigits,t);case 3:return b(p.threeDigits,t);case 4:return b(p.fourDigits,t);default:return b(RegExp("^\\d{1,"+e+"}"),t)}}function S(e,t){switch(e){case 1:return b(p.singleDigitSigned,t);case 2:return b(p.twoDigitsSigned,t);case 3:return b(p.threeDigitsSigned,t);case 4:return b(p.fourDigitsSigned,t);default:return b(RegExp("^-?\\d{1,"+e+"}"),t)}}function E(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}}function x(e,t){let n,i=t>0,r=i?t:1-t;if(r<=50)n=e||100;else{let t=r+50;n=e+100*Math.trunc(t/100)-100*(e>=t%100)}return i?n:1-n}function D(e){return e%400==0||e%4==0&&e%100!=0}class R extends h{parse(e,t,n){let i=e=>({year:e,isTwoDigitYear:"yy"===t});switch(t){case"y":return v(_(4,e),i);case"yo":return v(n.ordinalNumber(e,{unit:"year"}),i);default:return v(_(t.length,e),i)}}validate(e,t){return t.isTwoDigitYear||t.year>0}set(e,t,n){let i=e.getFullYear();if(n.isTwoDigitYear){let t=x(n.year,i);return e.setFullYear(t,0,1),e.setHours(0,0,0,0),e}let r="era"in t&&1!==t.era?1-n.year:n.year;return e.setFullYear(r,0,1),e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=130,this.incompatibleTokens=["Y","R","u","w","I","i","e","c","t","T"]}}var T=n(35307),C=n(20735);class k extends h{parse(e,t,n){let i=e=>({year:e,isTwoDigitYear:"YY"===t});switch(t){case"Y":return v(_(4,e),i);case"Yo":return v(n.ordinalNumber(e,{unit:"year"}),i);default:return v(_(t.length,e),i)}}validate(e,t){return t.isTwoDigitYear||t.year>0}set(e,t,n,i){let r=(0,T.h)(e,i);if(n.isTwoDigitYear){let t=x(n.year,r);return e.setFullYear(t,0,i.firstWeekContainsDate),e.setHours(0,0,0,0),(0,C.k)(e,i)}let s="era"in t&&1!==t.era?1-n.year:n.year;return e.setFullYear(s,0,i.firstWeekContainsDate),e.setHours(0,0,0,0),(0,C.k)(e,i)}constructor(...e){super(...e),this.priority=130,this.incompatibleTokens=["y","R","u","Q","q","M","L","I","d","D","i","t","T"]}}var M=n(52372);class P extends h{parse(e,t){return"R"===t?S(4,e):S(t.length,e)}set(e,t,n){let i=(0,a.w)(e,0);return i.setFullYear(n,0,4),i.setHours(0,0,0,0),(0,M.b)(i)}constructor(...e){super(...e),this.priority=130,this.incompatibleTokens=["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]}}class O extends h{parse(e,t){return"u"===t?S(4,e):S(t.length,e)}set(e,t,n){return e.setFullYear(n,0,1),e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=130,this.incompatibleTokens=["G","y","Y","R","w","I","i","e","c","t","T"]}}class H extends h{parse(e,t,n){switch(t){case"Q":case"QQ":return _(t.length,e);case"Qo":return n.ordinalNumber(e,{unit:"quarter"});case"QQQ":return n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return n.quarter(e,{width:"narrow",context:"formatting"});default:return n.quarter(e,{width:"wide",context:"formatting"})||n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=1&&t<=4}set(e,t,n){return e.setMonth((n-1)*3,1),e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=120,this.incompatibleTokens=["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]}}class N extends h{parse(e,t,n){switch(t){case"q":case"qq":return _(t.length,e);case"qo":return n.ordinalNumber(e,{unit:"quarter"});case"qqq":return n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return n.quarter(e,{width:"narrow",context:"standalone"});default:return n.quarter(e,{width:"wide",context:"standalone"})||n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=1&&t<=4}set(e,t,n){return e.setMonth((n-1)*3,1),e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=120,this.incompatibleTokens=["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]}}class I extends h{parse(e,t,n){let i=e=>e-1;switch(t){case"M":return v(b(p.month,e),i);case"MM":return v(_(2,e),i);case"Mo":return v(n.ordinalNumber(e,{unit:"month"}),i);case"MMM":return n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return n.month(e,{width:"narrow",context:"formatting"});default:return n.month(e,{width:"wide",context:"formatting"})||n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=11}set(e,t,n){return e.setMonth(n,1),e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.incompatibleTokens=["Y","R","q","Q","L","w","I","D","i","e","c","t","T"],this.priority=110}}class A extends h{parse(e,t,n){let i=e=>e-1;switch(t){case"L":return v(b(p.month,e),i);case"LL":return v(_(2,e),i);case"Lo":return v(n.ordinalNumber(e,{unit:"month"}),i);case"LLL":return n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return n.month(e,{width:"narrow",context:"standalone"});default:return n.month(e,{width:"wide",context:"standalone"})||n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=0&&t<=11}set(e,t,n){return e.setMonth(n,1),e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=110,this.incompatibleTokens=["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]}}var j=n(11770);class W extends h{parse(e,t,n){switch(t){case"w":return b(p.week,e);case"wo":return n.ordinalNumber(e,{unit:"week"});default:return _(t.length,e)}}validate(e,t){return t>=1&&t<=53}set(e,t,n,i){return(0,C.k)(function(e,t,n){let i=(0,l.a)(e,null==n?void 0:n.in),r=(0,j.N)(i,n)-t;return i.setDate(i.getDate()-7*r),(0,l.a)(i,null==n?void 0:n.in)}(e,n,i),i)}constructor(...e){super(...e),this.priority=100,this.incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","i","t","T"]}}var z=n(38575);class F extends h{parse(e,t,n){switch(t){case"I":return b(p.week,e);case"Io":return n.ordinalNumber(e,{unit:"week"});default:return _(t.length,e)}}validate(e,t){return t>=1&&t<=53}set(e,t,n){return(0,M.b)(function(e,t,n){let i=(0,l.a)(e,void 0),r=(0,z.s)(i,void 0)-t;return i.setDate(i.getDate()-7*r),i}(e,n))}constructor(...e){super(...e),this.priority=100,this.incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]}}let L=[31,28,31,30,31,30,31,31,30,31,30,31],V=[31,29,31,30,31,30,31,31,30,31,30,31];class Y extends h{parse(e,t,n){switch(t){case"d":return b(p.date,e);case"do":return n.ordinalNumber(e,{unit:"date"});default:return _(t.length,e)}}validate(e,t){let n=D(e.getFullYear()),i=e.getMonth();return n?t>=1&&t<=V[i]:t>=1&&t<=L[i]}set(e,t,n){return e.setDate(n),e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=90,this.subPriority=1,this.incompatibleTokens=["Y","R","q","Q","w","I","D","i","e","c","t","T"]}}class q extends h{parse(e,t,n){switch(t){case"D":case"DD":return b(p.dayOfYear,e);case"Do":return n.ordinalNumber(e,{unit:"date"});default:return _(t.length,e)}}validate(e,t){return D(e.getFullYear())?t>=1&&t<=366:t>=1&&t<=365}set(e,t,n){return e.setMonth(0,n),e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=90,this.subpriority=1,this.incompatibleTokens=["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]}}var U=n(7954);function G(e,t,n){var i,r,s,a,d,c,u,h;let f=(0,o.q)(),g=null!=(h=null!=(u=null!=(c=null!=(d=null==n?void 0:n.weekStartsOn)?d:null==n||null==(r=n.locale)||null==(i=r.options)?void 0:i.weekStartsOn)?c:f.weekStartsOn)?u:null==(a=f.locale)||null==(s=a.options)?void 0:s.weekStartsOn)?h:0,p=(0,l.a)(e,null==n?void 0:n.in),m=p.getDay(),v=7-g,b=t<0||t>6?t-(m+v)%7:((t%7+7)%7+v)%7-(m+v)%7;return(0,U.f)(p,b,n)}class B extends h{parse(e,t,n){switch(t){case"E":case"EE":case"EEE":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return n.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=6}set(e,t,n,i){return(e=G(e,n,i)).setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=90,this.incompatibleTokens=["D","i","e","c","t","T"]}}class X extends h{parse(e,t,n,i){let r=e=>{let t=7*Math.floor((e-1)/7);return(e+i.weekStartsOn+6)%7+t};switch(t){case"e":case"ee":return v(_(t.length,e),r);case"eo":return v(n.ordinalNumber(e,{unit:"day"}),r);case"eee":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"eeeee":return n.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=6}set(e,t,n,i){return(e=G(e,n,i)).setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=90,this.incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]}}class Q extends h{parse(e,t,n,i){let r=e=>{let t=7*Math.floor((e-1)/7);return(e+i.weekStartsOn+6)%7+t};switch(t){case"c":case"cc":return v(_(t.length,e),r);case"co":return v(n.ordinalNumber(e,{unit:"day"}),r);case"ccc":return n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});case"ccccc":return n.day(e,{width:"narrow",context:"standalone"});case"cccccc":return n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});default:return n.day(e,{width:"wide",context:"standalone"})||n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=0&&t<=6}set(e,t,n,i){return(e=G(e,n,i)).setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=90,this.incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]}}class Z extends h{parse(e,t,n){let i=e=>0===e?7:e;switch(t){case"i":case"ii":return _(t.length,e);case"io":return n.ordinalNumber(e,{unit:"day"});case"iii":return v(n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),i);case"iiiii":return v(n.day(e,{width:"narrow",context:"formatting"}),i);case"iiiiii":return v(n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),i);default:return v(n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),i)}}validate(e,t){return t>=1&&t<=7}set(e,t,n){return(e=function(e,t,n){let i=(0,l.a)(e,void 0),r=function(e,t){let n=(0,l.a)(e,null==t?void 0:t.in).getDay();return 0===n?7:n}(i,void 0);return(0,U.f)(i,t-r,n)}(e,n)).setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=90,this.incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]}}class $ extends h{parse(e,t,n){switch(t){case"a":case"aa":case"aaa":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaaa":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,n){return e.setHours(E(n),0,0,0),e}constructor(...e){super(...e),this.priority=80,this.incompatibleTokens=["b","B","H","k","t","T"]}}class K extends h{parse(e,t,n){switch(t){case"b":case"bb":case"bbb":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbbb":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,n){return e.setHours(E(n),0,0,0),e}constructor(...e){super(...e),this.priority=80,this.incompatibleTokens=["a","B","H","k","t","T"]}}class J extends h{parse(e,t,n){switch(t){case"B":case"BB":case"BBB":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBBB":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,n){return e.setHours(E(n),0,0,0),e}constructor(...e){super(...e),this.priority=80,this.incompatibleTokens=["a","b","t","T"]}}class ee extends h{parse(e,t,n){switch(t){case"h":return b(p.hour12h,e);case"ho":return n.ordinalNumber(e,{unit:"hour"});default:return _(t.length,e)}}validate(e,t){return t>=1&&t<=12}set(e,t,n){let i=e.getHours()>=12;return i&&n<12?e.setHours(n+12,0,0,0):i||12!==n?e.setHours(n,0,0,0):e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=70,this.incompatibleTokens=["H","K","k","t","T"]}}class et extends h{parse(e,t,n){switch(t){case"H":return b(p.hour23h,e);case"Ho":return n.ordinalNumber(e,{unit:"hour"});default:return _(t.length,e)}}validate(e,t){return t>=0&&t<=23}set(e,t,n){return e.setHours(n,0,0,0),e}constructor(...e){super(...e),this.priority=70,this.incompatibleTokens=["a","b","h","K","k","t","T"]}}class en extends h{parse(e,t,n){switch(t){case"K":return b(p.hour11h,e);case"Ko":return n.ordinalNumber(e,{unit:"hour"});default:return _(t.length,e)}}validate(e,t){return t>=0&&t<=11}set(e,t,n){return e.getHours()>=12&&n<12?e.setHours(n+12,0,0,0):e.setHours(n,0,0,0),e}constructor(...e){super(...e),this.priority=70,this.incompatibleTokens=["h","H","k","t","T"]}}class ei extends h{parse(e,t,n){switch(t){case"k":return b(p.hour24h,e);case"ko":return n.ordinalNumber(e,{unit:"hour"});default:return _(t.length,e)}}validate(e,t){return t>=1&&t<=24}set(e,t,n){return e.setHours(n<=24?n%24:n,0,0,0),e}constructor(...e){super(...e),this.priority=70,this.incompatibleTokens=["a","b","h","H","K","t","T"]}}class er extends h{parse(e,t,n){switch(t){case"m":return b(p.minute,e);case"mo":return n.ordinalNumber(e,{unit:"minute"});default:return _(t.length,e)}}validate(e,t){return t>=0&&t<=59}set(e,t,n){return e.setMinutes(n,0,0),e}constructor(...e){super(...e),this.priority=60,this.incompatibleTokens=["t","T"]}}class es extends h{parse(e,t,n){switch(t){case"s":return b(p.second,e);case"so":return n.ordinalNumber(e,{unit:"second"});default:return _(t.length,e)}}validate(e,t){return t>=0&&t<=59}set(e,t,n){return e.setSeconds(n,0),e}constructor(...e){super(...e),this.priority=50,this.incompatibleTokens=["t","T"]}}class ea extends h{parse(e,t){return v(_(t.length,e),e=>Math.trunc(e*Math.pow(10,-t.length+3)))}set(e,t,n){return e.setMilliseconds(n),e}constructor(...e){super(...e),this.priority=30,this.incompatibleTokens=["t","T"]}}var eo=n(87292);class el extends h{parse(e,t){switch(t){case"X":return y(m.basicOptionalMinutes,e);case"XX":return y(m.basic,e);case"XXXX":return y(m.basicOptionalSeconds,e);case"XXXXX":return y(m.extendedOptionalSeconds,e);default:return y(m.extended,e)}}set(e,t,n){return t.timestampIsSet?e:(0,a.w)(e,e.getTime()-(0,eo.G)(e)-n)}constructor(...e){super(...e),this.priority=10,this.incompatibleTokens=["t","T","x"]}}class ed extends h{parse(e,t){switch(t){case"x":return y(m.basicOptionalMinutes,e);case"xx":return y(m.basic,e);case"xxxx":return y(m.basicOptionalSeconds,e);case"xxxxx":return y(m.extendedOptionalSeconds,e);default:return y(m.extended,e)}}set(e,t,n){return t.timestampIsSet?e:(0,a.w)(e,e.getTime()-(0,eo.G)(e)-n)}constructor(...e){super(...e),this.priority=10,this.incompatibleTokens=["t","T","X"]}}class ec extends h{parse(e){return w(e)}set(e,t,n){return[(0,a.w)(e,1e3*n),{timestampIsSet:!0}]}constructor(...e){super(...e),this.priority=40,this.incompatibleTokens="*"}}class eu extends h{parse(e){return w(e)}set(e,t,n){return[(0,a.w)(e,n),{timestampIsSet:!0}]}constructor(...e){super(...e),this.priority=20,this.incompatibleTokens="*"}}let eh={G:new f,y:new R,Y:new k,R:new P,u:new O,Q:new H,q:new N,M:new I,L:new A,w:new W,I:new F,d:new Y,D:new q,E:new B,e:new X,c:new Q,i:new Z,a:new $,b:new K,B:new J,h:new ee,H:new et,K:new en,k:new ei,m:new er,s:new es,S:new ea,X:new el,x:new ed,t:new ec,T:new eu},ef=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,eg=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,ep=/^'([^]*?)'?$/,em=/''/g,ev=/\S/,eb=/[a-zA-Z]/;function ey(e,t,n,d){var c,h,f,g,p,m,v,b,y,w,_,S,E,x,D,R,T,C;let k=()=>(0,a.w)((null==d?void 0:d.in)||n,NaN),M=Object.assign({},(0,o.q)()),P=null!=(w=null!=(y=null==d?void 0:d.locale)?y:M.locale)?w:i.c,O=null!=(x=null!=(E=null!=(S=null!=(_=null==d?void 0:d.firstWeekContainsDate)?_:null==d||null==(h=d.locale)||null==(c=h.options)?void 0:c.firstWeekContainsDate)?S:M.firstWeekContainsDate)?E:null==(g=M.locale)||null==(f=g.options)?void 0:f.firstWeekContainsDate)?x:1,H=null!=(C=null!=(T=null!=(R=null!=(D=null==d?void 0:d.weekStartsOn)?D:null==d||null==(m=d.locale)||null==(p=m.options)?void 0:p.weekStartsOn)?R:M.weekStartsOn)?T:null==(b=M.locale)||null==(v=b.options)?void 0:v.weekStartsOn)?C:0;if(!t)return e?k():(0,l.a)(n,null==d?void 0:d.in);let N={firstWeekContainsDate:O,weekStartsOn:H,locale:P},I=[new u(null==d?void 0:d.in,n)],A=t.match(eg).map(e=>{let t=e[0];return t in r.m?(0,r.m[t])(e,P.formatLong):e}).join("").match(ef),j=[];for(let n of A){!(null==d?void 0:d.useAdditionalWeekYearTokens)&&(0,s.xM)(n)&&(0,s.Ss)(n,t,e),!(null==d?void 0:d.useAdditionalDayOfYearTokens)&&(0,s.ef)(n)&&(0,s.Ss)(n,t,e);let i=n[0],r=eh[i];if(r){let{incompatibleTokens:t}=r;if(Array.isArray(t)){let e=j.find(e=>t.includes(e.token)||e.token===i);if(e)throw RangeError("The format string mustn't contain `".concat(e.fullToken,"` and `").concat(n,"` at the same time"))}else if("*"===r.incompatibleTokens&&j.length>0)throw RangeError("The format string mustn't contain `".concat(n,"` and any other token at the same time"));j.push({token:i,fullToken:n});let s=r.run(e,n,P.match,N);if(!s)return k();I.push(s.setter),e=s.rest}else{if(i.match(eb))throw RangeError("Format string contains an unescaped latin alphabet character `"+i+"`");if("''"===n?n="'":"'"===i&&(n=n.match(ep)[1].replace(em,"'")),0!==e.indexOf(n))return k();e=e.slice(n.length)}}if(e.length>0&&ev.test(e))return k();let W=I.map(e=>e.priority).sort((e,t)=>t-e).filter((e,t,n)=>n.indexOf(e)===t).map(e=>I.filter(t=>t.priority===e).sort((e,t)=>t.subPriority-e.subPriority)).map(e=>e[0]),z=(0,l.a)(n,null==d?void 0:d.in);if(isNaN(+z))return k();let F={};for(let e of W){if(!e.validate(z,N))return k();let t=e.set(z,F,N);Array.isArray(t)?(z=t[0],Object.assign(F,t[1])):z=t}return z}},7954:(e,t,n)=>{"use strict";n.d(t,{f:()=>s});var i=n(63039),r=n(23327);function s(e,t,n){let s=(0,r.a)(e,null==n?void 0:n.in);return isNaN(t)?(0,i.w)((null==n?void 0:n.in)||e,NaN):(t&&s.setDate(s.getDate()+t),s)}},8079:(e,t,n)=>{"use strict";n.d(t,{m:()=>o});var i=n(87292),r=n(79447),s=n(44783),a=n(1599);function o(e,t,n){let[o,l]=(0,r.x)(null==n?void 0:n.in,e,t),d=(0,a.o)(o),c=(0,a.o)(l);return Math.round((d-(0,i.G)(d)-(c-(0,i.G)(c)))/s.w4)}},11059:(e,t,n)=>{"use strict";n.d(t,{g:()=>r});var i=n(23327);function r(e,t,n){let r=(0,i.a)(e,null==n?void 0:n.in);return r.setMinutes(t),r}},11770:(e,t,n)=>{"use strict";n.d(t,{N:()=>d});var i=n(44783),r=n(20735),s=n(50826),a=n(63039),o=n(35307),l=n(23327);function d(e,t){let n=(0,l.a)(e,null==t?void 0:t.in);return Math.round(((0,r.k)(n,t)-function(e,t){var n,i,l,d,c,u,h,f;let g=(0,s.q)(),p=null!=(f=null!=(h=null!=(u=null!=(c=null==t?void 0:t.firstWeekContainsDate)?c:null==t||null==(i=t.locale)||null==(n=i.options)?void 0:n.firstWeekContainsDate)?u:g.firstWeekContainsDate)?h:null==(d=g.locale)||null==(l=d.options)?void 0:l.firstWeekContainsDate)?f:1,m=(0,o.h)(e,t),v=(0,a.w)((null==t?void 0:t.in)||e,0);return v.setFullYear(m,0,p),v.setHours(0,0,0,0),(0,r.k)(v,t)}(n,t))/i.my)+1}},11936:(e,t,n)=>{"use strict";n.d(t,{FK:()=>w,Ob:()=>j,Qv:()=>A,XX:()=>I,_3:()=>y,fF:()=>r,n:()=>v,q6:()=>W,uA:()=>D,v2:()=>function e(t,n){return n=n||[],null==t||"boolean"==typeof t||(Array.isArray(t)?t.some(function(t){e(t,n)}):n.push(t)),n},zO:()=>a});var i,r,s,a,o,l,d,c,u,h={},f=[],g=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function p(e,t){for(var n in t)e[n]=t[n];return e}function m(e){var t=e.parentNode;t&&t.removeChild(e)}function v(e,t,n){var r,s,a,o={};for(a in t)"key"==a?r=t[a]:"ref"==a?s=t[a]:o[a]=t[a];if(arguments.length>2&&(o.children=arguments.length>3?i.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(a in e.defaultProps)void 0===o[a]&&(o[a]=e.defaultProps[a]);return b(e,o,r,s,null)}function b(e,t,n,i,a){var o={type:e,props:t,key:n,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==a?++s:a};return null==a&&null!=r.vnode&&r.vnode(o),o}function y(){return{current:null}}function w(e){return e.children}function _(e,t,n){"-"===t[0]?e.setProperty(t,null==n?"":n):e[t]=null==n?"":"number"!=typeof n||g.test(t)?n:n+"px"}function S(e,t,n,i,r){var s;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof i&&(e.style.cssText=i=""),i)for(t in i)n&&t in n||_(e.style,t,"");if(n)for(t in n)i&&n[t]===i[t]||_(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])s=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+s]=n,n?i||e.addEventListener(t,s?x:E,s):e.removeEventListener(t,s?x:E,s);else if("dangerouslySetInnerHTML"!==t){if(r)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!==t&&"height"!==t&&"href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null==n||!1===n&&-1==t.indexOf("-")?e.removeAttribute(t):e.setAttribute(t,n))}}function E(e){o=!0;try{return this.l[e.type+!1](r.event?r.event(e):e)}finally{o=!1}}function x(e){o=!0;try{return this.l[e.type+!0](r.event?r.event(e):e)}finally{o=!1}}function D(e,t){this.props=e,this.context=t}function R(e,t){if(null==t)return e.__?R(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?R(e):null}function T(e){(!e.__d&&(e.__d=!0)&&l.push(e)&&!C.__r++||d!==r.debounceRendering)&&((d=r.debounceRendering)||function(e){o?setTimeout(e):c(e)})(C)}function C(){var e,t,n,i,r,s,a,o;for(l.sort(function(e,t){return e.__v.__b-t.__v.__b});e=l.shift();)e.__d&&(t=l.length,i=void 0,r=void 0,a=(s=(n=e).__v).__e,(o=n.__P)&&(i=[],(r=p({},s)).__v=s.__v+1,P(o,s,r,n.__n,void 0!==o.ownerSVGElement,null!=s.__h?[a]:null,i,null==a?R(s):a,s.__h),O(i,s),s.__e!=a&&function e(t){var n,i;if(null!=(t=t.__)&&null!=t.__c){for(t.__e=t.__c.base=null,n=0;n<t.__k.length;n++)if(null!=(i=t.__k[n])&&null!=i.__e){t.__e=t.__c.base=i.__e;break}return e(t)}}(s)),l.length>t&&l.sort(function(e,t){return e.__v.__b-t.__v.__b}));C.__r=0}function k(e,t,n,i,s,a,o,l,d,c){var u,g,p,v,y,_,S,E=i&&i.__k||f,x=E.length;for(n.__k=[],u=0;u<t.length;u++)if(null!=(v=n.__k[u]=null==(v=t[u])||"boolean"==typeof v?null:"string"==typeof v||"number"==typeof v||"bigint"==typeof v?b(null,v,null,null,v):Array.isArray(v)?b(w,{children:v},null,null,null):v.__b>0?b(v.type,v.props,v.key,v.ref?v.ref:null,v.__v):v)){if(v.__=n,v.__b=n.__b+1,null===(p=E[u])||p&&v.key==p.key&&v.type===p.type)E[u]=void 0;else for(g=0;g<x;g++){if((p=E[g])&&v.key==p.key&&v.type===p.type){E[g]=void 0;break}p=null}P(e,v,p=p||h,s,a,o,l,d,c),y=v.__e,(g=v.ref)&&p.ref!=g&&(S||(S=[]),p.ref&&S.push(p.ref,null,v),S.push(g,v.__c||y,v)),null!=y?(null==_&&(_=y),"function"==typeof v.type&&v.__k===p.__k?v.__d=d=function e(t,n,i){for(var r,s=t.__k,a=0;s&&a<s.length;a++)(r=s[a])&&(r.__=t,n="function"==typeof r.type?e(r,n,i):M(i,r,r,s,r.__e,n));return n}(v,d,e):d=M(e,v,p,E,y,d),"function"==typeof n.type&&(n.__d=d)):d&&p.__e==d&&d.parentNode!=e&&(d=R(p))}for(n.__e=_,u=x;u--;)null!=E[u]&&("function"==typeof n.type&&null!=E[u].__e&&E[u].__e==n.__d&&(n.__d=function e(t){var n,i,r;if(null==t.type||"string"==typeof t.type)return t.__e;if(t.__k){for(n=t.__k.length-1;n>=0;n--)if((i=t.__k[n])&&(r=e(i)))return r}return null}(i).nextSibling),function e(t,n,i){var s,a;if(r.unmount&&r.unmount(t),(s=t.ref)&&(s.current&&s.current!==t.__e||H(s,null,n)),null!=(s=t.__c)){if(s.componentWillUnmount)try{s.componentWillUnmount()}catch(e){r.__e(e,n)}s.base=s.__P=null,t.__c=void 0}if(s=t.__k)for(a=0;a<s.length;a++)s[a]&&e(s[a],n,i||"function"!=typeof t.type);i||null==t.__e||m(t.__e),t.__=t.__e=t.__d=void 0}(E[u],E[u]));if(S)for(u=0;u<S.length;u++)H(S[u],S[++u],S[++u])}function M(e,t,n,i,r,s){var a,o,l;if(void 0!==t.__d)a=t.__d,t.__d=void 0;else if(null==n||r!=s||null==r.parentNode)e:if(null==s||s.parentNode!==e)e.appendChild(r),a=null;else{for(o=s,l=0;(o=o.nextSibling)&&l<i.length;l+=1)if(o==r)break e;e.insertBefore(r,s),a=s}return void 0!==a?a:r.nextSibling}function P(e,t,n,s,a,o,l,d,c){var u,f,g,v,b,y,_,E,x,T,C,M,P,O,H,I=t.type;if(void 0!==t.constructor)return null;null!=n.__h&&(c=n.__h,d=t.__e=n.__e,t.__h=null,o=[d]),(u=r.__b)&&u(t);try{e:if("function"==typeof I){if(E=t.props,x=(u=I.contextType)&&s[u.__c],T=u?x?x.props.value:u.__:s,n.__c?_=(f=t.__c=n.__c).__=f.__E:("prototype"in I&&I.prototype.render?t.__c=f=new I(E,T):(t.__c=f=new D(E,T),f.constructor=I,f.render=N),x&&x.sub(f),f.props=E,f.state||(f.state={}),f.context=T,f.__n=s,g=f.__d=!0,f.__h=[],f._sb=[]),null==f.__s&&(f.__s=f.state),null!=I.getDerivedStateFromProps&&(f.__s==f.state&&(f.__s=p({},f.__s)),p(f.__s,I.getDerivedStateFromProps(E,f.__s))),v=f.props,b=f.state,f.__v=t,g)null==I.getDerivedStateFromProps&&null!=f.componentWillMount&&f.componentWillMount(),null!=f.componentDidMount&&f.__h.push(f.componentDidMount);else{if(null==I.getDerivedStateFromProps&&E!==v&&null!=f.componentWillReceiveProps&&f.componentWillReceiveProps(E,T),!f.__e&&null!=f.shouldComponentUpdate&&!1===f.shouldComponentUpdate(E,f.__s,T)||t.__v===n.__v){for(t.__v!==n.__v&&(f.props=E,f.state=f.__s,f.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.forEach(function(e){e&&(e.__=t)}),C=0;C<f._sb.length;C++)f.__h.push(f._sb[C]);f._sb=[],f.__h.length&&l.push(f);break e}null!=f.componentWillUpdate&&f.componentWillUpdate(E,f.__s,T),null!=f.componentDidUpdate&&f.__h.push(function(){f.componentDidUpdate(v,b,y)})}if(f.context=T,f.props=E,f.__P=e,M=r.__r,P=0,"prototype"in I&&I.prototype.render){for(f.state=f.__s,f.__d=!1,M&&M(t),u=f.render(f.props,f.state,f.context),O=0;O<f._sb.length;O++)f.__h.push(f._sb[O]);f._sb=[]}else do f.__d=!1,M&&M(t),u=f.render(f.props,f.state,f.context),f.state=f.__s;while(f.__d&&++P<25);f.state=f.__s,null!=f.getChildContext&&(s=p(p({},s),f.getChildContext())),g||null==f.getSnapshotBeforeUpdate||(y=f.getSnapshotBeforeUpdate(v,b)),H=null!=u&&u.type===w&&null==u.key?u.props.children:u,k(e,Array.isArray(H)?H:[H],t,n,s,a,o,l,d,c),f.base=t.__e,t.__h=null,f.__h.length&&l.push(f),_&&(f.__E=f.__=null),f.__e=!1}else null==o&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=function(e,t,n,r,s,a,o,l){var d,c,u,f=n.props,g=t.props,p=t.type,v=0;if("svg"===p&&(s=!0),null!=a){for(;v<a.length;v++)if((d=a[v])&&"setAttribute"in d==!!p&&(p?d.localName===p:3===d.nodeType)){e=d,a[v]=null;break}}if(null==e){if(null===p)return document.createTextNode(g);e=s?document.createElementNS("http://www.w3.org/2000/svg",p):document.createElement(p,g.is&&g),a=null,l=!1}if(null===p)f===g||l&&e.data===g||(e.data=g);else{if(a=a&&i.call(e.childNodes),c=(f=n.props||h).dangerouslySetInnerHTML,u=g.dangerouslySetInnerHTML,!l){if(null!=a)for(f={},v=0;v<e.attributes.length;v++)f[e.attributes[v].name]=e.attributes[v].value;(u||c)&&(u&&(c&&u.__html==c.__html||u.__html===e.innerHTML)||(e.innerHTML=u&&u.__html||""))}if(function(e,t,n,i,r){var s;for(s in n)"children"===s||"key"===s||s in t||S(e,s,null,n[s],i);for(s in t)r&&"function"!=typeof t[s]||"children"===s||"key"===s||"value"===s||"checked"===s||n[s]===t[s]||S(e,s,t[s],n[s],i)}(e,g,f,s,l),u)t.__k=[];else if(k(e,Array.isArray(v=t.props.children)?v:[v],t,n,r,s&&"foreignObject"!==p,a,o,a?a[0]:n.__k&&R(n,0),l),null!=a)for(v=a.length;v--;)null!=a[v]&&m(a[v]);l||("value"in g&&void 0!==(v=g.value)&&(v!==e.value||"progress"===p&&!v||"option"===p&&v!==f.value)&&S(e,"value",v,f.value,!1),"checked"in g&&void 0!==(v=g.checked)&&v!==e.checked&&S(e,"checked",v,f.checked,!1))}return e}(n.__e,t,n,s,a,o,l,c);(u=r.diffed)&&u(t)}catch(e){t.__v=null,(c||null!=o)&&(t.__e=d,t.__h=!!c,o[o.indexOf(d)]=null),r.__e(e,t,n)}}function O(e,t){r.__c&&r.__c(t,e),e.some(function(t){try{e=t.__h,t.__h=[],e.some(function(e){e.call(t)})}catch(e){r.__e(e,t.__v)}})}function H(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(e){r.__e(e,n)}}function N(e,t,n){return this.constructor(e,n)}function I(e,t,n){var s,a,o;r.__&&r.__(e,t),a=(s="function"==typeof n)?null:n&&n.__k||t.__k,o=[],P(t,e=(!s&&n||t).__k=v(w,null,[e]),a||h,h,void 0!==t.ownerSVGElement,!s&&n?[n]:a?null:t.firstChild?i.call(t.childNodes):null,o,!s&&n?n:a?a.__e:t.firstChild,s),O(o,e)}function A(e,t){I(e,t,A)}function j(e,t,n){var r,s,a,o=p({},e.props);for(a in t)"key"==a?r=t[a]:"ref"==a?s=t[a]:o[a]=t[a];return arguments.length>2&&(o.children=arguments.length>3?i.call(arguments,2):n),b(e.type,o,r||e.key,s||e.ref,null)}function W(e,t){var n={__c:t="__cC"+u++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,i;return this.getChildContext||(n=[],(i={})[t]=this,this.getChildContext=function(){return i},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some(function(e){e.__e=!0,T(e)})},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n}i=f.slice,r={__e:function(e,t,n,i){for(var r,s,a;t=t.__;)if((r=t.__c)&&!r.__)try{if((s=r.constructor)&&null!=s.getDerivedStateFromError&&(r.setState(s.getDerivedStateFromError(e)),a=r.__d),null!=r.componentDidCatch&&(r.componentDidCatch(e,i||{}),a=r.__d),a)return r.__E=r}catch(t){e=t}throw e}},s=0,a=function(e){return null!=e&&void 0===e.constructor},o=!1,D.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=p({},this.state),"function"==typeof e&&(e=e(p({},n),this.props)),e&&p(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),T(this))},D.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),T(this))},D.prototype.render=w,l=[],c="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,C.__r=0,u=0},14226:(e,t,n)=>{"use strict";n.d(t,{d:()=>r});var i=n(65637);function r(e,t,n){return(0,i.e)(e,-t,n)}},14385:(e,t,n)=>{"use strict";n.d(t,{Y:()=>r});var i=n(23327);function r(e,t){return+(0,i.a)(e)<+(0,i.a)(t)}},16246:(e,t,n)=>{"use strict";n.d(t,{GP:()=>T});var i=n(45279),r=n(50826),s=n(8079),a=n(20466),o=n(23327),l=n(38575),d=n(90102),c=n(11770),u=n(35307);function h(e,t){let n=Math.abs(e).toString().padStart(t,"0");return(e<0?"-":"")+n}let f={y(e,t){let n=e.getFullYear(),i=n>0?n:1-n;return h("yy"===t?i%100:i,t.length)},M(e,t){let n=e.getMonth();return"M"===t?String(n+1):h(n+1,2)},d:(e,t)=>h(e.getDate(),t.length),a(e,t){let n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:(e,t)=>h(e.getHours()%12||12,t.length),H:(e,t)=>h(e.getHours(),t.length),m:(e,t)=>h(e.getMinutes(),t.length),s:(e,t)=>h(e.getSeconds(),t.length),S(e,t){let n=t.length;return h(Math.trunc(e.getMilliseconds()*Math.pow(10,n-3)),t.length)}},g={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},p={G:function(e,t,n){let i=+(e.getFullYear()>0);switch(t){case"G":case"GG":case"GGG":return n.era(i,{width:"abbreviated"});case"GGGGG":return n.era(i,{width:"narrow"});default:return n.era(i,{width:"wide"})}},y:function(e,t,n){if("yo"===t){let t=e.getFullYear();return n.ordinalNumber(t>0?t:1-t,{unit:"year"})}return f.y(e,t)},Y:function(e,t,n,i){let r=(0,u.h)(e,i),s=r>0?r:1-r;return"YY"===t?h(s%100,2):"Yo"===t?n.ordinalNumber(s,{unit:"year"}):h(s,t.length)},R:function(e,t){return h((0,d.p)(e),t.length)},u:function(e,t){return h(e.getFullYear(),t.length)},Q:function(e,t,n){let i=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(i);case"QQ":return h(i,2);case"Qo":return n.ordinalNumber(i,{unit:"quarter"});case"QQQ":return n.quarter(i,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(i,{width:"narrow",context:"formatting"});default:return n.quarter(i,{width:"wide",context:"formatting"})}},q:function(e,t,n){let i=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(i);case"qq":return h(i,2);case"qo":return n.ordinalNumber(i,{unit:"quarter"});case"qqq":return n.quarter(i,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(i,{width:"narrow",context:"standalone"});default:return n.quarter(i,{width:"wide",context:"standalone"})}},M:function(e,t,n){let i=e.getMonth();switch(t){case"M":case"MM":return f.M(e,t);case"Mo":return n.ordinalNumber(i+1,{unit:"month"});case"MMM":return n.month(i,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(i,{width:"narrow",context:"formatting"});default:return n.month(i,{width:"wide",context:"formatting"})}},L:function(e,t,n){let i=e.getMonth();switch(t){case"L":return String(i+1);case"LL":return h(i+1,2);case"Lo":return n.ordinalNumber(i+1,{unit:"month"});case"LLL":return n.month(i,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(i,{width:"narrow",context:"standalone"});default:return n.month(i,{width:"wide",context:"standalone"})}},w:function(e,t,n,i){let r=(0,c.N)(e,i);return"wo"===t?n.ordinalNumber(r,{unit:"week"}):h(r,t.length)},I:function(e,t,n){let i=(0,l.s)(e);return"Io"===t?n.ordinalNumber(i,{unit:"week"}):h(i,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getDate(),{unit:"date"}):f.d(e,t)},D:function(e,t,n){let i=function(e,t){let n=(0,o.a)(e,void 0);return(0,s.m)(n,(0,a.D)(n))+1}(e);return"Do"===t?n.ordinalNumber(i,{unit:"dayOfYear"}):h(i,t.length)},E:function(e,t,n){let i=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(i,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(i,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(i,{width:"short",context:"formatting"});default:return n.day(i,{width:"wide",context:"formatting"})}},e:function(e,t,n,i){let r=e.getDay(),s=(r-i.weekStartsOn+8)%7||7;switch(t){case"e":return String(s);case"ee":return h(s,2);case"eo":return n.ordinalNumber(s,{unit:"day"});case"eee":return n.day(r,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(r,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},c:function(e,t,n,i){let r=e.getDay(),s=(r-i.weekStartsOn+8)%7||7;switch(t){case"c":return String(s);case"cc":return h(s,t.length);case"co":return n.ordinalNumber(s,{unit:"day"});case"ccc":return n.day(r,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(r,{width:"narrow",context:"standalone"});case"cccccc":return n.day(r,{width:"short",context:"standalone"});default:return n.day(r,{width:"wide",context:"standalone"})}},i:function(e,t,n){let i=e.getDay(),r=0===i?7:i;switch(t){case"i":return String(r);case"ii":return h(r,t.length);case"io":return n.ordinalNumber(r,{unit:"day"});case"iii":return n.day(i,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(i,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(i,{width:"short",context:"formatting"});default:return n.day(i,{width:"wide",context:"formatting"})}},a:function(e,t,n){let i=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(i,{width:"narrow",context:"formatting"});default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(e,t,n){let i,r=e.getHours();switch(i=12===r?g.noon:0===r?g.midnight:r/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(i,{width:"narrow",context:"formatting"});default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(e,t,n){let i,r=e.getHours();switch(i=r>=17?g.evening:r>=12?g.afternoon:r>=4?g.morning:g.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(i,{width:"narrow",context:"formatting"});default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){let t=e.getHours()%12;return 0===t&&(t=12),n.ordinalNumber(t,{unit:"hour"})}return f.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getHours(),{unit:"hour"}):f.H(e,t)},K:function(e,t,n){let i=e.getHours()%12;return"Ko"===t?n.ordinalNumber(i,{unit:"hour"}):h(i,t.length)},k:function(e,t,n){let i=e.getHours();return(0===i&&(i=24),"ko"===t)?n.ordinalNumber(i,{unit:"hour"}):h(i,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):f.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getSeconds(),{unit:"second"}):f.s(e,t)},S:function(e,t){return f.S(e,t)},X:function(e,t,n){let i=e.getTimezoneOffset();if(0===i)return"Z";switch(t){case"X":return v(i);case"XXXX":case"XX":return b(i);default:return b(i,":")}},x:function(e,t,n){let i=e.getTimezoneOffset();switch(t){case"x":return v(i);case"xxxx":case"xx":return b(i);default:return b(i,":")}},O:function(e,t,n){let i=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+m(i,":");default:return"GMT"+b(i,":")}},z:function(e,t,n){let i=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+m(i,":");default:return"GMT"+b(i,":")}},t:function(e,t,n){return h(Math.trunc(e/1e3),t.length)},T:function(e,t,n){return h(+e,t.length)}};function m(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e>0?"-":"+",i=Math.abs(e),r=Math.trunc(i/60),s=i%60;return 0===s?n+String(r):n+String(r)+t+h(s,2)}function v(e,t){return e%60==0?(e>0?"-":"+")+h(Math.abs(e)/60,2):b(e,t)}function b(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=Math.abs(e);return(e>0?"-":"+")+h(Math.trunc(n/60),2)+t+h(n%60,2)}var y=n(51220),w=n(33317),_=n(35460);let S=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,E=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,x=/^'([^]*?)'?$/,D=/''/g,R=/[a-zA-Z]/;function T(e,t,n){var s,a,l,d,c,u,h,f,g,m,v,b,T,C,k,M,P,O;let H=(0,r.q)(),N=null!=(m=null!=(g=null==n?void 0:n.locale)?g:H.locale)?m:i.c,I=null!=(C=null!=(T=null!=(b=null!=(v=null==n?void 0:n.firstWeekContainsDate)?v:null==n||null==(a=n.locale)||null==(s=a.options)?void 0:s.firstWeekContainsDate)?b:H.firstWeekContainsDate)?T:null==(d=H.locale)||null==(l=d.options)?void 0:l.firstWeekContainsDate)?C:1,A=null!=(O=null!=(P=null!=(M=null!=(k=null==n?void 0:n.weekStartsOn)?k:null==n||null==(u=n.locale)||null==(c=u.options)?void 0:c.weekStartsOn)?M:H.weekStartsOn)?P:null==(f=H.locale)||null==(h=f.options)?void 0:h.weekStartsOn)?O:0,j=(0,o.a)(e,null==n?void 0:n.in);if(!(0,_.f)(j))throw RangeError("Invalid time value");let W=t.match(E).map(e=>{let t=e[0];return"p"===t||"P"===t?(0,y.m[t])(e,N.formatLong):e}).join("").match(S).map(e=>{if("''"===e)return{isToken:!1,value:"'"};let t=e[0];if("'"===t)return{isToken:!1,value:function(e){let t=e.match(x);return t?t[1].replace(D,"'"):e}(e)};if(p[t])return{isToken:!0,value:e};if(t.match(R))throw RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}});N.localize.preprocessor&&(W=N.localize.preprocessor(j,W));let z={firstWeekContainsDate:I,weekStartsOn:A,locale:N};return W.map(i=>{if(!i.isToken)return i.value;let r=i.value;return(!(null==n?void 0:n.useAdditionalWeekYearTokens)&&(0,w.xM)(r)||!(null==n?void 0:n.useAdditionalDayOfYearTokens)&&(0,w.ef)(r))&&(0,w.Ss)(r,t,String(e)),(0,p[r[0]])(j,r,N.localize,z)}).join("")}},16294:(e,t,n)=>{"use strict";n.d(t,{F:()=>r});var i=n(23327);function r(e,t){return Math.trunc((0,i.a)(e,null==t?void 0:t.in).getMonth()/3)+1}},16946:(e,t,n)=>{"use strict";n.d(t,{fr:()=>u});let i={lessThanXSeconds:{one:"moins d’une seconde",other:"moins de {{count}} secondes"},xSeconds:{one:"1 seconde",other:"{{count}} secondes"},halfAMinute:"30 secondes",lessThanXMinutes:{one:"moins d’une minute",other:"moins de {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"environ 1 heure",other:"environ {{count}} heures"},xHours:{one:"1 heure",other:"{{count}} heures"},xDays:{one:"1 jour",other:"{{count}} jours"},aboutXWeeks:{one:"environ 1 semaine",other:"environ {{count}} semaines"},xWeeks:{one:"1 semaine",other:"{{count}} semaines"},aboutXMonths:{one:"environ 1 mois",other:"environ {{count}} mois"},xMonths:{one:"1 mois",other:"{{count}} mois"},aboutXYears:{one:"environ 1 an",other:"environ {{count}} ans"},xYears:{one:"1 an",other:"{{count}} ans"},overXYears:{one:"plus d’un an",other:"plus de {{count}} ans"},almostXYears:{one:"presqu’un an",other:"presque {{count}} ans"}};var r=n(67356);let s={date:(0,r.k)({formats:{full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd/MM/y"},defaultWidth:"full"}),time:(0,r.k)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,r.k)({formats:{full:"{{date}} '\xe0' {{time}}",long:"{{date}} '\xe0' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},a={lastWeek:"eeee 'dernier \xe0' p",yesterday:"'hier \xe0' p",today:"'aujourd’hui \xe0' p",tomorrow:"'demain \xe0' p'",nextWeek:"eeee 'prochain \xe0' p",other:"P"};var o=n(58698);let l=["MMM","MMMM"],d={preprocessor:(e,t)=>1!==e.getDate()&&t.some(e=>e.isToken&&l.includes(e.value))?t.map(e=>e.isToken&&"do"===e.value?{isToken:!0,value:"d"}:e):t,ordinalNumber:(e,t)=>{let n,i=Number(e),r=null==t?void 0:t.unit;return 0===i?"0":(n=1===i?r&&["year","week","hour","minute","second"].includes(r)?"\xe8re":"er":"\xe8me",i+n)},era:(0,o.o)({values:{narrow:["av. J.-C","ap. J.-C"],abbreviated:["av. J.-C","ap. J.-C"],wide:["avant J\xe9sus-Christ","apr\xe8s J\xe9sus-Christ"]},defaultWidth:"wide"}),quarter:(0,o.o)({values:{narrow:["T1","T2","T3","T4"],abbreviated:["1er trim.","2\xe8me trim.","3\xe8me trim.","4\xe8me trim."],wide:["1er trimestre","2\xe8me trimestre","3\xe8me trimestre","4\xe8me trimestre"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,o.o)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["janv.","f\xe9vr.","mars","avr.","mai","juin","juil.","ao\xfbt","sept.","oct.","nov.","d\xe9c."],wide:["janvier","f\xe9vrier","mars","avril","mai","juin","juillet","ao\xfbt","septembre","octobre","novembre","d\xe9cembre"]},defaultWidth:"wide"}),day:(0,o.o)({values:{narrow:["D","L","M","M","J","V","S"],short:["di","lu","ma","me","je","ve","sa"],abbreviated:["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],wide:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"]},defaultWidth:"wide"}),dayPeriod:(0,o.o)({values:{narrow:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"mat.",afternoon:"ap.m.",evening:"soir",night:"mat."},abbreviated:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"matin",afternoon:"apr\xe8s-midi",evening:"soir",night:"matin"},wide:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"du matin",afternoon:"de l’apr\xe8s-midi",evening:"du soir",night:"du matin"}},defaultWidth:"wide"})};var c=n(44008);let u={code:"fr",formatDistance:(e,t,n)=>{let r,s=i[e];if(r="string"==typeof s?s:1===t?s.one:s.other.replace("{{count}}",String(t)),null==n?void 0:n.addSuffix)if(n.comparison&&n.comparison>0)return"dans "+r;else return"il y a "+r;return r},formatLong:s,formatRelative:(e,t,n,i)=>a[e],localize:d,match:{ordinalNumber:(0,n(40972).K)({matchPattern:/^(\d+)(ième|ère|ème|er|e)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e)}),era:(0,c.A)({matchPatterns:{narrow:/^(av\.J\.C|ap\.J\.C|ap\.J\.-C)/i,abbreviated:/^(av\.J\.-C|av\.J-C|apr\.J\.-C|apr\.J-C|ap\.J-C)/i,wide:/^(avant Jésus-Christ|après Jésus-Christ)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^av/i,/^ap/i]},defaultParseWidth:"any"}),quarter:(0,c.A)({matchPatterns:{narrow:/^T?[1234]/i,abbreviated:/^[1234](er|ème|e)? trim\.?/i,wide:/^[1234](er|ème|e)? trimestre/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,c.A)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(janv|févr|mars|avr|mai|juin|juill|juil|août|sept|oct|nov|déc)\.?/i,wide:/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^av/i,/^ma/i,/^juin/i,/^juil/i,/^ao/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,c.A)({matchPatterns:{narrow:/^[lmjvsd]/i,short:/^(di|lu|ma|me|je|ve|sa)/i,abbreviated:/^(dim|lun|mar|mer|jeu|ven|sam)\.?/i,wide:/^(dimanche|lundi|mardi|mercredi|jeudi|vendredi|samedi)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^di/i,/^lu/i,/^ma/i,/^me/i,/^je/i,/^ve/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,c.A)({matchPatterns:{narrow:/^(a|p|minuit|midi|mat\.?|ap\.?m\.?|soir|nuit)/i,any:/^([ap]\.?\s?m\.?|du matin|de l'après[-\s]midi|du soir|de la nuit)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^min/i,noon:/^mid/i,morning:/mat/i,afternoon:/ap/i,evening:/soir/i,night:/nuit/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}}},17518:(e,t,n)=>{"use strict";n.d(t,{n:()=>r});var i=n(79447);function r(e,t,n){let[r,s]=(0,i.x)(null==n?void 0:n.in,e,t);return r.getFullYear()-s.getFullYear()}},17546:(e,t,n)=>{"use strict";n.d(t,{P:()=>s});var i=n(63039),r=n(23327);function s(e,t,n){let s=(0,r.a)(e,null==n?void 0:n.in);if(isNaN(t))return(0,i.w)((null==n?void 0:n.in)||e,NaN);if(!t)return s;let a=s.getDate(),o=(0,i.w)((null==n?void 0:n.in)||e,s.getTime());return(o.setMonth(s.getMonth()+t+1,0),a>=o.getDate())?o:(s.setFullYear(o.getFullYear(),o.getMonth(),a),s)}},20466:(e,t,n)=>{"use strict";n.d(t,{D:()=>r});var i=n(23327);function r(e,t){let n=(0,i.a)(e,null==t?void 0:t.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}},20735:(e,t,n)=>{"use strict";n.d(t,{k:()=>s});var i=n(50826),r=n(23327);function s(e,t){var n,s,a,o,l,d,c,u;let h=(0,i.q)(),f=null!=(u=null!=(c=null!=(d=null!=(l=null==t?void 0:t.weekStartsOn)?l:null==t||null==(s=t.locale)||null==(n=s.options)?void 0:n.weekStartsOn)?d:h.weekStartsOn)?c:null==(o=h.locale)||null==(a=o.options)?void 0:a.weekStartsOn)?u:0,g=(0,r.a)(e,null==t?void 0:t.in),p=g.getDay();return g.setDate(g.getDate()-(7*(p<f)+p-f)),g.setHours(0,0,0,0),g}},22775:(e,t,n)=>{"use strict";n.d(t,{O:()=>r});var i=n(23327);function r(e,t){return(0,i.a)(e,null==t?void 0:t.in).getMinutes()}},23327:(e,t,n)=>{"use strict";n.d(t,{a:()=>r});var i=n(63039);function r(e,t){return(0,i.w)(t||e,e)}},26503:(e,t,n)=>{"use strict";n.d(t,{d5:()=>I});var i,r,s,a,o=n(11936),l=0,d=[],c=[],u=o.fF.__b,h=o.fF.__r,f=o.fF.diffed,g=o.fF.__c,p=o.fF.unmount;function m(e,t){o.fF.__h&&o.fF.__h(r,e,l||t),l=0;var n=r.__H||(r.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({__V:c}),n.__[e]}function v(){for(var e;e=d.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(y),e.__H.__h.forEach(w),e.__H.__h=[]}catch(t){e.__H.__h=[],o.fF.__e(t,e.__v)}}o.fF.__b=function(e){r=null,u&&u(e)},o.fF.__r=function(e){h&&h(e),i=0;var t=(r=e.__c).__H;t&&(s===r?(t.__h=[],r.__h=[],t.__.forEach(function(e){e.__N&&(e.__=e.__N),e.__V=c,e.__N=e.i=void 0})):(t.__h.forEach(y),t.__h.forEach(w),t.__h=[])),s=r},o.fF.diffed=function(e){f&&f(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==d.push(t)&&a===o.fF.requestAnimationFrame||((a=o.fF.requestAnimationFrame)||function(e){var t,n=function(){clearTimeout(i),b&&cancelAnimationFrame(t),setTimeout(e)},i=setTimeout(n,100);b&&(t=requestAnimationFrame(n))})(v)),t.__H.__.forEach(function(e){e.i&&(e.__H=e.i),e.__V!==c&&(e.__=e.__V),e.i=void 0,e.__V=c})),s=r=null},o.fF.__c=function(e,t){t.some(function(e){try{e.__h.forEach(y),e.__h=e.__h.filter(function(e){return!e.__||w(e)})}catch(n){t.some(function(e){e.__h&&(e.__h=[])}),t=[],o.fF.__e(n,e.__v)}}),g&&g(e,t)},o.fF.unmount=function(e){p&&p(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(e){try{y(e)}catch(e){t=e}}),n.__H=void 0,t&&o.fF.__e(t,n.__v))};var b="function"==typeof requestAnimationFrame;function y(e){var t=r,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),r=t}function w(e){var t=r;e.__c=e.__(),r=t}function _(e,t){return!e||e.length!==t.length||t.some(function(t,n){return t!==e[n]})}function S(e,t){return"function"==typeof t?t(e):t}function E(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var i in t)if("__source"!==i&&e[i]!==t[i])return!0;return!1}function x(e){this.props=e}(x.prototype=new o.uA).isPureReactComponent=!0,x.prototype.shouldComponentUpdate=function(e,t){return E(this.props,e)||E(this.state,t)};var D=o.fF.__b;o.fF.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),D&&D(e)},"undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref");var R=function(e,t){return null==e?null:(0,o.v2)((0,o.v2)(e).map(t))},T=(o.v2,o.fF.__e);o.fF.__e=function(e,t,n,i){if(e.then){for(var r,s=t;s=s.__;)if((r=s.__c)&&r.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),r.__c(e,t)}T(e,t,n,i)};var C=o.fF.unmount;function k(){this.__u=0,this.t=null,this.__b=null}function M(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function P(){this.u=null,this.o=null}o.fF.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&!0===e.__h&&(e.type=null),C&&C(e)},(k.prototype=new o.uA).__c=function(e,t){var n=t.__c,i=this;null==i.t&&(i.t=[]),i.t.push(n);var r=M(i.__v),s=!1,a=function(){s||(s=!0,n.__R=null,r?r(o):o())};n.__R=a;var o=function(){if(!--i.__u){if(i.state.__a){var e,t=i.state.__a;i.__v.__k[0]=function e(t,n,i){return t&&(t.__v=null,t.__k=t.__k&&t.__k.map(function(t){return e(t,n,i)}),t.__c&&t.__c.__P===n&&(t.__e&&i.insertBefore(t.__e,t.__d),t.__c.__e=!0,t.__c.__P=i)),t}(t,t.__c.__P,t.__c.__O)}for(i.setState({__a:i.__b=null});e=i.t.pop();)e.forceUpdate()}},l=!0===t.__h;i.__u++||l||i.setState({__a:i.__b=i.__v.__k[0]}),e.then(a,a)},k.prototype.componentWillUnmount=function(){this.t=[]},k.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),i=this.__v.__k[0].__c;this.__v.__k[0]=function e(t,n,i){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach(function(e){"function"==typeof e.__c&&e.__c()}),t.__c.__H=null),null!=(t=function(e,t){for(var n in t)e[n]=t[n];return e}({},t)).__c&&(t.__c.__P===i&&(t.__c.__P=n),t.__c=null),t.__k=t.__k&&t.__k.map(function(t){return e(t,n,i)})),t}(this.__b,n,i.__O=i.__P)}this.__b=null}var r=t.__a&&(0,o.n)(o.FK,null,e.fallback);return r&&(r.__h=null),[(0,o.n)(o.FK,null,t.__a?null:e.children),r]};var O=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function H(e){return this.getChildContext=function(){return e.context},e.children}function N(e){var t=this,n=e.i;t.componentWillUnmount=function(){(0,o.XX)(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),e.__v?(t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(e){this.childNodes.push(e),t.i.appendChild(e)},insertBefore:function(e,n){this.childNodes.push(e),t.i.appendChild(e)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),t.i.removeChild(e)}}),(0,o.XX)((0,o.n)(H,{context:t.context},e.__v),t.l)):t.l&&t.componentWillUnmount()}function I(e,t){var n=(0,o.n)(N,{__v:e,i:t});return n.containerInfo=t,n}(P.prototype=new o.uA).__a=function(e){var t=this,n=M(t.__v),i=t.o.get(e);return i[0]++,function(r){var s=function(){t.props.revealOrder?(i.push(r),O(t,e,i)):r()};n?n(s):s()}},P.prototype.render=function(e){this.u=null,this.o=new Map;var t=(0,o.v2)(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},P.prototype.componentDidUpdate=P.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,n){O(e,n,t)})};var A="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,j=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,W="undefined"!=typeof document;o.uA.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(o.uA.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var z=o.fF.event;function F(){}function L(){return this.cancelBubble}function V(){return this.defaultPrevented}o.fF.event=function(e){return z&&(e=z(e)),e.persist=F,e.isPropagationStopped=L,e.isDefaultPrevented=V,e.nativeEvent=e};var Y,q={configurable:!0,get:function(){return this.class}},U=o.fF.vnode;o.fF.vnode=function(e){var t=e.type,n=e.props,i=n;if("string"==typeof t){var r=-1===t.indexOf("-");for(var s in i={},n){var a,l=n[s];W&&"children"===s&&"noscript"===t||"value"===s&&"defaultValue"in n&&null==l||("defaultValue"===s&&"value"in n&&null==n.value?s="value":"download"===s&&!0===l?l="":/ondoubleclick/i.test(s)?s="ondblclick":/^onchange(textarea|input)/i.test(s+t)&&(a=n.type,!("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(a))?s="oninput":/^onfocus$/i.test(s)?s="onfocusin":/^onblur$/i.test(s)?s="onfocusout":/^on(Ani|Tra|Tou|BeforeInp|Compo)/.test(s)?s=s.toLowerCase():r&&j.test(s)?s=s.replace(/[A-Z0-9]/g,"-$&").toLowerCase():null===l&&(l=void 0),/^oninput$/i.test(s)&&i[s=s.toLowerCase()]&&(s="oninputCapture"),i[s]=l)}"select"==t&&i.multiple&&Array.isArray(i.value)&&(i.value=(0,o.v2)(n.children).forEach(function(e){e.props.selected=-1!=i.value.indexOf(e.props.value)})),"select"==t&&null!=i.defaultValue&&(i.value=(0,o.v2)(n.children).forEach(function(e){e.props.selected=i.multiple?-1!=i.defaultValue.indexOf(e.props.value):i.defaultValue==e.props.value})),e.props=i,n.class!=n.className&&(q.enumerable="className"in n,null!=n.className&&(i.class=n.className),Object.defineProperty(i,"className",q))}e.$$typeof=A,U&&U(e)};var G=o.fF.__r;o.fF.__r=function(e){G&&G(e),e.__c};o.FK;o.n,o.q6,o._3,o.FK,o.uA},26565:(e,t,n)=>{"use strict";n.d(t,{a:()=>r});var i=n(23327);function r(e,t){let n=(0,i.a)(e,null==t?void 0:t.in),r=n.getMonth();return n.setMonth(r-r%3,1),n.setHours(0,0,0,0),n}},27528:(e,t,n)=>{"use strict";n.d(t,{d:()=>s});var i=n(79447),r=n(26565);function s(e,t,n){let[s,a]=(0,i.x)(null==n?void 0:n.in,e,t);return+(0,r.a)(s)==+(0,r.a)(a)}},31382:(e,t,n)=>{"use strict";n.d(t,{J:()=>r});var i=n(7954);function r(e,t,n){return(0,i.f)(e,7*t,n)}},33314:(e,t,n)=>{"use strict";n.d(t,{r:()=>s});var i=n(79447),r=n(1599);function s(e,t,n){let[s,a]=(0,i.x)(null==n?void 0:n.in,e,t);return+(0,r.o)(s)==+(0,r.o)(a)}},33317:(e,t,n)=>{"use strict";n.d(t,{Ss:()=>l,ef:()=>a,xM:()=>o});let i=/^D+$/,r=/^Y+$/,s=["D","DD","YY","YYYY"];function a(e){return i.test(e)}function o(e){return r.test(e)}function l(e,t,n){let i=function(e,t,n){let i="Y"===e[0]?"years":"days of the month";return"Use `".concat(e.toLowerCase(),"` instead of `").concat(e,"` (in `").concat(t,"`) for formatting ").concat(i," to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md")}(e,t,n);if(console.warn(i),s.includes(e))throw RangeError(i)}},33492:(e,t,n)=>{"use strict";n.d(t,{L:()=>s});var i=n(6455),r=n(44783);function s(e,t,n){return(0,i.A)(e,t*r.s0,n)}},34240:(e,t,n)=>{"use strict";n.d(t,{z:()=>r});var i=n(17546);function r(e,t,n){return(0,i.P)(e,3*t,n)}},34483:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var i={code:"fr",week:{dow:1,doy:4},buttonText:{prev:"Pr\xe9c\xe9dent",next:"Suivant",today:"Aujourd'hui",year:"Ann\xe9e",month:"Mois",week:"Semaine",day:"Jour",list:"Planning"},weekText:"Sem.",weekTextLong:"Semaine",allDayText:"Toute la journ\xe9e",moreLinkText:"en plus",noEventsText:"Aucun \xe9v\xe8nement \xe0 afficher"}},35279:()=>{},35307:(e,t,n)=>{"use strict";n.d(t,{h:()=>o});var i=n(50826),r=n(63039),s=n(20735),a=n(23327);function o(e,t){var n,o,l,d,c,u,h,f;let g=(0,a.a)(e,null==t?void 0:t.in),p=g.getFullYear(),m=(0,i.q)(),v=null!=(f=null!=(h=null!=(u=null!=(c=null==t?void 0:t.firstWeekContainsDate)?c:null==t||null==(o=t.locale)||null==(n=o.options)?void 0:n.firstWeekContainsDate)?u:m.firstWeekContainsDate)?h:null==(d=m.locale)||null==(l=d.options)?void 0:l.firstWeekContainsDate)?f:1,b=(0,r.w)((null==t?void 0:t.in)||e,0);b.setFullYear(p+1,0,v),b.setHours(0,0,0,0);let y=(0,s.k)(b,t),w=(0,r.w)((null==t?void 0:t.in)||e,0);w.setFullYear(p,0,v),w.setHours(0,0,0,0);let _=(0,s.k)(w,t);return+g>=+y?p+1:+g>=+_?p:p-1}},35460:(e,t,n)=>{"use strict";n.d(t,{f:()=>s});var i=n(54954),r=n(23327);function s(e){return!(!(0,i.$)(e)&&"number"!=typeof e||isNaN(+(0,r.a)(e)))}},36909:(e,t,n)=>{"use strict";n.d(t,{k:()=>r});var i=n(31382);function r(e,t,n){return(0,i.J)(e,-t,n)}},38575:(e,t,n)=>{"use strict";n.d(t,{s:()=>l});var i=n(44783),r=n(52372),s=n(63039),a=n(90102),o=n(23327);function l(e,t){let n=(0,o.a)(e,null==t?void 0:t.in);return Math.round(((0,r.b)(n)-function(e,t){let n=(0,a.p)(e,void 0),i=(0,s.w)(e,0);return i.setFullYear(n,0,4),i.setHours(0,0,0,0),(0,r.b)(i)}(n))/i.my)+1}},40679:(e,t,n)=>{"use strict";n.d(t,{w:()=>r});var i=n(23327);function r(e,t){let n=(0,i.a)(e,null==t?void 0:t.in);return n.setDate(1),n.setHours(0,0,0,0),n}},40972:(e,t,n)=>{"use strict";function i(e){return function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=t.match(e.matchPattern);if(!i)return null;let r=i[0],s=t.match(e.parsePattern);if(!s)return null;let a=e.valueCallback?e.valueCallback(s[0]):s[0];return{value:a=n.valueCallback?n.valueCallback(a):a,rest:t.slice(r.length)}}}n.d(t,{K:()=>i})},44008:(e,t,n)=>{"use strict";function i(e){return function(t){let n,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=i.width,s=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],a=t.match(s);if(!a)return null;let o=a[0],l=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],d=Array.isArray(l)?function(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}(l,e=>e.test(o)):function(e,t){for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}(l,e=>e.test(o));return n=e.valueCallback?e.valueCallback(d):d,{value:n=i.valueCallback?i.valueCallback(n):n,rest:t.slice(o.length)}}}n.d(t,{A:()=>i})},44396:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>C});var i=n(80053),r=n(35612);r.bI.touchMouseIgnoreWait=500;let s=0,a=0,o=!1;class l{constructor(e){this.subjectEl=null,this.selector="",this.handleSelector="",this.shouldIgnoreMove=!1,this.shouldWatchScroll=!0,this.isDragging=!1,this.isTouchDragging=!1,this.wasTouchScroll=!1,this.handleMouseDown=e=>{if(!this.shouldIgnoreMouse()&&function(e){return 0===e.button&&!e.ctrlKey}(e)&&this.tryStart(e)){let t=this.createEventFromMouse(e,!0);this.emitter.trigger("pointerdown",t),this.initScrollWatch(t),this.shouldIgnoreMove||document.addEventListener("mousemove",this.handleMouseMove),document.addEventListener("mouseup",this.handleMouseUp)}},this.handleMouseMove=e=>{let t=this.createEventFromMouse(e);this.recordCoords(t),this.emitter.trigger("pointermove",t)},this.handleMouseUp=e=>{document.removeEventListener("mousemove",this.handleMouseMove),document.removeEventListener("mouseup",this.handleMouseUp),this.emitter.trigger("pointerup",this.createEventFromMouse(e)),this.cleanup()},this.handleTouchStart=e=>{if(this.tryStart(e)){this.isTouchDragging=!0;let t=this.createEventFromTouch(e,!0);this.emitter.trigger("pointerdown",t),this.initScrollWatch(t);let n=e.target;this.shouldIgnoreMove||n.addEventListener("touchmove",this.handleTouchMove),n.addEventListener("touchend",this.handleTouchEnd),n.addEventListener("touchcancel",this.handleTouchEnd),window.addEventListener("scroll",this.handleTouchScroll,!0)}},this.handleTouchMove=e=>{let t=this.createEventFromTouch(e);this.recordCoords(t),this.emitter.trigger("pointermove",t)},this.handleTouchEnd=e=>{if(this.isDragging){let t=e.target;t.removeEventListener("touchmove",this.handleTouchMove),t.removeEventListener("touchend",this.handleTouchEnd),t.removeEventListener("touchcancel",this.handleTouchEnd),window.removeEventListener("scroll",this.handleTouchScroll,!0),this.emitter.trigger("pointerup",this.createEventFromTouch(e)),this.cleanup(),this.isTouchDragging=!1,s+=1,setTimeout(()=>{s-=1},r.bI.touchMouseIgnoreWait)}},this.handleTouchScroll=()=>{this.wasTouchScroll=!0},this.handleScroll=e=>{if(!this.shouldIgnoreMove){let t=window.scrollX-this.prevScrollX+this.prevPageX,n=window.scrollY-this.prevScrollY+this.prevPageY;this.emitter.trigger("pointermove",{origEvent:e,isTouch:this.isTouchDragging,subjectEl:this.subjectEl,pageX:t,pageY:n,deltaX:t-this.origPageX,deltaY:n-this.origPageY})}},this.containerEl=e,this.emitter=new r.F,e.addEventListener("mousedown",this.handleMouseDown),e.addEventListener("touchstart",this.handleTouchStart,{passive:!0}),1===(a+=1)&&window.addEventListener("touchmove",d,{passive:!1})}destroy(){this.containerEl.removeEventListener("mousedown",this.handleMouseDown),this.containerEl.removeEventListener("touchstart",this.handleTouchStart,{passive:!0}),(a-=1)||window.removeEventListener("touchmove",d,{passive:!1})}tryStart(e){let t=this.querySubjectEl(e),n=e.target;return!!(t&&(!this.handleSelector||(0,r.$)(n,this.handleSelector)))&&(this.subjectEl=t,this.isDragging=!0,this.wasTouchScroll=!1,!0)}cleanup(){o=!1,this.isDragging=!1,this.subjectEl=null,this.destroyScrollWatch()}querySubjectEl(e){return this.selector?(0,r.$)(e.target,this.selector):this.containerEl}shouldIgnoreMouse(){return s||this.isTouchDragging}cancelTouchScroll(){this.isDragging&&(o=!0)}initScrollWatch(e){this.shouldWatchScroll&&(this.recordCoords(e),window.addEventListener("scroll",this.handleScroll,!0))}recordCoords(e){this.shouldWatchScroll&&(this.prevPageX=e.pageX,this.prevPageY=e.pageY,this.prevScrollX=window.scrollX,this.prevScrollY=window.scrollY)}destroyScrollWatch(){this.shouldWatchScroll&&window.removeEventListener("scroll",this.handleScroll,!0)}createEventFromMouse(e,t){let n=0,i=0;return t?(this.origPageX=e.pageX,this.origPageY=e.pageY):(n=e.pageX-this.origPageX,i=e.pageY-this.origPageY),{origEvent:e,isTouch:!1,subjectEl:this.subjectEl,pageX:e.pageX,pageY:e.pageY,deltaX:n,deltaY:i}}createEventFromTouch(e,t){let n,i,r=e.touches,s=0,a=0;return r&&r.length?(n=r[0].pageX,i=r[0].pageY):(n=e.pageX,i=e.pageY),t?(this.origPageX=n,this.origPageY=i):(s=n-this.origPageX,a=i-this.origPageY),{origEvent:e,isTouch:!0,subjectEl:this.subjectEl,pageX:n,pageY:i,deltaX:s,deltaY:a}}}function d(e){o&&e.preventDefault()}class c{constructor(){this.isVisible=!1,this.sourceEl=null,this.mirrorEl=null,this.sourceElRect=null,this.parentNode=document.body,this.zIndex=9999,this.revertDuration=0}start(e,t,n){this.sourceEl=e,this.sourceElRect=this.sourceEl.getBoundingClientRect(),this.origScreenX=t-window.scrollX,this.origScreenY=n-window.scrollY,this.deltaX=0,this.deltaY=0,this.updateElPosition()}handleMove(e,t){this.deltaX=e-window.scrollX-this.origScreenX,this.deltaY=t-window.scrollY-this.origScreenY,this.updateElPosition()}setIsVisible(e){e?this.isVisible||(this.mirrorEl&&(this.mirrorEl.style.display=""),this.isVisible=e,this.updateElPosition()):this.isVisible&&(this.mirrorEl&&(this.mirrorEl.style.display="none"),this.isVisible=e)}stop(e,t){let n=()=>{this.cleanup(),t()};e&&this.mirrorEl&&this.isVisible&&this.revertDuration&&(this.deltaX||this.deltaY)?this.doRevertAnimation(n,this.revertDuration):setTimeout(n,0)}doRevertAnimation(e,t){let n=this.mirrorEl,i=this.sourceEl.getBoundingClientRect();n.style.transition="top "+t+"ms,left "+t+"ms",(0,r.aP)(n,{left:i.left,top:i.top}),(0,r.b2)(n,()=>{n.style.transition="",e()})}cleanup(){this.mirrorEl&&((0,r.aO)(this.mirrorEl),this.mirrorEl=null),this.sourceEl=null}updateElPosition(){this.sourceEl&&this.isVisible&&(0,r.aP)(this.getMirrorEl(),{left:this.sourceElRect.left+this.deltaX,top:this.sourceElRect.top+this.deltaY})}getMirrorEl(){let e=this.sourceElRect,t=this.mirrorEl;return t||((t=this.mirrorEl=this.sourceEl.cloneNode(!0)).style.userSelect="none",t.style.webkitUserSelect="none",t.style.pointerEvents="none",t.classList.add("fc-event-dragging"),(0,r.aP)(t,{position:"fixed",zIndex:this.zIndex,visibility:"",boxSizing:"border-box",width:e.right-e.left,height:e.bottom-e.top,right:"auto",bottom:"auto",margin:0}),this.parentNode.appendChild(t)),t}}class u extends r.bb{constructor(e,t){super(),this.handleScroll=()=>{this.scrollTop=this.scrollController.getScrollTop(),this.scrollLeft=this.scrollController.getScrollLeft(),this.handleScrollChange()},this.scrollController=e,this.doesListening=t,this.scrollTop=this.origScrollTop=e.getScrollTop(),this.scrollLeft=this.origScrollLeft=e.getScrollLeft(),this.scrollWidth=e.getScrollWidth(),this.scrollHeight=e.getScrollHeight(),this.clientWidth=e.getClientWidth(),this.clientHeight=e.getClientHeight(),this.clientRect=this.computeClientRect(),this.doesListening&&this.getEventTarget().addEventListener("scroll",this.handleScroll)}destroy(){this.doesListening&&this.getEventTarget().removeEventListener("scroll",this.handleScroll)}getScrollTop(){return this.scrollTop}getScrollLeft(){return this.scrollLeft}setScrollTop(e){this.scrollController.setScrollTop(e),this.doesListening||(this.scrollTop=Math.max(Math.min(e,this.getMaxScrollTop()),0),this.handleScrollChange())}setScrollLeft(e){this.scrollController.setScrollLeft(e),this.doesListening||(this.scrollLeft=Math.max(Math.min(e,this.getMaxScrollLeft()),0),this.handleScrollChange())}getClientWidth(){return this.clientWidth}getClientHeight(){return this.clientHeight}getScrollWidth(){return this.scrollWidth}getScrollHeight(){return this.scrollHeight}handleScrollChange(){}}class h extends u{constructor(e,t){super(new r.bc(e),t)}getEventTarget(){return this.scrollController.el}computeClientRect(){return(0,r.b3)(this.scrollController.el)}}class f extends u{constructor(e){super(new r.bd,e)}getEventTarget(){return window}computeClientRect(){return{left:this.scrollLeft,right:this.scrollLeft+this.clientWidth,top:this.scrollTop,bottom:this.scrollTop+this.clientHeight}}handleScrollChange(){this.clientRect=this.computeClientRect()}}let g="function"==typeof performance?performance.now:Date.now;class p{constructor(){this.isEnabled=!0,this.scrollQuery=[window,".fc-scroller"],this.edgeThreshold=50,this.maxVelocity=300,this.pointerScreenX=null,this.pointerScreenY=null,this.isAnimating=!1,this.scrollCaches=null,this.everMovedUp=!1,this.everMovedDown=!1,this.everMovedLeft=!1,this.everMovedRight=!1,this.animate=()=>{if(this.isAnimating){let e=this.computeBestEdge(this.pointerScreenX+window.scrollX,this.pointerScreenY+window.scrollY);if(e){let t=g();this.handleSide(e,(t-this.msSinceRequest)/1e3),this.requestAnimation(t)}else this.isAnimating=!1}}}start(e,t,n){this.isEnabled&&(this.scrollCaches=this.buildCaches(n),this.pointerScreenX=null,this.pointerScreenY=null,this.everMovedUp=!1,this.everMovedDown=!1,this.everMovedLeft=!1,this.everMovedRight=!1,this.handleMove(e,t))}handleMove(e,t){if(this.isEnabled){let n=e-window.scrollX,i=t-window.scrollY,r=null===this.pointerScreenY?0:i-this.pointerScreenY,s=null===this.pointerScreenX?0:n-this.pointerScreenX;r<0?this.everMovedUp=!0:r>0&&(this.everMovedDown=!0),s<0?this.everMovedLeft=!0:s>0&&(this.everMovedRight=!0),this.pointerScreenX=n,this.pointerScreenY=i,this.isAnimating||(this.isAnimating=!0,this.requestAnimation(g()))}}stop(){if(this.isEnabled){for(let e of(this.isAnimating=!1,this.scrollCaches))e.destroy();this.scrollCaches=null}}requestAnimation(e){this.msSinceRequest=e,requestAnimationFrame(this.animate)}handleSide(e,t){let{scrollCache:n}=e,{edgeThreshold:i}=this,r=i-e.distance,s=r*r/(i*i)*this.maxVelocity*t,a=1;switch(e.name){case"left":a=-1;case"right":n.setScrollLeft(n.getScrollLeft()+s*a);break;case"top":a=-1;case"bottom":n.setScrollTop(n.getScrollTop()+s*a)}}computeBestEdge(e,t){let{edgeThreshold:n}=this,i=null;for(let r of this.scrollCaches||[]){let s=r.clientRect,a=e-s.left,o=s.right-e,l=t-s.top,d=s.bottom-t;a>=0&&o>=0&&l>=0&&d>=0&&(l<=n&&this.everMovedUp&&r.canScrollUp()&&(!i||i.distance>l)&&(i={scrollCache:r,name:"top",distance:l}),d<=n&&this.everMovedDown&&r.canScrollDown()&&(!i||i.distance>d)&&(i={scrollCache:r,name:"bottom",distance:d}),a<=n&&this.everMovedLeft&&r.canScrollLeft()&&(!i||i.distance>a)&&(i={scrollCache:r,name:"left",distance:a}),o<=n&&this.everMovedRight&&r.canScrollRight()&&(!i||i.distance>o)&&(i={scrollCache:r,name:"right",distance:o}))}return i}buildCaches(e){return this.queryScrollEls(e).map(e=>e===window?new f(!1):new h(e,!1))}queryScrollEls(e){let t=[];for(let n of this.scrollQuery)"object"==typeof n?t.push(n):t.push(...Array.prototype.slice.call(e.getRootNode().querySelectorAll(n)));return t}}class m extends r.bH{constructor(e,t){super(e),this.containerEl=e,this.delay=null,this.minDistance=0,this.touchScrollAllowed=!0,this.mirrorNeedsRevert=!1,this.isInteracting=!1,this.isDragging=!1,this.isDelayEnded=!1,this.isDistanceSurpassed=!1,this.delayTimeoutId=null,this.onPointerDown=e=>{!this.isDragging&&(this.isInteracting=!0,this.isDelayEnded=!1,this.isDistanceSurpassed=!1,(0,r.ar)(document.body),(0,r.at)(document.body),e.isTouch||e.origEvent.preventDefault(),this.emitter.trigger("pointerdown",e),this.isInteracting&&!this.pointer.shouldIgnoreMove&&(this.mirror.setIsVisible(!1),this.mirror.start(e.subjectEl,e.pageX,e.pageY),this.startDelay(e),this.minDistance||this.handleDistanceSurpassed(e)))},this.onPointerMove=e=>{if(this.isInteracting){if(this.emitter.trigger("pointermove",e),!this.isDistanceSurpassed){let t=this.minDistance,{deltaX:n,deltaY:i}=e;n*n+i*i>=t*t&&this.handleDistanceSurpassed(e)}this.isDragging&&("scroll"!==e.origEvent.type&&(this.mirror.handleMove(e.pageX,e.pageY),this.autoScroller.handleMove(e.pageX,e.pageY)),this.emitter.trigger("dragmove",e))}},this.onPointerUp=e=>{this.isInteracting&&(this.isInteracting=!1,(0,r.as)(document.body),(0,r.au)(document.body),this.emitter.trigger("pointerup",e),this.isDragging&&(this.autoScroller.stop(),this.tryStopDrag(e)),this.delayTimeoutId&&(clearTimeout(this.delayTimeoutId),this.delayTimeoutId=null))};let n=this.pointer=new l(e);n.emitter.on("pointerdown",this.onPointerDown),n.emitter.on("pointermove",this.onPointerMove),n.emitter.on("pointerup",this.onPointerUp),t&&(n.selector=t),this.mirror=new c,this.autoScroller=new p}destroy(){this.pointer.destroy(),this.onPointerUp({})}startDelay(e){"number"==typeof this.delay?this.delayTimeoutId=setTimeout(()=>{this.delayTimeoutId=null,this.handleDelayEnd(e)},this.delay):this.handleDelayEnd(e)}handleDelayEnd(e){this.isDelayEnded=!0,this.tryStartDrag(e)}handleDistanceSurpassed(e){this.isDistanceSurpassed=!0,this.tryStartDrag(e)}tryStartDrag(e){this.isDelayEnded&&this.isDistanceSurpassed&&(!this.pointer.wasTouchScroll||this.touchScrollAllowed)&&(this.isDragging=!0,this.mirrorNeedsRevert=!1,this.autoScroller.start(e.pageX,e.pageY,this.containerEl),this.emitter.trigger("dragstart",e),!1===this.touchScrollAllowed&&this.pointer.cancelTouchScroll())}tryStopDrag(e){this.mirror.stop(this.mirrorNeedsRevert,this.stopDrag.bind(this,e))}stopDrag(e){this.isDragging=!1,this.emitter.trigger("dragend",e)}setIgnoreMove(e){this.pointer.shouldIgnoreMove=e}setMirrorIsVisible(e){this.mirror.setIsVisible(e)}setMirrorNeedsRevert(e){this.mirrorNeedsRevert=e}setAutoScrollEnabled(e){this.autoScroller.isEnabled=e}}class v{constructor(e){this.el=e,this.origRect=(0,r.b6)(e),this.scrollCaches=(0,r.b5)(e).map(e=>new h(e,!0))}destroy(){for(let e of this.scrollCaches)e.destroy()}computeLeft(){let e=this.origRect.left;for(let t of this.scrollCaches)e+=t.origScrollLeft-t.getScrollLeft();return e}computeTop(){let e=this.origRect.top;for(let t of this.scrollCaches)e+=t.origScrollTop-t.getScrollTop();return e}isWithinClipping(e,t){let n={left:e,top:t};for(let e of this.scrollCaches)if(!function(e){let t=e.tagName;return"HTML"===t||"BODY"===t}(e.getEventTarget())&&!(0,r.aF)(n,e.clientRect))return!1;return!0}}class b{constructor(e,t){this.useSubjectCenter=!1,this.requireInitial=!0,this.disablePointCheck=!1,this.initialHit=null,this.movingHit=null,this.finalHit=null,this.handlePointerDown=e=>{let{dragging:t}=this;this.initialHit=null,this.movingHit=null,this.finalHit=null,this.prepareHits(),this.processFirstCoord(e),this.initialHit||!this.requireInitial?(t.setIgnoreMove(!1),this.emitter.trigger("pointerdown",e)):t.setIgnoreMove(!0)},this.handleDragStart=e=>{this.emitter.trigger("dragstart",e),this.handleMove(e,!0)},this.handleDragMove=e=>{this.emitter.trigger("dragmove",e),this.handleMove(e)},this.handlePointerUp=e=>{this.releaseHits(),this.emitter.trigger("pointerup",e)},this.handleDragEnd=e=>{this.movingHit&&this.emitter.trigger("hitupdate",null,!0,e),this.finalHit=this.movingHit,this.movingHit=null,this.emitter.trigger("dragend",e)},this.droppableStore=t,e.emitter.on("pointerdown",this.handlePointerDown),e.emitter.on("dragstart",this.handleDragStart),e.emitter.on("dragmove",this.handleDragMove),e.emitter.on("pointerup",this.handlePointerUp),e.emitter.on("dragend",this.handleDragEnd),this.dragging=e,this.emitter=new r.F}processFirstCoord(e){let t,n={left:e.pageX,top:e.pageY},i=n,s=e.subjectEl;s instanceof HTMLElement&&(t=(0,r.b6)(s),i=(0,r.aG)(i,t));let a=this.initialHit=this.queryHitForOffset(i.left,i.top);if(a){if(this.useSubjectCenter&&t){let e=(0,r.aE)(t,a.rect);e&&(i=(0,r.aH)(e))}this.coordAdjust=(0,r.aI)(i,n)}else this.coordAdjust={left:0,top:0}}handleMove(e,t){let n=this.queryHitForOffset(e.pageX+this.coordAdjust.left,e.pageY+this.coordAdjust.top);(t||!y(this.movingHit,n))&&(this.movingHit=n,this.emitter.trigger("hitupdate",n,!1,e))}prepareHits(){this.offsetTrackers=(0,r.a)(this.droppableStore,e=>(e.component.prepareHits(),new v(e.el)))}releaseHits(){let{offsetTrackers:e}=this;for(let t in e)e[t].destroy();this.offsetTrackers={}}queryHitForOffset(e,t){let{droppableStore:n,offsetTrackers:i}=this,s=null;for(let a in n){let o=n[a].component,l=i[a];if(l&&l.isWithinClipping(e,t)){let n=l.computeLeft(),i=l.computeTop(),d=e-n,c=t-i,{origRect:u}=l,h=u.right-u.left,f=u.bottom-u.top;if(d>=0&&d<h&&c>=0&&c<f){let e=o.queryHit(d,c,h,f);e&&(0,r.b9)(e.dateProfile.activeRange,e.dateSpan.range)&&(this.disablePointCheck||l.el.contains(l.el.getRootNode().elementFromPoint(d+n-window.scrollX,c+i-window.scrollY)))&&(!s||e.layer>s.layer)&&(e.componentId=a,e.context=o.context,e.rect.left+=n,e.rect.right+=n,e.rect.top+=i,e.rect.bottom+=i,s=e)}}}return s}}function y(e,t){return!e&&!t||!!e==!!t&&(0,r.bf)(e.dateSpan,t.dateSpan)}function w(e,t){var n,i;let r={};for(let n of t.pluginHooks.datePointTransforms)Object.assign(r,n(e,t));return Object.assign(r,(n=e,{date:(i=t.dateEnv).toDate(n.range.start),dateStr:i.formatIso(n.range.start,{omitTime:n.allDay}),allDay:n.allDay})),r}class _ extends r.Z{constructor(e){super(e),this.handlePointerDown=e=>{let{dragging:t}=this,n=e.origEvent.target;t.setIgnoreMove(!this.component.isValidDateDownEl(n))},this.handleDragEnd=e=>{let{component:t}=this,{pointer:n}=this.dragging;if(!n.wasTouchScroll){let{initialHit:n,finalHit:i}=this.hitDragging;if(n&&i&&y(n,i)){let{context:i}=t,r=Object.assign(Object.assign({},w(n.dateSpan,i)),{dayEl:n.dayEl,jsEvent:e.origEvent,view:i.viewApi||i.calendarApi.view});i.emitter.trigger("dateClick",r)}}},this.dragging=new m(e.el),this.dragging.autoScroller.isEnabled=!1;let t=this.hitDragging=new b(this.dragging,(0,r.bG)(e));t.emitter.on("pointerdown",this.handlePointerDown),t.emitter.on("dragend",this.handleDragEnd)}destroy(){this.dragging.destroy()}}class S extends r.Z{constructor(e){super(e),this.dragSelection=null,this.handlePointerDown=e=>{let{component:t,dragging:n}=this,{options:i}=t.context,r=i.selectable&&t.isValidDateDownEl(e.origEvent.target);n.setIgnoreMove(!r),n.delay=e.isTouch?function(e){let{options:t}=e.context,n=t.selectLongPressDelay;return null==n&&(n=t.longPressDelay),n}(t):null},this.handleDragStart=e=>{this.component.context.calendarApi.unselect(e)},this.handleHitUpdate=(e,t)=>{let{context:n}=this.component,i=null,s=!1;if(e){let t=this.hitDragging.initialHit;e.componentId===t.componentId&&this.isHitComboAllowed&&!this.isHitComboAllowed(t,e)||(i=function(e,t,n){let i=e.dateSpan,s=t.dateSpan,a=[i.range.start,i.range.end,s.range.start,s.range.end];a.sort(r.av);let o={};for(let i of n){let n=i(e,t);if(!1===n)return null;n&&Object.assign(o,n)}return o.range={start:a[0],end:a[3]},o.allDay=i.allDay,o}(t,e,n.pluginHooks.dateSelectionTransformers)),i&&(0,r.b_)(i,e.dateProfile,n)||(s=!0,i=null)}i?n.dispatch({type:"SELECT_DATES",selection:i}):t||n.dispatch({type:"UNSELECT_DATES"}),s?(0,r.ax)():(0,r.aw)(),t||(this.dragSelection=i)},this.handlePointerUp=e=>{this.dragSelection&&((0,r.cu)(this.dragSelection,e,this.component.context),this.dragSelection=null)};let{component:t}=e,{options:n}=t.context,i=this.dragging=new m(e.el);i.touchScrollAllowed=!1,i.minDistance=n.selectMinDistance||0,i.autoScroller.isEnabled=n.dragScroll;let s=this.hitDragging=new b(this.dragging,(0,r.bG)(e));s.emitter.on("pointerdown",this.handlePointerDown),s.emitter.on("dragstart",this.handleDragStart),s.emitter.on("hitupdate",this.handleHitUpdate),s.emitter.on("pointerup",this.handlePointerUp)}destroy(){this.dragging.destroy()}}class E extends r.Z{constructor(e){super(e),this.subjectEl=null,this.subjectSeg=null,this.isDragging=!1,this.eventRange=null,this.relevantEvents=null,this.receivingContext=null,this.validMutation=null,this.mutatedRelevantEvents=null,this.handlePointerDown=e=>{let t=e.origEvent.target,{component:n,dragging:i}=this,{mirror:s}=i,{options:a}=n.context,o=n.context;this.subjectEl=e.subjectEl;let l=this.subjectSeg=(0,r._)(e.subjectEl),d=(this.eventRange=l.eventRange).instance.instanceId;this.relevantEvents=(0,r.aV)(o.getCurrentData().eventStore,d),i.minDistance=e.isTouch?0:a.eventDragMinDistance,i.delay=e.isTouch&&d!==n.props.eventSelection?function(e){let{options:t}=e.context,n=t.eventLongPressDelay;return null==n&&(n=t.longPressDelay),n}(n):null,a.fixedMirrorParent?s.parentNode=a.fixedMirrorParent:s.parentNode=(0,r.$)(t,".fc"),s.revertDuration=a.dragRevertDuration;let c=n.isValidSegDownEl(t)&&!(0,r.$)(t,".fc-event-resizer");i.setIgnoreMove(!c),this.isDragging=c&&e.subjectEl.classList.contains("fc-event-draggable")},this.handleDragStart=e=>{let t=this.component.context,n=this.eventRange,i=n.instance.instanceId;e.isTouch?i!==this.component.props.eventSelection&&t.dispatch({type:"SELECT_EVENT",eventInstanceId:i}):t.dispatch({type:"UNSELECT_EVENT"}),this.isDragging&&(t.calendarApi.unselect(e),t.emitter.trigger("eventDragStart",{el:this.subjectEl,event:new r.a0(t,n.def,n.instance),jsEvent:e.origEvent,view:t.viewApi}))},this.handleHitUpdate=(e,t)=>{if(!this.isDragging)return;let n=this.relevantEvents,i=this.hitDragging.initialHit,s=this.component.context,a=null,o=null,l=null,d=!1,c={affectedEvents:n,mutatedEvents:(0,r.I)(),isEvent:!0};if(e){let t=(a=e.context).options;s===a||t.editable&&t.droppable?(o=function(e,t,n,i){let s=e.dateSpan,a=t.dateSpan,o=s.range.start,l=a.range.start,d={};s.allDay!==a.allDay&&(d.allDay=a.allDay,d.hasEnd=t.context.options.allDayMaintainDuration,o=a.allDay?(0,r.q)(n):n);let c=(0,r.aA)(o,l,e.context.dateEnv,e.componentId===t.componentId?e.largeUnit:null);c.milliseconds&&(d.allDay=!1);let u={datesDelta:c,standardProps:d};for(let n of i)n(u,e,t);return u}(i,e,this.eventRange.instance.range.start,a.getCurrentData().pluginHooks.eventDragMutationMassagers))&&(c.mutatedEvents=l=(0,r.bX)(n,a.getCurrentData().eventUiBases,o,a),(0,r.bZ)(c,e.dateProfile,a)||(d=!0,o=null,l=null,c.mutatedEvents=(0,r.I)())):a=null}this.displayDrag(a,c),d?(0,r.ax)():(0,r.aw)(),t||(s===a&&y(i,e)&&(o=null),this.dragging.setMirrorNeedsRevert(!o),this.dragging.setMirrorIsVisible(!e||!this.subjectEl.getRootNode().querySelector(".fc-event-mirror")),this.receivingContext=a,this.validMutation=o,this.mutatedRelevantEvents=l)},this.handlePointerUp=()=>{this.isDragging||this.cleanup()},this.handleDragEnd=e=>{if(this.isDragging){let t=this.component.context,n=t.viewApi,{receivingContext:i,validMutation:s}=this,a=this.eventRange.def,o=this.eventRange.instance,l=new r.a0(t,a,o),d=this.relevantEvents,c=this.mutatedRelevantEvents,{finalHit:u}=this.hitDragging;if(this.clearDrag(),t.emitter.trigger("eventDragStop",{el:this.subjectEl,event:l,jsEvent:e.origEvent,view:n}),s){if(i===t){let i=new r.a0(t,c.defs[a.defId],o?c.instances[o.instanceId]:null);t.dispatch({type:"MERGE_EVENTS",eventStore:c});let u={oldEvent:l,event:i,relatedEvents:(0,r.w)(c,t,o),revert(){t.dispatch({type:"MERGE_EVENTS",eventStore:d})}},h={};for(let e of t.getCurrentData().pluginHooks.eventDropTransformers)Object.assign(h,e(s,t));t.emitter.trigger("eventDrop",Object.assign(Object.assign(Object.assign({},u),h),{el:e.subjectEl,delta:s.datesDelta,jsEvent:e.origEvent,view:n})),t.emitter.trigger("eventChange",u)}else if(i){let s={event:l,relatedEvents:(0,r.w)(d,t,o),revert(){t.dispatch({type:"MERGE_EVENTS",eventStore:d})}};t.emitter.trigger("eventLeave",Object.assign(Object.assign({},s),{draggedEl:e.subjectEl,view:n})),t.dispatch({type:"REMOVE_EVENTS",eventStore:d}),t.emitter.trigger("eventRemove",s);let h=c.defs[a.defId],f=c.instances[o.instanceId],g=new r.a0(i,h,f);i.dispatch({type:"MERGE_EVENTS",eventStore:c});let p={event:g,relatedEvents:(0,r.w)(c,i,f),revert(){i.dispatch({type:"REMOVE_EVENTS",eventStore:c})}};i.emitter.trigger("eventAdd",p),e.isTouch&&i.dispatch({type:"SELECT_EVENT",eventInstanceId:o.instanceId}),i.emitter.trigger("drop",Object.assign(Object.assign({},w(u.dateSpan,i)),{draggedEl:e.subjectEl,jsEvent:e.origEvent,view:u.context.viewApi})),i.emitter.trigger("eventReceive",Object.assign(Object.assign({},p),{draggedEl:e.subjectEl,view:u.context.viewApi}))}}else t.emitter.trigger("_noEventDrop")}this.cleanup()};let{component:t}=this,{options:n}=t.context,i=this.dragging=new m(e.el);i.pointer.selector=E.SELECTOR,i.touchScrollAllowed=!1,i.autoScroller.isEnabled=n.dragScroll;let s=this.hitDragging=new b(this.dragging,r.a7);s.useSubjectCenter=e.useEventCenter,s.emitter.on("pointerdown",this.handlePointerDown),s.emitter.on("dragstart",this.handleDragStart),s.emitter.on("hitupdate",this.handleHitUpdate),s.emitter.on("pointerup",this.handlePointerUp),s.emitter.on("dragend",this.handleDragEnd)}destroy(){this.dragging.destroy()}displayDrag(e,t){let n=this.component.context,i=this.receivingContext;i&&i!==e&&(i===n?i.dispatch({type:"SET_EVENT_DRAG",state:{affectedEvents:t.affectedEvents,mutatedEvents:(0,r.I)(),isEvent:!0}}):i.dispatch({type:"UNSET_EVENT_DRAG"})),e&&e.dispatch({type:"SET_EVENT_DRAG",state:t})}clearDrag(){let e=this.component.context,{receivingContext:t}=this;t&&t.dispatch({type:"UNSET_EVENT_DRAG"}),e!==t&&e.dispatch({type:"UNSET_EVENT_DRAG"})}cleanup(){this.subjectSeg=null,this.isDragging=!1,this.eventRange=null,this.relevantEvents=null,this.receivingContext=null,this.validMutation=null,this.mutatedRelevantEvents=null}}E.SELECTOR=".fc-event-draggable, .fc-event-resizable";class x extends r.Z{constructor(e){super(e),this.draggingSegEl=null,this.draggingSeg=null,this.eventRange=null,this.relevantEvents=null,this.validMutation=null,this.mutatedRelevantEvents=null,this.handlePointerDown=e=>{let{component:t}=this,n=this.querySegEl(e),i=(0,r._)(n),s=this.eventRange=i.eventRange;this.dragging.minDistance=t.context.options.eventDragMinDistance,this.dragging.setIgnoreMove(!this.component.isValidSegDownEl(e.origEvent.target)||e.isTouch&&this.component.props.eventSelection!==s.instance.instanceId)},this.handleDragStart=e=>{let{context:t}=this.component,n=this.eventRange;this.relevantEvents=(0,r.aV)(t.getCurrentData().eventStore,this.eventRange.instance.instanceId);let i=this.querySegEl(e);this.draggingSegEl=i,this.draggingSeg=(0,r._)(i),t.calendarApi.unselect(),t.emitter.trigger("eventResizeStart",{el:i,event:new r.a0(t,n.def,n.instance),jsEvent:e.origEvent,view:t.viewApi})},this.handleHitUpdate=(e,t,n)=>{let{context:i}=this.component,s=this.relevantEvents,a=this.hitDragging.initialHit,o=this.eventRange.instance,l=null,d=null,c=!1,u={affectedEvents:s,mutatedEvents:(0,r.I)(),isEvent:!0};e&&(e.componentId===a.componentId&&this.isHitComboAllowed&&!this.isHitComboAllowed(a,e)||(l=function(e,t,n,i){let s=e.context.dateEnv,a=e.dateSpan.range.start,o=t.dateSpan.range.start,l=(0,r.aA)(a,o,s,e.largeUnit);if(n){if(s.add(i.start,l)<i.end)return{startDelta:l}}else if(s.add(i.end,l)>i.start)return{endDelta:l};return null}(a,e,n.subjectEl.classList.contains("fc-event-resizer-start"),o.range))),l&&(u.mutatedEvents=d=(0,r.bX)(s,i.getCurrentData().eventUiBases,l,i),(0,r.bZ)(u,e.dateProfile,i)||(c=!0,l=null,d=null,u.mutatedEvents=null)),d?i.dispatch({type:"SET_EVENT_RESIZE",state:u}):i.dispatch({type:"UNSET_EVENT_RESIZE"}),c?(0,r.ax)():(0,r.aw)(),t||(l&&y(a,e)&&(l=null),this.validMutation=l,this.mutatedRelevantEvents=d)},this.handleDragEnd=e=>{let{context:t}=this.component,n=this.eventRange.def,i=this.eventRange.instance,s=new r.a0(t,n,i),a=this.relevantEvents,o=this.mutatedRelevantEvents;if(t.emitter.trigger("eventResizeStop",{el:this.draggingSegEl,event:s,jsEvent:e.origEvent,view:t.viewApi}),this.validMutation){let l=new r.a0(t,o.defs[n.defId],i?o.instances[i.instanceId]:null);t.dispatch({type:"MERGE_EVENTS",eventStore:o});let d={oldEvent:s,event:l,relatedEvents:(0,r.w)(o,t,i),revert(){t.dispatch({type:"MERGE_EVENTS",eventStore:a})}};t.emitter.trigger("eventResize",Object.assign(Object.assign({},d),{el:this.draggingSegEl,startDelta:this.validMutation.startDelta||(0,r.d)(0),endDelta:this.validMutation.endDelta||(0,r.d)(0),jsEvent:e.origEvent,view:t.viewApi})),t.emitter.trigger("eventChange",d)}else t.emitter.trigger("_noEventResize");this.draggingSeg=null,this.relevantEvents=null,this.validMutation=null};let{component:t}=e,n=this.dragging=new m(e.el);n.pointer.selector=".fc-event-resizer",n.touchScrollAllowed=!1,n.autoScroller.isEnabled=t.context.options.dragScroll;let i=this.hitDragging=new b(this.dragging,(0,r.bG)(e));i.emitter.on("pointerdown",this.handlePointerDown),i.emitter.on("dragstart",this.handleDragStart),i.emitter.on("hitupdate",this.handleHitUpdate),i.emitter.on("dragend",this.handleDragEnd)}destroy(){this.dragging.destroy()}querySegEl(e){return(0,r.$)(e.subjectEl,".fc-event")}}class D{constructor(e){this.context=e,this.isRecentPointerDateSelect=!1,this.matchesCancel=!1,this.matchesEvent=!1,this.onSelect=e=>{e.jsEvent&&(this.isRecentPointerDateSelect=!0)},this.onDocumentPointerDown=e=>{let t=this.context.options.unselectCancel,n=(0,r.aR)(e.origEvent);this.matchesCancel=!!(0,r.$)(n,t),this.matchesEvent=!!(0,r.$)(n,E.SELECTOR)},this.onDocumentPointerUp=e=>{let{context:t}=this,{documentPointer:n}=this,i=t.getCurrentData();if(!n.wasTouchScroll){if(i.dateSelection&&!this.isRecentPointerDateSelect){let n=t.options.unselectAuto;!n||n&&this.matchesCancel||t.calendarApi.unselect(e)}i.eventSelection&&!this.matchesEvent&&t.dispatch({type:"UNSELECT_EVENT"})}this.isRecentPointerDateSelect=!1};let t=this.documentPointer=new l(document);t.shouldIgnoreMove=!0,t.shouldWatchScroll=!1,t.emitter.on("pointerdown",this.onDocumentPointerDown),t.emitter.on("pointerup",this.onDocumentPointerUp),e.emitter.on("select",this.onSelect)}destroy(){this.context.emitter.off("select",this.onSelect),this.documentPointer.destroy()}}let R={fixedMirrorParent:r.n},T={dateClick:r.n,eventDragStart:r.n,eventDragStop:r.n,eventDrop:r.n,eventResizeStart:r.n,eventResizeStop:r.n,eventResize:r.n,drop:r.n,eventReceive:r.n,eventLeave:r.n};r.bI.dataAttrPrefix="",r.bH;var C=(0,i.i1)({name:"@fullcalendar/interaction",componentInteractions:[_,S,E,x],calendarInteractions:[D],elementDraggingImpl:m,optionRefiners:R,listenerRefiners:T})},44783:(e,t,n)=>{"use strict";n.d(t,{Cg:()=>s,_P:()=>l,_m:()=>o,my:()=>i,s0:()=>a,w4:()=>r});let i=6048e5,r=864e5,s=6e4,a=36e5,o=1e3,l=Symbol.for("constructDateFrom")},45279:(e,t,n)=>{"use strict";n.d(t,{c:()=>d});let i={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function r(e){return function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}let s={date:r({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:r({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:r({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},a={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function o(e){return(t,n)=>{let i;if("formatting"===((null==n?void 0:n.context)?String(n.context):"standalone")&&e.formattingValues){let t=e.defaultFormattingWidth||e.defaultWidth,r=(null==n?void 0:n.width)?String(n.width):t;i=e.formattingValues[r]||e.formattingValues[t]}else{let t=e.defaultWidth,r=(null==n?void 0:n.width)?String(n.width):e.defaultWidth;i=e.values[r]||e.values[t]}return i[e.argumentCallback?e.argumentCallback(t):t]}}function l(e){return function(t){let n,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=i.width,s=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],a=t.match(s);if(!a)return null;let o=a[0],l=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],d=Array.isArray(l)?function(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}(l,e=>e.test(o)):function(e,t){for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}(l,e=>e.test(o));return n=e.valueCallback?e.valueCallback(d):d,{value:n=i.valueCallback?i.valueCallback(n):n,rest:t.slice(o.length)}}}let d={code:"en-US",formatDistance:(e,t,n)=>{let r,s=i[e];if(r="string"==typeof s?s:1===t?s.one:s.other.replace("{{count}}",t.toString()),null==n?void 0:n.addSuffix)if(n.comparison&&n.comparison>0)return"in "+r;else return r+" ago";return r},formatLong:s,formatRelative:(e,t,n,i)=>a[e],localize:{ordinalNumber:(e,t)=>{let n=Number(e),i=n%100;if(i>20||i<10)switch(i%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:o({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:o({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:o({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:o({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:function(e){return function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=t.match(e.matchPattern);if(!i)return null;let r=i[0],s=t.match(e.parsePattern);if(!s)return null;let a=e.valueCallback?e.valueCallback(s[0]):s[0];return{value:a=n.valueCallback?n.valueCallback(a):a,rest:t.slice(r.length)}}}({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:l({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:l({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:l({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:l({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:l({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}}},46822:(e,t,n)=>{"use strict";n.d(t,{n:()=>r});var i=n(23327);function r(e,t){return+(0,i.a)(e)==+(0,i.a)(t)}},50826:(e,t,n)=>{"use strict";n.d(t,{q:()=>r});let i={};function r(){return i}},51220:(e,t,n)=>{"use strict";n.d(t,{m:()=>s});let i=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},r=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},s={p:r,P:(e,t)=>{let n,s=e.match(/(P+)(p+)?/)||[],a=s[1],o=s[2];if(!o)return i(e,t);switch(a){case"P":n=t.dateTime({width:"short"});break;case"PP":n=t.dateTime({width:"medium"});break;case"PPP":n=t.dateTime({width:"long"});break;default:n=t.dateTime({width:"full"})}return n.replace("{{date}}",i(a,t)).replace("{{time}}",r(o,t))}}},51314:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var i=n(80053),r=n(77883),s=(0,i.i1)({name:"@fullcalendar/daygrid",initialView:"dayGridMonth",views:{dayGrid:{component:r.eu,dateProfileGeneratorClass:r.LH},dayGridDay:{type:"dayGrid",duration:{days:1}},dayGridWeek:{type:"dayGrid",duration:{weeks:1}},dayGridMonth:{type:"dayGrid",duration:{months:1},fixedWeekCount:!0},dayGridYear:{type:"dayGrid",duration:{years:1}}}})},52372:(e,t,n)=>{"use strict";n.d(t,{b:()=>r});var i=n(20735);function r(e,t){return(0,i.k)(e,{...t,weekStartsOn:1})}},52666:(e,t,n)=>{"use strict";n.d(t,{j:()=>s});var i=n(63039),r=n(23327);function s(e,t){let n,s=null==t?void 0:t.in;return e.forEach(e=>{s||"object"!=typeof e||(s=i.w.bind(null,e));let t=(0,r.a)(e,s);(!n||n>t||isNaN(+t))&&(n=t)}),(0,i.w)(s,n||NaN)}},54954:(e,t,n)=>{"use strict";function i(e){return e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e)}n.d(t,{$:()=>i})},56464:(e,t,n)=>{"use strict";n.d(t,{v:()=>r});var i=n(23327);function r(e,t,n){let r=+(0,i.a)(e,null==n?void 0:n.in),[s,a]=[+(0,i.a)(t.start,null==n?void 0:n.in),+(0,i.a)(t.end,null==n?void 0:n.in)].sort((e,t)=>e-t);return r>=s&&r<=a}},58698:(e,t,n)=>{"use strict";function i(e){return(t,n)=>{let i;if("formatting"===((null==n?void 0:n.context)?String(n.context):"standalone")&&e.formattingValues){let t=e.defaultFormattingWidth||e.defaultWidth,r=(null==n?void 0:n.width)?String(n.width):t;i=e.formattingValues[r]||e.formattingValues[t]}else{let t=e.defaultWidth,r=(null==n?void 0:n.width)?String(n.width):e.defaultWidth;i=e.values[r]||e.values[t]}return i[e.argumentCallback?e.argumentCallback(t):t]}}n.d(t,{o:()=>i})},63039:(e,t,n)=>{"use strict";n.d(t,{w:()=>r});var i=n(44783);function r(e,t){return"function"==typeof e?e(t):e&&"object"==typeof e&&i._P in e?e[i._P](t):e instanceof Date?new e.constructor(t):new Date(t)}},63287:(e,t,n)=>{"use strict";n.d(t,{g:()=>r});var i=n(23327);function r(e,t,n){let r=(0,i.a)(e,null==n?void 0:n.in);return r.setSeconds(t),r}},63998:(e,t,n)=>{"use strict";n.d(t,{z:()=>s});var i=n(44783),r=n(23327);function s(e,t,n){let s=(0,r.a)(e,null==n?void 0:n.in);return s.setTime(s.getTime()+t*i.Cg),s}},65637:(e,t,n)=>{"use strict";n.d(t,{e:()=>r});var i=n(17546);function r(e,t,n){return(0,i.P)(e,12*t,n)}},67096:(e,t,n)=>{"use strict";n.d(t,{p:()=>r});var i=n(23327);function r(e,t){let n=(0,i.a)(e,null==t?void 0:t.in),r=n.getMonth();return n.setFullYear(n.getFullYear(),r+1,0),n.setHours(23,59,59,999),n}},67356:(e,t,n)=>{"use strict";function i(e){return function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}n.d(t,{k:()=>i})},68514:(e,t,n)=>{"use strict";n.d(t,{$:()=>s});var i=n(50826),r=n(23327);function s(e,t){var n,s,a,o,l,d,c,u;let h=(0,i.q)(),f=null!=(u=null!=(c=null!=(d=null!=(l=null==t?void 0:t.weekStartsOn)?l:null==t||null==(s=t.locale)||null==(n=s.options)?void 0:n.weekStartsOn)?d:h.weekStartsOn)?c:null==(o=h.locale)||null==(a=o.options)?void 0:a.weekStartsOn)?u:0,g=(0,r.a)(e,null==t?void 0:t.in),p=g.getDay();return g.setDate(g.getDate()+((p<f?-7:0)+6-(p-f))),g.setHours(23,59,59,999),g}},69074:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});let i=(0,n(19946).A)("Calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]])},70331:(e,t,n)=>{"use strict";n.d(t,{i:()=>s});var i=n(63039),r=n(23327);function s(e,t,n){let s=(0,r.a)(e,null==n?void 0:n.in);return isNaN(+s)?(0,i.w)((null==n?void 0:n.in)||e,NaN):(s.setFullYear(t),s)}},74251:(e,t,n)=>{"use strict";n.d(t,{U:()=>r});var i=n(79447);function r(e,t,n){let[r,s]=(0,i.x)(null==n?void 0:n.in,e,t);return 12*(r.getFullYear()-s.getFullYear())+(r.getMonth()-s.getMonth())}},74266:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var i=n(12115),r=n(47650),s=n(80053),a=n(35612);let o=18>parseInt(String(i.version).split(".")[0]);class l extends i.Component{constructor(){super(...arguments),this.elRef=(0,i.createRef)(),this.isUpdating=!1,this.isUnmounting=!1,this.state={customRenderingMap:new Map},this.requestResize=()=>{this.isUnmounting||(this.cancelResize(),this.resizeId=requestAnimationFrame(()=>{this.doResize()}))}}render(){let e=[];for(let t of this.state.customRenderingMap.values())e.push(i.createElement(d,{key:t.id,customRendering:t}));return i.createElement("div",{ref:this.elRef},e)}componentDidMount(){let e;this.isUnmounting=!1;let t=new a.cy;this.handleCustomRendering=t.handle.bind(t),this.calendar=new s.Vv(this.elRef.current,Object.assign(Object.assign({},this.props),{handleCustomRendering:this.handleCustomRendering})),this.calendar.render(),this.calendar.on("_beforeprint",()=>{(0,r.flushSync)(()=>{})}),t.subscribe(t=>{let n=Date.now(),i=!e;(o||i||this.isUpdating||this.isUnmounting||n-e<100?c:r.flushSync)(()=>{this.setState({customRenderingMap:t},()=>{e=n,i?this.doResize():this.requestResize()})})})}componentDidUpdate(){this.isUpdating=!0,this.calendar.resetOptions(Object.assign(Object.assign({},this.props),{handleCustomRendering:this.handleCustomRendering})),this.isUpdating=!1}componentWillUnmount(){this.isUnmounting=!0,this.cancelResize(),this.calendar.destroy()}doResize(){this.calendar.updateSize()}cancelResize(){void 0!==this.resizeId&&(cancelAnimationFrame(this.resizeId),this.resizeId=void 0)}getApi(){return this.calendar}}l.act=c;class d extends i.PureComponent{render(){let{customRendering:e}=this.props,{generatorMeta:t}=e,n="function"==typeof t?t(e.renderProps):t;return(0,r.createPortal)(n,e.containerEl)}}function c(e){e()}},75935:(e,t,n)=>{"use strict";n.d(t,{a:()=>r});var i=n(17546);function r(e,t,n){return(0,i.P)(e,-t,n)}},76151:(e,t,n)=>{"use strict";n.d(t,{W:()=>r});var i=n(23327);function r(e){return+(0,i.a)(e)}},76344:(e,t,n)=>{"use strict";n.d(t,{P:()=>r});var i=n(23327);function r(e,t){return(0,i.a)(e,null==t?void 0:t.in).getDay()}},76433:(e,t,n)=>{"use strict";n.d(t,{q:()=>r});var i=n(23327);function r(e,t){return(0,i.a)(e,null==t?void 0:t.in).getHours()}},77667:(e,t,n)=>{"use strict";n.d(t,{S:()=>r});var i=n(23327);function r(e){return(0,i.a)(e).getSeconds()}},77883:(e,t,n)=>{"use strict";n.d(t,{LH:()=>P,eu:()=>k,t7:()=>C});var i=n(35612),r=n(11936);class s extends i.be{constructor(){super(...arguments),this.headerElRef=(0,r._3)()}renderSimpleLayout(e,t){let{props:n,context:s}=this,a=[],o=(0,i.cc)(s.options);return e&&a.push({type:"header",key:"header",isSticky:o,chunk:{elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}}),a.push({type:"body",key:"body",liquid:!0,chunk:{content:t}}),(0,r.n)(i.ct,{elClasses:["fc-daygrid"],viewSpec:s.viewSpec},(0,r.n)(i.b$,{liquid:!n.isHeightAuto&&!n.forPrint,collapsibleWidth:n.forPrint,cols:[],sections:a}))}renderHScrollLayout(e,t,n,s){let a=this.context.pluginHooks.scrollGridImpl;if(!a)throw Error("No ScrollGrid implementation");let{props:o,context:l}=this,d=!o.forPrint&&(0,i.cc)(l.options),c=!o.forPrint&&(0,i.cb)(l.options),u=[];return e&&u.push({type:"header",key:"header",isSticky:d,chunks:[{key:"main",elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}]}),u.push({type:"body",key:"body",liquid:!0,chunks:[{key:"main",content:t}]}),c&&u.push({type:"footer",key:"footer",isSticky:!0,chunks:[{key:"main",content:i.ca}]}),(0,r.n)(i.ct,{elClasses:["fc-daygrid"],viewSpec:l.viewSpec},(0,r.n)(a,{liquid:!o.isHeightAuto&&!o.forPrint,forPrint:o.forPrint,collapsibleWidth:o.forPrint,colGroups:[{cols:[{span:n,minWidth:s}]}],sections:u}))}}function a(e,t){let n=[];for(let e=0;e<t;e+=1)n[e]=[];for(let t of e)n[t.row].push(t);return n}function o(e,t){let n=[];for(let e=0;e<t;e+=1)n[e]=[];for(let t of e)n[t.firstCol].push(t);return n}function l(e,t){let n=[];if(e){for(let i=0;i<t;i+=1)n[i]={affectedInstances:e.affectedInstances,isEvent:e.isEvent,segs:[]};for(let t of e.segs)n[t.row].segs.push(t)}else for(let e=0;e<t;e+=1)n[e]=null;return n}let d=(0,i.x)({hour:"numeric",minute:"2-digit",omitZeroMinute:!0,meridiem:"narrow"});function c(e){let{display:t}=e.eventRange.ui;return"list-item"===t||"auto"===t&&!e.eventRange.def.allDay&&e.firstCol===e.lastCol&&e.isStart&&e.isEnd}class u extends i.B{render(){let{props:e}=this;return(0,r.n)(i.cj,Object.assign({},e,{elClasses:["fc-daygrid-event","fc-daygrid-block-event","fc-h-event"],defaultTimeFormat:d,defaultDisplayEventEnd:e.defaultDisplayEventEnd,disableResizing:!e.seg.eventRange.def.allDay}))}}class h extends i.B{render(){let{props:e,context:t}=this,{options:n}=t,{seg:s}=e,a=n.eventTimeFormat||d,o=(0,i.bQ)(s,a,t,!0,e.defaultDisplayEventEnd);return(0,r.n)(i.cn,Object.assign({},e,{elTag:"a",elClasses:["fc-daygrid-event","fc-daygrid-dot-event"],elAttrs:(0,i.bU)(e.seg,t),defaultGenerator:f,timeText:o,isResizing:!1,isDateSelecting:!1}))}}function f(e){return(0,r.n)(r.FK,null,(0,r.n)("div",{className:"fc-daygrid-event-dot",style:{borderColor:e.borderColor||e.backgroundColor}}),e.timeText&&(0,r.n)("div",{className:"fc-event-time"},e.timeText),(0,r.n)("div",{className:"fc-event-title"},e.event.title||(0,r.n)(r.FK,null,"\xa0")))}class g extends i.B{constructor(){super(...arguments),this.compileSegs=(0,i.z)(p)}render(){let{props:e}=this,{allSegs:t,invisibleSegs:n}=this.compileSegs(e.singlePlacements);return(0,r.n)(i.cr,{elClasses:["fc-daygrid-more-link"],dateProfile:e.dateProfile,todayRange:e.todayRange,allDayDate:e.allDayDate,moreCnt:e.moreCnt,allSegs:t,hiddenSegs:n,alignmentElRef:e.alignmentElRef,alignGridTop:e.alignGridTop,extraDateSpan:e.extraDateSpan,popoverContent:()=>{let n=(e.eventDrag?e.eventDrag.affectedInstances:null)||(e.eventResize?e.eventResize.affectedInstances:null)||{};return(0,r.n)(r.FK,null,t.map(t=>{let s=t.eventRange.instance.instanceId;return(0,r.n)("div",{className:"fc-daygrid-event-harness",key:s,style:{visibility:n[s]?"hidden":""}},c(t)?(0,r.n)(h,Object.assign({seg:t,isDragging:!1,isSelected:s===e.eventSelection,defaultDisplayEventEnd:!1},(0,i.bS)(t,e.todayRange))):(0,r.n)(u,Object.assign({seg:t,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:s===e.eventSelection,defaultDisplayEventEnd:!1},(0,i.bS)(t,e.todayRange))))}))}})}}function p(e){let t=[],n=[];for(let i of e)t.push(i.seg),i.isVisible||n.push(i.seg);return{allSegs:t,invisibleSegs:n}}let m=(0,i.x)({week:"narrow"});class v extends i.be{constructor(){super(...arguments),this.rootElRef=(0,r._3)(),this.state={dayNumberId:(0,i.a5)()},this.handleRootEl=e=>{(0,i.Y)(this.rootElRef,e),(0,i.Y)(this.props.elRef,e)}}render(){let{context:e,props:t,state:n,rootElRef:s}=this,{options:a,dateEnv:o}=e,{date:l,dateProfile:d}=t,c=t.showDayNumber&&function(e,t,n){let{start:r,end:s}=t,a=(0,i.bg)(s,-1),o=n.getYear(r),l=n.getMonth(r),d=n.getYear(a),c=n.getMonth(a);return(o!==d||l!==c)&&!!(e.valueOf()===r.valueOf()||1===n.getDay(e)&&e.valueOf()<s.valueOf())}(l,d.currentRange,o);return(0,r.n)(i.cl,{elTag:"td",elRef:this.handleRootEl,elClasses:["fc-daygrid-day",...t.extraClassNames||[]],elAttrs:Object.assign(Object.assign(Object.assign({},t.extraDataAttrs),t.showDayNumber?{"aria-labelledby":n.dayNumberId}:{}),{role:"gridcell"}),defaultGenerator:b,date:l,dateProfile:d,todayRange:t.todayRange,showDayNumber:t.showDayNumber,isMonthStart:c,extraRenderProps:t.extraRenderProps},(o,d)=>(0,r.n)("div",{ref:t.innerElRef,className:"fc-daygrid-day-frame fc-scrollgrid-sync-inner",style:{minHeight:t.minHeight}},t.showWeekNumber&&(0,r.n)(i.cq,{elTag:"a",elClasses:["fc-daygrid-week-number"],elAttrs:(0,i.b0)(e,l,"week"),date:l,defaultFormat:m}),!d.isDisabled&&(t.showDayNumber||(0,i.cm)(a)||t.forceDayTop)?(0,r.n)("div",{className:"fc-daygrid-day-top"},(0,r.n)(o,{elTag:"a",elClasses:["fc-daygrid-day-number",c&&"fc-daygrid-month-start"],elAttrs:Object.assign(Object.assign({},(0,i.b0)(e,l)),{id:n.dayNumberId})})):t.showDayNumber?(0,r.n)("div",{className:"fc-daygrid-day-top",style:{visibility:"hidden"}},(0,r.n)("a",{className:"fc-daygrid-day-number"},"\xa0")):void 0,(0,r.n)("div",{className:"fc-daygrid-day-events",ref:t.fgContentElRef},t.fgContent,(0,r.n)("div",{className:"fc-daygrid-day-bottom",style:{marginTop:t.moreMarginTop}},(0,r.n)(g,{allDayDate:l,singlePlacements:t.singlePlacements,moreCnt:t.moreCnt,alignmentElRef:s,alignGridTop:!t.showDayNumber,extraDateSpan:t.extraDateSpan,dateProfile:t.dateProfile,eventSelection:t.eventSelection,eventDrag:t.eventDrag,eventResize:t.eventResize,todayRange:t.todayRange}))),(0,r.n)("div",{className:"fc-daygrid-day-bg"},t.bgContent)))}}function b(e){return e.dayNumberText||(0,r.n)(r.FK,null,"\xa0")}function y(e){return e.eventRange.instance.instanceId+":"+e.firstCol}function w(e){return y(e)+":"+e.lastCol}function _(e,t,n,r){if(e.firstCol===t&&e.lastCol===n-1)return e;let s=e.eventRange,a=s.range,o=(0,i.o)(a,{start:r[t].date,end:(0,i.t)(r[n-1].date,1)});return Object.assign(Object.assign({},e),{firstCol:t,lastCol:n-1,eventRange:{def:s.def,ui:Object.assign(Object.assign({},s.ui),{durationEditable:!1}),instance:s.instance,range:o},isStart:e.isStart&&o.start.valueOf()===a.start.valueOf(),isEnd:e.isEnd&&o.end.valueOf()===a.end.valueOf()})}class S extends i.bA{constructor(){super(...arguments),this.hiddenConsumes=!1,this.forceHidden={}}addSegs(e){let t=super.addSegs(e),{entriesByLevel:n}=this,r=e=>!this.forceHidden[(0,i.bB)(e)];for(let e=0;e<n.length;e+=1)n[e]=n[e].filter(r);return t}handleInvalidInsertion(e,t,n){let{entriesByLevel:r,forceHidden:s}=this,{touchingEntry:a,touchingLevel:o,touchingLateral:l}=e;if(this.hiddenConsumes&&a){let e=(0,i.bB)(a);if(!s[e])if(this.allowReslicing){let e=Object.assign(Object.assign({},a),{span:(0,i.bF)(a.span,t.span)});s[(0,i.bB)(e)]=!0,r[o][l]=e,n.push(e),this.splitEntry(a,t,n)}else s[e]=!0,n.push(a)}super.handleInvalidInsertion(e,t,n)}}class E extends i.be{constructor(){super(...arguments),this.cellElRefs=new i.cf,this.frameElRefs=new i.cf,this.fgElRefs=new i.cf,this.segHarnessRefs=new i.cf,this.rootElRef=(0,r._3)(),this.state={framePositions:null,maxContentHeight:null,segHeights:{}},this.handleResize=e=>{e&&this.updateSizing(!0)}}render(){let{props:e,state:t,context:n}=this,{options:s}=n,a=e.cells.length,l=o(e.businessHourSegs,a),d=o(e.bgEventSegs,a),c=o(this.getHighlightSegs(),a),u=o(this.getMirrorSegs(),a),{singleColPlacements:h,multiColPlacements:f,moreCnts:g,moreMarginTops:p}=function(e,t,n,i,r,s,a){let o=new S(t=>r[e[t.index].eventRange.instance.instanceId+":"+t.span.start+":"+(t.span.end-1)]||1);o.allowReslicing=!0,o.strictOrder=i,!0===t||!0===n?(o.maxCoord=s,o.hiddenConsumes=!0):"number"==typeof t?o.maxStackCnt=t:"number"==typeof n&&(o.maxStackCnt=n,o.hiddenConsumes=!0);let l=[],d=[];for(let t=0;t<e.length;t+=1){let n=e[t];null!=r[w(n)]?l.push({index:t,span:{start:n.firstCol,end:n.lastCol+1}}):d.push(n)}let c=o.addSegs(l),{singleColPlacements:u,multiColPlacements:h,leftoverMargins:f}=function(e,t,n){let i=function(e,t){let n=[];for(let e=0;e<t;e+=1)n.push([]);for(let t of e)for(let e=t.span.start;e<t.span.end;e+=1)n[e].push(t);return n}(e,n.length),r=[],s=[],a=[];for(let e=0;e<n.length;e+=1){let o=i[e],l=[],d=0,c=0;for(let i of o){let r=t[i.index];l.push({seg:_(r,e,e+1,n),isVisible:!0,isAbsolute:!1,absoluteTop:i.levelCoord,marginTop:i.levelCoord-d}),d=i.levelCoord+i.thickness}let u=[];for(let i of(d=0,c=0,o)){let r=t[i.index],s=i.span.end-i.span.start>1,a=i.span.start===e;c+=i.levelCoord-d,d=i.levelCoord+i.thickness,s?(c+=i.thickness,a&&u.push({seg:_(r,i.span.start,i.span.end,n),isVisible:!0,isAbsolute:!0,absoluteTop:i.levelCoord,marginTop:0})):a&&(u.push({seg:_(r,i.span.start,i.span.end,n),isVisible:!0,isAbsolute:!1,absoluteTop:i.levelCoord,marginTop:c}),c=0)}r.push(l),s.push(u),a.push(c)}return{singleColPlacements:r,multiColPlacements:s,leftoverMargins:a}}(o.toRects(),e,a),g=[],p=[];for(let e of d){h[e.firstCol].push({seg:e,isVisible:!1,isAbsolute:!0,absoluteTop:0,marginTop:0});for(let t=e.firstCol;t<=e.lastCol;t+=1)u[t].push({seg:_(e,t,t+1,a),isVisible:!1,isAbsolute:!1,absoluteTop:0,marginTop:0})}for(let e=0;e<a.length;e+=1)g.push(0);for(let t of c){let n=e[t.index],i=t.span;h[i.start].push({seg:_(n,i.start,i.end,a),isVisible:!1,isAbsolute:!0,absoluteTop:0,marginTop:0});for(let e=i.start;e<i.end;e+=1)g[e]+=1,u[e].push({seg:_(n,e,e+1,a),isVisible:!1,isAbsolute:!1,absoluteTop:0,marginTop:0})}for(let e=0;e<a.length;e+=1)p.push(f[e]);return{singleColPlacements:u,multiColPlacements:h,moreCnts:g,moreMarginTops:p}}((0,i.bR)(e.fgEventSegs,s.eventOrder),e.dayMaxEvents,e.dayMaxEventRows,s.eventOrderStrict,t.segHeights,t.maxContentHeight,e.cells),m=e.eventDrag&&e.eventDrag.affectedInstances||e.eventResize&&e.eventResize.affectedInstances||{};return(0,r.n)("tr",{ref:this.rootElRef,role:"row"},e.renderIntro&&e.renderIntro(),e.cells.map((t,n)=>{let i=this.renderFgSegs(n,e.forPrint?h[n]:f[n],e.todayRange,m),s=this.renderFgSegs(n,function(e,t){if(!e.length)return[];let n=function(e){let t={};for(let n of e)for(let e of n)t[e.seg.eventRange.instance.instanceId]=e.absoluteTop;return t}(t);return e.map(e=>({seg:e,isVisible:!0,isAbsolute:!0,absoluteTop:n[e.eventRange.instance.instanceId],marginTop:0}))}(u[n],f),e.todayRange,{},!!e.eventDrag,!!e.eventResize,!1);return(0,r.n)(v,{key:t.key,elRef:this.cellElRefs.createRef(t.key),innerElRef:this.frameElRefs.createRef(t.key),dateProfile:e.dateProfile,date:t.date,showDayNumber:e.showDayNumbers,showWeekNumber:e.showWeekNumbers&&0===n,forceDayTop:e.showWeekNumbers,todayRange:e.todayRange,eventSelection:e.eventSelection,eventDrag:e.eventDrag,eventResize:e.eventResize,extraRenderProps:t.extraRenderProps,extraDataAttrs:t.extraDataAttrs,extraClassNames:t.extraClassNames,extraDateSpan:t.extraDateSpan,moreCnt:g[n],moreMarginTop:p[n],singlePlacements:h[n],fgContentElRef:this.fgElRefs.createRef(t.key),fgContent:(0,r.n)(r.FK,null,(0,r.n)(r.FK,null,i),(0,r.n)(r.FK,null,s)),bgContent:(0,r.n)(r.FK,null,this.renderFillSegs(c[n],"highlight"),this.renderFillSegs(l[n],"non-business"),this.renderFillSegs(d[n],"bg-event")),minHeight:e.cellMinHeight})}))}componentDidMount(){this.updateSizing(!0),this.context.addResizeHandler(this.handleResize)}componentDidUpdate(e,t){let n=this.props;this.updateSizing(!(0,i.E)(e,n))}componentWillUnmount(){this.context.removeResizeHandler(this.handleResize)}getHighlightSegs(){let{props:e}=this;return e.eventDrag&&e.eventDrag.segs.length?e.eventDrag.segs:e.eventResize&&e.eventResize.segs.length?e.eventResize.segs:e.dateSelectionSegs}getMirrorSegs(){let{props:e}=this;return e.eventResize&&e.eventResize.segs.length?e.eventResize.segs:[]}renderFgSegs(e,t,n,s,a,o,l){let{context:d}=this,{eventSelection:f}=this.props,{framePositions:g}=this.state,p=1===this.props.cells.length,m=a||o||l,v=[];if(g)for(let e of t){let{seg:t}=e,{instanceId:b}=t.eventRange.instance,_=e.isVisible&&!s[b],S=e.isAbsolute,E="",x="";S&&(d.isRtl?(x=0,E=g.lefts[t.lastCol]-g.lefts[t.firstCol]):(E=0,x=g.rights[t.firstCol]-g.rights[t.lastCol])),v.push((0,r.n)("div",{className:"fc-daygrid-event-harness"+(S?" fc-daygrid-event-harness-abs":""),key:y(t),ref:m?null:this.segHarnessRefs.createRef(w(t)),style:{visibility:_?"":"hidden",marginTop:S?"":e.marginTop,top:S?e.absoluteTop:"",left:E,right:x}},c(t)?(0,r.n)(h,Object.assign({seg:t,isDragging:a,isSelected:b===f,defaultDisplayEventEnd:p},(0,i.bS)(t,n))):(0,r.n)(u,Object.assign({seg:t,isDragging:a,isResizing:o,isDateSelecting:l,isSelected:b===f,defaultDisplayEventEnd:p},(0,i.bS)(t,n)))))}return v}renderFillSegs(e,t){let{isRtl:n}=this.context,{todayRange:s}=this.props,{framePositions:a}=this.state,o=[];if(a)for(let l of e){let e=n?{right:0,left:a.lefts[l.lastCol]-a.lefts[l.firstCol]}:{left:0,right:a.rights[l.firstCol]-a.rights[l.lastCol]};o.push((0,r.n)("div",{key:(0,i.bT)(l.eventRange),className:"fc-daygrid-bg-harness",style:e},"bg-event"===t?(0,r.n)(i.cp,Object.assign({seg:l},(0,i.bS)(l,s))):(0,i.co)(t)))}return(0,r.n)(r.FK,{},...o)}updateSizing(e){let{props:t,state:n,frameElRefs:r}=this;if(!t.forPrint&&null!==t.clientWidth){if(e){let e=t.cells.map(e=>r.currentMap[e.key]);if(e.length){let t=this.rootElRef.current,r=new i.ba(t,e,!0,!1);n.framePositions&&n.framePositions.similarTo(r)||this.setState({framePositions:new i.ba(t,e,!0,!1)})}}let s=this.state.segHeights,a=this.querySegHeights(),o=!0===t.dayMaxEvents||!0===t.dayMaxEventRows;this.safeSetState({segHeights:Object.assign(Object.assign({},s),a),maxContentHeight:o?this.computeMaxContentHeight():null})}}querySegHeights(){let e=this.segHarnessRefs.currentMap,t={};for(let n in e){let i=Math.round(e[n].getBoundingClientRect().height);t[n]=Math.max(t[n]||0,i)}return t}computeMaxContentHeight(){let e=this.props.cells[0].key,t=this.cellElRefs.currentMap[e],n=this.fgElRefs.currentMap[e];return t.getBoundingClientRect().bottom-n.getBoundingClientRect().top}getCellEls(){let e=this.cellElRefs.currentMap;return this.props.cells.map(t=>e[t.key])}}E.addStateEquality({segHeights:i.E});class x extends i.be{constructor(){super(...arguments),this.splitBusinessHourSegs=(0,i.z)(a),this.splitBgEventSegs=(0,i.z)(a),this.splitFgEventSegs=(0,i.z)(a),this.splitDateSelectionSegs=(0,i.z)(a),this.splitEventDrag=(0,i.z)(l),this.splitEventResize=(0,i.z)(l),this.rowRefs=new i.cf}render(){let{props:e,context:t}=this,n=e.cells.length,s=this.splitBusinessHourSegs(e.businessHourSegs,n),a=this.splitBgEventSegs(e.bgEventSegs,n),o=this.splitFgEventSegs(e.fgEventSegs,n),l=this.splitDateSelectionSegs(e.dateSelectionSegs,n),d=this.splitEventDrag(e.eventDrag,n),c=this.splitEventResize(e.eventResize,n),u=n>=7&&e.clientWidth?e.clientWidth/t.options.aspectRatio/6:null;return(0,r.n)(i.ch,{unit:"day"},(t,i)=>(0,r.n)(r.FK,null,e.cells.map((t,h)=>(0,r.n)(E,{ref:this.rowRefs.createRef(h),key:t.length?t[0].date.toISOString():h,showDayNumbers:n>1,showWeekNumbers:e.showWeekNumbers,todayRange:i,dateProfile:e.dateProfile,cells:t,renderIntro:e.renderRowIntro,businessHourSegs:s[h],eventSelection:e.eventSelection,bgEventSegs:a[h].filter(D),fgEventSegs:o[h],dateSelectionSegs:l[h],eventDrag:d[h],eventResize:c[h],dayMaxEvents:e.dayMaxEvents,dayMaxEventRows:e.dayMaxEventRows,clientWidth:e.clientWidth,clientHeight:e.clientHeight,cellMinHeight:u,forPrint:e.forPrint}))))}componentDidMount(){this.registerInteractiveComponent()}componentDidUpdate(){this.registerInteractiveComponent()}registerInteractiveComponent(){if(!this.rootEl){let e=this.rowRefs.currentMap[0].getCellEls()[0],t=e?e.closest(".fc-daygrid-body"):null;t&&(this.rootEl=t,this.context.registerInteractiveComponent(this,{el:t,isHitComboAllowed:this.props.isHitComboAllowed}))}}componentWillUnmount(){this.rootEl&&(this.context.unregisterInteractiveComponent(this),this.rootEl=null)}prepareHits(){this.rowPositions=new i.ba(this.rootEl,this.rowRefs.collect().map(e=>e.getCellEls()[0]),!1,!0),this.colPositions=new i.ba(this.rootEl,this.rowRefs.currentMap[0].getCellEls(),!0,!1)}queryHit(e,t){let{colPositions:n,rowPositions:i}=this,r=n.leftToIndex(e),s=i.topToIndex(t);if(null!=s&&null!=r){let e=this.props.cells[s][r];return{dateProfile:this.props.dateProfile,dateSpan:Object.assign({range:this.getCellRange(s,r),allDay:!0},e.extraDateSpan),dayEl:this.getCellEl(s,r),rect:{left:n.lefts[r],right:n.rights[r],top:i.tops[s],bottom:i.bottoms[s]},layer:0}}return null}getCellEl(e,t){return this.rowRefs.currentMap[e].getCellEls()[t]}getCellRange(e,t){let n=this.props.cells[e][t].date,r=(0,i.t)(n,1);return{start:n,end:r}}}function D(e){return e.eventRange.def.allDay}class R extends i.be{constructor(){super(...arguments),this.elRef=(0,r._3)(),this.needsScrollReset=!1}render(){let{props:e}=this,{dayMaxEventRows:t,dayMaxEvents:n,expandRows:i}=e,s=!0===n||!0===t;s&&!i&&(s=!1,t=null,n=null);let a=["fc-daygrid-body",s?"fc-daygrid-body-balanced":"fc-daygrid-body-unbalanced",i?"":"fc-daygrid-body-natural"];return(0,r.n)("div",{ref:this.elRef,className:a.join(" "),style:{width:e.clientWidth,minWidth:e.tableMinWidth}},(0,r.n)("table",{role:"presentation",className:"fc-scrollgrid-sync-table",style:{width:e.clientWidth,minWidth:e.tableMinWidth,height:i?e.clientHeight:""}},e.colGroupNode,(0,r.n)("tbody",{role:"presentation"},(0,r.n)(x,{dateProfile:e.dateProfile,cells:e.cells,renderRowIntro:e.renderRowIntro,showWeekNumbers:e.showWeekNumbers,clientWidth:e.clientWidth,clientHeight:e.clientHeight,businessHourSegs:e.businessHourSegs,bgEventSegs:e.bgEventSegs,fgEventSegs:e.fgEventSegs,dateSelectionSegs:e.dateSelectionSegs,eventSelection:e.eventSelection,eventDrag:e.eventDrag,eventResize:e.eventResize,dayMaxEvents:n,dayMaxEventRows:t,forPrint:e.forPrint,isHitComboAllowed:e.isHitComboAllowed}))))}componentDidMount(){this.requestScrollReset()}componentDidUpdate(e){e.dateProfile!==this.props.dateProfile?this.requestScrollReset():this.flushScrollReset()}requestScrollReset(){this.needsScrollReset=!0,this.flushScrollReset()}flushScrollReset(){if(this.needsScrollReset&&this.props.clientWidth){var e,t;let n,r=(e=this.elRef.current,(t=this.props.dateProfile).currentRangeUnit.match(/year|month/)&&(n=e.querySelector(`[data-date="${(0,i.bx)(t.currentDate)}-01"]`)),n||(n=e.querySelector(`[data-date="${(0,i.bv)(t.currentDate)}"]`)),n);if(r){let e=r.closest(".fc-daygrid-body"),t=e.closest(".fc-scroller"),n=r.getBoundingClientRect().top-e.getBoundingClientRect().top;t.scrollTop=n?n+1:0}this.needsScrollReset=!1}}}class T extends i.bW{constructor(){super(...arguments),this.forceDayIfListItem=!0}sliceRange(e,t){return t.sliceRange(e)}}class C extends i.be{constructor(){super(...arguments),this.slicer=new T,this.tableRef=(0,r._3)()}render(){let{props:e,context:t}=this;return(0,r.n)(R,Object.assign({ref:this.tableRef},this.slicer.sliceProps(e,e.dateProfile,e.nextDayThreshold,t,e.dayTableModel),{dateProfile:e.dateProfile,cells:e.dayTableModel.cells,colGroupNode:e.colGroupNode,tableMinWidth:e.tableMinWidth,renderRowIntro:e.renderRowIntro,dayMaxEvents:e.dayMaxEvents,dayMaxEventRows:e.dayMaxEventRows,showWeekNumbers:e.showWeekNumbers,expandRows:e.expandRows,headerAlignElRef:e.headerAlignElRef,clientWidth:e.clientWidth,clientHeight:e.clientHeight,forPrint:e.forPrint}))}}class k extends s{constructor(){super(...arguments),this.buildDayTableModel=(0,i.z)(M),this.headerRef=(0,r._3)(),this.tableRef=(0,r._3)()}render(){let{options:e,dateProfileGenerator:t}=this.context,{props:n}=this,s=this.buildDayTableModel(n.dateProfile,t),a=e.dayHeaders&&(0,r.n)(i.bK,{ref:this.headerRef,dateProfile:n.dateProfile,dates:s.headerDates,datesRepDistinctDays:1===s.rowCnt}),o=t=>(0,r.n)(C,{ref:this.tableRef,dateProfile:n.dateProfile,dayTableModel:s,businessHours:n.businessHours,dateSelection:n.dateSelection,eventStore:n.eventStore,eventUiBases:n.eventUiBases,eventSelection:n.eventSelection,eventDrag:n.eventDrag,eventResize:n.eventResize,nextDayThreshold:e.nextDayThreshold,colGroupNode:t.tableColGroupNode,tableMinWidth:t.tableMinWidth,dayMaxEvents:e.dayMaxEvents,dayMaxEventRows:e.dayMaxEventRows,showWeekNumbers:e.weekNumbers,expandRows:!n.isHeightAuto,headerAlignElRef:this.headerElRef,clientWidth:t.clientWidth,clientHeight:t.clientHeight,forPrint:n.forPrint});return e.dayMinWidth?this.renderHScrollLayout(a,o,s.colCnt,e.dayMinWidth):this.renderSimpleLayout(a,o)}}function M(e,t){let n=new i.bO(e.renderRange,t);return new i.bV(n,/year|month|week/.test(e.currentRangeUnit))}class P extends i.U{buildRenderRange(e,t,n){let r=super.buildRenderRange(e,t,n),{props:s}=this;return function(e){let t,{dateEnv:n,currentRange:r}=e,{start:s,end:a}=r;if(e.snapToWeek&&(s=n.startOfWeek(s),(t=n.startOfWeek(a)).valueOf()!==a.valueOf()&&(a=(0,i.bh)(t,1))),e.fixedWeekCount){let e=n.startOfWeek(n.startOfMonth((0,i.t)(r.end,-1))),t=Math.ceil((0,i.bi)(e,a));a=(0,i.bh)(a,6-t)}return{start:s,end:a}}({currentRange:r,snapToWeek:/^(year|month)$/.test(t),fixedWeekCount:s.fixedWeekCount,dateEnv:s.dateEnv})}}(0,i.cw)(':root{--fc-daygrid-event-dot-width:8px}.fc-daygrid-day-events:after,.fc-daygrid-day-events:before,.fc-daygrid-day-frame:after,.fc-daygrid-day-frame:before,.fc-daygrid-event-harness:after,.fc-daygrid-event-harness:before{clear:both;content:"";display:table}.fc .fc-daygrid-body{position:relative;z-index:1}.fc .fc-daygrid-day.fc-day-today{background-color:var(--fc-today-bg-color)}.fc .fc-daygrid-day-frame{min-height:100%;position:relative}.fc .fc-daygrid-day-top{display:flex;flex-direction:row-reverse}.fc .fc-day-other .fc-daygrid-day-top{opacity:.3}.fc .fc-daygrid-day-number{padding:4px;position:relative;z-index:4}.fc .fc-daygrid-month-start{font-size:1.1em;font-weight:700}.fc .fc-daygrid-day-events{margin-top:1px}.fc .fc-daygrid-body-balanced .fc-daygrid-day-events{left:0;position:absolute;right:0}.fc .fc-daygrid-body-unbalanced .fc-daygrid-day-events{min-height:2em;position:relative}.fc .fc-daygrid-body-natural .fc-daygrid-day-events{margin-bottom:1em}.fc .fc-daygrid-event-harness{position:relative}.fc .fc-daygrid-event-harness-abs{left:0;position:absolute;right:0;top:0}.fc .fc-daygrid-bg-harness{bottom:0;position:absolute;top:0}.fc .fc-daygrid-day-bg .fc-non-business{z-index:1}.fc .fc-daygrid-day-bg .fc-bg-event{z-index:2}.fc .fc-daygrid-day-bg .fc-highlight{z-index:3}.fc .fc-daygrid-event{margin-top:1px;z-index:6}.fc .fc-daygrid-event.fc-event-mirror{z-index:7}.fc .fc-daygrid-day-bottom{font-size:.85em;margin:0 2px}.fc .fc-daygrid-day-bottom:after,.fc .fc-daygrid-day-bottom:before{clear:both;content:"";display:table}.fc .fc-daygrid-more-link{border-radius:3px;cursor:pointer;line-height:1;margin-top:1px;max-width:100%;overflow:hidden;padding:2px;position:relative;white-space:nowrap;z-index:4}.fc .fc-daygrid-more-link:hover{background-color:rgba(0,0,0,.1)}.fc .fc-daygrid-week-number{background-color:var(--fc-neutral-bg-color);color:var(--fc-neutral-text-color);min-width:1.5em;padding:2px;position:absolute;text-align:center;top:0;z-index:5}.fc .fc-more-popover .fc-popover-body{min-width:220px;padding:10px}.fc-direction-ltr .fc-daygrid-event.fc-event-start,.fc-direction-rtl .fc-daygrid-event.fc-event-end{margin-left:2px}.fc-direction-ltr .fc-daygrid-event.fc-event-end,.fc-direction-rtl .fc-daygrid-event.fc-event-start{margin-right:2px}.fc-direction-ltr .fc-daygrid-more-link{float:left}.fc-direction-ltr .fc-daygrid-week-number{border-radius:0 0 3px 0;left:0}.fc-direction-rtl .fc-daygrid-more-link{float:right}.fc-direction-rtl .fc-daygrid-week-number{border-radius:0 0 0 3px;right:0}.fc-liquid-hack .fc-daygrid-day-frame{position:static}.fc-daygrid-event{border-radius:3px;font-size:var(--fc-small-font-size);position:relative;white-space:nowrap}.fc-daygrid-block-event .fc-event-time{font-weight:700}.fc-daygrid-block-event .fc-event-time,.fc-daygrid-block-event .fc-event-title{padding:1px}.fc-daygrid-dot-event{align-items:center;display:flex;padding:2px 0}.fc-daygrid-dot-event .fc-event-title{flex-grow:1;flex-shrink:1;font-weight:700;min-width:0;overflow:hidden}.fc-daygrid-dot-event.fc-event-mirror,.fc-daygrid-dot-event:hover{background:rgba(0,0,0,.1)}.fc-daygrid-dot-event.fc-event-selected:before{bottom:-10px;top:-10px}.fc-daygrid-event-dot{border:calc(var(--fc-daygrid-event-dot-width)/2) solid var(--fc-event-border-color);border-radius:calc(var(--fc-daygrid-event-dot-width)/2);box-sizing:content-box;height:0;margin:0 4px;width:0}.fc-direction-ltr .fc-daygrid-event .fc-event-time{margin-right:3px}.fc-direction-rtl .fc-daygrid-event .fc-event-time{margin-left:3px}')},78089:(e,t,n)=>{"use strict";n.d(t,{c:()=>s});var i=n(79447),r=n(8079);function s(e,t,n){let[s,o]=(0,i.x)(null==n?void 0:n.in,e,t),l=a(s,o),d=Math.abs((0,r.m)(s,o));s.setDate(s.getDate()-l*d);let c=Number(a(s,o)===-l),u=l*(d-c);return 0===u?0:u}function a(e,t){let n=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return n<0?-1:n>0?1:n}},78196:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var i=n(63039),r=n(23327);function s(e,t,n){let s=(0,r.a)(e,null==n?void 0:n.in),a=s.getFullYear(),o=s.getDate(),l=(0,i.w)((null==n?void 0:n.in)||e,0);l.setFullYear(a,t,15),l.setHours(0,0,0,0);let d=function(e,t){let n=(0,r.a)(e,void 0),s=n.getFullYear(),a=n.getMonth(),o=(0,i.w)(n,0);return o.setFullYear(s,a+1,0),o.setHours(0,0,0,0),o.getDate()}(l);return s.setMonth(t,Math.min(o,d)),s}},79003:(e,t,n)=>{"use strict";n.d(t,{e:()=>r});var i=n(7954);function r(e,t,n){return(0,i.f)(e,-t,n)}},79447:(e,t,n)=>{"use strict";n.d(t,{x:()=>r});var i=n(63039);function r(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];let s=i.w.bind(null,e||n.find(e=>"object"==typeof e));return n.map(s)}},79884:(e,t,n)=>{"use strict";n.d(t,{t:()=>r});var i=n(23327);function r(e,t){return(0,i.a)(e,null==t?void 0:t.in).getMonth()}},80053:(e,t,n)=>{"use strict";n.d(t,{Vv:()=>et,i1:()=>u});var i=n(35612),r=n(11936);n(26503);let s=[],a={code:"en",week:{dow:0,doy:4},direction:"ltr",buttonText:{prev:"prev",next:"next",prevYear:"prev year",nextYear:"next year",year:"year",today:"today",month:"month",week:"week",day:"day",list:"list"},weekText:"W",weekTextLong:"Week",closeHint:"Close",timeHint:"Time",eventHint:"Event",allDayText:"all-day",moreLinkText:"more",noEventsText:"No events to display"},o=Object.assign(Object.assign({},a),{buttonHints:{prev:"Previous $0",next:"Next $0",today:(e,t)=>"day"===t?"Today":`This ${e}`},viewHint:"$0 view",navLinkHint:"Go to $0",moreLinkHint:e=>`Show ${e} more event${1===e?"":"s"}`});function l(e){let t=e.length>0?e[0].code:"en",n=s.concat(e),i={en:o};for(let e of n)i[e.code]=e;return{map:i,defaultCode:t}}function d(e,t){var n,i;let r,s;return"object"!=typeof e||Array.isArray(e)?(n=e,i=t,s=function(e,t){for(let n=0;n<e.length;n+=1){let i=e[n].toLocaleLowerCase().split("-");for(let e=i.length;e>0;e-=1){let n=i.slice(0,e).join("-");if(t[n])return t[n]}}return null}(r=[].concat(n||[]),i)||o,c(n,r,s)):c(e.code,[e.code],e)}function c(e,t,n){let r=(0,i.m)([a,n],["buttonText"]);delete r.code;let{week:s}=r;return delete r.week,{codeArg:e,codes:t,week:s,simpleNumberFormat:new Intl.NumberFormat(e),options:r}}function u(e){return{id:(0,i.g)(),name:e.name,premiumReleaseDate:e.premiumReleaseDate?new Date(e.premiumReleaseDate):void 0,deps:e.deps||[],reducers:e.reducers||[],isLoadingFuncs:e.isLoadingFuncs||[],contextInit:[].concat(e.contextInit||[]),eventRefiners:e.eventRefiners||{},eventDefMemberAdders:e.eventDefMemberAdders||[],eventSourceRefiners:e.eventSourceRefiners||{},isDraggableTransformers:e.isDraggableTransformers||[],eventDragMutationMassagers:e.eventDragMutationMassagers||[],eventDefMutationAppliers:e.eventDefMutationAppliers||[],dateSelectionTransformers:e.dateSelectionTransformers||[],datePointTransforms:e.datePointTransforms||[],dateSpanTransforms:e.dateSpanTransforms||[],views:e.views||{},viewPropsTransformers:e.viewPropsTransformers||[],isPropsValid:e.isPropsValid||null,externalDefTransforms:e.externalDefTransforms||[],viewContainerAppends:e.viewContainerAppends||[],eventDropTransformers:e.eventDropTransformers||[],componentInteractions:e.componentInteractions||[],calendarInteractions:e.calendarInteractions||[],themeClasses:e.themeClasses||{},eventSourceDefs:e.eventSourceDefs||[],cmdFormatter:e.cmdFormatter,recurringTypes:e.recurringTypes||[],namedTimeZonedImpl:e.namedTimeZonedImpl,initialView:e.initialView||"",elementDraggingImpl:e.elementDraggingImpl,optionChangeHandlers:e.optionChangeHandlers||{},scrollGridImpl:e.scrollGridImpl||null,listenerRefiners:e.listenerRefiners||{},optionRefiners:e.optionRefiners||{},propSetHandlers:e.propSetHandlers||{}}}class h extends i.T{}function f(e,t,n,i){if(t[e])return t[e];let r=function(e,t,n,i){let r=n[e],s=i[e],a=e=>r&&null!==r[e]?r[e]:s&&null!==s[e]?s[e]:null,o=a("component"),l=a("superType"),d=null;if(l){if(l===e)throw Error("Can't have a custom view type that references itself");d=f(l,t,n,i)}return(!o&&d&&(o=d.component),o)?{type:e,component:o,defaults:Object.assign(Object.assign({},d?d.defaults:{}),r?r.rawOptions:{}),overrides:Object.assign(Object.assign({},d?d.overrides:{}),s?s.rawOptions:{})}:null}(e,t,n,i);return r&&(t[e]=r),r}h.prototype.classes={root:"fc-theme-standard",tableCellShaded:"fc-cell-shaded",buttonGroup:"fc-button-group",button:"fc-button fc-button-primary",buttonActive:"fc-button-active"},h.prototype.baseIconClass="fc-icon",h.prototype.iconClasses={close:"fc-icon-x",prev:"fc-icon-chevron-left",next:"fc-icon-chevron-right",prevYear:"fc-icon-chevrons-left",nextYear:"fc-icon-chevrons-right"},h.prototype.rtlIconClasses={prev:"fc-icon-chevron-right",next:"fc-icon-chevron-left",prevYear:"fc-icon-chevrons-right",nextYear:"fc-icon-chevrons-left"},h.prototype.iconOverrideOption="buttonIcons",h.prototype.iconOverrideCustomButtonOption="icon",h.prototype.iconOverridePrefix="fc-icon-";function g(e){let t="function"==typeof e?{component:e}:e,{component:n}=t;return t.content?n=p(t):!n||n.prototype instanceof i.B||(n=p(Object.assign(Object.assign({},t),{content:n}))),{superType:t.type,component:n,rawOptions:t}}function p(e){return t=>(0,r.n)(i.V.Consumer,null,n=>(0,r.n)(i.C,{elTag:"div",elClasses:(0,i.b)(n.viewSpec),renderProps:Object.assign(Object.assign({},t),{nextDayThreshold:n.options.nextDayThreshold}),generatorName:void 0,customGenerator:e.content,classNameGenerator:e.classNames,didMount:e.didMount,willUnmount:e.willUnmount}))}function m(e,t,n,r){var s;let a=(0,i.a)(e,g),o=(s=t.views,(0,i.a)(s,g)),l=function(e,t){let n,i={};for(n in e)f(n,i,e,t);for(n in t)f(n,i,e,t);return i}(a,o);return(0,i.a)(l,e=>(function(e,t,n,r,s){var a;let o,l,d=e.overrides.duration||e.defaults.duration||r.duration||n.duration,c=null,u="",h="",f={};if(d&&(void 0===(l=v[o=JSON.stringify(a=d)])&&(l=(0,i.d)(a),v[o]=l),c=l)){let e=(0,i.c)(c);u=e.unit,1===e.value&&(h=u,f=t[u]?t[u].rawOptions:{})}let g=t=>{let n=t.buttonText||{},i=e.defaults.buttonTextKey;return null!=i&&null!=n[i]?n[i]:null!=n[e.type]?n[e.type]:null!=n[h]?n[h]:null},p=t=>{let n=t.buttonHints||{},i=e.defaults.buttonTextKey;return null!=i&&null!=n[i]?n[i]:null!=n[e.type]?n[e.type]:null!=n[h]?n[h]:null};return{type:e.type,component:e.component,duration:c,durationUnit:u,singleUnit:h,optionDefaults:e.defaults,optionOverrides:Object.assign(Object.assign({},f),e.overrides),buttonTextOverride:g(r)||g(n)||e.overrides.buttonText,buttonTextDefault:g(s)||e.defaults.buttonText||g(i.e)||e.type,buttonTitleOverride:p(r)||p(n)||e.overrides.buttonHint,buttonTitleDefault:p(s)||e.defaults.buttonHint||p(i.e)}})(e,o,t,n,r))}let v={};function b(e){for(let t in e)if(e[t].isFetching)return!0;return!1}function y(e,t,n,i){let r={};for(let e of t)r[e.sourceId]=e;return n&&(r=w(r,n,i)),Object.assign(Object.assign({},e),r)}function w(e,t,n){return _(e,(0,i.h)(e,e=>{var i,r,s;return i=e,r=t,E(i,s=n)?!s.options.lazyFetching||!i.fetchRange||i.isFetching||r.start<i.fetchRange.start||r.end>i.fetchRange.end:!i.latestFetchId}),t,!1,n)}function _(e,t,n,r,s){let a={};for(let o in e){let l=e[o];t[o]?a[o]=function(e,t,n,r){let{options:s,calendarApi:a}=r,o=r.pluginHooks.eventSourceDefs[e.sourceDefId],l=(0,i.g)();return o.fetch({eventSource:e,range:t,isRefetch:n,context:r},n=>{let{rawEvents:i}=n;s.eventSourceSuccess&&(i=s.eventSourceSuccess.call(a,i,n.response)||i),e.success&&(i=e.success.call(a,i,n.response)||i),r.dispatch({type:"RECEIVE_EVENTS",sourceId:e.sourceId,fetchId:l,fetchRange:t,rawEvents:i})},n=>{let i=!1;s.eventSourceFailure&&(s.eventSourceFailure.call(a,n),i=!0),e.failure&&(e.failure(n),i=!0),i||console.warn(n.message,n),r.dispatch({type:"RECEIVE_EVENT_ERROR",sourceId:e.sourceId,fetchId:l,fetchRange:t,error:n})}),Object.assign(Object.assign({},e),{isFetching:!0,latestFetchId:l})}(l,n,r,s):a[o]=l}return a}function S(e,t){return(0,i.h)(e,e=>E(e,t))}function E(e,t){return!t.pluginHooks.eventSourceDefs[e.sourceDefId].ignoreRange}function x(e,t,n,i,r){return{header:e.headerToolbar?D(e.headerToolbar,e,t,n,i,r):null,footer:e.footerToolbar?D(e.footerToolbar,e,t,n,i,r):null}}function D(e,t,n,r,s,a){let o={},l=[],d=!1;for(let c in e){let u=function(e,t,n,r,s,a){let o="rtl"===t.direction,l=t.customButtons||{},d=n.buttonText||{},c=t.buttonText||{},u=n.buttonHints||{},h=t.buttonHints||{},f=e?e.split(" "):[],g=[],p=!1;return{widgets:f.map(e=>e.split(",").map(e=>{let n,f,m,v,b,y;if("title"===e)return p=!0,{buttonName:e};if(n=l[e])m=e=>{n.click&&n.click.call(e.target,e,e.target)},(v=r.getCustomButtonIconClass(n))||(v=r.getIconClass(e,o))||(b=n.text),y=n.hint||n.text;else if(f=s[e]){g.push(e),m=()=>{a.changeView(e)},(b=f.buttonTextOverride)||(v=r.getIconClass(e,o))||(b=f.buttonTextDefault);let n=f.buttonTextOverride||f.buttonTextDefault;y=(0,i.k)(f.buttonTitleOverride||f.buttonTitleDefault||t.viewHint,[n,e],n)}else if(a[e])if(m=()=>{a[e]()},(b=d[e])||(v=r.getIconClass(e,o))||(b=c[e]),"prevYear"===e||"nextYear"===e){let t="prevYear"===e?"prev":"next";y=(0,i.k)(u[t]||h[t],[c.year||"year","year"],c[e])}else y=t=>(0,i.k)(u[e]||h[e],[c[t]||t,t],c[e]);return{buttonName:e,buttonClick:m,buttonIcon:v,buttonText:b,buttonHint:y}})),viewsWithButtons:g,hasTitle:p}}(e[c],t,n,r,s,a);o[c]=u.widgets,l.push(...u.viewsWithButtons),d=d||u.hasTitle}return{sectionWidgets:o,viewsWithButtons:l,hasTitle:d}}class R{constructor(e,t,n){this.type=e,this.getCurrentData=t,this.dateEnv=n}get calendar(){return this.getCurrentData().calendarApi}get title(){return this.getCurrentData().viewTitle}get activeStart(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.activeRange.start)}get activeEnd(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.activeRange.end)}get currentStart(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.currentRange.start)}get currentEnd(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.currentRange.end)}getOption(e){return this.getCurrentData().options[e]}}let T=u({name:"array-event-source",eventSourceDefs:[{ignoreRange:!0,parseMeta:e=>Array.isArray(e.events)?e.events:null,fetch(e,t){t({rawEvents:e.eventSource.meta})}}]}),C=u({name:"func-event-source",eventSourceDefs:[{parseMeta:e=>"function"==typeof e.events?e.events:null,fetch(e,t,n){let{dateEnv:r}=e.context,s=e.eventSource.meta;(0,i.u)(s.bind(null,(0,i.l)(e.range,r)),e=>t({rawEvents:e}),n)}}]}),k=u({name:"json-event-source",eventSourceRefiners:{method:String,extraParams:i.n,startParam:String,endParam:String,timeZoneParam:String},eventSourceDefs:[{parseMeta:e=>e.url&&("json"===e.format||!e.format)?{url:e.url,format:"json",method:(e.method||"GET").toUpperCase(),extraParams:e.extraParams,startParam:e.startParam,endParam:e.endParam,timeZoneParam:e.timeZoneParam}:null,fetch(e,t,n){let{meta:r}=e.eventSource,s=function(e,t,n){let i,r,s,a,{dateEnv:o,options:l}=n,d={};return null==(i=e.startParam)&&(i=l.startParam),null==(r=e.endParam)&&(r=l.endParam),null==(s=e.timeZoneParam)&&(s=l.timeZoneParam),Object.assign(d,"function"==typeof e.extraParams?e.extraParams():e.extraParams||{}),d[i]=o.formatIso(t.start),d[r]=o.formatIso(t.end),"local"!==o.timeZone&&(d[s]=o.timeZone),d}(r,e.range,e.context);(0,i.r)(r.method,r.url,s).then(([e,n])=>{t({rawEvents:e,response:n})},n)}}]}),M={daysOfWeek:i.n,startTime:i.d,endTime:i.d,duration:i.d,startRecur:i.n,endRecur:i.n},P=u({name:"simple-recurring-event",recurringTypes:[{parse(e,t){if(e.daysOfWeek||e.startTime||e.endTime||e.startRecur||e.endRecur){let n,r={daysOfWeek:e.daysOfWeek||null,startTime:e.startTime||null,endTime:e.endTime||null,startRecur:e.startRecur?t.createMarker(e.startRecur):null,endRecur:e.endRecur?t.createMarker(e.endRecur):null};return e.duration&&(n=e.duration),!n&&e.startTime&&e.endTime&&(n=(0,i.s)(e.endTime,e.startTime)),{allDayGuess:!!(!e.startTime&&!e.endTime),duration:n,typeData:r}}return null},expand(e,t,n){let r=(0,i.o)(t,{start:e.startRecur,end:e.endRecur});return r?function(e,t,n,r){let s=e?(0,i.f)(e):null,a=(0,i.q)(n.start),o=n.end,l=[];for(;a<o;){let e;(!s||s[a.getUTCDay()])&&(e=t?r.add(a,t):a,l.push(e)),a=(0,i.t)(a,1)}return l}(e.daysOfWeek,e.startTime,r,n):[]}}],eventRefiners:M});function O(e,t){let n=(0,i.v)(t.getCurrentData().eventSources);if(1===n.length&&1===e.length&&Array.isArray(n[0]._raw)&&Array.isArray(e[0]))return void t.dispatch({type:"RESET_RAW_EVENTS",sourceId:n[0].sourceId,rawEvents:e[0]});let r=[];for(let t of e){let e=!1;for(let i=0;i<n.length;i+=1)if(n[i]._raw===t){n.splice(i,1),e=!0;break}e||r.push(t)}for(let e of n)t.dispatch({type:"REMOVE_EVENT_SOURCE",sourceId:e.sourceId});for(let e of r)t.calendarApi.addEventSource(e)}let H=[T,C,k,P,u({name:"change-handler",optionChangeHandlers:{events(e,t){O([e],t)},eventSources:O}}),u({name:"misc",isLoadingFuncs:[e=>b(e.eventSources)],propSetHandlers:{dateProfile:function(e,t){t.emitter.trigger("datesSet",Object.assign(Object.assign({},(0,i.l)(e.activeRange,t.dateEnv)),{view:t.viewApi}))},eventStore:function(e,t){let{emitter:n}=t;n.hasHandlers("eventsSet")&&n.trigger("eventsSet",(0,i.w)(e,t))}}})];class N{constructor(e,t){this.runTaskOption=e,this.drainedOption=t,this.queue=[],this.delayedRunner=new i.D(this.drain.bind(this))}request(e,t){this.queue.push(e),this.delayedRunner.request(t)}pause(e){this.delayedRunner.pause(e)}resume(e,t){this.delayedRunner.resume(e,t)}drain(){let{queue:e}=this;for(;e.length;){let t,n=[];for(;t=e.shift();)this.runTask(t),n.push(t);this.drained(n)}}runTask(e){this.runTaskOption&&this.runTaskOption(e)}drained(e){this.drainedOption&&this.drainedOption(e)}}function I(e,t,n){let r;return r=/^(year|month)$/.test(e.currentRangeUnit)?e.currentRange:e.activeRange,n.formatRange(r.start,r.end,(0,i.x)(t.titleFormat||function(e){let{currentRangeUnit:t}=e;if("year"===t)return{year:"numeric"};if("month"===t)return{year:"numeric",month:"long"};let n=(0,i.y)(e.currentRange.start,e.currentRange.end);return null!==n&&n>1?{year:"numeric",month:"short",day:"numeric"}:{year:"numeric",month:"long",day:"numeric"}}(e)),{isEndExclusive:e.isRangeAllDay,defaultSeparator:t.titleRangeSeparator})}class A{constructor(e){this.computeCurrentViewData=(0,i.z)(this._computeCurrentViewData),this.organizeRawLocales=(0,i.z)(l),this.buildLocale=(0,i.z)(d),this.buildPluginHooks=function(){let e,t=[],n=[];return(r,s)=>(e&&(0,i.i)(r,t)&&(0,i.i)(s,n)||(e=function(e,t){let n={},i={premiumReleaseDate:void 0,reducers:[],isLoadingFuncs:[],contextInit:[],eventRefiners:{},eventDefMemberAdders:[],eventSourceRefiners:{},isDraggableTransformers:[],eventDragMutationMassagers:[],eventDefMutationAppliers:[],dateSelectionTransformers:[],datePointTransforms:[],dateSpanTransforms:[],views:{},viewPropsTransformers:[],isPropsValid:null,externalDefTransforms:[],viewContainerAppends:[],eventDropTransformers:[],componentInteractions:[],calendarInteractions:[],themeClasses:{},eventSourceDefs:[],cmdFormatter:null,recurringTypes:[],namedTimeZonedImpl:null,initialView:"",elementDraggingImpl:null,optionChangeHandlers:{},scrollGridImpl:null,listenerRefiners:{},optionRefiners:{},propSetHandlers:{}};function r(e){for(let t of e){let e=t.name,s=n[e];void 0===s?(n[e]=t.id,r(t.deps),i=function(e,t){var n,i;return{premiumReleaseDate:(n=e.premiumReleaseDate,i=t.premiumReleaseDate,void 0===n?i:void 0===i?n:new Date(Math.max(n.valueOf(),i.valueOf()))),reducers:e.reducers.concat(t.reducers),isLoadingFuncs:e.isLoadingFuncs.concat(t.isLoadingFuncs),contextInit:e.contextInit.concat(t.contextInit),eventRefiners:Object.assign(Object.assign({},e.eventRefiners),t.eventRefiners),eventDefMemberAdders:e.eventDefMemberAdders.concat(t.eventDefMemberAdders),eventSourceRefiners:Object.assign(Object.assign({},e.eventSourceRefiners),t.eventSourceRefiners),isDraggableTransformers:e.isDraggableTransformers.concat(t.isDraggableTransformers),eventDragMutationMassagers:e.eventDragMutationMassagers.concat(t.eventDragMutationMassagers),eventDefMutationAppliers:e.eventDefMutationAppliers.concat(t.eventDefMutationAppliers),dateSelectionTransformers:e.dateSelectionTransformers.concat(t.dateSelectionTransformers),datePointTransforms:e.datePointTransforms.concat(t.datePointTransforms),dateSpanTransforms:e.dateSpanTransforms.concat(t.dateSpanTransforms),views:Object.assign(Object.assign({},e.views),t.views),viewPropsTransformers:e.viewPropsTransformers.concat(t.viewPropsTransformers),isPropsValid:t.isPropsValid||e.isPropsValid,externalDefTransforms:e.externalDefTransforms.concat(t.externalDefTransforms),viewContainerAppends:e.viewContainerAppends.concat(t.viewContainerAppends),eventDropTransformers:e.eventDropTransformers.concat(t.eventDropTransformers),calendarInteractions:e.calendarInteractions.concat(t.calendarInteractions),componentInteractions:e.componentInteractions.concat(t.componentInteractions),themeClasses:Object.assign(Object.assign({},e.themeClasses),t.themeClasses),eventSourceDefs:e.eventSourceDefs.concat(t.eventSourceDefs),cmdFormatter:t.cmdFormatter||e.cmdFormatter,recurringTypes:e.recurringTypes.concat(t.recurringTypes),namedTimeZonedImpl:t.namedTimeZonedImpl||e.namedTimeZonedImpl,initialView:e.initialView||t.initialView,elementDraggingImpl:e.elementDraggingImpl||t.elementDraggingImpl,optionChangeHandlers:Object.assign(Object.assign({},e.optionChangeHandlers),t.optionChangeHandlers),scrollGridImpl:t.scrollGridImpl||e.scrollGridImpl,listenerRefiners:Object.assign(Object.assign({},e.listenerRefiners),t.listenerRefiners),optionRefiners:Object.assign(Object.assign({},e.optionRefiners),t.optionRefiners),propSetHandlers:Object.assign(Object.assign({},e.propSetHandlers),t.propSetHandlers)}}(i,t)):s!==t.id&&console.warn(`Duplicate plugin '${e}'`)}}return e&&r(e),r(t),i}(r,s)),t=r,n=s,e)}(),this.buildDateEnv=(0,i.z)(j),this.buildTheme=(0,i.z)(W),this.parseToolbars=(0,i.z)(x),this.buildViewSpecs=(0,i.z)(m),this.buildDateProfileGenerator=(0,i.A)(z),this.buildViewApi=(0,i.z)(F),this.buildViewUiProps=(0,i.A)(Y),this.buildEventUiBySource=(0,i.z)(L,i.E),this.buildEventUiBases=(0,i.z)(V),this.parseContextBusinessHours=(0,i.A)(U),this.buildTitle=(0,i.z)(I),this.emitter=new i.F,this.actionRunner=new N(this._handleAction.bind(this),this.updateData.bind(this)),this.currentCalendarOptionsInput={},this.currentCalendarOptionsRefined={},this.currentViewOptionsInput={},this.currentViewOptionsRefined={},this.currentCalendarOptionsRefiners={},this.optionsForRefining=[],this.optionsForHandling=[],this.getCurrentData=()=>this.data,this.dispatch=e=>{this.actionRunner.request(e)},this.props=e,this.actionRunner.pause();let t={},n=this.computeOptionsData(e.optionOverrides,t,e.calendarApi),r=n.calendarOptions.initialView||n.pluginHooks.initialView,s=this.computeCurrentViewData(r,n,e.optionOverrides,t);e.calendarApi.currentDataManager=this,this.emitter.setThisContext(e.calendarApi),this.emitter.setOptions(s.options);let a=(0,i.G)(n.calendarOptions,n.dateEnv),o=s.dateProfileGenerator.build(a);(0,i.H)(o.activeRange,a)||(a=o.currentRange.start);let c={dateEnv:n.dateEnv,options:n.calendarOptions,pluginHooks:n.pluginHooks,calendarApi:e.calendarApi,dispatch:this.dispatch,emitter:this.emitter,getCurrentData:this.getCurrentData};for(let e of n.pluginHooks.contextInit)e(c);let u=function(e,t,n){let r=t?t.activeRange:null;return y({},function(e,t){let n=(0,i.j)(t),r=[].concat(e.eventSources||[]),s=[];for(let a of(e.initialEvents&&r.unshift(e.initialEvents),e.events&&r.unshift(e.events),r)){let e=(0,i.p)(a,t,n);e&&s.push(e)}return s}(e,n),r,n)}(n.calendarOptions,o,c),h={dynamicOptionOverrides:t,currentViewType:r,currentDate:a,dateProfile:o,businessHours:this.parseContextBusinessHours(c),eventSources:u,eventUiBases:{},eventStore:(0,i.I)(),renderableEventStore:(0,i.I)(),dateSelection:null,eventSelection:"",eventDrag:null,eventResize:null,selectionConfig:this.buildViewUiProps(c).selectionConfig},f=Object.assign(Object.assign({},c),h);for(let e of n.pluginHooks.reducers)Object.assign(h,e(null,null,f));q(h,c)&&this.emitter.trigger("loading",!0),this.state=h,this.updateData(),this.actionRunner.resume()}resetOptions(e,t){let{props:n}=this;void 0===t?n.optionOverrides=e:(n.optionOverrides=Object.assign(Object.assign({},n.optionOverrides||{}),e),this.optionsForRefining.push(...t)),(void 0===t||t.length)&&this.actionRunner.request({type:"NOTHING"})}_handleAction(e){var t,n;let{props:r,state:s,emitter:a}=this,o=(t=s.dynamicOptionOverrides,"SET_OPTION"===e.type?Object.assign(Object.assign({},t),{[e.optionName]:e.rawOptionValue}):t),l=this.computeOptionsData(r.optionOverrides,o,r.calendarApi),d=(n=s.currentViewType,"CHANGE_VIEW_TYPE"===e.type&&(n=e.viewType),n),c=this.computeCurrentViewData(d,l,r.optionOverrides,o);r.calendarApi.currentDataManager=this,a.setThisContext(r.calendarApi),a.setOptions(c.options);let u={dateEnv:l.dateEnv,options:l.calendarOptions,pluginHooks:l.pluginHooks,calendarApi:r.calendarApi,dispatch:this.dispatch,emitter:a,getCurrentData:this.getCurrentData},{currentDate:h,dateProfile:f}=s;this.data&&this.data.dateProfileGenerator!==c.dateProfileGenerator&&(f=c.dateProfileGenerator.build(h)),h=(0,i.J)(h,e),f=function(e,t,n,i){let r;switch(t.type){case"CHANGE_VIEW_TYPE":return i.build(t.dateMarker||n);case"CHANGE_DATE":return i.build(t.dateMarker);case"PREV":if((r=i.buildPrev(e,n)).isValid)return r;break;case"NEXT":if((r=i.buildNext(e,n)).isValid)return r}return e}(f,e,h,c.dateProfileGenerator),"PREV"!==e.type&&"NEXT"!==e.type&&(0,i.H)(f.currentRange,h)||(h=f.currentRange.start);let g=function(e,t,n,r){var s,a,o,l,d,c;let u=n?n.activeRange:null;switch(t.type){case"ADD_EVENT_SOURCES":return y(e,t.sources,u,r);case"REMOVE_EVENT_SOURCE":return s=e,a=t.sourceId,(0,i.h)(s,e=>e.sourceId!==a);case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":if(n)return w(e,u,r);return e;case"FETCH_EVENT_SOURCES":return _(e,t.sourceIds?(0,i.f)(t.sourceIds):S(e,r),u,t.isRefetch||!1,r);case"RECEIVE_EVENTS":case"RECEIVE_EVENT_ERROR":let h;return o=e,l=t.sourceId,d=t.fetchId,c=t.fetchRange,(h=o[l])&&d===h.latestFetchId?Object.assign(Object.assign({},o),{[l]:Object.assign(Object.assign({},h),{isFetching:!1,fetchRange:c})}):o;case"REMOVE_ALL_EVENT_SOURCES":return{};default:return e}}(s.eventSources,e,f,u),p=(0,i.K)(s.eventStore,e,g,f,u),m=b(g)&&!c.options.progressiveEventRendering&&s.renderableEventStore||p,{eventUiSingleBase:v,selectionConfig:E}=this.buildViewUiProps(u),x=this.buildEventUiBySource(g),D=this.buildEventUiBases(m.defs,v,x),R={dynamicOptionOverrides:o,currentViewType:d,currentDate:h,dateProfile:f,eventSources:g,eventStore:p,renderableEventStore:m,selectionConfig:E,eventUiBases:D,businessHours:this.parseContextBusinessHours(u),dateSelection:function(e,t){switch(t.type){case"UNSELECT_DATES":return null;case"SELECT_DATES":return t.selection;default:return e}}(s.dateSelection,e),eventSelection:function(e,t){switch(t.type){case"UNSELECT_EVENT":return"";case"SELECT_EVENT":return t.eventInstanceId;default:return e}}(s.eventSelection,e),eventDrag:function(e,t){let n;switch(t.type){case"UNSET_EVENT_DRAG":return null;case"SET_EVENT_DRAG":return{affectedEvents:(n=t.state).affectedEvents,mutatedEvents:n.mutatedEvents,isEvent:n.isEvent};default:return e}}(s.eventDrag,e),eventResize:function(e,t){let n;switch(t.type){case"UNSET_EVENT_RESIZE":return null;case"SET_EVENT_RESIZE":return{affectedEvents:(n=t.state).affectedEvents,mutatedEvents:n.mutatedEvents,isEvent:n.isEvent};default:return e}}(s.eventResize,e)},T=Object.assign(Object.assign({},u),R);for(let t of l.pluginHooks.reducers)Object.assign(R,t(s,e,T));let C=q(s,u),k=q(R,u);!C&&k?a.trigger("loading",!0):C&&!k&&a.trigger("loading",!1),this.state=R,r.onAction&&r.onAction(e)}updateData(){let{props:e,state:t}=this,n=this.data,r=this.computeOptionsData(e.optionOverrides,t.dynamicOptionOverrides,e.calendarApi),s=this.computeCurrentViewData(t.currentViewType,r,e.optionOverrides,t.dynamicOptionOverrides),a=this.data=Object.assign(Object.assign(Object.assign({viewTitle:this.buildTitle(t.dateProfile,s.options,r.dateEnv),calendarApi:e.calendarApi,dispatch:this.dispatch,emitter:this.emitter,getCurrentData:this.getCurrentData},r),s),t),o=r.pluginHooks.optionChangeHandlers,l=n&&n.calendarOptions,d=r.calendarOptions;if(l&&l!==d){if(l.timeZone!==d.timeZone){var c,u;let e;c=a.eventSources,u=t.dateProfile,e=u?u.activeRange:null,t.eventSources=a.eventSources=_(c,S(c,a),e,!0,a),t.eventStore=a.eventStore=(0,i.L)(a.eventStore,n.dateEnv,a.dateEnv),t.renderableEventStore=a.renderableEventStore=(0,i.L)(a.renderableEventStore,n.dateEnv,a.dateEnv)}for(let e in o)(-1!==this.optionsForHandling.indexOf(e)||l[e]!==d[e])&&o[e](d[e],a)}this.optionsForHandling=[],e.onData&&e.onData(a)}computeOptionsData(e,t,n){if(!this.optionsForRefining.length&&e===this.stableOptionOverrides&&t===this.stableDynamicOptionOverrides)return this.stableCalendarOptionsData;let{refinedOptions:i,pluginHooks:r,localeDefaults:s,availableLocaleData:a,extra:o}=this.processRawCalendarOptions(e,t);G(o);let l=this.buildDateEnv(i.timeZone,i.locale,i.weekNumberCalculation,i.firstDay,i.weekText,r,a,i.defaultRangeSeparator),d=this.buildViewSpecs(r.views,this.stableOptionOverrides,this.stableDynamicOptionOverrides,s),c=this.buildTheme(i,r),u=this.parseToolbars(i,this.stableOptionOverrides,c,d,n);return this.stableCalendarOptionsData={calendarOptions:i,pluginHooks:r,dateEnv:l,viewSpecs:d,theme:c,toolbarConfig:u,localeDefaults:s,availableRawLocales:a.map}}processRawCalendarOptions(e,t){let{locales:n,locale:r}=(0,i.M)([i.e,e,t]),s=this.organizeRawLocales(n),a=s.map,o=this.buildLocale(r||s.defaultCode,a).options,l=this.buildPluginHooks(e.plugins||[],H),d=this.currentCalendarOptionsRefiners=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},i.N),i.O),i.P),l.listenerRefiners),l.optionRefiners),c={},u=(0,i.M)([i.e,o,e,t]),h={},f=this.currentCalendarOptionsInput,g=this.currentCalendarOptionsRefined,p=!1;for(let e in u)-1===this.optionsForRefining.indexOf(e)&&(u[e]===f[e]||i.Q[e]&&e in f&&i.Q[e](f[e],u[e]))?h[e]=g[e]:d[e]?(h[e]=d[e](u[e]),p=!0):c[e]=f[e];return p&&(this.currentCalendarOptionsInput=u,this.currentCalendarOptionsRefined=h,this.stableOptionOverrides=e,this.stableDynamicOptionOverrides=t),this.optionsForHandling.push(...this.optionsForRefining),this.optionsForRefining=[],{rawOptions:this.currentCalendarOptionsInput,refinedOptions:this.currentCalendarOptionsRefined,pluginHooks:l,availableLocaleData:s,localeDefaults:o,extra:c}}_computeCurrentViewData(e,t,n,i){let r=t.viewSpecs[e];if(!r)throw Error(`viewType "${e}" is not available. Please make sure you've loaded all neccessary plugins`);let{refinedOptions:s,extra:a}=this.processRawViewOptions(r,t.pluginHooks,t.localeDefaults,n,i);G(a);let o=this.buildDateProfileGenerator({dateProfileGeneratorClass:r.optionDefaults.dateProfileGeneratorClass,duration:r.duration,durationUnit:r.durationUnit,usesMinMaxTime:r.optionDefaults.usesMinMaxTime,dateEnv:t.dateEnv,calendarApi:this.props.calendarApi,slotMinTime:s.slotMinTime,slotMaxTime:s.slotMaxTime,showNonCurrentDates:s.showNonCurrentDates,dayCount:s.dayCount,dateAlignment:s.dateAlignment,dateIncrement:s.dateIncrement,hiddenDays:s.hiddenDays,weekends:s.weekends,nowInput:s.now,validRangeInput:s.validRange,visibleRangeInput:s.visibleRange,fixedWeekCount:s.fixedWeekCount});return{viewSpec:r,options:s,dateProfileGenerator:o,viewApi:this.buildViewApi(e,this.getCurrentData,t.dateEnv)}}processRawViewOptions(e,t,n,r,s){let a=(0,i.M)([i.e,e.optionDefaults,n,r,e.optionOverrides,s]),o=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},i.N),i.O),i.P),i.R),t.listenerRefiners),t.optionRefiners),l={},d=this.currentViewOptionsInput,c=this.currentViewOptionsRefined,u=!1,h={};for(let e in a)a[e]===d[e]||i.Q[e]&&i.Q[e](a[e],d[e])?l[e]=c[e]:(a[e]===this.currentCalendarOptionsInput[e]||i.Q[e]&&i.Q[e](a[e],this.currentCalendarOptionsInput[e])?e in this.currentCalendarOptionsRefined&&(l[e]=this.currentCalendarOptionsRefined[e]):o[e]?l[e]=o[e](a[e]):h[e]=a[e],u=!0);return u&&(this.currentViewOptionsInput=a,this.currentViewOptionsRefined=l),{rawOptions:this.currentViewOptionsInput,refinedOptions:this.currentViewOptionsRefined,extra:h}}}function j(e,t,n,r,s,a,o,l){let c=d(t||o.defaultCode,o.map);return new i.S({calendarSystem:"gregory",timeZone:e,namedTimeZoneImpl:a.namedTimeZonedImpl,locale:c,weekNumberCalculation:n,firstDay:r,weekText:s,cmdFormatter:a.cmdFormatter,defaultSeparator:l})}function W(e,t){return new(t.themeClasses[e.themeSystem]||h)(e)}function z(e){return new(e.dateProfileGeneratorClass||i.U)(e)}function F(e,t,n){return new R(e,t,n)}function L(e){return(0,i.a)(e,e=>e.ui)}function V(e,t,n){let i={"":t};for(let t in e){let r=e[t];r.sourceId&&n[r.sourceId]&&(i[t]=n[r.sourceId])}return i}function Y(e){let{options:t}=e;return{eventUiSingleBase:(0,i.W)({display:t.eventDisplay,editable:t.editable,startEditable:t.eventStartEditable,durationEditable:t.eventDurationEditable,constraint:t.eventConstraint,overlap:"boolean"==typeof t.eventOverlap?t.eventOverlap:void 0,allow:t.eventAllow,backgroundColor:t.eventBackgroundColor,borderColor:t.eventBorderColor,textColor:t.eventTextColor,color:t.eventColor},e),selectionConfig:(0,i.W)({constraint:t.selectConstraint,overlap:"boolean"==typeof t.selectOverlap?t.selectOverlap:void 0,allow:t.selectAllow},e)}}function q(e,t){for(let n of t.pluginHooks.isLoadingFuncs)if(n(e))return!0;return!1}function U(e){return(0,i.X)(e.options.businessHours,e)}function G(e,t){for(let n in e)console.warn(`Unknown option '${n}'`+(t?` for view '${t}'`:""))}class B extends i.B{render(){let e=this.props.widgetGroups.map(e=>this.renderWidgetGroup(e));return(0,r.n)("div",{className:"fc-toolbar-chunk"},...e)}renderWidgetGroup(e){let{props:t}=this,{theme:n}=this.context,i=[],s=!0;for(let a of e){let{buttonName:e,buttonClick:o,buttonText:l,buttonIcon:d,buttonHint:c}=a;if("title"===e)s=!1,i.push((0,r.n)("h2",{className:"fc-toolbar-title",id:t.titleId},t.title));else{let s=e===t.activeButton,a=!t.isTodayEnabled&&"today"===e||!t.isPrevEnabled&&"prev"===e||!t.isNextEnabled&&"next"===e,u=[`fc-${e}-button`,n.getClass("button")];s&&u.push(n.getClass("buttonActive")),i.push((0,r.n)("button",{type:"button",title:"function"==typeof c?c(t.navUnit):c,disabled:a,"aria-pressed":s,className:u.join(" "),onClick:o},l||(d?(0,r.n)("span",{className:d,role:"img"}):"")))}}if(i.length>1){let e=s&&n.getClass("buttonGroup")||"";return(0,r.n)("div",{className:e},...i)}return i[0]}}class X extends i.B{render(){let e,t,{model:n,extraClassName:i}=this.props,s=!1,a=n.sectionWidgets,o=a.center;a.left?(s=!0,e=a.left):e=a.start,a.right?(s=!0,t=a.right):t=a.end;let l=[i||"","fc-toolbar",s?"fc-toolbar-ltr":""];return(0,r.n)("div",{className:l.join(" ")},this.renderSection("start",e||[]),this.renderSection("center",o||[]),this.renderSection("end",t||[]))}renderSection(e,t){let{props:n}=this;return(0,r.n)(B,{key:e,widgetGroups:t,title:n.title,navUnit:n.navUnit,activeButton:n.activeButton,isTodayEnabled:n.isTodayEnabled,isPrevEnabled:n.isPrevEnabled,isNextEnabled:n.isNextEnabled,titleId:n.titleId})}}class Q extends i.B{constructor(){super(...arguments),this.state={availableWidth:null},this.handleEl=e=>{this.el=e,(0,i.Y)(this.props.elRef,e),this.updateAvailableWidth()},this.handleResize=()=>{this.updateAvailableWidth()}}render(){let{props:e,state:t}=this,{aspectRatio:n}=e,i=["fc-view-harness",n||e.liquid||e.height?"fc-view-harness-active":"fc-view-harness-passive"],s="",a="";return n?null!==t.availableWidth?s=t.availableWidth/n:a=`${1/n*100}%`:s=e.height||"",(0,r.n)("div",{"aria-labelledby":e.labeledById,ref:this.handleEl,className:i.join(" "),style:{height:s,paddingBottom:a}},e.children)}componentDidMount(){this.context.addResizeHandler(this.handleResize)}componentWillUnmount(){this.context.removeResizeHandler(this.handleResize)}updateAvailableWidth(){this.el&&this.props.aspectRatio&&this.setState({availableWidth:this.el.offsetWidth})}}class Z extends i.Z{constructor(e){super(e),this.handleSegClick=(e,t)=>{let{component:n}=this,{context:r}=n,s=(0,i._)(t);if(s&&n.isValidSegDownEl(e.target)){let a=(0,i.$)(e.target,".fc-event-forced-url"),o=a?a.querySelector("a[href]").href:"";r.emitter.trigger("eventClick",{el:t,event:new i.a0(n.context,s.eventRange.def,s.eventRange.instance),jsEvent:e,view:r.viewApi}),o&&!e.defaultPrevented&&(window.location.href=o)}},this.destroy=(0,i.a1)(e.el,"click",".fc-event",this.handleSegClick)}}class $ extends i.Z{constructor(e){super(e),this.handleEventElRemove=e=>{e===this.currentSegEl&&this.handleSegLeave(null,this.currentSegEl)},this.handleSegEnter=(e,t)=>{(0,i._)(t)&&(this.currentSegEl=t,this.triggerEvent("eventMouseEnter",e,t))},this.handleSegLeave=(e,t)=>{this.currentSegEl&&(this.currentSegEl=null,this.triggerEvent("eventMouseLeave",e,t))},this.removeHoverListeners=(0,i.a2)(e.el,".fc-event",this.handleSegEnter,this.handleSegLeave)}destroy(){this.removeHoverListeners()}triggerEvent(e,t,n){let{component:r}=this,{context:s}=r,a=(0,i._)(n);(!t||r.isValidSegDownEl(t.target))&&s.emitter.trigger(e,{el:n,event:new i.a0(s,a.eventRange.def,a.eventRange.instance),jsEvent:t,view:s.viewApi})}}class K extends i.a3{constructor(){super(...arguments),this.buildViewContext=(0,i.z)(i.a4),this.buildViewPropTransformers=(0,i.z)(ee),this.buildToolbarProps=(0,i.z)(J),this.headerRef=(0,r._3)(),this.footerRef=(0,r._3)(),this.interactionsStore={},this.state={viewLabelId:(0,i.a5)()},this.registerInteractiveComponent=(e,t)=>{let n=(0,i.a6)(e,t),r=[Z,$].concat(this.props.pluginHooks.componentInteractions).map(e=>new e(n));this.interactionsStore[e.uid]=r,i.a7[e.uid]=n},this.unregisterInteractiveComponent=e=>{let t=this.interactionsStore[e.uid];if(t){for(let e of t)e.destroy();delete this.interactionsStore[e.uid]}delete i.a7[e.uid]},this.resizeRunner=new i.D(()=>{this.props.emitter.trigger("_resize",!0),this.props.emitter.trigger("windowResize",{view:this.props.viewApi})}),this.handleWindowResize=e=>{let{options:t}=this.props;t.handleWindowResize&&e.target===window&&this.resizeRunner.request(t.windowResizeDelay)}}render(){let e,{props:t}=this,{toolbarConfig:n,options:s}=t,a=this.buildToolbarProps(t.viewSpec,t.dateProfile,t.dateProfileGenerator,t.currentDate,(0,i.a8)(t.options.now,t.dateEnv),t.viewTitle),o=!1,l="";t.isHeightAuto||t.forPrint?l="":null!=s.height?o=!0:null!=s.contentHeight?l=s.contentHeight:e=Math.max(s.aspectRatio,.5);let d=this.buildViewContext(t.viewSpec,t.viewApi,t.options,t.dateProfileGenerator,t.dateEnv,t.theme,t.pluginHooks,t.dispatch,t.getCurrentData,t.emitter,t.calendarApi,this.registerInteractiveComponent,this.unregisterInteractiveComponent),c=n.header&&n.header.hasTitle?this.state.viewLabelId:void 0;return(0,r.n)(i.V.Provider,{value:d},n.header&&(0,r.n)(X,Object.assign({ref:this.headerRef,extraClassName:"fc-header-toolbar",model:n.header,titleId:c},a)),(0,r.n)(Q,{liquid:o,height:l,aspectRatio:e,labeledById:c},this.renderView(t),this.buildAppendContent()),n.footer&&(0,r.n)(X,Object.assign({ref:this.footerRef,extraClassName:"fc-footer-toolbar",model:n.footer,titleId:""},a)))}componentDidMount(){let{props:e}=this;this.calendarInteractions=e.pluginHooks.calendarInteractions.map(t=>new t(e)),window.addEventListener("resize",this.handleWindowResize);let{propSetHandlers:t}=e.pluginHooks;for(let n in t)t[n](e[n],e)}componentDidUpdate(e){let{props:t}=this,{propSetHandlers:n}=t.pluginHooks;for(let i in n)t[i]!==e[i]&&n[i](t[i],t)}componentWillUnmount(){for(let e of(window.removeEventListener("resize",this.handleWindowResize),this.resizeRunner.clear(),this.calendarInteractions))e.destroy();this.props.emitter.trigger("_unmount")}buildAppendContent(){let{props:e}=this,t=e.pluginHooks.viewContainerAppends.map(t=>t(e));return(0,r.n)(r.FK,{},...t)}renderView(e){let{pluginHooks:t}=e,{viewSpec:n}=e,i={dateProfile:e.dateProfile,businessHours:e.businessHours,eventStore:e.renderableEventStore,eventUiBases:e.eventUiBases,dateSelection:e.dateSelection,eventSelection:e.eventSelection,eventDrag:e.eventDrag,eventResize:e.eventResize,isHeightAuto:e.isHeightAuto,forPrint:e.forPrint};for(let n of this.buildViewPropTransformers(t.viewPropsTransformers))Object.assign(i,n.transform(i,e));let s=n.component;return(0,r.n)(s,Object.assign({},i))}}function J(e,t,n,r,s,a){let o=n.build(s,void 0,!1),l=n.buildPrev(t,r,!1),d=n.buildNext(t,r,!1);return{title:a,activeButton:e.type,navUnit:e.singleUnit,isTodayEnabled:o.isValid&&!(0,i.H)(t.currentRange,s),isPrevEnabled:l.isValid,isNextEnabled:d.isValid}}function ee(e){return e.map(e=>new e)}class et extends i.a9{constructor(e,t={}){super(),this.isRendering=!1,this.isRendered=!1,this.currentClassNames=[],this.customContentRenderId=0,this.handleAction=e=>{switch(e.type){case"SET_EVENT_DRAG":case"SET_EVENT_RESIZE":this.renderRunner.tryDrain()}},this.handleData=e=>{this.currentData=e,this.renderRunner.request(e.calendarOptions.rerenderDelay)},this.handleRenderRequest=()=>{if(this.isRendering){this.isRendered=!0;let{currentData:e}=this;(0,i.aa)(()=>{(0,r.XX)((0,r.n)(i.ab,{options:e.calendarOptions,theme:e.theme,emitter:e.emitter},(t,n,s,a)=>(this.setClassNames(t),this.setHeight(n),(0,r.n)(i.ac.Provider,{value:this.customContentRenderId},(0,r.n)(K,Object.assign({isHeightAuto:s,forPrint:a},e))))),this.el)})}else this.isRendered&&(this.isRendered=!1,(0,r.XX)(null,this.el),this.setClassNames([]),this.setHeight(""))},(0,i.ad)(e),this.el=e,this.renderRunner=new i.D(this.handleRenderRequest),new A({optionOverrides:t,calendarApi:this,onAction:this.handleAction,onData:this.handleData})}render(){let e=this.isRendering;e?this.customContentRenderId+=1:this.isRendering=!0,this.renderRunner.request(),e&&this.updateSize()}destroy(){this.isRendering&&(this.isRendering=!1,this.renderRunner.request())}updateSize(){(0,i.aa)(()=>{super.updateSize()})}batchRendering(e){this.renderRunner.pause("batchRendering"),e(),this.renderRunner.resume("batchRendering")}pauseRendering(){this.renderRunner.pause("pauseRendering")}resumeRendering(){this.renderRunner.resume("pauseRendering",!0)}resetOptions(e,t){this.currentDataManager.resetOptions(e,t)}setClassNames(e){if(!(0,i.i)(e,this.currentClassNames)){let{classList:t}=this.el;for(let e of this.currentClassNames)t.remove(e);for(let n of e)t.add(n);this.currentClassNames=e}}setHeight(e){(0,i.ae)(this.el,"height",e)}}},80190:(e,t,n)=>{"use strict";n.d(t,{p:()=>r});var i=n(6455);function r(e,t,n){return(0,i.A)(e,1e3*t,n)}},83564:(e,t,n)=>{"use strict";n.d(t,{D:()=>r});var i=n(23327);function r(e,t){let n=(0,i.a)(e,null==t?void 0:t.in);return n.setHours(23,59,59,999),n}},83644:(e,t,n)=>{"use strict";n.d(t,{d:()=>r});var i=n(23327);function r(e,t){return+(0,i.a)(e)>+(0,i.a)(t)}},85763:(e,t,n)=>{"use strict";n.d(t,{Q:()=>r});var i=n(23327);function r(e,t){let n=(0,i.a)(e,null==t?void 0:t.in),r=n.getFullYear();return n.setFullYear(r+1,0,0),n.setHours(23,59,59,999),n}},86577:(e,t,n)=>{"use strict";n.d(t,{c:()=>r});var i=n(34240);function r(e,t,n){return(0,i.z)(e,-t,n)}},87292:(e,t,n)=>{"use strict";n.d(t,{G:()=>r});var i=n(23327);function r(e){let t=(0,i.a)(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),e-n}},89225:(e,t,n)=>{"use strict";n.d(t,{s:()=>r});var i=n(79447);function r(e,t,n){let[r,s]=(0,i.x)(null==n?void 0:n.in,e,t);return r.getFullYear()===s.getFullYear()}},90032:(e,t,n)=>{"use strict";n.d(t,{T:()=>s});var i=n(63039),r=n(23327);function s(e,t){let n,s=null==t?void 0:t.in;return e.forEach(e=>{s||"object"!=typeof e||(s=i.w.bind(null,e));let t=(0,r.a)(e,s);(!n||n<t||isNaN(+t))&&(n=t)}),(0,i.w)(s,n||NaN)}},90102:(e,t,n)=>{"use strict";n.d(t,{p:()=>a});var i=n(63039),r=n(52372),s=n(23327);function a(e,t){let n=(0,s.a)(e,null==t?void 0:t.in),a=n.getFullYear(),o=(0,i.w)(n,0);o.setFullYear(a+1,0,4),o.setHours(0,0,0,0);let l=(0,r.b)(o),d=(0,i.w)(n,0);d.setFullYear(a,0,4),d.setHours(0,0,0,0);let c=(0,r.b)(d);return n.getTime()>=l.getTime()?a+1:n.getTime()>=c.getTime()?a:a-1}},90940:(e,t,n)=>{"use strict";n.d(t,{A:()=>V});var i=n(80053),r=n(35612),s=n(11936),a=n(77883);class o extends r.aY{getKeyInfo(){return{allDay:{},timed:{}}}getKeysForDateSpan(e){return e.allDay?["allDay"]:["timed"]}getKeysForEventDef(e){return e.allDay?(0,r.bP)(e)?["timed","allDay"]:["allDay"]:["timed"]}}let l=(0,r.x)({hour:"numeric",minute:"2-digit",omitZeroMinute:!0,meridiem:"short"});function d(e){let t=["fc-timegrid-slot","fc-timegrid-slot-label",e.isLabeled?"fc-scrollgrid-shrink":"fc-timegrid-slot-minor"];return(0,s.n)(r.V.Consumer,null,n=>{if(!e.isLabeled)return(0,s.n)("td",{className:t.join(" "),"data-time":e.isoTimeStr});let{dateEnv:i,options:a,viewApi:o}=n,d=null==a.slotLabelFormat?l:Array.isArray(a.slotLabelFormat)?(0,r.x)(a.slotLabelFormat[0]):(0,r.x)(a.slotLabelFormat),u={level:0,time:e.time,date:i.toDate(e.date),view:o,text:i.format(e.date,d)};return(0,s.n)(r.C,{elTag:"td",elClasses:t,elAttrs:{"data-time":e.isoTimeStr},renderProps:u,generatorName:"slotLabelContent",customGenerator:a.slotLabelContent,defaultGenerator:c,classNameGenerator:a.slotLabelClassNames,didMount:a.slotLabelDidMount,willUnmount:a.slotLabelWillUnmount},e=>(0,s.n)("div",{className:"fc-timegrid-slot-label-frame fc-scrollgrid-shrink-frame"},(0,s.n)(e,{elTag:"div",elClasses:["fc-timegrid-slot-label-cushion","fc-scrollgrid-shrink-cushion"]})))})}function c(e){return e.text}class u extends r.B{render(){return this.props.slatMetas.map(e=>(0,s.n)("tr",{key:e.key},(0,s.n)(d,Object.assign({},e))))}}let h=(0,r.x)({week:"short"});class f extends r.be{constructor(){super(...arguments),this.allDaySplitter=new o,this.headerElRef=(0,s._3)(),this.rootElRef=(0,s._3)(),this.scrollerElRef=(0,s._3)(),this.state={slatCoords:null},this.handleScrollTopRequest=e=>{let t=this.scrollerElRef.current;t&&(t.scrollTop=e)},this.renderHeadAxis=(e,t="")=>{let{options:n}=this.context,{dateProfile:i}=this.props,a=i.renderRange,o=1===(0,r.bl)(a.start,a.end)?(0,r.b0)(this.context,a.start,"week"):{};return n.weekNumbers&&"day"===e?(0,s.n)(r.cq,{elTag:"th",elClasses:["fc-timegrid-axis","fc-scrollgrid-shrink"],elAttrs:{"aria-hidden":!0},date:a.start,defaultFormat:h},e=>(0,s.n)("div",{className:"fc-timegrid-axis-frame fc-scrollgrid-shrink-frame fc-timegrid-axis-frame-liquid",style:{height:t}},(0,s.n)(e,{elTag:"a",elClasses:["fc-timegrid-axis-cushion","fc-scrollgrid-shrink-cushion","fc-scrollgrid-sync-inner"],elAttrs:o}))):(0,s.n)("th",{"aria-hidden":!0,className:"fc-timegrid-axis"},(0,s.n)("div",{className:"fc-timegrid-axis-frame",style:{height:t}}))},this.renderTableRowAxis=e=>{let{options:t,viewApi:n}=this.context,i={text:t.allDayText,view:n};return(0,s.n)(r.C,{elTag:"td",elClasses:["fc-timegrid-axis","fc-scrollgrid-shrink"],elAttrs:{"aria-hidden":!0},renderProps:i,generatorName:"allDayContent",customGenerator:t.allDayContent,defaultGenerator:g,classNameGenerator:t.allDayClassNames,didMount:t.allDayDidMount,willUnmount:t.allDayWillUnmount},t=>(0,s.n)("div",{className:["fc-timegrid-axis-frame","fc-scrollgrid-shrink-frame",null==e?" fc-timegrid-axis-frame-liquid":""].join(" "),style:{height:e}},(0,s.n)(t,{elTag:"span",elClasses:["fc-timegrid-axis-cushion","fc-scrollgrid-shrink-cushion","fc-scrollgrid-sync-inner"]})))},this.handleSlatCoords=e=>{this.setState({slatCoords:e})}}renderSimpleLayout(e,t,n){let{context:i,props:a}=this,o=[],l=(0,r.cc)(i.options);return e&&o.push({type:"header",key:"header",isSticky:l,chunk:{elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}}),t&&(o.push({type:"body",key:"all-day",chunk:{content:t}}),o.push({type:"body",key:"all-day-divider",outerContent:(0,s.n)("tr",{role:"presentation",className:"fc-scrollgrid-section"},(0,s.n)("td",{className:"fc-timegrid-divider "+i.theme.getClass("tableCellShaded")}))})),o.push({type:"body",key:"body",liquid:!0,expandRows:!!i.options.expandRows,chunk:{scrollerElRef:this.scrollerElRef,content:n}}),(0,s.n)(r.ct,{elRef:this.rootElRef,elClasses:["fc-timegrid"],viewSpec:i.viewSpec},(0,s.n)(r.b$,{liquid:!a.isHeightAuto&&!a.forPrint,collapsibleWidth:a.forPrint,cols:[{width:"shrink"}],sections:o}))}renderHScrollLayout(e,t,n,i,a,o,l){let d=this.context.pluginHooks.scrollGridImpl;if(!d)throw Error("No ScrollGrid implementation");let{context:c,props:h}=this,f=!h.forPrint&&(0,r.cc)(c.options),g=!h.forPrint&&(0,r.cb)(c.options),p=[];e&&p.push({type:"header",key:"header",isSticky:f,syncRowHeights:!0,chunks:[{key:"axis",rowContent:e=>(0,s.n)("tr",{role:"presentation"},this.renderHeadAxis("day",e.rowSyncHeights[0]))},{key:"cols",elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}]}),t&&(p.push({type:"body",key:"all-day",syncRowHeights:!0,chunks:[{key:"axis",rowContent:e=>(0,s.n)("tr",{role:"presentation"},this.renderTableRowAxis(e.rowSyncHeights[0]))},{key:"cols",content:t}]}),p.push({key:"all-day-divider",type:"body",outerContent:(0,s.n)("tr",{role:"presentation",className:"fc-scrollgrid-section"},(0,s.n)("td",{colSpan:2,className:"fc-timegrid-divider "+c.theme.getClass("tableCellShaded")}))}));let m=c.options.nowIndicator;return p.push({type:"body",key:"body",liquid:!0,expandRows:!!c.options.expandRows,chunks:[{key:"axis",content:e=>(0,s.n)("div",{className:"fc-timegrid-axis-chunk"},(0,s.n)("table",{"aria-hidden":!0,style:{height:e.expandRows?e.clientHeight:""}},e.tableColGroupNode,(0,s.n)("tbody",null,(0,s.n)(u,{slatMetas:o}))),(0,s.n)("div",{className:"fc-timegrid-now-indicator-container"},(0,s.n)(r.ch,{unit:m?"minute":"day"},e=>{let t=m&&l&&l.safeComputeTop(e);return"number"==typeof t?(0,s.n)(r.ck,{elClasses:["fc-timegrid-now-indicator-arrow"],elStyle:{top:t},isAxis:!0,date:e}):null})))},{key:"cols",scrollerElRef:this.scrollerElRef,content:n}]}),g&&p.push({key:"footer",type:"footer",isSticky:!0,chunks:[{key:"axis",content:r.ca},{key:"cols",content:r.ca}]}),(0,s.n)(r.ct,{elRef:this.rootElRef,elClasses:["fc-timegrid"],viewSpec:c.viewSpec},(0,s.n)(d,{liquid:!h.isHeightAuto&&!h.forPrint,forPrint:h.forPrint,collapsibleWidth:!1,colGroups:[{width:"shrink",cols:[{width:"shrink"}]},{cols:[{span:i,minWidth:a}]}],sections:p}))}getAllDayMaxEventProps(){let{dayMaxEvents:e,dayMaxEventRows:t}=this.context.options;return(!0===e||!0===t)&&(e=void 0,t=5),{dayMaxEvents:e,dayMaxEventRows:t}}}function g(e){return e.text}class p{constructor(e,t,n){this.positions=e,this.dateProfile=t,this.slotDuration=n}safeComputeTop(e){let{dateProfile:t}=this;if((0,r.H)(t.currentRange,e)){let n=(0,r.q)(e),i=e.valueOf()-n.valueOf();if(i>=(0,r.bs)(t.slotMinTime)&&i<(0,r.bs)(t.slotMaxTime))return this.computeTimeTop((0,r.d)(i))}return null}computeDateTop(e,t){return t||(t=(0,r.q)(e)),this.computeTimeTop((0,r.d)(e.valueOf()-t.valueOf()))}computeTimeTop(e){let t,n,{positions:i,dateProfile:s}=this,a=i.els.length,o=(e.milliseconds-(0,r.bs)(s.slotMinTime))/(0,r.bs)(this.slotDuration);return t=Math.min(t=Math.floor(o=Math.min(a,o=Math.max(0,o))),a-1),n=o-t,i.tops[t]+i.getHeight(t)*n}}class m extends r.B{render(){let{props:e,context:t}=this,{options:n}=t,{slatElRefs:i}=e;return(0,s.n)("tbody",null,e.slatMetas.map((a,o)=>{let l={time:a.time,date:t.dateEnv.toDate(a.date),view:t.viewApi};return(0,s.n)("tr",{key:a.key,ref:i.createRef(a.key)},e.axis&&(0,s.n)(d,Object.assign({},a)),(0,s.n)(r.C,{elTag:"td",elClasses:["fc-timegrid-slot","fc-timegrid-slot-lane",!a.isLabeled&&"fc-timegrid-slot-minor"],elAttrs:{"data-time":a.isoTimeStr},renderProps:l,generatorName:"slotLaneContent",customGenerator:n.slotLaneContent,classNameGenerator:n.slotLaneClassNames,didMount:n.slotLaneDidMount,willUnmount:n.slotLaneWillUnmount}))}))}}class v extends r.B{constructor(){super(...arguments),this.rootElRef=(0,s._3)(),this.slatElRefs=new r.cf}render(){let{props:e,context:t}=this;return(0,s.n)("div",{ref:this.rootElRef,className:"fc-timegrid-slots"},(0,s.n)("table",{"aria-hidden":!0,className:t.theme.getClass("table"),style:{minWidth:e.tableMinWidth,width:e.clientWidth,height:e.minHeight}},e.tableColGroupNode,(0,s.n)(m,{slatElRefs:this.slatElRefs,axis:e.axis,slatMetas:e.slatMetas})))}componentDidMount(){this.updateSizing()}componentDidUpdate(){this.updateSizing()}componentWillUnmount(){this.props.onCoords&&this.props.onCoords(null)}updateSizing(){var e;let{context:t,props:n}=this;n.onCoords&&null!==n.clientWidth&&this.rootElRef.current.offsetHeight&&n.onCoords(new p(new r.ba(this.rootElRef.current,(e=this.slatElRefs.currentMap,n.slatMetas.map(t=>e[t.key])),!1,!0),this.props.dateProfile,t.options.slotDuration))}}function b(e,t){let n,i=[];for(n=0;n<t;n+=1)i.push([]);if(e)for(n=0;n<e.length;n+=1)i[e[n].col].push(e[n]);return i}function y(e,t){let n=[];if(e){for(let i=0;i<t;i+=1)n[i]={affectedInstances:e.affectedInstances,isEvent:e.isEvent,segs:[]};for(let t of e.segs)n[t.col].segs.push(t)}else for(let e=0;e<t;e+=1)n[e]=null;return n}class w extends r.B{render(){let{props:e}=this;return(0,s.n)(r.cr,{elClasses:["fc-timegrid-more-link"],elStyle:{top:e.top,bottom:e.bottom},allDayDate:null,moreCnt:e.hiddenSegs.length,allSegs:e.hiddenSegs,hiddenSegs:e.hiddenSegs,extraDateSpan:e.extraDateSpan,dateProfile:e.dateProfile,todayRange:e.todayRange,popoverContent:()=>M(e.hiddenSegs,e),defaultGenerator:_,forceTimed:!0},e=>(0,s.n)(e,{elTag:"div",elClasses:["fc-timegrid-more-link-inner","fc-sticky"]}))}}function _(e){return e.shortText}function S(e,t){if(!e)return[[],0];let{level:n,lateralStart:i,lateralEnd:r}=e,s=i,a=[];for(;s<r;)a.push(t(n,s)),s+=1;return a.sort(E),[a.map(x),a[0][1]]}function E(e,t){return t[1]-e[1]}function x(e){return e[0]}function D(e,t){let n={};return(...i)=>{let r=e(...i);return r in n?n[r]:n[r]=t(...i)}}function R(e,t,n=null,i=0){let r=[];if(n)for(let s=0;s<e.length;s+=1){let a=e[s],o=n.computeDateTop(a.start,t),l=Math.max(o+(i||0),n.computeDateTop(a.end,t));r.push({start:Math.round(o),end:Math.round(l)})}return r}let T=(0,r.x)({hour:"numeric",minute:"2-digit",meridiem:!1});class C extends r.B{render(){return(0,s.n)(r.cj,Object.assign({},this.props,{elClasses:["fc-timegrid-event","fc-v-event",this.props.isShort&&"fc-timegrid-event-short"],defaultTimeFormat:T}))}}class k extends r.B{constructor(){super(...arguments),this.sortEventSegs=(0,r.z)(r.bR)}render(){let{props:e,context:t}=this,{options:n}=t,i=n.selectMirror,a=e.eventDrag&&e.eventDrag.segs||e.eventResize&&e.eventResize.segs||i&&e.dateSelectionSegs||[],o=e.eventDrag&&e.eventDrag.affectedInstances||e.eventResize&&e.eventResize.affectedInstances||{},l=this.sortEventSegs(e.fgEventSegs,n.eventOrder);return(0,s.n)(r.cl,{elTag:"td",elRef:e.elRef,elClasses:["fc-timegrid-col",...e.extraClassNames||[]],elAttrs:Object.assign({role:"gridcell"},e.extraDataAttrs),date:e.date,dateProfile:e.dateProfile,todayRange:e.todayRange,extraRenderProps:e.extraRenderProps},t=>(0,s.n)("div",{className:"fc-timegrid-col-frame"},(0,s.n)("div",{className:"fc-timegrid-col-bg"},this.renderFillSegs(e.businessHourSegs,"non-business"),this.renderFillSegs(e.bgEventSegs,"bg-event"),this.renderFillSegs(e.dateSelectionSegs,"highlight")),(0,s.n)("div",{className:"fc-timegrid-col-events"},this.renderFgSegs(l,o,!1,!1,!1)),(0,s.n)("div",{className:"fc-timegrid-col-events"},this.renderFgSegs(a,{},!!e.eventDrag,!!e.eventResize,!!i,"mirror")),(0,s.n)("div",{className:"fc-timegrid-now-indicator-container"},this.renderNowIndicator(e.nowIndicatorSegs)),(0,r.cm)(n)&&(0,s.n)(t,{elTag:"div",elClasses:["fc-timegrid-col-misc"]})))}renderFgSegs(e,t,n,i,r,s){let{props:a}=this;return a.forPrint?M(e,a):this.renderPositionedFgSegs(e,t,n,i,r,s)}renderPositionedFgSegs(e,t,n,i,a,o){let{eventMaxStack:l,eventShortHeight:d,eventOrderStrict:c,eventMinHeight:u}=this.context.options,{date:h,slatCoords:f,eventSelection:g,todayRange:p,nowDate:m}=this.props,v=n||i||a,b=R(e,h,f,u),{segPlacements:y,hiddenGroups:w}=function(e,t,n,i){let s,a,o,l,d=[],c=[];for(let n=0;n<e.length;n+=1){let i=t[n];i?d.push({index:n,thickness:1,span:i}):c.push(e[n])}let{segRects:u,hiddenGroups:h}=(s=new r.bA,null!=n&&(s.strictOrder=n),null!=i&&(s.maxStackCnt=i),a=s.addSegs(d),o=(0,r.bE)(a),{segRects:function(e){let t=[],n=D((e,t,n)=>(0,r.bB)(e),(e,n,r)=>{let s=Object.assign(Object.assign({},e),{levelCoord:n,stackDepth:r,stackForward:0});return t.push(s),s.stackForward=i(e.nextLevelNodes,n+e.thickness,r+1)+1});function i(e,t,i){let r=0;for(let s of e)r=Math.max(n(s,t,i),r);return r}return i(e,0,0),t}(function(e,t){let n=D((e,t,n)=>(0,r.bB)(e),(e,t,i)=>{let r,{nextLevelNodes:s,thickness:a}=e,o=a+i,l=a/o,d=[];if(s.length)for(let e of s)if(void 0===r){let i=n(e,t,o);r=i[0],d.push(i[1])}else{let t=n(e,r,0);d.push(t[1])}else r=1;let c=(r-t)*l;return[r-c,Object.assign(Object.assign({},e),{thickness:c,nextLevelNodes:d})]});return e.map(e=>n(e,0,0)[1])}(function(e){let{entriesByLevel:t}=e,n=D((e,t)=>e+":"+t,(i,s)=>{let a=S(function(e,t,n){let{levelCoords:i,entriesByLevel:s}=e,a=s[t][n],o=i[t]+a.thickness,l=i.length,d=t;for(;d<l&&i[d]<o;d+=1);for(;d<l;d+=1){let e,t=s[d],n=(0,r.bD)(t,a.span.start,r.bC),i=n[0]+n[1],o=i;for(;(e=t[o])&&e.span.start<a.span.end;)o+=1;if(i<o)return{level:d,lateralStart:i,lateralEnd:o}}return null}(e,i,s),n),o=t[i][s];return[Object.assign(Object.assign({},o),{nextLevelNodes:a[0]}),o.thickness+a[1]]});return S(t.length?{level:0,lateralStart:0,lateralEnd:t[0].length}:null,n)[0]}(s),1)),hiddenGroups:o}),f=[];for(let t of u)f.push({seg:e[t.index],rect:t});for(let e of c)f.push({seg:e,rect:null});return{segPlacements:f,hiddenGroups:h}}(e,b,c,l);return(0,s.n)(s.FK,null,this.renderHiddenGroups(w,e),y.map(e=>{let{seg:l,rect:c}=e,u=l.eventRange.instance.instanceId,h=v||!!(!t[u]&&c),f=P(c&&c.span),b=!v&&c?this.computeSegHStyle(c):{left:0,right:0},y=!!c&&c.stackForward>0,w=!!c&&c.span.end-c.span.start<d;return(0,s.n)("div",{className:"fc-timegrid-event-harness"+(y?" fc-timegrid-event-harness-inset":""),key:o||u,style:Object.assign(Object.assign({visibility:h?"":"hidden"},f),b)},(0,s.n)(C,Object.assign({seg:l,isDragging:n,isResizing:i,isDateSelecting:a,isSelected:u===g,isShort:w},(0,r.bS)(l,p,m))))}))}renderHiddenGroups(e,t){let{extraDateSpan:n,dateProfile:i,todayRange:a,nowDate:o,eventSelection:l,eventDrag:d,eventResize:c}=this.props;return(0,s.n)(s.FK,null,e.map(e=>{var u,h;let f=P(e.span),g=(u=e.entries,h=t,u.map(e=>h[e.index]));return(0,s.n)(w,{key:(0,r.bw)((0,r.cs)(g)),hiddenSegs:g,top:f.top,bottom:f.bottom,extraDateSpan:n,dateProfile:i,todayRange:a,nowDate:o,eventSelection:l,eventDrag:d,eventResize:c})}))}renderFillSegs(e,t){let{props:n,context:i}=this,a=R(e,n.date,n.slatCoords,i.options.eventMinHeight).map((i,a)=>{let o=e[a];return(0,s.n)("div",{key:(0,r.bT)(o.eventRange),className:"fc-timegrid-bg-harness",style:P(i)},"bg-event"===t?(0,s.n)(r.cp,Object.assign({seg:o},(0,r.bS)(o,n.todayRange,n.nowDate))):(0,r.co)(t))});return(0,s.n)(s.FK,null,a)}renderNowIndicator(e){let{slatCoords:t,date:n}=this.props;return t?e.map((e,i)=>(0,s.n)(r.ck,{key:i,elClasses:["fc-timegrid-now-indicator-line"],elStyle:{top:t.computeDateTop(e.start,n)},isAxis:!1,date:n})):null}computeSegHStyle(e){let t,n,{isRtl:i,options:r}=this.context,s=r.slotEventOverlap,a=e.levelCoord,o=e.levelCoord+e.thickness;s&&(o=Math.min(1,a+(o-a)*2)),i?(t=1-o,n=a):(t=a,n=1-o);let l={zIndex:e.stackDepth+1,left:100*t+"%",right:100*n+"%"};return s&&!e.stackForward&&(l[i?"marginLeft":"marginRight"]=20),l}}function M(e,{todayRange:t,nowDate:n,eventSelection:i,eventDrag:a,eventResize:o}){let l=(a?a.affectedInstances:null)||(o?o.affectedInstances:null)||{};return(0,s.n)(s.FK,null,e.map(e=>{let a=e.eventRange.instance.instanceId;return(0,s.n)("div",{key:a,style:{visibility:l[a]?"hidden":""}},(0,s.n)(C,Object.assign({seg:e,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:a===i,isShort:!1},(0,r.bS)(e,t,n))))}))}function P(e){return e?{top:e.start,bottom:-e.end}:{top:"",bottom:""}}class O extends r.B{constructor(){super(...arguments),this.splitFgEventSegs=(0,r.z)(b),this.splitBgEventSegs=(0,r.z)(b),this.splitBusinessHourSegs=(0,r.z)(b),this.splitNowIndicatorSegs=(0,r.z)(b),this.splitDateSelectionSegs=(0,r.z)(b),this.splitEventDrag=(0,r.z)(y),this.splitEventResize=(0,r.z)(y),this.rootElRef=(0,s._3)(),this.cellElRefs=new r.cf}render(){let{props:e,context:t}=this,n=t.options.nowIndicator&&e.slatCoords&&e.slatCoords.safeComputeTop(e.nowDate),i=e.cells.length,a=this.splitFgEventSegs(e.fgEventSegs,i),o=this.splitBgEventSegs(e.bgEventSegs,i),l=this.splitBusinessHourSegs(e.businessHourSegs,i),d=this.splitNowIndicatorSegs(e.nowIndicatorSegs,i),c=this.splitDateSelectionSegs(e.dateSelectionSegs,i),u=this.splitEventDrag(e.eventDrag,i),h=this.splitEventResize(e.eventResize,i);return(0,s.n)("div",{className:"fc-timegrid-cols",ref:this.rootElRef},(0,s.n)("table",{role:"presentation",style:{minWidth:e.tableMinWidth,width:e.clientWidth}},e.tableColGroupNode,(0,s.n)("tbody",{role:"presentation"},(0,s.n)("tr",{role:"row"},e.axis&&(0,s.n)("td",{"aria-hidden":!0,className:"fc-timegrid-col fc-timegrid-axis"},(0,s.n)("div",{className:"fc-timegrid-col-frame"},(0,s.n)("div",{className:"fc-timegrid-now-indicator-container"},"number"==typeof n&&(0,s.n)(r.ck,{elClasses:["fc-timegrid-now-indicator-arrow"],elStyle:{top:n},isAxis:!0,date:e.nowDate})))),e.cells.map((t,n)=>(0,s.n)(k,{key:t.key,elRef:this.cellElRefs.createRef(t.key),dateProfile:e.dateProfile,date:t.date,nowDate:e.nowDate,todayRange:e.todayRange,extraRenderProps:t.extraRenderProps,extraDataAttrs:t.extraDataAttrs,extraClassNames:t.extraClassNames,extraDateSpan:t.extraDateSpan,fgEventSegs:a[n],bgEventSegs:o[n],businessHourSegs:l[n],nowIndicatorSegs:d[n],dateSelectionSegs:c[n],eventDrag:u[n],eventResize:h[n],slatCoords:e.slatCoords,eventSelection:e.eventSelection,forPrint:e.forPrint}))))))}componentDidMount(){this.updateCoords()}componentDidUpdate(){this.updateCoords()}updateCoords(){var e;let{props:t}=this;t.onColCoords&&null!==t.clientWidth&&t.onColCoords(new r.ba(this.rootElRef.current,(e=this.cellElRefs.currentMap,t.cells.map(t=>e[t.key])),!0,!1))}}class H extends r.be{constructor(){super(...arguments),this.processSlotOptions=(0,r.z)(N),this.state={slatCoords:null},this.handleRootEl=e=>{e?this.context.registerInteractiveComponent(this,{el:e,isHitComboAllowed:this.props.isHitComboAllowed}):this.context.unregisterInteractiveComponent(this)},this.handleScrollRequest=e=>{let{onScrollTopRequest:t}=this.props,{slatCoords:n}=this.state;if(t&&n){if(e.time){let i=n.computeTimeTop(e.time);(i=Math.ceil(i))&&(i+=1),t(i)}return!0}return!1},this.handleColCoords=e=>{this.colCoords=e},this.handleSlatCoords=e=>{this.setState({slatCoords:e}),this.props.onSlatCoords&&this.props.onSlatCoords(e)}}render(){let{props:e,state:t}=this;return(0,s.n)("div",{className:"fc-timegrid-body",ref:this.handleRootEl,style:{width:e.clientWidth,minWidth:e.tableMinWidth}},(0,s.n)(v,{axis:e.axis,dateProfile:e.dateProfile,slatMetas:e.slatMetas,clientWidth:e.clientWidth,minHeight:e.expandRows?e.clientHeight:"",tableMinWidth:e.tableMinWidth,tableColGroupNode:e.axis?e.tableColGroupNode:null,onCoords:this.handleSlatCoords}),(0,s.n)(O,{cells:e.cells,axis:e.axis,dateProfile:e.dateProfile,businessHourSegs:e.businessHourSegs,bgEventSegs:e.bgEventSegs,fgEventSegs:e.fgEventSegs,dateSelectionSegs:e.dateSelectionSegs,eventSelection:e.eventSelection,eventDrag:e.eventDrag,eventResize:e.eventResize,todayRange:e.todayRange,nowDate:e.nowDate,nowIndicatorSegs:e.nowIndicatorSegs,clientWidth:e.clientWidth,tableMinWidth:e.tableMinWidth,tableColGroupNode:e.tableColGroupNode,slatCoords:t.slatCoords,onColCoords:this.handleColCoords,forPrint:e.forPrint}))}componentDidMount(){this.scrollResponder=this.context.createScrollResponder(this.handleScrollRequest)}componentDidUpdate(e){this.scrollResponder.update(e.dateProfile!==this.props.dateProfile)}componentWillUnmount(){this.scrollResponder.detach()}queryHit(e,t){let{dateEnv:n,options:i}=this.context,{colCoords:s}=this,{dateProfile:a}=this.props,{slatCoords:o}=this.state,{snapDuration:l,snapsPerSlot:d}=this.processSlotOptions(this.props.slotDuration,i.snapDuration),c=s.leftToIndex(e),u=o.positions.topToIndex(t);if(null!=c&&null!=u){let e=this.props.cells[c],i=o.positions.tops[u],h=o.positions.getHeight(u),f=Math.floor((t-i)/h*d),g=this.props.cells[c].date,p=(0,r.bp)(a.slotMinTime,(0,r.bo)(l,u*d+f)),m=n.add(g,p),v=n.add(m,l);return{dateProfile:a,dateSpan:Object.assign({range:{start:m,end:v},allDay:!1},e.extraDateSpan),dayEl:s.els[c],rect:{left:s.lefts[c],right:s.rights[c],top:i,bottom:i+h},layer:0}}return null}}function N(e,t){let n=t||e,i=(0,r.bt)(e,n);return null===i&&(n=e,i=1),{snapDuration:n,snapsPerSlot:i}}class I extends r.bW{sliceRange(e,t){let n=[];for(let i=0;i<t.length;i+=1){let s=(0,r.o)(e,t[i]);s&&n.push({start:s.start,end:s.end,isStart:s.start.valueOf()===e.start.valueOf(),isEnd:s.end.valueOf()===e.end.valueOf(),col:i})}return n}}class A extends r.be{constructor(){super(...arguments),this.buildDayRanges=(0,r.z)(j),this.slicer=new I,this.timeColsRef=(0,s._3)()}render(){let{props:e,context:t}=this,{dateProfile:n,dayTableModel:i}=e,{nowIndicator:a,nextDayThreshold:o}=t.options,l=this.buildDayRanges(i,n,t.dateEnv);return(0,s.n)(r.ch,{unit:a?"minute":"day"},(r,d)=>(0,s.n)(H,Object.assign({ref:this.timeColsRef},this.slicer.sliceProps(e,n,null,t,l),{forPrint:e.forPrint,axis:e.axis,dateProfile:n,slatMetas:e.slatMetas,slotDuration:e.slotDuration,cells:i.cells[0],tableColGroupNode:e.tableColGroupNode,tableMinWidth:e.tableMinWidth,clientWidth:e.clientWidth,clientHeight:e.clientHeight,expandRows:e.expandRows,nowDate:r,nowIndicatorSegs:a&&this.slicer.sliceNowDate(r,n,o,t,l),todayRange:d,onScrollTopRequest:e.onScrollTopRequest,onSlatCoords:e.onSlatCoords})))}}function j(e,t,n){let i=[];for(let r of e.headerDates)i.push({start:n.add(r,t.slotMinTime),end:n.add(r,t.slotMaxTime)});return i}let W=[{hours:1},{minutes:30},{minutes:15},{seconds:30},{seconds:15}];function z(e,t,n,i,s){let a=new Date(0),o=e,l=(0,r.d)(0),d=n||function(e){let t,n,i;for(t=W.length-1;t>=0;t-=1)if(n=(0,r.d)(W[t]),null!==(i=(0,r.bt)(n,e))&&i>1)return n;return e}(i),c=[];for(;(0,r.bs)(o)<(0,r.bs)(t);){let e=s.add(a,o),t=null!==(0,r.bt)(l,d);c.push({date:e,time:o,key:e.toISOString(),isoTimeStr:(0,r.bu)(e),isLabeled:t}),o=(0,r.bp)(o,i),l=(0,r.bp)(l,i)}return c}class F extends f{constructor(){super(...arguments),this.buildTimeColsModel=(0,r.z)(L),this.buildSlatMetas=(0,r.z)(z)}render(){let{options:e,dateEnv:t,dateProfileGenerator:n}=this.context,{props:i}=this,{dateProfile:o}=i,l=this.buildTimeColsModel(o,n),d=this.allDaySplitter.splitProps(i),c=this.buildSlatMetas(o.slotMinTime,o.slotMaxTime,e.slotLabelInterval,e.slotDuration,t),{dayMinWidth:u}=e,h=!u,f=e.dayHeaders&&(0,s.n)(r.bK,{dates:l.headerDates,dateProfile:o,datesRepDistinctDays:!0,renderIntro:h?this.renderHeadAxis:null}),g=!1!==e.allDaySlot&&(t=>(0,s.n)(a.t7,Object.assign({},d.allDay,{dateProfile:o,dayTableModel:l,nextDayThreshold:e.nextDayThreshold,tableMinWidth:t.tableMinWidth,colGroupNode:t.tableColGroupNode,renderRowIntro:h?this.renderTableRowAxis:null,showWeekNumbers:!1,expandRows:!1,headerAlignElRef:this.headerElRef,clientWidth:t.clientWidth,clientHeight:t.clientHeight,forPrint:i.forPrint},this.getAllDayMaxEventProps()))),p=t=>(0,s.n)(A,Object.assign({},d.timed,{dayTableModel:l,dateProfile:o,axis:h,slotDuration:e.slotDuration,slatMetas:c,forPrint:i.forPrint,tableColGroupNode:t.tableColGroupNode,tableMinWidth:t.tableMinWidth,clientWidth:t.clientWidth,clientHeight:t.clientHeight,onSlatCoords:this.handleSlatCoords,expandRows:t.expandRows,onScrollTopRequest:this.handleScrollTopRequest}));return u?this.renderHScrollLayout(f,g,p,l.colCnt,u,c,this.state.slatCoords):this.renderSimpleLayout(f,g,p)}}function L(e,t){let n=new r.bO(e.renderRange,t);return new r.bV(n,!1)}(0,r.cw)('.fc-v-event{background-color:var(--fc-event-bg-color);border:1px solid var(--fc-event-border-color);display:block}.fc-v-event .fc-event-main{color:var(--fc-event-text-color);height:100%}.fc-v-event .fc-event-main-frame{display:flex;flex-direction:column;height:100%}.fc-v-event .fc-event-time{flex-grow:0;flex-shrink:0;max-height:100%;overflow:hidden}.fc-v-event .fc-event-title-container{flex-grow:1;flex-shrink:1;min-height:0}.fc-v-event .fc-event-title{bottom:0;max-height:100%;overflow:hidden;top:0}.fc-v-event:not(.fc-event-start){border-top-left-radius:0;border-top-right-radius:0;border-top-width:0}.fc-v-event:not(.fc-event-end){border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom-width:0}.fc-v-event.fc-event-selected:before{left:-10px;right:-10px}.fc-v-event .fc-event-resizer-start{cursor:n-resize}.fc-v-event .fc-event-resizer-end{cursor:s-resize}.fc-v-event:not(.fc-event-selected) .fc-event-resizer{height:var(--fc-event-resizer-thickness);left:0;right:0}.fc-v-event:not(.fc-event-selected) .fc-event-resizer-start{top:calc(var(--fc-event-resizer-thickness)/-2)}.fc-v-event:not(.fc-event-selected) .fc-event-resizer-end{bottom:calc(var(--fc-event-resizer-thickness)/-2)}.fc-v-event.fc-event-selected .fc-event-resizer{left:50%;margin-left:calc(var(--fc-event-resizer-dot-total-width)/-2)}.fc-v-event.fc-event-selected .fc-event-resizer-start{top:calc(var(--fc-event-resizer-dot-total-width)/-2)}.fc-v-event.fc-event-selected .fc-event-resizer-end{bottom:calc(var(--fc-event-resizer-dot-total-width)/-2)}.fc .fc-timegrid .fc-daygrid-body{z-index:2}.fc .fc-timegrid-divider{padding:0 0 2px}.fc .fc-timegrid-body{min-height:100%;position:relative;z-index:1}.fc .fc-timegrid-axis-chunk{position:relative}.fc .fc-timegrid-axis-chunk>table,.fc .fc-timegrid-slots{position:relative;z-index:1}.fc .fc-timegrid-slot{border-bottom:0;height:1.5em}.fc .fc-timegrid-slot:empty:before{content:"\\00a0"}.fc .fc-timegrid-slot-minor{border-top-style:dotted}.fc .fc-timegrid-slot-label-cushion{display:inline-block;white-space:nowrap}.fc .fc-timegrid-slot-label{vertical-align:middle}.fc .fc-timegrid-axis-cushion,.fc .fc-timegrid-slot-label-cushion{padding:0 4px}.fc .fc-timegrid-axis-frame-liquid{height:100%}.fc .fc-timegrid-axis-frame{align-items:center;display:flex;justify-content:flex-end;overflow:hidden}.fc .fc-timegrid-axis-cushion{flex-shrink:0;max-width:60px}.fc-direction-ltr .fc-timegrid-slot-label-frame{text-align:right}.fc-direction-rtl .fc-timegrid-slot-label-frame{text-align:left}.fc-liquid-hack .fc-timegrid-axis-frame-liquid{bottom:0;height:auto;left:0;position:absolute;right:0;top:0}.fc .fc-timegrid-col.fc-day-today{background-color:var(--fc-today-bg-color)}.fc .fc-timegrid-col-frame{min-height:100%;position:relative}.fc-media-screen.fc-liquid-hack .fc-timegrid-col-frame{bottom:0;height:auto;left:0;position:absolute;right:0;top:0}.fc-media-screen .fc-timegrid-cols{bottom:0;left:0;position:absolute;right:0;top:0}.fc-media-screen .fc-timegrid-cols>table{height:100%}.fc-media-screen .fc-timegrid-col-bg,.fc-media-screen .fc-timegrid-col-events,.fc-media-screen .fc-timegrid-now-indicator-container{left:0;position:absolute;right:0;top:0}.fc .fc-timegrid-col-bg{z-index:2}.fc .fc-timegrid-col-bg .fc-non-business{z-index:1}.fc .fc-timegrid-col-bg .fc-bg-event{z-index:2}.fc .fc-timegrid-col-bg .fc-highlight{z-index:3}.fc .fc-timegrid-bg-harness{left:0;position:absolute;right:0}.fc .fc-timegrid-col-events{z-index:3}.fc .fc-timegrid-now-indicator-container{bottom:0;overflow:hidden}.fc-direction-ltr .fc-timegrid-col-events{margin:0 2.5% 0 2px}.fc-direction-rtl .fc-timegrid-col-events{margin:0 2px 0 2.5%}.fc-timegrid-event-harness{position:absolute}.fc-timegrid-event-harness>.fc-timegrid-event{bottom:0;left:0;position:absolute;right:0;top:0}.fc-timegrid-event-harness-inset .fc-timegrid-event,.fc-timegrid-event.fc-event-mirror,.fc-timegrid-more-link{box-shadow:0 0 0 1px var(--fc-page-bg-color)}.fc-timegrid-event,.fc-timegrid-more-link{border-radius:3px;font-size:var(--fc-small-font-size)}.fc-timegrid-event{margin-bottom:1px}.fc-timegrid-event .fc-event-main{padding:1px 1px 0}.fc-timegrid-event .fc-event-time{font-size:var(--fc-small-font-size);margin-bottom:1px;white-space:nowrap}.fc-timegrid-event-short .fc-event-main-frame{flex-direction:row;overflow:hidden}.fc-timegrid-event-short .fc-event-time:after{content:"\\00a0-\\00a0"}.fc-timegrid-event-short .fc-event-title{font-size:var(--fc-small-font-size)}.fc-timegrid-more-link{background:var(--fc-more-link-bg-color);color:var(--fc-more-link-text-color);cursor:pointer;margin-bottom:1px;position:absolute;z-index:9999}.fc-timegrid-more-link-inner{padding:3px 2px;top:0}.fc-direction-ltr .fc-timegrid-more-link{right:0}.fc-direction-rtl .fc-timegrid-more-link{left:0}.fc .fc-timegrid-now-indicator-arrow,.fc .fc-timegrid-now-indicator-line{pointer-events:none}.fc .fc-timegrid-now-indicator-line{border-color:var(--fc-now-indicator-color);border-style:solid;border-width:1px 0 0;left:0;position:absolute;right:0;z-index:4}.fc .fc-timegrid-now-indicator-arrow{border-color:var(--fc-now-indicator-color);border-style:solid;margin-top:-5px;position:absolute;z-index:4}.fc-direction-ltr .fc-timegrid-now-indicator-arrow{border-bottom-color:transparent;border-top-color:transparent;border-width:5px 0 5px 6px;left:0}.fc-direction-rtl .fc-timegrid-now-indicator-arrow{border-bottom-color:transparent;border-top-color:transparent;border-width:5px 6px 5px 0;right:0}');var V=(0,i.i1)({name:"@fullcalendar/timegrid",initialView:"timeGridWeek",optionRefiners:{allDaySlot:Boolean},views:{timeGrid:{component:F,usesMinMaxTime:!0,allDaySlot:!0,slotDuration:"00:30:00",slotEventOverlap:!0},timeGridDay:{type:"timeGrid",duration:{days:1}},timeGridWeek:{type:"timeGrid",duration:{weeks:1}}}})},95413:(e,t,n)=>{"use strict";n.d(t,{a:()=>r});var i=n(23327);function r(e,t,n){let r=(0,i.a)(e,null==n?void 0:n.in);return r.setHours(t),r}},96871:(e,t,n)=>{"use strict";n.d(t,{C:()=>r});var i=n(23327);function r(e,t){return(0,i.a)(e,null==t?void 0:t.in).getFullYear()}},98210:(e,t,n)=>{"use strict";n.d(t,{z:()=>s});var i=n(78196),r=n(23327);function s(e,t,n){let s=(0,r.a)(e,null==n?void 0:n.in),a=Math.trunc(s.getMonth()/3)+1;return(0,i.Z)(s,s.getMonth()+3*(t-a))}},98994:(e,t,n)=>{"use strict";n.d(t,{H:()=>a});var i=n(44783),r=n(63039),s=n(23327);function a(e,t){var n;let a,p,m=()=>(0,r.w)(null==t?void 0:t.in,NaN),v=null!=(n=null==t?void 0:t.additionalDigits)?n:2,b=function(e){let t,n={},i=e.split(o.dateTimeDelimiter);if(i.length>2)return n;if(/:/.test(i[0])?t=i[0]:(n.date=i[0],t=i[1],o.timeZoneDelimiter.test(n.date)&&(n.date=e.split(o.timeZoneDelimiter)[0],t=e.substr(n.date.length,e.length))),t){let e=o.timezone.exec(t);e?(n.time=t.replace(e[1],""),n.timezone=e[1]):n.time=t}return n}(e);if(b.date){let e=function(e,t){let n=RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),i=e.match(n);if(!i)return{year:NaN,restDateString:""};let r=i[1]?parseInt(i[1]):null,s=i[2]?parseInt(i[2]):null;return{year:null===s?r:100*s,restDateString:e.slice((i[1]||i[2]).length)}}(b.date,v);a=function(e,t){var n,i,r,s,a,o,d,c;if(null===t)return new Date(NaN);let h=e.match(l);if(!h)return new Date(NaN);let p=!!h[4],m=u(h[1]),v=u(h[2])-1,b=u(h[3]),y=u(h[4]),w=u(h[5])-1;if(p){return(n=0,i=y,r=w,i>=1&&i<=53&&r>=0&&r<=6)?function(e,t,n){let i=new Date(0);i.setUTCFullYear(e,0,4);let r=i.getUTCDay()||7;return i.setUTCDate(i.getUTCDate()+((t-1)*7+n+1-r)),i}(t,y,w):new Date(NaN)}{let e=new Date(0);return(s=t,a=v,o=b,a>=0&&a<=11&&o>=1&&o<=(f[a]||(g(s)?29:28))&&(d=t,(c=m)>=1&&c<=(g(d)?366:365)))?(e.setUTCFullYear(t,v,Math.max(m,b)),e):new Date(NaN)}}(e.restDateString,e.year)}if(!a||isNaN(+a))return m();let y=+a,w=0;if(b.time&&isNaN(w=function(e){var t,n,r;let s=e.match(d);if(!s)return NaN;let a=h(s[1]),o=h(s[2]),l=h(s[3]);return(t=a,n=o,r=l,24===t?0===n&&0===r:r>=0&&r<60&&n>=0&&n<60&&t>=0&&t<25)?a*i.s0+o*i.Cg+1e3*l:NaN}(b.time)))return m();if(b.timezone){if(isNaN(p=function(e){var t,n;if("Z"===e)return 0;let r=e.match(c);if(!r)return 0;let s="+"===r[1]?-1:1,a=parseInt(r[2]),o=r[3]&&parseInt(r[3])||0;return(t=0,(n=o)>=0&&n<=59)?s*(a*i.s0+o*i.Cg):NaN}(b.timezone)))return m()}else{let e=new Date(y+w),n=(0,s.a)(0,null==t?void 0:t.in);return n.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),n.setHours(e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),n}return(0,s.a)(y+w+p,null==t?void 0:t.in)}let o={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},l=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,d=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,c=/^([+-])(\d{2})(?::?(\d{2}))?$/;function u(e){return e?parseInt(e):1}function h(e){return e&&parseFloat(e.replace(",","."))||0}let f=[31,null,31,30,31,30,31,31,30,31,30,31];function g(e){return e%400==0||e%4==0&&e%100!=0}},99518:(e,t,n)=>{"use strict";n.d(t,{p:()=>r});var i=n(23327);function r(e,t){return(0,i.a)(e,null==t?void 0:t.in).getDate()}}}]); |