iking-web-ui-pro 0.2.38 → 0.2.39

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.
Files changed (42) hide show
  1. package/dist/IKPreviewFile/ik.index.es.js +12 -7
  2. package/dist/IKPreviewFile/ik.index.umd.js +1 -1
  3. package/dist/IKPreviewFile/style.css +1 -1
  4. package/dist/IKSearch/ik.index.es.js +405 -406
  5. package/dist/IKSearch/ik.index.umd.js +2 -2
  6. package/dist/IKSearch/style.css +1 -1
  7. package/dist/{IKApprovalProcess → IkApprovalProcess}/ik.index.es.js +188 -189
  8. package/dist/{IKApprovalProcess → IkApprovalProcess}/ik.index.umd.js +1 -1
  9. package/dist/{IKApprovalProcess → IkApprovalProcess}/style.css +1 -1
  10. package/dist/{IKApprovalProcessDetail → IkApprovalProcessDetail}/ik.index.es.js +14 -9
  11. package/dist/{IKApprovalProcessDetail → IkApprovalProcessDetail}/ik.index.umd.js +2 -2
  12. package/dist/IkApprovalProcessDetail/style.css +1 -0
  13. package/dist/{IKCalendar → IkCalendar}/ik.index.es.js +917 -901
  14. package/dist/IkCalendar/ik.index.umd.js +1 -0
  15. package/dist/{IKCalendar → IkCalendar}/style.css +1 -1
  16. package/dist/IkDescription/ik.index.es.js +12 -7
  17. package/dist/IkDescription/ik.index.umd.js +1 -1
  18. package/dist/IkDescription/style.css +1 -1
  19. package/dist/IkDetailPreviewFiles/ik.index.es.js +255 -250
  20. package/dist/IkDetailPreviewFiles/ik.index.umd.js +1 -1
  21. package/dist/IkDetailPreviewFiles/style.css +1 -1
  22. package/dist/IkFullCalendar/ik.index.es.js +601 -584
  23. package/dist/IkFullCalendar/ik.index.umd.js +1 -1
  24. package/dist/IkPageFull/ik.index.es.js +423 -424
  25. package/dist/IkPageFull/ik.index.umd.js +2 -2
  26. package/dist/IkPageFull/style.css +1 -1
  27. package/dist/IkPickerUser/ik.index.es.js +23 -24
  28. package/dist/IkPickerUser/ik.index.umd.js +1 -1
  29. package/dist/IkPickerUser/style.css +1 -1
  30. package/dist/IkPreviewFileDialog/ik.index.es.js +1 -0
  31. package/dist/IkSchedule/ik.index.es.js +691 -674
  32. package/dist/IkSchedule/ik.index.umd.js +1 -1
  33. package/dist/IkUploadFile/ik.index.es.js +1 -0
  34. package/dist/IkUploadImage/ik.index.es.js +410 -405
  35. package/dist/IkUploadImage/ik.index.umd.js +1 -1
  36. package/dist/IkUploadImage/style.css +1 -1
  37. package/dist/index.es.js +11576 -11550
  38. package/dist/index.umd.js +89 -89
  39. package/dist/style.css +1 -1
  40. package/package.json +1 -1
  41. package/dist/IKApprovalProcessDetail/style.css +0 -1
  42. package/dist/IKCalendar/ik.index.umd.js +0 -1
@@ -1,7 +1,7 @@
1
- import { defineComponent as ee, h as ht, Fragment as pl, Teleport as ml, openBlock as O, createElementBlock as L, createElementVNode as N, computed as we, ref as qe, reactive as on, watch as vl, onMounted as vi, resolveComponent as G, createVNode as T, unref as J, withCtx as M, createCommentVNode as Be, createTextVNode as le, toDisplayString as he, createBlock as Ze, withModifiers as yl, normalizeClass as Ne, normalizeStyle as Se, useSlots as bl, renderSlot as dr, nextTick as El, pushScopeId as Sl, popScopeId as Al } from "vue";
1
+ import { defineComponent as ee, h as ht, Fragment as pl, Teleport as ml, openBlock as N, createElementBlock as L, createElementVNode as O, computed as we, ref as qe, reactive as an, watch as vl, onMounted as vi, resolveComponent as G, createVNode as T, unref as J, withCtx as M, createCommentVNode as Be, createTextVNode as le, toDisplayString as he, createBlock as Ze, withModifiers as yl, normalizeClass as Oe, normalizeStyle as Se, useSlots as bl, renderSlot as ur, nextTick as El, pushScopeId as Sl, popScopeId as Al } from "vue";
2
2
  import { ikDate as X, ikColor as _l } from "iking-utils-pro";
3
- import { ElMessage as ur, ElMessageBox as Dl } from "element-plus";
4
- const wn = (n, e) => {
3
+ import { ElMessage as fr, ElMessageBox as Dl } from "element-plus";
4
+ const Cn = (n, e) => {
5
5
  if (n.install = (t) => {
6
6
  for (const r of [n, ...Object.values(e ?? {})])
7
7
  t.component(r.name, r);
@@ -9,17 +9,17 @@ const wn = (n, e) => {
9
9
  for (const [t, r] of Object.entries(e))
10
10
  n[t] = r;
11
11
  return n;
12
- }, wl = Object.prototype.toString, an = (n) => wl.call(n) === "[object Object]", Cl = (n, e) => {
13
- if (!an(n) || !an(e))
12
+ }, wl = Object.prototype.toString, cn = (n) => wl.call(n) === "[object Object]", Cl = (n, e) => {
13
+ if (!cn(n) || !cn(e))
14
14
  throw new Error("参数异常");
15
15
  return Object.keys(n).forEach((t) => {
16
16
  Reflect.has(e, t) && (n[t] = e[t]);
17
17
  }), n;
18
18
  }, Rl = {
19
19
  copyValue: Cl,
20
- isObject: an
20
+ isObject: cn
21
21
  };
22
- var Nt, _, yi, bi, je, De, fr, Ei, Si, bt = {}, Ai = [], Tl = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;
22
+ var Pt, _, yi, bi, je, De, hr, Ei, Si, bt = {}, Ai = [], Tl = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;
23
23
  function ge(n, e) {
24
24
  for (var t in e)
25
25
  n[t] = e[t];
@@ -33,7 +33,7 @@ function g(n, e, t) {
33
33
  var r, i, s, l = {};
34
34
  for (s in e)
35
35
  s == "key" ? r = e[s] : s == "ref" ? i = e[s] : l[s] = e[s];
36
- if (arguments.length > 2 && (l.children = arguments.length > 3 ? Nt.call(arguments, 2) : t), typeof n == "function" && n.defaultProps != null)
36
+ if (arguments.length > 2 && (l.children = arguments.length > 3 ? Pt.call(arguments, 2) : t), typeof n == "function" && n.defaultProps != null)
37
37
  for (s in n.defaultProps)
38
38
  l[s] === void 0 && (l[s] = n.defaultProps[s]);
39
39
  return gt(n, l, r, i, null);
@@ -55,7 +55,7 @@ function kl(n, e, t, r, i) {
55
55
  for (s in e)
56
56
  i && typeof e[s] != "function" || s === "children" || s === "key" || s === "value" || s === "checked" || t[s] === e[s] || Et(n, s, e[s], t[s], r);
57
57
  }
58
- function hr(n, e, t) {
58
+ function gr(n, e, t) {
59
59
  e[0] === "-" ? n.setProperty(e, t ?? "") : n[e] = t == null ? "" : typeof t != "number" || Tl.test(e) ? t : t + "px";
60
60
  }
61
61
  function Et(n, e, t, r, i) {
@@ -67,13 +67,13 @@ function Et(n, e, t, r, i) {
67
67
  else {
68
68
  if (typeof r == "string" && (n.style.cssText = r = ""), r)
69
69
  for (e in r)
70
- t && e in t || hr(n.style, e, "");
70
+ t && e in t || gr(n.style, e, "");
71
71
  if (t)
72
72
  for (e in t)
73
- r && t[e] === r[e] || hr(n.style, e, t[e]);
73
+ r && t[e] === r[e] || gr(n.style, e, t[e]);
74
74
  }
75
75
  else if (e[0] === "o" && e[1] === "n")
76
- s = e !== (e = e.replace(/Capture$/, "")), e = e.toLowerCase() in n ? e.toLowerCase().slice(2) : e.slice(2), n.l || (n.l = {}), n.l[e + s] = t, t ? r || n.addEventListener(e, s ? pr : gr, s) : n.removeEventListener(e, s ? pr : gr, s);
76
+ s = e !== (e = e.replace(/Capture$/, "")), e = e.toLowerCase() in n ? e.toLowerCase().slice(2) : e.slice(2), n.l || (n.l = {}), n.l[e + s] = t, t ? r || n.addEventListener(e, s ? mr : pr, s) : n.removeEventListener(e, s ? mr : pr, s);
77
77
  else if (e !== "dangerouslySetInnerHTML") {
78
78
  if (i)
79
79
  e = e.replace(/xlink(H|:h)/, "h").replace(/sName$/, "s");
@@ -86,7 +86,7 @@ function Et(n, e, t, r, i) {
86
86
  typeof t == "function" || (t == null || t === !1 && e.indexOf("-") == -1 ? n.removeAttribute(e) : n.setAttribute(e, t));
87
87
  }
88
88
  }
89
- function gr(n) {
89
+ function pr(n) {
90
90
  je = !0;
91
91
  try {
92
92
  return this.l[n.type + !1](_.event ? _.event(n) : n);
@@ -94,7 +94,7 @@ function gr(n) {
94
94
  je = !1;
95
95
  }
96
96
  }
97
- function pr(n) {
97
+ function mr(n) {
98
98
  je = !0;
99
99
  try {
100
100
  return this.l[n.type + !0](_.event ? _.event(n) : n);
@@ -127,15 +127,15 @@ function Di(n) {
127
127
  function xl(n) {
128
128
  je ? setTimeout(n) : Ei(n);
129
129
  }
130
- function cn(n) {
131
- (!n.__d && (n.__d = !0) && De.push(n) && !St.__r++ || fr !== _.debounceRendering) && ((fr = _.debounceRendering) || xl)(St);
130
+ function dn(n) {
131
+ (!n.__d && (n.__d = !0) && De.push(n) && !St.__r++ || hr !== _.debounceRendering) && ((hr = _.debounceRendering) || xl)(St);
132
132
  }
133
133
  function St() {
134
134
  var n, e, t, r, i, s, l, o;
135
135
  for (De.sort(function(a, d) {
136
136
  return a.__v.__b - d.__v.__b;
137
137
  }); n = De.shift(); )
138
- n.__d && (e = De.length, r = void 0, i = void 0, l = (s = (t = n).__v).__e, (o = t.__P) && (r = [], (i = ge({}, s)).__v = s.__v + 1, Cn(o, s, i, t.__n, o.ownerSVGElement !== void 0, s.__h != null ? [l] : null, r, l ?? Xe(s), s.__h), ki(r, s), s.__e != l && Di(s)), De.length > e && De.sort(function(a, d) {
138
+ n.__d && (e = De.length, r = void 0, i = void 0, l = (s = (t = n).__v).__e, (o = t.__P) && (r = [], (i = ge({}, s)).__v = s.__v + 1, Rn(o, s, i, t.__n, o.ownerSVGElement !== void 0, s.__h != null ? [l] : null, r, l ?? Xe(s), s.__h), ki(r, s), s.__e != l && Di(s)), De.length > e && De.sort(function(a, d) {
139
139
  return a.__v.__b - d.__v.__b;
140
140
  }));
141
141
  St.__r = 0;
@@ -154,7 +154,7 @@ function wi(n, e, t, r, i, s, l, o, a, d) {
154
154
  }
155
155
  h = null;
156
156
  }
157
- Cn(n, u, h = h || bt, i, s, l, o, a, d), m = u.__e, (f = u.ref) && h.ref != f && (b || (b = []), h.ref && b.push(h.ref, null, u), b.push(f, u.__c || m, u)), m != null ? (y == null && (y = m), typeof u.type == "function" && u.__k === h.__k ? u.__d = a = Ci(u, a, n) : a = Ri(n, u, h, E, m, a), typeof t.type == "function" && (t.__d = a)) : a && h.__e == a && a.parentNode != n && (a = Xe(h));
157
+ Rn(n, u, h = h || bt, i, s, l, o, a, d), m = u.__e, (f = u.ref) && h.ref != f && (b || (b = []), h.ref && b.push(h.ref, null, u), b.push(f, u.__c || m, u)), m != null ? (y == null && (y = m), typeof u.type == "function" && u.__k === h.__k ? u.__d = a = Ci(u, a, n) : a = Ri(n, u, h, E, m, a), typeof t.type == "function" && (t.__d = a)) : a && h.__e == a && a.parentNode != n && (a = Xe(h));
158
158
  }
159
159
  for (t.__e = y, c = p; c--; )
160
160
  E[c] != null && (typeof t.type == "function" && E[c].__e != null && E[c].__e == t.__d && (t.__d = Ti(r).nextSibling), Mi(E[c], E[c]));
@@ -199,8 +199,8 @@ function Ti(n) {
199
199
  }
200
200
  return null;
201
201
  }
202
- function Cn(n, e, t, r, i, s, l, o, a) {
203
- var d, c, f, h, u, m, y, b, E, p, A, C, H, R, x, S = e.type;
202
+ function Rn(n, e, t, r, i, s, l, o, a) {
203
+ var d, c, f, h, u, m, y, b, E, p, A, C, P, R, x, S = e.type;
204
204
  if (e.constructor !== void 0)
205
205
  return null;
206
206
  t.__h != null && (a = t.__h, o = e.__e = t.__e, e.__h = null, s = [o]), (d = _.__b) && d(e);
@@ -222,14 +222,14 @@ function Cn(n, e, t, r, i, s, l, o, a) {
222
222
  c.componentDidUpdate(h, u, m);
223
223
  });
224
224
  }
225
- if (c.context = p, c.props = b, c.__P = n, C = _.__r, H = 0, "prototype" in S && S.prototype.render) {
225
+ if (c.context = p, c.props = b, c.__P = n, C = _.__r, P = 0, "prototype" in S && S.prototype.render) {
226
226
  for (c.state = c.__s, c.__d = !1, C && C(e), d = c.render(c.props, c.state, c.context), R = 0; R < c._sb.length; R++)
227
227
  c.__h.push(c._sb[R]);
228
228
  c._sb = [];
229
229
  } else
230
230
  do
231
231
  c.__d = !1, C && C(e), d = c.render(c.props, c.state, c.context), c.state = c.__s;
232
- while (c.__d && ++H < 25);
232
+ while (c.__d && ++P < 25);
233
233
  c.state = c.__s, c.getChildContext != null && (r = ge(ge({}, r), c.getChildContext())), f || c.getSnapshotBeforeUpdate == null || (m = c.getSnapshotBeforeUpdate(h, u)), x = d != null && d.type === B && d.key == null ? d.props.children : d, wi(n, Array.isArray(x) ? x : [x], e, t, r, i, s, l, o, a), c.base = e.__e, e.__h = null, c.__h.length && l.push(c), y && (c.__E = c.__ = null), c.__e = !1;
234
234
  } else
235
235
  s == null && e.__v === t.__v ? (e.__k = t.__k, e.__e = t.__e) : e.__e = Ml(t.__e, e, t, r, i, s, l, a);
@@ -266,7 +266,7 @@ function Ml(n, e, t, r, i, s, l, o) {
266
266
  if (u === null)
267
267
  f === h || o && n.data === h || (n.data = h);
268
268
  else {
269
- if (s = s && Nt.call(n.childNodes), d = (f = t.props || bt).dangerouslySetInnerHTML, c = h.dangerouslySetInnerHTML, !o) {
269
+ if (s = s && Pt.call(n.childNodes), d = (f = t.props || bt).dangerouslySetInnerHTML, c = h.dangerouslySetInnerHTML, !o) {
270
270
  if (s != null)
271
271
  for (f = {}, m = 0; m < n.attributes.length; m++)
272
272
  f[n.attributes[m].name] = n.attributes[m].value;
@@ -309,9 +309,9 @@ function Il(n, e, t) {
309
309
  }
310
310
  function Je(n, e, t) {
311
311
  var r, i, s;
312
- _.__ && _.__(n, e), i = (r = typeof t == "function") ? null : t && t.__k || e.__k, s = [], Cn(e, n = (!r && t || e).__k = g(B, null, [n]), i || bt, bt, e.ownerSVGElement !== void 0, !r && t ? [t] : i ? null : e.firstChild ? Nt.call(e.childNodes) : null, s, !r && t ? t : i ? i.__e : e.firstChild, r), ki(s, n);
312
+ _.__ && _.__(n, e), i = (r = typeof t == "function") ? null : t && t.__k || e.__k, s = [], Rn(e, n = (!r && t || e).__k = g(B, null, [n]), i || bt, bt, e.ownerSVGElement !== void 0, !r && t ? [t] : i ? null : e.firstChild ? Pt.call(e.childNodes) : null, s, !r && t ? t : i ? i.__e : e.firstChild, r), ki(s, n);
313
313
  }
314
- function Ol(n, e) {
314
+ function Nl(n, e) {
315
315
  var t = { __c: e = "__cC" + Si++, __: n, Consumer: function(r, i) {
316
316
  return r.children(i);
317
317
  }, Provider: function(r) {
@@ -320,7 +320,7 @@ function Ol(n, e) {
320
320
  return s;
321
321
  }, this.shouldComponentUpdate = function(l) {
322
322
  this.props.value !== l.value && i.some(function(o) {
323
- o.__e = !0, cn(o);
323
+ o.__e = !0, dn(o);
324
324
  });
325
325
  }, this.sub = function(l) {
326
326
  i.push(l);
@@ -332,7 +332,7 @@ function Ol(n, e) {
332
332
  } };
333
333
  return t.Provider.__ = t.Consumer.contextType = t;
334
334
  }
335
- Nt = Ai.slice, _ = { __e: function(n, e, t, r) {
335
+ Pt = Ai.slice, _ = { __e: function(n, e, t, r) {
336
336
  for (var i, s, l; e = e.__; )
337
337
  if ((i = e.__c) && !i.__)
338
338
  try {
@@ -346,48 +346,48 @@ Nt = Ai.slice, _ = { __e: function(n, e, t, r) {
346
346
  return n != null && n.constructor === void 0;
347
347
  }, je = !1, Q.prototype.setState = function(n, e) {
348
348
  var t;
349
- t = this.__s != null && this.__s !== this.state ? this.__s : this.__s = ge({}, this.state), typeof n == "function" && (n = n(ge({}, t), this.props)), n && ge(t, n), n != null && this.__v && (e && this._sb.push(e), cn(this));
349
+ t = this.__s != null && this.__s !== this.state ? this.__s : this.__s = ge({}, this.state), typeof n == "function" && (n = n(ge({}, t), this.props)), n && ge(t, n), n != null && this.__v && (e && this._sb.push(e), dn(this));
350
350
  }, Q.prototype.forceUpdate = function(n) {
351
- this.__v && (this.__e = !0, n && this.__h.push(n), cn(this));
351
+ this.__v && (this.__e = !0, n && this.__h.push(n), dn(this));
352
352
  }, Q.prototype.render = B, De = [], Ei = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, St.__r = 0, Si = 0;
353
- var ne, Wt, mr, Ii = [], Gt = [], vr = _.__b, yr = _.__r, br = _.diffed, Er = _.__c, Sr = _.unmount;
354
- function Nl() {
353
+ var ne, Gt, vr, Ii = [], qt = [], yr = _.__b, br = _.__r, Er = _.diffed, Sr = _.__c, Ar = _.unmount;
354
+ function Ol() {
355
355
  for (var n; n = Ii.shift(); )
356
356
  if (n.__P && n.__H)
357
357
  try {
358
- n.__H.__h.forEach(pt), n.__H.__h.forEach(dn), n.__H.__h = [];
358
+ n.__H.__h.forEach(pt), n.__H.__h.forEach(un), n.__H.__h = [];
359
359
  } catch (e) {
360
360
  n.__H.__h = [], _.__e(e, n.__v);
361
361
  }
362
362
  }
363
363
  _.__b = function(n) {
364
- ne = null, vr && vr(n);
364
+ ne = null, yr && yr(n);
365
365
  }, _.__r = function(n) {
366
- yr && yr(n);
366
+ br && br(n);
367
367
  var e = (ne = n.__c).__H;
368
- e && (Wt === ne ? (e.__h = [], ne.__h = [], e.__.forEach(function(t) {
369
- t.__N && (t.__ = t.__N), t.__V = Gt, t.__N = t.i = void 0;
370
- })) : (e.__h.forEach(pt), e.__h.forEach(dn), e.__h = [])), Wt = ne;
368
+ e && (Gt === ne ? (e.__h = [], ne.__h = [], e.__.forEach(function(t) {
369
+ t.__N && (t.__ = t.__N), t.__V = qt, t.__N = t.i = void 0;
370
+ })) : (e.__h.forEach(pt), e.__h.forEach(un), e.__h = [])), Gt = ne;
371
371
  }, _.diffed = function(n) {
372
- br && br(n);
372
+ Er && Er(n);
373
373
  var e = n.__c;
374
- e && e.__H && (e.__H.__h.length && (Ii.push(e) !== 1 && mr === _.requestAnimationFrame || ((mr = _.requestAnimationFrame) || Hl)(Nl)), e.__H.__.forEach(function(t) {
375
- t.i && (t.__H = t.i), t.__V !== Gt && (t.__ = t.__V), t.i = void 0, t.__V = Gt;
376
- })), Wt = ne = null;
374
+ e && e.__H && (e.__H.__h.length && (Ii.push(e) !== 1 && vr === _.requestAnimationFrame || ((vr = _.requestAnimationFrame) || Pl)(Ol)), e.__H.__.forEach(function(t) {
375
+ t.i && (t.__H = t.i), t.__V !== qt && (t.__ = t.__V), t.i = void 0, t.__V = qt;
376
+ })), Gt = ne = null;
377
377
  }, _.__c = function(n, e) {
378
378
  e.some(function(t) {
379
379
  try {
380
380
  t.__h.forEach(pt), t.__h = t.__h.filter(function(r) {
381
- return !r.__ || dn(r);
381
+ return !r.__ || un(r);
382
382
  });
383
383
  } catch (r) {
384
384
  e.some(function(i) {
385
385
  i.__h && (i.__h = []);
386
386
  }), e = [], _.__e(r, t.__v);
387
387
  }
388
- }), Er && Er(n, e);
388
+ }), Sr && Sr(n, e);
389
389
  }, _.unmount = function(n) {
390
- Sr && Sr(n);
390
+ Ar && Ar(n);
391
391
  var e, t = n.__c;
392
392
  t && t.__H && (t.__H.__.forEach(function(r) {
393
393
  try {
@@ -397,27 +397,27 @@ _.__b = function(n) {
397
397
  }
398
398
  }), t.__H = void 0, e && _.__e(e, t.__v));
399
399
  };
400
- var Ar = typeof requestAnimationFrame == "function";
401
- function Hl(n) {
400
+ var _r = typeof requestAnimationFrame == "function";
401
+ function Pl(n) {
402
402
  var e, t = function() {
403
- clearTimeout(r), Ar && cancelAnimationFrame(e), setTimeout(n);
403
+ clearTimeout(r), _r && cancelAnimationFrame(e), setTimeout(n);
404
404
  }, r = setTimeout(t, 100);
405
- Ar && (e = requestAnimationFrame(t));
405
+ _r && (e = requestAnimationFrame(t));
406
406
  }
407
407
  function pt(n) {
408
408
  var e = ne, t = n.__c;
409
409
  typeof t == "function" && (n.__c = void 0, t()), ne = e;
410
410
  }
411
- function dn(n) {
411
+ function un(n) {
412
412
  var e = ne;
413
413
  n.__c = n.__(), ne = e;
414
414
  }
415
- function Pl(n, e) {
415
+ function Hl(n, e) {
416
416
  for (var t in e)
417
417
  n[t] = e[t];
418
418
  return n;
419
419
  }
420
- function _r(n, e) {
420
+ function Dr(n, e) {
421
421
  for (var t in n)
422
422
  if (t !== "__source" && !(t in e))
423
423
  return !0;
@@ -426,15 +426,15 @@ function _r(n, e) {
426
426
  return !0;
427
427
  return !1;
428
428
  }
429
- function Dr(n) {
429
+ function wr(n) {
430
430
  this.props = n;
431
431
  }
432
- (Dr.prototype = new Q()).isPureReactComponent = !0, Dr.prototype.shouldComponentUpdate = function(n, e) {
433
- return _r(this.props, n) || _r(this.state, e);
432
+ (wr.prototype = new Q()).isPureReactComponent = !0, wr.prototype.shouldComponentUpdate = function(n, e) {
433
+ return Dr(this.props, n) || Dr(this.state, e);
434
434
  };
435
- var wr = _.__b;
435
+ var Cr = _.__b;
436
436
  _.__b = function(n) {
437
- n.type && n.type.__f && n.ref && (n.props.ref = n.ref, n.ref = null), wr && wr(n);
437
+ n.type && n.type.__f && n.ref && (n.props.ref = n.ref, n.ref = null), Cr && Cr(n);
438
438
  };
439
439
  var Bl = _.__e;
440
440
  _.__e = function(n, e, t, r) {
@@ -445,23 +445,23 @@ _.__e = function(n, e, t, r) {
445
445
  }
446
446
  Bl(n, e, t, r);
447
447
  };
448
- var Cr = _.unmount;
449
- function Oi(n, e, t) {
448
+ var Rr = _.unmount;
449
+ function Ni(n, e, t) {
450
450
  return n && (n.__c && n.__c.__H && (n.__c.__H.__.forEach(function(r) {
451
451
  typeof r.__c == "function" && r.__c();
452
- }), n.__c.__H = null), (n = Pl({}, n)).__c != null && (n.__c.__P === t && (n.__c.__P = e), n.__c = null), n.__k = n.__k && n.__k.map(function(r) {
453
- return Oi(r, e, t);
452
+ }), n.__c.__H = null), (n = Hl({}, n)).__c != null && (n.__c.__P === t && (n.__c.__P = e), n.__c = null), n.__k = n.__k && n.__k.map(function(r) {
453
+ return Ni(r, e, t);
454
454
  })), n;
455
455
  }
456
- function Ni(n, e, t) {
456
+ function Oi(n, e, t) {
457
457
  return n && (n.__v = null, n.__k = n.__k && n.__k.map(function(r) {
458
- return Ni(r, e, t);
458
+ return Oi(r, e, t);
459
459
  }), n.__c && n.__c.__P === e && (n.__e && t.insertBefore(n.__e, n.__d), n.__c.__e = !0, n.__c.__P = t)), n;
460
460
  }
461
- function qt() {
461
+ function Yt() {
462
462
  this.__u = 0, this.t = null, this.__b = null;
463
463
  }
464
- function Hi(n) {
464
+ function Pi(n) {
465
465
  var e = n.__.__c;
466
466
  return e && e.__a && e.__a(n);
467
467
  }
@@ -470,11 +470,11 @@ function st() {
470
470
  }
471
471
  _.unmount = function(n) {
472
472
  var e = n.__c;
473
- e && e.__R && e.__R(), e && n.__h === !0 && (n.type = null), Cr && Cr(n);
474
- }, (qt.prototype = new Q()).__c = function(n, e) {
473
+ e && e.__R && e.__R(), e && n.__h === !0 && (n.type = null), Rr && Rr(n);
474
+ }, (Yt.prototype = new Q()).__c = function(n, e) {
475
475
  var t = e.__c, r = this;
476
476
  r.t == null && (r.t = []), r.t.push(t);
477
- var i = Hi(r.__v), s = !1, l = function() {
477
+ var i = Pi(r.__v), s = !1, l = function() {
478
478
  s || (s = !0, t.__R = null, i ? i(o) : o());
479
479
  };
480
480
  t.__R = l;
@@ -482,7 +482,7 @@ _.unmount = function(n) {
482
482
  if (!--r.__u) {
483
483
  if (r.state.__a) {
484
484
  var d = r.state.__a;
485
- r.__v.__k[0] = Ni(d, d.__c.__P, d.__c.__O);
485
+ r.__v.__k[0] = Oi(d, d.__c.__P, d.__c.__O);
486
486
  }
487
487
  var c;
488
488
  for (r.setState({ __a: r.__b = null }); c = r.t.pop(); )
@@ -490,20 +490,20 @@ _.unmount = function(n) {
490
490
  }
491
491
  }, a = e.__h === !0;
492
492
  r.__u++ || a || r.setState({ __a: r.__b = r.__v.__k[0] }), n.then(l, l);
493
- }, qt.prototype.componentWillUnmount = function() {
493
+ }, Yt.prototype.componentWillUnmount = function() {
494
494
  this.t = [];
495
- }, qt.prototype.render = function(n, e) {
495
+ }, Yt.prototype.render = function(n, e) {
496
496
  if (this.__b) {
497
497
  if (this.__v.__k) {
498
498
  var t = document.createElement("div"), r = this.__v.__k[0].__c;
499
- this.__v.__k[0] = Oi(this.__b, t, r.__O = r.__P);
499
+ this.__v.__k[0] = Ni(this.__b, t, r.__O = r.__P);
500
500
  }
501
501
  this.__b = null;
502
502
  }
503
503
  var i = e.__a && g(B, null, n.fallback);
504
504
  return i && (i.__h = null), [g(B, null, e.__a ? null : n.children), i];
505
505
  };
506
- var Rr = function(n, e, t) {
506
+ var Tr = function(n, e, t) {
507
507
  if (++t[1] === t[0] && n.o.delete(e), n.props.revealOrder && (n.props.revealOrder[0] !== "t" || !n.o.size))
508
508
  for (t = n.u; t; ) {
509
509
  for (; t.length > 3; )
@@ -535,10 +535,10 @@ function Ul(n, e) {
535
535
  return t.containerInfo = e, t;
536
536
  }
537
537
  (st.prototype = new Q()).__a = function(n) {
538
- var e = this, t = Hi(e.__v), r = e.o.get(n);
538
+ var e = this, t = Pi(e.__v), r = e.o.get(n);
539
539
  return r[0]++, function(i) {
540
540
  var s = function() {
541
- e.props.revealOrder ? (r.push(i), Rr(e, n, r)) : i();
541
+ e.props.revealOrder ? (r.push(i), Tr(e, n, r)) : i();
542
542
  };
543
543
  t ? t(s) : s();
544
544
  };
@@ -552,7 +552,7 @@ function Ul(n, e) {
552
552
  }, st.prototype.componentDidUpdate = st.prototype.componentDidMount = function() {
553
553
  var n = this;
554
554
  this.o.forEach(function(e, t) {
555
- Rr(n, t, e);
555
+ Tr(n, t, e);
556
556
  });
557
557
  };
558
558
  var jl = typeof Symbol < "u" && Symbol.for && Symbol.for("react.element") || 60103, Vl = /^(?: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]/, Fl = typeof document < "u", Wl = function(n) {
@@ -565,7 +565,7 @@ Q.prototype.isReactComponent = {}, ["componentWillMount", "componentWillReceiveP
565
565
  Object.defineProperty(this, n, { configurable: !0, writable: !0, value: e });
566
566
  } });
567
567
  });
568
- var Tr = _.event;
568
+ var kr = _.event;
569
569
  function Gl() {
570
570
  }
571
571
  function ql() {
@@ -575,11 +575,11 @@ function Yl() {
575
575
  return this.defaultPrevented;
576
576
  }
577
577
  _.event = function(n) {
578
- return Tr && (n = Tr(n)), n.persist = Gl, n.isPropagationStopped = ql, n.isDefaultPrevented = Yl, n.nativeEvent = n;
578
+ return kr && (n = kr(n)), n.persist = Gl, n.isPropagationStopped = ql, n.isDefaultPrevented = Yl, n.nativeEvent = n;
579
579
  };
580
- var kr = { configurable: !0, get: function() {
580
+ var xr = { configurable: !0, get: function() {
581
581
  return this.class;
582
- } }, xr = _.vnode;
582
+ } }, Mr = _.vnode;
583
583
  _.vnode = function(n) {
584
584
  var e = n.type, t = n.props, r = t;
585
585
  if (typeof e == "string") {
@@ -592,25 +592,26 @@ _.vnode = function(n) {
592
592
  o.props.selected = r.value.indexOf(o.props.value) != -1;
593
593
  })), e == "select" && r.defaultValue != null && (r.value = At(t.children).forEach(function(o) {
594
594
  o.props.selected = r.multiple ? r.defaultValue.indexOf(o.props.value) != -1 : r.defaultValue == o.props.value;
595
- })), n.props = r, t.class != t.className && (kr.enumerable = "className" in t, t.className != null && (r.class = t.className), Object.defineProperty(r, "className", kr));
595
+ })), n.props = r, t.class != t.className && (xr.enumerable = "className" in t, t.className != null && (r.class = t.className), Object.defineProperty(r, "className", xr));
596
596
  }
597
- n.$$typeof = jl, xr && xr(n);
597
+ n.$$typeof = jl, Mr && Mr(n);
598
598
  };
599
- var Mr = _.__r;
599
+ var Ir = _.__r;
600
600
  _.__r = function(n) {
601
- Mr && Mr(n), n.__c;
601
+ Ir && Ir(n), n.__c;
602
602
  };
603
- const Pi = [], un = /* @__PURE__ */ new Map();
604
- function Rn(n) {
605
- Pi.push(n), un.forEach((e) => {
603
+ const Hi = [], fn = /* @__PURE__ */ new Map();
604
+ function Tn(n) {
605
+ Hi.push(n), fn.forEach((e) => {
606
606
  Li(e, n);
607
607
  });
608
608
  }
609
609
  function Ql(n) {
610
- n.isConnected && Bi(n.getRootNode());
610
+ n.isConnected && // sometimes true if SSR system simulates DOM
611
+ n.getRootNode && Bi(n.getRootNode());
611
612
  }
612
613
  function Bi(n) {
613
- let e = un.get(n);
614
+ let e = fn.get(n);
614
615
  if (!e || !e.isConnected) {
615
616
  if (e = n.querySelector("style[data-fullcalendar]"), !e) {
616
617
  e = document.createElement("style"), e.setAttribute("data-fullcalendar", "");
@@ -619,11 +620,11 @@ function Bi(n) {
619
620
  const r = n === document ? document.head : n, i = n === document ? r.querySelector("script,link[rel=stylesheet],link[as=style],style") : r.firstChild;
620
621
  r.insertBefore(e, i);
621
622
  }
622
- un.set(n, e), $l(e);
623
+ fn.set(n, e), $l(e);
623
624
  }
624
625
  }
625
626
  function $l(n) {
626
- for (const e of Pi)
627
+ for (const e of Hi)
627
628
  Li(n, e);
628
629
  }
629
630
  function Li(n, e) {
@@ -632,9 +633,9 @@ function Li(n, e) {
632
633
  i = i.trim(), i && t.insertRule(i + "}", r + s);
633
634
  });
634
635
  }
635
- let Yt;
636
+ let Qt;
636
637
  function Zl() {
637
- return Yt === void 0 && (Yt = Xl()), Yt;
638
+ return Qt === void 0 && (Qt = Xl()), Qt;
638
639
  }
639
640
  function Xl() {
640
641
  const n = document.querySelector('meta[name="csp-nonce"]');
@@ -644,9 +645,9 @@ function Xl() {
644
645
  return e && e.nonce || "";
645
646
  }
646
647
  typeof document < "u" && Bi(document);
647
- var Jl = ':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)}';
648
- Rn(Jl);
649
- class Tn {
648
+ var Jl = ':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)}';
649
+ Tn(Jl);
650
+ class kn {
650
651
  constructor(e) {
651
652
  this.drainedOption = e, this.isRunning = !1, this.isDirty = !1, this.pauseDepths = {}, this.timeoutId = 0;
652
653
  }
@@ -685,7 +686,7 @@ class Tn {
685
686
  this.drainedOption && this.drainedOption();
686
687
  }
687
688
  }
688
- function kn(n) {
689
+ function xn(n) {
689
690
  n.parentNode && n.parentNode.removeChild(n);
690
691
  }
691
692
  function F(n, e) {
@@ -724,11 +725,11 @@ function Ui(n) {
724
725
  var e, t;
725
726
  return (t = (e = n.composedPath) === null || e === void 0 ? void 0 : e.call(n)[0]) !== null && t !== void 0 ? t : n.target;
726
727
  }
727
- let Ir = 0;
728
+ let Nr = 0;
728
729
  function Ht() {
729
- return Ir += 1, "fc-dom-" + Ir;
730
+ return Nr += 1, "fc-dom-" + Nr;
730
731
  }
731
- function Pt(n) {
732
+ function Bt(n) {
732
733
  n.preventDefault();
733
734
  }
734
735
  function no(n, e) {
@@ -783,27 +784,27 @@ function Fi(n) {
783
784
  }
784
785
  };
785
786
  }
786
- let Nr = 0;
787
+ let Pr = 0;
787
788
  function Me() {
788
- return Nr += 1, String(Nr);
789
+ return Pr += 1, String(Pr);
789
790
  }
790
- function xn() {
791
+ function Mn() {
791
792
  document.body.classList.add("fc-not-allowed");
792
793
  }
793
- function Mn() {
794
+ function In() {
794
795
  document.body.classList.remove("fc-not-allowed");
795
796
  }
796
797
  function so(n) {
797
- n.style.userSelect = "none", n.style.webkitUserSelect = "none", n.addEventListener("selectstart", Pt);
798
+ n.style.userSelect = "none", n.style.webkitUserSelect = "none", n.addEventListener("selectstart", Bt);
798
799
  }
799
800
  function lo(n) {
800
- n.style.userSelect = "", n.style.webkitUserSelect = "", n.removeEventListener("selectstart", Pt);
801
+ n.style.userSelect = "", n.style.webkitUserSelect = "", n.removeEventListener("selectstart", Bt);
801
802
  }
802
803
  function oo(n) {
803
- n.addEventListener("contextmenu", Pt);
804
+ n.addEventListener("contextmenu", Bt);
804
805
  }
805
806
  function ao(n) {
806
- n.removeEventListener("contextmenu", Pt);
807
+ n.removeEventListener("contextmenu", Bt);
807
808
  }
808
809
  function co(n) {
809
810
  let e = [], t = [], r, i;
@@ -848,7 +849,7 @@ function po(n) {
848
849
  }
849
850
  const Hr = ["years", "months", "days", "milliseconds"], mo = /^(-?)(?:(\d+)\.)?(\d+):(\d\d)(?::(\d\d)(?:\.(\d\d\d))?)?/;
850
851
  function k(n, e) {
851
- return typeof n == "string" ? vo(n) : typeof n == "object" && n ? Pr(n) : typeof n == "number" ? Pr({ [e || "milliseconds"]: n }) : null;
852
+ return typeof n == "string" ? vo(n) : typeof n == "object" && n ? Br(n) : typeof n == "number" ? Br({ [e || "milliseconds"]: n }) : null;
852
853
  }
853
854
  function vo(n) {
854
855
  let e = mo.exec(n);
@@ -866,7 +867,7 @@ function vo(n) {
866
867
  }
867
868
  return null;
868
869
  }
869
- function Pr(n) {
870
+ function Br(n) {
870
871
  let e = {
871
872
  years: n.years || n.year || 0,
872
873
  months: n.months || n.month || 0,
@@ -882,7 +883,7 @@ function Pr(n) {
882
883
  function yo(n, e) {
883
884
  return n.years === e.years && n.months === e.months && n.days === e.days && n.milliseconds === e.milliseconds;
884
885
  }
885
- function fn(n, e) {
886
+ function hn(n, e) {
886
887
  return {
887
888
  years: n.years + e.years,
888
889
  months: n.months + e.months,
@@ -918,7 +919,7 @@ function ze(n) {
918
919
  function K(n) {
919
920
  return n.years * (365 * 864e5) + n.months * (30 * 864e5) + n.days * 864e5 + n.milliseconds;
920
921
  }
921
- function In(n, e) {
922
+ function Nn(n, e) {
922
923
  let t = null;
923
924
  for (let r = 0; r < Hr.length; r += 1) {
924
925
  let i = Hr[r];
@@ -932,7 +933,7 @@ function In(n, e) {
932
933
  }
933
934
  return t;
934
935
  }
935
- function hn(n) {
936
+ function gn(n) {
936
937
  let e = n.milliseconds;
937
938
  if (e) {
938
939
  if (e % 1e3 !== 0)
@@ -958,7 +959,7 @@ function ye(n, e, t) {
958
959
  return !0;
959
960
  }
960
961
  const _o = ["sun", "mon", "tue", "wed", "thu", "fri", "sat"];
961
- function Br(n, e) {
962
+ function Lr(n, e) {
962
963
  let t = pe(n);
963
964
  return t[2] += e * 7, Y(t);
964
965
  }
@@ -986,7 +987,7 @@ function Ro(n, e) {
986
987
  return (e.valueOf() - n.valueOf()) / 1e3;
987
988
  }
988
989
  function To(n, e) {
989
- let t = P(n), r = P(e);
990
+ let t = H(n), r = H(e);
990
991
  return {
991
992
  years: 0,
992
993
  months: 0,
@@ -1001,7 +1002,7 @@ function ko(n, e) {
1001
1002
  function _t(n, e) {
1002
1003
  return me(n) === me(e) ? Math.round(Ie(n, e)) : null;
1003
1004
  }
1004
- function P(n) {
1005
+ function H(n) {
1005
1006
  return Y([
1006
1007
  n.getUTCFullYear(),
1007
1008
  n.getUTCMonth(),
@@ -1035,22 +1036,22 @@ function Io(n) {
1035
1036
  n.getUTCSeconds()
1036
1037
  ]);
1037
1038
  }
1038
- function Oo(n, e, t) {
1039
- let r = n.getUTCFullYear(), i = Qt(n, r, e, t);
1039
+ function No(n, e, t) {
1040
+ let r = n.getUTCFullYear(), i = $t(n, r, e, t);
1040
1041
  if (i < 1)
1041
- return Qt(n, r - 1, e, t);
1042
- let s = Qt(n, r + 1, e, t);
1042
+ return $t(n, r - 1, e, t);
1043
+ let s = $t(n, r + 1, e, t);
1043
1044
  return s >= 1 ? Math.min(i, s) : i;
1044
1045
  }
1045
- function Qt(n, e, t, r) {
1046
- let i = Y([e, 0, 1 + No(e, t, r)]), s = P(n), l = Math.round(Ie(i, s));
1046
+ function $t(n, e, t, r) {
1047
+ let i = Y([e, 0, 1 + Oo(e, t, r)]), s = H(n), l = Math.round(Ie(i, s));
1047
1048
  return Math.floor(l / 7) + 1;
1048
1049
  }
1049
- function No(n, e, t) {
1050
+ function Oo(n, e, t) {
1050
1051
  let r = 7 + e - t;
1051
1052
  return -((7 + Y([n, 0, r]).getUTCDay() - e) % 7) + r - 1;
1052
1053
  }
1053
- function Lr(n) {
1054
+ function zr(n) {
1054
1055
  return [
1055
1056
  n.getFullYear(),
1056
1057
  n.getMonth(),
@@ -1061,7 +1062,7 @@ function Lr(n) {
1061
1062
  n.getMilliseconds()
1062
1063
  ];
1063
1064
  }
1064
- function zr(n) {
1065
+ function Ur(n) {
1065
1066
  return new Date(
1066
1067
  n[0],
1067
1068
  n[1] || 0,
@@ -1094,18 +1095,18 @@ function me(n) {
1094
1095
  }
1095
1096
  function Gi(n, e, t = !1) {
1096
1097
  let r = n.toISOString();
1097
- return r = r.replace(".000", ""), t && (r = r.replace("T00:00:00Z", "")), r.length > 10 && (e == null ? r = r.replace("Z", "") : e !== 0 && (r = r.replace("Z", Nn(e, !0)))), r;
1098
+ return r = r.replace(".000", ""), t && (r = r.replace("T00:00:00Z", "")), r.length > 10 && (e == null ? r = r.replace("Z", "") : e !== 0 && (r = r.replace("Z", Pn(e, !0)))), r;
1098
1099
  }
1099
1100
  function On(n) {
1100
1101
  return n.toISOString().replace(/T.*$/, "");
1101
1102
  }
1102
- function Ho(n) {
1103
+ function Po(n) {
1103
1104
  return n.toISOString().match(/^\d{4}-\d{2}/)[0];
1104
1105
  }
1105
- function Po(n) {
1106
+ function Ho(n) {
1106
1107
  return Le(n.getUTCHours(), 2) + ":" + Le(n.getUTCMinutes(), 2) + ":" + Le(n.getUTCSeconds(), 2);
1107
1108
  }
1108
- function Nn(n, e = !1) {
1109
+ function Pn(n, e = !1) {
1109
1110
  let t = n < 0 ? "-" : "+", r = Math.abs(n), i = Math.floor(r / 60), s = Math.round(r % 60);
1110
1111
  return e ? `${t + Le(i, 2)}:${Le(s, 2)}` : `GMT${t}${i}${s ? `:${Le(s, 2)}` : ""}`;
1111
1112
  }
@@ -1135,7 +1136,7 @@ function vt(n, e, t) {
1135
1136
  return r = s, i;
1136
1137
  };
1137
1138
  }
1138
- const Ur = {
1139
+ const jr = {
1139
1140
  week: 3,
1140
1141
  separator: 0,
1141
1142
  omitZeroMinute: 0,
@@ -1156,8 +1157,8 @@ class jo {
1156
1157
  constructor(e) {
1157
1158
  let t = {}, r = {}, i = 0;
1158
1159
  for (let s in e)
1159
- s in Ur ? (r[s] = e[s], i = Math.max(Ur[s], i)) : (t[s] = e[s], s in Dt && (i = Math.max(Dt[s], i)));
1160
- this.standardDateProps = t, this.extendedSettings = r, this.severity = i, this.buildFormattingFunc = w(jr);
1160
+ s in jr ? (r[s] = e[s], i = Math.max(jr[s], i)) : (t[s] = e[s], s in Dt && (i = Math.max(Dt[s], i)));
1161
+ this.standardDateProps = t, this.extendedSettings = r, this.severity = i, this.buildFormattingFunc = w(Vr);
1161
1162
  }
1162
1163
  format(e, t) {
1163
1164
  return this.buildFormattingFunc(this.standardDateProps, this.extendedSettings, t)(e);
@@ -1172,7 +1173,7 @@ class jo {
1172
1173
  let d = this.format(e, r), c = this.format(t, r);
1173
1174
  if (d === c)
1174
1175
  return d;
1175
- let f = Qo(s, a), h = jr(f, l, r), u = h(e), m = h(t), y = $o(d, u, c, m), b = l.separator || i || r.defaultSeparator || "";
1176
+ let f = Qo(s, a), h = Vr(f, l, r), u = h(e), m = h(t), y = $o(d, u, c, m), b = l.separator || i || r.defaultSeparator || "";
1176
1177
  return y ? y.before + u + b + m + y.after : d + b + c;
1177
1178
  }
1178
1179
  getLargestUnit() {
@@ -1192,9 +1193,9 @@ class jo {
1192
1193
  }
1193
1194
  }
1194
1195
  }
1195
- function jr(n, e, t) {
1196
+ function Vr(n, e, t) {
1196
1197
  let r = Object.keys(n).length;
1197
- return r === 1 && n.timeZoneName === "short" ? (i) => Nn(i.timeZoneOffset) : r === 0 && e.week ? (i) => qo(t.computeWeekNumber(i.marker), t.weekText, t.weekTextLong, t.locale, e.week) : Vo(n, e, t);
1198
+ return r === 1 && n.timeZoneName === "short" ? (i) => Pn(i.timeZoneOffset) : r === 0 && e.week ? (i) => qo(t.computeWeekNumber(i.marker), t.weekText, t.weekTextLong, t.locale, e.week) : Vo(n, e, t);
1198
1199
  }
1199
1200
  function Vo(n, e, t) {
1200
1201
  n = Object.assign({}, n), e = Object.assign({}, e), Fo(n, e), n.timeZone = "UTC";
@@ -1216,7 +1217,7 @@ function Fo(n, e) {
1216
1217
  function Wo(n, e, t, r, i) {
1217
1218
  return n = n.replace(zo, ""), t.timeZoneName === "short" && (n = Go(n, i.timeZone === "UTC" || e.timeZoneOffset == null ? "UTC" : (
1218
1219
  // important to normalize for IE, which does "GMT"
1219
- Nn(e.timeZoneOffset)
1220
+ Pn(e.timeZoneOffset)
1220
1221
  ))), r.omitCommas && (n = n.replace(Bo, "").trim()), r.omitZeroMinute && (n = n.replace(":00", "")), r.meridiem === !1 ? n = n.replace(lt, "").trim() : r.meridiem === "narrow" ? n = n.replace(lt, (s, l) => l.toLocaleLowerCase()) : r.meridiem === "short" ? n = n.replace(lt, (s, l) => `${l.toLocaleLowerCase()}m`) : r.meridiem === "lowercase" && (n = n.replace(lt, (s) => s.toLocaleLowerCase())), n = n.replace(Lo, " "), n = n.trim(), n;
1221
1222
  }
1222
1223
  function Go(n, e) {
@@ -1262,7 +1263,7 @@ function $o(n, e, t, r) {
1262
1263
  }
1263
1264
  return null;
1264
1265
  }
1265
- function Vr(n, e) {
1266
+ function Fr(n, e) {
1266
1267
  let t = e.markerToArray(n.marker);
1267
1268
  return {
1268
1269
  marker: n.marker,
@@ -1278,7 +1279,7 @@ function Vr(n, e) {
1278
1279
  };
1279
1280
  }
1280
1281
  function wt(n, e, t, r) {
1281
- let i = Vr(n, t.calendarSystem), s = e ? Vr(e, t.calendarSystem) : null;
1282
+ let i = Fr(n, t.calendarSystem), s = e ? Fr(e, t.calendarSystem) : null;
1282
1283
  return {
1283
1284
  date: i,
1284
1285
  start: i,
@@ -1313,7 +1314,7 @@ class Xo {
1313
1314
  function j(n) {
1314
1315
  return typeof n == "object" && n ? new jo(n) : typeof n == "string" ? new Zo(n) : typeof n == "function" ? new Xo(n) : null;
1315
1316
  }
1316
- const Fr = {
1317
+ const Wr = {
1317
1318
  navLinkDayClick: v,
1318
1319
  navLinkWeekClick: v,
1319
1320
  duration: k,
@@ -1538,7 +1539,7 @@ const Fr = {
1538
1539
  eventMinWidth: 30,
1539
1540
  eventShortHeight: 30,
1540
1541
  monthStartFormat: { month: "long", day: "numeric" }
1541
- }, Wr = {
1542
+ }, Gr = {
1542
1543
  datesSet: v,
1543
1544
  eventsSet: v,
1544
1545
  eventAdd: v,
@@ -1559,7 +1560,7 @@ const Fr = {
1559
1560
  _noEventResize: v,
1560
1561
  _resize: v,
1561
1562
  _scrollRequest: v
1562
- }, Gr = {
1563
+ }, qr = {
1563
1564
  buttonText: v,
1564
1565
  buttonHints: v,
1565
1566
  views: v,
@@ -1597,8 +1598,8 @@ const Jo = {
1597
1598
  didMount: v,
1598
1599
  willUnmount: v
1599
1600
  };
1600
- function $t(n) {
1601
- return Pn(n, Ae);
1601
+ function Zt(n) {
1602
+ return Bn(n, Ae);
1602
1603
  }
1603
1604
  function Hn(n, e) {
1604
1605
  let t = {}, r = {};
@@ -1612,7 +1613,7 @@ function v(n) {
1612
1613
  return n;
1613
1614
  }
1614
1615
  const { hasOwnProperty: Ct } = Object.prototype;
1615
- function Pn(n, e) {
1616
+ function Bn(n, e) {
1616
1617
  let t = {};
1617
1618
  if (e) {
1618
1619
  for (let r in e)
@@ -1627,7 +1628,7 @@ function Pn(n, e) {
1627
1628
  break;
1628
1629
  }
1629
1630
  }
1630
- i.length && (t[r] = Pn(i));
1631
+ i.length && (t[r] = Bn(i));
1631
1632
  }
1632
1633
  }
1633
1634
  for (let r = n.length - 1; r >= 0; r -= 1) {
@@ -1655,7 +1656,7 @@ function qi(n) {
1655
1656
  e[t] = !0;
1656
1657
  return e;
1657
1658
  }
1658
- function Bn(n) {
1659
+ function Ln(n) {
1659
1660
  let e = [];
1660
1661
  for (let t in n)
1661
1662
  e.push(n[t]);
@@ -1674,13 +1675,13 @@ function re(n, e) {
1674
1675
  }
1675
1676
  const Ko = /^on[A-Z]/;
1676
1677
  function ea(n, e) {
1677
- const t = gn(n, e);
1678
+ const t = pn(n, e);
1678
1679
  for (let r of t)
1679
1680
  if (!Ko.test(r))
1680
1681
  return !1;
1681
1682
  return !0;
1682
1683
  }
1683
- function gn(n, e) {
1684
+ function pn(n, e) {
1684
1685
  let t = [];
1685
1686
  for (let r in n)
1686
1687
  Ct.call(n, r) && (r in e || t.push(r));
@@ -1688,7 +1689,7 @@ function gn(n, e) {
1688
1689
  Ct.call(e, r) && n[r] !== e[r] && t.push(r);
1689
1690
  return t;
1690
1691
  }
1691
- function Zt(n, e, t = {}) {
1692
+ function Xt(n, e, t = {}) {
1692
1693
  if (n === e)
1693
1694
  return !0;
1694
1695
  for (let r in e)
@@ -1763,7 +1764,7 @@ class aa {
1763
1764
  return t === null ? null : t.marker;
1764
1765
  }
1765
1766
  createNowMarker() {
1766
- return this.canComputeOffset ? this.timestampToMarker((/* @__PURE__ */ new Date()).valueOf()) : Y(Lr(/* @__PURE__ */ new Date()));
1767
+ return this.canComputeOffset ? this.timestampToMarker((/* @__PURE__ */ new Date()).valueOf()) : Y(zr(/* @__PURE__ */ new Date()));
1767
1768
  }
1768
1769
  createMarkerMeta(e) {
1769
1770
  if (typeof e == "string")
@@ -1826,7 +1827,7 @@ class aa {
1826
1827
  // Start-Of
1827
1828
  // these DON'T return zoned-dates. only UTC start-of dates
1828
1829
  startOf(e, t) {
1829
- return t === "year" ? this.startOfYear(e) : t === "month" ? this.startOfMonth(e) : t === "week" ? this.startOfWeek(e) : t === "day" ? P(e) : t === "hour" ? xo(e) : t === "minute" ? Mo(e) : t === "second" ? Io(e) : null;
1830
+ return t === "year" ? this.startOfYear(e) : t === "month" ? this.startOfMonth(e) : t === "week" ? this.startOfWeek(e) : t === "day" ? H(e) : t === "hour" ? xo(e) : t === "minute" ? Mo(e) : t === "second" ? Io(e) : null;
1830
1831
  }
1831
1832
  startOfYear(e) {
1832
1833
  return this.calendarSystem.arrayToMarker([
@@ -1848,7 +1849,7 @@ class aa {
1848
1849
  }
1849
1850
  // Week Number
1850
1851
  computeWeekNumber(e) {
1851
- return this.weekNumberFunc ? this.weekNumberFunc(this.toDate(e)) : Oo(e, this.weekDow, this.weekDoy);
1852
+ return this.weekNumberFunc ? this.weekNumberFunc(this.toDate(e)) : No(e, this.weekDow, this.weekDoy);
1852
1853
  }
1853
1854
  // TODO: choke on timeZoneName: long
1854
1855
  format(e, t, r = {}) {
@@ -1876,14 +1877,14 @@ class aa {
1876
1877
  }
1877
1878
  // TimeZone
1878
1879
  timestampToMarker(e) {
1879
- return this.timeZone === "local" ? Y(Lr(new Date(e))) : this.timeZone === "UTC" || !this.namedTimeZoneImpl ? new Date(e) : Y(this.namedTimeZoneImpl.timestampToArray(e));
1880
+ return this.timeZone === "local" ? Y(zr(new Date(e))) : this.timeZone === "UTC" || !this.namedTimeZoneImpl ? new Date(e) : Y(this.namedTimeZoneImpl.timestampToArray(e));
1880
1881
  }
1881
1882
  offsetForMarker(e) {
1882
- return this.timeZone === "local" ? -zr(pe(e)).getTimezoneOffset() : this.timeZone === "UTC" ? 0 : this.namedTimeZoneImpl ? this.namedTimeZoneImpl.offsetForArray(pe(e)) : null;
1883
+ return this.timeZone === "local" ? -Ur(pe(e)).getTimezoneOffset() : this.timeZone === "UTC" ? 0 : this.namedTimeZoneImpl ? this.namedTimeZoneImpl.offsetForArray(pe(e)) : null;
1883
1884
  }
1884
1885
  // Conversion
1885
1886
  toDate(e, t) {
1886
- return this.timeZone === "local" ? zr(pe(e)) : this.timeZone === "UTC" ? new Date(e.valueOf()) : this.namedTimeZoneImpl ? new Date(e.valueOf() - this.namedTimeZoneImpl.offsetForArray(pe(e)) * 1e3 * 60) : new Date(e.valueOf() - (t || 0));
1887
+ return this.timeZone === "local" ? Ur(pe(e)) : this.timeZone === "UTC" ? new Date(e.valueOf()) : this.namedTimeZoneImpl ? new Date(e.valueOf() - this.namedTimeZoneImpl.offsetForArray(pe(e)) * 1e3 * 60) : new Date(e.valueOf() - (t || 0));
1887
1888
  }
1888
1889
  }
1889
1890
  class et {
@@ -1920,7 +1921,7 @@ et.prototype.classes = {};
1920
1921
  et.prototype.iconClasses = {};
1921
1922
  et.prototype.baseIconClass = "";
1922
1923
  et.prototype.iconOverridePrefix = "";
1923
- function qr(n) {
1924
+ function Rt(n) {
1924
1925
  n();
1925
1926
  let e = _.debounceRendering, t = [];
1926
1927
  function r(i) {
@@ -1939,7 +1940,7 @@ class ca extends Q {
1939
1940
  }
1940
1941
  }
1941
1942
  function Qi(n) {
1942
- let e = Ol(n), t = e.Provider;
1943
+ let e = Nl(n), t = e.Provider;
1943
1944
  return e.Provider = function() {
1944
1945
  let r = !this.getChildContext, i = t.apply(this, arguments);
1945
1946
  if (r) {
@@ -2008,21 +2009,21 @@ function ua(n, e, t, r, i, s, l, o, a, d, c, f, h) {
2008
2009
  unregisterInteractiveComponent: h
2009
2010
  };
2010
2011
  }
2011
- class Oe extends Q {
2012
+ class Ne extends Q {
2012
2013
  shouldComponentUpdate(e, t) {
2013
- return this.debug && console.log(gn(e, this.props), gn(t, this.state)), !Zt(this.props, e, this.propEquality) || !Zt(this.state, t, this.stateEquality);
2014
+ return this.debug && console.log(pn(e, this.props), pn(t, this.state)), !Xt(this.props, e, this.propEquality) || !Xt(this.state, t, this.stateEquality);
2014
2015
  }
2015
2016
  // HACK for freakin' React StrictMode
2016
2017
  safeSetState(e) {
2017
- Zt(this.state, Object.assign(Object.assign({}, this.state), e), this.stateEquality) || this.setState(e);
2018
+ Xt(this.state, Object.assign(Object.assign({}, this.state), e), this.stateEquality) || this.setState(e);
2018
2019
  }
2019
2020
  }
2020
- Oe.addPropsEquality = fa;
2021
- Oe.addStateEquality = ha;
2022
- Oe.contextType = ue;
2023
- Oe.prototype.propEquality = {};
2024
- Oe.prototype.stateEquality = {};
2025
- class I extends Oe {
2021
+ Ne.addPropsEquality = fa;
2022
+ Ne.addStateEquality = ha;
2023
+ Ne.contextType = ue;
2024
+ Ne.prototype.propEquality = {};
2025
+ Ne.prototype.stateEquality = {};
2026
+ class I extends Ne {
2026
2027
  }
2027
2028
  I.contextType = ue;
2028
2029
  function fa(n) {
@@ -2036,11 +2037,11 @@ function ha(n) {
2036
2037
  function de(n, e) {
2037
2038
  typeof n == "function" ? n(e) : n && (n.current = e);
2038
2039
  }
2039
- class Ln extends I {
2040
+ class zn extends I {
2040
2041
  constructor() {
2041
2042
  super(...arguments), this.id = Me(), this.queuedDomNodes = [], this.currentDomNodes = [], this.handleEl = (e) => {
2042
2043
  const { options: t } = this.context, { generatorName: r } = this.props;
2043
- (!t.customRenderingReplaces || !pn(r, t)) && this.updateElRef(e);
2044
+ (!t.customRenderingReplaces || !mn(r, t)) && this.updateElRef(e);
2044
2045
  }, this.updateElRef = (e) => {
2045
2046
  this.props.elRef && de(this.props.elRef, e);
2046
2047
  };
@@ -2057,7 +2058,7 @@ class Ln extends I {
2057
2058
  u && "html" in h ? o.dangerouslySetInnerHTML = { __html: h.html } : u && "domNodes" in h ? c = Array.prototype.slice.call(h.domNodes) : (u ? bi(h) : typeof h != "function") ? d = h : f = h;
2058
2059
  }
2059
2060
  } else
2060
- a = !pn(e.generatorName, r);
2061
+ a = !mn(e.generatorName, r);
2061
2062
  return a && s && (d = s(l)), this.queuedDomNodes = c, this.currentGeneratorMeta = f, g(e.elTag, o, d);
2062
2063
  }
2063
2064
  componentDidMount() {
@@ -2087,20 +2088,20 @@ class Ln extends I {
2087
2088
  applyQueueudDomNodes() {
2088
2089
  const { queuedDomNodes: e, currentDomNodes: t } = this, r = this.base;
2089
2090
  if (!ye(e, t)) {
2090
- t.forEach(kn);
2091
+ t.forEach(xn);
2091
2092
  for (let i of e)
2092
2093
  r.appendChild(i);
2093
2094
  this.currentDomNodes = e;
2094
2095
  }
2095
2096
  }
2096
2097
  }
2097
- Ln.addPropsEquality({
2098
+ zn.addPropsEquality({
2098
2099
  elClasses: ye,
2099
2100
  elStyle: re,
2100
2101
  elAttrs: ea,
2101
2102
  renderProps: re
2102
2103
  });
2103
- function pn(n, e) {
2104
+ function mn(n, e) {
2104
2105
  var t;
2105
2106
  return !!(e.handleCustomRendering && n && (!((t = e.customRenderingMetaMap) === null || t === void 0) && t[n]));
2106
2107
  }
@@ -2124,7 +2125,7 @@ class Z extends Q {
2124
2125
  const r = $i(e, t, this.handleEl), i = e.children(this.InnerContent, e.renderProps, r);
2125
2126
  return e.elTag ? g(e.elTag, r, i) : i;
2126
2127
  } else
2127
- return g(Ln, Object.assign(Object.assign({}, e), { elRef: this.handleEl, elTag: e.elTag || "div", elClasses: (e.elClasses || []).concat(t), renderId: this.context }));
2128
+ return g(zn, Object.assign(Object.assign({}, e), { elRef: this.handleEl, elTag: e.elTag || "div", elClasses: (e.elClasses || []).concat(t), renderId: this.context }));
2128
2129
  }
2129
2130
  componentDidMount() {
2130
2131
  var e, t;
@@ -2138,13 +2139,13 @@ class Z extends Q {
2138
2139
  Z.contextType = Zi;
2139
2140
  function pa(n, e) {
2140
2141
  const t = n.props;
2141
- return g(Ln, Object.assign({ renderProps: t.renderProps, generatorName: t.generatorName, customGenerator: t.customGenerator, defaultGenerator: t.defaultGenerator, renderId: n.context }, e));
2142
+ return g(zn, Object.assign({ renderProps: t.renderProps, generatorName: t.generatorName, customGenerator: t.customGenerator, defaultGenerator: t.defaultGenerator, renderId: n.context }, e));
2142
2143
  }
2143
2144
  function ma(n, e) {
2144
2145
  const t = typeof n == "function" ? n(e) : n || [];
2145
2146
  return typeof t == "string" ? [t] : t;
2146
2147
  }
2147
- class Rt extends I {
2148
+ class Tt extends I {
2148
2149
  render() {
2149
2150
  let { props: e, context: t } = this, { options: r } = t, i = { view: t.viewApi };
2150
2151
  return g(Z, Object.assign({}, e, { elTag: e.elTag || "div", elClasses: [
@@ -2179,10 +2180,10 @@ function ke(n, e) {
2179
2180
  function ba(n, e) {
2180
2181
  return (n.start === null ? null : n.start.valueOf()) === (e.start === null ? null : e.start.valueOf()) && (n.end === null ? null : n.end.valueOf()) === (e.end === null ? null : e.end.valueOf());
2181
2182
  }
2182
- function zn(n, e) {
2183
+ function Un(n, e) {
2183
2184
  return (n.end === null || e.start === null || n.end > e.start) && (n.start === null || e.end === null || n.start < e.end);
2184
2185
  }
2185
- function Bt(n, e) {
2186
+ function Lt(n, e) {
2186
2187
  return (n.start === null || e.start !== null && e.start >= n.start) && (n.end === null || e.end !== null && e.end <= n.end);
2187
2188
  }
2188
2189
  function ae(n, e) {
@@ -2192,19 +2193,19 @@ function Ea(n, e) {
2192
2193
  return e.start != null && n < e.start ? e.start : e.end != null && n >= e.end ? new Date(e.end.valueOf() - 1) : n;
2193
2194
  }
2194
2195
  function Ji(n) {
2195
- let e = Math.floor(Ie(n.start, n.end)) || 1, t = P(n.start), r = W(t, e);
2196
+ let e = Math.floor(Ie(n.start, n.end)) || 1, t = H(n.start), r = W(t, e);
2196
2197
  return { start: t, end: r };
2197
2198
  }
2198
2199
  function Ki(n, e = k(0)) {
2199
2200
  let t = null, r = null;
2200
2201
  if (n.end) {
2201
- r = P(n.end);
2202
+ r = H(n.end);
2202
2203
  let i = n.end.valueOf() - r.valueOf();
2203
2204
  i && i >= K(e) && (r = W(r, 1));
2204
2205
  }
2205
- return n.start && (t = P(n.start), r && r <= t && (r = W(t, 1))), { start: t, end: r };
2206
+ return n.start && (t = H(n.start), r && r <= t && (r = W(t, 1))), { start: t, end: r };
2206
2207
  }
2207
- function Pe(n, e, t, r) {
2208
+ function He(n, e, t, r) {
2208
2209
  return r === "year" ? k(t.diffWholeYears(n, e), "year") : r === "month" ? k(t.diffWholeMonths(n, e), "month") : To(n, e);
2209
2210
  }
2210
2211
  function Sa(n, e) {
@@ -2251,7 +2252,7 @@ class es {
2251
2252
  // from its previous value. decremented = -1, incremented = 1 (default).
2252
2253
  build(e, t, r = !0) {
2253
2254
  let { props: i } = this, s, l, o, a, d, c;
2254
- return s = this.buildValidRange(), s = this.trimHiddenDays(s), r && (e = Ea(e, s)), l = this.buildCurrentRangeInfo(e, t), 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 = ke(d, l.range)), d = this.adjustActiveRange(d), d = ke(d, s), c = zn(l.range, s), ae(a, e) || (e = a.start), {
2255
+ return s = this.buildValidRange(), s = this.trimHiddenDays(s), r && (e = Ea(e, s)), l = this.buildCurrentRangeInfo(e, t), 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 = ke(d, l.range)), d = this.adjustActiveRange(d), d = ke(d, s), c = Un(l.range, s), ae(a, e) || (e = a.start), {
2255
2256
  currentDate: e,
2256
2257
  // constraint for where prev/next operations can go and where events can be dragged/resized to.
2257
2258
  // an object with optional start and end properties.
@@ -2291,7 +2292,7 @@ class es {
2291
2292
  // Guaranteed to have `range` and `unit` properties. `duration` is optional.
2292
2293
  buildCurrentRangeInfo(e, t) {
2293
2294
  let { props: r } = this, i = null, s = null, l = null, o;
2294
- return r.duration ? (i = r.duration, s = r.durationUnit, l = this.buildRangeFromDuration(e, t, i, s)) : (o = this.props.dayCount) ? (s = "day", l = this.buildRangeFromDayCount(e, t, o)) : (l = this.buildCustomVisibleRange(e)) ? s = r.dateEnv.greatestWholeUnit(l.start, l.end).unit : (i = this.getFallbackDuration(), s = hn(i).unit, l = this.buildRangeFromDuration(e, t, i, s)), { duration: i, unit: s, range: l };
2295
+ return r.duration ? (i = r.duration, s = r.durationUnit, l = this.buildRangeFromDuration(e, t, i, s)) : (o = this.props.dayCount) ? (s = "day", l = this.buildRangeFromDayCount(e, t, o)) : (l = this.buildCustomVisibleRange(e)) ? s = r.dateEnv.greatestWholeUnit(l.start, l.end).unit : (i = this.getFallbackDuration(), s = gn(i).unit, l = this.buildRangeFromDuration(e, t, i, s)), { duration: i, unit: s, range: l };
2295
2296
  }
2296
2297
  getFallbackDuration() {
2297
2298
  return k({ day: 1 });
@@ -2300,7 +2301,7 @@ class es {
2300
2301
  // slotMinTime or slotMaxTime causes the range to expand.
2301
2302
  adjustActiveRange(e) {
2302
2303
  let { dateEnv: t, usesMinMaxTime: r, slotMinTime: i, slotMaxTime: s } = this.props, { start: l, end: o } = e;
2303
- return r && (ze(i) < 0 && (l = P(l), l = t.add(l, i)), ze(s) > 1 && (o = P(o), o = W(o, -1), o = t.add(o, s))), { start: l, end: o };
2304
+ return r && (ze(i) < 0 && (l = H(l), l = t.add(l, i)), ze(s) > 1 && (o = H(o), o = W(o, -1), o = t.add(o, s))), { start: l, end: o };
2304
2305
  }
2305
2306
  // Builds the "current" range when it is specified as an explicit duration.
2306
2307
  // `unit` is the already-computed greatestDurationDenominator unit of duration.
@@ -2308,9 +2309,9 @@ class es {
2308
2309
  let { dateEnv: s, dateAlignment: l } = this.props, o, a, d;
2309
2310
  if (!l) {
2310
2311
  let { dateIncrement: f } = this.props;
2311
- f && K(f) < K(r) ? l = hn(f).unit : l = i;
2312
+ f && K(f) < K(r) ? l = gn(f).unit : l = i;
2312
2313
  }
2313
- ze(r) <= 1 && this.isHiddenDay(o) && (o = this.skipHiddenDays(o, t), o = P(o));
2314
+ ze(r) <= 1 && this.isHiddenDay(o) && (o = this.skipHiddenDays(o, t), o = H(o));
2314
2315
  function c() {
2315
2316
  o = s.startOf(e, l), a = s.add(o, r), d = { start: o, end: a };
2316
2317
  }
@@ -2319,7 +2320,7 @@ class es {
2319
2320
  // Builds the "current" range when a dayCount is specified.
2320
2321
  buildRangeFromDayCount(e, t, r) {
2321
2322
  let { dateEnv: i, dateAlignment: s } = this.props, l = 0, o = e, a;
2322
- s && (o = i.startOf(o, s)), o = P(o), o = this.skipHiddenDays(o, t), a = o;
2323
+ s && (o = i.startOf(o, s)), o = H(o), o = this.skipHiddenDays(o, t), a = o;
2323
2324
  do
2324
2325
  a = W(a, 1), this.isHiddenDay(a) || (l += 1);
2325
2326
  while (l < r);
@@ -2383,7 +2384,7 @@ class es {
2383
2384
  return e;
2384
2385
  }
2385
2386
  }
2386
- function Un(n, e, t, r) {
2387
+ function jn(n, e, t, r) {
2387
2388
  return {
2388
2389
  instanceId: Me(),
2389
2390
  defId: n,
@@ -2417,7 +2418,7 @@ function xe(n, e, t) {
2417
2418
  c || (c = d.allDay ? s.defaultAllDayEventDuration : s.defaultTimedEventDuration);
2418
2419
  let f = Da(d, c, e, r, i.recurringTypes);
2419
2420
  for (let h of f) {
2420
- let u = Un(a, {
2421
+ let u = jn(a, {
2421
2422
  start: h,
2422
2423
  end: r.add(h, c)
2423
2424
  });
@@ -2432,7 +2433,7 @@ function Da(n, e, t, r, i) {
2432
2433
  start: r.subtract(t.start, e),
2433
2434
  end: t.end
2434
2435
  }, r);
2435
- return n.allDay && (l = l.map(P)), l;
2436
+ return n.allDay && (l = l.map(H)), l;
2436
2437
  }
2437
2438
  const yt = {
2438
2439
  id: String,
@@ -2446,10 +2447,10 @@ const yt = {
2446
2447
  date: v,
2447
2448
  allDay: Boolean
2448
2449
  }, wa = Object.assign(Object.assign(Object.assign({}, yt), ts), { extendedProps: v });
2449
- function ns(n, e, t, r, i = jn(t), s, l) {
2450
+ function ns(n, e, t, r, i = Vn(t), s, l) {
2450
2451
  let { refined: o, extra: a } = rs(n, t, i), d = Ra(e, t), c = _a(o, d, t.dateEnv, t.pluginHooks.recurringTypes);
2451
2452
  if (c) {
2452
- let h = mn(o, a, e ? e.sourceId : "", c.allDay, !!c.duration, t, s);
2453
+ let h = vn(o, a, e ? e.sourceId : "", c.allDay, !!c.duration, t, s);
2453
2454
  return h.recurringDef = {
2454
2455
  typeId: c.typeId,
2455
2456
  typeData: c.typeData,
@@ -2458,18 +2459,18 @@ function ns(n, e, t, r, i = jn(t), s, l) {
2458
2459
  }
2459
2460
  let f = Ca(o, d, t, r);
2460
2461
  if (f) {
2461
- let h = mn(o, a, e ? e.sourceId : "", f.allDay, f.hasEnd, t, s), u = Un(h.defId, f.range, f.forcedStartTzo, f.forcedEndTzo);
2462
+ let h = vn(o, a, e ? e.sourceId : "", f.allDay, f.hasEnd, t, s), u = jn(h.defId, f.range, f.forcedStartTzo, f.forcedEndTzo);
2462
2463
  return l && h.publicId && l[h.publicId] && (u.instanceId = l[h.publicId]), { def: h, instance: u };
2463
2464
  }
2464
2465
  return null;
2465
2466
  }
2466
- function rs(n, e, t = jn(e)) {
2467
+ function rs(n, e, t = Vn(e)) {
2467
2468
  return Hn(n, t);
2468
2469
  }
2469
- function jn(n) {
2470
- return Object.assign(Object.assign(Object.assign({}, Tt), wa), n.pluginHooks.eventRefiners);
2470
+ function Vn(n) {
2471
+ return Object.assign(Object.assign(Object.assign({}, kt), wa), n.pluginHooks.eventRefiners);
2471
2472
  }
2472
- function mn(n, e, t, r, i, s, l) {
2473
+ function vn(n, e, t, r, i, s, l) {
2473
2474
  let o = {
2474
2475
  title: n.title || "",
2475
2476
  groupId: n.groupId || "",
@@ -2481,7 +2482,7 @@ function mn(n, e, t, r, i, s, l) {
2481
2482
  allDay: r,
2482
2483
  hasEnd: i,
2483
2484
  interactive: n.interactive,
2484
- ui: kt(n, s),
2485
+ ui: xt(n, s),
2485
2486
  extendedProps: Object.assign(Object.assign({}, n.extendedProps || {}), e)
2486
2487
  };
2487
2488
  for (let a of s.pluginHooks.eventDefMemberAdders)
@@ -2494,7 +2495,7 @@ function Ca(n, e, t, r) {
2494
2495
  l = s.marker;
2495
2496
  else if (!r)
2496
2497
  return null;
2497
- return n.end != null && (a = t.dateEnv.createMarkerMeta(n.end)), i == null && (e != null ? i = e : i = (!s || s.isTimeUnspecified) && (!a || a.isTimeUnspecified)), i && l && (l = P(l)), a && (d = a.marker, i && (d = P(d)), l && d <= l && (d = null)), d ? o = !0 : r || (o = t.options.forceEventDuration || !1, d = t.dateEnv.add(l, i ? t.options.defaultAllDayEventDuration : t.options.defaultTimedEventDuration)), {
2498
+ return n.end != null && (a = t.dateEnv.createMarkerMeta(n.end)), i == null && (e != null ? i = e : i = (!s || s.isTimeUnspecified) && (!a || a.isTimeUnspecified)), i && l && (l = H(l)), a && (d = a.marker, i && (d = H(d)), l && d <= l && (d = null)), d ? o = !0 : r || (o = t.options.forceEventDuration || !1, d = t.dateEnv.add(l, i ? t.options.defaultAllDayEventDuration : t.options.defaultTimedEventDuration)), {
2498
2499
  allDay: i,
2499
2500
  hasEnd: o,
2500
2501
  range: { start: l, end: d },
@@ -2507,20 +2508,20 @@ function Ra(n, e) {
2507
2508
  return n && (t = n.defaultAllDay), t == null && (t = e.options.defaultAllDay), t;
2508
2509
  }
2509
2510
  function Ke(n, e, t, r, i, s) {
2510
- let l = $(), o = jn(t);
2511
+ let l = $(), o = Vn(t);
2511
2512
  for (let a of n) {
2512
2513
  let d = ns(a, e, t, r, o, i, s);
2513
- d && vn(d, l);
2514
+ d && yn(d, l);
2514
2515
  }
2515
2516
  return l;
2516
2517
  }
2517
- function vn(n, e = $()) {
2518
+ function yn(n, e = $()) {
2518
2519
  return e.defs[n.def.defId] = n.def, n.instance && (e.instances[n.instance.instanceId] = n.instance), e;
2519
2520
  }
2520
- function Vn(n, e) {
2521
+ function Fn(n, e) {
2521
2522
  let t = n.instances[e];
2522
2523
  if (t) {
2523
- let r = n.defs[t.defId], i = Lt(n, (s) => Ta(r, s));
2524
+ let r = n.defs[t.defId], i = zt(n, (s) => Ta(r, s));
2524
2525
  return i.defs[r.defId] = r, i.instances[t.instanceId] = t, i;
2525
2526
  }
2526
2527
  return $();
@@ -2531,13 +2532,13 @@ function Ta(n, e) {
2531
2532
  function $() {
2532
2533
  return { defs: {}, instances: {} };
2533
2534
  }
2534
- function Fn(n, e) {
2535
+ function Wn(n, e) {
2535
2536
  return {
2536
2537
  defs: Object.assign(Object.assign({}, n.defs), e.defs),
2537
2538
  instances: Object.assign(Object.assign({}, n.instances), e.instances)
2538
2539
  };
2539
2540
  }
2540
- function Lt(n, e) {
2541
+ function zt(n, e) {
2541
2542
  let t = Te(n.defs, e), r = Te(n.instances, (i) => t[i.defId]);
2542
2543
  return { defs: t, instances: r };
2543
2544
  }
@@ -2559,7 +2560,7 @@ function xa(n, e) {
2559
2560
  function Qr(n) {
2560
2561
  return Array.isArray(n) ? n : typeof n == "string" ? n.split(/\s+/) : [];
2561
2562
  }
2562
- const Tt = {
2563
+ const kt = {
2563
2564
  display: String,
2564
2565
  editable: Boolean,
2565
2566
  startEditable: Boolean,
@@ -2585,7 +2586,7 @@ const Tt = {
2585
2586
  textColor: "",
2586
2587
  classNames: []
2587
2588
  };
2588
- function kt(n, e) {
2589
+ function xt(n, e) {
2589
2590
  let t = xa(n.constraint, e);
2590
2591
  return {
2591
2592
  display: n.display || null,
@@ -2618,7 +2619,7 @@ function Ia(n, e) {
2618
2619
  classNames: n.classNames.concat(e.classNames)
2619
2620
  };
2620
2621
  }
2621
- const Oa = {
2622
+ const Na = {
2622
2623
  id: String,
2623
2624
  defaultAllDay: Boolean,
2624
2625
  url: String,
@@ -2632,7 +2633,7 @@ const Oa = {
2632
2633
  function ss(n, e, t = ls(e)) {
2633
2634
  let r;
2634
2635
  if (typeof n == "string" ? r = { url: n } : typeof n == "function" || Array.isArray(n) ? r = { events: n } : typeof n == "object" && n && (r = n), r) {
2635
- let { refined: i, extra: s } = Hn(r, t), l = Na(i, e);
2636
+ let { refined: i, extra: s } = Hn(r, t), l = Oa(i, e);
2636
2637
  if (l)
2637
2638
  return {
2638
2639
  _raw: n,
@@ -2647,16 +2648,16 @@ function ss(n, e, t = ls(e)) {
2647
2648
  sourceId: Me(),
2648
2649
  sourceDefId: l.sourceDefId,
2649
2650
  meta: l.meta,
2650
- ui: kt(i, e),
2651
+ ui: xt(i, e),
2651
2652
  extendedProps: s
2652
2653
  };
2653
2654
  }
2654
2655
  return null;
2655
2656
  }
2656
2657
  function ls(n) {
2657
- return Object.assign(Object.assign(Object.assign({}, Tt), Oa), n.pluginHooks.eventSourceRefiners);
2658
+ return Object.assign(Object.assign(Object.assign({}, kt), Na), n.pluginHooks.eventSourceRefiners);
2658
2659
  }
2659
- function Na(n, e) {
2660
+ function Oa(n, e) {
2660
2661
  let t = e.pluginHooks.eventSourceDefs;
2661
2662
  for (let r = t.length - 1; r >= 0; r -= 1) {
2662
2663
  let s = t[r].parseMeta(n);
@@ -2665,10 +2666,10 @@ function Na(n, e) {
2665
2666
  }
2666
2667
  return null;
2667
2668
  }
2668
- function Ha(n, e, t, r, i) {
2669
+ function Pa(n, e, t, r, i) {
2669
2670
  switch (e.type) {
2670
2671
  case "RECEIVE_EVENTS":
2671
- return Pa(n, t[e.sourceId], e.fetchId, e.fetchRange, e.rawEvents, i);
2672
+ return Ha(n, t[e.sourceId], e.fetchId, e.fetchRange, e.rawEvents, i);
2672
2673
  case "RESET_RAW_EVENTS":
2673
2674
  return Ba(n, t[e.sourceId], e.rawEvents, r.activeRange, i);
2674
2675
  case "ADD_EVENTS":
@@ -2682,7 +2683,7 @@ function Ha(n, e, t, r, i) {
2682
2683
  case "RESET_EVENTS":
2683
2684
  return e.eventStore;
2684
2685
  case "MERGE_EVENTS":
2685
- return Fn(n, e.eventStore);
2686
+ return Wn(n, e.eventStore);
2686
2687
  case "PREV":
2687
2688
  case "NEXT":
2688
2689
  case "CHANGE_DATE":
@@ -2693,18 +2694,18 @@ function Ha(n, e, t, r, i) {
2693
2694
  case "REMOVE_EVENT_SOURCE":
2694
2695
  return as(n, e.sourceId);
2695
2696
  case "REMOVE_ALL_EVENT_SOURCES":
2696
- return Lt(n, (s) => !s.sourceId);
2697
+ return zt(n, (s) => !s.sourceId);
2697
2698
  case "REMOVE_ALL_EVENTS":
2698
2699
  return $();
2699
2700
  default:
2700
2701
  return n;
2701
2702
  }
2702
2703
  }
2703
- function Pa(n, e, t, r, i, s) {
2704
+ function Ha(n, e, t, r, i, s) {
2704
2705
  if (e && // not already removed
2705
2706
  t === e.latestFetchId) {
2706
2707
  let l = Ke(os(i, e, s), e, s);
2707
- return r && (l = xe(l, r, s)), Fn(as(n, e.sourceId), l);
2708
+ return r && (l = xe(l, r, s)), Wn(as(n, e.sourceId), l);
2708
2709
  }
2709
2710
  return n;
2710
2711
  }
@@ -2731,7 +2732,7 @@ function $r(n, e) {
2731
2732
  return t;
2732
2733
  }
2733
2734
  function La(n, e, t, r) {
2734
- return t && (e = xe(e, t, r)), Fn(n, e);
2735
+ return t && (e = xe(e, t, r)), Wn(n, e);
2735
2736
  }
2736
2737
  function Zr(n, e, t) {
2737
2738
  let { defs: r } = n, i = ce(n.instances, (s) => r[s.defId].allDay ? s : Object.assign(Object.assign({}, s), { range: {
@@ -2741,7 +2742,7 @@ function Zr(n, e, t) {
2741
2742
  return { defs: r, instances: i };
2742
2743
  }
2743
2744
  function as(n, e) {
2744
- return Lt(n, (t) => t.sourceId !== e);
2745
+ return zt(n, (t) => t.sourceId !== e);
2745
2746
  }
2746
2747
  function za(n, e) {
2747
2748
  return {
@@ -2761,7 +2762,7 @@ function Ua(n) {
2761
2762
  }
2762
2763
  return { defIdMap: r, instanceIdMap: i };
2763
2764
  }
2764
- class zt {
2765
+ class Ut {
2765
2766
  constructor() {
2766
2767
  this.handlers = {}, this.thisContext = null;
2767
2768
  }
@@ -2809,7 +2810,7 @@ function Ga(n) {
2809
2810
  return n === !0 ? e = [{}] : Array.isArray(n) ? e = n.filter((t) => t.daysOfWeek) : typeof n == "object" && n ? e = [n] : e = [], e = e.map((t) => Object.assign(Object.assign({}, Fa), t)), e;
2810
2811
  }
2811
2812
  function cs(n, e, t) {
2812
- t.emitter.trigger("select", Object.assign(Object.assign({}, Wn(n, t)), { jsEvent: e ? e.origEvent : null, view: t.viewApi || t.calendarApi.view }));
2813
+ t.emitter.trigger("select", Object.assign(Object.assign({}, Gn(n, t)), { jsEvent: e ? e.origEvent : null, view: t.viewApi || t.calendarApi.view }));
2813
2814
  }
2814
2815
  function qa(n, e) {
2815
2816
  e.emitter.trigger("unselect", {
@@ -2817,7 +2818,7 @@ function qa(n, e) {
2817
2818
  view: e.viewApi || e.calendarApi.view
2818
2819
  });
2819
2820
  }
2820
- function Wn(n, e) {
2821
+ function Gn(n, e) {
2821
2822
  let t = {};
2822
2823
  for (let r of e.pluginHooks.dateSpanTransforms)
2823
2824
  Object.assign(t, r(n, e));
@@ -2825,10 +2826,10 @@ function Wn(n, e) {
2825
2826
  }
2826
2827
  function Xr(n, e, t) {
2827
2828
  let { dateEnv: r, options: i } = t, s = e;
2828
- return n ? (s = P(s), s = r.add(s, i.defaultAllDayEventDuration)) : s = r.add(s, i.defaultTimedEventDuration), s;
2829
+ return n ? (s = H(s), s = r.add(s, i.defaultAllDayEventDuration)) : s = r.add(s, i.defaultTimedEventDuration), s;
2829
2830
  }
2830
- function Gn(n, e, t, r) {
2831
- let i = xt(n.defs, e), s = $();
2831
+ function qn(n, e, t, r) {
2832
+ let i = Mt(n.defs, e), s = $();
2832
2833
  for (let l in n.defs) {
2833
2834
  let o = n.defs[l];
2834
2835
  s.defs[l] = Ya(o, i[l], t, r);
@@ -2863,11 +2864,11 @@ function Qa(n, e, t, r, i) {
2863
2864
  start: a.range.start,
2864
2865
  end: Xr(e.allDay, a.range.start, i)
2865
2866
  }), e.allDay && (a.range = {
2866
- start: P(a.range.start),
2867
- end: P(a.range.end)
2867
+ start: H(a.range.start),
2868
+ end: H(a.range.end)
2868
2869
  }), a.range.end < a.range.start && (a.range.end = Xr(e.allDay, a.range.start, i)), a;
2869
2870
  }
2870
- class He {
2871
+ class Pe {
2871
2872
  constructor(e, t) {
2872
2873
  this.context = e, this.internalEventSource = t;
2873
2874
  }
@@ -2915,8 +2916,8 @@ class z {
2915
2916
  t = yt[e](t), this.mutate({
2916
2917
  standardProps: { [e]: t }
2917
2918
  });
2918
- else if (e in Tt) {
2919
- let r = Tt[e](t);
2919
+ else if (e in kt) {
2920
+ let r = kt[e](t);
2920
2921
  e === "color" ? r = { backgroundColor: t, borderColor: t } : e === "editable" ? r = { startEditable: t, durationEditable: t } : r = { [e]: t }, this.mutate({
2921
2922
  standardProps: { ui: r }
2922
2923
  });
@@ -2931,7 +2932,7 @@ class z {
2931
2932
  setStart(e, t = {}) {
2932
2933
  let { dateEnv: r } = this._context, i = r.createMarker(e);
2933
2934
  if (i && this._instance) {
2934
- let s = this._instance.range, l = Pe(s.start, i, r, t.granularity);
2935
+ let s = this._instance.range, l = He(s.start, i, r, t.granularity);
2935
2936
  t.maintainDuration ? this.mutate({ datesDelta: l }) : this.mutate({ startDelta: l });
2936
2937
  }
2937
2938
  }
@@ -2939,7 +2940,7 @@ class z {
2939
2940
  let { dateEnv: r } = this._context, i;
2940
2941
  if (!(e != null && (i = r.createMarker(e), !i)) && this._instance)
2941
2942
  if (i) {
2942
- let s = Pe(this._instance.range.end, i, r, t.granularity);
2943
+ let s = He(this._instance.range.end, i, r, t.granularity);
2943
2944
  this.mutate({ endDelta: s });
2944
2945
  } else
2945
2946
  this.mutate({ standardProps: { hasEnd: !1 } });
@@ -2949,9 +2950,9 @@ class z {
2949
2950
  if (l && !(t != null && (o = i.createMarker(t), !o)) && this._instance) {
2950
2951
  let a = this._instance.range;
2951
2952
  r.allDay === !0 && (a = Ji(a));
2952
- let d = Pe(a.start, l, i, r.granularity);
2953
+ let d = He(a.start, l, i, r.granularity);
2953
2954
  if (o) {
2954
- let c = Pe(a.end, o, i, r.granularity);
2955
+ let c = He(a.end, o, i, r.granularity);
2955
2956
  yo(d, c) ? this.mutate({ datesDelta: d, standardProps: s }) : this.mutate({ startDelta: d, endDelta: c, standardProps: s });
2956
2957
  } else
2957
2958
  s.hasEnd = !1, this.mutate({ datesDelta: d, standardProps: s });
@@ -2985,8 +2986,8 @@ class z {
2985
2986
  mutate(e) {
2986
2987
  let t = this._instance;
2987
2988
  if (t) {
2988
- let r = this._def, i = this._context, { eventStore: s } = i.getCurrentData(), l = Vn(s, t.instanceId);
2989
- l = Gn(l, {
2989
+ let r = this._def, i = this._context, { eventStore: s } = i.getCurrentData(), l = Fn(s, t.instanceId);
2990
+ l = qn(l, {
2990
2991
  "": {
2991
2992
  display: "",
2992
2993
  startEditable: !0,
@@ -3036,7 +3037,7 @@ class z {
3036
3037
  }
3037
3038
  get source() {
3038
3039
  let { sourceId: e } = this._def;
3039
- return e ? new He(this._context, this._context.getCurrentData().eventSources[e]) : null;
3040
+ return e ? new Pe(this._context, this._context.getCurrentData().eventSources[e]) : null;
3040
3041
  }
3041
3042
  get start() {
3042
3043
  return this._instance ? this._context.dateEnv.toDate(this._instance.range.start) : null;
@@ -3136,7 +3137,7 @@ function Ce(n, e, t) {
3136
3137
  return s;
3137
3138
  }
3138
3139
  function Jr(n, e, t, r) {
3139
- let i = {}, s = {}, l = {}, o = [], a = [], d = xt(n.defs, e);
3140
+ let i = {}, s = {}, l = {}, o = [], a = [], d = Mt(n.defs, e);
3140
3141
  for (let c in n.defs) {
3141
3142
  let f = n.defs[c];
3142
3143
  d[f.defId].display === "inverse-background" && (f.groupId ? (i[f.groupId] = [], l[f.groupId] || (l[f.groupId] = f)) : s[c] = []);
@@ -3190,7 +3191,7 @@ function Ve(n) {
3190
3191
  return n.fcSeg || n.parentNode.fcSeg || // for the harness
3191
3192
  null;
3192
3193
  }
3193
- function xt(n, e) {
3194
+ function Mt(n, e) {
3194
3195
  return ce(n, (t) => us(t, e));
3195
3196
  }
3196
3197
  function us(n, e) {
@@ -3227,7 +3228,7 @@ function Ka(n, e) {
3227
3228
  function hs(n, e, t, r, i, s, l) {
3228
3229
  let { dateEnv: o, options: a } = t, { displayEventTime: d, displayEventEnd: c } = a, f = n.eventRange.def, h = n.eventRange.instance;
3229
3230
  d == null && (d = r !== !1), c == null && (c = i !== !1);
3230
- let u = h.range.start, m = h.range.end, y = s || n.start || n.eventRange.range.start, b = l || n.end || n.eventRange.range.end, E = P(u).valueOf() === P(y).valueOf(), p = P(be(m, -1)).valueOf() === P(be(b, -1)).valueOf();
3231
+ let u = h.range.start, m = h.range.end, y = s || n.start || n.eventRange.range.start, b = l || n.end || n.eventRange.range.end, E = H(u).valueOf() === H(y).valueOf(), p = H(be(m, -1)).valueOf() === H(be(b, -1)).valueOf();
3231
3232
  return d && !f.allDay && (E || p) ? (y = E ? u : y, b = p ? m : b, c && f.hasEnd ? o.formatRange(y, b, e, {
3232
3233
  forcedStartTzo: s ? null : h.forcedStartTzo,
3233
3234
  forcedEndTzo: l ? null : h.forcedEndTzo
@@ -3239,7 +3240,7 @@ function hs(n, e, t, r, i, s, l) {
3239
3240
  function ve(n, e, t) {
3240
3241
  let r = n.eventRange.range;
3241
3242
  return {
3242
- isPast: r.end < (t || e.start),
3243
+ isPast: r.end <= (t || e.start),
3243
3244
  isFuture: r.start >= (t || e.end),
3244
3245
  isToday: e && ae(e, r.start)
3245
3246
  };
@@ -3315,7 +3316,7 @@ function vs(n, e, t) {
3315
3316
  };
3316
3317
  }
3317
3318
  function oc(n, e, t) {
3318
- let r = rs({ editable: !1 }, t), i = mn(
3319
+ let r = rs({ editable: !1 }, t), i = vn(
3319
3320
  r.refined,
3320
3321
  r.extra,
3321
3322
  "",
@@ -3328,7 +3329,7 @@ function oc(n, e, t) {
3328
3329
  return {
3329
3330
  def: i,
3330
3331
  ui: us(i, e),
3331
- instance: Un(i.defId, n.range),
3332
+ instance: jn(i.defId, n.range),
3332
3333
  range: n.range,
3333
3334
  isStart: !0,
3334
3335
  isEnd: !0
@@ -3362,9 +3363,9 @@ function cc(n, e, t) {
3362
3363
  throw new ei("Request failed", i);
3363
3364
  });
3364
3365
  }
3365
- let Xt;
3366
+ let Jt;
3366
3367
  function ys() {
3367
- return Xt == null && (Xt = dc()), Xt;
3368
+ return Jt == null && (Jt = dc()), Jt;
3368
3369
  }
3369
3370
  function dc() {
3370
3371
  if (typeof document > "u")
@@ -3379,9 +3380,13 @@ class uc extends I {
3379
3380
  super(...arguments), this.state = {
3380
3381
  forPrint: !1
3381
3382
  }, this.handleBeforePrint = () => {
3382
- this.setState({ forPrint: !0 });
3383
+ Rt(() => {
3384
+ this.setState({ forPrint: !0 });
3385
+ });
3383
3386
  }, this.handleAfterPrint = () => {
3384
- this.setState({ forPrint: !1 });
3387
+ Rt(() => {
3388
+ this.setState({ forPrint: !1 });
3389
+ });
3385
3390
  };
3386
3391
  }
3387
3392
  render() {
@@ -3417,12 +3422,12 @@ function fc(n, e) {
3417
3422
  isHitComboAllowed: e.isHitComboAllowed || null
3418
3423
  };
3419
3424
  }
3420
- function qn(n) {
3425
+ function Yn(n) {
3421
3426
  return {
3422
3427
  [n.component.uid]: n
3423
3428
  };
3424
3429
  }
3425
- const yn = {};
3430
+ const bn = {};
3426
3431
  class hc {
3427
3432
  getCurrentData() {
3428
3433
  return this.currentDataManager.getCurrentData();
@@ -3608,15 +3613,15 @@ class hc {
3608
3613
  let l = e._def, o = e._instance;
3609
3614
  return this.getCurrentData().eventStore.defs[l.defId] || (this.dispatch({
3610
3615
  type: "ADD_EVENTS",
3611
- eventStore: vn({ def: l, instance: o })
3616
+ eventStore: yn({ def: l, instance: o })
3612
3617
  // TODO: better util for two args?
3613
3618
  }), this.triggerEventAdd(e)), e;
3614
3619
  }
3615
3620
  let r = this.getCurrentData(), i;
3616
- if (t instanceof He)
3621
+ if (t instanceof Pe)
3617
3622
  i = t.internalEventSource;
3618
3623
  else if (typeof t == "boolean")
3619
- t && ([i] = Bn(r.eventSources));
3624
+ t && ([i] = Ln(r.eventSources));
3620
3625
  else if (t != null) {
3621
3626
  let l = this.getEventSourceById(t);
3622
3627
  if (!l)
@@ -3628,7 +3633,7 @@ class hc {
3628
3633
  let l = new z(r, s.def, s.def.recurringDef ? null : s.instance);
3629
3634
  return this.dispatch({
3630
3635
  type: "ADD_EVENTS",
3631
- eventStore: vn(s)
3636
+ eventStore: yn(s)
3632
3637
  }), this.triggerEventAdd(l), l;
3633
3638
  }
3634
3639
  return null;
@@ -3676,7 +3681,7 @@ class hc {
3676
3681
  getEventSources() {
3677
3682
  let e = this.getCurrentData(), t = e.eventSources, r = [];
3678
3683
  for (let i in t)
3679
- r.push(new He(e, t[i]));
3684
+ r.push(new Pe(e, t[i]));
3680
3685
  return r;
3681
3686
  }
3682
3687
  getEventSourceById(e) {
@@ -3684,18 +3689,18 @@ class hc {
3684
3689
  e = String(e);
3685
3690
  for (let i in r)
3686
3691
  if (r[i].publicId === e)
3687
- return new He(t, r[i]);
3692
+ return new Pe(t, r[i]);
3688
3693
  return null;
3689
3694
  }
3690
3695
  addEventSource(e) {
3691
3696
  let t = this.getCurrentData();
3692
- if (e instanceof He)
3697
+ if (e instanceof Pe)
3693
3698
  return t.eventSources[e.internalEventSource.sourceId] || this.dispatch({
3694
3699
  type: "ADD_EVENT_SOURCES",
3695
3700
  sources: [e.internalEventSource]
3696
3701
  }), e;
3697
3702
  let r = ss(e, t);
3698
- return r ? (this.dispatch({ type: "ADD_EVENT_SOURCES", sources: [r] }), new He(t, r)) : null;
3703
+ return r ? (this.dispatch({ type: "ADD_EVENT_SOURCES", sources: [r] }), new Pe(t, r)) : null;
3699
3704
  }
3700
3705
  removeAllEventSources() {
3701
3706
  this.dispatch({ type: "REMOVE_ALL_EVENT_SOURCES" });
@@ -3740,7 +3745,7 @@ function vc(n, e) {
3740
3745
  top: n.top - e.top
3741
3746
  };
3742
3747
  }
3743
- const Jt = $();
3748
+ const Kt = $();
3744
3749
  class yc {
3745
3750
  constructor() {
3746
3751
  this.getKeysForEventDefs = w(this._getKeysForEventDefs), this.splitDateSelection = w(this._splitDateSpan), this.splitEventStore = w(this._splitEventStore), this.splitIndividualUi = w(this._splitIndividualUi), this.splitEventDrag = w(this._splitInteraction), this.splitEventResize = w(this._splitInteraction), this.eventUiBuilders = {};
@@ -3749,7 +3754,7 @@ class yc {
3749
3754
  let t = 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 = {};
3750
3755
  this.eventUiBuilders = ce(t, (c, f) => this.eventUiBuilders[f] || w(bc));
3751
3756
  for (let c in t) {
3752
- let f = t[c], h = l[c] || Jt, u = this.eventUiBuilders[c];
3757
+ let f = t[c], h = l[c] || Kt, u = this.eventUiBuilders[c];
3753
3758
  d[c] = {
3754
3759
  businessHours: f.businessHours || e.businessHours,
3755
3760
  dateSelection: i[c] || null,
@@ -3799,8 +3804,8 @@ class yc {
3799
3804
  if (e) {
3800
3805
  let r = this._splitEventStore(e.affectedEvents, this._getKeysForEventDefs(e.affectedEvents)), i = this._getKeysForEventDefs(e.mutatedEvents), s = this._splitEventStore(e.mutatedEvents, i), l = (o) => {
3801
3806
  t[o] || (t[o] = {
3802
- affectedEvents: r[o] || Jt,
3803
- mutatedEvents: s[o] || Jt,
3807
+ affectedEvents: r[o] || Kt,
3808
+ mutatedEvents: s[o] || Kt,
3804
3809
  isEvent: e.isEvent
3805
3810
  });
3806
3811
  };
@@ -3830,7 +3835,7 @@ function Es(n, e, t, r) {
3830
3835
  isFuture: !!(t ? n > t : e && n >= e.end)
3831
3836
  };
3832
3837
  }
3833
- function Yn(n, e) {
3838
+ function Qn(n, e) {
3834
3839
  let t = [
3835
3840
  "fc-day",
3836
3841
  `fc-day-${_o[n.dow]}`
@@ -3838,7 +3843,7 @@ function Yn(n, e) {
3838
3843
  return n.isDisabled ? t.push("fc-day-disabled") : (n.isToday && (t.push("fc-day-today"), t.push(e.getClass("today"))), n.isPast && t.push("fc-day-past"), n.isFuture && t.push("fc-day-future"), n.isOther && t.push("fc-day-other")), t;
3839
3844
  }
3840
3845
  const Ec = j({ year: "numeric", month: "long", day: "numeric" }), Sc = j({ week: "long" });
3841
- function Mt(n, e, t = "day", r = !0) {
3846
+ function It(n, e, t = "day", r = !0) {
3842
3847
  const { dateEnv: i, options: s, calendarApi: l } = n;
3843
3848
  let o = i.format(e, t === "week" ? Sc : Ec);
3844
3849
  if (s.navLinks) {
@@ -3851,9 +3856,9 @@ function Mt(n, e, t = "day", r = !0) {
3851
3856
  }
3852
3857
  return { "aria-label": o };
3853
3858
  }
3854
- let Kt = null;
3859
+ let en = null;
3855
3860
  function Ac() {
3856
- return Kt === null && (Kt = _c()), Kt;
3861
+ return en === null && (en = _c()), en;
3857
3862
  }
3858
3863
  function _c() {
3859
3864
  let n = document.createElement("div");
@@ -3867,11 +3872,11 @@ function _c() {
3867
3872
  direction: "rtl"
3868
3873
  }), n.innerHTML = "<div></div>", document.body.appendChild(n);
3869
3874
  let t = n.firstChild.getBoundingClientRect().left > n.getBoundingClientRect().left;
3870
- return kn(n), t;
3875
+ return xn(n), t;
3871
3876
  }
3872
- let en;
3877
+ let tn;
3873
3878
  function Dc() {
3874
- return en || (en = wc()), en;
3879
+ return tn || (tn = wc()), tn;
3875
3880
  }
3876
3881
  function wc() {
3877
3882
  let n = document.createElement("div");
@@ -3898,7 +3903,7 @@ function Cc(n, e = !1) {
3898
3903
  return Ac() && t.direction === "rtl" ? c.scrollbarLeft = a : c.scrollbarRight = a, e && (c.paddingLeft = parseInt(t.paddingLeft, 10) || 0, c.paddingRight = parseInt(t.paddingRight, 10) || 0, c.paddingTop = parseInt(t.paddingTop, 10) || 0, c.paddingBottom = parseInt(t.paddingBottom, 10) || 0), c;
3899
3904
  }
3900
3905
  function Rc(n, e = !1, t) {
3901
- let r = t ? n.getBoundingClientRect() : Qn(n), i = Cc(n, e), s = {
3906
+ let r = t ? n.getBoundingClientRect() : $n(n), i = Cc(n, e), s = {
3902
3907
  left: r.left + i.borderLeft + i.scrollbarLeft,
3903
3908
  right: r.right - i.borderRight - i.scrollbarRight,
3904
3909
  top: r.top + i.borderTop,
@@ -3906,13 +3911,13 @@ function Rc(n, e = !1, t) {
3906
3911
  };
3907
3912
  return e && (s.left += i.paddingLeft, s.right -= i.paddingRight, s.top += i.paddingTop, s.bottom -= i.paddingBottom), s;
3908
3913
  }
3909
- function Qn(n) {
3914
+ function $n(n) {
3910
3915
  let e = n.getBoundingClientRect();
3911
3916
  return {
3912
- left: e.left + window.pageXOffset,
3913
- top: e.top + window.pageYOffset,
3914
- right: e.right + window.pageXOffset,
3915
- bottom: e.bottom + window.pageYOffset
3917
+ left: e.left + window.scrollX,
3918
+ top: e.top + window.scrollY,
3919
+ right: e.right + window.scrollX,
3920
+ bottom: e.bottom + window.scrollY
3916
3921
  };
3917
3922
  }
3918
3923
  function Tc(n) {
@@ -3997,7 +4002,7 @@ function at(n, e) {
3997
4002
  return !1;
3998
4003
  return !0;
3999
4004
  }
4000
- class $n {
4005
+ class Zn {
4001
4006
  getMaxScrollTop() {
4002
4007
  return this.getScrollHeight() - this.getClientHeight();
4003
4008
  }
@@ -4023,7 +4028,7 @@ class $n {
4023
4028
  return this.getScrollLeft() < this.getMaxScrollLeft();
4024
4029
  }
4025
4030
  }
4026
- class kc extends $n {
4031
+ class kc extends Zn {
4027
4032
  constructor(e) {
4028
4033
  super(), this.el = e;
4029
4034
  }
@@ -4052,18 +4057,18 @@ class kc extends $n {
4052
4057
  return this.el.clientWidth;
4053
4058
  }
4054
4059
  }
4055
- class xc extends $n {
4060
+ class xc extends Zn {
4056
4061
  getScrollTop() {
4057
- return window.pageYOffset;
4062
+ return window.scrollY;
4058
4063
  }
4059
4064
  getScrollLeft() {
4060
- return window.pageXOffset;
4065
+ return window.scrollX;
4061
4066
  }
4062
4067
  setScrollTop(e) {
4063
- window.scroll(window.pageXOffset, e);
4068
+ window.scroll(window.scrollX, e);
4064
4069
  }
4065
4070
  setScrollLeft(e) {
4066
- window.scroll(e, window.pageYOffset);
4071
+ window.scroll(e, window.scrollY);
4067
4072
  }
4068
4073
  getScrollWidth() {
4069
4074
  return document.documentElement.scrollWidth;
@@ -4103,7 +4108,7 @@ class ie extends I {
4103
4108
  }
4104
4109
  }
4105
4110
  class _s {
4106
- constructor(e = (t) => t.thickness) {
4111
+ constructor(e = (t) => t.thickness || 1) {
4107
4112
  this.getEntryThickness = e, this.strictOrder = !1, this.allowReslicing = !1, this.maxCoord = -1, this.maxStackCnt = -1, this.levelCoords = [], this.entriesByLevel = [], this.stackCnts = {};
4108
4113
  }
4109
4114
  addSegs(e) {
@@ -4114,43 +4119,47 @@ class _s {
4114
4119
  }
4115
4120
  insertEntry(e, t) {
4116
4121
  let r = this.findInsertion(e);
4117
- return this.isInsertionValid(r, e) ? (this.insertEntryAt(e, r), 1) : this.handleInvalidInsertion(r, e, t);
4122
+ this.isInsertionValid(r, e) ? this.insertEntryAt(e, r) : this.handleInvalidInsertion(r, e, t);
4118
4123
  }
4119
4124
  isInsertionValid(e, t) {
4120
4125
  return (this.maxCoord === -1 || e.levelCoord + this.getEntryThickness(t) <= this.maxCoord) && (this.maxStackCnt === -1 || e.stackCnt < this.maxStackCnt);
4121
4126
  }
4122
- // returns number of new entries inserted
4123
4127
  handleInvalidInsertion(e, t, r) {
4124
- return this.allowReslicing && e.touchingEntry ? this.splitEntry(t, e.touchingEntry, r) : (r.push(t), 0);
4128
+ if (this.allowReslicing && e.touchingEntry) {
4129
+ const i = Object.assign(Object.assign({}, t), { span: Xn(t.span, e.touchingEntry.span) });
4130
+ r.push(i), this.splitEntry(t, e.touchingEntry, r);
4131
+ } else
4132
+ r.push(t);
4125
4133
  }
4134
+ /*
4135
+ Does NOT add what hit the `barrier` into hiddenEntries. Should already be done.
4136
+ */
4126
4137
  splitEntry(e, t, r) {
4127
- let i = 0, s = [], l = e.span, o = t.span;
4128
- return l.start < o.start && (i += this.insertEntry({
4138
+ let i = e.span, s = t.span;
4139
+ i.start < s.start && this.insertEntry({
4129
4140
  index: e.index,
4130
4141
  thickness: e.thickness,
4131
- span: { start: l.start, end: o.start }
4132
- }, s)), l.end > o.end && (i += this.insertEntry({
4142
+ span: { start: i.start, end: s.start }
4143
+ }, r), i.end > s.end && this.insertEntry({
4133
4144
  index: e.index,
4134
4145
  thickness: e.thickness,
4135
- span: { start: o.end, end: l.end }
4136
- }, s)), i ? (r.push({
4137
- index: e.index,
4138
- thickness: e.thickness,
4139
- span: Zn(o, l)
4140
- // guaranteed to intersect
4141
- }, ...s), i) : (r.push(e), 0);
4146
+ span: { start: s.end, end: i.end }
4147
+ }, r);
4142
4148
  }
4143
4149
  insertEntryAt(e, t) {
4144
4150
  let { entriesByLevel: r, levelCoords: i } = this;
4145
- t.lateral === -1 ? (tn(i, t.level, t.levelCoord), tn(r, t.level, [e])) : tn(r[t.level], t.lateral, e), this.stackCnts[Re(e)] = t.stackCnt;
4151
+ t.lateral === -1 ? (nn(i, t.level, t.levelCoord), nn(r, t.level, [e])) : nn(r[t.level], t.lateral, e), this.stackCnts[Re(e)] = t.stackCnt;
4146
4152
  }
4153
+ /*
4154
+ does not care about limits
4155
+ */
4147
4156
  findInsertion(e) {
4148
4157
  let { levelCoords: t, entriesByLevel: r, strictOrder: i, stackCnts: s } = this, l = t.length, o = 0, a = -1, d = -1, c = null, f = 0;
4149
4158
  for (let m = 0; m < l; m += 1) {
4150
- let y = t[m];
4159
+ const y = t[m];
4151
4160
  if (!i && y >= o + this.getEntryThickness(e))
4152
4161
  break;
4153
- let b = r[m], E, p = En(b, e.span.start, bn), A = p[0] + p[1];
4162
+ let b = r[m], E, p = Sn(b, e.span.start, En), A = p[0] + p[1];
4154
4163
  for (
4155
4164
  ;
4156
4165
  // loop through entries that horizontally intersect
@@ -4166,7 +4175,7 @@ class _s {
4166
4175
  for (h = a + 1; h < l && t[h] < o; )
4167
4176
  h += 1;
4168
4177
  let u = -1;
4169
- return h < l && t[h] === o && (u = En(r[h], e.span.end, bn)[0]), {
4178
+ return h < l && t[h] === o && (u = Sn(r[h], e.span.end, En)[0]), {
4170
4179
  touchingLevel: a,
4171
4180
  touchingLateral: d,
4172
4181
  touchingEntry: c,
@@ -4187,7 +4196,7 @@ class _s {
4187
4196
  return i;
4188
4197
  }
4189
4198
  }
4190
- function bn(n) {
4199
+ function En(n) {
4191
4200
  return n.span.end;
4192
4201
  }
4193
4202
  function Re(n) {
@@ -4201,7 +4210,7 @@ function Mc(n) {
4201
4210
  entries: [t]
4202
4211
  };
4203
4212
  for (let s of e)
4204
- Zn(s.span, i.span) ? i = {
4213
+ Xn(s.span, i.span) ? i = {
4205
4214
  entries: s.entries.concat(i.entries),
4206
4215
  span: Ic(s.span, i.span)
4207
4216
  } : r.push(s);
@@ -4215,14 +4224,14 @@ function Ic(n, e) {
4215
4224
  end: Math.max(n.end, e.end)
4216
4225
  };
4217
4226
  }
4218
- function Zn(n, e) {
4227
+ function Xn(n, e) {
4219
4228
  let t = Math.max(n.start, e.start), r = Math.min(n.end, e.end);
4220
4229
  return t < r ? { start: t, end: r } : null;
4221
4230
  }
4222
- function tn(n, e, t) {
4231
+ function nn(n, e, t) {
4223
4232
  n.splice(e, 0, t);
4224
4233
  }
4225
- function En(n, e, t) {
4234
+ function Sn(n, e, t) {
4226
4235
  let r = 0, i = n.length;
4227
4236
  if (!i || e < t(n[r]))
4228
4237
  return [0, 0];
@@ -4239,9 +4248,9 @@ function En(n, e, t) {
4239
4248
  }
4240
4249
  return [r, 0];
4241
4250
  }
4242
- class Oc {
4251
+ class Nc {
4243
4252
  constructor(e, t) {
4244
- this.emitter = new zt();
4253
+ this.emitter = new Ut();
4245
4254
  }
4246
4255
  destroy() {
4247
4256
  }
@@ -4252,24 +4261,24 @@ class Oc {
4252
4261
  setAutoScrollEnabled(e) {
4253
4262
  }
4254
4263
  }
4255
- const Xn = {};
4256
- function Nc(n, e) {
4264
+ const Jn = {};
4265
+ function Oc(n, e) {
4257
4266
  return !n || e > 10 ? j({ weekday: "short" }) : e > 1 ? j({ weekday: "short", month: "numeric", day: "numeric", omitCommas: !0 }) : j({ weekday: "long" });
4258
4267
  }
4259
4268
  const Ds = "fc-col-header-cell";
4260
4269
  function ws(n) {
4261
4270
  return n.text;
4262
4271
  }
4263
- class Hc extends I {
4272
+ class Pc extends I {
4264
4273
  render() {
4265
- let { dateEnv: e, options: t, theme: r, viewApi: i } = this.context, { props: s } = this, { date: l, dateProfile: o } = s, a = Es(l, s.todayRange, null, o), d = [Ds].concat(Yn(a, r)), c = e.format(l, s.dayHeaderFormat), f = !a.isDisabled && s.colCnt > 1 ? Mt(this.context, l) : {}, h = Object.assign(Object.assign(Object.assign({ date: e.toDate(l), view: i }, s.extraRenderProps), { text: c }), a);
4274
+ let { dateEnv: e, options: t, theme: r, viewApi: i } = this.context, { props: s } = this, { date: l, dateProfile: o } = s, a = Es(l, s.todayRange, null, o), d = [Ds].concat(Qn(a, r)), c = e.format(l, s.dayHeaderFormat), f = !a.isDisabled && s.colCnt > 1 ? It(this.context, l) : {}, h = Object.assign(Object.assign(Object.assign({ date: e.toDate(l), view: i }, s.extraRenderProps), { text: c }), a);
4266
4275
  return g(Z, { elTag: "th", elClasses: d, elAttrs: Object.assign({ role: "columnheader", colSpan: s.colSpan, "data-date": a.isDisabled ? void 0 : On(l) }, s.extraDataAttrs), renderProps: h, generatorName: "dayHeaderContent", customGenerator: t.dayHeaderContent, defaultGenerator: ws, classNameGenerator: t.dayHeaderClassNames, didMount: t.dayHeaderDidMount, willUnmount: t.dayHeaderWillUnmount }, (u) => g("div", { className: "fc-scrollgrid-sync-inner" }, !a.isDisabled && g(u, { elTag: "a", elAttrs: f, elClasses: [
4267
4276
  "fc-col-header-cell-cushion",
4268
4277
  s.isSticky && "fc-sticky"
4269
4278
  ] })));
4270
4279
  }
4271
4280
  }
4272
- const Pc = j({ weekday: "long" });
4281
+ const Hc = j({ weekday: "long" });
4273
4282
  class Bc extends I {
4274
4283
  render() {
4275
4284
  let { props: e } = this, { dateEnv: t, theme: r, viewApi: i, options: s } = this.context, l = W(/* @__PURE__ */ new Date(2592e5), e.dow), o = {
@@ -4285,7 +4294,7 @@ class Bc extends I {
4285
4294
  }, o), { view: i }), e.extraRenderProps), { text: a });
4286
4295
  return g(Z, { elTag: "th", elClasses: [
4287
4296
  Ds,
4288
- ...Yn(o, r),
4297
+ ...Qn(o, r),
4289
4298
  ...e.extraClassNames || []
4290
4299
  ], elAttrs: Object.assign({ role: "columnheader", colSpan: e.colSpan }, e.extraDataAttrs), renderProps: d, generatorName: "dayHeaderContent", customGenerator: s.dayHeaderContent, defaultGenerator: ws, classNameGenerator: s.dayHeaderClassNames, didMount: s.dayHeaderDidMount, willUnmount: s.dayHeaderWillUnmount }, (c) => g(
4291
4300
  "div",
@@ -4294,7 +4303,7 @@ class Bc extends I {
4294
4303
  "fc-col-header-cell-cushion",
4295
4304
  e.isSticky && "fc-sticky"
4296
4305
  ], elAttrs: {
4297
- "aria-label": t.format(l, Pc)
4306
+ "aria-label": t.format(l, Hc)
4298
4307
  } })
4299
4308
  ));
4300
4309
  }
@@ -4338,7 +4347,7 @@ class nt extends Q {
4338
4347
  }
4339
4348
  nt.contextType = ue;
4340
4349
  function ti(n) {
4341
- let e = P(n), t = W(e, 1);
4350
+ let e = H(n), t = W(e, 1);
4342
4351
  return { start: e, end: t };
4343
4352
  }
4344
4353
  class Cs extends I {
@@ -4351,12 +4360,12 @@ class Cs extends I {
4351
4360
  "tr",
4352
4361
  { role: "row" },
4353
4362
  s && s("day"),
4354
- t.map((d) => i ? g(Hc, { key: d.toISOString(), date: d, dateProfile: r, todayRange: a, colCnt: t.length, dayHeaderFormat: l }) : g(Bc, { key: d.getUTCDay(), dow: d.getUTCDay(), dayHeaderFormat: l }))
4363
+ t.map((d) => i ? g(Pc, { key: d.toISOString(), date: d, dateProfile: r, todayRange: a, colCnt: t.length, dayHeaderFormat: l }) : g(Bc, { key: d.getUTCDay(), dow: d.getUTCDay(), dayHeaderFormat: l }))
4355
4364
  ));
4356
4365
  }
4357
4366
  }
4358
4367
  function Lc(n, e, t) {
4359
- return n || Nc(e, t);
4368
+ return n || Oc(e, t);
4360
4369
  }
4361
4370
  class Rs {
4362
4371
  constructor(e, t) {
@@ -4534,12 +4543,12 @@ function ct(n, e) {
4534
4543
  function xs(n, e, t) {
4535
4544
  let { instances: r } = n.mutatedEvents;
4536
4545
  for (let i in r)
4537
- if (!Bt(e.validRange, r[i].range))
4546
+ if (!Lt(e.validRange, r[i].range))
4538
4547
  return !1;
4539
4548
  return Ms({ eventDrag: n }, t);
4540
4549
  }
4541
4550
  function zc(n, e, t) {
4542
- return Bt(e.validRange, n.range) ? Ms({ dateSelection: n }, t) : !1;
4551
+ return Lt(e.validRange, n.range) ? Ms({ dateSelection: n }, t) : !1;
4543
4552
  }
4544
4553
  function Ms(n, e) {
4545
4554
  let t = e.getCurrentData(), r = Object.assign({ businessHours: t.businessHours, dateSelection: "", eventStore: t.eventStore, eventUiBases: t.eventUiBases, eventSelection: "", eventDrag: null, eventResize: null }, n);
@@ -4549,9 +4558,9 @@ function Uc(n, e, t = {}, r) {
4549
4558
  return !(n.eventDrag && !jc(n, e, t, r) || n.dateSelection && !Vc(n, e, t, r));
4550
4559
  }
4551
4560
  function jc(n, e, t, r) {
4552
- let i = e.getCurrentData(), s = n.eventDrag, l = s.mutatedEvents, o = l.defs, a = l.instances, d = xt(o, s.isEvent ? n.eventUiBases : { "": i.selectionConfig });
4561
+ let i = e.getCurrentData(), s = n.eventDrag, l = s.mutatedEvents, o = l.defs, a = l.instances, d = Mt(o, s.isEvent ? n.eventUiBases : { "": i.selectionConfig });
4553
4562
  r && (d = ce(d, r));
4554
- let c = za(n.eventStore, s.affectedEvents.instances), f = c.defs, h = c.instances, u = xt(f, n.eventUiBases);
4563
+ let c = za(n.eventStore, s.affectedEvents.instances), f = c.defs, h = c.instances, u = Mt(f, n.eventUiBases);
4555
4564
  for (let m in a) {
4556
4565
  let y = a[m], b = y.range, E = d[y.defId], p = o[y.defId];
4557
4566
  if (!Is(E.constraints, b, c, n.businessHours, e))
@@ -4559,17 +4568,17 @@ function jc(n, e, t, r) {
4559
4568
  let { eventOverlap: A } = e.options, C = typeof A == "function" ? A : null;
4560
4569
  for (let R in h) {
4561
4570
  let x = h[R];
4562
- if (zn(b, x.range) && (u[x.defId].overlap === !1 && s.isEvent || E.overlap === !1 || C && !C(
4571
+ if (Un(b, x.range) && (u[x.defId].overlap === !1 && s.isEvent || E.overlap === !1 || C && !C(
4563
4572
  new z(e, f[x.defId], x),
4564
4573
  // still event
4565
4574
  new z(e, p, y)
4566
4575
  )))
4567
4576
  return !1;
4568
4577
  }
4569
- let H = i.eventStore;
4578
+ let P = i.eventStore;
4570
4579
  for (let R of E.allows) {
4571
- let x = Object.assign(Object.assign({}, t), { range: y.range, allDay: p.allDay }), S = H.defs[p.defId], D = H.instances[m], U;
4572
- if (S ? U = new z(e, S, D) : U = new z(e, p), !R(Wn(x, e), U))
4580
+ let x = Object.assign(Object.assign({}, t), { range: y.range, allDay: p.allDay }), S = P.defs[p.defId], D = P.instances[m], U;
4581
+ if (S ? U = new z(e, S, D) : U = new z(e, p), !R(Gn(x, e), U))
4573
4582
  return !1;
4574
4583
  }
4575
4584
  }
@@ -4582,12 +4591,12 @@ function Vc(n, e, t, r) {
4582
4591
  let { selectOverlap: c } = e.options, f = typeof c == "function" ? c : null;
4583
4592
  for (let h in l) {
4584
4593
  let u = l[h];
4585
- if (zn(a, u.range) && (d.overlap === !1 || f && !f(new z(e, s[u.defId], u), null)))
4594
+ if (Un(a, u.range) && (d.overlap === !1 || f && !f(new z(e, s[u.defId], u), null)))
4586
4595
  return !1;
4587
4596
  }
4588
4597
  for (let h of d.allows) {
4589
4598
  let u = Object.assign(Object.assign({}, t), o);
4590
- if (!h(Wn(u, e), null))
4599
+ if (!h(Gn(u, e), null))
4591
4600
  return !1;
4592
4601
  }
4593
4602
  return !0;
@@ -4599,9 +4608,9 @@ function Is(n, e, t, r, i) {
4599
4608
  return !0;
4600
4609
  }
4601
4610
  function Fc(n, e, t, r, i) {
4602
- return n === "businessHours" ? nn(xe(r, e, i)) : typeof n == "string" ? nn(Lt(t, (s) => s.groupId === n)) : typeof n == "object" && n ? nn(xe(n, e, i)) : [];
4611
+ return n === "businessHours" ? rn(xe(r, e, i)) : typeof n == "string" ? rn(zt(t, (s) => s.groupId === n)) : typeof n == "object" && n ? rn(xe(n, e, i)) : [];
4603
4612
  }
4604
- function nn(n) {
4613
+ function rn(n) {
4605
4614
  let { instances: e } = n, t = [];
4606
4615
  for (let r in e)
4607
4616
  t.push(e[r].range);
@@ -4609,7 +4618,7 @@ function nn(n) {
4609
4618
  }
4610
4619
  function Wc(n, e) {
4611
4620
  for (let t of n)
4612
- if (Bt(t, e))
4621
+ if (Lt(t, e))
4613
4622
  return !0;
4614
4623
  return !1;
4615
4624
  }
@@ -4679,7 +4688,7 @@ class oe {
4679
4688
  return na(this.currentMap, e, t, r);
4680
4689
  }
4681
4690
  getAll() {
4682
- return Bn(this.currentMap);
4691
+ return Ln(this.currentMap);
4683
4692
  }
4684
4693
  }
4685
4694
  function qc(n) {
@@ -4688,12 +4697,12 @@ function qc(n) {
4688
4697
  t = Math.max(t, po(r));
4689
4698
  return Math.ceil(t);
4690
4699
  }
4691
- function Os(n, e) {
4700
+ function Ns(n, e) {
4692
4701
  return n.liquid && e.liquid;
4693
4702
  }
4694
4703
  function Yc(n, e) {
4695
4704
  return e.maxHeight != null || // if its possible for the height to max out, we might need scrollbars
4696
- Os(n, e);
4705
+ Ns(n, e);
4697
4706
  }
4698
4707
  function Qc(n, e, t, r) {
4699
4708
  let { expandRows: i } = t;
@@ -4753,21 +4762,21 @@ function ed(n, e) {
4753
4762
  ];
4754
4763
  return e && n.liquid && n.maxHeight == null && t.push("fc-scrollgrid-section-liquid"), n.isSticky && t.push("fc-scrollgrid-section-sticky"), t;
4755
4764
  }
4756
- function Sn(n) {
4765
+ function An(n) {
4757
4766
  return g("div", { className: "fc-scrollgrid-sticky-shim", style: {
4758
4767
  width: n.clientWidth,
4759
4768
  minWidth: n.tableMinWidth
4760
4769
  } });
4761
4770
  }
4762
- function It(n) {
4771
+ function Nt(n) {
4763
4772
  let { stickyHeaderDates: e } = n;
4764
4773
  return (e == null || e === "auto") && (e = n.height === "auto" || n.viewHeight === "auto"), e;
4765
4774
  }
4766
- function Ns(n) {
4775
+ function Os(n) {
4767
4776
  let { stickyFooterScrollbar: e } = n;
4768
4777
  return (e == null || e === "auto") && (e = n.height === "auto" || n.viewHeight === "auto"), e;
4769
4778
  }
4770
- class Jn extends I {
4779
+ class Kn extends I {
4771
4780
  constructor() {
4772
4781
  super(...arguments), this.processCols = w((e) => e, $c), this.renderMicroColGroup = w(Zc), this.scrollerRefs = new oe(), this.scrollerElRefs = new oe(this._handleScrollerEl.bind(this)), this.state = {
4773
4782
  shrinkWidth: null,
@@ -4802,7 +4811,7 @@ class Jn extends I {
4802
4811
  renderChunkTd(e, t, r, i) {
4803
4812
  if ("outerContent" in r)
4804
4813
  return r.outerContent;
4805
- let { props: s } = this, { forceYScrollbars: l, scrollerClientWidths: o, scrollerClientHeights: a } = this.state, d = Yc(s, e), c = Os(s, e), f = s.liquid ? l ? "scroll" : d ? "auto" : "hidden" : "visible", h = e.key, u = Qc(e, r, {
4814
+ let { props: s } = this, { forceYScrollbars: l, scrollerClientWidths: o, scrollerClientHeights: a } = this.state, d = Yc(s, e), c = Ns(s, e), f = s.liquid ? l ? "scroll" : d ? "auto" : "hidden" : "visible", h = e.key, u = Qc(e, r, {
4806
4815
  tableColGroupNode: t,
4807
4816
  tableMinWidth: "",
4808
4817
  clientWidth: !s.collapsibleWidth && o[h] !== void 0 ? o[h] : null,
@@ -4857,7 +4866,7 @@ class Jn extends I {
4857
4866
  return { forceYScrollbars: i, scrollerClientWidths: s, scrollerClientHeights: l };
4858
4867
  }
4859
4868
  }
4860
- Jn.addStateEquality({
4869
+ Kn.addStateEquality({
4861
4870
  scrollerClientWidths: re,
4862
4871
  scrollerClientHeights: re
4863
4872
  });
@@ -4867,7 +4876,7 @@ function td(n, e) {
4867
4876
  return t;
4868
4877
  return null;
4869
4878
  }
4870
- class Kn extends I {
4879
+ class er extends I {
4871
4880
  constructor() {
4872
4881
  super(...arguments), this.handleEl = (e) => {
4873
4882
  this.el = e, e && Kr(e, this.props.seg);
@@ -4904,10 +4913,10 @@ class Kn extends I {
4904
4913
  this.el && this.props.seg !== e.seg && Kr(this.el, this.props.seg);
4905
4914
  }
4906
4915
  }
4907
- class Hs extends I {
4916
+ class Ps extends I {
4908
4917
  render() {
4909
4918
  let { props: e, context: t } = this, { options: r } = t, { seg: i } = e, { ui: s } = i.eventRange, l = r.eventTimeFormat || e.defaultTimeFormat, o = hs(i, l, t, e.defaultDisplayEventTime, e.defaultDisplayEventEnd);
4910
- return g(Kn, Object.assign({}, e, { elTag: "a", elStyle: {
4919
+ return g(er, Object.assign({}, e, { elTag: "a", elStyle: {
4911
4920
  borderColor: s.borderColor,
4912
4921
  backgroundColor: s.backgroundColor
4913
4922
  }, elAttrs: ps(i, t), defaultGenerator: nd, timeText: o }), (a, d) => g(
@@ -4931,7 +4940,7 @@ function nd(n) {
4931
4940
  )
4932
4941
  );
4933
4942
  }
4934
- const er = (n) => g(ue.Consumer, null, (e) => {
4943
+ const tr = (n) => g(ue.Consumer, null, (e) => {
4935
4944
  let { options: t } = e, r = {
4936
4945
  isAxis: n.isAxis,
4937
4946
  date: e.dateEnv.toDate(n.date),
@@ -4939,7 +4948,7 @@ const er = (n) => g(ue.Consumer, null, (e) => {
4939
4948
  };
4940
4949
  return g(Z, Object.assign({}, n, { elTag: n.elTag || "div", renderProps: r, generatorName: "nowIndicatorContent", customGenerator: t.nowIndicatorContent, classNameGenerator: t.nowIndicatorClassNames, didMount: t.nowIndicatorDidMount, willUnmount: t.nowIndicatorWillUnmount }));
4941
4950
  }), rd = j({ day: "numeric" });
4942
- class tr extends I {
4951
+ class nr extends I {
4943
4952
  constructor() {
4944
4953
  super(...arguments), this.refineRenderProps = vt(id);
4945
4954
  }
@@ -4956,7 +4965,7 @@ class tr extends I {
4956
4965
  monthStartFormat: r.monthStartFormat
4957
4966
  });
4958
4967
  return g(Z, Object.assign({}, e, { elClasses: [
4959
- ...Yn(i, t.theme),
4968
+ ...Qn(i, t.theme),
4960
4969
  ...e.elClasses || []
4961
4970
  ], elAttrs: Object.assign(Object.assign({}, e.elAttrs), i.isDisabled ? {} : { "data-date": On(e.date) }), renderProps: i, generatorName: "dayCellContent", customGenerator: r.dayCellContent, defaultGenerator: e.defaultGenerator, classNameGenerator: (
4962
4971
  // don't use custom classNames if disabled
@@ -4964,8 +4973,8 @@ class tr extends I {
4964
4973
  ), didMount: r.dayCellDidMount, willUnmount: r.dayCellWillUnmount }));
4965
4974
  }
4966
4975
  }
4967
- function nr(n) {
4968
- return !!(n.dayCellContent || pn("dayCellContent", n));
4976
+ function rr(n) {
4977
+ return !!(n.dayCellContent || mn("dayCellContent", n));
4969
4978
  }
4970
4979
  function id(n) {
4971
4980
  let { date: e, dateEnv: t, dateProfile: r, isMonthStart: i } = n, s = Es(e, n.todayRange, null, r), l = n.showDayNumber ? t.format(e, i ? n.monthStartFormat : rd) : "";
@@ -4974,10 +4983,10 @@ function id(n) {
4974
4983
  dayNumberText: l
4975
4984
  }), n.extraRenderProps);
4976
4985
  }
4977
- class Ps extends I {
4986
+ class Hs extends I {
4978
4987
  render() {
4979
4988
  let { props: e } = this, { seg: t } = e;
4980
- return g(Kn, { elTag: "div", elClasses: ["fc-bg-event"], elStyle: { backgroundColor: t.eventRange.ui.backgroundColor }, defaultGenerator: sd, seg: t, timeText: "", isDragging: !1, isResizing: !1, isDateSelecting: !1, isSelected: !1, isPast: e.isPast, isFuture: e.isFuture, isToday: e.isToday, disableDragging: !0, disableResizing: !0 });
4989
+ return g(er, { elTag: "div", elClasses: ["fc-bg-event"], elStyle: { backgroundColor: t.eventRange.ui.backgroundColor }, defaultGenerator: sd, seg: t, timeText: "", isDragging: !1, isResizing: !1, isDateSelecting: !1, isSelected: !1, isPast: e.isPast, isFuture: e.isFuture, isToday: e.isToday, disableDragging: !0, disableResizing: !0 });
4981
4990
  }
4982
4991
  }
4983
4992
  function sd(n) {
@@ -4997,7 +5006,7 @@ const Ls = (n) => g(ue.Consumer, null, (e) => {
4997
5006
  function ld(n) {
4998
5007
  return n.text;
4999
5008
  }
5000
- const rn = 10;
5009
+ const sn = 10;
5001
5010
  class od extends I {
5002
5011
  constructor() {
5003
5012
  super(...arguments), this.state = {
@@ -5041,7 +5050,7 @@ class od extends I {
5041
5050
  let { isRtl: e } = this.context, { alignmentEl: t, alignGridTop: r } = this.props, { rootEl: i } = this, s = Tc(t);
5042
5051
  if (s) {
5043
5052
  let l = i.getBoundingClientRect(), o = r ? F(t, ".fc-scrollgrid").getBoundingClientRect().top : s.top, a = e ? s.right - l.width : s.left;
5044
- o = Math.max(o, rn), a = Math.min(a, document.documentElement.clientWidth - rn - l.width), a = Math.max(a, rn);
5053
+ o = Math.max(o, sn), a = Math.min(a, document.documentElement.clientWidth - sn - l.width), a = Math.max(a, sn);
5045
5054
  let d = i.offsetParent.getBoundingClientRect();
5046
5055
  Ye(i, {
5047
5056
  top: o - d.top,
@@ -5061,10 +5070,10 @@ class ad extends ie {
5061
5070
  }
5062
5071
  render() {
5063
5072
  let { options: e, dateEnv: t } = this.context, { props: r } = this, { startDate: i, todayRange: s, dateProfile: l } = r, o = t.format(i, e.dayPopoverFormat);
5064
- return g(tr, { elRef: this.handleRootEl, date: i, dateProfile: l, todayRange: s }, (a, d, c) => g(
5073
+ return g(nr, { elRef: this.handleRootEl, date: i, dateProfile: l, todayRange: s }, (a, d, c) => g(
5065
5074
  od,
5066
5075
  { 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 },
5067
- nr(e) && g(a, { elTag: "div", elClasses: ["fc-more-popover-misc"] }),
5076
+ rr(e) && g(a, { elTag: "div", elClasses: ["fc-more-popover-misc"] }),
5068
5077
  r.children
5069
5078
  ));
5070
5079
  }
@@ -5274,7 +5283,7 @@ function yd(n, e) {
5274
5283
  return null;
5275
5284
  }
5276
5285
  function Ws(n, e, t) {
5277
- let r = Pn([js, t], ["buttonText"]);
5286
+ let r = Bn([js, t], ["buttonText"]);
5278
5287
  delete r.code;
5279
5288
  let { week: i } = r;
5280
5289
  return delete r.week, {
@@ -5442,12 +5451,12 @@ Ee.prototype.iconOverridePrefix = "fc-icon-";
5442
5451
  function _d(n, e) {
5443
5452
  let t = {}, r;
5444
5453
  for (r in n)
5445
- An(r, t, n, e);
5454
+ _n(r, t, n, e);
5446
5455
  for (r in e)
5447
- An(r, t, n, e);
5456
+ _n(r, t, n, e);
5448
5457
  return t;
5449
5458
  }
5450
- function An(n, e, t, r) {
5459
+ function _n(n, e, t, r) {
5451
5460
  if (e[n])
5452
5461
  return e[n];
5453
5462
  let i = Dd(n, e, t, r);
@@ -5458,7 +5467,7 @@ function Dd(n, e, t, r) {
5458
5467
  if (a) {
5459
5468
  if (a === n)
5460
5469
  throw new Error("Can't have a custom view type that references itself");
5461
- d = An(a, e, t, r);
5470
+ d = _n(a, e, t, r);
5462
5471
  }
5463
5472
  return !o && d && (o = d.component), o ? {
5464
5473
  type: n,
@@ -5489,7 +5498,7 @@ function Cd(n, e, t, r) {
5489
5498
  function Rd(n, e, t, r, i) {
5490
5499
  let s = n.overrides.duration || n.defaults.duration || r.duration || t.duration, l = null, o = "", a = "", d = {};
5491
5500
  if (s && (l = Td(s), l)) {
5492
- let h = hn(l);
5501
+ let h = gn(l);
5493
5502
  o = h.unit, h.value === 1 && (a = o, d = e[o] ? e[o].rawOptions : {});
5494
5503
  }
5495
5504
  let c = (h) => {
@@ -5558,20 +5567,20 @@ function Id(n, e, t) {
5558
5567
  let r = e ? e.activeRange : null;
5559
5568
  return qs({}, zd(n, t), r, t);
5560
5569
  }
5561
- function Od(n, e, t, r) {
5570
+ function Nd(n, e, t, r) {
5562
5571
  let i = t ? t.activeRange : null;
5563
5572
  switch (e.type) {
5564
5573
  case "ADD_EVENT_SOURCES":
5565
5574
  return qs(n, e.sources, i, r);
5566
5575
  case "REMOVE_EVENT_SOURCE":
5567
- return Hd(n, e.sourceId);
5576
+ return Pd(n, e.sourceId);
5568
5577
  case "PREV":
5569
5578
  case "NEXT":
5570
5579
  case "CHANGE_DATE":
5571
5580
  case "CHANGE_VIEW_TYPE":
5572
5581
  return t ? Ys(n, i, r) : n;
5573
5582
  case "FETCH_EVENT_SOURCES":
5574
- return rr(n, e.sourceIds ? (
5583
+ return ir(n, e.sourceIds ? (
5575
5584
  // why no type?
5576
5585
  qi(e.sourceIds)
5577
5586
  ) : Qs(n, r), i, e.isRefetch || !1, r);
@@ -5584,9 +5593,9 @@ function Od(n, e, t, r) {
5584
5593
  return n;
5585
5594
  }
5586
5595
  }
5587
- function Nd(n, e, t) {
5596
+ function Od(n, e, t) {
5588
5597
  let r = e ? e.activeRange : null;
5589
- return rr(n, Qs(n, t), r, !0, t);
5598
+ return ir(n, Qs(n, t), r, !0, t);
5590
5599
  }
5591
5600
  function Gs(n) {
5592
5601
  for (let e in n)
@@ -5600,17 +5609,17 @@ function qs(n, e, t, r) {
5600
5609
  i[s.sourceId] = s;
5601
5610
  return t && (i = Ys(i, t, r)), Object.assign(Object.assign({}, n), i);
5602
5611
  }
5603
- function Hd(n, e) {
5612
+ function Pd(n, e) {
5604
5613
  return Te(n, (t) => t.sourceId !== e);
5605
5614
  }
5606
5615
  function Ys(n, e, t) {
5607
- return rr(n, Te(n, (r) => Pd(r, e, t)), e, !1, t);
5616
+ return ir(n, Te(n, (r) => Hd(r, e, t)), e, !1, t);
5608
5617
  }
5609
- function Pd(n, e, t) {
5618
+ function Hd(n, e, t) {
5610
5619
  return $s(n, t) ? !t.options.lazyFetching || !n.fetchRange || n.isFetching || // always cancel outdated in-progress fetches
5611
5620
  e.start < n.fetchRange.start || e.end > n.fetchRange.end : !n.latestFetchId;
5612
5621
  }
5613
- function rr(n, e, t, r, i) {
5622
+ function ir(n, e, t, r, i) {
5614
5623
  let s = {};
5615
5624
  for (let l in n) {
5616
5625
  let o = n[l];
@@ -5732,15 +5741,15 @@ function Gd(n, e, t, r, i, s) {
5732
5741
  return { widgets: h.map((b) => b.split(",").map((E) => {
5733
5742
  if (E === "title")
5734
5743
  return m = !0, { buttonName: E };
5735
- let p, A, C, H, R, x;
5744
+ let p, A, C, P, R, x;
5736
5745
  if (p = o[E])
5737
5746
  C = (S) => {
5738
5747
  p.click && p.click.call(S.target, S, S.target);
5739
- }, (H = r.getCustomButtonIconClass(p)) || (H = r.getIconClass(E, l)) || (R = p.text), x = p.hint || p.text;
5748
+ }, (P = r.getCustomButtonIconClass(p)) || (P = r.getIconClass(E, l)) || (R = p.text), x = p.hint || p.text;
5740
5749
  else if (A = i[E]) {
5741
5750
  u.push(E), C = () => {
5742
5751
  s.changeView(E);
5743
- }, (R = A.buttonTextOverride) || (H = r.getIconClass(E, l)) || (R = A.buttonTextDefault);
5752
+ }, (R = A.buttonTextOverride) || (P = r.getIconClass(E, l)) || (R = A.buttonTextDefault);
5744
5753
  let S = A.buttonTextOverride || A.buttonTextDefault;
5745
5754
  x = Qe(
5746
5755
  A.buttonTitleOverride || A.buttonTitleDefault || e.viewHint,
@@ -5751,7 +5760,7 @@ function Gd(n, e, t, r, i, s) {
5751
5760
  } else if (s[E])
5752
5761
  if (C = () => {
5753
5762
  s[E]();
5754
- }, (R = a[E]) || (H = r.getIconClass(E, l)) || (R = d[E]), E === "prevYear" || E === "nextYear") {
5763
+ }, (R = a[E]) || (P = r.getIconClass(E, l)) || (R = d[E]), E === "prevYear" || E === "nextYear") {
5755
5764
  let S = E === "prevYear" ? "prev" : "next";
5756
5765
  x = Qe(c[S] || f[S], [
5757
5766
  d.year || "year",
@@ -5762,7 +5771,7 @@ function Gd(n, e, t, r, i, s) {
5762
5771
  d[S] || S,
5763
5772
  S
5764
5773
  ], d[E]);
5765
- return { buttonName: E, buttonClick: C, buttonIcon: H, buttonText: R, buttonHint: x };
5774
+ return { buttonName: E, buttonClick: C, buttonIcon: P, buttonText: R, buttonHint: x };
5766
5775
  })), viewsWithButtons: u, hasTitle: m };
5767
5776
  }
5768
5777
  class qd {
@@ -5891,7 +5900,7 @@ const ru = fe({
5891
5900
  eventRefiners: tu
5892
5901
  });
5893
5902
  function iu(n, e, t, r) {
5894
- let i = n ? qi(n) : null, s = P(t.start), l = t.end, o = [];
5903
+ let i = n ? qi(n) : null, s = H(t.start), l = t.end, o = [];
5895
5904
  for (; s < l; ) {
5896
5905
  let a;
5897
5906
  (!i || i[s.getUTCDay()]) && (e ? a = r.add(s, e) : a = s, o.push(a)), s = W(s, 1);
@@ -5908,7 +5917,7 @@ const su = fe({
5908
5917
  }
5909
5918
  });
5910
5919
  function oi(n, e) {
5911
- let t = Bn(e.getCurrentData().eventSources);
5920
+ let t = Ln(e.getCurrentData().eventSources);
5912
5921
  if (t.length === 1 && n.length === 1 && Array.isArray(t[0]._raw) && Array.isArray(n[0])) {
5913
5922
  e.dispatch({
5914
5923
  type: "RESET_RAW_EVENTS",
@@ -5961,7 +5970,7 @@ const au = [
5961
5970
  ];
5962
5971
  class cu {
5963
5972
  constructor(e, t) {
5964
- this.runTaskOption = e, this.drainedOption = t, this.queue = [], this.delayedRunner = new Tn(this.drain.bind(this));
5973
+ this.runTaskOption = e, this.drainedOption = t, this.queue = [], this.delayedRunner = new kn(this.drain.bind(this));
5965
5974
  }
5966
5975
  request(e, t) {
5967
5976
  this.queue.push(e), this.delayedRunner.request(t);
@@ -6006,7 +6015,7 @@ function uu(n) {
6006
6015
  }
6007
6016
  class fu {
6008
6017
  constructor(e) {
6009
- this.computeCurrentViewData = w(this._computeCurrentViewData), this.organizeRawLocales = w(md), this.buildLocale = w(Fs), this.buildPluginHooks = Ed(), this.buildDateEnv = w(hu), this.buildTheme = w(gu), this.parseToolbars = w(Wd), this.buildViewSpecs = w(Cd), this.buildDateProfileGenerator = vt(pu), this.buildViewApi = w(mu), this.buildViewUiProps = vt(bu), this.buildEventUiBySource = w(vu, re), this.buildEventUiBases = w(yu), this.parseContextBusinessHours = vt(Eu), this.buildTitle = w(du), this.emitter = new zt(), this.actionRunner = new cu(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 = (h) => {
6018
+ this.computeCurrentViewData = w(this._computeCurrentViewData), this.organizeRawLocales = w(md), this.buildLocale = w(Fs), this.buildPluginHooks = Ed(), this.buildDateEnv = w(hu), this.buildTheme = w(gu), this.parseToolbars = w(Wd), this.buildViewSpecs = w(Cd), this.buildDateProfileGenerator = vt(pu), this.buildViewApi = w(mu), this.buildViewUiProps = vt(bu), this.buildEventUiBySource = w(vu, re), this.buildEventUiBases = w(yu), this.parseContextBusinessHours = vt(Eu), this.buildTitle = w(du), this.emitter = new Ut(), this.actionRunner = new cu(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 = (h) => {
6010
6019
  this.actionRunner.request(h);
6011
6020
  }, this.props = e, this.actionRunner.pause();
6012
6021
  let t = {}, r = this.computeOptionsData(e.optionOverrides, t, e.calendarApi), i = r.calendarOptions.initialView || r.pluginHooks.initialView, s = this.computeCurrentViewData(i, r, e.optionOverrides, t);
@@ -6042,7 +6051,7 @@ class fu {
6042
6051
  }, f = Object.assign(Object.assign({}, a), c);
6043
6052
  for (let h of r.pluginHooks.reducers)
6044
6053
  Object.assign(c, h(null, null, f));
6045
- sn(c, a) && this.emitter.trigger("loading", !0), this.state = c, this.updateData(), this.actionRunner.resume();
6054
+ ln(c, a) && this.emitter.trigger("loading", !0), this.state = c, this.updateData(), this.actionRunner.resume();
6046
6055
  }
6047
6056
  resetOptions(e, t) {
6048
6057
  let { props: r } = this;
@@ -6065,7 +6074,7 @@ class fu {
6065
6074
  this.data && this.data.dateProfileGenerator !== a.dateProfileGenerator && (f = a.dateProfileGenerator.build(c)), c = Sa(c, e), f = Md(f, e, c, a.dateProfileGenerator), (e.type === "PREV" || // TODO: move this logic into DateProfileGenerator
6066
6075
  e.type === "NEXT" || // "
6067
6076
  !ae(f.currentRange, c)) && (c = f.currentRange.start);
6068
- let h = Od(r.eventSources, e, f, d), u = Ha(r.eventStore, e, h, f, d), y = Gs(h) && !a.options.progressiveEventRendering && r.renderableEventStore || u, { eventUiSingleBase: b, selectionConfig: E } = this.buildViewUiProps(d), p = this.buildEventUiBySource(h), A = this.buildEventUiBases(y.defs, b, p), C = {
6077
+ let h = Nd(r.eventSources, e, f, d), u = Pa(r.eventStore, e, h, f, d), y = Gs(h) && !a.options.progressiveEventRendering && r.renderableEventStore || u, { eventUiSingleBase: b, selectionConfig: E } = this.buildViewUiProps(d), p = this.buildEventUiBySource(h), A = this.buildEventUiBases(y.defs, b, p), C = {
6069
6078
  dynamicOptionOverrides: s,
6070
6079
  currentViewType: o,
6071
6080
  currentDate: c,
@@ -6080,16 +6089,16 @@ class fu {
6080
6089
  eventSelection: jd(r.eventSelection, e),
6081
6090
  eventDrag: Vd(r.eventDrag, e),
6082
6091
  eventResize: Fd(r.eventResize, e)
6083
- }, H = Object.assign(Object.assign({}, d), C);
6092
+ }, P = Object.assign(Object.assign({}, d), C);
6084
6093
  for (let S of l.pluginHooks.reducers)
6085
- Object.assign(C, S(r, e, H));
6086
- let R = sn(r, d), x = sn(C, d);
6094
+ Object.assign(C, S(r, e, P));
6095
+ let R = ln(r, d), x = ln(C, d);
6087
6096
  !R && x ? i.trigger("loading", !0) : R && !x && i.trigger("loading", !1), this.state = C, t.onAction && t.onAction(e);
6088
6097
  }
6089
6098
  updateData() {
6090
6099
  let { props: e, state: t } = this, r = this.data, i = this.computeOptionsData(e.optionOverrides, t.dynamicOptionOverrides, e.calendarApi), s = this.computeCurrentViewData(t.currentViewType, i, e.optionOverrides, t.dynamicOptionOverrides), l = this.data = Object.assign(Object.assign(Object.assign({ viewTitle: this.buildTitle(t.dateProfile, s.options, i.dateEnv), calendarApi: e.calendarApi, dispatch: this.dispatch, emitter: this.emitter, getCurrentData: this.getCurrentData }, i), s), t), o = i.pluginHooks.optionChangeHandlers, a = r && r.calendarOptions, d = i.calendarOptions;
6091
6100
  if (a && a !== d) {
6092
- a.timeZone !== d.timeZone && (t.eventSources = l.eventSources = Nd(l.eventSources, t.dateProfile, l), t.eventStore = l.eventStore = Zr(l.eventStore, r.dateEnv, l.dateEnv), t.renderableEventStore = l.renderableEventStore = Zr(l.renderableEventStore, r.dateEnv, l.dateEnv));
6101
+ a.timeZone !== d.timeZone && (t.eventSources = l.eventSources = Od(l.eventSources, t.dateProfile, l), t.eventStore = l.eventStore = Zr(l.eventStore, r.dateEnv, l.dateEnv), t.renderableEventStore = l.renderableEventStore = Zr(l.renderableEventStore, r.dateEnv, l.dateEnv));
6093
6102
  for (let c in o)
6094
6103
  (this.optionsForHandling.indexOf(c) !== -1 || a[c] !== d[c]) && o[c](d[c], l);
6095
6104
  }
@@ -6114,11 +6123,11 @@ class fu {
6114
6123
  }
6115
6124
  // always called from behind a memoizer
6116
6125
  processRawCalendarOptions(e, t) {
6117
- let { locales: r, locale: i } = $t([
6126
+ let { locales: r, locale: i } = Zt([
6118
6127
  $e,
6119
6128
  e,
6120
6129
  t
6121
- ]), s = this.organizeRawLocales(r), l = s.map, o = this.buildLocale(i || s.defaultCode, l).options, a = this.buildPluginHooks(e.plugins || [], au), d = this.currentCalendarOptionsRefiners = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, Fr), Wr), Gr), a.listenerRefiners), a.optionRefiners), c = {}, f = $t([
6130
+ ]), s = this.organizeRawLocales(r), l = s.map, o = this.buildLocale(i || s.defaultCode, l).options, a = this.buildPluginHooks(e.plugins || [], au), d = this.currentCalendarOptionsRefiners = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, Wr), Gr), qr), a.listenerRefiners), a.optionRefiners), c = {}, f = Zt([
6122
6131
  $e,
6123
6132
  o,
6124
6133
  e,
@@ -6164,14 +6173,14 @@ class fu {
6164
6173
  return { viewSpec: s, options: l, dateProfileGenerator: a, viewApi: d };
6165
6174
  }
6166
6175
  processRawViewOptions(e, t, r, i, s) {
6167
- let l = $t([
6176
+ let l = Zt([
6168
6177
  $e,
6169
6178
  e.optionDefaults,
6170
6179
  r,
6171
6180
  i,
6172
6181
  e.optionOverrides,
6173
6182
  s
6174
- ]), o = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, Fr), Wr), Gr), Jo), t.listenerRefiners), t.optionRefiners), a = {}, d = this.currentViewOptionsInput, c = this.currentViewOptionsRefined, f = !1, h = {};
6183
+ ]), o = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, Wr), Gr), qr), Jo), t.listenerRefiners), t.optionRefiners), a = {}, d = this.currentViewOptionsInput, c = this.currentViewOptionsRefined, f = !1, h = {};
6175
6184
  for (let u in l)
6176
6185
  l[u] === d[u] || Ae[u] && Ae[u](l[u], d[u]) ? a[u] = c[u] : (l[u] === this.currentCalendarOptionsInput[u] || Ae[u] && Ae[u](l[u], this.currentCalendarOptionsInput[u]) ? u in this.currentCalendarOptionsRefined && (a[u] = this.currentCalendarOptionsRefined[u]) : o[u] ? a[u] = o[u](l[u]) : h[u] = l[u], f = !0);
6177
6186
  return f && (this.currentViewOptionsInput = l, this.currentViewOptionsRefined = a), {
@@ -6220,7 +6229,7 @@ function yu(n, e, t) {
6220
6229
  function bu(n) {
6221
6230
  let { options: e } = n;
6222
6231
  return {
6223
- eventUiSingleBase: kt({
6232
+ eventUiSingleBase: xt({
6224
6233
  display: e.eventDisplay,
6225
6234
  editable: e.editable,
6226
6235
  startEditable: e.eventStartEditable,
@@ -6234,14 +6243,14 @@ function bu(n) {
6234
6243
  color: e.eventColor
6235
6244
  // classNames: options.eventClassNames // render hook will handle this
6236
6245
  }, n),
6237
- selectionConfig: kt({
6246
+ selectionConfig: xt({
6238
6247
  constraint: e.selectConstraint,
6239
6248
  overlap: typeof e.selectOverlap == "boolean" ? e.selectOverlap : void 0,
6240
6249
  allow: e.selectAllow
6241
6250
  }, n)
6242
6251
  };
6243
6252
  }
6244
- function sn(n, e) {
6253
+ function ln(n, e) {
6245
6254
  for (let t of e.pluginHooks.isLoadingFuncs)
6246
6255
  if (t(n))
6247
6256
  return !0;
@@ -6378,7 +6387,7 @@ class Du extends We {
6378
6387
  });
6379
6388
  }
6380
6389
  }
6381
- class wu extends Oe {
6390
+ class wu extends Ne {
6382
6391
  constructor() {
6383
6392
  super(...arguments), this.buildViewContext = w(ua), this.buildViewPropTransformers = w(Ru), this.buildToolbarProps = w(Cu), this.headerRef = q(), this.footerRef = q(), this.interactionsStore = {}, this.state = {
6384
6393
  viewLabelId: Ht()
@@ -6387,7 +6396,7 @@ class wu extends Oe {
6387
6396
  _u,
6388
6397
  Du
6389
6398
  ].concat(this.props.pluginHooks.componentInteractions).map((o) => new o(r));
6390
- this.interactionsStore[e.uid] = l, yn[e.uid] = r;
6399
+ this.interactionsStore[e.uid] = l, bn[e.uid] = r;
6391
6400
  }, this.unregisterInteractiveComponent = (e) => {
6392
6401
  let t = this.interactionsStore[e.uid];
6393
6402
  if (t) {
@@ -6395,8 +6404,8 @@ class wu extends Oe {
6395
6404
  r.destroy();
6396
6405
  delete this.interactionsStore[e.uid];
6397
6406
  }
6398
- delete yn[e.uid];
6399
- }, this.resizeRunner = new Tn(() => {
6407
+ delete bn[e.uid];
6408
+ }, this.resizeRunner = new kn(() => {
6400
6409
  this.props.emitter.trigger("_resize", !0), this.props.emitter.trigger("windowResize", { view: this.props.viewApi });
6401
6410
  }), this.handleWindowResize = (e) => {
6402
6411
  let { options: t } = this.props;
@@ -6417,7 +6426,7 @@ class wu extends Oe {
6417
6426
  e.viewTitle
6418
6427
  ), s = !1, l = "", o;
6419
6428
  e.isHeightAuto || e.forPrint ? l = "" : r.height != null ? s = !0 : r.contentHeight != null ? l = r.contentHeight : o = Math.max(r.aspectRatio, 0.5);
6420
- 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 = t.header && t.header.hasTitle ? this.state.viewLabelId : "";
6429
+ 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 = t.header && t.header.hasTitle ? this.state.viewLabelId : void 0;
6421
6430
  return g(
6422
6431
  ue.Provider,
6423
6432
  { value: a },
@@ -6500,7 +6509,7 @@ class Tu extends hc {
6500
6509
  if (this.isRendering) {
6501
6510
  this.isRendered = !0;
6502
6511
  let { currentData: r } = this;
6503
- qr(() => {
6512
+ Rt(() => {
6504
6513
  Je(g(uc, { options: r.calendarOptions, theme: r.theme, emitter: r.emitter }, (i, s, l, o) => (this.setClassNames(i), this.setHeight(s), g(
6505
6514
  Zi.Provider,
6506
6515
  { value: this.customContentRenderId },
@@ -6509,7 +6518,7 @@ class Tu extends hc {
6509
6518
  });
6510
6519
  } else
6511
6520
  this.isRendered && (this.isRendered = !1, Je(null, this.el), this.setClassNames([]), this.setHeight(""));
6512
- }, Ql(e), this.el = e, this.renderRunner = new Tn(this.handleRenderRequest), new fu({
6521
+ }, Ql(e), this.el = e, this.renderRunner = new kn(this.handleRenderRequest), new fu({
6513
6522
  optionOverrides: t,
6514
6523
  calendarApi: this,
6515
6524
  onAction: this.handleAction,
@@ -6524,7 +6533,7 @@ class Tu extends hc {
6524
6533
  this.isRendering && (this.isRendering = !1, this.renderRunner.request());
6525
6534
  }
6526
6535
  updateSize() {
6527
- qr(() => {
6536
+ Rt(() => {
6528
6537
  super.updateSize();
6529
6538
  });
6530
6539
  }
@@ -6577,7 +6586,7 @@ const ku = {
6577
6586
  buildOptions(n) {
6578
6587
  return {
6579
6588
  ...n,
6580
- customRenderingMetaMap: Nu(this.$slots),
6589
+ customRenderingMetaMap: Ou(this.$slots),
6581
6590
  handleCustomRendering: this.handleCustomRendering
6582
6591
  };
6583
6592
  }
@@ -6611,7 +6620,7 @@ const ku = {
6611
6620
  beforeUnmount() {
6612
6621
  this.getApi().destroy();
6613
6622
  },
6614
- watch: Ou()
6623
+ watch: Nu()
6615
6624
  }), Mu = xu, Iu = ee({
6616
6625
  props: {
6617
6626
  customRendering: Object
@@ -6624,7 +6633,7 @@ const ku = {
6624
6633
  return ht(ml, { to: n.containerEl }, e);
6625
6634
  }
6626
6635
  });
6627
- function Ou() {
6636
+ function Nu() {
6628
6637
  let n = {
6629
6638
  // watches changes of ALL options and their nested objects,
6630
6639
  // but this is only a means to be notified of top-level non-complex options changes.
@@ -6652,16 +6661,16 @@ function Ou() {
6652
6661
  };
6653
6662
  return n;
6654
6663
  }
6655
- function Nu(n) {
6664
+ function Ou(n) {
6656
6665
  const e = {};
6657
6666
  for (const t in n)
6658
- e[Hu(t)] = n[t];
6667
+ e[Pu(t)] = n[t];
6659
6668
  return e;
6660
6669
  }
6661
- function Hu(n) {
6662
- return n.split("-").map((e, t) => t ? Pu(e) : e).join("");
6663
- }
6664
6670
  function Pu(n) {
6671
+ return n.split("-").map((e, t) => t ? Hu(e) : e).join("");
6672
+ }
6673
+ function Hu(n) {
6665
6674
  return n.charAt(0).toUpperCase() + n.slice(1);
6666
6675
  }
6667
6676
  var Bu = {
@@ -6694,7 +6703,7 @@ class Lu extends ie {
6694
6703
  super(...arguments), this.headerElRef = q();
6695
6704
  }
6696
6705
  renderSimpleLayout(e, t) {
6697
- let { props: r, context: i } = this, s = [], l = It(i.options);
6706
+ let { props: r, context: i } = this, s = [], l = Nt(i.options);
6698
6707
  return e && s.push({
6699
6708
  type: "header",
6700
6709
  key: "header",
@@ -6710,16 +6719,16 @@ class Lu extends ie {
6710
6719
  liquid: !0,
6711
6720
  chunk: { content: t }
6712
6721
  }), g(
6713
- Rt,
6722
+ Tt,
6714
6723
  { elClasses: ["fc-daygrid"], viewSpec: i.viewSpec },
6715
- g(Jn, { liquid: !r.isHeightAuto && !r.forPrint, collapsibleWidth: r.forPrint, cols: [], sections: s })
6724
+ g(Kn, { liquid: !r.isHeightAuto && !r.forPrint, collapsibleWidth: r.forPrint, cols: [], sections: s })
6716
6725
  );
6717
6726
  }
6718
6727
  renderHScrollLayout(e, t, r, i) {
6719
6728
  let s = this.context.pluginHooks.scrollGridImpl;
6720
6729
  if (!s)
6721
6730
  throw new Error("No ScrollGrid implementation");
6722
- let { props: l, context: o } = this, a = !l.forPrint && It(o.options), d = !l.forPrint && Ns(o.options), c = [];
6731
+ let { props: l, context: o } = this, a = !l.forPrint && Nt(o.options), d = !l.forPrint && Os(o.options), c = [];
6723
6732
  return e && c.push({
6724
6733
  type: "header",
6725
6734
  key: "header",
@@ -6744,10 +6753,10 @@ class Lu extends ie {
6744
6753
  isSticky: !0,
6745
6754
  chunks: [{
6746
6755
  key: "main",
6747
- content: Sn
6756
+ content: An
6748
6757
  }]
6749
6758
  }), g(
6750
- Rt,
6759
+ Tt,
6751
6760
  { elClasses: ["fc-daygrid"], viewSpec: o.viewSpec },
6752
6761
  g(s, { liquid: !l.isHeightAuto && !l.forPrint, forPrint: l.forPrint, collapsibleWidth: l.forPrint, colGroups: [{ cols: [{ span: r, minWidth: i }] }], sections: c })
6753
6762
  );
@@ -6800,13 +6809,13 @@ function Xs(n) {
6800
6809
  class Js extends I {
6801
6810
  render() {
6802
6811
  let { props: e } = this;
6803
- return g(Hs, Object.assign({}, e, { elClasses: ["fc-daygrid-event", "fc-daygrid-block-event", "fc-h-event"], defaultTimeFormat: Zs, defaultDisplayEventEnd: e.defaultDisplayEventEnd, disableResizing: !e.seg.eventRange.def.allDay }));
6812
+ return g(Ps, Object.assign({}, e, { elClasses: ["fc-daygrid-event", "fc-daygrid-block-event", "fc-h-event"], defaultTimeFormat: Zs, defaultDisplayEventEnd: e.defaultDisplayEventEnd, disableResizing: !e.seg.eventRange.def.allDay }));
6804
6813
  }
6805
6814
  }
6806
6815
  class Ks extends I {
6807
6816
  render() {
6808
6817
  let { props: e, context: t } = this, { options: r } = t, { seg: i } = e, s = r.eventTimeFormat || Zs, l = hs(i, s, t, !0, e.defaultDisplayEventEnd);
6809
- return g(Kn, Object.assign({}, e, { elTag: "a", elClasses: ["fc-daygrid-event", "fc-daygrid-dot-event"], elAttrs: ps(e.seg, t), defaultGenerator: zu, timeText: l, isResizing: !1, isDateSelecting: !1 }));
6818
+ return g(er, Object.assign({}, e, { elTag: "a", elClasses: ["fc-daygrid-event", "fc-daygrid-dot-event"], elAttrs: ps(e.seg, t), defaultGenerator: zu, timeText: l, isResizing: !1, isDateSelecting: !1 }));
6810
6819
  }
6811
6820
  }
6812
6821
  function zu(n) {
@@ -6853,20 +6862,20 @@ class Fu extends ie {
6853
6862
  render() {
6854
6863
  let { context: e, props: t, state: r, rootElRef: i } = this, { options: s, dateEnv: l } = e, { date: o, dateProfile: a } = t;
6855
6864
  const d = t.showDayNumber && Gu(o, a.currentRange, l);
6856
- return g(tr, { elTag: "td", elRef: this.handleRootEl, elClasses: [
6865
+ return g(nr, { elTag: "td", elRef: this.handleRootEl, elClasses: [
6857
6866
  "fc-daygrid-day",
6858
6867
  ...t.extraClassNames || []
6859
6868
  ], elAttrs: Object.assign(Object.assign(Object.assign({}, t.extraDataAttrs), t.showDayNumber ? { "aria-labelledby": r.dayNumberId } : {}), { role: "gridcell" }), defaultGenerator: Wu, date: o, dateProfile: a, todayRange: t.todayRange, showDayNumber: t.showDayNumber, isMonthStart: d, extraRenderProps: t.extraRenderProps }, (c, f) => g(
6860
6869
  "div",
6861
6870
  { ref: t.innerElRef, className: "fc-daygrid-day-frame fc-scrollgrid-sync-inner", style: { minHeight: t.minHeight } },
6862
- t.showWeekNumber && g(Ls, { elTag: "a", elClasses: ["fc-daygrid-week-number"], elAttrs: Mt(e, o, "week"), date: o, defaultFormat: Vu }),
6863
- !f.isDisabled && (t.showDayNumber || nr(s) || t.forceDayTop) ? g(
6871
+ t.showWeekNumber && g(Ls, { elTag: "a", elClasses: ["fc-daygrid-week-number"], elAttrs: It(e, o, "week"), date: o, defaultFormat: Vu }),
6872
+ !f.isDisabled && (t.showDayNumber || rr(s) || t.forceDayTop) ? g(
6864
6873
  "div",
6865
6874
  { className: "fc-daygrid-day-top" },
6866
6875
  g(c, { elTag: "a", elClasses: [
6867
6876
  "fc-daygrid-day-number",
6868
6877
  d && "fc-daygrid-month-start"
6869
- ], elAttrs: Object.assign(Object.assign({}, Mt(e, o)), { id: r.dayNumberId }) })
6878
+ ], elAttrs: Object.assign(Object.assign({}, It(e, o)), { id: r.dayNumberId }) })
6870
6879
  ) : t.showDayNumber ? (
6871
6880
  // for creating correct amount of space (see issue #7162)
6872
6881
  g(
@@ -6907,7 +6916,7 @@ function tl(n) {
6907
6916
  function qu(n, e, t, r, i, s, l) {
6908
6917
  let o = new $u((E) => {
6909
6918
  let p = n[E.index].eventRange.instance.instanceId + ":" + E.span.start + ":" + (E.span.end - 1);
6910
- return i[p];
6919
+ return i[p] || 1;
6911
6920
  });
6912
6921
  o.allowReslicing = !0, o.strictOrder = r, e === !0 || t === !0 ? (o.maxCoord = s, o.hiddenConsumes = !0) : typeof e == "number" ? o.maxStackCnt = e : typeof t == "number" && (o.maxStackCnt = t, o.hiddenConsumes = !0);
6913
6922
  let a = [], d = [];
@@ -7039,12 +7048,12 @@ class $u extends _s {
7039
7048
  const d = Re(l);
7040
7049
  if (!s[d])
7041
7050
  if (this.allowReslicing) {
7042
- const c = Object.assign(Object.assign({}, l), { span: Zn(l.span, t.span) }), f = Re(c);
7043
- s[f] = !0, i[o][a] = c, this.splitEntry(l, t, r);
7051
+ const c = Object.assign(Object.assign({}, l), { span: Xn(l.span, t.span) }), f = Re(c);
7052
+ s[f] = !0, i[o][a] = c, r.push(c), this.splitEntry(l, t, r);
7044
7053
  } else
7045
7054
  s[d] = !0, r.push(l);
7046
7055
  }
7047
- return super.handleInvalidInsertion(e, t, r);
7056
+ super.handleInvalidInsertion(e, t, r);
7048
7057
  }
7049
7058
  }
7050
7059
  class nl extends ie {
@@ -7133,7 +7142,7 @@ class nl extends ie {
7133
7142
  left: 0,
7134
7143
  right: s.rights[o.firstCol] - s.rights[o.lastCol]
7135
7144
  };
7136
- l.push(g("div", { key: gs(o.eventRange), className: "fc-daygrid-bg-harness", style: a }, t === "bg-event" ? g(Ps, Object.assign({ seg: o }, ve(o, i))) : Bs(t)));
7145
+ l.push(g("div", { key: gs(o.eventRange), className: "fc-daygrid-bg-harness", style: a }, t === "bg-event" ? g(Hs, Object.assign({ seg: o }, ve(o, i))) : Bs(t)));
7137
7146
  }
7138
7147
  return g(B, {}, ...l);
7139
7148
  }
@@ -7365,7 +7374,7 @@ class ef extends ie {
7365
7374
  }
7366
7375
  function tf(n, e) {
7367
7376
  let t;
7368
- return e.currentRangeUnit.match(/year|month/) && (t = n.querySelector(`[data-date="${Ho(e.currentDate)}-01"]`)), t || (t = n.querySelector(`[data-date="${On(e.currentDate)}"]`)), t;
7377
+ return e.currentRangeUnit.match(/year|month/) && (t = n.querySelector(`[data-date="${Po(e.currentDate)}-01"]`)), t || (t = n.querySelector(`[data-date="${On(e.currentDate)}"]`)), t;
7369
7378
  }
7370
7379
  class nf extends ks {
7371
7380
  constructor() {
@@ -7411,17 +7420,17 @@ class lf extends es {
7411
7420
  }
7412
7421
  function of(n) {
7413
7422
  let { dateEnv: e, currentRange: t } = n, { start: r, end: i } = t, s;
7414
- if (n.snapToWeek && (r = e.startOfWeek(r), s = e.startOfWeek(i), s.valueOf() !== i.valueOf() && (i = Br(s, 1))), n.fixedWeekCount) {
7423
+ if (n.snapToWeek && (r = e.startOfWeek(r), s = e.startOfWeek(i), s.valueOf() !== i.valueOf() && (i = Lr(s, 1))), n.fixedWeekCount) {
7415
7424
  let l = e.startOfWeek(e.startOfMonth(W(t.end, -1))), o = Math.ceil(
7416
7425
  // could be partial weeks due to hiddenDays
7417
7426
  Do(l, i)
7418
7427
  );
7419
- i = Br(i, 6 - o);
7428
+ i = Lr(i, 6 - o);
7420
7429
  }
7421
7430
  return { start: r, end: i };
7422
7431
  }
7423
7432
  var af = ':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}';
7424
- Rn(af);
7433
+ Tn(af);
7425
7434
  var cf = fe({
7426
7435
  name: "@fullcalendar/daygrid",
7427
7436
  initialView: "dayGridMonth",
@@ -7448,9 +7457,8 @@ var cf = fe({
7448
7457
  duration: { years: 1 }
7449
7458
  }
7450
7459
  }
7451
- }), 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}';
7452
- Rn(df);
7453
- class uf extends yc {
7460
+ });
7461
+ class df extends yc {
7454
7462
  getKeyInfo() {
7455
7463
  return {
7456
7464
  allDay: {},
@@ -7464,7 +7472,7 @@ class uf extends yc {
7464
7472
  return e.allDay ? $a(e) ? ["timed", "allDay"] : ["allDay"] : ["timed"];
7465
7473
  }
7466
7474
  }
7467
- const ff = j({
7475
+ const uf = j({
7468
7476
  hour: "numeric",
7469
7477
  minute: "2-digit",
7470
7478
  omitZeroMinute: !0,
@@ -7481,7 +7489,7 @@ function il(n) {
7481
7489
  return g("td", { className: e.join(" "), "data-time": n.isoTimeStr });
7482
7490
  let { dateEnv: r, options: i, viewApi: s } = t, l = (
7483
7491
  // TODO: fully pre-parse
7484
- i.slotLabelFormat == null ? ff : Array.isArray(i.slotLabelFormat) ? j(i.slotLabelFormat[0]) : j(i.slotLabelFormat)
7492
+ i.slotLabelFormat == null ? uf : Array.isArray(i.slotLabelFormat) ? j(i.slotLabelFormat[0]) : j(i.slotLabelFormat)
7485
7493
  ), o = {
7486
7494
  level: 0,
7487
7495
  time: n.time,
@@ -7491,7 +7499,7 @@ function il(n) {
7491
7499
  };
7492
7500
  return g(Z, { elTag: "td", elClasses: e, elAttrs: {
7493
7501
  "data-time": n.isoTimeStr
7494
- }, renderProps: o, generatorName: "slotLabelContent", customGenerator: i.slotLabelContent, defaultGenerator: hf, classNameGenerator: i.slotLabelClassNames, didMount: i.slotLabelDidMount, willUnmount: i.slotLabelWillUnmount }, (a) => g(
7502
+ }, renderProps: o, generatorName: "slotLabelContent", customGenerator: i.slotLabelContent, defaultGenerator: ff, classNameGenerator: i.slotLabelClassNames, didMount: i.slotLabelDidMount, willUnmount: i.slotLabelWillUnmount }, (a) => g(
7495
7503
  "div",
7496
7504
  { className: "fc-timegrid-slot-label-frame fc-scrollgrid-shrink-frame" },
7497
7505
  g(a, { elTag: "div", elClasses: [
@@ -7501,10 +7509,10 @@ function il(n) {
7501
7509
  ));
7502
7510
  });
7503
7511
  }
7504
- function hf(n) {
7512
+ function ff(n) {
7505
7513
  return n.text;
7506
7514
  }
7507
- class gf extends I {
7515
+ class hf extends I {
7508
7516
  render() {
7509
7517
  return this.props.slatMetas.map((e) => g(
7510
7518
  "tr",
@@ -7513,22 +7521,22 @@ class gf extends I {
7513
7521
  ));
7514
7522
  }
7515
7523
  }
7516
- const pf = j({ week: "short" }), mf = 5;
7517
- class vf extends ie {
7524
+ const gf = j({ week: "short" }), pf = 5;
7525
+ class mf extends ie {
7518
7526
  constructor() {
7519
- super(...arguments), this.allDaySplitter = new uf(), this.headerElRef = q(), this.rootElRef = q(), this.scrollerElRef = q(), this.state = {
7527
+ super(...arguments), this.allDaySplitter = new df(), this.headerElRef = q(), this.rootElRef = q(), this.scrollerElRef = q(), this.state = {
7520
7528
  slatCoords: null
7521
7529
  }, this.handleScrollTopRequest = (e) => {
7522
7530
  let t = this.scrollerElRef.current;
7523
7531
  t && (t.scrollTop = e);
7524
7532
  }, this.renderHeadAxis = (e, t = "") => {
7525
- let { options: r } = this.context, { dateProfile: i } = this.props, s = i.renderRange, o = Ie(s.start, s.end) === 1 ? Mt(this.context, s.start, "week") : {};
7533
+ let { options: r } = this.context, { dateProfile: i } = this.props, s = i.renderRange, o = Ie(s.start, s.end) === 1 ? It(this.context, s.start, "week") : {};
7526
7534
  return r.weekNumbers && e === "day" ? g(Ls, { elTag: "th", elClasses: [
7527
7535
  "fc-timegrid-axis",
7528
7536
  "fc-scrollgrid-shrink"
7529
7537
  ], elAttrs: {
7530
7538
  "aria-hidden": !0
7531
- }, date: s.start, defaultFormat: pf }, (a) => g(
7539
+ }, date: s.start, defaultFormat: gf }, (a) => g(
7532
7540
  "div",
7533
7541
  { className: [
7534
7542
  "fc-timegrid-axis-frame",
@@ -7557,7 +7565,7 @@ class vf extends ie {
7557
7565
  "fc-scrollgrid-shrink"
7558
7566
  ], elAttrs: {
7559
7567
  "aria-hidden": !0
7560
- }, renderProps: i, generatorName: "allDayContent", customGenerator: t.allDayContent, defaultGenerator: yf, classNameGenerator: t.allDayClassNames, didMount: t.allDayDidMount, willUnmount: t.allDayWillUnmount }, (s) => g(
7568
+ }, renderProps: i, generatorName: "allDayContent", customGenerator: t.allDayContent, defaultGenerator: vf, classNameGenerator: t.allDayClassNames, didMount: t.allDayDidMount, willUnmount: t.allDayWillUnmount }, (s) => g(
7561
7569
  "div",
7562
7570
  { className: [
7563
7571
  "fc-timegrid-axis-frame",
@@ -7578,7 +7586,7 @@ class vf extends ie {
7578
7586
  // rendering
7579
7587
  // ----------------------------------------------------------------------------------------------------
7580
7588
  renderSimpleLayout(e, t, r) {
7581
- let { context: i, props: s } = this, l = [], o = It(i.options);
7589
+ let { context: i, props: s } = this, l = [], o = Nt(i.options);
7582
7590
  return e && l.push({
7583
7591
  type: "header",
7584
7592
  key: "header",
@@ -7613,16 +7621,16 @@ class vf extends ie {
7613
7621
  content: r
7614
7622
  }
7615
7623
  }), g(
7616
- Rt,
7624
+ Tt,
7617
7625
  { elRef: this.rootElRef, elClasses: ["fc-timegrid"], viewSpec: i.viewSpec },
7618
- g(Jn, { liquid: !s.isHeightAuto && !s.forPrint, collapsibleWidth: s.forPrint, cols: [{ width: "shrink" }], sections: l })
7626
+ g(Kn, { liquid: !s.isHeightAuto && !s.forPrint, collapsibleWidth: s.forPrint, cols: [{ width: "shrink" }], sections: l })
7619
7627
  );
7620
7628
  }
7621
7629
  renderHScrollLayout(e, t, r, i, s, l, o) {
7622
7630
  let a = this.context.pluginHooks.scrollGridImpl;
7623
7631
  if (!a)
7624
7632
  throw new Error("No ScrollGrid implementation");
7625
- let { context: d, props: c } = this, f = !c.forPrint && It(d.options), h = !c.forPrint && Ns(d.options), u = [];
7633
+ let { context: d, props: c } = this, f = !c.forPrint && Nt(d.options), h = !c.forPrint && Os(d.options), u = [];
7626
7634
  e && u.push({
7627
7635
  type: "header",
7628
7636
  key: "header",
@@ -7687,7 +7695,7 @@ class vf extends ie {
7687
7695
  g(
7688
7696
  "tbody",
7689
7697
  null,
7690
- g(gf, { slatMetas: l })
7698
+ g(hf, { slatMetas: l })
7691
7699
  )
7692
7700
  ),
7693
7701
  g(
@@ -7698,7 +7706,7 @@ class vf extends ie {
7698
7706
  /* hacky */
7699
7707
  }, (b) => {
7700
7708
  let E = m && o && o.safeComputeTop(b);
7701
- return typeof E == "number" ? g(er, { elClasses: ["fc-timegrid-now-indicator-arrow"], elStyle: { top: E }, isAxis: !0, date: b }) : null;
7709
+ return typeof E == "number" ? g(tr, { elClasses: ["fc-timegrid-now-indicator-arrow"], elStyle: { top: E }, isAxis: !0, date: b }) : null;
7702
7710
  })
7703
7711
  )
7704
7712
  )
@@ -7717,15 +7725,15 @@ class vf extends ie {
7717
7725
  chunks: [
7718
7726
  {
7719
7727
  key: "axis",
7720
- content: Sn
7728
+ content: An
7721
7729
  },
7722
7730
  {
7723
7731
  key: "cols",
7724
- content: Sn
7732
+ content: An
7725
7733
  }
7726
7734
  ]
7727
7735
  }), g(
7728
- Rt,
7736
+ Tt,
7729
7737
  { elRef: this.rootElRef, elClasses: ["fc-timegrid"], viewSpec: d.viewSpec },
7730
7738
  g(a, { liquid: !c.isHeightAuto && !c.forPrint, forPrint: c.forPrint, collapsibleWidth: !1, colGroups: [
7731
7739
  { width: "shrink", cols: [{ width: "shrink" }] },
@@ -7737,20 +7745,20 @@ class vf extends ie {
7737
7745
  ------------------------------------------------------------------------------------------------------------------*/
7738
7746
  getAllDayMaxEventProps() {
7739
7747
  let { dayMaxEvents: e, dayMaxEventRows: t } = this.context.options;
7740
- return (e === !0 || t === !0) && (e = void 0, t = mf), { dayMaxEvents: e, dayMaxEventRows: t };
7748
+ return (e === !0 || t === !0) && (e = void 0, t = pf), { dayMaxEvents: e, dayMaxEventRows: t };
7741
7749
  }
7742
7750
  }
7743
- function yf(n) {
7751
+ function vf(n) {
7744
7752
  return n.text;
7745
7753
  }
7746
- class bf {
7754
+ class yf {
7747
7755
  constructor(e, t, r) {
7748
7756
  this.positions = e, this.dateProfile = t, this.slotDuration = r;
7749
7757
  }
7750
7758
  safeComputeTop(e) {
7751
7759
  let { dateProfile: t } = this;
7752
7760
  if (ae(t.currentRange, e)) {
7753
- let r = P(e), i = e.valueOf() - r.valueOf();
7761
+ let r = H(e), i = e.valueOf() - r.valueOf();
7754
7762
  if (i >= K(t.slotMinTime) && i < K(t.slotMaxTime))
7755
7763
  return this.computeTimeTop(k(i));
7756
7764
  }
@@ -7759,7 +7767,7 @@ class bf {
7759
7767
  // Computes the top coordinate, relative to the bounds of the grid, of the given date.
7760
7768
  // A `startOfDayDate` must be given for avoiding ambiguity over how to treat midnight.
7761
7769
  computeDateTop(e, t) {
7762
- return t || (t = P(e)), this.computeTimeTop(k(e.valueOf() - t.valueOf()));
7770
+ return t || (t = H(e)), this.computeTimeTop(k(e.valueOf() - t.valueOf()));
7763
7771
  }
7764
7772
  // Computes the top coordinate, relative to the bounds of the grid, of the given time (a Duration).
7765
7773
  // This is a makeshify way to compute the time-top. Assumes all slatMetas dates are uniform.
@@ -7769,7 +7777,7 @@ class bf {
7769
7777
  return s = Math.max(0, s), s = Math.min(i, s), l = Math.floor(s), l = Math.min(l, i - 1), o = s - l, t.tops[l] + t.getHeight(l) * o;
7770
7778
  }
7771
7779
  }
7772
- class Ef extends I {
7780
+ class bf extends I {
7773
7781
  render() {
7774
7782
  let { props: e, context: t } = this, { options: r } = t, { slatElRefs: i } = e;
7775
7783
  return g("tbody", null, e.slatMetas.map((s, l) => {
@@ -7793,7 +7801,7 @@ class Ef extends I {
7793
7801
  }));
7794
7802
  }
7795
7803
  }
7796
- class Sf extends I {
7804
+ class Ef extends I {
7797
7805
  constructor() {
7798
7806
  super(...arguments), this.rootElRef = q(), this.slatElRefs = new oe();
7799
7807
  }
@@ -7810,7 +7818,7 @@ class Sf extends I {
7810
7818
  height: e.minHeight
7811
7819
  } },
7812
7820
  e.tableColGroupNode,
7813
- g(Ef, { slatElRefs: this.slatElRefs, axis: e.axis, slatMetas: e.slatMetas })
7821
+ g(bf, { slatElRefs: this.slatElRefs, axis: e.axis, slatMetas: e.slatMetas })
7814
7822
  )
7815
7823
  );
7816
7824
  }
@@ -7825,10 +7833,10 @@ class Sf extends I {
7825
7833
  }
7826
7834
  updateSizing() {
7827
7835
  let { context: e, props: t } = this;
7828
- t.onCoords && t.clientWidth !== null && this.rootElRef.current.offsetHeight && t.onCoords(new bf(new Fe(this.rootElRef.current, Af(this.slatElRefs.currentMap, t.slatMetas), !1, !0), this.props.dateProfile, e.options.slotDuration));
7836
+ t.onCoords && t.clientWidth !== null && this.rootElRef.current.offsetHeight && t.onCoords(new yf(new Fe(this.rootElRef.current, Sf(this.slatElRefs.currentMap, t.slatMetas), !1, !0), this.props.dateProfile, e.options.slotDuration));
7829
7837
  }
7830
7838
  }
7831
- function Af(n, e) {
7839
+ function Sf(n, e) {
7832
7840
  return e.map((t) => n[t.key]);
7833
7841
  }
7834
7842
  function Ge(n, e) {
@@ -7856,27 +7864,27 @@ function ui(n, e) {
7856
7864
  t[r] = null;
7857
7865
  return t;
7858
7866
  }
7859
- class _f extends I {
7867
+ class Af extends I {
7860
7868
  render() {
7861
7869
  let { props: e } = this;
7862
7870
  return g(zs, { elClasses: ["fc-timegrid-more-link"], elStyle: {
7863
7871
  top: e.top,
7864
7872
  bottom: e.bottom
7865
- }, allDayDate: null, moreCnt: e.hiddenSegs.length, allSegs: e.hiddenSegs, hiddenSegs: e.hiddenSegs, extraDateSpan: e.extraDateSpan, dateProfile: e.dateProfile, todayRange: e.todayRange, popoverContent: () => ll(e.hiddenSegs, e), defaultGenerator: Df, forceTimed: !0 }, (t) => g(t, { elTag: "div", elClasses: ["fc-timegrid-more-link-inner", "fc-sticky"] }));
7873
+ }, allDayDate: null, moreCnt: e.hiddenSegs.length, allSegs: e.hiddenSegs, hiddenSegs: e.hiddenSegs, extraDateSpan: e.extraDateSpan, dateProfile: e.dateProfile, todayRange: e.todayRange, popoverContent: () => ll(e.hiddenSegs, e), defaultGenerator: _f, forceTimed: !0 }, (t) => g(t, { elTag: "div", elClasses: ["fc-timegrid-more-link-inner", "fc-sticky"] }));
7866
7874
  }
7867
7875
  }
7868
- function Df(n) {
7876
+ function _f(n) {
7869
7877
  return n.shortText;
7870
7878
  }
7871
- function wf(n, e, t) {
7879
+ function Df(n, e, t) {
7872
7880
  let r = new _s();
7873
7881
  e != null && (r.strictOrder = e), t != null && (r.maxStackCnt = t);
7874
- let i = r.addSegs(n), s = Mc(i), l = Cf(r);
7875
- return l = xf(l, 1), { segRects: Mf(l), hiddenGroups: s };
7882
+ let i = r.addSegs(n), s = Mc(i), l = wf(r);
7883
+ return l = kf(l, 1), { segRects: xf(l), hiddenGroups: s };
7876
7884
  }
7877
- function Cf(n) {
7878
- const { entriesByLevel: e } = n, t = ir((r, i) => r + ":" + i, (r, i) => {
7879
- let s = kf(n, r, i), l = fi(s, t), o = e[r][i];
7885
+ function wf(n) {
7886
+ const { entriesByLevel: e } = n, t = sr((r, i) => r + ":" + i, (r, i) => {
7887
+ let s = Tf(n, r, i), l = fi(s, t), o = e[r][i];
7880
7888
  return [
7881
7889
  Object.assign(Object.assign({}, o), { nextLevelNodes: l[0] }),
7882
7890
  o.thickness + l[1]
@@ -7891,24 +7899,24 @@ function fi(n, e) {
7891
7899
  let { level: t, lateralStart: r, lateralEnd: i } = n, s = r, l = [];
7892
7900
  for (; s < i; )
7893
7901
  l.push(e(t, s)), s += 1;
7894
- return l.sort(Rf), [
7895
- l.map(Tf),
7902
+ return l.sort(Cf), [
7903
+ l.map(Rf),
7896
7904
  l[0][1]
7897
7905
  // first item's pressure
7898
7906
  ];
7899
7907
  }
7900
- function Rf(n, e) {
7908
+ function Cf(n, e) {
7901
7909
  return e[1] - n[1];
7902
7910
  }
7903
- function Tf(n) {
7911
+ function Rf(n) {
7904
7912
  return n[0];
7905
7913
  }
7906
- function kf(n, e, t) {
7914
+ function Tf(n, e, t) {
7907
7915
  let { levelCoords: r, entriesByLevel: i } = n, s = i[e][t], l = r[e] + s.thickness, o = r.length, a = e;
7908
7916
  for (; a < o && r[a] < l; a += 1)
7909
7917
  ;
7910
7918
  for (; a < o; a += 1) {
7911
- let d = i[a], c, f = En(d, s.span.start, bn), h = f[0] + f[1], u = h;
7919
+ let d = i[a], c, f = Sn(d, s.span.start, En), h = f[0] + f[1], u = h;
7912
7920
  for (
7913
7921
  ;
7914
7922
  // loop through entries that horizontally intersect
@@ -7921,8 +7929,8 @@ function kf(n, e, t) {
7921
7929
  }
7922
7930
  return null;
7923
7931
  }
7924
- function xf(n, e) {
7925
- const t = ir((r, i, s) => Re(r), (r, i, s) => {
7932
+ function kf(n, e) {
7933
+ const t = sr((r, i, s) => Re(r), (r, i, s) => {
7926
7934
  let { nextLevelNodes: l, thickness: o } = r, a = o + s, d = o / a, c, f = [];
7927
7935
  if (!l.length)
7928
7936
  c = e;
@@ -7940,9 +7948,9 @@ function xf(n, e) {
7940
7948
  });
7941
7949
  return n.map((r) => t(r, 0, 0)[1]);
7942
7950
  }
7943
- function Mf(n) {
7951
+ function xf(n) {
7944
7952
  let e = [];
7945
- const t = ir((i, s, l) => Re(i), (i, s, l) => {
7953
+ const t = sr((i, s, l) => Re(i), (i, s, l) => {
7946
7954
  let o = Object.assign(Object.assign({}, i), {
7947
7955
  levelCoord: s,
7948
7956
  stackDepth: l,
@@ -7958,7 +7966,7 @@ function Mf(n) {
7958
7966
  }
7959
7967
  return r(n, 0, 0), e;
7960
7968
  }
7961
- function ir(n, e) {
7969
+ function sr(n, e) {
7962
7970
  const t = {};
7963
7971
  return (...r) => {
7964
7972
  let i = n(...r);
@@ -7982,7 +7990,7 @@ function hi(n, e, t = null, r = 0) {
7982
7990
  }
7983
7991
  return i;
7984
7992
  }
7985
- function If(n, e, t, r) {
7993
+ function Mf(n, e, t, r) {
7986
7994
  let i = [], s = [];
7987
7995
  for (let d = 0; d < n.length; d += 1) {
7988
7996
  let c = e[d];
@@ -7992,7 +8000,7 @@ function If(n, e, t, r) {
7992
8000
  span: c
7993
8001
  }) : s.push(n[d]);
7994
8002
  }
7995
- let { segRects: l, hiddenGroups: o } = wf(i, t, r), a = [];
8003
+ let { segRects: l, hiddenGroups: o } = Df(i, t, r), a = [];
7996
8004
  for (let d of l)
7997
8005
  a.push({
7998
8006
  seg: n[d.index],
@@ -8002,18 +8010,18 @@ function If(n, e, t, r) {
8002
8010
  a.push({ seg: d, rect: null });
8003
8011
  return { segPlacements: a, hiddenGroups: o };
8004
8012
  }
8005
- const Of = j({
8013
+ const If = j({
8006
8014
  hour: "numeric",
8007
8015
  minute: "2-digit",
8008
8016
  meridiem: !1
8009
8017
  });
8010
8018
  class sl extends I {
8011
8019
  render() {
8012
- return g(Hs, Object.assign({}, this.props, { elClasses: [
8020
+ return g(Ps, Object.assign({}, this.props, { elClasses: [
8013
8021
  "fc-timegrid-event",
8014
8022
  "fc-v-event",
8015
8023
  this.props.isShort && "fc-timegrid-event-short"
8016
- ], defaultTimeFormat: Of }));
8024
+ ], defaultTimeFormat: If }));
8017
8025
  }
8018
8026
  }
8019
8027
  class Nf extends I {
@@ -8029,7 +8037,7 @@ class Nf extends I {
8029
8037
  // TODO: messy way to compute this
8030
8038
  e.eventDrag && e.eventDrag.affectedInstances || e.eventResize && e.eventResize.affectedInstances || {}
8031
8039
  ), o = this.sortEventSegs(e.fgEventSegs, r.eventOrder);
8032
- return g(tr, { elTag: "td", elRef: e.elRef, elClasses: [
8040
+ return g(nr, { elTag: "td", elRef: e.elRef, elClasses: [
8033
8041
  "fc-timegrid-col",
8034
8042
  ...e.extraClassNames || []
8035
8043
  ], elAttrs: Object.assign({ role: "gridcell" }, e.extraDataAttrs), date: e.date, dateProfile: e.dateProfile, todayRange: e.todayRange, extraRenderProps: e.extraRenderProps }, (a) => g(
@@ -8045,7 +8053,7 @@ class Nf extends I {
8045
8053
  g("div", { className: "fc-timegrid-col-events" }, this.renderFgSegs(o, l, !1, !1, !1)),
8046
8054
  g("div", { className: "fc-timegrid-col-events" }, this.renderFgSegs(s, {}, !!e.eventDrag, !!e.eventResize, !!i, "mirror")),
8047
8055
  g("div", { className: "fc-timegrid-now-indicator-container" }, this.renderNowIndicator(e.nowIndicatorSegs)),
8048
- nr(r) && g(a, { elTag: "div", elClasses: ["fc-timegrid-col-misc"] })
8056
+ rr(r) && g(a, { elTag: "div", elClasses: ["fc-timegrid-col-misc"] })
8049
8057
  ));
8050
8058
  }
8051
8059
  renderFgSegs(e, t, r, i, s, l) {
@@ -8053,17 +8061,17 @@ class Nf extends I {
8053
8061
  return o.forPrint ? ll(e, o) : this.renderPositionedFgSegs(e, t, r, i, s, l);
8054
8062
  }
8055
8063
  renderPositionedFgSegs(e, t, r, i, s, l) {
8056
- let { eventMaxStack: o, eventShortHeight: a, eventOrderStrict: d, eventMinHeight: c } = this.context.options, { date: f, slatCoords: h, eventSelection: u, todayRange: m, nowDate: y } = this.props, b = r || i || s, E = hi(e, f, h, c), { segPlacements: p, hiddenGroups: A } = If(e, E, d, o);
8064
+ let { eventMaxStack: o, eventShortHeight: a, eventOrderStrict: d, eventMinHeight: c } = this.context.options, { date: f, slatCoords: h, eventSelection: u, todayRange: m, nowDate: y } = this.props, b = r || i || s, E = hi(e, f, h, c), { segPlacements: p, hiddenGroups: A } = Mf(e, E, d, o);
8057
8065
  return g(
8058
8066
  B,
8059
8067
  null,
8060
8068
  this.renderHiddenGroups(A, e),
8061
8069
  p.map((C) => {
8062
- let { seg: H, rect: R } = C, x = H.eventRange.instance.instanceId, S = b || !!(!t[x] && R), D = ln(R && R.span), U = !b && R ? this.computeSegHStyle(R) : { left: 0, right: 0 }, te = !!R && R.stackForward > 0, se = !!R && R.span.end - R.span.start < a;
8070
+ let { seg: P, rect: R } = C, x = P.eventRange.instance.instanceId, S = b || !!(!t[x] && R), D = on(R && R.span), U = !b && R ? this.computeSegHStyle(R) : { left: 0, right: 0 }, te = !!R && R.stackForward > 0, se = !!R && R.span.end - R.span.start < a;
8063
8071
  return g(
8064
8072
  "div",
8065
8073
  { className: "fc-timegrid-event-harness" + (te ? " fc-timegrid-event-harness-inset" : ""), key: l || x, style: Object.assign(Object.assign({ visibility: S ? "" : "hidden" }, D), U) },
8066
- g(sl, Object.assign({ seg: H, isDragging: r, isResizing: i, isDateSelecting: s, isSelected: x === u, isShort: se }, ve(H, m, y)))
8074
+ g(sl, Object.assign({ seg: P, isDragging: r, isResizing: i, isDateSelecting: s, isSelected: x === u, isShort: se }, ve(P, m, y)))
8067
8075
  );
8068
8076
  })
8069
8077
  );
@@ -8072,21 +8080,21 @@ class Nf extends I {
8072
8080
  renderHiddenGroups(e, t) {
8073
8081
  let { extraDateSpan: r, dateProfile: i, todayRange: s, nowDate: l, eventSelection: o, eventDrag: a, eventResize: d } = this.props;
8074
8082
  return g(B, null, e.map((c) => {
8075
- let f = ln(c.span), h = Hf(c.entries, t);
8076
- return g(_f, { key: Gi(Us(h)), hiddenSegs: h, top: f.top, bottom: f.bottom, extraDateSpan: r, dateProfile: i, todayRange: s, nowDate: l, eventSelection: o, eventDrag: a, eventResize: d });
8083
+ let f = on(c.span), h = Of(c.entries, t);
8084
+ return g(Af, { key: Gi(Us(h)), hiddenSegs: h, top: f.top, bottom: f.bottom, extraDateSpan: r, dateProfile: i, todayRange: s, nowDate: l, eventSelection: o, eventDrag: a, eventResize: d });
8077
8085
  }));
8078
8086
  }
8079
8087
  renderFillSegs(e, t) {
8080
8088
  let { props: r, context: i } = this, l = hi(e, r.date, r.slatCoords, i.options.eventMinHeight).map((o, a) => {
8081
8089
  let d = e[a];
8082
- return g("div", { key: gs(d.eventRange), className: "fc-timegrid-bg-harness", style: ln(o) }, t === "bg-event" ? g(Ps, Object.assign({ seg: d }, ve(d, r.todayRange, r.nowDate))) : Bs(t));
8090
+ return g("div", { key: gs(d.eventRange), className: "fc-timegrid-bg-harness", style: on(o) }, t === "bg-event" ? g(Hs, Object.assign({ seg: d }, ve(d, r.todayRange, r.nowDate))) : Bs(t));
8083
8091
  });
8084
8092
  return g(B, null, l);
8085
8093
  }
8086
8094
  renderNowIndicator(e) {
8087
8095
  let { slatCoords: t, date: r } = this.props;
8088
8096
  return t ? e.map((i, s) => g(
8089
- er,
8097
+ tr,
8090
8098
  {
8091
8099
  // key doesn't matter. will only ever be one
8092
8100
  key: s,
@@ -8121,13 +8129,13 @@ function ll(n, { todayRange: e, nowDate: t, eventSelection: r, eventDrag: i, eve
8121
8129
  );
8122
8130
  }));
8123
8131
  }
8124
- function ln(n) {
8132
+ function on(n) {
8125
8133
  return n ? {
8126
8134
  top: n.start,
8127
8135
  bottom: -n.end
8128
8136
  } : { top: "", bottom: "" };
8129
8137
  }
8130
- function Hf(n, e) {
8138
+ function Of(n, e) {
8131
8139
  return n.map((t) => e[t.index]);
8132
8140
  }
8133
8141
  class Pf extends I {
@@ -8158,7 +8166,7 @@ class Pf extends I {
8158
8166
  g(
8159
8167
  "div",
8160
8168
  { className: "fc-timegrid-col-frame" },
8161
- g("div", { className: "fc-timegrid-now-indicator-container" }, typeof r == "number" && g(er, { elClasses: ["fc-timegrid-now-indicator-arrow"], elStyle: { top: r }, isAxis: !0, date: e.nowDate }))
8169
+ g("div", { className: "fc-timegrid-now-indicator-container" }, typeof r == "number" && g(tr, { elClasses: ["fc-timegrid-now-indicator-arrow"], elStyle: { top: r }, isAxis: !0, date: e.nowDate }))
8162
8170
  )
8163
8171
  ),
8164
8172
  e.cells.map((h, u) => g(Nf, { key: h.key, elRef: this.cellElRefs.createRef(h.key), dateProfile: e.dateProfile, date: h.date, nowDate: e.nowDate, todayRange: e.todayRange, extraRenderProps: h.extraRenderProps, extraDataAttrs: h.extraDataAttrs, extraClassNames: h.extraClassNames, extraDateSpan: h.extraDateSpan, fgEventSegs: s[u], bgEventSegs: l[u], businessHourSegs: o[u], nowIndicatorSegs: a[u], dateSelectionSegs: d[u], eventDrag: c[u], eventResize: f[u], slatCoords: e.slatCoords, eventSelection: e.eventSelection, forPrint: e.forPrint }))
@@ -8177,19 +8185,19 @@ class Pf extends I {
8177
8185
  let { props: e } = this;
8178
8186
  e.onColCoords && e.clientWidth !== null && e.onColCoords(new Fe(
8179
8187
  this.rootElRef.current,
8180
- Bf(this.cellElRefs.currentMap, e.cells),
8188
+ Hf(this.cellElRefs.currentMap, e.cells),
8181
8189
  !0,
8182
8190
  // horizontal
8183
8191
  !1
8184
8192
  ));
8185
8193
  }
8186
8194
  }
8187
- function Bf(n, e) {
8195
+ function Hf(n, e) {
8188
8196
  return e.map((t) => n[t.key]);
8189
8197
  }
8190
- class Lf extends ie {
8198
+ class Bf extends ie {
8191
8199
  constructor() {
8192
- super(...arguments), this.processSlotOptions = w(zf), this.state = {
8200
+ super(...arguments), this.processSlotOptions = w(Lf), this.state = {
8193
8201
  slatCoords: null
8194
8202
  }, this.handleRootEl = (e) => {
8195
8203
  e ? this.context.registerInteractiveComponent(this, {
@@ -8222,7 +8230,7 @@ class Lf extends ie {
8222
8230
  width: e.clientWidth,
8223
8231
  minWidth: e.tableMinWidth
8224
8232
  } },
8225
- g(Sf, { 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 }),
8233
+ g(Ef, { 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 }),
8226
8234
  g(Pf, { cells: e.cells, axis: e.axis, dateProfile: e.dateProfile, businessHourSegs: e.businessHourSegs, bgEventSegs: e.bgEventSegs, fgEventSegs: e.fgEventSegs, dateSelectionSegs: e.dateSelectionSegs, eventSelection: e.eventSelection, eventDrag: e.eventDrag, eventResize: e.eventResize, todayRange: e.todayRange, nowDate: e.nowDate, nowIndicatorSegs: e.nowIndicatorSegs, clientWidth: e.clientWidth, tableMinWidth: e.tableMinWidth, tableColGroupNode: e.tableColGroupNode, slatCoords: t.slatCoords, onColCoords: this.handleColCoords, forPrint: e.forPrint })
8227
8235
  );
8228
8236
  }
@@ -8238,10 +8246,10 @@ class Lf extends ie {
8238
8246
  queryHit(e, t) {
8239
8247
  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), f = o.positions.topToIndex(t);
8240
8248
  if (c != null && f != null) {
8241
- let h = this.props.cells[c], u = o.positions.tops[f], m = o.positions.getHeight(f), y = (t - u) / m, b = Math.floor(y * d), E = f * d + b, p = this.props.cells[c].date, A = fn(l.slotMinTime, Eo(a, E)), C = r.add(p, A), H = r.add(C, a);
8249
+ let h = this.props.cells[c], u = o.positions.tops[f], m = o.positions.getHeight(f), y = (t - u) / m, b = Math.floor(y * d), E = f * d + b, p = this.props.cells[c].date, A = hn(l.slotMinTime, Eo(a, E)), C = r.add(p, A), P = r.add(C, a);
8242
8250
  return {
8243
8251
  dateProfile: l,
8244
- dateSpan: Object.assign({ range: { start: C, end: H }, allDay: !1 }, h.extraDateSpan),
8252
+ dateSpan: Object.assign({ range: { start: C, end: P }, allDay: !1 }, h.extraDateSpan),
8245
8253
  dayEl: s.els[c],
8246
8254
  rect: {
8247
8255
  left: s.lefts[c],
@@ -8255,11 +8263,11 @@ class Lf extends ie {
8255
8263
  return null;
8256
8264
  }
8257
8265
  }
8258
- function zf(n, e) {
8259
- let t = e || n, r = In(n, t);
8266
+ function Lf(n, e) {
8267
+ let t = e || n, r = Nn(n, t);
8260
8268
  return r === null && (t = n, r = 1), { snapDuration: t, snapsPerSlot: r };
8261
8269
  }
8262
- class Uf extends ks {
8270
+ class zf extends ks {
8263
8271
  sliceRange(e, t) {
8264
8272
  let r = [];
8265
8273
  for (let i = 0; i < t.length; i += 1) {
@@ -8275,16 +8283,16 @@ class Uf extends ks {
8275
8283
  return r;
8276
8284
  }
8277
8285
  }
8278
- class jf extends ie {
8286
+ class Uf extends ie {
8279
8287
  constructor() {
8280
- super(...arguments), this.buildDayRanges = w(Vf), this.slicer = new Uf(), this.timeColsRef = q();
8288
+ super(...arguments), this.buildDayRanges = w(jf), this.slicer = new zf(), this.timeColsRef = q();
8281
8289
  }
8282
8290
  render() {
8283
8291
  let { props: e, context: t } = this, { dateProfile: r, dayTableModel: i } = e, { nowIndicator: s, nextDayThreshold: l } = t.options, o = this.buildDayRanges(i, r, t.dateEnv);
8284
- return g(nt, { unit: s ? "minute" : "day" }, (a, d) => g(Lf, Object.assign({ ref: this.timeColsRef }, this.slicer.sliceProps(e, r, null, t, 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, t, o), todayRange: d, onScrollTopRequest: e.onScrollTopRequest, onSlatCoords: e.onSlatCoords })));
8292
+ return g(nt, { unit: s ? "minute" : "day" }, (a, d) => g(Bf, Object.assign({ ref: this.timeColsRef }, this.slicer.sliceProps(e, r, null, t, 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, t, o), todayRange: d, onScrollTopRequest: e.onScrollTopRequest, onSlatCoords: e.onSlatCoords })));
8285
8293
  }
8286
8294
  }
8287
- function Vf(n, e, t) {
8295
+ function jf(n, e, t) {
8288
8296
  let r = [];
8289
8297
  for (let i of n.headerDates)
8290
8298
  r.push({
@@ -8300,40 +8308,42 @@ const gi = [
8300
8308
  { seconds: 30 },
8301
8309
  { seconds: 15 }
8302
8310
  ];
8303
- function Ff(n, e, t, r, i) {
8304
- let s = /* @__PURE__ */ new Date(0), l = n, o = k(0), a = t || Wf(r), d = [];
8311
+ function Vf(n, e, t, r, i) {
8312
+ let s = /* @__PURE__ */ new Date(0), l = n, o = k(0), a = t || Ff(r), d = [];
8305
8313
  for (; K(l) < K(e); ) {
8306
- let c = i.add(s, l), f = In(o, a) !== null;
8314
+ let c = i.add(s, l), f = Nn(o, a) !== null;
8307
8315
  d.push({
8308
8316
  date: c,
8309
8317
  time: l,
8310
8318
  key: c.toISOString(),
8311
- isoTimeStr: Po(c),
8319
+ isoTimeStr: Ho(c),
8312
8320
  isLabeled: f
8313
- }), l = fn(l, r), o = fn(o, r);
8321
+ }), l = hn(l, r), o = hn(o, r);
8314
8322
  }
8315
8323
  return d;
8316
8324
  }
8317
- function Wf(n) {
8325
+ function Ff(n) {
8318
8326
  let e, t, r;
8319
8327
  for (e = gi.length - 1; e >= 0; e -= 1)
8320
- if (t = k(gi[e]), r = In(t, n), r !== null && r > 1)
8328
+ if (t = k(gi[e]), r = Nn(t, n), r !== null && r > 1)
8321
8329
  return t;
8322
8330
  return n;
8323
8331
  }
8324
- class Gf extends vf {
8332
+ class Wf extends mf {
8325
8333
  constructor() {
8326
- super(...arguments), this.buildTimeColsModel = w(qf), this.buildSlatMetas = w(Ff);
8334
+ super(...arguments), this.buildTimeColsModel = w(Gf), this.buildSlatMetas = w(Vf);
8327
8335
  }
8328
8336
  render() {
8329
- let { options: e, dateEnv: t, 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, t), { dayMinWidth: d } = e, c = !d, f = d, h = e.dayHeaders && g(Cs, { dates: l.headerDates, dateProfile: s, datesRepDistinctDays: !0, renderIntro: c ? this.renderHeadAxis : null }), u = e.allDaySlot !== !1 && ((y) => g(rl, Object.assign({}, o.allDay, { dateProfile: s, dayTableModel: l, nextDayThreshold: e.nextDayThreshold, tableMinWidth: y.tableMinWidth, colGroupNode: y.tableColGroupNode, renderRowIntro: c ? this.renderTableRowAxis : null, showWeekNumbers: !1, expandRows: !1, headerAlignElRef: this.headerElRef, clientWidth: y.clientWidth, clientHeight: y.clientHeight, forPrint: i.forPrint }, this.getAllDayMaxEventProps()))), m = (y) => g(jf, Object.assign({}, o.timed, { dayTableModel: l, dateProfile: s, axis: c, slotDuration: e.slotDuration, slatMetas: a, forPrint: i.forPrint, tableColGroupNode: y.tableColGroupNode, tableMinWidth: y.tableMinWidth, clientWidth: y.clientWidth, clientHeight: y.clientHeight, onSlatCoords: this.handleSlatCoords, expandRows: y.expandRows, onScrollTopRequest: this.handleScrollTopRequest }));
8337
+ let { options: e, dateEnv: t, 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, t), { dayMinWidth: d } = e, c = !d, f = d, h = e.dayHeaders && g(Cs, { dates: l.headerDates, dateProfile: s, datesRepDistinctDays: !0, renderIntro: c ? this.renderHeadAxis : null }), u = e.allDaySlot !== !1 && ((y) => g(rl, Object.assign({}, o.allDay, { dateProfile: s, dayTableModel: l, nextDayThreshold: e.nextDayThreshold, tableMinWidth: y.tableMinWidth, colGroupNode: y.tableColGroupNode, renderRowIntro: c ? this.renderTableRowAxis : null, showWeekNumbers: !1, expandRows: !1, headerAlignElRef: this.headerElRef, clientWidth: y.clientWidth, clientHeight: y.clientHeight, forPrint: i.forPrint }, this.getAllDayMaxEventProps()))), m = (y) => g(Uf, Object.assign({}, o.timed, { dayTableModel: l, dateProfile: s, axis: c, slotDuration: e.slotDuration, slatMetas: a, forPrint: i.forPrint, tableColGroupNode: y.tableColGroupNode, tableMinWidth: y.tableMinWidth, clientWidth: y.clientWidth, clientHeight: y.clientHeight, onSlatCoords: this.handleSlatCoords, expandRows: y.expandRows, onScrollTopRequest: this.handleScrollTopRequest }));
8330
8338
  return f ? this.renderHScrollLayout(h, u, m, l.colCnt, d, a, this.state.slatCoords) : this.renderSimpleLayout(h, u, m);
8331
8339
  }
8332
8340
  }
8333
- function qf(n, e) {
8341
+ function Gf(n, e) {
8334
8342
  let t = new Rs(n.renderRange, e);
8335
8343
  return new Ts(t, !1);
8336
8344
  }
8345
+ var qf = '.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}';
8346
+ Tn(qf);
8337
8347
  const Yf = {
8338
8348
  allDaySlot: Boolean
8339
8349
  };
@@ -8343,7 +8353,7 @@ var Qf = fe({
8343
8353
  optionRefiners: Yf,
8344
8354
  views: {
8345
8355
  timeGrid: {
8346
- component: Gf,
8356
+ component: Wf,
8347
8357
  usesMinMaxTime: !0,
8348
8358
  allDaySlot: !0,
8349
8359
  slotDuration: "00:30:00",
@@ -8360,8 +8370,8 @@ var Qf = fe({
8360
8370
  }
8361
8371
  }
8362
8372
  });
8363
- Xn.touchMouseIgnoreWait = 500;
8364
- let _n = 0, Ot = 0, Dn = !1;
8373
+ Jn.touchMouseIgnoreWait = 500;
8374
+ let Dn = 0, Ot = 0, wn = !1;
8365
8375
  class ol {
8366
8376
  constructor(e) {
8367
8377
  this.subjectEl = null, this.selector = "", this.handleSelector = "", this.shouldIgnoreMove = !1, this.shouldWatchScroll = !0, this.isDragging = !1, this.isTouchDragging = !1, this.wasTouchScroll = !1, this.handleMouseDown = (t) => {
@@ -8394,7 +8404,7 @@ class ol {
8394
8404
  this.wasTouchScroll = !0;
8395
8405
  }, this.handleScroll = (t) => {
8396
8406
  if (!this.shouldIgnoreMove) {
8397
- let r = window.pageXOffset - this.prevScrollX + this.prevPageX, i = window.pageYOffset - this.prevScrollY + this.prevPageY;
8407
+ let r = window.scrollX - this.prevScrollX + this.prevPageX, i = window.scrollY - this.prevScrollY + this.prevPageY;
8398
8408
  this.emitter.trigger("pointermove", {
8399
8409
  origEvent: t,
8400
8410
  isTouch: this.isTouchDragging,
@@ -8405,7 +8415,7 @@ class ol {
8405
8415
  deltaY: i - this.origPageY
8406
8416
  });
8407
8417
  }
8408
- }, this.containerEl = e, this.emitter = new zt(), e.addEventListener("mousedown", this.handleMouseDown), e.addEventListener("touchstart", this.handleTouchStart, { passive: !0 }), Xf();
8418
+ }, this.containerEl = e, this.emitter = new Ut(), e.addEventListener("mousedown", this.handleMouseDown), e.addEventListener("touchstart", this.handleTouchStart, { passive: !0 }), Xf();
8409
8419
  }
8410
8420
  destroy() {
8411
8421
  this.containerEl.removeEventListener("mousedown", this.handleMouseDown), this.containerEl.removeEventListener("touchstart", this.handleTouchStart, { passive: !0 }), Jf();
@@ -8415,17 +8425,17 @@ class ol {
8415
8425
  return t && (!this.handleSelector || F(r, this.handleSelector)) ? (this.subjectEl = t, this.isDragging = !0, this.wasTouchScroll = !1, !0) : !1;
8416
8426
  }
8417
8427
  cleanup() {
8418
- Dn = !1, this.isDragging = !1, this.subjectEl = null, this.destroyScrollWatch();
8428
+ wn = !1, this.isDragging = !1, this.subjectEl = null, this.destroyScrollWatch();
8419
8429
  }
8420
8430
  querySubjectEl(e) {
8421
8431
  return this.selector ? F(e.target, this.selector) : this.containerEl;
8422
8432
  }
8423
8433
  shouldIgnoreMouse() {
8424
- return _n || this.isTouchDragging;
8434
+ return Dn || this.isTouchDragging;
8425
8435
  }
8426
8436
  // can be called by user of this class, to cancel touch-based scrolling for the current drag
8427
8437
  cancelTouchScroll() {
8428
- this.isDragging && (Dn = !0);
8438
+ this.isDragging && (wn = !0);
8429
8439
  }
8430
8440
  // Scrolling that simulates pointermoves
8431
8441
  // ----------------------------------------------------------------------------------------------------
@@ -8433,7 +8443,7 @@ class ol {
8433
8443
  this.shouldWatchScroll && (this.recordCoords(e), window.addEventListener("scroll", this.handleScroll, !0));
8434
8444
  }
8435
8445
  recordCoords(e) {
8436
- this.shouldWatchScroll && (this.prevPageX = e.pageX, this.prevPageY = e.pageY, this.prevScrollX = window.pageXOffset, this.prevScrollY = window.pageYOffset);
8446
+ this.shouldWatchScroll && (this.prevPageX = e.pageX, this.prevPageY = e.pageY, this.prevScrollX = window.scrollX, this.prevScrollY = window.scrollY);
8437
8447
  }
8438
8448
  destroyScrollWatch() {
8439
8449
  this.shouldWatchScroll && window.removeEventListener("scroll", this.handleScroll, !0);
@@ -8469,9 +8479,9 @@ function $f(n) {
8469
8479
  return n.button === 0 && !n.ctrlKey;
8470
8480
  }
8471
8481
  function Zf() {
8472
- _n += 1, setTimeout(() => {
8473
- _n -= 1;
8474
- }, Xn.touchMouseIgnoreWait);
8482
+ Dn += 1, setTimeout(() => {
8483
+ Dn -= 1;
8484
+ }, Jn.touchMouseIgnoreWait);
8475
8485
  }
8476
8486
  function Xf() {
8477
8487
  Ot += 1, Ot === 1 && window.addEventListener("touchmove", al, { passive: !1 });
@@ -8480,17 +8490,17 @@ function Jf() {
8480
8490
  Ot -= 1, Ot || window.removeEventListener("touchmove", al, { passive: !1 });
8481
8491
  }
8482
8492
  function al(n) {
8483
- Dn && n.preventDefault();
8493
+ wn && n.preventDefault();
8484
8494
  }
8485
8495
  class Kf {
8486
8496
  constructor() {
8487
8497
  this.isVisible = !1, this.sourceEl = null, this.mirrorEl = null, this.sourceElRect = null, this.parentNode = document.body, this.zIndex = 9999, this.revertDuration = 0;
8488
8498
  }
8489
8499
  start(e, t, r) {
8490
- this.sourceEl = e, this.sourceElRect = this.sourceEl.getBoundingClientRect(), this.origScreenX = t - window.pageXOffset, this.origScreenY = r - window.pageYOffset, this.deltaX = 0, this.deltaY = 0, this.updateElPosition();
8500
+ this.sourceEl = e, this.sourceElRect = this.sourceEl.getBoundingClientRect(), this.origScreenX = t - window.scrollX, this.origScreenY = r - window.scrollY, this.deltaX = 0, this.deltaY = 0, this.updateElPosition();
8491
8501
  }
8492
8502
  handleMove(e, t) {
8493
- this.deltaX = e - window.pageXOffset - this.origScreenX, this.deltaY = t - window.pageYOffset - this.origScreenY, this.updateElPosition();
8503
+ this.deltaX = e - window.scrollX - this.origScreenX, this.deltaY = t - window.scrollY - this.origScreenY, this.updateElPosition();
8494
8504
  }
8495
8505
  // can be called before start
8496
8506
  setIsVisible(e) {
@@ -8514,7 +8524,7 @@ class Kf {
8514
8524
  });
8515
8525
  }
8516
8526
  cleanup() {
8517
- this.mirrorEl && (kn(this.mirrorEl), this.mirrorEl = null), this.sourceEl = null;
8527
+ this.mirrorEl && (xn(this.mirrorEl), this.mirrorEl = null), this.sourceEl = null;
8518
8528
  }
8519
8529
  updateElPosition() {
8520
8530
  this.sourceEl && this.isVisible && Ye(this.getMirrorEl(), {
@@ -8524,7 +8534,7 @@ class Kf {
8524
8534
  }
8525
8535
  getMirrorEl() {
8526
8536
  let e = this.sourceElRect, t = this.mirrorEl;
8527
- return t || (t = this.mirrorEl = this.sourceEl.cloneNode(!0), t.style.userSelect = "none", t.style.webkitUserSelect = "none", t.classList.add("fc-event-dragging"), Ye(t, {
8537
+ return t || (t = this.mirrorEl = this.sourceEl.cloneNode(!0), t.style.userSelect = "none", t.style.webkitUserSelect = "none", t.style.pointerEvents = "none", t.classList.add("fc-event-dragging"), Ye(t, {
8528
8538
  position: "fixed",
8529
8539
  zIndex: this.zIndex,
8530
8540
  visibility: "",
@@ -8537,7 +8547,7 @@ class Kf {
8537
8547
  }), this.parentNode.appendChild(t)), t;
8538
8548
  }
8539
8549
  }
8540
- class cl extends $n {
8550
+ class cl extends Zn {
8541
8551
  constructor(e, t) {
8542
8552
  super(), this.handleScroll = () => {
8543
8553
  this.scrollTop = this.scrollController.getScrollTop(), this.scrollLeft = this.scrollController.getScrollLeft(), this.handleScrollChange();
@@ -8610,7 +8620,7 @@ class th {
8610
8620
  constructor() {
8611
8621
  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 = () => {
8612
8622
  if (this.isAnimating) {
8613
- let e = this.computeBestEdge(this.pointerScreenX + window.pageXOffset, this.pointerScreenY + window.pageYOffset);
8623
+ let e = this.computeBestEdge(this.pointerScreenX + window.scrollX, this.pointerScreenY + window.scrollY);
8614
8624
  if (e) {
8615
8625
  let t = pi();
8616
8626
  this.handleSide(e, (t - this.msSinceRequest) / 1e3), this.requestAnimation(t);
@@ -8624,7 +8634,7 @@ class th {
8624
8634
  }
8625
8635
  handleMove(e, t) {
8626
8636
  if (this.isEnabled) {
8627
- let r = e - window.pageXOffset, i = t - window.pageYOffset, s = this.pointerScreenY === null ? 0 : i - this.pointerScreenY, l = this.pointerScreenX === null ? 0 : r - this.pointerScreenX;
8637
+ let r = e - window.scrollX, i = t - window.scrollY, s = this.pointerScreenY === null ? 0 : i - this.pointerScreenY, l = this.pointerScreenX === null ? 0 : r - this.pointerScreenX;
8628
8638
  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(pi()));
8629
8639
  }
8630
8640
  }
@@ -8677,7 +8687,7 @@ class th {
8677
8687
  return t;
8678
8688
  }
8679
8689
  }
8680
- class rt extends Oc {
8690
+ class rt extends Nc {
8681
8691
  constructor(e, t) {
8682
8692
  super(e), this.containerEl = e, this.delay = null, this.minDistance = 0, this.touchScrollAllowed = !0, this.mirrorNeedsRevert = !1, this.isInteracting = !1, this.isDragging = !1, this.isDelayEnded = !1, this.isDistanceSurpassed = !1, this.delayTimeoutId = null, this.onPointerDown = (i) => {
8683
8693
  this.isDragging || (this.isInteracting = !0, this.isDelayEnded = !1, this.isDistanceSurpassed = !1, so(document.body), oo(document.body), i.isTouch || i.origEvent.preventDefault(), this.emitter.trigger("pointerdown", i), this.isInteracting && // not destroyed via pointerdown handler
@@ -8735,7 +8745,7 @@ class rt extends Oc {
8735
8745
  }
8736
8746
  class nh {
8737
8747
  constructor(e) {
8738
- this.origRect = Qn(e), this.scrollCaches = As(e).map((t) => new dl(t, !0));
8748
+ this.el = e, this.origRect = $n(e), this.scrollCaches = As(e).map((t) => new dl(t, !0));
8739
8749
  }
8740
8750
  destroy() {
8741
8751
  for (let e of this.scrollCaches)
@@ -8765,9 +8775,9 @@ function rh(n) {
8765
8775
  let e = n.tagName;
8766
8776
  return e === "HTML" || e === "BODY";
8767
8777
  }
8768
- class Ut {
8778
+ class jt {
8769
8779
  constructor(e, t) {
8770
- this.useSubjectCenter = !1, this.requireInitial = !0, this.initialHit = null, this.movingHit = null, this.finalHit = null, this.handlePointerDown = (r) => {
8780
+ this.useSubjectCenter = !1, this.requireInitial = !0, this.disablePointCheck = !1, this.initialHit = null, this.movingHit = null, this.finalHit = null, this.handlePointerDown = (r) => {
8771
8781
  let { dragging: i } = this;
8772
8782
  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);
8773
8783
  }, this.handleDragStart = (r) => {
@@ -8778,13 +8788,13 @@ class Ut {
8778
8788
  this.releaseHits(), this.emitter.trigger("pointerup", r);
8779
8789
  }, this.handleDragEnd = (r) => {
8780
8790
  this.movingHit && this.emitter.trigger("hitupdate", null, !0, r), this.finalHit = this.movingHit, this.movingHit = null, this.emitter.trigger("dragend", r);
8781
- }, this.droppableStore = t, e.emitter.on("pointerdown", this.handlePointerDown), e.emitter.on("dragstart", this.handleDragStart), e.emitter.on("dragmove", this.handleDragMove), e.emitter.on("pointerup", this.handlePointerUp), e.emitter.on("dragend", this.handleDragEnd), this.dragging = e, this.emitter = new zt();
8791
+ }, this.droppableStore = t, e.emitter.on("pointerdown", this.handlePointerDown), e.emitter.on("dragstart", this.handleDragStart), e.emitter.on("dragmove", this.handleDragMove), e.emitter.on("pointerup", this.handlePointerUp), e.emitter.on("dragend", this.handleDragEnd), this.dragging = e, this.emitter = new Ut();
8782
8792
  }
8783
8793
  // sets initialHit
8784
8794
  // sets coordAdjust
8785
8795
  processFirstCoord(e) {
8786
8796
  let t = { left: e.pageX, top: e.pageY }, r = t, i = e.subjectEl, s;
8787
- i instanceof HTMLElement && (s = Qn(i), r = pc(r, s));
8797
+ i instanceof HTMLElement && (s = $n(i), r = pc(r, s));
8788
8798
  let l = this.initialHit = this.queryHitForOffset(r.left, r.top);
8789
8799
  if (l) {
8790
8800
  if (this.useSubjectCenter && s) {
@@ -8797,7 +8807,7 @@ class Ut {
8797
8807
  }
8798
8808
  handleMove(e, t) {
8799
8809
  let r = this.queryHitForOffset(e.pageX + this.coordAdjust.left, e.pageY + this.coordAdjust.top);
8800
- (t || !jt(this.movingHit, r)) && (this.movingHit = r, this.emitter.trigger("hitupdate", r, !1, e));
8810
+ (t || !Vt(this.movingHit, r)) && (this.movingHit = r, this.emitter.trigger("hitupdate", r, !1, e));
8801
8811
  }
8802
8812
  prepareHits() {
8803
8813
  this.offsetTrackers = ce(this.droppableStore, (e) => (e.component.prepareHits(), new nh(e.el)));
@@ -8821,14 +8831,21 @@ class Ut {
8821
8831
  ) {
8822
8832
  let b = o.queryHit(f, h, m, y);
8823
8833
  b && // make sure the hit is within activeRange, meaning it's not a dead cell
8824
- Bt(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);
8834
+ Lt(b.dateProfile.activeRange, b.dateSpan.range) && // Ensure the component we are querying for the hit is accessibly my the pointer
8835
+ // Prevents obscured calendars (ex: under a modal dialog) from accepting hit
8836
+ // https://github.com/fullcalendar/fullcalendar/issues/5026
8837
+ (this.disablePointCheck || a.el.contains(document.elementFromPoint(
8838
+ // add-back origins to get coordinate relative to top-left of window viewport
8839
+ f + d - window.scrollX,
8840
+ h + c - window.scrollY
8841
+ ))) && (!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);
8825
8842
  }
8826
8843
  }
8827
8844
  }
8828
8845
  return s;
8829
8846
  }
8830
8847
  }
8831
- function jt(n, e) {
8848
+ function Vt(n, e) {
8832
8849
  return !n && !e ? !0 : !!n != !!e ? !1 : ic(n.dateSpan, e.dateSpan);
8833
8850
  }
8834
8851
  function ul(n, e) {
@@ -8853,13 +8870,13 @@ class sh extends We {
8853
8870
  let { component: i } = this, { pointer: s } = this.dragging;
8854
8871
  if (!s.wasTouchScroll) {
8855
8872
  let { initialHit: l, finalHit: o } = this.hitDragging;
8856
- if (l && o && jt(l, o)) {
8873
+ if (l && o && Vt(l, o)) {
8857
8874
  let { context: a } = i, d = Object.assign(Object.assign({}, ul(l.dateSpan, a)), { dayEl: l.dayEl, jsEvent: r.origEvent, view: a.viewApi || a.calendarApi.view });
8858
8875
  a.emitter.trigger("dateClick", d);
8859
8876
  }
8860
8877
  }
8861
8878
  }, this.dragging = new rt(e.el), this.dragging.autoScroller.isEnabled = !1;
8862
- let t = this.hitDragging = new Ut(this.dragging, qn(e));
8879
+ let t = this.hitDragging = new jt(this.dragging, Yn(e));
8863
8880
  t.emitter.on("pointerdown", this.handlePointerDown), t.emitter.on("dragend", this.handleDragEnd);
8864
8881
  }
8865
8882
  destroy() {
@@ -8879,13 +8896,13 @@ class lh extends We {
8879
8896
  let f = this.hitDragging.initialHit;
8880
8897
  l.componentId === f.componentId && this.isHitComboAllowed && !this.isHitComboAllowed(f, l) || (d = ah(f, l, a.pluginHooks.dateSelectionTransformers)), (!d || !zc(d, l.dateProfile, a)) && (c = !0, d = null);
8881
8898
  }
8882
- d ? a.dispatch({ type: "SELECT_DATES", selection: d }) : o || a.dispatch({ type: "UNSELECT_DATES" }), c ? xn() : Mn(), o || (this.dragSelection = d);
8899
+ d ? a.dispatch({ type: "SELECT_DATES", selection: d }) : o || a.dispatch({ type: "UNSELECT_DATES" }), c ? Mn() : In(), o || (this.dragSelection = d);
8883
8900
  }, this.handlePointerUp = (l) => {
8884
8901
  this.dragSelection && (cs(this.dragSelection, l, this.component.context), this.dragSelection = null);
8885
8902
  };
8886
8903
  let { component: t } = e, { options: r } = t.context, i = this.dragging = new rt(e.el);
8887
8904
  i.touchScrollAllowed = !1, i.minDistance = r.selectMinDistance || 0, i.autoScroller.isEnabled = r.dragScroll;
8888
- let s = this.hitDragging = new Ut(this.dragging, qn(e));
8905
+ let s = this.hitDragging = new jt(this.dragging, Yn(e));
8889
8906
  s.emitter.on("pointerdown", this.handlePointerDown), s.emitter.on("dragstart", this.handleDragStart), s.emitter.on("hitupdate", this.handleHitUpdate), s.emitter.on("pointerup", this.handlePointerUp);
8890
8907
  }
8891
8908
  destroy() {
@@ -8919,7 +8936,7 @@ class it extends We {
8919
8936
  let o = l.origEvent.target, { component: a, dragging: d } = this, { mirror: c } = d, { options: f } = a.context, h = a.context;
8920
8937
  this.subjectEl = l.subjectEl;
8921
8938
  let u = this.subjectSeg = Ve(l.subjectEl), y = (this.eventRange = u.eventRange).instance.instanceId;
8922
- this.relevantEvents = Vn(h.getCurrentData().eventStore, y), d.minDistance = l.isTouch ? 0 : f.eventDragMinDistance, d.delay = // only do a touch delay if touch and this event hasn't been selected yet
8939
+ this.relevantEvents = Fn(h.getCurrentData().eventStore, y), d.minDistance = l.isTouch ? 0 : f.eventDragMinDistance, d.delay = // only do a touch delay if touch and this event hasn't been selected yet
8923
8940
  l.isTouch && y !== a.props.eventSelection ? dh(a) : null, f.fixedMirrorParent ? c.parentNode = f.fixedMirrorParent : c.parentNode = F(o, ".fc"), c.revertDuration = f.dragRevertDuration;
8924
8941
  let b = a.isValidSegDownEl(o) && !F(o, ".fc-event-resizer");
8925
8942
  d.setIgnoreMove(!b), this.isDragging = b && l.subjectEl.classList.contains("fc-event-draggable");
@@ -8942,10 +8959,10 @@ class it extends We {
8942
8959
  if (l) {
8943
8960
  f = l.context;
8944
8961
  let b = f.options;
8945
- c === f || b.editable && b.droppable ? (h = ch(d, l, f.getCurrentData().pluginHooks.eventDragMutationMassagers), h && (u = Gn(a, f.getCurrentData().eventUiBases, h, f), y.mutatedEvents = u, xs(y, l.dateProfile, f) || (m = !0, h = null, u = null, y.mutatedEvents = $()))) : f = null;
8962
+ c === f || b.editable && b.droppable ? (h = ch(d, l, this.eventRange.instance.range.start, f.getCurrentData().pluginHooks.eventDragMutationMassagers), h && (u = qn(a, f.getCurrentData().eventUiBases, h, f), y.mutatedEvents = u, xs(y, l.dateProfile, f) || (m = !0, h = null, u = null, y.mutatedEvents = $()))) : f = null;
8946
8963
  }
8947
- this.displayDrag(f, y), m ? xn() : Mn(), o || (c === f && // TODO: write test for this
8948
- jt(d, l) && (h = null), this.dragging.setMirrorNeedsRevert(!h), this.dragging.setMirrorIsVisible(!l || !this.subjectEl.getRootNode().querySelector(".fc-event-mirror")), this.receivingContext = f, this.validMutation = h, this.mutatedRelevantEvents = u);
8964
+ this.displayDrag(f, y), m ? Mn() : In(), o || (c === f && // TODO: write test for this
8965
+ Vt(d, l) && (h = null), this.dragging.setMirrorNeedsRevert(!h), this.dragging.setMirrorIsVisible(!l || !this.subjectEl.getRootNode().querySelector(".fc-event-mirror")), this.receivingContext = f, this.validMutation = h, this.mutatedRelevantEvents = u);
8949
8966
  }, this.handlePointerUp = () => {
8950
8967
  this.isDragging || this.cleanup();
8951
8968
  }, this.handleDragEnd = (l) => {
@@ -8998,7 +9015,7 @@ class it extends We {
8998
9015
  type: "MERGE_EVENTS",
8999
9016
  eventStore: y
9000
9017
  });
9001
- let H = {
9018
+ let P = {
9002
9019
  event: C,
9003
9020
  relatedEvents: Ce(y, d, A),
9004
9021
  revert() {
@@ -9008,10 +9025,10 @@ class it extends We {
9008
9025
  });
9009
9026
  }
9010
9027
  };
9011
- d.emitter.trigger("eventAdd", H), l.isTouch && d.dispatch({
9028
+ d.emitter.trigger("eventAdd", P), l.isTouch && d.dispatch({
9012
9029
  type: "SELECT_EVENT",
9013
9030
  eventInstanceId: h.instanceId
9014
- }), d.emitter.trigger("drop", Object.assign(Object.assign({}, ul(b.dateSpan, d)), { draggedEl: l.subjectEl, jsEvent: l.origEvent, view: b.context.viewApi })), d.emitter.trigger("eventReceive", Object.assign(Object.assign({}, H), { draggedEl: l.subjectEl, view: b.context.viewApi }));
9031
+ }), d.emitter.trigger("drop", Object.assign(Object.assign({}, ul(b.dateSpan, d)), { draggedEl: l.subjectEl, jsEvent: l.origEvent, view: b.context.viewApi })), d.emitter.trigger("eventReceive", Object.assign(Object.assign({}, P), { draggedEl: l.subjectEl, view: b.context.viewApi }));
9015
9032
  }
9016
9033
  } else
9017
9034
  o.emitter.trigger("_noEventDrop");
@@ -9020,7 +9037,7 @@ class it extends We {
9020
9037
  };
9021
9038
  let { component: t } = this, { options: r } = t.context, i = this.dragging = new rt(e.el);
9022
9039
  i.pointer.selector = it.SELECTOR, i.touchScrollAllowed = !1, i.autoScroller.isEnabled = r.dragScroll;
9023
- let s = this.hitDragging = new Ut(this.dragging, yn);
9040
+ let s = this.hitDragging = new jt(this.dragging, bn);
9024
9041
  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);
9025
9042
  }
9026
9043
  destroy() {
@@ -9047,18 +9064,18 @@ class it extends We {
9047
9064
  }
9048
9065
  }
9049
9066
  it.SELECTOR = ".fc-event-draggable, .fc-event-resizable";
9050
- function ch(n, e, t) {
9051
- let r = n.dateSpan, i = e.dateSpan, s = r.range.start, l = i.range.start, o = {};
9052
- r.allDay !== i.allDay && (o.allDay = i.allDay, o.hasEnd = e.context.options.allDayMaintainDuration, i.allDay && (s = P(s)));
9053
- let a = Pe(s, l, n.context.dateEnv, n.componentId === e.componentId ? n.largeUnit : null);
9054
- a.milliseconds && (o.allDay = !1);
9055
- let d = {
9056
- datesDelta: a,
9057
- standardProps: o
9067
+ function ch(n, e, t, r) {
9068
+ let i = n.dateSpan, s = e.dateSpan, l = i.range.start, o = s.range.start, a = {};
9069
+ i.allDay !== s.allDay && (a.allDay = s.allDay, a.hasEnd = e.context.options.allDayMaintainDuration, s.allDay ? l = H(t) : l = t);
9070
+ let d = He(l, o, n.context.dateEnv, n.componentId === e.componentId ? n.largeUnit : null);
9071
+ d.milliseconds && (a.allDay = !1);
9072
+ let c = {
9073
+ datesDelta: d,
9074
+ standardProps: a
9058
9075
  };
9059
- for (let c of t)
9060
- c(d, n, e);
9061
- return d;
9076
+ for (let f of r)
9077
+ f(c, n, e);
9078
+ return c;
9062
9079
  }
9063
9080
  function dh(n) {
9064
9081
  let { options: e } = n.context, t = e.eventLongPressDelay;
@@ -9071,7 +9088,7 @@ class uh extends We {
9071
9088
  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);
9072
9089
  }, this.handleDragStart = (s) => {
9073
9090
  let { context: l } = this.component, o = this.eventRange;
9074
- this.relevantEvents = Vn(l.getCurrentData().eventStore, this.eventRange.instance.instanceId);
9091
+ this.relevantEvents = Fn(l.getCurrentData().eventStore, this.eventRange.instance.instanceId);
9075
9092
  let a = this.querySegEl(s);
9076
9093
  this.draggingSegEl = a, this.draggingSeg = Ve(a), l.calendarApi.unselect(), l.emitter.trigger("eventResizeStart", {
9077
9094
  el: a,
@@ -9085,10 +9102,10 @@ class uh extends We {
9085
9102
  mutatedEvents: $(),
9086
9103
  isEvent: !0
9087
9104
  };
9088
- s && (s.componentId === c.componentId && this.isHitComboAllowed && !this.isHitComboAllowed(c, s) || (h = fh(c, s, o.subjectEl.classList.contains("fc-event-resizer-start"), f.range))), h && (u = Gn(d, a.getCurrentData().eventUiBases, h, a), y.mutatedEvents = u, xs(y, s.dateProfile, a) || (m = !0, h = null, u = null, y.mutatedEvents = null)), u ? a.dispatch({
9105
+ s && (s.componentId === c.componentId && this.isHitComboAllowed && !this.isHitComboAllowed(c, s) || (h = fh(c, s, o.subjectEl.classList.contains("fc-event-resizer-start"), f.range))), h && (u = qn(d, a.getCurrentData().eventUiBases, h, a), y.mutatedEvents = u, xs(y, s.dateProfile, a) || (m = !0, h = null, u = null, y.mutatedEvents = null)), u ? a.dispatch({
9089
9106
  type: "SET_EVENT_RESIZE",
9090
9107
  state: y
9091
- }) : a.dispatch({ type: "UNSET_EVENT_RESIZE" }), m ? xn() : Mn(), l || (h && jt(c, s) && (h = null), this.validMutation = h, this.mutatedRelevantEvents = u);
9108
+ }) : a.dispatch({ type: "UNSET_EVENT_RESIZE" }), m ? Mn() : In(), l || (h && Vt(c, s) && (h = null), this.validMutation = h, this.mutatedRelevantEvents = u);
9092
9109
  }, this.handleDragEnd = (s) => {
9093
9110
  let { context: l } = this.component, o = this.eventRange.def, a = this.eventRange.instance, d = new z(l, o, a), c = this.relevantEvents, f = this.mutatedRelevantEvents;
9094
9111
  if (l.emitter.trigger("eventResizeStop", {
@@ -9121,7 +9138,7 @@ class uh extends We {
9121
9138
  };
9122
9139
  let { component: t } = e, r = this.dragging = new rt(e.el);
9123
9140
  r.pointer.selector = ".fc-event-resizer", r.touchScrollAllowed = !1, r.autoScroller.isEnabled = t.context.options.dragScroll;
9124
- let i = this.hitDragging = new Ut(this.dragging, qn(e));
9141
+ let i = this.hitDragging = new jt(this.dragging, Yn(e));
9125
9142
  i.emitter.on("pointerdown", this.handlePointerDown), i.emitter.on("dragstart", this.handleDragStart), i.emitter.on("hitupdate", this.handleHitUpdate), i.emitter.on("dragend", this.handleDragEnd);
9126
9143
  }
9127
9144
  destroy() {
@@ -9132,7 +9149,7 @@ class uh extends We {
9132
9149
  }
9133
9150
  }
9134
9151
  function fh(n, e, t, r) {
9135
- let i = n.context.dateEnv, s = n.dateSpan.range.start, l = e.dateSpan.range.start, o = Pe(s, l, i, n.largeUnit);
9152
+ let i = n.context.dateEnv, s = n.dateSpan.range.start, l = e.dateSpan.range.start, o = He(s, l, i, n.largeUnit);
9136
9153
  if (t) {
9137
9154
  if (i.add(r.start, o) < r.end)
9138
9155
  return { startDelta: o };
@@ -9181,7 +9198,7 @@ const gh = {
9181
9198
  eventReceive: v,
9182
9199
  eventLeave: v
9183
9200
  };
9184
- Xn.dataAttrPrefix = "";
9201
+ Jn.dataAttrPrefix = "";
9185
9202
  var mh = fe({
9186
9203
  name: "@fullcalendar/interaction",
9187
9204
  componentInteractions: [sh, lh, it, uh],
@@ -9195,11 +9212,11 @@ var vh = /* @__PURE__ */ ee({
9195
9212
  name: "ArrowLeft",
9196
9213
  __name: "arrow-left",
9197
9214
  setup(n) {
9198
- return (e, t) => (O(), L("svg", {
9215
+ return (e, t) => (N(), L("svg", {
9199
9216
  xmlns: "http://www.w3.org/2000/svg",
9200
9217
  viewBox: "0 0 1024 1024"
9201
9218
  }, [
9202
- N("path", {
9219
+ O("path", {
9203
9220
  fill: "currentColor",
9204
9221
  d: "M609.408 149.376 277.76 489.6a32 32 0 0 0 0 44.672l331.648 340.352a29.12 29.12 0 0 0 41.728 0 30.592 30.592 0 0 0 0-42.752L339.264 511.936l311.872-319.872a30.592 30.592 0 0 0 0-42.688 29.12 29.12 0 0 0-41.728 0z"
9205
9222
  })
@@ -9209,11 +9226,11 @@ var vh = /* @__PURE__ */ ee({
9209
9226
  name: "ArrowRight",
9210
9227
  __name: "arrow-right",
9211
9228
  setup(n) {
9212
- return (e, t) => (O(), L("svg", {
9229
+ return (e, t) => (N(), L("svg", {
9213
9230
  xmlns: "http://www.w3.org/2000/svg",
9214
9231
  viewBox: "0 0 1024 1024"
9215
9232
  }, [
9216
- N("path", {
9233
+ O("path", {
9217
9234
  fill: "currentColor",
9218
9235
  d: "M340.864 149.312a30.592 30.592 0 0 0 0 42.752L652.736 512 340.864 831.872a30.592 30.592 0 0 0 0 42.752 29.12 29.12 0 0 0 41.728 0L714.24 534.336a32 32 0 0 0 0-44.672L382.592 149.376a29.12 29.12 0 0 0-41.728 0z"
9219
9236
  })
@@ -9223,11 +9240,11 @@ var vh = /* @__PURE__ */ ee({
9223
9240
  name: "Calendar",
9224
9241
  __name: "calendar",
9225
9242
  setup(n) {
9226
- return (e, t) => (O(), L("svg", {
9243
+ return (e, t) => (N(), L("svg", {
9227
9244
  xmlns: "http://www.w3.org/2000/svg",
9228
9245
  viewBox: "0 0 1024 1024"
9229
9246
  }, [
9230
- N("path", {
9247
+ O("path", {
9231
9248
  fill: "currentColor",
9232
9249
  d: "M128 384v512h768V192H768v32a32 32 0 1 1-64 0v-32H320v32a32 32 0 0 1-64 0v-32H128v128h768v64zm192-256h384V96a32 32 0 1 1 64 0v32h160a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h160V96a32 32 0 0 1 64 0zm-32 384h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m192-192h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m192-192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64"
9233
9250
  })
@@ -9237,19 +9254,19 @@ var vh = /* @__PURE__ */ ee({
9237
9254
  name: "Clock",
9238
9255
  __name: "clock",
9239
9256
  setup(n) {
9240
- return (e, t) => (O(), L("svg", {
9257
+ return (e, t) => (N(), L("svg", {
9241
9258
  xmlns: "http://www.w3.org/2000/svg",
9242
9259
  viewBox: "0 0 1024 1024"
9243
9260
  }, [
9244
- N("path", {
9261
+ O("path", {
9245
9262
  fill: "currentColor",
9246
9263
  d: "M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"
9247
9264
  }),
9248
- N("path", {
9265
+ O("path", {
9249
9266
  fill: "currentColor",
9250
9267
  d: "M480 256a32 32 0 0 1 32 32v256a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32"
9251
9268
  }),
9252
- N("path", {
9269
+ O("path", {
9253
9270
  fill: "currentColor",
9254
9271
  d: "M480 512h256q32 0 32 32t-32 32H480q-32 0-32-32t32-32"
9255
9272
  })
@@ -9259,11 +9276,11 @@ var vh = /* @__PURE__ */ ee({
9259
9276
  name: "DeleteFilled",
9260
9277
  __name: "delete-filled",
9261
9278
  setup(n) {
9262
- return (e, t) => (O(), L("svg", {
9279
+ return (e, t) => (N(), L("svg", {
9263
9280
  xmlns: "http://www.w3.org/2000/svg",
9264
9281
  viewBox: "0 0 1024 1024"
9265
9282
  }, [
9266
- N("path", {
9283
+ O("path", {
9267
9284
  fill: "currentColor",
9268
9285
  d: "M352 192V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64H96a32 32 0 0 1 0-64zm64 0h192v-64H416zM192 960a32 32 0 0 1-32-32V256h704v672a32 32 0 0 1-32 32zm224-192a32 32 0 0 0 32-32V416a32 32 0 0 0-64 0v320a32 32 0 0 0 32 32m192 0a32 32 0 0 0 32-32V416a32 32 0 0 0-64 0v320a32 32 0 0 0 32 32"
9269
9286
  })
@@ -9273,11 +9290,11 @@ var vh = /* @__PURE__ */ ee({
9273
9290
  name: "Document",
9274
9291
  __name: "document",
9275
9292
  setup(n) {
9276
- return (e, t) => (O(), L("svg", {
9293
+ return (e, t) => (N(), L("svg", {
9277
9294
  xmlns: "http://www.w3.org/2000/svg",
9278
9295
  viewBox: "0 0 1024 1024"
9279
9296
  }, [
9280
- N("path", {
9297
+ O("path", {
9281
9298
  fill: "currentColor",
9282
9299
  d: "M832 384H576V128H192v768h640zm-26.496-64L640 154.496V320zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m160 448h384v64H320zm0-192h160v64H320zm0 384h384v64H320z"
9283
9300
  })
@@ -9290,13 +9307,13 @@ const kh = { class: "ik-full-calendar" }, xh = ["onClick"], Mh = {
9290
9307
  }, Ih = {
9291
9308
  key: 0,
9292
9309
  class: "event-title-time"
9293
- }, Oh = {
9310
+ }, Nh = {
9294
9311
  key: 1,
9295
9312
  class: "event-title no-allday"
9296
- }, Nh = { class: "event-title-time" }, Hh = { class: "event-title-text" }, Ph = {
9313
+ }, Oh = { class: "event-title-time" }, Ph = { class: "event-title-text" }, Hh = {
9297
9314
  name: "IkFullCalendar"
9298
9315
  }, Bh = /* @__PURE__ */ ee({
9299
- ...Ph,
9316
+ ...Hh,
9300
9317
  props: {
9301
9318
  options: { default: {} },
9302
9319
  removable: { type: Boolean, default: !0 },
@@ -9334,7 +9351,7 @@ const kh = { class: "ik-full-calendar" }, xh = ["onClick"], Mh = {
9334
9351
  select: d,
9335
9352
  ...r.options,
9336
9353
  events: i.value
9337
- }), u = on({
9354
+ }), u = an({
9338
9355
  timeType: "month",
9339
9356
  options: h()
9340
9357
  }), m = qe(null), y = () => {
@@ -9383,8 +9400,8 @@ const kh = { class: "ik-full-calendar" }, xh = ["onClick"], Mh = {
9383
9400
  return vi(() => {
9384
9401
  E();
9385
9402
  }), (p, A) => {
9386
- const C = G("el-tooltip"), H = G("el-icon");
9387
- return O(), L("div", kh, [
9403
+ const C = G("el-tooltip"), P = G("el-icon");
9404
+ return N(), L("div", kh, [
9388
9405
  T(J(Mu), {
9389
9406
  ref_key: "_ref",
9390
9407
  ref: l,
@@ -9392,7 +9409,7 @@ const kh = { class: "ik-full-calendar" }, xh = ["onClick"], Mh = {
9392
9409
  style: { height: "100%" }
9393
9410
  }, {
9394
9411
  eventContent: M((R) => [
9395
- N("div", {
9412
+ O("div", {
9396
9413
  class: "title-line",
9397
9414
  onClick: (x) => c(R)
9398
9415
  }, [
@@ -9412,26 +9429,26 @@ const kh = { class: "ik-full-calendar" }, xh = ["onClick"], Mh = {
9412
9429
  ];
9413
9430
  }),
9414
9431
  default: M(() => [
9415
- R.event.allDay ? (O(), L("span", Mh, [
9416
- a.value === "dayGridMonth" ? (O(), L("span", Ih, he("(全天)"))) : Be("v-if", !0),
9417
- N(
9432
+ R.event.allDay ? (N(), L("span", Mh, [
9433
+ a.value === "dayGridMonth" ? (N(), L("span", Ih, he("(全天)"))) : Be("v-if", !0),
9434
+ O(
9418
9435
  "span",
9419
9436
  null,
9420
9437
  he(R.event.title),
9421
9438
  1
9422
9439
  /* TEXT */
9423
9440
  )
9424
- ])) : (O(), L("span", Oh, [
9425
- N(
9441
+ ])) : (N(), L("span", Nh, [
9442
+ O(
9426
9443
  "span",
9427
- Nh,
9444
+ Oh,
9428
9445
  he(J(X).toDateTime(R.event.startStr, "HH:mm")),
9429
9446
  1
9430
9447
  /* TEXT */
9431
9448
  ),
9432
- N(
9449
+ O(
9433
9450
  "span",
9434
- Hh,
9451
+ Ph,
9435
9452
  he(R.event.title),
9436
9453
  1
9437
9454
  /* TEXT */
@@ -9444,7 +9461,7 @@ const kh = { class: "ik-full-calendar" }, xh = ["onClick"], Mh = {
9444
9461
  1024
9445
9462
  /* DYNAMIC_SLOTS */
9446
9463
  ),
9447
- r.removable ? (O(), Ze(H, {
9464
+ r.removable ? (N(), Ze(P, {
9448
9465
  key: 0,
9449
9466
  size: 16,
9450
9467
  onClick: yl((x) => f(R), ["stop"])
@@ -9464,12 +9481,12 @@ const kh = { class: "ik-full-calendar" }, xh = ["onClick"], Mh = {
9464
9481
  };
9465
9482
  }
9466
9483
  });
9467
- const sr = (n, e) => {
9484
+ const lr = (n, e) => {
9468
9485
  const t = n.__vccOpts || n;
9469
9486
  for (const [r, i] of e)
9470
9487
  t[r] = i;
9471
9488
  return t;
9472
- }, Lh = /* @__PURE__ */ sr(Bh, [["__scopeId", "data-v-f0925ff8"]]), zh = wn(Lh), Uh = {
9489
+ }, Lh = /* @__PURE__ */ lr(Bh, [["__scopeId", "data-v-f0925ff8"]]), zh = Cn(Lh), Uh = {
9473
9490
  key: 0,
9474
9491
  class: "ik-svg-icon ik-icon-span inline-block inline-flex justify-center box-content line-height-[0]"
9475
9492
  }, jh = {
@@ -9540,12 +9557,12 @@ const sr = (n, e) => {
9540
9557
  });
9541
9558
  return (s, l) => {
9542
9559
  const o = G("el-tooltip"), a = G("el-button");
9543
- return t.value.tableIconType === "icon" || !t.value.tableIconType ? (O(), L("span", Uh, [
9544
- t.value.notip || !t.value.title ? (O(), L(
9560
+ return t.value.tableIconType === "icon" || !t.value.tableIconType ? (N(), L("span", Uh, [
9561
+ t.value.notip || !t.value.title ? (N(), L(
9545
9562
  "i",
9546
9563
  {
9547
9564
  key: 0,
9548
- class: Ne(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
9565
+ class: Oe(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
9549
9566
  [s.name]: r.value === "unocss",
9550
9567
  "show-bg": t.value.showBg || t.value.bg,
9551
9568
  default: t.value.size === "default",
@@ -9562,29 +9579,29 @@ const sr = (n, e) => {
9562
9579
  },
9563
9580
  [
9564
9581
  Be(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),
9565
- r.value === "iksig" ? (O(), L(
9582
+ r.value === "iksig" ? (N(), L(
9566
9583
  "i",
9567
9584
  {
9568
9585
  key: 0,
9569
- class: Ne(`iksig ${t.value.name}`),
9586
+ class: Oe(`iksig ${t.value.name}`),
9570
9587
  style: Se(i.value)
9571
9588
  },
9572
9589
  null,
9573
9590
  6
9574
9591
  /* CLASS, STYLE */
9575
- )) : r.value === "svg" ? (O(), L("svg", jh, [
9576
- N("use", {
9592
+ )) : r.value === "svg" ? (N(), L("svg", jh, [
9593
+ O("use", {
9577
9594
  "xlink:href": `#${t.value.name}`
9578
9595
  }, null, 8, Vh)
9579
- ])) : r.value === "img" ? (O(), L("img", {
9596
+ ])) : r.value === "img" ? (N(), L("img", {
9580
9597
  key: 2,
9581
9598
  src: t.value.name,
9582
9599
  class: "h-[1em] w-[1em]"
9583
- }, null, 8, Fh)) : (O(), L(
9600
+ }, null, 8, Fh)) : (N(), L(
9584
9601
  "i",
9585
9602
  {
9586
9603
  key: 3,
9587
- class: Ne(t.value.name),
9604
+ class: Oe(t.value.name),
9588
9605
  style: Se(i.value)
9589
9606
  },
9590
9607
  null,
@@ -9594,16 +9611,16 @@ const sr = (n, e) => {
9594
9611
  ],
9595
9612
  6
9596
9613
  /* CLASS, STYLE */
9597
- )) : (O(), Ze(o, {
9614
+ )) : (N(), Ze(o, {
9598
9615
  key: 1,
9599
9616
  content: t.value.title,
9600
9617
  placement: "top"
9601
9618
  }, {
9602
9619
  default: M(() => [
9603
- N(
9620
+ O(
9604
9621
  "i",
9605
9622
  {
9606
- class: Ne(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
9623
+ class: Oe(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
9607
9624
  [s.name]: r.value === "unocss",
9608
9625
  "show-bg": t.value.showBg || t.value.bg,
9609
9626
  default: t.value.size === "default",
@@ -9618,29 +9635,29 @@ const sr = (n, e) => {
9618
9635
  style: Se(i.value)
9619
9636
  },
9620
9637
  [
9621
- r.value === "iksig" ? (O(), L(
9638
+ r.value === "iksig" ? (N(), L(
9622
9639
  "i",
9623
9640
  {
9624
9641
  key: 0,
9625
- class: Ne(`iksig ${t.value.name}`),
9642
+ class: Oe(`iksig ${t.value.name}`),
9626
9643
  style: Se(i.value)
9627
9644
  },
9628
9645
  null,
9629
9646
  6
9630
9647
  /* CLASS, STYLE */
9631
- )) : r.value === "svg" ? (O(), L("svg", Wh, [
9632
- N("use", {
9648
+ )) : r.value === "svg" ? (N(), L("svg", Wh, [
9649
+ O("use", {
9633
9650
  "xlink:href": `#${t.value.name}`
9634
9651
  }, null, 8, Gh)
9635
- ])) : r.value === "img" ? (O(), L("img", {
9652
+ ])) : r.value === "img" ? (N(), L("img", {
9636
9653
  key: 2,
9637
9654
  src: t.value.name,
9638
9655
  class: "h-[1em] w-[1em]"
9639
- }, null, 8, qh)) : (O(), L(
9656
+ }, null, 8, qh)) : (N(), L(
9640
9657
  "i",
9641
9658
  {
9642
9659
  key: 3,
9643
- class: Ne(t.value.name),
9660
+ class: Oe(t.value.name),
9644
9661
  style: Se(i.value)
9645
9662
  },
9646
9663
  null,
@@ -9655,7 +9672,7 @@ const sr = (n, e) => {
9655
9672
  _: 1
9656
9673
  /* STABLE */
9657
9674
  }, 8, ["content"]))
9658
- ])) : (O(), Ze(a, {
9675
+ ])) : (N(), Ze(a, {
9659
9676
  key: 1,
9660
9677
  type: ["warning", "error"].includes(t.value.type) ? "danger" : ""
9661
9678
  }, {
@@ -9672,7 +9689,7 @@ const sr = (n, e) => {
9672
9689
  };
9673
9690
  }
9674
9691
  });
9675
- const Qh = /* @__PURE__ */ sr(Yh, [["__scopeId", "data-v-52806adf"]]), $h = wn(Qh), mi = $h, lr = (n) => (Sl("data-v-e308f501"), n = n(), Al(), n), Zh = { class: "ik-schedule" }, Xh = { class: "ik-schedule__left" }, Jh = { class: "ik-schedule__header" }, Kh = { class: "ik-schedule__title" }, eg = /* @__PURE__ */ lr(() => /* @__PURE__ */ N(
9692
+ const Qh = /* @__PURE__ */ lr(Yh, [["__scopeId", "data-v-52806adf"]]), $h = Cn(Qh), mi = $h, or = (n) => (Sl("data-v-e308f501"), n = n(), Al(), n), Zh = { class: "ik-schedule" }, Xh = { class: "ik-schedule__left" }, Jh = { class: "ik-schedule__header" }, Kh = { class: "ik-schedule__title" }, eg = /* @__PURE__ */ or(() => /* @__PURE__ */ O(
9676
9693
  "div",
9677
9694
  { class: "ik-schedule__header-right" },
9678
9695
  null,
@@ -9681,7 +9698,7 @@ const Qh = /* @__PURE__ */ sr(Yh, [["__scopeId", "data-v-52806adf"]]), $h = wn(Q
9681
9698
  )), tg = { class: "ik-schedule__body" }, ng = { style: { "font-size": "18px" } }, rg = { key: 0 }, ig = { style: { width: "90%", display: "flex", "align-items": "center", "justify-content": "space-between" } }, sg = {
9682
9699
  key: 0,
9683
9700
  style: { "margin-left": "2%" }
9684
- }, lg = /* @__PURE__ */ lr(() => /* @__PURE__ */ N(
9701
+ }, lg = /* @__PURE__ */ or(() => /* @__PURE__ */ O(
9685
9702
  "span",
9686
9703
  {
9687
9704
  class: "to",
@@ -9690,7 +9707,7 @@ const Qh = /* @__PURE__ */ sr(Yh, [["__scopeId", "data-v-52806adf"]]), $h = wn(Q
9690
9707
  "至",
9691
9708
  -1
9692
9709
  /* HOISTED */
9693
- )), og = { key: 1 }, ag = /* @__PURE__ */ lr(() => /* @__PURE__ */ N(
9710
+ )), og = { key: 1 }, ag = /* @__PURE__ */ or(() => /* @__PURE__ */ O(
9694
9711
  "span",
9695
9712
  {
9696
9713
  class: "to",
@@ -9739,7 +9756,7 @@ const Qh = /* @__PURE__ */ sr(Yh, [["__scopeId", "data-v-52806adf"]]), $h = wn(Q
9739
9756
  }), o = we(() => ({
9740
9757
  ...r.options,
9741
9758
  headerToolbar: !1
9742
- })), a = on({
9759
+ })), a = an({
9743
9760
  currentView: (x = r.options) == null ? void 0 : x.initialView,
9744
9761
  viewTitle: "",
9745
9762
  rightLabel: "今日",
@@ -9798,11 +9815,11 @@ const Qh = /* @__PURE__ */ sr(Yh, [["__scopeId", "data-v-52806adf"]]), $h = wn(Q
9798
9815
  return;
9799
9816
  }
9800
9817
  if (!p.form.title) {
9801
- ur.info("标题不能为空");
9818
+ fr.info("标题不能为空");
9802
9819
  return;
9803
9820
  }
9804
9821
  if (!p.form.allDay && (!p.form.startTime || !p.form.endTime)) {
9805
- ur.info("时间不能为空");
9822
+ fr.info("时间不能为空");
9806
9823
  return;
9807
9824
  }
9808
9825
  let S = {
@@ -9818,8 +9835,8 @@ const Qh = /* @__PURE__ */ sr(Yh, [["__scopeId", "data-v-52806adf"]]), $h = wn(Q
9818
9835
  if (S.allDay)
9819
9836
  S.start = X.toDate(p.form.startDate), S.end = X.toDate(p.form.endDate);
9820
9837
  else {
9821
- const te = X.toDate(p.form.startDate), se = X.toDateTime(p.form.startTime).substring(10), Vt = X.toDateTime(p.form.endTime).substring(10);
9822
- S.start = `${te}${se}`, S.end = `${te}${Vt}`, S.extendedProps.startTime = S.start, S.extendedProps.endTime = S.end;
9838
+ const te = X.toDate(p.form.startDate), se = X.toDateTime(p.form.startTime).substring(10), Ft = X.toDateTime(p.form.endTime).substring(10);
9839
+ S.start = `${te}${se}`, S.end = `${te}${Ft}`, S.extendedProps.startTime = S.start, S.extendedProps.endTime = S.end;
9823
9840
  }
9824
9841
  E.operation(S), E.close();
9825
9842
  },
@@ -9836,7 +9853,7 @@ const Qh = /* @__PURE__ */ sr(Yh, [["__scopeId", "data-v-52806adf"]]), $h = wn(Q
9836
9853
  del: () => {
9837
9854
  R(p.clickInfo);
9838
9855
  }
9839
- }, p = on({
9856
+ }, p = an({
9840
9857
  operation: "update",
9841
9858
  selectInfo: {},
9842
9859
  editEvent: void 0,
@@ -9863,7 +9880,7 @@ const Qh = /* @__PURE__ */ sr(Yh, [["__scopeId", "data-v-52806adf"]]), $h = wn(Q
9863
9880
  (D = d.value) == null || D.unselect(), El(() => {
9864
9881
  p.title = "新建日程", p.operation = "add", p.editable = !0, A.value = !0, i("editOpen", JSON.parse(JSON.stringify(p)));
9865
9882
  });
9866
- }, H = (S) => {
9883
+ }, P = (S) => {
9867
9884
  p.title = "日程信息", p.operation = "update", p.clickInfo = S, p.editEvent = S.event;
9868
9885
  debugger;
9869
9886
  p.editEvent.allDay ? (p.form.startDate = p.editEvent.startStr, p.form.endDate = p.editEvent.startStr) : (p.form.startDate = p.editEvent.startStr, p.form.startTime = p.editEvent.start, p.form.endTime = p.editEvent.end), p.form.title = p.editEvent.title, p.form.allDay = p.editEvent.allDay, Rl.copyValue(p.form, p.editEvent.extendedProps), E.cancelEdit(), A.value = !0, i("editOpen", JSON.parse(JSON.stringify(p)));
@@ -9881,11 +9898,11 @@ const Qh = /* @__PURE__ */ sr(Yh, [["__scopeId", "data-v-52806adf"]]), $h = wn(Q
9881
9898
  }), vi(() => {
9882
9899
  f();
9883
9900
  }), (S, D) => {
9884
- const U = G("el-button"), te = G("el-button-group"), se = G("el-icon"), Vt = G("el-space"), or = G("el-input"), Ft = G("el-form-item"), ar = G("el-date-picker"), cr = G("el-time-picker"), fl = G("el-checkbox"), hl = G("el-form"), gl = G("el-dialog");
9885
- return O(), L("div", Zh, [
9886
- N("div", Xh, [
9887
- N("div", Jh, [
9888
- T(Vt, {
9901
+ const U = G("el-button"), te = G("el-button-group"), se = G("el-icon"), Ft = G("el-space"), ar = G("el-input"), Wt = G("el-form-item"), cr = G("el-date-picker"), dr = G("el-time-picker"), fl = G("el-checkbox"), hl = G("el-form"), gl = G("el-dialog");
9902
+ return N(), L("div", Zh, [
9903
+ O("div", Xh, [
9904
+ O("div", Jh, [
9905
+ T(Ft, {
9889
9906
  style: { "flex-shrink": "0" },
9890
9907
  size: 24
9891
9908
  }, {
@@ -9926,7 +9943,7 @@ const Qh = /* @__PURE__ */ sr(Yh, [["__scopeId", "data-v-52806adf"]]), $h = wn(Q
9926
9943
  _: 1
9927
9944
  /* STABLE */
9928
9945
  }),
9929
- N(
9946
+ O(
9930
9947
  "span",
9931
9948
  Kh,
9932
9949
  he(a.viewTitle),
@@ -9978,12 +9995,12 @@ const Qh = /* @__PURE__ */ sr(Yh, [["__scopeId", "data-v-52806adf"]]), $h = wn(Q
9978
9995
  }),
9979
9996
  eg
9980
9997
  ]),
9981
- N("div", tg, [
9998
+ O("div", tg, [
9982
9999
  T(J(zh), {
9983
10000
  removable: S.removable,
9984
10001
  onDateSelect: C,
9985
10002
  onDeleteClick: R,
9986
- onEventClick: H,
10003
+ onEventClick: P,
9987
10004
  ref_key: "_refCalendar",
9988
10005
  ref: d,
9989
10006
  options: o.value,
@@ -9999,21 +10016,21 @@ const Qh = /* @__PURE__ */ sr(Yh, [["__scopeId", "data-v-52806adf"]]), $h = wn(Q
9999
10016
  "onUpdate:modelValue": D[11] || (D[11] = (V) => A.value = V)
10000
10017
  }, {
10001
10018
  header: M(() => [
10002
- N("div", null, [
10003
- N(
10019
+ O("div", null, [
10020
+ O(
10004
10021
  "span",
10005
10022
  ng,
10006
10023
  he(p.title),
10007
10024
  1
10008
10025
  /* TEXT */
10009
10026
  ),
10010
- p.operation === "update" ? (O(), L("span", rg, [
10011
- p.editable ? (O(), Ze(J(mi), {
10027
+ p.operation === "update" ? (N(), L("span", rg, [
10028
+ p.editable ? (N(), Ze(J(mi), {
10012
10029
  key: 1,
10013
10030
  style: { "margin-left": "4px" },
10014
10031
  name: "iksvg_qiehuan-daohang",
10015
10032
  onClick: E.cancelEdit
10016
- }, null, 8, ["onClick"])) : (O(), Ze(J(mi), {
10033
+ }, null, 8, ["onClick"])) : (N(), Ze(J(mi), {
10017
10034
  key: 0,
10018
10035
  style: { "margin-left": "4px" },
10019
10036
  name: "iksvg_xiugai",
@@ -10023,9 +10040,9 @@ const Qh = /* @__PURE__ */ sr(Yh, [["__scopeId", "data-v-52806adf"]]), $h = wn(Q
10023
10040
  ])
10024
10041
  ]),
10025
10042
  footer: M(() => [
10026
- N("span", cg, [
10027
- dr(S.$slots, "form-footer", {}, () => [
10028
- N("span", null, [
10043
+ O("span", cg, [
10044
+ ur(S.$slots, "form-footer", {}, () => [
10045
+ O("span", null, [
10029
10046
  T(U, {
10030
10047
  onClick: E.close
10031
10048
  }, {
@@ -10059,7 +10076,7 @@ const Qh = /* @__PURE__ */ sr(Yh, [["__scopeId", "data-v-52806adf"]]), $h = wn(Q
10059
10076
  ])
10060
10077
  ]),
10061
10078
  default: M(() => [
10062
- dr(S.$slots, "form", {}, () => [
10079
+ ur(S.$slots, "form", {}, () => [
10063
10080
  T(hl, {
10064
10081
  ref_key: "_editFormRef",
10065
10082
  ref: b,
@@ -10067,7 +10084,7 @@ const Qh = /* @__PURE__ */ sr(Yh, [["__scopeId", "data-v-52806adf"]]), $h = wn(Q
10067
10084
  disabled: !p.editable
10068
10085
  }, {
10069
10086
  default: M(() => [
10070
- T(Ft, null, {
10087
+ T(Wt, null, {
10071
10088
  default: M(() => [
10072
10089
  T(se, { class: "icon" }, {
10073
10090
  default: M(() => [
@@ -10076,7 +10093,7 @@ const Qh = /* @__PURE__ */ sr(Yh, [["__scopeId", "data-v-52806adf"]]), $h = wn(Q
10076
10093
  _: 1
10077
10094
  /* STABLE */
10078
10095
  }),
10079
- T(or, {
10096
+ T(ar, {
10080
10097
  modelValue: p.form.title,
10081
10098
  "onUpdate:modelValue": D[4] || (D[4] = (V) => p.form.title = V),
10082
10099
  placeholder: "请输入标题",
@@ -10087,7 +10104,7 @@ const Qh = /* @__PURE__ */ sr(Yh, [["__scopeId", "data-v-52806adf"]]), $h = wn(Q
10087
10104
  _: 1
10088
10105
  /* STABLE */
10089
10106
  }),
10090
- T(Ft, null, {
10107
+ T(Wt, null, {
10091
10108
  default: M(() => [
10092
10109
  T(se, { class: "icon" }, {
10093
10110
  default: M(() => [
@@ -10096,8 +10113,8 @@ const Qh = /* @__PURE__ */ sr(Yh, [["__scopeId", "data-v-52806adf"]]), $h = wn(Q
10096
10113
  _: 1
10097
10114
  /* STABLE */
10098
10115
  }),
10099
- N("div", ig, [
10100
- T(ar, {
10116
+ O("div", ig, [
10117
+ T(cr, {
10101
10118
  disabled: "",
10102
10119
  modelValue: p.form.startDate,
10103
10120
  "onUpdate:modelValue": D[5] || (D[5] = (V) => p.form.startDate = V),
@@ -10105,9 +10122,9 @@ const Qh = /* @__PURE__ */ sr(Yh, [["__scopeId", "data-v-52806adf"]]), $h = wn(Q
10105
10122
  placeholder: "开始日期",
10106
10123
  style: Se({ width: p.form.allDay ? "45%" : "90%" })
10107
10124
  }, null, 8, ["modelValue", "style"]),
10108
- p.form.allDay ? (O(), L("div", og, [
10125
+ p.form.allDay ? (N(), L("div", og, [
10109
10126
  ag,
10110
- T(ar, {
10127
+ T(cr, {
10111
10128
  disabled: "",
10112
10129
  modelValue: p.form.endDate,
10113
10130
  "onUpdate:modelValue": D[8] || (D[8] = (V) => p.form.endDate = V),
@@ -10115,8 +10132,8 @@ const Qh = /* @__PURE__ */ sr(Yh, [["__scopeId", "data-v-52806adf"]]), $h = wn(Q
10115
10132
  placeholder: "结束日期",
10116
10133
  style: { width: "90%" }
10117
10134
  }, null, 8, ["modelValue"])
10118
- ])) : (O(), L("div", sg, [
10119
- T(cr, {
10135
+ ])) : (N(), L("div", sg, [
10136
+ T(dr, {
10120
10137
  modelValue: p.form.startTime,
10121
10138
  "onUpdate:modelValue": D[6] || (D[6] = (V) => p.form.startTime = V),
10122
10139
  type: "datetime",
@@ -10125,7 +10142,7 @@ const Qh = /* @__PURE__ */ sr(Yh, [["__scopeId", "data-v-52806adf"]]), $h = wn(Q
10125
10142
  format: "HH:mm"
10126
10143
  }, null, 8, ["modelValue"]),
10127
10144
  lg,
10128
- T(cr, {
10145
+ T(dr, {
10129
10146
  modelValue: p.form.endTime,
10130
10147
  "onUpdate:modelValue": D[7] || (D[7] = (V) => p.form.endTime = V),
10131
10148
  type: "datetime",
@@ -10145,7 +10162,7 @@ const Qh = /* @__PURE__ */ sr(Yh, [["__scopeId", "data-v-52806adf"]]), $h = wn(Q
10145
10162
  _: 1
10146
10163
  /* STABLE */
10147
10164
  }),
10148
- T(Ft, null, {
10165
+ T(Wt, null, {
10149
10166
  default: M(() => [
10150
10167
  T(se, { class: "icon" }, {
10151
10168
  default: M(() => [
@@ -10154,7 +10171,7 @@ const Qh = /* @__PURE__ */ sr(Yh, [["__scopeId", "data-v-52806adf"]]), $h = wn(Q
10154
10171
  _: 1
10155
10172
  /* STABLE */
10156
10173
  }),
10157
- T(or, {
10174
+ T(ar, {
10158
10175
  type: "textarea",
10159
10176
  modelValue: p.form.remark,
10160
10177
  "onUpdate:modelValue": D[10] || (D[10] = (V) => p.form.remark = V),
@@ -10179,7 +10196,7 @@ const Qh = /* @__PURE__ */ sr(Yh, [["__scopeId", "data-v-52806adf"]]), $h = wn(Q
10179
10196
  };
10180
10197
  }
10181
10198
  });
10182
- const fg = /* @__PURE__ */ sr(ug, [["__scopeId", "data-v-e308f501"]]), mg = wn(fg);
10199
+ const fg = /* @__PURE__ */ lr(ug, [["__scopeId", "data-v-e308f501"]]), mg = Cn(fg);
10183
10200
  export {
10184
10201
  mg as IkSchedule,
10185
10202
  mg as default