iking-web-ui-pro 0.2.47 → 0.2.49

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  var qs = Object.defineProperty;
2
2
  var Qs = (t, e, n) => e in t ? qs(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
3
3
  var le = (t, e, n) => (Qs(t, typeof e != "symbol" ? e + "" : e, n), n);
4
- import { defineComponent as St, h as Ke, Fragment as Ys, Teleport as Zs, openBlock as be, createElementBlock as Me, createElementVNode as Ie, computed as $s, ref as kt, reactive as Xs, watch as Js, onMounted as Ks, resolveComponent as qn, createVNode as Mt, unref as It, withCtx as Ve, createCommentVNode as Nt, createTextVNode as el, toDisplayString as xe, createBlock as tl, withModifiers as nl } from "vue";
4
+ import { defineComponent as Et, h as Ke, Fragment as Ys, Teleport as Zs, openBlock as be, createElementBlock as Me, createElementVNode as Ie, computed as $s, ref as xt, reactive as Xs, watch as Js, onMounted as Ks, resolveComponent as Gn, createVNode as kt, unref as Mt, withCtx as Ve, createCommentVNode as It, createTextVNode as el, toDisplayString as xe, createBlock as tl, withModifiers as nl } from "vue";
5
5
  import { ikDate as rl } from "iking-utils-pro";
6
6
  const il = (t, e) => {
7
7
  if (t.install = (n) => {
@@ -12,7 +12,7 @@ const il = (t, e) => {
12
12
  t[n] = r;
13
13
  return t;
14
14
  };
15
- var At, S, $r, Xr, Ce, ce, Qn, Jr, Kr, st = {}, ei = [], sl = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;
15
+ var St, S, $r, Xr, Ce, ce, qn, Jr, Kr, st = {}, ei = [], sl = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;
16
16
  function K(t, e) {
17
17
  for (var n in e)
18
18
  t[n] = e[n];
@@ -26,7 +26,7 @@ function g(t, e, n) {
26
26
  var r, i, s, l = {};
27
27
  for (s in e)
28
28
  s == "key" ? r = e[s] : s == "ref" ? i = e[s] : l[s] = e[s];
29
- if (arguments.length > 2 && (l.children = arguments.length > 3 ? At.call(arguments, 2) : n), typeof t == "function" && t.defaultProps != null)
29
+ if (arguments.length > 2 && (l.children = arguments.length > 3 ? St.call(arguments, 2) : n), typeof t == "function" && t.defaultProps != null)
30
30
  for (s in t.defaultProps)
31
31
  l[s] === void 0 && (l[s] = t.defaultProps[s]);
32
32
  return et(t, l, r, i, null);
@@ -48,7 +48,7 @@ function ll(t, e, n, r, i) {
48
48
  for (s in e)
49
49
  i && typeof e[s] != "function" || s === "children" || s === "key" || s === "value" || s === "checked" || n[s] === e[s] || lt(t, s, e[s], n[s], r);
50
50
  }
51
- function Yn(t, e, n) {
51
+ function Qn(t, e, n) {
52
52
  e[0] === "-" ? t.setProperty(e, n ?? "") : t[e] = n == null ? "" : typeof n != "number" || sl.test(e) ? n : n + "px";
53
53
  }
54
54
  function lt(t, e, n, r, i) {
@@ -60,13 +60,13 @@ function lt(t, e, n, r, i) {
60
60
  else {
61
61
  if (typeof r == "string" && (t.style.cssText = r = ""), r)
62
62
  for (e in r)
63
- n && e in n || Yn(t.style, e, "");
63
+ n && e in n || Qn(t.style, e, "");
64
64
  if (n)
65
65
  for (e in n)
66
- r && n[e] === r[e] || Yn(t.style, e, n[e]);
66
+ r && n[e] === r[e] || Qn(t.style, e, n[e]);
67
67
  }
68
68
  else if (e[0] === "o" && e[1] === "n")
69
- s = e !== (e = e.replace(/Capture$/, "")), e = e.toLowerCase() in t ? e.toLowerCase().slice(2) : e.slice(2), t.l || (t.l = {}), t.l[e + s] = n, n ? r || t.addEventListener(e, s ? $n : Zn, s) : t.removeEventListener(e, s ? $n : Zn, s);
69
+ s = e !== (e = e.replace(/Capture$/, "")), e = e.toLowerCase() in t ? e.toLowerCase().slice(2) : e.slice(2), t.l || (t.l = {}), t.l[e + s] = n, n ? r || t.addEventListener(e, s ? Zn : Yn, s) : t.removeEventListener(e, s ? Zn : Yn, s);
70
70
  else if (e !== "dangerouslySetInnerHTML") {
71
71
  if (i)
72
72
  e = e.replace(/xlink(H|:h)/, "h").replace(/sName$/, "s");
@@ -79,7 +79,7 @@ function lt(t, e, n, r, i) {
79
79
  typeof n == "function" || (n == null || n === !1 && e.indexOf("-") == -1 ? t.removeAttribute(e) : t.setAttribute(e, n));
80
80
  }
81
81
  }
82
- function Zn(t) {
82
+ function Yn(t) {
83
83
  Ce = !0;
84
84
  try {
85
85
  return this.l[t.type + !1](S.event ? S.event(t) : t);
@@ -87,7 +87,7 @@ function Zn(t) {
87
87
  Ce = !1;
88
88
  }
89
89
  }
90
- function $n(t) {
90
+ function Zn(t) {
91
91
  Ce = !0;
92
92
  try {
93
93
  return this.l[t.type + !0](S.event ? S.event(t) : t);
@@ -120,15 +120,15 @@ function ni(t) {
120
120
  function ol(t) {
121
121
  Ce ? setTimeout(t) : Jr(t);
122
122
  }
123
- function $t(t) {
124
- (!t.__d && (t.__d = !0) && ce.push(t) && !ot.__r++ || Qn !== S.debounceRendering) && ((Qn = S.debounceRendering) || ol)(ot);
123
+ function Zt(t) {
124
+ (!t.__d && (t.__d = !0) && ce.push(t) && !ot.__r++ || qn !== S.debounceRendering) && ((qn = S.debounceRendering) || ol)(ot);
125
125
  }
126
126
  function ot() {
127
127
  var t, e, n, r, i, s, l, o;
128
128
  for (ce.sort(function(a, d) {
129
129
  return a.__v.__b - d.__v.__b;
130
130
  }); t = ce.shift(); )
131
- t.__d && (e = ce.length, r = void 0, i = void 0, l = (s = (n = t).__v).__e, (o = n.__P) && (r = [], (i = K({}, s)).__v = s.__v + 1, hn(o, s, i, n.__n, o.ownerSVGElement !== void 0, s.__h != null ? [l] : null, r, l ?? He(s), s.__h), oi(r, s), s.__e != l && ni(s)), ce.length > e && ce.sort(function(a, d) {
131
+ t.__d && (e = ce.length, r = void 0, i = void 0, l = (s = (n = t).__v).__e, (o = n.__P) && (r = [], (i = K({}, s)).__v = s.__v + 1, fn(o, s, i, n.__n, o.ownerSVGElement !== void 0, s.__h != null ? [l] : null, r, l ?? He(s), s.__h), oi(r, s), s.__e != l && ni(s)), ce.length > e && ce.sort(function(a, d) {
132
132
  return a.__v.__b - d.__v.__b;
133
133
  }));
134
134
  ot.__r = 0;
@@ -147,7 +147,7 @@ function ri(t, e, n, r, i, s, l, o, a, d) {
147
147
  }
148
148
  f = null;
149
149
  }
150
- hn(t, u, f = f || st, i, s, l, o, a, d), m = u.__e, (h = u.ref) && f.ref != h && (b || (b = []), f.ref && b.push(f.ref, null, u), b.push(h, u.__c || m, u)), m != null ? (v == null && (v = m), typeof u.type == "function" && u.__k === f.__k ? u.__d = a = ii(u, a, t) : a = si(t, u, f, E, m, a), typeof n.type == "function" && (n.__d = a)) : a && f.__e == a && a.parentNode != t && (a = He(f));
150
+ fn(t, u, f = f || st, i, s, l, o, a, d), m = u.__e, (h = u.ref) && f.ref != h && (b || (b = []), f.ref && b.push(f.ref, null, u), b.push(h, u.__c || m, u)), m != null ? (v == null && (v = m), typeof u.type == "function" && u.__k === f.__k ? u.__d = a = ii(u, a, t) : a = si(t, u, f, E, m, a), typeof n.type == "function" && (n.__d = a)) : a && f.__e == a && a.parentNode != t && (a = He(f));
151
151
  }
152
152
  for (n.__e = v, c = y; c--; )
153
153
  E[c] != null && (typeof n.type == "function" && E[c].__e != null && E[c].__e == n.__d && (n.__d = li(r).nextSibling), ci(E[c], E[c]));
@@ -192,7 +192,7 @@ function li(t) {
192
192
  }
193
193
  return null;
194
194
  }
195
- function hn(t, e, n, r, i, s, l, o, a) {
195
+ function fn(t, e, n, r, i, s, l, o, a) {
196
196
  var d, c, h, f, u, m, v, b, E, y, D, C, I, w, x, R = e.type;
197
197
  if (e.constructor !== void 0)
198
198
  return null;
@@ -259,7 +259,7 @@ function al(t, e, n, r, i, s, l, o) {
259
259
  if (u === null)
260
260
  h === f || o && t.data === f || (t.data = f);
261
261
  else {
262
- if (s = s && At.call(t.childNodes), d = (h = n.props || st).dangerouslySetInnerHTML, c = f.dangerouslySetInnerHTML, !o) {
262
+ if (s = s && St.call(t.childNodes), d = (h = n.props || st).dangerouslySetInnerHTML, c = f.dangerouslySetInnerHTML, !o) {
263
263
  if (s != null)
264
264
  for (h = {}, m = 0; m < t.attributes.length; m++)
265
265
  h[t.attributes[m].name] = t.attributes[m].value;
@@ -302,7 +302,7 @@ function cl(t, e, n) {
302
302
  }
303
303
  function Be(t, e, n) {
304
304
  var r, i, s;
305
- S.__ && S.__(t, e), i = (r = typeof n == "function") ? null : n && n.__k || e.__k, s = [], hn(e, t = (!r && n || e).__k = g(M, null, [t]), i || st, st, e.ownerSVGElement !== void 0, !r && n ? [n] : i ? null : e.firstChild ? At.call(e.childNodes) : null, s, !r && n ? n : i ? i.__e : e.firstChild, r), oi(s, t);
305
+ S.__ && S.__(t, e), i = (r = typeof n == "function") ? null : n && n.__k || e.__k, s = [], fn(e, t = (!r && n || e).__k = g(M, null, [t]), i || st, st, e.ownerSVGElement !== void 0, !r && n ? [n] : i ? null : e.firstChild ? St.call(e.childNodes) : null, s, !r && n ? n : i ? i.__e : e.firstChild, r), oi(s, t);
306
306
  }
307
307
  function dl(t, e) {
308
308
  var n = { __c: e = "__cC" + Kr++, __: t, Consumer: function(r, i) {
@@ -313,7 +313,7 @@ function dl(t, e) {
313
313
  return s;
314
314
  }, this.shouldComponentUpdate = function(l) {
315
315
  this.props.value !== l.value && i.some(function(o) {
316
- o.__e = !0, $t(o);
316
+ o.__e = !0, Zt(o);
317
317
  });
318
318
  }, this.sub = function(l) {
319
319
  i.push(l);
@@ -325,7 +325,7 @@ function dl(t, e) {
325
325
  } };
326
326
  return n.Provider.__ = n.Consumer.contextType = n;
327
327
  }
328
- At = ei.slice, S = { __e: function(t, e, n, r) {
328
+ St = ei.slice, S = { __e: function(t, e, n, r) {
329
329
  for (var i, s, l; e = e.__; )
330
330
  if ((i = e.__c) && !i.__)
331
331
  try {
@@ -339,48 +339,48 @@ At = ei.slice, S = { __e: function(t, e, n, r) {
339
339
  return t != null && t.constructor === void 0;
340
340
  }, Ce = !1, U.prototype.setState = function(t, e) {
341
341
  var n;
342
- n = this.__s != null && this.__s !== this.state ? this.__s : this.__s = K({}, this.state), typeof t == "function" && (t = t(K({}, n), this.props)), t && K(n, t), t != null && this.__v && (e && this._sb.push(e), $t(this));
342
+ n = this.__s != null && this.__s !== this.state ? this.__s : this.__s = K({}, this.state), typeof t == "function" && (t = t(K({}, n), this.props)), t && K(n, t), t != null && this.__v && (e && this._sb.push(e), Zt(this));
343
343
  }, U.prototype.forceUpdate = function(t) {
344
- this.__v && (this.__e = !0, t && this.__h.push(t), $t(this));
344
+ this.__v && (this.__e = !0, t && this.__h.push(t), Zt(this));
345
345
  }, U.prototype.render = M, ce = [], Jr = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, ot.__r = 0, Kr = 0;
346
- var W, Ot, Xn, di = [], Pt = [], Jn = S.__b, Kn = S.__r, er = S.diffed, tr = S.__c, nr = S.unmount;
346
+ var W, Ot, $n, di = [], Nt = [], Xn = S.__b, Jn = S.__r, Kn = S.diffed, er = S.__c, tr = S.unmount;
347
347
  function ul() {
348
348
  for (var t; t = di.shift(); )
349
349
  if (t.__P && t.__H)
350
350
  try {
351
- t.__H.__h.forEach(tt), t.__H.__h.forEach(Xt), t.__H.__h = [];
351
+ t.__H.__h.forEach(tt), t.__H.__h.forEach($t), t.__H.__h = [];
352
352
  } catch (e) {
353
353
  t.__H.__h = [], S.__e(e, t.__v);
354
354
  }
355
355
  }
356
356
  S.__b = function(t) {
357
- W = null, Jn && Jn(t);
357
+ W = null, Xn && Xn(t);
358
358
  }, S.__r = function(t) {
359
- Kn && Kn(t);
359
+ Jn && Jn(t);
360
360
  var e = (W = t.__c).__H;
361
361
  e && (Ot === W ? (e.__h = [], W.__h = [], e.__.forEach(function(n) {
362
- n.__N && (n.__ = n.__N), n.__V = Pt, n.__N = n.i = void 0;
363
- })) : (e.__h.forEach(tt), e.__h.forEach(Xt), e.__h = [])), Ot = W;
362
+ n.__N && (n.__ = n.__N), n.__V = Nt, n.__N = n.i = void 0;
363
+ })) : (e.__h.forEach(tt), e.__h.forEach($t), e.__h = [])), Ot = W;
364
364
  }, S.diffed = function(t) {
365
- er && er(t);
365
+ Kn && Kn(t);
366
366
  var e = t.__c;
367
- e && e.__H && (e.__H.__h.length && (di.push(e) !== 1 && Xn === S.requestAnimationFrame || ((Xn = S.requestAnimationFrame) || fl)(ul)), e.__H.__.forEach(function(n) {
368
- n.i && (n.__H = n.i), n.__V !== Pt && (n.__ = n.__V), n.i = void 0, n.__V = Pt;
367
+ e && e.__H && (e.__H.__h.length && (di.push(e) !== 1 && $n === S.requestAnimationFrame || (($n = S.requestAnimationFrame) || fl)(ul)), e.__H.__.forEach(function(n) {
368
+ n.i && (n.__H = n.i), n.__V !== Nt && (n.__ = n.__V), n.i = void 0, n.__V = Nt;
369
369
  })), Ot = W = null;
370
370
  }, S.__c = function(t, e) {
371
371
  e.some(function(n) {
372
372
  try {
373
373
  n.__h.forEach(tt), n.__h = n.__h.filter(function(r) {
374
- return !r.__ || Xt(r);
374
+ return !r.__ || $t(r);
375
375
  });
376
376
  } catch (r) {
377
377
  e.some(function(i) {
378
378
  i.__h && (i.__h = []);
379
379
  }), e = [], S.__e(r, n.__v);
380
380
  }
381
- }), tr && tr(t, e);
381
+ }), er && er(t, e);
382
382
  }, S.unmount = function(t) {
383
- nr && nr(t);
383
+ tr && tr(t);
384
384
  var e, n = t.__c;
385
385
  n && n.__H && (n.__H.__.forEach(function(r) {
386
386
  try {
@@ -390,18 +390,18 @@ S.__b = function(t) {
390
390
  }
391
391
  }), n.__H = void 0, e && S.__e(e, n.__v));
392
392
  };
393
- var rr = typeof requestAnimationFrame == "function";
393
+ var nr = typeof requestAnimationFrame == "function";
394
394
  function fl(t) {
395
395
  var e, n = function() {
396
- clearTimeout(r), rr && cancelAnimationFrame(e), setTimeout(t);
396
+ clearTimeout(r), nr && cancelAnimationFrame(e), setTimeout(t);
397
397
  }, r = setTimeout(n, 100);
398
- rr && (e = requestAnimationFrame(n));
398
+ nr && (e = requestAnimationFrame(n));
399
399
  }
400
400
  function tt(t) {
401
401
  var e = W, n = t.__c;
402
402
  typeof n == "function" && (t.__c = void 0, n()), W = e;
403
403
  }
404
- function Xt(t) {
404
+ function $t(t) {
405
405
  var e = W;
406
406
  t.__c = t.__(), W = e;
407
407
  }
@@ -410,7 +410,7 @@ function hl(t, e) {
410
410
  t[n] = e[n];
411
411
  return t;
412
412
  }
413
- function ir(t, e) {
413
+ function rr(t, e) {
414
414
  for (var n in t)
415
415
  if (n !== "__source" && !(n in e))
416
416
  return !0;
@@ -419,15 +419,15 @@ function ir(t, e) {
419
419
  return !0;
420
420
  return !1;
421
421
  }
422
- function sr(t) {
422
+ function ir(t) {
423
423
  this.props = t;
424
424
  }
425
- (sr.prototype = new U()).isPureReactComponent = !0, sr.prototype.shouldComponentUpdate = function(t, e) {
426
- return ir(this.props, t) || ir(this.state, e);
425
+ (ir.prototype = new U()).isPureReactComponent = !0, ir.prototype.shouldComponentUpdate = function(t, e) {
426
+ return rr(this.props, t) || rr(this.state, e);
427
427
  };
428
- var lr = S.__b;
428
+ var sr = S.__b;
429
429
  S.__b = function(t) {
430
- t.type && t.type.__f && t.ref && (t.props.ref = t.ref, t.ref = null), lr && lr(t);
430
+ t.type && t.type.__f && t.ref && (t.props.ref = t.ref, t.ref = null), sr && sr(t);
431
431
  };
432
432
  var gl = S.__e;
433
433
  S.__e = function(t, e, n, r) {
@@ -438,7 +438,7 @@ S.__e = function(t, e, n, r) {
438
438
  }
439
439
  gl(t, e, n, r);
440
440
  };
441
- var or = S.unmount;
441
+ var lr = S.unmount;
442
442
  function ui(t, e, n) {
443
443
  return t && (t.__c && t.__c.__H && (t.__c.__H.__.forEach(function(r) {
444
444
  typeof r.__c == "function" && r.__c();
@@ -451,7 +451,7 @@ function fi(t, e, n) {
451
451
  return fi(r, e, n);
452
452
  }), t.__c && t.__c.__P === e && (t.__e && n.insertBefore(t.__e, t.__d), t.__c.__e = !0, t.__c.__P = n)), t;
453
453
  }
454
- function Ht() {
454
+ function Pt() {
455
455
  this.__u = 0, this.t = null, this.__b = null;
456
456
  }
457
457
  function hi(t) {
@@ -463,8 +463,8 @@ function Ge() {
463
463
  }
464
464
  S.unmount = function(t) {
465
465
  var e = t.__c;
466
- e && e.__R && e.__R(), e && t.__h === !0 && (t.type = null), or && or(t);
467
- }, (Ht.prototype = new U()).__c = function(t, e) {
466
+ e && e.__R && e.__R(), e && t.__h === !0 && (t.type = null), lr && lr(t);
467
+ }, (Pt.prototype = new U()).__c = function(t, e) {
468
468
  var n = e.__c, r = this;
469
469
  r.t == null && (r.t = []), r.t.push(n);
470
470
  var i = hi(r.__v), s = !1, l = function() {
@@ -483,9 +483,9 @@ S.unmount = function(t) {
483
483
  }
484
484
  }, a = e.__h === !0;
485
485
  r.__u++ || a || r.setState({ __a: r.__b = r.__v.__k[0] }), t.then(l, l);
486
- }, Ht.prototype.componentWillUnmount = function() {
486
+ }, Pt.prototype.componentWillUnmount = function() {
487
487
  this.t = [];
488
- }, Ht.prototype.render = function(t, e) {
488
+ }, Pt.prototype.render = function(t, e) {
489
489
  if (this.__b) {
490
490
  if (this.__v.__k) {
491
491
  var n = document.createElement("div"), r = this.__v.__k[0].__c;
@@ -496,7 +496,7 @@ S.unmount = function(t) {
496
496
  var i = e.__a && g(M, null, t.fallback);
497
497
  return i && (i.__h = null), [g(M, null, e.__a ? null : t.children), i];
498
498
  };
499
- var ar = function(t, e, n) {
499
+ var or = function(t, e, n) {
500
500
  if (++n[1] === n[0] && t.o.delete(e), t.props.revealOrder && (t.props.revealOrder[0] !== "t" || !t.o.size))
501
501
  for (n = t.u; n; ) {
502
502
  for (; n.length > 3; )
@@ -531,7 +531,7 @@ function vl(t, e) {
531
531
  var e = this, n = hi(e.__v), r = e.o.get(t);
532
532
  return r[0]++, function(i) {
533
533
  var s = function() {
534
- e.props.revealOrder ? (r.push(i), ar(e, t, r)) : i();
534
+ e.props.revealOrder ? (r.push(i), or(e, t, r)) : i();
535
535
  };
536
536
  n ? n(s) : s();
537
537
  };
@@ -545,7 +545,7 @@ function vl(t, e) {
545
545
  }, Ge.prototype.componentDidUpdate = Ge.prototype.componentDidMount = function() {
546
546
  var t = this;
547
547
  this.o.forEach(function(e, n) {
548
- ar(t, n, e);
548
+ or(t, n, e);
549
549
  });
550
550
  };
551
551
  var bl = typeof Symbol < "u" && Symbol.for && Symbol.for("react.element") || 60103, yl = /^(?: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]/, El = typeof document < "u", Sl = function(t) {
@@ -558,7 +558,7 @@ U.prototype.isReactComponent = {}, ["componentWillMount", "componentWillReceiveP
558
558
  Object.defineProperty(this, t, { configurable: !0, writable: !0, value: e });
559
559
  } });
560
560
  });
561
- var cr = S.event;
561
+ var ar = S.event;
562
562
  function Al() {
563
563
  }
564
564
  function Dl() {
@@ -568,11 +568,11 @@ function Cl() {
568
568
  return this.defaultPrevented;
569
569
  }
570
570
  S.event = function(t) {
571
- return cr && (t = cr(t)), t.persist = Al, t.isPropagationStopped = Dl, t.isDefaultPrevented = Cl, t.nativeEvent = t;
571
+ return ar && (t = ar(t)), t.persist = Al, t.isPropagationStopped = Dl, t.isDefaultPrevented = Cl, t.nativeEvent = t;
572
572
  };
573
- var dr = { configurable: !0, get: function() {
573
+ var cr = { configurable: !0, get: function() {
574
574
  return this.class;
575
- } }, ur = S.vnode;
575
+ } }, dr = S.vnode;
576
576
  S.vnode = function(t) {
577
577
  var e = t.type, n = t.props, r = n;
578
578
  if (typeof e == "string") {
@@ -585,26 +585,25 @@ S.vnode = function(t) {
585
585
  o.props.selected = r.value.indexOf(o.props.value) != -1;
586
586
  })), e == "select" && r.defaultValue != null && (r.value = at(n.children).forEach(function(o) {
587
587
  o.props.selected = r.multiple ? r.defaultValue.indexOf(o.props.value) != -1 : r.defaultValue == o.props.value;
588
- })), t.props = r, n.class != n.className && (dr.enumerable = "className" in n, n.className != null && (r.class = n.className), Object.defineProperty(r, "className", dr));
588
+ })), t.props = r, n.class != n.className && (cr.enumerable = "className" in n, n.className != null && (r.class = n.className), Object.defineProperty(r, "className", cr));
589
589
  }
590
- t.$$typeof = bl, ur && ur(t);
590
+ t.$$typeof = bl, dr && dr(t);
591
591
  };
592
- var fr = S.__r;
592
+ var ur = S.__r;
593
593
  S.__r = function(t) {
594
- fr && fr(t), t.__c;
594
+ ur && ur(t), t.__c;
595
595
  };
596
- const gi = [], Jt = /* @__PURE__ */ new Map();
597
- function gn(t) {
598
- gi.push(t), Jt.forEach((e) => {
596
+ const gi = [], Xt = /* @__PURE__ */ new Map();
597
+ function hn(t) {
598
+ gi.push(t), Xt.forEach((e) => {
599
599
  mi(e, t);
600
600
  });
601
601
  }
602
602
  function wl(t) {
603
- t.isConnected && // sometimes true if SSR system simulates DOM
604
- t.getRootNode && pi(t.getRootNode());
603
+ t.isConnected && pi(t.getRootNode());
605
604
  }
606
605
  function pi(t) {
607
- let e = Jt.get(t);
606
+ let e = Xt.get(t);
608
607
  if (!e || !e.isConnected) {
609
608
  if (e = t.querySelector("style[data-fullcalendar]"), !e) {
610
609
  e = document.createElement("style"), e.setAttribute("data-fullcalendar", "");
@@ -613,7 +612,7 @@ function pi(t) {
613
612
  const r = t === document ? document.head : t, i = t === document ? r.querySelector("script,link[rel=stylesheet],link[as=style],style") : r.firstChild;
614
613
  r.insertBefore(e, i);
615
614
  }
616
- Jt.set(t, e), Rl(e);
615
+ Xt.set(t, e), Rl(e);
617
616
  }
618
617
  }
619
618
  function Rl(t) {
@@ -626,9 +625,9 @@ function mi(t, e) {
626
625
  i = i.trim(), i && n.insertRule(i + "}", r + s);
627
626
  });
628
627
  }
629
- let Bt;
628
+ let Ht;
630
629
  function _l() {
631
- return Bt === void 0 && (Bt = Tl()), Bt;
630
+ return Ht === void 0 && (Ht = Tl()), Ht;
632
631
  }
633
632
  function Tl() {
634
633
  const t = document.querySelector('meta[name="csp-nonce"]');
@@ -638,9 +637,9 @@ function Tl() {
638
637
  return e && e.nonce || "";
639
638
  }
640
639
  typeof document < "u" && pi(document);
641
- var xl = ':root{--fc-small-font-size:.85em;--fc-page-bg-color:#fff;--fc-neutral-bg-color:hsla(0,0%,82%,.3);--fc-neutral-text-color:grey;--fc-border-color:#ddd;--fc-button-text-color:#fff;--fc-button-bg-color:#2c3e50;--fc-button-border-color:#2c3e50;--fc-button-hover-bg-color:#1e2b37;--fc-button-hover-border-color:#1a252f;--fc-button-active-bg-color:#1a252f;--fc-button-active-border-color:#151e27;--fc-event-bg-color:#3788d8;--fc-event-border-color:#3788d8;--fc-event-text-color:#fff;--fc-event-selected-overlay-color:rgba(0,0,0,.25);--fc-more-link-bg-color:#d0d0d0;--fc-more-link-text-color:inherit;--fc-event-resizer-thickness:8px;--fc-event-resizer-dot-total-width:8px;--fc-event-resizer-dot-border-width:1px;--fc-non-business-color:hsla(0,0%,84%,.3);--fc-bg-event-color:#8fdf82;--fc-bg-event-opacity:0.3;--fc-highlight-color:rgba(188,232,241,.3);--fc-today-bg-color:rgba(255,220,40,.15);--fc-now-indicator-color:red}.fc-not-allowed,.fc-not-allowed .fc-event{cursor:not-allowed}.fc{display:flex;flex-direction:column;font-size:1em}.fc,.fc *,.fc :after,.fc :before{box-sizing:border-box}.fc table{border-collapse:collapse;border-spacing:0;font-size:1em}.fc th{text-align:center}.fc td,.fc th{padding:0;vertical-align:top}.fc a[data-navlink]{cursor:pointer}.fc a[data-navlink]:hover{text-decoration:underline}.fc-direction-ltr{direction:ltr;text-align:left}.fc-direction-rtl{direction:rtl;text-align:right}.fc-theme-standard td,.fc-theme-standard th{border:1px solid var(--fc-border-color)}.fc-liquid-hack td,.fc-liquid-hack th{position:relative}@font-face{font-family:fcicons;font-style:normal;font-weight:400;src:url("data:application/x-font-ttf;charset=utf-8;base64,AAEAAAALAIAAAwAwT1MvMg8SBfAAAAC8AAAAYGNtYXAXVtKNAAABHAAAAFRnYXNwAAAAEAAAAXAAAAAIZ2x5ZgYydxIAAAF4AAAFNGhlYWQUJ7cIAAAGrAAAADZoaGVhB20DzAAABuQAAAAkaG10eCIABhQAAAcIAAAALGxvY2ED4AU6AAAHNAAAABhtYXhwAA8AjAAAB0wAAAAgbmFtZXsr690AAAdsAAABhnBvc3QAAwAAAAAI9AAAACAAAwPAAZAABQAAApkCzAAAAI8CmQLMAAAB6wAzAQkAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADpBgPA/8AAQAPAAEAAAAABAAAAAAAAAAAAAAAgAAAAAAADAAAAAwAAABwAAQADAAAAHAADAAEAAAAcAAQAOAAAAAoACAACAAIAAQAg6Qb//f//AAAAAAAg6QD//f//AAH/4xcEAAMAAQAAAAAAAAAAAAAAAQAB//8ADwABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAAAAAAAAAAAAIAADc5AQAAAAABAWIAjQKeAskAEwAAJSc3NjQnJiIHAQYUFwEWMjc2NCcCnuLiDQ0MJAz/AA0NAQAMJAwNDcni4gwjDQwM/wANIwz/AA0NDCMNAAAAAQFiAI0CngLJABMAACUBNjQnASYiBwYUHwEHBhQXFjI3AZ4BAA0N/wAMJAwNDeLiDQ0MJAyNAQAMIw0BAAwMDSMM4uINIwwNDQAAAAIA4gC3Ax4CngATACcAACUnNzY0JyYiDwEGFB8BFjI3NjQnISc3NjQnJiIPAQYUHwEWMjc2NCcB87e3DQ0MIw3VDQ3VDSMMDQ0BK7e3DQ0MJAzVDQ3VDCQMDQ3zuLcMJAwNDdUNIwzWDAwNIwy4twwkDA0N1Q0jDNYMDA0jDAAAAgDiALcDHgKeABMAJwAAJTc2NC8BJiIHBhQfAQcGFBcWMjchNzY0LwEmIgcGFB8BBwYUFxYyNwJJ1Q0N1Q0jDA0Nt7cNDQwjDf7V1Q0N1QwkDA0Nt7cNDQwkDLfWDCMN1Q0NDCQMt7gMIw0MDNYMIw3VDQ0MJAy3uAwjDQwMAAADAFUAAAOrA1UAMwBoAHcAABMiBgcOAQcOAQcOARURFBYXHgEXHgEXHgEzITI2Nz4BNz4BNz4BNRE0JicuAScuAScuASMFITIWFx4BFx4BFx4BFREUBgcOAQcOAQcOASMhIiYnLgEnLgEnLgE1ETQ2Nz4BNz4BNz4BMxMhMjY1NCYjISIGFRQWM9UNGAwLFQkJDgUFBQUFBQ4JCRULDBgNAlYNGAwLFQkJDgUFBQUFBQ4JCRULDBgN/aoCVgQIBAQHAwMFAQIBAQIBBQMDBwQECAT9qgQIBAQHAwMFAQIBAQIBBQMDBwQECASAAVYRGRkR/qoRGRkRA1UFBAUOCQkVDAsZDf2rDRkLDBUJCA4FBQUFBQUOCQgVDAsZDQJVDRkLDBUJCQ4FBAVVAgECBQMCBwQECAX9qwQJAwQHAwMFAQICAgIBBQMDBwQDCQQCVQUIBAQHAgMFAgEC/oAZEhEZGRESGQAAAAADAFUAAAOrA1UAMwBoAIkAABMiBgcOAQcOAQcOARURFBYXHgEXHgEXHgEzITI2Nz4BNz4BNz4BNRE0JicuAScuAScuASMFITIWFx4BFx4BFx4BFREUBgcOAQcOAQcOASMhIiYnLgEnLgEnLgE1ETQ2Nz4BNz4BNz4BMxMzFRQWMzI2PQEzMjY1NCYrATU0JiMiBh0BIyIGFRQWM9UNGAwLFQkJDgUFBQUFBQ4JCRULDBgNAlYNGAwLFQkJDgUFBQUFBQ4JCRULDBgN/aoCVgQIBAQHAwMFAQIBAQIBBQMDBwQECAT9qgQIBAQHAwMFAQIBAQIBBQMDBwQECASAgBkSEhmAERkZEYAZEhIZgBEZGREDVQUEBQ4JCRUMCxkN/asNGQsMFQkIDgUFBQUFBQ4JCBUMCxkNAlUNGQsMFQkJDgUEBVUCAQIFAwIHBAQIBf2rBAkDBAcDAwUBAgICAgEFAwMHBAMJBAJVBQgEBAcCAwUCAQL+gIASGRkSgBkSERmAEhkZEoAZERIZAAABAOIAjQMeAskAIAAAExcHBhQXFjI/ARcWMjc2NC8BNzY0JyYiDwEnJiIHBhQX4uLiDQ0MJAzi4gwkDA0N4uINDQwkDOLiDCQMDQ0CjeLiDSMMDQ3h4Q0NDCMN4uIMIw0MDOLiDAwNIwwAAAABAAAAAQAAa5n0y18PPPUACwQAAAAAANivOVsAAAAA2K85WwAAAAADqwNVAAAACAACAAAAAAAAAAEAAAPA/8AAAAQAAAAAAAOrAAEAAAAAAAAAAAAAAAAAAAALBAAAAAAAAAAAAAAAAgAAAAQAAWIEAAFiBAAA4gQAAOIEAABVBAAAVQQAAOIAAAAAAAoAFAAeAEQAagCqAOoBngJkApoAAQAAAAsAigADAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAA4ArgABAAAAAAABAAcAAAABAAAAAAACAAcAYAABAAAAAAADAAcANgABAAAAAAAEAAcAdQABAAAAAAAFAAsAFQABAAAAAAAGAAcASwABAAAAAAAKABoAigADAAEECQABAA4ABwADAAEECQACAA4AZwADAAEECQADAA4APQADAAEECQAEAA4AfAADAAEECQAFABYAIAADAAEECQAGAA4AUgADAAEECQAKADQApGZjaWNvbnMAZgBjAGkAYwBvAG4Ac1ZlcnNpb24gMS4wAFYAZQByAHMAaQBvAG4AIAAxAC4AMGZjaWNvbnMAZgBjAGkAYwBvAG4Ac2ZjaWNvbnMAZgBjAGkAYwBvAG4Ac1JlZ3VsYXIAUgBlAGcAdQBsAGEAcmZjaWNvbnMAZgBjAGkAYwBvAG4Ac0ZvbnQgZ2VuZXJhdGVkIGJ5IEljb01vb24uAEYAbwBuAHQAIABnAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAEkAYwBvAE0AbwBvAG4ALgAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=") format("truetype")}.fc-icon{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;font-family:fcicons!important;font-style:normal;font-variant:normal;font-weight:400;height:1em;line-height:1;text-align:center;text-transform:none;-moz-user-select:none;user-select:none;width:1em}.fc-icon-chevron-left:before{content:"\\e900"}.fc-icon-chevron-right:before{content:"\\e901"}.fc-icon-chevrons-left:before{content:"\\e902"}.fc-icon-chevrons-right:before{content:"\\e903"}.fc-icon-minus-square:before{content:"\\e904"}.fc-icon-plus-square:before{content:"\\e905"}.fc-icon-x:before{content:"\\e906"}.fc .fc-button{border-radius:0;font-family:inherit;font-size:inherit;line-height:inherit;margin:0;overflow:visible;text-transform:none}.fc .fc-button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}.fc .fc-button{-webkit-appearance:button}.fc .fc-button:not(:disabled){cursor:pointer}.fc .fc-button{background-color:transparent;border:1px solid transparent;border-radius:.25em;display:inline-block;font-size:1em;font-weight:400;line-height:1.5;padding:.4em .65em;text-align:center;-moz-user-select:none;user-select:none;vertical-align:middle}.fc .fc-button:hover{text-decoration:none}.fc .fc-button:focus{box-shadow:0 0 0 .2rem rgba(44,62,80,.25);outline:0}.fc .fc-button:disabled{opacity:.65}.fc .fc-button-primary{background-color:var(--fc-button-bg-color);border-color:var(--fc-button-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:hover{background-color:var(--fc-button-hover-bg-color);border-color:var(--fc-button-hover-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:disabled{background-color:var(--fc-button-bg-color);border-color:var(--fc-button-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:focus{box-shadow:0 0 0 .2rem rgba(76,91,106,.5)}.fc .fc-button-primary:not(:disabled).fc-button-active,.fc .fc-button-primary:not(:disabled):active{background-color:var(--fc-button-active-bg-color);border-color:var(--fc-button-active-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:not(:disabled).fc-button-active:focus,.fc .fc-button-primary:not(:disabled):active:focus{box-shadow:0 0 0 .2rem rgba(76,91,106,.5)}.fc .fc-button .fc-icon{font-size:1.5em;vertical-align:middle}.fc .fc-button-group{display:inline-flex;position:relative;vertical-align:middle}.fc .fc-button-group>.fc-button{flex:1 1 auto;position:relative}.fc .fc-button-group>.fc-button.fc-button-active,.fc .fc-button-group>.fc-button:active,.fc .fc-button-group>.fc-button:focus,.fc .fc-button-group>.fc-button:hover{z-index:1}.fc-direction-ltr .fc-button-group>.fc-button:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0;margin-left:-1px}.fc-direction-ltr .fc-button-group>.fc-button:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.fc-direction-rtl .fc-button-group>.fc-button:not(:first-child){border-bottom-right-radius:0;border-top-right-radius:0;margin-right:-1px}.fc-direction-rtl .fc-button-group>.fc-button:not(:last-child){border-bottom-left-radius:0;border-top-left-radius:0}.fc .fc-toolbar{align-items:center;display:flex;justify-content:space-between}.fc .fc-toolbar.fc-header-toolbar{margin-bottom:1.5em}.fc .fc-toolbar.fc-footer-toolbar{margin-top:1.5em}.fc .fc-toolbar-title{font-size:1.75em;margin:0}.fc-direction-ltr .fc-toolbar>*>:not(:first-child){margin-left:.75em}.fc-direction-rtl .fc-toolbar>*>:not(:first-child){margin-right:.75em}.fc-direction-rtl .fc-toolbar-ltr{flex-direction:row-reverse}.fc .fc-scroller{-webkit-overflow-scrolling:touch;position:relative}.fc .fc-scroller-liquid{height:100%}.fc .fc-scroller-liquid-absolute{bottom:0;left:0;position:absolute;right:0;top:0}.fc .fc-scroller-harness{direction:ltr;overflow:hidden;position:relative}.fc .fc-scroller-harness-liquid{height:100%}.fc-direction-rtl .fc-scroller-harness>.fc-scroller{direction:rtl}.fc-theme-standard .fc-scrollgrid{border:1px solid var(--fc-border-color)}.fc .fc-scrollgrid,.fc .fc-scrollgrid table{table-layout:fixed;width:100%}.fc .fc-scrollgrid table{border-left-style:hidden;border-right-style:hidden;border-top-style:hidden}.fc .fc-scrollgrid{border-bottom-width:0;border-collapse:separate;border-right-width:0}.fc .fc-scrollgrid-liquid{height:100%}.fc .fc-scrollgrid-section,.fc .fc-scrollgrid-section table,.fc .fc-scrollgrid-section>td{height:1px}.fc .fc-scrollgrid-section-liquid>td{height:100%}.fc .fc-scrollgrid-section>*{border-left-width:0;border-top-width:0}.fc .fc-scrollgrid-section-footer>*,.fc .fc-scrollgrid-section-header>*{border-bottom-width:0}.fc .fc-scrollgrid-section-body table,.fc .fc-scrollgrid-section-footer table{border-bottom-style:hidden}.fc .fc-scrollgrid-section-sticky>*{background:var(--fc-page-bg-color);position:sticky;z-index:3}.fc .fc-scrollgrid-section-header.fc-scrollgrid-section-sticky>*{top:0}.fc .fc-scrollgrid-section-footer.fc-scrollgrid-section-sticky>*{bottom:0}.fc .fc-scrollgrid-sticky-shim{height:1px;margin-bottom:-1px}.fc-sticky{position:sticky}.fc .fc-view-harness{flex-grow:1;position:relative}.fc .fc-view-harness-active>.fc-view{bottom:0;left:0;position:absolute;right:0;top:0}.fc .fc-col-header-cell-cushion{display:inline-block;padding:2px 4px}.fc .fc-bg-event,.fc .fc-highlight,.fc .fc-non-business{bottom:0;left:0;position:absolute;right:0;top:0}.fc .fc-non-business{background:var(--fc-non-business-color)}.fc .fc-bg-event{background:var(--fc-bg-event-color);opacity:var(--fc-bg-event-opacity)}.fc .fc-bg-event .fc-event-title{font-size:var(--fc-small-font-size);font-style:italic;margin:.5em}.fc .fc-highlight{background:var(--fc-highlight-color)}.fc .fc-cell-shaded,.fc .fc-day-disabled{background:var(--fc-neutral-bg-color)}a.fc-event,a.fc-event:hover{text-decoration:none}.fc-event.fc-event-draggable,.fc-event[href]{cursor:pointer}.fc-event .fc-event-main{position:relative;z-index:2}.fc-event-dragging:not(.fc-event-selected){opacity:.75}.fc-event-dragging.fc-event-selected{box-shadow:0 2px 7px rgba(0,0,0,.3)}.fc-event .fc-event-resizer{display:none;position:absolute;z-index:4}.fc-event-selected .fc-event-resizer,.fc-event:hover .fc-event-resizer{display:block}.fc-event-selected .fc-event-resizer{background:var(--fc-page-bg-color);border-color:inherit;border-radius:calc(var(--fc-event-resizer-dot-total-width)/2);border-style:solid;border-width:var(--fc-event-resizer-dot-border-width);height:var(--fc-event-resizer-dot-total-width);width:var(--fc-event-resizer-dot-total-width)}.fc-event-selected .fc-event-resizer:before{bottom:-20px;content:"";left:-20px;position:absolute;right:-20px;top:-20px}.fc-event-selected,.fc-event:focus{box-shadow:0 2px 5px rgba(0,0,0,.2)}.fc-event-selected:before,.fc-event:focus:before{bottom:0;content:"";left:0;position:absolute;right:0;top:0;z-index:3}.fc-event-selected:after,.fc-event:focus:after{background:var(--fc-event-selected-overlay-color);bottom:-1px;content:"";left:-1px;position:absolute;right:-1px;top:-1px;z-index:1}.fc-h-event{background-color:var(--fc-event-bg-color);border:1px solid var(--fc-event-border-color);display:block}.fc-h-event .fc-event-main{color:var(--fc-event-text-color)}.fc-h-event .fc-event-main-frame{display:flex}.fc-h-event .fc-event-time{max-width:100%;overflow:hidden}.fc-h-event .fc-event-title-container{flex-grow:1;flex-shrink:1;min-width:0}.fc-h-event .fc-event-title{display:inline-block;left:0;max-width:100%;overflow:hidden;right:0;vertical-align:top}.fc-h-event.fc-event-selected:before{bottom:-10px;top:-10px}.fc-direction-ltr .fc-daygrid-block-event:not(.fc-event-start),.fc-direction-rtl .fc-daygrid-block-event:not(.fc-event-end){border-bottom-left-radius:0;border-left-width:0;border-top-left-radius:0}.fc-direction-ltr .fc-daygrid-block-event:not(.fc-event-end),.fc-direction-rtl .fc-daygrid-block-event:not(.fc-event-start){border-bottom-right-radius:0;border-right-width:0;border-top-right-radius:0}.fc-h-event:not(.fc-event-selected) .fc-event-resizer{bottom:0;top:0;width:var(--fc-event-resizer-thickness)}.fc-direction-ltr .fc-h-event:not(.fc-event-selected) .fc-event-resizer-start,.fc-direction-rtl .fc-h-event:not(.fc-event-selected) .fc-event-resizer-end{cursor:w-resize;left:calc(var(--fc-event-resizer-thickness)*-.5)}.fc-direction-ltr .fc-h-event:not(.fc-event-selected) .fc-event-resizer-end,.fc-direction-rtl .fc-h-event:not(.fc-event-selected) .fc-event-resizer-start{cursor:e-resize;right:calc(var(--fc-event-resizer-thickness)*-.5)}.fc-h-event.fc-event-selected .fc-event-resizer{margin-top:calc(var(--fc-event-resizer-dot-total-width)*-.5);top:50%}.fc-direction-ltr .fc-h-event.fc-event-selected .fc-event-resizer-start,.fc-direction-rtl .fc-h-event.fc-event-selected .fc-event-resizer-end{left:calc(var(--fc-event-resizer-dot-total-width)*-.5)}.fc-direction-ltr .fc-h-event.fc-event-selected .fc-event-resizer-end,.fc-direction-rtl .fc-h-event.fc-event-selected .fc-event-resizer-start{right:calc(var(--fc-event-resizer-dot-total-width)*-.5)}.fc .fc-popover{box-shadow:0 2px 6px rgba(0,0,0,.15);position:absolute;z-index:9999}.fc .fc-popover-header{align-items:center;display:flex;flex-direction:row;justify-content:space-between;padding:3px 4px}.fc .fc-popover-title{margin:0 2px}.fc .fc-popover-close{cursor:pointer;font-size:1.1em;opacity:.65}.fc-theme-standard .fc-popover{background:var(--fc-page-bg-color);border:1px solid var(--fc-border-color)}.fc-theme-standard .fc-popover-header{background:var(--fc-neutral-bg-color)}';
642
- gn(xl);
643
- class pn {
640
+ var xl = ':root{--fc-small-font-size:.85em;--fc-page-bg-color:#fff;--fc-neutral-bg-color:hsla(0,0%,82%,.3);--fc-neutral-text-color:grey;--fc-border-color:#ddd;--fc-button-text-color:#fff;--fc-button-bg-color:#2c3e50;--fc-button-border-color:#2c3e50;--fc-button-hover-bg-color:#1e2b37;--fc-button-hover-border-color:#1a252f;--fc-button-active-bg-color:#1a252f;--fc-button-active-border-color:#151e27;--fc-event-bg-color:#3788d8;--fc-event-border-color:#3788d8;--fc-event-text-color:#fff;--fc-event-selected-overlay-color:rgba(0,0,0,.25);--fc-more-link-bg-color:#d0d0d0;--fc-more-link-text-color:inherit;--fc-event-resizer-thickness:8px;--fc-event-resizer-dot-total-width:8px;--fc-event-resizer-dot-border-width:1px;--fc-non-business-color:hsla(0,0%,84%,.3);--fc-bg-event-color:#8fdf82;--fc-bg-event-opacity:0.3;--fc-highlight-color:rgba(188,232,241,.3);--fc-today-bg-color:rgba(255,220,40,.15);--fc-now-indicator-color:red}.fc-not-allowed,.fc-not-allowed .fc-event{cursor:not-allowed}.fc{display:flex;flex-direction:column;font-size:1em}.fc,.fc *,.fc :after,.fc :before{box-sizing:border-box}.fc table{border-collapse:collapse;border-spacing:0;font-size:1em}.fc th{text-align:center}.fc td,.fc th{padding:0;vertical-align:top}.fc a[data-navlink]{cursor:pointer}.fc a[data-navlink]:hover{text-decoration:underline}.fc-direction-ltr{direction:ltr;text-align:left}.fc-direction-rtl{direction:rtl;text-align:right}.fc-theme-standard td,.fc-theme-standard th{border:1px solid var(--fc-border-color)}.fc-liquid-hack td,.fc-liquid-hack th{position:relative}@font-face{font-family:fcicons;font-style:normal;font-weight:400;src:url("data:application/x-font-ttf;charset=utf-8;base64,AAEAAAALAIAAAwAwT1MvMg8SBfAAAAC8AAAAYGNtYXAXVtKNAAABHAAAAFRnYXNwAAAAEAAAAXAAAAAIZ2x5ZgYydxIAAAF4AAAFNGhlYWQUJ7cIAAAGrAAAADZoaGVhB20DzAAABuQAAAAkaG10eCIABhQAAAcIAAAALGxvY2ED4AU6AAAHNAAAABhtYXhwAA8AjAAAB0wAAAAgbmFtZXsr690AAAdsAAABhnBvc3QAAwAAAAAI9AAAACAAAwPAAZAABQAAApkCzAAAAI8CmQLMAAAB6wAzAQkAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADpBgPA/8AAQAPAAEAAAAABAAAAAAAAAAAAAAAgAAAAAAADAAAAAwAAABwAAQADAAAAHAADAAEAAAAcAAQAOAAAAAoACAACAAIAAQAg6Qb//f//AAAAAAAg6QD//f//AAH/4xcEAAMAAQAAAAAAAAAAAAAAAQAB//8ADwABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAAAAAAAAAAAAIAADc5AQAAAAABAWIAjQKeAskAEwAAJSc3NjQnJiIHAQYUFwEWMjc2NCcCnuLiDQ0MJAz/AA0NAQAMJAwNDcni4gwjDQwM/wANIwz/AA0NDCMNAAAAAQFiAI0CngLJABMAACUBNjQnASYiBwYUHwEHBhQXFjI3AZ4BAA0N/wAMJAwNDeLiDQ0MJAyNAQAMIw0BAAwMDSMM4uINIwwNDQAAAAIA4gC3Ax4CngATACcAACUnNzY0JyYiDwEGFB8BFjI3NjQnISc3NjQnJiIPAQYUHwEWMjc2NCcB87e3DQ0MIw3VDQ3VDSMMDQ0BK7e3DQ0MJAzVDQ3VDCQMDQ3zuLcMJAwNDdUNIwzWDAwNIwy4twwkDA0N1Q0jDNYMDA0jDAAAAgDiALcDHgKeABMAJwAAJTc2NC8BJiIHBhQfAQcGFBcWMjchNzY0LwEmIgcGFB8BBwYUFxYyNwJJ1Q0N1Q0jDA0Nt7cNDQwjDf7V1Q0N1QwkDA0Nt7cNDQwkDLfWDCMN1Q0NDCQMt7gMIw0MDNYMIw3VDQ0MJAy3uAwjDQwMAAADAFUAAAOrA1UAMwBoAHcAABMiBgcOAQcOAQcOARURFBYXHgEXHgEXHgEzITI2Nz4BNz4BNz4BNRE0JicuAScuAScuASMFITIWFx4BFx4BFx4BFREUBgcOAQcOAQcOASMhIiYnLgEnLgEnLgE1ETQ2Nz4BNz4BNz4BMxMhMjY1NCYjISIGFRQWM9UNGAwLFQkJDgUFBQUFBQ4JCRULDBgNAlYNGAwLFQkJDgUFBQUFBQ4JCRULDBgN/aoCVgQIBAQHAwMFAQIBAQIBBQMDBwQECAT9qgQIBAQHAwMFAQIBAQIBBQMDBwQECASAAVYRGRkR/qoRGRkRA1UFBAUOCQkVDAsZDf2rDRkLDBUJCA4FBQUFBQUOCQgVDAsZDQJVDRkLDBUJCQ4FBAVVAgECBQMCBwQECAX9qwQJAwQHAwMFAQICAgIBBQMDBwQDCQQCVQUIBAQHAgMFAgEC/oAZEhEZGRESGQAAAAADAFUAAAOrA1UAMwBoAIkAABMiBgcOAQcOAQcOARURFBYXHgEXHgEXHgEzITI2Nz4BNz4BNz4BNRE0JicuAScuAScuASMFITIWFx4BFx4BFx4BFREUBgcOAQcOAQcOASMhIiYnLgEnLgEnLgE1ETQ2Nz4BNz4BNz4BMxMzFRQWMzI2PQEzMjY1NCYrATU0JiMiBh0BIyIGFRQWM9UNGAwLFQkJDgUFBQUFBQ4JCRULDBgNAlYNGAwLFQkJDgUFBQUFBQ4JCRULDBgN/aoCVgQIBAQHAwMFAQIBAQIBBQMDBwQECAT9qgQIBAQHAwMFAQIBAQIBBQMDBwQECASAgBkSEhmAERkZEYAZEhIZgBEZGREDVQUEBQ4JCRUMCxkN/asNGQsMFQkIDgUFBQUFBQ4JCBUMCxkNAlUNGQsMFQkJDgUEBVUCAQIFAwIHBAQIBf2rBAkDBAcDAwUBAgICAgEFAwMHBAMJBAJVBQgEBAcCAwUCAQL+gIASGRkSgBkSERmAEhkZEoAZERIZAAABAOIAjQMeAskAIAAAExcHBhQXFjI/ARcWMjc2NC8BNzY0JyYiDwEnJiIHBhQX4uLiDQ0MJAzi4gwkDA0N4uINDQwkDOLiDCQMDQ0CjeLiDSMMDQ3h4Q0NDCMN4uIMIw0MDOLiDAwNIwwAAAABAAAAAQAAa5n0y18PPPUACwQAAAAAANivOVsAAAAA2K85WwAAAAADqwNVAAAACAACAAAAAAAAAAEAAAPA/8AAAAQAAAAAAAOrAAEAAAAAAAAAAAAAAAAAAAALBAAAAAAAAAAAAAAAAgAAAAQAAWIEAAFiBAAA4gQAAOIEAABVBAAAVQQAAOIAAAAAAAoAFAAeAEQAagCqAOoBngJkApoAAQAAAAsAigADAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAA4ArgABAAAAAAABAAcAAAABAAAAAAACAAcAYAABAAAAAAADAAcANgABAAAAAAAEAAcAdQABAAAAAAAFAAsAFQABAAAAAAAGAAcASwABAAAAAAAKABoAigADAAEECQABAA4ABwADAAEECQACAA4AZwADAAEECQADAA4APQADAAEECQAEAA4AfAADAAEECQAFABYAIAADAAEECQAGAA4AUgADAAEECQAKADQApGZjaWNvbnMAZgBjAGkAYwBvAG4Ac1ZlcnNpb24gMS4wAFYAZQByAHMAaQBvAG4AIAAxAC4AMGZjaWNvbnMAZgBjAGkAYwBvAG4Ac2ZjaWNvbnMAZgBjAGkAYwBvAG4Ac1JlZ3VsYXIAUgBlAGcAdQBsAGEAcmZjaWNvbnMAZgBjAGkAYwBvAG4Ac0ZvbnQgZ2VuZXJhdGVkIGJ5IEljb01vb24uAEYAbwBuAHQAIABnAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAEkAYwBvAE0AbwBvAG4ALgAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=") format("truetype")}.fc-icon{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;font-family:fcicons!important;font-style:normal;font-variant:normal;font-weight:400;height:1em;line-height:1;text-align:center;text-transform:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:1em}.fc-icon-chevron-left:before{content:"\\e900"}.fc-icon-chevron-right:before{content:"\\e901"}.fc-icon-chevrons-left:before{content:"\\e902"}.fc-icon-chevrons-right:before{content:"\\e903"}.fc-icon-minus-square:before{content:"\\e904"}.fc-icon-plus-square:before{content:"\\e905"}.fc-icon-x:before{content:"\\e906"}.fc .fc-button{border-radius:0;font-family:inherit;font-size:inherit;line-height:inherit;margin:0;overflow:visible;text-transform:none}.fc .fc-button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}.fc .fc-button{-webkit-appearance:button}.fc .fc-button:not(:disabled){cursor:pointer}.fc .fc-button{background-color:transparent;border:1px solid transparent;border-radius:.25em;display:inline-block;font-size:1em;font-weight:400;line-height:1.5;padding:.4em .65em;text-align:center;-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:middle}.fc .fc-button:hover{text-decoration:none}.fc .fc-button:focus{box-shadow:0 0 0 .2rem rgba(44,62,80,.25);outline:0}.fc .fc-button:disabled{opacity:.65}.fc .fc-button-primary{background-color:var(--fc-button-bg-color);border-color:var(--fc-button-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:hover{background-color:var(--fc-button-hover-bg-color);border-color:var(--fc-button-hover-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:disabled{background-color:var(--fc-button-bg-color);border-color:var(--fc-button-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:focus{box-shadow:0 0 0 .2rem rgba(76,91,106,.5)}.fc .fc-button-primary:not(:disabled).fc-button-active,.fc .fc-button-primary:not(:disabled):active{background-color:var(--fc-button-active-bg-color);border-color:var(--fc-button-active-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:not(:disabled).fc-button-active:focus,.fc .fc-button-primary:not(:disabled):active:focus{box-shadow:0 0 0 .2rem rgba(76,91,106,.5)}.fc .fc-button .fc-icon{font-size:1.5em;vertical-align:middle}.fc .fc-button-group{display:inline-flex;position:relative;vertical-align:middle}.fc .fc-button-group>.fc-button{flex:1 1 auto;position:relative}.fc .fc-button-group>.fc-button.fc-button-active,.fc .fc-button-group>.fc-button:active,.fc .fc-button-group>.fc-button:focus,.fc .fc-button-group>.fc-button:hover{z-index:1}.fc-direction-ltr .fc-button-group>.fc-button:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0;margin-left:-1px}.fc-direction-ltr .fc-button-group>.fc-button:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.fc-direction-rtl .fc-button-group>.fc-button:not(:first-child){border-bottom-right-radius:0;border-top-right-radius:0;margin-right:-1px}.fc-direction-rtl .fc-button-group>.fc-button:not(:last-child){border-bottom-left-radius:0;border-top-left-radius:0}.fc .fc-toolbar{align-items:center;display:flex;justify-content:space-between}.fc .fc-toolbar.fc-header-toolbar{margin-bottom:1.5em}.fc .fc-toolbar.fc-footer-toolbar{margin-top:1.5em}.fc .fc-toolbar-title{font-size:1.75em;margin:0}.fc-direction-ltr .fc-toolbar>*>:not(:first-child){margin-left:.75em}.fc-direction-rtl .fc-toolbar>*>:not(:first-child){margin-right:.75em}.fc-direction-rtl .fc-toolbar-ltr{flex-direction:row-reverse}.fc .fc-scroller{-webkit-overflow-scrolling:touch;position:relative}.fc .fc-scroller-liquid{height:100%}.fc .fc-scroller-liquid-absolute{bottom:0;left:0;position:absolute;right:0;top:0}.fc .fc-scroller-harness{direction:ltr;overflow:hidden;position:relative}.fc .fc-scroller-harness-liquid{height:100%}.fc-direction-rtl .fc-scroller-harness>.fc-scroller{direction:rtl}.fc-theme-standard .fc-scrollgrid{border:1px solid var(--fc-border-color)}.fc .fc-scrollgrid,.fc .fc-scrollgrid table{table-layout:fixed;width:100%}.fc .fc-scrollgrid table{border-left-style:hidden;border-right-style:hidden;border-top-style:hidden}.fc .fc-scrollgrid{border-bottom-width:0;border-collapse:separate;border-right-width:0}.fc .fc-scrollgrid-liquid{height:100%}.fc .fc-scrollgrid-section,.fc .fc-scrollgrid-section table,.fc .fc-scrollgrid-section>td{height:1px}.fc .fc-scrollgrid-section-liquid>td{height:100%}.fc .fc-scrollgrid-section>*{border-left-width:0;border-top-width:0}.fc .fc-scrollgrid-section-footer>*,.fc .fc-scrollgrid-section-header>*{border-bottom-width:0}.fc .fc-scrollgrid-section-body table,.fc .fc-scrollgrid-section-footer table{border-bottom-style:hidden}.fc .fc-scrollgrid-section-sticky>*{background:var(--fc-page-bg-color);position:sticky;z-index:3}.fc .fc-scrollgrid-section-header.fc-scrollgrid-section-sticky>*{top:0}.fc .fc-scrollgrid-section-footer.fc-scrollgrid-section-sticky>*{bottom:0}.fc .fc-scrollgrid-sticky-shim{height:1px;margin-bottom:-1px}.fc-sticky{position:sticky}.fc .fc-view-harness{flex-grow:1;position:relative}.fc .fc-view-harness-active>.fc-view{bottom:0;left:0;position:absolute;right:0;top:0}.fc .fc-col-header-cell-cushion{display:inline-block;padding:2px 4px}.fc .fc-bg-event,.fc .fc-highlight,.fc .fc-non-business{bottom:0;left:0;position:absolute;right:0;top:0}.fc .fc-non-business{background:var(--fc-non-business-color)}.fc .fc-bg-event{background:var(--fc-bg-event-color);opacity:var(--fc-bg-event-opacity)}.fc .fc-bg-event .fc-event-title{font-size:var(--fc-small-font-size);font-style:italic;margin:.5em}.fc .fc-highlight{background:var(--fc-highlight-color)}.fc .fc-cell-shaded,.fc .fc-day-disabled{background:var(--fc-neutral-bg-color)}a.fc-event,a.fc-event:hover{text-decoration:none}.fc-event.fc-event-draggable,.fc-event[href]{cursor:pointer}.fc-event .fc-event-main{position:relative;z-index:2}.fc-event-dragging:not(.fc-event-selected){opacity:.75}.fc-event-dragging.fc-event-selected{box-shadow:0 2px 7px rgba(0,0,0,.3)}.fc-event .fc-event-resizer{display:none;position:absolute;z-index:4}.fc-event-selected .fc-event-resizer,.fc-event:hover .fc-event-resizer{display:block}.fc-event-selected .fc-event-resizer{background:var(--fc-page-bg-color);border-color:inherit;border-radius:calc(var(--fc-event-resizer-dot-total-width)/2);border-style:solid;border-width:var(--fc-event-resizer-dot-border-width);height:var(--fc-event-resizer-dot-total-width);width:var(--fc-event-resizer-dot-total-width)}.fc-event-selected .fc-event-resizer:before{bottom:-20px;content:"";left:-20px;position:absolute;right:-20px;top:-20px}.fc-event-selected,.fc-event:focus{box-shadow:0 2px 5px rgba(0,0,0,.2)}.fc-event-selected:before,.fc-event:focus:before{bottom:0;content:"";left:0;position:absolute;right:0;top:0;z-index:3}.fc-event-selected:after,.fc-event:focus:after{background:var(--fc-event-selected-overlay-color);bottom:-1px;content:"";left:-1px;position:absolute;right:-1px;top:-1px;z-index:1}.fc-h-event{background-color:var(--fc-event-bg-color);border:1px solid var(--fc-event-border-color);display:block}.fc-h-event .fc-event-main{color:var(--fc-event-text-color)}.fc-h-event .fc-event-main-frame{display:flex}.fc-h-event .fc-event-time{max-width:100%;overflow:hidden}.fc-h-event .fc-event-title-container{flex-grow:1;flex-shrink:1;min-width:0}.fc-h-event .fc-event-title{display:inline-block;left:0;max-width:100%;overflow:hidden;right:0;vertical-align:top}.fc-h-event.fc-event-selected:before{bottom:-10px;top:-10px}.fc-direction-ltr .fc-daygrid-block-event:not(.fc-event-start),.fc-direction-rtl .fc-daygrid-block-event:not(.fc-event-end){border-bottom-left-radius:0;border-left-width:0;border-top-left-radius:0}.fc-direction-ltr .fc-daygrid-block-event:not(.fc-event-end),.fc-direction-rtl .fc-daygrid-block-event:not(.fc-event-start){border-bottom-right-radius:0;border-right-width:0;border-top-right-radius:0}.fc-h-event:not(.fc-event-selected) .fc-event-resizer{bottom:0;top:0;width:var(--fc-event-resizer-thickness)}.fc-direction-ltr .fc-h-event:not(.fc-event-selected) .fc-event-resizer-start,.fc-direction-rtl .fc-h-event:not(.fc-event-selected) .fc-event-resizer-end{cursor:w-resize;left:calc(var(--fc-event-resizer-thickness)*-.5)}.fc-direction-ltr .fc-h-event:not(.fc-event-selected) .fc-event-resizer-end,.fc-direction-rtl .fc-h-event:not(.fc-event-selected) .fc-event-resizer-start{cursor:e-resize;right:calc(var(--fc-event-resizer-thickness)*-.5)}.fc-h-event.fc-event-selected .fc-event-resizer{margin-top:calc(var(--fc-event-resizer-dot-total-width)*-.5);top:50%}.fc-direction-ltr .fc-h-event.fc-event-selected .fc-event-resizer-start,.fc-direction-rtl .fc-h-event.fc-event-selected .fc-event-resizer-end{left:calc(var(--fc-event-resizer-dot-total-width)*-.5)}.fc-direction-ltr .fc-h-event.fc-event-selected .fc-event-resizer-end,.fc-direction-rtl .fc-h-event.fc-event-selected .fc-event-resizer-start{right:calc(var(--fc-event-resizer-dot-total-width)*-.5)}.fc .fc-popover{box-shadow:0 2px 6px rgba(0,0,0,.15);position:absolute;z-index:9999}.fc .fc-popover-header{align-items:center;display:flex;flex-direction:row;justify-content:space-between;padding:3px 4px}.fc .fc-popover-title{margin:0 2px}.fc .fc-popover-close{cursor:pointer;font-size:1.1em;opacity:.65}.fc-theme-standard .fc-popover{background:var(--fc-page-bg-color);border:1px solid var(--fc-border-color)}.fc-theme-standard .fc-popover-header{background:var(--fc-neutral-bg-color)}';
641
+ hn(xl);
642
+ class gn {
644
643
  constructor(e) {
645
644
  this.drainedOption = e, this.isRunning = !1, this.isDirty = !1, this.pauseDepths = {}, this.timeoutId = 0;
646
645
  }
@@ -679,7 +678,7 @@ class pn {
679
678
  this.drainedOption && this.drainedOption();
680
679
  }
681
680
  }
682
- function mn(t) {
681
+ function pn(t) {
683
682
  t.parentNode && t.parentNode.removeChild(t);
684
683
  }
685
684
  function P(t, e) {
@@ -707,7 +706,7 @@ function Ml(t, e) {
707
706
  return r;
708
707
  }
709
708
  const Il = /(top|left|right|bottom|width|height)$/i;
710
- function Ne(t, e) {
709
+ function Oe(t, e) {
711
710
  for (let n in e)
712
711
  vi(t, n, e[n]);
713
712
  }
@@ -718,26 +717,26 @@ function bi(t) {
718
717
  var e, n;
719
718
  return (n = (e = t.composedPath) === null || e === void 0 ? void 0 : e.call(t)[0]) !== null && n !== void 0 ? n : t.target;
720
719
  }
721
- let hr = 0;
722
- function Dt() {
723
- return hr += 1, "fc-dom-" + hr;
720
+ let fr = 0;
721
+ function At() {
722
+ return fr += 1, "fc-dom-" + fr;
724
723
  }
725
- function Ct(t) {
724
+ function Dt(t) {
726
725
  t.preventDefault();
727
726
  }
728
- function Nl(t, e) {
727
+ function Ol(t, e) {
729
728
  return (n) => {
730
729
  let r = P(n.target, t);
731
730
  r && e.call(r, n, r);
732
731
  };
733
732
  }
734
733
  function yi(t, e, n, r) {
735
- let i = Nl(n, r);
734
+ let i = Ol(n, r);
736
735
  return t.addEventListener(e, i), () => {
737
736
  t.removeEventListener(e, i);
738
737
  };
739
738
  }
740
- function Ol(t, e, n, r) {
739
+ function Nl(t, e, n, r) {
741
740
  let i;
742
741
  return yi(t, "mouseover", e, (s, l) => {
743
742
  if (l !== i) {
@@ -749,7 +748,7 @@ function Ol(t, e, n, r) {
749
748
  }
750
749
  });
751
750
  }
752
- const gr = [
751
+ const hr = [
753
752
  "webkitTransitionEnd",
754
753
  "otransitionend",
755
754
  "oTransitionEnd",
@@ -758,11 +757,11 @@ const gr = [
758
757
  ];
759
758
  function Pl(t, e) {
760
759
  let n = (r) => {
761
- e(r), gr.forEach((i) => {
760
+ e(r), hr.forEach((i) => {
762
761
  t.removeEventListener(i, n);
763
762
  });
764
763
  };
765
- gr.forEach((r) => {
764
+ hr.forEach((r) => {
766
765
  t.addEventListener(r, n);
767
766
  });
768
767
  }
@@ -777,27 +776,27 @@ function Si(t) {
777
776
  }
778
777
  };
779
778
  }
780
- let pr = 0;
779
+ let gr = 0;
781
780
  function pe() {
782
- return pr += 1, String(pr);
781
+ return gr += 1, String(gr);
783
782
  }
784
- function vn() {
783
+ function mn() {
785
784
  document.body.classList.add("fc-not-allowed");
786
785
  }
787
- function bn() {
786
+ function vn() {
788
787
  document.body.classList.remove("fc-not-allowed");
789
788
  }
790
789
  function Hl(t) {
791
- t.style.userSelect = "none", t.style.webkitUserSelect = "none", t.addEventListener("selectstart", Ct);
790
+ t.style.userSelect = "none", t.style.webkitUserSelect = "none", t.addEventListener("selectstart", Dt);
792
791
  }
793
792
  function Bl(t) {
794
- t.style.userSelect = "", t.style.webkitUserSelect = "", t.removeEventListener("selectstart", Ct);
793
+ t.style.userSelect = "", t.style.webkitUserSelect = "", t.removeEventListener("selectstart", Dt);
795
794
  }
796
795
  function Ll(t) {
797
- t.addEventListener("contextmenu", Ct);
796
+ t.addEventListener("contextmenu", Dt);
798
797
  }
799
798
  function Ul(t) {
800
- t.removeEventListener("contextmenu", Ct);
799
+ t.removeEventListener("contextmenu", Dt);
801
800
  }
802
801
  function jl(t) {
803
802
  let e = [], n = [], r, i;
@@ -822,7 +821,7 @@ function Se(t, e) {
822
821
  let n = String(t);
823
822
  return "000".substr(0, e - n.length) + n;
824
823
  }
825
- function Oe(t, e, n) {
824
+ function Ne(t, e, n) {
826
825
  return typeof t == "function" ? t(...e) : typeof t == "string" ? e.reduce((r, i, s) => r.replace("$" + s, i || ""), t) : n;
827
826
  }
828
827
  function Vl(t, e) {
@@ -840,9 +839,9 @@ function Gl(t) {
840
839
  return t.getBoundingClientRect().width - e.getBoundingClientRect().width + // the cell padding+border
841
840
  n.getBoundingClientRect().width;
842
841
  }
843
- const mr = ["years", "months", "days", "milliseconds"], ql = /^(-?)(?:(\d+)\.)?(\d+):(\d\d)(?::(\d\d)(?:\.(\d\d\d))?)?/;
842
+ const pr = ["years", "months", "days", "milliseconds"], ql = /^(-?)(?:(\d+)\.)?(\d+):(\d\d)(?::(\d\d)(?:\.(\d\d\d))?)?/;
844
843
  function _(t, e) {
845
- return typeof t == "string" ? Ql(t) : typeof t == "object" && t ? vr(t) : typeof t == "number" ? vr({ [e || "milliseconds"]: t }) : null;
844
+ return typeof t == "string" ? Ql(t) : typeof t == "object" && t ? mr(t) : typeof t == "number" ? mr({ [e || "milliseconds"]: t }) : null;
846
845
  }
847
846
  function Ql(t) {
848
847
  let e = ql.exec(t);
@@ -860,7 +859,7 @@ function Ql(t) {
860
859
  }
861
860
  return null;
862
861
  }
863
- function vr(t) {
862
+ function mr(t) {
864
863
  let e = {
865
864
  years: t.years || t.year || 0,
866
865
  months: t.months || t.month || 0,
@@ -876,7 +875,7 @@ function vr(t) {
876
875
  function Yl(t, e) {
877
876
  return t.years === e.years && t.months === e.months && t.days === e.days && t.milliseconds === e.milliseconds;
878
877
  }
879
- function Kt(t, e) {
878
+ function Jt(t, e) {
880
879
  return {
881
880
  years: t.years + e.years,
882
881
  months: t.months + e.months,
@@ -912,10 +911,10 @@ function Ae(t) {
912
911
  function F(t) {
913
912
  return t.years * (365 * 864e5) + t.months * (30 * 864e5) + t.days * 864e5 + t.milliseconds;
914
913
  }
915
- function yn(t, e) {
914
+ function bn(t, e) {
916
915
  let n = null;
917
- for (let r = 0; r < mr.length; r += 1) {
918
- let i = mr[r];
916
+ for (let r = 0; r < pr.length; r += 1) {
917
+ let i = pr[r];
919
918
  if (e[i]) {
920
919
  let s = t[i] / e[i];
921
920
  if (!nt(s) || n !== null && n !== s)
@@ -926,7 +925,7 @@ function yn(t, e) {
926
925
  }
927
926
  return n;
928
927
  }
929
- function en(t) {
928
+ function Kt(t) {
930
929
  let e = t.milliseconds;
931
930
  if (e) {
932
931
  if (e % 1e3 !== 0)
@@ -952,7 +951,7 @@ function re(t, e, n) {
952
951
  return !0;
953
952
  }
954
953
  const Kl = ["sun", "mon", "tue", "wed", "thu", "fri", "sat"];
955
- function br(t, e) {
954
+ function vr(t, e) {
956
955
  let n = ee(t);
957
956
  return n[2] += e * 7, L(n);
958
957
  }
@@ -1030,13 +1029,13 @@ function ao(t) {
1030
1029
  ]);
1031
1030
  }
1032
1031
  function co(t, e, n) {
1033
- let r = t.getUTCFullYear(), i = Lt(t, r, e, n);
1032
+ let r = t.getUTCFullYear(), i = Bt(t, r, e, n);
1034
1033
  if (i < 1)
1035
- return Lt(t, r - 1, e, n);
1036
- let s = Lt(t, r + 1, e, n);
1034
+ return Bt(t, r - 1, e, n);
1035
+ let s = Bt(t, r + 1, e, n);
1037
1036
  return s >= 1 ? Math.min(i, s) : i;
1038
1037
  }
1039
- function Lt(t, e, n, r) {
1038
+ function Bt(t, e, n, r) {
1040
1039
  let i = L([e, 0, 1 + uo(e, n, r)]), s = k(t), l = Math.round(me(i, s));
1041
1040
  return Math.floor(l / 7) + 1;
1042
1041
  }
@@ -1044,7 +1043,7 @@ function uo(t, e, n) {
1044
1043
  let r = 7 + e - n;
1045
1044
  return -((7 + L([t, 0, r]).getUTCDay() - e) % 7) + r - 1;
1046
1045
  }
1047
- function yr(t) {
1046
+ function br(t) {
1048
1047
  return [
1049
1048
  t.getFullYear(),
1050
1049
  t.getMonth(),
@@ -1055,7 +1054,7 @@ function yr(t) {
1055
1054
  t.getMilliseconds()
1056
1055
  ];
1057
1056
  }
1058
- function Er(t) {
1057
+ function yr(t) {
1059
1058
  return new Date(
1060
1059
  t[0],
1061
1060
  t[1] || 0,
@@ -1088,9 +1087,9 @@ function te(t) {
1088
1087
  }
1089
1088
  function Di(t, e, n = !1) {
1090
1089
  let r = t.toISOString();
1091
- return r = r.replace(".000", ""), n && (r = r.replace("T00:00:00Z", "")), r.length > 10 && (e == null ? r = r.replace("Z", "") : e !== 0 && (r = r.replace("Z", Sn(e, !0)))), r;
1090
+ return r = r.replace(".000", ""), n && (r = r.replace("T00:00:00Z", "")), r.length > 10 && (e == null ? r = r.replace("Z", "") : e !== 0 && (r = r.replace("Z", En(e, !0)))), r;
1092
1091
  }
1093
- function En(t) {
1092
+ function yn(t) {
1094
1093
  return t.toISOString().replace(/T.*$/, "");
1095
1094
  }
1096
1095
  function fo(t) {
@@ -1099,7 +1098,7 @@ function fo(t) {
1099
1098
  function ho(t) {
1100
1099
  return Se(t.getUTCHours(), 2) + ":" + Se(t.getUTCMinutes(), 2) + ":" + Se(t.getUTCSeconds(), 2);
1101
1100
  }
1102
- function Sn(t, e = !1) {
1101
+ function En(t, e = !1) {
1103
1102
  let n = t < 0 ? "-" : "+", r = Math.abs(t), i = Math.floor(r / 60), s = Math.round(r % 60);
1104
1103
  return e ? `${n + Se(i, 2)}:${Se(s, 2)}` : `GMT${n}${i}${s ? `:${Se(s, 2)}` : ""}`;
1105
1104
  }
@@ -1129,7 +1128,7 @@ function rt(t, e, n) {
1129
1128
  return r = s, i;
1130
1129
  };
1131
1130
  }
1132
- const Sr = {
1131
+ const Er = {
1133
1132
  week: 3,
1134
1133
  separator: 0,
1135
1134
  omitZeroMinute: 0,
@@ -1150,8 +1149,8 @@ class bo {
1150
1149
  constructor(e) {
1151
1150
  let n = {}, r = {}, i = 0;
1152
1151
  for (let s in e)
1153
- s in Sr ? (r[s] = e[s], i = Math.max(Sr[s], i)) : (n[s] = e[s], s in dt && (i = Math.max(dt[s], i)));
1154
- this.standardDateProps = n, this.extendedSettings = r, this.severity = i, this.buildFormattingFunc = A(Ar);
1152
+ s in Er ? (r[s] = e[s], i = Math.max(Er[s], i)) : (n[s] = e[s], s in dt && (i = Math.max(dt[s], i)));
1153
+ this.standardDateProps = n, this.extendedSettings = r, this.severity = i, this.buildFormattingFunc = A(Sr);
1155
1154
  }
1156
1155
  format(e, n) {
1157
1156
  return this.buildFormattingFunc(this.standardDateProps, this.extendedSettings, n)(e);
@@ -1166,7 +1165,7 @@ class bo {
1166
1165
  let d = this.format(e, r), c = this.format(n, r);
1167
1166
  if (d === c)
1168
1167
  return d;
1169
- let h = wo(s, a), f = Ar(h, l, r), u = f(e), m = f(n), v = Ro(d, u, c, m), b = l.separator || i || r.defaultSeparator || "";
1168
+ let h = wo(s, a), f = Sr(h, l, r), u = f(e), m = f(n), v = Ro(d, u, c, m), b = l.separator || i || r.defaultSeparator || "";
1170
1169
  return v ? v.before + u + b + m + v.after : d + b + c;
1171
1170
  }
1172
1171
  getLargestUnit() {
@@ -1186,9 +1185,9 @@ class bo {
1186
1185
  }
1187
1186
  }
1188
1187
  }
1189
- function Ar(t, e, n) {
1188
+ function Sr(t, e, n) {
1190
1189
  let r = Object.keys(t).length;
1191
- return r === 1 && t.timeZoneName === "short" ? (i) => Sn(i.timeZoneOffset) : r === 0 && e.week ? (i) => Do(n.computeWeekNumber(i.marker), n.weekText, n.weekTextLong, n.locale, e.week) : yo(t, e, n);
1190
+ return r === 1 && t.timeZoneName === "short" ? (i) => En(i.timeZoneOffset) : r === 0 && e.week ? (i) => Do(n.computeWeekNumber(i.marker), n.weekText, n.weekTextLong, n.locale, e.week) : yo(t, e, n);
1192
1191
  }
1193
1192
  function yo(t, e, n) {
1194
1193
  t = Object.assign({}, t), e = Object.assign({}, e), Eo(t, e), t.timeZone = "UTC";
@@ -1210,7 +1209,7 @@ function Eo(t, e) {
1210
1209
  function So(t, e, n, r, i) {
1211
1210
  return t = t.replace(mo, ""), n.timeZoneName === "short" && (t = Ao(t, i.timeZone === "UTC" || e.timeZoneOffset == null ? "UTC" : (
1212
1211
  // important to normalize for IE, which does "GMT"
1213
- Sn(e.timeZoneOffset)
1212
+ En(e.timeZoneOffset)
1214
1213
  ))), r.omitCommas && (t = t.replace(go, "").trim()), r.omitZeroMinute && (t = t.replace(":00", "")), r.meridiem === !1 ? t = t.replace(qe, "").trim() : r.meridiem === "narrow" ? t = t.replace(qe, (s, l) => l.toLocaleLowerCase()) : r.meridiem === "short" ? t = t.replace(qe, (s, l) => `${l.toLocaleLowerCase()}m`) : r.meridiem === "lowercase" && (t = t.replace(qe, (s) => s.toLocaleLowerCase())), t = t.replace(po, " "), t = t.trim(), t;
1215
1214
  }
1216
1215
  function Ao(t, e) {
@@ -1256,7 +1255,7 @@ function Ro(t, e, n, r) {
1256
1255
  }
1257
1256
  return null;
1258
1257
  }
1259
- function Dr(t, e) {
1258
+ function Ar(t, e) {
1260
1259
  let n = e.markerToArray(t.marker);
1261
1260
  return {
1262
1261
  marker: t.marker,
@@ -1272,7 +1271,7 @@ function Dr(t, e) {
1272
1271
  };
1273
1272
  }
1274
1273
  function ut(t, e, n, r) {
1275
- let i = Dr(t, n.calendarSystem), s = e ? Dr(e, n.calendarSystem) : null;
1274
+ let i = Ar(t, n.calendarSystem), s = e ? Ar(e, n.calendarSystem) : null;
1276
1275
  return {
1277
1276
  date: i,
1278
1277
  start: i,
@@ -1304,10 +1303,10 @@ class To {
1304
1303
  return this.func(ut(e, n, r, i));
1305
1304
  }
1306
1305
  }
1307
- function O(t) {
1306
+ function N(t) {
1308
1307
  return typeof t == "object" && t ? new bo(t) : typeof t == "string" ? new _o(t) : typeof t == "function" ? new To(t) : null;
1309
1308
  }
1310
- const Cr = {
1309
+ const Dr = {
1311
1310
  navLinkDayClick: p,
1312
1311
  navLinkWeekClick: p,
1313
1312
  duration: _,
@@ -1321,7 +1320,7 @@ const Cr = {
1321
1320
  scrollTimeReset: Boolean,
1322
1321
  slotMinTime: _,
1323
1322
  slotMaxTime: _,
1324
- dayPopoverFormat: O,
1323
+ dayPopoverFormat: N,
1325
1324
  slotDuration: _,
1326
1325
  snapDuration: _,
1327
1326
  headerToolbar: p,
@@ -1330,7 +1329,7 @@ const Cr = {
1330
1329
  titleRangeSeparator: String,
1331
1330
  forceEventDuration: Boolean,
1332
1331
  dayHeaders: Boolean,
1333
- dayHeaderFormat: O,
1332
+ dayHeaderFormat: N,
1334
1333
  dayHeaderClassNames: p,
1335
1334
  dayHeaderContent: p,
1336
1335
  dayHeaderDidMount: p,
@@ -1381,7 +1380,7 @@ const Cr = {
1381
1380
  height: p,
1382
1381
  contentHeight: p,
1383
1382
  direction: String,
1384
- weekNumberFormat: O,
1383
+ weekNumberFormat: N,
1385
1384
  eventResizableFromStart: Boolean,
1386
1385
  displayEventTime: Boolean,
1387
1386
  displayEventEnd: Boolean,
@@ -1437,7 +1436,7 @@ const Cr = {
1437
1436
  allDayWillUnmount: p,
1438
1437
  slotMinWidth: Number,
1439
1438
  navLinks: Boolean,
1440
- eventTimeFormat: O,
1439
+ eventTimeFormat: N,
1441
1440
  rerenderDelay: Number,
1442
1441
  moreLinkText: p,
1443
1442
  moreLinkHint: p,
@@ -1474,7 +1473,7 @@ const Cr = {
1474
1473
  moreLinkContent: p,
1475
1474
  moreLinkDidMount: p,
1476
1475
  moreLinkWillUnmount: p,
1477
- monthStartFormat: O,
1476
+ monthStartFormat: N,
1478
1477
  // for connectors
1479
1478
  // (can't be part of plugin system b/c must be provided at runtime)
1480
1479
  handleCustomRendering: p,
@@ -1532,7 +1531,7 @@ const Cr = {
1532
1531
  eventMinWidth: 30,
1533
1532
  eventShortHeight: 30,
1534
1533
  monthStartFormat: { month: "long", day: "numeric" }
1535
- }, wr = {
1534
+ }, Cr = {
1536
1535
  datesSet: p,
1537
1536
  eventsSet: p,
1538
1537
  eventAdd: p,
@@ -1553,7 +1552,7 @@ const Cr = {
1553
1552
  _noEventResize: p,
1554
1553
  _resize: p,
1555
1554
  _scrollRequest: p
1556
- }, Rr = {
1555
+ }, wr = {
1557
1556
  buttonText: p,
1558
1557
  buttonHints: p,
1559
1558
  views: p,
@@ -1591,10 +1590,10 @@ const xo = {
1591
1590
  didMount: p,
1592
1591
  willUnmount: p
1593
1592
  };
1594
- function Ut(t) {
1595
- return Dn(t, oe);
1593
+ function Lt(t) {
1594
+ return An(t, oe);
1596
1595
  }
1597
- function An(t, e) {
1596
+ function Sn(t, e) {
1598
1597
  let n = {}, r = {};
1599
1598
  for (let i in e)
1600
1599
  i in t && (n[i] = e[i](t[i]));
@@ -1606,7 +1605,7 @@ function p(t) {
1606
1605
  return t;
1607
1606
  }
1608
1607
  const { hasOwnProperty: ft } = Object.prototype;
1609
- function Dn(t, e) {
1608
+ function An(t, e) {
1610
1609
  let n = {};
1611
1610
  if (e) {
1612
1611
  for (let r in e)
@@ -1621,7 +1620,7 @@ function Dn(t, e) {
1621
1620
  break;
1622
1621
  }
1623
1622
  }
1624
- i.length && (n[r] = Dn(i));
1623
+ i.length && (n[r] = An(i));
1625
1624
  }
1626
1625
  }
1627
1626
  for (let r = t.length - 1; r >= 0; r -= 1) {
@@ -1649,7 +1648,7 @@ function Ci(t) {
1649
1648
  e[n] = !0;
1650
1649
  return e;
1651
1650
  }
1652
- function Cn(t) {
1651
+ function Dn(t) {
1653
1652
  let e = [];
1654
1653
  for (let n in t)
1655
1654
  e.push(t[n]);
@@ -1668,13 +1667,13 @@ function V(t, e) {
1668
1667
  }
1669
1668
  const ko = /^on[A-Z]/;
1670
1669
  function Mo(t, e) {
1671
- const n = tn(t, e);
1670
+ const n = en(t, e);
1672
1671
  for (let r of n)
1673
1672
  if (!ko.test(r))
1674
1673
  return !1;
1675
1674
  return !0;
1676
1675
  }
1677
- function tn(t, e) {
1676
+ function en(t, e) {
1678
1677
  let n = [];
1679
1678
  for (let r in t)
1680
1679
  ft.call(t, r) && (r in e || n.push(r));
@@ -1682,7 +1681,7 @@ function tn(t, e) {
1682
1681
  ft.call(e, r) && t[r] !== e[r] && n.push(r);
1683
1682
  return n;
1684
1683
  }
1685
- function jt(t, e, n = {}) {
1684
+ function Ut(t, e, n = {}) {
1686
1685
  if (t === e)
1687
1686
  return !0;
1688
1687
  for (let r in e)
@@ -1696,7 +1695,7 @@ function jt(t, e, n = {}) {
1696
1695
  function Io(t, e, n) {
1697
1696
  return t === e || n === !0 ? !0 : n ? n(t, e) : !1;
1698
1697
  }
1699
- function No(t, e = 0, n, r = 1) {
1698
+ function Oo(t, e = 0, n, r = 1) {
1700
1699
  let i = [];
1701
1700
  n == null && (n = Object.keys(t).length);
1702
1701
  for (let s = e; s < n; s += r) {
@@ -1706,7 +1705,7 @@ function No(t, e = 0, n, r = 1) {
1706
1705
  return i;
1707
1706
  }
1708
1707
  let wi = {};
1709
- function Oo(t, e) {
1708
+ function No(t, e) {
1710
1709
  wi[t] = e;
1711
1710
  }
1712
1711
  function Po(t) {
@@ -1729,7 +1728,7 @@ class Ho {
1729
1728
  return ee(e);
1730
1729
  }
1731
1730
  }
1732
- Oo("gregory", Ho);
1731
+ No("gregory", Ho);
1733
1732
  const Bo = /^\s*(\d{4})(-?(\d{2})(-?(\d{2})([T ](\d{2}):?(\d{2})(:?(\d{2})(\.(\d+))?)?(Z|(([-+])(\d{2})(:?(\d{2}))?))?)?)?)?$/;
1734
1733
  function Lo(t) {
1735
1734
  let e = Bo.exec(t);
@@ -1757,7 +1756,7 @@ class Uo {
1757
1756
  return n === null ? null : n.marker;
1758
1757
  }
1759
1758
  createNowMarker() {
1760
- return this.canComputeOffset ? this.timestampToMarker((/* @__PURE__ */ new Date()).valueOf()) : L(yr(/* @__PURE__ */ new Date()));
1759
+ return this.canComputeOffset ? this.timestampToMarker((/* @__PURE__ */ new Date()).valueOf()) : L(br(/* @__PURE__ */ new Date()));
1761
1760
  }
1762
1761
  createMarkerMeta(e) {
1763
1762
  if (typeof e == "string")
@@ -1870,14 +1869,14 @@ class Uo {
1870
1869
  }
1871
1870
  // TimeZone
1872
1871
  timestampToMarker(e) {
1873
- return this.timeZone === "local" ? L(yr(new Date(e))) : this.timeZone === "UTC" || !this.namedTimeZoneImpl ? new Date(e) : L(this.namedTimeZoneImpl.timestampToArray(e));
1872
+ return this.timeZone === "local" ? L(br(new Date(e))) : this.timeZone === "UTC" || !this.namedTimeZoneImpl ? new Date(e) : L(this.namedTimeZoneImpl.timestampToArray(e));
1874
1873
  }
1875
1874
  offsetForMarker(e) {
1876
- return this.timeZone === "local" ? -Er(ee(e)).getTimezoneOffset() : this.timeZone === "UTC" ? 0 : this.namedTimeZoneImpl ? this.namedTimeZoneImpl.offsetForArray(ee(e)) : null;
1875
+ return this.timeZone === "local" ? -yr(ee(e)).getTimezoneOffset() : this.timeZone === "UTC" ? 0 : this.namedTimeZoneImpl ? this.namedTimeZoneImpl.offsetForArray(ee(e)) : null;
1877
1876
  }
1878
1877
  // Conversion
1879
1878
  toDate(e, n) {
1880
- return this.timeZone === "local" ? Er(ee(e)) : this.timeZone === "UTC" ? new Date(e.valueOf()) : this.namedTimeZoneImpl ? new Date(e.valueOf() - this.namedTimeZoneImpl.offsetForArray(ee(e)) * 1e3 * 60) : new Date(e.valueOf() - (n || 0));
1879
+ return this.timeZone === "local" ? yr(ee(e)) : this.timeZone === "UTC" ? new Date(e.valueOf()) : this.namedTimeZoneImpl ? new Date(e.valueOf() - this.namedTimeZoneImpl.offsetForArray(ee(e)) * 1e3 * 60) : new Date(e.valueOf() - (n || 0));
1881
1880
  }
1882
1881
  }
1883
1882
  class Ue {
@@ -1914,7 +1913,7 @@ Ue.prototype.classes = {};
1914
1913
  Ue.prototype.iconClasses = {};
1915
1914
  Ue.prototype.baseIconClass = "";
1916
1915
  Ue.prototype.iconOverridePrefix = "";
1917
- function ht(t) {
1916
+ function Rr(t) {
1918
1917
  t();
1919
1918
  let e = S.debounceRendering, n = [];
1920
1919
  function r(i) {
@@ -2004,11 +2003,11 @@ function Fo(t, e, n, r, i, s, l, o, a, d, c, h, f) {
2004
2003
  }
2005
2004
  class ve extends U {
2006
2005
  shouldComponentUpdate(e, n) {
2007
- return this.debug && console.log(tn(e, this.props), tn(n, this.state)), !jt(this.props, e, this.propEquality) || !jt(this.state, n, this.stateEquality);
2006
+ return this.debug && console.log(en(e, this.props), en(n, this.state)), !Ut(this.props, e, this.propEquality) || !Ut(this.state, n, this.stateEquality);
2008
2007
  }
2009
2008
  // HACK for freakin' React StrictMode
2010
2009
  safeSetState(e) {
2011
- jt(this.state, Object.assign(Object.assign({}, this.state), e), this.stateEquality) || this.setState(e);
2010
+ Ut(this.state, Object.assign(Object.assign({}, this.state), e), this.stateEquality) || this.setState(e);
2012
2011
  }
2013
2012
  }
2014
2013
  ve.addPropsEquality = Wo;
@@ -2030,11 +2029,11 @@ function Vo(t) {
2030
2029
  function Z(t, e) {
2031
2030
  typeof t == "function" ? t(e) : t && (t.current = e);
2032
2031
  }
2033
- class wn extends T {
2032
+ class Cn extends T {
2034
2033
  constructor() {
2035
2034
  super(...arguments), this.id = pe(), this.queuedDomNodes = [], this.currentDomNodes = [], this.handleEl = (e) => {
2036
2035
  const { options: n } = this.context, { generatorName: r } = this.props;
2037
- (!n.customRenderingReplaces || !nn(r, n)) && this.updateElRef(e);
2036
+ (!n.customRenderingReplaces || !tn(r, n)) && this.updateElRef(e);
2038
2037
  }, this.updateElRef = (e) => {
2039
2038
  this.props.elRef && Z(this.props.elRef, e);
2040
2039
  };
@@ -2051,7 +2050,7 @@ class wn extends T {
2051
2050
  u && "html" in f ? o.dangerouslySetInnerHTML = { __html: f.html } : u && "domNodes" in f ? c = Array.prototype.slice.call(f.domNodes) : (u ? Xr(f) : typeof f != "function") ? d = f : h = f;
2052
2051
  }
2053
2052
  } else
2054
- a = !nn(e.generatorName, r);
2053
+ a = !tn(e.generatorName, r);
2055
2054
  return a && s && (d = s(l)), this.queuedDomNodes = c, this.currentGeneratorMeta = h, g(e.elTag, o, d);
2056
2055
  }
2057
2056
  componentDidMount() {
@@ -2081,20 +2080,20 @@ class wn extends T {
2081
2080
  applyQueueudDomNodes() {
2082
2081
  const { queuedDomNodes: e, currentDomNodes: n } = this, r = this.base;
2083
2082
  if (!re(e, n)) {
2084
- n.forEach(mn);
2083
+ n.forEach(pn);
2085
2084
  for (let i of e)
2086
2085
  r.appendChild(i);
2087
2086
  this.currentDomNodes = e;
2088
2087
  }
2089
2088
  }
2090
2089
  }
2091
- wn.addPropsEquality({
2090
+ Cn.addPropsEquality({
2092
2091
  elClasses: re,
2093
2092
  elStyle: V,
2094
2093
  elAttrs: Mo,
2095
2094
  renderProps: V
2096
2095
  });
2097
- function nn(t, e) {
2096
+ function tn(t, e) {
2098
2097
  var n;
2099
2098
  return !!(e.handleCustomRendering && t && (!((n = e.customRenderingMetaMap) === null || n === void 0) && n[t]));
2100
2099
  }
@@ -2118,7 +2117,7 @@ class z extends U {
2118
2117
  const r = _i(e, n, this.handleEl), i = e.children(this.InnerContent, e.renderProps, r);
2119
2118
  return e.elTag ? g(e.elTag, r, i) : i;
2120
2119
  } else
2121
- return g(wn, Object.assign(Object.assign({}, e), { elRef: this.handleEl, elTag: e.elTag || "div", elClasses: (e.elClasses || []).concat(n), renderId: this.context }));
2120
+ return g(Cn, Object.assign(Object.assign({}, e), { elRef: this.handleEl, elTag: e.elTag || "div", elClasses: (e.elClasses || []).concat(n), renderId: this.context }));
2122
2121
  }
2123
2122
  componentDidMount() {
2124
2123
  var e, n;
@@ -2132,13 +2131,13 @@ class z extends U {
2132
2131
  z.contextType = Ti;
2133
2132
  function qo(t, e) {
2134
2133
  const n = t.props;
2135
- return g(wn, Object.assign({ renderProps: n.renderProps, generatorName: n.generatorName, customGenerator: n.customGenerator, defaultGenerator: n.defaultGenerator, renderId: t.context }, e));
2134
+ return g(Cn, Object.assign({ renderProps: n.renderProps, generatorName: n.generatorName, customGenerator: n.customGenerator, defaultGenerator: n.defaultGenerator, renderId: t.context }, e));
2136
2135
  }
2137
2136
  function Qo(t, e) {
2138
2137
  const n = typeof t == "function" ? t(e) : t || [];
2139
2138
  return typeof n == "string" ? [n] : n;
2140
2139
  }
2141
- class gt extends T {
2140
+ class ht extends T {
2142
2141
  render() {
2143
2142
  let { props: e, context: n } = this, { options: r } = n, i = { view: n.viewApi };
2144
2143
  return g(z, Object.assign({}, e, { elTag: e.elTag || "div", elClasses: [
@@ -2173,10 +2172,10 @@ function he(t, e) {
2173
2172
  function $o(t, e) {
2174
2173
  return (t.start === null ? null : t.start.valueOf()) === (e.start === null ? null : e.start.valueOf()) && (t.end === null ? null : t.end.valueOf()) === (e.end === null ? null : e.end.valueOf());
2175
2174
  }
2176
- function Rn(t, e) {
2175
+ function wn(t, e) {
2177
2176
  return (t.end === null || e.start === null || t.end > e.start) && (t.start === null || e.end === null || t.start < e.end);
2178
2177
  }
2179
- function wt(t, e) {
2178
+ function Ct(t, e) {
2180
2179
  return (t.start === null || e.start !== null && e.start >= t.start) && (t.end === null || e.end !== null && e.end <= t.end);
2181
2180
  }
2182
2181
  function Q(t, e) {
@@ -2245,7 +2244,7 @@ class Ii {
2245
2244
  // from its previous value. decremented = -1, incremented = 1 (default).
2246
2245
  build(e, n, r = !0) {
2247
2246
  let { props: i } = this, s, l, o, a, d, c;
2248
- return s = this.buildValidRange(), s = this.trimHiddenDays(s), r && (e = Xo(e, s)), l = this.buildCurrentRangeInfo(e, n), o = /^(year|month|week|day)$/.test(l.unit), a = this.buildRenderRange(this.trimHiddenDays(l.range), l.unit, o), a = this.trimHiddenDays(a), d = a, i.showNonCurrentDates || (d = he(d, l.range)), d = this.adjustActiveRange(d), d = he(d, s), c = Rn(l.range, s), Q(a, e) || (e = a.start), {
2247
+ return s = this.buildValidRange(), s = this.trimHiddenDays(s), r && (e = Xo(e, s)), l = this.buildCurrentRangeInfo(e, n), o = /^(year|month|week|day)$/.test(l.unit), a = this.buildRenderRange(this.trimHiddenDays(l.range), l.unit, o), a = this.trimHiddenDays(a), d = a, i.showNonCurrentDates || (d = he(d, l.range)), d = this.adjustActiveRange(d), d = he(d, s), c = wn(l.range, s), Q(a, e) || (e = a.start), {
2249
2248
  currentDate: e,
2250
2249
  // constraint for where prev/next operations can go and where events can be dragged/resized to.
2251
2250
  // an object with optional start and end properties.
@@ -2285,7 +2284,7 @@ class Ii {
2285
2284
  // Guaranteed to have `range` and `unit` properties. `duration` is optional.
2286
2285
  buildCurrentRangeInfo(e, n) {
2287
2286
  let { props: r } = this, i = null, s = null, l = null, o;
2288
- return r.duration ? (i = r.duration, s = r.durationUnit, l = this.buildRangeFromDuration(e, n, i, s)) : (o = this.props.dayCount) ? (s = "day", l = this.buildRangeFromDayCount(e, n, o)) : (l = this.buildCustomVisibleRange(e)) ? s = r.dateEnv.greatestWholeUnit(l.start, l.end).unit : (i = this.getFallbackDuration(), s = en(i).unit, l = this.buildRangeFromDuration(e, n, i, s)), { duration: i, unit: s, range: l };
2287
+ return r.duration ? (i = r.duration, s = r.durationUnit, l = this.buildRangeFromDuration(e, n, i, s)) : (o = this.props.dayCount) ? (s = "day", l = this.buildRangeFromDayCount(e, n, o)) : (l = this.buildCustomVisibleRange(e)) ? s = r.dateEnv.greatestWholeUnit(l.start, l.end).unit : (i = this.getFallbackDuration(), s = Kt(i).unit, l = this.buildRangeFromDuration(e, n, i, s)), { duration: i, unit: s, range: l };
2289
2288
  }
2290
2289
  getFallbackDuration() {
2291
2290
  return _({ day: 1 });
@@ -2302,7 +2301,7 @@ class Ii {
2302
2301
  let { dateEnv: s, dateAlignment: l } = this.props, o, a, d;
2303
2302
  if (!l) {
2304
2303
  let { dateIncrement: h } = this.props;
2305
- h && F(h) < F(r) ? l = en(h).unit : l = i;
2304
+ h && F(h) < F(r) ? l = Kt(h).unit : l = i;
2306
2305
  }
2307
2306
  Ae(r) <= 1 && this.isHiddenDay(o) && (o = this.skipHiddenDays(o, n), o = k(o));
2308
2307
  function c() {
@@ -2377,7 +2376,7 @@ class Ii {
2377
2376
  return e;
2378
2377
  }
2379
2378
  }
2380
- function _n(t, e, n, r) {
2379
+ function Rn(t, e, n, r) {
2381
2380
  return {
2382
2381
  instanceId: pe(),
2383
2382
  defId: t,
@@ -2411,7 +2410,7 @@ function ge(t, e, n) {
2411
2410
  c || (c = d.allDay ? s.defaultAllDayEventDuration : s.defaultTimedEventDuration);
2412
2411
  let h = ta(d, c, e, r, i.recurringTypes);
2413
2412
  for (let f of h) {
2414
- let u = _n(a, {
2413
+ let u = Rn(a, {
2415
2414
  start: f,
2416
2415
  end: r.add(f, c)
2417
2416
  });
@@ -2434,16 +2433,16 @@ const it = {
2434
2433
  title: String,
2435
2434
  url: String,
2436
2435
  interactive: Boolean
2437
- }, Ni = {
2436
+ }, Oi = {
2438
2437
  start: p,
2439
2438
  end: p,
2440
2439
  date: p,
2441
2440
  allDay: Boolean
2442
- }, na = Object.assign(Object.assign(Object.assign({}, it), Ni), { extendedProps: p });
2443
- function Oi(t, e, n, r, i = Tn(n), s, l) {
2441
+ }, na = Object.assign(Object.assign(Object.assign({}, it), Oi), { extendedProps: p });
2442
+ function Ni(t, e, n, r, i = _n(n), s, l) {
2444
2443
  let { refined: o, extra: a } = Pi(t, n, i), d = ia(e, n), c = ea(o, d, n.dateEnv, n.pluginHooks.recurringTypes);
2445
2444
  if (c) {
2446
- let f = rn(o, a, e ? e.sourceId : "", c.allDay, !!c.duration, n, s);
2445
+ let f = nn(o, a, e ? e.sourceId : "", c.allDay, !!c.duration, n, s);
2447
2446
  return f.recurringDef = {
2448
2447
  typeId: c.typeId,
2449
2448
  typeData: c.typeData,
@@ -2452,18 +2451,18 @@ function Oi(t, e, n, r, i = Tn(n), s, l) {
2452
2451
  }
2453
2452
  let h = ra(o, d, n, r);
2454
2453
  if (h) {
2455
- let f = rn(o, a, e ? e.sourceId : "", h.allDay, h.hasEnd, n, s), u = _n(f.defId, h.range, h.forcedStartTzo, h.forcedEndTzo);
2454
+ let f = nn(o, a, e ? e.sourceId : "", h.allDay, h.hasEnd, n, s), u = Rn(f.defId, h.range, h.forcedStartTzo, h.forcedEndTzo);
2456
2455
  return l && f.publicId && l[f.publicId] && (u.instanceId = l[f.publicId]), { def: f, instance: u };
2457
2456
  }
2458
2457
  return null;
2459
2458
  }
2460
- function Pi(t, e, n = Tn(e)) {
2461
- return An(t, n);
2459
+ function Pi(t, e, n = _n(e)) {
2460
+ return Sn(t, n);
2462
2461
  }
2463
- function Tn(t) {
2464
- return Object.assign(Object.assign(Object.assign({}, pt), na), t.pluginHooks.eventRefiners);
2462
+ function _n(t) {
2463
+ return Object.assign(Object.assign(Object.assign({}, gt), na), t.pluginHooks.eventRefiners);
2465
2464
  }
2466
- function rn(t, e, n, r, i, s, l) {
2465
+ function nn(t, e, n, r, i, s, l) {
2467
2466
  let o = {
2468
2467
  title: t.title || "",
2469
2468
  groupId: t.groupId || "",
@@ -2475,7 +2474,7 @@ function rn(t, e, n, r, i, s, l) {
2475
2474
  allDay: r,
2476
2475
  hasEnd: i,
2477
2476
  interactive: t.interactive,
2478
- ui: mt(t, s),
2477
+ ui: pt(t, s),
2479
2478
  extendedProps: Object.assign(Object.assign({}, t.extendedProps || {}), e)
2480
2479
  };
2481
2480
  for (let a of s.pluginHooks.eventDefMemberAdders)
@@ -2501,20 +2500,20 @@ function ia(t, e) {
2501
2500
  return t && (n = t.defaultAllDay), n == null && (n = e.options.defaultAllDay), n;
2502
2501
  }
2503
2502
  function Le(t, e, n, r, i, s) {
2504
- let l = j(), o = Tn(n);
2503
+ let l = j(), o = _n(n);
2505
2504
  for (let a of t) {
2506
- let d = Oi(a, e, n, r, o, i, s);
2507
- d && sn(d, l);
2505
+ let d = Ni(a, e, n, r, o, i, s);
2506
+ d && rn(d, l);
2508
2507
  }
2509
2508
  return l;
2510
2509
  }
2511
- function sn(t, e = j()) {
2510
+ function rn(t, e = j()) {
2512
2511
  return e.defs[t.def.defId] = t.def, t.instance && (e.instances[t.instance.instanceId] = t.instance), e;
2513
2512
  }
2514
- function xn(t, e) {
2513
+ function Tn(t, e) {
2515
2514
  let n = t.instances[e];
2516
2515
  if (n) {
2517
- let r = t.defs[n.defId], i = Rt(t, (s) => sa(r, s));
2516
+ let r = t.defs[n.defId], i = wt(t, (s) => sa(r, s));
2518
2517
  return i.defs[r.defId] = r, i.instances[n.instanceId] = n, i;
2519
2518
  }
2520
2519
  return j();
@@ -2525,13 +2524,13 @@ function sa(t, e) {
2525
2524
  function j() {
2526
2525
  return { defs: {}, instances: {} };
2527
2526
  }
2528
- function kn(t, e) {
2527
+ function xn(t, e) {
2529
2528
  return {
2530
2529
  defs: Object.assign(Object.assign({}, t.defs), e.defs),
2531
2530
  instances: Object.assign(Object.assign({}, t.instances), e.instances)
2532
2531
  };
2533
2532
  }
2534
- function Rt(t, e) {
2533
+ function wt(t, e) {
2535
2534
  let n = fe(t.defs, e), r = fe(t.instances, (i) => n[i.defId]);
2536
2535
  return { defs: n, instances: r };
2537
2536
  }
@@ -2553,7 +2552,7 @@ function oa(t, e) {
2553
2552
  function Tr(t) {
2554
2553
  return Array.isArray(t) ? t : typeof t == "string" ? t.split(/\s+/) : [];
2555
2554
  }
2556
- const pt = {
2555
+ const gt = {
2557
2556
  display: String,
2558
2557
  editable: Boolean,
2559
2558
  startEditable: Boolean,
@@ -2579,7 +2578,7 @@ const pt = {
2579
2578
  textColor: "",
2580
2579
  classNames: []
2581
2580
  };
2582
- function mt(t, e) {
2581
+ function pt(t, e) {
2583
2582
  let n = oa(t.constraint, e);
2584
2583
  return {
2585
2584
  display: t.display || null,
@@ -2626,7 +2625,7 @@ const da = {
2626
2625
  function Bi(t, e, n = Li(e)) {
2627
2626
  let r;
2628
2627
  if (typeof t == "string" ? r = { url: t } : typeof t == "function" || Array.isArray(t) ? r = { events: t } : typeof t == "object" && t && (r = t), r) {
2629
- let { refined: i, extra: s } = An(r, n), l = ua(i, e);
2628
+ let { refined: i, extra: s } = Sn(r, n), l = ua(i, e);
2630
2629
  if (l)
2631
2630
  return {
2632
2631
  _raw: t,
@@ -2641,14 +2640,14 @@ function Bi(t, e, n = Li(e)) {
2641
2640
  sourceId: pe(),
2642
2641
  sourceDefId: l.sourceDefId,
2643
2642
  meta: l.meta,
2644
- ui: mt(i, e),
2643
+ ui: pt(i, e),
2645
2644
  extendedProps: s
2646
2645
  };
2647
2646
  }
2648
2647
  return null;
2649
2648
  }
2650
2649
  function Li(t) {
2651
- return Object.assign(Object.assign(Object.assign({}, pt), da), t.pluginHooks.eventSourceRefiners);
2650
+ return Object.assign(Object.assign(Object.assign({}, gt), da), t.pluginHooks.eventSourceRefiners);
2652
2651
  }
2653
2652
  function ua(t, e) {
2654
2653
  let n = e.pluginHooks.eventSourceDefs;
@@ -2676,7 +2675,7 @@ function fa(t, e, n, r, i) {
2676
2675
  case "RESET_EVENTS":
2677
2676
  return e.eventStore;
2678
2677
  case "MERGE_EVENTS":
2679
- return kn(t, e.eventStore);
2678
+ return xn(t, e.eventStore);
2680
2679
  case "PREV":
2681
2680
  case "NEXT":
2682
2681
  case "CHANGE_DATE":
@@ -2687,7 +2686,7 @@ function fa(t, e, n, r, i) {
2687
2686
  case "REMOVE_EVENT_SOURCE":
2688
2687
  return ji(t, e.sourceId);
2689
2688
  case "REMOVE_ALL_EVENT_SOURCES":
2690
- return Rt(t, (s) => !s.sourceId);
2689
+ return wt(t, (s) => !s.sourceId);
2691
2690
  case "REMOVE_ALL_EVENTS":
2692
2691
  return j();
2693
2692
  default:
@@ -2698,7 +2697,7 @@ function ha(t, e, n, r, i, s) {
2698
2697
  if (e && // not already removed
2699
2698
  n === e.latestFetchId) {
2700
2699
  let l = Le(Ui(i, e, s), e, s);
2701
- return r && (l = ge(l, r, s)), kn(ji(t, e.sourceId), l);
2700
+ return r && (l = ge(l, r, s)), xn(ji(t, e.sourceId), l);
2702
2701
  }
2703
2702
  return t;
2704
2703
  }
@@ -2725,7 +2724,7 @@ function xr(t, e) {
2725
2724
  return n;
2726
2725
  }
2727
2726
  function pa(t, e, n, r) {
2728
- return n && (e = ge(e, n, r)), kn(t, e);
2727
+ return n && (e = ge(e, n, r)), xn(t, e);
2729
2728
  }
2730
2729
  function kr(t, e, n) {
2731
2730
  let { defs: r } = t, i = Y(t.instances, (s) => r[s.defId].allDay ? s : Object.assign(Object.assign({}, s), { range: {
@@ -2735,7 +2734,7 @@ function kr(t, e, n) {
2735
2734
  return { defs: r, instances: i };
2736
2735
  }
2737
2736
  function ji(t, e) {
2738
- return Rt(t, (n) => n.sourceId !== e);
2737
+ return wt(t, (n) => n.sourceId !== e);
2739
2738
  }
2740
2739
  function ma(t, e) {
2741
2740
  return {
@@ -2755,7 +2754,7 @@ function va(t) {
2755
2754
  }
2756
2755
  return { defIdMap: r, instanceIdMap: i };
2757
2756
  }
2758
- class _t {
2757
+ class Rt {
2759
2758
  constructor() {
2760
2759
  this.handlers = {}, this.thisContext = null;
2761
2760
  }
@@ -2803,7 +2802,7 @@ function Aa(t) {
2803
2802
  return t === !0 ? e = [{}] : Array.isArray(t) ? e = t.filter((n) => n.daysOfWeek) : typeof t == "object" && t ? e = [t] : e = [], e = e.map((n) => Object.assign(Object.assign({}, Ea), n)), e;
2804
2803
  }
2805
2804
  function zi(t, e, n) {
2806
- n.emitter.trigger("select", Object.assign(Object.assign({}, Mn(t, n)), { jsEvent: e ? e.origEvent : null, view: n.viewApi || n.calendarApi.view }));
2805
+ n.emitter.trigger("select", Object.assign(Object.assign({}, kn(t, n)), { jsEvent: e ? e.origEvent : null, view: n.viewApi || n.calendarApi.view }));
2807
2806
  }
2808
2807
  function Da(t, e) {
2809
2808
  e.emitter.trigger("unselect", {
@@ -2811,7 +2810,7 @@ function Da(t, e) {
2811
2810
  view: e.viewApi || e.calendarApi.view
2812
2811
  });
2813
2812
  }
2814
- function Mn(t, e) {
2813
+ function kn(t, e) {
2815
2814
  let n = {};
2816
2815
  for (let r of e.pluginHooks.dateSpanTransforms)
2817
2816
  Object.assign(n, r(t, e));
@@ -2821,8 +2820,8 @@ function Mr(t, e, n) {
2821
2820
  let { dateEnv: r, options: i } = n, s = e;
2822
2821
  return t ? (s = k(s), s = r.add(s, i.defaultAllDayEventDuration)) : s = r.add(s, i.defaultTimedEventDuration), s;
2823
2822
  }
2824
- function In(t, e, n, r) {
2825
- let i = vt(t.defs, e), s = j();
2823
+ function Mn(t, e, n, r) {
2824
+ let i = mt(t.defs, e), s = j();
2826
2825
  for (let l in t.defs) {
2827
2826
  let o = t.defs[l];
2828
2827
  s.defs[l] = Ca(o, i[l], n, r);
@@ -2888,7 +2887,7 @@ class ye {
2888
2887
  return this.internalEventSource.meta.format;
2889
2888
  }
2890
2889
  }
2891
- class N {
2890
+ class O {
2892
2891
  // instance will be null if expressing a recurring event that has no current instances,
2893
2892
  // OR if trying to validate an incoming external event that has no dates assigned
2894
2893
  constructor(e, n, r) {
@@ -2898,7 +2897,7 @@ class N {
2898
2897
  TODO: make event struct more responsible for this
2899
2898
  */
2900
2899
  setProp(e, n) {
2901
- if (e in Ni)
2900
+ if (e in Oi)
2902
2901
  console.warn("Could not set date-related prop 'name'. Use one of the date-related methods instead.");
2903
2902
  else if (e === "id")
2904
2903
  n = it[e](n), this.mutate({
@@ -2909,8 +2908,8 @@ class N {
2909
2908
  n = it[e](n), this.mutate({
2910
2909
  standardProps: { [e]: n }
2911
2910
  });
2912
- else if (e in pt) {
2913
- let r = pt[e](n);
2911
+ else if (e in gt) {
2912
+ let r = gt[e](n);
2914
2913
  e === "color" ? r = { backgroundColor: n, borderColor: n } : e === "editable" ? r = { startEditable: n, durationEditable: n } : r = { [e]: n }, this.mutate({
2915
2914
  standardProps: { ui: r }
2916
2915
  });
@@ -2968,7 +2967,7 @@ class N {
2968
2967
  i == null && (i = this._context.options.allDayMaintainDuration), this._def.allDay !== e && (r.hasEnd = i), this.mutate({ standardProps: r });
2969
2968
  }
2970
2969
  formatRange(e) {
2971
- let { dateEnv: n } = this._context, r = this._instance, i = O(e);
2970
+ let { dateEnv: n } = this._context, r = this._instance, i = N(e);
2972
2971
  return this._def.hasEnd ? n.formatRange(r.range.start, r.range.end, i, {
2973
2972
  forcedStartTzo: r.forcedStartTzo,
2974
2973
  forcedEndTzo: r.forcedEndTzo
@@ -2979,8 +2978,8 @@ class N {
2979
2978
  mutate(e) {
2980
2979
  let n = this._instance;
2981
2980
  if (n) {
2982
- let r = this._def, i = this._context, { eventStore: s } = i.getCurrentData(), l = xn(s, n.instanceId);
2983
- l = In(l, {
2981
+ let r = this._def, i = this._context, { eventStore: s } = i.getCurrentData(), l = Tn(s, n.instanceId);
2982
+ l = Mn(l, {
2984
2983
  "": {
2985
2984
  display: "",
2986
2985
  startEditable: !0,
@@ -2994,7 +2993,7 @@ class N {
2994
2993
  classNames: []
2995
2994
  }
2996
2995
  }, e, i);
2997
- let a = new N(i, r, n);
2996
+ let a = new O(i, r, n);
2998
2997
  this._def = l.defs[r.defId], this._instance = l.instances[n.instanceId], i.dispatch({
2999
2998
  type: "MERGE_EVENTS",
3000
2999
  eventStore: l
@@ -3125,12 +3124,12 @@ function de(t, e, n) {
3125
3124
  let { defs: r, instances: i } = t, s = [], l = n ? n.instanceId : "";
3126
3125
  for (let o in i) {
3127
3126
  let a = i[o], d = r[a.defId];
3128
- a.instanceId !== l && s.push(new N(e, d, a));
3127
+ a.instanceId !== l && s.push(new O(e, d, a));
3129
3128
  }
3130
3129
  return s;
3131
3130
  }
3132
3131
  function Ir(t, e, n, r) {
3133
- let i = {}, s = {}, l = {}, o = [], a = [], d = vt(t.defs, e);
3132
+ let i = {}, s = {}, l = {}, o = [], a = [], d = mt(t.defs, e);
3134
3133
  for (let c in t.defs) {
3135
3134
  let h = t.defs[c];
3136
3135
  d[h.defId].display === "inverse-background" && (h.groupId ? (i[h.groupId] = [], l[h.groupId] || (l[h.groupId] = h)) : s[c] = []);
@@ -3177,14 +3176,14 @@ function Ir(t, e, n, r) {
3177
3176
  function Ra(t) {
3178
3177
  return t.ui.display === "background" || t.ui.display === "inverse-background";
3179
3178
  }
3180
- function Nr(t, e) {
3179
+ function Or(t, e) {
3181
3180
  t.fcSeg = e;
3182
3181
  }
3183
3182
  function we(t) {
3184
3183
  return t.fcSeg || t.parentNode.fcSeg || // for the harness
3185
3184
  null;
3186
3185
  }
3187
- function vt(t, e) {
3186
+ function mt(t, e) {
3188
3187
  return Y(t, (n) => Wi(n, e));
3189
3188
  }
3190
3189
  function Wi(t, e) {
@@ -3233,7 +3232,7 @@ function Gi(t, e, n, r, i, s, l) {
3233
3232
  function ne(t, e, n) {
3234
3233
  let r = t.eventRange.range;
3235
3234
  return {
3236
- isPast: r.end <= (n || e.start),
3235
+ isPast: r.end < (n || e.start),
3237
3236
  isFuture: r.start >= (n || e.end),
3238
3237
  isToday: e && Q(e, r.start)
3239
3238
  };
@@ -3253,7 +3252,7 @@ function Qi(t, e) {
3253
3252
  return o == null && (o = n.interactive, o == null && (o = !!s.hasHandlers("eventClick"))), o ? Si((a) => {
3254
3253
  s.trigger("eventClick", {
3255
3254
  el: a.target,
3256
- event: new N(e, n, r),
3255
+ event: new O(e, n, r),
3257
3256
  jsEvent: a,
3258
3257
  view: e.viewApi
3259
3258
  });
@@ -3264,8 +3263,8 @@ const Ia = {
3264
3263
  end: p,
3265
3264
  allDay: Boolean
3266
3265
  };
3267
- function Na(t, e, n) {
3268
- let r = Oa(t, e), { range: i } = r;
3266
+ function Oa(t, e, n) {
3267
+ let r = Na(t, e), { range: i } = r;
3269
3268
  if (!i.start)
3270
3269
  return null;
3271
3270
  if (!i.end) {
@@ -3275,8 +3274,8 @@ function Na(t, e, n) {
3275
3274
  }
3276
3275
  return r;
3277
3276
  }
3278
- function Oa(t, e) {
3279
- let { refined: n, extra: r } = An(t, Ia), i = n.start ? e.createMarkerMeta(n.start) : null, s = n.end ? e.createMarkerMeta(n.end) : null, { allDay: l } = n;
3277
+ function Na(t, e) {
3278
+ let { refined: n, extra: r } = Sn(t, Ia), i = n.start ? e.createMarkerMeta(n.start) : null, s = n.end ? e.createMarkerMeta(n.end) : null, { allDay: l } = n;
3280
3279
  return l == null && (l = i && i.isTimeUnspecified && (!s || s.isTimeUnspecified)), Object.assign({ range: {
3281
3280
  start: i ? i.marker : null,
3282
3281
  end: s ? s.marker : null
@@ -3309,7 +3308,7 @@ function Zi(t, e, n) {
3309
3308
  };
3310
3309
  }
3311
3310
  function La(t, e, n) {
3312
- let r = Pi({ editable: !1 }, n), i = rn(
3311
+ let r = Pi({ editable: !1 }, n), i = nn(
3313
3312
  r.refined,
3314
3313
  r.extra,
3315
3314
  "",
@@ -3322,7 +3321,7 @@ function La(t, e, n) {
3322
3321
  return {
3323
3322
  def: i,
3324
3323
  ui: Wi(i, e),
3325
- instance: _n(i.defId, t.range),
3324
+ instance: Rn(i.defId, t.range),
3326
3325
  range: t.range,
3327
3326
  isStart: !0,
3328
3327
  isEnd: !0
@@ -3336,7 +3335,7 @@ function Ua(t, e, n) {
3336
3335
  }, l = t(i, s);
3337
3336
  l && typeof l.then == "function" && l.then(i, s);
3338
3337
  }
3339
- class Or extends Error {
3338
+ class Nr extends Error {
3340
3339
  constructor(e, n) {
3341
3340
  super(e), this.response = n;
3342
3341
  }
@@ -3351,14 +3350,14 @@ function ja(t, e, n) {
3351
3350
  }), fetch(e, r).then((i) => {
3352
3351
  if (i.ok)
3353
3352
  return i.json().then((s) => [s, i], () => {
3354
- throw new Or("Failure parsing JSON", i);
3353
+ throw new Nr("Failure parsing JSON", i);
3355
3354
  });
3356
- throw new Or("Request failed", i);
3355
+ throw new Nr("Request failed", i);
3357
3356
  });
3358
3357
  }
3359
- let zt;
3358
+ let jt;
3360
3359
  function $i() {
3361
- return zt == null && (zt = za()), zt;
3360
+ return jt == null && (jt = za()), jt;
3362
3361
  }
3363
3362
  function za() {
3364
3363
  if (typeof document > "u")
@@ -3373,13 +3372,9 @@ class Fa extends T {
3373
3372
  super(...arguments), this.state = {
3374
3373
  forPrint: !1
3375
3374
  }, this.handleBeforePrint = () => {
3376
- ht(() => {
3377
- this.setState({ forPrint: !0 });
3378
- });
3375
+ this.setState({ forPrint: !0 });
3379
3376
  }, this.handleAfterPrint = () => {
3380
- ht(() => {
3381
- this.setState({ forPrint: !1 });
3382
- });
3377
+ this.setState({ forPrint: !1 });
3383
3378
  };
3384
3379
  }
3385
3380
  render() {
@@ -3415,12 +3410,12 @@ function Wa(t, e) {
3415
3410
  isHitComboAllowed: e.isHitComboAllowed || null
3416
3411
  };
3417
3412
  }
3418
- function Nn(t) {
3413
+ function In(t) {
3419
3414
  return {
3420
3415
  [t.component.uid]: t
3421
3416
  };
3422
3417
  }
3423
- const ln = {};
3418
+ const sn = {};
3424
3419
  class Va {
3425
3420
  getCurrentData() {
3426
3421
  return this.currentDataManager.getCurrentData();
@@ -3570,12 +3565,12 @@ class Va {
3570
3565
  // -----------------------------------------------------------------------------------------------------------------
3571
3566
  formatDate(e, n) {
3572
3567
  let { dateEnv: r } = this.getCurrentData();
3573
- return r.format(r.createMarker(e), O(n));
3568
+ return r.format(r.createMarker(e), N(n));
3574
3569
  }
3575
3570
  // `settings` is for formatter AND isEndExclusive
3576
3571
  formatRange(e, n, r) {
3577
3572
  let { dateEnv: i } = this.getCurrentData();
3578
- return i.formatRange(i.createMarker(e), i.createMarker(n), O(r), r);
3573
+ return i.formatRange(i.createMarker(e), i.createMarker(n), N(r), r);
3579
3574
  }
3580
3575
  formatIso(e, n) {
3581
3576
  let { dateEnv: r } = this.getCurrentData();
@@ -3592,7 +3587,7 @@ class Va {
3592
3587
  start: e,
3593
3588
  end: n
3594
3589
  };
3595
- let i = this.getCurrentData(), s = Na(r, i.dateEnv, _({ days: 1 }));
3590
+ let i = this.getCurrentData(), s = Oa(r, i.dateEnv, _({ days: 1 }));
3596
3591
  s && (this.dispatch({ type: "SELECT_DATES", selection: s }), zi(s, null, i));
3597
3592
  }
3598
3593
  unselect(e) {
@@ -3602,11 +3597,11 @@ class Va {
3602
3597
  // Public Events API
3603
3598
  // -----------------------------------------------------------------------------------------------------------------
3604
3599
  addEvent(e, n) {
3605
- if (e instanceof N) {
3600
+ if (e instanceof O) {
3606
3601
  let l = e._def, o = e._instance;
3607
3602
  return this.getCurrentData().eventStore.defs[l.defId] || (this.dispatch({
3608
3603
  type: "ADD_EVENTS",
3609
- eventStore: sn({ def: l, instance: o })
3604
+ eventStore: rn({ def: l, instance: o })
3610
3605
  // TODO: better util for two args?
3611
3606
  }), this.triggerEventAdd(e)), e;
3612
3607
  }
@@ -3614,19 +3609,19 @@ class Va {
3614
3609
  if (n instanceof ye)
3615
3610
  i = n.internalEventSource;
3616
3611
  else if (typeof n == "boolean")
3617
- n && ([i] = Cn(r.eventSources));
3612
+ n && ([i] = Dn(r.eventSources));
3618
3613
  else if (n != null) {
3619
3614
  let l = this.getEventSourceById(n);
3620
3615
  if (!l)
3621
3616
  return console.warn(`Could not find an event source with ID "${n}"`), null;
3622
3617
  i = l.internalEventSource;
3623
3618
  }
3624
- let s = Oi(e, i, r, !1);
3619
+ let s = Ni(e, i, r, !1);
3625
3620
  if (s) {
3626
- let l = new N(r, s.def, s.def.recurringDef ? null : s.instance);
3621
+ let l = new O(r, s.def, s.def.recurringDef ? null : s.instance);
3627
3622
  return this.dispatch({
3628
3623
  type: "ADD_EVENTS",
3629
- eventStore: sn(s)
3624
+ eventStore: rn(s)
3630
3625
  }), this.triggerEventAdd(l), l;
3631
3626
  }
3632
3627
  return null;
@@ -3652,11 +3647,11 @@ class Va {
3652
3647
  let l = r[s];
3653
3648
  if (l.publicId === e) {
3654
3649
  if (l.recurringDef)
3655
- return new N(n, l, null);
3650
+ return new O(n, l, null);
3656
3651
  for (let o in i) {
3657
3652
  let a = i[o];
3658
3653
  if (a.defId === l.defId)
3659
- return new N(n, l, a);
3654
+ return new O(n, l, a);
3660
3655
  }
3661
3656
  }
3662
3657
  }
@@ -3738,7 +3733,7 @@ function Ya(t, e) {
3738
3733
  top: t.top - e.top
3739
3734
  };
3740
3735
  }
3741
- const Ft = j();
3736
+ const zt = j();
3742
3737
  class Za {
3743
3738
  constructor() {
3744
3739
  this.getKeysForEventDefs = A(this._getKeysForEventDefs), this.splitDateSelection = A(this._splitDateSpan), this.splitEventStore = A(this._splitEventStore), this.splitIndividualUi = A(this._splitIndividualUi), this.splitEventDrag = A(this._splitInteraction), this.splitEventResize = A(this._splitInteraction), this.eventUiBuilders = {};
@@ -3747,7 +3742,7 @@ class Za {
3747
3742
  let n = this.getKeyInfo(e), r = this.getKeysForEventDefs(e.eventStore), i = this.splitDateSelection(e.dateSelection), s = this.splitIndividualUi(e.eventUiBases, r), l = this.splitEventStore(e.eventStore, r), o = this.splitEventDrag(e.eventDrag), a = this.splitEventResize(e.eventResize), d = {};
3748
3743
  this.eventUiBuilders = Y(n, (c, h) => this.eventUiBuilders[h] || A($a));
3749
3744
  for (let c in n) {
3750
- let h = n[c], f = l[c] || Ft, u = this.eventUiBuilders[c];
3745
+ let h = n[c], f = l[c] || zt, u = this.eventUiBuilders[c];
3751
3746
  d[c] = {
3752
3747
  businessHours: h.businessHours || e.businessHours,
3753
3748
  dateSelection: i[c] || null,
@@ -3797,8 +3792,8 @@ class Za {
3797
3792
  if (e) {
3798
3793
  let r = this._splitEventStore(e.affectedEvents, this._getKeysForEventDefs(e.affectedEvents)), i = this._getKeysForEventDefs(e.mutatedEvents), s = this._splitEventStore(e.mutatedEvents, i), l = (o) => {
3799
3794
  n[o] || (n[o] = {
3800
- affectedEvents: r[o] || Ft,
3801
- mutatedEvents: s[o] || Ft,
3795
+ affectedEvents: r[o] || zt,
3796
+ mutatedEvents: s[o] || zt,
3802
3797
  isEvent: e.isEvent
3803
3798
  });
3804
3799
  };
@@ -3835,8 +3830,8 @@ function On(t, e) {
3835
3830
  ];
3836
3831
  return t.isDisabled ? n.push("fc-day-disabled") : (t.isToday && (n.push("fc-day-today"), n.push(e.getClass("today"))), t.isPast && n.push("fc-day-past"), t.isFuture && n.push("fc-day-future"), t.isOther && n.push("fc-day-other")), n;
3837
3832
  }
3838
- const Xa = O({ year: "numeric", month: "long", day: "numeric" }), Ja = O({ week: "long" });
3839
- function bt(t, e, n = "day", r = !0) {
3833
+ const Xa = N({ year: "numeric", month: "long", day: "numeric" }), Ja = N({ week: "long" });
3834
+ function vt(t, e, n = "day", r = !0) {
3840
3835
  const { dateEnv: i, options: s, calendarApi: l } = t;
3841
3836
  let o = i.format(e, n === "week" ? Ja : Xa);
3842
3837
  if (s.navLinks) {
@@ -3845,17 +3840,17 @@ function bt(t, e, n = "day", r = !0) {
3845
3840
  let h = n === "day" ? s.navLinkDayClick : n === "week" ? s.navLinkWeekClick : null;
3846
3841
  typeof h == "function" ? h.call(l, i.toDate(e), c) : (typeof h == "string" && (n = h), l.zoomTo(e, n));
3847
3842
  };
3848
- return Object.assign({ title: Oe(s.navLinkHint, [o, a], o), "data-navlink": "" }, r ? Ei(d) : { onClick: d });
3843
+ return Object.assign({ title: Ne(s.navLinkHint, [o, a], o), "data-navlink": "" }, r ? Ei(d) : { onClick: d });
3849
3844
  }
3850
3845
  return { "aria-label": o };
3851
3846
  }
3852
- let Wt = null;
3847
+ let Ft = null;
3853
3848
  function Ka() {
3854
- return Wt === null && (Wt = ec()), Wt;
3849
+ return Ft === null && (Ft = ec()), Ft;
3855
3850
  }
3856
3851
  function ec() {
3857
3852
  let t = document.createElement("div");
3858
- Ne(t, {
3853
+ Oe(t, {
3859
3854
  position: "absolute",
3860
3855
  top: -1e3,
3861
3856
  left: 0,
@@ -3865,11 +3860,11 @@ function ec() {
3865
3860
  direction: "rtl"
3866
3861
  }), t.innerHTML = "<div></div>", document.body.appendChild(t);
3867
3862
  let n = t.firstChild.getBoundingClientRect().left > t.getBoundingClientRect().left;
3868
- return mn(t), n;
3863
+ return pn(t), n;
3869
3864
  }
3870
- let Vt;
3865
+ let Wt;
3871
3866
  function tc() {
3872
- return Vt || (Vt = nc()), Vt;
3867
+ return Wt || (Wt = nc()), Wt;
3873
3868
  }
3874
3869
  function nc() {
3875
3870
  let t = document.createElement("div");
@@ -3896,7 +3891,7 @@ function rc(t, e = !1) {
3896
3891
  return Ka() && n.direction === "rtl" ? c.scrollbarLeft = a : c.scrollbarRight = a, e && (c.paddingLeft = parseInt(n.paddingLeft, 10) || 0, c.paddingRight = parseInt(n.paddingRight, 10) || 0, c.paddingTop = parseInt(n.paddingTop, 10) || 0, c.paddingBottom = parseInt(n.paddingBottom, 10) || 0), c;
3897
3892
  }
3898
3893
  function ic(t, e = !1, n) {
3899
- let r = n ? t.getBoundingClientRect() : Pn(t), i = rc(t, e), s = {
3894
+ let r = n ? t.getBoundingClientRect() : Nn(t), i = rc(t, e), s = {
3900
3895
  left: r.left + i.borderLeft + i.scrollbarLeft,
3901
3896
  right: r.right - i.borderRight - i.scrollbarRight,
3902
3897
  top: r.top + i.borderTop,
@@ -3904,13 +3899,13 @@ function ic(t, e = !1, n) {
3904
3899
  };
3905
3900
  return e && (s.left += i.paddingLeft, s.right -= i.paddingRight, s.top += i.paddingTop, s.bottom -= i.paddingBottom), s;
3906
3901
  }
3907
- function Pn(t) {
3902
+ function Nn(t) {
3908
3903
  let e = t.getBoundingClientRect();
3909
3904
  return {
3910
- left: e.left + window.scrollX,
3911
- top: e.top + window.scrollY,
3912
- right: e.right + window.scrollX,
3913
- bottom: e.bottom + window.scrollY
3905
+ left: e.left + window.pageXOffset,
3906
+ top: e.top + window.pageYOffset,
3907
+ right: e.right + window.pageXOffset,
3908
+ bottom: e.bottom + window.pageYOffset
3914
3909
  };
3915
3910
  }
3916
3911
  function sc(t) {
@@ -3995,7 +3990,7 @@ function Ye(t, e) {
3995
3990
  return !1;
3996
3991
  return !0;
3997
3992
  }
3998
- class Hn {
3993
+ class Pn {
3999
3994
  getMaxScrollTop() {
4000
3995
  return this.getScrollHeight() - this.getClientHeight();
4001
3996
  }
@@ -4021,7 +4016,7 @@ class Hn {
4021
4016
  return this.getScrollLeft() < this.getMaxScrollLeft();
4022
4017
  }
4023
4018
  }
4024
- class lc extends Hn {
4019
+ class lc extends Pn {
4025
4020
  constructor(e) {
4026
4021
  super(), this.el = e;
4027
4022
  }
@@ -4050,18 +4045,18 @@ class lc extends Hn {
4050
4045
  return this.el.clientWidth;
4051
4046
  }
4052
4047
  }
4053
- class oc extends Hn {
4048
+ class oc extends Pn {
4054
4049
  getScrollTop() {
4055
- return window.scrollY;
4050
+ return window.pageYOffset;
4056
4051
  }
4057
4052
  getScrollLeft() {
4058
- return window.scrollX;
4053
+ return window.pageXOffset;
4059
4054
  }
4060
4055
  setScrollTop(e) {
4061
- window.scroll(window.scrollX, e);
4056
+ window.scroll(window.pageXOffset, e);
4062
4057
  }
4063
4058
  setScrollLeft(e) {
4064
- window.scroll(e, window.scrollY);
4059
+ window.scroll(e, window.pageYOffset);
4065
4060
  }
4066
4061
  getScrollWidth() {
4067
4062
  return document.documentElement.scrollWidth;
@@ -4101,7 +4096,7 @@ class G extends T {
4101
4096
  }
4102
4097
  }
4103
4098
  class ts {
4104
- constructor(e = (n) => n.thickness || 1) {
4099
+ constructor(e = (n) => n.thickness) {
4105
4100
  this.getEntryThickness = e, this.strictOrder = !1, this.allowReslicing = !1, this.maxCoord = -1, this.maxStackCnt = -1, this.levelCoords = [], this.entriesByLevel = [], this.stackCnts = {};
4106
4101
  }
4107
4102
  addSegs(e) {
@@ -4112,47 +4107,43 @@ class ts {
4112
4107
  }
4113
4108
  insertEntry(e, n) {
4114
4109
  let r = this.findInsertion(e);
4115
- this.isInsertionValid(r, e) ? this.insertEntryAt(e, r) : this.handleInvalidInsertion(r, e, n);
4110
+ return this.isInsertionValid(r, e) ? (this.insertEntryAt(e, r), 1) : this.handleInvalidInsertion(r, e, n);
4116
4111
  }
4117
4112
  isInsertionValid(e, n) {
4118
4113
  return (this.maxCoord === -1 || e.levelCoord + this.getEntryThickness(n) <= this.maxCoord) && (this.maxStackCnt === -1 || e.stackCnt < this.maxStackCnt);
4119
4114
  }
4115
+ // returns number of new entries inserted
4120
4116
  handleInvalidInsertion(e, n, r) {
4121
- if (this.allowReslicing && e.touchingEntry) {
4122
- const i = Object.assign(Object.assign({}, n), { span: Bn(n.span, e.touchingEntry.span) });
4123
- r.push(i), this.splitEntry(n, e.touchingEntry, r);
4124
- } else
4125
- r.push(n);
4117
+ return this.allowReslicing && e.touchingEntry ? this.splitEntry(n, e.touchingEntry, r) : (r.push(n), 0);
4126
4118
  }
4127
- /*
4128
- Does NOT add what hit the `barrier` into hiddenEntries. Should already be done.
4129
- */
4130
4119
  splitEntry(e, n, r) {
4131
- let i = e.span, s = n.span;
4132
- i.start < s.start && this.insertEntry({
4120
+ let i = 0, s = [], l = e.span, o = n.span;
4121
+ return l.start < o.start && (i += this.insertEntry({
4122
+ index: e.index,
4123
+ thickness: e.thickness,
4124
+ span: { start: l.start, end: o.start }
4125
+ }, s)), l.end > o.end && (i += this.insertEntry({
4133
4126
  index: e.index,
4134
4127
  thickness: e.thickness,
4135
- span: { start: i.start, end: s.start }
4136
- }, r), i.end > s.end && this.insertEntry({
4128
+ span: { start: o.end, end: l.end }
4129
+ }, s)), i ? (r.push({
4137
4130
  index: e.index,
4138
4131
  thickness: e.thickness,
4139
- span: { start: s.end, end: i.end }
4140
- }, r);
4132
+ span: Hn(o, l)
4133
+ // guaranteed to intersect
4134
+ }, ...s), i) : (r.push(e), 0);
4141
4135
  }
4142
4136
  insertEntryAt(e, n) {
4143
4137
  let { entriesByLevel: r, levelCoords: i } = this;
4144
- n.lateral === -1 ? (Gt(i, n.level, n.levelCoord), Gt(r, n.level, [e])) : Gt(r[n.level], n.lateral, e), this.stackCnts[ue(e)] = n.stackCnt;
4138
+ n.lateral === -1 ? (Vt(i, n.level, n.levelCoord), Vt(r, n.level, [e])) : Vt(r[n.level], n.lateral, e), this.stackCnts[ue(e)] = n.stackCnt;
4145
4139
  }
4146
- /*
4147
- does not care about limits
4148
- */
4149
4140
  findInsertion(e) {
4150
4141
  let { levelCoords: n, entriesByLevel: r, strictOrder: i, stackCnts: s } = this, l = n.length, o = 0, a = -1, d = -1, c = null, h = 0;
4151
4142
  for (let m = 0; m < l; m += 1) {
4152
- const v = n[m];
4143
+ let v = n[m];
4153
4144
  if (!i && v >= o + this.getEntryThickness(e))
4154
4145
  break;
4155
- let b = r[m], E, y = an(b, e.span.start, on), D = y[0] + y[1];
4146
+ let b = r[m], E, y = on(b, e.span.start, ln), D = y[0] + y[1];
4156
4147
  for (
4157
4148
  ;
4158
4149
  // loop through entries that horizontally intersect
@@ -4168,7 +4159,7 @@ class ts {
4168
4159
  for (f = a + 1; f < l && n[f] < o; )
4169
4160
  f += 1;
4170
4161
  let u = -1;
4171
- return f < l && n[f] === o && (u = an(r[f], e.span.end, on)[0]), {
4162
+ return f < l && n[f] === o && (u = on(r[f], e.span.end, ln)[0]), {
4172
4163
  touchingLevel: a,
4173
4164
  touchingLateral: d,
4174
4165
  touchingEntry: c,
@@ -4189,7 +4180,7 @@ class ts {
4189
4180
  return i;
4190
4181
  }
4191
4182
  }
4192
- function on(t) {
4183
+ function ln(t) {
4193
4184
  return t.span.end;
4194
4185
  }
4195
4186
  function ue(t) {
@@ -4203,7 +4194,7 @@ function ac(t) {
4203
4194
  entries: [n]
4204
4195
  };
4205
4196
  for (let s of e)
4206
- Bn(s.span, i.span) ? i = {
4197
+ Hn(s.span, i.span) ? i = {
4207
4198
  entries: s.entries.concat(i.entries),
4208
4199
  span: cc(s.span, i.span)
4209
4200
  } : r.push(s);
@@ -4217,14 +4208,14 @@ function cc(t, e) {
4217
4208
  end: Math.max(t.end, e.end)
4218
4209
  };
4219
4210
  }
4220
- function Bn(t, e) {
4211
+ function Hn(t, e) {
4221
4212
  let n = Math.max(t.start, e.start), r = Math.min(t.end, e.end);
4222
4213
  return n < r ? { start: n, end: r } : null;
4223
4214
  }
4224
- function Gt(t, e, n) {
4215
+ function Vt(t, e, n) {
4225
4216
  t.splice(e, 0, n);
4226
4217
  }
4227
- function an(t, e, n) {
4218
+ function on(t, e, n) {
4228
4219
  let r = 0, i = t.length;
4229
4220
  if (!i || e < n(t[r]))
4230
4221
  return [0, 0];
@@ -4243,7 +4234,7 @@ function an(t, e, n) {
4243
4234
  }
4244
4235
  class dc {
4245
4236
  constructor(e, n) {
4246
- this.emitter = new _t();
4237
+ this.emitter = new Rt();
4247
4238
  }
4248
4239
  destroy() {
4249
4240
  }
@@ -4254,9 +4245,9 @@ class dc {
4254
4245
  setAutoScrollEnabled(e) {
4255
4246
  }
4256
4247
  }
4257
- const Ln = {};
4248
+ const Bn = {};
4258
4249
  function uc(t, e) {
4259
- return !t || e > 10 ? O({ weekday: "short" }) : e > 1 ? O({ weekday: "short", month: "numeric", day: "numeric", omitCommas: !0 }) : O({ weekday: "long" });
4250
+ return !t || e > 10 ? N({ weekday: "short" }) : e > 1 ? N({ weekday: "short", month: "numeric", day: "numeric", omitCommas: !0 }) : N({ weekday: "long" });
4260
4251
  }
4261
4252
  const ns = "fc-col-header-cell";
4262
4253
  function rs(t) {
@@ -4264,14 +4255,14 @@ function rs(t) {
4264
4255
  }
4265
4256
  class fc extends T {
4266
4257
  render() {
4267
- let { dateEnv: e, options: n, theme: r, viewApi: i } = this.context, { props: s } = this, { date: l, dateProfile: o } = s, a = Ji(l, s.todayRange, null, o), d = [ns].concat(On(a, r)), c = e.format(l, s.dayHeaderFormat), h = !a.isDisabled && s.colCnt > 1 ? bt(this.context, l) : {}, f = Object.assign(Object.assign(Object.assign({ date: e.toDate(l), view: i }, s.extraRenderProps), { text: c }), a);
4268
- return g(z, { elTag: "th", elClasses: d, elAttrs: Object.assign({ role: "columnheader", colSpan: s.colSpan, "data-date": a.isDisabled ? void 0 : En(l) }, s.extraDataAttrs), renderProps: f, generatorName: "dayHeaderContent", customGenerator: n.dayHeaderContent, defaultGenerator: rs, classNameGenerator: n.dayHeaderClassNames, didMount: n.dayHeaderDidMount, willUnmount: n.dayHeaderWillUnmount }, (u) => g("div", { className: "fc-scrollgrid-sync-inner" }, !a.isDisabled && g(u, { elTag: "a", elAttrs: h, elClasses: [
4258
+ let { dateEnv: e, options: n, theme: r, viewApi: i } = this.context, { props: s } = this, { date: l, dateProfile: o } = s, a = Ji(l, s.todayRange, null, o), d = [ns].concat(On(a, r)), c = e.format(l, s.dayHeaderFormat), h = !a.isDisabled && s.colCnt > 1 ? vt(this.context, l) : {}, f = Object.assign(Object.assign(Object.assign({ date: e.toDate(l), view: i }, s.extraRenderProps), { text: c }), a);
4259
+ return g(z, { elTag: "th", elClasses: d, elAttrs: Object.assign({ role: "columnheader", colSpan: s.colSpan, "data-date": a.isDisabled ? void 0 : yn(l) }, s.extraDataAttrs), renderProps: f, generatorName: "dayHeaderContent", customGenerator: n.dayHeaderContent, defaultGenerator: rs, classNameGenerator: n.dayHeaderClassNames, didMount: n.dayHeaderDidMount, willUnmount: n.dayHeaderWillUnmount }, (u) => g("div", { className: "fc-scrollgrid-sync-inner" }, !a.isDisabled && g(u, { elTag: "a", elAttrs: h, elClasses: [
4269
4260
  "fc-col-header-cell-cushion",
4270
4261
  s.isSticky && "fc-sticky"
4271
4262
  ] })));
4272
4263
  }
4273
4264
  }
4274
- const hc = O({ weekday: "long" });
4265
+ const hc = N({ weekday: "long" });
4275
4266
  class gc extends T {
4276
4267
  render() {
4277
4268
  let { props: e } = this, { dateEnv: n, theme: r, viewApi: i, options: s } = this.context, l = H(/* @__PURE__ */ new Date(2592e5), e.dow), o = {
@@ -4536,12 +4527,12 @@ function Ze(t, e) {
4536
4527
  function as(t, e, n) {
4537
4528
  let { instances: r } = t.mutatedEvents;
4538
4529
  for (let i in r)
4539
- if (!wt(e.validRange, r[i].range))
4530
+ if (!Ct(e.validRange, r[i].range))
4540
4531
  return !1;
4541
4532
  return cs({ eventDrag: t }, n);
4542
4533
  }
4543
4534
  function mc(t, e, n) {
4544
- return wt(e.validRange, t.range) ? cs({ dateSelection: t }, n) : !1;
4535
+ return Ct(e.validRange, t.range) ? cs({ dateSelection: t }, n) : !1;
4545
4536
  }
4546
4537
  function cs(t, e) {
4547
4538
  let n = e.getCurrentData(), r = Object.assign({ businessHours: n.businessHours, dateSelection: "", eventStore: n.eventStore, eventUiBases: n.eventUiBases, eventSelection: "", eventDrag: null, eventResize: null }, t);
@@ -4551,9 +4542,9 @@ function vc(t, e, n = {}, r) {
4551
4542
  return !(t.eventDrag && !bc(t, e, n, r) || t.dateSelection && !yc(t, e, n, r));
4552
4543
  }
4553
4544
  function bc(t, e, n, r) {
4554
- let i = e.getCurrentData(), s = t.eventDrag, l = s.mutatedEvents, o = l.defs, a = l.instances, d = vt(o, s.isEvent ? t.eventUiBases : { "": i.selectionConfig });
4545
+ let i = e.getCurrentData(), s = t.eventDrag, l = s.mutatedEvents, o = l.defs, a = l.instances, d = mt(o, s.isEvent ? t.eventUiBases : { "": i.selectionConfig });
4555
4546
  r && (d = Y(d, r));
4556
- let c = ma(t.eventStore, s.affectedEvents.instances), h = c.defs, f = c.instances, u = vt(h, t.eventUiBases);
4547
+ let c = ma(t.eventStore, s.affectedEvents.instances), h = c.defs, f = c.instances, u = mt(h, t.eventUiBases);
4557
4548
  for (let m in a) {
4558
4549
  let v = a[m], b = v.range, E = d[v.defId], y = o[v.defId];
4559
4550
  if (!ds(E.constraints, b, c, t.businessHours, e))
@@ -4561,17 +4552,17 @@ function bc(t, e, n, r) {
4561
4552
  let { eventOverlap: D } = e.options, C = typeof D == "function" ? D : null;
4562
4553
  for (let w in f) {
4563
4554
  let x = f[w];
4564
- if (Rn(b, x.range) && (u[x.defId].overlap === !1 && s.isEvent || E.overlap === !1 || C && !C(
4565
- new N(e, h[x.defId], x),
4555
+ if (wn(b, x.range) && (u[x.defId].overlap === !1 && s.isEvent || E.overlap === !1 || C && !C(
4556
+ new O(e, h[x.defId], x),
4566
4557
  // still event
4567
- new N(e, y, v)
4558
+ new O(e, y, v)
4568
4559
  )))
4569
4560
  return !1;
4570
4561
  }
4571
4562
  let I = i.eventStore;
4572
4563
  for (let w of E.allows) {
4573
4564
  let x = Object.assign(Object.assign({}, n), { range: v.range, allDay: y.allDay }), R = I.defs[y.defId], J = I.instances[m], Te;
4574
- if (R ? Te = new N(e, R, J) : Te = new N(e, y), !w(Mn(x, e), Te))
4565
+ if (R ? Te = new O(e, R, J) : Te = new O(e, y), !w(kn(x, e), Te))
4575
4566
  return !1;
4576
4567
  }
4577
4568
  }
@@ -4584,12 +4575,12 @@ function yc(t, e, n, r) {
4584
4575
  let { selectOverlap: c } = e.options, h = typeof c == "function" ? c : null;
4585
4576
  for (let f in l) {
4586
4577
  let u = l[f];
4587
- if (Rn(a, u.range) && (d.overlap === !1 || h && !h(new N(e, s[u.defId], u), null)))
4578
+ if (wn(a, u.range) && (d.overlap === !1 || h && !h(new O(e, s[u.defId], u), null)))
4588
4579
  return !1;
4589
4580
  }
4590
4581
  for (let f of d.allows) {
4591
4582
  let u = Object.assign(Object.assign({}, n), o);
4592
- if (!f(Mn(u, e), null))
4583
+ if (!f(kn(u, e), null))
4593
4584
  return !1;
4594
4585
  }
4595
4586
  return !0;
@@ -4601,9 +4592,9 @@ function ds(t, e, n, r, i) {
4601
4592
  return !0;
4602
4593
  }
4603
4594
  function Ec(t, e, n, r, i) {
4604
- return t === "businessHours" ? qt(ge(r, e, i)) : typeof t == "string" ? qt(Rt(n, (s) => s.groupId === t)) : typeof t == "object" && t ? qt(ge(t, e, i)) : [];
4595
+ return t === "businessHours" ? Gt(ge(r, e, i)) : typeof t == "string" ? Gt(wt(n, (s) => s.groupId === t)) : typeof t == "object" && t ? Gt(ge(t, e, i)) : [];
4605
4596
  }
4606
- function qt(t) {
4597
+ function Gt(t) {
4607
4598
  let { instances: e } = t, n = [];
4608
4599
  for (let r in e)
4609
4600
  n.push(e[r].range);
@@ -4611,7 +4602,7 @@ function qt(t) {
4611
4602
  }
4612
4603
  function Sc(t, e) {
4613
4604
  for (let n of t)
4614
- if (wt(n, e))
4605
+ if (Ct(n, e))
4615
4606
  return !0;
4616
4607
  return !1;
4617
4608
  }
@@ -4678,10 +4669,10 @@ class q {
4678
4669
  // NOTE: this method has become less valuable now that we are encouraged to map order by some other index
4679
4670
  // TODO: provide ONE array-export function, buildArray, which fails on non-numeric indexes. caller can manipulate and "collect"
4680
4671
  collect(e, n, r) {
4681
- return No(this.currentMap, e, n, r);
4672
+ return Oo(this.currentMap, e, n, r);
4682
4673
  }
4683
4674
  getAll() {
4684
- return Cn(this.currentMap);
4675
+ return Dn(this.currentMap);
4685
4676
  }
4686
4677
  }
4687
4678
  function Dc(t) {
@@ -4755,13 +4746,13 @@ function Mc(t, e) {
4755
4746
  ];
4756
4747
  return e && t.liquid && t.maxHeight == null && n.push("fc-scrollgrid-section-liquid"), t.isSticky && n.push("fc-scrollgrid-section-sticky"), n;
4757
4748
  }
4758
- function cn(t) {
4749
+ function an(t) {
4759
4750
  return g("div", { className: "fc-scrollgrid-sticky-shim", style: {
4760
4751
  width: t.clientWidth,
4761
4752
  minWidth: t.tableMinWidth
4762
4753
  } });
4763
4754
  }
4764
- function yt(t) {
4755
+ function bt(t) {
4765
4756
  let { stickyHeaderDates: e } = t;
4766
4757
  return (e == null || e === "auto") && (e = t.height === "auto" || t.viewHeight === "auto"), e;
4767
4758
  }
@@ -4769,7 +4760,7 @@ function fs(t) {
4769
4760
  let { stickyFooterScrollbar: e } = t;
4770
4761
  return (e == null || e === "auto") && (e = t.height === "auto" || t.viewHeight === "auto"), e;
4771
4762
  }
4772
- class Un extends T {
4763
+ class Ln extends T {
4773
4764
  constructor() {
4774
4765
  super(...arguments), this.processCols = A((e) => e, Rc), this.renderMicroColGroup = A(_c), this.scrollerRefs = new q(), this.scrollerElRefs = new q(this._handleScrollerEl.bind(this)), this.state = {
4775
4766
  shrinkWidth: null,
@@ -4859,7 +4850,7 @@ class Un extends T {
4859
4850
  return { forceYScrollbars: i, scrollerClientWidths: s, scrollerClientHeights: l };
4860
4851
  }
4861
4852
  }
4862
- Un.addStateEquality({
4853
+ Ln.addStateEquality({
4863
4854
  scrollerClientWidths: V,
4864
4855
  scrollerClientHeights: V
4865
4856
  });
@@ -4869,15 +4860,15 @@ function Ic(t, e) {
4869
4860
  return n;
4870
4861
  return null;
4871
4862
  }
4872
- class jn extends T {
4863
+ class Un extends T {
4873
4864
  constructor() {
4874
4865
  super(...arguments), this.handleEl = (e) => {
4875
- this.el = e, e && Nr(e, this.props.seg);
4866
+ this.el = e, e && Or(e, this.props.seg);
4876
4867
  };
4877
4868
  }
4878
4869
  render() {
4879
4870
  const { props: e, context: n } = this, { options: r } = n, { seg: i } = e, { eventRange: s } = i, { ui: l } = s, o = {
4880
- event: new N(n, s.def, s.instance),
4871
+ event: new O(n, s.def, s.instance),
4881
4872
  view: n.viewApi,
4882
4873
  timeText: e.timeText,
4883
4874
  textColor: l.textColor,
@@ -4903,16 +4894,16 @@ class jn extends T {
4903
4894
  ], renderProps: o, generatorName: "eventContent", customGenerator: r.eventContent, defaultGenerator: e.defaultGenerator, classNameGenerator: r.eventClassNames, didMount: r.eventDidMount, willUnmount: r.eventWillUnmount }));
4904
4895
  }
4905
4896
  componentDidUpdate(e) {
4906
- this.el && this.props.seg !== e.seg && Nr(this.el, this.props.seg);
4897
+ this.el && this.props.seg !== e.seg && Or(this.el, this.props.seg);
4907
4898
  }
4908
4899
  }
4909
4900
  class hs extends T {
4910
4901
  render() {
4911
4902
  let { props: e, context: n } = this, { options: r } = n, { seg: i } = e, { ui: s } = i.eventRange, l = r.eventTimeFormat || e.defaultTimeFormat, o = Gi(i, l, n, e.defaultDisplayEventTime, e.defaultDisplayEventEnd);
4912
- return g(jn, Object.assign({}, e, { elTag: "a", elStyle: {
4903
+ return g(Un, Object.assign({}, e, { elTag: "a", elStyle: {
4913
4904
  borderColor: s.borderColor,
4914
4905
  backgroundColor: s.backgroundColor
4915
- }, elAttrs: Qi(i, n), defaultGenerator: Nc, timeText: o }), (a, d) => g(
4906
+ }, elAttrs: Qi(i, n), defaultGenerator: Oc, timeText: o }), (a, d) => g(
4916
4907
  M,
4917
4908
  null,
4918
4909
  g(a, { elTag: "div", elClasses: ["fc-event-main"], elStyle: { color: d.textColor } }),
@@ -4921,7 +4912,7 @@ class hs extends T {
4921
4912
  ));
4922
4913
  }
4923
4914
  }
4924
- function Nc(t) {
4915
+ function Oc(t) {
4925
4916
  return g(
4926
4917
  "div",
4927
4918
  { className: "fc-event-main-frame" },
@@ -4933,15 +4924,15 @@ function Nc(t) {
4933
4924
  )
4934
4925
  );
4935
4926
  }
4936
- const zn = (t) => g($.Consumer, null, (e) => {
4927
+ const jn = (t) => g($.Consumer, null, (e) => {
4937
4928
  let { options: n } = e, r = {
4938
4929
  isAxis: t.isAxis,
4939
4930
  date: e.dateEnv.toDate(t.date),
4940
4931
  view: e.viewApi
4941
4932
  };
4942
4933
  return g(z, Object.assign({}, t, { elTag: t.elTag || "div", renderProps: r, generatorName: "nowIndicatorContent", customGenerator: n.nowIndicatorContent, classNameGenerator: n.nowIndicatorClassNames, didMount: n.nowIndicatorDidMount, willUnmount: n.nowIndicatorWillUnmount }));
4943
- }), Oc = O({ day: "numeric" });
4944
- class Fn extends T {
4934
+ }), Nc = N({ day: "numeric" });
4935
+ class zn extends T {
4945
4936
  constructor() {
4946
4937
  super(...arguments), this.refineRenderProps = rt(Pc);
4947
4938
  }
@@ -4960,17 +4951,17 @@ class Fn extends T {
4960
4951
  return g(z, Object.assign({}, e, { elClasses: [
4961
4952
  ...On(i, n.theme),
4962
4953
  ...e.elClasses || []
4963
- ], elAttrs: Object.assign(Object.assign({}, e.elAttrs), i.isDisabled ? {} : { "data-date": En(e.date) }), renderProps: i, generatorName: "dayCellContent", customGenerator: r.dayCellContent, defaultGenerator: e.defaultGenerator, classNameGenerator: (
4954
+ ], elAttrs: Object.assign(Object.assign({}, e.elAttrs), i.isDisabled ? {} : { "data-date": yn(e.date) }), renderProps: i, generatorName: "dayCellContent", customGenerator: r.dayCellContent, defaultGenerator: e.defaultGenerator, classNameGenerator: (
4964
4955
  // don't use custom classNames if disabled
4965
4956
  i.isDisabled ? void 0 : r.dayCellClassNames
4966
4957
  ), didMount: r.dayCellDidMount, willUnmount: r.dayCellWillUnmount }));
4967
4958
  }
4968
4959
  }
4969
- function Wn(t) {
4970
- return !!(t.dayCellContent || nn("dayCellContent", t));
4960
+ function Fn(t) {
4961
+ return !!(t.dayCellContent || tn("dayCellContent", t));
4971
4962
  }
4972
4963
  function Pc(t) {
4973
- let { date: e, dateEnv: n, dateProfile: r, isMonthStart: i } = t, s = Ji(e, t.todayRange, null, r), l = t.showDayNumber ? n.format(e, i ? t.monthStartFormat : Oc) : "";
4964
+ let { date: e, dateEnv: n, dateProfile: r, isMonthStart: i } = t, s = Ji(e, t.todayRange, null, r), l = t.showDayNumber ? n.format(e, i ? t.monthStartFormat : Nc) : "";
4974
4965
  return Object.assign(Object.assign(Object.assign({ date: n.toDate(e), view: t.viewApi }, s), {
4975
4966
  isMonthStart: i,
4976
4967
  dayNumberText: l
@@ -4979,7 +4970,7 @@ function Pc(t) {
4979
4970
  class gs extends T {
4980
4971
  render() {
4981
4972
  let { props: e } = this, { seg: n } = e;
4982
- return g(jn, { elTag: "div", elClasses: ["fc-bg-event"], elStyle: { backgroundColor: n.eventRange.ui.backgroundColor }, defaultGenerator: Hc, seg: n, timeText: "", isDragging: !1, isResizing: !1, isDateSelecting: !1, isSelected: !1, isPast: e.isPast, isFuture: e.isFuture, isToday: e.isToday, disableDragging: !0, disableResizing: !0 });
4973
+ return g(Un, { elTag: "div", elClasses: ["fc-bg-event"], elStyle: { backgroundColor: n.eventRange.ui.backgroundColor }, defaultGenerator: Hc, seg: n, timeText: "", isDragging: !1, isResizing: !1, isDateSelecting: !1, isSelected: !1, isPast: e.isPast, isFuture: e.isFuture, isToday: e.isToday, disableDragging: !0, disableResizing: !0 });
4983
4974
  }
4984
4975
  }
4985
4976
  function Hc(t) {
@@ -4999,11 +4990,11 @@ const ms = (t) => g($.Consumer, null, (e) => {
4999
4990
  function Bc(t) {
5000
4991
  return t.text;
5001
4992
  }
5002
- const Qt = 10;
4993
+ const qt = 10;
5003
4994
  class Lc extends T {
5004
4995
  constructor() {
5005
4996
  super(...arguments), this.state = {
5006
- titleId: Dt()
4997
+ titleId: At()
5007
4998
  }, this.handleRootEl = (e) => {
5008
4999
  this.rootEl = e, this.props.elRef && Z(this.props.elRef, e);
5009
5000
  }, this.handleDocumentMouseDown = (e) => {
@@ -5043,9 +5034,9 @@ class Lc extends T {
5043
5034
  let { isRtl: e } = this.context, { alignmentEl: n, alignGridTop: r } = this.props, { rootEl: i } = this, s = sc(n);
5044
5035
  if (s) {
5045
5036
  let l = i.getBoundingClientRect(), o = r ? P(n, ".fc-scrollgrid").getBoundingClientRect().top : s.top, a = e ? s.right - l.width : s.left;
5046
- o = Math.max(o, Qt), a = Math.min(a, document.documentElement.clientWidth - Qt - l.width), a = Math.max(a, Qt);
5037
+ o = Math.max(o, qt), a = Math.min(a, document.documentElement.clientWidth - qt - l.width), a = Math.max(a, qt);
5047
5038
  let d = i.offsetParent.getBoundingClientRect();
5048
- Ne(i, {
5039
+ Oe(i, {
5049
5040
  top: o - d.top,
5050
5041
  left: a - d.left
5051
5042
  });
@@ -5063,10 +5054,10 @@ class Uc extends G {
5063
5054
  }
5064
5055
  render() {
5065
5056
  let { options: e, dateEnv: n } = this.context, { props: r } = this, { startDate: i, todayRange: s, dateProfile: l } = r, o = n.format(i, e.dayPopoverFormat);
5066
- return g(Fn, { elRef: this.handleRootEl, date: i, dateProfile: l, todayRange: s }, (a, d, c) => g(
5057
+ return g(zn, { elRef: this.handleRootEl, date: i, dateProfile: l, todayRange: s }, (a, d, c) => g(
5067
5058
  Lc,
5068
5059
  { elRef: c.ref, id: r.id, title: o, extraClassNames: ["fc-more-popover"].concat(c.className || []), extraAttrs: c, parentEl: r.parentEl, alignmentEl: r.alignmentEl, alignGridTop: r.alignGridTop, onClose: r.onClose },
5069
- Wn(e) && g(a, { elTag: "div", elClasses: ["fc-more-popover-misc"] }),
5060
+ Fn(e) && g(a, { elTag: "div", elClasses: ["fc-more-popover-misc"] }),
5070
5061
  r.children
5071
5062
  ));
5072
5063
  }
@@ -5094,7 +5085,7 @@ class vs extends T {
5094
5085
  constructor() {
5095
5086
  super(...arguments), this.state = {
5096
5087
  isPopoverOpen: !1,
5097
- popoverId: Dt()
5088
+ popoverId: At()
5098
5089
  }, this.handleLinkEl = (e) => {
5099
5090
  this.linkEl = e, this.props.elRef && Z(this.props.elRef, e);
5100
5091
  }, this.handleClick = (e) => {
@@ -5102,7 +5093,7 @@ class vs extends T {
5102
5093
  function l(o) {
5103
5094
  let { def: a, instance: d, range: c } = o.eventRange;
5104
5095
  return {
5105
- event: new N(r, a, d),
5096
+ event: new O(r, a, d),
5106
5097
  start: r.dateEnv.toDate(c.start),
5107
5098
  end: r.dateEnv.toDate(c.end),
5108
5099
  isStart: o.isStart,
@@ -5124,7 +5115,7 @@ class vs extends T {
5124
5115
  render() {
5125
5116
  let { props: e, state: n } = this;
5126
5117
  return g($.Consumer, null, (r) => {
5127
- let { viewApi: i, options: s, calendarApi: l } = r, { moreLinkText: o } = s, { moreCnt: a } = e, d = Hr(e), c = typeof o == "function" ? o.call(l, a) : `+${a} ${o}`, h = Oe(s.moreLinkHint, [a], c), f = {
5118
+ let { viewApi: i, options: s, calendarApi: l } = r, { moreLinkText: o } = s, { moreCnt: a } = e, d = Hr(e), c = typeof o == "function" ? o.call(l, a) : `+${a} ${o}`, h = Ne(s.moreLinkHint, [a], c), f = {
5128
5119
  num: a,
5129
5120
  shortText: `+${a}`,
5130
5121
  text: c,
@@ -5276,7 +5267,7 @@ function Zc(t, e) {
5276
5267
  return null;
5277
5268
  }
5278
5269
  function As(t, e, n) {
5279
- let r = Dn([ys, n], ["buttonText"]);
5270
+ let r = An([ys, n], ["buttonText"]);
5280
5271
  delete r.code;
5281
5272
  let { week: i } = r;
5282
5273
  return delete r.week, {
@@ -5444,12 +5435,12 @@ se.prototype.iconOverridePrefix = "fc-icon-";
5444
5435
  function ed(t, e) {
5445
5436
  let n = {}, r;
5446
5437
  for (r in t)
5447
- dn(r, n, t, e);
5438
+ cn(r, n, t, e);
5448
5439
  for (r in e)
5449
- dn(r, n, t, e);
5440
+ cn(r, n, t, e);
5450
5441
  return n;
5451
5442
  }
5452
- function dn(t, e, n, r) {
5443
+ function cn(t, e, n, r) {
5453
5444
  if (e[t])
5454
5445
  return e[t];
5455
5446
  let i = td(t, e, n, r);
@@ -5460,7 +5451,7 @@ function td(t, e, n, r) {
5460
5451
  if (a) {
5461
5452
  if (a === t)
5462
5453
  throw new Error("Can't have a custom view type that references itself");
5463
- d = dn(a, e, n, r);
5454
+ d = cn(a, e, n, r);
5464
5455
  }
5465
5456
  return !o && d && (o = d.component), o ? {
5466
5457
  type: t,
@@ -5491,7 +5482,7 @@ function rd(t, e, n, r) {
5491
5482
  function id(t, e, n, r, i) {
5492
5483
  let s = t.overrides.duration || t.defaults.duration || r.duration || n.duration, l = null, o = "", a = "", d = {};
5493
5484
  if (s && (l = sd(s), l)) {
5494
- let f = en(l);
5485
+ let f = Kt(l);
5495
5486
  o = f.unit, f.value === 1 && (a = o, d = e[o] ? e[o].rawOptions : {});
5496
5487
  }
5497
5488
  let c = (f) => {
@@ -5573,7 +5564,7 @@ function dd(t, e, n, r) {
5573
5564
  case "CHANGE_VIEW_TYPE":
5574
5565
  return n ? ws(t, i, r) : t;
5575
5566
  case "FETCH_EVENT_SOURCES":
5576
- return Vn(t, e.sourceIds ? (
5567
+ return Wn(t, e.sourceIds ? (
5577
5568
  // why no type?
5578
5569
  Ci(e.sourceIds)
5579
5570
  ) : Rs(t, r), i, e.isRefetch || !1, r);
@@ -5588,7 +5579,7 @@ function dd(t, e, n, r) {
5588
5579
  }
5589
5580
  function ud(t, e, n) {
5590
5581
  let r = e ? e.activeRange : null;
5591
- return Vn(t, Rs(t, n), r, !0, n);
5582
+ return Wn(t, Rs(t, n), r, !0, n);
5592
5583
  }
5593
5584
  function Ds(t) {
5594
5585
  for (let e in t)
@@ -5606,13 +5597,13 @@ function fd(t, e) {
5606
5597
  return fe(t, (n) => n.sourceId !== e);
5607
5598
  }
5608
5599
  function ws(t, e, n) {
5609
- return Vn(t, fe(t, (r) => hd(r, e, n)), e, !1, n);
5600
+ return Wn(t, fe(t, (r) => hd(r, e, n)), e, !1, n);
5610
5601
  }
5611
5602
  function hd(t, e, n) {
5612
5603
  return _s(t, n) ? !n.options.lazyFetching || !t.fetchRange || t.isFetching || // always cancel outdated in-progress fetches
5613
5604
  e.start < t.fetchRange.start || e.end > t.fetchRange.end : !t.latestFetchId;
5614
5605
  }
5615
- function Vn(t, e, n, r, i) {
5606
+ function Wn(t, e, n, r, i) {
5616
5607
  let s = {};
5617
5608
  for (let l in t) {
5618
5609
  let o = t[l];
@@ -5744,7 +5735,7 @@ function Ad(t, e, n, r, i, s) {
5744
5735
  s.changeView(E);
5745
5736
  }, (w = D.buttonTextOverride) || (I = r.getIconClass(E, l)) || (w = D.buttonTextDefault);
5746
5737
  let R = D.buttonTextOverride || D.buttonTextDefault;
5747
- x = Oe(
5738
+ x = Ne(
5748
5739
  D.buttonTitleOverride || D.buttonTitleDefault || e.viewHint,
5749
5740
  [R, E],
5750
5741
  // view-name = buttonName
@@ -5755,12 +5746,12 @@ function Ad(t, e, n, r, i, s) {
5755
5746
  s[E]();
5756
5747
  }, (w = a[E]) || (I = r.getIconClass(E, l)) || (w = d[E]), E === "prevYear" || E === "nextYear") {
5757
5748
  let R = E === "prevYear" ? "prev" : "next";
5758
- x = Oe(c[R] || h[R], [
5749
+ x = Ne(c[R] || h[R], [
5759
5750
  d.year || "year",
5760
5751
  "year"
5761
5752
  ], d[E]);
5762
5753
  } else
5763
- x = (R) => Oe(c[E] || h[E], [
5754
+ x = (R) => Ne(c[E] || h[E], [
5764
5755
  d[R] || R,
5765
5756
  R
5766
5757
  ], d[E]);
@@ -5863,7 +5854,7 @@ const Id = {
5863
5854
  startRecur: p,
5864
5855
  endRecur: p
5865
5856
  };
5866
- let Nd = {
5857
+ let Od = {
5867
5858
  parse(t, e) {
5868
5859
  if (t.daysOfWeek || t.startTime || t.endTime || t.startRecur || t.endRecur) {
5869
5860
  let n = {
@@ -5887,9 +5878,9 @@ let Nd = {
5887
5878
  return r ? Pd(t.daysOfWeek, t.startTime, r, n) : [];
5888
5879
  }
5889
5880
  };
5890
- const Od = X({
5881
+ const Nd = X({
5891
5882
  name: "simple-recurring-event",
5892
- recurringTypes: [Nd],
5883
+ recurringTypes: [Od],
5893
5884
  eventRefiners: Id
5894
5885
  });
5895
5886
  function Pd(t, e, n, r) {
@@ -5910,7 +5901,7 @@ const Hd = X({
5910
5901
  }
5911
5902
  });
5912
5903
  function zr(t, e) {
5913
- let n = Cn(e.getCurrentData().eventSources);
5904
+ let n = Dn(e.getCurrentData().eventSources);
5914
5905
  if (n.length === 1 && t.length === 1 && Array.isArray(n[0]._raw) && Array.isArray(t[0])) {
5915
5906
  e.dispatch({
5916
5907
  type: "RESET_RAW_EVENTS",
@@ -5948,7 +5939,7 @@ const Ud = [
5948
5939
  wd,
5949
5940
  _d,
5950
5941
  kd,
5951
- Od,
5942
+ Nd,
5952
5943
  Hd,
5953
5944
  X({
5954
5945
  name: "misc",
@@ -5963,7 +5954,7 @@ const Ud = [
5963
5954
  ];
5964
5955
  class jd {
5965
5956
  constructor(e, n) {
5966
- this.runTaskOption = e, this.drainedOption = n, this.queue = [], this.delayedRunner = new pn(this.drain.bind(this));
5957
+ this.runTaskOption = e, this.drainedOption = n, this.queue = [], this.delayedRunner = new gn(this.drain.bind(this));
5967
5958
  }
5968
5959
  request(e, n) {
5969
5960
  this.queue.push(e), this.delayedRunner.request(n);
@@ -5992,7 +5983,7 @@ class jd {
5992
5983
  }
5993
5984
  function zd(t, e, n) {
5994
5985
  let r;
5995
- return /^(year|month)$/.test(t.currentRangeUnit) ? r = t.currentRange : r = t.activeRange, n.formatRange(r.start, r.end, O(e.titleFormat || Fd(t)), {
5986
+ return /^(year|month)$/.test(t.currentRangeUnit) ? r = t.currentRange : r = t.activeRange, n.formatRange(r.start, r.end, N(e.titleFormat || Fd(t)), {
5996
5987
  isEndExclusive: t.isRangeAllDay,
5997
5988
  defaultSeparator: e.titleRangeSeparator
5998
5989
  });
@@ -6008,7 +5999,7 @@ function Fd(t) {
6008
5999
  }
6009
6000
  class Wd {
6010
6001
  constructor(e) {
6011
- this.computeCurrentViewData = A(this._computeCurrentViewData), this.organizeRawLocales = A(Qc), this.buildLocale = A(Ss), this.buildPluginHooks = Xc(), this.buildDateEnv = A(Vd), this.buildTheme = A(Gd), this.parseToolbars = A(Sd), this.buildViewSpecs = A(rd), this.buildDateProfileGenerator = rt(qd), this.buildViewApi = A(Qd), this.buildViewUiProps = rt($d), this.buildEventUiBySource = A(Yd, V), this.buildEventUiBases = A(Zd), this.parseContextBusinessHours = rt(Xd), this.buildTitle = A(zd), this.emitter = new _t(), this.actionRunner = new jd(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 = (f) => {
6002
+ this.computeCurrentViewData = A(this._computeCurrentViewData), this.organizeRawLocales = A(Qc), this.buildLocale = A(Ss), this.buildPluginHooks = Xc(), this.buildDateEnv = A(Vd), this.buildTheme = A(Gd), this.parseToolbars = A(Sd), this.buildViewSpecs = A(rd), this.buildDateProfileGenerator = rt(qd), this.buildViewApi = A(Qd), this.buildViewUiProps = rt($d), this.buildEventUiBySource = A(Yd, V), this.buildEventUiBases = A(Zd), this.parseContextBusinessHours = rt(Xd), this.buildTitle = A(zd), this.emitter = new Rt(), this.actionRunner = new jd(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 = (f) => {
6012
6003
  this.actionRunner.request(f);
6013
6004
  }, this.props = e, this.actionRunner.pause();
6014
6005
  let n = {}, r = this.computeOptionsData(e.optionOverrides, n, e.calendarApi), i = r.calendarOptions.initialView || r.pluginHooks.initialView, s = this.computeCurrentViewData(i, r, e.optionOverrides, n);
@@ -6044,7 +6035,7 @@ class Wd {
6044
6035
  }, h = Object.assign(Object.assign({}, a), c);
6045
6036
  for (let f of r.pluginHooks.reducers)
6046
6037
  Object.assign(c, f(null, null, h));
6047
- Yt(c, a) && this.emitter.trigger("loading", !0), this.state = c, this.updateData(), this.actionRunner.resume();
6038
+ Qt(c, a) && this.emitter.trigger("loading", !0), this.state = c, this.updateData(), this.actionRunner.resume();
6048
6039
  }
6049
6040
  resetOptions(e, n) {
6050
6041
  let { props: r } = this;
@@ -6085,7 +6076,7 @@ class Wd {
6085
6076
  }, I = Object.assign(Object.assign({}, d), C);
6086
6077
  for (let R of l.pluginHooks.reducers)
6087
6078
  Object.assign(C, R(r, e, I));
6088
- let w = Yt(r, d), x = Yt(C, d);
6079
+ let w = Qt(r, d), x = Qt(C, d);
6089
6080
  !w && x ? i.trigger("loading", !0) : w && !x && i.trigger("loading", !1), this.state = C, n.onAction && n.onAction(e);
6090
6081
  }
6091
6082
  updateData() {
@@ -6116,11 +6107,11 @@ class Wd {
6116
6107
  }
6117
6108
  // always called from behind a memoizer
6118
6109
  processRawCalendarOptions(e, n) {
6119
- let { locales: r, locale: i } = Ut([
6110
+ let { locales: r, locale: i } = Lt([
6120
6111
  Pe,
6121
6112
  e,
6122
6113
  n
6123
- ]), s = this.organizeRawLocales(r), l = s.map, o = this.buildLocale(i || s.defaultCode, l).options, a = this.buildPluginHooks(e.plugins || [], Ud), d = this.currentCalendarOptionsRefiners = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, Cr), wr), Rr), a.listenerRefiners), a.optionRefiners), c = {}, h = Ut([
6114
+ ]), s = this.organizeRawLocales(r), l = s.map, o = this.buildLocale(i || s.defaultCode, l).options, a = this.buildPluginHooks(e.plugins || [], Ud), d = this.currentCalendarOptionsRefiners = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, Dr), Cr), wr), a.listenerRefiners), a.optionRefiners), c = {}, h = Lt([
6124
6115
  Pe,
6125
6116
  o,
6126
6117
  e,
@@ -6166,14 +6157,14 @@ class Wd {
6166
6157
  return { viewSpec: s, options: l, dateProfileGenerator: a, viewApi: d };
6167
6158
  }
6168
6159
  processRawViewOptions(e, n, r, i, s) {
6169
- let l = Ut([
6160
+ let l = Lt([
6170
6161
  Pe,
6171
6162
  e.optionDefaults,
6172
6163
  r,
6173
6164
  i,
6174
6165
  e.optionOverrides,
6175
6166
  s
6176
- ]), o = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, Cr), wr), Rr), xo), n.listenerRefiners), n.optionRefiners), a = {}, d = this.currentViewOptionsInput, c = this.currentViewOptionsRefined, h = !1, f = {};
6167
+ ]), o = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, Dr), Cr), wr), xo), n.listenerRefiners), n.optionRefiners), a = {}, d = this.currentViewOptionsInput, c = this.currentViewOptionsRefined, h = !1, f = {};
6177
6168
  for (let u in l)
6178
6169
  l[u] === d[u] || oe[u] && oe[u](l[u], d[u]) ? a[u] = c[u] : (l[u] === this.currentCalendarOptionsInput[u] || oe[u] && oe[u](l[u], this.currentCalendarOptionsInput[u]) ? u in this.currentCalendarOptionsRefined && (a[u] = this.currentCalendarOptionsRefined[u]) : o[u] ? a[u] = o[u](l[u]) : f[u] = l[u], h = !0);
6179
6170
  return h && (this.currentViewOptionsInput = l, this.currentViewOptionsRefined = a), {
@@ -6222,7 +6213,7 @@ function Zd(t, e, n) {
6222
6213
  function $d(t) {
6223
6214
  let { options: e } = t;
6224
6215
  return {
6225
- eventUiSingleBase: mt({
6216
+ eventUiSingleBase: pt({
6226
6217
  display: e.eventDisplay,
6227
6218
  editable: e.editable,
6228
6219
  startEditable: e.eventStartEditable,
@@ -6236,14 +6227,14 @@ function $d(t) {
6236
6227
  color: e.eventColor
6237
6228
  // classNames: options.eventClassNames // render hook will handle this
6238
6229
  }, t),
6239
- selectionConfig: mt({
6230
+ selectionConfig: pt({
6240
6231
  constraint: e.selectConstraint,
6241
6232
  overlap: typeof e.selectOverlap == "boolean" ? e.selectOverlap : void 0,
6242
6233
  allow: e.selectAllow
6243
6234
  }, t)
6244
6235
  };
6245
6236
  }
6246
- function Yt(t, e) {
6237
+ function Qt(t, e) {
6247
6238
  for (let n of e.pluginHooks.isLoadingFuncs)
6248
6239
  if (n(t))
6249
6240
  return !0;
@@ -6337,7 +6328,7 @@ class eu extends _e {
6337
6328
  let o = P(n.target, ".fc-event-forced-url"), a = o ? o.querySelector("a[href]").href : "";
6338
6329
  s.emitter.trigger("eventClick", {
6339
6330
  el: r,
6340
- event: new N(i.context, l.eventRange.def, l.eventRange.instance),
6331
+ event: new O(i.context, l.eventRange.def, l.eventRange.instance),
6341
6332
  jsEvent: n,
6342
6333
  view: s.viewApi
6343
6334
  }), a && !n.defaultPrevented && (window.location.href = a);
@@ -6359,7 +6350,7 @@ class tu extends _e {
6359
6350
  we(r) && (this.currentSegEl = r, this.triggerEvent("eventMouseEnter", n, r));
6360
6351
  }, this.handleSegLeave = (n, r) => {
6361
6352
  this.currentSegEl && (this.currentSegEl = null, this.triggerEvent("eventMouseLeave", n, r));
6362
- }, this.removeHoverListeners = Ol(
6353
+ }, this.removeHoverListeners = Nl(
6363
6354
  e.el,
6364
6355
  ".fc-event",
6365
6356
  // on both fg and bg events
@@ -6374,7 +6365,7 @@ class tu extends _e {
6374
6365
  let { component: i } = this, { context: s } = i, l = we(r);
6375
6366
  (!n || i.isValidSegDownEl(n.target)) && s.emitter.trigger(e, {
6376
6367
  el: r,
6377
- event: new N(s, l.eventRange.def, l.eventRange.instance),
6368
+ event: new O(s, l.eventRange.def, l.eventRange.instance),
6378
6369
  jsEvent: n,
6379
6370
  view: s.viewApi
6380
6371
  });
@@ -6383,13 +6374,13 @@ class tu extends _e {
6383
6374
  class nu extends ve {
6384
6375
  constructor() {
6385
6376
  super(...arguments), this.buildViewContext = A(Fo), this.buildViewPropTransformers = A(iu), this.buildToolbarProps = A(ru), this.headerRef = B(), this.footerRef = B(), this.interactionsStore = {}, this.state = {
6386
- viewLabelId: Dt()
6377
+ viewLabelId: At()
6387
6378
  }, this.registerInteractiveComponent = (e, n) => {
6388
6379
  let r = Wa(e, n), l = [
6389
6380
  eu,
6390
6381
  tu
6391
6382
  ].concat(this.props.pluginHooks.componentInteractions).map((o) => new o(r));
6392
- this.interactionsStore[e.uid] = l, ln[e.uid] = r;
6383
+ this.interactionsStore[e.uid] = l, sn[e.uid] = r;
6393
6384
  }, this.unregisterInteractiveComponent = (e) => {
6394
6385
  let n = this.interactionsStore[e.uid];
6395
6386
  if (n) {
@@ -6397,8 +6388,8 @@ class nu extends ve {
6397
6388
  r.destroy();
6398
6389
  delete this.interactionsStore[e.uid];
6399
6390
  }
6400
- delete ln[e.uid];
6401
- }, this.resizeRunner = new pn(() => {
6391
+ delete sn[e.uid];
6392
+ }, this.resizeRunner = new gn(() => {
6402
6393
  this.props.emitter.trigger("_resize", !0), this.props.emitter.trigger("windowResize", { view: this.props.viewApi });
6403
6394
  }), this.handleWindowResize = (e) => {
6404
6395
  let { options: n } = this.props;
@@ -6419,7 +6410,7 @@ class nu extends ve {
6419
6410
  e.viewTitle
6420
6411
  ), s = !1, l = "", o;
6421
6412
  e.isHeightAuto || e.forPrint ? l = "" : r.height != null ? s = !0 : r.contentHeight != null ? l = r.contentHeight : o = Math.max(r.aspectRatio, 0.5);
6422
- let a = this.buildViewContext(e.viewSpec, e.viewApi, e.options, e.dateProfileGenerator, e.dateEnv, e.theme, e.pluginHooks, e.dispatch, e.getCurrentData, e.emitter, e.calendarApi, this.registerInteractiveComponent, this.unregisterInteractiveComponent), d = n.header && n.header.hasTitle ? this.state.viewLabelId : void 0;
6413
+ let a = this.buildViewContext(e.viewSpec, e.viewApi, e.options, e.dateProfileGenerator, e.dateEnv, e.theme, e.pluginHooks, e.dispatch, e.getCurrentData, e.emitter, e.calendarApi, this.registerInteractiveComponent, this.unregisterInteractiveComponent), d = n.header && n.header.hasTitle ? this.state.viewLabelId : "";
6423
6414
  return g(
6424
6415
  $.Provider,
6425
6416
  { value: a },
@@ -6502,7 +6493,7 @@ class su extends Va {
6502
6493
  if (this.isRendering) {
6503
6494
  this.isRendered = !0;
6504
6495
  let { currentData: r } = this;
6505
- ht(() => {
6496
+ Rr(() => {
6506
6497
  Be(g(Fa, { options: r.calendarOptions, theme: r.theme, emitter: r.emitter }, (i, s, l, o) => (this.setClassNames(i), this.setHeight(s), g(
6507
6498
  Ti.Provider,
6508
6499
  { value: this.customContentRenderId },
@@ -6511,7 +6502,7 @@ class su extends Va {
6511
6502
  });
6512
6503
  } else
6513
6504
  this.isRendered && (this.isRendered = !1, Be(null, this.el), this.setClassNames([]), this.setHeight(""));
6514
- }, wl(e), this.el = e, this.renderRunner = new pn(this.handleRenderRequest), new Wd({
6505
+ }, wl(e), this.el = e, this.renderRunner = new gn(this.handleRenderRequest), new Wd({
6515
6506
  optionOverrides: n,
6516
6507
  calendarApi: this,
6517
6508
  onAction: this.handleAction,
@@ -6526,7 +6517,7 @@ class su extends Va {
6526
6517
  this.isRendering && (this.isRendering = !1, this.renderRunner.request());
6527
6518
  }
6528
6519
  updateSize() {
6529
- ht(() => {
6520
+ Rr(() => {
6530
6521
  super.updateSize();
6531
6522
  });
6532
6523
  }
@@ -6562,7 +6553,7 @@ const lu = {
6562
6553
  events: !0,
6563
6554
  eventSources: !0,
6564
6555
  resources: !0
6565
- }, ou = St({
6556
+ }, ou = Et({
6566
6557
  props: {
6567
6558
  options: Object
6568
6559
  },
@@ -6614,7 +6605,7 @@ const lu = {
6614
6605
  this.getApi().destroy();
6615
6606
  },
6616
6607
  watch: du()
6617
- }), au = ou, cu = St({
6608
+ }), au = ou, cu = Et({
6618
6609
  props: {
6619
6610
  customRendering: Object
6620
6611
  },
@@ -6696,7 +6687,7 @@ class pu extends G {
6696
6687
  super(...arguments), this.headerElRef = B();
6697
6688
  }
6698
6689
  renderSimpleLayout(e, n) {
6699
- let { props: r, context: i } = this, s = [], l = yt(i.options);
6690
+ let { props: r, context: i } = this, s = [], l = bt(i.options);
6700
6691
  return e && s.push({
6701
6692
  type: "header",
6702
6693
  key: "header",
@@ -6712,16 +6703,16 @@ class pu extends G {
6712
6703
  liquid: !0,
6713
6704
  chunk: { content: n }
6714
6705
  }), g(
6715
- gt,
6706
+ ht,
6716
6707
  { elClasses: ["fc-daygrid"], viewSpec: i.viewSpec },
6717
- g(Un, { liquid: !r.isHeightAuto && !r.forPrint, collapsibleWidth: r.forPrint, cols: [], sections: s })
6708
+ g(Ln, { liquid: !r.isHeightAuto && !r.forPrint, collapsibleWidth: r.forPrint, cols: [], sections: s })
6718
6709
  );
6719
6710
  }
6720
6711
  renderHScrollLayout(e, n, r, i) {
6721
6712
  let s = this.context.pluginHooks.scrollGridImpl;
6722
6713
  if (!s)
6723
6714
  throw new Error("No ScrollGrid implementation");
6724
- let { props: l, context: o } = this, a = !l.forPrint && yt(o.options), d = !l.forPrint && fs(o.options), c = [];
6715
+ let { props: l, context: o } = this, a = !l.forPrint && bt(o.options), d = !l.forPrint && fs(o.options), c = [];
6725
6716
  return e && c.push({
6726
6717
  type: "header",
6727
6718
  key: "header",
@@ -6746,10 +6737,10 @@ class pu extends G {
6746
6737
  isSticky: !0,
6747
6738
  chunks: [{
6748
6739
  key: "main",
6749
- content: cn
6740
+ content: an
6750
6741
  }]
6751
6742
  }), g(
6752
- gt,
6743
+ ht,
6753
6744
  { elClasses: ["fc-daygrid"], viewSpec: o.viewSpec },
6754
6745
  g(s, { liquid: !l.isHeightAuto && !l.forPrint, forPrint: l.forPrint, collapsibleWidth: l.forPrint, colGroups: [{ cols: [{ span: r, minWidth: i }] }], sections: c })
6755
6746
  );
@@ -6787,7 +6778,7 @@ function Vr(t, e) {
6787
6778
  n[r] = null;
6788
6779
  return n;
6789
6780
  }
6790
- const Ts = O({
6781
+ const Ts = N({
6791
6782
  hour: "numeric",
6792
6783
  minute: "2-digit",
6793
6784
  omitZeroMinute: !0,
@@ -6808,7 +6799,7 @@ class ks extends T {
6808
6799
  class Ms extends T {
6809
6800
  render() {
6810
6801
  let { props: e, context: n } = this, { options: r } = n, { seg: i } = e, s = r.eventTimeFormat || Ts, l = Gi(i, s, n, !0, e.defaultDisplayEventEnd);
6811
- return g(jn, Object.assign({}, e, { elTag: "a", elClasses: ["fc-daygrid-event", "fc-daygrid-dot-event"], elAttrs: Qi(e.seg, n), defaultGenerator: mu, timeText: l, isResizing: !1, isDateSelecting: !1 }));
6802
+ return g(Un, Object.assign({}, e, { elTag: "a", elClasses: ["fc-daygrid-event", "fc-daygrid-dot-event"], elAttrs: Qi(e.seg, n), defaultGenerator: mu, timeText: l, isResizing: !1, isDateSelecting: !1 }));
6812
6803
  }
6813
6804
  }
6814
6805
  function mu(t) {
@@ -6843,11 +6834,11 @@ function bu(t) {
6843
6834
  e.push(r.seg), r.isVisible || n.push(r.seg);
6844
6835
  return { allSegs: e, invisibleSegs: n };
6845
6836
  }
6846
- const yu = O({ week: "narrow" });
6837
+ const yu = N({ week: "narrow" });
6847
6838
  class Eu extends G {
6848
6839
  constructor() {
6849
6840
  super(...arguments), this.rootElRef = B(), this.state = {
6850
- dayNumberId: Dt()
6841
+ dayNumberId: At()
6851
6842
  }, this.handleRootEl = (e) => {
6852
6843
  Z(this.rootElRef, e), Z(this.props.elRef, e);
6853
6844
  };
@@ -6855,20 +6846,20 @@ class Eu extends G {
6855
6846
  render() {
6856
6847
  let { context: e, props: n, state: r, rootElRef: i } = this, { options: s, dateEnv: l } = e, { date: o, dateProfile: a } = n;
6857
6848
  const d = n.showDayNumber && Au(o, a.currentRange, l);
6858
- return g(Fn, { elTag: "td", elRef: this.handleRootEl, elClasses: [
6849
+ return g(zn, { elTag: "td", elRef: this.handleRootEl, elClasses: [
6859
6850
  "fc-daygrid-day",
6860
6851
  ...n.extraClassNames || []
6861
6852
  ], elAttrs: Object.assign(Object.assign(Object.assign({}, n.extraDataAttrs), n.showDayNumber ? { "aria-labelledby": r.dayNumberId } : {}), { role: "gridcell" }), defaultGenerator: Su, date: o, dateProfile: a, todayRange: n.todayRange, showDayNumber: n.showDayNumber, isMonthStart: d, extraRenderProps: n.extraRenderProps }, (c, h) => g(
6862
6853
  "div",
6863
6854
  { ref: n.innerElRef, className: "fc-daygrid-day-frame fc-scrollgrid-sync-inner", style: { minHeight: n.minHeight } },
6864
- n.showWeekNumber && g(ms, { elTag: "a", elClasses: ["fc-daygrid-week-number"], elAttrs: bt(e, o, "week"), date: o, defaultFormat: yu }),
6865
- !h.isDisabled && (n.showDayNumber || Wn(s) || n.forceDayTop) ? g(
6855
+ n.showWeekNumber && g(ms, { elTag: "a", elClasses: ["fc-daygrid-week-number"], elAttrs: vt(e, o, "week"), date: o, defaultFormat: yu }),
6856
+ !h.isDisabled && (n.showDayNumber || Fn(s) || n.forceDayTop) ? g(
6866
6857
  "div",
6867
6858
  { className: "fc-daygrid-day-top" },
6868
6859
  g(c, { elTag: "a", elClasses: [
6869
6860
  "fc-daygrid-day-number",
6870
6861
  d && "fc-daygrid-month-start"
6871
- ], elAttrs: Object.assign(Object.assign({}, bt(e, o)), { id: r.dayNumberId }) })
6862
+ ], elAttrs: Object.assign(Object.assign({}, vt(e, o)), { id: r.dayNumberId }) })
6872
6863
  ) : n.showDayNumber ? (
6873
6864
  // for creating correct amount of space (see issue #7162)
6874
6865
  g(
@@ -6903,18 +6894,18 @@ function Au(t, e, n) {
6903
6894
  function Is(t) {
6904
6895
  return t.eventRange.instance.instanceId + ":" + t.firstCol;
6905
6896
  }
6906
- function Ns(t) {
6897
+ function Os(t) {
6907
6898
  return Is(t) + ":" + t.lastCol;
6908
6899
  }
6909
6900
  function Du(t, e, n, r, i, s, l) {
6910
6901
  let o = new Ru((E) => {
6911
6902
  let y = t[E.index].eventRange.instance.instanceId + ":" + E.span.start + ":" + (E.span.end - 1);
6912
- return i[y] || 1;
6903
+ return i[y];
6913
6904
  });
6914
6905
  o.allowReslicing = !0, o.strictOrder = r, e === !0 || n === !0 ? (o.maxCoord = s, o.hiddenConsumes = !0) : typeof e == "number" ? o.maxStackCnt = e : typeof n == "number" && (o.maxStackCnt = n, o.hiddenConsumes = !0);
6915
6906
  let a = [], d = [];
6916
6907
  for (let E = 0; E < t.length; E += 1) {
6917
- let y = t[E], D = Ns(y);
6908
+ let y = t[E], D = Os(y);
6918
6909
  i[D] != null ? a.push({
6919
6910
  index: E,
6920
6911
  span: {
@@ -7041,15 +7032,15 @@ class Ru extends ts {
7041
7032
  const d = ue(l);
7042
7033
  if (!s[d])
7043
7034
  if (this.allowReslicing) {
7044
- const c = Object.assign(Object.assign({}, l), { span: Bn(l.span, n.span) }), h = ue(c);
7045
- s[h] = !0, i[o][a] = c, r.push(c), this.splitEntry(l, n, r);
7035
+ const c = Object.assign(Object.assign({}, l), { span: Hn(l.span, n.span) }), h = ue(c);
7036
+ s[h] = !0, i[o][a] = c, this.splitEntry(l, n, r);
7046
7037
  } else
7047
7038
  s[d] = !0, r.push(l);
7048
7039
  }
7049
- super.handleInvalidInsertion(e, n, r);
7040
+ return super.handleInvalidInsertion(e, n, r);
7050
7041
  }
7051
7042
  }
7052
- class Os extends G {
7043
+ class Ns extends G {
7053
7044
  constructor() {
7054
7045
  super(...arguments), this.cellElRefs = new q(), this.frameElRefs = new q(), this.fgElRefs = new q(), this.segHarnessRefs = new q(), this.rootElRef = B(), this.state = {
7055
7046
  framePositions: null,
@@ -7114,7 +7105,7 @@ class Os extends G {
7114
7105
  if (c)
7115
7106
  for (let m of n) {
7116
7107
  let { seg: v } = m, { instanceId: b } = v.eventRange.instance, E = m.isVisible && !i[b], y = m.isAbsolute, D = "", C = "";
7117
- y && (a.isRtl ? (C = 0, D = c.lefts[v.lastCol] - c.lefts[v.firstCol]) : (D = 0, C = c.rights[v.firstCol] - c.rights[v.lastCol])), u.push(g("div", { className: "fc-daygrid-event-harness" + (y ? " fc-daygrid-event-harness-abs" : ""), key: Is(v), ref: f ? null : this.segHarnessRefs.createRef(Ns(v)), style: {
7108
+ y && (a.isRtl ? (C = 0, D = c.lefts[v.lastCol] - c.lefts[v.firstCol]) : (D = 0, C = c.rights[v.firstCol] - c.rights[v.lastCol])), u.push(g("div", { className: "fc-daygrid-event-harness" + (y ? " fc-daygrid-event-harness-abs" : ""), key: Is(v), ref: f ? null : this.segHarnessRefs.createRef(Os(v)), style: {
7118
7109
  visibility: E ? "" : "hidden",
7119
7110
  marginTop: y ? "" : m.marginTop,
7120
7111
  top: y ? m.absoluteTop : "",
@@ -7190,7 +7181,7 @@ class Os extends G {
7190
7181
  return this.props.cells.map((n) => e[n.key]);
7191
7182
  }
7192
7183
  }
7193
- Os.addStateEquality({
7184
+ Ns.addStateEquality({
7194
7185
  segHeights: V
7195
7186
  });
7196
7187
  function _u(t, e) {
@@ -7218,7 +7209,7 @@ class xu extends G {
7218
7209
  }
7219
7210
  render() {
7220
7211
  let { props: e, context: n } = this, r = e.cells.length, i = this.splitBusinessHourSegs(e.businessHourSegs, r), s = this.splitBgEventSegs(e.bgEventSegs, r), l = this.splitFgEventSegs(e.fgEventSegs, r), o = this.splitDateSelectionSegs(e.dateSelectionSegs, r), a = this.splitEventDrag(e.eventDrag, r), d = this.splitEventResize(e.eventResize, r), c = r >= 7 && e.clientWidth ? e.clientWidth / n.options.aspectRatio / 6 : null;
7221
- return g(ze, { unit: "day" }, (h, f) => g(M, null, e.cells.map((u, m) => g(Os, {
7212
+ return g(ze, { unit: "day" }, (h, f) => g(M, null, e.cells.map((u, m) => g(Ns, {
7222
7213
  ref: this.rowRefs.createRef(m),
7223
7214
  key: u.length ? u[0].date.toISOString() : m,
7224
7215
  showDayNumbers: r > 1,
@@ -7367,9 +7358,9 @@ class Mu extends G {
7367
7358
  }
7368
7359
  function Iu(t, e) {
7369
7360
  let n;
7370
- return e.currentRangeUnit.match(/year|month/) && (n = t.querySelector(`[data-date="${fo(e.currentDate)}-01"]`)), n || (n = t.querySelector(`[data-date="${En(e.currentDate)}"]`)), n;
7361
+ return e.currentRangeUnit.match(/year|month/) && (n = t.querySelector(`[data-date="${fo(e.currentDate)}-01"]`)), n || (n = t.querySelector(`[data-date="${yn(e.currentDate)}"]`)), n;
7371
7362
  }
7372
- class Nu extends os {
7363
+ class Ou extends os {
7373
7364
  constructor() {
7374
7365
  super(...arguments), this.forceDayIfListItem = !0;
7375
7366
  }
@@ -7379,14 +7370,14 @@ class Nu extends os {
7379
7370
  }
7380
7371
  class Ps extends G {
7381
7372
  constructor() {
7382
- super(...arguments), this.slicer = new Nu(), this.tableRef = B();
7373
+ super(...arguments), this.slicer = new Ou(), this.tableRef = B();
7383
7374
  }
7384
7375
  render() {
7385
7376
  let { props: e, context: n } = this;
7386
7377
  return g(Mu, Object.assign({ ref: this.tableRef }, this.slicer.sliceProps(e, e.dateProfile, e.nextDayThreshold, n, 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 }));
7387
7378
  }
7388
7379
  }
7389
- class Ou extends pu {
7380
+ class Nu extends pu {
7390
7381
  constructor() {
7391
7382
  super(...arguments), this.buildDayTableModel = A(Pu), this.headerRef = B(), this.tableRef = B();
7392
7383
  }
@@ -7413,23 +7404,23 @@ class Hu extends Ii {
7413
7404
  }
7414
7405
  function Bu(t) {
7415
7406
  let { dateEnv: e, currentRange: n } = t, { start: r, end: i } = n, s;
7416
- if (t.snapToWeek && (r = e.startOfWeek(r), s = e.startOfWeek(i), s.valueOf() !== i.valueOf() && (i = br(s, 1))), t.fixedWeekCount) {
7407
+ if (t.snapToWeek && (r = e.startOfWeek(r), s = e.startOfWeek(i), s.valueOf() !== i.valueOf() && (i = vr(s, 1))), t.fixedWeekCount) {
7417
7408
  let l = e.startOfWeek(e.startOfMonth(H(n.end, -1))), o = Math.ceil(
7418
7409
  // could be partial weeks due to hiddenDays
7419
7410
  eo(l, i)
7420
7411
  );
7421
- i = br(i, 6 - o);
7412
+ i = vr(i, 6 - o);
7422
7413
  }
7423
7414
  return { start: r, end: i };
7424
7415
  }
7425
7416
  var Lu = ':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}';
7426
- gn(Lu);
7417
+ hn(Lu);
7427
7418
  var Uu = X({
7428
7419
  name: "@fullcalendar/daygrid",
7429
7420
  initialView: "dayGridMonth",
7430
7421
  views: {
7431
7422
  dayGrid: {
7432
- component: Ou,
7423
+ component: Nu,
7433
7424
  dateProfileGeneratorClass: Hu
7434
7425
  },
7435
7426
  dayGridDay: {
@@ -7450,8 +7441,9 @@ var Uu = X({
7450
7441
  duration: { years: 1 }
7451
7442
  }
7452
7443
  }
7453
- });
7454
- class ju extends Za {
7444
+ }), ju = '.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-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}';
7445
+ hn(ju);
7446
+ class zu extends Za {
7455
7447
  getKeyInfo() {
7456
7448
  return {
7457
7449
  allDay: {},
@@ -7465,7 +7457,7 @@ class ju extends Za {
7465
7457
  return e.allDay ? Ra(e) ? ["timed", "allDay"] : ["allDay"] : ["timed"];
7466
7458
  }
7467
7459
  }
7468
- const zu = O({
7460
+ const Fu = N({
7469
7461
  hour: "numeric",
7470
7462
  minute: "2-digit",
7471
7463
  omitZeroMinute: !0,
@@ -7482,7 +7474,7 @@ function Hs(t) {
7482
7474
  return g("td", { className: e.join(" "), "data-time": t.isoTimeStr });
7483
7475
  let { dateEnv: r, options: i, viewApi: s } = n, l = (
7484
7476
  // TODO: fully pre-parse
7485
- i.slotLabelFormat == null ? zu : Array.isArray(i.slotLabelFormat) ? O(i.slotLabelFormat[0]) : O(i.slotLabelFormat)
7477
+ i.slotLabelFormat == null ? Fu : Array.isArray(i.slotLabelFormat) ? N(i.slotLabelFormat[0]) : N(i.slotLabelFormat)
7486
7478
  ), o = {
7487
7479
  level: 0,
7488
7480
  time: t.time,
@@ -7492,7 +7484,7 @@ function Hs(t) {
7492
7484
  };
7493
7485
  return g(z, { elTag: "td", elClasses: e, elAttrs: {
7494
7486
  "data-time": t.isoTimeStr
7495
- }, renderProps: o, generatorName: "slotLabelContent", customGenerator: i.slotLabelContent, defaultGenerator: Fu, classNameGenerator: i.slotLabelClassNames, didMount: i.slotLabelDidMount, willUnmount: i.slotLabelWillUnmount }, (a) => g(
7487
+ }, renderProps: o, generatorName: "slotLabelContent", customGenerator: i.slotLabelContent, defaultGenerator: Wu, classNameGenerator: i.slotLabelClassNames, didMount: i.slotLabelDidMount, willUnmount: i.slotLabelWillUnmount }, (a) => g(
7496
7488
  "div",
7497
7489
  { className: "fc-timegrid-slot-label-frame fc-scrollgrid-shrink-frame" },
7498
7490
  g(a, { elTag: "div", elClasses: [
@@ -7502,10 +7494,10 @@ function Hs(t) {
7502
7494
  ));
7503
7495
  });
7504
7496
  }
7505
- function Fu(t) {
7497
+ function Wu(t) {
7506
7498
  return t.text;
7507
7499
  }
7508
- class Wu extends T {
7500
+ class Vu extends T {
7509
7501
  render() {
7510
7502
  return this.props.slatMetas.map((e) => g(
7511
7503
  "tr",
@@ -7514,22 +7506,22 @@ class Wu extends T {
7514
7506
  ));
7515
7507
  }
7516
7508
  }
7517
- const Vu = O({ week: "short" }), Gu = 5;
7518
- class qu extends G {
7509
+ const Gu = N({ week: "short" }), qu = 5;
7510
+ class Qu extends G {
7519
7511
  constructor() {
7520
- super(...arguments), this.allDaySplitter = new ju(), this.headerElRef = B(), this.rootElRef = B(), this.scrollerElRef = B(), this.state = {
7512
+ super(...arguments), this.allDaySplitter = new zu(), this.headerElRef = B(), this.rootElRef = B(), this.scrollerElRef = B(), this.state = {
7521
7513
  slatCoords: null
7522
7514
  }, this.handleScrollTopRequest = (e) => {
7523
7515
  let n = this.scrollerElRef.current;
7524
7516
  n && (n.scrollTop = e);
7525
7517
  }, this.renderHeadAxis = (e, n = "") => {
7526
- let { options: r } = this.context, { dateProfile: i } = this.props, s = i.renderRange, o = me(s.start, s.end) === 1 ? bt(this.context, s.start, "week") : {};
7518
+ let { options: r } = this.context, { dateProfile: i } = this.props, s = i.renderRange, o = me(s.start, s.end) === 1 ? vt(this.context, s.start, "week") : {};
7527
7519
  return r.weekNumbers && e === "day" ? g(ms, { elTag: "th", elClasses: [
7528
7520
  "fc-timegrid-axis",
7529
7521
  "fc-scrollgrid-shrink"
7530
7522
  ], elAttrs: {
7531
7523
  "aria-hidden": !0
7532
- }, date: s.start, defaultFormat: Vu }, (a) => g(
7524
+ }, date: s.start, defaultFormat: Gu }, (a) => g(
7533
7525
  "div",
7534
7526
  { className: [
7535
7527
  "fc-timegrid-axis-frame",
@@ -7558,7 +7550,7 @@ class qu extends G {
7558
7550
  "fc-scrollgrid-shrink"
7559
7551
  ], elAttrs: {
7560
7552
  "aria-hidden": !0
7561
- }, renderProps: i, generatorName: "allDayContent", customGenerator: n.allDayContent, defaultGenerator: Qu, classNameGenerator: n.allDayClassNames, didMount: n.allDayDidMount, willUnmount: n.allDayWillUnmount }, (s) => g(
7553
+ }, renderProps: i, generatorName: "allDayContent", customGenerator: n.allDayContent, defaultGenerator: Yu, classNameGenerator: n.allDayClassNames, didMount: n.allDayDidMount, willUnmount: n.allDayWillUnmount }, (s) => g(
7562
7554
  "div",
7563
7555
  { className: [
7564
7556
  "fc-timegrid-axis-frame",
@@ -7579,7 +7571,7 @@ class qu extends G {
7579
7571
  // rendering
7580
7572
  // ----------------------------------------------------------------------------------------------------
7581
7573
  renderSimpleLayout(e, n, r) {
7582
- let { context: i, props: s } = this, l = [], o = yt(i.options);
7574
+ let { context: i, props: s } = this, l = [], o = bt(i.options);
7583
7575
  return e && l.push({
7584
7576
  type: "header",
7585
7577
  key: "header",
@@ -7614,16 +7606,16 @@ class qu extends G {
7614
7606
  content: r
7615
7607
  }
7616
7608
  }), g(
7617
- gt,
7609
+ ht,
7618
7610
  { elRef: this.rootElRef, elClasses: ["fc-timegrid"], viewSpec: i.viewSpec },
7619
- g(Un, { liquid: !s.isHeightAuto && !s.forPrint, collapsibleWidth: s.forPrint, cols: [{ width: "shrink" }], sections: l })
7611
+ g(Ln, { liquid: !s.isHeightAuto && !s.forPrint, collapsibleWidth: s.forPrint, cols: [{ width: "shrink" }], sections: l })
7620
7612
  );
7621
7613
  }
7622
7614
  renderHScrollLayout(e, n, r, i, s, l, o) {
7623
7615
  let a = this.context.pluginHooks.scrollGridImpl;
7624
7616
  if (!a)
7625
7617
  throw new Error("No ScrollGrid implementation");
7626
- let { context: d, props: c } = this, h = !c.forPrint && yt(d.options), f = !c.forPrint && fs(d.options), u = [];
7618
+ let { context: d, props: c } = this, h = !c.forPrint && bt(d.options), f = !c.forPrint && fs(d.options), u = [];
7627
7619
  e && u.push({
7628
7620
  type: "header",
7629
7621
  key: "header",
@@ -7688,7 +7680,7 @@ class qu extends G {
7688
7680
  g(
7689
7681
  "tbody",
7690
7682
  null,
7691
- g(Wu, { slatMetas: l })
7683
+ g(Vu, { slatMetas: l })
7692
7684
  )
7693
7685
  ),
7694
7686
  g(
@@ -7699,7 +7691,7 @@ class qu extends G {
7699
7691
  /* hacky */
7700
7692
  }, (b) => {
7701
7693
  let E = m && o && o.safeComputeTop(b);
7702
- return typeof E == "number" ? g(zn, { elClasses: ["fc-timegrid-now-indicator-arrow"], elStyle: { top: E }, isAxis: !0, date: b }) : null;
7694
+ return typeof E == "number" ? g(jn, { elClasses: ["fc-timegrid-now-indicator-arrow"], elStyle: { top: E }, isAxis: !0, date: b }) : null;
7703
7695
  })
7704
7696
  )
7705
7697
  )
@@ -7718,15 +7710,15 @@ class qu extends G {
7718
7710
  chunks: [
7719
7711
  {
7720
7712
  key: "axis",
7721
- content: cn
7713
+ content: an
7722
7714
  },
7723
7715
  {
7724
7716
  key: "cols",
7725
- content: cn
7717
+ content: an
7726
7718
  }
7727
7719
  ]
7728
7720
  }), g(
7729
- gt,
7721
+ ht,
7730
7722
  { elRef: this.rootElRef, elClasses: ["fc-timegrid"], viewSpec: d.viewSpec },
7731
7723
  g(a, { liquid: !c.isHeightAuto && !c.forPrint, forPrint: c.forPrint, collapsibleWidth: !1, colGroups: [
7732
7724
  { width: "shrink", cols: [{ width: "shrink" }] },
@@ -7738,13 +7730,13 @@ class qu extends G {
7738
7730
  ------------------------------------------------------------------------------------------------------------------*/
7739
7731
  getAllDayMaxEventProps() {
7740
7732
  let { dayMaxEvents: e, dayMaxEventRows: n } = this.context.options;
7741
- return (e === !0 || n === !0) && (e = void 0, n = Gu), { dayMaxEvents: e, dayMaxEventRows: n };
7733
+ return (e === !0 || n === !0) && (e = void 0, n = qu), { dayMaxEvents: e, dayMaxEventRows: n };
7742
7734
  }
7743
7735
  }
7744
- function Qu(t) {
7736
+ function Yu(t) {
7745
7737
  return t.text;
7746
7738
  }
7747
- class Yu {
7739
+ class Zu {
7748
7740
  constructor(e, n, r) {
7749
7741
  this.positions = e, this.dateProfile = n, this.slotDuration = r;
7750
7742
  }
@@ -7770,7 +7762,7 @@ class Yu {
7770
7762
  return s = Math.max(0, s), s = Math.min(i, s), l = Math.floor(s), l = Math.min(l, i - 1), o = s - l, n.tops[l] + n.getHeight(l) * o;
7771
7763
  }
7772
7764
  }
7773
- class Zu extends T {
7765
+ class $u extends T {
7774
7766
  render() {
7775
7767
  let { props: e, context: n } = this, { options: r } = n, { slatElRefs: i } = e;
7776
7768
  return g("tbody", null, e.slatMetas.map((s, l) => {
@@ -7794,7 +7786,7 @@ class Zu extends T {
7794
7786
  }));
7795
7787
  }
7796
7788
  }
7797
- class $u extends T {
7789
+ class Xu extends T {
7798
7790
  constructor() {
7799
7791
  super(...arguments), this.rootElRef = B(), this.slatElRefs = new q();
7800
7792
  }
@@ -7811,7 +7803,7 @@ class $u extends T {
7811
7803
  height: e.minHeight
7812
7804
  } },
7813
7805
  e.tableColGroupNode,
7814
- g(Zu, { slatElRefs: this.slatElRefs, axis: e.axis, slatMetas: e.slatMetas })
7806
+ g($u, { slatElRefs: this.slatElRefs, axis: e.axis, slatMetas: e.slatMetas })
7815
7807
  )
7816
7808
  );
7817
7809
  }
@@ -7826,10 +7818,10 @@ class $u extends T {
7826
7818
  }
7827
7819
  updateSizing() {
7828
7820
  let { context: e, props: n } = this;
7829
- n.onCoords && n.clientWidth !== null && this.rootElRef.current.offsetHeight && n.onCoords(new Yu(new Re(this.rootElRef.current, Xu(this.slatElRefs.currentMap, n.slatMetas), !1, !0), this.props.dateProfile, e.options.slotDuration));
7821
+ n.onCoords && n.clientWidth !== null && this.rootElRef.current.offsetHeight && n.onCoords(new Zu(new Re(this.rootElRef.current, Ju(this.slatElRefs.currentMap, n.slatMetas), !1, !0), this.props.dateProfile, e.options.slotDuration));
7830
7822
  }
7831
7823
  }
7832
- function Xu(t, e) {
7824
+ function Ju(t, e) {
7833
7825
  return e.map((n) => t[n.key]);
7834
7826
  }
7835
7827
  function ke(t, e) {
@@ -7857,27 +7849,27 @@ function Gr(t, e) {
7857
7849
  n[r] = null;
7858
7850
  return n;
7859
7851
  }
7860
- class Ju extends T {
7852
+ class Ku extends T {
7861
7853
  render() {
7862
7854
  let { props: e } = this;
7863
7855
  return g(vs, { elClasses: ["fc-timegrid-more-link"], elStyle: {
7864
7856
  top: e.top,
7865
7857
  bottom: e.bottom
7866
- }, allDayDate: null, moreCnt: e.hiddenSegs.length, allSegs: e.hiddenSegs, hiddenSegs: e.hiddenSegs, extraDateSpan: e.extraDateSpan, dateProfile: e.dateProfile, todayRange: e.todayRange, popoverContent: () => Ls(e.hiddenSegs, e), defaultGenerator: Ku, forceTimed: !0 }, (n) => g(n, { elTag: "div", elClasses: ["fc-timegrid-more-link-inner", "fc-sticky"] }));
7858
+ }, allDayDate: null, moreCnt: e.hiddenSegs.length, allSegs: e.hiddenSegs, hiddenSegs: e.hiddenSegs, extraDateSpan: e.extraDateSpan, dateProfile: e.dateProfile, todayRange: e.todayRange, popoverContent: () => Ls(e.hiddenSegs, e), defaultGenerator: ef, forceTimed: !0 }, (n) => g(n, { elTag: "div", elClasses: ["fc-timegrid-more-link-inner", "fc-sticky"] }));
7867
7859
  }
7868
7860
  }
7869
- function Ku(t) {
7861
+ function ef(t) {
7870
7862
  return t.shortText;
7871
7863
  }
7872
- function ef(t, e, n) {
7864
+ function tf(t, e, n) {
7873
7865
  let r = new ts();
7874
7866
  e != null && (r.strictOrder = e), n != null && (r.maxStackCnt = n);
7875
- let i = r.addSegs(t), s = ac(i), l = tf(r);
7876
- return l = lf(l, 1), { segRects: of(l), hiddenGroups: s };
7867
+ let i = r.addSegs(t), s = ac(i), l = nf(r);
7868
+ return l = of(l, 1), { segRects: af(l), hiddenGroups: s };
7877
7869
  }
7878
- function tf(t) {
7879
- const { entriesByLevel: e } = t, n = Gn((r, i) => r + ":" + i, (r, i) => {
7880
- let s = sf(t, r, i), l = qr(s, n), o = e[r][i];
7870
+ function nf(t) {
7871
+ const { entriesByLevel: e } = t, n = Vn((r, i) => r + ":" + i, (r, i) => {
7872
+ let s = lf(t, r, i), l = qr(s, n), o = e[r][i];
7881
7873
  return [
7882
7874
  Object.assign(Object.assign({}, o), { nextLevelNodes: l[0] }),
7883
7875
  o.thickness + l[1]
@@ -7892,24 +7884,24 @@ function qr(t, e) {
7892
7884
  let { level: n, lateralStart: r, lateralEnd: i } = t, s = r, l = [];
7893
7885
  for (; s < i; )
7894
7886
  l.push(e(n, s)), s += 1;
7895
- return l.sort(nf), [
7896
- l.map(rf),
7887
+ return l.sort(rf), [
7888
+ l.map(sf),
7897
7889
  l[0][1]
7898
7890
  // first item's pressure
7899
7891
  ];
7900
7892
  }
7901
- function nf(t, e) {
7893
+ function rf(t, e) {
7902
7894
  return e[1] - t[1];
7903
7895
  }
7904
- function rf(t) {
7896
+ function sf(t) {
7905
7897
  return t[0];
7906
7898
  }
7907
- function sf(t, e, n) {
7899
+ function lf(t, e, n) {
7908
7900
  let { levelCoords: r, entriesByLevel: i } = t, s = i[e][n], l = r[e] + s.thickness, o = r.length, a = e;
7909
7901
  for (; a < o && r[a] < l; a += 1)
7910
7902
  ;
7911
7903
  for (; a < o; a += 1) {
7912
- let d = i[a], c, h = an(d, s.span.start, on), f = h[0] + h[1], u = f;
7904
+ let d = i[a], c, h = on(d, s.span.start, ln), f = h[0] + h[1], u = f;
7913
7905
  for (
7914
7906
  ;
7915
7907
  // loop through entries that horizontally intersect
@@ -7922,8 +7914,8 @@ function sf(t, e, n) {
7922
7914
  }
7923
7915
  return null;
7924
7916
  }
7925
- function lf(t, e) {
7926
- const n = Gn((r, i, s) => ue(r), (r, i, s) => {
7917
+ function of(t, e) {
7918
+ const n = Vn((r, i, s) => ue(r), (r, i, s) => {
7927
7919
  let { nextLevelNodes: l, thickness: o } = r, a = o + s, d = o / a, c, h = [];
7928
7920
  if (!l.length)
7929
7921
  c = e;
@@ -7941,9 +7933,9 @@ function lf(t, e) {
7941
7933
  });
7942
7934
  return t.map((r) => n(r, 0, 0)[1]);
7943
7935
  }
7944
- function of(t) {
7936
+ function af(t) {
7945
7937
  let e = [];
7946
- const n = Gn((i, s, l) => ue(i), (i, s, l) => {
7938
+ const n = Vn((i, s, l) => ue(i), (i, s, l) => {
7947
7939
  let o = Object.assign(Object.assign({}, i), {
7948
7940
  levelCoord: s,
7949
7941
  stackDepth: l,
@@ -7959,7 +7951,7 @@ function of(t) {
7959
7951
  }
7960
7952
  return r(t, 0, 0), e;
7961
7953
  }
7962
- function Gn(t, e) {
7954
+ function Vn(t, e) {
7963
7955
  const n = {};
7964
7956
  return (...r) => {
7965
7957
  let i = t(...r);
@@ -7983,7 +7975,7 @@ function Qr(t, e, n = null, r = 0) {
7983
7975
  }
7984
7976
  return i;
7985
7977
  }
7986
- function af(t, e, n, r) {
7978
+ function cf(t, e, n, r) {
7987
7979
  let i = [], s = [];
7988
7980
  for (let d = 0; d < t.length; d += 1) {
7989
7981
  let c = e[d];
@@ -7993,7 +7985,7 @@ function af(t, e, n, r) {
7993
7985
  span: c
7994
7986
  }) : s.push(t[d]);
7995
7987
  }
7996
- let { segRects: l, hiddenGroups: o } = ef(i, n, r), a = [];
7988
+ let { segRects: l, hiddenGroups: o } = tf(i, n, r), a = [];
7997
7989
  for (let d of l)
7998
7990
  a.push({
7999
7991
  seg: t[d.index],
@@ -8003,7 +7995,7 @@ function af(t, e, n, r) {
8003
7995
  a.push({ seg: d, rect: null });
8004
7996
  return { segPlacements: a, hiddenGroups: o };
8005
7997
  }
8006
- const cf = O({
7998
+ const df = N({
8007
7999
  hour: "numeric",
8008
8000
  minute: "2-digit",
8009
8001
  meridiem: !1
@@ -8014,10 +8006,10 @@ class Bs extends T {
8014
8006
  "fc-timegrid-event",
8015
8007
  "fc-v-event",
8016
8008
  this.props.isShort && "fc-timegrid-event-short"
8017
- ], defaultTimeFormat: cf }));
8009
+ ], defaultTimeFormat: df }));
8018
8010
  }
8019
8011
  }
8020
- class df extends T {
8012
+ class uf extends T {
8021
8013
  constructor() {
8022
8014
  super(...arguments), this.sortEventSegs = A(Vi);
8023
8015
  }
@@ -8030,7 +8022,7 @@ class df extends T {
8030
8022
  // TODO: messy way to compute this
8031
8023
  e.eventDrag && e.eventDrag.affectedInstances || e.eventResize && e.eventResize.affectedInstances || {}
8032
8024
  ), o = this.sortEventSegs(e.fgEventSegs, r.eventOrder);
8033
- return g(Fn, { elTag: "td", elRef: e.elRef, elClasses: [
8025
+ return g(zn, { elTag: "td", elRef: e.elRef, elClasses: [
8034
8026
  "fc-timegrid-col",
8035
8027
  ...e.extraClassNames || []
8036
8028
  ], elAttrs: Object.assign({ role: "gridcell" }, e.extraDataAttrs), date: e.date, dateProfile: e.dateProfile, todayRange: e.todayRange, extraRenderProps: e.extraRenderProps }, (a) => g(
@@ -8046,7 +8038,7 @@ class df extends T {
8046
8038
  g("div", { className: "fc-timegrid-col-events" }, this.renderFgSegs(o, l, !1, !1, !1)),
8047
8039
  g("div", { className: "fc-timegrid-col-events" }, this.renderFgSegs(s, {}, !!e.eventDrag, !!e.eventResize, !!i, "mirror")),
8048
8040
  g("div", { className: "fc-timegrid-now-indicator-container" }, this.renderNowIndicator(e.nowIndicatorSegs)),
8049
- Wn(r) && g(a, { elTag: "div", elClasses: ["fc-timegrid-col-misc"] })
8041
+ Fn(r) && g(a, { elTag: "div", elClasses: ["fc-timegrid-col-misc"] })
8050
8042
  ));
8051
8043
  }
8052
8044
  renderFgSegs(e, n, r, i, s, l) {
@@ -8054,13 +8046,13 @@ class df extends T {
8054
8046
  return o.forPrint ? Ls(e, o) : this.renderPositionedFgSegs(e, n, r, i, s, l);
8055
8047
  }
8056
8048
  renderPositionedFgSegs(e, n, r, i, s, l) {
8057
- let { eventMaxStack: o, eventShortHeight: a, eventOrderStrict: d, eventMinHeight: c } = this.context.options, { date: h, slatCoords: f, eventSelection: u, todayRange: m, nowDate: v } = this.props, b = r || i || s, E = Qr(e, h, f, c), { segPlacements: y, hiddenGroups: D } = af(e, E, d, o);
8049
+ let { eventMaxStack: o, eventShortHeight: a, eventOrderStrict: d, eventMinHeight: c } = this.context.options, { date: h, slatCoords: f, eventSelection: u, todayRange: m, nowDate: v } = this.props, b = r || i || s, E = Qr(e, h, f, c), { segPlacements: y, hiddenGroups: D } = cf(e, E, d, o);
8058
8050
  return g(
8059
8051
  M,
8060
8052
  null,
8061
8053
  this.renderHiddenGroups(D, e),
8062
8054
  y.map((C) => {
8063
- let { seg: I, rect: w } = C, x = I.eventRange.instance.instanceId, R = b || !!(!n[x] && w), J = Zt(w && w.span), Te = !b && w ? this.computeSegHStyle(w) : { left: 0, right: 0 }, Vs = !!w && w.stackForward > 0, Gs = !!w && w.span.end - w.span.start < a;
8055
+ let { seg: I, rect: w } = C, x = I.eventRange.instance.instanceId, R = b || !!(!n[x] && w), J = Yt(w && w.span), Te = !b && w ? this.computeSegHStyle(w) : { left: 0, right: 0 }, Vs = !!w && w.stackForward > 0, Gs = !!w && w.span.end - w.span.start < a;
8064
8056
  return g(
8065
8057
  "div",
8066
8058
  { className: "fc-timegrid-event-harness" + (Vs ? " fc-timegrid-event-harness-inset" : ""), key: l || x, style: Object.assign(Object.assign({ visibility: R ? "" : "hidden" }, J), Te) },
@@ -8073,21 +8065,21 @@ class df extends T {
8073
8065
  renderHiddenGroups(e, n) {
8074
8066
  let { extraDateSpan: r, dateProfile: i, todayRange: s, nowDate: l, eventSelection: o, eventDrag: a, eventResize: d } = this.props;
8075
8067
  return g(M, null, e.map((c) => {
8076
- let h = Zt(c.span), f = uf(c.entries, n);
8077
- return g(Ju, { key: Di(bs(f)), hiddenSegs: f, top: h.top, bottom: h.bottom, extraDateSpan: r, dateProfile: i, todayRange: s, nowDate: l, eventSelection: o, eventDrag: a, eventResize: d });
8068
+ let h = Yt(c.span), f = ff(c.entries, n);
8069
+ return g(Ku, { key: Di(bs(f)), hiddenSegs: f, top: h.top, bottom: h.bottom, extraDateSpan: r, dateProfile: i, todayRange: s, nowDate: l, eventSelection: o, eventDrag: a, eventResize: d });
8078
8070
  }));
8079
8071
  }
8080
8072
  renderFillSegs(e, n) {
8081
8073
  let { props: r, context: i } = this, l = Qr(e, r.date, r.slatCoords, i.options.eventMinHeight).map((o, a) => {
8082
8074
  let d = e[a];
8083
- return g("div", { key: qi(d.eventRange), className: "fc-timegrid-bg-harness", style: Zt(o) }, n === "bg-event" ? g(gs, Object.assign({ seg: d }, ne(d, r.todayRange, r.nowDate))) : ps(n));
8075
+ return g("div", { key: qi(d.eventRange), className: "fc-timegrid-bg-harness", style: Yt(o) }, n === "bg-event" ? g(gs, Object.assign({ seg: d }, ne(d, r.todayRange, r.nowDate))) : ps(n));
8084
8076
  });
8085
8077
  return g(M, null, l);
8086
8078
  }
8087
8079
  renderNowIndicator(e) {
8088
8080
  let { slatCoords: n, date: r } = this.props;
8089
8081
  return n ? e.map((i, s) => g(
8090
- zn,
8082
+ jn,
8091
8083
  {
8092
8084
  // key doesn't matter. will only ever be one
8093
8085
  key: s,
@@ -8122,16 +8114,16 @@ function Ls(t, { todayRange: e, nowDate: n, eventSelection: r, eventDrag: i, eve
8122
8114
  );
8123
8115
  }));
8124
8116
  }
8125
- function Zt(t) {
8117
+ function Yt(t) {
8126
8118
  return t ? {
8127
8119
  top: t.start,
8128
8120
  bottom: -t.end
8129
8121
  } : { top: "", bottom: "" };
8130
8122
  }
8131
- function uf(t, e) {
8123
+ function ff(t, e) {
8132
8124
  return t.map((n) => e[n.index]);
8133
8125
  }
8134
- class ff extends T {
8126
+ class hf extends T {
8135
8127
  constructor() {
8136
8128
  super(...arguments), this.splitFgEventSegs = A(ke), this.splitBgEventSegs = A(ke), this.splitBusinessHourSegs = A(ke), this.splitNowIndicatorSegs = A(ke), this.splitDateSelectionSegs = A(ke), this.splitEventDrag = A(Gr), this.splitEventResize = A(Gr), this.rootElRef = B(), this.cellElRefs = new q();
8137
8129
  }
@@ -8159,10 +8151,10 @@ class ff extends T {
8159
8151
  g(
8160
8152
  "div",
8161
8153
  { className: "fc-timegrid-col-frame" },
8162
- g("div", { className: "fc-timegrid-now-indicator-container" }, typeof r == "number" && g(zn, { elClasses: ["fc-timegrid-now-indicator-arrow"], elStyle: { top: r }, isAxis: !0, date: e.nowDate }))
8154
+ g("div", { className: "fc-timegrid-now-indicator-container" }, typeof r == "number" && g(jn, { elClasses: ["fc-timegrid-now-indicator-arrow"], elStyle: { top: r }, isAxis: !0, date: e.nowDate }))
8163
8155
  )
8164
8156
  ),
8165
- e.cells.map((f, u) => g(df, { key: f.key, elRef: this.cellElRefs.createRef(f.key), dateProfile: e.dateProfile, date: f.date, nowDate: e.nowDate, todayRange: e.todayRange, extraRenderProps: f.extraRenderProps, extraDataAttrs: f.extraDataAttrs, extraClassNames: f.extraClassNames, extraDateSpan: f.extraDateSpan, fgEventSegs: s[u], bgEventSegs: l[u], businessHourSegs: o[u], nowIndicatorSegs: a[u], dateSelectionSegs: d[u], eventDrag: c[u], eventResize: h[u], slatCoords: e.slatCoords, eventSelection: e.eventSelection, forPrint: e.forPrint }))
8157
+ e.cells.map((f, u) => g(uf, { key: f.key, elRef: this.cellElRefs.createRef(f.key), dateProfile: e.dateProfile, date: f.date, nowDate: e.nowDate, todayRange: e.todayRange, extraRenderProps: f.extraRenderProps, extraDataAttrs: f.extraDataAttrs, extraClassNames: f.extraClassNames, extraDateSpan: f.extraDateSpan, fgEventSegs: s[u], bgEventSegs: l[u], businessHourSegs: o[u], nowIndicatorSegs: a[u], dateSelectionSegs: d[u], eventDrag: c[u], eventResize: h[u], slatCoords: e.slatCoords, eventSelection: e.eventSelection, forPrint: e.forPrint }))
8166
8158
  )
8167
8159
  )
8168
8160
  )
@@ -8178,19 +8170,19 @@ class ff extends T {
8178
8170
  let { props: e } = this;
8179
8171
  e.onColCoords && e.clientWidth !== null && e.onColCoords(new Re(
8180
8172
  this.rootElRef.current,
8181
- hf(this.cellElRefs.currentMap, e.cells),
8173
+ gf(this.cellElRefs.currentMap, e.cells),
8182
8174
  !0,
8183
8175
  // horizontal
8184
8176
  !1
8185
8177
  ));
8186
8178
  }
8187
8179
  }
8188
- function hf(t, e) {
8180
+ function gf(t, e) {
8189
8181
  return e.map((n) => t[n.key]);
8190
8182
  }
8191
- class gf extends G {
8183
+ class pf extends G {
8192
8184
  constructor() {
8193
- super(...arguments), this.processSlotOptions = A(pf), this.state = {
8185
+ super(...arguments), this.processSlotOptions = A(mf), this.state = {
8194
8186
  slatCoords: null
8195
8187
  }, this.handleRootEl = (e) => {
8196
8188
  e ? this.context.registerInteractiveComponent(this, {
@@ -8223,8 +8215,8 @@ class gf extends G {
8223
8215
  width: e.clientWidth,
8224
8216
  minWidth: e.tableMinWidth
8225
8217
  } },
8226
- g($u, { 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 }),
8227
- g(ff, { 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: n.slatCoords, onColCoords: this.handleColCoords, forPrint: e.forPrint })
8218
+ g(Xu, { 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 }),
8219
+ g(hf, { 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: n.slatCoords, onColCoords: this.handleColCoords, forPrint: e.forPrint })
8228
8220
  );
8229
8221
  }
8230
8222
  componentDidMount() {
@@ -8239,7 +8231,7 @@ class gf extends G {
8239
8231
  queryHit(e, n) {
8240
8232
  let { dateEnv: r, options: i } = this.context, { colCoords: s } = this, { dateProfile: l } = this.props, { slatCoords: o } = this.state, { snapDuration: a, snapsPerSlot: d } = this.processSlotOptions(this.props.slotDuration, i.snapDuration), c = s.leftToIndex(e), h = o.positions.topToIndex(n);
8241
8233
  if (c != null && h != null) {
8242
- let f = this.props.cells[c], u = o.positions.tops[h], m = o.positions.getHeight(h), v = (n - u) / m, b = Math.floor(v * d), E = h * d + b, y = this.props.cells[c].date, D = Kt(l.slotMinTime, $l(a, E)), C = r.add(y, D), I = r.add(C, a);
8234
+ let f = this.props.cells[c], u = o.positions.tops[h], m = o.positions.getHeight(h), v = (n - u) / m, b = Math.floor(v * d), E = h * d + b, y = this.props.cells[c].date, D = Jt(l.slotMinTime, $l(a, E)), C = r.add(y, D), I = r.add(C, a);
8243
8235
  return {
8244
8236
  dateProfile: l,
8245
8237
  dateSpan: Object.assign({ range: { start: C, end: I }, allDay: !1 }, f.extraDateSpan),
@@ -8256,11 +8248,11 @@ class gf extends G {
8256
8248
  return null;
8257
8249
  }
8258
8250
  }
8259
- function pf(t, e) {
8260
- let n = e || t, r = yn(t, n);
8251
+ function mf(t, e) {
8252
+ let n = e || t, r = bn(t, n);
8261
8253
  return r === null && (n = t, r = 1), { snapDuration: n, snapsPerSlot: r };
8262
8254
  }
8263
- class mf extends os {
8255
+ class vf extends os {
8264
8256
  sliceRange(e, n) {
8265
8257
  let r = [];
8266
8258
  for (let i = 0; i < n.length; i += 1) {
@@ -8276,16 +8268,16 @@ class mf extends os {
8276
8268
  return r;
8277
8269
  }
8278
8270
  }
8279
- class vf extends G {
8271
+ class bf extends G {
8280
8272
  constructor() {
8281
- super(...arguments), this.buildDayRanges = A(bf), this.slicer = new mf(), this.timeColsRef = B();
8273
+ super(...arguments), this.buildDayRanges = A(yf), this.slicer = new vf(), this.timeColsRef = B();
8282
8274
  }
8283
8275
  render() {
8284
8276
  let { props: e, context: n } = this, { dateProfile: r, dayTableModel: i } = e, { nowIndicator: s, nextDayThreshold: l } = n.options, o = this.buildDayRanges(i, r, n.dateEnv);
8285
- return g(ze, { unit: s ? "minute" : "day" }, (a, d) => g(gf, Object.assign({ ref: this.timeColsRef }, this.slicer.sliceProps(e, r, null, n, o), { forPrint: e.forPrint, axis: e.axis, dateProfile: r, 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: a, nowIndicatorSegs: s && this.slicer.sliceNowDate(a, r, l, n, o), todayRange: d, onScrollTopRequest: e.onScrollTopRequest, onSlatCoords: e.onSlatCoords })));
8277
+ return g(ze, { unit: s ? "minute" : "day" }, (a, d) => g(pf, Object.assign({ ref: this.timeColsRef }, this.slicer.sliceProps(e, r, null, n, o), { forPrint: e.forPrint, axis: e.axis, dateProfile: r, 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: a, nowIndicatorSegs: s && this.slicer.sliceNowDate(a, r, l, n, o), todayRange: d, onScrollTopRequest: e.onScrollTopRequest, onSlatCoords: e.onSlatCoords })));
8286
8278
  }
8287
8279
  }
8288
- function bf(t, e, n) {
8280
+ function yf(t, e, n) {
8289
8281
  let r = [];
8290
8282
  for (let i of t.headerDates)
8291
8283
  r.push({
@@ -8301,42 +8293,40 @@ const Yr = [
8301
8293
  { seconds: 30 },
8302
8294
  { seconds: 15 }
8303
8295
  ];
8304
- function yf(t, e, n, r, i) {
8305
- let s = /* @__PURE__ */ new Date(0), l = t, o = _(0), a = n || Ef(r), d = [];
8296
+ function Ef(t, e, n, r, i) {
8297
+ let s = /* @__PURE__ */ new Date(0), l = t, o = _(0), a = n || Sf(r), d = [];
8306
8298
  for (; F(l) < F(e); ) {
8307
- let c = i.add(s, l), h = yn(o, a) !== null;
8299
+ let c = i.add(s, l), h = bn(o, a) !== null;
8308
8300
  d.push({
8309
8301
  date: c,
8310
8302
  time: l,
8311
8303
  key: c.toISOString(),
8312
8304
  isoTimeStr: ho(c),
8313
8305
  isLabeled: h
8314
- }), l = Kt(l, r), o = Kt(o, r);
8306
+ }), l = Jt(l, r), o = Jt(o, r);
8315
8307
  }
8316
8308
  return d;
8317
8309
  }
8318
- function Ef(t) {
8310
+ function Sf(t) {
8319
8311
  let e, n, r;
8320
8312
  for (e = Yr.length - 1; e >= 0; e -= 1)
8321
- if (n = _(Yr[e]), r = yn(n, t), r !== null && r > 1)
8313
+ if (n = _(Yr[e]), r = bn(n, t), r !== null && r > 1)
8322
8314
  return n;
8323
8315
  return t;
8324
8316
  }
8325
- class Sf extends qu {
8317
+ class Af extends Qu {
8326
8318
  constructor() {
8327
- super(...arguments), this.buildTimeColsModel = A(Af), this.buildSlatMetas = A(yf);
8319
+ super(...arguments), this.buildTimeColsModel = A(Df), this.buildSlatMetas = A(Ef);
8328
8320
  }
8329
8321
  render() {
8330
- let { options: e, dateEnv: n, dateProfileGenerator: r } = this.context, { props: i } = this, { dateProfile: s } = i, l = this.buildTimeColsModel(s, r), o = this.allDaySplitter.splitProps(i), a = this.buildSlatMetas(s.slotMinTime, s.slotMaxTime, e.slotLabelInterval, e.slotDuration, n), { dayMinWidth: d } = e, c = !d, h = d, f = e.dayHeaders && g(is, { dates: l.headerDates, dateProfile: s, datesRepDistinctDays: !0, renderIntro: c ? this.renderHeadAxis : null }), u = e.allDaySlot !== !1 && ((v) => g(Ps, Object.assign({}, o.allDay, { dateProfile: s, dayTableModel: l, nextDayThreshold: e.nextDayThreshold, tableMinWidth: v.tableMinWidth, colGroupNode: v.tableColGroupNode, renderRowIntro: c ? this.renderTableRowAxis : null, showWeekNumbers: !1, expandRows: !1, headerAlignElRef: this.headerElRef, clientWidth: v.clientWidth, clientHeight: v.clientHeight, forPrint: i.forPrint }, this.getAllDayMaxEventProps()))), m = (v) => g(vf, Object.assign({}, o.timed, { dayTableModel: l, dateProfile: s, axis: c, slotDuration: e.slotDuration, slatMetas: a, forPrint: i.forPrint, tableColGroupNode: v.tableColGroupNode, tableMinWidth: v.tableMinWidth, clientWidth: v.clientWidth, clientHeight: v.clientHeight, onSlatCoords: this.handleSlatCoords, expandRows: v.expandRows, onScrollTopRequest: this.handleScrollTopRequest }));
8322
+ let { options: e, dateEnv: n, dateProfileGenerator: r } = this.context, { props: i } = this, { dateProfile: s } = i, l = this.buildTimeColsModel(s, r), o = this.allDaySplitter.splitProps(i), a = this.buildSlatMetas(s.slotMinTime, s.slotMaxTime, e.slotLabelInterval, e.slotDuration, n), { dayMinWidth: d } = e, c = !d, h = d, f = e.dayHeaders && g(is, { dates: l.headerDates, dateProfile: s, datesRepDistinctDays: !0, renderIntro: c ? this.renderHeadAxis : null }), u = e.allDaySlot !== !1 && ((v) => g(Ps, Object.assign({}, o.allDay, { dateProfile: s, dayTableModel: l, nextDayThreshold: e.nextDayThreshold, tableMinWidth: v.tableMinWidth, colGroupNode: v.tableColGroupNode, renderRowIntro: c ? this.renderTableRowAxis : null, showWeekNumbers: !1, expandRows: !1, headerAlignElRef: this.headerElRef, clientWidth: v.clientWidth, clientHeight: v.clientHeight, forPrint: i.forPrint }, this.getAllDayMaxEventProps()))), m = (v) => g(bf, Object.assign({}, o.timed, { dayTableModel: l, dateProfile: s, axis: c, slotDuration: e.slotDuration, slatMetas: a, forPrint: i.forPrint, tableColGroupNode: v.tableColGroupNode, tableMinWidth: v.tableMinWidth, clientWidth: v.clientWidth, clientHeight: v.clientHeight, onSlatCoords: this.handleSlatCoords, expandRows: v.expandRows, onScrollTopRequest: this.handleScrollTopRequest }));
8331
8323
  return h ? this.renderHScrollLayout(f, u, m, l.colCnt, d, a, this.state.slatCoords) : this.renderSimpleLayout(f, u, m);
8332
8324
  }
8333
8325
  }
8334
- function Af(t, e) {
8326
+ function Df(t, e) {
8335
8327
  let n = new ss(t.renderRange, e);
8336
8328
  return new ls(n, !1);
8337
8329
  }
8338
- var Df = '.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-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}';
8339
- gn(Df);
8340
8330
  const Cf = {
8341
8331
  allDaySlot: Boolean
8342
8332
  };
@@ -8346,7 +8336,7 @@ var wf = X({
8346
8336
  optionRefiners: Cf,
8347
8337
  views: {
8348
8338
  timeGrid: {
8349
- component: Sf,
8339
+ component: Af,
8350
8340
  usesMinMaxTime: !0,
8351
8341
  allDaySlot: !0,
8352
8342
  slotDuration: "00:30:00",
@@ -8363,8 +8353,8 @@ var wf = X({
8363
8353
  }
8364
8354
  }
8365
8355
  });
8366
- Ln.touchMouseIgnoreWait = 500;
8367
- let un = 0, Et = 0, fn = !1;
8356
+ Bn.touchMouseIgnoreWait = 500;
8357
+ let dn = 0, yt = 0, un = !1;
8368
8358
  class Us {
8369
8359
  constructor(e) {
8370
8360
  this.subjectEl = null, this.selector = "", this.handleSelector = "", this.shouldIgnoreMove = !1, this.shouldWatchScroll = !0, this.isDragging = !1, this.isTouchDragging = !1, this.wasTouchScroll = !1, this.handleMouseDown = (n) => {
@@ -8397,7 +8387,7 @@ class Us {
8397
8387
  this.wasTouchScroll = !0;
8398
8388
  }, this.handleScroll = (n) => {
8399
8389
  if (!this.shouldIgnoreMove) {
8400
- let r = window.scrollX - this.prevScrollX + this.prevPageX, i = window.scrollY - this.prevScrollY + this.prevPageY;
8390
+ let r = window.pageXOffset - this.prevScrollX + this.prevPageX, i = window.pageYOffset - this.prevScrollY + this.prevPageY;
8401
8391
  this.emitter.trigger("pointermove", {
8402
8392
  origEvent: n,
8403
8393
  isTouch: this.isTouchDragging,
@@ -8408,7 +8398,7 @@ class Us {
8408
8398
  deltaY: i - this.origPageY
8409
8399
  });
8410
8400
  }
8411
- }, this.containerEl = e, this.emitter = new _t(), e.addEventListener("mousedown", this.handleMouseDown), e.addEventListener("touchstart", this.handleTouchStart, { passive: !0 }), Tf();
8401
+ }, this.containerEl = e, this.emitter = new Rt(), e.addEventListener("mousedown", this.handleMouseDown), e.addEventListener("touchstart", this.handleTouchStart, { passive: !0 }), Tf();
8412
8402
  }
8413
8403
  destroy() {
8414
8404
  this.containerEl.removeEventListener("mousedown", this.handleMouseDown), this.containerEl.removeEventListener("touchstart", this.handleTouchStart, { passive: !0 }), xf();
@@ -8418,17 +8408,17 @@ class Us {
8418
8408
  return n && (!this.handleSelector || P(r, this.handleSelector)) ? (this.subjectEl = n, this.isDragging = !0, this.wasTouchScroll = !1, !0) : !1;
8419
8409
  }
8420
8410
  cleanup() {
8421
- fn = !1, this.isDragging = !1, this.subjectEl = null, this.destroyScrollWatch();
8411
+ un = !1, this.isDragging = !1, this.subjectEl = null, this.destroyScrollWatch();
8422
8412
  }
8423
8413
  querySubjectEl(e) {
8424
8414
  return this.selector ? P(e.target, this.selector) : this.containerEl;
8425
8415
  }
8426
8416
  shouldIgnoreMouse() {
8427
- return un || this.isTouchDragging;
8417
+ return dn || this.isTouchDragging;
8428
8418
  }
8429
8419
  // can be called by user of this class, to cancel touch-based scrolling for the current drag
8430
8420
  cancelTouchScroll() {
8431
- this.isDragging && (fn = !0);
8421
+ this.isDragging && (un = !0);
8432
8422
  }
8433
8423
  // Scrolling that simulates pointermoves
8434
8424
  // ----------------------------------------------------------------------------------------------------
@@ -8436,7 +8426,7 @@ class Us {
8436
8426
  this.shouldWatchScroll && (this.recordCoords(e), window.addEventListener("scroll", this.handleScroll, !0));
8437
8427
  }
8438
8428
  recordCoords(e) {
8439
- this.shouldWatchScroll && (this.prevPageX = e.pageX, this.prevPageY = e.pageY, this.prevScrollX = window.scrollX, this.prevScrollY = window.scrollY);
8429
+ this.shouldWatchScroll && (this.prevPageX = e.pageX, this.prevPageY = e.pageY, this.prevScrollX = window.pageXOffset, this.prevScrollY = window.pageYOffset);
8440
8430
  }
8441
8431
  destroyScrollWatch() {
8442
8432
  this.shouldWatchScroll && window.removeEventListener("scroll", this.handleScroll, !0);
@@ -8472,28 +8462,28 @@ function Rf(t) {
8472
8462
  return t.button === 0 && !t.ctrlKey;
8473
8463
  }
8474
8464
  function _f() {
8475
- un += 1, setTimeout(() => {
8476
- un -= 1;
8477
- }, Ln.touchMouseIgnoreWait);
8465
+ dn += 1, setTimeout(() => {
8466
+ dn -= 1;
8467
+ }, Bn.touchMouseIgnoreWait);
8478
8468
  }
8479
8469
  function Tf() {
8480
- Et += 1, Et === 1 && window.addEventListener("touchmove", js, { passive: !1 });
8470
+ yt += 1, yt === 1 && window.addEventListener("touchmove", js, { passive: !1 });
8481
8471
  }
8482
8472
  function xf() {
8483
- Et -= 1, Et || window.removeEventListener("touchmove", js, { passive: !1 });
8473
+ yt -= 1, yt || window.removeEventListener("touchmove", js, { passive: !1 });
8484
8474
  }
8485
8475
  function js(t) {
8486
- fn && t.preventDefault();
8476
+ un && t.preventDefault();
8487
8477
  }
8488
8478
  class kf {
8489
8479
  constructor() {
8490
8480
  this.isVisible = !1, this.sourceEl = null, this.mirrorEl = null, this.sourceElRect = null, this.parentNode = document.body, this.zIndex = 9999, this.revertDuration = 0;
8491
8481
  }
8492
8482
  start(e, n, r) {
8493
- this.sourceEl = e, this.sourceElRect = this.sourceEl.getBoundingClientRect(), this.origScreenX = n - window.scrollX, this.origScreenY = r - window.scrollY, this.deltaX = 0, this.deltaY = 0, this.updateElPosition();
8483
+ this.sourceEl = e, this.sourceElRect = this.sourceEl.getBoundingClientRect(), this.origScreenX = n - window.pageXOffset, this.origScreenY = r - window.pageYOffset, this.deltaX = 0, this.deltaY = 0, this.updateElPosition();
8494
8484
  }
8495
8485
  handleMove(e, n) {
8496
- this.deltaX = e - window.scrollX - this.origScreenX, this.deltaY = n - window.scrollY - this.origScreenY, this.updateElPosition();
8486
+ this.deltaX = e - window.pageXOffset - this.origScreenX, this.deltaY = n - window.pageYOffset - this.origScreenY, this.updateElPosition();
8497
8487
  }
8498
8488
  // can be called before start
8499
8489
  setIsVisible(e) {
@@ -8509,7 +8499,7 @@ class kf {
8509
8499
  }
8510
8500
  doRevertAnimation(e, n) {
8511
8501
  let r = this.mirrorEl, i = this.sourceEl.getBoundingClientRect();
8512
- r.style.transition = "top " + n + "ms,left " + n + "ms", Ne(r, {
8502
+ r.style.transition = "top " + n + "ms,left " + n + "ms", Oe(r, {
8513
8503
  left: i.left,
8514
8504
  top: i.top
8515
8505
  }), Pl(r, () => {
@@ -8517,17 +8507,17 @@ class kf {
8517
8507
  });
8518
8508
  }
8519
8509
  cleanup() {
8520
- this.mirrorEl && (mn(this.mirrorEl), this.mirrorEl = null), this.sourceEl = null;
8510
+ this.mirrorEl && (pn(this.mirrorEl), this.mirrorEl = null), this.sourceEl = null;
8521
8511
  }
8522
8512
  updateElPosition() {
8523
- this.sourceEl && this.isVisible && Ne(this.getMirrorEl(), {
8513
+ this.sourceEl && this.isVisible && Oe(this.getMirrorEl(), {
8524
8514
  left: this.sourceElRect.left + this.deltaX,
8525
8515
  top: this.sourceElRect.top + this.deltaY
8526
8516
  });
8527
8517
  }
8528
8518
  getMirrorEl() {
8529
8519
  let e = this.sourceElRect, n = this.mirrorEl;
8530
- return n || (n = this.mirrorEl = this.sourceEl.cloneNode(!0), n.style.userSelect = "none", n.style.webkitUserSelect = "none", n.style.pointerEvents = "none", n.classList.add("fc-event-dragging"), Ne(n, {
8520
+ return n || (n = this.mirrorEl = this.sourceEl.cloneNode(!0), n.style.userSelect = "none", n.style.webkitUserSelect = "none", n.classList.add("fc-event-dragging"), Oe(n, {
8531
8521
  position: "fixed",
8532
8522
  zIndex: this.zIndex,
8533
8523
  visibility: "",
@@ -8540,7 +8530,7 @@ class kf {
8540
8530
  }), this.parentNode.appendChild(n)), n;
8541
8531
  }
8542
8532
  }
8543
- class zs extends Hn {
8533
+ class zs extends Pn {
8544
8534
  constructor(e, n) {
8545
8535
  super(), this.handleScroll = () => {
8546
8536
  this.scrollTop = this.scrollController.getScrollTop(), this.scrollLeft = this.scrollController.getScrollLeft(), this.handleScrollChange();
@@ -8613,7 +8603,7 @@ class If {
8613
8603
  constructor() {
8614
8604
  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 = () => {
8615
8605
  if (this.isAnimating) {
8616
- let e = this.computeBestEdge(this.pointerScreenX + window.scrollX, this.pointerScreenY + window.scrollY);
8606
+ let e = this.computeBestEdge(this.pointerScreenX + window.pageXOffset, this.pointerScreenY + window.pageYOffset);
8617
8607
  if (e) {
8618
8608
  let n = Zr();
8619
8609
  this.handleSide(e, (n - this.msSinceRequest) / 1e3), this.requestAnimation(n);
@@ -8627,7 +8617,7 @@ class If {
8627
8617
  }
8628
8618
  handleMove(e, n) {
8629
8619
  if (this.isEnabled) {
8630
- let r = e - window.scrollX, i = n - window.scrollY, s = this.pointerScreenY === null ? 0 : i - this.pointerScreenY, l = this.pointerScreenX === null ? 0 : r - this.pointerScreenX;
8620
+ let r = e - window.pageXOffset, i = n - window.pageYOffset, s = this.pointerScreenY === null ? 0 : i - this.pointerScreenY, l = this.pointerScreenX === null ? 0 : r - this.pointerScreenX;
8631
8621
  s < 0 ? this.everMovedUp = !0 : s > 0 && (this.everMovedDown = !0), l < 0 ? this.everMovedLeft = !0 : l > 0 && (this.everMovedRight = !0), this.pointerScreenX = r, this.pointerScreenY = i, this.isAnimating || (this.isAnimating = !0, this.requestAnimation(Zr()));
8632
8622
  }
8633
8623
  }
@@ -8736,9 +8726,9 @@ class Fe extends dc {
8736
8726
  this.autoScroller.isEnabled = e;
8737
8727
  }
8738
8728
  }
8739
- class Nf {
8729
+ class Of {
8740
8730
  constructor(e) {
8741
- this.el = e, this.origRect = Pn(e), this.scrollCaches = es(e).map((n) => new Fs(n, !0));
8731
+ this.origRect = Nn(e), this.scrollCaches = es(e).map((n) => new Fs(n, !0));
8742
8732
  }
8743
8733
  destroy() {
8744
8734
  for (let e of this.scrollCaches)
@@ -8759,18 +8749,18 @@ class Nf {
8759
8749
  isWithinClipping(e, n) {
8760
8750
  let r = { left: e, top: n };
8761
8751
  for (let i of this.scrollCaches)
8762
- if (!Of(i.getEventTarget()) && !Ga(r, i.clientRect))
8752
+ if (!Nf(i.getEventTarget()) && !Ga(r, i.clientRect))
8763
8753
  return !1;
8764
8754
  return !0;
8765
8755
  }
8766
8756
  }
8767
- function Of(t) {
8757
+ function Nf(t) {
8768
8758
  let e = t.tagName;
8769
8759
  return e === "HTML" || e === "BODY";
8770
8760
  }
8771
- class Tt {
8761
+ class _t {
8772
8762
  constructor(e, n) {
8773
- this.useSubjectCenter = !1, this.requireInitial = !0, this.disablePointCheck = !1, this.initialHit = null, this.movingHit = null, this.finalHit = null, this.handlePointerDown = (r) => {
8763
+ this.useSubjectCenter = !1, this.requireInitial = !0, this.initialHit = null, this.movingHit = null, this.finalHit = null, this.handlePointerDown = (r) => {
8774
8764
  let { dragging: i } = this;
8775
8765
  this.initialHit = null, this.movingHit = null, this.finalHit = null, this.prepareHits(), this.processFirstCoord(r), this.initialHit || !this.requireInitial ? (i.setIgnoreMove(!1), this.emitter.trigger("pointerdown", r)) : i.setIgnoreMove(!0);
8776
8766
  }, this.handleDragStart = (r) => {
@@ -8781,13 +8771,13 @@ class Tt {
8781
8771
  this.releaseHits(), this.emitter.trigger("pointerup", r);
8782
8772
  }, this.handleDragEnd = (r) => {
8783
8773
  this.movingHit && this.emitter.trigger("hitupdate", null, !0, r), this.finalHit = this.movingHit, this.movingHit = null, this.emitter.trigger("dragend", r);
8784
- }, this.droppableStore = n, 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 _t();
8774
+ }, this.droppableStore = n, 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 Rt();
8785
8775
  }
8786
8776
  // sets initialHit
8787
8777
  // sets coordAdjust
8788
8778
  processFirstCoord(e) {
8789
8779
  let n = { left: e.pageX, top: e.pageY }, r = n, i = e.subjectEl, s;
8790
- i instanceof HTMLElement && (s = Pn(i), r = qa(r, s));
8780
+ i instanceof HTMLElement && (s = Nn(i), r = qa(r, s));
8791
8781
  let l = this.initialHit = this.queryHitForOffset(r.left, r.top);
8792
8782
  if (l) {
8793
8783
  if (this.useSubjectCenter && s) {
@@ -8800,10 +8790,10 @@ class Tt {
8800
8790
  }
8801
8791
  handleMove(e, n) {
8802
8792
  let r = this.queryHitForOffset(e.pageX + this.coordAdjust.left, e.pageY + this.coordAdjust.top);
8803
- (n || !xt(this.movingHit, r)) && (this.movingHit = r, this.emitter.trigger("hitupdate", r, !1, e));
8793
+ (n || !Tt(this.movingHit, r)) && (this.movingHit = r, this.emitter.trigger("hitupdate", r, !1, e));
8804
8794
  }
8805
8795
  prepareHits() {
8806
- this.offsetTrackers = Y(this.droppableStore, (e) => (e.component.prepareHits(), new Nf(e.el)));
8796
+ this.offsetTrackers = Y(this.droppableStore, (e) => (e.component.prepareHits(), new Of(e.el)));
8807
8797
  }
8808
8798
  releaseHits() {
8809
8799
  let { offsetTrackers: e } = this;
@@ -8824,21 +8814,14 @@ class Tt {
8824
8814
  ) {
8825
8815
  let b = o.queryHit(h, f, m, v);
8826
8816
  b && // make sure the hit is within activeRange, meaning it's not a dead cell
8827
- wt(b.dateProfile.activeRange, b.dateSpan.range) && // Ensure the component we are querying for the hit is accessibly my the pointer
8828
- // Prevents obscured calendars (ex: under a modal dialog) from accepting hit
8829
- // https://github.com/fullcalendar/fullcalendar/issues/5026
8830
- (this.disablePointCheck || a.el.contains(document.elementFromPoint(
8831
- // add-back origins to get coordinate relative to top-left of window viewport
8832
- h + d - window.scrollX,
8833
- f + c - window.scrollY
8834
- ))) && (!s || b.layer > s.layer) && (b.componentId = l, b.context = o.context, b.rect.left += d, b.rect.right += d, b.rect.top += c, b.rect.bottom += c, s = b);
8817
+ Ct(b.dateProfile.activeRange, b.dateSpan.range) && (!s || b.layer > s.layer) && (b.componentId = l, b.context = o.context, b.rect.left += d, b.rect.right += d, b.rect.top += c, b.rect.bottom += c, s = b);
8835
8818
  }
8836
8819
  }
8837
8820
  }
8838
8821
  return s;
8839
8822
  }
8840
8823
  }
8841
- function xt(t, e) {
8824
+ function Tt(t, e) {
8842
8825
  return !t && !e ? !0 : !!t != !!e ? !1 : Pa(t.dateSpan, e.dateSpan);
8843
8826
  }
8844
8827
  function Ws(t, e) {
@@ -8863,13 +8846,13 @@ class Hf extends _e {
8863
8846
  let { component: i } = this, { pointer: s } = this.dragging;
8864
8847
  if (!s.wasTouchScroll) {
8865
8848
  let { initialHit: l, finalHit: o } = this.hitDragging;
8866
- if (l && o && xt(l, o)) {
8849
+ if (l && o && Tt(l, o)) {
8867
8850
  let { context: a } = i, d = Object.assign(Object.assign({}, Ws(l.dateSpan, a)), { dayEl: l.dayEl, jsEvent: r.origEvent, view: a.viewApi || a.calendarApi.view });
8868
8851
  a.emitter.trigger("dateClick", d);
8869
8852
  }
8870
8853
  }
8871
8854
  }, this.dragging = new Fe(e.el), this.dragging.autoScroller.isEnabled = !1;
8872
- let n = this.hitDragging = new Tt(this.dragging, Nn(e));
8855
+ let n = this.hitDragging = new _t(this.dragging, In(e));
8873
8856
  n.emitter.on("pointerdown", this.handlePointerDown), n.emitter.on("dragend", this.handleDragEnd);
8874
8857
  }
8875
8858
  destroy() {
@@ -8889,13 +8872,13 @@ class Bf extends _e {
8889
8872
  let h = this.hitDragging.initialHit;
8890
8873
  l.componentId === h.componentId && this.isHitComboAllowed && !this.isHitComboAllowed(h, l) || (d = Uf(h, l, a.pluginHooks.dateSelectionTransformers)), (!d || !mc(d, l.dateProfile, a)) && (c = !0, d = null);
8891
8874
  }
8892
- d ? a.dispatch({ type: "SELECT_DATES", selection: d }) : o || a.dispatch({ type: "UNSELECT_DATES" }), c ? vn() : bn(), o || (this.dragSelection = d);
8875
+ d ? a.dispatch({ type: "SELECT_DATES", selection: d }) : o || a.dispatch({ type: "UNSELECT_DATES" }), c ? mn() : vn(), o || (this.dragSelection = d);
8893
8876
  }, this.handlePointerUp = (l) => {
8894
8877
  this.dragSelection && (zi(this.dragSelection, l, this.component.context), this.dragSelection = null);
8895
8878
  };
8896
8879
  let { component: n } = e, { options: r } = n.context, i = this.dragging = new Fe(e.el);
8897
8880
  i.touchScrollAllowed = !1, i.minDistance = r.selectMinDistance || 0, i.autoScroller.isEnabled = r.dragScroll;
8898
- let s = this.hitDragging = new Tt(this.dragging, Nn(e));
8881
+ let s = this.hitDragging = new _t(this.dragging, In(e));
8899
8882
  s.emitter.on("pointerdown", this.handlePointerDown), s.emitter.on("dragstart", this.handleDragStart), s.emitter.on("hitupdate", this.handleHitUpdate), s.emitter.on("pointerup", this.handlePointerUp);
8900
8883
  }
8901
8884
  destroy() {
@@ -8929,7 +8912,7 @@ class We extends _e {
8929
8912
  let o = l.origEvent.target, { component: a, dragging: d } = this, { mirror: c } = d, { options: h } = a.context, f = a.context;
8930
8913
  this.subjectEl = l.subjectEl;
8931
8914
  let u = this.subjectSeg = we(l.subjectEl), v = (this.eventRange = u.eventRange).instance.instanceId;
8932
- this.relevantEvents = xn(f.getCurrentData().eventStore, v), d.minDistance = l.isTouch ? 0 : h.eventDragMinDistance, d.delay = // only do a touch delay if touch and this event hasn't been selected yet
8915
+ this.relevantEvents = Tn(f.getCurrentData().eventStore, v), d.minDistance = l.isTouch ? 0 : h.eventDragMinDistance, d.delay = // only do a touch delay if touch and this event hasn't been selected yet
8933
8916
  l.isTouch && v !== a.props.eventSelection ? zf(a) : null, h.fixedMirrorParent ? c.parentNode = h.fixedMirrorParent : c.parentNode = P(o, ".fc"), c.revertDuration = h.dragRevertDuration;
8934
8917
  let b = a.isValidSegDownEl(o) && !P(o, ".fc-event-resizer");
8935
8918
  d.setIgnoreMove(!b), this.isDragging = b && l.subjectEl.classList.contains("fc-event-draggable");
@@ -8937,7 +8920,7 @@ class We extends _e {
8937
8920
  let o = this.component.context, a = this.eventRange, d = a.instance.instanceId;
8938
8921
  l.isTouch ? d !== this.component.props.eventSelection && o.dispatch({ type: "SELECT_EVENT", eventInstanceId: d }) : o.dispatch({ type: "UNSELECT_EVENT" }), this.isDragging && (o.calendarApi.unselect(l), o.emitter.trigger("eventDragStart", {
8939
8922
  el: this.subjectEl,
8940
- event: new N(o, a.def, a.instance),
8923
+ event: new O(o, a.def, a.instance),
8941
8924
  jsEvent: l.origEvent,
8942
8925
  view: o.viewApi
8943
8926
  }));
@@ -8952,15 +8935,15 @@ class We extends _e {
8952
8935
  if (l) {
8953
8936
  h = l.context;
8954
8937
  let b = h.options;
8955
- c === h || b.editable && b.droppable ? (f = jf(d, l, this.eventRange.instance.range.start, h.getCurrentData().pluginHooks.eventDragMutationMassagers), f && (u = In(a, h.getCurrentData().eventUiBases, f, h), v.mutatedEvents = u, as(v, l.dateProfile, h) || (m = !0, f = null, u = null, v.mutatedEvents = j()))) : h = null;
8938
+ c === h || b.editable && b.droppable ? (f = jf(d, l, h.getCurrentData().pluginHooks.eventDragMutationMassagers), f && (u = Mn(a, h.getCurrentData().eventUiBases, f, h), v.mutatedEvents = u, as(v, l.dateProfile, h) || (m = !0, f = null, u = null, v.mutatedEvents = j()))) : h = null;
8956
8939
  }
8957
- this.displayDrag(h, v), m ? vn() : bn(), o || (c === h && // TODO: write test for this
8958
- xt(d, l) && (f = null), this.dragging.setMirrorNeedsRevert(!f), this.dragging.setMirrorIsVisible(!l || !this.subjectEl.getRootNode().querySelector(".fc-event-mirror")), this.receivingContext = h, this.validMutation = f, this.mutatedRelevantEvents = u);
8940
+ this.displayDrag(h, v), m ? mn() : vn(), o || (c === h && // TODO: write test for this
8941
+ Tt(d, l) && (f = null), this.dragging.setMirrorNeedsRevert(!f), this.dragging.setMirrorIsVisible(!l || !this.subjectEl.getRootNode().querySelector(".fc-event-mirror")), this.receivingContext = h, this.validMutation = f, this.mutatedRelevantEvents = u);
8959
8942
  }, this.handlePointerUp = () => {
8960
8943
  this.isDragging || this.cleanup();
8961
8944
  }, this.handleDragEnd = (l) => {
8962
8945
  if (this.isDragging) {
8963
- let o = this.component.context, a = o.viewApi, { receivingContext: d, validMutation: c } = this, h = this.eventRange.def, f = this.eventRange.instance, u = new N(o, h, f), m = this.relevantEvents, v = this.mutatedRelevantEvents, { finalHit: b } = this.hitDragging;
8946
+ let o = this.component.context, a = o.viewApi, { receivingContext: d, validMutation: c } = this, h = this.eventRange.def, f = this.eventRange.instance, u = new O(o, h, f), m = this.relevantEvents, v = this.mutatedRelevantEvents, { finalHit: b } = this.hitDragging;
8964
8947
  if (this.clearDrag(), o.emitter.trigger("eventDragStop", {
8965
8948
  el: this.subjectEl,
8966
8949
  event: u,
@@ -8968,7 +8951,7 @@ class We extends _e {
8968
8951
  view: a
8969
8952
  }), c) {
8970
8953
  if (d === o) {
8971
- let E = new N(o, v.defs[h.defId], f ? v.instances[f.instanceId] : null);
8954
+ let E = new O(o, v.defs[h.defId], f ? v.instances[f.instanceId] : null);
8972
8955
  o.dispatch({
8973
8956
  type: "MERGE_EVENTS",
8974
8957
  eventStore: v
@@ -9003,7 +8986,7 @@ class We extends _e {
9003
8986
  type: "REMOVE_EVENTS",
9004
8987
  eventStore: m
9005
8988
  }), o.emitter.trigger("eventRemove", E);
9006
- let y = v.defs[h.defId], D = v.instances[f.instanceId], C = new N(d, y, D);
8989
+ let y = v.defs[h.defId], D = v.instances[f.instanceId], C = new O(d, y, D);
9007
8990
  d.dispatch({
9008
8991
  type: "MERGE_EVENTS",
9009
8992
  eventStore: v
@@ -9030,7 +9013,7 @@ class We extends _e {
9030
9013
  };
9031
9014
  let { component: n } = this, { options: r } = n.context, i = this.dragging = new Fe(e.el);
9032
9015
  i.pointer.selector = We.SELECTOR, i.touchScrollAllowed = !1, i.autoScroller.isEnabled = r.dragScroll;
9033
- let s = this.hitDragging = new Tt(this.dragging, ln);
9016
+ let s = this.hitDragging = new _t(this.dragging, sn);
9034
9017
  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);
9035
9018
  }
9036
9019
  destroy() {
@@ -9057,18 +9040,18 @@ class We extends _e {
9057
9040
  }
9058
9041
  }
9059
9042
  We.SELECTOR = ".fc-event-draggable, .fc-event-resizable";
9060
- function jf(t, e, n, r) {
9061
- let i = t.dateSpan, s = e.dateSpan, l = i.range.start, o = s.range.start, a = {};
9062
- i.allDay !== s.allDay && (a.allDay = s.allDay, a.hasEnd = e.context.options.allDayMaintainDuration, s.allDay ? l = k(n) : l = n);
9063
- let d = Ee(l, o, t.context.dateEnv, t.componentId === e.componentId ? t.largeUnit : null);
9064
- d.milliseconds && (a.allDay = !1);
9065
- let c = {
9066
- datesDelta: d,
9067
- standardProps: a
9043
+ function jf(t, e, n) {
9044
+ let r = t.dateSpan, i = e.dateSpan, s = r.range.start, l = i.range.start, o = {};
9045
+ r.allDay !== i.allDay && (o.allDay = i.allDay, o.hasEnd = e.context.options.allDayMaintainDuration, i.allDay && (s = k(s)));
9046
+ let a = Ee(s, l, t.context.dateEnv, t.componentId === e.componentId ? t.largeUnit : null);
9047
+ a.milliseconds && (o.allDay = !1);
9048
+ let d = {
9049
+ datesDelta: a,
9050
+ standardProps: o
9068
9051
  };
9069
- for (let h of r)
9070
- h(c, t, e);
9071
- return c;
9052
+ for (let c of n)
9053
+ c(d, t, e);
9054
+ return d;
9072
9055
  }
9073
9056
  function zf(t) {
9074
9057
  let { options: e } = t.context, n = e.eventLongPressDelay;
@@ -9081,11 +9064,11 @@ class Ff extends _e {
9081
9064
  this.dragging.minDistance = l.context.options.eventDragMinDistance, this.dragging.setIgnoreMove(!this.component.isValidSegDownEl(s.origEvent.target) || s.isTouch && this.component.props.eventSelection !== d.instance.instanceId);
9082
9065
  }, this.handleDragStart = (s) => {
9083
9066
  let { context: l } = this.component, o = this.eventRange;
9084
- this.relevantEvents = xn(l.getCurrentData().eventStore, this.eventRange.instance.instanceId);
9067
+ this.relevantEvents = Tn(l.getCurrentData().eventStore, this.eventRange.instance.instanceId);
9085
9068
  let a = this.querySegEl(s);
9086
9069
  this.draggingSegEl = a, this.draggingSeg = we(a), l.calendarApi.unselect(), l.emitter.trigger("eventResizeStart", {
9087
9070
  el: a,
9088
- event: new N(l, o.def, o.instance),
9071
+ event: new O(l, o.def, o.instance),
9089
9072
  jsEvent: s.origEvent,
9090
9073
  view: l.viewApi
9091
9074
  });
@@ -9095,19 +9078,19 @@ class Ff extends _e {
9095
9078
  mutatedEvents: j(),
9096
9079
  isEvent: !0
9097
9080
  };
9098
- s && (s.componentId === c.componentId && this.isHitComboAllowed && !this.isHitComboAllowed(c, s) || (f = Wf(c, s, o.subjectEl.classList.contains("fc-event-resizer-start"), h.range))), f && (u = In(d, a.getCurrentData().eventUiBases, f, a), v.mutatedEvents = u, as(v, s.dateProfile, a) || (m = !0, f = null, u = null, v.mutatedEvents = null)), u ? a.dispatch({
9081
+ s && (s.componentId === c.componentId && this.isHitComboAllowed && !this.isHitComboAllowed(c, s) || (f = Wf(c, s, o.subjectEl.classList.contains("fc-event-resizer-start"), h.range))), f && (u = Mn(d, a.getCurrentData().eventUiBases, f, a), v.mutatedEvents = u, as(v, s.dateProfile, a) || (m = !0, f = null, u = null, v.mutatedEvents = null)), u ? a.dispatch({
9099
9082
  type: "SET_EVENT_RESIZE",
9100
9083
  state: v
9101
- }) : a.dispatch({ type: "UNSET_EVENT_RESIZE" }), m ? vn() : bn(), l || (f && xt(c, s) && (f = null), this.validMutation = f, this.mutatedRelevantEvents = u);
9084
+ }) : a.dispatch({ type: "UNSET_EVENT_RESIZE" }), m ? mn() : vn(), l || (f && Tt(c, s) && (f = null), this.validMutation = f, this.mutatedRelevantEvents = u);
9102
9085
  }, this.handleDragEnd = (s) => {
9103
- let { context: l } = this.component, o = this.eventRange.def, a = this.eventRange.instance, d = new N(l, o, a), c = this.relevantEvents, h = this.mutatedRelevantEvents;
9086
+ let { context: l } = this.component, o = this.eventRange.def, a = this.eventRange.instance, d = new O(l, o, a), c = this.relevantEvents, h = this.mutatedRelevantEvents;
9104
9087
  if (l.emitter.trigger("eventResizeStop", {
9105
9088
  el: this.draggingSegEl,
9106
9089
  event: d,
9107
9090
  jsEvent: s.origEvent,
9108
9091
  view: l.viewApi
9109
9092
  }), this.validMutation) {
9110
- let f = new N(l, h.defs[o.defId], a ? h.instances[a.instanceId] : null);
9093
+ let f = new O(l, h.defs[o.defId], a ? h.instances[a.instanceId] : null);
9111
9094
  l.dispatch({
9112
9095
  type: "MERGE_EVENTS",
9113
9096
  eventStore: h
@@ -9131,7 +9114,7 @@ class Ff extends _e {
9131
9114
  };
9132
9115
  let { component: n } = e, r = this.dragging = new Fe(e.el);
9133
9116
  r.pointer.selector = ".fc-event-resizer", r.touchScrollAllowed = !1, r.autoScroller.isEnabled = n.context.options.dragScroll;
9134
- let i = this.hitDragging = new Tt(this.dragging, Nn(e));
9117
+ let i = this.hitDragging = new _t(this.dragging, In(e));
9135
9118
  i.emitter.on("pointerdown", this.handlePointerDown), i.emitter.on("dragstart", this.handleDragStart), i.emitter.on("hitupdate", this.handleHitUpdate), i.emitter.on("dragend", this.handleDragEnd);
9136
9119
  }
9137
9120
  destroy() {
@@ -9191,7 +9174,7 @@ const Gf = {
9191
9174
  eventReceive: p,
9192
9175
  eventLeave: p
9193
9176
  };
9194
- Ln.dataAttrPrefix = "";
9177
+ Bn.dataAttrPrefix = "";
9195
9178
  var Qf = X({
9196
9179
  name: "@fullcalendar/interaction",
9197
9180
  componentInteractions: [Hf, Bf, We, Ff],
@@ -9201,7 +9184,7 @@ var Qf = X({
9201
9184
  listenerRefiners: qf
9202
9185
  });
9203
9186
  /*! Element Plus Icons Vue v2.3.1 */
9204
- var Yf = /* @__PURE__ */ St({
9187
+ var Yf = /* @__PURE__ */ Et({
9205
9188
  name: "DeleteFilled",
9206
9189
  __name: "delete-filled",
9207
9190
  setup(t) {
@@ -9227,7 +9210,7 @@ const $f = { class: "ik-full-calendar" }, Xf = ["onClick"], Jf = {
9227
9210
  class: "event-title no-allday"
9228
9211
  }, th = { class: "event-title-time" }, nh = { class: "event-title-text" }, rh = {
9229
9212
  name: "IkFullCalendar"
9230
- }, ih = /* @__PURE__ */ St({
9213
+ }, ih = /* @__PURE__ */ Et({
9231
9214
  ...rh,
9232
9215
  props: {
9233
9216
  options: { default: {} },
@@ -9240,8 +9223,8 @@ const $f = { class: "ik-full-calendar" }, Xf = ["onClick"], Jf = {
9240
9223
  const r = t, i = $s({
9241
9224
  get: () => r.modelValue,
9242
9225
  set: (y) => s("update:modelValue", y)
9243
- }), s = n, l = kt(null), o = (y) => {
9244
- }, a = kt("dayGridMonth"), d = (y) => {
9226
+ }), s = n, l = xt(null), o = (y) => {
9227
+ }, a = xt("dayGridMonth"), d = (y) => {
9245
9228
  s("dateSelect", y);
9246
9229
  }, c = (y) => {
9247
9230
  s("eventClick", y);
@@ -9269,7 +9252,7 @@ const $f = { class: "ik-full-calendar" }, Xf = ["onClick"], Jf = {
9269
9252
  }), u = Xs({
9270
9253
  timeType: "month",
9271
9254
  options: f()
9272
- }), m = kt(null), v = () => {
9255
+ }), m = xt(null), v = () => {
9273
9256
  var y;
9274
9257
  u.options = f(), (y = l.value) == null || y.buildOptions(u.options);
9275
9258
  };
@@ -9315,9 +9298,9 @@ const $f = { class: "ik-full-calendar" }, Xf = ["onClick"], Jf = {
9315
9298
  return Ks(() => {
9316
9299
  E();
9317
9300
  }), (y, D) => {
9318
- const C = qn("el-tooltip"), I = qn("el-icon");
9301
+ const C = Gn("el-tooltip"), I = Gn("el-icon");
9319
9302
  return be(), Me("div", $f, [
9320
- Mt(It(au), {
9303
+ kt(Mt(au), {
9321
9304
  ref_key: "_ref",
9322
9305
  ref: l,
9323
9306
  options: u.options,
@@ -9328,14 +9311,14 @@ const $f = { class: "ik-full-calendar" }, Xf = ["onClick"], Jf = {
9328
9311
  class: "title-line",
9329
9312
  onClick: (x) => c(w)
9330
9313
  }, [
9331
- Mt(
9314
+ kt(
9332
9315
  C,
9333
9316
  null,
9334
9317
  {
9335
9318
  content: Ve(() => {
9336
9319
  var x, R;
9337
9320
  return [
9338
- Nt(" {{arg}} "),
9321
+ It(" {{arg}} "),
9339
9322
  el(
9340
9323
  " " + xe((R = (x = w.event) == null ? void 0 : x.extendedProps) == null ? void 0 : R[r.tooltipFieldName]),
9341
9324
  1
@@ -9345,7 +9328,7 @@ const $f = { class: "ik-full-calendar" }, Xf = ["onClick"], Jf = {
9345
9328
  }),
9346
9329
  default: Ve(() => [
9347
9330
  w.event.allDay ? (be(), Me("span", Jf, [
9348
- a.value === "dayGridMonth" ? (be(), Me("span", Kf, xe("(全天)"))) : Nt("v-if", !0),
9331
+ a.value === "dayGridMonth" ? (be(), Me("span", Kf, xe("(全天)"))) : It("v-if", !0),
9349
9332
  Ie(
9350
9333
  "span",
9351
9334
  null,
@@ -9357,7 +9340,7 @@ const $f = { class: "ik-full-calendar" }, Xf = ["onClick"], Jf = {
9357
9340
  Ie(
9358
9341
  "span",
9359
9342
  th,
9360
- xe(It(rl).toDateTime(w.event.startStr, "HH:mm")),
9343
+ xe(Mt(rl).toDateTime(w.event.startStr, "HH:mm")),
9361
9344
  1
9362
9345
  /* TEXT */
9363
9346
  ),
@@ -9382,11 +9365,11 @@ const $f = { class: "ik-full-calendar" }, Xf = ["onClick"], Jf = {
9382
9365
  onClick: nl((x) => h(w), ["stop"])
9383
9366
  }, {
9384
9367
  default: Ve(() => [
9385
- Mt(It(Zf))
9368
+ kt(Mt(Zf))
9386
9369
  ]),
9387
9370
  _: 2
9388
9371
  /* DYNAMIC */
9389
- }, 1032, ["onClick"])) : Nt("v-if", !0)
9372
+ }, 1032, ["onClick"])) : It("v-if", !0)
9390
9373
  ], 8, Xf)
9391
9374
  ]),
9392
9375
  _: 1