jamespot-react-components 1.3.89 → 1.3.90

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.
@@ -4,7 +4,7 @@ import * as Hi from "react";
4
4
  import oe, { useState as S, useEffect as M, useRef as le, useMemo as te, useContext as Wa, forwardRef as qe, createContext as tu, useCallback as F, useImperativeHandle as nu, useLayoutEffect as Vi, createElement as ya, Fragment as Dr, PureComponent as yE, createRef as ba, Component as sj, Suspense as bE, memo as rv, Children as CE } from "react";
5
5
  import { DndProvider as BE, useDrop as vs, useDrag as Xa } from "react-dnd";
6
6
  import { HTML5Backend as EE } from "react-dnd-html5-backend";
7
- import m, { ThemeContext as aj, css as st, useTheme as at, keyframes as ws, ThemeProvider as lj } from "styled-components";
7
+ import m, { ThemeContext as aj, css as ot, useTheme as at, keyframes as ws, ThemeProvider as lj } from "styled-components";
8
8
  import { useIntl as q, FormattedMessage as Me } from "react-intl";
9
9
  import { Link as cj } from "react-router-dom";
10
10
  import { useController as DE, useForm as dn, useWatch as ru } from "react-hook-form";
@@ -1309,8 +1309,8 @@ function cR({
1309
1309
  const D = pl(f, C, () => /* @__PURE__ */ new WeakMap());
1310
1310
  return pl(D, E, () => {
1311
1311
  const T = {};
1312
- for (const [j, Q] of Object.entries(r.selectors ?? {}))
1313
- T[j] = dR(Q, E, () => pl(g, E, v), C);
1312
+ for (const [j, O] of Object.entries(r.selectors ?? {}))
1313
+ T[j] = dR(O, E, () => pl(g, E, v), C);
1314
1314
  return T;
1315
1315
  });
1316
1316
  }
@@ -1684,13 +1684,13 @@ function BR(e, t) {
1684
1684
  let E = b;
1685
1685
  x && (E = new Set(b));
1686
1686
  let D = [];
1687
- for (const Q of E) {
1688
- const R = C[Q];
1687
+ for (const O of E) {
1688
+ const R = C[O];
1689
1689
  R && D.push(R);
1690
1690
  }
1691
1691
  const T = D.length === 0;
1692
- for (const Q of w)
1693
- B[e(Q)] = Q, T || CR(D, Q, t);
1692
+ for (const O of w)
1693
+ B[e(O)] = O, T || CR(D, O, t);
1694
1694
  T ? D = w.slice().sort(t) : y && D.sort(t);
1695
1695
  const j = D.map(e);
1696
1696
  h(b, j) || (v.ids = j);
@@ -6484,7 +6484,7 @@ function XH() {
6484
6484
  function e(I) {
6485
6485
  if (I == null) return null;
6486
6486
  if (typeof I == "function")
6487
- return I.$$typeof === Q ? null : I.displayName || I.name || null;
6487
+ return I.$$typeof === O ? null : I.displayName || I.name || null;
6488
6488
  if (typeof I == "string") return I;
6489
6489
  switch (I) {
6490
6490
  case v:
@@ -6674,7 +6674,7 @@ React keys must be passed directly to JSX without using spread:
6674
6674
  function f(I) {
6675
6675
  return typeof I == "object" && I !== null && I.$$typeof === h;
6676
6676
  }
6677
- var g = oe, h = /* @__PURE__ */ Symbol.for("react.transitional.element"), p = /* @__PURE__ */ Symbol.for("react.portal"), v = /* @__PURE__ */ Symbol.for("react.fragment"), w = /* @__PURE__ */ Symbol.for("react.strict_mode"), y = /* @__PURE__ */ Symbol.for("react.profiler"), x = /* @__PURE__ */ Symbol.for("react.consumer"), C = /* @__PURE__ */ Symbol.for("react.context"), b = /* @__PURE__ */ Symbol.for("react.forward_ref"), B = /* @__PURE__ */ Symbol.for("react.suspense"), E = /* @__PURE__ */ Symbol.for("react.suspense_list"), D = /* @__PURE__ */ Symbol.for("react.memo"), T = /* @__PURE__ */ Symbol.for("react.lazy"), j = /* @__PURE__ */ Symbol.for("react.activity"), Q = /* @__PURE__ */ Symbol.for("react.client.reference"), R = g.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, z = Object.prototype.hasOwnProperty, W = Array.isArray, G = console.createTask ? console.createTask : function() {
6677
+ var g = oe, h = /* @__PURE__ */ Symbol.for("react.transitional.element"), p = /* @__PURE__ */ Symbol.for("react.portal"), v = /* @__PURE__ */ Symbol.for("react.fragment"), w = /* @__PURE__ */ Symbol.for("react.strict_mode"), y = /* @__PURE__ */ Symbol.for("react.profiler"), x = /* @__PURE__ */ Symbol.for("react.consumer"), C = /* @__PURE__ */ Symbol.for("react.context"), b = /* @__PURE__ */ Symbol.for("react.forward_ref"), B = /* @__PURE__ */ Symbol.for("react.suspense"), E = /* @__PURE__ */ Symbol.for("react.suspense_list"), D = /* @__PURE__ */ Symbol.for("react.memo"), T = /* @__PURE__ */ Symbol.for("react.lazy"), j = /* @__PURE__ */ Symbol.for("react.activity"), O = /* @__PURE__ */ Symbol.for("react.client.reference"), R = g.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, z = Object.prototype.hasOwnProperty, W = Array.isArray, G = console.createTask ? console.createTask : function() {
6678
6678
  return null;
6679
6679
  };
6680
6680
  g = {
@@ -6770,15 +6770,15 @@ function Tr() {
6770
6770
  throw new Error("useMyContext must be used inside <MyContext.Provider>");
6771
6771
  return e;
6772
6772
  }
6773
- const hu = (e = {}) => st`
6773
+ const hu = (e = {}) => ot`
6774
6774
  outline: 2px solid;
6775
6775
  outline-color: ${(t) => e.color ? Ko(t.theme, e.color) : "currentColor"};
6776
6776
  outline-offset: ${e.offset ?? "-4px"};
6777
- `, tt = (e = {}) => st`
6777
+ `, tt = (e = {}) => ot`
6778
6778
  &:focus-visible {
6779
6779
  ${hu(e)}
6780
6780
  }
6781
- `, qH = (e = {}) => st`
6781
+ `, qH = (e = {}) => ot`
6782
6782
  &:focus-visible::after {
6783
6783
  content: '';
6784
6784
  position: absolute;
@@ -6786,7 +6786,7 @@ const hu = (e = {}) => st`
6786
6786
  border-radius: 8px;
6787
6787
  ${hu(e)}
6788
6788
  }
6789
- `, gA = st`
6789
+ `, gA = ot`
6790
6790
  position: absolute;
6791
6791
  width: 1px;
6792
6792
  height: 1px;
@@ -6848,7 +6848,7 @@ const hu = (e = {}) => st`
6848
6848
  }
6849
6849
  )
6850
6850
  ] });
6851
- }, wD = st`
6851
+ }, wD = ot`
6852
6852
  background: linear-gradient(-90deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.05) 100%);
6853
6853
  background-size: 400% 400%;
6854
6854
  animation: pulse 1.2s ease-in-out infinite;
@@ -6860,12 +6860,12 @@ const hu = (e = {}) => st`
6860
6860
  background-position: -135% 0%;
6861
6861
  }
6862
6862
  }
6863
- `, pv = (e) => st`
6863
+ `, pv = (e) => ot`
6864
6864
  overflow: hidden;
6865
6865
  text-overflow: ellipsis;
6866
6866
  white-space: nowrap;
6867
6867
  ${e && `max-width: ${typeof e == "number" ? `${e}px` : e}`};
6868
- `, mv = st`
6868
+ `, mv = ot`
6869
6869
  ${(e) => e.position && `position: ${e.position}`};
6870
6870
  ${(e) => e.display && `display: ${e.display}`};
6871
6871
  ${(e) => e.margin && `margin: ${e.margin}`};
@@ -7373,7 +7373,7 @@ const hu = (e = {}) => st`
7373
7373
  ${({ size: e }) => e === "s" && `font-size: ${pu.s}px;`};
7374
7374
  `, iF = m.span`
7375
7375
  ${gA}
7376
- `, yD = st`
7376
+ `, yD = ot`
7377
7377
  float: ${(e) => e.float};
7378
7378
  min-width: ${(e) => e.minWidth};
7379
7379
  display: inline-flex;
@@ -7463,7 +7463,7 @@ const hu = (e = {}) => st`
7463
7463
  ]
7464
7464
  }
7465
7465
  );
7466
- }, CD = qe(oF), xs = st`
7466
+ }, CD = qe(oF), xs = ot`
7467
7467
  line-height: 1.5em;
7468
7468
  `, sF = m.h1`
7469
7469
  ${xs};
@@ -7487,7 +7487,7 @@ const hu = (e = {}) => st`
7487
7487
  ["m", "14px"],
7488
7488
  // default
7489
7489
  ["l", "16px"]
7490
- ]), BD = st`
7490
+ ]), BD = ot`
7491
7491
  ${xs};
7492
7492
  font-size: ${(e) => dF.get(e.size ?? "m")};
7493
7493
  `, ns = m.p`
@@ -7777,7 +7777,7 @@ const yF = 50, bF = async (e, t, n) => {
7777
7777
  }, g = xv(A), h = wv(g), p = await o.getDimensions(c), v = g === "y", w = v ? "top" : "left", y = v ? "bottom" : "right", x = v ? "clientHeight" : "clientWidth", C = i.reference[h] + i.reference[g] - f[g] - i.floating[h], b = f[g] - i.reference[g], B = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(c));
7778
7778
  let E = B ? B[x] : 0;
7779
7779
  (!E || !await (o.isElement == null ? void 0 : o.isElement(B))) && (E = a.floating[x] || i.floating[h]);
7780
- const D = C / 2 - b / 2, T = E / 2 - p[h] / 2 - 1, j = rs(u[w], T), Q = rs(u[y], T), R = j, z = E - p[h] - Q, W = E / 2 - p[h] / 2 + D, G = Np(R, W, z), ne = !l.arrow && Ka(A) != null && W !== G && i.reference[h] / 2 - (W < R ? j : Q) - p[h] / 2 < 0, _ = ne ? W < R ? W - R : W - z : 0;
7780
+ const D = C / 2 - b / 2, T = E / 2 - p[h] / 2 - 1, j = rs(u[w], T), O = rs(u[y], T), R = j, z = E - p[h] - O, W = E / 2 - p[h] / 2 + D, G = Np(R, W, z), ne = !l.arrow && Ka(A) != null && W !== G && i.reference[h] / 2 - (W < R ? j : O) - p[h] / 2 < 0, _ = ne ? W < R ? W - R : W - z : 0;
7781
7781
  return {
7782
7782
  [g]: f[g] + _,
7783
7783
  data: {
@@ -7826,8 +7826,8 @@ const yF = 50, bF = async (e, t, n) => {
7826
7826
  placement: A,
7827
7827
  overflows: T
7828
7828
  }], !T.every((W) => W <= 0)) {
7829
- var Q, R;
7830
- const W = (((Q = i.flip) == null ? void 0 : Q.index) || 0) + 1, G = E[W];
7829
+ var O, R;
7830
+ const W = (((O = i.flip) == null ? void 0 : O.index) || 0) + 1, G = E[W];
7831
7831
  if (G && (!(u === "alignment" ? y !== YA(G) : !1) || // We leave the current main axis only if every placement on that axis
7832
7832
  // overflows the main axis.
7833
7833
  j.every(($) => YA($.placement) === y ? $.overflows[0] > 0 : !0)))
@@ -8583,7 +8583,7 @@ function PD(e = iM) {
8583
8583
  return Wa(sM).getTooltipData(e);
8584
8584
  }
8585
8585
  var lo = { tooltip: "core-styles-module_tooltip__3vRRp", fixed: "core-styles-module_fixed__pcSol", arrow: "core-styles-module_arrow__cvMwQ", noArrow: "core-styles-module_noArrow__xock6", clickable: "core-styles-module_clickable__ZuTTB", show: "core-styles-module_show__Nt9eE", closing: "core-styles-module_closing__sGnxF" }, wg = { tooltip: "styles-module_tooltip__mnnfp", arrow: "styles-module_arrow__K0L3T", dark: "styles-module_dark__xNqje", light: "styles-module_light__Z6W-X", success: "styles-module_success__A2AKt", warning: "styles-module_warning__SCK0X", error: "styles-module_error__JvumD", info: "styles-module_info__BWdHW" };
8586
- const aM = ({ forwardRef: e, id: t, className: n, classNameArrow: r, variant: A = "dark", anchorId: i, anchorSelect: o, place: a = "top", offset: l = 10, events: c = ["hover"], openOnClick: d = !1, positionStrategy: u = "absolute", middlewares: f, wrapper: g, delayShow: h = 0, delayHide: p = 0, float: v = !1, hidden: w = !1, noArrow: y = !1, clickable: x = !1, closeOnEsc: C = !1, closeOnScroll: b = !1, closeOnResize: B = !1, openEvents: E, closeEvents: D, globalCloseEvents: T, imperativeModeOnly: j, style: Q, position: R, afterShow: z, afterHide: W, disableTooltip: G, content: ne, contentWrapperRef: _, isOpen: $, defaultIsOpen: re = !1, setIsOpen: P, previousActiveAnchor: I, activeAnchor: L, setActiveAnchor: K, border: X, opacity: k, arrowColor: N, arrowSize: J = 8, role: ee = "tooltip" }) => {
8586
+ const aM = ({ forwardRef: e, id: t, className: n, classNameArrow: r, variant: A = "dark", anchorId: i, anchorSelect: o, place: a = "top", offset: l = 10, events: c = ["hover"], openOnClick: d = !1, positionStrategy: u = "absolute", middlewares: f, wrapper: g, delayShow: h = 0, delayHide: p = 0, float: v = !1, hidden: w = !1, noArrow: y = !1, clickable: x = !1, closeOnEsc: C = !1, closeOnScroll: b = !1, closeOnResize: B = !1, openEvents: E, closeEvents: D, globalCloseEvents: T, imperativeModeOnly: j, style: O, position: R, afterShow: z, afterHide: W, disableTooltip: G, content: ne, contentWrapperRef: _, isOpen: $, defaultIsOpen: re = !1, setIsOpen: P, previousActiveAnchor: I, activeAnchor: L, setActiveAnchor: K, border: X, opacity: k, arrowColor: N, arrowSize: J = 8, role: ee = "tooltip" }) => {
8587
8587
  var fe;
8588
8588
  const V = le(null), xe = le(null), U = le(null), He = le(null), ce = le(null), [Ee, nt] = S({ tooltipStyles: {}, tooltipArrowStyles: {}, place: a }), [Ce, Xe] = S(!1), [de, We] = S(!1), [me, Ft] = S(null), jr = le(!1), Mn = le(null), { anchorRefs: Nn, setActiveAnchor: kn } = PD(t), An = le(!1), [Un, _r] = S([]), ur = le(!1), fr = d || c.includes("click"), xA = fr || E?.click || E?.dblclick || E?.mousedown, gr = E ? { ...E } : { mouseover: !0, focus: !0, mouseenter: !1, click: !1, dblclick: !1, mousedown: !1 };
8589
8589
  !E && fr && Object.assign(gr, { mouseenter: !1, focus: !1, mouseover: !1, click: !0 });
@@ -8683,7 +8683,7 @@ const aM = ({ forwardRef: e, id: t, className: n, classNameArrow: r, variant: A
8683
8683
  we ? _e(we) : v ? Mn.current && _e(Mn.current) : L?.isConnected && Iy({ place: (Re = me?.place) !== null && Re !== void 0 ? Re : a, offset: l, elementReference: L, tooltipReference: V.current, tooltipArrowReference: xe.current, strategy: u, middlewares: f, border: X, arrowSize: J }).then(((rt) => {
8684
8684
  ur.current && hr(rt);
8685
8685
  }));
8686
- }), [Ce, L, ne, Q, a, me?.place, l, u, R, me?.position, v, J]);
8686
+ }), [Ce, L, ne, O, a, me?.place, l, u, R, me?.position, v, J]);
8687
8687
  M((() => {
8688
8688
  var ge, Re;
8689
8689
  const we = new Set(Nn);
@@ -8801,8 +8801,8 @@ const aM = ({ forwardRef: e, id: t, className: n, classNameArrow: r, variant: A
8801
8801
  ge?.delay ? Ne(ge.delay) : Mt(!1);
8802
8802
  }, activeAnchor: L, place: Ee.place, isOpen: !!(de && !w && un && $r) }))), de && !w && un ? oe.createElement(g, { id: t, role: ee, className: zp("react-tooltip", lo.tooltip, wg.tooltip, wg[A], n, `react-tooltip__place-${Ee.place}`, lo[$r ? "show" : "closing"], $r ? "react-tooltip__show" : "react-tooltip__closing", u === "fixed" && lo.fixed, x && lo.clickable), onTransitionEnd: (ge) => {
8803
8803
  mr(ce), Ce || ge.propertyName !== "opacity" || (We(!1), Ft(null), W?.());
8804
- }, style: { ...Q, ...Ee.tooltipStyles, opacity: k !== void 0 && $r ? k : void 0 }, ref: V }, un, oe.createElement(g, { className: zp("react-tooltip-arrow", lo.arrow, wg.arrow, r, y && lo.noArrow), style: { ...Ee.tooltipArrowStyles, background: N ? `linear-gradient(to right bottom, transparent 50%, ${N} 50%)` : void 0, "--rt-arrow-size": `${J}px` }, ref: xe })) : null;
8805
- }, lM = ({ content: e }) => oe.createElement("span", { dangerouslySetInnerHTML: { __html: e } }), cM = oe.forwardRef((({ id: e, anchorId: t, anchorSelect: n, content: r, html: A, render: i, className: o, classNameArrow: a, variant: l = "dark", place: c = "top", offset: d = 10, wrapper: u = "div", children: f = null, events: g = ["hover"], openOnClick: h = !1, positionStrategy: p = "absolute", middlewares: v, delayShow: w = 0, delayHide: y = 0, float: x = !1, hidden: C = !1, noArrow: b = !1, clickable: B = !1, closeOnEsc: E = !1, closeOnScroll: D = !1, closeOnResize: T = !1, openEvents: j, closeEvents: Q, globalCloseEvents: R, imperativeModeOnly: z = !1, style: W, position: G, isOpen: ne, defaultIsOpen: _ = !1, disableStyleInjection: $ = !1, border: re, opacity: P, arrowColor: I, arrowSize: L, setIsOpen: K, afterShow: X, afterHide: k, disableTooltip: N, role: J = "tooltip" }, ee) => {
8804
+ }, style: { ...O, ...Ee.tooltipStyles, opacity: k !== void 0 && $r ? k : void 0 }, ref: V }, un, oe.createElement(g, { className: zp("react-tooltip-arrow", lo.arrow, wg.arrow, r, y && lo.noArrow), style: { ...Ee.tooltipArrowStyles, background: N ? `linear-gradient(to right bottom, transparent 50%, ${N} 50%)` : void 0, "--rt-arrow-size": `${J}px` }, ref: xe })) : null;
8805
+ }, lM = ({ content: e }) => oe.createElement("span", { dangerouslySetInnerHTML: { __html: e } }), cM = oe.forwardRef((({ id: e, anchorId: t, anchorSelect: n, content: r, html: A, render: i, className: o, classNameArrow: a, variant: l = "dark", place: c = "top", offset: d = 10, wrapper: u = "div", children: f = null, events: g = ["hover"], openOnClick: h = !1, positionStrategy: p = "absolute", middlewares: v, delayShow: w = 0, delayHide: y = 0, float: x = !1, hidden: C = !1, noArrow: b = !1, clickable: B = !1, closeOnEsc: E = !1, closeOnScroll: D = !1, closeOnResize: T = !1, openEvents: j, closeEvents: O, globalCloseEvents: R, imperativeModeOnly: z = !1, style: W, position: G, isOpen: ne, defaultIsOpen: _ = !1, disableStyleInjection: $ = !1, border: re, opacity: P, arrowColor: I, arrowSize: L, setIsOpen: K, afterShow: X, afterHide: k, disableTooltip: N, role: J = "tooltip" }, ee) => {
8806
8806
  const [fe, V] = S(r), [xe, U] = S(A), [He, ce] = S(c), [Ee, nt] = S(l), [Ce, Xe] = S(d), [de, We] = S(w), [me, Ft] = S(y), [jr, Mn] = S(x), [Nn, kn] = S(C), [An, Un] = S(u), [_r, ur] = S(g), [fr, xA] = S(p), [gr, zn] = S(null), [ht, Mt] = S(null), hr = le(null), Rr = le($), { anchorRefs: Ne, activeAnchor: Je } = PD(e), De = (Ke) => Ke?.getAttributeNames().reduce(((Qt, Qe) => {
8807
8807
  var Ye;
8808
8808
  return Qe.startsWith("data-tooltip-") && (Qt[Qe.replace(/^data-tooltip-/, "")] = (Ye = Ke?.getAttribute(Qe)) !== null && Ye !== void 0 ? Ye : null), Qt;
@@ -8906,7 +8906,7 @@ const aM = ({ forwardRef: e, id: t, className: n, classNameArrow: r, variant: A
8906
8906
  Et = Ke ? oe.createElement("div", { ref: Ve, className: "react-tooltip-content-wrapper" }, Ke) : null;
8907
8907
  } else fe && (Et = fe);
8908
8908
  xe && (Et = oe.createElement(lM, { content: xe }));
8909
- const kA = { forwardRef: ee, id: e, anchorId: t, anchorSelect: n, className: zp(o, gr), classNameArrow: a, content: Et, contentWrapperRef: Ve, place: He, variant: Ee, offset: Ce, wrapper: An, events: _r, openOnClick: h, positionStrategy: fr, middlewares: v, delayShow: de, delayHide: me, float: jr, hidden: Nn, noArrow: b, clickable: B, closeOnEsc: E, closeOnScroll: D, closeOnResize: T, openEvents: j, closeEvents: Q, globalCloseEvents: R, imperativeModeOnly: z, style: W, position: G, isOpen: ne, defaultIsOpen: _, border: re, opacity: P, arrowColor: I, arrowSize: L, setIsOpen: K, afterShow: X, afterHide: k, disableTooltip: N, activeAnchor: ht, previousActiveAnchor: hr.current, setActiveAnchor: (Ke) => {
8909
+ const kA = { forwardRef: ee, id: e, anchorId: t, anchorSelect: n, className: zp(o, gr), classNameArrow: a, content: Et, contentWrapperRef: Ve, place: He, variant: Ee, offset: Ce, wrapper: An, events: _r, openOnClick: h, positionStrategy: fr, middlewares: v, delayShow: de, delayHide: me, float: jr, hidden: Nn, noArrow: b, clickable: B, closeOnEsc: E, closeOnScroll: D, closeOnResize: T, openEvents: j, closeEvents: O, globalCloseEvents: R, imperativeModeOnly: z, style: W, position: G, isOpen: ne, defaultIsOpen: _, border: re, opacity: P, arrowColor: I, arrowSize: L, setIsOpen: K, afterShow: X, afterHide: k, disableTooltip: N, activeAnchor: ht, previousActiveAnchor: hr.current, setActiveAnchor: (Ke) => {
8910
8910
  Mt(((Qt) => (Ke?.isSameNode(Qt) || (hr.current = Qt), Ke)));
8911
8911
  }, role: J };
8912
8912
  return oe.createElement(aM, { ...kA });
@@ -9341,7 +9341,7 @@ function UD() {
9341
9341
  } = n, {
9342
9342
  importNode: j
9343
9343
  } = r;
9344
- let Q = zy();
9344
+ let O = zy();
9345
9345
  t.isSupported = typeof MD == "function" && typeof x == "function" && B && B.createHTMLDocument !== void 0;
9346
9346
  const {
9347
9347
  MUSTACHE_EXPR: R,
@@ -9508,10 +9508,10 @@ function UD() {
9508
9508
  }
9509
9509
  const Ct = function(H) {
9510
9510
  let ae = null;
9511
- if (Wt(Q.beforeSanitizeElements, H, null), Wn(H))
9511
+ if (Wt(O.beforeSanitizeElements, H, null), Wn(H))
9512
9512
  return we(H), !0;
9513
9513
  const ye = Ke(H.nodeName);
9514
- if (Wt(Q.uponSanitizeElement, H, {
9514
+ if (Wt(O.uponSanitizeElement, H, {
9515
9515
  tagName: ye,
9516
9516
  allowedTags: I
9517
9517
  }), ce && H.hasChildNodes() && !on(H.firstElementChild) && Dn(/<[/\w!]/g, H.innerHTML) && Dn(/<[/\w!]/g, H.textContent) || H.nodeType === Hs.progressingInstruction || ce && H.nodeType === Hs.comment && Dn(/<[/\w]/g, H.data))
@@ -9535,7 +9535,7 @@ function UD() {
9535
9535
  ae = Rs(ae, Le, " ");
9536
9536
  }), H.textContent !== ae && (js(t.removed, {
9537
9537
  element: H.cloneNode()
9538
- }), H.textContent = ae)), Wt(Q.afterSanitizeElements, H, null), !1);
9538
+ }), H.textContent = ae)), Wt(O.afterSanitizeElements, H, null), !1);
9539
9539
  }, yA = function(H, ae, ye) {
9540
9540
  if (J[ae] || me && (ae === "id" || ae === "name") && (ye in n || ye in Qe))
9541
9541
  return !1;
@@ -9568,7 +9568,7 @@ function UD() {
9568
9568
  }, dl = function(H) {
9569
9569
  return H !== "annotation-xml" && bg(H, re);
9570
9570
  }, ul = function(H) {
9571
- Wt(Q.beforeSanitizeAttributes, H, null);
9571
+ Wt(O.beforeSanitizeAttributes, H, null);
9572
9572
  const {
9573
9573
  attributes: ae
9574
9574
  } = H;
@@ -9589,7 +9589,7 @@ function UD() {
9589
9589
  value: Lr
9590
9590
  } = Dt, eA = Ke(jt), lf = Lr;
9591
9591
  let fn = jt === "value" ? lf : UM(lf);
9592
- if (ye.attrName = eA, ye.attrValue = fn, ye.keepAttr = !0, ye.forceKeepAttr = void 0, Wt(Q.uponSanitizeAttribute, H, ye), fn = ye.attrValue, Ft && (eA === "id" || eA === "name") && (rt(jt, H), fn = jr + fn), ce && Dn(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, fn)) {
9592
+ if (ye.attrName = eA, ye.attrValue = fn, ye.keepAttr = !0, ye.forceKeepAttr = void 0, Wt(O.uponSanitizeAttribute, H, ye), fn = ye.attrValue, Ft && (eA === "id" || eA === "name") && (rt(jt, H), fn = jr + fn), ce && Dn(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, fn)) {
9593
9593
  rt(jt, H);
9594
9594
  continue;
9595
9595
  }
@@ -9633,13 +9633,13 @@ function UD() {
9633
9633
  rt(jt, H);
9634
9634
  }
9635
9635
  }
9636
- Wt(Q.afterSanitizeAttributes, H, null);
9636
+ Wt(O.afterSanitizeAttributes, H, null);
9637
9637
  }, fl = function Se(H) {
9638
9638
  let ae = null;
9639
9639
  const ye = Yn(H);
9640
- for (Wt(Q.beforeSanitizeShadowDOM, H, null); ae = ye.nextNode(); )
9641
- Wt(Q.uponSanitizeShadowNode, ae, null), Ct(ae), ul(ae), ae.content instanceof i && Se(ae.content);
9642
- Wt(Q.afterSanitizeShadowDOM, H, null);
9640
+ for (Wt(O.beforeSanitizeShadowDOM, H, null); ae = ye.nextNode(); )
9641
+ Wt(O.uponSanitizeShadowNode, ae, null), Ct(ae), ul(ae), ae.content instanceof i && Se(ae.content);
9642
+ Wt(O.afterSanitizeShadowDOM, H, null);
9643
9643
  };
9644
9644
  return t.sanitize = function(Se) {
9645
9645
  let H = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, ae = null, ye = null, Le = null, Dt = null;
@@ -9695,17 +9695,17 @@ function UD() {
9695
9695
  const ye = Ke(Se), Le = Ke(H);
9696
9696
  return yA(ye, Le, ae);
9697
9697
  }, t.addHook = function(Se, H) {
9698
- typeof H == "function" && js(Q[Se], H);
9698
+ typeof H == "function" && js(O[Se], H);
9699
9699
  }, t.removeHook = function(Se, H) {
9700
9700
  if (H !== void 0) {
9701
- const ae = MM(Q[Se], H);
9702
- return ae === -1 ? void 0 : NM(Q[Se], ae, 1)[0];
9701
+ const ae = MM(O[Se], H);
9702
+ return ae === -1 ? void 0 : NM(O[Se], ae, 1)[0];
9703
9703
  }
9704
- return Hy(Q[Se]);
9704
+ return Hy(O[Se]);
9705
9705
  }, t.removeHooks = function(Se) {
9706
- Q[Se] = [];
9706
+ O[Se] = [];
9707
9707
  }, t.removeAllHooks = function() {
9708
- Q = zy();
9708
+ O = zy();
9709
9709
  }, t;
9710
9710
  }
9711
9711
  var zD = UD();
@@ -10414,7 +10414,7 @@ const bs = ({ condition: e, wrapper: t, wrapperFalse: n, children: r }) => /* @_
10414
10414
  /* @__PURE__ */ s.jsx(XD, { list: e._audience, limit: 4, filter: r, withoutLink: !0 })
10415
10415
  ] })
10416
10416
  ] });
10417
- }, BN = st`
10417
+ }, BN = ot`
10418
10418
  opacity: 0.5;
10419
10419
  position: relative;
10420
10420
  background-color: ${(e) => e.theme.color.grey1};
@@ -11206,11 +11206,11 @@ const Cu = [
11206
11206
  ${({ direction: e, x: t, y: n }) => !e || e === "row" ? t && `justify-content: ${t}` : n && `justify-content: ${n}`};
11207
11207
  ${({ direction: e, x: t, y: n }) => !e || e === "row" ? n && `align-items: ${n}` : t && `align-items: ${t}`};
11208
11208
  ${({ childFull: e }) => e && "& > * { width: 100% }"};
11209
- `, _N = st`
11209
+ `, _N = ot`
11210
11210
  border-radius: 0 8px 8px 0;
11211
- `, $N = st`
11211
+ `, $N = ot`
11212
11212
  border-radius: 8px 0px 0px 8px;
11213
- `, e1 = st`
11213
+ `, e1 = ot`
11214
11214
  margin: 0;
11215
11215
 
11216
11216
  ${(e) => e.$borderLeft && $N};
@@ -11361,12 +11361,12 @@ const Cu = [
11361
11361
  onClose: p,
11362
11362
  noMargin: v,
11363
11363
  onOpen: w
11364
- } = e, y = at(), x = { ...an[i][g ? "disabled" : A] }, [C, b] = S(h ?? !1), B = te(() => o || (a ? "s" : void 0), [o, a]), E = (Q) => {
11365
- Q.onClick?.(), b(!1), p?.();
11364
+ } = e, y = at(), x = { ...an[i][g ? "disabled" : A] }, [C, b] = S(h ?? !1), B = te(() => o || (a ? "s" : void 0), [o, a]), E = (O) => {
11365
+ O.onClick?.(), b(!1), p?.();
11366
11366
  };
11367
11367
  e.semiTransparentClosed && !C && B === "s" && (x.background = "black20", x.border = "black20");
11368
- const D = (Q) => {
11369
- Q.stopPropagation(), b((R) => (R ? p?.() : w?.(), !R));
11368
+ const D = (O) => {
11369
+ O.stopPropagation(), b((R) => (R ? p?.() : w?.(), !R));
11370
11370
  }, T = te(() => jn(), []), j = /* @__PURE__ */ s.jsxs(
11371
11371
  Iv,
11372
11372
  {
@@ -11438,40 +11438,40 @@ const Cu = [
11438
11438
  bs,
11439
11439
  {
11440
11440
  condition: !!B,
11441
- wrapper: (Q) => /* @__PURE__ */ s.jsx(
11441
+ wrapper: (O) => /* @__PURE__ */ s.jsx(
11442
11442
  ik,
11443
11443
  {
11444
11444
  size: o,
11445
11445
  direction: l,
11446
11446
  label: d ? HD(d, 30) : "",
11447
11447
  themeButton: x,
11448
- children: Q
11448
+ children: O
11449
11449
  }
11450
11450
  ),
11451
- wrapperFalse: (Q) => /* @__PURE__ */ s.jsx(t1, { children: Q }),
11452
- children: /* @__PURE__ */ s.jsx(lk, { children: u.map((Q, R) => /* @__PURE__ */ s.jsx(ck, { children: /* @__PURE__ */ s.jsxs(
11451
+ wrapperFalse: (O) => /* @__PURE__ */ s.jsx(t1, { children: O }),
11452
+ children: /* @__PURE__ */ s.jsx(lk, { children: u.map((O, R) => /* @__PURE__ */ s.jsx(ck, { children: /* @__PURE__ */ s.jsxs(
11453
11453
  ok,
11454
11454
  {
11455
- "data-cy": Q.dataCy ?? "dropdown_option_" + R,
11456
- as: Q.href && !Q.disabled ? "a" : void 0,
11457
- href: Q.href,
11458
- target: Q.target,
11459
- disabled: Q.disabled,
11455
+ "data-cy": O.dataCy ?? "dropdown_option_" + R,
11456
+ as: O.href && !O.disabled ? "a" : void 0,
11457
+ href: O.href,
11458
+ target: O.target,
11459
+ disabled: O.disabled,
11460
11460
  lastChild: R === u.length - 1,
11461
11461
  type: "button",
11462
- optionSelected: c && Q.label === d,
11463
- onClick: Q.href && !Q.disabled ? void 0 : (z) => {
11464
- z.stopPropagation(), E(Q);
11462
+ optionSelected: c && O.label === d,
11463
+ onClick: O.href && !O.disabled ? void 0 : (z) => {
11464
+ z.stopPropagation(), E(O);
11465
11465
  },
11466
11466
  children: [
11467
- !!Q.icon && /* @__PURE__ */ s.jsx(
11467
+ !!O.icon && /* @__PURE__ */ s.jsx(
11468
11468
  se,
11469
11469
  {
11470
- ...Q.icon,
11471
- size: ["circle", "square"].includes(Q.icon.variant ?? "") ? y.size.l : y.size.md
11470
+ ...O.icon,
11471
+ size: ["circle", "square"].includes(O.icon.variant ?? "") ? y.size.l : y.size.md
11472
11472
  }
11473
11473
  ),
11474
- Q.label
11474
+ O.label
11475
11475
  ]
11476
11476
  }
11477
11477
  ) }, R)) })
@@ -11488,7 +11488,7 @@ const Cu = [
11488
11488
  50% {
11489
11489
  background-color: ${t};
11490
11490
  }
11491
- `, n1 = (e) => st`
11491
+ `, n1 = (e) => ot`
11492
11492
  display: flex;
11493
11493
  flex-direction: column;
11494
11494
  gap: ${({ theme: t }) => t.space.sm}px;
@@ -11501,7 +11501,7 @@ const Cu = [
11501
11501
  aspect-ratio: ${(e.loading && e.skeleton ? e.skeleton.aspectRatio : e.aspectRatio) ?? "initial"};
11502
11502
  animation: ${({ theme: t }) => e.loading ? uk(t.color.white, t.color.grey1) : "none"} 3s
11503
11503
  infinite;
11504
- `, r1 = st`
11504
+ `, r1 = ot`
11505
11505
  &:hover {
11506
11506
  background-color: ${({ theme: e }) => e.color.grey1};
11507
11507
  border: 1px solid ${({ theme: e }) => e.color.grey2};
@@ -11674,7 +11674,7 @@ function wk(e, t) {
11674
11674
  i.current = e;
11675
11675
  }, [e]), { debouncedFunction: (o) => r(o), value: n };
11676
11676
  }
11677
- const xk = "data:image/svg+xml,%3csvg%20width='12'%20height='9'%20viewBox='0%200%2012%209'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M1%203.7648L4.45955%207.3191L11%201'%20stroke='%231ED492'%20stroke-width='1.5'/%3e%3cpath%20d='M1%203.7648L4.45955%207.3191L11%201'%20stroke='black'%20stroke-opacity='0.1'%20stroke-width='1.5'/%3e%3c/svg%3e", yk = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23FF2653'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20class='feather%20feather-x'%3e%3cline%20x1='18'%20y1='6'%20x2='6'%20y2='18'%3e%3c/line%3e%3cline%20x1='6'%20y1='6'%20x2='18'%20y2='18'%3e%3c/line%3e%3c/svg%3e", bk = st`
11677
+ const xk = "data:image/svg+xml,%3csvg%20width='12'%20height='9'%20viewBox='0%200%2012%209'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M1%203.7648L4.45955%207.3191L11%201'%20stroke='%231ED492'%20stroke-width='1.5'/%3e%3cpath%20d='M1%203.7648L4.45955%207.3191L11%201'%20stroke='black'%20stroke-opacity='0.1'%20stroke-width='1.5'/%3e%3c/svg%3e", yk = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23FF2653'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20class='feather%20feather-x'%3e%3cline%20x1='18'%20y1='6'%20x2='6'%20y2='18'%3e%3c/line%3e%3cline%20x1='6'%20y1='6'%20x2='18'%20y2='18'%3e%3c/line%3e%3c/svg%3e", bk = ot`
11678
11678
  &&&& {
11679
11679
  font-size: 16px;
11680
11680
  color: ${(e) => e.theme.color.grey6};
@@ -11734,7 +11734,7 @@ const xk = "data:image/svg+xml,%3csvg%20width='12'%20height='9'%20viewBox='0%200
11734
11734
  cursor: default;
11735
11735
  border-color: ${e.theme.color.grey2};
11736
11736
  }`};
11737
- `, Fv = st`
11737
+ `, Fv = ot`
11738
11738
  ${bk}
11739
11739
  &&&::placeholder {
11740
11740
  color: ${(e) => e.theme.color.grey5};
@@ -12289,7 +12289,7 @@ const u1 = (e, t) => {
12289
12289
  onLogin: d,
12290
12290
  currentAccount: u
12291
12291
  }) => {
12292
- const f = Ot(), g = q(), h = dr(), [p, v] = S([]), [w, y] = S(), [x, C] = S([]), [b, B] = S(u), [E, D] = S(), [T, j] = S(!1), [Q, R] = S(!0), [z, W] = S("");
12292
+ const f = Ot(), g = q(), h = dr(), [p, v] = S([]), [w, y] = S(), [x, C] = S([]), [b, B] = S(u), [E, D] = S(), [T, j] = S(!1), [O, R] = S(!0), [z, W] = S("");
12293
12293
  M(() => {
12294
12294
  a && a(x);
12295
12295
  }, [x, a]), M(() => {
@@ -12335,7 +12335,7 @@ const u1 = (e, t) => {
12335
12335
  );
12336
12336
  return M(() => {
12337
12337
  G();
12338
- }, [G]), c && Q ? /* @__PURE__ */ s.jsx($e, { size: "l" }) : /* @__PURE__ */ s.jsxs(l1, { children: [
12338
+ }, [G]), c && O ? /* @__PURE__ */ s.jsx($e, { size: "l" }) : /* @__PURE__ */ s.jsxs(l1, { children: [
12339
12339
  c && /* @__PURE__ */ s.jsx(
12340
12340
  o1,
12341
12341
  {
@@ -12618,7 +12618,7 @@ const v4 = ({
12618
12618
  onLogin: u,
12619
12619
  currentAccount: f
12620
12620
  }) => {
12621
- const g = Ot(), h = q(), p = dr(), [v, w] = S([]), [y, x] = S(), [C, b] = S(), [B, E] = S(), [D, T] = S([]), [j, Q] = S(f), [R, z] = S(), [W, G] = S(!1), [ne, _] = S(!0);
12621
+ const g = Ot(), h = q(), p = dr(), [v, w] = S([]), [y, x] = S(), [C, b] = S(), [B, E] = S(), [D, T] = S([]), [j, O] = S(f), [R, z] = S(), [W, G] = S(!1), [ne, _] = S(!0);
12622
12622
  M(() => {
12623
12623
  const P = e === void 0 ? { ...x4 } : { ...e };
12624
12624
  v.forEach((I) => {
@@ -12657,7 +12657,7 @@ const v4 = ({
12657
12657
  _(!0), G(!1), w([]), T([]), d && g.drive.listAccount(Il, { signal: p.signal }).then((I) => {
12658
12658
  if (z(I.result), I.result.length > 0) {
12659
12659
  const L = (P ? I.result.find((K) => K.id === P.id) : I.result.find((K) => K.default)) ?? I.result[0];
12660
- Q(L), g.drive.checkAccountToken(Il, { signal: p.signal }).then((K) => {
12660
+ O(L), g.drive.checkAccountToken(Il, { signal: p.signal }).then((K) => {
12661
12661
  K.result ? g.drive.isAccountLogged(Il, L.id, {
12662
12662
  signal: p.signal
12663
12663
  }).then((X) => {
@@ -12669,7 +12669,7 @@ const v4 = ({
12669
12669
  }) : (G(!1), _(!1));
12670
12670
  });
12671
12671
  } else
12672
- Q(void 0), G(!1), _(!1);
12672
+ O(void 0), G(!1), _(!1);
12673
12673
  }).catch((I) => {
12674
12674
  p.signal.aborted || (c && c(I.errorMsg), _(!1));
12675
12675
  });
@@ -12693,7 +12693,7 @@ const v4 = ({
12693
12693
  onLogin: $,
12694
12694
  isLogged: W,
12695
12695
  onSetDefaultAccount: (P) => {
12696
- Q((I) => I && { ...I, default: !0 }), z(
12696
+ O((I) => I && { ...I, default: !0 }), z(
12697
12697
  (I) => I && I.map(
12698
12698
  (L) => L.id === P.id ? { ...L, default: !0 } : { ...L, default: !1 }
12699
12699
  )
@@ -16959,8 +16959,8 @@ var Tz = 1, Wg = 2, Xg = 3, Sb = 4, Ib = 5, Oz = 7, Tb = 8, Gg = 9, Vg = 10, Ob
16959
16959
  } else if (u.name === "counters") {
16960
16960
  var x = u.values.filter(ss), p = x[0], C = x[1], v = x[2];
16961
16961
  if (p && wt(p)) {
16962
- var b = i.counters.getCounterValues(p.value), B = v && wt(v) ? lm.parse(i.context, v.value) : 3, E = C && C.type === 0 ? C.value : "", D = b.map(function(Q) {
16963
- return Qa(Q, B, !1);
16962
+ var b = i.counters.getCounterValues(p.value), B = v && wt(v) ? lm.parse(i.context, v.value) : 3, E = C && C.type === 0 ? C.value : "", D = b.map(function(O) {
16963
+ return Qa(O, B, !1);
16964
16964
  }).join(E);
16965
16965
  c.appendChild(a.createTextNode(D));
16966
16966
  }
@@ -17188,8 +17188,8 @@ var p5 = function(e, t) {
17188
17188
  v.push((i + l) / r.width), v.push((h + u) / r.width), v.push((o + p) / r.height), v.push((c + f) / r.height);
17189
17189
  var w = Math.max.apply(Math, v);
17190
17190
  w > 1 && (i /= w, o /= w, l /= w, c /= w, u /= w, f /= w, h /= w, p /= w);
17191
- var y = r.width - l, x = r.height - f, C = r.width - u, b = r.height - p, B = n.borderTopWidth, E = n.borderRightWidth, D = n.borderBottomWidth, T = n.borderLeftWidth, j = St(n.paddingTop, t.bounds.width), Q = St(n.paddingRight, t.bounds.width), R = St(n.paddingBottom, t.bounds.width), z = St(n.paddingLeft, t.bounds.width);
17192
- this.topLeftBorderDoubleOuterBox = i > 0 || o > 0 ? Rt(r.left + T / 3, r.top + B / 3, i - T / 3, o - B / 3, gt.TOP_LEFT) : new pe(r.left + T / 3, r.top + B / 3), this.topRightBorderDoubleOuterBox = i > 0 || o > 0 ? Rt(r.left + y, r.top + B / 3, l - E / 3, c - B / 3, gt.TOP_RIGHT) : new pe(r.left + r.width - E / 3, r.top + B / 3), this.bottomRightBorderDoubleOuterBox = u > 0 || f > 0 ? Rt(r.left + C, r.top + x, u - E / 3, f - D / 3, gt.BOTTOM_RIGHT) : new pe(r.left + r.width - E / 3, r.top + r.height - D / 3), this.bottomLeftBorderDoubleOuterBox = h > 0 || p > 0 ? Rt(r.left + T / 3, r.top + b, h - T / 3, p - D / 3, gt.BOTTOM_LEFT) : new pe(r.left + T / 3, r.top + r.height - D / 3), this.topLeftBorderDoubleInnerBox = i > 0 || o > 0 ? Rt(r.left + T * 2 / 3, r.top + B * 2 / 3, i - T * 2 / 3, o - B * 2 / 3, gt.TOP_LEFT) : new pe(r.left + T * 2 / 3, r.top + B * 2 / 3), this.topRightBorderDoubleInnerBox = i > 0 || o > 0 ? Rt(r.left + y, r.top + B * 2 / 3, l - E * 2 / 3, c - B * 2 / 3, gt.TOP_RIGHT) : new pe(r.left + r.width - E * 2 / 3, r.top + B * 2 / 3), this.bottomRightBorderDoubleInnerBox = u > 0 || f > 0 ? Rt(r.left + C, r.top + x, u - E * 2 / 3, f - D * 2 / 3, gt.BOTTOM_RIGHT) : new pe(r.left + r.width - E * 2 / 3, r.top + r.height - D * 2 / 3), this.bottomLeftBorderDoubleInnerBox = h > 0 || p > 0 ? Rt(r.left + T * 2 / 3, r.top + b, h - T * 2 / 3, p - D * 2 / 3, gt.BOTTOM_LEFT) : new pe(r.left + T * 2 / 3, r.top + r.height - D * 2 / 3), this.topLeftBorderStroke = i > 0 || o > 0 ? Rt(r.left + T / 2, r.top + B / 2, i - T / 2, o - B / 2, gt.TOP_LEFT) : new pe(r.left + T / 2, r.top + B / 2), this.topRightBorderStroke = i > 0 || o > 0 ? Rt(r.left + y, r.top + B / 2, l - E / 2, c - B / 2, gt.TOP_RIGHT) : new pe(r.left + r.width - E / 2, r.top + B / 2), this.bottomRightBorderStroke = u > 0 || f > 0 ? Rt(r.left + C, r.top + x, u - E / 2, f - D / 2, gt.BOTTOM_RIGHT) : new pe(r.left + r.width - E / 2, r.top + r.height - D / 2), this.bottomLeftBorderStroke = h > 0 || p > 0 ? Rt(r.left + T / 2, r.top + b, h - T / 2, p - D / 2, gt.BOTTOM_LEFT) : new pe(r.left + T / 2, r.top + r.height - D / 2), this.topLeftBorderBox = i > 0 || o > 0 ? Rt(r.left, r.top, i, o, gt.TOP_LEFT) : new pe(r.left, r.top), this.topRightBorderBox = l > 0 || c > 0 ? Rt(r.left + y, r.top, l, c, gt.TOP_RIGHT) : new pe(r.left + r.width, r.top), this.bottomRightBorderBox = u > 0 || f > 0 ? Rt(r.left + C, r.top + x, u, f, gt.BOTTOM_RIGHT) : new pe(r.left + r.width, r.top + r.height), this.bottomLeftBorderBox = h > 0 || p > 0 ? Rt(r.left, r.top + b, h, p, gt.BOTTOM_LEFT) : new pe(r.left, r.top + r.height), this.topLeftPaddingBox = i > 0 || o > 0 ? Rt(r.left + T, r.top + B, Math.max(0, i - T), Math.max(0, o - B), gt.TOP_LEFT) : new pe(r.left + T, r.top + B), this.topRightPaddingBox = l > 0 || c > 0 ? Rt(r.left + Math.min(y, r.width - E), r.top + B, y > r.width + E ? 0 : Math.max(0, l - E), Math.max(0, c - B), gt.TOP_RIGHT) : new pe(r.left + r.width - E, r.top + B), this.bottomRightPaddingBox = u > 0 || f > 0 ? Rt(r.left + Math.min(C, r.width - T), r.top + Math.min(x, r.height - D), Math.max(0, u - E), Math.max(0, f - D), gt.BOTTOM_RIGHT) : new pe(r.left + r.width - E, r.top + r.height - D), this.bottomLeftPaddingBox = h > 0 || p > 0 ? Rt(r.left + T, r.top + Math.min(b, r.height - D), Math.max(0, h - T), Math.max(0, p - D), gt.BOTTOM_LEFT) : new pe(r.left + T, r.top + r.height - D), this.topLeftContentBox = i > 0 || o > 0 ? Rt(r.left + T + z, r.top + B + j, Math.max(0, i - (T + z)), Math.max(0, o - (B + j)), gt.TOP_LEFT) : new pe(r.left + T + z, r.top + B + j), this.topRightContentBox = l > 0 || c > 0 ? Rt(r.left + Math.min(y, r.width + T + z), r.top + B + j, y > r.width + T + z ? 0 : l - T + z, c - (B + j), gt.TOP_RIGHT) : new pe(r.left + r.width - (E + Q), r.top + B + j), this.bottomRightContentBox = u > 0 || f > 0 ? Rt(r.left + Math.min(C, r.width - (T + z)), r.top + Math.min(x, r.height + B + j), Math.max(0, u - (E + Q)), f - (D + R), gt.BOTTOM_RIGHT) : new pe(r.left + r.width - (E + Q), r.top + r.height - (D + R)), this.bottomLeftContentBox = h > 0 || p > 0 ? Rt(r.left + T + z, r.top + b, Math.max(0, h - (T + z)), p - (D + R), gt.BOTTOM_LEFT) : new pe(r.left + T + z, r.top + r.height - (D + R));
17191
+ var y = r.width - l, x = r.height - f, C = r.width - u, b = r.height - p, B = n.borderTopWidth, E = n.borderRightWidth, D = n.borderBottomWidth, T = n.borderLeftWidth, j = St(n.paddingTop, t.bounds.width), O = St(n.paddingRight, t.bounds.width), R = St(n.paddingBottom, t.bounds.width), z = St(n.paddingLeft, t.bounds.width);
17192
+ this.topLeftBorderDoubleOuterBox = i > 0 || o > 0 ? Rt(r.left + T / 3, r.top + B / 3, i - T / 3, o - B / 3, gt.TOP_LEFT) : new pe(r.left + T / 3, r.top + B / 3), this.topRightBorderDoubleOuterBox = i > 0 || o > 0 ? Rt(r.left + y, r.top + B / 3, l - E / 3, c - B / 3, gt.TOP_RIGHT) : new pe(r.left + r.width - E / 3, r.top + B / 3), this.bottomRightBorderDoubleOuterBox = u > 0 || f > 0 ? Rt(r.left + C, r.top + x, u - E / 3, f - D / 3, gt.BOTTOM_RIGHT) : new pe(r.left + r.width - E / 3, r.top + r.height - D / 3), this.bottomLeftBorderDoubleOuterBox = h > 0 || p > 0 ? Rt(r.left + T / 3, r.top + b, h - T / 3, p - D / 3, gt.BOTTOM_LEFT) : new pe(r.left + T / 3, r.top + r.height - D / 3), this.topLeftBorderDoubleInnerBox = i > 0 || o > 0 ? Rt(r.left + T * 2 / 3, r.top + B * 2 / 3, i - T * 2 / 3, o - B * 2 / 3, gt.TOP_LEFT) : new pe(r.left + T * 2 / 3, r.top + B * 2 / 3), this.topRightBorderDoubleInnerBox = i > 0 || o > 0 ? Rt(r.left + y, r.top + B * 2 / 3, l - E * 2 / 3, c - B * 2 / 3, gt.TOP_RIGHT) : new pe(r.left + r.width - E * 2 / 3, r.top + B * 2 / 3), this.bottomRightBorderDoubleInnerBox = u > 0 || f > 0 ? Rt(r.left + C, r.top + x, u - E * 2 / 3, f - D * 2 / 3, gt.BOTTOM_RIGHT) : new pe(r.left + r.width - E * 2 / 3, r.top + r.height - D * 2 / 3), this.bottomLeftBorderDoubleInnerBox = h > 0 || p > 0 ? Rt(r.left + T * 2 / 3, r.top + b, h - T * 2 / 3, p - D * 2 / 3, gt.BOTTOM_LEFT) : new pe(r.left + T * 2 / 3, r.top + r.height - D * 2 / 3), this.topLeftBorderStroke = i > 0 || o > 0 ? Rt(r.left + T / 2, r.top + B / 2, i - T / 2, o - B / 2, gt.TOP_LEFT) : new pe(r.left + T / 2, r.top + B / 2), this.topRightBorderStroke = i > 0 || o > 0 ? Rt(r.left + y, r.top + B / 2, l - E / 2, c - B / 2, gt.TOP_RIGHT) : new pe(r.left + r.width - E / 2, r.top + B / 2), this.bottomRightBorderStroke = u > 0 || f > 0 ? Rt(r.left + C, r.top + x, u - E / 2, f - D / 2, gt.BOTTOM_RIGHT) : new pe(r.left + r.width - E / 2, r.top + r.height - D / 2), this.bottomLeftBorderStroke = h > 0 || p > 0 ? Rt(r.left + T / 2, r.top + b, h - T / 2, p - D / 2, gt.BOTTOM_LEFT) : new pe(r.left + T / 2, r.top + r.height - D / 2), this.topLeftBorderBox = i > 0 || o > 0 ? Rt(r.left, r.top, i, o, gt.TOP_LEFT) : new pe(r.left, r.top), this.topRightBorderBox = l > 0 || c > 0 ? Rt(r.left + y, r.top, l, c, gt.TOP_RIGHT) : new pe(r.left + r.width, r.top), this.bottomRightBorderBox = u > 0 || f > 0 ? Rt(r.left + C, r.top + x, u, f, gt.BOTTOM_RIGHT) : new pe(r.left + r.width, r.top + r.height), this.bottomLeftBorderBox = h > 0 || p > 0 ? Rt(r.left, r.top + b, h, p, gt.BOTTOM_LEFT) : new pe(r.left, r.top + r.height), this.topLeftPaddingBox = i > 0 || o > 0 ? Rt(r.left + T, r.top + B, Math.max(0, i - T), Math.max(0, o - B), gt.TOP_LEFT) : new pe(r.left + T, r.top + B), this.topRightPaddingBox = l > 0 || c > 0 ? Rt(r.left + Math.min(y, r.width - E), r.top + B, y > r.width + E ? 0 : Math.max(0, l - E), Math.max(0, c - B), gt.TOP_RIGHT) : new pe(r.left + r.width - E, r.top + B), this.bottomRightPaddingBox = u > 0 || f > 0 ? Rt(r.left + Math.min(C, r.width - T), r.top + Math.min(x, r.height - D), Math.max(0, u - E), Math.max(0, f - D), gt.BOTTOM_RIGHT) : new pe(r.left + r.width - E, r.top + r.height - D), this.bottomLeftPaddingBox = h > 0 || p > 0 ? Rt(r.left + T, r.top + Math.min(b, r.height - D), Math.max(0, h - T), Math.max(0, p - D), gt.BOTTOM_LEFT) : new pe(r.left + T, r.top + r.height - D), this.topLeftContentBox = i > 0 || o > 0 ? Rt(r.left + T + z, r.top + B + j, Math.max(0, i - (T + z)), Math.max(0, o - (B + j)), gt.TOP_LEFT) : new pe(r.left + T + z, r.top + B + j), this.topRightContentBox = l > 0 || c > 0 ? Rt(r.left + Math.min(y, r.width + T + z), r.top + B + j, y > r.width + T + z ? 0 : l - T + z, c - (B + j), gt.TOP_RIGHT) : new pe(r.left + r.width - (E + O), r.top + B + j), this.bottomRightContentBox = u > 0 || f > 0 ? Rt(r.left + Math.min(C, r.width - (T + z)), r.top + Math.min(x, r.height + B + j), Math.max(0, u - (E + O)), f - (D + R), gt.BOTTOM_RIGHT) : new pe(r.left + r.width - (E + O), r.top + r.height - (D + R)), this.bottomLeftContentBox = h > 0 || p > 0 ? Rt(r.left + T + z, r.top + b, Math.max(0, h - (T + z)), p - (D + R), gt.BOTTOM_LEFT) : new pe(r.left + T + z, r.top + r.height - (D + R));
17193
17193
  }
17194
17194
  return e;
17195
17195
  })()
@@ -17879,7 +17879,7 @@ var Rt = function(e, t, n, r, A) {
17879
17879
  switch (c.label) {
17880
17880
  case 0:
17881
17881
  r = n.styles.backgroundImage.length - 1, A = function(d) {
17882
- var u, f, g, j, ne, _, z, W, D, h, j, ne, _, z, W, p, v, w, y, x, C, b, B, E, D, T, j, Q, R, z, W, G, ne, _, $, re, P, I, L, K, X, k;
17882
+ var u, f, g, j, ne, _, z, W, D, h, j, ne, _, z, W, p, v, w, y, x, C, b, B, E, D, T, j, O, R, z, W, G, ne, _, $, re, P, I, L, K, X, k;
17883
17883
  return xn(this, function(N) {
17884
17884
  switch (N.label) {
17885
17885
  case 0:
@@ -17904,9 +17904,9 @@ var Rt = function(e, t, n, r, A) {
17904
17904
  null,
17905
17905
  null,
17906
17906
  null
17907
- ]), j = T[0], Q = T[1], R = T[2], z = T[3], W = T[4], G = d.position.length === 0 ? [Wv] : d.position, ne = St(G[0], z), _ = St(G[G.length - 1], W), $ = PU(d, ne, _, z, W), re = $[0], P = $[1], re > 0 && P > 0 && (I = i.ctx.createRadialGradient(Q + ne, R + _, 0, Q + ne, R + _, re), vb(d.stops, re * 2).forEach(function(J) {
17907
+ ]), j = T[0], O = T[1], R = T[2], z = T[3], W = T[4], G = d.position.length === 0 ? [Wv] : d.position, ne = St(G[0], z), _ = St(G[G.length - 1], W), $ = PU(d, ne, _, z, W), re = $[0], P = $[1], re > 0 && P > 0 && (I = i.ctx.createRadialGradient(O + ne, R + _, 0, O + ne, R + _, re), vb(d.stops, re * 2).forEach(function(J) {
17908
17908
  return I.addColorStop(J.stop, sn(J.color));
17909
- }), i.path(j), i.ctx.fillStyle = I, re !== P ? (L = n.bounds.left + 0.5 * n.bounds.width, K = n.bounds.top + 0.5 * n.bounds.height, X = P / re, k = 1 / X, i.ctx.save(), i.ctx.translate(L, K), i.ctx.transform(1, 0, 0, X, 0, 0), i.ctx.translate(-L, -K), i.ctx.fillRect(Q, k * (R - K) + K, z, W * k), i.ctx.restore()) : i.ctx.fill())), N.label = 6;
17909
+ }), i.path(j), i.ctx.fillStyle = I, re !== P ? (L = n.bounds.left + 0.5 * n.bounds.width, K = n.bounds.top + 0.5 * n.bounds.height, X = P / re, k = 1 / X, i.ctx.save(), i.ctx.translate(L, K), i.ctx.transform(1, 0, 0, X, 0, 0), i.ctx.translate(-L, -K), i.ctx.fillRect(O, k * (R - K) + K, z, W * k), i.ctx.restore()) : i.ctx.fill())), N.label = 6;
17910
17910
  case 6:
17911
17911
  return r--, [
17912
17912
  2
@@ -18142,7 +18142,7 @@ var Rt = function(e, t, n, r, A) {
18142
18142
  typeof window < "u" && xS.setContext(window);
18143
18143
  var c8 = function(e, t) {
18144
18144
  return Sn(void 0, void 0, void 0, function() {
18145
- var n, r, A, i, o, a, l, c, d, u, f, g, h, p, v, w, y, x, C, b, E, B, E, D, T, j, Q, R, z, W, G, ne, _, $, re, P, I, L, K, X;
18145
+ var n, r, A, i, o, a, l, c, d, u, f, g, h, p, v, w, y, x, C, b, E, B, E, D, T, j, O, R, z, W, G, ne, _, $, re, P, I, L, K, X;
18146
18146
  return xn(this, function(k) {
18147
18147
  switch (k.label) {
18148
18148
  case 0:
@@ -18157,7 +18157,7 @@ var c8 = function(e, t) {
18157
18157
  imageTimeout: (T = t.imageTimeout) !== null && T !== void 0 ? T : 15e3,
18158
18158
  proxy: t.proxy,
18159
18159
  useCORS: (j = t.useCORS) !== null && j !== void 0 ? j : !1
18160
- }, i = Yp({ logging: (Q = t.logging) !== null && Q !== void 0 ? Q : !0, cache: t.cache }, A), o = {
18160
+ }, i = Yp({ logging: (O = t.logging) !== null && O !== void 0 ? O : !0, cache: t.cache }, A), o = {
18161
18161
  windowWidth: (R = t.windowWidth) !== null && R !== void 0 ? R : r.innerWidth,
18162
18162
  windowHeight: (z = t.windowHeight) !== null && z !== void 0 ? z : r.innerHeight,
18163
18163
  scrollX: (W = t.scrollX) !== null && W !== void 0 ? W : r.pageXOffset,
@@ -18944,7 +18944,7 @@ const $8 = 14, e7 = ({ initialColor: e, width: t = 400, height: n = 200, palette
18944
18944
  const i = q(), [o, a] = S($l(e)), [l, c] = S(ec(e, t, n)), [d, u] = S(e), [f, g] = vm("color_picker_last_color", []), [h, p] = vm(
18945
18945
  "color_picker_last_color_locked",
18946
18946
  !1
18947
- ), [v, w] = S(!1), [y, x] = S({ x: 0, y: 0 }), [C, b] = S("#000000"), [B, E] = S(null), D = le(null), T = le(!1), j = le(null), Q = le(null), R = le(null), z = le(null), W = te(() => $l(e), [e]), G = te(() => ec(e, t, n), [e, t, n]), ne = async () => {
18947
+ ), [v, w] = S(!1), [y, x] = S({ x: 0, y: 0 }), [C, b] = S("#000000"), [B, E] = S(null), D = le(null), T = le(!1), j = le(null), O = le(null), R = le(null), z = le(null), W = te(() => $l(e), [e]), G = te(() => ec(e, t, n), [e, t, n]), ne = async () => {
18948
18948
  if (!("EyeDropper" in window)) {
18949
18949
  K();
18950
18950
  return;
@@ -18958,7 +18958,7 @@ const $8 = 14, e7 = ({ initialColor: e, width: t = 400, height: n = 200, palette
18958
18958
  console.error("Error using EyeDropper API:", X);
18959
18959
  }
18960
18960
  };
18961
- M(() => (T.current = !0, a(W), c(G), u(e), Q.current = document.createElement("canvas"), R.current = document.createElement("canvas"), z.current = document.createElement("canvas"), () => {
18961
+ M(() => (T.current = !0, a(W), c(G), u(e), O.current = document.createElement("canvas"), R.current = document.createElement("canvas"), z.current = document.createElement("canvas"), () => {
18962
18962
  T.current = !1;
18963
18963
  }), [e, t, n, W, G]);
18964
18964
  const _ = F(
@@ -18989,7 +18989,7 @@ const $8 = 14, e7 = ({ initialColor: e, width: t = 400, height: n = 200, palette
18989
18989
  const N = window.devicePixelRatio, J = 1, ee = 60, fe = 4 / N, V = X - 7 * N, xe = k - 7 * N;
18990
18990
  if (X < 0 || k < 0 || X > B.width || k > B.height)
18991
18991
  return;
18992
- const U = Q.current, He = R.current, ce = z.current;
18992
+ const U = O.current, He = R.current, ce = z.current;
18993
18993
  if (!U || !He || !ce) return;
18994
18994
  U.width = ee * J, U.height = ee * J, U.getContext("2d")?.drawImage(B, V, xe, ee, ee, 0, 0, ee * J, ee * J), He.width = ee * J, He.height = ee * J, He.getContext("2d")?.drawImage(U, 0, 0, ee * J, ee * J), ce.width = ee * J, ce.height = ee * J;
18995
18995
  const Ce = ce.getContext("2d");
@@ -19389,7 +19389,7 @@ const $8 = 14, e7 = ({ initialColor: e, width: t = 400, height: n = 200, palette
19389
19389
  base: "8px",
19390
19390
  medium: "12px",
19391
19391
  large: "16px"
19392
- }, PS = st`
19392
+ }, PS = ot`
19393
19393
  border-radius: 8px;
19394
19394
  background: ${(e) => e.type ? e.theme.color[sd[e.type]] : "white"};
19395
19395
  padding: ${(e) => e.padding ? t0[e.padding] : t0.base};
@@ -22123,9 +22123,9 @@ function SW(e, t, n, r, A) {
22123
22123
  [kt.today]: []
22124
22124
  }, C = {};
22125
22125
  for (const b of e) {
22126
- const { date: B, displayMonth: E } = b, D = !!(E && !f(B, E)), T = !!(w && h(B, w)), j = !!(y && v(B, y)), Q = !!(i && TA(B, i, A)), R = !!(o && TA(B, o, A)) || T || j || // Broadcast calendar will show outside days as default
22126
+ const { date: B, displayMonth: E } = b, D = !!(E && !f(B, E)), T = !!(w && h(B, w)), j = !!(y && v(B, y)), O = !!(i && TA(B, i, A)), R = !!(o && TA(B, o, A)) || T || j || // Broadcast calendar will show outside days as default
22127
22127
  !c && !l && D || c && l === !1 && D, z = u(B, d);
22128
- D && x.outside.push(b), Q && x.disabled.push(b), R && x.hidden.push(b), z && x.today.push(b), a && Object.keys(a).forEach((W) => {
22128
+ D && x.outside.push(b), O && x.disabled.push(b), R && x.hidden.push(b), z && x.today.push(b), a && Object.keys(a).forEach((W) => {
22129
22129
  const G = a?.[W];
22130
22130
  G && TA(B, G, A) && (C[W] ? C[W].push(b) : C[W] = [b]);
22131
22131
  });
@@ -22477,8 +22477,8 @@ function eX(e, t, { classNames: n, months: r, focused: A, dateLib: i }) {
22477
22477
  T && (T.style.opacity = "0");
22478
22478
  const j = th(b);
22479
22479
  j && (j.classList.add(u ? n[tr.caption_before_exit] : n[tr.caption_after_exit]), j.addEventListener("animationend", D));
22480
- const Q = nh(b);
22481
- Q && Q.classList.add(u ? n[tr.weeks_before_exit] : n[tr.weeks_after_exit]), x.insertBefore(b, x.firstChild);
22480
+ const O = nh(b);
22481
+ O && O.classList.add(u ? n[tr.weeks_before_exit] : n[tr.weeks_after_exit]), x.insertBefore(b, x.firstChild);
22482
22482
  });
22483
22483
  }
22484
22484
  });
@@ -22537,8 +22537,8 @@ function AX(e, t, n, r) {
22537
22537
  x.push(...E);
22538
22538
  }
22539
22539
  const b = x.reduce((E, D) => {
22540
- const T = n.ISOWeek ? c(D) : d(D), j = E.find((R) => R.weekNumber === T), Q = new JS(D, v, r);
22541
- return j ? j.days.push(Q) : E.push(new $6(T, [Q])), E;
22540
+ const T = n.ISOWeek ? c(D) : d(D), j = E.find((R) => R.weekNumber === T), O = new JS(D, v, r);
22541
+ return j ? j.days.push(O) : E.push(new $6(T, [O])), E;
22542
22542
  }, []), B = new _6(v, b);
22543
22543
  return p.push(B), p;
22544
22544
  }, []);
@@ -22885,7 +22885,7 @@ function dI(e) {
22885
22885
  t.classNames
22886
22886
  ]);
22887
22887
  t.today || (t = { ...t, today: o.today() });
22888
- const { captionLayout: c, mode: d, navLayout: u, numberOfMonths: f = 1, onDayBlur: g, onDayClick: h, onDayFocus: p, onDayKeyDown: v, onDayMouseEnter: w, onDayMouseLeave: y, onNextClick: x, onPrevClick: C, showWeekNumber: b, styles: B } = t, { formatCaption: E, formatDay: D, formatMonthDropdown: T, formatWeekNumber: j, formatWeekNumberHeader: Q, formatWeekdayName: R, formatYearDropdown: z } = A, W = lX(t, o), { days: G, months: ne, navStart: _, navEnd: $, previousMonth: re, nextMonth: P, goToMonth: I } = W, L = SW(G, t, _, $, o), { isSelected: K, select: X, selected: k } = wX(t, o) ?? {}, { blur: N, focused: J, isFocusTarget: ee, moveFocus: fe, setFocused: V } = uX(t, W, L, K ?? (() => !1), o), { labelDayButton: xe, labelGridcell: U, labelGrid: He, labelMonthDropdown: ce, labelNav: Ee, labelPrevious: nt, labelNext: Ce, labelWeekday: Xe, labelWeekNumber: de, labelWeekNumberHeader: We, labelYearDropdown: me } = i, Ft = te(() => qW(o, t.ISOWeek, t.broadcastCalendar, t.today), [o, t.ISOWeek, t.broadcastCalendar, t.today]), jr = d !== void 0 || h !== void 0, Mn = F(() => {
22888
+ const { captionLayout: c, mode: d, navLayout: u, numberOfMonths: f = 1, onDayBlur: g, onDayClick: h, onDayFocus: p, onDayKeyDown: v, onDayMouseEnter: w, onDayMouseLeave: y, onNextClick: x, onPrevClick: C, showWeekNumber: b, styles: B } = t, { formatCaption: E, formatDay: D, formatMonthDropdown: T, formatWeekNumber: j, formatWeekNumberHeader: O, formatWeekdayName: R, formatYearDropdown: z } = A, W = lX(t, o), { days: G, months: ne, navStart: _, navEnd: $, previousMonth: re, nextMonth: P, goToMonth: I } = W, L = SW(G, t, _, $, o), { isSelected: K, select: X, selected: k } = wX(t, o) ?? {}, { blur: N, focused: J, isFocusTarget: ee, moveFocus: fe, setFocused: V } = uX(t, W, L, K ?? (() => !1), o), { labelDayButton: xe, labelGridcell: U, labelGrid: He, labelMonthDropdown: ce, labelNav: Ee, labelPrevious: nt, labelNext: Ce, labelWeekday: Xe, labelWeekNumber: de, labelWeekNumberHeader: We, labelYearDropdown: me } = i, Ft = te(() => qW(o, t.ISOWeek, t.broadcastCalendar, t.today), [o, t.ISOWeek, t.broadcastCalendar, t.today]), jr = d !== void 0 || h !== void 0, Mn = F(() => {
22889
22889
  re && (I(re), C?.(re));
22890
22890
  }, [re, I, C]), Nn = F(() => {
22891
22891
  P && (I(P), x?.(P));
@@ -23012,7 +23012,7 @@ function dI(e) {
23012
23012
  !t.hideWeekdays && oe.createElement(
23013
23013
  r.Weekdays,
23014
23014
  { "data-animated-weekdays": t.animate ? "true" : void 0, className: l[Te.Weekdays], style: B?.[Te.Weekdays] },
23015
- b && oe.createElement(r.WeekNumberHeader, { "aria-label": We(o.options), className: l[Te.WeekNumberHeader], style: B?.[Te.WeekNumberHeader], scope: "col" }, Q()),
23015
+ b && oe.createElement(r.WeekNumberHeader, { "aria-label": We(o.options), className: l[Te.WeekNumberHeader], style: B?.[Te.WeekNumberHeader], scope: "col" }, O()),
23016
23016
  Ft.map((De) => oe.createElement(r.Weekday, { "aria-label": Xe(De, o.options, o), className: l[Te.Weekday], key: String(De), style: B?.[Te.Weekday], scope: "col" }, R(De, o.options, o)))
23017
23017
  ),
23018
23018
  oe.createElement(r.Weeks, { "data-animated-weeks": t.animate ? "true" : void 0, className: l[Te.Weeks], style: B?.[Te.Weeks] }, Ne.weeks.map((De) => oe.createElement(
@@ -23219,7 +23219,7 @@ const DX = m.div`
23219
23219
  background-position: 0 -200%;
23220
23220
  }
23221
23221
  }
23222
- `, PX = st`
23222
+ `, PX = ot`
23223
23223
  transition: all ${ar}ms;
23224
23224
  max-height: ${(e) => e.open ? "150px" : "0"};
23225
23225
  overflow: hidden;
@@ -23285,7 +23285,7 @@ const kX = m.button`
23285
23285
  outline: 1px solid ${(e) => e.open ? e.theme.color.grey2 : "white"};
23286
23286
  border-radius: 8px;
23287
23287
  overflow: hidden;
23288
- `, zX = st`
23288
+ `, zX = ot`
23289
23289
  background-color: ${(e) => e.theme.color.primaryLight};
23290
23290
  text-decoration: none;
23291
23291
  color: ${(e) => e.theme.color.secondary};
@@ -23630,7 +23630,7 @@ const hG = m.div`
23630
23630
  defaultOpen: d,
23631
23631
  ...u
23632
23632
  }, f) {
23633
- const g = q(), { multiple: h, readOnly: p, onChange: v, required: w, getGroup: y } = u, x = (de) => tc(de, u.getLabel), C = (de) => tc(de, u.getValue), b = (de) => tc(de, u.getSearch ?? u.getLabel), B = F((de) => tc(de, y), [y]), [E] = yX(), [D, T] = S(""), j = c1(D), [Q, R] = S(d ?? !1), [z, W] = S(!1), [G, ne] = S(0), [_, $] = S(u.loading ?? !1), re = le(!1), [P, I] = S(""), L = le(null), K = le(null), [X, k] = S(u.options ?? []), N = te(() => u.htmlFor ?? u.name, [u.htmlFor, u.name]), J = te(
23633
+ const g = q(), { multiple: h, readOnly: p, onChange: v, required: w, getGroup: y } = u, x = (de) => tc(de, u.getLabel), C = (de) => tc(de, u.getValue), b = (de) => tc(de, u.getSearch ?? u.getLabel), B = F((de) => tc(de, y), [y]), [E] = yX(), [D, T] = S(""), j = c1(D), [O, R] = S(d ?? !1), [z, W] = S(!1), [G, ne] = S(0), [_, $] = S(u.loading ?? !1), re = le(!1), [P, I] = S(""), L = le(null), K = le(null), [X, k] = S(u.options ?? []), N = te(() => u.htmlFor ?? u.name, [u.htmlFor, u.name]), J = te(
23634
23634
  () => i ? "onClick" in i ? /* @__PURE__ */ s.jsx(
23635
23635
  w0,
23636
23636
  {
@@ -23712,23 +23712,23 @@ const hG = m.div`
23712
23712
  (de) => {
23713
23713
  if (!p)
23714
23714
  if (de.key === "ArrowDown") {
23715
- if (!Q) {
23715
+ if (!O) {
23716
23716
  R(!0), W(!0);
23717
23717
  return;
23718
23718
  }
23719
- ne(Q ? (G + 1) % ee.length : 0);
23719
+ ne(O ? (G + 1) % ee.length : 0);
23720
23720
  } else if (de.key === "ArrowUp") {
23721
- if (!Q) {
23721
+ if (!O) {
23722
23722
  W(!0), R(!0);
23723
23723
  return;
23724
23724
  }
23725
- ne(Q && G > 0 ? G - 1 : ee.length - 1);
23726
- } else if (de.code === "Space" && !t && !Q) {
23725
+ ne(O && G > 0 ? G - 1 : ee.length - 1);
23726
+ } else if (de.code === "Space" && !t && !O) {
23727
23727
  de.preventDefault();
23728
23728
  const We = ee.findIndex((me) => Di(o, me));
23729
23729
  ne(We >= 0 ? We : 0), R(!0), W(!0);
23730
23730
  } else if (de.code === "Enter" && (G !== void 0 || a)) {
23731
- if (de.preventDefault(), !Q) {
23731
+ if (de.preventDefault(), !O) {
23732
23732
  const me = ee.findIndex((Ft) => Di(o, Ft));
23733
23733
  ne(me >= 0 ? me : 0), R(!0), W(!0);
23734
23734
  return;
@@ -23746,7 +23746,7 @@ const hG = m.div`
23746
23746
  a,
23747
23747
  h,
23748
23748
  o,
23749
- Q,
23749
+ O,
23750
23750
  ee,
23751
23751
  B,
23752
23752
  xe,
@@ -23754,7 +23754,7 @@ const hG = m.div`
23754
23754
  u.group,
23755
23755
  t
23756
23756
  ]
23757
- ), ce = !u.hideDeleteIcon && !u.multiple && !u.required && !u.readOnly && !u.disabled && o, Ee = A && !u.readOnly, nt = ce || Ee, Ce = !!o && !!l && o.length === l, Xe = r && Q && (!!P || !!ee.length);
23757
+ ), ce = !u.hideDeleteIcon && !u.multiple && !u.required && !u.readOnly && !u.disabled && o, Ee = A && !u.readOnly, nt = ce || Ee, Ce = !!o && !!l && o.length === l, Xe = r && O && (!!P || !!ee.length);
23758
23758
  return /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
23759
23759
  u.multiple && u.hideSelectedOption !== !0 && o && Array.isArray(o) && /* @__PURE__ */ s.jsx(gI, { children: o.map((de, We) => /* @__PURE__ */ s.jsx(
23760
23760
  cw,
@@ -23790,7 +23790,7 @@ const hG = m.div`
23790
23790
  onChange: U,
23791
23791
  onKeyDown: He,
23792
23792
  onClick: u.readOnly ? void 0 : () => {
23793
- if (!Q) {
23793
+ if (!O) {
23794
23794
  const de = ee.findIndex((We) => Di(o, We));
23795
23795
  ne(de >= 0 ? de : 0);
23796
23796
  }
@@ -23810,7 +23810,7 @@ const hG = m.div`
23810
23810
  loading: _,
23811
23811
  disabled: u.disabled,
23812
23812
  onClick: () => R((de) => !de),
23813
- open: Q && (!e || !t || !!n || !!D),
23813
+ open: O && (!e || !t || !!n || !!D),
23814
23814
  sizeVariant: u.size,
23815
23815
  expand: Xe,
23816
23816
  controls: N + "-menu"
@@ -25230,7 +25230,7 @@ const FG = m.div`
25230
25230
  display: flex;
25231
25231
  flex-direction: column;
25232
25232
  gap: ${({ theme: e }) => e.space.sm}px;
25233
- ${({ $inline: e }) => e && st`
25233
+ ${({ $inline: e }) => e && ot`
25234
25234
  flex-direction: row;
25235
25235
  flex-wrap: wrap;
25236
25236
  `}
@@ -26226,8 +26226,8 @@ const rc = {
26226
26226
  var C, b;
26227
26227
  const B = t.options.columnResizeDirection === "rtl" ? -1 : 1, E = (y - ((C = x?.startOffset) != null ? C : 0)) * B, D = Math.max(E / ((b = x?.startSize) != null ? b : 0), -0.999999);
26228
26228
  return x.columnSizingStart.forEach((T) => {
26229
- let [j, Q] = T;
26230
- c[j] = Math.round(Math.max(Q + Q * D, 0) * 100) / 100;
26229
+ let [j, O] = T;
26230
+ c[j] = Math.round(Math.max(O + O * D, 0) * 100) / 100;
26231
26231
  }), {
26232
26232
  ...x,
26233
26233
  deltaOffset: E,
@@ -27454,7 +27454,7 @@ const AK = (e, t) => {
27454
27454
  }
27455
27455
  )
27456
27456
  ] });
27457
- }, yw = st`
27457
+ }, yw = ot`
27458
27458
  border-bottom: 1px solid ${(e) => e.theme.color.grey2};
27459
27459
  text-align: left;
27460
27460
  vertical-align: middle;
@@ -27548,8 +27548,8 @@ const Vu = (e) => {
27548
27548
  const v = F(
27549
27549
  (C, b, B) => {
27550
27550
  if (!e.eventHandlers?.onDrag) return;
27551
- const E = e.data[C], D = e.data[b], T = [...e.data], [j] = T.splice(C, 1), Q = B === "before" ? C < b ? b - 1 : b : C < b ? b : b + 1;
27552
- T.splice(Q, 0, j), e.eventHandlers.onDrag(E, D, B, T);
27551
+ const E = e.data[C], D = e.data[b], T = [...e.data], [j] = T.splice(C, 1), O = B === "before" ? C < b ? b - 1 : b : C < b ? b : b + 1;
27552
+ T.splice(O, 0, j), e.eventHandlers.onDrag(E, D, B, T);
27553
27553
  },
27554
27554
  [e.data, e.eventHandlers]
27555
27555
  ), w = (C) => {
@@ -27569,8 +27569,8 @@ const Vu = (e) => {
27569
27569
  title: void 0,
27570
27570
  $width: E.columnDef.size,
27571
27571
  sortable: D,
27572
- onKeyDown: D ? (Q) => {
27573
- Q.key === "Enter" && E.toggleSorting?.();
27572
+ onKeyDown: D ? (O) => {
27573
+ O.key === "Enter" && E.toggleSorting?.();
27574
27574
  } : void 0,
27575
27575
  tabIndex: D ? 0 : void 0,
27576
27576
  "aria-sort": D ? T ? j ? "descending" : "ascending" : "none" : void 0,
@@ -27811,7 +27811,7 @@ const Vu = (e) => {
27811
27811
  _audience: [],
27812
27812
  _url: "",
27813
27813
  _nbItems: 0
27814
- }, [f, g] = S([]), [h, p] = S([]), [v, w] = S({}), [y, x] = S(u.uri), [C, b] = S([u]), [B, E] = S(!1), [D, T] = S([]), [j, Q] = S(r), [R, z] = S(n), [W, G] = S([]), [ne, _] = S(!1);
27814
+ }, [f, g] = S([]), [h, p] = S([]), [v, w] = S({}), [y, x] = S(u.uri), [C, b] = S([u]), [B, E] = S(!1), [D, T] = S([]), [j, O] = S(r), [R, z] = S(n), [W, G] = S([]), [ne, _] = S(!1);
27815
27815
  M(() => {
27816
27816
  P();
27817
27817
  }, []);
@@ -27948,7 +27948,7 @@ const Vu = (e) => {
27948
27948
  onSelectDocument: i !== void 0 ? (k) => {
27949
27949
  i && i([
27950
27950
  ...D.filter((N) => k.indexOf(N.uri) !== -1)
27951
- ]), Q(k);
27951
+ ]), O(k);
27952
27952
  } : void 0
27953
27953
  }
27954
27954
  )
@@ -28528,7 +28528,7 @@ const FK = m.label`
28528
28528
  deleteFile: p
28529
28529
  } = e, v = Ot(), w = q(), [y, x] = S(0), [C] = S(!1), [b, B] = S(!1), [E, D] = S(XK), [T, j] = S(
28530
28530
  h?.map((ce) => ({ ...ce, loading: !1 })) ?? []
28531
- ), [Q, R] = S(!!e.directFilePopupOpening), [z, W] = S("upload"), [G, ne] = S([]), [_, $] = S(!1), [re, P] = S([]), [I, L] = S(), K = te(
28531
+ ), [O, R] = S(!!e.directFilePopupOpening), [z, W] = S("upload"), [G, ne] = S([]), [_, $] = S(!1), [re, P] = S([]), [I, L] = S(), K = te(
28532
28532
  () => ({
28533
28533
  fileBank: w.formatMessage({ id: "INPUT_FILE_ADVANCED_FileBank" }),
28534
28534
  drive_microsoft_graph: w.formatMessage({ id: "INPUT_FILE_ADVANCED_Microsoft_365" }),
@@ -28738,7 +28738,7 @@ const FK = m.label`
28738
28738
  }
28739
28739
  ) })
28740
28740
  ] }),
28741
- (!!e.activeDrives && e.activeDrives.length > 0 || !!e.directFilePopupOpening) && /* @__PURE__ */ s.jsx(Bn, { open: Q, closeHandler: V, variant: "fixed-height", children: /* @__PURE__ */ s.jsxs(
28741
+ (!!e.activeDrives && e.activeDrives.length > 0 || !!e.directFilePopupOpening) && /* @__PURE__ */ s.jsx(Bn, { open: O, closeHandler: V, variant: "fixed-height", children: /* @__PURE__ */ s.jsxs(
28742
28742
  Jn,
28743
28743
  {
28744
28744
  overflow: "scroll",
@@ -28846,7 +28846,7 @@ const FK = m.label`
28846
28846
  "9:16": 178
28847
28847
  }, YK = m(ew)`
28848
28848
  position: relative;
28849
- `, kI = st`
28849
+ `, kI = ot`
28850
28850
  ${(e) => e.img && `background-image: url("${e.img}")`};
28851
28851
  background-repeat: no-repeat;
28852
28852
  background-size: ${(e) => e.icon ? "30%" : "cover"};
@@ -29522,7 +29522,7 @@ function Ew({ save: e, ...t }) {
29522
29522
  R === "left" ? W = z === 0 ? Si[Si.length - 1] : Si[z - 1] : W = z === Si.length - 1 ? Si[0] : Si[z + 1], u(W);
29523
29523
  },
29524
29524
  [d]
29525
- ), Q = F(() => {
29525
+ ), O = F(() => {
29526
29526
  x(!0), D();
29527
29527
  }, [D]);
29528
29528
  return M(() => {
@@ -29559,7 +29559,7 @@ function Ew({ save: e, ...t }) {
29559
29559
  scale: f,
29560
29560
  src: t.src,
29561
29561
  ref: A,
29562
- onLoad: Q,
29562
+ onLoad: O,
29563
29563
  onError: () => x(!1)
29564
29564
  }
29565
29565
  ) })
@@ -29778,16 +29778,16 @@ const Dq = ({
29778
29778
  deferServerCalls: d = !1,
29779
29779
  ...u
29780
29780
  }, f) => {
29781
- const g = Ot(), [h, p] = S(!1), v = le(null), [w, y] = S(!1), [x, C] = S(!1), [b] = S(u.accept?.split(",").map((N) => N.replace(/\./g, "")) ?? ["jpg", "jpeg", "png"]), [B] = S(u.aspectRatio), [E, D] = S(0), [T, j] = S(!1), [Q, R] = S(A), [z, W] = S();
29781
+ const g = Ot(), [h, p] = S(!1), v = le(null), [w, y] = S(!1), [x, C] = S(!1), [b] = S(u.accept?.split(",").map((N) => N.replace(/\./g, "")) ?? ["jpg", "jpeg", "png"]), [B] = S(u.aspectRatio), [E, D] = S(0), [T, j] = S(!1), [O, R] = S(A), [z, W] = S();
29782
29782
  M(() => () => {
29783
29783
  z && URL.revokeObjectURL(z);
29784
29784
  }, [z]);
29785
29785
  const G = te(() => {
29786
29786
  if (z) return z;
29787
- if (Q)
29788
- return `/imagecache/original/${Q.type}/${Q.id}.png?_=${// eslint-disable-next-line react-hooks/purity
29789
- Q.dateModified ? mi(Q.dateModified) : Date.now()}-${E}`;
29790
- }, [Q, E, z]), ne = u.attrName ?? u.name;
29787
+ if (O)
29788
+ return `/imagecache/original/${O.type}/${O.id}.png?_=${// eslint-disable-next-line react-hooks/purity
29789
+ O.dateModified ? mi(O.dateModified) : Date.now()}-${E}`;
29790
+ }, [O, E, z]), ne = u.attrName ?? u.name;
29791
29791
  nu(f, () => ({
29792
29792
  click() {
29793
29793
  v?.current?.click?.();
@@ -29832,7 +29832,7 @@ const Dq = ({
29832
29832
  }).finally(() => y(!1)));
29833
29833
  }
29834
29834
  function K(N) {
29835
- if (!Q) return;
29835
+ if (!O) return;
29836
29836
  if (j(!0), d) {
29837
29837
  const ee = new Image();
29838
29838
  ee.onload = () => {
@@ -29844,7 +29844,7 @@ const Dq = ({
29844
29844
  fe.width = N.width, fe.height = N.height;
29845
29845
  const xe = N.rotation * Math.PI / 180, U = Math.abs(Math.cos(xe)), He = Math.abs(Math.sin(xe)), ce = ee.naturalWidth * U + ee.naturalHeight * He, Ee = ee.naturalWidth * He + ee.naturalHeight * U;
29846
29846
  V.translate(-N.x, -N.y), V.translate(ce / 2, Ee / 2), V.rotate(xe), V.drawImage(ee, -ee.naturalWidth / 2, -ee.naturalHeight / 2), fe.toBlob((nt) => {
29847
- nt && (z && URL.revokeObjectURL(z), W(URL.createObjectURL(nt)), C(!1), D(E + 1), Q.id !== 0 && n ? n({
29847
+ nt && (z && URL.revokeObjectURL(z), W(URL.createObjectURL(nt)), C(!1), D(E + 1), O.id !== 0 && n ? n({
29848
29848
  x: N.x,
29849
29849
  y: N.y,
29850
29850
  w: N.width,
@@ -29864,9 +29864,9 @@ const Dq = ({
29864
29864
  rotation: N.rotation,
29865
29865
  killSize: !0
29866
29866
  };
29867
- g.file.update(Q.id, Q.type, J).then((ee) => {
29867
+ g.file.update(O.id, O.type, J).then((ee) => {
29868
29868
  C(!1), D(E + 1), R(ee.result), e({
29869
- ...Q,
29869
+ ...O,
29870
29870
  ...ee.result
29871
29871
  });
29872
29872
  }).finally(() => {
@@ -29874,14 +29874,14 @@ const Dq = ({
29874
29874
  });
29875
29875
  }
29876
29876
  function X() {
29877
- if (Q && ne && u.token) {
29877
+ if (O && ne && u.token) {
29878
29878
  if (y(!0), d) {
29879
29879
  D(0), R(void 0), z && (URL.revokeObjectURL(z), W(void 0)), e(void 0), y(!1);
29880
29880
  return;
29881
29881
  }
29882
- ne === "image" && Q?.type !== "fileTmp" ? g.file.deleteImage(Q.id, Q?.type).then(() => {
29882
+ ne === "image" && O?.type !== "fileTmp" ? g.file.deleteImage(O.id, O?.type).then(() => {
29883
29883
  D(0), R(void 0), e(void 0);
29884
- }).finally(() => y(!1)) : g.file.deleteFile(Q.id, ne, u.token).then(() => {
29884
+ }).finally(() => y(!1)) : g.file.deleteFile(O.id, ne, u.token).then(() => {
29885
29885
  D(0), R(void 0), e(void 0);
29886
29886
  }).finally(() => y(!1));
29887
29887
  }
@@ -29899,7 +29899,7 @@ const Dq = ({
29899
29899
  onLoading: y,
29900
29900
  onChange: (N) => I(N),
29901
29901
  ref: v,
29902
- value: Q,
29902
+ value: O,
29903
29903
  deferServerCalls: !0
29904
29904
  }
29905
29905
  ) : /* @__PURE__ */ s.jsx(
@@ -29910,7 +29910,7 @@ const Dq = ({
29910
29910
  onLoading: y,
29911
29911
  onChange: (N) => I(N),
29912
29912
  ref: v,
29913
- value: Q
29913
+ value: O
29914
29914
  }
29915
29915
  ) }),
29916
29916
  /* @__PURE__ */ s.jsxs(pq, { position: k.position, columnCount: k.columnCount, children: [
@@ -29940,14 +29940,14 @@ const Dq = ({
29940
29940
  onClick: P,
29941
29941
  disabled: w,
29942
29942
  "data-cy": u.dataCy,
29943
- children: Q ? Q.mimetype !== "image/gif" ? /* @__PURE__ */ s.jsx(xq, { src: G, alt: "" }) : /* @__PURE__ */ s.jsx("p", { children: Q.title }) : /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
29943
+ children: O ? O.mimetype !== "image/gif" ? /* @__PURE__ */ s.jsx(xq, { src: G, alt: "" }) : /* @__PURE__ */ s.jsx("p", { children: O.title }) : /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
29944
29944
  /* @__PURE__ */ s.jsx(Cq, { children: c }),
29945
29945
  /* @__PURE__ */ s.jsx("img", { src: gq, alt: "", style: { zIndex: 2 } }),
29946
29946
  /* @__PURE__ */ s.jsx("p", { style: { zIndex: 2 }, children: b.join(", ") })
29947
29947
  ] })
29948
29948
  }
29949
29949
  ),
29950
- Q && /* @__PURE__ */ s.jsxs(UI, { position: { y: o === "inside" ? "bottom" : "under" }, children: [
29950
+ O && /* @__PURE__ */ s.jsxs(UI, { position: { y: o === "inside" ? "bottom" : "under" }, children: [
29951
29951
  /* @__PURE__ */ s.jsx(
29952
29952
  ke,
29953
29953
  {
@@ -29960,7 +29960,7 @@ const Dq = ({
29960
29960
  }
29961
29961
  }
29962
29962
  ),
29963
- !i && Q.mimetype !== "image/gif" && /* @__PURE__ */ s.jsx(
29963
+ !i && O.mimetype !== "image/gif" && /* @__PURE__ */ s.jsx(
29964
29964
  ke,
29965
29965
  {
29966
29966
  bgBaseGrey: 1,
@@ -29987,7 +29987,7 @@ const Dq = ({
29987
29987
  N
29988
29988
  ))
29989
29989
  ] }),
29990
- Q && x && /* @__PURE__ */ s.jsx(
29990
+ O && x && /* @__PURE__ */ s.jsx(
29991
29991
  Ew,
29992
29992
  {
29993
29993
  zIndex: l,
@@ -30256,7 +30256,7 @@ function Yq() {
30256
30256
  }
30257
30257
  }
30258
30258
  }
30259
- var b = l, B = c, E = a, D = o, T = t, j = d, Q = r, R = h, z = g, W = n, G = i, ne = A, _ = u, $ = !1;
30259
+ var b = l, B = c, E = a, D = o, T = t, j = d, O = r, R = h, z = g, W = n, G = i, ne = A, _ = u, $ = !1;
30260
30260
  function re(U) {
30261
30261
  return $ || ($ = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), P(U) || C(U) === l;
30262
30262
  }
@@ -30296,7 +30296,7 @@ function Yq() {
30296
30296
  function xe(U) {
30297
30297
  return C(U) === u;
30298
30298
  }
30299
- ft.AsyncMode = b, ft.ConcurrentMode = B, ft.ContextConsumer = E, ft.ContextProvider = D, ft.Element = T, ft.ForwardRef = j, ft.Fragment = Q, ft.Lazy = R, ft.Memo = z, ft.Portal = W, ft.Profiler = G, ft.StrictMode = ne, ft.Suspense = _, ft.isAsyncMode = re, ft.isConcurrentMode = P, ft.isContextConsumer = I, ft.isContextProvider = L, ft.isElement = K, ft.isForwardRef = X, ft.isFragment = k, ft.isLazy = N, ft.isMemo = J, ft.isPortal = ee, ft.isProfiler = fe, ft.isStrictMode = V, ft.isSuspense = xe, ft.isValidElementType = x, ft.typeOf = C;
30299
+ ft.AsyncMode = b, ft.ConcurrentMode = B, ft.ContextConsumer = E, ft.ContextProvider = D, ft.Element = T, ft.ForwardRef = j, ft.Fragment = O, ft.Lazy = R, ft.Memo = z, ft.Portal = W, ft.Profiler = G, ft.StrictMode = ne, ft.Suspense = _, ft.isAsyncMode = re, ft.isConcurrentMode = P, ft.isContextConsumer = I, ft.isContextProvider = L, ft.isElement = K, ft.isForwardRef = X, ft.isFragment = k, ft.isLazy = N, ft.isMemo = J, ft.isPortal = ee, ft.isProfiler = fe, ft.isStrictMode = V, ft.isSuspense = xe, ft.isValidElementType = x, ft.typeOf = C;
30300
30300
  })()), ft;
30301
30301
  }
30302
30302
  var X0;
@@ -30613,7 +30613,7 @@ function $q() {
30613
30613
  }
30614
30614
  return v(P);
30615
30615
  }
30616
- function Q(P, I, L, K, X) {
30616
+ function O(P, I, L, K, X) {
30617
30617
  return new p(
30618
30618
  (P || "React class") + ": " + I + " type `" + L + "." + K + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + X + "`."
30619
30619
  );
@@ -30626,7 +30626,7 @@ function $q() {
30626
30626
  for (var fe in P) {
30627
30627
  var V = P[fe];
30628
30628
  if (typeof V != "function")
30629
- return Q(X, k, N, fe, _(V));
30629
+ return O(X, k, N, fe, _(V));
30630
30630
  var xe = V(J, fe, X, k, N + "." + fe, n);
30631
30631
  if (xe)
30632
30632
  return xe;
@@ -30644,7 +30644,7 @@ function $q() {
30644
30644
  for (var V in fe) {
30645
30645
  var xe = P[V];
30646
30646
  if (r(P, V) && typeof xe != "function")
30647
- return Q(X, k, N, V, _(xe));
30647
+ return O(X, k, N, V, _(xe));
30648
30648
  if (!xe)
30649
30649
  return new p(
30650
30650
  "Invalid " + k + " `" + N + "` key `" + V + "` supplied to `" + X + "`.\nBad object: " + JSON.stringify(L[K], null, " ") + `
@@ -31225,8 +31225,8 @@ var ie = /* @__PURE__ */ Iw(), Pm = function() {
31225
31225
  }, t;
31226
31226
  })(Hi.Component)
31227
31227
  );
31228
- const gJ = st`
31229
- ${(e) => e.$lines && st`
31228
+ const gJ = ot`
31229
+ ${(e) => e.$lines && ot`
31230
31230
  display: -webkit-box;
31231
31231
  -webkit-line-clamp: ${e.$lines};
31232
31232
  -webkit-box-orient: vertical;
@@ -31319,12 +31319,31 @@ const gJ = st`
31319
31319
  background-color: ${({ theme: e }) => e.color.grey0};
31320
31320
  border-radius: ${({ theme: e }) => e.size.xs}px;
31321
31321
  border: 1px solid ${({ theme: e }) => e.color.grey1};
31322
+
31323
+ a {
31324
+ color: ${({ theme: e }) => e.color.black};
31325
+ text-decoration: none;
31326
+
31327
+ &:hover {
31328
+ text-decoration: underline;
31329
+ }
31330
+ }
31331
+
31332
+ ${({ $lines: e }) => e && ot`
31333
+ padding: ${({ theme: t }) => t.space.xs}px ${({ theme: t }) => t.space.sm}px;
31334
+ white-space: pre-wrap;
31335
+ border: none;
31336
+ -webkit-box-decoration-break: clone;
31337
+ box-decoration-break: clone;
31338
+ `}
31322
31339
  }
31323
31340
 
31324
31341
  iframe {
31325
31342
  max-width: 100%;
31326
31343
  }
31327
- `, vJ = m.div``, wJ = ({ as: e, className: t, lines: n, __html: r, seeMore: A }, i) => {
31344
+ `, vJ = m.div`
31345
+ margin-top: ${({ theme: e }) => e.space.xs}px;
31346
+ `, wJ = ({ as: e, className: t, lines: n, __html: r, seeMore: A }, i) => {
31328
31347
  const o = q(), a = le(null), [l, c] = S(!1), { displayedHtml: d, charTruncated: u } = te(() => {
31329
31348
  const h = iN(r);
31330
31349
  if (!A || !n)
@@ -31593,7 +31612,7 @@ const gJ = st`
31593
31612
  commonOptions: h,
31594
31613
  ...p
31595
31614
  }, v) => {
31596
- const w = Ot(), y = q(), x = le(void 0), [C, b] = S(!1), [B, E] = S(!1), [D, T] = S(!1), { license_key: j, ...Q } = h, R = (z, W, G) => {
31615
+ const w = Ot(), y = q(), x = le(void 0), [C, b] = S(!1), [B, E] = S(!1), [D, T] = S(!1), { license_key: j, ...O } = h, R = (z, W, G) => {
31597
31616
  G.filetype === "image" && b(!0), G.filetype === "media" && E(!0), G.filetype === "file" && T(!0);
31598
31617
  };
31599
31618
  return M(() => {
@@ -31620,7 +31639,7 @@ const gJ = st`
31620
31639
  },
31621
31640
  licenseKey: j,
31622
31641
  init: {
31623
- ...Q,
31642
+ ...O,
31624
31643
  placeholder: d,
31625
31644
  height: f ?? h.height,
31626
31645
  auto_focus: g === !1 ? void 0 : g,
@@ -32752,7 +32771,7 @@ const oY = ({
32752
32771
  }, p = {
32753
32772
  color: "grey2",
32754
32773
  icon: "icon-search"
32755
- }, [v, w] = S(!1), [y, x] = S(!1), [C, b] = S(""), [B, E] = S(1), [D, T] = S([]), [j, Q] = S({
32774
+ }, [v, w] = S(!1), [y, x] = S(!1), [C, b] = S(""), [B, E] = S(1), [D, T] = S([]), [j, O] = S({
32756
32775
  manualSortBy: !0,
32757
32776
  draggable: !1,
32758
32777
  pagination: {
@@ -32765,7 +32784,7 @@ const oY = ({
32765
32784
  if (e && (v && !G && D.length === 0 || v && B !== j.pagination?.page && Xt(C.toLowerCase(), G.toLowerCase()) || !v && G !== "" && !Xt(C.toLowerCase(), G.toLowerCase()) || v && !Xt(C.toLowerCase(), G.toLowerCase()))) {
32766
32785
  x(!0), Xt(C.toLowerCase(), G.toLowerCase()) || b(G);
32767
32786
  const ne = Xt(C.toLowerCase(), G.toLowerCase()) ? B : 1;
32768
- return e(G, ne).then((_) => (_?.data && (Q({
32787
+ return e(G, ne).then((_) => (_?.data && (O({
32769
32788
  manualSortBy: !0,
32770
32789
  draggable: !1,
32771
32790
  pagination: {
@@ -33652,7 +33671,7 @@ function fT(e) {
33652
33671
  var t = e.parentNode;
33653
33672
  t && t.removeChild(e);
33654
33673
  }
33655
- function O(e, t, n) {
33674
+ function Q(e, t, n) {
33656
33675
  var r, A, i, o = {};
33657
33676
  for (i in t) i == "key" ? r = t[i] : i == "ref" ? A = t[i] : o[i] = t[i];
33658
33677
  if (arguments.length > 2 && (o.children = arguments.length > 3 ? Zu.call(arguments, 2) : n), typeof e == "function" && e.defaultProps != null) for (i in e.defaultProps) o[i] === void 0 && (o[i] = e.defaultProps[i]);
@@ -33878,7 +33897,7 @@ function wZ(e, t, n) {
33878
33897
  }
33879
33898
  function Ma(e, t, n) {
33880
33899
  var r, A, i;
33881
- Fe.__ && Fe.__(e, t), A = (r = !1) ? null : t.__k, i = [], Qw(t, e = t.__k = O(xt, null, [e]), A || Pd, Pd, t.ownerSVGElement !== void 0, A ? null : t.firstChild ? Zu.call(t.childNodes) : null, i, A ? A.__e : t.firstChild, r), wT(i, e);
33900
+ Fe.__ && Fe.__(e, t), A = (r = !1) ? null : t.__k, i = [], Qw(t, e = t.__k = Q(xt, null, [e]), A || Pd, Pd, t.ownerSVGElement !== void 0, A ? null : t.firstChild ? Zu.call(t.childNodes) : null, i, A ? A.__e : t.firstChild, r), wT(i, e);
33882
33901
  }
33883
33902
  function xZ(e, t) {
33884
33903
  var n = { __c: t = "__cC" + dT++, __: e, Consumer: function(r, A) {
@@ -34056,8 +34075,8 @@ Fe.unmount = function(e) {
34056
34075
  }
34057
34076
  this.__b = null;
34058
34077
  }
34059
- var A = t.__a && O(xt, null, e.fallback);
34060
- return A && (A.__h = null), [O(xt, null, t.__a ? null : e.children), A];
34078
+ var A = t.__a && Q(xt, null, e.fallback);
34079
+ return A && (A.__h = null), [Q(xt, null, t.__a ? null : e.children), A];
34061
34080
  };
34062
34081
  var TC = function(e, t, n) {
34063
34082
  if (++n[1] === n[0] && e.o.delete(t), e.props.revealOrder && (e.props.revealOrder[0] !== "t" || !e.o.size)) for (n = e.u; n; ) {
@@ -34081,10 +34100,10 @@ function DZ(e) {
34081
34100
  this.childNodes.push(r), t.i.appendChild(r);
34082
34101
  }, removeChild: function(r) {
34083
34102
  this.childNodes.splice(this.childNodes.indexOf(r) >>> 1, 1), t.i.removeChild(r);
34084
- } }), Ma(O(EZ, { context: t.context }, e.__v), t.l)) : t.l && t.componentWillUnmount();
34103
+ } }), Ma(Q(EZ, { context: t.context }, e.__v), t.l)) : t.l && t.componentWillUnmount();
34085
34104
  }
34086
34105
  function SZ(e, t) {
34087
- var n = O(DZ, { __v: e, i: t });
34106
+ var n = Q(DZ, { __v: e, i: t });
34088
34107
  return n.containerInfo = t, n;
34089
34108
  }
34090
34109
  (ac.prototype = new or()).__a = function(e) {
@@ -34400,7 +34419,7 @@ function t_(e) {
34400
34419
  n.getBoundingClientRect().width;
34401
34420
  }
34402
34421
  const FC = ["years", "months", "days", "milliseconds"], n_ = /^(-?)(?:(\d+)\.)?(\d+):(\d\d)(?::(\d\d)(?:\.(\d\d\d))?)?/;
34403
- function ot(e, t) {
34422
+ function st(e, t) {
34404
34423
  return typeof e == "string" ? r_(e) : typeof e == "object" && e ? MC(e) : typeof e == "number" ? MC({ [t || "milliseconds"]: e }) : null;
34405
34424
  }
34406
34425
  function r_(e) {
@@ -34859,20 +34878,20 @@ function Tt(e) {
34859
34878
  const XC = {
34860
34879
  navLinkDayClick: Z,
34861
34880
  navLinkWeekClick: Z,
34862
- duration: ot,
34881
+ duration: st,
34863
34882
  bootstrapFontAwesome: Z,
34864
34883
  buttonIcons: Z,
34865
34884
  customButtons: Z,
34866
- defaultAllDayEventDuration: ot,
34867
- defaultTimedEventDuration: ot,
34868
- nextDayThreshold: ot,
34869
- scrollTime: ot,
34885
+ defaultAllDayEventDuration: st,
34886
+ defaultTimedEventDuration: st,
34887
+ nextDayThreshold: st,
34888
+ scrollTime: st,
34870
34889
  scrollTimeReset: Boolean,
34871
- slotMinTime: ot,
34872
- slotMaxTime: ot,
34890
+ slotMinTime: st,
34891
+ slotMaxTime: st,
34873
34892
  dayPopoverFormat: Tt,
34874
- slotDuration: ot,
34875
- snapDuration: ot,
34893
+ slotDuration: st,
34894
+ snapDuration: st,
34876
34895
  headerToolbar: Z,
34877
34896
  footerToolbar: Z,
34878
34897
  defaultRangeSeparator: String,
@@ -34979,7 +34998,7 @@ const XC = {
34979
34998
  dayMaxEvents: Z,
34980
34999
  dayMaxEventRows: Z,
34981
35000
  dayMinWidth: Number,
34982
- slotLabelInterval: ot,
35001
+ slotLabelInterval: st,
34983
35002
  allDayText: String,
34984
35003
  allDayClassNames: Z,
34985
35004
  allDayContent: Z,
@@ -35005,7 +35024,7 @@ const XC = {
35005
35024
  firstDay: Number,
35006
35025
  dayCount: Number,
35007
35026
  dateAlignment: String,
35008
- dateIncrement: ot,
35027
+ dateIncrement: st,
35009
35028
  hiddenDays: Z,
35010
35029
  fixedWeekCount: Boolean,
35011
35030
  validRange: Z,
@@ -35469,13 +35488,13 @@ function Wd(e) {
35469
35488
  function r(A) {
35470
35489
  n.push(A);
35471
35490
  }
35472
- for (Fe.debounceRendering = r, Ma(O(Y_, {}), document.createElement("div")); n.length; )
35491
+ for (Fe.debounceRendering = r, Ma(Q(Y_, {}), document.createElement("div")); n.length; )
35473
35492
  n.shift()();
35474
35493
  Fe.debounceRendering = t;
35475
35494
  }
35476
35495
  class Y_ extends or {
35477
35496
  render() {
35478
- return O("div", {});
35497
+ return Q("div", {});
35479
35498
  }
35480
35499
  componentDidMount() {
35481
35500
  this.setState({});
@@ -35546,7 +35565,7 @@ function __(e, t, n, r, A, i, o, a, l, c, d, u, f, g) {
35546
35565
  d.off("_resize", h);
35547
35566
  },
35548
35567
  createScrollResponder(h) {
35549
- return new Z_(h, d, ot(n.scrollTime), n.scrollTimeReset);
35568
+ return new Z_(h, d, st(n.scrollTime), n.scrollTimeReset);
35550
35569
  },
35551
35570
  registerInteractiveComponent: f,
35552
35571
  unregisterInteractiveComponent: g
@@ -35604,7 +35623,7 @@ class Uw extends dt {
35604
35623
  const { props: t, context: n } = this, { options: r } = n, { customGenerator: A, defaultGenerator: i, renderProps: o } = t, a = NT(t, [], this.handleEl);
35605
35624
  let l = !1, c, d = [], u;
35606
35625
  if (A != null) {
35607
- const f = typeof A == "function" ? A(o, O) : A;
35626
+ const f = typeof A == "function" ? A(o, Q) : A;
35608
35627
  if (f === !0)
35609
35628
  l = !0;
35610
35629
  else {
@@ -35613,7 +35632,7 @@ class Uw extends dt {
35613
35632
  }
35614
35633
  } else
35615
35634
  l = !Wm(t.generatorName, r);
35616
- return l && i && (c = i(o)), this.queuedDomNodes = d, this.currentGeneratorMeta = u, O(t.elTag, a, c);
35635
+ return l && i && (c = i(o)), this.queuedDomNodes = d, this.currentGeneratorMeta = u, Q(t.elTag, a, c);
35617
35636
  }
35618
35637
  componentDidMount() {
35619
35638
  this.applyQueueudDomNodes(), this.triggerCustomRendering(!0);
@@ -35677,9 +35696,9 @@ let En = class extends or {
35677
35696
  const { props: t } = this, n = r$(t.classNameGenerator, t.renderProps);
35678
35697
  if (t.children) {
35679
35698
  const r = NT(t, n, this.handleEl), A = t.children(this.InnerContent, t.renderProps, r);
35680
- return t.elTag ? O(t.elTag, r, A) : A;
35699
+ return t.elTag ? Q(t.elTag, r, A) : A;
35681
35700
  } else
35682
- return O(Uw, Object.assign(Object.assign({}, t), { elRef: this.handleEl, elTag: t.elTag || "div", elClasses: (t.elClasses || []).concat(n), renderId: this.context }));
35701
+ return Q(Uw, Object.assign(Object.assign({}, t), { elRef: this.handleEl, elTag: t.elTag || "div", elClasses: (t.elClasses || []).concat(n), renderId: this.context }));
35683
35702
  }
35684
35703
  componentDidMount() {
35685
35704
  var t, n;
@@ -35693,7 +35712,7 @@ let En = class extends or {
35693
35712
  En.contextType = kT;
35694
35713
  function n$(e, t) {
35695
35714
  const n = e.props;
35696
- return O(Uw, Object.assign({ renderProps: n.renderProps, generatorName: n.generatorName, customGenerator: n.customGenerator, defaultGenerator: n.defaultGenerator, renderId: e.context }, t));
35715
+ return Q(Uw, Object.assign({ renderProps: n.renderProps, generatorName: n.generatorName, customGenerator: n.customGenerator, defaultGenerator: n.defaultGenerator, renderId: e.context }, t));
35697
35716
  }
35698
35717
  function r$(e, t) {
35699
35718
  const n = typeof e == "function" ? e(t) : e || [];
@@ -35702,7 +35721,7 @@ function r$(e, t) {
35702
35721
  class Na extends dt {
35703
35722
  render() {
35704
35723
  let { props: t, context: n } = this, { options: r } = n, A = { view: n.viewApi };
35705
- return O(En, { elRef: t.elRef, elTag: t.elTag || "div", elAttrs: t.elAttrs, elClasses: [
35724
+ return Q(En, { elRef: t.elRef, elTag: t.elTag || "div", elAttrs: t.elAttrs, elClasses: [
35706
35725
  ...UT(t.viewSpec),
35707
35726
  ...t.elClasses || []
35708
35727
  ], elStyle: t.elStyle, renderProps: A, classNameGenerator: r.viewClassNames, generatorName: void 0, didMount: r.viewDidMount, willUnmount: r.viewWillUnmount }, () => t.children);
@@ -35750,7 +35769,7 @@ function zT(e) {
35750
35769
  let t = Math.floor(yi(e.start, e.end)) || 1, n = Bt(e.start), r = _t(n, t);
35751
35770
  return { start: n, end: r };
35752
35771
  }
35753
- function Ww(e, t = ot(0)) {
35772
+ function Ww(e, t = st(0)) {
35754
35773
  let n = null, r = null;
35755
35774
  if (e.end) {
35756
35775
  r = Bt(e.end);
@@ -35764,7 +35783,7 @@ function a$(e) {
35764
35783
  return yi(t.start, t.end) > 1;
35765
35784
  }
35766
35785
  function ko(e, t, n, r) {
35767
- return r === "year" ? ot(n.diffWholeYears(e, t), "year") : r === "month" ? ot(n.diffWholeMonths(e, t), "month") : g_(e, t);
35786
+ return r === "year" ? st(n.diffWholeYears(e, t), "year") : r === "month" ? st(n.diffWholeMonths(e, t), "month") : g_(e, t);
35768
35787
  }
35769
35788
  class WT {
35770
35789
  constructor(t) {
@@ -35838,7 +35857,7 @@ class WT {
35838
35857
  return r.duration ? (A = r.duration, i = r.durationUnit, o = this.buildRangeFromDuration(t, n, A, i)) : (a = this.props.dayCount) ? (i = "day", o = this.buildRangeFromDayCount(t, n, a)) : (o = this.buildCustomVisibleRange(t)) ? i = r.dateEnv.greatestWholeUnit(o.start, o.end).unit : (A = this.getFallbackDuration(), i = zm(A).unit, o = this.buildRangeFromDuration(t, n, A, i)), { duration: A, unit: i, range: o };
35839
35858
  }
35840
35859
  getFallbackDuration() {
35841
- return ot({ day: 1 });
35860
+ return st({ day: 1 });
35842
35861
  }
35843
35862
  // Returns a new activeRange to have time values (un-ambiguate)
35844
35863
  // slotMinTime or slotMaxTime causes the range to expand.
@@ -35885,7 +35904,7 @@ class WT {
35885
35904
  // when a prev/next operation happens.
35886
35905
  buildDateIncrement(t) {
35887
35906
  let { dateIncrement: n } = this.props, r;
35888
- return n || ((r = this.props.dateAlignment) ? ot(1, r) : t || ot({ days: 1 }));
35907
+ return n || ((r = this.props.dateAlignment) ? st(1, r) : t || st({ days: 1 }));
35889
35908
  }
35890
35909
  refineRange(t) {
35891
35910
  if (t) {
@@ -36503,15 +36522,15 @@ class Pt {
36503
36522
  }
36504
36523
  }
36505
36524
  moveStart(t) {
36506
- let n = ot(t);
36525
+ let n = st(t);
36507
36526
  n && this.mutate({ startDelta: n });
36508
36527
  }
36509
36528
  moveEnd(t) {
36510
- let n = ot(t);
36529
+ let n = st(t);
36511
36530
  n && this.mutate({ endDelta: n });
36512
36531
  }
36513
36532
  moveDates(t) {
36514
- let n = ot(t);
36533
+ let n = st(t);
36515
36534
  n && this.mutate({ datesDelta: n });
36516
36535
  }
36517
36536
  setAllDay(t, n = {}) {
@@ -37000,7 +37019,7 @@ class ao extends or {
37000
37019
  /year|month|week|day/.test(t.unit) || // if slotDuration 30 mins for example, would NOT appear to snap (legacy behavior)
37001
37020
  (t.unitValue || 1) === 1);
37002
37021
  let i, o;
37003
- return A ? (i = n.dateEnv.startOf(r, t.unit), o = n.dateEnv.add(i, ot(1, t.unit)).valueOf() - r.valueOf()) : (i = r, o = 1e3 * 60), o = Math.min(1e3 * 60 * 60 * 24, o), {
37022
+ return A ? (i = n.dateEnv.startOf(r, t.unit), o = n.dateEnv.add(i, st(1, t.unit)).valueOf() - r.valueOf()) : (i = r, o = 1e3 * 60), o = Math.min(1e3 * 60 * 60 * 24, o), {
37004
37023
  state: { nowDate: i, todayRange: $$(i) },
37005
37024
  waitMs: o
37006
37025
  };
@@ -37157,7 +37176,7 @@ class eee {
37157
37176
  });
37158
37177
  }
37159
37178
  incrementDate(t) {
37160
- let n = this.getCurrentData(), r = ot(t);
37179
+ let n = this.getCurrentData(), r = st(t);
37161
37180
  r && (this.unselect(), this.dispatch({
37162
37181
  type: "CHANGE_DATE",
37163
37182
  dateMarker: n.dateEnv.add(n.currentDate, r)
@@ -37193,7 +37212,7 @@ class eee {
37193
37212
  start: t,
37194
37213
  end: n
37195
37214
  };
37196
- let A = this.getCurrentData(), i = z$(r, A.dateEnv, ot({ days: 1 }));
37215
+ let A = this.getCurrentData(), i = z$(r, A.dateEnv, st({ days: 1 }));
37197
37216
  i && (this.dispatch({ type: "SELECT_DATES", selection: i }), _T(i, null, A));
37198
37217
  }
37199
37218
  unselect(t) {
@@ -37305,7 +37324,7 @@ class eee {
37305
37324
  // Scroll
37306
37325
  // -----------------------------------------------------------------------------------------------------------------
37307
37326
  scrollToTime(t) {
37308
- let n = ot(t);
37327
+ let n = st(t);
37309
37328
  n && this.trigger("_scrollRequest", { time: n });
37310
37329
  }
37311
37330
  }
@@ -37868,7 +37887,7 @@ class bee extends dt {
37868
37887
  let { dateEnv: t, options: n, theme: r, viewApi: A } = this.context, { props: i } = this, { date: o, dateProfile: a } = i, l = $w(o, i.todayRange, null, a), c = [lO].concat(rf(l, r)), d = t.format(o, i.dayHeaderFormat), u = !l.isDisabled && i.colCnt > 1 ? fs(this.context, o) : {}, f = t.toDate(o);
37869
37888
  t.namedTimeZoneImpl && (f = fi(f, 36e5));
37870
37889
  let g = Object.assign(Object.assign(Object.assign({ date: f, view: A }, i.extraRenderProps), { text: d }), l);
37871
- return O(En, { elTag: "th", elClasses: c, elAttrs: Object.assign({ role: "columnheader", colSpan: i.colSpan, "data-date": l.isDisabled ? void 0 : il(o) }, i.extraDataAttrs), renderProps: g, generatorName: "dayHeaderContent", customGenerator: n.dayHeaderContent, defaultGenerator: cO, classNameGenerator: n.dayHeaderClassNames, didMount: n.dayHeaderDidMount, willUnmount: n.dayHeaderWillUnmount }, (h) => O("div", { className: "fc-scrollgrid-sync-inner" }, !l.isDisabled && O(h, { elTag: "a", elAttrs: u, elClasses: [
37890
+ return Q(En, { elTag: "th", elClasses: c, elAttrs: Object.assign({ role: "columnheader", colSpan: i.colSpan, "data-date": l.isDisabled ? void 0 : il(o) }, i.extraDataAttrs), renderProps: g, generatorName: "dayHeaderContent", customGenerator: n.dayHeaderContent, defaultGenerator: cO, classNameGenerator: n.dayHeaderClassNames, didMount: n.dayHeaderDidMount, willUnmount: n.dayHeaderWillUnmount }, (h) => Q("div", { className: "fc-scrollgrid-sync-inner" }, !l.isDisabled && Q(h, { elTag: "a", elAttrs: u, elClasses: [
37872
37891
  "fc-col-header-cell-cushion",
37873
37892
  i.isSticky && "fc-sticky"
37874
37893
  ] })));
@@ -37888,14 +37907,14 @@ class Bee extends dt {
37888
37907
  // TODO: make this public?
37889
37908
  date: o
37890
37909
  }, a), { view: A }), t.extraRenderProps), { text: l });
37891
- return O(En, { elTag: "th", elClasses: [
37910
+ return Q(En, { elTag: "th", elClasses: [
37892
37911
  lO,
37893
37912
  ...rf(a, r),
37894
37913
  ...t.extraClassNames || []
37895
- ], elAttrs: Object.assign({ role: "columnheader", colSpan: t.colSpan }, t.extraDataAttrs), renderProps: c, generatorName: "dayHeaderContent", customGenerator: i.dayHeaderContent, defaultGenerator: cO, classNameGenerator: i.dayHeaderClassNames, didMount: i.dayHeaderDidMount, willUnmount: i.dayHeaderWillUnmount }, (d) => O(
37914
+ ], elAttrs: Object.assign({ role: "columnheader", colSpan: t.colSpan }, t.extraDataAttrs), renderProps: c, generatorName: "dayHeaderContent", customGenerator: i.dayHeaderContent, defaultGenerator: cO, classNameGenerator: i.dayHeaderClassNames, didMount: i.dayHeaderDidMount, willUnmount: i.dayHeaderWillUnmount }, (d) => Q(
37896
37915
  "div",
37897
37916
  { className: "fc-scrollgrid-sync-inner" },
37898
- O(d, { elTag: "a", elClasses: [
37917
+ Q(d, { elTag: "a", elClasses: [
37899
37918
  "fc-col-header-cell-cushion",
37900
37919
  t.isSticky && "fc-sticky"
37901
37920
  ], elAttrs: {
@@ -37910,11 +37929,11 @@ class dO extends dt {
37910
37929
  }
37911
37930
  render() {
37912
37931
  let { context: t } = this, { dates: n, dateProfile: r, datesRepDistinctDays: A, renderIntro: i } = this.props, o = this.createDayHeaderFormatter(t.options.dayHeaderFormat, A, n.length);
37913
- return O(ao, { unit: "day" }, (a, l) => O(
37932
+ return Q(ao, { unit: "day" }, (a, l) => Q(
37914
37933
  "tr",
37915
37934
  { role: "row" },
37916
37935
  i && i("day"),
37917
- n.map((c) => A ? O(bee, { key: c.toISOString(), date: c, dateProfile: r, todayRange: l, colCnt: n.length, dayHeaderFormat: o }) : O(Bee, { key: c.getUTCDay(), dow: c.getUTCDay(), dayHeaderFormat: o }))
37936
+ n.map((c) => A ? Q(bee, { key: c.toISOString(), date: c, dateProfile: r, todayRange: l, colCnt: n.length, dayHeaderFormat: o }) : Q(Bee, { key: c.getUTCDay(), dow: c.getUTCDay(), dayHeaderFormat: o }))
37918
37937
  ));
37919
37938
  }
37920
37939
  }
@@ -38185,7 +38204,7 @@ class vO extends dt {
38185
38204
  }
38186
38205
  render() {
38187
38206
  let { props: t } = this, { liquid: n, liquidIsAbsolute: r } = t, A = n && r, i = ["fc-scroller"];
38188
- return n && (r ? i.push("fc-scroller-liquid-absolute") : i.push("fc-scroller-liquid")), O("div", { ref: this.handleEl, className: i.join(" "), style: {
38207
+ return n && (r ? i.push("fc-scroller-liquid-absolute") : i.push("fc-scroller-liquid")), Q("div", { ref: this.handleEl, className: i.join(" "), style: {
38189
38208
  overflowX: t.overflowX,
38190
38209
  overflowY: t.overflowY,
38191
38210
  left: A && -(t.overcomeLeft || 0) || "",
@@ -38260,7 +38279,7 @@ function Ree(e, t) {
38260
38279
  }
38261
38280
  function Lee(e, t, n, r) {
38262
38281
  let { expandRows: A } = n;
38263
- return typeof t.content == "function" ? t.content(n) : O("table", {
38282
+ return typeof t.content == "function" ? t.content(n) : Q("table", {
38264
38283
  role: "presentation",
38265
38284
  className: [
38266
38285
  t.tableClassName,
@@ -38272,7 +38291,7 @@ function Lee(e, t, n, r) {
38272
38291
  height: A ? n.clientHeight : ""
38273
38292
  // css `height` on a <table> serves as a min-height
38274
38293
  }
38275
- }, n.tableColGroupNode, O(r ? "thead" : "tbody", {
38294
+ }, n.tableColGroupNode, Q(r ? "thead" : "tbody", {
38276
38295
  role: "presentation"
38277
38296
  }, typeof t.rowContent == "function" ? t.rowContent(n) : t.rowContent));
38278
38297
  }
@@ -38284,12 +38303,12 @@ function Hee(e, t) {
38284
38303
  for (let r of e) {
38285
38304
  let A = r.span || 1;
38286
38305
  for (let i = 0; i < A; i += 1)
38287
- n.push(O("col", { style: {
38306
+ n.push(Q("col", { style: {
38288
38307
  width: r.width === "shrink" ? Fee(t) : r.width || "",
38289
38308
  minWidth: r.minWidth || ""
38290
38309
  } }));
38291
38310
  }
38292
- return O("colgroup", {}, ...n);
38311
+ return Q("colgroup", {}, ...n);
38293
38312
  }
38294
38313
  function Fee(e) {
38295
38314
  return e ?? 4;
@@ -38317,7 +38336,7 @@ function kee(e, t) {
38317
38336
  return t && e.liquid && e.maxHeight == null && n.push("fc-scrollgrid-section-liquid"), e.isSticky && n.push("fc-scrollgrid-section-sticky"), n;
38318
38337
  }
38319
38338
  function Ym(e) {
38320
- return O("div", { className: "fc-scrollgrid-sticky-shim", style: {
38339
+ return Q("div", { className: "fc-scrollgrid-sticky-shim", style: {
38321
38340
  width: e.clientWidth,
38322
38341
  minWidth: e.tableMinWidth
38323
38342
  } });
@@ -38353,14 +38372,14 @@ class Ax extends dt {
38353
38372
  g.push(this.renderSection(d, o, !0)), c += 1;
38354
38373
  let h = !AO();
38355
38374
  const p = { role: "rowgroup" };
38356
- return O("table", {
38375
+ return Q("table", {
38357
38376
  role: "grid",
38358
38377
  className: a.join(" "),
38359
38378
  style: { height: t.height }
38360
- }, !!(!h && u.length) && O("thead", p, ...u), !!(!h && f.length) && O("tbody", p, ...f), !!(!h && g.length) && O("tfoot", p, ...g), h && O("tbody", p, ...u, ...f, ...g));
38379
+ }, !!(!h && u.length) && Q("thead", p, ...u), !!(!h && f.length) && Q("tbody", p, ...f), !!(!h && g.length) && Q("tfoot", p, ...g), h && Q("tbody", p, ...u, ...f, ...g));
38361
38380
  }
38362
38381
  renderSection(t, n, r) {
38363
- return "outerContent" in t ? O(xt, { key: t.key }, t.outerContent) : O("tr", { key: t.key, role: "presentation", className: kee(t, this.props.liquid).join(" ") }, this.renderChunkTd(t, n, t.chunk, r));
38382
+ return "outerContent" in t ? Q(xt, { key: t.key }, t.outerContent) : Q("tr", { key: t.key, role: "presentation", className: kee(t, this.props.liquid).join(" ") }, this.renderChunkTd(t, n, t.chunk, r));
38364
38383
  }
38365
38384
  renderChunkTd(t, n, r, A) {
38366
38385
  if ("outerContent" in r)
@@ -38376,13 +38395,13 @@ class Ax extends dt {
38376
38395
  reportRowHeightChange: () => {
38377
38396
  }
38378
38397
  }, A);
38379
- return O(A ? "th" : "td", {
38398
+ return Q(A ? "th" : "td", {
38380
38399
  ref: r.elRef,
38381
38400
  role: "presentation"
38382
- }, O(
38401
+ }, Q(
38383
38402
  "div",
38384
38403
  { className: `fc-scroller-harness${d ? " fc-scroller-harness-liquid" : ""}` },
38385
- O(vO, { ref: this.scrollerRefs.createRef(f), elRef: this.scrollerElRefs.createRef(f), overflowY: u, overflowX: i.liquid ? "hidden" : "visible", maxHeight: t.maxHeight, liquid: d, liquidIsAbsolute: !0 }, g)
38404
+ Q(vO, { ref: this.scrollerRefs.createRef(f), elRef: this.scrollerElRefs.createRef(f), overflowY: u, overflowX: i.liquid ? "hidden" : "visible", maxHeight: t.maxHeight, liquid: d, liquidIsAbsolute: !0 }, g)
38386
38405
  ));
38387
38406
  }
38388
38407
  _handleScrollerEl(t, n) {
@@ -38457,7 +38476,7 @@ class Af extends dt {
38457
38476
  isDragging: !!t.isDragging,
38458
38477
  isResizing: !!t.isResizing
38459
38478
  };
38460
- return O(En, { elRef: this.handleEl, elTag: t.elTag, elAttrs: t.elAttrs, elClasses: [
38479
+ return Q(En, { elRef: this.handleEl, elTag: t.elTag, elAttrs: t.elAttrs, elClasses: [
38461
38480
  ...k$(a),
38462
38481
  ...A.eventRange.ui.classNames,
38463
38482
  ...t.elClasses || []
@@ -38470,15 +38489,15 @@ class Af extends dt {
38470
38489
  class ix extends dt {
38471
38490
  render() {
38472
38491
  let { props: t, context: n } = this, { options: r } = n, { seg: A } = t, { ui: i } = A.eventRange, o = r.eventTimeFormat || t.defaultTimeFormat, a = xa(A, o, n, t.defaultDisplayEventTime, t.defaultDisplayEventEnd);
38473
- return O(Af, Object.assign({}, t, { elTag: "a", elStyle: {
38492
+ return Q(Af, Object.assign({}, t, { elTag: "a", elStyle: {
38474
38493
  borderColor: i.borderColor,
38475
38494
  backgroundColor: i.backgroundColor
38476
- }, elAttrs: Zw(A, n), defaultGenerator: zee, timeText: a }), (l, c) => O(
38495
+ }, elAttrs: Zw(A, n), defaultGenerator: zee, timeText: a }), (l, c) => Q(
38477
38496
  xt,
38478
38497
  null,
38479
- O(l, { elTag: "div", elClasses: ["fc-event-main"], elStyle: { color: c.textColor } }),
38480
- !!c.isStartResizable && O("div", { className: "fc-event-resizer fc-event-resizer-start" }),
38481
- !!c.isEndResizable && O("div", { className: "fc-event-resizer fc-event-resizer-end" })
38498
+ Q(l, { elTag: "div", elClasses: ["fc-event-main"], elStyle: { color: c.textColor } }),
38499
+ !!c.isStartResizable && Q("div", { className: "fc-event-resizer fc-event-resizer-start" }),
38500
+ !!c.isEndResizable && Q("div", { className: "fc-event-resizer fc-event-resizer-end" })
38482
38501
  ));
38483
38502
  }
38484
38503
  }
@@ -38486,24 +38505,24 @@ ix.addPropsEquality({
38486
38505
  seg: qr
38487
38506
  });
38488
38507
  function zee(e) {
38489
- return O(
38508
+ return Q(
38490
38509
  "div",
38491
38510
  { className: "fc-event-main-frame" },
38492
- e.timeText && O("div", { className: "fc-event-time" }, e.timeText),
38493
- O(
38511
+ e.timeText && Q("div", { className: "fc-event-time" }, e.timeText),
38512
+ Q(
38494
38513
  "div",
38495
38514
  { className: "fc-event-title-container" },
38496
- O("div", { className: "fc-event-title fc-sticky" }, e.event.title || O(xt, null, " "))
38515
+ Q("div", { className: "fc-event-title fc-sticky" }, e.event.title || Q(xt, null, " "))
38497
38516
  )
38498
38517
  );
38499
38518
  }
38500
- const ox = (e) => O(NA.Consumer, null, (t) => {
38519
+ const ox = (e) => Q(NA.Consumer, null, (t) => {
38501
38520
  let { options: n } = t, r = {
38502
38521
  isAxis: e.isAxis,
38503
38522
  date: t.dateEnv.toDate(e.date),
38504
38523
  view: t.viewApi
38505
38524
  };
38506
- return O(En, { elRef: e.elRef, elTag: e.elTag || "div", elAttrs: e.elAttrs, elClasses: e.elClasses, elStyle: e.elStyle, renderProps: r, generatorName: "nowIndicatorContent", customGenerator: n.nowIndicatorContent, classNameGenerator: n.nowIndicatorClassNames, didMount: n.nowIndicatorDidMount, willUnmount: n.nowIndicatorWillUnmount }, e.children);
38525
+ return Q(En, { elRef: e.elRef, elTag: e.elTag || "div", elAttrs: e.elAttrs, elClasses: e.elClasses, elStyle: e.elStyle, renderProps: r, generatorName: "nowIndicatorContent", customGenerator: n.nowIndicatorContent, classNameGenerator: n.nowIndicatorClassNames, didMount: n.nowIndicatorDidMount, willUnmount: n.nowIndicatorWillUnmount }, e.children);
38507
38526
  }), Wee = Tt({ day: "numeric" });
38508
38527
  class sx extends dt {
38509
38528
  constructor() {
@@ -38521,7 +38540,7 @@ class sx extends dt {
38521
38540
  dateEnv: n.dateEnv,
38522
38541
  monthStartFormat: r.monthStartFormat
38523
38542
  });
38524
- return O(En, { elRef: t.elRef, elTag: t.elTag, elAttrs: Object.assign(Object.assign({}, t.elAttrs), A.isDisabled ? {} : { "data-date": il(t.date) }), elClasses: [
38543
+ return Q(En, { elRef: t.elRef, elTag: t.elTag, elAttrs: Object.assign(Object.assign({}, t.elAttrs), A.isDisabled ? {} : { "data-date": il(t.date) }), elClasses: [
38525
38544
  ...rf(A, n.theme),
38526
38545
  ...t.elClasses || []
38527
38546
  ], elStyle: t.elStyle, renderProps: A, generatorName: "dayCellContent", customGenerator: r.dayCellContent, defaultGenerator: t.defaultGenerator, classNameGenerator: (
@@ -38543,19 +38562,19 @@ function Xee(e) {
38543
38562
  class yO extends dt {
38544
38563
  render() {
38545
38564
  let { props: t } = this, { seg: n } = t;
38546
- return O(Af, { elTag: "div", elClasses: ["fc-bg-event"], elStyle: { backgroundColor: n.eventRange.ui.backgroundColor }, defaultGenerator: Gee, seg: n, timeText: "", isDragging: !1, isResizing: !1, isDateSelecting: !1, isSelected: !1, isPast: t.isPast, isFuture: t.isFuture, isToday: t.isToday, disableDragging: !0, disableResizing: !0 });
38565
+ return Q(Af, { elTag: "div", elClasses: ["fc-bg-event"], elStyle: { backgroundColor: n.eventRange.ui.backgroundColor }, defaultGenerator: Gee, seg: n, timeText: "", isDragging: !1, isResizing: !1, isDateSelecting: !1, isSelected: !1, isPast: t.isPast, isFuture: t.isFuture, isToday: t.isToday, disableDragging: !0, disableResizing: !0 });
38547
38566
  }
38548
38567
  }
38549
38568
  function Gee(e) {
38550
38569
  let { title: t } = e.event;
38551
- return t && O("div", { className: "fc-event-title" }, e.event.title);
38570
+ return t && Q("div", { className: "fc-event-title" }, e.event.title);
38552
38571
  }
38553
38572
  function bO(e) {
38554
- return O("div", { className: `fc-${e}` });
38573
+ return Q("div", { className: `fc-${e}` });
38555
38574
  }
38556
- const CO = (e) => O(NA.Consumer, null, (t) => {
38575
+ const CO = (e) => Q(NA.Consumer, null, (t) => {
38557
38576
  let { dateEnv: n, options: r } = t, { date: A } = e, i = r.weekNumberFormat || e.defaultFormat, o = n.computeWeekNumber(A), a = n.format(A, i), l = { num: o, text: a, date: A };
38558
- return O(
38577
+ return Q(
38559
38578
  En,
38560
38579
  { elRef: e.elRef, elTag: e.elTag, elAttrs: e.elAttrs, elClasses: e.elClasses, elStyle: e.elStyle, renderProps: l, generatorName: "weekNumberContent", customGenerator: r.weekNumberContent, defaultGenerator: Vee, classNameGenerator: r.weekNumberClassNames, didMount: r.weekNumberDidMount, willUnmount: r.weekNumberWillUnmount },
38561
38580
  e.children
@@ -38586,16 +38605,16 @@ class Kee extends dt {
38586
38605
  "fc-popover",
38587
38606
  t.getClass("popover")
38588
38607
  ].concat(r.extraClassNames || []);
38589
- return SZ(O(
38608
+ return SZ(Q(
38590
38609
  "div",
38591
38610
  Object.assign({}, r.extraAttrs, { id: r.id, className: i.join(" "), "aria-labelledby": A.titleId, ref: this.handleRootEl }),
38592
- O(
38611
+ Q(
38593
38612
  "div",
38594
38613
  { className: "fc-popover-header " + t.getClass("popoverHeader") },
38595
- O("span", { className: "fc-popover-title", id: A.titleId }, r.title),
38596
- O("span", { className: "fc-popover-close " + t.getIconClass("close"), title: n.closeHint, onClick: this.handleCloseClick })
38614
+ Q("span", { className: "fc-popover-title", id: A.titleId }, r.title),
38615
+ Q("span", { className: "fc-popover-close " + t.getIconClass("close"), title: n.closeHint, onClick: this.handleCloseClick })
38597
38616
  ),
38598
- O("div", { className: "fc-popover-body " + t.getClass("popoverContent") }, r.children)
38617
+ Q("div", { className: "fc-popover-body " + t.getClass("popoverContent") }, r.children)
38599
38618
  ), r.parentEl);
38600
38619
  }
38601
38620
  componentDidMount() {
@@ -38628,10 +38647,10 @@ class qee extends Yr {
38628
38647
  }
38629
38648
  render() {
38630
38649
  let { options: t, dateEnv: n } = this.context, { props: r } = this, { startDate: A, todayRange: i, dateProfile: o } = r, a = n.format(A, t.dayPopoverFormat);
38631
- return O(sx, { elRef: this.handleRootEl, date: A, dateProfile: o, todayRange: i }, (l, c, d) => O(
38650
+ return Q(sx, { elRef: this.handleRootEl, date: A, dateProfile: o, todayRange: i }, (l, c, d) => Q(
38632
38651
  Kee,
38633
38652
  { elRef: d.ref, id: r.id, title: a, extraClassNames: ["fc-more-popover"].concat(d.className || []), extraAttrs: d, parentEl: r.parentEl, alignmentEl: r.alignmentEl, alignGridTop: r.alignGridTop, onClose: r.onClose },
38634
- ax(t) && O(l, { elTag: "div", elClasses: ["fc-more-popover-misc"] }),
38653
+ ax(t) && Q(l, { elTag: "div", elClasses: ["fc-more-popover-misc"] }),
38635
38654
  r.children
38636
38655
  ));
38637
38656
  }
@@ -38688,21 +38707,21 @@ class BO extends dt {
38688
38707
  }
38689
38708
  render() {
38690
38709
  let { props: t, state: n } = this;
38691
- return O(NA.Consumer, null, (r) => {
38710
+ return Q(NA.Consumer, null, (r) => {
38692
38711
  let { viewApi: A, options: i, calendarApi: o } = r, { moreLinkText: a } = i, { moreCnt: l } = t, c = eB(t), d = typeof a == "function" ? a.call(o, l) : `+${l} ${a}`, u = va(i.moreLinkHint, [l], d), f = {
38693
38712
  num: l,
38694
38713
  shortText: `+${l}`,
38695
38714
  text: d,
38696
38715
  view: A
38697
38716
  };
38698
- return O(
38717
+ return Q(
38699
38718
  xt,
38700
38719
  null,
38701
- !!t.moreCnt && O(En, { elTag: t.elTag || "a", elRef: this.handleLinkEl, elClasses: [
38720
+ !!t.moreCnt && Q(En, { elTag: t.elTag || "a", elRef: this.handleLinkEl, elClasses: [
38702
38721
  ...t.elClasses || [],
38703
38722
  "fc-more-link"
38704
38723
  ], elStyle: t.elStyle, elAttrs: Object.assign(Object.assign(Object.assign({}, t.elAttrs), jT(this.handleClick)), { title: u, "aria-expanded": n.isPopoverOpen, "aria-controls": n.isPopoverOpen ? n.popoverId : "" }), renderProps: f, generatorName: "moreLinkContent", customGenerator: i.moreLinkContent, defaultGenerator: t.defaultGenerator || Jee, classNameGenerator: i.moreLinkClassNames, didMount: i.moreLinkDidMount, willUnmount: i.moreLinkWillUnmount }, t.children),
38705
- n.isPopoverOpen && O(qee, { id: n.popoverId, startDate: c.start, endDate: c.end, dateProfile: t.dateProfile, todayRange: t.todayRange, extraDateSpan: t.extraDateSpan, parentEl: this.parentEl, alignmentEl: t.alignmentElRef ? t.alignmentElRef.current : this.linkEl, alignGridTop: t.alignGridTop, forceTimed: t.forceTimed, onClose: this.handlePopoverClose }, t.popoverContent())
38724
+ n.isPopoverOpen && Q(qee, { id: n.popoverId, startDate: c.start, endDate: c.end, dateProfile: t.dateProfile, todayRange: t.todayRange, extraDateSpan: t.extraDateSpan, parentEl: this.parentEl, alignmentEl: t.alignmentElRef ? t.alignmentElRef.current : this.linkEl, alignGridTop: t.alignGridTop, forceTimed: t.forceTimed, onClose: this.handlePopoverClose }, t.popoverContent())
38706
38725
  );
38707
38726
  });
38708
38727
  }
@@ -39047,7 +39066,7 @@ function dte(e) {
39047
39066
  };
39048
39067
  }
39049
39068
  function nB(e) {
39050
- return (t) => O(NA.Consumer, null, (n) => O(En, { elTag: "div", elClasses: UT(n.viewSpec), renderProps: Object.assign(Object.assign({}, t), { nextDayThreshold: n.options.nextDayThreshold }), generatorName: void 0, customGenerator: e.content, classNameGenerator: e.classNames, didMount: e.didMount, willUnmount: e.willUnmount }));
39069
+ return (t) => Q(NA.Consumer, null, (n) => Q(En, { elTag: "div", elClasses: UT(n.viewSpec), renderProps: Object.assign(Object.assign({}, t), { nextDayThreshold: n.options.nextDayThreshold }), generatorName: void 0, customGenerator: e.content, classNameGenerator: e.classNames, didMount: e.didMount, willUnmount: e.willUnmount }));
39051
39070
  }
39052
39071
  function ute(e, t, n, r) {
39053
39072
  let A = tB(e), i = tB(t.views), o = lte(A, i);
@@ -39086,7 +39105,7 @@ function fte(e, t, n, r, A) {
39086
39105
  let rB = {};
39087
39106
  function gte(e) {
39088
39107
  let t = JSON.stringify(e), n = rB[t];
39089
- return n === void 0 && (n = ot(e), rB[t] = n), n;
39108
+ return n === void 0 && (n = st(e), rB[t] = n), n;
39090
39109
  }
39091
39110
  function hte(e, t) {
39092
39111
  return t.type === "CHANGE_VIEW_TYPE" && (e = t.viewType), e;
@@ -39421,9 +39440,9 @@ function zte(e, t, n) {
39421
39440
  }
39422
39441
  const Wte = {
39423
39442
  daysOfWeek: Z,
39424
- startTime: ot,
39425
- endTime: ot,
39426
- duration: ot,
39443
+ startTime: st,
39444
+ endTime: st,
39445
+ duration: st,
39427
39446
  startRecur: Z,
39428
39447
  endRecur: Z
39429
39448
  };
@@ -39845,22 +39864,22 @@ function sB(e, t) {
39845
39864
  class lne extends dt {
39846
39865
  render() {
39847
39866
  let t = this.props.widgetGroups.map((n) => this.renderWidgetGroup(n));
39848
- return O("div", { className: "fc-toolbar-chunk" }, ...t);
39867
+ return Q("div", { className: "fc-toolbar-chunk" }, ...t);
39849
39868
  }
39850
39869
  renderWidgetGroup(t) {
39851
39870
  let { props: n } = this, { theme: r } = this.context, A = [], i = !0;
39852
39871
  for (let o of t) {
39853
39872
  let { buttonName: a, buttonClick: l, buttonText: c, buttonIcon: d, buttonHint: u } = o;
39854
39873
  if (a === "title")
39855
- i = !1, A.push(O("h2", { className: "fc-toolbar-title", id: n.titleId }, n.title));
39874
+ i = !1, A.push(Q("h2", { className: "fc-toolbar-title", id: n.titleId }, n.title));
39856
39875
  else {
39857
39876
  let f = a === n.activeButton, g = !n.isTodayEnabled && a === "today" || !n.isPrevEnabled && a === "prev" || !n.isNextEnabled && a === "next", h = [`fc-${a}-button`, r.getClass("button")];
39858
- f && h.push(r.getClass("buttonActive")), A.push(O("button", { type: "button", title: typeof u == "function" ? u(n.navUnit) : u, disabled: g, "aria-pressed": f, className: h.join(" "), onClick: l }, c || (d ? O("span", { className: d, role: "img" }) : "")));
39877
+ f && h.push(r.getClass("buttonActive")), A.push(Q("button", { type: "button", title: typeof u == "function" ? u(n.navUnit) : u, disabled: g, "aria-pressed": f, className: h.join(" "), onClick: l }, c || (d ? Q("span", { className: d, role: "img" }) : "")));
39859
39878
  }
39860
39879
  }
39861
39880
  if (A.length > 1) {
39862
39881
  let o = i && r.getClass("buttonGroup") || "";
39863
- return O("div", { className: o }, ...A);
39882
+ return Q("div", { className: o }, ...A);
39864
39883
  }
39865
39884
  return A[0];
39866
39885
  }
@@ -39868,7 +39887,7 @@ class lne extends dt {
39868
39887
  let aB = class extends dt {
39869
39888
  render() {
39870
39889
  let { model: t, extraClassName: n } = this.props, r = !1, A, i, o = t.sectionWidgets, a = o.center;
39871
- return o.left ? (r = !0, A = o.left) : A = o.start, o.right ? (r = !0, i = o.right) : i = o.end, O(
39890
+ return o.left ? (r = !0, A = o.left) : A = o.start, o.right ? (r = !0, i = o.right) : i = o.end, Q(
39872
39891
  "div",
39873
39892
  { className: [
39874
39893
  n || "",
@@ -39882,7 +39901,7 @@ let aB = class extends dt {
39882
39901
  }
39883
39902
  renderSection(t, n) {
39884
39903
  let { props: r } = this;
39885
- return O(lne, { key: t, widgetGroups: n, title: r.title, navUnit: r.navUnit, activeButton: r.activeButton, isTodayEnabled: r.isTodayEnabled, isPrevEnabled: r.isPrevEnabled, isNextEnabled: r.isNextEnabled, titleId: r.titleId });
39904
+ return Q(lne, { key: t, widgetGroups: n, title: r.title, navUnit: r.navUnit, activeButton: r.activeButton, isTodayEnabled: r.isTodayEnabled, isPrevEnabled: r.isPrevEnabled, isNextEnabled: r.isNextEnabled, titleId: r.titleId });
39886
39905
  }
39887
39906
  };
39888
39907
  class cne extends dt {
@@ -39901,7 +39920,7 @@ class cne extends dt {
39901
39920
  r || t.liquid || t.height ? "fc-view-harness-active" : "fc-view-harness-passive"
39902
39921
  // let the view do the height
39903
39922
  ], i = "", o = "";
39904
- return r ? n.availableWidth !== null ? i = n.availableWidth / r : o = `${1 / r * 100}%` : i = t.height || "", O("div", { "aria-labelledby": t.labeledById, ref: this.handleEl, className: A.join(" "), style: { height: i, paddingBottom: o } }, t.children);
39923
+ return r ? n.availableWidth !== null ? i = n.availableWidth / r : o = `${1 / r * 100}%` : i = t.height || "", Q("div", { "aria-labelledby": t.labeledById, ref: this.handleEl, className: A.join(" "), style: { height: i, paddingBottom: o } }, t.children);
39905
39924
  }
39906
39925
  componentDidMount() {
39907
39926
  this.context.addResizeHandler(this.handleResize);
@@ -39998,22 +40017,22 @@ class fne extends so {
39998
40017
  let { props: t } = this, { toolbarConfig: n, options: r } = t, A = !1, i = "", o;
39999
40018
  t.isHeightAuto || t.forPrint ? i = "" : r.height != null ? A = !0 : r.contentHeight != null ? i = r.contentHeight : o = Math.max(r.aspectRatio, 0.5);
40000
40019
  let a = this.buildViewContext(t.viewSpec, t.viewApi, t.options, t.dateProfileGenerator, t.dateEnv, t.nowManager, t.theme, t.pluginHooks, t.dispatch, t.getCurrentData, t.emitter, t.calendarApi, this.registerInteractiveComponent, this.unregisterInteractiveComponent), l = n.header && n.header.hasTitle ? this.state.viewLabelId : void 0;
40001
- return O(
40020
+ return Q(
40002
40021
  NA.Provider,
40003
40022
  { value: a },
40004
- O(ao, { unit: "day" }, (c) => {
40023
+ Q(ao, { unit: "day" }, (c) => {
40005
40024
  let d = this.buildToolbarProps(t.viewSpec, t.dateProfile, t.dateProfileGenerator, t.currentDate, c, t.viewTitle);
40006
- return O(
40025
+ return Q(
40007
40026
  xt,
40008
40027
  null,
40009
- n.header && O(aB, Object.assign({ ref: this.headerRef, extraClassName: "fc-header-toolbar", model: n.header, titleId: l }, d)),
40010
- O(
40028
+ n.header && Q(aB, Object.assign({ ref: this.headerRef, extraClassName: "fc-header-toolbar", model: n.header, titleId: l }, d)),
40029
+ Q(
40011
40030
  cne,
40012
40031
  { liquid: A, height: i, aspectRatio: o, labeledById: l },
40013
40032
  this.renderView(t),
40014
40033
  this.buildAppendContent()
40015
40034
  ),
40016
- n.footer && O(aB, Object.assign({ ref: this.footerRef, extraClassName: "fc-footer-toolbar", model: n.footer, titleId: "" }, d))
40035
+ n.footer && Q(aB, Object.assign({ ref: this.footerRef, extraClassName: "fc-footer-toolbar", model: n.footer, titleId: "" }, d))
40017
40036
  );
40018
40037
  })
40019
40038
  );
@@ -40038,7 +40057,7 @@ class fne extends so {
40038
40057
  }
40039
40058
  buildAppendContent() {
40040
40059
  let { props: t } = this, n = t.pluginHooks.viewContainerAppends.map((r) => r(t));
40041
- return O(xt, {}, ...n);
40060
+ return Q(xt, {}, ...n);
40042
40061
  }
40043
40062
  renderView(t) {
40044
40063
  let { pluginHooks: n } = t, { viewSpec: r } = t, A = {
@@ -40056,7 +40075,7 @@ class fne extends so {
40056
40075
  for (let a of i)
40057
40076
  Object.assign(A, a.transform(A, t));
40058
40077
  let o = r.component;
40059
- return O(o, Object.assign({}, A));
40078
+ return Q(o, Object.assign({}, A));
40060
40079
  }
40061
40080
  }
40062
40081
  function gne(e, t, n, r, A, i) {
@@ -40088,10 +40107,10 @@ class pne extends eee {
40088
40107
  this.isRendered = !0;
40089
40108
  let { currentData: r } = this;
40090
40109
  Wd(() => {
40091
- Ma(O(Z$, { options: r.calendarOptions, theme: r.theme, emitter: r.emitter }, (A, i, o, a) => (this.setClassNames(A), this.setHeight(i), O(
40110
+ Ma(Q(Z$, { options: r.calendarOptions, theme: r.theme, emitter: r.emitter }, (A, i, o, a) => (this.setClassNames(A), this.setHeight(i), Q(
40092
40111
  kT.Provider,
40093
40112
  { value: this.customContentRenderId },
40094
- O(fne, Object.assign({ isHeightAuto: o, forPrint: a }, r))
40113
+ Q(fne, Object.assign({ isHeightAuto: o, forPrint: a }, r))
40095
40114
  ))), this.el);
40096
40115
  });
40097
40116
  } else this.isRendered && (this.isRendered = !1, Ma(null, this.el), this.setClassNames([]), this.setHeight(""));
@@ -40160,10 +40179,10 @@ class mne extends Yr {
40160
40179
  key: "body",
40161
40180
  liquid: !0,
40162
40181
  chunk: { content: n }
40163
- }), O(
40182
+ }), Q(
40164
40183
  Na,
40165
40184
  { elClasses: ["fc-daygrid"], viewSpec: A.viewSpec },
40166
- O(Ax, { liquid: !r.isHeightAuto && !r.forPrint, collapsibleWidth: r.forPrint, cols: [], sections: i })
40185
+ Q(Ax, { liquid: !r.isHeightAuto && !r.forPrint, collapsibleWidth: r.forPrint, cols: [], sections: i })
40167
40186
  );
40168
40187
  }
40169
40188
  renderHScrollLayout(t, n, r, A) {
@@ -40197,10 +40216,10 @@ class mne extends Yr {
40197
40216
  key: "main",
40198
40217
  content: Ym
40199
40218
  }]
40200
- }), O(
40219
+ }), Q(
40201
40220
  Na,
40202
40221
  { elClasses: ["fc-daygrid"], viewSpec: a.viewSpec },
40203
- O(i, { liquid: !o.isHeightAuto && !o.forPrint, forPrint: o.forPrint, collapsibleWidth: o.forPrint, colGroups: [{ cols: [{ span: r, minWidth: A }] }], sections: d })
40222
+ Q(i, { liquid: !o.isHeightAuto && !o.forPrint, forPrint: o.forPrint, collapsibleWidth: o.forPrint, colGroups: [{ cols: [{ span: r, minWidth: A }] }], sections: d })
40204
40223
  );
40205
40224
  }
40206
40225
  }
@@ -40251,22 +40270,22 @@ function HO(e) {
40251
40270
  class FO extends dt {
40252
40271
  render() {
40253
40272
  let { props: t } = this;
40254
- return O(ix, Object.assign({}, t, { elClasses: ["fc-daygrid-event", "fc-daygrid-block-event", "fc-h-event"], defaultTimeFormat: PO, defaultDisplayEventEnd: t.defaultDisplayEventEnd, disableResizing: !t.seg.eventRange.def.allDay }));
40273
+ return Q(ix, Object.assign({}, t, { elClasses: ["fc-daygrid-event", "fc-daygrid-block-event", "fc-h-event"], defaultTimeFormat: PO, defaultDisplayEventEnd: t.defaultDisplayEventEnd, disableResizing: !t.seg.eventRange.def.allDay }));
40255
40274
  }
40256
40275
  }
40257
40276
  class MO extends dt {
40258
40277
  render() {
40259
40278
  let { props: t, context: n } = this, { options: r } = n, { seg: A } = t, i = r.eventTimeFormat || PO, o = xa(A, i, n, !0, t.defaultDisplayEventEnd);
40260
- return O(Af, Object.assign({}, t, { elTag: "a", elClasses: ["fc-daygrid-event", "fc-daygrid-dot-event"], elAttrs: Zw(t.seg, n), defaultGenerator: vne, timeText: o, isResizing: !1, isDateSelecting: !1 }));
40279
+ return Q(Af, Object.assign({}, t, { elTag: "a", elClasses: ["fc-daygrid-event", "fc-daygrid-dot-event"], elAttrs: Zw(t.seg, n), defaultGenerator: vne, timeText: o, isResizing: !1, isDateSelecting: !1 }));
40261
40280
  }
40262
40281
  }
40263
40282
  function vne(e) {
40264
- return O(
40283
+ return Q(
40265
40284
  xt,
40266
40285
  null,
40267
- O("div", { className: "fc-daygrid-event-dot", style: { borderColor: e.borderColor || e.backgroundColor } }),
40268
- e.timeText && O("div", { className: "fc-event-time" }, e.timeText),
40269
- O("div", { className: "fc-event-title" }, e.event.title || O(xt, null, " "))
40286
+ Q("div", { className: "fc-daygrid-event-dot", style: { borderColor: e.borderColor || e.backgroundColor } }),
40287
+ e.timeText && Q("div", { className: "fc-event-time" }, e.timeText),
40288
+ Q("div", { className: "fc-event-title" }, e.event.title || Q(xt, null, " "))
40270
40289
  );
40271
40290
  }
40272
40291
  class wne extends dt {
@@ -40275,13 +40294,13 @@ class wne extends dt {
40275
40294
  }
40276
40295
  render() {
40277
40296
  let { props: t } = this, { allSegs: n, invisibleSegs: r } = this.compileSegs(t.singlePlacements);
40278
- return O(BO, { elClasses: ["fc-daygrid-more-link"], dateProfile: t.dateProfile, todayRange: t.todayRange, allDayDate: t.allDayDate, moreCnt: t.moreCnt, allSegs: n, hiddenSegs: r, alignmentElRef: t.alignmentElRef, alignGridTop: t.alignGridTop, extraDateSpan: t.extraDateSpan, popoverContent: () => {
40297
+ return Q(BO, { elClasses: ["fc-daygrid-more-link"], dateProfile: t.dateProfile, todayRange: t.todayRange, allDayDate: t.allDayDate, moreCnt: t.moreCnt, allSegs: n, hiddenSegs: r, alignmentElRef: t.alignmentElRef, alignGridTop: t.alignGridTop, extraDateSpan: t.extraDateSpan, popoverContent: () => {
40279
40298
  let A = (t.eventDrag ? t.eventDrag.affectedInstances : null) || (t.eventResize ? t.eventResize.affectedInstances : null) || {};
40280
- return O(xt, null, n.map((i) => {
40299
+ return Q(xt, null, n.map((i) => {
40281
40300
  let o = i.eventRange.instance.instanceId;
40282
- return O("div", { className: "fc-daygrid-event-harness", key: o, style: {
40301
+ return Q("div", { className: "fc-daygrid-event-harness", key: o, style: {
40283
40302
  visibility: A[o] ? "hidden" : ""
40284
- } }, HO(i) ? O(MO, Object.assign({ seg: i, isDragging: !1, isSelected: o === t.eventSelection, defaultDisplayEventEnd: !1 }, LA(i, t.todayRange))) : O(FO, Object.assign({ seg: i, isDragging: !1, isResizing: !1, isDateSelecting: !1, isSelected: o === t.eventSelection, defaultDisplayEventEnd: !1 }, LA(i, t.todayRange))));
40303
+ } }, HO(i) ? Q(MO, Object.assign({ seg: i, isDragging: !1, isSelected: o === t.eventSelection, defaultDisplayEventEnd: !1 }, LA(i, t.todayRange))) : Q(FO, Object.assign({ seg: i, isDragging: !1, isResizing: !1, isDateSelecting: !1, isSelected: o === t.eventSelection, defaultDisplayEventEnd: !1 }, LA(i, t.todayRange))));
40285
40304
  }));
40286
40305
  } });
40287
40306
  }
@@ -40304,44 +40323,44 @@ class bne extends Yr {
40304
40323
  render() {
40305
40324
  let { context: t, props: n, state: r, rootElRef: A } = this, { options: i, dateEnv: o } = t, { date: a, dateProfile: l } = n;
40306
40325
  const c = n.showDayNumber && Bne(a, l.currentRange, o);
40307
- return O(sx, { elTag: "td", elRef: this.handleRootEl, elClasses: [
40326
+ return Q(sx, { elTag: "td", elRef: this.handleRootEl, elClasses: [
40308
40327
  "fc-daygrid-day",
40309
40328
  ...n.extraClassNames || []
40310
- ], elAttrs: Object.assign(Object.assign(Object.assign({}, n.extraDataAttrs), n.showDayNumber ? { "aria-labelledby": r.dayNumberId } : {}), { role: "gridcell" }), defaultGenerator: Cne, date: a, dateProfile: l, todayRange: n.todayRange, showDayNumber: n.showDayNumber, isMonthStart: c, extraRenderProps: n.extraRenderProps }, (d, u) => O(
40329
+ ], elAttrs: Object.assign(Object.assign(Object.assign({}, n.extraDataAttrs), n.showDayNumber ? { "aria-labelledby": r.dayNumberId } : {}), { role: "gridcell" }), defaultGenerator: Cne, date: a, dateProfile: l, todayRange: n.todayRange, showDayNumber: n.showDayNumber, isMonthStart: c, extraRenderProps: n.extraRenderProps }, (d, u) => Q(
40311
40330
  "div",
40312
40331
  { ref: n.innerElRef, className: "fc-daygrid-day-frame fc-scrollgrid-sync-inner", style: { minHeight: n.minHeight } },
40313
- n.showWeekNumber && O(CO, { elTag: "a", elClasses: ["fc-daygrid-week-number"], elAttrs: fs(t, a, "week"), date: a, defaultFormat: yne }),
40314
- !u.isDisabled && (n.showDayNumber || ax(i) || n.forceDayTop) ? O(
40332
+ n.showWeekNumber && Q(CO, { elTag: "a", elClasses: ["fc-daygrid-week-number"], elAttrs: fs(t, a, "week"), date: a, defaultFormat: yne }),
40333
+ !u.isDisabled && (n.showDayNumber || ax(i) || n.forceDayTop) ? Q(
40315
40334
  "div",
40316
40335
  { className: "fc-daygrid-day-top" },
40317
- O(d, { elTag: "a", elClasses: [
40336
+ Q(d, { elTag: "a", elClasses: [
40318
40337
  "fc-daygrid-day-number",
40319
40338
  c && "fc-daygrid-month-start"
40320
40339
  ], elAttrs: Object.assign(Object.assign({}, fs(t, a)), { id: r.dayNumberId }) })
40321
40340
  ) : n.showDayNumber ? (
40322
40341
  // for creating correct amount of space (see issue #7162)
40323
- O(
40342
+ Q(
40324
40343
  "div",
40325
40344
  { className: "fc-daygrid-day-top", style: { visibility: "hidden" } },
40326
- O("a", { className: "fc-daygrid-day-number" }, " ")
40345
+ Q("a", { className: "fc-daygrid-day-number" }, " ")
40327
40346
  )
40328
40347
  ) : void 0,
40329
- O(
40348
+ Q(
40330
40349
  "div",
40331
40350
  { className: "fc-daygrid-day-events", ref: n.fgContentElRef },
40332
40351
  n.fgContent,
40333
- O(
40352
+ Q(
40334
40353
  "div",
40335
40354
  { className: "fc-daygrid-day-bottom", style: { marginTop: n.moreMarginTop } },
40336
- O(wne, { allDayDate: a, singlePlacements: n.singlePlacements, moreCnt: n.moreCnt, alignmentElRef: A, alignGridTop: !n.showDayNumber, extraDateSpan: n.extraDateSpan, dateProfile: n.dateProfile, eventSelection: n.eventSelection, eventDrag: n.eventDrag, eventResize: n.eventResize, todayRange: n.todayRange })
40355
+ Q(wne, { allDayDate: a, singlePlacements: n.singlePlacements, moreCnt: n.moreCnt, alignmentElRef: A, alignGridTop: !n.showDayNumber, extraDateSpan: n.extraDateSpan, dateProfile: n.dateProfile, eventSelection: n.eventSelection, eventDrag: n.eventDrag, eventResize: n.eventResize, todayRange: n.todayRange })
40337
40356
  )
40338
40357
  ),
40339
- O("div", { className: "fc-daygrid-day-bg" }, n.bgContent)
40358
+ Q("div", { className: "fc-daygrid-day-bg" }, n.bgContent)
40340
40359
  ));
40341
40360
  }
40342
40361
  }
40343
40362
  function Cne(e) {
40344
- return e.dayNumberText || O(xt, null, " ");
40363
+ return e.dayNumberText || Q(xt, null, " ");
40345
40364
  }
40346
40365
  function Bne(e, t, n) {
40347
40366
  const { start: r, end: A } = t, i = fi(A, -1), o = n.getYear(r), a = n.getMonth(r), l = n.getYear(i), c = n.getMonth(i);
@@ -40513,23 +40532,23 @@ class UO extends Yr {
40513
40532
  // TODO: messy way to compute this
40514
40533
  t.eventDrag && t.eventDrag.affectedInstances || t.eventResize && t.eventResize.affectedInstances || {}
40515
40534
  );
40516
- return O(
40535
+ return Q(
40517
40536
  "tr",
40518
40537
  { ref: this.rootElRef, role: "row" },
40519
40538
  t.renderIntro && t.renderIntro(),
40520
40539
  t.cells.map((p, v) => {
40521
40540
  let w = this.renderFgSegs(v, t.forPrint ? d[v] : u[v], t.todayRange, h), y = this.renderFgSegs(v, Tne(c[v], u), t.todayRange, {}, !!t.eventDrag, !!t.eventResize, !1);
40522
- return O(bne, { key: p.key, elRef: this.cellElRefs.createRef(p.key), innerElRef: this.frameElRefs.createRef(p.key), dateProfile: t.dateProfile, date: p.date, showDayNumber: t.showDayNumbers, showWeekNumber: t.showWeekNumbers && v === 0, forceDayTop: t.showWeekNumbers, todayRange: t.todayRange, eventSelection: t.eventSelection, eventDrag: t.eventDrag, eventResize: t.eventResize, extraRenderProps: p.extraRenderProps, extraDataAttrs: p.extraDataAttrs, extraClassNames: p.extraClassNames, extraDateSpan: p.extraDateSpan, moreCnt: f[v], moreMarginTop: g[v], singlePlacements: d[v], fgContentElRef: this.fgElRefs.createRef(p.key), fgContent: (
40541
+ return Q(bne, { key: p.key, elRef: this.cellElRefs.createRef(p.key), innerElRef: this.frameElRefs.createRef(p.key), dateProfile: t.dateProfile, date: p.date, showDayNumber: t.showDayNumbers, showWeekNumber: t.showWeekNumbers && v === 0, forceDayTop: t.showWeekNumbers, todayRange: t.todayRange, eventSelection: t.eventSelection, eventDrag: t.eventDrag, eventResize: t.eventResize, extraRenderProps: p.extraRenderProps, extraDataAttrs: p.extraDataAttrs, extraClassNames: p.extraClassNames, extraDateSpan: p.extraDateSpan, moreCnt: f[v], moreMarginTop: g[v], singlePlacements: d[v], fgContentElRef: this.fgElRefs.createRef(p.key), fgContent: (
40523
40542
  // Fragment scopes the keys
40524
- O(
40543
+ Q(
40525
40544
  xt,
40526
40545
  null,
40527
- O(xt, null, w),
40528
- O(xt, null, y)
40546
+ Q(xt, null, w),
40547
+ Q(xt, null, y)
40529
40548
  )
40530
40549
  ), bgContent: (
40531
40550
  // Fragment scopes the keys
40532
- O(
40551
+ Q(
40533
40552
  xt,
40534
40553
  null,
40535
40554
  this.renderFillSegs(l[v], "highlight"),
@@ -40563,13 +40582,13 @@ class UO extends Yr {
40563
40582
  if (d)
40564
40583
  for (let h of n) {
40565
40584
  let { seg: p } = h, { instanceId: v } = p.eventRange.instance, w = h.isVisible && !A[v], y = h.isAbsolute, x = "", C = "";
40566
- y && (l.isRtl ? (C = 0, x = d.lefts[p.lastCol] - d.lefts[p.firstCol]) : (x = 0, C = d.rights[p.firstCol] - d.rights[p.lastCol])), g.push(O("div", { className: "fc-daygrid-event-harness" + (y ? " fc-daygrid-event-harness-abs" : ""), key: NO(p), ref: f ? null : this.segHarnessRefs.createRef(kO(p)), style: {
40585
+ y && (l.isRtl ? (C = 0, x = d.lefts[p.lastCol] - d.lefts[p.firstCol]) : (x = 0, C = d.rights[p.firstCol] - d.rights[p.lastCol])), g.push(Q("div", { className: "fc-daygrid-event-harness" + (y ? " fc-daygrid-event-harness-abs" : ""), key: NO(p), ref: f ? null : this.segHarnessRefs.createRef(kO(p)), style: {
40567
40586
  visibility: w ? "" : "hidden",
40568
40587
  marginTop: y ? "" : h.marginTop,
40569
40588
  top: y ? h.absoluteTop : "",
40570
40589
  left: x,
40571
40590
  right: C
40572
- } }, HO(p) ? O(MO, Object.assign({ seg: p, isDragging: i, isSelected: v === c, defaultDisplayEventEnd: u }, LA(p, r))) : O(FO, Object.assign({ seg: p, isDragging: i, isResizing: o, isDateSelecting: a, isSelected: v === c, defaultDisplayEventEnd: u }, LA(p, r)))));
40591
+ } }, HO(p) ? Q(MO, Object.assign({ seg: p, isDragging: i, isSelected: v === c, defaultDisplayEventEnd: u }, LA(p, r))) : Q(FO, Object.assign({ seg: p, isDragging: i, isResizing: o, isDateSelecting: a, isSelected: v === c, defaultDisplayEventEnd: u }, LA(p, r)))));
40573
40592
  }
40574
40593
  return g;
40575
40594
  }
@@ -40584,9 +40603,9 @@ class UO extends Yr {
40584
40603
  left: 0,
40585
40604
  right: i.rights[a.firstCol] - i.rights[a.lastCol]
40586
40605
  };
40587
- o.push(O("div", { key: tO(a.eventRange), className: "fc-daygrid-bg-harness", style: l }, n === "bg-event" ? O(yO, Object.assign({ seg: a }, LA(a, A))) : bO(n)));
40606
+ o.push(Q("div", { key: tO(a.eventRange), className: "fc-daygrid-bg-harness", style: l }, n === "bg-event" ? Q(yO, Object.assign({ seg: a }, LA(a, A))) : bO(n)));
40588
40607
  }
40589
- return O(xt, {}, ...o);
40608
+ return Q(xt, {}, ...o);
40590
40609
  }
40591
40610
  updateSizing(t) {
40592
40611
  let { props: n, state: r, frameElRefs: A } = this;
@@ -40667,7 +40686,7 @@ class Qne extends Yr {
40667
40686
  }
40668
40687
  render() {
40669
40688
  let { props: t, context: n } = this, r = t.cells.length, A = this.splitBusinessHourSegs(t.businessHourSegs, r), i = this.splitBgEventSegs(t.bgEventSegs, r), o = this.splitFgEventSegs(t.fgEventSegs, r), a = this.splitDateSelectionSegs(t.dateSelectionSegs, r), l = this.splitEventDrag(t.eventDrag, r), c = this.splitEventResize(t.eventResize, r), d = r >= 7 && t.clientWidth ? t.clientWidth / n.options.aspectRatio / 6 : null;
40670
- return O(ao, { unit: "day" }, (u, f) => O(xt, null, t.cells.map((g, h) => O(UO, {
40689
+ return Q(ao, { unit: "day" }, (u, f) => Q(xt, null, t.cells.map((g, h) => Q(UO, {
40671
40690
  ref: this.rowRefs.createRef(h),
40672
40691
  key: g.length ? g[0].date.toISOString() : h,
40673
40692
  showDayNumbers: r > 1,
@@ -40773,7 +40792,7 @@ class Lne extends Yr {
40773
40792
  A ? "" : "fc-daygrid-body-natural"
40774
40793
  // will height of one row depend on the others?
40775
40794
  ];
40776
- return O(
40795
+ return Q(
40777
40796
  "div",
40778
40797
  { ref: this.elRef, className: o.join(" "), style: {
40779
40798
  // these props are important to give this wrapper correct dimensions for interactions
@@ -40781,7 +40800,7 @@ class Lne extends Yr {
40781
40800
  width: t.clientWidth,
40782
40801
  minWidth: t.tableMinWidth
40783
40802
  } },
40784
- O(
40803
+ Q(
40785
40804
  "table",
40786
40805
  { role: "presentation", className: "fc-scrollgrid-sync-table", style: {
40787
40806
  width: t.clientWidth,
@@ -40789,10 +40808,10 @@ class Lne extends Yr {
40789
40808
  height: A ? t.clientHeight : ""
40790
40809
  } },
40791
40810
  t.colGroupNode,
40792
- O(
40811
+ Q(
40793
40812
  "tbody",
40794
40813
  { role: "presentation" },
40795
- O(Qne, { dateProfile: t.dateProfile, cells: t.cells, renderRowIntro: t.renderRowIntro, showWeekNumbers: t.showWeekNumbers, clientWidth: t.clientWidth, clientHeight: t.clientHeight, businessHourSegs: t.businessHourSegs, bgEventSegs: t.bgEventSegs, fgEventSegs: t.fgEventSegs, dateSelectionSegs: t.dateSelectionSegs, eventSelection: t.eventSelection, eventDrag: t.eventDrag, eventResize: t.eventResize, dayMaxEvents: r, dayMaxEventRows: n, forPrint: t.forPrint, isHitComboAllowed: t.isHitComboAllowed })
40814
+ Q(Qne, { dateProfile: t.dateProfile, cells: t.cells, renderRowIntro: t.renderRowIntro, showWeekNumbers: t.showWeekNumbers, clientWidth: t.clientWidth, clientHeight: t.clientHeight, businessHourSegs: t.businessHourSegs, bgEventSegs: t.bgEventSegs, fgEventSegs: t.fgEventSegs, dateSelectionSegs: t.dateSelectionSegs, eventSelection: t.eventSelection, eventDrag: t.eventDrag, eventResize: t.eventResize, dayMaxEvents: r, dayMaxEventRows: n, forPrint: t.forPrint, isHitComboAllowed: t.isHitComboAllowed })
40796
40815
  )
40797
40816
  )
40798
40817
  );
@@ -40835,7 +40854,7 @@ class zO extends Yr {
40835
40854
  }
40836
40855
  render() {
40837
40856
  let { props: t, context: n } = this;
40838
- return O(Lne, Object.assign({ ref: this.tableRef }, this.slicer.sliceProps(t, t.dateProfile, t.nextDayThreshold, n, t.dayTableModel), { dateProfile: t.dateProfile, cells: t.dayTableModel.cells, colGroupNode: t.colGroupNode, tableMinWidth: t.tableMinWidth, renderRowIntro: t.renderRowIntro, dayMaxEvents: t.dayMaxEvents, dayMaxEventRows: t.dayMaxEventRows, showWeekNumbers: t.showWeekNumbers, expandRows: t.expandRows, headerAlignElRef: t.headerAlignElRef, clientWidth: t.clientWidth, clientHeight: t.clientHeight, forPrint: t.forPrint }));
40857
+ return Q(Lne, Object.assign({ ref: this.tableRef }, this.slicer.sliceProps(t, t.dateProfile, t.nextDayThreshold, n, t.dayTableModel), { dateProfile: t.dateProfile, cells: t.dayTableModel.cells, colGroupNode: t.colGroupNode, tableMinWidth: t.tableMinWidth, renderRowIntro: t.renderRowIntro, dayMaxEvents: t.dayMaxEvents, dayMaxEventRows: t.dayMaxEventRows, showWeekNumbers: t.showWeekNumbers, expandRows: t.expandRows, headerAlignElRef: t.headerAlignElRef, clientWidth: t.clientWidth, clientHeight: t.clientHeight, forPrint: t.forPrint }));
40839
40858
  }
40840
40859
  }
40841
40860
  class Fne extends mne {
@@ -40843,7 +40862,7 @@ class Fne extends mne {
40843
40862
  super(...arguments), this.buildDayTableModel = Pe(Mne), this.headerRef = Rn(), this.tableRef = Rn();
40844
40863
  }
40845
40864
  render() {
40846
- let { options: t, dateProfileGenerator: n } = this.context, { props: r } = this, A = this.buildDayTableModel(r.dateProfile, n), i = t.dayHeaders && O(dO, { ref: this.headerRef, dateProfile: r.dateProfile, dates: A.headerDates, datesRepDistinctDays: A.rowCnt === 1 }), o = (a) => O(zO, { ref: this.tableRef, dateProfile: r.dateProfile, dayTableModel: A, businessHours: r.businessHours, dateSelection: r.dateSelection, eventStore: r.eventStore, eventUiBases: r.eventUiBases, eventSelection: r.eventSelection, eventDrag: r.eventDrag, eventResize: r.eventResize, nextDayThreshold: t.nextDayThreshold, colGroupNode: a.tableColGroupNode, tableMinWidth: a.tableMinWidth, dayMaxEvents: t.dayMaxEvents, dayMaxEventRows: t.dayMaxEventRows, showWeekNumbers: t.weekNumbers, expandRows: !r.isHeightAuto, headerAlignElRef: this.headerElRef, clientWidth: a.clientWidth, clientHeight: a.clientHeight, forPrint: r.forPrint });
40865
+ let { options: t, dateProfileGenerator: n } = this.context, { props: r } = this, A = this.buildDayTableModel(r.dateProfile, n), i = t.dayHeaders && Q(dO, { ref: this.headerRef, dateProfile: r.dateProfile, dates: A.headerDates, datesRepDistinctDays: A.rowCnt === 1 }), o = (a) => Q(zO, { ref: this.tableRef, dateProfile: r.dateProfile, dayTableModel: A, businessHours: r.businessHours, dateSelection: r.dateSelection, eventStore: r.eventStore, eventUiBases: r.eventUiBases, eventSelection: r.eventSelection, eventDrag: r.eventDrag, eventResize: r.eventResize, nextDayThreshold: t.nextDayThreshold, colGroupNode: a.tableColGroupNode, tableMinWidth: a.tableMinWidth, dayMaxEvents: t.dayMaxEvents, dayMaxEventRows: t.dayMaxEventRows, showWeekNumbers: t.weekNumbers, expandRows: !r.isHeightAuto, headerAlignElRef: this.headerElRef, clientWidth: a.clientWidth, clientHeight: a.clientHeight, forPrint: r.forPrint });
40847
40866
  return t.dayMinWidth ? this.renderHScrollLayout(i, o, A.colCnt, t.dayMinWidth) : this.renderSimpleLayout(i, o);
40848
40867
  }
40849
40868
  }
@@ -41666,7 +41685,7 @@ class ire extends Ts {
41666
41685
  });
41667
41686
  }
41668
41687
  };
41669
- o.emitter.trigger("eventResize", Object.assign(Object.assign({}, g), { el: this.draggingSegEl, startDelta: this.validMutation.startDelta || ot(0), endDelta: this.validMutation.endDelta || ot(0), jsEvent: i.origEvent, view: o.viewApi })), o.emitter.trigger("eventChange", g);
41688
+ o.emitter.trigger("eventResize", Object.assign(Object.assign({}, g), { el: this.draggingSegEl, startDelta: this.validMutation.startDelta || st(0), endDelta: this.validMutation.endDelta || st(0), jsEvent: i.origEvent, view: o.viewApi })), o.emitter.trigger("eventChange", g);
41670
41689
  } else
41671
41690
  o.emitter.trigger("_noEventResize");
41672
41691
  this.draggingSeg = null, this.relevantEvents = null, this.validMutation = null;
@@ -41758,17 +41777,17 @@ class dre extends dt {
41758
41777
  navLinkAttrs: fs(this.context, o),
41759
41778
  sideNavLinkAttrs: fs(this.context, o, "day", !1)
41760
41779
  }, c);
41761
- return O(En, { elTag: "tr", elClasses: [
41780
+ return Q(En, { elTag: "tr", elClasses: [
41762
41781
  "fc-list-day",
41763
41782
  ...rf(c, t)
41764
41783
  ], elAttrs: {
41765
41784
  "data-date": il(o)
41766
41785
  }, renderProps: f, generatorName: "dayHeaderContent", customGenerator: r.dayHeaderContent, defaultGenerator: ure, classNameGenerator: r.dayHeaderClassNames, didMount: r.dayHeaderDidMount, willUnmount: r.dayHeaderWillUnmount }, (g) => (
41767
41786
  // TODO: force-hide top border based on :first-child
41768
- O(
41787
+ Q(
41769
41788
  "th",
41770
41789
  { scope: "colgroup", colSpan: 3, id: i, "aria-labelledby": l },
41771
- O(g, { elTag: "div", elClasses: [
41790
+ Q(g, { elTag: "div", elClasses: [
41772
41791
  "fc-list-day-cushion",
41773
41792
  t.getClass("tableCellShaded")
41774
41793
  ] })
@@ -41777,12 +41796,12 @@ class dre extends dt {
41777
41796
  }
41778
41797
  }
41779
41798
  function ure(e) {
41780
- return O(
41799
+ return Q(
41781
41800
  xt,
41782
41801
  null,
41783
- e.text && O("a", Object.assign({ id: e.textId, className: "fc-list-day-text" }, e.navLinkAttrs), e.text),
41802
+ e.text && Q("a", Object.assign({ id: e.textId, className: "fc-list-day-text" }, e.navLinkAttrs), e.text),
41784
41803
  e.sideText && /* not keyboard tabbable */
41785
- O("a", Object.assign({ "aria-hidden": !0, className: "fc-list-day-side-text" }, e.sideNavLinkAttrs), e.sideText)
41804
+ Q("a", Object.assign({ "aria-hidden": !0, className: "fc-list-day-side-text" }, e.sideNavLinkAttrs), e.sideText)
41786
41805
  );
41787
41806
  }
41788
41807
  const fre = Tt({
@@ -41793,27 +41812,27 @@ const fre = Tt({
41793
41812
  class gre extends dt {
41794
41813
  render() {
41795
41814
  let { props: t, context: n } = this, { options: r } = n, { seg: A, timeHeaderId: i, eventHeaderId: o, dateHeaderId: a } = t, l = r.eventTimeFormat || fre;
41796
- return O(Af, Object.assign({}, t, { elTag: "tr", elClasses: [
41815
+ return Q(Af, Object.assign({}, t, { elTag: "tr", elClasses: [
41797
41816
  "fc-list-event",
41798
41817
  A.eventRange.def.url && "fc-event-forced-url"
41799
- ], defaultGenerator: () => hre(A, n), seg: A, timeText: "", disableDragging: !0, disableResizing: !0 }), (c, d) => O(
41818
+ ], defaultGenerator: () => hre(A, n), seg: A, timeText: "", disableDragging: !0, disableResizing: !0 }), (c, d) => Q(
41800
41819
  xt,
41801
41820
  null,
41802
41821
  pre(A, l, n, i, a),
41803
- O(
41822
+ Q(
41804
41823
  "td",
41805
41824
  { "aria-hidden": !0, className: "fc-list-event-graphic" },
41806
- O("span", { className: "fc-list-event-dot", style: {
41825
+ Q("span", { className: "fc-list-event-dot", style: {
41807
41826
  borderColor: d.borderColor || d.backgroundColor
41808
41827
  } })
41809
41828
  ),
41810
- O(c, { elTag: "td", elClasses: ["fc-list-event-title"], elAttrs: { headers: `${o} ${a}` } })
41829
+ Q(c, { elTag: "td", elClasses: ["fc-list-event-title"], elAttrs: { headers: `${o} ${a}` } })
41811
41830
  ));
41812
41831
  }
41813
41832
  }
41814
41833
  function hre(e, t) {
41815
41834
  let n = Zw(e, t);
41816
- return O("a", Object.assign({}, n), e.eventRange.def.title);
41835
+ return Q("a", Object.assign({}, n), e.eventRange.def.title);
41817
41836
  }
41818
41837
  function pre(e, t, n, r, A) {
41819
41838
  let { options: i } = n;
@@ -41824,11 +41843,11 @@ function pre(e, t, n, r, A) {
41824
41843
  text: n.options.allDayText,
41825
41844
  view: n.viewApi
41826
41845
  };
41827
- return O(En, { elTag: "td", elClasses: ["fc-list-event-time"], elAttrs: {
41846
+ return Q(En, { elTag: "td", elClasses: ["fc-list-event-time"], elAttrs: {
41828
41847
  headers: `${r} ${A}`
41829
41848
  }, renderProps: d, generatorName: "allDayContent", customGenerator: i.allDayContent, defaultGenerator: mre, classNameGenerator: i.allDayClassNames, didMount: i.allDayDidMount, willUnmount: i.allDayWillUnmount });
41830
41849
  }
41831
- return O("td", { className: "fc-list-event-time" }, c);
41850
+ return Q("td", { className: "fc-list-event-time" }, c);
41832
41851
  }
41833
41852
  return null;
41834
41853
  }
@@ -41849,14 +41868,14 @@ class vre extends Yr {
41849
41868
  }
41850
41869
  render() {
41851
41870
  let { props: t, context: n } = this, { dayDates: r, dayRanges: A } = this.computeDateVars(t.dateProfile), i = this.eventStoreToSegs(t.eventStore, t.eventUiBases, A);
41852
- return O(
41871
+ return Q(
41853
41872
  Na,
41854
41873
  { elRef: this.setRootEl, elClasses: [
41855
41874
  "fc-list",
41856
41875
  n.theme.getClass("table"),
41857
41876
  n.options.stickyHeaderDates !== !1 ? "fc-list-sticky" : ""
41858
41877
  ], viewSpec: n.viewSpec },
41859
- O(vO, { liquid: !t.isHeightAuto, overflowX: t.isHeightAuto ? "visible" : "hidden", overflowY: t.isHeightAuto ? "visible" : "auto" }, i.length > 0 ? this.renderSegList(i, r) : this.renderEmptyMessage())
41878
+ Q(vO, { liquid: !t.isHeightAuto, overflowX: t.isHeightAuto ? "visible" : "hidden", overflowY: t.isHeightAuto ? "visible" : "auto" }, i.length > 0 ? this.renderSegList(i, r) : this.renderEmptyMessage())
41860
41879
  );
41861
41880
  }
41862
41881
  renderEmptyMessage() {
@@ -41864,36 +41883,36 @@ class vre extends Yr {
41864
41883
  text: t.noEventsText,
41865
41884
  view: n
41866
41885
  };
41867
- return O(En, { elTag: "div", elClasses: ["fc-list-empty"], renderProps: r, generatorName: "noEventsContent", customGenerator: t.noEventsContent, defaultGenerator: wre, classNameGenerator: t.noEventsClassNames, didMount: t.noEventsDidMount, willUnmount: t.noEventsWillUnmount }, (A) => O(A, { elTag: "div", elClasses: ["fc-list-empty-cushion"] }));
41886
+ return Q(En, { elTag: "div", elClasses: ["fc-list-empty"], renderProps: r, generatorName: "noEventsContent", customGenerator: t.noEventsContent, defaultGenerator: wre, classNameGenerator: t.noEventsClassNames, didMount: t.noEventsDidMount, willUnmount: t.noEventsWillUnmount }, (A) => Q(A, { elTag: "div", elClasses: ["fc-list-empty-cushion"] }));
41868
41887
  }
41869
41888
  renderSegList(t, n) {
41870
41889
  let { theme: r, options: A } = this.context, { timeHeaderId: i, eventHeaderId: o, dateHeaderIdRoot: a } = this.state, l = yre(t);
41871
- return O(ao, { unit: "day" }, (c, d) => {
41890
+ return Q(ao, { unit: "day" }, (c, d) => {
41872
41891
  let u = [];
41873
41892
  for (let f = 0; f < l.length; f += 1) {
41874
41893
  let g = l[f];
41875
41894
  if (g) {
41876
41895
  let h = il(n[f]), p = a + "-" + h;
41877
- u.push(O(dre, { key: h, cellId: p, dayDate: n[f], todayRange: d })), g = Yw(g, A.eventOrder);
41896
+ u.push(Q(dre, { key: h, cellId: p, dayDate: n[f], todayRange: d })), g = Yw(g, A.eventOrder);
41878
41897
  for (let v of g)
41879
- u.push(O(gre, Object.assign({ key: h + ":" + v.eventRange.instance.instanceId, seg: v, isDragging: !1, isResizing: !1, isDateSelecting: !1, isSelected: !1, timeHeaderId: i, eventHeaderId: o, dateHeaderId: p }, LA(v, d, c))));
41898
+ u.push(Q(gre, Object.assign({ key: h + ":" + v.eventRange.instance.instanceId, seg: v, isDragging: !1, isResizing: !1, isDateSelecting: !1, isSelected: !1, timeHeaderId: i, eventHeaderId: o, dateHeaderId: p }, LA(v, d, c))));
41880
41899
  }
41881
41900
  }
41882
- return O(
41901
+ return Q(
41883
41902
  "table",
41884
41903
  { className: "fc-list-table " + r.getClass("table") },
41885
- O(
41904
+ Q(
41886
41905
  "thead",
41887
41906
  null,
41888
- O(
41907
+ Q(
41889
41908
  "tr",
41890
41909
  null,
41891
- O("th", { scope: "col", id: i }, A.timeHint),
41892
- O("th", { scope: "col", "aria-hidden": !0 }),
41893
- O("th", { scope: "col", id: o }, A.eventHint)
41910
+ Q("th", { scope: "col", id: i }, A.timeHint),
41911
+ Q("th", { scope: "col", "aria-hidden": !0 }),
41912
+ Q("th", { scope: "col", id: o }, A.eventHint)
41894
41913
  )
41895
41914
  ),
41896
- O("tbody", null, u)
41915
+ Q("tbody", null, u)
41897
41916
  );
41898
41917
  });
41899
41918
  }
@@ -42082,9 +42101,9 @@ function YO(e) {
42082
42101
  "fc-timegrid-slot-label",
42083
42102
  e.isLabeled ? "fc-scrollgrid-shrink" : "fc-timegrid-slot-minor"
42084
42103
  ];
42085
- return O(NA.Consumer, null, (n) => {
42104
+ return Q(NA.Consumer, null, (n) => {
42086
42105
  if (!e.isLabeled)
42087
- return O("td", { className: t.join(" "), "data-time": e.isoTimeStr });
42106
+ return Q("td", { className: t.join(" "), "data-time": e.isoTimeStr });
42088
42107
  let { dateEnv: r, options: A, viewApi: i } = n, o = (
42089
42108
  // TODO: fully pre-parse
42090
42109
  A.slotLabelFormat == null ? Tre : Array.isArray(A.slotLabelFormat) ? Tt(A.slotLabelFormat[0]) : Tt(A.slotLabelFormat)
@@ -42095,12 +42114,12 @@ function YO(e) {
42095
42114
  view: i,
42096
42115
  text: r.format(e.date, o)
42097
42116
  };
42098
- return O(En, { elTag: "td", elClasses: t, elAttrs: {
42117
+ return Q(En, { elTag: "td", elClasses: t, elAttrs: {
42099
42118
  "data-time": e.isoTimeStr
42100
- }, renderProps: a, generatorName: "slotLabelContent", customGenerator: A.slotLabelContent, defaultGenerator: Ore, classNameGenerator: A.slotLabelClassNames, didMount: A.slotLabelDidMount, willUnmount: A.slotLabelWillUnmount }, (l) => O(
42119
+ }, renderProps: a, generatorName: "slotLabelContent", customGenerator: A.slotLabelContent, defaultGenerator: Ore, classNameGenerator: A.slotLabelClassNames, didMount: A.slotLabelDidMount, willUnmount: A.slotLabelWillUnmount }, (l) => Q(
42101
42120
  "div",
42102
42121
  { className: "fc-timegrid-slot-label-frame fc-scrollgrid-shrink-frame" },
42103
- O(l, { elTag: "div", elClasses: [
42122
+ Q(l, { elTag: "div", elClasses: [
42104
42123
  "fc-timegrid-slot-label-cushion",
42105
42124
  "fc-scrollgrid-shrink-cushion"
42106
42125
  ] })
@@ -42112,10 +42131,10 @@ function Ore(e) {
42112
42131
  }
42113
42132
  class Qre extends dt {
42114
42133
  render() {
42115
- return this.props.slatMetas.map((t) => O(
42134
+ return this.props.slatMetas.map((t) => Q(
42116
42135
  "tr",
42117
42136
  { key: t.key },
42118
- O(YO, Object.assign({}, t))
42137
+ Q(YO, Object.assign({}, t))
42119
42138
  ));
42120
42139
  }
42121
42140
  }
@@ -42129,27 +42148,27 @@ class Lre extends Yr {
42129
42148
  n && (n.scrollTop = t);
42130
42149
  }, this.renderHeadAxis = (t, n = "") => {
42131
42150
  let { options: r } = this.context, { dateProfile: A } = this.props, i = A.renderRange, a = yi(i.start, i.end) === 1 ? fs(this.context, i.start, "week") : {};
42132
- return r.weekNumbers && t === "day" ? O(CO, { elTag: "th", elClasses: [
42151
+ return r.weekNumbers && t === "day" ? Q(CO, { elTag: "th", elClasses: [
42133
42152
  "fc-timegrid-axis",
42134
42153
  "fc-scrollgrid-shrink"
42135
42154
  ], elAttrs: {
42136
42155
  "aria-hidden": !0
42137
- }, date: i.start, defaultFormat: jre }, (l) => O(
42156
+ }, date: i.start, defaultFormat: jre }, (l) => Q(
42138
42157
  "div",
42139
42158
  { className: [
42140
42159
  "fc-timegrid-axis-frame",
42141
42160
  "fc-scrollgrid-shrink-frame",
42142
42161
  "fc-timegrid-axis-frame-liquid"
42143
42162
  ].join(" "), style: { height: n } },
42144
- O(l, { elTag: "a", elClasses: [
42163
+ Q(l, { elTag: "a", elClasses: [
42145
42164
  "fc-timegrid-axis-cushion",
42146
42165
  "fc-scrollgrid-shrink-cushion",
42147
42166
  "fc-scrollgrid-sync-inner"
42148
42167
  ], elAttrs: a })
42149
- )) : O(
42168
+ )) : Q(
42150
42169
  "th",
42151
42170
  { "aria-hidden": !0, className: "fc-timegrid-axis" },
42152
- O("div", { className: "fc-timegrid-axis-frame", style: { height: n } })
42171
+ Q("div", { className: "fc-timegrid-axis-frame", style: { height: n } })
42153
42172
  );
42154
42173
  }, this.renderTableRowAxis = (t) => {
42155
42174
  let { options: n, viewApi: r } = this.context, A = {
@@ -42158,19 +42177,19 @@ class Lre extends Yr {
42158
42177
  };
42159
42178
  return (
42160
42179
  // TODO: make reusable hook. used in list view too
42161
- O(En, { elTag: "td", elClasses: [
42180
+ Q(En, { elTag: "td", elClasses: [
42162
42181
  "fc-timegrid-axis",
42163
42182
  "fc-scrollgrid-shrink"
42164
42183
  ], elAttrs: {
42165
42184
  "aria-hidden": !0
42166
- }, renderProps: A, generatorName: "allDayContent", customGenerator: n.allDayContent, defaultGenerator: Pre, classNameGenerator: n.allDayClassNames, didMount: n.allDayDidMount, willUnmount: n.allDayWillUnmount }, (i) => O(
42185
+ }, renderProps: A, generatorName: "allDayContent", customGenerator: n.allDayContent, defaultGenerator: Pre, classNameGenerator: n.allDayClassNames, didMount: n.allDayDidMount, willUnmount: n.allDayWillUnmount }, (i) => Q(
42167
42186
  "div",
42168
42187
  { className: [
42169
42188
  "fc-timegrid-axis-frame",
42170
42189
  "fc-scrollgrid-shrink-frame",
42171
42190
  t == null ? " fc-timegrid-axis-frame-liquid" : ""
42172
42191
  ].join(" "), style: { height: t } },
42173
- O(i, { elTag: "span", elClasses: [
42192
+ Q(i, { elTag: "span", elClasses: [
42174
42193
  "fc-timegrid-axis-cushion",
42175
42194
  "fc-scrollgrid-shrink-cushion",
42176
42195
  "fc-scrollgrid-sync-inner"
@@ -42203,10 +42222,10 @@ class Lre extends Yr {
42203
42222
  key: "all-day-divider",
42204
42223
  outerContent: (
42205
42224
  // TODO: rename to cellContent so don't need to define <tr>?
42206
- O(
42225
+ Q(
42207
42226
  "tr",
42208
42227
  { role: "presentation", className: "fc-scrollgrid-section" },
42209
- O("td", { className: "fc-timegrid-divider " + A.theme.getClass("tableCellShaded") })
42228
+ Q("td", { className: "fc-timegrid-divider " + A.theme.getClass("tableCellShaded") })
42210
42229
  )
42211
42230
  )
42212
42231
  })), o.push({
@@ -42218,10 +42237,10 @@ class Lre extends Yr {
42218
42237
  scrollerElRef: this.scrollerElRef,
42219
42238
  content: r
42220
42239
  }
42221
- }), O(
42240
+ }), Q(
42222
42241
  Na,
42223
42242
  { elRef: this.rootElRef, elClasses: ["fc-timegrid"], viewSpec: A.viewSpec },
42224
- O(Ax, { liquid: !i.isHeightAuto && !i.forPrint, collapsibleWidth: i.forPrint, cols: [{ width: "shrink" }], sections: o })
42243
+ Q(Ax, { liquid: !i.isHeightAuto && !i.forPrint, collapsibleWidth: i.forPrint, cols: [{ width: "shrink" }], sections: o })
42225
42244
  );
42226
42245
  }
42227
42246
  renderHScrollLayout(t, n, r, A, i, o, a) {
@@ -42237,7 +42256,7 @@ class Lre extends Yr {
42237
42256
  chunks: [
42238
42257
  {
42239
42258
  key: "axis",
42240
- rowContent: (p) => O("tr", { role: "presentation" }, this.renderHeadAxis("day", p.rowSyncHeights[0]))
42259
+ rowContent: (p) => Q("tr", { role: "presentation" }, this.renderHeadAxis("day", p.rowSyncHeights[0]))
42241
42260
  },
42242
42261
  {
42243
42262
  key: "cols",
@@ -42253,7 +42272,7 @@ class Lre extends Yr {
42253
42272
  chunks: [
42254
42273
  {
42255
42274
  key: "axis",
42256
- rowContent: (p) => O("tr", { role: "presentation" }, this.renderTableRowAxis(p.rowSyncHeights[0]))
42275
+ rowContent: (p) => Q("tr", { role: "presentation" }, this.renderTableRowAxis(p.rowSyncHeights[0]))
42257
42276
  },
42258
42277
  {
42259
42278
  key: "cols",
@@ -42265,10 +42284,10 @@ class Lre extends Yr {
42265
42284
  type: "body",
42266
42285
  outerContent: (
42267
42286
  // TODO: rename to cellContent so don't need to define <tr>?
42268
- O(
42287
+ Q(
42269
42288
  "tr",
42270
42289
  { role: "presentation", className: "fc-scrollgrid-section" },
42271
- O("td", { colSpan: 2, className: "fc-timegrid-divider " + c.theme.getClass("tableCellShaded") })
42290
+ Q("td", { colSpan: 2, className: "fc-timegrid-divider " + c.theme.getClass("tableCellShaded") })
42272
42291
  )
42273
42292
  )
42274
42293
  }));
@@ -42283,28 +42302,28 @@ class Lre extends Yr {
42283
42302
  key: "axis",
42284
42303
  content: (p) => (
42285
42304
  // TODO: make this now-indicator arrow more DRY with TimeColsContent
42286
- O(
42305
+ Q(
42287
42306
  "div",
42288
42307
  { className: "fc-timegrid-axis-chunk" },
42289
- O(
42308
+ Q(
42290
42309
  "table",
42291
42310
  { "aria-hidden": !0, style: { height: p.expandRows ? p.clientHeight : "" } },
42292
42311
  p.tableColGroupNode,
42293
- O(
42312
+ Q(
42294
42313
  "tbody",
42295
42314
  null,
42296
- O(Qre, { slatMetas: o })
42315
+ Q(Qre, { slatMetas: o })
42297
42316
  )
42298
42317
  ),
42299
- O(
42318
+ Q(
42300
42319
  "div",
42301
42320
  { className: "fc-timegrid-now-indicator-container" },
42302
- O(ao, {
42321
+ Q(ao, {
42303
42322
  unit: h ? "minute" : "day"
42304
42323
  /* hacky */
42305
42324
  }, (v) => {
42306
42325
  let w = h && a && a.safeComputeTop(v);
42307
- return typeof w == "number" ? O(ox, { elClasses: ["fc-timegrid-now-indicator-arrow"], elStyle: { top: w }, isAxis: !0, date: v }) : null;
42326
+ return typeof w == "number" ? Q(ox, { elClasses: ["fc-timegrid-now-indicator-arrow"], elStyle: { top: w }, isAxis: !0, date: v }) : null;
42308
42327
  })
42309
42328
  )
42310
42329
  )
@@ -42330,10 +42349,10 @@ class Lre extends Yr {
42330
42349
  content: Ym
42331
42350
  }
42332
42351
  ]
42333
- }), O(
42352
+ }), Q(
42334
42353
  Na,
42335
42354
  { elRef: this.rootElRef, elClasses: ["fc-timegrid"], viewSpec: c.viewSpec },
42336
- O(l, { liquid: !d.isHeightAuto && !d.forPrint, forPrint: d.forPrint, collapsibleWidth: !1, colGroups: [
42355
+ Q(l, { liquid: !d.isHeightAuto && !d.forPrint, forPrint: d.forPrint, collapsibleWidth: !1, colGroups: [
42337
42356
  { width: "shrink", cols: [{ width: "shrink" }] },
42338
42357
  { cols: [{ span: A, minWidth: i }] }
42339
42358
  ], sections: g })
@@ -42358,14 +42377,14 @@ class Hre {
42358
42377
  if (RA(n.currentRange, t)) {
42359
42378
  let r = Bt(t), A = t.valueOf() - r.valueOf();
42360
42379
  if (A >= zr(n.slotMinTime) && A < zr(n.slotMaxTime))
42361
- return this.computeTimeTop(ot(A));
42380
+ return this.computeTimeTop(st(A));
42362
42381
  }
42363
42382
  return null;
42364
42383
  }
42365
42384
  // Computes the top coordinate, relative to the bounds of the grid, of the given date.
42366
42385
  // A `startOfDayDate` must be given for avoiding ambiguity over how to treat midnight.
42367
42386
  computeDateTop(t, n) {
42368
- return n || (n = Bt(t)), this.computeTimeTop(ot(t.valueOf() - n.valueOf()));
42387
+ return n || (n = Bt(t)), this.computeTimeTop(st(t.valueOf() - n.valueOf()));
42369
42388
  }
42370
42389
  // Computes the top coordinate, relative to the bounds of the grid, of the given time (a Duration).
42371
42390
  // This is a makeshify way to compute the time-top. Assumes all slatMetas dates are uniform.
@@ -42378,17 +42397,17 @@ class Hre {
42378
42397
  class Fre extends dt {
42379
42398
  render() {
42380
42399
  let { props: t, context: n } = this, { options: r } = n, { slatElRefs: A } = t;
42381
- return O("tbody", null, t.slatMetas.map((i, o) => {
42400
+ return Q("tbody", null, t.slatMetas.map((i, o) => {
42382
42401
  let a = {
42383
42402
  time: i.time,
42384
42403
  date: n.dateEnv.toDate(i.date),
42385
42404
  view: n.viewApi
42386
42405
  };
42387
- return O(
42406
+ return Q(
42388
42407
  "tr",
42389
42408
  { key: i.key, ref: A.createRef(i.key) },
42390
- t.axis && O(YO, Object.assign({}, i)),
42391
- O(En, { elTag: "td", elClasses: [
42409
+ t.axis && Q(YO, Object.assign({}, i)),
42410
+ Q(En, { elTag: "td", elClasses: [
42392
42411
  "fc-timegrid-slot",
42393
42412
  "fc-timegrid-slot-lane",
42394
42413
  !i.isLabeled && "fc-timegrid-slot-minor"
@@ -42405,10 +42424,10 @@ class Mre extends dt {
42405
42424
  }
42406
42425
  render() {
42407
42426
  let { props: t, context: n } = this;
42408
- return O(
42427
+ return Q(
42409
42428
  "div",
42410
42429
  { ref: this.rootElRef, className: "fc-timegrid-slots" },
42411
- O(
42430
+ Q(
42412
42431
  "table",
42413
42432
  { "aria-hidden": !0, className: n.theme.getClass("table"), style: {
42414
42433
  minWidth: t.tableMinWidth,
@@ -42416,7 +42435,7 @@ class Mre extends dt {
42416
42435
  height: t.minHeight
42417
42436
  } },
42418
42437
  t.tableColGroupNode,
42419
- O(Fre, { slatElRefs: this.slatElRefs, axis: t.axis, slatMetas: t.slatMetas })
42438
+ Q(Fre, { slatElRefs: this.slatElRefs, axis: t.axis, slatMetas: t.slatMetas })
42420
42439
  )
42421
42440
  );
42422
42441
  }
@@ -42465,10 +42484,10 @@ function uB(e, t) {
42465
42484
  class kre extends dt {
42466
42485
  render() {
42467
42486
  let { props: t } = this;
42468
- return O(BO, { elClasses: ["fc-timegrid-more-link"], elStyle: {
42487
+ return Q(BO, { elClasses: ["fc-timegrid-more-link"], elStyle: {
42469
42488
  top: t.top,
42470
42489
  bottom: t.bottom
42471
- }, allDayDate: null, moreCnt: t.hiddenSegs.length, allSegs: t.hiddenSegs, hiddenSegs: t.hiddenSegs, extraDateSpan: t.extraDateSpan, dateProfile: t.dateProfile, todayRange: t.todayRange, popoverContent: () => _O(t.hiddenSegs, t), defaultGenerator: Ure, forceTimed: !0 }, (n) => O(n, { elTag: "div", elClasses: ["fc-timegrid-more-link-inner", "fc-sticky"] }));
42490
+ }, allDayDate: null, moreCnt: t.hiddenSegs.length, allSegs: t.hiddenSegs, hiddenSegs: t.hiddenSegs, extraDateSpan: t.extraDateSpan, dateProfile: t.dateProfile, todayRange: t.todayRange, popoverContent: () => _O(t.hiddenSegs, t), defaultGenerator: Ure, forceTimed: !0 }, (n) => Q(n, { elTag: "div", elClasses: ["fc-timegrid-more-link-inner", "fc-sticky"] }));
42472
42491
  }
42473
42492
  }
42474
42493
  function Ure(e) {
@@ -42615,7 +42634,7 @@ const Yre = Tt({
42615
42634
  });
42616
42635
  class ZO extends dt {
42617
42636
  render() {
42618
- return O(ix, Object.assign({}, this.props, { elClasses: [
42637
+ return Q(ix, Object.assign({}, this.props, { elClasses: [
42619
42638
  "fc-timegrid-event",
42620
42639
  "fc-v-event",
42621
42640
  this.props.isShort && "fc-timegrid-event-short"
@@ -42635,23 +42654,23 @@ class Zre extends dt {
42635
42654
  // TODO: messy way to compute this
42636
42655
  t.eventDrag && t.eventDrag.affectedInstances || t.eventResize && t.eventResize.affectedInstances || {}
42637
42656
  ), a = this.sortEventSegs(t.fgEventSegs, r.eventOrder);
42638
- return O(sx, { elTag: "td", elRef: t.elRef, elClasses: [
42657
+ return Q(sx, { elTag: "td", elRef: t.elRef, elClasses: [
42639
42658
  "fc-timegrid-col",
42640
42659
  ...t.extraClassNames || []
42641
- ], elAttrs: Object.assign({ role: "gridcell" }, t.extraDataAttrs), date: t.date, dateProfile: t.dateProfile, todayRange: t.todayRange, extraRenderProps: t.extraRenderProps }, (l) => O(
42660
+ ], elAttrs: Object.assign({ role: "gridcell" }, t.extraDataAttrs), date: t.date, dateProfile: t.dateProfile, todayRange: t.todayRange, extraRenderProps: t.extraRenderProps }, (l) => Q(
42642
42661
  "div",
42643
42662
  { className: "fc-timegrid-col-frame" },
42644
- O(
42663
+ Q(
42645
42664
  "div",
42646
42665
  { className: "fc-timegrid-col-bg" },
42647
42666
  this.renderFillSegs(t.businessHourSegs, "non-business"),
42648
42667
  this.renderFillSegs(t.bgEventSegs, "bg-event"),
42649
42668
  this.renderFillSegs(t.dateSelectionSegs, "highlight")
42650
42669
  ),
42651
- O("div", { className: "fc-timegrid-col-events" }, this.renderFgSegs(a, o, !1, !1, !1)),
42652
- O("div", { className: "fc-timegrid-col-events" }, this.renderFgSegs(i, {}, !!t.eventDrag, !!t.eventResize, !!A, "mirror")),
42653
- O("div", { className: "fc-timegrid-now-indicator-container" }, this.renderNowIndicator(t.nowIndicatorSegs)),
42654
- ax(r) && O(l, { elTag: "div", elClasses: ["fc-timegrid-col-misc"] })
42670
+ Q("div", { className: "fc-timegrid-col-events" }, this.renderFgSegs(a, o, !1, !1, !1)),
42671
+ Q("div", { className: "fc-timegrid-col-events" }, this.renderFgSegs(i, {}, !!t.eventDrag, !!t.eventResize, !!A, "mirror")),
42672
+ Q("div", { className: "fc-timegrid-now-indicator-container" }, this.renderNowIndicator(t.nowIndicatorSegs)),
42673
+ ax(r) && Q(l, { elTag: "div", elClasses: ["fc-timegrid-col-misc"] })
42655
42674
  ));
42656
42675
  }
42657
42676
  renderFgSegs(t, n, r, A, i, o) {
@@ -42660,16 +42679,16 @@ class Zre extends dt {
42660
42679
  }
42661
42680
  renderPositionedFgSegs(t, n, r, A, i, o) {
42662
42681
  let { eventMaxStack: a, eventShortHeight: l, eventOrderStrict: c, eventMinHeight: d } = this.context.options, { date: u, slatCoords: f, eventSelection: g, todayRange: h, nowDate: p } = this.props, v = r || A || i, w = gB(t, u, f, d), { segPlacements: y, hiddenGroups: x } = Jre(t, w, c, a);
42663
- return O(
42682
+ return Q(
42664
42683
  xt,
42665
42684
  null,
42666
42685
  this.renderHiddenGroups(x, t),
42667
42686
  y.map((C) => {
42668
- let { seg: b, rect: B } = C, E = b.eventRange.instance.instanceId, D = v || !!(!n[E] && B), T = kh(B && B.span), j = !v && B ? this.computeSegHStyle(B) : { left: 0, right: 0 }, Q = !!B && B.stackForward > 0, R = !!B && B.span.end - B.span.start < l;
42669
- return O(
42687
+ let { seg: b, rect: B } = C, E = b.eventRange.instance.instanceId, D = v || !!(!n[E] && B), T = kh(B && B.span), j = !v && B ? this.computeSegHStyle(B) : { left: 0, right: 0 }, O = !!B && B.stackForward > 0, R = !!B && B.span.end - B.span.start < l;
42688
+ return Q(
42670
42689
  "div",
42671
- { className: "fc-timegrid-event-harness" + (Q ? " fc-timegrid-event-harness-inset" : ""), key: o || E, style: Object.assign(Object.assign({ visibility: D ? "" : "hidden" }, T), j) },
42672
- O(ZO, Object.assign({ seg: b, isDragging: r, isResizing: A, isDateSelecting: i, isSelected: E === g, isShort: R }, LA(b, h, p)))
42690
+ { className: "fc-timegrid-event-harness" + (O ? " fc-timegrid-event-harness-inset" : ""), key: o || E, style: Object.assign(Object.assign({ visibility: D ? "" : "hidden" }, T), j) },
42691
+ Q(ZO, Object.assign({ seg: b, isDragging: r, isResizing: A, isDateSelecting: i, isSelected: E === g, isShort: R }, LA(b, h, p)))
42673
42692
  );
42674
42693
  })
42675
42694
  );
@@ -42677,21 +42696,21 @@ class Zre extends dt {
42677
42696
  // will already have eventMinHeight applied because segInputs already had it
42678
42697
  renderHiddenGroups(t, n) {
42679
42698
  let { extraDateSpan: r, dateProfile: A, todayRange: i, nowDate: o, eventSelection: a, eventDrag: l, eventResize: c } = this.props;
42680
- return O(xt, null, t.map((d) => {
42699
+ return Q(xt, null, t.map((d) => {
42681
42700
  let u = kh(d.span), f = _re(d.entries, n);
42682
- return O(kre, { key: PT(EO(f)), hiddenSegs: f, top: u.top, bottom: u.bottom, extraDateSpan: r, dateProfile: A, todayRange: i, nowDate: o, eventSelection: a, eventDrag: l, eventResize: c });
42701
+ return Q(kre, { key: PT(EO(f)), hiddenSegs: f, top: u.top, bottom: u.bottom, extraDateSpan: r, dateProfile: A, todayRange: i, nowDate: o, eventSelection: a, eventDrag: l, eventResize: c });
42683
42702
  }));
42684
42703
  }
42685
42704
  renderFillSegs(t, n) {
42686
42705
  let { props: r, context: A } = this, o = gB(t, r.date, r.slatCoords, A.options.eventMinHeight).map((a, l) => {
42687
42706
  let c = t[l];
42688
- return O("div", { key: tO(c.eventRange), className: "fc-timegrid-bg-harness", style: kh(a) }, n === "bg-event" ? O(yO, Object.assign({ seg: c }, LA(c, r.todayRange, r.nowDate))) : bO(n));
42707
+ return Q("div", { key: tO(c.eventRange), className: "fc-timegrid-bg-harness", style: kh(a) }, n === "bg-event" ? Q(yO, Object.assign({ seg: c }, LA(c, r.todayRange, r.nowDate))) : bO(n));
42689
42708
  });
42690
- return O(xt, null, o);
42709
+ return Q(xt, null, o);
42691
42710
  }
42692
42711
  renderNowIndicator(t) {
42693
42712
  let { slatCoords: n, date: r } = this.props;
42694
- return n ? t.map((A, i) => O(
42713
+ return n ? t.map((A, i) => Q(
42695
42714
  ox,
42696
42715
  {
42697
42716
  // key doesn't matter. will only ever be one
@@ -42718,12 +42737,12 @@ class Zre extends dt {
42718
42737
  }
42719
42738
  function _O(e, { todayRange: t, nowDate: n, eventSelection: r, eventDrag: A, eventResize: i }) {
42720
42739
  let o = (A ? A.affectedInstances : null) || (i ? i.affectedInstances : null) || {};
42721
- return O(xt, null, e.map((a) => {
42740
+ return Q(xt, null, e.map((a) => {
42722
42741
  let l = a.eventRange.instance.instanceId;
42723
- return O(
42742
+ return Q(
42724
42743
  "div",
42725
42744
  { key: l, style: { visibility: o[l] ? "hidden" : "" } },
42726
- O(ZO, Object.assign({ seg: a, isDragging: !1, isResizing: !1, isDateSelecting: !1, isSelected: l === r, isShort: !1 }, LA(a, t, n)))
42745
+ Q(ZO, Object.assign({ seg: a, isDragging: !1, isResizing: !1, isDateSelecting: !1, isSelected: l === r, isShort: !1 }, LA(a, t, n)))
42727
42746
  );
42728
42747
  }));
42729
42748
  }
@@ -42742,32 +42761,32 @@ class $re extends dt {
42742
42761
  }
42743
42762
  render() {
42744
42763
  let { props: t, context: n } = this, r = n.options.nowIndicator && t.slatCoords && t.slatCoords.safeComputeTop(t.nowDate), A = t.cells.length, i = this.splitFgEventSegs(t.fgEventSegs, A), o = this.splitBgEventSegs(t.bgEventSegs, A), a = this.splitBusinessHourSegs(t.businessHourSegs, A), l = this.splitNowIndicatorSegs(t.nowIndicatorSegs, A), c = this.splitDateSelectionSegs(t.dateSelectionSegs, A), d = this.splitEventDrag(t.eventDrag, A), u = this.splitEventResize(t.eventResize, A);
42745
- return O(
42764
+ return Q(
42746
42765
  "div",
42747
42766
  { className: "fc-timegrid-cols", ref: this.rootElRef },
42748
- O(
42767
+ Q(
42749
42768
  "table",
42750
42769
  { role: "presentation", style: {
42751
42770
  minWidth: t.tableMinWidth,
42752
42771
  width: t.clientWidth
42753
42772
  } },
42754
42773
  t.tableColGroupNode,
42755
- O(
42774
+ Q(
42756
42775
  "tbody",
42757
42776
  { role: "presentation" },
42758
- O(
42777
+ Q(
42759
42778
  "tr",
42760
42779
  { role: "row" },
42761
- t.axis && O(
42780
+ t.axis && Q(
42762
42781
  "td",
42763
42782
  { "aria-hidden": !0, className: "fc-timegrid-col fc-timegrid-axis" },
42764
- O(
42783
+ Q(
42765
42784
  "div",
42766
42785
  { className: "fc-timegrid-col-frame" },
42767
- O("div", { className: "fc-timegrid-now-indicator-container" }, typeof r == "number" && O(ox, { elClasses: ["fc-timegrid-now-indicator-arrow"], elStyle: { top: r }, isAxis: !0, date: t.nowDate }))
42786
+ Q("div", { className: "fc-timegrid-now-indicator-container" }, typeof r == "number" && Q(ox, { elClasses: ["fc-timegrid-now-indicator-arrow"], elStyle: { top: r }, isAxis: !0, date: t.nowDate }))
42768
42787
  )
42769
42788
  ),
42770
- t.cells.map((f, g) => O(Zre, { key: f.key, elRef: this.cellElRefs.createRef(f.key), dateProfile: t.dateProfile, date: f.date, nowDate: t.nowDate, todayRange: t.todayRange, extraRenderProps: f.extraRenderProps, extraDataAttrs: f.extraDataAttrs, extraClassNames: f.extraClassNames, extraDateSpan: f.extraDateSpan, fgEventSegs: i[g], bgEventSegs: o[g], businessHourSegs: a[g], nowIndicatorSegs: l[g], dateSelectionSegs: c[g], eventDrag: d[g], eventResize: u[g], slatCoords: t.slatCoords, eventSelection: t.eventSelection, forPrint: t.forPrint }))
42789
+ t.cells.map((f, g) => Q(Zre, { key: f.key, elRef: this.cellElRefs.createRef(f.key), dateProfile: t.dateProfile, date: f.date, nowDate: t.nowDate, todayRange: t.todayRange, extraRenderProps: f.extraRenderProps, extraDataAttrs: f.extraDataAttrs, extraClassNames: f.extraClassNames, extraDateSpan: f.extraDateSpan, fgEventSegs: i[g], bgEventSegs: o[g], businessHourSegs: a[g], nowIndicatorSegs: l[g], dateSelectionSegs: c[g], eventDrag: d[g], eventResize: u[g], slatCoords: t.slatCoords, eventSelection: t.eventSelection, forPrint: t.forPrint }))
42771
42790
  )
42772
42791
  )
42773
42792
  )
@@ -42820,7 +42839,7 @@ class tAe extends Yr {
42820
42839
  }
42821
42840
  render() {
42822
42841
  let { props: t, state: n } = this;
42823
- return O(
42842
+ return Q(
42824
42843
  "div",
42825
42844
  { className: "fc-timegrid-body", ref: this.handleRootEl, style: {
42826
42845
  // these props are important to give this wrapper correct dimensions for interactions
@@ -42828,8 +42847,8 @@ class tAe extends Yr {
42828
42847
  width: t.clientWidth,
42829
42848
  minWidth: t.tableMinWidth
42830
42849
  } },
42831
- O(Mre, { axis: t.axis, dateProfile: t.dateProfile, slatMetas: t.slatMetas, clientWidth: t.clientWidth, minHeight: t.expandRows ? t.clientHeight : "", tableMinWidth: t.tableMinWidth, tableColGroupNode: t.axis ? t.tableColGroupNode : null, onCoords: this.handleSlatCoords }),
42832
- O($re, { cells: t.cells, axis: t.axis, dateProfile: t.dateProfile, businessHourSegs: t.businessHourSegs, bgEventSegs: t.bgEventSegs, fgEventSegs: t.fgEventSegs, dateSelectionSegs: t.dateSelectionSegs, eventSelection: t.eventSelection, eventDrag: t.eventDrag, eventResize: t.eventResize, todayRange: t.todayRange, nowDate: t.nowDate, nowIndicatorSegs: t.nowIndicatorSegs, clientWidth: t.clientWidth, tableMinWidth: t.tableMinWidth, tableColGroupNode: t.tableColGroupNode, slatCoords: n.slatCoords, onColCoords: this.handleColCoords, forPrint: t.forPrint })
42850
+ Q(Mre, { axis: t.axis, dateProfile: t.dateProfile, slatMetas: t.slatMetas, clientWidth: t.clientWidth, minHeight: t.expandRows ? t.clientHeight : "", tableMinWidth: t.tableMinWidth, tableColGroupNode: t.axis ? t.tableColGroupNode : null, onCoords: this.handleSlatCoords }),
42851
+ Q($re, { cells: t.cells, axis: t.axis, dateProfile: t.dateProfile, businessHourSegs: t.businessHourSegs, bgEventSegs: t.bgEventSegs, fgEventSegs: t.fgEventSegs, dateSelectionSegs: t.dateSelectionSegs, eventSelection: t.eventSelection, eventDrag: t.eventDrag, eventResize: t.eventResize, todayRange: t.todayRange, nowDate: t.nowDate, nowIndicatorSegs: t.nowIndicatorSegs, clientWidth: t.clientWidth, tableMinWidth: t.tableMinWidth, tableColGroupNode: t.tableColGroupNode, slatCoords: n.slatCoords, onColCoords: this.handleColCoords, forPrint: t.forPrint })
42833
42852
  );
42834
42853
  }
42835
42854
  componentDidMount() {
@@ -42887,7 +42906,7 @@ class AAe extends Yr {
42887
42906
  }
42888
42907
  render() {
42889
42908
  let { props: t, context: n } = this, { dateProfile: r, dayTableModel: A } = t, { nowIndicator: i, nextDayThreshold: o } = n.options, a = this.buildDayRanges(A, r, n.dateEnv);
42890
- return O(ao, { unit: i ? "minute" : "day" }, (l, c) => O(tAe, Object.assign({ ref: this.timeColsRef }, this.slicer.sliceProps(t, r, null, n, a), { forPrint: t.forPrint, axis: t.axis, dateProfile: r, slatMetas: t.slatMetas, slotDuration: t.slotDuration, cells: A.cells[0], tableColGroupNode: t.tableColGroupNode, tableMinWidth: t.tableMinWidth, clientWidth: t.clientWidth, clientHeight: t.clientHeight, expandRows: t.expandRows, nowDate: l, nowIndicatorSegs: i && this.slicer.sliceNowDate(l, r, o, n, a), todayRange: c, onScrollTopRequest: t.onScrollTopRequest, onSlatCoords: t.onSlatCoords })));
42909
+ return Q(ao, { unit: i ? "minute" : "day" }, (l, c) => Q(tAe, Object.assign({ ref: this.timeColsRef }, this.slicer.sliceProps(t, r, null, n, a), { forPrint: t.forPrint, axis: t.axis, dateProfile: r, slatMetas: t.slatMetas, slotDuration: t.slotDuration, cells: A.cells[0], tableColGroupNode: t.tableColGroupNode, tableMinWidth: t.tableMinWidth, clientWidth: t.clientWidth, clientHeight: t.clientHeight, expandRows: t.expandRows, nowDate: l, nowIndicatorSegs: i && this.slicer.sliceNowDate(l, r, o, n, a), todayRange: c, onScrollTopRequest: t.onScrollTopRequest, onSlatCoords: t.onSlatCoords })));
42891
42910
  }
42892
42911
  }
42893
42912
  function iAe(e, t, n) {
@@ -42907,7 +42926,7 @@ const hB = [
42907
42926
  { seconds: 15 }
42908
42927
  ];
42909
42928
  function oAe(e, t, n, r, A) {
42910
- let i = /* @__PURE__ */ new Date(0), o = e, a = ot(0), l = n || sAe(r), c = [];
42929
+ let i = /* @__PURE__ */ new Date(0), o = e, a = st(0), l = n || sAe(r), c = [];
42911
42930
  for (; zr(o) < zr(t); ) {
42912
42931
  let d = A.add(i, o), u = Hw(a, l) !== null;
42913
42932
  c.push({
@@ -42923,7 +42942,7 @@ function oAe(e, t, n, r, A) {
42923
42942
  function sAe(e) {
42924
42943
  let t, n, r;
42925
42944
  for (t = hB.length - 1; t >= 0; t -= 1)
42926
- if (n = ot(hB[t]), r = Hw(n, e), r !== null && r > 1)
42945
+ if (n = st(hB[t]), r = Hw(n, e), r !== null && r > 1)
42927
42946
  return n;
42928
42947
  return e;
42929
42948
  }
@@ -42932,7 +42951,7 @@ class aAe extends Lre {
42932
42951
  super(...arguments), this.buildTimeColsModel = Pe(lAe), this.buildSlatMetas = Pe(oAe);
42933
42952
  }
42934
42953
  render() {
42935
- let { options: t, dateEnv: n, dateProfileGenerator: r } = this.context, { props: A } = this, { dateProfile: i } = A, o = this.buildTimeColsModel(i, r), a = this.allDaySplitter.splitProps(A), l = this.buildSlatMetas(i.slotMinTime, i.slotMaxTime, t.slotLabelInterval, t.slotDuration, n), { dayMinWidth: c } = t, d = !c, u = c, f = t.dayHeaders && O(dO, { dates: o.headerDates, dateProfile: i, datesRepDistinctDays: !0, renderIntro: d ? this.renderHeadAxis : null }), g = t.allDaySlot !== !1 && ((p) => O(zO, Object.assign({}, a.allDay, { dateProfile: i, dayTableModel: o, nextDayThreshold: t.nextDayThreshold, tableMinWidth: p.tableMinWidth, colGroupNode: p.tableColGroupNode, renderRowIntro: d ? this.renderTableRowAxis : null, showWeekNumbers: !1, expandRows: !1, headerAlignElRef: this.headerElRef, clientWidth: p.clientWidth, clientHeight: p.clientHeight, forPrint: A.forPrint }, this.getAllDayMaxEventProps()))), h = (p) => O(AAe, Object.assign({}, a.timed, { dayTableModel: o, dateProfile: i, axis: d, slotDuration: t.slotDuration, slatMetas: l, forPrint: A.forPrint, tableColGroupNode: p.tableColGroupNode, tableMinWidth: p.tableMinWidth, clientWidth: p.clientWidth, clientHeight: p.clientHeight, onSlatCoords: this.handleSlatCoords, expandRows: p.expandRows, onScrollTopRequest: this.handleScrollTopRequest }));
42954
+ let { options: t, dateEnv: n, dateProfileGenerator: r } = this.context, { props: A } = this, { dateProfile: i } = A, o = this.buildTimeColsModel(i, r), a = this.allDaySplitter.splitProps(A), l = this.buildSlatMetas(i.slotMinTime, i.slotMaxTime, t.slotLabelInterval, t.slotDuration, n), { dayMinWidth: c } = t, d = !c, u = c, f = t.dayHeaders && Q(dO, { dates: o.headerDates, dateProfile: i, datesRepDistinctDays: !0, renderIntro: d ? this.renderHeadAxis : null }), g = t.allDaySlot !== !1 && ((p) => Q(zO, Object.assign({}, a.allDay, { dateProfile: i, dayTableModel: o, nextDayThreshold: t.nextDayThreshold, tableMinWidth: p.tableMinWidth, colGroupNode: p.tableColGroupNode, renderRowIntro: d ? this.renderTableRowAxis : null, showWeekNumbers: !1, expandRows: !1, headerAlignElRef: this.headerElRef, clientWidth: p.clientWidth, clientHeight: p.clientHeight, forPrint: A.forPrint }, this.getAllDayMaxEventProps()))), h = (p) => Q(AAe, Object.assign({}, a.timed, { dayTableModel: o, dateProfile: i, axis: d, slotDuration: t.slotDuration, slatMetas: l, forPrint: A.forPrint, tableColGroupNode: p.tableColGroupNode, tableMinWidth: p.tableMinWidth, clientWidth: p.clientWidth, clientHeight: p.clientHeight, onSlatCoords: this.handleSlatCoords, expandRows: p.expandRows, onScrollTopRequest: this.handleScrollTopRequest }));
42936
42955
  return u ? this.renderHScrollLayout(f, g, h, o.colCnt, c, l, this.state.slatCoords) : this.renderSimpleLayout(f, g, h);
42937
42956
  }
42938
42957
  }
@@ -42968,7 +42987,7 @@ var uAe = wA({
42968
42987
  }
42969
42988
  }
42970
42989
  });
42971
- const { getLightShade: pB } = cr.color, fAe = st`
42990
+ const { getLightShade: pB } = cr.color, fAe = ot`
42972
42991
  .fc-dayGridMonth-view {
42973
42992
  .fc-more-link {
42974
42993
  color: ${({ theme: e }) => e.color.white};
@@ -43577,7 +43596,7 @@ const { getLightShade: pB } = cr.color, fAe = st`
43577
43596
  ]
43578
43597
  }
43579
43598
  );
43580
- }, { getDarkShade: dx, getLightShade: Ua } = cr.color, eQ = st`
43599
+ }, { getDarkShade: dx, getLightShade: Ua } = cr.color, eQ = ot`
43581
43600
  display: flex;
43582
43601
  align-items: center;
43583
43602
  padding: ${({ theme: e }) => e.size.xs}px ${({ theme: e }) => e.size.sm}px ${({ theme: e }) => e.size.xs}px
@@ -43618,7 +43637,7 @@ const { getLightShade: pB } = cr.color, fAe = st`
43618
43637
  `, yAe = ({
43619
43638
  children: e,
43620
43639
  ...t
43621
- }) => t.href !== void 0 ? /* @__PURE__ */ s.jsx(xAe, { ...t, children: e }) : /* @__PURE__ */ s.jsx(wAe, { ...t, children: e }), tQ = st`
43640
+ }) => t.href !== void 0 ? /* @__PURE__ */ s.jsx(xAe, { ...t, children: e }) : /* @__PURE__ */ s.jsx(wAe, { ...t, children: e }), tQ = ot`
43622
43641
  display: flex;
43623
43642
  position: relative;
43624
43643
  flex-direction: ${({ $size: e }) => e === "l" ? "column" : "row"};
@@ -43696,7 +43715,7 @@ const { getLightShade: pB } = cr.color, fAe = st`
43696
43715
  top: -2px;
43697
43716
  bottom: -2px;
43698
43717
  }`}
43699
- `, nQ = st`
43718
+ `, nQ = ot`
43700
43719
  padding: ${({ theme: e }) => e.space.sm}px 0 ${({ theme: e }) => e.space.sm}px
43701
43720
  ${({ theme: e, variant: t }) => t === "outlined" ? 24 : e.space.sm}px;
43702
43721
  display: flex;
@@ -43784,10 +43803,10 @@ const { getLightShade: pB } = cr.color, fAe = st`
43784
43803
  recurringEventId: B,
43785
43804
  href: E
43786
43805
  }) => {
43787
- const D = q(), T = at(), j = te(() => Number(o), [o]), Q = te(
43806
+ const D = q(), T = at(), j = te(() => Number(o), [o]), O = te(
43788
43807
  () => n && r ? Math.ceil((r.getTime() - n.getTime()) / 6e4) : void 0,
43789
43808
  [r, n]
43790
- ), R = te(() => !Q || Q >= 40 ? "l" : Q >= 20 ? "s" : "xs", [Q]), z = F(($) => {
43809
+ ), R = te(() => !O || O >= 40 ? "l" : O >= 20 ? "s" : "xs", [O]), z = F(($) => {
43791
43810
  switch ($) {
43792
43811
  case "available":
43793
43812
  case "visio":
@@ -43846,7 +43865,7 @@ const { getLightShade: pB } = cr.color, fAe = st`
43846
43865
  position: "top",
43847
43866
  description: t,
43848
43867
  asBlock: !0,
43849
- active: !!Q && Q < 30,
43868
+ active: !!O && O < 30,
43850
43869
  children: /* @__PURE__ */ s.jsxs(
43851
43870
  BAe,
43852
43871
  {
@@ -44847,9 +44866,9 @@ function XAe() {
44847
44866
  size: n.default.number,
44848
44867
  value: n.default.string.isRequired
44849
44868
  }, h = (0, a.forwardRef)(function(p, v) {
44850
- var w = p.bgColor, y = w === void 0 ? "#FFFFFF" : w, x = p.fgColor, C = x === void 0 ? "#000000" : x, b = p.level, B = b === void 0 ? "L" : b, E = p.size, D = E === void 0 ? 256 : E, T = p.value, j = f(p, ["bgColor", "fgColor", "level", "size", "value"]), Q = new o.default(-1, A.default[B]);
44851
- Q.addData(T), Q.make();
44852
- var R = Q.modules;
44869
+ var w = p.bgColor, y = w === void 0 ? "#FFFFFF" : w, x = p.fgColor, C = x === void 0 ? "#000000" : x, b = p.level, B = b === void 0 ? "L" : b, E = p.size, D = E === void 0 ? 256 : E, T = p.value, j = f(p, ["bgColor", "fgColor", "level", "size", "value"]), O = new o.default(-1, A.default[B]);
44870
+ O.addData(T), O.make();
44871
+ var R = O.modules;
44853
44872
  return l.default.createElement(d.default, e({}, j, {
44854
44873
  bgColor: y,
44855
44874
  bgD: R.map(function(z, W) {
@@ -45204,7 +45223,7 @@ const iie = ({ dateStart: e, dateEnd: t, type: n, allDay: r }) => {
45204
45223
  }
45205
45224
  }), [w, y] = S(!1), [x, C] = S(!1), [b, B] = S(!1), [E, D] = S(!1), [T, j] = S(
45206
45225
  t && "dateStart" in t && t.dateStart ? new Date(t.dateStart).getTime() - (/* @__PURE__ */ new Date()).getTime() : null
45207
- ), { formattedDate: Q } = iie(t ?? {}), R = te(() => t && t.type !== "recurringEventOccurrence" && "place" in t && !!t.place && ((t.place === "bbb" || t.place === "bbb-public") && (!T || T > 1e3 * 60 * 15) || !!t.place.match(/other:(?!http).+/)), [t, T]);
45226
+ ), { formattedDate: O } = iie(t ?? {}), R = te(() => t && t.type !== "recurringEventOccurrence" && "place" in t && !!t.place && ((t.place === "bbb" || t.place === "bbb-public") && (!T || T > 1e3 * 60 * 15) || !!t.place.match(/other:(?!http).+/)), [t, T]);
45208
45227
  M(() => {
45209
45228
  let re;
45210
45229
  return (!T || T > 0) && (re = setTimeout(() => {
@@ -45361,7 +45380,7 @@ const iie = ({ dateStart: e, dateEnd: t, type: n, allDay: r }) => {
45361
45380
  /* @__PURE__ */ s.jsxs(cie, { children: [
45362
45381
  (("dateStart" in t && t.dateStart) ?? ("dateEnd" in t && t.dateEnd)) && /* @__PURE__ */ s.jsxs(pc, { children: [
45363
45382
  /* @__PURE__ */ s.jsx(se, { isMargin: !1, name: "icon-calendar", color: "grey5" }),
45364
- /* @__PURE__ */ s.jsx(Ae, { color: "grey5", children: Q })
45383
+ /* @__PURE__ */ s.jsx(Ae, { color: "grey5", children: O })
45365
45384
  ] }),
45366
45385
  t._extend?.recurringEventRecord?.recurrenceRuleLabel && /* @__PURE__ */ s.jsxs(pc, { children: [
45367
45386
  /* @__PURE__ */ s.jsx(se, { isMargin: !1, name: "icon-refresh", color: "grey5" }),
@@ -45639,7 +45658,7 @@ const iie = ({ dateStart: e, dateEnd: t, type: n, allDay: r }) => {
45639
45658
  onSelect: x,
45640
45659
  disableSelect: C
45641
45660
  }) => {
45642
- const b = q(), [B, E] = S(""), [D, T] = S(), [j, Q] = S(null), R = le(null), z = le(null), W = le(null), G = F(() => R.current?.getApi(), [R]), ne = a?.onCalendarApiInit;
45661
+ const b = q(), [B, E] = S(""), [D, T] = S(), [j, O] = S(null), R = le(null), z = le(null), W = le(null), G = F(() => R.current?.getApi(), [R]), ne = a?.onCalendarApiInit;
45643
45662
  M(() => {
45644
45663
  ne?.(G());
45645
45664
  }, [ne, G]);
@@ -45861,7 +45880,7 @@ const iie = ({ dateStart: e, dateEnd: t, type: n, allDay: r }) => {
45861
45880
  type: V.event.extendedProps.type,
45862
45881
  isVisio: V.event.extendedProps.isVisio,
45863
45882
  noGestion: V.event.extendedProps.noGestion,
45864
- onClick: fe(V.event.extendedProps.type) ? void 0 : () => Q(
45883
+ onClick: fe(V.event.extendedProps.type) ? void 0 : () => O(
45865
45884
  (xe) => xe?.uri === V.event.extendedProps.uri && xe?.dates === Yh(
45866
45885
  V.event.extendedProps.dateStart,
45867
45886
  V.event.extendedProps.dateEnd
@@ -45899,12 +45918,12 @@ const iie = ({ dateStart: e, dateEnd: t, type: n, allDay: r }) => {
45899
45918
  aQ,
45900
45919
  {
45901
45920
  event: ee,
45902
- closeHandler: () => Q(null),
45921
+ closeHandler: () => O(null),
45903
45922
  onError: f,
45904
45923
  onSuccess: g,
45905
45924
  extraComponent: c,
45906
45925
  onDeleteEvent: () => {
45907
- Q(null), h();
45926
+ O(null), h();
45908
45927
  },
45909
45928
  onClickUpdateEvent: p,
45910
45929
  onClickTransformEvent: v,
@@ -46066,7 +46085,7 @@ const iie = ({ dateStart: e, dateEnd: t, type: n, allDay: r }) => {
46066
46085
  deleteFile: f,
46067
46086
  additionalExtensions: g
46068
46087
  }) => {
46069
- const h = q(), [p, v] = S(!1), [w, y] = S(""), [x, C] = S(!0), [b, B] = S(!1), [E, D] = S(!1), [T, j] = S([]), [Q, R] = S(!1), z = F(() => {
46088
+ const h = q(), [p, v] = S(!1), [w, y] = S(""), [x, C] = S(!0), [b, B] = S(!1), [E, D] = S(!1), [T, j] = S([]), [O, R] = S(!1), z = F(() => {
46070
46089
  i({
46071
46090
  content: w,
46072
46091
  alertAuthor: b,
@@ -46102,7 +46121,7 @@ const iie = ({ dateStart: e, dateEnd: t, type: n, allDay: r }) => {
46102
46121
  children: h.formatMessage({ id: "COMMENT_Placeholder" })
46103
46122
  }
46104
46123
  ),
46105
- Q && /* @__PURE__ */ s.jsx(Xie, { children: /* @__PURE__ */ s.jsx(
46124
+ O && /* @__PURE__ */ s.jsx(Xie, { children: /* @__PURE__ */ s.jsx(
46106
46125
  nl,
46107
46126
  {
46108
46127
  deleteFile: f,
@@ -46776,7 +46795,7 @@ const iie = ({ dateStart: e, dateEnd: t, type: n, allDay: r }) => {
46776
46795
  articleId: v,
46777
46796
  onReport: w
46778
46797
  }) => {
46779
- const y = Ot(), x = at(), C = q(), [b, B] = S(!1), [E, D] = S(!1), [T, j] = S(!1), [Q, R] = S(!1), [z, W] = S(!1), [G, ne] = S(t.description), [_, $] = S(!1), [re, P] = S(!1), [I, L] = S(!0), K = le(null), X = le(null), k = dr(), N = F(() => {
46798
+ const y = Ot(), x = at(), C = q(), [b, B] = S(!1), [E, D] = S(!1), [T, j] = S(!1), [O, R] = S(!1), [z, W] = S(!1), [G, ne] = S(t.description), [_, $] = S(!1), [re, P] = S(!1), [I, L] = S(!0), K = le(null), X = le(null), k = dr(), N = F(() => {
46780
46799
  n && G && ($(!0), A({ idComment: t.id, description: G, token: n }).then(() => {
46781
46800
  W(!1), $(!1);
46782
46801
  }));
@@ -46952,7 +46971,7 @@ const iie = ({ dateStart: e, dateEnd: t, type: n, allDay: r }) => {
46952
46971
  loading: _
46953
46972
  }
46954
46973
  ],
46955
- open: Q,
46974
+ open: O,
46956
46975
  closeHandler: () => R(!1),
46957
46976
  title: C.formatMessage({ id: "GLOBAL_Delete" }),
46958
46977
  children: C.formatMessage({ id: "COMMENT_Delete_Comment" })
@@ -47059,10 +47078,10 @@ const iie = ({ dateStart: e, dateEnd: t, type: n, allDay: r }) => {
47059
47078
  additionalExtensions: D,
47060
47079
  onReport: T
47061
47080
  }) => {
47062
- const j = Ot(), Q = le(null), [R, z] = S(), [W, G] = S(t), ne = F(() => {
47081
+ const j = Ot(), O = le(null), [R, z] = S(), [W, G] = S(t), ne = F(() => {
47063
47082
  G(W + 5);
47064
47083
  }, [W]), _ = F(() => {
47065
- e && (z(e.length - 1), Q?.current && Q.current.scrollIntoView({ block: "end" }));
47084
+ e && (z(e.length - 1), O?.current && O.current.scrollIntoView({ block: "end" }));
47066
47085
  }, [e]), $ = F(
47067
47086
  async (re) => {
47068
47087
  if (u)
@@ -47093,7 +47112,7 @@ const iie = ({ dateStart: e, dateEnd: t, type: n, allDay: r }) => {
47093
47112
  variant: C
47094
47113
  }
47095
47114
  ),
47096
- e && /* @__PURE__ */ s.jsx(Doe, { ref: Q, children: e.map(
47115
+ e && /* @__PURE__ */ s.jsx(Doe, { ref: O, children: e.map(
47097
47116
  (re, P) => e.length - P <= W ? /* @__PURE__ */ s.jsx("div", { children: /* @__PURE__ */ s.jsx(
47098
47117
  Boe,
47099
47118
  {
@@ -47404,7 +47423,7 @@ const Ooe = m.div`
47404
47423
  color: ${({ theme: e }) => e.color.grey4};
47405
47424
  }
47406
47425
 
47407
- ${({ $hasError: e }) => e && st`
47426
+ ${({ $hasError: e }) => e && ot`
47408
47427
  border-color: ${({ theme: t }) => t.color.red}!important;
47409
47428
  `}
47410
47429
  `, Goe = m(ke)`
@@ -47675,15 +47694,15 @@ const Ooe = m.div`
47675
47694
  const B = l.current.getBoundingClientRect(), E = (B.bottom - B.top) / 2, D = C.getClientOffset();
47676
47695
  if (!D)
47677
47696
  return;
47678
- const j = D.y - B.top < E, Q = Math.max(0, j ? t : t + 1);
47679
- if (b === nr.MAIN_ITEM && (Q === x.index || Q === x.index + 1)) {
47697
+ const j = D.y - B.top < E, O = Math.max(0, j ? t : t + 1);
47698
+ if (b === nr.MAIN_ITEM && (O === x.index || O === x.index + 1)) {
47680
47699
  d(null), o();
47681
47700
  return;
47682
47701
  }
47683
- const R = Q <= t;
47684
- d(R ? "before" : "after"), f(Q);
47702
+ const R = O <= t;
47703
+ d(R ? "before" : "after"), f(O);
47685
47704
  const z = b === nr.STACK_ITEM ? "stack" : "main";
47686
- Q === 0 ? i("before-first", 0, z) : i("between", Q, z);
47705
+ O === 0 ? i("before-first", 0, z) : i("between", O, z);
47687
47706
  },
47688
47707
  collect: () => ({})
47689
47708
  }),
@@ -47894,7 +47913,7 @@ const Ooe = m.div`
47894
47913
  o(I, L);
47895
47914
  },
47896
47915
  [o]
47897
- ), Q = F(
47916
+ ), O = F(
47898
47917
  (I, L, K) => {
47899
47918
  i(I, L, K);
47900
47919
  },
@@ -47927,7 +47946,7 @@ const Ooe = m.div`
47927
47946
  },
47928
47947
  [D, l, o]
47929
47948
  ), _ = F(() => {
47930
- e.length === 0 && T({ position: "empty", index: void 0, dragType: "stack" });
47949
+ e.length === 0 ? T({ position: "empty", index: void 0, dragType: "stack" }) : T({ position: "after-last", index: e.length, dragType: "stack" });
47931
47950
  }, [e.length]), $ = F(
47932
47951
  (I, L) => {
47933
47952
  const K = n;
@@ -47938,7 +47957,7 @@ const Ooe = m.div`
47938
47957
  index: L,
47939
47958
  canReorder: l,
47940
47959
  onMove: j,
47941
- onDropFromStack: Q,
47960
+ onDropFromStack: O,
47942
47961
  onHover: z,
47943
47962
  onHoverEnd: W,
47944
47963
  children: /* @__PURE__ */ s.jsx(
@@ -47960,7 +47979,7 @@ const Ooe = m.div`
47960
47979
  l,
47961
47980
  c,
47962
47981
  j,
47963
- Q,
47982
+ O,
47964
47983
  R,
47965
47984
  z,
47966
47985
  W
@@ -48025,7 +48044,7 @@ const Ooe = m.div`
48025
48044
  /* @__PURE__ */ s.jsx(
48026
48045
  Ase,
48027
48046
  {
48028
- onDropFromStack: Q,
48047
+ onDropFromStack: O,
48029
48048
  onAddStackItem: G,
48030
48049
  onMoveMainItem: ne,
48031
48050
  onHoverEmpty: _,
@@ -48079,7 +48098,7 @@ const hse = pQ, mQ = rv(
48079
48098
  ), j = te(
48080
48099
  () => v ?? b.formatMessage({ id: "DND_STACK_TITLE" }),
48081
48100
  [v, b]
48082
- ), Q = te(
48101
+ ), O = te(
48083
48102
  () => w ?? b.formatMessage({ id: "DND_SECTIONS_TITLE" }),
48084
48103
  [w, b]
48085
48104
  ), R = te(() => b.formatMessage({ id: "DND_NEW_SECTION_LABEL" }), [b]), z = F(
@@ -48241,7 +48260,7 @@ const hse = pQ, mQ = rv(
48241
48260
  ) })
48242
48261
  ] }),
48243
48262
  /* @__PURE__ */ s.jsxs(Foe, { children: [
48244
- /* @__PURE__ */ s.jsx(Moe, { children: /* @__PURE__ */ s.jsx(kB, { variant: "h3", color: "grey6", children: Q }) }),
48263
+ /* @__PURE__ */ s.jsx(Moe, { children: /* @__PURE__ */ s.jsx(kB, { variant: "h3", color: "grey6", children: O }) }),
48245
48264
  x && /* @__PURE__ */ s.jsx(qoe, { children: x }),
48246
48265
  B.length > 0 && /* @__PURE__ */ s.jsx(koe, { children: B.map((I, L) => P(I, L)) }),
48247
48266
  d && /* @__PURE__ */ s.jsx(
@@ -50400,7 +50419,7 @@ const Qn = ({
50400
50419
  ] }),
50401
50420
  /* @__PURE__ */ s.jsx(be, { onClick: () => r(t), variant: "outlined", minWidth: "100%", children: A.formatMessage({ id: "PANEL_Save_And_Close" }) })
50402
50421
  ] });
50403
- }, { colorTransparency: Yle } = cr.color, Zle = st`
50422
+ }, { colorTransparency: Yle } = cr.color, Zle = ot`
50404
50423
  cursor: pointer;
50405
50424
  display: flex;
50406
50425
  justify-content: center;
@@ -50979,7 +50998,7 @@ const Qn = ({
50979
50998
  }).catch(() => {
50980
50999
  x(void 0);
50981
51000
  }).finally(T);
50982
- }, [a, n, D, y, T]), Q = F(() => {
51001
+ }, [a, n, D, y, T]), O = F(() => {
50983
51002
  if (!n) return;
50984
51003
  (n.type !== "fileTmp" ? a.file.deleteImage(n.id, n.type) : a.file.deleteFile(n.id, E, e)).then(() => D(void 0)).finally(T);
50985
51004
  }, [E, n, D, T, e, a]), R = F(() => {
@@ -50987,7 +51006,7 @@ const Qn = ({
50987
51006
  D(G.result);
50988
51007
  }).finally(T);
50989
51008
  }, [E, b, D, T, e, a]), z = F(() => {
50990
- v(!0), A?.(!0), o && y && n ? j() : b === void 0 && n ? Q() : o && b instanceof File ? R() : (r(b), f(!1));
51009
+ v(!0), A?.(!0), o && y && n ? j() : b === void 0 && n ? O() : o && b instanceof File ? R() : (r(b), f(!1));
50991
51010
  }, [
50992
51011
  b,
50993
51012
  n,
@@ -50995,7 +51014,7 @@ const Qn = ({
50995
51014
  r,
50996
51015
  y,
50997
51016
  j,
50998
- Q,
51017
+ O,
50999
51018
  R,
51000
51019
  o
51001
51020
  ]), W = [
@@ -51257,24 +51276,24 @@ const Qn = ({
51257
51276
  i({ uniqid: t, title: j });
51258
51277
  },
51259
51278
  [i, t]
51260
- ), y = (j, Q) => {
51261
- const R = n?.arr?.map((W, G) => G !== j ? W : { ...Q });
51279
+ ), y = (j, O) => {
51280
+ const R = n?.arr?.map((W, G) => G !== j ? W : { ...O });
51262
51281
  if (!R) return;
51263
51282
  A(t, {
51264
51283
  arr: R
51265
51284
  });
51266
51285
  }, x = (j) => {
51267
- const Q = [...n?.arr ?? []];
51268
- Q.splice(j, 1), A(t, {
51269
- arr: Q
51286
+ const O = [...n?.arr ?? []];
51287
+ O.splice(j, 1), A(t, {
51288
+ arr: O
51270
51289
  });
51271
51290
  }, C = (j) => {
51272
51291
  u(j), c(!0);
51273
- }, b = (j, Q) => {
51292
+ }, b = (j, O) => {
51274
51293
  const R = {
51275
51294
  arr: [
51276
51295
  ...n?.arr?.map((z, W) => {
51277
- if (W !== Q) return z;
51296
+ if (W !== O) return z;
51278
51297
  const G = z.links?.filter((ne, _) => _ !== j);
51279
51298
  return { ...z, links: G };
51280
51299
  }) ?? []
@@ -51285,19 +51304,19 @@ const Qn = ({
51285
51304
  c(!1), u(null);
51286
51305
  }, E = (j) => {
51287
51306
  if (!Array.isArray(n.arr)) return;
51288
- const Q = n.arr.map((R, z) => {
51307
+ const O = n.arr.map((R, z) => {
51289
51308
  if (z === j) {
51290
51309
  const W = { ...R };
51291
51310
  return delete W.id, delete W.file, W;
51292
51311
  } else
51293
51312
  return R;
51294
51313
  });
51295
- o({ arr: Q });
51314
+ o({ arr: O });
51296
51315
  }, D = (j) => {
51297
51316
  A(t, j);
51298
- }, T = (j, Q) => {
51317
+ }, T = (j, O) => {
51299
51318
  if (!Array.isArray(n.arr)) return;
51300
- const R = n.arr.map((z, W) => W === j ? { ...z, id: Q.id, file: Q } : z);
51319
+ const R = n.arr.map((z, W) => W === j ? { ...z, id: O.id, file: O } : z);
51301
51320
  o({ arr: R });
51302
51321
  };
51303
51322
  return M(() => {
@@ -51309,19 +51328,19 @@ const Qn = ({
51309
51328
  n.arr && /* @__PURE__ */ s.jsx(eE, { border: n.arr.length > 0, children: /* @__PURE__ */ s.jsx(jce, { children: /* @__PURE__ */ s.jsx(
51310
51329
  pi,
51311
51330
  {
51312
- onDrag: (j, Q) => {
51331
+ onDrag: (j, O) => {
51313
51332
  if (n.arr === void 0) return;
51314
51333
  const z = {
51315
- arr: xi(n.arr, j, Q)
51334
+ arr: xi(n.arr, j, O)
51316
51335
  };
51317
51336
  D(z);
51318
51337
  },
51319
51338
  elms: n?.arr ? n?.arr : [],
51320
- renderEl: (j, Q) => /* @__PURE__ */ s.jsx(
51339
+ renderEl: (j, O) => /* @__PURE__ */ s.jsx(
51321
51340
  Oce,
51322
51341
  {
51323
51342
  token: e,
51324
- index: Q,
51343
+ index: O,
51325
51344
  item: j,
51326
51345
  setItems: y,
51327
51346
  removeItem: x,
@@ -51331,9 +51350,9 @@ const Qn = ({
51331
51350
  handleRemoveImage: E,
51332
51351
  handleNewItem: v,
51333
51352
  length: n?.arr?.length ?? 0,
51334
- inputRef: h.current[Q]
51353
+ inputRef: h.current[O]
51335
51354
  },
51336
- Q
51355
+ O
51337
51356
  )
51338
51357
  }
51339
51358
  ) }) }),
@@ -52940,11 +52959,11 @@ const Qn = ({
52940
52959
  const E = a.current;
52941
52960
  if (!Array.isArray(E.arr)) return;
52942
52961
  const D = document.activeElement, T = D?.tagName === "INPUT", j = E.arr.map(
52943
- (Q, R) => R === b ? { ...Q, ...B } : Q
52962
+ (O, R) => R === b ? { ...O, ...B } : O
52944
52963
  );
52945
52964
  c.current({ ...E, arr: j }), T && requestAnimationFrame(() => {
52946
- const Q = d.get(b)?.current;
52947
- Q && document.activeElement !== Q && (Q.focus(), D.selectionStart !== null && Q.setSelectionRange(D.selectionStart, D.selectionEnd));
52965
+ const O = d.get(b)?.current;
52966
+ O && document.activeElement !== O && (O.focus(), D.selectionStart !== null && O.setSelectionRange(D.selectionStart, D.selectionEnd));
52948
52967
  });
52949
52968
  },
52950
52969
  [d]
@@ -52965,7 +52984,7 @@ const Qn = ({
52965
52984
  if (!Array.isArray(B.arr)) return;
52966
52985
  const E = B.arr.map((D, T) => {
52967
52986
  if (T !== b) return D;
52968
- const { file: j, id: Q, ...R } = D;
52987
+ const { file: j, id: O, ...R } = D;
52969
52988
  return R;
52970
52989
  });
52971
52990
  c.current({ ...B, arr: E });
@@ -53610,11 +53629,11 @@ const UQ = ({
53610
53629
  inset: 0;
53611
53630
  display: flex;
53612
53631
  align-items: center;
53613
- `, Hue = st`
53632
+ `, Hue = ot`
53614
53633
  left: 10px;
53615
- `, Fue = st`
53634
+ `, Fue = ot`
53616
53635
  right: 10px;
53617
- `, zQ = st`
53636
+ `, zQ = ot`
53618
53637
  position: absolute;
53619
53638
  border-radius: 40px;
53620
53639
  width: 40px;
@@ -53758,7 +53777,7 @@ const que = m.div`
53758
53777
  }
53759
53778
  const j = Date.now();
53760
53779
  B.current ??= j, E.current !== null && (B.current += j - E.current, E.current = null);
53761
- const Q = j - B.current, R = Math.max(0, n * 1e3 - Q);
53780
+ const O = j - B.current, R = Math.max(0, n * 1e3 - O);
53762
53781
  return b.current = setTimeout(() => {
53763
53782
  B.current = Date.now(), f((z) => aE(z, d, A)), h((z) => {
53764
53783
  const W = z.at(-1);
@@ -53782,17 +53801,17 @@ const que = m.div`
53782
53801
  onMouseEnter: () => y(!0),
53783
53802
  onMouseLeave: () => y(!1),
53784
53803
  children: [
53785
- /* @__PURE__ */ s.jsx(Jue, { $step: u, $steps: d, children: e.map((j, Q) => {
53804
+ /* @__PURE__ */ s.jsx(Jue, { $step: u, $steps: d, children: e.map((j, O) => {
53786
53805
  const { component: R, attributes: z } = j;
53787
- return /* @__PURE__ */ s.jsx(Yue, { $maxHeight: p, children: g.includes(Q) && /* @__PURE__ */ s.jsx(
53806
+ return /* @__PURE__ */ s.jsx(Yue, { $maxHeight: p, children: g.includes(O) && /* @__PURE__ */ s.jsx(
53788
53807
  R,
53789
53808
  {
53790
53809
  slide: z,
53791
53810
  maxWidth: r,
53792
53811
  maxHeight: p,
53793
- onClick: () => l ? l(Q) : void 0
53812
+ onClick: () => l ? l(O) : void 0
53794
53813
  }
53795
- ) }, Q);
53814
+ ) }, O);
53796
53815
  }) }),
53797
53816
  i && e.length > 1 && /* @__PURE__ */ s.jsx(Zue, { children: /* @__PURE__ */ s.jsx(Vue, { step: u, steps: d, onClick: f }) }),
53798
53817
  d && /* @__PURE__ */ s.jsx(
@@ -53921,7 +53940,7 @@ const que = m.div`
53921
53940
  });
53922
53941
  }
53923
53942
  }
53924
- ], Q = (R) => {
53943
+ ], O = (R) => {
53925
53944
  E({
53926
53945
  ...B,
53927
53946
  button: {
@@ -54035,7 +54054,7 @@ const que = m.div`
54035
54054
  {
54036
54055
  label: p.formatMessage({ id: "WIDGET_Cover_Link_Url_Label" }),
54037
54056
  initialValue: D.href,
54038
- onChange: (R) => Q({ href: R }),
54057
+ onChange: (R) => O({ href: R }),
54039
54058
  width: "100%"
54040
54059
  }
54041
54060
  ) }),
@@ -54048,7 +54067,7 @@ const que = m.div`
54048
54067
  name: "slide-button-on",
54049
54068
  options: Hv,
54050
54069
  initialValue: D.on,
54051
- onChange: (R) => Q({ on: R })
54070
+ onChange: (R) => O({ on: R })
54052
54071
  }
54053
54072
  ),
54054
54073
  /* @__PURE__ */ s.jsx(
@@ -54064,7 +54083,7 @@ const que = m.div`
54064
54083
  {
54065
54084
  label: "",
54066
54085
  initialValue: D.title,
54067
- onChange: (R) => Q({ title: R }),
54086
+ onChange: (R) => O({ title: R }),
54068
54087
  width: "100%"
54069
54088
  }
54070
54089
  ),
@@ -54075,7 +54094,7 @@ const que = m.div`
54075
54094
  {
54076
54095
  colors: vt,
54077
54096
  initialValue: D.color,
54078
- onChange: (R) => Q({ color: R })
54097
+ onChange: (R) => O({ color: R })
54079
54098
  }
54080
54099
  )
54081
54100
  ] }) }),
@@ -54088,7 +54107,7 @@ const que = m.div`
54088
54107
  {
54089
54108
  colors: vt,
54090
54109
  initialValue: D.backgroundColor,
54091
- onChange: (R) => Q({ backgroundColor: R })
54110
+ onChange: (R) => O({ backgroundColor: R })
54092
54111
  }
54093
54112
  )
54094
54113
  ] }) }),
@@ -54101,7 +54120,7 @@ const que = m.div`
54101
54120
  (R) => R.value !== os.Large
54102
54121
  ),
54103
54122
  initialValue: D.size,
54104
- onChange: (R) => Q({ size: R })
54123
+ onChange: (R) => O({ size: R })
54105
54124
  }
54106
54125
  ),
54107
54126
  /* @__PURE__ */ s.jsx(
@@ -54111,7 +54130,7 @@ const que = m.div`
54111
54130
  name: "slide-button-target",
54112
54131
  options: Ov,
54113
54132
  initialValue: D.target,
54114
- onChange: (R) => Q({ target: R })
54133
+ onChange: (R) => O({ target: R })
54115
54134
  }
54116
54135
  )
54117
54136
  ] }) })
@@ -54755,6 +54774,21 @@ const jfe = m.button`
54755
54774
  color: "green"
54756
54775
  }
54757
54776
  } : {}
54777
+ }), e === "title" && o.push({
54778
+ label: i.formatMessage({ id: "WIDGET_Table_Sort_By_Creation_Date" }),
54779
+ onClick: () => {
54780
+ A({
54781
+ tableColumnsData: t.map(
54782
+ (a) => a.name === n.name ? { ...a, sortByCreationDate: !n.sortByCreationDate } : a
54783
+ )
54784
+ });
54785
+ },
54786
+ ...n.sortByCreationDate ? {
54787
+ icon: {
54788
+ name: "icon-check",
54789
+ color: "green"
54790
+ }
54791
+ } : {}
54758
54792
  }), /* @__PURE__ */ s.jsx(
54759
54793
  wi,
54760
54794
  {
@@ -55604,37 +55638,37 @@ const hge = (e) => {
55604
55638
  tableSizedColumns: g,
55605
55639
  tableSizedColumnsWidth: h,
55606
55640
  limit: p = 20
55607
- } = e, [v, w] = S(A ?? 1), [y, x] = S({
55608
- name: o,
55609
- order: i
55610
- }), C = F(
55611
- (D) => {
55612
- y.name === D ? x({ ...y, order: y.order === "ascending" ? "descending" : "ascending" }) : x({ name: D, order: "ascending" });
55641
+ } = e, [v, w] = S(A ?? 1), [y, x] = S(() => f?.find((j) => j.name === o)?.sortByCreationDate ? { name: o, order: "descending" } : { name: o, order: i }), C = F(
55642
+ (T) => {
55643
+ y.name === T ? x({ ...y, order: y.order === "ascending" ? "descending" : "ascending" }) : x({ name: T, order: "ascending" });
55613
55644
  },
55614
55645
  [y]
55615
- ), b = te(() => t.length, [t]), B = te(() => {
55616
- const D = n.find((T) => T.name === y.name);
55617
- return D ? D.type : "text";
55618
- }, [n, y]), E = te(
55619
- () => _fe(fge(t, y.order, y.name, B), v, Number(p)),
55620
- [t, y.name, y.order, v, p, B]
55646
+ ), b = te(() => t.length, [t]), B = te(() => f?.find((j) => j.name === y.name)?.sortByCreationDate ? "dateCreation" : y.name, [y.name, f]), E = te(() => {
55647
+ const T = n.find((j) => j.name === B);
55648
+ return T ? T.type : "text";
55649
+ }, [n, B]), D = te(
55650
+ () => _fe(fge(t, y.order, B, E), v, Number(p)),
55651
+ [t, B, y.order, v, p, E]
55621
55652
  );
55622
55653
  return M(() => {
55623
- const D = n?.filter((T) => T.sortable)[0];
55624
- D && y.name === "unknown" && x({ name: D.name, order: "ascending" });
55625
- }, [n, y.name]), /* @__PURE__ */ s.jsx(ige, { children: /* @__PURE__ */ s.jsx(oge, { borderRadius: r, children: /* @__PURE__ */ s.jsxs(sge, { children: [
55654
+ const T = n?.filter((j) => j.sortable)[0];
55655
+ if (T && y.name === "unknown") {
55656
+ const O = f?.find((R) => R.name === T.name)?.sortByCreationDate ? "descending" : "ascending";
55657
+ x({ name: T.name, order: O });
55658
+ }
55659
+ }, [n, y.name, f]), /* @__PURE__ */ s.jsx(ige, { children: /* @__PURE__ */ s.jsx(oge, { borderRadius: r, children: /* @__PURE__ */ s.jsxs(sge, { children: [
55626
55660
  /* @__PURE__ */ s.jsxs($fe, { children: [
55627
- /* @__PURE__ */ s.jsx(ege, { children: /* @__PURE__ */ s.jsx(hE, { background: a, color: l, children: n.map((D) => {
55628
- const T = D.sortable ?? D.type === "text", j = D.name === y.name;
55661
+ /* @__PURE__ */ s.jsx(ege, { children: /* @__PURE__ */ s.jsx(hE, { background: a, color: l, children: n.map((T) => {
55662
+ const j = T.sortable ?? T.type === "text", O = T.name === y.name;
55629
55663
  return /* @__PURE__ */ s.jsx(
55630
55664
  pge,
55631
55665
  {
55632
- ariaSort: T ? j ? y.order : "none" : void 0,
55666
+ ariaSort: j ? O ? y.order : "none" : void 0,
55633
55667
  width: g ? h : void 0,
55634
- onClick: () => T ? C(D.name) : void 0,
55668
+ onClick: () => j ? C(T.name) : void 0,
55635
55669
  children: /* @__PURE__ */ s.jsxs(rge, { children: [
55636
- D.label,
55637
- T && /* @__PURE__ */ s.jsx(s.Fragment, { children: j ? /* @__PURE__ */ s.jsx(
55670
+ T.label,
55671
+ j && /* @__PURE__ */ s.jsx(s.Fragment, { children: O ? /* @__PURE__ */ s.jsx(
55638
55672
  se,
55639
55673
  {
55640
55674
  "aria-hidden": "true",
@@ -55651,28 +55685,28 @@ const hge = (e) => {
55651
55685
  ) })
55652
55686
  ] })
55653
55687
  },
55654
- D.name
55688
+ T.name
55655
55689
  );
55656
55690
  }) }) }),
55657
- /* @__PURE__ */ s.jsx(tge, { children: E.map((D, T) => /* @__PURE__ */ s.jsx(
55691
+ /* @__PURE__ */ s.jsx(tge, { children: D.map((T, j) => /* @__PURE__ */ s.jsx(
55658
55692
  hE,
55659
55693
  {
55660
- background: T % 2 === 1 ? d : "#fff",
55694
+ background: j % 2 === 1 ? d : "#fff",
55661
55695
  color: u,
55662
- children: n.map((j) => /* @__PURE__ */ s.jsx(nge, { children: /* @__PURE__ */ s.jsx(Age, { children: /* @__PURE__ */ s.jsx(
55696
+ children: n.map((O) => /* @__PURE__ */ s.jsx(nge, { children: /* @__PURE__ */ s.jsx(Age, { children: /* @__PURE__ */ s.jsx(
55663
55697
  dge,
55664
55698
  {
55665
- backgroundColor: T % 2 === 1 ? d : "#fff",
55666
- col: j,
55667
- type: j.type,
55668
- value: D[j.name],
55669
- name: j.name,
55699
+ backgroundColor: j % 2 === 1 ? d : "#fff",
55700
+ col: O,
55701
+ type: O.type,
55702
+ value: T[O.name],
55703
+ name: O.name,
55670
55704
  tableColumnsData: f ?? [],
55671
- url: typeof D._url == "string" ? D._url : void 0
55705
+ url: typeof T._url == "string" ? T._url : void 0
55672
55706
  }
55673
- ) }) }, `${T}-${j.name}`))
55707
+ ) }) }, `${j}-${O.name}`))
55674
55708
  },
55675
- T
55709
+ j
55676
55710
  )) })
55677
55711
  ] }),
55678
55712
  typeof p == "number" && b > p && /* @__PURE__ */ s.jsx(