@oniratec/onira-react-ui 1.3.2 → 1.4.0

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.
package/dist/index.js CHANGED
@@ -3,7 +3,7 @@ import { clsx } from "clsx";
3
3
  import { jsx, jsxs } from "react/jsx-runtime";
4
4
  import * as React from "react";
5
5
  import React__default, { useLayoutEffect, useState, forwardRef, useId as useId$1, useRef, useMemo, useEffect, useCallback, Fragment } from "react";
6
- import { Loader2, Calendar, ChevronLeft, ChevronRight, Check, Circle, EyeOff, EyeIcon, UploadCloud, X as X$1, ChevronDown, ChevronUp, ChevronsUpDown, Eye } from "lucide-react";
6
+ import { Loader2, CheckCircle, Info as Info$1, AlertTriangle, AlertCircle, Calendar, ChevronLeft, ChevronRight, Check, Circle, EyeOff, EyeIcon, UploadCloud, X as X$1, ChevronDown, ChevronUp, ChevronsUpDown, Eye } from "lucide-react";
7
7
  import * as ReactDOM from "react-dom";
8
8
  import ReactDOM__default from "react-dom";
9
9
  import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
@@ -635,7 +635,44 @@ const Logo = ({
635
635
  ),
636
636
  children: t
637
637
  }
638
- ), CardHeader = ({ children: t, className: e }) => /* @__PURE__ */ jsx("div", { className: cn$1("mb-2", e), children: t }), CardTitle = ({ children: t, className: e }) => /* @__PURE__ */ jsx("h3", { className: cn$1("text-sm font-medium text-[color:var(--text-2)]", e), children: t }), CardContent = ({ children: t, className: e }) => /* @__PURE__ */ jsx("div", { className: cn$1("text-2xl font-semibold text-[color:var(--text-1)]", e), children: t });
638
+ ), CardHeader = ({ children: t, className: e }) => /* @__PURE__ */ jsx("div", { className: cn$1("mb-2", e), children: t }), CardTitle = ({ children: t, className: e }) => /* @__PURE__ */ jsx("h3", { className: cn$1("text-sm font-medium text-[color:var(--text-2)]", e), children: t }), CardContent = ({ children: t, className: e }) => /* @__PURE__ */ jsx("div", { className: cn$1("text-2xl font-semibold text-[color:var(--text-1)]", e), children: t }), ICONS = {
639
+ error: AlertCircle,
640
+ warning: AlertTriangle,
641
+ info: Info$1,
642
+ success: CheckCircle
643
+ }, Alert = React.forwardRef(
644
+ ({ className: t, variant: e = "info", children: r, ...i }, a) => {
645
+ const h = ICONS[e];
646
+ return /* @__PURE__ */ jsxs(
647
+ "div",
648
+ {
649
+ ref: a,
650
+ role: "alert",
651
+ "data-variant": e,
652
+ className: cn$1("oniratec-alert", t),
653
+ ...i,
654
+ children: [
655
+ /* @__PURE__ */ jsx(h, { className: "oniratec-alert__icon", "aria-hidden": "true" }),
656
+ /* @__PURE__ */ jsx("div", { className: "oniratec-alert__content", children: r })
657
+ ]
658
+ }
659
+ );
660
+ }
661
+ );
662
+ Alert.displayName = "Alert";
663
+ const Badge = React.forwardRef(
664
+ ({ className: t, variant: e = "default", size: r = "md", ...i }, a) => /* @__PURE__ */ jsx(
665
+ "span",
666
+ {
667
+ ref: a,
668
+ "data-variant": e,
669
+ "data-size": r,
670
+ className: cn$1("oniratec-badge", t),
671
+ ...i
672
+ }
673
+ )
674
+ );
675
+ Badge.displayName = "Badge";
639
676
  function composeEventHandlers(t, e, { checkForDefaultPrevented: r = !0 } = {}) {
640
677
  return function(a) {
641
678
  if (t?.(a), r === !1 || !a.defaultPrevented)
@@ -648,12 +685,12 @@ function createContextScope(t, e = []) {
648
685
  const y = React.createContext(d), M = r.length;
649
686
  r = [...r, d];
650
687
  const F = (q) => {
651
- const { scope: V, children: W, ...K } = q, Z = V?.[t]?.[M] || y, re = React.useMemo(() => K, Object.values(K));
652
- return /* @__PURE__ */ jsx(Z.Provider, { value: re, children: W });
688
+ const { scope: V, children: Z, ...K } = q, W = V?.[t]?.[M] || y, re = React.useMemo(() => K, Object.values(K));
689
+ return /* @__PURE__ */ jsx(W.Provider, { value: re, children: Z });
653
690
  };
654
691
  F.displayName = h + "Provider";
655
692
  function j(q, V) {
656
- const W = V?.[t]?.[M] || y, K = React.useContext(W);
693
+ const Z = V?.[t]?.[M] || y, K = React.useContext(Z);
657
694
  if (K) return K;
658
695
  if (d !== void 0) return d;
659
696
  throw new Error(`\`${q}\` must be used within \`${h}\``);
@@ -747,7 +784,7 @@ var DISMISSABLE_LAYER_NAME = "DismissableLayer", CONTEXT_UPDATE = "dismissableLa
747
784
  onInteractOutside: d,
748
785
  onDismiss: y,
749
786
  ...M
750
- } = t, F = React.useContext(DismissableLayerContext), [j, q] = React.useState(null), V = j?.ownerDocument ?? globalThis?.document, [, W] = React.useState({}), K = useComposedRefs(e, (ae) => q(ae)), Z = Array.from(F.layers), [re] = [...F.layersWithOutsidePointerEventsDisabled].slice(-1), H = Z.indexOf(re), J = j ? Z.indexOf(j) : -1, G = F.layersWithOutsidePointerEventsDisabled.size > 0, Q = J >= H, te = usePointerDownOutside((ae) => {
787
+ } = t, F = React.useContext(DismissableLayerContext), [j, q] = React.useState(null), V = j?.ownerDocument ?? globalThis?.document, [, Z] = React.useState({}), K = useComposedRefs(e, (ae) => q(ae)), W = Array.from(F.layers), [re] = [...F.layersWithOutsidePointerEventsDisabled].slice(-1), H = W.indexOf(re), J = j ? W.indexOf(j) : -1, G = F.layersWithOutsidePointerEventsDisabled.size > 0, Q = J >= H, te = usePointerDownOutside((ae) => {
751
788
  const le = ae.target, he = [...F.branches].some((ye) => ye.contains(le));
752
789
  !Q || he || (a?.(ae), d?.(ae), ae.defaultPrevented || y?.());
753
790
  }, V), ne = useFocusOutside((ae) => {
@@ -764,7 +801,7 @@ var DISMISSABLE_LAYER_NAME = "DismissableLayer", CONTEXT_UPDATE = "dismissableLa
764
801
  }, [j, V, r, F]), React.useEffect(() => () => {
765
802
  j && (F.layers.delete(j), F.layersWithOutsidePointerEventsDisabled.delete(j), dispatchUpdate());
766
803
  }, [j, F]), React.useEffect(() => {
767
- const ae = () => W({});
804
+ const ae = () => Z({});
768
805
  return document.addEventListener(CONTEXT_UPDATE, ae), () => document.removeEventListener(CONTEXT_UPDATE, ae);
769
806
  }, []), /* @__PURE__ */ jsx(
770
807
  Primitive.div,
@@ -869,7 +906,7 @@ var AUTOFOCUS_ON_MOUNT = "focusScope.autoFocusOnMount", AUTOFOCUS_ON_UNMOUNT = "
869
906
  onMountAutoFocus: a,
870
907
  onUnmountAutoFocus: h,
871
908
  ...d
872
- } = t, [y, M] = React.useState(null), F = useCallbackRef$1(a), j = useCallbackRef$1(h), q = React.useRef(null), V = useComposedRefs(e, (Z) => M(Z)), W = React.useRef({
909
+ } = t, [y, M] = React.useState(null), F = useCallbackRef$1(a), j = useCallbackRef$1(h), q = React.useRef(null), V = useComposedRefs(e, (W) => M(W)), Z = React.useRef({
873
910
  paused: !1,
874
911
  pause() {
875
912
  this.paused = !0;
@@ -880,12 +917,12 @@ var AUTOFOCUS_ON_MOUNT = "focusScope.autoFocusOnMount", AUTOFOCUS_ON_UNMOUNT = "
880
917
  }).current;
881
918
  React.useEffect(() => {
882
919
  if (i) {
883
- let Z = function(G) {
884
- if (W.paused || !y) return;
920
+ let W = function(G) {
921
+ if (Z.paused || !y) return;
885
922
  const Q = G.target;
886
923
  y.contains(Q) ? q.current = Q : focus(q.current, { select: !0 });
887
924
  }, re = function(G) {
888
- if (W.paused || !y) return;
925
+ if (Z.paused || !y) return;
889
926
  const Q = G.relatedTarget;
890
927
  Q !== null && (y.contains(Q) || focus(q.current, { select: !0 }));
891
928
  }, H = function(G) {
@@ -893,38 +930,38 @@ var AUTOFOCUS_ON_MOUNT = "focusScope.autoFocusOnMount", AUTOFOCUS_ON_UNMOUNT = "
893
930
  for (const te of G)
894
931
  te.removedNodes.length > 0 && focus(y);
895
932
  };
896
- document.addEventListener("focusin", Z), document.addEventListener("focusout", re);
933
+ document.addEventListener("focusin", W), document.addEventListener("focusout", re);
897
934
  const J = new MutationObserver(H);
898
935
  return y && J.observe(y, { childList: !0, subtree: !0 }), () => {
899
- document.removeEventListener("focusin", Z), document.removeEventListener("focusout", re), J.disconnect();
936
+ document.removeEventListener("focusin", W), document.removeEventListener("focusout", re), J.disconnect();
900
937
  };
901
938
  }
902
- }, [i, y, W.paused]), React.useEffect(() => {
939
+ }, [i, y, Z.paused]), React.useEffect(() => {
903
940
  if (y) {
904
- focusScopesStack.add(W);
905
- const Z = document.activeElement;
906
- if (!y.contains(Z)) {
941
+ focusScopesStack.add(Z);
942
+ const W = document.activeElement;
943
+ if (!y.contains(W)) {
907
944
  const H = new CustomEvent(AUTOFOCUS_ON_MOUNT, EVENT_OPTIONS);
908
- y.addEventListener(AUTOFOCUS_ON_MOUNT, F), y.dispatchEvent(H), H.defaultPrevented || (focusFirst(removeLinks(getTabbableCandidates(y)), { select: !0 }), document.activeElement === Z && focus(y));
945
+ y.addEventListener(AUTOFOCUS_ON_MOUNT, F), y.dispatchEvent(H), H.defaultPrevented || (focusFirst(removeLinks(getTabbableCandidates(y)), { select: !0 }), document.activeElement === W && focus(y));
909
946
  }
910
947
  return () => {
911
948
  y.removeEventListener(AUTOFOCUS_ON_MOUNT, F), setTimeout(() => {
912
949
  const H = new CustomEvent(AUTOFOCUS_ON_UNMOUNT, EVENT_OPTIONS);
913
- y.addEventListener(AUTOFOCUS_ON_UNMOUNT, j), y.dispatchEvent(H), H.defaultPrevented || focus(Z ?? document.body, { select: !0 }), y.removeEventListener(AUTOFOCUS_ON_UNMOUNT, j), focusScopesStack.remove(W);
950
+ y.addEventListener(AUTOFOCUS_ON_UNMOUNT, j), y.dispatchEvent(H), H.defaultPrevented || focus(W ?? document.body, { select: !0 }), y.removeEventListener(AUTOFOCUS_ON_UNMOUNT, j), focusScopesStack.remove(Z);
914
951
  }, 0);
915
952
  };
916
953
  }
917
- }, [y, F, j, W]);
954
+ }, [y, F, j, Z]);
918
955
  const K = React.useCallback(
919
- (Z) => {
920
- if (!r && !i || W.paused) return;
921
- const re = Z.key === "Tab" && !Z.altKey && !Z.ctrlKey && !Z.metaKey, H = document.activeElement;
956
+ (W) => {
957
+ if (!r && !i || Z.paused) return;
958
+ const re = W.key === "Tab" && !W.altKey && !W.ctrlKey && !W.metaKey, H = document.activeElement;
922
959
  if (re && H) {
923
- const J = Z.currentTarget, [G, Q] = getTabbableEdges(J);
924
- G && Q ? !Z.shiftKey && H === Q ? (Z.preventDefault(), r && focus(G, { select: !0 })) : Z.shiftKey && H === G && (Z.preventDefault(), r && focus(Q, { select: !0 })) : H === J && Z.preventDefault();
960
+ const J = W.currentTarget, [G, Q] = getTabbableEdges(J);
961
+ G && Q ? !W.shiftKey && H === Q ? (W.preventDefault(), r && focus(G, { select: !0 })) : W.shiftKey && H === G && (W.preventDefault(), r && focus(Q, { select: !0 })) : H === J && W.preventDefault();
925
962
  }
926
963
  },
927
- [r, i, W.paused]
964
+ [r, i, Z.paused]
928
965
  );
929
966
  return /* @__PURE__ */ jsx(Primitive.div, { tabIndex: -1, ...d, ref: V, onKeyDown: K });
930
967
  });
@@ -1111,47 +1148,47 @@ function computeCoordsFromPlacement(t, e, r) {
1111
1148
  floating: a
1112
1149
  } = t;
1113
1150
  const h = getSideAxis(e), d = getAlignmentAxis(e), y = getAxisLength(d), M = getSide(e), F = h === "y", j = i.x + i.width / 2 - a.width / 2, q = i.y + i.height / 2 - a.height / 2, V = i[y] / 2 - a[y] / 2;
1114
- let W;
1151
+ let Z;
1115
1152
  switch (M) {
1116
1153
  case "top":
1117
- W = {
1154
+ Z = {
1118
1155
  x: j,
1119
1156
  y: i.y - a.height
1120
1157
  };
1121
1158
  break;
1122
1159
  case "bottom":
1123
- W = {
1160
+ Z = {
1124
1161
  x: j,
1125
1162
  y: i.y + i.height
1126
1163
  };
1127
1164
  break;
1128
1165
  case "right":
1129
- W = {
1166
+ Z = {
1130
1167
  x: i.x + i.width,
1131
1168
  y: q
1132
1169
  };
1133
1170
  break;
1134
1171
  case "left":
1135
- W = {
1172
+ Z = {
1136
1173
  x: i.x - a.width,
1137
1174
  y: q
1138
1175
  };
1139
1176
  break;
1140
1177
  default:
1141
- W = {
1178
+ Z = {
1142
1179
  x: i.x,
1143
1180
  y: i.y
1144
1181
  };
1145
1182
  }
1146
1183
  switch (getAlignment(e)) {
1147
1184
  case "start":
1148
- W[d] -= V * (r && F ? -1 : 1);
1185
+ Z[d] -= V * (r && F ? -1 : 1);
1149
1186
  break;
1150
1187
  case "end":
1151
- W[d] += V * (r && F ? -1 : 1);
1188
+ Z[d] += V * (r && F ? -1 : 1);
1152
1189
  break;
1153
1190
  }
1154
- return W;
1191
+ return Z;
1155
1192
  }
1156
1193
  const computePosition$1 = async (t, e, r) => {
1157
1194
  const {
@@ -1167,12 +1204,12 @@ const computePosition$1 = async (t, e, r) => {
1167
1204
  }), {
1168
1205
  x: j,
1169
1206
  y: q
1170
- } = computeCoordsFromPlacement(F, i, M), V = i, W = {}, K = 0;
1171
- for (let Z = 0; Z < y.length; Z++) {
1207
+ } = computeCoordsFromPlacement(F, i, M), V = i, Z = {}, K = 0;
1208
+ for (let W = 0; W < y.length; W++) {
1172
1209
  const {
1173
1210
  name: re,
1174
1211
  fn: H
1175
- } = y[Z], {
1212
+ } = y[W], {
1176
1213
  x: J,
1177
1214
  y: G,
1178
1215
  data: Q,
@@ -1183,7 +1220,7 @@ const computePosition$1 = async (t, e, r) => {
1183
1220
  initialPlacement: i,
1184
1221
  placement: V,
1185
1222
  strategy: a,
1186
- middlewareData: W,
1223
+ middlewareData: Z,
1187
1224
  rects: F,
1188
1225
  platform: d,
1189
1226
  elements: {
@@ -1191,10 +1228,10 @@ const computePosition$1 = async (t, e, r) => {
1191
1228
  floating: e
1192
1229
  }
1193
1230
  });
1194
- j = J ?? j, q = G ?? q, W = {
1195
- ...W,
1231
+ j = J ?? j, q = G ?? q, Z = {
1232
+ ...Z,
1196
1233
  [re]: {
1197
- ...W[re],
1234
+ ...Z[re],
1198
1235
  ...Q
1199
1236
  }
1200
1237
  }, te && K <= 50 && (K++, typeof te == "object" && (te.placement && (V = te.placement), te.rects && (F = te.rects === !0 ? await d.getElementRects({
@@ -1204,14 +1241,14 @@ const computePosition$1 = async (t, e, r) => {
1204
1241
  }) : te.rects), {
1205
1242
  x: j,
1206
1243
  y: q
1207
- } = computeCoordsFromPlacement(F, V, M)), Z = -1);
1244
+ } = computeCoordsFromPlacement(F, V, M)), W = -1);
1208
1245
  }
1209
1246
  return {
1210
1247
  x: j,
1211
1248
  y: q,
1212
1249
  placement: V,
1213
1250
  strategy: a,
1214
- middlewareData: W
1251
+ middlewareData: Z
1215
1252
  };
1216
1253
  };
1217
1254
  async function detectOverflow(t, e) {
@@ -1229,8 +1266,8 @@ async function detectOverflow(t, e) {
1229
1266
  rootBoundary: j = "viewport",
1230
1267
  elementContext: q = "floating",
1231
1268
  altBoundary: V = !1,
1232
- padding: W = 0
1233
- } = evaluate(e, t), K = getPaddingObject(W), re = y[V ? q === "floating" ? "reference" : "floating" : q], H = rectToClientRect(await h.getClippingRect({
1269
+ padding: Z = 0
1270
+ } = evaluate(e, t), K = getPaddingObject(Z), re = y[V ? q === "floating" ? "reference" : "floating" : q], H = rectToClientRect(await h.getClippingRect({
1234
1271
  element: (r = await (h.isElement == null ? void 0 : h.isElement(re))) == null || r ? re : re.contextElement || await (h.getDocumentElement == null ? void 0 : h.getDocumentElement(y.floating)),
1235
1272
  boundary: F,
1236
1273
  rootBoundary: j,
@@ -1280,14 +1317,14 @@ const arrow$3 = (t) => ({
1280
1317
  const q = getPaddingObject(j), V = {
1281
1318
  x: r,
1282
1319
  y: i
1283
- }, W = getAlignmentAxis(a), K = getAxisLength(W), Z = await d.getDimensions(F), re = W === "y", H = re ? "top" : "left", J = re ? "bottom" : "right", G = re ? "clientHeight" : "clientWidth", Q = h.reference[K] + h.reference[W] - V[W] - h.floating[K], te = V[W] - h.reference[W], ne = await (d.getOffsetParent == null ? void 0 : d.getOffsetParent(F));
1320
+ }, Z = getAlignmentAxis(a), K = getAxisLength(Z), W = await d.getDimensions(F), re = Z === "y", H = re ? "top" : "left", J = re ? "bottom" : "right", G = re ? "clientHeight" : "clientWidth", Q = h.reference[K] + h.reference[Z] - V[Z] - h.floating[K], te = V[Z] - h.reference[Z], ne = await (d.getOffsetParent == null ? void 0 : d.getOffsetParent(F));
1284
1321
  let ae = ne ? ne[G] : 0;
1285
1322
  (!ae || !await (d.isElement == null ? void 0 : d.isElement(ne))) && (ae = y.floating[G] || h.floating[K]);
1286
- const le = Q / 2 - te / 2, he = ae / 2 - Z[K] / 2 - 1, ye = min(q[H], he), me = min(q[J], he), de = ye, ve = ae - Z[K] - me, ge = ae / 2 - Z[K] / 2 + le, fe = clamp(de, ge, ve), se = !M.arrow && getAlignment(a) != null && ge !== fe && h.reference[K] / 2 - (ge < de ? ye : me) - Z[K] / 2 < 0, ce = se ? ge < de ? ge - de : ge - ve : 0;
1323
+ const le = Q / 2 - te / 2, he = ae / 2 - W[K] / 2 - 1, ye = min(q[H], he), me = min(q[J], he), de = ye, ve = ae - W[K] - me, ge = ae / 2 - W[K] / 2 + le, fe = clamp(de, ge, ve), se = !M.arrow && getAlignment(a) != null && ge !== fe && h.reference[K] / 2 - (ge < de ? ye : me) - W[K] / 2 < 0, ce = se ? ge < de ? ge - de : ge - ve : 0;
1287
1324
  return {
1288
- [W]: V[W] + ce,
1325
+ [Z]: V[Z] + ce,
1289
1326
  data: {
1290
- [W]: fe,
1327
+ [Z]: fe,
1291
1328
  centerOffset: ge - fe - ce,
1292
1329
  ...se && {
1293
1330
  alignmentOffset: ce
@@ -1313,15 +1350,15 @@ const arrow$3 = (t) => ({
1313
1350
  mainAxis: j = !0,
1314
1351
  crossAxis: q = !0,
1315
1352
  fallbackPlacements: V,
1316
- fallbackStrategy: W = "bestFit",
1353
+ fallbackStrategy: Z = "bestFit",
1317
1354
  fallbackAxisSideDirection: K = "none",
1318
- flipAlignment: Z = !0,
1355
+ flipAlignment: W = !0,
1319
1356
  ...re
1320
1357
  } = evaluate(t, e);
1321
1358
  if ((r = h.arrow) != null && r.alignmentOffset)
1322
1359
  return {};
1323
- const H = getSide(a), J = getSideAxis(y), G = getSide(y) === y, Q = await (M.isRTL == null ? void 0 : M.isRTL(F.floating)), te = V || (G || !Z ? [getOppositePlacement(y)] : getExpandedPlacements(y)), ne = K !== "none";
1324
- !V && ne && te.push(...getOppositeAxisPlacements(y, Z, K, Q));
1360
+ const H = getSide(a), J = getSideAxis(y), G = getSide(y) === y, Q = await (M.isRTL == null ? void 0 : M.isRTL(F.floating)), te = V || (G || !W ? [getOppositePlacement(y)] : getExpandedPlacements(y)), ne = K !== "none";
1361
+ !V && ne && te.push(...getOppositeAxisPlacements(y, W, K, Q));
1325
1362
  const ae = [y, ...te], le = await detectOverflow(e, re), he = [];
1326
1363
  let ye = ((i = h.flip) == null ? void 0 : i.overflows) || [];
1327
1364
  if (j && he.push(le[H]), q) {
@@ -1348,7 +1385,7 @@ const arrow$3 = (t) => ({
1348
1385
  };
1349
1386
  let se = (de = ye.filter((ce) => ce.overflows[0] <= 0).sort((ce, ee) => ce.overflows[1] - ee.overflows[1])[0]) == null ? void 0 : de.placement;
1350
1387
  if (!se)
1351
- switch (W) {
1388
+ switch (Z) {
1352
1389
  case "bestFit": {
1353
1390
  var ve;
1354
1391
  const ce = (ve = ye.filter((ee) => {
@@ -1439,7 +1476,7 @@ async function convertValueToCoords(t, e) {
1439
1476
  } = t, h = await (i.isRTL == null ? void 0 : i.isRTL(a.floating)), d = getSide(r), y = getAlignment(r), M = getSideAxis(r) === "y", F = originSides.has(d) ? -1 : 1, j = h && M ? -1 : 1, q = evaluate(e, t);
1440
1477
  let {
1441
1478
  mainAxis: V,
1442
- crossAxis: W,
1479
+ crossAxis: Z,
1443
1480
  alignmentAxis: K
1444
1481
  } = typeof q == "number" ? {
1445
1482
  mainAxis: q,
@@ -1450,12 +1487,12 @@ async function convertValueToCoords(t, e) {
1450
1487
  crossAxis: q.crossAxis || 0,
1451
1488
  alignmentAxis: q.alignmentAxis
1452
1489
  };
1453
- return y && typeof K == "number" && (W = y === "end" ? K * -1 : K), M ? {
1454
- x: W * j,
1490
+ return y && typeof K == "number" && (Z = y === "end" ? K * -1 : K), M ? {
1491
+ x: Z * j,
1455
1492
  y: V * F
1456
1493
  } : {
1457
1494
  x: V * F,
1458
- y: W * j
1495
+ y: Z * j
1459
1496
  };
1460
1497
  }
1461
1498
  const offset$3 = function(t) {
@@ -1509,25 +1546,25 @@ const offset$3 = function(t) {
1509
1546
  x: r,
1510
1547
  y: i
1511
1548
  }, j = await detectOverflow(e, M), q = getSideAxis(getSide(a)), V = getOppositeAxis(q);
1512
- let W = F[V], K = F[q];
1549
+ let Z = F[V], K = F[q];
1513
1550
  if (h) {
1514
- const re = V === "y" ? "top" : "left", H = V === "y" ? "bottom" : "right", J = W + j[re], G = W - j[H];
1515
- W = clamp(J, W, G);
1551
+ const re = V === "y" ? "top" : "left", H = V === "y" ? "bottom" : "right", J = Z + j[re], G = Z - j[H];
1552
+ Z = clamp(J, Z, G);
1516
1553
  }
1517
1554
  if (d) {
1518
1555
  const re = q === "y" ? "top" : "left", H = q === "y" ? "bottom" : "right", J = K + j[re], G = K - j[H];
1519
1556
  K = clamp(J, K, G);
1520
1557
  }
1521
- const Z = y.fn({
1558
+ const W = y.fn({
1522
1559
  ...e,
1523
- [V]: W,
1560
+ [V]: Z,
1524
1561
  [q]: K
1525
1562
  });
1526
1563
  return {
1527
- ...Z,
1564
+ ...W,
1528
1565
  data: {
1529
- x: Z.x - r,
1530
- y: Z.y - i,
1566
+ x: W.x - r,
1567
+ y: W.y - i,
1531
1568
  enabled: {
1532
1569
  [V]: h,
1533
1570
  [q]: d
@@ -1554,18 +1591,18 @@ const offset$3 = function(t) {
1554
1591
  x: r,
1555
1592
  y: i
1556
1593
  }, q = getSideAxis(a), V = getOppositeAxis(q);
1557
- let W = j[V], K = j[q];
1558
- const Z = evaluate(y, e), re = typeof Z == "number" ? {
1559
- mainAxis: Z,
1594
+ let Z = j[V], K = j[q];
1595
+ const W = evaluate(y, e), re = typeof W == "number" ? {
1596
+ mainAxis: W,
1560
1597
  crossAxis: 0
1561
1598
  } : {
1562
1599
  mainAxis: 0,
1563
1600
  crossAxis: 0,
1564
- ...Z
1601
+ ...W
1565
1602
  };
1566
1603
  if (M) {
1567
1604
  const G = V === "y" ? "height" : "width", Q = h.reference[V] - h.floating[G] + re.mainAxis, te = h.reference[V] + h.reference[G] - re.mainAxis;
1568
- W < Q ? W = Q : W > te && (W = te);
1605
+ Z < Q ? Z = Q : Z > te && (Z = te);
1569
1606
  }
1570
1607
  if (F) {
1571
1608
  var H, J;
@@ -1573,7 +1610,7 @@ const offset$3 = function(t) {
1573
1610
  K < te ? K = te : K > ne && (K = ne);
1574
1611
  }
1575
1612
  return {
1576
- [V]: W,
1613
+ [V]: Z,
1577
1614
  [q]: K
1578
1615
  };
1579
1616
  }
@@ -1593,17 +1630,17 @@ const offset$3 = function(t) {
1593
1630
  apply: M = () => {
1594
1631
  },
1595
1632
  ...F
1596
- } = evaluate(t, e), j = await detectOverflow(e, F), q = getSide(a), V = getAlignment(a), W = getSideAxis(a) === "y", {
1633
+ } = evaluate(t, e), j = await detectOverflow(e, F), q = getSide(a), V = getAlignment(a), Z = getSideAxis(a) === "y", {
1597
1634
  width: K,
1598
- height: Z
1635
+ height: W
1599
1636
  } = h.floating;
1600
1637
  let re, H;
1601
1638
  q === "top" || q === "bottom" ? (re = q, H = V === (await (d.isRTL == null ? void 0 : d.isRTL(y.floating)) ? "start" : "end") ? "left" : "right") : (H = q, re = V === "end" ? "top" : "bottom");
1602
- const J = Z - j.top - j.bottom, G = K - j.left - j.right, Q = min(Z - j[re], J), te = min(K - j[H], G), ne = !e.middlewareData.shift;
1639
+ const J = W - j.top - j.bottom, G = K - j.left - j.right, Q = min(W - j[re], J), te = min(K - j[H], G), ne = !e.middlewareData.shift;
1603
1640
  let ae = Q, le = te;
1604
1641
  if ((r = e.middlewareData.shift) != null && r.enabled.x && (le = G), (i = e.middlewareData.shift) != null && i.enabled.y && (ae = J), ne && !V) {
1605
1642
  const ye = max(j.left, 0), me = max(j.right, 0), de = max(j.top, 0), ve = max(j.bottom, 0);
1606
- W ? le = K - 2 * (ye !== 0 || me !== 0 ? ye + me : max(j.left, j.right)) : ae = Z - 2 * (de !== 0 || ve !== 0 ? de + ve : max(j.top, j.bottom));
1643
+ Z ? le = K - 2 * (ye !== 0 || me !== 0 ? ye + me : max(j.left, j.right)) : ae = W - 2 * (de !== 0 || ve !== 0 ? de + ve : max(j.top, j.bottom));
1607
1644
  }
1608
1645
  await M({
1609
1646
  ...e,
@@ -1611,7 +1648,7 @@ const offset$3 = function(t) {
1611
1648
  availableHeight: ae
1612
1649
  });
1613
1650
  const he = await d.getDimensions(y.floating);
1614
- return K !== he.width || Z !== he.height ? {
1651
+ return K !== he.width || W !== he.height ? {
1615
1652
  reset: {
1616
1653
  rects: !0
1617
1654
  }
@@ -1780,11 +1817,11 @@ function getBoundingClientRect(t, e, r, i) {
1780
1817
  const y = shouldAddVisualOffsets(h, r, i) ? getVisualOffsets(h) : createCoords(0);
1781
1818
  let M = (a.left + y.x) / d.x, F = (a.top + y.y) / d.y, j = a.width / d.x, q = a.height / d.y;
1782
1819
  if (h) {
1783
- const V = getWindow(h), W = i && isElement(i) ? getWindow(i) : i;
1784
- let K = V, Z = getFrameElement(K);
1785
- for (; Z && i && W !== K; ) {
1786
- const re = getScale(Z), H = Z.getBoundingClientRect(), J = getComputedStyle$1(Z), G = H.left + (Z.clientLeft + parseFloat(J.paddingLeft)) * re.x, Q = H.top + (Z.clientTop + parseFloat(J.paddingTop)) * re.y;
1787
- M *= re.x, F *= re.y, j *= re.x, q *= re.y, M += G, F += Q, K = getWindow(Z), Z = getFrameElement(K);
1820
+ const V = getWindow(h), Z = i && isElement(i) ? getWindow(i) : i;
1821
+ let K = V, W = getFrameElement(K);
1822
+ for (; W && i && Z !== K; ) {
1823
+ const re = getScale(W), H = W.getBoundingClientRect(), J = getComputedStyle$1(W), G = H.left + (W.clientLeft + parseFloat(J.paddingLeft)) * re.x, Q = H.top + (W.clientTop + parseFloat(J.paddingTop)) * re.y;
1824
+ M *= re.x, F *= re.y, j *= re.x, q *= re.y, M += G, F += Q, K = getWindow(W), W = getFrameElement(K);
1788
1825
  }
1789
1826
  }
1790
1827
  return rectToClientRect({
@@ -1821,8 +1858,8 @@ function convertOffsetParentRelativeRectToViewportRelativeRect(t) {
1821
1858
  }, F = createCoords(1);
1822
1859
  const j = createCoords(0), q = isHTMLElement(i);
1823
1860
  if ((q || !q && !h) && ((getNodeName(i) !== "body" || isOverflowElement(d)) && (M = getNodeScroll(i)), isHTMLElement(i))) {
1824
- const W = getBoundingClientRect(i);
1825
- F = getScale(i), j.x = W.x + i.clientLeft, j.y = W.y + i.clientTop;
1861
+ const Z = getBoundingClientRect(i);
1862
+ F = getScale(i), j.x = Z.x + i.clientLeft, j.y = Z.y + i.clientTop;
1826
1863
  }
1827
1864
  const V = d && !q && !h ? getHTMLOffset(d, M) : createCoords(0);
1828
1865
  return {
@@ -1857,7 +1894,7 @@ function getViewportRect(t, e) {
1857
1894
  }
1858
1895
  const F = getWindowScrollBarX(i);
1859
1896
  if (F <= 0) {
1860
- const j = i.ownerDocument, q = j.body, V = getComputedStyle(q), W = j.compatMode === "CSS1Compat" && parseFloat(V.marginLeft) + parseFloat(V.marginRight) || 0, K = Math.abs(i.clientWidth - q.clientWidth - W);
1897
+ const j = i.ownerDocument, q = j.body, V = getComputedStyle(q), Z = j.compatMode === "CSS1Compat" && parseFloat(V.marginLeft) + parseFloat(V.marginRight) || 0, K = Math.abs(i.clientWidth - q.clientWidth - Z);
1861
1898
  K <= SCROLLBAR_MAX && (h -= K);
1862
1899
  } else F <= SCROLLBAR_MAX && (h += F);
1863
1900
  return {
@@ -1953,8 +1990,8 @@ function getRectRelativeToOffsetParent(t, e, r) {
1953
1990
  }
1954
1991
  if (i || !i && !h)
1955
1992
  if ((getNodeName(e) !== "body" || isOverflowElement(a)) && (y = getNodeScroll(e)), i) {
1956
- const W = getBoundingClientRect(e, !0, h, e);
1957
- M.x = W.x + e.clientLeft, M.y = W.y + e.clientTop;
1993
+ const Z = getBoundingClientRect(e, !0, h, e);
1994
+ M.x = Z.x + e.clientLeft, M.y = Z.y + e.clientTop;
1958
1995
  } else a && F();
1959
1996
  h && !i && a && F();
1960
1997
  const j = a && !i && !h ? getHTMLOffset(a, y) : createCoords(0), q = d.left + y.scrollLeft - M.x - j.x, V = d.top + y.scrollTop - M.y - j.y;
@@ -2037,12 +2074,12 @@ function observeMove(t, e) {
2037
2074
  left: j,
2038
2075
  top: q,
2039
2076
  width: V,
2040
- height: W
2077
+ height: Z
2041
2078
  } = F;
2042
- if (y || e(), !V || !W)
2079
+ if (y || e(), !V || !Z)
2043
2080
  return;
2044
- const K = floor(q), Z = floor(a.clientWidth - (j + V)), re = floor(a.clientHeight - (q + W)), H = floor(j), G = {
2045
- rootMargin: -K + "px " + -Z + "px " + -re + "px " + -H + "px",
2081
+ const K = floor(q), W = floor(a.clientWidth - (j + V)), re = floor(a.clientHeight - (q + Z)), H = floor(j), G = {
2082
+ rootMargin: -K + "px " + -W + "px " + -re + "px " + -H + "px",
2046
2083
  threshold: max(0, min(1, M)) || 1
2047
2084
  };
2048
2085
  let Q = !0;
@@ -2085,25 +2122,25 @@ function autoUpdate(t, e, r, i) {
2085
2122
  }), h && H.addEventListener("resize", r);
2086
2123
  });
2087
2124
  const q = F && y ? observeMove(F, r) : null;
2088
- let V = -1, W = null;
2089
- d && (W = new ResizeObserver((H) => {
2125
+ let V = -1, Z = null;
2126
+ d && (Z = new ResizeObserver((H) => {
2090
2127
  let [J] = H;
2091
- J && J.target === F && W && (W.unobserve(e), cancelAnimationFrame(V), V = requestAnimationFrame(() => {
2128
+ J && J.target === F && Z && (Z.unobserve(e), cancelAnimationFrame(V), V = requestAnimationFrame(() => {
2092
2129
  var G;
2093
- (G = W) == null || G.observe(e);
2130
+ (G = Z) == null || G.observe(e);
2094
2131
  })), r();
2095
- }), F && !M && W.observe(F), W.observe(e));
2096
- let K, Z = M ? getBoundingClientRect(t) : null;
2132
+ }), F && !M && Z.observe(F), Z.observe(e));
2133
+ let K, W = M ? getBoundingClientRect(t) : null;
2097
2134
  M && re();
2098
2135
  function re() {
2099
2136
  const H = getBoundingClientRect(t);
2100
- Z && !rectsAreEqual(Z, H) && r(), Z = H, K = requestAnimationFrame(re);
2137
+ W && !rectsAreEqual(W, H) && r(), W = H, K = requestAnimationFrame(re);
2101
2138
  }
2102
2139
  return r(), () => {
2103
2140
  var H;
2104
2141
  j.forEach((J) => {
2105
2142
  a && J.removeEventListener("scroll", r), h && J.removeEventListener("resize", r);
2106
- }), q?.(), (H = W) == null || H.disconnect(), W = null, M && cancelAnimationFrame(K);
2143
+ }), q?.(), (H = Z) == null || H.disconnect(), Z = null, M && cancelAnimationFrame(K);
2107
2144
  };
2108
2145
  }
2109
2146
  const offset$2 = offset$3, shift$1 = shift$2, flip$1 = flip$2, size$1 = size$2, hide$1 = hide$2, arrow$2 = arrow$3, limitShift$1 = limitShift$2, computePosition = (t, e, r) => {
@@ -2185,10 +2222,10 @@ function useFloating(t) {
2185
2222
  placement: e,
2186
2223
  middlewareData: {},
2187
2224
  isPositioned: !1
2188
- }), [V, W] = React.useState(i);
2189
- deepEqual$1(V, i) || W(i);
2190
- const [K, Z] = React.useState(null), [re, H] = React.useState(null), J = React.useCallback((ee) => {
2191
- ee !== ne.current && (ne.current = ee, Z(ee));
2225
+ }), [V, Z] = React.useState(i);
2226
+ deepEqual$1(V, i) || Z(i);
2227
+ const [K, W] = React.useState(null), [re, H] = React.useState(null), J = React.useCallback((ee) => {
2228
+ ee !== ne.current && (ne.current = ee, W(ee));
2192
2229
  }, []), G = React.useCallback((ee) => {
2193
2230
  ee !== ae.current && (ae.current = ee, H(ee));
2194
2231
  }, []), Q = h || K, te = d || re, ne = React.useRef(null), ae = React.useRef(null), le = React.useRef(j), he = M != null, ye = useLatestRef(M), me = useLatestRef(a), de = useLatestRef(F), ve = React.useCallback(() => {
@@ -2377,9 +2414,9 @@ var CONTENT_NAME$1 = "PopperContent", [PopperContentProvider, useContentContext]
2377
2414
  collisionPadding: j = 0,
2378
2415
  sticky: q = "partial",
2379
2416
  hideWhenDetached: V = !1,
2380
- updatePositionStrategy: W = "optimized",
2417
+ updatePositionStrategy: Z = "optimized",
2381
2418
  onPlaced: K,
2382
- ...Z
2419
+ ...W
2383
2420
  } = t, re = usePopperContext(CONTENT_NAME$1, r), [H, J] = React.useState(null), G = useComposedRefs(e, (_e) => J(_e)), [Q, te] = React.useState(null), ne = useSize(Q), ae = ne?.width ?? 0, le = ne?.height ?? 0, he = i + (h !== "center" ? "-" + h : ""), ye = typeof j == "number" ? j : { top: 0, right: 0, bottom: 0, left: 0, ...j }, me = Array.isArray(F) ? F : [F], de = me.length > 0, ve = {
2384
2421
  padding: ye,
2385
2422
  boundary: me.filter(isNotNull),
@@ -2390,7 +2427,7 @@ var CONTENT_NAME$1 = "PopperContent", [PopperContentProvider, useContentContext]
2390
2427
  strategy: "fixed",
2391
2428
  placement: he,
2392
2429
  whileElementsMounted: (..._e) => autoUpdate(..._e, {
2393
- animationFrame: W === "always"
2430
+ animationFrame: Z === "always"
2394
2431
  }),
2395
2432
  elements: {
2396
2433
  reference: re.anchor
@@ -2460,10 +2497,10 @@ var CONTENT_NAME$1 = "PopperContent", [PopperContentProvider, useContentContext]
2460
2497
  {
2461
2498
  "data-side": ie,
2462
2499
  "data-align": ue,
2463
- ...Z,
2500
+ ...W,
2464
2501
  ref: G,
2465
2502
  style: {
2466
- ...Z.style,
2503
+ ...W.style,
2467
2504
  // if the PopperContent hasn't been placed yet (not all measurements done)
2468
2505
  // we prevent animations so that users's animation don't kick in too early referring wrong sides
2469
2506
  animation: ce ? void 0 : "none"
@@ -2535,9 +2572,9 @@ var transformOrigin = (t) => ({
2535
2572
  name: "transformOrigin",
2536
2573
  options: t,
2537
2574
  fn(e) {
2538
- const { placement: r, rects: i, middlewareData: a } = e, d = a.arrow?.centerOffset !== 0, y = d ? 0 : t.arrowWidth, M = d ? 0 : t.arrowHeight, [F, j] = getSideAndAlignFromPlacement(r), q = { start: "0%", center: "50%", end: "100%" }[j], V = (a.arrow?.x ?? 0) + y / 2, W = (a.arrow?.y ?? 0) + M / 2;
2539
- let K = "", Z = "";
2540
- return F === "bottom" ? (K = d ? q : `${V}px`, Z = `${-M}px`) : F === "top" ? (K = d ? q : `${V}px`, Z = `${i.floating.height + M}px`) : F === "right" ? (K = `${-M}px`, Z = d ? q : `${W}px`) : F === "left" && (K = `${i.floating.width + M}px`, Z = d ? q : `${W}px`), { data: { x: K, y: Z } };
2575
+ const { placement: r, rects: i, middlewareData: a } = e, d = a.arrow?.centerOffset !== 0, y = d ? 0 : t.arrowWidth, M = d ? 0 : t.arrowHeight, [F, j] = getSideAndAlignFromPlacement(r), q = { start: "0%", center: "50%", end: "100%" }[j], V = (a.arrow?.x ?? 0) + y / 2, Z = (a.arrow?.y ?? 0) + M / 2;
2576
+ let K = "", W = "";
2577
+ return F === "bottom" ? (K = d ? q : `${V}px`, W = `${-M}px`) : F === "top" ? (K = d ? q : `${V}px`, W = `${i.floating.height + M}px`) : F === "right" ? (K = `${-M}px`, W = d ? q : `${Z}px`) : F === "left" && (K = `${i.floating.width + M}px`, W = d ? q : `${Z}px`), { data: { x: K, y: W } };
2541
2578
  }
2542
2579
  });
2543
2580
  function getSideAndAlignFromPlacement(t) {
@@ -2579,22 +2616,22 @@ function usePresence(t) {
2579
2616
  }, [y]), useLayoutEffect2(() => {
2580
2617
  const F = i.current, j = a.current;
2581
2618
  if (j !== t) {
2582
- const V = h.current, W = getAnimationName(F);
2583
- t ? M("MOUNT") : W === "none" || F?.display === "none" ? M("UNMOUNT") : M(j && V !== W ? "ANIMATION_OUT" : "UNMOUNT"), a.current = t;
2619
+ const V = h.current, Z = getAnimationName(F);
2620
+ t ? M("MOUNT") : Z === "none" || F?.display === "none" ? M("UNMOUNT") : M(j && V !== Z ? "ANIMATION_OUT" : "UNMOUNT"), a.current = t;
2584
2621
  }
2585
2622
  }, [t, M]), useLayoutEffect2(() => {
2586
2623
  if (e) {
2587
2624
  let F;
2588
- const j = e.ownerDocument.defaultView ?? window, q = (W) => {
2589
- const Z = getAnimationName(i.current).includes(CSS.escape(W.animationName));
2590
- if (W.target === e && Z && (M("ANIMATION_END"), !a.current)) {
2625
+ const j = e.ownerDocument.defaultView ?? window, q = (Z) => {
2626
+ const W = getAnimationName(i.current).includes(CSS.escape(Z.animationName));
2627
+ if (Z.target === e && W && (M("ANIMATION_END"), !a.current)) {
2591
2628
  const re = e.style.animationFillMode;
2592
2629
  e.style.animationFillMode = "forwards", F = j.setTimeout(() => {
2593
2630
  e.style.animationFillMode === "forwards" && (e.style.animationFillMode = re);
2594
2631
  });
2595
2632
  }
2596
- }, V = (W) => {
2597
- W.target === e && (h.current = getAnimationName(i.current));
2633
+ }, V = (Z) => {
2634
+ Z.target === e && (h.current = getAnimationName(i.current));
2598
2635
  };
2599
2636
  return e.addEventListener("animationstart", V), e.addEventListener("animationcancel", q), e.addEventListener("animationend", q), () => {
2600
2637
  j.clearTimeout(F), e.removeEventListener("animationstart", V), e.removeEventListener("animationcancel", q), e.removeEventListener("animationend", q);
@@ -2691,8 +2728,8 @@ var getDefaultParent = function(t) {
2691
2728
  j(V);
2692
2729
  else
2693
2730
  try {
2694
- var W = V.getAttribute(i), K = W !== null && W !== "false", Z = (counterMap.get(V) || 0) + 1, re = (h.get(V) || 0) + 1;
2695
- counterMap.set(V, Z), h.set(V, re), d.push(V), Z === 1 && K && uncontrolledNodes.set(V, !0), re === 1 && V.setAttribute(r, "true"), K || V.setAttribute(i, "true");
2731
+ var Z = V.getAttribute(i), K = Z !== null && Z !== "false", W = (counterMap.get(V) || 0) + 1, re = (h.get(V) || 0) + 1;
2732
+ counterMap.set(V, W), h.set(V, re), d.push(V), W === 1 && K && uncontrolledNodes.set(V, !0), re === 1 && V.setAttribute(r, "true"), K || V.setAttribute(i, "true");
2696
2733
  } catch (H) {
2697
2734
  console.error("aria-hidden: cannot operate on ", V, H);
2698
2735
  }
@@ -2700,8 +2737,8 @@ var getDefaultParent = function(t) {
2700
2737
  };
2701
2738
  return j(e), y.clear(), lockCount++, function() {
2702
2739
  d.forEach(function(q) {
2703
- var V = counterMap.get(q) - 1, W = h.get(q) - 1;
2704
- counterMap.set(q, V), h.set(q, W), V || (uncontrolledNodes.has(q) || q.removeAttribute(i), uncontrolledNodes.delete(q)), W || q.removeAttribute(r);
2740
+ var V = counterMap.get(q) - 1, Z = h.get(q) - 1;
2741
+ counterMap.set(q, V), h.set(q, Z), V || (uncontrolledNodes.has(q) || q.removeAttribute(i), uncontrolledNodes.delete(q)), Z || q.removeAttribute(r);
2705
2742
  }), lockCount--, lockCount || (counterMap = /* @__PURE__ */ new WeakMap(), counterMap = /* @__PURE__ */ new WeakMap(), uncontrolledNodes = /* @__PURE__ */ new WeakMap(), markerMap = {});
2706
2743
  };
2707
2744
  }, hideOthers = function(t, e, r) {
@@ -2860,11 +2897,11 @@ var effectCar = createSidecarMedium(), nothing = function() {
2860
2897
  onScrollCapture: nothing,
2861
2898
  onWheelCapture: nothing,
2862
2899
  onTouchMoveCapture: nothing
2863
- }), a = i[0], h = i[1], d = t.forwardProps, y = t.children, M = t.className, F = t.removeScrollBar, j = t.enabled, q = t.shards, V = t.sideCar, W = t.noRelative, K = t.noIsolation, Z = t.inert, re = t.allowPinchZoom, H = t.as, J = H === void 0 ? "div" : H, G = t.gapMode, Q = __rest(t, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noRelative", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), te = V, ne = useMergeRefs([r, e]), ae = __assign(__assign({}, Q), a);
2900
+ }), a = i[0], h = i[1], d = t.forwardProps, y = t.children, M = t.className, F = t.removeScrollBar, j = t.enabled, q = t.shards, V = t.sideCar, Z = t.noRelative, K = t.noIsolation, W = t.inert, re = t.allowPinchZoom, H = t.as, J = H === void 0 ? "div" : H, G = t.gapMode, Q = __rest(t, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noRelative", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), te = V, ne = useMergeRefs([r, e]), ae = __assign(__assign({}, Q), a);
2864
2901
  return React.createElement(
2865
2902
  React.Fragment,
2866
2903
  null,
2867
- j && React.createElement(te, { sideCar: effectCar, removeScrollBar: F, shards: q, noRelative: W, noIsolation: K, inert: Z, setCallbacks: h, allowPinchZoom: !!re, lockRef: r, gapMode: G }),
2904
+ j && React.createElement(te, { sideCar: effectCar, removeScrollBar: F, shards: q, noRelative: Z, noIsolation: K, inert: W, setCallbacks: h, allowPinchZoom: !!re, lockRef: r, gapMode: G }),
2868
2905
  d ? React.cloneElement(React.Children.only(y), __assign(__assign({}, ae), { ref: ne })) : React.createElement(J, __assign({}, ae, { className: M, ref: ne }), y)
2869
2906
  );
2870
2907
  });
@@ -3067,7 +3104,7 @@ var nonPassive = passiveSupported ? { passive: !1 } : !1, alwaysContainsScroll =
3067
3104
  do {
3068
3105
  if (!y)
3069
3106
  break;
3070
- var W = getScrollVariables(t, y), K = W[0], Z = W[1], re = W[2], H = Z - re - h * K;
3107
+ var Z = getScrollVariables(t, y), K = Z[0], W = Z[1], re = Z[2], H = W - re - h * K;
3071
3108
  (K || H) && elementCouldBeScrolled(t, y) && (q += H, V += K);
3072
3109
  var J = y.parentNode;
3073
3110
  y = J && J.nodeType === Node.DOCUMENT_FRAGMENT_NODE ? J.host : J;
@@ -3098,21 +3135,21 @@ function RemoveScrollSideCar(t) {
3098
3135
  }, [t]), React.useEffect(function() {
3099
3136
  if (t.inert) {
3100
3137
  document.body.classList.add("block-interactivity-".concat(a));
3101
- var Z = __spreadArray([t.lockRef.current], (t.shards || []).map(extractRef), !0).filter(Boolean);
3102
- return Z.forEach(function(re) {
3138
+ var W = __spreadArray([t.lockRef.current], (t.shards || []).map(extractRef), !0).filter(Boolean);
3139
+ return W.forEach(function(re) {
3103
3140
  return re.classList.add("allow-interactivity-".concat(a));
3104
3141
  }), function() {
3105
- document.body.classList.remove("block-interactivity-".concat(a)), Z.forEach(function(re) {
3142
+ document.body.classList.remove("block-interactivity-".concat(a)), W.forEach(function(re) {
3106
3143
  return re.classList.remove("allow-interactivity-".concat(a));
3107
3144
  });
3108
3145
  };
3109
3146
  }
3110
3147
  }, [t.inert, t.lockRef.current, t.shards]);
3111
- var y = React.useCallback(function(Z, re) {
3112
- if ("touches" in Z && Z.touches.length === 2 || Z.type === "wheel" && Z.ctrlKey)
3148
+ var y = React.useCallback(function(W, re) {
3149
+ if ("touches" in W && W.touches.length === 2 || W.type === "wheel" && W.ctrlKey)
3113
3150
  return !d.current.allowPinchZoom;
3114
- var H = getTouchXY(Z), J = r.current, G = "deltaX" in Z ? Z.deltaX : J[0] - H[0], Q = "deltaY" in Z ? Z.deltaY : J[1] - H[1], te, ne = Z.target, ae = Math.abs(G) > Math.abs(Q) ? "h" : "v";
3115
- if ("touches" in Z && ae === "h" && ne.type === "range")
3151
+ var H = getTouchXY(W), J = r.current, G = "deltaX" in W ? W.deltaX : J[0] - H[0], Q = "deltaY" in W ? W.deltaY : J[1] - H[1], te, ne = W.target, ae = Math.abs(G) > Math.abs(Q) ? "h" : "v";
3152
+ if ("touches" in W && ae === "h" && ne.type === "range")
3116
3153
  return !1;
3117
3154
  var le = window.getSelection(), he = le && le.anchorNode, ye = he ? he === ne || he.contains(ne) : !1;
3118
3155
  if (ye)
@@ -3122,12 +3159,12 @@ function RemoveScrollSideCar(t) {
3122
3159
  return !0;
3123
3160
  if (me ? te = ae : (te = ae === "v" ? "h" : "v", me = locationCouldBeScrolled(ae, ne)), !me)
3124
3161
  return !1;
3125
- if (!i.current && "changedTouches" in Z && (G || Q) && (i.current = te), !te)
3162
+ if (!i.current && "changedTouches" in W && (G || Q) && (i.current = te), !te)
3126
3163
  return !0;
3127
3164
  var de = i.current || te;
3128
- return handleScroll(de, re, Z, de === "h" ? G : Q);
3129
- }, []), M = React.useCallback(function(Z) {
3130
- var re = Z;
3165
+ return handleScroll(de, re, W, de === "h" ? G : Q);
3166
+ }, []), M = React.useCallback(function(W) {
3167
+ var re = W;
3131
3168
  if (!(!lockStack.length || lockStack[lockStack.length - 1] !== h)) {
3132
3169
  var H = "deltaY" in re ? getDeltaXY(re) : getTouchXY(re), J = e.current.filter(function(te) {
3133
3170
  return te.name === re.type && (te.target === re.target || re.target === te.shadowParent) && deltaCompare(te.delta, H);
@@ -3143,19 +3180,19 @@ function RemoveScrollSideCar(t) {
3143
3180
  Q && re.cancelable && re.preventDefault();
3144
3181
  }
3145
3182
  }
3146
- }, []), F = React.useCallback(function(Z, re, H, J) {
3147
- var G = { name: Z, delta: re, target: H, should: J, shadowParent: getOutermostShadowParent(H) };
3183
+ }, []), F = React.useCallback(function(W, re, H, J) {
3184
+ var G = { name: W, delta: re, target: H, should: J, shadowParent: getOutermostShadowParent(H) };
3148
3185
  e.current.push(G), setTimeout(function() {
3149
3186
  e.current = e.current.filter(function(Q) {
3150
3187
  return Q !== G;
3151
3188
  });
3152
3189
  }, 1);
3153
- }, []), j = React.useCallback(function(Z) {
3154
- r.current = getTouchXY(Z), i.current = void 0;
3155
- }, []), q = React.useCallback(function(Z) {
3156
- F(Z.type, getDeltaXY(Z), Z.target, y(Z, t.lockRef.current));
3157
- }, []), V = React.useCallback(function(Z) {
3158
- F(Z.type, getTouchXY(Z), Z.target, y(Z, t.lockRef.current));
3190
+ }, []), j = React.useCallback(function(W) {
3191
+ r.current = getTouchXY(W), i.current = void 0;
3192
+ }, []), q = React.useCallback(function(W) {
3193
+ F(W.type, getDeltaXY(W), W.target, y(W, t.lockRef.current));
3194
+ }, []), V = React.useCallback(function(W) {
3195
+ F(W.type, getTouchXY(W), W.target, y(W, t.lockRef.current));
3159
3196
  }, []);
3160
3197
  React.useEffect(function() {
3161
3198
  return lockStack.push(h), t.setCallbacks({
@@ -3163,17 +3200,17 @@ function RemoveScrollSideCar(t) {
3163
3200
  onWheelCapture: q,
3164
3201
  onTouchMoveCapture: V
3165
3202
  }), document.addEventListener("wheel", M, nonPassive), document.addEventListener("touchmove", M, nonPassive), document.addEventListener("touchstart", j, nonPassive), function() {
3166
- lockStack = lockStack.filter(function(Z) {
3167
- return Z !== h;
3203
+ lockStack = lockStack.filter(function(W) {
3204
+ return W !== h;
3168
3205
  }), document.removeEventListener("wheel", M, nonPassive), document.removeEventListener("touchmove", M, nonPassive), document.removeEventListener("touchstart", j, nonPassive);
3169
3206
  };
3170
3207
  }, []);
3171
- var W = t.removeScrollBar, K = t.inert;
3208
+ var Z = t.removeScrollBar, K = t.inert;
3172
3209
  return React.createElement(
3173
3210
  React.Fragment,
3174
3211
  null,
3175
3212
  K ? React.createElement(h, { styles: generateStyle(a) }) : null,
3176
- W ? React.createElement(RemoveScrollBar, { noRelative: t.noRelative, gapMode: t.gapMode }) : null
3213
+ Z ? React.createElement(RemoveScrollBar, { noRelative: t.noRelative, gapMode: t.gapMode }) : null
3177
3214
  );
3178
3215
  }
3179
3216
  function getOutermostShadowParent(t) {
@@ -3210,7 +3247,7 @@ var POPOVER_NAME = "Popover", [createPopoverContext] = createContextScope(POPOVE
3210
3247
  triggerRef: M,
3211
3248
  open: q,
3212
3249
  onOpenChange: V,
3213
- onOpenToggle: React.useCallback(() => V((W) => !W), [V]),
3250
+ onOpenToggle: React.useCallback(() => V((Z) => !Z), [V]),
3214
3251
  hasCustomAnchor: F,
3215
3252
  onCustomAnchorAdd: React.useCallback(() => j(!0), []),
3216
3253
  onCustomAnchorRemove: React.useCallback(() => j(!1), []),
@@ -3326,7 +3363,7 @@ var Slot = /* @__PURE__ */ createSlot("PopoverContent.RemoveScroll"), PopoverCon
3326
3363
  onFocusOutside: F,
3327
3364
  onInteractOutside: j,
3328
3365
  ...q
3329
- } = t, V = usePopoverContext(CONTENT_NAME, r), W = usePopperScope(r);
3366
+ } = t, V = usePopoverContext(CONTENT_NAME, r), Z = usePopperScope(r);
3330
3367
  return useFocusGuards(), /* @__PURE__ */ jsx(
3331
3368
  FocusScope,
3332
3369
  {
@@ -3351,7 +3388,7 @@ var Slot = /* @__PURE__ */ createSlot("PopoverContent.RemoveScroll"), PopoverCon
3351
3388
  "data-state": getState(V.open),
3352
3389
  role: "dialog",
3353
3390
  id: V.contentId,
3354
- ...W,
3391
+ ...Z,
3355
3392
  ...q,
3356
3393
  ref: e,
3357
3394
  style: {
@@ -3832,9 +3869,9 @@ class IANAZone extends Zone {
3832
3869
  second: j,
3833
3870
  millisecond: 0
3834
3871
  });
3835
- let W = +r;
3836
- const K = W % 1e3;
3837
- return W -= K >= 0 ? K : 1e3 + K, (V - W) / (60 * 1e3);
3872
+ let Z = +r;
3873
+ const K = Z % 1e3;
3874
+ return Z -= K >= 0 ? K : 1e3 + K, (V - Z) / (60 * 1e3);
3838
3875
  }
3839
3876
  /**
3840
3877
  * Return whether this Zone is equal to another zone
@@ -4976,14 +5013,14 @@ class Formatter {
4976
5013
  return r > 0 && (a.padTo = r), i && (a.signDisplay = i), this.loc.numberFormatter(a).format(e);
4977
5014
  }
4978
5015
  formatDateTimeFromString(e, r) {
4979
- const i = this.loc.listingMode() === "en", a = this.loc.outputCalendar && this.loc.outputCalendar !== "gregory", h = (W, K) => this.loc.extract(e, W, K), d = (W) => e.isOffsetFixed && e.offset === 0 && W.allowZ ? "Z" : e.isValid ? e.zone.formatOffset(e.ts, W.format) : "", y = () => i ? meridiemForDateTime(e) : h({ hour: "numeric", hourCycle: "h12" }, "dayperiod"), M = (W, K) => i ? monthForDateTime(e, W) : h(K ? { month: W } : { month: W, day: "numeric" }, "month"), F = (W, K) => i ? weekdayForDateTime(e, W) : h(
4980
- K ? { weekday: W } : { weekday: W, month: "long", day: "numeric" },
5016
+ const i = this.loc.listingMode() === "en", a = this.loc.outputCalendar && this.loc.outputCalendar !== "gregory", h = (Z, K) => this.loc.extract(e, Z, K), d = (Z) => e.isOffsetFixed && e.offset === 0 && Z.allowZ ? "Z" : e.isValid ? e.zone.formatOffset(e.ts, Z.format) : "", y = () => i ? meridiemForDateTime(e) : h({ hour: "numeric", hourCycle: "h12" }, "dayperiod"), M = (Z, K) => i ? monthForDateTime(e, Z) : h(K ? { month: Z } : { month: Z, day: "numeric" }, "month"), F = (Z, K) => i ? weekdayForDateTime(e, Z) : h(
5017
+ K ? { weekday: Z } : { weekday: Z, month: "long", day: "numeric" },
4981
5018
  "weekday"
4982
- ), j = (W) => {
4983
- const K = Formatter.macroTokenToFormatOpts(W);
4984
- return K ? this.formatWithSystemDefault(e, K) : W;
4985
- }, q = (W) => i ? eraForDateTime(e, W) : h({ era: W }, "era"), V = (W) => {
4986
- switch (W) {
5019
+ ), j = (Z) => {
5020
+ const K = Formatter.macroTokenToFormatOpts(Z);
5021
+ return K ? this.formatWithSystemDefault(e, K) : Z;
5022
+ }, q = (Z) => i ? eraForDateTime(e, Z) : h({ era: Z }, "era"), V = (Z) => {
5023
+ switch (Z) {
4987
5024
  // ms
4988
5025
  case "S":
4989
5026
  return this.num(e.millisecond);
@@ -5122,7 +5159,7 @@ class Formatter {
5122
5159
  case "x":
5123
5160
  return this.num(e.ts);
5124
5161
  default:
5125
- return j(W);
5162
+ return j(Z);
5126
5163
  }
5127
5164
  };
5128
5165
  return stringifyTokens(Formatter.parseFormat(r), V);
@@ -5150,11 +5187,11 @@ class Formatter {
5150
5187
  return null;
5151
5188
  }
5152
5189
  }, h = (j, q) => (V) => {
5153
- const W = a(V);
5154
- if (W) {
5155
- const K = q.isNegativeDuration && W !== q.largestUnit ? i : 1;
5156
- let Z;
5157
- return this.opts.signMode === "negativeLargestOnly" && W !== q.largestUnit ? Z = "never" : this.opts.signMode === "all" ? Z = "always" : Z = "auto", this.num(j.get(W) * K, V.length, Z);
5190
+ const Z = a(V);
5191
+ if (Z) {
5192
+ const K = q.isNegativeDuration && Z !== q.largestUnit ? i : 1;
5193
+ let W;
5194
+ return this.opts.signMode === "negativeLargestOnly" && Z !== q.largestUnit ? W = "never" : this.opts.signMode === "all" ? W = "always" : W = "auto", this.num(j.get(Z) * K, V.length, W);
5158
5195
  } else
5159
5196
  return V;
5160
5197
  }, d = Formatter.parseFormat(r), y = d.reduce(
@@ -5234,7 +5271,7 @@ function extractIANAZone(t, e) {
5234
5271
  }
5235
5272
  const isoTimeOnly = RegExp(`^T?${isoTimeBaseRegex.source}$`), isoDuration = /^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;
5236
5273
  function extractISODuration(t) {
5237
- const [e, r, i, a, h, d, y, M, F] = t, j = e[0] === "-", q = M && M[0] === "-", V = (W, K = !1) => W !== void 0 && (K || W && j) ? -W : W;
5274
+ const [e, r, i, a, h, d, y, M, F] = t, j = e[0] === "-", q = M && M[0] === "-", V = (Z, K = !1) => Z !== void 0 && (K || Z && j) ? -Z : Z;
5238
5275
  return [
5239
5276
  {
5240
5277
  years: V(parseFloating(r)),
@@ -5285,8 +5322,8 @@ function extractRFC2822(t) {
5285
5322
  j,
5286
5323
  q
5287
5324
  ] = t, V = fromStrings(e, a, i, r, h, d, y);
5288
- let W;
5289
- return M ? W = obsOffsets[M] : F ? W = 0 : W = signedOffset(j, q), [V, new FixedOffsetZone(W)];
5325
+ let Z;
5326
+ return M ? Z = obsOffsets[M] : F ? Z = 0 : Z = signedOffset(j, q), [V, new FixedOffsetZone(Z)];
5290
5327
  }
5291
5328
  function preprocessRFC2822(t) {
5292
5329
  return t.replace(/\([^()]*\)|[\n\t]/g, " ").replace(/(\s\s+)/g, " ").trim();
@@ -6779,9 +6816,9 @@ function escapeToken(t) {
6779
6816
  return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g, "\\$&");
6780
6817
  }
6781
6818
  function unitForToken(t, e) {
6782
- const r = digitRegex(e), i = digitRegex(e, "{2}"), a = digitRegex(e, "{3}"), h = digitRegex(e, "{4}"), d = digitRegex(e, "{6}"), y = digitRegex(e, "{1,2}"), M = digitRegex(e, "{1,3}"), F = digitRegex(e, "{1,6}"), j = digitRegex(e, "{1,9}"), q = digitRegex(e, "{2,4}"), V = digitRegex(e, "{4,6}"), W = (re) => ({ regex: RegExp(escapeToken(re.val)), deser: ([H]) => H, literal: !0 }), Z = ((re) => {
6819
+ const r = digitRegex(e), i = digitRegex(e, "{2}"), a = digitRegex(e, "{3}"), h = digitRegex(e, "{4}"), d = digitRegex(e, "{6}"), y = digitRegex(e, "{1,2}"), M = digitRegex(e, "{1,3}"), F = digitRegex(e, "{1,6}"), j = digitRegex(e, "{1,9}"), q = digitRegex(e, "{2,4}"), V = digitRegex(e, "{4,6}"), Z = (re) => ({ regex: RegExp(escapeToken(re.val)), deser: ([H]) => H, literal: !0 }), W = ((re) => {
6783
6820
  if (t.literal)
6784
- return W(re);
6821
+ return Z(re);
6785
6822
  switch (re.val) {
6786
6823
  // era
6787
6824
  case "G":
@@ -6897,12 +6934,12 @@ function unitForToken(t, e) {
6897
6934
  case " ":
6898
6935
  return simple(/[^\S\n\r]/);
6899
6936
  default:
6900
- return W(re);
6937
+ return Z(re);
6901
6938
  }
6902
6939
  })(t) || {
6903
6940
  invalidReason: MISSING_FTP
6904
6941
  };
6905
- return Z.token = t, Z;
6942
+ return W.token = t, W;
6906
6943
  }
6907
6944
  const partTypeStyleToTokenVal = {
6908
6945
  year: {
@@ -7501,31 +7538,31 @@ class DateTime {
7501
7538
  const i = normalizeZone(r.zone, Settings.defaultZone);
7502
7539
  if (!i.isValid)
7503
7540
  return DateTime.invalid(unsupportedZone(i));
7504
- const a = Locale.fromObject(r), h = normalizeObject(e, normalizeUnitWithLocalWeeks), { minDaysInFirstWeek: d, startOfWeek: y } = usesLocalWeekValues(h, a), M = Settings.now(), F = isUndefined$1(r.specificOffset) ? i.offset(M) : r.specificOffset, j = !isUndefined$1(h.ordinal), q = !isUndefined$1(h.year), V = !isUndefined$1(h.month) || !isUndefined$1(h.day), W = q || V, K = h.weekYear || h.weekNumber;
7505
- if ((W || j) && K)
7541
+ const a = Locale.fromObject(r), h = normalizeObject(e, normalizeUnitWithLocalWeeks), { minDaysInFirstWeek: d, startOfWeek: y } = usesLocalWeekValues(h, a), M = Settings.now(), F = isUndefined$1(r.specificOffset) ? i.offset(M) : r.specificOffset, j = !isUndefined$1(h.ordinal), q = !isUndefined$1(h.year), V = !isUndefined$1(h.month) || !isUndefined$1(h.day), Z = q || V, K = h.weekYear || h.weekNumber;
7542
+ if ((Z || j) && K)
7506
7543
  throw new ConflictingSpecificationError(
7507
7544
  "Can't mix weekYear/weekNumber units with year/month/day or ordinals"
7508
7545
  );
7509
7546
  if (V && j)
7510
7547
  throw new ConflictingSpecificationError("Can't mix ordinal dates with month/day");
7511
- const Z = K || h.weekday && !W;
7548
+ const W = K || h.weekday && !Z;
7512
7549
  let re, H, J = tsToObj(M, F);
7513
- Z ? (re = orderedWeekUnits, H = defaultWeekUnitValues, J = gregorianToWeek(J, d, y)) : j ? (re = orderedOrdinalUnits, H = defaultOrdinalUnitValues, J = gregorianToOrdinal(J)) : (re = orderedUnits, H = defaultUnitValues);
7550
+ W ? (re = orderedWeekUnits, H = defaultWeekUnitValues, J = gregorianToWeek(J, d, y)) : j ? (re = orderedOrdinalUnits, H = defaultOrdinalUnitValues, J = gregorianToOrdinal(J)) : (re = orderedUnits, H = defaultUnitValues);
7514
7551
  let G = !1;
7515
7552
  for (const ye of re) {
7516
7553
  const me = h[ye];
7517
7554
  isUndefined$1(me) ? G ? h[ye] = H[ye] : h[ye] = J[ye] : G = !0;
7518
7555
  }
7519
- const Q = Z ? hasInvalidWeekData(h, d, y) : j ? hasInvalidOrdinalData(h) : hasInvalidGregorianData(h), te = Q || hasInvalidTimeData(h);
7556
+ const Q = W ? hasInvalidWeekData(h, d, y) : j ? hasInvalidOrdinalData(h) : hasInvalidGregorianData(h), te = Q || hasInvalidTimeData(h);
7520
7557
  if (te)
7521
7558
  return DateTime.invalid(te);
7522
- const ne = Z ? weekToGregorian(h, d, y) : j ? ordinalToGregorian(h) : h, [ae, le] = objToTS(ne, F, i), he = new DateTime({
7559
+ const ne = W ? weekToGregorian(h, d, y) : j ? ordinalToGregorian(h) : h, [ae, le] = objToTS(ne, F, i), he = new DateTime({
7523
7560
  ts: ae,
7524
7561
  zone: i,
7525
7562
  o: le,
7526
7563
  loc: a
7527
7564
  });
7528
- return h.weekday && W && e.weekday !== he.weekday ? DateTime.invalid(
7565
+ return h.weekday && Z && e.weekday !== he.weekday ? DateTime.invalid(
7529
7566
  "mismatched weekday",
7530
7567
  `you can't specify both a weekday of ${h.weekday} and a date of ${he.toISO()}`
7531
7568
  ) : he.isValid ? he : DateTime.invalid(he.invalid);
@@ -8145,8 +8182,8 @@ class DateTime {
8145
8182
  i,
8146
8183
  a
8147
8184
  ) : isUndefined$1(r.ordinal) ? (q = { ...this.toObject(), ...r }, isUndefined$1(r.day) && (q.day = Math.min(daysInMonth(q.year, q.month), q.day))) : q = ordinalToGregorian({ ...gregorianToOrdinal(this.c), ...r });
8148
- const [V, W] = objToTS(q, this.o, this.zone);
8149
- return clone(this, { ts: V, o: W });
8185
+ const [V, Z] = objToTS(q, this.o, this.zone);
8186
+ return clone(this, { ts: V, o: Z });
8150
8187
  }
8151
8188
  /**
8152
8189
  * Add a period of time to this DateTime and return the resulting DateTime
@@ -8974,7 +9011,7 @@ const DatePicker = React.forwardRef(
8974
9011
  isInvalid: M,
8975
9012
  timeZone: F
8976
9013
  }, j) => {
8977
- const q = React.useMemo(() => resolveTimeZone(F), [F]), [V, W] = React.useState(!1), [K, Z] = React.useState(e ?? null), [re, H] = React.useState(() => {
9014
+ const q = React.useMemo(() => resolveTimeZone(F), [F]), [V, Z] = React.useState(!1), [K, W] = React.useState(e ?? null), [re, H] = React.useState(() => {
8978
9015
  const oe = t ?? e ?? /* @__PURE__ */ new Date();
8979
9016
  return DateTime.fromJSDate(oe, { zone: q }).startOf("month");
8980
9017
  }), [J, G] = React.useState(null), Q = t !== void 0, te = Q ? t : K, ne = React.useMemo(
@@ -8989,7 +9026,7 @@ const DatePicker = React.forwardRef(
8989
9026
  ), he = React.useRef(null), ye = (oe) => {
8990
9027
  if (isDateDisabled(oe, ae, le)) return;
8991
9028
  const pe = oe.toJSDate();
8992
- Q || Z(pe), r?.(pe), W(!1);
9029
+ Q || W(pe), r?.(pe), Z(!1);
8993
9030
  }, me = (oe) => {
8994
9031
  H((pe) => pe.plus({ months: oe }).startOf("month"));
8995
9032
  }, de = (oe) => {
@@ -9016,7 +9053,7 @@ const DatePicker = React.forwardRef(
9016
9053
  oe.preventDefault(), J && !isDateDisabled(J, ae, le) && ye(J);
9017
9054
  return;
9018
9055
  case "Escape":
9019
- oe.preventDefault(), W(!1);
9056
+ oe.preventDefault(), Z(!1);
9020
9057
  return;
9021
9058
  case "Home":
9022
9059
  oe.preventDefault(), xe = pe.startOf("month");
@@ -9046,7 +9083,7 @@ const DatePicker = React.forwardRef(
9046
9083
  ue.push(null);
9047
9084
  for (let oe = 1; oe <= se; oe++)
9048
9085
  ue.push(oe);
9049
- return /* @__PURE__ */ jsxs(Root2, { open: V, onOpenChange: W, children: [
9086
+ return /* @__PURE__ */ jsxs(Root2, { open: V, onOpenChange: Z, children: [
9050
9087
  /* @__PURE__ */ jsx(Trigger, { asChild: !0, disabled: i, children: /* @__PURE__ */ jsxs(
9051
9088
  "button",
9052
9089
  {
@@ -9323,9 +9360,9 @@ function FileUpload({
9323
9360
  allowDrop: q = !1,
9324
9361
  placeholder: V = defaultPlaceholder,
9325
9362
  // ✅ NEW
9326
- showPreview: W = !0,
9363
+ showPreview: Z = !0,
9327
9364
  previewMode: K = "auto",
9328
- maxPreviewItems: Z = 4,
9365
+ maxPreviewItems: W = 4,
9329
9366
  defaultPreviewUrl: re
9330
9367
  }) {
9331
9368
  const H = useId$1(), J = F ?? H, G = e ? `${J}-helper` : void 0, Q = r ? `${J}-error` : void 0, te = [G, Q].filter(Boolean).join(" ") || void 0, ne = useRef(null), [ae, le] = useState(y), [he, ye] = useState(!1), me = d !== void 0, de = me ? d : ae, ve = (ue) => {
@@ -9350,14 +9387,14 @@ function FileUpload({
9350
9387
  const pe = a ? ge(oe) : oe;
9351
9388
  ve(pe);
9352
9389
  }, ee = useMemo(() => {
9353
- if (!W) return [];
9354
- const ue = de.slice(0, Z);
9390
+ if (!Z) return [];
9391
+ const ue = de.slice(0, W);
9355
9392
  return K === "image" || K === "auto" && ue.some((pe) => isImageFile(pe)) ? ue.filter((pe) => isImageFile(pe)).map((pe) => ({
9356
9393
  key: getFileKey(pe),
9357
9394
  file: pe,
9358
9395
  url: URL.createObjectURL(pe)
9359
9396
  })) : [];
9360
- }, [de, Z, K, W]);
9397
+ }, [de, W, K, Z]);
9361
9398
  useEffect(() => () => {
9362
9399
  for (const ue of ee) URL.revokeObjectURL(ue.url);
9363
9400
  }, [ee]);
@@ -9714,29 +9751,29 @@ function requireLottie() {
9714
9751
  var t = 1, e = [], r, i, a = {
9715
9752
  onmessage: function() {
9716
9753
  },
9717
- postMessage: function(W) {
9754
+ postMessage: function(Z) {
9718
9755
  r({
9719
- data: W
9756
+ data: Z
9720
9757
  });
9721
9758
  }
9722
9759
  }, h = {
9723
- postMessage: function(W) {
9760
+ postMessage: function(Z) {
9724
9761
  a.onmessage({
9725
- data: W
9762
+ data: Z
9726
9763
  });
9727
9764
  }
9728
9765
  };
9729
9766
  function d(V) {
9730
9767
  if (window.Worker && window.Blob && getWebWorker()) {
9731
- var W = new Blob(["var _workerSelf = self; self.onmessage = ", V.toString()], {
9768
+ var Z = new Blob(["var _workerSelf = self; self.onmessage = ", V.toString()], {
9732
9769
  type: "text/javascript"
9733
- }), K = URL.createObjectURL(W);
9770
+ }), K = URL.createObjectURL(Z);
9734
9771
  return new Worker(K);
9735
9772
  }
9736
9773
  return r = V, a;
9737
9774
  }
9738
9775
  function y() {
9739
- i || (i = d(function(W) {
9776
+ i || (i = d(function(Z) {
9740
9777
  function K() {
9741
9778
  function re(fe, se) {
9742
9779
  var ce, ee, ie = fe.length, ue, oe, pe, xe;
@@ -10010,78 +10047,78 @@ function requireLottie() {
10010
10047
  return {
10011
10048
  load: H
10012
10049
  };
10013
- })()), W.data.type === "loadAnimation")
10014
- h.assetLoader.load(W.data.path, W.data.fullPath, function(re) {
10050
+ })()), Z.data.type === "loadAnimation")
10051
+ h.assetLoader.load(Z.data.path, Z.data.fullPath, function(re) {
10015
10052
  h.dataManager.completeData(re), h.postMessage({
10016
- id: W.data.id,
10053
+ id: Z.data.id,
10017
10054
  payload: re,
10018
10055
  status: "success"
10019
10056
  });
10020
10057
  }, function() {
10021
10058
  h.postMessage({
10022
- id: W.data.id,
10059
+ id: Z.data.id,
10023
10060
  status: "error"
10024
10061
  });
10025
10062
  });
10026
- else if (W.data.type === "complete") {
10027
- var Z = W.data.animation;
10028
- h.dataManager.completeData(Z), h.postMessage({
10029
- id: W.data.id,
10030
- payload: Z,
10063
+ else if (Z.data.type === "complete") {
10064
+ var W = Z.data.animation;
10065
+ h.dataManager.completeData(W), h.postMessage({
10066
+ id: Z.data.id,
10067
+ payload: W,
10031
10068
  status: "success"
10032
10069
  });
10033
- } else W.data.type === "loadData" && h.assetLoader.load(W.data.path, W.data.fullPath, function(re) {
10070
+ } else Z.data.type === "loadData" && h.assetLoader.load(Z.data.path, Z.data.fullPath, function(re) {
10034
10071
  h.postMessage({
10035
- id: W.data.id,
10072
+ id: Z.data.id,
10036
10073
  payload: re,
10037
10074
  status: "success"
10038
10075
  });
10039
10076
  }, function() {
10040
10077
  h.postMessage({
10041
- id: W.data.id,
10078
+ id: Z.data.id,
10042
10079
  status: "error"
10043
10080
  });
10044
10081
  });
10045
10082
  }), i.onmessage = function(V) {
10046
- var W = V.data, K = W.id, Z = e[K];
10047
- e[K] = null, W.status === "success" ? Z.onComplete(W.payload) : Z.onError && Z.onError();
10083
+ var Z = V.data, K = Z.id, W = e[K];
10084
+ e[K] = null, Z.status === "success" ? W.onComplete(Z.payload) : W.onError && W.onError();
10048
10085
  });
10049
10086
  }
10050
- function M(V, W) {
10087
+ function M(V, Z) {
10051
10088
  t += 1;
10052
10089
  var K = "processId_" + t;
10053
10090
  return e[K] = {
10054
10091
  onComplete: V,
10055
- onError: W
10092
+ onError: Z
10056
10093
  }, K;
10057
10094
  }
10058
- function F(V, W, K) {
10095
+ function F(V, Z, K) {
10059
10096
  y();
10060
- var Z = M(W, K);
10097
+ var W = M(Z, K);
10061
10098
  i.postMessage({
10062
10099
  type: "loadAnimation",
10063
10100
  path: V,
10064
10101
  fullPath: window.location.origin + window.location.pathname,
10065
- id: Z
10102
+ id: W
10066
10103
  });
10067
10104
  }
10068
- function j(V, W, K) {
10105
+ function j(V, Z, K) {
10069
10106
  y();
10070
- var Z = M(W, K);
10107
+ var W = M(Z, K);
10071
10108
  i.postMessage({
10072
10109
  type: "loadData",
10073
10110
  path: V,
10074
10111
  fullPath: window.location.origin + window.location.pathname,
10075
- id: Z
10112
+ id: W
10076
10113
  });
10077
10114
  }
10078
- function q(V, W, K) {
10115
+ function q(V, Z, K) {
10079
10116
  y();
10080
- var Z = M(W, K);
10117
+ var W = M(Z, K);
10081
10118
  i.postMessage({
10082
10119
  type: "complete",
10083
10120
  animation: V,
10084
- id: Z
10121
+ id: W
10085
10122
  });
10086
10123
  }
10087
10124
  return {
@@ -10174,13 +10211,13 @@ function requireLottie() {
10174
10211
  function V() {
10175
10212
  this.imagesLoadedCb = null, this.images.length = 0;
10176
10213
  }
10177
- function W() {
10214
+ function Z() {
10178
10215
  return this.totalImages === this.loadedAssets;
10179
10216
  }
10180
10217
  function K() {
10181
10218
  return this.totalFootages === this.loadedFootagesCount;
10182
10219
  }
10183
- function Z(H, J) {
10220
+ function W(H, J) {
10184
10221
  H === "svg" ? (this._elementHelper = J, this._createImageData = this.createImageData.bind(this)) : this._createImageData = this.createImgData.bind(this);
10185
10222
  }
10186
10223
  function re() {
@@ -10190,7 +10227,7 @@ function requireLottie() {
10190
10227
  loadAssets: M,
10191
10228
  setAssetsPath: j,
10192
10229
  setPath: F,
10193
- loadedImages: W,
10230
+ loadedImages: Z,
10194
10231
  loadedFootages: K,
10195
10232
  destroy: V,
10196
10233
  getAsset: q,
@@ -10198,7 +10235,7 @@ function requireLottie() {
10198
10235
  createImageData: h,
10199
10236
  imageLoaded: e,
10200
10237
  footageLoaded: r,
10201
- setCacheType: Z
10238
+ setCacheType: W
10202
10239
  }, re;
10203
10240
  })();
10204
10241
  function BaseEvent() {
@@ -10558,7 +10595,7 @@ function requireLottie() {
10558
10595
  animation: se
10559
10596
  }), i += 1;
10560
10597
  }
10561
- function W(se) {
10598
+ function Z(se) {
10562
10599
  var ce = new AnimationItem();
10563
10600
  return V(ce, null), ce.setParams(se), ce;
10564
10601
  }
@@ -10567,7 +10604,7 @@ function requireLottie() {
10567
10604
  for (ee = 0; ee < i; ee += 1)
10568
10605
  e[ee].animation.setSpeed(se, ce);
10569
10606
  }
10570
- function Z(se, ce) {
10607
+ function W(se, ce) {
10571
10608
  var ee;
10572
10609
  for (ee = 0; ee < i; ee += 1)
10573
10610
  e[ee].animation.setDirection(se, ce);
@@ -10652,7 +10689,7 @@ function requireLottie() {
10652
10689
  for (ce = 0; ce < i; ce += 1)
10653
10690
  e[ce].animation.unmute(se);
10654
10691
  }
10655
- return t.registerAnimation = M, t.loadAnimation = W, t.setSpeed = K, t.setDirection = Z, t.play = re, t.pause = G, t.stop = te, t.togglePause = ne, t.searchAnimations = le, t.resize = he, t.goToAndStop = Q, t.destroy = ae, t.freeze = me, t.unfreeze = de, t.setVolume = ve, t.mute = ge, t.unmute = fe, t.getRegisteredAnimations = F, t;
10692
+ return t.registerAnimation = M, t.loadAnimation = Z, t.setSpeed = K, t.setDirection = W, t.play = re, t.pause = G, t.stop = te, t.togglePause = ne, t.searchAnimations = le, t.resize = he, t.goToAndStop = Q, t.destroy = ae, t.freeze = me, t.unfreeze = de, t.setVolume = ve, t.mute = ge, t.unmute = fe, t.getRegisteredAnimations = F, t;
10656
10693
  })(), BezierFactory = (function() {
10657
10694
  var t = {};
10658
10695
  t.getBezierEasing = r;
@@ -10674,16 +10711,16 @@ function requireLottie() {
10674
10711
  function V(J) {
10675
10712
  return 3 * J;
10676
10713
  }
10677
- function W(J, G, Q) {
10714
+ function Z(J, G, Q) {
10678
10715
  return ((j(G, Q) * J + q(G, Q)) * J + V(G)) * J;
10679
10716
  }
10680
10717
  function K(J, G, Q) {
10681
10718
  return 3 * j(G, Q) * J * J + 2 * q(G, Q) * J + V(G);
10682
10719
  }
10683
- function Z(J, G, Q, te, ne) {
10720
+ function W(J, G, Q, te, ne) {
10684
10721
  var ae, le, he = 0;
10685
10722
  do
10686
- le = G + (Q - G) / 2, ae = W(le, te, ne) - J, ae > 0 ? Q = le : G = le;
10723
+ le = G + (Q - G) / 2, ae = Z(le, te, ne) - J, ae > 0 ? Q = le : G = le;
10687
10724
  while (Math.abs(ae) > h && ++he < d);
10688
10725
  return le;
10689
10726
  }
@@ -10691,7 +10728,7 @@ function requireLottie() {
10691
10728
  for (var ne = 0; ne < i; ++ne) {
10692
10729
  var ae = K(G, Q, te);
10693
10730
  if (ae === 0) return G;
10694
- var le = W(G, Q, te) - J;
10731
+ var le = Z(G, Q, te) - J;
10695
10732
  G -= le / ae;
10696
10733
  }
10697
10734
  return G;
@@ -10702,7 +10739,7 @@ function requireLottie() {
10702
10739
  return H.prototype = {
10703
10740
  get: function(G) {
10704
10741
  var Q = this._p[0], te = this._p[1], ne = this._p[2], ae = this._p[3];
10705
- return this._precomputed || this._precompute(), Q === te && ne === ae ? G : G === 0 ? 0 : G === 1 ? 1 : W(this._getTForX(G), te, ae);
10742
+ return this._precomputed || this._precompute(), Q === te && ne === ae ? G : G === 0 ? 0 : G === 1 ? 1 : Z(this._getTForX(G), te, ae);
10706
10743
  },
10707
10744
  // Private part
10708
10745
  _precompute: function() {
@@ -10711,7 +10748,7 @@ function requireLottie() {
10711
10748
  },
10712
10749
  _calcSampleValues: function() {
10713
10750
  for (var G = this._p[0], Q = this._p[2], te = 0; te < y; ++te)
10714
- this._mSampleValues[te] = W(te * M, G, Q);
10751
+ this._mSampleValues[te] = Z(te * M, G, Q);
10715
10752
  },
10716
10753
  /**
10717
10754
  * getTForX chose the fastest heuristic to determine the percentage value precisely from a given X projection.
@@ -10721,7 +10758,7 @@ function requireLottie() {
10721
10758
  ae += M;
10722
10759
  --le;
10723
10760
  var ye = (G - ne[le]) / (ne[le + 1] - ne[le]), me = ae + ye * M, de = K(me, Q, te);
10724
- return de >= a ? re(G, me, Q, te) : de === 0 ? me : Z(G, ae, ae + M, Q, te);
10761
+ return de >= a ? re(G, me, Q, te) : de === 0 ? me : W(G, ae, ae + M, Q, te);
10725
10762
  }
10726
10763
  }, t;
10727
10764
  })(), pooling = /* @__PURE__ */ (function() {
@@ -10772,50 +10809,50 @@ function requireLottie() {
10772
10809
  })();
10773
10810
  function bezFunction() {
10774
10811
  var t = Math;
10775
- function e(V, W, K, Z, re, H) {
10776
- var J = V * Z + W * re + K * H - re * Z - H * V - K * W;
10812
+ function e(V, Z, K, W, re, H) {
10813
+ var J = V * W + Z * re + K * H - re * W - H * V - K * Z;
10777
10814
  return J > -1e-3 && J < 1e-3;
10778
10815
  }
10779
- function r(V, W, K, Z, re, H, J, G, Q) {
10816
+ function r(V, Z, K, W, re, H, J, G, Q) {
10780
10817
  if (K === 0 && H === 0 && Q === 0)
10781
- return e(V, W, Z, re, J, G);
10782
- var te = t.sqrt(t.pow(Z - V, 2) + t.pow(re - W, 2) + t.pow(H - K, 2)), ne = t.sqrt(t.pow(J - V, 2) + t.pow(G - W, 2) + t.pow(Q - K, 2)), ae = t.sqrt(t.pow(J - Z, 2) + t.pow(G - re, 2) + t.pow(Q - H, 2)), le;
10818
+ return e(V, Z, W, re, J, G);
10819
+ var te = t.sqrt(t.pow(W - V, 2) + t.pow(re - Z, 2) + t.pow(H - K, 2)), ne = t.sqrt(t.pow(J - V, 2) + t.pow(G - Z, 2) + t.pow(Q - K, 2)), ae = t.sqrt(t.pow(J - W, 2) + t.pow(G - re, 2) + t.pow(Q - H, 2)), le;
10783
10820
  return te > ne ? te > ae ? le = te - ne - ae : le = ae - ne - te : ae > ne ? le = ae - ne - te : le = ne - te - ae, le > -1e-4 && le < 1e-4;
10784
10821
  }
10785
10822
  var i = /* @__PURE__ */ (function() {
10786
- return function(V, W, K, Z) {
10823
+ return function(V, Z, K, W) {
10787
10824
  var re = getDefaultCurveSegments(), H, J, G, Q, te, ne = 0, ae, le = [], he = [], ye = bezierLengthPool.newElement();
10788
10825
  for (G = K.length, H = 0; H < re; H += 1) {
10789
10826
  for (te = H / (re - 1), ae = 0, J = 0; J < G; J += 1)
10790
- Q = bmPow(1 - te, 3) * V[J] + 3 * bmPow(1 - te, 2) * te * K[J] + 3 * (1 - te) * bmPow(te, 2) * Z[J] + bmPow(te, 3) * W[J], le[J] = Q, he[J] !== null && (ae += bmPow(le[J] - he[J], 2)), he[J] = le[J];
10827
+ Q = bmPow(1 - te, 3) * V[J] + 3 * bmPow(1 - te, 2) * te * K[J] + 3 * (1 - te) * bmPow(te, 2) * W[J] + bmPow(te, 3) * Z[J], le[J] = Q, he[J] !== null && (ae += bmPow(le[J] - he[J], 2)), he[J] = le[J];
10791
10828
  ae && (ae = bmSqrt(ae), ne += ae), ye.percents[H] = te, ye.lengths[H] = ne;
10792
10829
  }
10793
10830
  return ye.addedLength = ne, ye;
10794
10831
  };
10795
10832
  })();
10796
10833
  function a(V) {
10797
- var W = segmentsLengthPool.newElement(), K = V.c, Z = V.v, re = V.o, H = V.i, J, G = V._length, Q = W.lengths, te = 0;
10834
+ var Z = segmentsLengthPool.newElement(), K = V.c, W = V.v, re = V.o, H = V.i, J, G = V._length, Q = Z.lengths, te = 0;
10798
10835
  for (J = 0; J < G - 1; J += 1)
10799
- Q[J] = i(Z[J], Z[J + 1], re[J], H[J + 1]), te += Q[J].addedLength;
10800
- return K && G && (Q[J] = i(Z[J], Z[0], re[J], H[0]), te += Q[J].addedLength), W.totalLength = te, W;
10836
+ Q[J] = i(W[J], W[J + 1], re[J], H[J + 1]), te += Q[J].addedLength;
10837
+ return K && G && (Q[J] = i(W[J], W[0], re[J], H[0]), te += Q[J].addedLength), Z.totalLength = te, Z;
10801
10838
  }
10802
10839
  function h(V) {
10803
10840
  this.segmentLength = 0, this.points = new Array(V);
10804
10841
  }
10805
- function d(V, W) {
10806
- this.partialLength = V, this.point = W;
10842
+ function d(V, Z) {
10843
+ this.partialLength = V, this.point = Z;
10807
10844
  }
10808
10845
  var y = /* @__PURE__ */ (function() {
10809
10846
  var V = {};
10810
- return function(W, K, Z, re) {
10811
- var H = (W[0] + "_" + W[1] + "_" + K[0] + "_" + K[1] + "_" + Z[0] + "_" + Z[1] + "_" + re[0] + "_" + re[1]).replace(/\./g, "p");
10847
+ return function(Z, K, W, re) {
10848
+ var H = (Z[0] + "_" + Z[1] + "_" + K[0] + "_" + K[1] + "_" + W[0] + "_" + W[1] + "_" + re[0] + "_" + re[1]).replace(/\./g, "p");
10812
10849
  if (!V[H]) {
10813
10850
  var J = getDefaultCurveSegments(), G, Q, te, ne, ae, le = 0, he, ye, me = null;
10814
- W.length === 2 && (W[0] !== K[0] || W[1] !== K[1]) && e(W[0], W[1], K[0], K[1], W[0] + Z[0], W[1] + Z[1]) && e(W[0], W[1], K[0], K[1], K[0] + re[0], K[1] + re[1]) && (J = 2);
10851
+ Z.length === 2 && (Z[0] !== K[0] || Z[1] !== K[1]) && e(Z[0], Z[1], K[0], K[1], Z[0] + W[0], Z[1] + W[1]) && e(Z[0], Z[1], K[0], K[1], K[0] + re[0], K[1] + re[1]) && (J = 2);
10815
10852
  var de = new h(J);
10816
- for (te = Z.length, G = 0; G < J; G += 1) {
10853
+ for (te = W.length, G = 0; G < J; G += 1) {
10817
10854
  for (ye = createSizedArray(te), ae = G / (J - 1), he = 0, Q = 0; Q < te; Q += 1)
10818
- ne = bmPow(1 - ae, 3) * W[Q] + 3 * bmPow(1 - ae, 2) * ae * (W[Q] + Z[Q]) + 3 * (1 - ae) * bmPow(ae, 2) * (K[Q] + re[Q]) + bmPow(ae, 3) * K[Q], ye[Q] = ne, me !== null && (he += bmPow(ye[Q] - me[Q], 2));
10855
+ ne = bmPow(1 - ae, 3) * Z[Q] + 3 * bmPow(1 - ae, 2) * ae * (Z[Q] + W[Q]) + 3 * (1 - ae) * bmPow(ae, 2) * (K[Q] + re[Q]) + bmPow(ae, 3) * K[Q], ye[Q] = ne, me !== null && (he += bmPow(ye[Q] - me[Q], 2));
10819
10856
  he = bmSqrt(he), le += he, de.points[G] = new d(he, ye), me = ye;
10820
10857
  }
10821
10858
  de.segmentLength = le, V[H] = de;
@@ -10823,30 +10860,30 @@ function requireLottie() {
10823
10860
  return V[H];
10824
10861
  };
10825
10862
  })();
10826
- function M(V, W) {
10827
- var K = W.percents, Z = W.lengths, re = K.length, H = bmFloor((re - 1) * V), J = V * W.addedLength, G = 0;
10828
- if (H === re - 1 || H === 0 || J === Z[H])
10863
+ function M(V, Z) {
10864
+ var K = Z.percents, W = Z.lengths, re = K.length, H = bmFloor((re - 1) * V), J = V * Z.addedLength, G = 0;
10865
+ if (H === re - 1 || H === 0 || J === W[H])
10829
10866
  return K[H];
10830
- for (var Q = Z[H] > J ? -1 : 1, te = !0; te; )
10831
- if (Z[H] <= J && Z[H + 1] > J ? (G = (J - Z[H]) / (Z[H + 1] - Z[H]), te = !1) : H += Q, H < 0 || H >= re - 1) {
10867
+ for (var Q = W[H] > J ? -1 : 1, te = !0; te; )
10868
+ if (W[H] <= J && W[H + 1] > J ? (G = (J - W[H]) / (W[H + 1] - W[H]), te = !1) : H += Q, H < 0 || H >= re - 1) {
10832
10869
  if (H === re - 1)
10833
10870
  return K[H];
10834
10871
  te = !1;
10835
10872
  }
10836
10873
  return K[H] + (K[H + 1] - K[H]) * G;
10837
10874
  }
10838
- function F(V, W, K, Z, re, H) {
10839
- var J = M(re, H), G = 1 - J, Q = t.round((G * G * G * V[0] + (J * G * G + G * J * G + G * G * J) * K[0] + (J * J * G + G * J * J + J * G * J) * Z[0] + J * J * J * W[0]) * 1e3) / 1e3, te = t.round((G * G * G * V[1] + (J * G * G + G * J * G + G * G * J) * K[1] + (J * J * G + G * J * J + J * G * J) * Z[1] + J * J * J * W[1]) * 1e3) / 1e3;
10875
+ function F(V, Z, K, W, re, H) {
10876
+ var J = M(re, H), G = 1 - J, Q = t.round((G * G * G * V[0] + (J * G * G + G * J * G + G * G * J) * K[0] + (J * J * G + G * J * J + J * G * J) * W[0] + J * J * J * Z[0]) * 1e3) / 1e3, te = t.round((G * G * G * V[1] + (J * G * G + G * J * G + G * G * J) * K[1] + (J * J * G + G * J * J + J * G * J) * W[1] + J * J * J * Z[1]) * 1e3) / 1e3;
10840
10877
  return [Q, te];
10841
10878
  }
10842
10879
  var j = createTypedArray("float32", 8);
10843
- function q(V, W, K, Z, re, H, J) {
10880
+ function q(V, Z, K, W, re, H, J) {
10844
10881
  re < 0 ? re = 0 : re > 1 && (re = 1);
10845
10882
  var G = M(re, J);
10846
10883
  H = H > 1 ? 1 : H;
10847
10884
  var Q = M(H, J), te, ne = V.length, ae = 1 - G, le = 1 - Q, he = ae * ae * ae, ye = G * ae * ae * 3, me = G * G * ae * 3, de = G * G * G, ve = ae * ae * le, ge = G * ae * le + ae * G * le + ae * ae * Q, fe = G * G * le + ae * G * Q + G * ae * Q, se = G * G * Q, ce = ae * le * le, ee = G * le * le + ae * Q * le + ae * le * Q, ie = G * Q * le + ae * Q * Q + G * le * Q, ue = G * Q * Q, oe = le * le * le, pe = Q * le * le + le * Q * le + le * le * Q, xe = Q * Q * le + le * Q * Q + Q * le * Q, be = Q * Q * Q;
10848
10885
  for (te = 0; te < ne; te += 1)
10849
- j[te * 4] = t.round((he * V[te] + ye * K[te] + me * Z[te] + de * W[te]) * 1e3) / 1e3, j[te * 4 + 1] = t.round((ve * V[te] + ge * K[te] + fe * Z[te] + se * W[te]) * 1e3) / 1e3, j[te * 4 + 2] = t.round((ce * V[te] + ee * K[te] + ie * Z[te] + ue * W[te]) * 1e3) / 1e3, j[te * 4 + 3] = t.round((oe * V[te] + pe * K[te] + xe * Z[te] + be * W[te]) * 1e3) / 1e3;
10886
+ j[te * 4] = t.round((he * V[te] + ye * K[te] + me * W[te] + de * Z[te]) * 1e3) / 1e3, j[te * 4 + 1] = t.round((ve * V[te] + ge * K[te] + fe * W[te] + se * Z[te]) * 1e3) / 1e3, j[te * 4 + 2] = t.round((ce * V[te] + ee * K[te] + ie * W[te] + ue * Z[te]) * 1e3) / 1e3, j[te * 4 + 3] = t.round((oe * V[te] + pe * K[te] + xe * W[te] + be * Z[te]) * 1e3) / 1e3;
10850
10887
  return j;
10851
10888
  }
10852
10889
  return {
@@ -10874,7 +10911,7 @@ function requireLottie() {
10874
10911
  h < d - 1 ? h += 1 : (a = 0, y = !1);
10875
10912
  }
10876
10913
  j = this.keyframesMetadata[h] || {};
10877
- var q, V, W, K, Z, re, H = F.t - r, J = M.t - r, G;
10914
+ var q, V, Z, K, W, re, H = F.t - r, J = M.t - r, G;
10878
10915
  if (M.to) {
10879
10916
  j.bezierData || (j.bezierData = bez.buildBezierData(M.s, F.s || M.e, M.to, M.ti));
10880
10917
  var Q = j.bezierData;
@@ -10883,21 +10920,21 @@ function requireLottie() {
10883
10920
  for (V = Q.points[te].point.length, q = 0; q < V; q += 1)
10884
10921
  i[q] = Q.points[te].point[q];
10885
10922
  } else {
10886
- j.__fnct ? re = j.__fnct : (re = BezierFactory.getBezierEasing(M.o.x, M.o.y, M.i.x, M.i.y, M.n).get, j.__fnct = re), W = re((t - J) / (H - J));
10887
- var ne = Q.segmentLength * W, ae, le = e.lastFrame < t && e._lastKeyframeIndex === h ? e._lastAddedLength : 0;
10888
- for (Z = e.lastFrame < t && e._lastKeyframeIndex === h ? e._lastPoint : 0, y = !0, K = Q.points.length; y; ) {
10889
- if (le += Q.points[Z].partialLength, ne === 0 || W === 0 || Z === Q.points.length - 1) {
10890
- for (V = Q.points[Z].point.length, q = 0; q < V; q += 1)
10891
- i[q] = Q.points[Z].point[q];
10923
+ j.__fnct ? re = j.__fnct : (re = BezierFactory.getBezierEasing(M.o.x, M.o.y, M.i.x, M.i.y, M.n).get, j.__fnct = re), Z = re((t - J) / (H - J));
10924
+ var ne = Q.segmentLength * Z, ae, le = e.lastFrame < t && e._lastKeyframeIndex === h ? e._lastAddedLength : 0;
10925
+ for (W = e.lastFrame < t && e._lastKeyframeIndex === h ? e._lastPoint : 0, y = !0, K = Q.points.length; y; ) {
10926
+ if (le += Q.points[W].partialLength, ne === 0 || Z === 0 || W === Q.points.length - 1) {
10927
+ for (V = Q.points[W].point.length, q = 0; q < V; q += 1)
10928
+ i[q] = Q.points[W].point[q];
10892
10929
  break;
10893
- } else if (ne >= le && ne < le + Q.points[Z + 1].partialLength) {
10894
- for (ae = (ne - le) / Q.points[Z + 1].partialLength, V = Q.points[Z].point.length, q = 0; q < V; q += 1)
10895
- i[q] = Q.points[Z].point[q] + (Q.points[Z + 1].point[q] - Q.points[Z].point[q]) * ae;
10930
+ } else if (ne >= le && ne < le + Q.points[W + 1].partialLength) {
10931
+ for (ae = (ne - le) / Q.points[W + 1].partialLength, V = Q.points[W].point.length, q = 0; q < V; q += 1)
10932
+ i[q] = Q.points[W].point[q] + (Q.points[W + 1].point[q] - Q.points[W].point[q]) * ae;
10896
10933
  break;
10897
10934
  }
10898
- Z < K - 1 ? Z += 1 : y = !1;
10935
+ W < K - 1 ? W += 1 : y = !1;
10899
10936
  }
10900
- e._lastPoint = Z, e._lastAddedLength = le - Q.points[Z].partialLength, e._lastKeyframeIndex = h;
10937
+ e._lastPoint = W, e._lastAddedLength = le - Q.points[W].partialLength, e._lastKeyframeIndex = h;
10901
10938
  }
10902
10939
  } else {
10903
10940
  var he, ye, me, de, ve;
@@ -10912,21 +10949,21 @@ function requireLottie() {
10912
10949
  }
10913
10950
  else
10914
10951
  for (h = 0; h < d; h += 1)
10915
- M.h !== 1 && (t >= H ? W = 1 : t < J ? W = 0 : (M.o.x.constructor === Array ? (j.__fnct || (j.__fnct = []), j.__fnct[h] ? re = j.__fnct[h] : (he = M.o.x[h] === void 0 ? M.o.x[0] : M.o.x[h], ye = M.o.y[h] === void 0 ? M.o.y[0] : M.o.y[h], me = M.i.x[h] === void 0 ? M.i.x[0] : M.i.x[h], de = M.i.y[h] === void 0 ? M.i.y[0] : M.i.y[h], re = BezierFactory.getBezierEasing(he, ye, me, de).get, j.__fnct[h] = re)) : j.__fnct ? re = j.__fnct : (he = M.o.x, ye = M.o.y, me = M.i.x, de = M.i.y, re = BezierFactory.getBezierEasing(he, ye, me, de).get, M.keyframeMetadata = re), W = re((t - J) / (H - J)))), G = F.s || M.e, ve = M.h === 1 ? M.s[h] : M.s[h] + (G[h] - M.s[h]) * W, this.propType === "multidimensional" ? i[h] = ve : i = ve;
10952
+ M.h !== 1 && (t >= H ? Z = 1 : t < J ? Z = 0 : (M.o.x.constructor === Array ? (j.__fnct || (j.__fnct = []), j.__fnct[h] ? re = j.__fnct[h] : (he = M.o.x[h] === void 0 ? M.o.x[0] : M.o.x[h], ye = M.o.y[h] === void 0 ? M.o.y[0] : M.o.y[h], me = M.i.x[h] === void 0 ? M.i.x[0] : M.i.x[h], de = M.i.y[h] === void 0 ? M.i.y[0] : M.i.y[h], re = BezierFactory.getBezierEasing(he, ye, me, de).get, j.__fnct[h] = re)) : j.__fnct ? re = j.__fnct : (he = M.o.x, ye = M.o.y, me = M.i.x, de = M.i.y, re = BezierFactory.getBezierEasing(he, ye, me, de).get, M.keyframeMetadata = re), Z = re((t - J) / (H - J)))), G = F.s || M.e, ve = M.h === 1 ? M.s[h] : M.s[h] + (G[h] - M.s[h]) * Z, this.propType === "multidimensional" ? i[h] = ve : i = ve;
10916
10953
  }
10917
10954
  return e.lastIndex = a, i;
10918
10955
  }
10919
10956
  function slerp(t, e, r) {
10920
- var i = [], a = t[0], h = t[1], d = t[2], y = t[3], M = e[0], F = e[1], j = e[2], q = e[3], V, W, K, Z, re;
10921
- return W = a * M + h * F + d * j + y * q, W < 0 && (W = -W, M = -M, F = -F, j = -j, q = -q), 1 - W > 1e-6 ? (V = Math.acos(W), K = Math.sin(V), Z = Math.sin((1 - r) * V) / K, re = Math.sin(r * V) / K) : (Z = 1 - r, re = r), i[0] = Z * a + re * M, i[1] = Z * h + re * F, i[2] = Z * d + re * j, i[3] = Z * y + re * q, i;
10957
+ var i = [], a = t[0], h = t[1], d = t[2], y = t[3], M = e[0], F = e[1], j = e[2], q = e[3], V, Z, K, W, re;
10958
+ return Z = a * M + h * F + d * j + y * q, Z < 0 && (Z = -Z, M = -M, F = -F, j = -j, q = -q), 1 - Z > 1e-6 ? (V = Math.acos(Z), K = Math.sin(V), W = Math.sin((1 - r) * V) / K, re = Math.sin(r * V) / K) : (W = 1 - r, re = r), i[0] = W * a + re * M, i[1] = W * h + re * F, i[2] = W * d + re * j, i[3] = W * y + re * q, i;
10922
10959
  }
10923
10960
  function quaternionToEuler(t, e) {
10924
10961
  var r = e[0], i = e[1], a = e[2], h = e[3], d = Math.atan2(2 * i * h - 2 * r * a, 1 - 2 * i * i - 2 * a * a), y = Math.asin(2 * r * i + 2 * a * h), M = Math.atan2(2 * r * h - 2 * i * a, 1 - 2 * r * r - 2 * a * a);
10925
10962
  t[0] = d / degToRads, t[1] = y / degToRads, t[2] = M / degToRads;
10926
10963
  }
10927
10964
  function createQuaternion(t) {
10928
- var e = t[0] * degToRads, r = t[1] * degToRads, i = t[2] * degToRads, a = Math.cos(e / 2), h = Math.cos(r / 2), d = Math.cos(i / 2), y = Math.sin(e / 2), M = Math.sin(r / 2), F = Math.sin(i / 2), j = a * h * d - y * M * F, q = y * M * d + a * h * F, V = y * h * d + a * M * F, W = a * M * d - y * h * F;
10929
- return [q, V, W, j];
10965
+ var e = t[0] * degToRads, r = t[1] * degToRads, i = t[2] * degToRads, a = Math.cos(e / 2), h = Math.cos(r / 2), d = Math.cos(i / 2), y = Math.sin(e / 2), M = Math.sin(r / 2), F = Math.sin(i / 2), j = a * h * d - y * M * F, q = y * M * d + a * h * F, V = y * h * d + a * M * F, Z = a * M * d - y * h * F;
10966
+ return [q, V, Z, j];
10930
10967
  }
10931
10968
  function getValueAtCurrentTime() {
10932
10969
  var t = this.comp.renderedFrame - this.offsetTime, e = this.keyframes[0].t - this.offsetTime, r = this.keyframes[this.keyframes.length - 1].t - this.offsetTime;
@@ -11272,7 +11309,7 @@ function requireLottie() {
11272
11309
  reset: i
11273
11310
  }, extendPrototype([DynamicPropertyContainer], H), H;
11274
11311
  })();
11275
- function W(H, J, G) {
11312
+ function Z(H, J, G) {
11276
11313
  var Q;
11277
11314
  if (G === 3 || G === 4) {
11278
11315
  var te = G === 3 ? J.pt : J.ks, ne = te.k;
@@ -11283,11 +11320,11 @@ function requireLottie() {
11283
11320
  function K() {
11284
11321
  return y;
11285
11322
  }
11286
- function Z() {
11323
+ function W() {
11287
11324
  return F;
11288
11325
  }
11289
11326
  var re = {};
11290
- return re.getShapeProp = W, re.getConstructorFunction = K, re.getKeyframedConstructorFunction = Z, re;
11327
+ return re.getShapeProp = Z, re.getConstructorFunction = K, re.getKeyframedConstructorFunction = W, re;
11291
11328
  })();
11292
11329
  var Matrix = /* @__PURE__ */ (function() {
11293
11330
  var t = Math.cos, e = Math.sin, r = Math.tan, i = Math.round;
@@ -11331,13 +11368,13 @@ function requireLottie() {
11331
11368
  function V(ee, ie, ue) {
11332
11369
  return !ue && ue !== 0 && (ue = 1), ee === 1 && ie === 1 && ue === 1 ? this : this._t(ee, 0, 0, 0, 0, ie, 0, 0, 0, 0, ue, 0, 0, 0, 0, 1);
11333
11370
  }
11334
- function W(ee, ie, ue, oe, pe, xe, be, Ce, Te, _e, Pe, Me, Ae, Ee, ke, we) {
11371
+ function Z(ee, ie, ue, oe, pe, xe, be, Ce, Te, _e, Pe, Me, Ae, Ee, ke, we) {
11335
11372
  return this.props[0] = ee, this.props[1] = ie, this.props[2] = ue, this.props[3] = oe, this.props[4] = pe, this.props[5] = xe, this.props[6] = be, this.props[7] = Ce, this.props[8] = Te, this.props[9] = _e, this.props[10] = Pe, this.props[11] = Me, this.props[12] = Ae, this.props[13] = Ee, this.props[14] = ke, this.props[15] = we, this;
11336
11373
  }
11337
11374
  function K(ee, ie, ue) {
11338
11375
  return ue = ue || 0, ee !== 0 || ie !== 0 || ue !== 0 ? this._t(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, ee, ie, ue, 1) : this;
11339
11376
  }
11340
- function Z(ee, ie, ue, oe, pe, xe, be, Ce, Te, _e, Pe, Me, Ae, Ee, ke, we) {
11377
+ function W(ee, ie, ue, oe, pe, xe, be, Ce, Te, _e, Pe, Me, Ae, Ee, ke, we) {
11341
11378
  var Se = this.props;
11342
11379
  if (ee === 1 && ie === 0 && ue === 0 && oe === 0 && pe === 0 && xe === 1 && be === 0 && Ce === 0 && Te === 0 && _e === 0 && Pe === 1 && Me === 0)
11343
11380
  return Se[12] = Se[12] * ee + Se[15] * Ae, Se[13] = Se[13] * xe + Se[15] * Ee, Se[14] = Se[14] * Pe + Se[15] * ke, Se[15] *= we, this._identityCalculated = !1, this;
@@ -11434,7 +11471,7 @@ function requireLottie() {
11434
11471
  return "matrix(" + ie + "," + ue + "," + oe + "," + pe + "," + xe + "," + be + ")";
11435
11472
  }
11436
11473
  return function() {
11437
- this.reset = a, this.rotate = h, this.rotateX = d, this.rotateY = y, this.rotateZ = M, this.skew = j, this.skewFromAxis = q, this.shear = F, this.scale = V, this.setTransform = W, this.translate = K, this.transform = Z, this.multiply = re, this.applyToPoint = te, this.applyToX = ne, this.applyToY = ae, this.applyToZ = le, this.applyToPointArray = ve, this.applyToTriplePoints = de, this.applyToPointStringified = ge, this.toCSS = fe, this.to2dCSS = ce, this.clone = G, this.cloneFromProps = Q, this.equals = J, this.inversePoints = me, this.inversePoint = ye, this.getInverseMatrix = he, this._t = this.transform, this.isIdentity = H, this._identity = !0, this._identityCalculated = !1, this.props = createTypedArray("float32", 16), this.reset();
11474
+ this.reset = a, this.rotate = h, this.rotateX = d, this.rotateY = y, this.rotateZ = M, this.skew = j, this.skewFromAxis = q, this.shear = F, this.scale = V, this.setTransform = Z, this.translate = K, this.transform = W, this.multiply = re, this.applyToPoint = te, this.applyToX = ne, this.applyToY = ae, this.applyToZ = le, this.applyToPointArray = ve, this.applyToTriplePoints = de, this.applyToPointStringified = ge, this.toCSS = fe, this.to2dCSS = ce, this.clone = G, this.cloneFromProps = Q, this.equals = J, this.inversePoints = me, this.inversePoint = ye, this.getInverseMatrix = he, this._t = this.transform, this.isIdentity = H, this._identity = !0, this._identityCalculated = !1, this.props = createTypedArray("float32", 16), this.reset();
11438
11475
  };
11439
11476
  })();
11440
11477
  function _typeof$3(t) {
@@ -11593,7 +11630,7 @@ function requireLottie() {
11593
11630
  e = Math.round(e * 1e4) * 1e-4, r = Math.round(r * 1e4) * 1e-4, this.sValue = e, this.eValue = r;
11594
11631
  } else
11595
11632
  e = this.sValue, r = this.eValue;
11596
- var h, d, y = this.shapes.length, M, F, j, q, V, W = 0;
11633
+ var h, d, y = this.shapes.length, M, F, j, q, V, Z = 0;
11597
11634
  if (r === e)
11598
11635
  for (d = 0; d < y; d += 1)
11599
11636
  this.shapes[d].localShapeCollection.releaseShapes(), this.shapes[d].shape._mdf = !0, this.shapes[d].shape.paths = this.shapes[d].localShapeCollection, this._mdf && (this.shapes[d].pathsData.length = 0);
@@ -11602,51 +11639,51 @@ function requireLottie() {
11602
11639
  for (d = 0; d < y; d += 1)
11603
11640
  this.shapes[d].pathsData.length = 0, this.shapes[d].shape._mdf = !0;
11604
11641
  } else {
11605
- var K = [], Z, re;
11642
+ var K = [], W, re;
11606
11643
  for (d = 0; d < y; d += 1)
11607
- if (Z = this.shapes[d], !Z.shape._mdf && !this._mdf && !t && this.m !== 2)
11608
- Z.shape.paths = Z.localShapeCollection;
11644
+ if (W = this.shapes[d], !W.shape._mdf && !this._mdf && !t && this.m !== 2)
11645
+ W.shape.paths = W.localShapeCollection;
11609
11646
  else {
11610
- if (h = Z.shape.paths, F = h._length, V = 0, !Z.shape._mdf && Z.pathsData.length)
11611
- V = Z.totalShapeLength;
11647
+ if (h = W.shape.paths, F = h._length, V = 0, !W.shape._mdf && W.pathsData.length)
11648
+ V = W.totalShapeLength;
11612
11649
  else {
11613
- for (j = this.releasePathsData(Z.pathsData), M = 0; M < F; M += 1)
11650
+ for (j = this.releasePathsData(W.pathsData), M = 0; M < F; M += 1)
11614
11651
  q = bez.getSegmentsLength(h.shapes[M]), j.push(q), V += q.totalLength;
11615
- Z.totalShapeLength = V, Z.pathsData = j;
11652
+ W.totalShapeLength = V, W.pathsData = j;
11616
11653
  }
11617
- W += V, Z.shape._mdf = !0;
11654
+ Z += V, W.shape._mdf = !0;
11618
11655
  }
11619
11656
  var H = e, J = r, G = 0, Q;
11620
11657
  for (d = y - 1; d >= 0; d -= 1)
11621
- if (Z = this.shapes[d], Z.shape._mdf) {
11622
- for (re = Z.localShapeCollection, re.releaseShapes(), this.m === 2 && y > 1 ? (Q = this.calculateShapeEdges(e, r, Z.totalShapeLength, G, W), G += Z.totalShapeLength) : Q = [[H, J]], F = Q.length, M = 0; M < F; M += 1) {
11658
+ if (W = this.shapes[d], W.shape._mdf) {
11659
+ for (re = W.localShapeCollection, re.releaseShapes(), this.m === 2 && y > 1 ? (Q = this.calculateShapeEdges(e, r, W.totalShapeLength, G, Z), G += W.totalShapeLength) : Q = [[H, J]], F = Q.length, M = 0; M < F; M += 1) {
11623
11660
  H = Q[M][0], J = Q[M][1], K.length = 0, J <= 1 ? K.push({
11624
- s: Z.totalShapeLength * H,
11625
- e: Z.totalShapeLength * J
11661
+ s: W.totalShapeLength * H,
11662
+ e: W.totalShapeLength * J
11626
11663
  }) : H >= 1 ? K.push({
11627
- s: Z.totalShapeLength * (H - 1),
11628
- e: Z.totalShapeLength * (J - 1)
11664
+ s: W.totalShapeLength * (H - 1),
11665
+ e: W.totalShapeLength * (J - 1)
11629
11666
  }) : (K.push({
11630
- s: Z.totalShapeLength * H,
11631
- e: Z.totalShapeLength
11667
+ s: W.totalShapeLength * H,
11668
+ e: W.totalShapeLength
11632
11669
  }), K.push({
11633
11670
  s: 0,
11634
- e: Z.totalShapeLength * (J - 1)
11671
+ e: W.totalShapeLength * (J - 1)
11635
11672
  }));
11636
- var te = this.addShapes(Z, K[0]);
11673
+ var te = this.addShapes(W, K[0]);
11637
11674
  if (K[0].s !== K[0].e) {
11638
11675
  if (K.length > 1) {
11639
- var ne = Z.shape.paths.shapes[Z.shape.paths._length - 1];
11676
+ var ne = W.shape.paths.shapes[W.shape.paths._length - 1];
11640
11677
  if (ne.c) {
11641
11678
  var ae = te.pop();
11642
- this.addPaths(te, re), te = this.addShapes(Z, K[1], ae);
11679
+ this.addPaths(te, re), te = this.addShapes(W, K[1], ae);
11643
11680
  } else
11644
- this.addPaths(te, re), te = this.addShapes(Z, K[1]);
11681
+ this.addPaths(te, re), te = this.addShapes(W, K[1]);
11645
11682
  }
11646
11683
  this.addPaths(te, re);
11647
11684
  }
11648
11685
  }
11649
- Z.shape.paths = re;
11686
+ W.shape.paths = re;
11650
11687
  }
11651
11688
  }
11652
11689
  }, TrimModifier.prototype.addPaths = function(t, e) {
@@ -11658,8 +11695,8 @@ function requireLottie() {
11658
11695
  }, TrimModifier.prototype.addSegmentFromArray = function(t, e, r, i) {
11659
11696
  e.setXYAt(t[1], t[5], "o", r), e.setXYAt(t[2], t[6], "i", r + 1), i && e.setXYAt(t[0], t[4], "v", r), e.setXYAt(t[3], t[7], "v", r + 1);
11660
11697
  }, TrimModifier.prototype.addShapes = function(t, e, r) {
11661
- var i = t.pathsData, a = t.shape.paths.shapes, h, d = t.shape.paths._length, y, M, F = 0, j, q, V, W, K = [], Z, re = !0;
11662
- for (r ? (q = r._length, Z = r._length) : (r = shapePool.newElement(), q = 0, Z = 0), K.push(r), h = 0; h < d; h += 1) {
11698
+ var i = t.pathsData, a = t.shape.paths.shapes, h, d = t.shape.paths._length, y, M, F = 0, j, q, V, Z, K = [], W, re = !0;
11699
+ for (r ? (q = r._length, W = r._length) : (r = shapePool.newElement(), q = 0, W = 0), K.push(r), h = 0; h < d; h += 1) {
11663
11700
  for (V = i[h].lengths, r.c = a[h].c, M = a[h].c ? V.length : V.length + 1, y = 1; y < M; y += 1)
11664
11701
  if (j = V[y - 1], F + j.addedLength < e.s)
11665
11702
  F += j.addedLength, r.c = !1;
@@ -11667,16 +11704,16 @@ function requireLottie() {
11667
11704
  r.c = !1;
11668
11705
  break;
11669
11706
  } else
11670
- e.s <= F && e.e >= F + j.addedLength ? (this.addSegment(a[h].v[y - 1], a[h].o[y - 1], a[h].i[y], a[h].v[y], r, q, re), re = !1) : (W = bez.getNewSegment(a[h].v[y - 1], a[h].v[y], a[h].o[y - 1], a[h].i[y], (e.s - F) / j.addedLength, (e.e - F) / j.addedLength, V[y - 1]), this.addSegmentFromArray(W, r, q, re), re = !1, r.c = !1), F += j.addedLength, q += 1;
11707
+ e.s <= F && e.e >= F + j.addedLength ? (this.addSegment(a[h].v[y - 1], a[h].o[y - 1], a[h].i[y], a[h].v[y], r, q, re), re = !1) : (Z = bez.getNewSegment(a[h].v[y - 1], a[h].v[y], a[h].o[y - 1], a[h].i[y], (e.s - F) / j.addedLength, (e.e - F) / j.addedLength, V[y - 1]), this.addSegmentFromArray(Z, r, q, re), re = !1, r.c = !1), F += j.addedLength, q += 1;
11671
11708
  if (a[h].c && V.length) {
11672
11709
  if (j = V[y - 1], F <= e.e) {
11673
11710
  var H = V[y - 1].addedLength;
11674
- e.s <= F && e.e >= F + H ? (this.addSegment(a[h].v[y - 1], a[h].o[y - 1], a[h].i[0], a[h].v[0], r, q, re), re = !1) : (W = bez.getNewSegment(a[h].v[y - 1], a[h].v[0], a[h].o[y - 1], a[h].i[0], (e.s - F) / H, (e.e - F) / H, V[y - 1]), this.addSegmentFromArray(W, r, q, re), re = !1, r.c = !1);
11711
+ e.s <= F && e.e >= F + H ? (this.addSegment(a[h].v[y - 1], a[h].o[y - 1], a[h].i[0], a[h].v[0], r, q, re), re = !1) : (Z = bez.getNewSegment(a[h].v[y - 1], a[h].v[0], a[h].o[y - 1], a[h].i[0], (e.s - F) / H, (e.e - F) / H, V[y - 1]), this.addSegmentFromArray(Z, r, q, re), re = !1, r.c = !1);
11675
11712
  } else
11676
11713
  r.c = !1;
11677
11714
  F += j.addedLength, q += 1;
11678
11715
  }
11679
- if (r._length && (r.setXYAt(r.v[Z][0], r.v[Z][1], "i", Z), r.setXYAt(r.v[r._length - 1][0], r.v[r._length - 1][1], "o", r._length - 1)), F > e.e)
11716
+ if (r._length && (r.setXYAt(r.v[W][0], r.v[W][1], "i", W), r.setXYAt(r.v[r._length - 1][0], r.v[r._length - 1][1], "o", r._length - 1)), F > e.e)
11680
11717
  break;
11681
11718
  h < d - 1 && (r = shapePool.newElement(), re = !0, K.push(r), q = 0);
11682
11719
  }
@@ -11726,8 +11763,8 @@ function requireLottie() {
11726
11763
  this.p._caching.lastFrame + this.p.offsetTime <= this.p.keyframes[0].t ? (j = this.p.getValueAtTime((this.p.keyframes[0].t + 0.01) / F, 0), q = this.p.getValueAtTime(this.p.keyframes[0].t / F, 0)) : this.p._caching.lastFrame + this.p.offsetTime >= this.p.keyframes[this.p.keyframes.length - 1].t ? (j = this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length - 1].t / F, 0), q = this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length - 1].t - 0.05) / F, 0)) : (j = this.p.pv, q = this.p.getValueAtTime((this.p._caching.lastFrame + this.p.offsetTime - 0.01) / F, this.p.offsetTime));
11727
11764
  else if (this.px && this.px.keyframes && this.py.keyframes && this.px.getValueAtTime && this.py.getValueAtTime) {
11728
11765
  j = [], q = [];
11729
- var V = this.px, W = this.py;
11730
- V._caching.lastFrame + V.offsetTime <= V.keyframes[0].t ? (j[0] = V.getValueAtTime((V.keyframes[0].t + 0.01) / F, 0), j[1] = W.getValueAtTime((W.keyframes[0].t + 0.01) / F, 0), q[0] = V.getValueAtTime(V.keyframes[0].t / F, 0), q[1] = W.getValueAtTime(W.keyframes[0].t / F, 0)) : V._caching.lastFrame + V.offsetTime >= V.keyframes[V.keyframes.length - 1].t ? (j[0] = V.getValueAtTime(V.keyframes[V.keyframes.length - 1].t / F, 0), j[1] = W.getValueAtTime(W.keyframes[W.keyframes.length - 1].t / F, 0), q[0] = V.getValueAtTime((V.keyframes[V.keyframes.length - 1].t - 0.01) / F, 0), q[1] = W.getValueAtTime((W.keyframes[W.keyframes.length - 1].t - 0.01) / F, 0)) : (j = [V.pv, W.pv], q[0] = V.getValueAtTime((V._caching.lastFrame + V.offsetTime - 0.01) / F, V.offsetTime), q[1] = W.getValueAtTime((W._caching.lastFrame + W.offsetTime - 0.01) / F, W.offsetTime));
11766
+ var V = this.px, Z = this.py;
11767
+ V._caching.lastFrame + V.offsetTime <= V.keyframes[0].t ? (j[0] = V.getValueAtTime((V.keyframes[0].t + 0.01) / F, 0), j[1] = Z.getValueAtTime((Z.keyframes[0].t + 0.01) / F, 0), q[0] = V.getValueAtTime(V.keyframes[0].t / F, 0), q[1] = Z.getValueAtTime(Z.keyframes[0].t / F, 0)) : V._caching.lastFrame + V.offsetTime >= V.keyframes[V.keyframes.length - 1].t ? (j[0] = V.getValueAtTime(V.keyframes[V.keyframes.length - 1].t / F, 0), j[1] = Z.getValueAtTime(Z.keyframes[Z.keyframes.length - 1].t / F, 0), q[0] = V.getValueAtTime((V.keyframes[V.keyframes.length - 1].t - 0.01) / F, 0), q[1] = Z.getValueAtTime((Z.keyframes[Z.keyframes.length - 1].t - 0.01) / F, 0)) : (j = [V.pv, Z.pv], q[0] = V.getValueAtTime((V._caching.lastFrame + V.offsetTime - 0.01) / F, V.offsetTime), q[1] = Z.getValueAtTime((Z._caching.lastFrame + Z.offsetTime - 0.01) / F, Z.offsetTime));
11731
11768
  } else
11732
11769
  q = t, j = q;
11733
11770
  this.v.rotate(-Math.atan2(j[1] - q[1], j[0] - q[0]));
@@ -11886,22 +11923,22 @@ function requireLottie() {
11886
11923
  h += 1;
11887
11924
  }
11888
11925
  this._currentCopies = y;
11889
- var V = this.o.v, W = V % 1, K = V > 0 ? Math.floor(V) : Math.ceil(V), Z = this.pMatrix.props, re = this.rMatrix.props, H = this.sMatrix.props;
11926
+ var V = this.o.v, Z = V % 1, K = V > 0 ? Math.floor(V) : Math.ceil(V), W = this.pMatrix.props, re = this.rMatrix.props, H = this.sMatrix.props;
11890
11927
  this.pMatrix.reset(), this.rMatrix.reset(), this.sMatrix.reset(), this.tMatrix.reset(), this.matrix.reset();
11891
11928
  var J = 0;
11892
11929
  if (V > 0) {
11893
11930
  for (; J < K; )
11894
11931
  this.applyTransforms(this.pMatrix, this.rMatrix, this.sMatrix, this.tr, 1, !1), J += 1;
11895
- W && (this.applyTransforms(this.pMatrix, this.rMatrix, this.sMatrix, this.tr, W, !1), J += W);
11932
+ Z && (this.applyTransforms(this.pMatrix, this.rMatrix, this.sMatrix, this.tr, Z, !1), J += Z);
11896
11933
  } else if (V < 0) {
11897
11934
  for (; J > K; )
11898
11935
  this.applyTransforms(this.pMatrix, this.rMatrix, this.sMatrix, this.tr, 1, !0), J -= 1;
11899
- W && (this.applyTransforms(this.pMatrix, this.rMatrix, this.sMatrix, this.tr, -W, !0), J -= W);
11936
+ Z && (this.applyTransforms(this.pMatrix, this.rMatrix, this.sMatrix, this.tr, -Z, !0), J -= Z);
11900
11937
  }
11901
11938
  i = this.data.m === 1 ? 0 : this._currentCopies - 1, a = this.data.m === 1 ? 1 : -1, h = this._currentCopies;
11902
11939
  for (var G, Q; h; ) {
11903
11940
  if (e = this.elemsData[i].it, r = e[e.length - 1].transform.mProps.v.props, Q = r.length, e[e.length - 1].transform.mProps._mdf = !0, e[e.length - 1].transform.op._mdf = !0, e[e.length - 1].transform.op.v = this._currentCopies === 1 ? this.so.v : this.so.v + (this.eo.v - this.so.v) * (i / (this._currentCopies - 1)), J !== 0) {
11904
- for ((i !== 0 && a === 1 || i !== this._currentCopies - 1 && a === -1) && this.applyTransforms(this.pMatrix, this.rMatrix, this.sMatrix, this.tr, 1, !1), this.matrix.transform(re[0], re[1], re[2], re[3], re[4], re[5], re[6], re[7], re[8], re[9], re[10], re[11], re[12], re[13], re[14], re[15]), this.matrix.transform(H[0], H[1], H[2], H[3], H[4], H[5], H[6], H[7], H[8], H[9], H[10], H[11], H[12], H[13], H[14], H[15]), this.matrix.transform(Z[0], Z[1], Z[2], Z[3], Z[4], Z[5], Z[6], Z[7], Z[8], Z[9], Z[10], Z[11], Z[12], Z[13], Z[14], Z[15]), G = 0; G < Q; G += 1)
11941
+ for ((i !== 0 && a === 1 || i !== this._currentCopies - 1 && a === -1) && this.applyTransforms(this.pMatrix, this.rMatrix, this.sMatrix, this.tr, 1, !1), this.matrix.transform(re[0], re[1], re[2], re[3], re[4], re[5], re[6], re[7], re[8], re[9], re[10], re[11], re[12], re[13], re[14], re[15]), this.matrix.transform(H[0], H[1], H[2], H[3], H[4], H[5], H[6], H[7], H[8], H[9], H[10], H[11], H[12], H[13], H[14], H[15]), this.matrix.transform(W[0], W[1], W[2], W[3], W[4], W[5], W[6], W[7], W[8], W[9], W[10], W[11], W[12], W[13], W[14], W[15]), G = 0; G < Q; G += 1)
11905
11942
  r[G] = this.matrix.props[G];
11906
11943
  this.matrix.reset();
11907
11944
  } else
@@ -11922,9 +11959,9 @@ function requireLottie() {
11922
11959
  }, RoundCornersModifier.prototype.processPath = function(t, e) {
11923
11960
  var r = shapePool.newElement();
11924
11961
  r.c = t.c;
11925
- var i, a = t._length, h, d, y, M, F, j, q = 0, V, W, K, Z, re, H;
11962
+ var i, a = t._length, h, d, y, M, F, j, q = 0, V, Z, K, W, re, H;
11926
11963
  for (i = 0; i < a; i += 1)
11927
- h = t.v[i], y = t.o[i], d = t.i[i], h[0] === y[0] && h[1] === y[1] && h[0] === d[0] && h[1] === d[1] ? (i === 0 || i === a - 1) && !t.c ? (r.setTripleAt(h[0], h[1], y[0], y[1], d[0], d[1], q), q += 1) : (i === 0 ? M = t.v[a - 1] : M = t.v[i - 1], F = Math.sqrt(Math.pow(h[0] - M[0], 2) + Math.pow(h[1] - M[1], 2)), j = F ? Math.min(F / 2, e) / F : 0, re = h[0] + (M[0] - h[0]) * j, V = re, H = h[1] - (h[1] - M[1]) * j, W = H, K = V - (V - h[0]) * roundCorner, Z = W - (W - h[1]) * roundCorner, r.setTripleAt(V, W, K, Z, re, H, q), q += 1, i === a - 1 ? M = t.v[0] : M = t.v[i + 1], F = Math.sqrt(Math.pow(h[0] - M[0], 2) + Math.pow(h[1] - M[1], 2)), j = F ? Math.min(F / 2, e) / F : 0, K = h[0] + (M[0] - h[0]) * j, V = K, Z = h[1] + (M[1] - h[1]) * j, W = Z, re = V - (V - h[0]) * roundCorner, H = W - (W - h[1]) * roundCorner, r.setTripleAt(V, W, K, Z, re, H, q), q += 1) : (r.setTripleAt(t.v[i][0], t.v[i][1], t.o[i][0], t.o[i][1], t.i[i][0], t.i[i][1], q), q += 1);
11964
+ h = t.v[i], y = t.o[i], d = t.i[i], h[0] === y[0] && h[1] === y[1] && h[0] === d[0] && h[1] === d[1] ? (i === 0 || i === a - 1) && !t.c ? (r.setTripleAt(h[0], h[1], y[0], y[1], d[0], d[1], q), q += 1) : (i === 0 ? M = t.v[a - 1] : M = t.v[i - 1], F = Math.sqrt(Math.pow(h[0] - M[0], 2) + Math.pow(h[1] - M[1], 2)), j = F ? Math.min(F / 2, e) / F : 0, re = h[0] + (M[0] - h[0]) * j, V = re, H = h[1] - (h[1] - M[1]) * j, Z = H, K = V - (V - h[0]) * roundCorner, W = Z - (Z - h[1]) * roundCorner, r.setTripleAt(V, Z, K, W, re, H, q), q += 1, i === a - 1 ? M = t.v[0] : M = t.v[i + 1], F = Math.sqrt(Math.pow(h[0] - M[0], 2) + Math.pow(h[1] - M[1], 2)), j = F ? Math.min(F / 2, e) / F : 0, K = h[0] + (M[0] - h[0]) * j, V = K, W = h[1] + (M[1] - h[1]) * j, Z = W, re = V - (V - h[0]) * roundCorner, H = Z - (Z - h[1]) * roundCorner, r.setTripleAt(V, Z, K, W, re, H, q), q += 1) : (r.setTripleAt(t.v[i][0], t.v[i][1], t.o[i][0], t.o[i][1], t.i[i][0], t.i[i][1], q), q += 1);
11928
11965
  return r;
11929
11966
  }, RoundCornersModifier.prototype.processShapes = function(t) {
11930
11967
  var e, r, i = this.shapes.length, a, h, d = this.rd.v;
@@ -12155,7 +12192,7 @@ function requireLottie() {
12155
12192
  var y = -e.tangentAngle(1), M = -r.tangentAngle(0) + Math.PI, F = lineIntersection(h, polarOffset(h, y + Math.PI / 2, 100), d, polarOffset(d, y + Math.PI / 2, 100)), j = F ? pointDistance(F, h) : pointDistance(h, d) / 2, q = polarOffset(h, y, 2 * j * roundCorner);
12156
12193
  return t.setXYAt(q[0], q[1], "o", t.length() - 1), q = polarOffset(d, M, 2 * j * roundCorner), t.setTripleAt(d[0], d[1], d[0], d[1], q[0], q[1], t.length()), d;
12157
12194
  }
12158
- var V = pointEqual(h, e.points[2]) ? e.points[0] : e.points[2], W = pointEqual(d, r.points[1]) ? r.points[3] : r.points[1], K = lineIntersection(V, h, d, W);
12195
+ var V = pointEqual(h, e.points[2]) ? e.points[0] : e.points[2], Z = pointEqual(d, r.points[1]) ? r.points[3] : r.points[1], K = lineIntersection(V, h, d, Z);
12159
12196
  return K && pointDistance(K, h) < a ? (t.setTripleAt(K[0], K[1], K[0], K[1], K[0], K[1], t.length()), K) : h;
12160
12197
  }
12161
12198
  function getIntersection(t, e) {
@@ -12263,7 +12300,7 @@ function requireLottie() {
12263
12300
  ce[ee] !== "sans-serif" && ce[ee] !== "monospace" && ue.push(ce[ee]);
12264
12301
  return ue.join(",");
12265
12302
  }
12266
- function W(se, ce) {
12303
+ function Z(se, ce) {
12267
12304
  var ee = createTag("span");
12268
12305
  ee.setAttribute("aria-hidden", !0), ee.style.fontFamily = ce;
12269
12306
  var ie = createTag("span");
@@ -12281,7 +12318,7 @@ function requireLottie() {
12281
12318
  this.fonts[se].loaded ? ue -= 1 : this.fonts[se].fOrigin === "n" || this.fonts[se].origin === 0 ? this.fonts[se].loaded = !0 : (ee = this.fonts[se].monoCase.node, ie = this.fonts[se].monoCase.w, ee.offsetWidth !== ie ? (ue -= 1, this.fonts[se].loaded = !0) : (ee = this.fonts[se].sansCase.node, ie = this.fonts[se].sansCase.w, ee.offsetWidth !== ie && (ue -= 1, this.fonts[se].loaded = !0)), this.fonts[se].loaded && (this.fonts[se].sansCase.parent.parentNode.removeChild(this.fonts[se].sansCase.parent), this.fonts[se].monoCase.parent.parentNode.removeChild(this.fonts[se].monoCase.parent)));
12282
12319
  ue !== 0 && Date.now() - this.initTime < t ? setTimeout(this.checkLoadedFontsBinded, 20) : setTimeout(this.setIsLoadedBinded, 10);
12283
12320
  }
12284
- function Z(se, ce) {
12321
+ function W(se, ce) {
12285
12322
  var ee = document.body && ce ? "svg" : "canvas", ie, ue = getFontProperties(se);
12286
12323
  if (ee === "svg") {
12287
12324
  var oe = createNS("text");
@@ -12308,14 +12345,14 @@ function requireLottie() {
12308
12345
  }
12309
12346
  if (!document.body) {
12310
12347
  this.isLoaded = !0, se.list.forEach(function(Pe) {
12311
- Pe.helper = Z(Pe), Pe.cache = {};
12348
+ Pe.helper = W(Pe), Pe.cache = {};
12312
12349
  }), this.fonts = se.list;
12313
12350
  return;
12314
12351
  }
12315
12352
  var ee = se.list, ie, ue = ee.length, oe = ue;
12316
12353
  for (ie = 0; ie < ue; ie += 1) {
12317
12354
  var pe = !0, xe, be;
12318
- if (ee[ie].loaded = !1, ee[ie].monoCase = W(ee[ie].fFamily, "monospace"), ee[ie].sansCase = W(ee[ie].fFamily, "sans-serif"), !ee[ie].fPath)
12355
+ if (ee[ie].loaded = !1, ee[ie].monoCase = Z(ee[ie].fFamily, "monospace"), ee[ie].sansCase = Z(ee[ie].fFamily, "sans-serif"), !ee[ie].fPath)
12319
12356
  ee[ie].loaded = !0, oe -= 1;
12320
12357
  else if (ee[ie].fOrigin === "p" || ee[ie].origin === 3) {
12321
12358
  if (xe = document.querySelectorAll('style[f-forigin="p"][f-family="' + ee[ie].fFamily + '"], style[f-origin="3"][f-family="' + ee[ie].fFamily + '"]'), xe.length > 0 && (pe = !1), pe) {
@@ -12337,7 +12374,7 @@ function requireLottie() {
12337
12374
  _e.setAttribute("f-forigin", ee[ie].fOrigin), _e.setAttribute("f-origin", ee[ie].origin), _e.setAttribute("rel", "stylesheet"), _e.setAttribute("href", ee[ie].fPath), ce.appendChild(_e);
12338
12375
  }
12339
12376
  }
12340
- ee[ie].helper = Z(ee[ie], ce), ee[ie].cache = {}, this.fonts.push(ee[ie]);
12377
+ ee[ie].helper = W(ee[ie], ce), ee[ie].cache = {}, this.fonts.push(ee[ie]);
12341
12378
  }
12342
12379
  oe === 0 ? this.isLoaded = !0 : setTimeout(this.checkLoadedFonts.bind(this), 100);
12343
12380
  }
@@ -12893,9 +12930,9 @@ function requireLottie() {
12893
12930
  this.data = t, this.element = e, this.globalData = r, this.storedData = [], this.masksProperties = this.data.masksProperties || [], this.maskElement = null;
12894
12931
  var i = this.globalData.defs, a, h = this.masksProperties ? this.masksProperties.length : 0;
12895
12932
  this.viewData = createSizedArray(h), this.solidPath = "";
12896
- var d, y = this.masksProperties, M = 0, F = [], j, q, V = createElementID(), W, K, Z, re, H = "clipPath", J = "clip-path";
12933
+ var d, y = this.masksProperties, M = 0, F = [], j, q, V = createElementID(), Z, K, W, re, H = "clipPath", J = "clip-path";
12897
12934
  for (a = 0; a < h; a += 1)
12898
- if ((y[a].mode !== "a" && y[a].mode !== "n" || y[a].inv || y[a].o.k !== 100 || y[a].o.x) && (H = "mask", J = "mask"), (y[a].mode === "s" || y[a].mode === "i") && M === 0 ? (W = createNS("rect"), W.setAttribute("fill", "#ffffff"), W.setAttribute("width", this.element.comp.data.w || 0), W.setAttribute("height", this.element.comp.data.h || 0), F.push(W)) : W = null, d = createNS("path"), y[a].mode === "n")
12935
+ if ((y[a].mode !== "a" && y[a].mode !== "n" || y[a].inv || y[a].o.k !== 100 || y[a].o.x) && (H = "mask", J = "mask"), (y[a].mode === "s" || y[a].mode === "i") && M === 0 ? (Z = createNS("rect"), Z.setAttribute("fill", "#ffffff"), Z.setAttribute("width", this.element.comp.data.w || 0), Z.setAttribute("height", this.element.comp.data.h || 0), F.push(Z)) : Z = null, d = createNS("path"), y[a].mode === "n")
12899
12936
  this.viewData[a] = {
12900
12937
  op: PropertyFactory.getProp(this.element, y[a].o, 0, 0.01, this.element),
12901
12938
  prop: ShapePropertyFactory.getShapeProp(this.element, y[a], 3),
@@ -12905,10 +12942,10 @@ function requireLottie() {
12905
12942
  else {
12906
12943
  M += 1, d.setAttribute("fill", y[a].mode === "s" ? "#000000" : "#ffffff"), d.setAttribute("clip-rule", "nonzero");
12907
12944
  var G;
12908
- if (y[a].x.k !== 0 ? (H = "mask", J = "mask", re = PropertyFactory.getProp(this.element, y[a].x, 0, null, this.element), G = createElementID(), K = createNS("filter"), K.setAttribute("id", G), Z = createNS("feMorphology"), Z.setAttribute("operator", "erode"), Z.setAttribute("in", "SourceGraphic"), Z.setAttribute("radius", "0"), K.appendChild(Z), i.appendChild(K), d.setAttribute("stroke", y[a].mode === "s" ? "#000000" : "#ffffff")) : (Z = null, re = null), this.storedData[a] = {
12945
+ if (y[a].x.k !== 0 ? (H = "mask", J = "mask", re = PropertyFactory.getProp(this.element, y[a].x, 0, null, this.element), G = createElementID(), K = createNS("filter"), K.setAttribute("id", G), W = createNS("feMorphology"), W.setAttribute("operator", "erode"), W.setAttribute("in", "SourceGraphic"), W.setAttribute("radius", "0"), K.appendChild(W), i.appendChild(K), d.setAttribute("stroke", y[a].mode === "s" ? "#000000" : "#ffffff")) : (W = null, re = null), this.storedData[a] = {
12909
12946
  elem: d,
12910
12947
  x: re,
12911
- expan: Z,
12948
+ expan: W,
12912
12949
  lastPath: "",
12913
12950
  lastOperator: "",
12914
12951
  filterId: G,
@@ -12927,7 +12964,7 @@ function requireLottie() {
12927
12964
  lastPath: "",
12928
12965
  op: PropertyFactory.getProp(this.element, y[a].o, 0, 0.01, this.element),
12929
12966
  prop: ShapePropertyFactory.getShapeProp(this.element, y[a], 3),
12930
- invRect: W
12967
+ invRect: Z
12931
12968
  }, this.viewData[a].prop.k || this.drawPath(y[a], this.viewData[a].prop.v, this.viewData[a]);
12932
12969
  }
12933
12970
  for (this.maskElement = createNS(H), h = F.length, a = 0; a < h; a += 1)
@@ -13380,15 +13417,15 @@ function requireLottie() {
13380
13417
  return null;
13381
13418
  }
13382
13419
  }
13383
- function a(q, V, W) {
13384
- (W || V.transform.op._mdf) && V.transform.container.setAttribute("opacity", V.transform.op.v), (W || V.transform.mProps._mdf) && V.transform.container.setAttribute("transform", V.transform.mProps.v.to2dCSS());
13420
+ function a(q, V, Z) {
13421
+ (Z || V.transform.op._mdf) && V.transform.container.setAttribute("opacity", V.transform.op.v), (Z || V.transform.mProps._mdf) && V.transform.container.setAttribute("transform", V.transform.mProps.v.to2dCSS());
13385
13422
  }
13386
13423
  function h() {
13387
13424
  }
13388
- function d(q, V, W) {
13389
- var K, Z, re, H, J, G, Q = V.styles.length, te = V.lvl, ne, ae, le, he;
13425
+ function d(q, V, Z) {
13426
+ var K, W, re, H, J, G, Q = V.styles.length, te = V.lvl, ne, ae, le, he;
13390
13427
  for (G = 0; G < Q; G += 1) {
13391
- if (H = V.sh._mdf || W, V.styles[G].lvl < te) {
13428
+ if (H = V.sh._mdf || Z, V.styles[G].lvl < te) {
13392
13429
  for (ae = e.reset(), le = te - V.styles[G].lvl, he = V.transformers.length - 1; !H && le > 0; )
13393
13430
  H = V.transformers[he].mProps._mdf || H, le -= 1, he -= 1;
13394
13431
  if (H)
@@ -13396,8 +13433,8 @@ function requireLottie() {
13396
13433
  ae.multiply(V.transformers[he].mProps.v), le -= 1, he -= 1;
13397
13434
  } else
13398
13435
  ae = t;
13399
- if (ne = V.sh.paths, Z = ne._length, H) {
13400
- for (re = "", K = 0; K < Z; K += 1)
13436
+ if (ne = V.sh.paths, W = ne._length, H) {
13437
+ for (re = "", K = 0; K < W; K += 1)
13401
13438
  J = ne.shapes[K], J && J._length && (re += buildShapeString(J, J._length, J.c, ae));
13402
13439
  V.caches[G] = re;
13403
13440
  } else
@@ -13405,51 +13442,51 @@ function requireLottie() {
13405
13442
  V.styles[G].d += q.hd === !0 ? "" : re, V.styles[G]._mdf = H || V.styles[G]._mdf;
13406
13443
  }
13407
13444
  }
13408
- function y(q, V, W) {
13445
+ function y(q, V, Z) {
13409
13446
  var K = V.style;
13410
- (V.c._mdf || W) && K.pElem.setAttribute("fill", "rgb(" + bmFloor(V.c.v[0]) + "," + bmFloor(V.c.v[1]) + "," + bmFloor(V.c.v[2]) + ")"), (V.o._mdf || W) && K.pElem.setAttribute("fill-opacity", V.o.v);
13447
+ (V.c._mdf || Z) && K.pElem.setAttribute("fill", "rgb(" + bmFloor(V.c.v[0]) + "," + bmFloor(V.c.v[1]) + "," + bmFloor(V.c.v[2]) + ")"), (V.o._mdf || Z) && K.pElem.setAttribute("fill-opacity", V.o.v);
13411
13448
  }
13412
- function M(q, V, W) {
13413
- F(q, V, W), j(q, V, W);
13449
+ function M(q, V, Z) {
13450
+ F(q, V, Z), j(q, V, Z);
13414
13451
  }
13415
- function F(q, V, W) {
13416
- var K = V.gf, Z = V.g._hasOpacity, re = V.s.v, H = V.e.v;
13417
- if (V.o._mdf || W) {
13452
+ function F(q, V, Z) {
13453
+ var K = V.gf, W = V.g._hasOpacity, re = V.s.v, H = V.e.v;
13454
+ if (V.o._mdf || Z) {
13418
13455
  var J = q.ty === "gf" ? "fill-opacity" : "stroke-opacity";
13419
13456
  V.style.pElem.setAttribute(J, V.o.v);
13420
13457
  }
13421
- if (V.s._mdf || W) {
13458
+ if (V.s._mdf || Z) {
13422
13459
  var G = q.t === 1 ? "x1" : "cx", Q = G === "x1" ? "y1" : "cy";
13423
- K.setAttribute(G, re[0]), K.setAttribute(Q, re[1]), Z && !V.g._collapsable && (V.of.setAttribute(G, re[0]), V.of.setAttribute(Q, re[1]));
13460
+ K.setAttribute(G, re[0]), K.setAttribute(Q, re[1]), W && !V.g._collapsable && (V.of.setAttribute(G, re[0]), V.of.setAttribute(Q, re[1]));
13424
13461
  }
13425
13462
  var te, ne, ae, le;
13426
- if (V.g._cmdf || W) {
13463
+ if (V.g._cmdf || Z) {
13427
13464
  te = V.cst;
13428
13465
  var he = V.g.c;
13429
13466
  for (ae = te.length, ne = 0; ne < ae; ne += 1)
13430
13467
  le = te[ne], le.setAttribute("offset", he[ne * 4] + "%"), le.setAttribute("stop-color", "rgb(" + he[ne * 4 + 1] + "," + he[ne * 4 + 2] + "," + he[ne * 4 + 3] + ")");
13431
13468
  }
13432
- if (Z && (V.g._omdf || W)) {
13469
+ if (W && (V.g._omdf || Z)) {
13433
13470
  var ye = V.g.o;
13434
13471
  for (V.g._collapsable ? te = V.cst : te = V.ost, ae = te.length, ne = 0; ne < ae; ne += 1)
13435
13472
  le = te[ne], V.g._collapsable || le.setAttribute("offset", ye[ne * 2] + "%"), le.setAttribute("stop-opacity", ye[ne * 2 + 1]);
13436
13473
  }
13437
13474
  if (q.t === 1)
13438
- (V.e._mdf || W) && (K.setAttribute("x2", H[0]), K.setAttribute("y2", H[1]), Z && !V.g._collapsable && (V.of.setAttribute("x2", H[0]), V.of.setAttribute("y2", H[1])));
13475
+ (V.e._mdf || Z) && (K.setAttribute("x2", H[0]), K.setAttribute("y2", H[1]), W && !V.g._collapsable && (V.of.setAttribute("x2", H[0]), V.of.setAttribute("y2", H[1])));
13439
13476
  else {
13440
13477
  var me;
13441
- if ((V.s._mdf || V.e._mdf || W) && (me = Math.sqrt(Math.pow(re[0] - H[0], 2) + Math.pow(re[1] - H[1], 2)), K.setAttribute("r", me), Z && !V.g._collapsable && V.of.setAttribute("r", me)), V.s._mdf || V.e._mdf || V.h._mdf || V.a._mdf || W) {
13478
+ if ((V.s._mdf || V.e._mdf || Z) && (me = Math.sqrt(Math.pow(re[0] - H[0], 2) + Math.pow(re[1] - H[1], 2)), K.setAttribute("r", me), W && !V.g._collapsable && V.of.setAttribute("r", me)), V.s._mdf || V.e._mdf || V.h._mdf || V.a._mdf || Z) {
13442
13479
  me || (me = Math.sqrt(Math.pow(re[0] - H[0], 2) + Math.pow(re[1] - H[1], 2)));
13443
13480
  var de = Math.atan2(H[1] - re[1], H[0] - re[0]), ve = V.h.v;
13444
13481
  ve >= 1 ? ve = 0.99 : ve <= -1 && (ve = -0.99);
13445
13482
  var ge = me * ve, fe = Math.cos(de + V.a.v) * ge + re[0], se = Math.sin(de + V.a.v) * ge + re[1];
13446
- K.setAttribute("fx", fe), K.setAttribute("fy", se), Z && !V.g._collapsable && (V.of.setAttribute("fx", fe), V.of.setAttribute("fy", se));
13483
+ K.setAttribute("fx", fe), K.setAttribute("fy", se), W && !V.g._collapsable && (V.of.setAttribute("fx", fe), V.of.setAttribute("fy", se));
13447
13484
  }
13448
13485
  }
13449
13486
  }
13450
- function j(q, V, W) {
13451
- var K = V.style, Z = V.d;
13452
- Z && (Z._mdf || W) && Z.dashStr && (K.pElem.setAttribute("stroke-dasharray", Z.dashStr), K.pElem.setAttribute("stroke-dashoffset", Z.dashoffset[0])), V.c && (V.c._mdf || W) && K.pElem.setAttribute("stroke", "rgb(" + bmFloor(V.c.v[0]) + "," + bmFloor(V.c.v[1]) + "," + bmFloor(V.c.v[2]) + ")"), (V.o._mdf || W) && K.pElem.setAttribute("stroke-opacity", V.o.v), (V.w._mdf || W) && (K.pElem.setAttribute("stroke-width", V.w.v), K.msElem && K.msElem.setAttribute("stroke-width", V.w.v));
13487
+ function j(q, V, Z) {
13488
+ var K = V.style, W = V.d;
13489
+ W && (W._mdf || Z) && W.dashStr && (K.pElem.setAttribute("stroke-dasharray", W.dashStr), K.pElem.setAttribute("stroke-dashoffset", W.dashoffset[0])), V.c && (V.c._mdf || Z) && K.pElem.setAttribute("stroke", "rgb(" + bmFloor(V.c.v[0]) + "," + bmFloor(V.c.v[1]) + "," + bmFloor(V.c.v[2]) + ")"), (V.o._mdf || Z) && K.pElem.setAttribute("stroke-opacity", V.o.v), (V.w._mdf || Z) && (K.pElem.setAttribute("stroke-width", V.w.v), K.msElem && K.msElem.setAttribute("stroke-width", V.w.v));
13453
13490
  }
13454
13491
  return r;
13455
13492
  })();
@@ -13517,7 +13554,7 @@ function requireLottie() {
13517
13554
  this.dynamicProperties[t].getValue();
13518
13555
  this.renderModifiers();
13519
13556
  }, SVGShapeElement.prototype.searchShapes = function(t, e, r, i, a, h, d) {
13520
- var y = [].concat(h), M, F = t.length - 1, j, q, V = [], W = [], K, Z, re;
13557
+ var y = [].concat(h), M, F = t.length - 1, j, q, V = [], Z = [], K, W, re;
13521
13558
  for (M = F; M >= 0; M -= 1) {
13522
13559
  if (re = this.searchProcessedElement(t[M]), re ? e[M] = r[re - 1] : t[M]._render = d, t[M].ty === "fl" || t[M].ty === "st" || t[M].ty === "gf" || t[M].ty === "gs" || t[M].ty === "no")
13523
13560
  re ? e[M].style.closed = t[M].hd : e[M] = this.createStyleElement(t[M], a), t[M]._render && e[M].style.pElem.parentNode !== i && i.appendChild(e[M].style.pElem), V.push(e[M].style);
@@ -13528,13 +13565,13 @@ function requireLottie() {
13528
13565
  for (q = e[M].it.length, j = 0; j < q; j += 1)
13529
13566
  e[M].prevViewData[j] = e[M].it[j];
13530
13567
  this.searchShapes(t[M].it, e[M].it, e[M].prevViewData, e[M].gr, a + 1, y, d), t[M]._render && e[M].gr.parentNode !== i && i.appendChild(e[M].gr);
13531
- } else t[M].ty === "tr" ? (re || (e[M] = this.createTransformElement(t[M], i)), K = e[M].transform, y.push(K)) : t[M].ty === "sh" || t[M].ty === "rc" || t[M].ty === "el" || t[M].ty === "sr" ? (re || (e[M] = this.createShapeElement(t[M], y, a)), this.setElementStyles(e[M])) : t[M].ty === "tm" || t[M].ty === "rd" || t[M].ty === "ms" || t[M].ty === "pb" || t[M].ty === "zz" || t[M].ty === "op" ? (re ? (Z = e[M], Z.closed = !1) : (Z = ShapeModifiers.getModifier(t[M].ty), Z.init(this, t[M]), e[M] = Z, this.shapeModifiers.push(Z)), W.push(Z)) : t[M].ty === "rp" && (re ? (Z = e[M], Z.closed = !0) : (Z = ShapeModifiers.getModifier(t[M].ty), e[M] = Z, Z.init(this, t, M, e), this.shapeModifiers.push(Z), d = !1), W.push(Z));
13568
+ } else t[M].ty === "tr" ? (re || (e[M] = this.createTransformElement(t[M], i)), K = e[M].transform, y.push(K)) : t[M].ty === "sh" || t[M].ty === "rc" || t[M].ty === "el" || t[M].ty === "sr" ? (re || (e[M] = this.createShapeElement(t[M], y, a)), this.setElementStyles(e[M])) : t[M].ty === "tm" || t[M].ty === "rd" || t[M].ty === "ms" || t[M].ty === "pb" || t[M].ty === "zz" || t[M].ty === "op" ? (re ? (W = e[M], W.closed = !1) : (W = ShapeModifiers.getModifier(t[M].ty), W.init(this, t[M]), e[M] = W, this.shapeModifiers.push(W)), Z.push(W)) : t[M].ty === "rp" && (re ? (W = e[M], W.closed = !0) : (W = ShapeModifiers.getModifier(t[M].ty), e[M] = W, W.init(this, t, M, e), this.shapeModifiers.push(W), d = !1), Z.push(W));
13532
13569
  this.addProcessedElement(t[M], M + 1);
13533
13570
  }
13534
13571
  for (F = V.length, M = 0; M < F; M += 1)
13535
13572
  V[M].closed = !0;
13536
- for (F = W.length, M = 0; M < F; M += 1)
13537
- W[M].closed = !0;
13573
+ for (F = Z.length, M = 0; M < F; M += 1)
13574
+ Z[M].closed = !0;
13538
13575
  }, SVGShapeElement.prototype.renderInnerContent = function() {
13539
13576
  this.renderModifiers();
13540
13577
  var t, e = this.stylesList.length;
@@ -13632,7 +13669,7 @@ function requireLottie() {
13632
13669
  return e;
13633
13670
  }, TextProperty.prototype.completeTextData = function(t) {
13634
13671
  t.__complete = !0;
13635
- var e = this.elem.globalData.fontManager, r = this.data, i = [], a, h, d, y = 0, M, F = r.m.g, j = 0, q = 0, V = 0, W = [], K = 0, Z = 0, re, H, J = e.getFontByName(t.f), G, Q = 0, te = getFontProperties(J);
13672
+ var e = this.elem.globalData.fontManager, r = this.data, i = [], a, h, d, y = 0, M, F = r.m.g, j = 0, q = 0, V = 0, Z = [], K = 0, W = 0, re, H, J = e.getFontByName(t.f), G, Q = 0, te = getFontProperties(J);
13636
13673
  t.fWeight = te.weight, t.fStyle = te.style, t.finalSize = t.s, t.finalText = this.buildFinalText(t.t), h = t.finalText.length, t.finalLineHeight = t.lh;
13637
13674
  var ne = t.tr / 1e3 * t.finalSize, ae;
13638
13675
  if (t.sz)
@@ -13646,7 +13683,7 @@ function requireLottie() {
13646
13683
  K = -ne, Q = 0;
13647
13684
  var ge = 0, fe;
13648
13685
  for (a = 0; a < h; a += 1)
13649
- if (d = !1, fe = t.finalText[a], ae = fe.charCodeAt(0), ae === 13 || ae === 3 ? (ge = 0, W.push(K), Z = K > Z ? K : Z, K = -2 * ne, M = "", d = !0, V += 1) : M = fe, e.chars ? (G = e.getCharData(fe, J.fStyle, e.getFontByName(t.f).fFamily), Q = d ? 0 : G.w * t.finalSize / 100) : Q = e.measureText(M, t.f, t.finalSize), fe === " " ? ge += Q + ne : (K += Q + ne + ge, ge = 0), i.push({
13686
+ if (d = !1, fe = t.finalText[a], ae = fe.charCodeAt(0), ae === 13 || ae === 3 ? (ge = 0, Z.push(K), W = K > W ? K : W, K = -2 * ne, M = "", d = !0, V += 1) : M = fe, e.chars ? (G = e.getCharData(fe, J.fStyle, e.getFontByName(t.f).fFamily), Q = d ? 0 : G.w * t.finalSize / 100) : Q = e.measureText(M, t.f, t.finalSize), fe === " " ? ge += Q + ne : (K += Q + ne + ge, ge = 0), i.push({
13650
13687
  l: Q,
13651
13688
  an: Q,
13652
13689
  add: j,
@@ -13669,10 +13706,10 @@ function requireLottie() {
13669
13706
  }
13670
13707
  } else
13671
13708
  i[y].ind = y, i[y].extra = 0, y += 1;
13672
- if (t.l = i, Z = K > Z ? K : Z, W.push(K), t.sz)
13709
+ if (t.l = i, W = K > W ? K : W, Z.push(K), t.sz)
13673
13710
  t.boxWidth = t.sz[0], t.justifyOffset = 0;
13674
13711
  else
13675
- switch (t.boxWidth = Z, t.j) {
13712
+ switch (t.boxWidth = W, t.j) {
13676
13713
  case 1:
13677
13714
  t.justifyOffset = -t.boxWidth;
13678
13715
  break;
@@ -13682,7 +13719,7 @@ function requireLottie() {
13682
13719
  default:
13683
13720
  t.justifyOffset = 0;
13684
13721
  }
13685
- t.lineWidths = W;
13722
+ t.lineWidths = Z;
13686
13723
  var se = r.a, ce, ee;
13687
13724
  H = se.length;
13688
13725
  var ie, ue, oe = [];
@@ -13730,24 +13767,24 @@ function requireLottie() {
13730
13767
  this._currentTextLength !== this.elem.textProperty.currentData.l.length && this.getValue();
13731
13768
  var y = 0, M = 0, F = 1, j = 1;
13732
13769
  this.ne.v > 0 ? y = this.ne.v / 100 : M = -this.ne.v / 100, this.xe.v > 0 ? F = 1 - this.xe.v / 100 : j = 1 + this.xe.v / 100;
13733
- var q = BezierFactory.getBezierEasing(y, M, F, j).get, V = 0, W = this.finalS, K = this.finalE, Z = this.data.sh;
13734
- if (Z === 2)
13735
- K === W ? V = d >= K ? 1 : 0 : V = t(0, e(0.5 / (K - W) + (d - W) / (K - W), 1)), V = q(V);
13736
- else if (Z === 3)
13737
- K === W ? V = d >= K ? 0 : 1 : V = 1 - t(0, e(0.5 / (K - W) + (d - W) / (K - W), 1)), V = q(V);
13738
- else if (Z === 4)
13739
- K === W ? V = 0 : (V = t(0, e(0.5 / (K - W) + (d - W) / (K - W), 1)), V < 0.5 ? V *= 2 : V = 1 - 2 * (V - 0.5)), V = q(V);
13740
- else if (Z === 5) {
13741
- if (K === W)
13770
+ var q = BezierFactory.getBezierEasing(y, M, F, j).get, V = 0, Z = this.finalS, K = this.finalE, W = this.data.sh;
13771
+ if (W === 2)
13772
+ K === Z ? V = d >= K ? 1 : 0 : V = t(0, e(0.5 / (K - Z) + (d - Z) / (K - Z), 1)), V = q(V);
13773
+ else if (W === 3)
13774
+ K === Z ? V = d >= K ? 0 : 1 : V = 1 - t(0, e(0.5 / (K - Z) + (d - Z) / (K - Z), 1)), V = q(V);
13775
+ else if (W === 4)
13776
+ K === Z ? V = 0 : (V = t(0, e(0.5 / (K - Z) + (d - Z) / (K - Z), 1)), V < 0.5 ? V *= 2 : V = 1 - 2 * (V - 0.5)), V = q(V);
13777
+ else if (W === 5) {
13778
+ if (K === Z)
13742
13779
  V = 0;
13743
13780
  else {
13744
- var re = K - W;
13745
- d = e(t(0, d + 0.5 - W), K - W);
13781
+ var re = K - Z;
13782
+ d = e(t(0, d + 0.5 - Z), K - Z);
13746
13783
  var H = -re / 2 + d, J = re / 2;
13747
13784
  V = Math.sqrt(1 - H * H / (J * J));
13748
13785
  }
13749
13786
  V = q(V);
13750
- } else Z === 6 ? (K === W ? V = 0 : (d = e(t(0, d + 0.5 - W), K - W), V = (1 + Math.cos(Math.PI + Math.PI * 2 * d / (K - W))) / 2), V = q(V)) : (d >= r(W) && (d - W < 0 ? V = t(0, e(e(K, 1) - (W - d), 1)) : V = t(0, e(K - d, 1))), V = q(V));
13787
+ } else W === 6 ? (K === Z ? V = 0 : (d = e(t(0, d + 0.5 - Z), K - Z), V = (1 + Math.cos(Math.PI + Math.PI * 2 * d / (K - Z))) / 2), V = q(V)) : (d >= r(Z) && (d - Z < 0 ? V = t(0, e(e(K, 1) - (Z - d), 1)) : V = t(0, e(K - d, 1))), V = q(V));
13751
13788
  if (this.sm.v !== 100) {
13752
13789
  var G = this.sm.v * 0.01;
13753
13790
  G === 0 && (G = 1e-8);
@@ -13816,23 +13853,23 @@ function requireLottie() {
13816
13853
  }, TextAnimatorProperty.prototype.getMeasures = function(t, e) {
13817
13854
  if (this.lettersChangedFlag = e, !(!this._mdf && !this._isFirstFrame && !e && (!this._hasMaskedPath || !this._pathData.m._mdf))) {
13818
13855
  this._isFirstFrame = !1;
13819
- var r = this._moreOptions.alignment.v, i = this._animatorsData, a = this._textData, h = this.mHelper, d = this._renderType, y = this.renderedLetters.length, M, F, j, q, V = t.l, W, K, Z, re, H, J, G, Q, te, ne, ae, le, he, ye, me;
13856
+ var r = this._moreOptions.alignment.v, i = this._animatorsData, a = this._textData, h = this.mHelper, d = this._renderType, y = this.renderedLetters.length, M, F, j, q, V = t.l, Z, K, W, re, H, J, G, Q, te, ne, ae, le, he, ye, me;
13820
13857
  if (this._hasMaskedPath) {
13821
13858
  if (me = this._pathData.m, !this._pathData.n || this._pathData._mdf) {
13822
13859
  var de = me.v;
13823
- this._pathData.r.v && (de = de.reverse()), W = {
13860
+ this._pathData.r.v && (de = de.reverse()), Z = {
13824
13861
  tLength: 0,
13825
13862
  segments: []
13826
13863
  }, q = de._length - 1;
13827
13864
  var ve;
13828
13865
  for (le = 0, j = 0; j < q; j += 1)
13829
- ve = bez.buildBezierData(de.v[j], de.v[j + 1], [de.o[j][0] - de.v[j][0], de.o[j][1] - de.v[j][1]], [de.i[j + 1][0] - de.v[j + 1][0], de.i[j + 1][1] - de.v[j + 1][1]]), W.tLength += ve.segmentLength, W.segments.push(ve), le += ve.segmentLength;
13830
- j = q, me.v.c && (ve = bez.buildBezierData(de.v[j], de.v[0], [de.o[j][0] - de.v[j][0], de.o[j][1] - de.v[j][1]], [de.i[0][0] - de.v[0][0], de.i[0][1] - de.v[0][1]]), W.tLength += ve.segmentLength, W.segments.push(ve), le += ve.segmentLength), this._pathData.pi = W;
13866
+ ve = bez.buildBezierData(de.v[j], de.v[j + 1], [de.o[j][0] - de.v[j][0], de.o[j][1] - de.v[j][1]], [de.i[j + 1][0] - de.v[j + 1][0], de.i[j + 1][1] - de.v[j + 1][1]]), Z.tLength += ve.segmentLength, Z.segments.push(ve), le += ve.segmentLength;
13867
+ j = q, me.v.c && (ve = bez.buildBezierData(de.v[j], de.v[0], [de.o[j][0] - de.v[j][0], de.o[j][1] - de.v[j][1]], [de.i[0][0] - de.v[0][0], de.i[0][1] - de.v[0][1]]), Z.tLength += ve.segmentLength, Z.segments.push(ve), le += ve.segmentLength), this._pathData.pi = Z;
13831
13868
  }
13832
- if (W = this._pathData.pi, K = this._pathData.f.v, G = 0, J = 1, re = 0, H = !0, ne = W.segments, K < 0 && me.v.c)
13833
- for (W.tLength < Math.abs(K) && (K = -Math.abs(K) % W.tLength), G = ne.length - 1, te = ne[G].points, J = te.length - 1; K < 0; )
13869
+ if (Z = this._pathData.pi, K = this._pathData.f.v, G = 0, J = 1, re = 0, H = !0, ne = Z.segments, K < 0 && me.v.c)
13870
+ for (Z.tLength < Math.abs(K) && (K = -Math.abs(K) % Z.tLength), G = ne.length - 1, te = ne[G].points, J = te.length - 1; K < 0; )
13834
13871
  K += te[J].partialLength, J -= 1, J < 0 && (G -= 1, te = ne[G].points, J = te.length - 1);
13835
- te = ne[G].points, Q = te[J - 1], Z = te[J], ae = Z.partialLength;
13872
+ te = ne[G].points, Q = te[J - 1], W = te[J], ae = W.partialLength;
13836
13873
  }
13837
13874
  q = V.length, M = 0, F = 0;
13838
13875
  var ge = t.finalSize * 1.2 * 0.714, fe = !0, se, ce, ee, ie, ue;
@@ -13855,7 +13892,7 @@ function requireLottie() {
13855
13892
  }
13856
13893
  for (j = 0; j < q; j += 1) {
13857
13894
  if (h.reset(), Ae = 1, V[j].n)
13858
- M = 0, F += t.yOffset, F += fe ? 1 : 0, K = Te, fe = !1, this._hasMaskedPath && (G = _e, J = Pe, te = ne[G].points, Q = te[J - 1], Z = te[J], ae = Z.partialLength, re = 0), Oe = "", Ne = "", De = "", Ve = "", Le = this.defaultPropsArray;
13895
+ M = 0, F += t.yOffset, F += fe ? 1 : 0, K = Te, fe = !1, this._hasMaskedPath && (G = _e, J = Pe, te = ne[G].points, Q = te[J - 1], W = te[J], ae = W.partialLength, re = 0), Oe = "", Ne = "", De = "", Ve = "", Le = this.defaultPropsArray;
13859
13896
  else {
13860
13897
  if (this._hasMaskedPath) {
13861
13898
  if (Me !== V[j].line) {
@@ -13874,7 +13911,7 @@ function requireLottie() {
13874
13911
  for (ee = 0; ee < ie; ee += 1)
13875
13912
  se = i[ee].a, se.p.propType && (ce = i[ee].s, oe = ce.getMult(V[j].anIndexes[ee], a.a[ee].s.totalChars), oe.length ? Re += se.p.v[0] * oe[0] : Re += se.p.v[0] * oe), se.a.propType && (ce = i[ee].s, oe = ce.getMult(V[j].anIndexes[ee], a.a[ee].s.totalChars), oe.length ? Re += se.a.v[0] * oe[0] : Re += se.a.v[0] * oe);
13876
13913
  for (H = !0, this._pathData.a.v && (K = V[0].an * 0.5 + (le - this._pathData.f.v - V[0].an * 0.5 - V[V.length - 1].an * 0.5) * pe / (q - 1), K += this._pathData.f.v); H; )
13877
- re + ae >= K + Re || !te ? (he = (K + Re - re) / Z.partialLength, be = Q.point[0] + (Z.point[0] - Q.point[0]) * he, Ce = Q.point[1] + (Z.point[1] - Q.point[1]) * he, h.translate(-r[0] * V[j].an * 5e-3, -(r[1] * ge) * 0.01), H = !1) : te && (re += Z.partialLength, J += 1, J >= te.length && (J = 0, G += 1, ne[G] ? te = ne[G].points : me.v.c ? (J = 0, G = 0, te = ne[G].points) : (re -= Z.partialLength, te = null)), te && (Q = Z, Z = te[J], ae = Z.partialLength));
13914
+ re + ae >= K + Re || !te ? (he = (K + Re - re) / W.partialLength, be = Q.point[0] + (W.point[0] - Q.point[0]) * he, Ce = Q.point[1] + (W.point[1] - Q.point[1]) * he, h.translate(-r[0] * V[j].an * 5e-3, -(r[1] * ge) * 0.01), H = !1) : te && (re += W.partialLength, J += 1, J >= te.length && (J = 0, G += 1, ne[G] ? te = ne[G].points : me.v.c ? (J = 0, G = 0, te = ne[G].points) : (re -= W.partialLength, te = null)), te && (Q = W, W = te[J], ae = W.partialLength));
13878
13915
  xe = V[j].an / 2 - V[j].add, h.translate(-xe, 0, 0);
13879
13916
  } else
13880
13917
  xe = V[j].an / 2 - V[j].add, h.translate(-xe, 0, 0), h.translate(-r[0] * V[j].an * 5e-3, -r[1] * ge * 0.01, 0);
@@ -13899,9 +13936,9 @@ function requireLottie() {
13899
13936
  se = i[ee].a, se.p.propType && (ce = i[ee].s, oe = ce.getMult(V[j].anIndexes[ee], a.a[ee].s.totalChars), this._hasMaskedPath ? oe.length ? h.translate(0, se.p.v[1] * oe[0], -se.p.v[2] * oe[1]) : h.translate(0, se.p.v[1] * oe, -se.p.v[2] * oe) : oe.length ? h.translate(se.p.v[0] * oe[0], se.p.v[1] * oe[1], -se.p.v[2] * oe[2]) : h.translate(se.p.v[0] * oe, se.p.v[1] * oe, -se.p.v[2] * oe));
13900
13937
  if (t.strokeWidthAnim && (De = ke < 0 ? 0 : ke), t.strokeColorAnim && (je = "rgb(" + Math.round(Ee[0] * 255) + "," + Math.round(Ee[1] * 255) + "," + Math.round(Ee[2] * 255) + ")"), t.fillColorAnim && t.fc && (Ne = "rgb(" + Math.round(we[0] * 255) + "," + Math.round(we[1] * 255) + "," + Math.round(we[2] * 255) + ")"), this._hasMaskedPath) {
13901
13938
  if (h.translate(0, -t.ls), h.translate(0, r[1] * ge * 0.01 + F, 0), this._pathData.p.v) {
13902
- ye = (Z.point[1] - Q.point[1]) / (Z.point[0] - Q.point[0]);
13939
+ ye = (W.point[1] - Q.point[1]) / (W.point[0] - Q.point[0]);
13903
13940
  var ze = Math.atan(ye) * 180 / Math.PI;
13904
- Z.point[0] < Q.point[0] && (ze += 180), h.rotate(-ze * Math.PI / 180);
13941
+ W.point[0] < Q.point[0] && (ze += 180), h.rotate(-ze * Math.PI / 180);
13905
13942
  }
13906
13943
  h.translate(be, Ce, 0), K -= r[0] * V[j].an * 5e-3, V[j + 1] && pe !== V[j + 1].ind && (K += V[j].an / 2, K += t.tr * 1e-3 * t.finalSize);
13907
13944
  } else {
@@ -13992,7 +14029,7 @@ function requireLottie() {
13992
14029
  this.layerElement.setAttribute("aria-label", r.t);
13993
14030
  var d = r.l || [], y = !!this.globalData.fontManager.chars;
13994
14031
  e = d.length;
13995
- var M, F = this.mHelper, j = "", q = this.data.singleShape, V = 0, W = 0, K = !0, Z = r.tr * 1e-3 * r.finalSize;
14032
+ var M, F = this.mHelper, j = "", q = this.data.singleShape, V = 0, Z = 0, K = !0, W = r.tr * 1e-3 * r.finalSize;
13996
14033
  if (q && !y && !r.sz) {
13997
14034
  var re = this.textContainer, H = "start";
13998
14035
  switch (r.j) {
@@ -14006,13 +14043,13 @@ function requireLottie() {
14006
14043
  H = "start";
14007
14044
  break;
14008
14045
  }
14009
- re.setAttribute("text-anchor", H), re.setAttribute("letter-spacing", Z);
14046
+ re.setAttribute("text-anchor", H), re.setAttribute("letter-spacing", W);
14010
14047
  var J = this.buildTextContents(r.finalText);
14011
- for (e = J.length, W = r.ps ? r.ps[1] + r.ascent : 0, t = 0; t < e; t += 1)
14012
- M = this.textSpans[t].span || createNS("tspan"), M.textContent = J[t], M.setAttribute("x", 0), M.setAttribute("y", W), M.style.display = "inherit", re.appendChild(M), this.textSpans[t] || (this.textSpans[t] = {
14048
+ for (e = J.length, Z = r.ps ? r.ps[1] + r.ascent : 0, t = 0; t < e; t += 1)
14049
+ M = this.textSpans[t].span || createNS("tspan"), M.textContent = J[t], M.setAttribute("x", 0), M.setAttribute("y", Z), M.style.display = "inherit", re.appendChild(M), this.textSpans[t] || (this.textSpans[t] = {
14013
14050
  span: null,
14014
14051
  glyph: null
14015
- }), this.textSpans[t].span = M, W += r.finalLineHeight;
14052
+ }), this.textSpans[t].span = M, Z += r.finalLineHeight;
14016
14053
  this.layerElement.appendChild(re);
14017
14054
  } else {
14018
14055
  var G = this.textSpans.length, Q;
@@ -14031,7 +14068,7 @@ function requireLottie() {
14031
14068
  }
14032
14069
  M.style.display = "inherit";
14033
14070
  }
14034
- if (F.reset(), q && (d[t].n && (V = -Z, W += r.yOffset, W += K ? 1 : 0, K = !1), this.applyTextPropertiesToMatrix(r, F, d[t].line, V, W), V += d[t].l || 0, V += Z), y) {
14071
+ if (F.reset(), q && (d[t].n && (V = -W, Z += r.yOffset, Z += K ? 1 : 0, K = !1), this.applyTextPropertiesToMatrix(r, F, d[t].line, V, Z), V += d[t].l || 0, V += W), y) {
14035
14072
  Q = this.globalData.fontManager.getCharData(r.finalText[t], i.fStyle, this.globalData.fontManager.getFontByName(r.f).fFamily);
14036
14073
  var ne;
14037
14074
  if (Q.t === 1)
@@ -14544,7 +14581,7 @@ function requireLottie() {
14544
14581
  for (e = 0; e < r; e += 1)
14545
14582
  t[e].closed = !0;
14546
14583
  }, CVShapeElement.prototype.searchShapes = function(t, e, r, i, a) {
14547
- var h, d = t.length - 1, y, M, F = [], j = [], q, V, W, K = [].concat(a);
14584
+ var h, d = t.length - 1, y, M, F = [], j = [], q, V, Z, K = [].concat(a);
14548
14585
  for (h = d; h >= 0; h -= 1) {
14549
14586
  if (q = this.searchProcessedElement(t[h]), q ? e[h] = r[q - 1] : t[h]._shouldRender = i, t[h].ty === "fl" || t[h].ty === "st" || t[h].ty === "gf" || t[h].ty === "gs")
14550
14587
  q ? e[h].style.closed = !1 : e[h] = this.createStyleElement(t[h], K), F.push(e[h].style);
@@ -14555,7 +14592,7 @@ function requireLottie() {
14555
14592
  for (M = e[h].it.length, y = 0; y < M; y += 1)
14556
14593
  e[h].prevViewData[y] = e[h].it[y];
14557
14594
  this.searchShapes(t[h].it, e[h].it, e[h].prevViewData, i, K);
14558
- } else t[h].ty === "tr" ? (q || (W = this.createTransformElement(t[h]), e[h] = W), K.push(e[h]), this.addTransformToStyleList(e[h])) : t[h].ty === "sh" || t[h].ty === "rc" || t[h].ty === "el" || t[h].ty === "sr" ? q || (e[h] = this.createShapeElement(t[h])) : t[h].ty === "tm" || t[h].ty === "rd" || t[h].ty === "pb" || t[h].ty === "zz" || t[h].ty === "op" ? (q ? (V = e[h], V.closed = !1) : (V = ShapeModifiers.getModifier(t[h].ty), V.init(this, t[h]), e[h] = V, this.shapeModifiers.push(V)), j.push(V)) : t[h].ty === "rp" && (q ? (V = e[h], V.closed = !0) : (V = ShapeModifiers.getModifier(t[h].ty), e[h] = V, V.init(this, t, h, e), this.shapeModifiers.push(V), i = !1), j.push(V));
14595
+ } else t[h].ty === "tr" ? (q || (Z = this.createTransformElement(t[h]), e[h] = Z), K.push(e[h]), this.addTransformToStyleList(e[h])) : t[h].ty === "sh" || t[h].ty === "rc" || t[h].ty === "el" || t[h].ty === "sr" ? q || (e[h] = this.createShapeElement(t[h])) : t[h].ty === "tm" || t[h].ty === "rd" || t[h].ty === "pb" || t[h].ty === "zz" || t[h].ty === "op" ? (q ? (V = e[h], V.closed = !1) : (V = ShapeModifiers.getModifier(t[h].ty), V.init(this, t[h]), e[h] = V, this.shapeModifiers.push(V)), j.push(V)) : t[h].ty === "rp" && (q ? (V = e[h], V.closed = !0) : (V = ShapeModifiers.getModifier(t[h].ty), e[h] = V, V.init(this, t, h, e), this.shapeModifiers.push(V), i = !1), j.push(V));
14559
14596
  this.addProcessedElement(t[h], h + 1);
14560
14597
  }
14561
14598
  for (this.removeTransformFromStyleList(), this.closeStyles(F), d = j.length, h = 0; h < d; h += 1)
@@ -14627,11 +14664,11 @@ function requireLottie() {
14627
14664
  else {
14628
14665
  var M = Math.sqrt(Math.pow(d[0] - y[0], 2) + Math.pow(d[1] - y[1], 2)), F = Math.atan2(y[1] - d[1], y[0] - d[0]), j = e.h.v;
14629
14666
  j >= 1 ? j = 0.99 : j <= -1 && (j = -0.99);
14630
- var q = M * j, V = Math.cos(F + e.a.v) * q + d[0], W = Math.sin(F + e.a.v) * q + d[1];
14631
- a = h.createRadialGradient(V, W, 0, d[0], d[1], M);
14667
+ var q = M * j, V = Math.cos(F + e.a.v) * q + d[0], Z = Math.sin(F + e.a.v) * q + d[1];
14668
+ a = h.createRadialGradient(V, Z, 0, d[0], d[1], M);
14632
14669
  }
14633
- var K, Z = t.g.p, re = e.g.c, H = 1;
14634
- for (K = 0; K < Z; K += 1)
14670
+ var K, W = t.g.p, re = e.g.c, H = 1;
14671
+ for (K = 0; K < W; K += 1)
14635
14672
  e.g._hasOpacity && e.g._collapsable && (H = e.g.o[K * 2 + 1]), a.addColorStop(re[K * 4] / 100, "rgba(" + re[K * 4 + 1] + "," + re[K * 4 + 2] + "," + re[K * 4 + 3] + "," + H + ")");
14636
14673
  i.grd = a;
14637
14674
  }
@@ -14659,15 +14696,15 @@ function requireLottie() {
14659
14696
  t.sc && (r = !0, this.values.stroke = this.buildColor(t.sc), this.values.sWidth = t.sw);
14660
14697
  var i = this.globalData.fontManager.getFontByName(t.f), a, h, d = t.l, y = this.mHelper;
14661
14698
  this.stroke = r, this.values.fValue = t.finalSize + "px " + this.globalData.fontManager.getFontByName(t.f).fFamily, h = t.finalText.length;
14662
- var M, F, j, q, V, W, K, Z, re, H, J = this.data.singleShape, G = t.tr * 1e-3 * t.finalSize, Q = 0, te = 0, ne = !0, ae = 0;
14699
+ var M, F, j, q, V, Z, K, W, re, H, J = this.data.singleShape, G = t.tr * 1e-3 * t.finalSize, Q = 0, te = 0, ne = !0, ae = 0;
14663
14700
  for (a = 0; a < h; a += 1) {
14664
14701
  M = this.globalData.fontManager.getCharData(t.finalText[a], i.fStyle, this.globalData.fontManager.getFontByName(t.f).fFamily), F = M && M.data || {}, y.reset(), J && d[a].n && (Q = -G, te += t.yOffset, te += ne ? 1 : 0, ne = !1), V = F.shapes ? F.shapes[0].it : [], K = V.length, y.scale(t.finalSize / 100, t.finalSize / 100), J && this.applyTextPropertiesToMatrix(t, y, d[a].line, Q, te), re = createSizedArray(K - 1);
14665
14702
  var le = 0;
14666
- for (W = 0; W < K; W += 1)
14667
- if (V[W].ty === "sh") {
14668
- for (q = V[W].ks.k.i.length, Z = V[W].ks.k, H = [], j = 1; j < q; j += 1)
14669
- j === 1 && H.push(y.applyToX(Z.v[0][0], Z.v[0][1], 0), y.applyToY(Z.v[0][0], Z.v[0][1], 0)), H.push(y.applyToX(Z.o[j - 1][0], Z.o[j - 1][1], 0), y.applyToY(Z.o[j - 1][0], Z.o[j - 1][1], 0), y.applyToX(Z.i[j][0], Z.i[j][1], 0), y.applyToY(Z.i[j][0], Z.i[j][1], 0), y.applyToX(Z.v[j][0], Z.v[j][1], 0), y.applyToY(Z.v[j][0], Z.v[j][1], 0));
14670
- H.push(y.applyToX(Z.o[j - 1][0], Z.o[j - 1][1], 0), y.applyToY(Z.o[j - 1][0], Z.o[j - 1][1], 0), y.applyToX(Z.i[0][0], Z.i[0][1], 0), y.applyToY(Z.i[0][0], Z.i[0][1], 0), y.applyToX(Z.v[0][0], Z.v[0][1], 0), y.applyToY(Z.v[0][0], Z.v[0][1], 0)), re[le] = H, le += 1;
14703
+ for (Z = 0; Z < K; Z += 1)
14704
+ if (V[Z].ty === "sh") {
14705
+ for (q = V[Z].ks.k.i.length, W = V[Z].ks.k, H = [], j = 1; j < q; j += 1)
14706
+ j === 1 && H.push(y.applyToX(W.v[0][0], W.v[0][1], 0), y.applyToY(W.v[0][0], W.v[0][1], 0)), H.push(y.applyToX(W.o[j - 1][0], W.o[j - 1][1], 0), y.applyToY(W.o[j - 1][0], W.o[j - 1][1], 0), y.applyToX(W.i[j][0], W.i[j][1], 0), y.applyToY(W.i[j][0], W.i[j][1], 0), y.applyToX(W.v[j][0], W.v[j][1], 0), y.applyToY(W.v[j][0], W.v[j][1], 0));
14707
+ H.push(y.applyToX(W.o[j - 1][0], W.o[j - 1][1], 0), y.applyToY(W.o[j - 1][0], W.o[j - 1][1], 0), y.applyToX(W.i[0][0], W.i[0][1], 0), y.applyToY(W.i[0][0], W.i[0][1], 0), y.applyToX(W.v[0][0], W.v[0][1], 0), y.applyToY(W.v[0][0], W.v[0][1], 0)), re[le] = H, le += 1;
14671
14708
  }
14672
14709
  J && (Q += d[a].l, Q += G), this.textSpans[ae] ? this.textSpans[ae].elem = re : this.textSpans[ae] = {
14673
14710
  elem: re
@@ -14679,20 +14716,20 @@ function requireLottie() {
14679
14716
  t.font = this.values.fValue, this.globalData.renderer.ctxLineCap("butt"), this.globalData.renderer.ctxLineJoin("miter"), this.globalData.renderer.ctxMiterLimit(4), this.data.singleShape || this.textAnimator.getMeasures(this.textProperty.currentData, this.lettersChangedFlag);
14680
14717
  var e, r, i, a, h, d, y = this.textAnimator.renderedLetters, M = this.textProperty.currentData.l;
14681
14718
  r = M.length;
14682
- var F, j = null, q = null, V = null, W, K, Z = this.globalData.renderer;
14719
+ var F, j = null, q = null, V = null, Z, K, W = this.globalData.renderer;
14683
14720
  for (e = 0; e < r; e += 1)
14684
14721
  if (!M[e].n) {
14685
- if (F = y[e], F && (Z.save(), Z.ctxTransform(F.p), Z.ctxOpacity(F.o)), this.fill) {
14686
- for (F && F.fc ? j !== F.fc && (Z.ctxFillStyle(F.fc), j = F.fc) : j !== this.values.fill && (j = this.values.fill, Z.ctxFillStyle(this.values.fill)), W = this.textSpans[e].elem, a = W.length, this.globalData.canvasContext.beginPath(), i = 0; i < a; i += 1)
14687
- for (K = W[i], d = K.length, this.globalData.canvasContext.moveTo(K[0], K[1]), h = 2; h < d; h += 6)
14722
+ if (F = y[e], F && (W.save(), W.ctxTransform(F.p), W.ctxOpacity(F.o)), this.fill) {
14723
+ for (F && F.fc ? j !== F.fc && (W.ctxFillStyle(F.fc), j = F.fc) : j !== this.values.fill && (j = this.values.fill, W.ctxFillStyle(this.values.fill)), Z = this.textSpans[e].elem, a = Z.length, this.globalData.canvasContext.beginPath(), i = 0; i < a; i += 1)
14724
+ for (K = Z[i], d = K.length, this.globalData.canvasContext.moveTo(K[0], K[1]), h = 2; h < d; h += 6)
14688
14725
  this.globalData.canvasContext.bezierCurveTo(K[h], K[h + 1], K[h + 2], K[h + 3], K[h + 4], K[h + 5]);
14689
- this.globalData.canvasContext.closePath(), Z.ctxFill();
14726
+ this.globalData.canvasContext.closePath(), W.ctxFill();
14690
14727
  }
14691
14728
  if (this.stroke) {
14692
- for (F && F.sw ? V !== F.sw && (V = F.sw, Z.ctxLineWidth(F.sw)) : V !== this.values.sWidth && (V = this.values.sWidth, Z.ctxLineWidth(this.values.sWidth)), F && F.sc ? q !== F.sc && (q = F.sc, Z.ctxStrokeStyle(F.sc)) : q !== this.values.stroke && (q = this.values.stroke, Z.ctxStrokeStyle(this.values.stroke)), W = this.textSpans[e].elem, a = W.length, this.globalData.canvasContext.beginPath(), i = 0; i < a; i += 1)
14693
- for (K = W[i], d = K.length, this.globalData.canvasContext.moveTo(K[0], K[1]), h = 2; h < d; h += 6)
14729
+ for (F && F.sw ? V !== F.sw && (V = F.sw, W.ctxLineWidth(F.sw)) : V !== this.values.sWidth && (V = this.values.sWidth, W.ctxLineWidth(this.values.sWidth)), F && F.sc ? q !== F.sc && (q = F.sc, W.ctxStrokeStyle(F.sc)) : q !== this.values.stroke && (q = this.values.stroke, W.ctxStrokeStyle(this.values.stroke)), Z = this.textSpans[e].elem, a = Z.length, this.globalData.canvasContext.beginPath(), i = 0; i < a; i += 1)
14730
+ for (K = Z[i], d = K.length, this.globalData.canvasContext.moveTo(K[0], K[1]), h = 2; h < d; h += 6)
14694
14731
  this.globalData.canvasContext.bezierCurveTo(K[h], K[h + 1], K[h + 2], K[h + 3], K[h + 4], K[h + 5]);
14695
- this.globalData.canvasContext.closePath(), Z.ctxStroke();
14732
+ this.globalData.canvasContext.closePath(), W.ctxStroke();
14696
14733
  }
14697
14734
  F && this.globalData.renderer.restore();
14698
14735
  }
@@ -15091,11 +15128,11 @@ function requireLottie() {
15091
15128
  }
15092
15129
  var d, y, M = t.l;
15093
15130
  y = M.length;
15094
- var F, j, q, V = this.mHelper, W, K = "", Z = 0;
15131
+ var F, j, q, V = this.mHelper, Z, K = "", W = 0;
15095
15132
  for (d = 0; d < y; d += 1) {
15096
- if (this.globalData.fontManager.chars ? (this.textPaths[Z] ? F = this.textPaths[Z] : (F = createNS("path"), F.setAttribute("stroke-linecap", lineCapEnum[1]), F.setAttribute("stroke-linejoin", lineJoinEnum[2]), F.setAttribute("stroke-miterlimit", "4")), this.isMasked || (this.textSpans[Z] ? (j = this.textSpans[Z], q = j.children[0]) : (j = createTag("div"), j.style.lineHeight = 0, q = createNS("svg"), q.appendChild(F), styleDiv(j)))) : this.isMasked ? F = this.textPaths[Z] ? this.textPaths[Z] : createNS("text") : this.textSpans[Z] ? (j = this.textSpans[Z], F = this.textPaths[Z]) : (j = createTag("span"), styleDiv(j), F = createTag("span"), styleDiv(F), j.appendChild(F)), this.globalData.fontManager.chars) {
15133
+ if (this.globalData.fontManager.chars ? (this.textPaths[W] ? F = this.textPaths[W] : (F = createNS("path"), F.setAttribute("stroke-linecap", lineCapEnum[1]), F.setAttribute("stroke-linejoin", lineJoinEnum[2]), F.setAttribute("stroke-miterlimit", "4")), this.isMasked || (this.textSpans[W] ? (j = this.textSpans[W], q = j.children[0]) : (j = createTag("div"), j.style.lineHeight = 0, q = createNS("svg"), q.appendChild(F), styleDiv(j)))) : this.isMasked ? F = this.textPaths[W] ? this.textPaths[W] : createNS("text") : this.textSpans[W] ? (j = this.textSpans[W], F = this.textPaths[W]) : (j = createTag("span"), styleDiv(j), F = createTag("span"), styleDiv(F), j.appendChild(F)), this.globalData.fontManager.chars) {
15097
15134
  var re = this.globalData.fontManager.getCharData(t.finalText[d], i.fStyle, this.globalData.fontManager.getFontByName(t.f).fFamily), H;
15098
- if (re ? H = re.data : H = null, V.reset(), H && H.shapes && H.shapes.length && (W = H.shapes[0].it, V.scale(t.finalSize / 100, t.finalSize / 100), K = this.createPathShape(V, W), F.setAttribute("d", K)), this.isMasked)
15135
+ if (re ? H = re.data : H = null, V.reset(), H && H.shapes && H.shapes.length && (Z = H.shapes[0].it, V.scale(t.finalSize / 100, t.finalSize / 100), K = this.createPathShape(V, Z), F.setAttribute("d", K)), this.isMasked)
15099
15136
  this.innerElem.appendChild(F);
15100
15137
  else {
15101
15138
  if (this.innerElem.appendChild(j), H && H.shapes) {
@@ -15115,10 +15152,10 @@ function requireLottie() {
15115
15152
  var te = F.style, ne = "translate3d(0," + -t.finalSize / 1.2 + "px,0)";
15116
15153
  te.transform = ne, te.webkitTransform = ne;
15117
15154
  }
15118
- this.isMasked ? this.textSpans[Z] = F : this.textSpans[Z] = j, this.textSpans[Z].style.display = "block", this.textPaths[Z] = F, Z += 1;
15155
+ this.isMasked ? this.textSpans[W] = F : this.textSpans[W] = j, this.textSpans[W].style.display = "block", this.textPaths[W] = F, W += 1;
15119
15156
  }
15120
- for (; Z < this.textSpans.length; )
15121
- this.textSpans[Z].style.display = "none", Z += 1;
15157
+ for (; W < this.textSpans.length; )
15158
+ this.textSpans[W].style.display = "none", W += 1;
15122
15159
  }, HTextElement.prototype.renderInnerContent = function() {
15123
15160
  this.validateText();
15124
15161
  var t;
@@ -15192,12 +15229,12 @@ function requireLottie() {
15192
15229
  var j = !this._prevMat.equals(this.mat);
15193
15230
  if ((j || this.pe._mdf) && this.comp.threeDElements) {
15194
15231
  r = this.comp.threeDElements.length;
15195
- var q, V, W;
15232
+ var q, V, Z;
15196
15233
  for (e = 0; e < r; e += 1)
15197
15234
  if (q = this.comp.threeDElements[e], q.type === "3d") {
15198
15235
  if (j) {
15199
15236
  var K = this.mat.toCSS();
15200
- W = q.container.style, W.transform = K, W.webkitTransform = K;
15237
+ Z = q.container.style, Z.transform = K, Z.webkitTransform = K;
15201
15238
  }
15202
15239
  this.pe._mdf && (V = q.perspectiveElem.style, V.perspective = this.pe.v + "px", V.webkitPerspective = this.pe.v + "px");
15203
15240
  }
@@ -15413,7 +15450,7 @@ function requireLottie() {
15413
15450
  Q = Q === !0 ? {
15414
15451
  entropy: !0
15415
15452
  } : Q || {};
15416
- var ae = re(Z(Q.entropy ? [G, J(t)] : G === null ? H() : G, 3), ne), le = new W(ne), he = function() {
15453
+ var ae = re(W(Q.entropy ? [G, J(t)] : G === null ? H() : G, 3), ne), le = new Z(ne), he = function() {
15417
15454
  for (var me = le.g(a), de = y, ve = 0; me < M; )
15418
15455
  me = (me + ve) * i, de *= i, ve = le.g(1);
15419
15456
  for (; me >= F; )
@@ -15431,7 +15468,7 @@ function requireLottie() {
15431
15468
  })(he, ae, "global" in Q ? Q.global : this == e, Q.state);
15432
15469
  }
15433
15470
  e["seed" + d] = V;
15434
- function W(G) {
15471
+ function Z(G) {
15435
15472
  var Q, te = G.length, ne = this, ae = 0, le = ne.i = ne.j = 0, he = ne.S = [];
15436
15473
  for (te || (G = [te++]); ae < i; )
15437
15474
  he[ae] = ae++;
@@ -15446,12 +15483,12 @@ function requireLottie() {
15446
15483
  function K(G, Q) {
15447
15484
  return Q.i = G.i, Q.j = G.j, Q.S = G.S.slice(), Q;
15448
15485
  }
15449
- function Z(G, Q) {
15486
+ function W(G, Q) {
15450
15487
  var te = [], ne = _typeof$2(G), ae;
15451
15488
  if (Q && ne == "object")
15452
15489
  for (ae in G)
15453
15490
  try {
15454
- te.push(Z(G[ae], Q - 1));
15491
+ te.push(W(G[ae], Q - 1));
15455
15492
  } catch {
15456
15493
  }
15457
15494
  return te.length ? te : ne == "string" ? G : G + "\0";
@@ -16040,18 +16077,18 @@ function requireLottie() {
16040
16077
  }
16041
16078
  return function(F) {
16042
16079
  var j;
16043
- function q(Z) {
16044
- W.mask = new MaskManagerInterface(Z, F);
16080
+ function q(W) {
16081
+ Z.mask = new MaskManagerInterface(W, F);
16045
16082
  }
16046
- function V(Z) {
16047
- W.effect = Z;
16083
+ function V(W) {
16084
+ Z.effect = W;
16048
16085
  }
16049
- function W(Z) {
16050
- switch (Z) {
16086
+ function Z(W) {
16087
+ switch (W) {
16051
16088
  case "ADBE Root Vectors Group":
16052
16089
  case "Contents":
16053
16090
  case 2:
16054
- return W.shapeInterface;
16091
+ return Z.shapeInterface;
16055
16092
  case 1:
16056
16093
  case 6:
16057
16094
  case "Transform":
@@ -16062,16 +16099,16 @@ function requireLottie() {
16062
16099
  case "ADBE Effect Parade":
16063
16100
  case "effects":
16064
16101
  case "Effects":
16065
- return W.effect;
16102
+ return Z.effect;
16066
16103
  case "ADBE Text Properties":
16067
- return W.textInterface;
16104
+ return Z.textInterface;
16068
16105
  default:
16069
16106
  return null;
16070
16107
  }
16071
16108
  }
16072
- W.getMatrix = t, W.invertPoint = d, W.applyPoint = h, W.toWorld = r, W.toWorldVec = e, W.fromWorld = a, W.fromWorldVec = i, W.toComp = r, W.fromComp = y, W.sampleImage = M, W.sourceRectAtTime = F.sourceRectAtTime.bind(F), W._elem = F, j = TransformExpressionInterface(F.finalTransform.mProp);
16109
+ Z.getMatrix = t, Z.invertPoint = d, Z.applyPoint = h, Z.toWorld = r, Z.toWorldVec = e, Z.fromWorld = a, Z.fromWorldVec = i, Z.toComp = r, Z.fromComp = y, Z.sampleImage = M, Z.sourceRectAtTime = F.sourceRectAtTime.bind(F), Z._elem = F, j = TransformExpressionInterface(F.finalTransform.mProp);
16073
16110
  var K = getDescriptor(j, "anchorPoint");
16074
- return Object.defineProperties(W, {
16111
+ return Object.defineProperties(Z, {
16075
16112
  hasParent: {
16076
16113
  get: function() {
16077
16114
  return F.hierarchy.length;
@@ -16098,7 +16135,7 @@ function requireLottie() {
16098
16135
  return F.isInRange;
16099
16136
  }
16100
16137
  }
16101
- }), W.startTime = F.data.st, W.index = F.data.ind, W.source = F.data.refId, W.height = F.data.ty === 0 ? F.data.h : 100, W.width = F.data.ty === 0 ? F.data.w : 100, W.inPoint = F.data.ip / F.comp.globalData.frameRate, W.outPoint = F.data.op / F.comp.globalData.frameRate, W._name = F.data.nm, W.registerMaskInterface = q, W.registerEffectsInterface = V, W;
16138
+ }), Z.startTime = F.data.st, Z.index = F.data.ind, Z.source = F.data.refId, Z.height = F.data.ty === 0 ? F.data.h : 100, Z.width = F.data.ty === 0 ? F.data.w : 100, Z.inPoint = F.data.ip / F.comp.globalData.frameRate, Z.outPoint = F.data.op / F.comp.globalData.frameRate, Z._name = F.data.nm, Z.registerMaskInterface = q, Z.registerEffectsInterface = V, Z;
16102
16139
  };
16103
16140
  })(), propertyGroupFactory = /* @__PURE__ */ (function() {
16104
16141
  return function(t, e) {
@@ -16125,9 +16162,9 @@ function requireLottie() {
16125
16162
  var d = [], y = a.data.ef, M, F = a.effectsManager.effectElements.length;
16126
16163
  for (M = 0; M < F; M += 1)
16127
16164
  d.push(r(y[M], a.effectsManager.effectElements[M], h, a));
16128
- var j = a.data.ef || [], q = function(W) {
16165
+ var j = a.data.ef || [], q = function(Z) {
16129
16166
  for (M = 0, F = j.length; M < F; ) {
16130
- if (W === j[M].nm || W === j[M].mn || W === j[M].ix)
16167
+ if (Z === j[M].nm || Z === j[M].mn || Z === j[M].ix)
16131
16168
  return d[M];
16132
16169
  M += 1;
16133
16170
  }
@@ -16142,11 +16179,11 @@ function requireLottie() {
16142
16179
  return null;
16143
16180
  }
16144
16181
  function r(a, h, d, y) {
16145
- function M(W) {
16146
- for (var K = a.ef, Z = 0, re = K.length; Z < re; ) {
16147
- if (W === K[Z].nm || W === K[Z].mn || W === K[Z].ix)
16148
- return K[Z].ty === 5 ? j[Z] : j[Z]();
16149
- Z += 1;
16182
+ function M(Z) {
16183
+ for (var K = a.ef, W = 0, re = K.length; W < re; ) {
16184
+ if (Z === K[W].nm || Z === K[W].mn || Z === K[W].ix)
16185
+ return K[W].ty === 5 ? j[W] : j[W]();
16186
+ W += 1;
16150
16187
  }
16151
16188
  throw new Error();
16152
16189
  }
@@ -16215,13 +16252,13 @@ function requireLottie() {
16215
16252
  }), h;
16216
16253
  };
16217
16254
  })(), ShapeExpressionInterface = /* @__PURE__ */ (function() {
16218
- function t(K, Z, re) {
16255
+ function t(K, W, re) {
16219
16256
  var H = [], J, G = K ? K.length : 0;
16220
16257
  for (J = 0; J < G; J += 1)
16221
- K[J].ty === "gr" ? H.push(r(K[J], Z[J], re)) : K[J].ty === "fl" ? H.push(i(K[J], Z[J], re)) : K[J].ty === "st" ? H.push(d(K[J], Z[J], re)) : K[J].ty === "tm" ? H.push(y(K[J], Z[J], re)) : K[J].ty === "tr" || (K[J].ty === "el" ? H.push(F(K[J], Z[J], re)) : K[J].ty === "sr" ? H.push(j(K[J], Z[J], re)) : K[J].ty === "sh" ? H.push(ShapePathInterface(K[J], Z[J], re)) : K[J].ty === "rc" ? H.push(q(K[J], Z[J], re)) : K[J].ty === "rd" ? H.push(V(K[J], Z[J], re)) : K[J].ty === "rp" ? H.push(W(K[J], Z[J], re)) : K[J].ty === "gf" ? H.push(a(K[J], Z[J], re)) : H.push(h(K[J], Z[J])));
16258
+ K[J].ty === "gr" ? H.push(r(K[J], W[J], re)) : K[J].ty === "fl" ? H.push(i(K[J], W[J], re)) : K[J].ty === "st" ? H.push(d(K[J], W[J], re)) : K[J].ty === "tm" ? H.push(y(K[J], W[J], re)) : K[J].ty === "tr" || (K[J].ty === "el" ? H.push(F(K[J], W[J], re)) : K[J].ty === "sr" ? H.push(j(K[J], W[J], re)) : K[J].ty === "sh" ? H.push(ShapePathInterface(K[J], W[J], re)) : K[J].ty === "rc" ? H.push(q(K[J], W[J], re)) : K[J].ty === "rd" ? H.push(V(K[J], W[J], re)) : K[J].ty === "rp" ? H.push(Z(K[J], W[J], re)) : K[J].ty === "gf" ? H.push(a(K[J], W[J], re)) : H.push(h(K[J], W[J])));
16222
16259
  return H;
16223
16260
  }
16224
- function e(K, Z, re) {
16261
+ function e(K, W, re) {
16225
16262
  var H, J = function(te) {
16226
16263
  for (var ne = 0, ae = H.length; ne < ae; ) {
16227
16264
  if (H[ne]._name === te || H[ne].mn === te || H[ne].propertyIndex === te || H[ne].ix === te || H[ne].ind === te)
@@ -16230,11 +16267,11 @@ function requireLottie() {
16230
16267
  }
16231
16268
  return typeof te == "number" ? H[te - 1] : null;
16232
16269
  };
16233
- J.propertyGroup = propertyGroupFactory(J, re), H = t(K.it, Z.it, J.propertyGroup), J.numProperties = H.length;
16234
- var G = M(K.it[K.it.length - 1], Z.it[Z.it.length - 1], J.propertyGroup);
16270
+ J.propertyGroup = propertyGroupFactory(J, re), H = t(K.it, W.it, J.propertyGroup), J.numProperties = H.length;
16271
+ var G = M(K.it[K.it.length - 1], W.it[W.it.length - 1], J.propertyGroup);
16235
16272
  return J.transform = G, J.propertyIndex = K.cix, J._name = K.nm, J;
16236
16273
  }
16237
- function r(K, Z, re) {
16274
+ function r(K, W, re) {
16238
16275
  var H = function(te) {
16239
16276
  switch (te) {
16240
16277
  case "ADBE Vectors Group":
@@ -16249,23 +16286,23 @@ function requireLottie() {
16249
16286
  }
16250
16287
  };
16251
16288
  H.propertyGroup = propertyGroupFactory(H, re);
16252
- var J = e(K, Z, H.propertyGroup), G = M(K.it[K.it.length - 1], Z.it[Z.it.length - 1], H.propertyGroup);
16289
+ var J = e(K, W, H.propertyGroup), G = M(K.it[K.it.length - 1], W.it[W.it.length - 1], H.propertyGroup);
16253
16290
  return H.content = J, H.transform = G, Object.defineProperty(H, "_name", {
16254
16291
  get: function() {
16255
16292
  return K.nm;
16256
16293
  }
16257
16294
  }), H.numProperties = K.np, H.propertyIndex = K.ix, H.nm = K.nm, H.mn = K.mn, H;
16258
16295
  }
16259
- function i(K, Z, re) {
16296
+ function i(K, W, re) {
16260
16297
  function H(J) {
16261
16298
  return J === "Color" || J === "color" ? H.color : J === "Opacity" || J === "opacity" ? H.opacity : null;
16262
16299
  }
16263
16300
  return Object.defineProperties(H, {
16264
16301
  color: {
16265
- get: ExpressionPropertyInterface(Z.c)
16302
+ get: ExpressionPropertyInterface(W.c)
16266
16303
  },
16267
16304
  opacity: {
16268
- get: ExpressionPropertyInterface(Z.o)
16305
+ get: ExpressionPropertyInterface(W.o)
16269
16306
  },
16270
16307
  _name: {
16271
16308
  value: K.nm
@@ -16273,21 +16310,21 @@ function requireLottie() {
16273
16310
  mn: {
16274
16311
  value: K.mn
16275
16312
  }
16276
- }), Z.c.setGroupProperty(PropertyInterface("Color", re)), Z.o.setGroupProperty(PropertyInterface("Opacity", re)), H;
16313
+ }), W.c.setGroupProperty(PropertyInterface("Color", re)), W.o.setGroupProperty(PropertyInterface("Opacity", re)), H;
16277
16314
  }
16278
- function a(K, Z, re) {
16315
+ function a(K, W, re) {
16279
16316
  function H(J) {
16280
16317
  return J === "Start Point" || J === "start point" ? H.startPoint : J === "End Point" || J === "end point" ? H.endPoint : J === "Opacity" || J === "opacity" ? H.opacity : null;
16281
16318
  }
16282
16319
  return Object.defineProperties(H, {
16283
16320
  startPoint: {
16284
- get: ExpressionPropertyInterface(Z.s)
16321
+ get: ExpressionPropertyInterface(W.s)
16285
16322
  },
16286
16323
  endPoint: {
16287
- get: ExpressionPropertyInterface(Z.e)
16324
+ get: ExpressionPropertyInterface(W.e)
16288
16325
  },
16289
16326
  opacity: {
16290
- get: ExpressionPropertyInterface(Z.o)
16327
+ get: ExpressionPropertyInterface(W.o)
16291
16328
  },
16292
16329
  type: {
16293
16330
  get: function() {
@@ -16300,7 +16337,7 @@ function requireLottie() {
16300
16337
  mn: {
16301
16338
  value: K.mn
16302
16339
  }
16303
- }), Z.s.setGroupProperty(PropertyInterface("Start Point", re)), Z.e.setGroupProperty(PropertyInterface("End Point", re)), Z.o.setGroupProperty(PropertyInterface("Opacity", re)), H;
16340
+ }), W.s.setGroupProperty(PropertyInterface("Start Point", re)), W.e.setGroupProperty(PropertyInterface("End Point", re)), W.o.setGroupProperty(PropertyInterface("Opacity", re)), H;
16304
16341
  }
16305
16342
  function h() {
16306
16343
  function K() {
@@ -16308,28 +16345,28 @@ function requireLottie() {
16308
16345
  }
16309
16346
  return K;
16310
16347
  }
16311
- function d(K, Z, re) {
16348
+ function d(K, W, re) {
16312
16349
  var H = propertyGroupFactory(ae, re), J = propertyGroupFactory(ne, H);
16313
16350
  function G(le) {
16314
16351
  Object.defineProperty(ne, K.d[le].nm, {
16315
- get: ExpressionPropertyInterface(Z.d.dataProps[le].p)
16352
+ get: ExpressionPropertyInterface(W.d.dataProps[le].p)
16316
16353
  });
16317
16354
  }
16318
16355
  var Q, te = K.d ? K.d.length : 0, ne = {};
16319
16356
  for (Q = 0; Q < te; Q += 1)
16320
- G(Q), Z.d.dataProps[Q].p.setGroupProperty(J);
16357
+ G(Q), W.d.dataProps[Q].p.setGroupProperty(J);
16321
16358
  function ae(le) {
16322
16359
  return le === "Color" || le === "color" ? ae.color : le === "Opacity" || le === "opacity" ? ae.opacity : le === "Stroke Width" || le === "stroke width" ? ae.strokeWidth : null;
16323
16360
  }
16324
16361
  return Object.defineProperties(ae, {
16325
16362
  color: {
16326
- get: ExpressionPropertyInterface(Z.c)
16363
+ get: ExpressionPropertyInterface(W.c)
16327
16364
  },
16328
16365
  opacity: {
16329
- get: ExpressionPropertyInterface(Z.o)
16366
+ get: ExpressionPropertyInterface(W.o)
16330
16367
  },
16331
16368
  strokeWidth: {
16332
- get: ExpressionPropertyInterface(Z.w)
16369
+ get: ExpressionPropertyInterface(W.w)
16333
16370
  },
16334
16371
  dash: {
16335
16372
  get: function() {
@@ -16342,67 +16379,67 @@ function requireLottie() {
16342
16379
  mn: {
16343
16380
  value: K.mn
16344
16381
  }
16345
- }), Z.c.setGroupProperty(PropertyInterface("Color", H)), Z.o.setGroupProperty(PropertyInterface("Opacity", H)), Z.w.setGroupProperty(PropertyInterface("Stroke Width", H)), ae;
16382
+ }), W.c.setGroupProperty(PropertyInterface("Color", H)), W.o.setGroupProperty(PropertyInterface("Opacity", H)), W.w.setGroupProperty(PropertyInterface("Stroke Width", H)), ae;
16346
16383
  }
16347
- function y(K, Z, re) {
16384
+ function y(K, W, re) {
16348
16385
  function H(G) {
16349
16386
  return G === K.e.ix || G === "End" || G === "end" ? H.end : G === K.s.ix ? H.start : G === K.o.ix ? H.offset : null;
16350
16387
  }
16351
16388
  var J = propertyGroupFactory(H, re);
16352
- return H.propertyIndex = K.ix, Z.s.setGroupProperty(PropertyInterface("Start", J)), Z.e.setGroupProperty(PropertyInterface("End", J)), Z.o.setGroupProperty(PropertyInterface("Offset", J)), H.propertyIndex = K.ix, H.propertyGroup = re, Object.defineProperties(H, {
16389
+ return H.propertyIndex = K.ix, W.s.setGroupProperty(PropertyInterface("Start", J)), W.e.setGroupProperty(PropertyInterface("End", J)), W.o.setGroupProperty(PropertyInterface("Offset", J)), H.propertyIndex = K.ix, H.propertyGroup = re, Object.defineProperties(H, {
16353
16390
  start: {
16354
- get: ExpressionPropertyInterface(Z.s)
16391
+ get: ExpressionPropertyInterface(W.s)
16355
16392
  },
16356
16393
  end: {
16357
- get: ExpressionPropertyInterface(Z.e)
16394
+ get: ExpressionPropertyInterface(W.e)
16358
16395
  },
16359
16396
  offset: {
16360
- get: ExpressionPropertyInterface(Z.o)
16397
+ get: ExpressionPropertyInterface(W.o)
16361
16398
  },
16362
16399
  _name: {
16363
16400
  value: K.nm
16364
16401
  }
16365
16402
  }), H.mn = K.mn, H;
16366
16403
  }
16367
- function M(K, Z, re) {
16404
+ function M(K, W, re) {
16368
16405
  function H(G) {
16369
16406
  return K.a.ix === G || G === "Anchor Point" ? H.anchorPoint : K.o.ix === G || G === "Opacity" ? H.opacity : K.p.ix === G || G === "Position" ? H.position : K.r.ix === G || G === "Rotation" || G === "ADBE Vector Rotation" ? H.rotation : K.s.ix === G || G === "Scale" ? H.scale : K.sk && K.sk.ix === G || G === "Skew" ? H.skew : K.sa && K.sa.ix === G || G === "Skew Axis" ? H.skewAxis : null;
16370
16407
  }
16371
16408
  var J = propertyGroupFactory(H, re);
16372
- return Z.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity", J)), Z.transform.mProps.p.setGroupProperty(PropertyInterface("Position", J)), Z.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point", J)), Z.transform.mProps.s.setGroupProperty(PropertyInterface("Scale", J)), Z.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation", J)), Z.transform.mProps.sk && (Z.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew", J)), Z.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle", J))), Z.transform.op.setGroupProperty(PropertyInterface("Opacity", J)), Object.defineProperties(H, {
16409
+ return W.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity", J)), W.transform.mProps.p.setGroupProperty(PropertyInterface("Position", J)), W.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point", J)), W.transform.mProps.s.setGroupProperty(PropertyInterface("Scale", J)), W.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation", J)), W.transform.mProps.sk && (W.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew", J)), W.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle", J))), W.transform.op.setGroupProperty(PropertyInterface("Opacity", J)), Object.defineProperties(H, {
16373
16410
  opacity: {
16374
- get: ExpressionPropertyInterface(Z.transform.mProps.o)
16411
+ get: ExpressionPropertyInterface(W.transform.mProps.o)
16375
16412
  },
16376
16413
  position: {
16377
- get: ExpressionPropertyInterface(Z.transform.mProps.p)
16414
+ get: ExpressionPropertyInterface(W.transform.mProps.p)
16378
16415
  },
16379
16416
  anchorPoint: {
16380
- get: ExpressionPropertyInterface(Z.transform.mProps.a)
16417
+ get: ExpressionPropertyInterface(W.transform.mProps.a)
16381
16418
  },
16382
16419
  scale: {
16383
- get: ExpressionPropertyInterface(Z.transform.mProps.s)
16420
+ get: ExpressionPropertyInterface(W.transform.mProps.s)
16384
16421
  },
16385
16422
  rotation: {
16386
- get: ExpressionPropertyInterface(Z.transform.mProps.r)
16423
+ get: ExpressionPropertyInterface(W.transform.mProps.r)
16387
16424
  },
16388
16425
  skew: {
16389
- get: ExpressionPropertyInterface(Z.transform.mProps.sk)
16426
+ get: ExpressionPropertyInterface(W.transform.mProps.sk)
16390
16427
  },
16391
16428
  skewAxis: {
16392
- get: ExpressionPropertyInterface(Z.transform.mProps.sa)
16429
+ get: ExpressionPropertyInterface(W.transform.mProps.sa)
16393
16430
  },
16394
16431
  _name: {
16395
16432
  value: K.nm
16396
16433
  }
16397
16434
  }), H.ty = "tr", H.mn = K.mn, H.propertyGroup = re, H;
16398
16435
  }
16399
- function F(K, Z, re) {
16436
+ function F(K, W, re) {
16400
16437
  function H(Q) {
16401
16438
  return K.p.ix === Q ? H.position : K.s.ix === Q ? H.size : null;
16402
16439
  }
16403
16440
  var J = propertyGroupFactory(H, re);
16404
16441
  H.propertyIndex = K.ix;
16405
- var G = Z.sh.ty === "tm" ? Z.sh.prop : Z.sh;
16442
+ var G = W.sh.ty === "tm" ? W.sh.prop : W.sh;
16406
16443
  return G.s.setGroupProperty(PropertyInterface("Size", J)), G.p.setGroupProperty(PropertyInterface("Position", J)), Object.defineProperties(H, {
16407
16444
  size: {
16408
16445
  get: ExpressionPropertyInterface(G.s)
@@ -16415,11 +16452,11 @@ function requireLottie() {
16415
16452
  }
16416
16453
  }), H.mn = K.mn, H;
16417
16454
  }
16418
- function j(K, Z, re) {
16455
+ function j(K, W, re) {
16419
16456
  function H(Q) {
16420
16457
  return K.p.ix === Q ? H.position : K.r.ix === Q ? H.rotation : K.pt.ix === Q ? H.points : K.or.ix === Q || Q === "ADBE Vector Star Outer Radius" ? H.outerRadius : K.os.ix === Q ? H.outerRoundness : K.ir && (K.ir.ix === Q || Q === "ADBE Vector Star Inner Radius") ? H.innerRadius : K.is && K.is.ix === Q ? H.innerRoundness : null;
16421
16458
  }
16422
- var J = propertyGroupFactory(H, re), G = Z.sh.ty === "tm" ? Z.sh.prop : Z.sh;
16459
+ var J = propertyGroupFactory(H, re), G = W.sh.ty === "tm" ? W.sh.prop : W.sh;
16423
16460
  return H.propertyIndex = K.ix, G.or.setGroupProperty(PropertyInterface("Outer Radius", J)), G.os.setGroupProperty(PropertyInterface("Outer Roundness", J)), G.pt.setGroupProperty(PropertyInterface("Points", J)), G.p.setGroupProperty(PropertyInterface("Position", J)), G.r.setGroupProperty(PropertyInterface("Rotation", J)), K.ir && (G.ir.setGroupProperty(PropertyInterface("Inner Radius", J)), G.is.setGroupProperty(PropertyInterface("Inner Roundness", J))), Object.defineProperties(H, {
16424
16461
  position: {
16425
16462
  get: ExpressionPropertyInterface(G.p)
@@ -16447,11 +16484,11 @@ function requireLottie() {
16447
16484
  }
16448
16485
  }), H.mn = K.mn, H;
16449
16486
  }
16450
- function q(K, Z, re) {
16487
+ function q(K, W, re) {
16451
16488
  function H(Q) {
16452
16489
  return K.p.ix === Q ? H.position : K.r.ix === Q ? H.roundness : K.s.ix === Q || Q === "Size" || Q === "ADBE Vector Rect Size" ? H.size : null;
16453
16490
  }
16454
- var J = propertyGroupFactory(H, re), G = Z.sh.ty === "tm" ? Z.sh.prop : Z.sh;
16491
+ var J = propertyGroupFactory(H, re), G = W.sh.ty === "tm" ? W.sh.prop : W.sh;
16455
16492
  return H.propertyIndex = K.ix, G.p.setGroupProperty(PropertyInterface("Position", J)), G.s.setGroupProperty(PropertyInterface("Size", J)), G.r.setGroupProperty(PropertyInterface("Rotation", J)), Object.defineProperties(H, {
16456
16493
  position: {
16457
16494
  get: ExpressionPropertyInterface(G.p)
@@ -16467,11 +16504,11 @@ function requireLottie() {
16467
16504
  }
16468
16505
  }), H.mn = K.mn, H;
16469
16506
  }
16470
- function V(K, Z, re) {
16507
+ function V(K, W, re) {
16471
16508
  function H(Q) {
16472
16509
  return K.r.ix === Q || Q === "Round Corners 1" ? H.radius : null;
16473
16510
  }
16474
- var J = propertyGroupFactory(H, re), G = Z;
16511
+ var J = propertyGroupFactory(H, re), G = W;
16475
16512
  return H.propertyIndex = K.ix, G.rd.setGroupProperty(PropertyInterface("Radius", J)), Object.defineProperties(H, {
16476
16513
  radius: {
16477
16514
  get: ExpressionPropertyInterface(G.rd)
@@ -16481,11 +16518,11 @@ function requireLottie() {
16481
16518
  }
16482
16519
  }), H.mn = K.mn, H;
16483
16520
  }
16484
- function W(K, Z, re) {
16521
+ function Z(K, W, re) {
16485
16522
  function H(Q) {
16486
16523
  return K.c.ix === Q || Q === "Copies" ? H.copies : K.o.ix === Q || Q === "Offset" ? H.offset : null;
16487
16524
  }
16488
- var J = propertyGroupFactory(H, re), G = Z;
16525
+ var J = propertyGroupFactory(H, re), G = W;
16489
16526
  return H.propertyIndex = K.ix, G.c.setGroupProperty(PropertyInterface("Copies", J)), G.o.setGroupProperty(PropertyInterface("Offset", J)), Object.defineProperties(H, {
16490
16527
  copies: {
16491
16528
  get: ExpressionPropertyInterface(G.c)
@@ -16498,7 +16535,7 @@ function requireLottie() {
16498
16535
  }
16499
16536
  }), H.mn = K.mn, H;
16500
16537
  }
16501
- return function(K, Z, re) {
16538
+ return function(K, W, re) {
16502
16539
  var H;
16503
16540
  function J(Q) {
16504
16541
  if (typeof Q == "number")
@@ -16513,7 +16550,7 @@ function requireLottie() {
16513
16550
  function G() {
16514
16551
  return re;
16515
16552
  }
16516
- return J.propertyGroup = propertyGroupFactory(J, G), H = t(K, Z, J.propertyGroup), J.numProperties = H.length, J._name = "Contents", J;
16553
+ return J.propertyGroup = propertyGroupFactory(J, G), H = t(K, W, J.propertyGroup), J.numProperties = H.length, J._name = "Contents", J;
16517
16554
  };
16518
16555
  })(), TextExpressionInterface = /* @__PURE__ */ (function() {
16519
16556
  return function(t) {
@@ -16631,22 +16668,22 @@ function requireLottie() {
16631
16668
  };
16632
16669
  })();
16633
16670
  function addPropertyDecorator() {
16634
- function t(V, W, K) {
16671
+ function t(V, Z, K) {
16635
16672
  if (!this.k || !this.keyframes)
16636
16673
  return this.pv;
16637
16674
  V = V ? V.toLowerCase() : "";
16638
- var Z = this.comp.renderedFrame, re = this.keyframes, H = re[re.length - 1].t;
16639
- if (Z <= H)
16675
+ var W = this.comp.renderedFrame, re = this.keyframes, H = re[re.length - 1].t;
16676
+ if (W <= H)
16640
16677
  return this.pv;
16641
16678
  var J, G;
16642
- K ? (W ? J = Math.abs(H - this.elem.comp.globalData.frameRate * W) : J = Math.max(0, H - this.elem.data.ip), G = H - J) : ((!W || W > re.length - 1) && (W = re.length - 1), G = re[re.length - 1 - W].t, J = H - G);
16679
+ K ? (Z ? J = Math.abs(H - this.elem.comp.globalData.frameRate * Z) : J = Math.max(0, H - this.elem.data.ip), G = H - J) : ((!Z || Z > re.length - 1) && (Z = re.length - 1), G = re[re.length - 1 - Z].t, J = H - G);
16643
16680
  var Q, te, ne;
16644
16681
  if (V === "pingpong") {
16645
- var ae = Math.floor((Z - G) / J);
16682
+ var ae = Math.floor((W - G) / J);
16646
16683
  if (ae % 2 !== 0)
16647
- return this.getValueAtTime((J - (Z - G) % J + G) / this.comp.globalData.frameRate, 0);
16684
+ return this.getValueAtTime((J - (W - G) % J + G) / this.comp.globalData.frameRate, 0);
16648
16685
  } else if (V === "offset") {
16649
- var le = this.getValueAtTime(G / this.comp.globalData.frameRate, 0), he = this.getValueAtTime(H / this.comp.globalData.frameRate, 0), ye = this.getValueAtTime(((Z - G) % J + G) / this.comp.globalData.frameRate, 0), me = Math.floor((Z - G) / J);
16686
+ var le = this.getValueAtTime(G / this.comp.globalData.frameRate, 0), he = this.getValueAtTime(H / this.comp.globalData.frameRate, 0), ye = this.getValueAtTime(((W - G) % J + G) / this.comp.globalData.frameRate, 0), me = Math.floor((W - G) / J);
16650
16687
  if (this.pv.length) {
16651
16688
  for (ne = new Array(le.length), te = ne.length, Q = 0; Q < te; Q += 1)
16652
16689
  ne[Q] = (he[Q] - le[Q]) * me + ye[Q];
@@ -16657,29 +16694,29 @@ function requireLottie() {
16657
16694
  var de = this.getValueAtTime(H / this.comp.globalData.frameRate, 0), ve = this.getValueAtTime((H - 1e-3) / this.comp.globalData.frameRate, 0);
16658
16695
  if (this.pv.length) {
16659
16696
  for (ne = new Array(de.length), te = ne.length, Q = 0; Q < te; Q += 1)
16660
- ne[Q] = de[Q] + (de[Q] - ve[Q]) * ((Z - H) / this.comp.globalData.frameRate) / 5e-4;
16697
+ ne[Q] = de[Q] + (de[Q] - ve[Q]) * ((W - H) / this.comp.globalData.frameRate) / 5e-4;
16661
16698
  return ne;
16662
16699
  }
16663
- return de + (de - ve) * ((Z - H) / 1e-3);
16700
+ return de + (de - ve) * ((W - H) / 1e-3);
16664
16701
  }
16665
- return this.getValueAtTime(((Z - G) % J + G) / this.comp.globalData.frameRate, 0);
16702
+ return this.getValueAtTime(((W - G) % J + G) / this.comp.globalData.frameRate, 0);
16666
16703
  }
16667
- function e(V, W, K) {
16704
+ function e(V, Z, K) {
16668
16705
  if (!this.k)
16669
16706
  return this.pv;
16670
16707
  V = V ? V.toLowerCase() : "";
16671
- var Z = this.comp.renderedFrame, re = this.keyframes, H = re[0].t;
16672
- if (Z >= H)
16708
+ var W = this.comp.renderedFrame, re = this.keyframes, H = re[0].t;
16709
+ if (W >= H)
16673
16710
  return this.pv;
16674
16711
  var J, G;
16675
- K ? (W ? J = Math.abs(this.elem.comp.globalData.frameRate * W) : J = Math.max(0, this.elem.data.op - H), G = H + J) : ((!W || W > re.length - 1) && (W = re.length - 1), G = re[W].t, J = G - H);
16712
+ K ? (Z ? J = Math.abs(this.elem.comp.globalData.frameRate * Z) : J = Math.max(0, this.elem.data.op - H), G = H + J) : ((!Z || Z > re.length - 1) && (Z = re.length - 1), G = re[Z].t, J = G - H);
16676
16713
  var Q, te, ne;
16677
16714
  if (V === "pingpong") {
16678
- var ae = Math.floor((H - Z) / J);
16715
+ var ae = Math.floor((H - W) / J);
16679
16716
  if (ae % 2 === 0)
16680
- return this.getValueAtTime(((H - Z) % J + H) / this.comp.globalData.frameRate, 0);
16717
+ return this.getValueAtTime(((H - W) % J + H) / this.comp.globalData.frameRate, 0);
16681
16718
  } else if (V === "offset") {
16682
- var le = this.getValueAtTime(H / this.comp.globalData.frameRate, 0), he = this.getValueAtTime(G / this.comp.globalData.frameRate, 0), ye = this.getValueAtTime((J - (H - Z) % J + H) / this.comp.globalData.frameRate, 0), me = Math.floor((H - Z) / J) + 1;
16719
+ var le = this.getValueAtTime(H / this.comp.globalData.frameRate, 0), he = this.getValueAtTime(G / this.comp.globalData.frameRate, 0), ye = this.getValueAtTime((J - (H - W) % J + H) / this.comp.globalData.frameRate, 0), me = Math.floor((H - W) / J) + 1;
16683
16720
  if (this.pv.length) {
16684
16721
  for (ne = new Array(le.length), te = ne.length, Q = 0; Q < te; Q += 1)
16685
16722
  ne[Q] = ye[Q] - (he[Q] - le[Q]) * me;
@@ -16690,22 +16727,22 @@ function requireLottie() {
16690
16727
  var de = this.getValueAtTime(H / this.comp.globalData.frameRate, 0), ve = this.getValueAtTime((H + 1e-3) / this.comp.globalData.frameRate, 0);
16691
16728
  if (this.pv.length) {
16692
16729
  for (ne = new Array(de.length), te = ne.length, Q = 0; Q < te; Q += 1)
16693
- ne[Q] = de[Q] + (de[Q] - ve[Q]) * (H - Z) / 1e-3;
16730
+ ne[Q] = de[Q] + (de[Q] - ve[Q]) * (H - W) / 1e-3;
16694
16731
  return ne;
16695
16732
  }
16696
- return de + (de - ve) * (H - Z) / 1e-3;
16733
+ return de + (de - ve) * (H - W) / 1e-3;
16697
16734
  }
16698
- return this.getValueAtTime((J - ((H - Z) % J + H)) / this.comp.globalData.frameRate, 0);
16735
+ return this.getValueAtTime((J - ((H - W) % J + H)) / this.comp.globalData.frameRate, 0);
16699
16736
  }
16700
- function r(V, W) {
16737
+ function r(V, Z) {
16701
16738
  if (!this.k)
16702
16739
  return this.pv;
16703
- if (V = (V || 0.4) * 0.5, W = Math.floor(W || 5), W <= 1)
16740
+ if (V = (V || 0.4) * 0.5, Z = Math.floor(Z || 5), Z <= 1)
16704
16741
  return this.pv;
16705
- var K = this.comp.renderedFrame / this.comp.globalData.frameRate, Z = K - V, re = K + V, H = W > 1 ? (re - Z) / (W - 1) : 1, J = 0, G = 0, Q;
16742
+ var K = this.comp.renderedFrame / this.comp.globalData.frameRate, W = K - V, re = K + V, H = Z > 1 ? (re - W) / (Z - 1) : 1, J = 0, G = 0, Q;
16706
16743
  this.pv.length ? Q = createTypedArray("float32", this.pv.length) : Q = 0;
16707
- for (var te; J < W; ) {
16708
- if (te = this.getValueAtTime(Z + J * H), this.pv.length)
16744
+ for (var te; J < Z; ) {
16745
+ if (te = this.getValueAtTime(W + J * H), this.pv.length)
16709
16746
  for (G = 0; G < this.pv.length; G += 1)
16710
16747
  Q[G] += te[G];
16711
16748
  else
@@ -16714,66 +16751,66 @@ function requireLottie() {
16714
16751
  }
16715
16752
  if (this.pv.length)
16716
16753
  for (G = 0; G < this.pv.length; G += 1)
16717
- Q[G] /= W;
16754
+ Q[G] /= Z;
16718
16755
  else
16719
- Q /= W;
16756
+ Q /= Z;
16720
16757
  return Q;
16721
16758
  }
16722
16759
  function i(V) {
16723
16760
  this._transformCachingAtTime || (this._transformCachingAtTime = {
16724
16761
  v: new Matrix()
16725
16762
  });
16726
- var W = this._transformCachingAtTime.v;
16727
- if (W.cloneFromProps(this.pre.props), this.appliedTransformations < 1) {
16763
+ var Z = this._transformCachingAtTime.v;
16764
+ if (Z.cloneFromProps(this.pre.props), this.appliedTransformations < 1) {
16728
16765
  var K = this.a.getValueAtTime(V);
16729
- W.translate(-K[0] * this.a.mult, -K[1] * this.a.mult, K[2] * this.a.mult);
16766
+ Z.translate(-K[0] * this.a.mult, -K[1] * this.a.mult, K[2] * this.a.mult);
16730
16767
  }
16731
16768
  if (this.appliedTransformations < 2) {
16732
- var Z = this.s.getValueAtTime(V);
16733
- W.scale(Z[0] * this.s.mult, Z[1] * this.s.mult, Z[2] * this.s.mult);
16769
+ var W = this.s.getValueAtTime(V);
16770
+ Z.scale(W[0] * this.s.mult, W[1] * this.s.mult, W[2] * this.s.mult);
16734
16771
  }
16735
16772
  if (this.sk && this.appliedTransformations < 3) {
16736
16773
  var re = this.sk.getValueAtTime(V), H = this.sa.getValueAtTime(V);
16737
- W.skewFromAxis(-re * this.sk.mult, H * this.sa.mult);
16774
+ Z.skewFromAxis(-re * this.sk.mult, H * this.sa.mult);
16738
16775
  }
16739
16776
  if (this.r && this.appliedTransformations < 4) {
16740
16777
  var J = this.r.getValueAtTime(V);
16741
- W.rotate(-J * this.r.mult);
16778
+ Z.rotate(-J * this.r.mult);
16742
16779
  } else if (!this.r && this.appliedTransformations < 4) {
16743
16780
  var G = this.rz.getValueAtTime(V), Q = this.ry.getValueAtTime(V), te = this.rx.getValueAtTime(V), ne = this.or.getValueAtTime(V);
16744
- W.rotateZ(-G * this.rz.mult).rotateY(Q * this.ry.mult).rotateX(te * this.rx.mult).rotateZ(-ne[2] * this.or.mult).rotateY(ne[1] * this.or.mult).rotateX(ne[0] * this.or.mult);
16781
+ Z.rotateZ(-G * this.rz.mult).rotateY(Q * this.ry.mult).rotateX(te * this.rx.mult).rotateZ(-ne[2] * this.or.mult).rotateY(ne[1] * this.or.mult).rotateX(ne[0] * this.or.mult);
16745
16782
  }
16746
16783
  if (this.data.p && this.data.p.s) {
16747
16784
  var ae = this.px.getValueAtTime(V), le = this.py.getValueAtTime(V);
16748
16785
  if (this.data.p.z) {
16749
16786
  var he = this.pz.getValueAtTime(V);
16750
- W.translate(ae * this.px.mult, le * this.py.mult, -he * this.pz.mult);
16787
+ Z.translate(ae * this.px.mult, le * this.py.mult, -he * this.pz.mult);
16751
16788
  } else
16752
- W.translate(ae * this.px.mult, le * this.py.mult, 0);
16789
+ Z.translate(ae * this.px.mult, le * this.py.mult, 0);
16753
16790
  } else {
16754
16791
  var ye = this.p.getValueAtTime(V);
16755
- W.translate(ye[0] * this.p.mult, ye[1] * this.p.mult, -ye[2] * this.p.mult);
16792
+ Z.translate(ye[0] * this.p.mult, ye[1] * this.p.mult, -ye[2] * this.p.mult);
16756
16793
  }
16757
- return W;
16794
+ return Z;
16758
16795
  }
16759
16796
  function a() {
16760
16797
  return this.v.clone(new Matrix());
16761
16798
  }
16762
16799
  var h = TransformPropertyFactory.getTransformProperty;
16763
- TransformPropertyFactory.getTransformProperty = function(V, W, K) {
16764
- var Z = h(V, W, K);
16765
- return Z.dynamicProperties.length ? Z.getValueAtTime = i.bind(Z) : Z.getValueAtTime = a.bind(Z), Z.setGroupProperty = expressionHelpers.setGroupProperty, Z;
16800
+ TransformPropertyFactory.getTransformProperty = function(V, Z, K) {
16801
+ var W = h(V, Z, K);
16802
+ return W.dynamicProperties.length ? W.getValueAtTime = i.bind(W) : W.getValueAtTime = a.bind(W), W.setGroupProperty = expressionHelpers.setGroupProperty, W;
16766
16803
  };
16767
16804
  var d = PropertyFactory.getProp;
16768
- PropertyFactory.getProp = function(V, W, K, Z, re) {
16769
- var H = d(V, W, K, Z, re);
16770
- H.kf ? H.getValueAtTime = expressionHelpers.getValueAtTime.bind(H) : H.getValueAtTime = expressionHelpers.getStaticValueAtTime.bind(H), H.setGroupProperty = expressionHelpers.setGroupProperty, H.loopOut = t, H.loopIn = e, H.smooth = r, H.getVelocityAtTime = expressionHelpers.getVelocityAtTime.bind(H), H.getSpeedAtTime = expressionHelpers.getSpeedAtTime.bind(H), H.numKeys = W.a === 1 ? W.k.length : 0, H.propertyIndex = W.ix;
16805
+ PropertyFactory.getProp = function(V, Z, K, W, re) {
16806
+ var H = d(V, Z, K, W, re);
16807
+ H.kf ? H.getValueAtTime = expressionHelpers.getValueAtTime.bind(H) : H.getValueAtTime = expressionHelpers.getStaticValueAtTime.bind(H), H.setGroupProperty = expressionHelpers.setGroupProperty, H.loopOut = t, H.loopIn = e, H.smooth = r, H.getVelocityAtTime = expressionHelpers.getVelocityAtTime.bind(H), H.getSpeedAtTime = expressionHelpers.getSpeedAtTime.bind(H), H.numKeys = Z.a === 1 ? Z.k.length : 0, H.propertyIndex = Z.ix;
16771
16808
  var J = 0;
16772
- return K !== 0 && (J = createTypedArray("float32", W.a === 1 ? W.k[0].s.length : W.k.length)), H._cachingAtTime = {
16809
+ return K !== 0 && (J = createTypedArray("float32", Z.a === 1 ? Z.k[0].s.length : Z.k.length)), H._cachingAtTime = {
16773
16810
  lastFrame: initialDefaultFrame,
16774
16811
  lastIndex: 0,
16775
16812
  value: J
16776
- }, expressionHelpers.searchExpressions(V, W, H), H.k && re.addDynamicProperty(H), H;
16813
+ }, expressionHelpers.searchExpressions(V, Z, H), H.k && re.addDynamicProperty(H), H;
16777
16814
  };
16778
16815
  function y(V) {
16779
16816
  return this._cachingAtTime || (this._cachingAtTime = {
@@ -16786,62 +16823,62 @@ function requireLottie() {
16786
16823
  function j() {
16787
16824
  }
16788
16825
  j.prototype = {
16789
- vertices: function(W, K) {
16826
+ vertices: function(Z, K) {
16790
16827
  this.k && this.getValue();
16791
- var Z = this.v;
16792
- K !== void 0 && (Z = this.getValueAtTime(K, 0));
16793
- var re, H = Z._length, J = Z[W], G = Z.v, Q = createSizedArray(H);
16828
+ var W = this.v;
16829
+ K !== void 0 && (W = this.getValueAtTime(K, 0));
16830
+ var re, H = W._length, J = W[Z], G = W.v, Q = createSizedArray(H);
16794
16831
  for (re = 0; re < H; re += 1)
16795
- W === "i" || W === "o" ? Q[re] = [J[re][0] - G[re][0], J[re][1] - G[re][1]] : Q[re] = [J[re][0], J[re][1]];
16832
+ Z === "i" || Z === "o" ? Q[re] = [J[re][0] - G[re][0], J[re][1] - G[re][1]] : Q[re] = [J[re][0], J[re][1]];
16796
16833
  return Q;
16797
16834
  },
16798
- points: function(W) {
16799
- return this.vertices("v", W);
16835
+ points: function(Z) {
16836
+ return this.vertices("v", Z);
16800
16837
  },
16801
- inTangents: function(W) {
16802
- return this.vertices("i", W);
16838
+ inTangents: function(Z) {
16839
+ return this.vertices("i", Z);
16803
16840
  },
16804
- outTangents: function(W) {
16805
- return this.vertices("o", W);
16841
+ outTangents: function(Z) {
16842
+ return this.vertices("o", Z);
16806
16843
  },
16807
16844
  isClosed: function() {
16808
16845
  return this.v.c;
16809
16846
  },
16810
- pointOnPath: function(W, K) {
16811
- var Z = this.v;
16812
- K !== void 0 && (Z = this.getValueAtTime(K, 0)), this._segmentsLength || (this._segmentsLength = bez.getSegmentsLength(Z));
16813
- for (var re = this._segmentsLength, H = re.lengths, J = re.totalLength * W, G = 0, Q = H.length, te = 0, ne; G < Q; ) {
16847
+ pointOnPath: function(Z, K) {
16848
+ var W = this.v;
16849
+ K !== void 0 && (W = this.getValueAtTime(K, 0)), this._segmentsLength || (this._segmentsLength = bez.getSegmentsLength(W));
16850
+ for (var re = this._segmentsLength, H = re.lengths, J = re.totalLength * Z, G = 0, Q = H.length, te = 0, ne; G < Q; ) {
16814
16851
  if (te + H[G].addedLength > J) {
16815
- var ae = G, le = Z.c && G === Q - 1 ? 0 : G + 1, he = (J - te) / H[G].addedLength;
16816
- ne = bez.getPointInSegment(Z.v[ae], Z.v[le], Z.o[ae], Z.i[le], he, H[G]);
16852
+ var ae = G, le = W.c && G === Q - 1 ? 0 : G + 1, he = (J - te) / H[G].addedLength;
16853
+ ne = bez.getPointInSegment(W.v[ae], W.v[le], W.o[ae], W.i[le], he, H[G]);
16817
16854
  break;
16818
16855
  } else
16819
16856
  te += H[G].addedLength;
16820
16857
  G += 1;
16821
16858
  }
16822
- return ne || (ne = Z.c ? [Z.v[0][0], Z.v[0][1]] : [Z.v[Z._length - 1][0], Z.v[Z._length - 1][1]]), ne;
16859
+ return ne || (ne = W.c ? [W.v[0][0], W.v[0][1]] : [W.v[W._length - 1][0], W.v[W._length - 1][1]]), ne;
16823
16860
  },
16824
- vectorOnPath: function(W, K, Z) {
16825
- W == 1 ? W = this.v.c : W == 0 && (W = 0.999);
16826
- var re = this.pointOnPath(W, K), H = this.pointOnPath(W + 1e-3, K), J = H[0] - re[0], G = H[1] - re[1], Q = Math.sqrt(Math.pow(J, 2) + Math.pow(G, 2));
16861
+ vectorOnPath: function(Z, K, W) {
16862
+ Z == 1 ? Z = this.v.c : Z == 0 && (Z = 0.999);
16863
+ var re = this.pointOnPath(Z, K), H = this.pointOnPath(Z + 1e-3, K), J = H[0] - re[0], G = H[1] - re[1], Q = Math.sqrt(Math.pow(J, 2) + Math.pow(G, 2));
16827
16864
  if (Q === 0)
16828
16865
  return [0, 0];
16829
- var te = Z === "tangent" ? [J / Q, G / Q] : [-G / Q, J / Q];
16866
+ var te = W === "tangent" ? [J / Q, G / Q] : [-G / Q, J / Q];
16830
16867
  return te;
16831
16868
  },
16832
- tangentOnPath: function(W, K) {
16833
- return this.vectorOnPath(W, K, "tangent");
16869
+ tangentOnPath: function(Z, K) {
16870
+ return this.vectorOnPath(Z, K, "tangent");
16834
16871
  },
16835
- normalOnPath: function(W, K) {
16836
- return this.vectorOnPath(W, K, "normal");
16872
+ normalOnPath: function(Z, K) {
16873
+ return this.vectorOnPath(Z, K, "normal");
16837
16874
  },
16838
16875
  setGroupProperty: expressionHelpers.setGroupProperty,
16839
16876
  getValueAtTime: expressionHelpers.getStaticValueAtTime
16840
16877
  }, extendPrototype([j], M), extendPrototype([j], F), F.prototype.getValueAtTime = y, F.prototype.initiateExpression = ExpressionManager.initiateExpression;
16841
16878
  var q = ShapePropertyFactory.getShapeProp;
16842
- ShapePropertyFactory.getShapeProp = function(V, W, K, Z, re) {
16843
- var H = q(V, W, K, Z, re);
16844
- return H.propertyIndex = W.ix, H.lock = !1, K === 3 ? expressionHelpers.searchExpressions(V, W.pt, H) : K === 4 && expressionHelpers.searchExpressions(V, W.ks, H), H.k && V.addDynamicProperty(H), H;
16879
+ ShapePropertyFactory.getShapeProp = function(V, Z, K, W, re) {
16880
+ var H = q(V, Z, K, W, re);
16881
+ return H.propertyIndex = Z.ix, H.lock = !1, K === 3 ? expressionHelpers.searchExpressions(V, Z.pt, H) : K === 4 && expressionHelpers.searchExpressions(V, Z.ks, H), H.k && V.addDynamicProperty(H), H;
16845
16882
  };
16846
16883
  }
16847
16884
  function initialize$1() {
@@ -16945,8 +16982,8 @@ function requireLottie() {
16945
16982
  a.setAttribute("stroke-dasharray", h);
16946
16983
  }
16947
16984
  if ((t || this.filterManager.effectElements[4].p._mdf) && this.pathMasker.setAttribute("stroke-width", this.filterManager.effectElements[4].p.v * 2), (t || this.filterManager.effectElements[6].p._mdf) && this.pathMasker.setAttribute("opacity", this.filterManager.effectElements[6].p.v), (this.filterManager.effectElements[10].p.v === 1 || this.filterManager.effectElements[10].p.v === 2) && (t || this.filterManager.effectElements[3].p._mdf)) {
16948
- var W = this.filterManager.effectElements[3].p.v;
16949
- this.pathMasker.setAttribute("stroke", "rgb(" + bmFloor(W[0] * 255) + "," + bmFloor(W[1] * 255) + "," + bmFloor(W[2] * 255) + ")");
16985
+ var Z = this.filterManager.effectElements[3].p.v;
16986
+ this.pathMasker.setAttribute("stroke", "rgb(" + bmFloor(Z[0] * 255) + "," + bmFloor(Z[1] * 255) + "," + bmFloor(Z[2] * 255) + ")");
16950
16987
  }
16951
16988
  };
16952
16989
  function SVGTritoneFilter(t, e, r, i) {
@@ -16979,8 +17016,8 @@ function requireLottie() {
16979
17016
  }, SVGProLevelsFilter.prototype.getTableValue = function(t, e, r, i, a) {
16980
17017
  for (var h = 0, d = 256, y, M = Math.min(t, e), F = Math.max(t, e), j = Array.call(null, {
16981
17018
  length: d
16982
- }), q, V = 0, W = a - i, K = e - t; h <= 256; )
16983
- y = h / 256, y <= M ? q = K < 0 ? a : i : y >= F ? q = K < 0 ? i : a : q = i + W * Math.pow((y - t) / K, 1 / r), j[V] = q, V += 1, h += 256 / (d - 1);
17019
+ }), q, V = 0, Z = a - i, K = e - t; h <= 256; )
17020
+ y = h / 256, y <= M ? q = K < 0 ? a : i : y >= F ? q = K < 0 ? i : a : q = i + Z * Math.pow((y - t) / K, 1 / r), j[V] = q, V += 1, h += 256 / (d - 1);
16984
17021
  return j.join(" ");
16985
17022
  }, SVGProLevelsFilter.prototype.renderFrame = function(t) {
16986
17023
  if (t || this.filterManager._mdf) {
@@ -17192,7 +17229,7 @@ function _unsupportedIterableToArray(t, e) {
17192
17229
  }
17193
17230
  }
17194
17231
  var _excluded$1 = ["animationData", "loop", "autoplay", "initialSegment", "onComplete", "onLoopComplete", "onEnterFrame", "onSegmentStart", "onConfigReady", "onDataReady", "onDataFailed", "onLoadedImages", "onDOMLoaded", "onDestroy", "lottieRef", "renderer", "name", "assetsPath", "rendererSettings"], useLottie = function t(e, r) {
17195
- var i = e.animationData, a = e.loop, h = e.autoplay, d = e.initialSegment, y = e.onComplete, M = e.onLoopComplete, F = e.onEnterFrame, j = e.onSegmentStart, q = e.onConfigReady, V = e.onDataReady, W = e.onDataFailed, K = e.onLoadedImages, Z = e.onDOMLoaded, re = e.onDestroy;
17232
+ var i = e.animationData, a = e.loop, h = e.autoplay, d = e.initialSegment, y = e.onComplete, M = e.onLoopComplete, F = e.onEnterFrame, j = e.onSegmentStart, q = e.onConfigReady, V = e.onDataReady, Z = e.onDataFailed, K = e.onLoadedImages, W = e.onDOMLoaded, re = e.onDestroy;
17196
17233
  e.lottieRef, e.renderer, e.name, e.assetsPath, e.rendererSettings;
17197
17234
  var H = _objectWithoutProperties(e, _excluded$1), J = useState(!1), G = _slicedToArray(J, 2), Q = G[0], te = G[1], ne = useRef(), ae = useRef(null), le = function() {
17198
17235
  var pe;
@@ -17276,13 +17313,13 @@ var _excluded$1 = ["animationData", "loop", "autoplay", "initialSegment", "onCom
17276
17313
  handler: V
17277
17314
  }, {
17278
17315
  name: "data_failed",
17279
- handler: W
17316
+ handler: Z
17280
17317
  }, {
17281
17318
  name: "loaded_images",
17282
17319
  handler: K
17283
17320
  }, {
17284
17321
  name: "DOMLoaded",
17285
- handler: Z
17322
+ handler: W
17286
17323
  }, {
17287
17324
  name: "destroy",
17288
17325
  handler: re
@@ -17310,7 +17347,7 @@ var _excluded$1 = ["animationData", "loop", "autoplay", "initialSegment", "onCom
17310
17347
  });
17311
17348
  };
17312
17349
  }
17313
- }, [y, M, F, j, q, V, W, K, Z, re]);
17350
+ }, [y, M, F, j, q, V, Z, K, W, re]);
17314
17351
  var ue = /* @__PURE__ */ React__default.createElement("div", _objectSpread2({
17315
17352
  style: r,
17316
17353
  ref: ae
@@ -17352,14 +17389,14 @@ var useInitInteractivity = function t(e) {
17352
17389
  i.stop();
17353
17390
  var y = function() {
17354
17391
  var j = null, q = function() {
17355
- var W = getContainerVisibility(d), K = h.find(function(re) {
17392
+ var Z = getContainerVisibility(d), K = h.find(function(re) {
17356
17393
  var H = re.visibility;
17357
- return H && W >= H[0] && W <= H[1];
17394
+ return H && Z >= H[0] && Z <= H[1];
17358
17395
  });
17359
17396
  if (K) {
17360
17397
  if (K.type === "seek" && K.visibility && K.frames.length === 2) {
17361
- var Z = K.frames[0] + Math.ceil((W - K.visibility[0]) / (K.visibility[1] - K.visibility[0]) * K.frames[1]);
17362
- i.goToAndStop(Z - i.firstFrame - 1, !0);
17398
+ var W = K.frames[0] + Math.ceil((Z - K.visibility[0]) / (K.visibility[1] - K.visibility[0]) * K.frames[1]);
17399
+ i.goToAndStop(W - i.firstFrame - 1, !0);
17363
17400
  }
17364
17401
  K.type === "loop" && (j === null || j !== K.frames || i.isPaused) && (i.playSegments(K.frames, !0), j = K.frames), K.type === "play" && i.isPaused && (i.resetSegments(!0), i.play()), K.type === "stop" && i.goToAndStop(K.frames[0] - i.firstFrame - 1, !0);
17365
17402
  }
@@ -17368,8 +17405,8 @@ var useInitInteractivity = function t(e) {
17368
17405
  document.removeEventListener("scroll", q);
17369
17406
  };
17370
17407
  }, M = function() {
17371
- var j = function(K, Z) {
17372
- var re = K, H = Z;
17408
+ var j = function(K, W) {
17409
+ var re = K, H = W;
17373
17410
  if (re !== -1 && H !== -1) {
17374
17411
  var J = getContainerCursorPosition(d, re, H);
17375
17412
  re = J.x, H = J.y;
@@ -17411,14 +17448,14 @@ var useInitInteractivity = function t(e) {
17411
17448
  wrapperRef: y
17412
17449
  }), d;
17413
17450
  }, _excluded = ["style", "interactivity"], Lottie = function t(e) {
17414
- var r, i, a, h = e.style, d = e.interactivity, y = _objectWithoutProperties(e, _excluded), M = useLottie(y, h), F = M.View, j = M.play, q = M.stop, V = M.pause, W = M.setSpeed, K = M.goToAndStop, Z = M.goToAndPlay, re = M.setDirection, H = M.playSegments, J = M.setSubframe, G = M.getDuration, Q = M.destroy, te = M.animationContainerRef, ne = M.animationLoaded, ae = M.animationItem;
17451
+ var r, i, a, h = e.style, d = e.interactivity, y = _objectWithoutProperties(e, _excluded), M = useLottie(y, h), F = M.View, j = M.play, q = M.stop, V = M.pause, Z = M.setSpeed, K = M.goToAndStop, W = M.goToAndPlay, re = M.setDirection, H = M.playSegments, J = M.setSubframe, G = M.getDuration, Q = M.destroy, te = M.animationContainerRef, ne = M.animationLoaded, ae = M.animationItem;
17415
17452
  return useEffect(function() {
17416
17453
  e.lottieRef && (e.lottieRef.current = {
17417
17454
  play: j,
17418
17455
  stop: q,
17419
17456
  pause: V,
17420
- setSpeed: W,
17421
- goToAndPlay: Z,
17457
+ setSpeed: Z,
17458
+ goToAndPlay: W,
17422
17459
  goToAndStop: K,
17423
17460
  setDirection: re,
17424
17461
  playSegments: H,
@@ -17435,9 +17472,9 @@ var useInitInteractivity = function t(e) {
17435
17472
  play: j,
17436
17473
  stop: q,
17437
17474
  pause: V,
17438
- setSpeed: W,
17475
+ setSpeed: Z,
17439
17476
  goToAndStop: K,
17440
- goToAndPlay: Z,
17477
+ goToAndPlay: W,
17441
17478
  setDirection: re,
17442
17479
  playSegments: H,
17443
17480
  setSubframe: J,
@@ -17508,9 +17545,9 @@ function AsyncSelect({
17508
17545
  getOptionLabel: j,
17509
17546
  emptyLabel: q = "Sin resultados",
17510
17547
  loadingLabel: V = "Buscando...",
17511
- emptyActionLabel: W,
17548
+ emptyActionLabel: Z,
17512
17549
  onEmptyActionClick: K,
17513
- contentClassName: Z,
17550
+ contentClassName: W,
17514
17551
  triggerClassName: re
17515
17552
  }) {
17516
17553
  const [H, J] = React.useState(!1), [G, Q] = React.useState(""), [te, ne] = React.useState(!1), [ae, le] = React.useState([]), [he, ye] = React.useState(""), me = useDebouncedValue(G, y), de = me.trim().length >= d, ve = React.useRef(null);
@@ -17576,7 +17613,7 @@ function AsyncSelect({
17576
17613
  ]
17577
17614
  }
17578
17615
  ),
17579
- H && /* @__PURE__ */ jsxs("div", { className: cn$1("oniratec-async-select", Z), children: [
17616
+ H && /* @__PURE__ */ jsxs("div", { className: cn$1("oniratec-async-select", W), children: [
17580
17617
  /* @__PURE__ */ jsxs("div", { className: "oniratec-async-select__search", children: [
17581
17618
  /* @__PURE__ */ jsx(
17582
17619
  "input",
@@ -17599,13 +17636,13 @@ function AsyncSelect({
17599
17636
  de && te && /* @__PURE__ */ jsx("div", { className: "oniratec-async-select__hint", children: V }),
17600
17637
  de && !te && ae.length === 0 && /* @__PURE__ */ jsxs("div", { className: "oniratec-async-select__empty", children: [
17601
17638
  /* @__PURE__ */ jsx("span", { children: q }),
17602
- W && K && /* @__PURE__ */ jsx(
17639
+ Z && K && /* @__PURE__ */ jsx(
17603
17640
  "button",
17604
17641
  {
17605
17642
  type: "button",
17606
17643
  className: "oniratec-async-select__empty-action",
17607
17644
  onClick: K,
17608
- children: W
17645
+ children: Z
17609
17646
  }
17610
17647
  )
17611
17648
  ] }),
@@ -17654,8 +17691,8 @@ const Toggle = ({
17654
17691
  className: d,
17655
17692
  ariaLabel: y
17656
17693
  }) => {
17657
- const M = t !== void 0, [F, j] = useState(e), q = M ? t : F, V = (W) => {
17658
- M || j(W), r?.(W);
17694
+ const M = t !== void 0, [F, j] = useState(e), q = M ? t : F, V = (Z) => {
17695
+ M || j(Z), r?.(Z);
17659
17696
  };
17660
17697
  return /* @__PURE__ */ jsxs(
17661
17698
  "label",
@@ -17673,7 +17710,7 @@ const Toggle = ({
17673
17710
  checked: q,
17674
17711
  disabled: a,
17675
17712
  "aria-label": y,
17676
- onChange: (W) => V(W.target.checked)
17713
+ onChange: (Z) => V(Z.target.checked)
17677
17714
  }
17678
17715
  ),
17679
17716
  /* @__PURE__ */ jsx("span", { className: "oniratec-toggle__track", children: /* @__PURE__ */ jsx("span", { className: "oniratec-toggle__thumb" }) }),
@@ -17695,6 +17732,23 @@ const Toggle = ({
17695
17732
  }
17696
17733
  ) }));
17697
17734
  TooltipContent.displayName = "TooltipContent";
17735
+ const AuthLayout = ({ logo: t, children: e, footer: r, className: i }) => /* @__PURE__ */ jsx("div", { className: "flex min-h-screen items-center justify-center bg-gradient-to-br from-[--surface-1] via-[--surface-2] to-[--surface-1] px-4 py-12", children: /* @__PURE__ */ jsxs(
17736
+ "div",
17737
+ {
17738
+ className: cn$1(
17739
+ "w-full max-w-sm rounded-xl bg-[--surface-1] p-8",
17740
+ "shadow-[var(--shadow-card-xl)] border border-[--border-1]",
17741
+ "flex flex-col gap-6",
17742
+ i
17743
+ ),
17744
+ children: [
17745
+ t && /* @__PURE__ */ jsx("div", { className: "flex justify-center", children: t.href ? /* @__PURE__ */ jsx("a", { href: t.href, className: "focus-visible:outline-none focus-visible:ring-2", children: /* @__PURE__ */ jsx("img", { src: t.src, alt: t.alt, className: "h-10 w-auto" }) }) : /* @__PURE__ */ jsx("img", { src: t.src, alt: t.alt, className: "h-10 w-auto" }) }),
17746
+ /* @__PURE__ */ jsx("div", { className: "flex flex-col gap-4", children: e }),
17747
+ r && /* @__PURE__ */ jsx("div", { className: "border-t border-[--border-1] pt-4 text-center text-xs text-[--text-2]", children: r })
17748
+ ]
17749
+ }
17750
+ ) });
17751
+ AuthLayout.displayName = "AuthLayout";
17698
17752
  function normalizeSortState$1(t) {
17699
17753
  return t ? Array.isArray(t) ? t : [t] : [];
17700
17754
  }
@@ -17716,7 +17770,7 @@ function DataTable({
17716
17770
  errorContent: q,
17717
17771
  isLoading: V = !1
17718
17772
  }) {
17719
- const [W, K] = useState(a), Z = i !== void 0 ? i : W, re = normalizeSortState$1(Z), H = useMemo(() => new Map(t.map((te) => [te.key, te])), [t]), J = useMemo(() => {
17773
+ const [Z, K] = useState(a), W = i !== void 0 ? i : Z, re = normalizeSortState$1(W), H = useMemo(() => new Map(t.map((te) => [te.key, te])), [t]), J = useMemo(() => {
17720
17774
  if (M || !r || re.length === 0) return e;
17721
17775
  const te = [...e];
17722
17776
  return te.sort((ne, ae) => {
@@ -17735,7 +17789,7 @@ function DataTable({
17735
17789
  i === void 0 && K(te), h?.(te);
17736
17790
  }, Q = (te, ne) => {
17737
17791
  if (!(r && (te.sortable ?? !!(te.sortFn || te.sortValue)))) return;
17738
- const le = normalizeSortState$1(Z), he = le.find((me) => me.columnId === te.key), ye = he?.direction === "asc" ? "desc" : he?.direction === "desc" ? null : "asc";
17792
+ const le = normalizeSortState$1(W), he = le.find((me) => me.columnId === te.key), ye = he?.direction === "asc" ? "desc" : he?.direction === "desc" ? null : "asc";
17739
17793
  if (y === "multi" && ne) {
17740
17794
  const me = le.filter((de) => de.columnId !== te.key);
17741
17795
  ye && me.push({ columnId: te.key, direction: ye }), G(me.length ? me : null);
@@ -17855,8 +17909,8 @@ function FiltersPanel({
17855
17909
  layout: y = "inline",
17856
17910
  actions: M
17857
17911
  }) {
17858
- const F = (V, W) => {
17859
- r({ ...e, [V]: W });
17912
+ const F = (V, Z) => {
17913
+ r({ ...e, [V]: Z });
17860
17914
  }, j = h && !!i, q = y === "stacked" ? "grid gap-4" : "grid gap-4 sm:grid-cols-2 lg:grid-cols-3";
17861
17915
  return /* @__PURE__ */ jsxs(
17862
17916
  "section",
@@ -17876,7 +17930,7 @@ function FiltersPanel({
17876
17930
  {
17877
17931
  placeholder: V.placeholder,
17878
17932
  value: e[V.id] ?? "",
17879
- onChange: (W) => F(V.id, W.target.value),
17933
+ onChange: (Z) => F(V.id, Z.target.value),
17880
17934
  disabled: V.disabled
17881
17935
  }
17882
17936
  ),
@@ -17884,11 +17938,11 @@ function FiltersPanel({
17884
17938
  Select,
17885
17939
  {
17886
17940
  value: e[V.id] ?? "",
17887
- onValueChange: (W) => F(V.id, W),
17941
+ onValueChange: (Z) => F(V.id, Z),
17888
17942
  disabled: V.disabled,
17889
17943
  children: [
17890
17944
  /* @__PURE__ */ jsx(SelectTrigger, { children: /* @__PURE__ */ jsx(SelectValue, { placeholder: V.placeholder ?? "Seleccionar" }) }),
17891
- /* @__PURE__ */ jsx(SelectContent, { children: V.options.map((W) => /* @__PURE__ */ jsx(SelectItem, { value: W.value, children: W.label }, W.value)) })
17945
+ /* @__PURE__ */ jsx(SelectContent, { children: V.options.map((Z) => /* @__PURE__ */ jsx(SelectItem, { value: Z.value, children: Z.label }, Z.value)) })
17892
17946
  ]
17893
17947
  }
17894
17948
  ),
@@ -17896,7 +17950,7 @@ function FiltersPanel({
17896
17950
  AsyncSelect,
17897
17951
  {
17898
17952
  value: e[V.id] ?? "",
17899
- onValueChange: (W) => F(V.id, W),
17953
+ onValueChange: (Z) => F(V.id, Z),
17900
17954
  placeholder: V.placeholder,
17901
17955
  searchPlaceholder: V.searchPlaceholder,
17902
17956
  minChars: V.minChars,
@@ -17915,7 +17969,7 @@ function FiltersPanel({
17915
17969
  Toggle,
17916
17970
  {
17917
17971
  checked: e[V.id] ?? !1,
17918
- onChange: (W) => F(V.id, W),
17972
+ onChange: (Z) => F(V.id, Z),
17919
17973
  disabled: V.disabled,
17920
17974
  ariaLabel: V.label,
17921
17975
  label: V.description
@@ -17925,7 +17979,7 @@ function FiltersPanel({
17925
17979
  DatePicker,
17926
17980
  {
17927
17981
  value: e[V.id] ?? null,
17928
- onChange: (W) => F(V.id, W ?? null),
17982
+ onChange: (Z) => F(V.id, Z ?? null),
17929
17983
  placeholder: V.placeholder,
17930
17984
  min: V.min,
17931
17985
  max: V.max,
@@ -17954,22 +18008,22 @@ function FiltersModal({
17954
18008
  className: M
17955
18009
  }) {
17956
18010
  const F = useId$1(), j = e ? `${F}-description` : void 0, q = i, V = useCallback(
17957
- (W) => {
17958
- a(W);
18011
+ (Z) => {
18012
+ a(Z);
17959
18013
  },
17960
18014
  [a]
17961
18015
  );
17962
18016
  return useEffect(() => {
17963
18017
  if (!q) return;
17964
- const W = (K) => {
18018
+ const Z = (K) => {
17965
18019
  K.key === "Escape" && V(!1);
17966
18020
  };
17967
- return window.addEventListener("keydown", W), () => window.removeEventListener("keydown", W);
18021
+ return window.addEventListener("keydown", Z), () => window.removeEventListener("keydown", Z);
17968
18022
  }, [q, V]), useEffect(() => {
17969
18023
  if (!q) return;
17970
- const W = document.body.style.overflow;
18024
+ const Z = document.body.style.overflow;
17971
18025
  return document.body.style.overflow = "hidden", () => {
17972
- document.body.style.overflow = W;
18026
+ document.body.style.overflow = Z;
17973
18027
  };
17974
18028
  }, [q]), q ? /* @__PURE__ */ jsx("div", { className: "fixed inset-0 z-50 flex items-center justify-center bg-black/40 p-4", children: /* @__PURE__ */ jsxs(
17975
18029
  "div",
@@ -18046,6 +18100,65 @@ function Breadcrumbs({
18046
18100
  ] }, `${h.label}-${d}`);
18047
18101
  }) }) });
18048
18102
  }
18103
+ const defaultAccept = ".csv,.xlsx";
18104
+ function ImportFileCard({
18105
+ title: t = "Importar datos",
18106
+ description: e = "Sube un fichero CSV o XLSX para ejecutar la importacion.",
18107
+ helperText: r = "El sistema procesara cada fila de forma tolerante.",
18108
+ accept: i = defaultAccept,
18109
+ className: a,
18110
+ actionLabel: h = "Importar",
18111
+ disabled: d = !1,
18112
+ loading: y = !1,
18113
+ summary: M,
18114
+ onImport: F
18115
+ }) {
18116
+ const [j, q] = useState([]), V = j[0] ?? null, Z = useMemo(() => M ? `Resultado: ${M.created} creados, ${M.updated} actualizados, ${M.failed} fallidos` : null, [M]), K = async () => {
18117
+ !V || d || y || await F(V);
18118
+ };
18119
+ return /* @__PURE__ */ jsxs(
18120
+ "section",
18121
+ {
18122
+ className: cn$1(
18123
+ "rounded-xl border border-slate-200 bg-white p-4 shadow-sm space-y-3",
18124
+ a
18125
+ ),
18126
+ children: [
18127
+ /* @__PURE__ */ jsxs("header", { className: "space-y-1", children: [
18128
+ /* @__PURE__ */ jsx("h3", { className: "text-sm font-semibold text-slate-900", children: t }),
18129
+ /* @__PURE__ */ jsx("p", { className: "text-sm text-slate-600", children: e })
18130
+ ] }),
18131
+ /* @__PURE__ */ jsx(
18132
+ FileUpload,
18133
+ {
18134
+ files: j,
18135
+ onFilesChange: q,
18136
+ multiple: !1,
18137
+ accept: i,
18138
+ helperText: r,
18139
+ allowDrop: !0,
18140
+ showPreview: !1,
18141
+ disabled: d || y
18142
+ }
18143
+ ),
18144
+ Z && /* @__PURE__ */ jsx("p", { className: "text-sm text-slate-700", children: Z }),
18145
+ /* @__PURE__ */ jsx("div", { className: "flex justify-end", children: /* @__PURE__ */ jsx(
18146
+ Button,
18147
+ {
18148
+ type: "button",
18149
+ variant: "primary",
18150
+ onClick: () => {
18151
+ K();
18152
+ },
18153
+ disabled: !V || d,
18154
+ loading: y,
18155
+ children: h
18156
+ }
18157
+ ) })
18158
+ ]
18159
+ }
18160
+ );
18161
+ }
18049
18162
  function ThemeProvider({
18050
18163
  mode: t = "light",
18051
18164
  theme: e = "onira",
@@ -20804,10 +20917,10 @@ function deepEqual(t, e, r = /* @__PURE__ */ new WeakSet()) {
20804
20917
  function useWatch(t) {
20805
20918
  const e = useFormContext(), { control: r = e.control, name: i, defaultValue: a, disabled: h, exact: d, compute: y } = t || {}, M = React__default.useRef(a), F = React__default.useRef(y), j = React__default.useRef(void 0), q = React__default.useRef(r), V = React__default.useRef(i);
20806
20919
  F.current = y;
20807
- const [W, K] = React__default.useState(() => {
20920
+ const [Z, K] = React__default.useState(() => {
20808
20921
  const Q = r._getWatch(i, M.current);
20809
20922
  return F.current ? F.current(Q) : Q;
20810
- }), Z = React__default.useCallback((Q) => {
20923
+ }), W = React__default.useCallback((Q) => {
20811
20924
  const te = generateWatchOutput(i, r._names, Q || r._formValues, !1, M.current);
20812
20925
  return F.current ? F.current(te) : te;
20813
20926
  }, [r._formValues, r._names, i]), re = React__default.useCallback((Q) => {
@@ -20834,9 +20947,9 @@ function useWatch(t) {
20834
20947
  if (h)
20835
20948
  return null;
20836
20949
  const Q = !H && !deepEqual(J, i);
20837
- return H || Q ? Z() : null;
20838
- }, [h, H, i, J, Z]);
20839
- return G !== null ? G : W;
20950
+ return H || Q ? W() : null;
20951
+ }, [h, H, i, J, W]);
20952
+ return G !== null ? G : Z;
20840
20953
  }
20841
20954
  function useController(t) {
20842
20955
  const e = useFormContext(), { name: r, disabled: i, control: a = e.control, shouldUnregister: h, defaultValue: d, exact: y = !0 } = t, M = isNameInFieldArray(a._names.array, r), F = React__default.useMemo(() => get(a._formValues, r, get(a._defaultValues, r, d)), [a, r, d]), j = useWatch({
@@ -20848,13 +20961,13 @@ function useController(t) {
20848
20961
  control: a,
20849
20962
  name: r,
20850
20963
  exact: y
20851
- }), V = React__default.useRef(t), W = React__default.useRef(void 0), K = React__default.useRef(a.register(r, {
20964
+ }), V = React__default.useRef(t), Z = React__default.useRef(void 0), K = React__default.useRef(a.register(r, {
20852
20965
  ...t.rules,
20853
20966
  value: j,
20854
20967
  ...isBoolean(t.disabled) ? { disabled: t.disabled } : {}
20855
20968
  }));
20856
20969
  V.current = t;
20857
- const Z = React__default.useMemo(() => Object.defineProperties({}, {
20970
+ const W = React__default.useMemo(() => Object.defineProperties({}, {
20858
20971
  invalid: {
20859
20972
  enumerable: !0,
20860
20973
  get: () => !!get(q.errors, r)
@@ -20904,7 +21017,7 @@ function useController(t) {
20904
21017
  ref: J
20905
21018
  }), [r, i, q.disabled, re, H, J, j]);
20906
21019
  return React__default.useEffect(() => {
20907
- const Q = a._options.shouldUnregister || h, te = W.current;
21020
+ const Q = a._options.shouldUnregister || h, te = Z.current;
20908
21021
  te && te !== r && !M && a.unregister(te), a.register(r, {
20909
21022
  ...V.current.rules,
20910
21023
  ...isBoolean(V.current.disabled) ? { disabled: V.current.disabled } : {}
@@ -20917,7 +21030,7 @@ function useController(t) {
20917
21030
  const ae = cloneObject(get(a._options.defaultValues, r, V.current.defaultValue));
20918
21031
  set(a._defaultValues, r, ae), isUndefined(get(a._formValues, r)) && set(a._formValues, r, ae);
20919
21032
  }
20920
- return !M && a.register(r), W.current = r, () => {
21033
+ return !M && a.register(r), Z.current = r, () => {
20921
21034
  (M ? Q && !a._state.action : Q) ? a.unregister(r) : ne(r, !1);
20922
21035
  };
20923
21036
  }, [r, a, M, h]), React__default.useEffect(() => {
@@ -20928,8 +21041,8 @@ function useController(t) {
20928
21041
  }, [i, r, a]), React__default.useMemo(() => ({
20929
21042
  field: G,
20930
21043
  formState: q,
20931
- fieldState: Z
20932
- }), [G, q, Z]);
21044
+ fieldState: W
21045
+ }), [G, q, W]);
20933
21046
  }
20934
21047
  const Controller = (t) => t.render(useController(t));
20935
21048
  function FieldRenderer({
@@ -21187,21 +21300,21 @@ function FormFactoryRenderer({
21187
21300
  /* @__PURE__ */ jsxs("section", { className: "space-y-4", children: [
21188
21301
  /* @__PURE__ */ jsx("h3", { className: "oniratec-form__section-title", children: M.title }),
21189
21302
  /* @__PURE__ */ jsx("div", { className: "space-y-4", children: M.fields.map((j, q) => {
21190
- const V = flattenRow(j).filter((Z) => !Z.hidden?.(y));
21303
+ const V = flattenRow(j).filter((W) => !W.hidden?.(y));
21191
21304
  if (!V.length) return null;
21192
- const W = V.reduce((Z, re) => Z + (re.colSpan ?? 1), 0), K = W > 1 ? cn$1(
21305
+ const Z = V.reduce((W, re) => W + (re.colSpan ?? 1), 0), K = Z > 1 ? cn$1(
21193
21306
  "grid gap-4",
21194
- W === 2 && "grid-cols-2",
21195
- W === 3 && "grid-cols-3",
21196
- W === 4 && "grid-cols-4"
21307
+ Z === 2 && "grid-cols-2",
21308
+ Z === 3 && "grid-cols-3",
21309
+ Z === 4 && "grid-cols-4"
21197
21310
  ) : "";
21198
- return /* @__PURE__ */ jsx("div", { className: K, children: V.map((Z) => /* @__PURE__ */ jsx(
21311
+ return /* @__PURE__ */ jsx("div", { className: K, children: V.map((W) => /* @__PURE__ */ jsx(
21199
21312
  "div",
21200
21313
  {
21201
- className: Z.colSpan ? `col-span-${Z.colSpan}` : void 0,
21202
- children: /* @__PURE__ */ jsx(FieldRenderer, { form: e, field: Z })
21314
+ className: W.colSpan ? `col-span-${W.colSpan}` : void 0,
21315
+ children: /* @__PURE__ */ jsx(FieldRenderer, { form: e, field: W })
21203
21316
  },
21204
- Z.name
21317
+ W.name
21205
21318
  )) }, q);
21206
21319
  }) })
21207
21320
  ] }, M.title),
@@ -21301,7 +21414,10 @@ function cn(...t) {
21301
21414
  return twMerge(clsx(t));
21302
21415
  }
21303
21416
  export {
21417
+ Alert,
21304
21418
  AsyncSelect,
21419
+ AuthLayout,
21420
+ Badge,
21305
21421
  Box,
21306
21422
  Breadcrumbs,
21307
21423
  Button,
@@ -21335,6 +21451,7 @@ export {
21335
21451
  FiltersModal,
21336
21452
  FiltersPanel,
21337
21453
  FormFactoryRenderer,
21454
+ ImportFileCard,
21338
21455
  Input,
21339
21456
  Logo,
21340
21457
  NotFoundState,