@oniratec/onira-react-ui 1.2.1 → 1.2.2

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
@@ -2,7 +2,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import { clsx } from "clsx";
3
3
  import { twMerge } from "tailwind-merge";
4
4
  import * as React from "react";
5
- import React__default, { forwardRef, useState, useId, useRef, useEffect, useMemo, useCallback, createContext, useContext, Fragment } from "react";
5
+ import React__default, { forwardRef, useState, useId, useRef, useMemo, useEffect, useCallback, Fragment } from "react";
6
6
  import { Loader2, Check, Circle, ChevronRight, EyeOff, EyeIcon, UploadCloud, X as X$1, ChevronDown, ChevronUp, ChevronsUpDown, Eye } from "lucide-react";
7
7
  import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
8
8
  import * as SelectPrimitive from "@radix-ui/react-select";
@@ -797,7 +797,7 @@ const defaultPlaceholder = "Arrastra y suelta archivos aquí o selecciona desde
797
797
  if (e === 0) return "0 B";
798
798
  const t = 1024, r = ["B", "KB", "MB", "GB", "TB"], i = Math.floor(Math.log(e) / Math.log(t));
799
799
  return `${(e / Math.pow(t, i)).toFixed(i === 0 ? 0 : 1)} ${r[i]}`;
800
- }, getFileKey = (e) => `${e.name}-${e.size}-${e.lastModified}`;
800
+ }, getFileKey = (e) => `${e.name}-${e.size}-${e.lastModified}`, isImageFile = (e) => e.type.startsWith("image/");
801
801
  function FileUpload({
802
802
  label: e,
803
803
  helperText: t,
@@ -811,37 +811,51 @@ function FileUpload({
811
811
  id: d,
812
812
  name: V,
813
813
  allowDrop: K = !1,
814
- placeholder: y = defaultPlaceholder
814
+ placeholder: y = defaultPlaceholder,
815
+ // ✅ NEW
816
+ showPreview: q = !0,
817
+ previewMode: G = "auto",
818
+ maxPreviewItems: H = 4
815
819
  }) {
816
- const W = useId(), G = d ?? W, H = t ? `${G}-helper` : void 0, te = r ? `${G}-error` : void 0, M = [H, te].filter(Boolean).join(" ") || void 0, j = useRef(null), [F, Z] = useState(l), [J, ee] = useState(!1), ie = n !== void 0, se = ie ? n : F, le = (ue) => {
817
- const he = s ? ue : ue.slice(0, 1);
818
- ie || Z(he), h?.(he);
819
- }, pe = (ue) => {
820
- if (!s) return ue.slice(0, 1);
821
- const he = new Map(se.map((re) => [getFileKey(re), re]));
822
- for (const re of ue)
823
- he.set(getFileKey(re), re);
824
- return Array.from(he.values());
825
- }, de = (ue) => {
826
- const he = Array.from(ue.target.files ?? []), re = s ? pe(he) : he;
827
- le(re), ue.target.value = "";
828
- }, ce = (ue) => {
829
- le(se.filter((he) => getFileKey(he) !== getFileKey(ue)));
830
- }, ve = (ue) => {
820
+ const te = useId(), M = d ?? te, j = t ? `${M}-helper` : void 0, F = r ? `${M}-error` : void 0, Z = [j, F].filter(Boolean).join(" ") || void 0, J = useRef(null), [ee, ie] = useState(l), [ae, le] = useState(!1), ue = n !== void 0, de = ue ? n : ee, fe = (W) => {
821
+ const Q = s ? W : W.slice(0, 1);
822
+ ue || ie(Q), h?.(Q);
823
+ }, pe = (W) => {
824
+ if (!s) return W.slice(0, 1);
825
+ const Q = new Map(de.map((oe) => [getFileKey(oe), oe]));
826
+ for (const oe of W)
827
+ Q.set(getFileKey(oe), oe);
828
+ return Array.from(Q.values());
829
+ }, ve = (W) => {
830
+ const Q = Array.from(W.target.files ?? []), oe = s ? pe(Q) : Q;
831
+ fe(oe), W.target.value = "";
832
+ }, he = (W) => {
833
+ fe(de.filter((Q) => getFileKey(Q) !== getFileKey(W)));
834
+ }, re = (W) => {
831
835
  if (!K || i) return;
832
- ue.preventDefault(), ee(!1);
833
- const he = Array.from(ue.dataTransfer.files ?? []);
834
- if (he.length === 0) return;
835
- const re = s ? pe(he) : he;
836
- le(re);
837
- };
838
- return /* @__PURE__ */ jsxs("div", { className: "oniratec-file-upload", "data-disabled": i ? "true" : void 0, children: [
839
- e && /* @__PURE__ */ jsx("label", { htmlFor: G, className: "oniratec-file-upload__label", children: e }),
836
+ W.preventDefault(), le(!1);
837
+ const Q = Array.from(W.dataTransfer.files ?? []);
838
+ if (Q.length === 0) return;
839
+ const oe = s ? pe(Q) : Q;
840
+ fe(oe);
841
+ }, se = useMemo(() => {
842
+ if (!q) return [];
843
+ const W = de.slice(0, H);
844
+ return G === "image" || G === "auto" && W.some((oe) => isImageFile(oe)) ? W.filter((oe) => isImageFile(oe)).map((oe) => ({
845
+ key: getFileKey(oe),
846
+ file: oe,
847
+ url: URL.createObjectURL(oe)
848
+ })) : [];
849
+ }, [de, H, G, q]);
850
+ return useEffect(() => () => {
851
+ for (const W of se) URL.revokeObjectURL(W.url);
852
+ }, [se]), /* @__PURE__ */ jsxs("div", { className: "oniratec-file-upload", "data-disabled": i ? "true" : void 0, children: [
853
+ e && /* @__PURE__ */ jsx("label", { htmlFor: M, className: "oniratec-file-upload__label", children: e }),
840
854
  /* @__PURE__ */ jsx(
841
855
  "input",
842
856
  {
843
- ref: j,
844
- id: G,
857
+ ref: J,
858
+ id: M,
845
859
  name: V,
846
860
  type: "file",
847
861
  className: "sr-only",
@@ -849,8 +863,8 @@ function FileUpload({
849
863
  multiple: s,
850
864
  accept: a,
851
865
  "aria-invalid": r ? "true" : void 0,
852
- "aria-describedby": M,
853
- onChange: de
866
+ "aria-describedby": Z,
867
+ onChange: ve
854
868
  }
855
869
  ),
856
870
  /* @__PURE__ */ jsxs(
@@ -861,14 +875,14 @@ function FileUpload({
861
875
  className: cn(
862
876
  "oniratec-file-upload__dropzone",
863
877
  K && "oniratec-file-upload__dropzone--droppable",
864
- J && "oniratec-file-upload__dropzone--dragging"
878
+ ae && "oniratec-file-upload__dropzone--dragging"
865
879
  ),
866
- onClick: () => j.current?.click(),
867
- onDragOver: (ue) => {
868
- !K || i || (ue.preventDefault(), ee(!0));
880
+ onClick: () => J.current?.click(),
881
+ onDragOver: (W) => {
882
+ !K || i || (W.preventDefault(), le(!0));
869
883
  },
870
- onDragLeave: () => K && ee(!1),
871
- onDrop: ve,
884
+ onDragLeave: () => K && le(!1),
885
+ onDrop: re,
872
886
  children: [
873
887
  /* @__PURE__ */ jsx("span", { className: "oniratec-file-upload__icon", children: /* @__PURE__ */ jsx(UploadCloud, { className: "h-5 w-5" }) }),
874
888
  /* @__PURE__ */ jsx("span", { className: "oniratec-file-upload__text", children: s ? "Seleccionar archivos" : "Seleccionar archivo" }),
@@ -880,24 +894,25 @@ function FileUpload({
880
894
  ]
881
895
  }
882
896
  ),
883
- t && !r && /* @__PURE__ */ jsx("p", { id: H, className: "oniratec-file-upload__helper", children: t }),
884
- r && /* @__PURE__ */ jsx("p", { id: te, className: "oniratec-file-upload__error", children: r }),
885
- se.length > 0 && /* @__PURE__ */ jsx("ul", { className: "oniratec-file-upload__list", children: se.map((ue) => /* @__PURE__ */ jsxs("li", { className: "oniratec-file-upload__item", children: [
897
+ se.length > 0 && /* @__PURE__ */ jsx("div", { className: "oniratec-file-upload__preview", children: se.map((W) => /* @__PURE__ */ jsx("div", { className: "oniratec-file-upload__preview-item", children: /* @__PURE__ */ jsx("img", { src: W.url, alt: W.file.name, className: "oniratec-file-upload__preview-img" }) }, W.key)) }),
898
+ t && !r && /* @__PURE__ */ jsx("p", { id: j, className: "oniratec-file-upload__helper", children: t }),
899
+ r && /* @__PURE__ */ jsx("p", { id: F, className: "oniratec-file-upload__error", children: r }),
900
+ de.length > 0 && /* @__PURE__ */ jsx("ul", { className: "oniratec-file-upload__list", children: de.map((W) => /* @__PURE__ */ jsxs("li", { className: "oniratec-file-upload__item", children: [
886
901
  /* @__PURE__ */ jsxs("div", { children: [
887
- /* @__PURE__ */ jsx("p", { className: "oniratec-file-upload__name", children: ue.name }),
888
- /* @__PURE__ */ jsx("p", { className: "oniratec-file-upload__size", children: formatFileSize(ue.size) })
902
+ /* @__PURE__ */ jsx("p", { className: "oniratec-file-upload__name", children: W.name }),
903
+ /* @__PURE__ */ jsx("p", { className: "oniratec-file-upload__size", children: formatFileSize(W.size) })
889
904
  ] }),
890
905
  /* @__PURE__ */ jsx(
891
906
  "button",
892
907
  {
893
908
  type: "button",
894
909
  className: "oniratec-file-upload__remove",
895
- onClick: () => ce(ue),
896
- "aria-label": `Eliminar ${ue.name}`,
910
+ onClick: () => he(W),
911
+ "aria-label": `Eliminar ${W.name}`,
897
912
  children: /* @__PURE__ */ jsx(X$1, { className: "h-4 w-4" })
898
913
  }
899
914
  )
900
- ] }, getFileKey(ue))) })
915
+ ] }, getFileKey(W))) })
901
916
  ] });
902
917
  }
903
918
  const FilePicker = FileUpload;
@@ -1178,115 +1193,115 @@ function requireLottie() {
1178
1193
  var e = 1, t = [], r, i, s = {
1179
1194
  onmessage: function() {
1180
1195
  },
1181
- postMessage: function(W) {
1196
+ postMessage: function(q) {
1182
1197
  r({
1183
- data: W
1198
+ data: q
1184
1199
  });
1185
1200
  }
1186
1201
  }, a = {
1187
- postMessage: function(W) {
1202
+ postMessage: function(q) {
1188
1203
  s.onmessage({
1189
- data: W
1204
+ data: q
1190
1205
  });
1191
1206
  }
1192
1207
  };
1193
1208
  function n(y) {
1194
1209
  if (window.Worker && window.Blob && getWebWorker()) {
1195
- var W = new Blob(["var _workerSelf = self; self.onmessage = ", y.toString()], {
1210
+ var q = new Blob(["var _workerSelf = self; self.onmessage = ", y.toString()], {
1196
1211
  type: "text/javascript"
1197
- }), G = URL.createObjectURL(W);
1212
+ }), G = URL.createObjectURL(q);
1198
1213
  return new Worker(G);
1199
1214
  }
1200
1215
  return r = y, s;
1201
1216
  }
1202
1217
  function l() {
1203
- i || (i = n(function(W) {
1218
+ i || (i = n(function(q) {
1204
1219
  function G() {
1205
1220
  function te(he, re) {
1206
- var ae, q, Q = he.length, oe, ne, fe, me;
1207
- for (q = 0; q < Q; q += 1)
1208
- if (ae = he[q], "ks" in ae && !ae.completed) {
1209
- if (ae.completed = !0, ae.hasMask) {
1210
- var ye = ae.masksProperties;
1221
+ var se, W, Q = he.length, oe, ne, ce, me;
1222
+ for (W = 0; W < Q; W += 1)
1223
+ if (se = he[W], "ks" in se && !se.completed) {
1224
+ if (se.completed = !0, se.hasMask) {
1225
+ var ye = se.masksProperties;
1211
1226
  for (ne = ye.length, oe = 0; oe < ne; oe += 1)
1212
1227
  if (ye[oe].pt.k.i)
1213
1228
  J(ye[oe].pt.k);
1214
1229
  else
1215
- for (me = ye[oe].pt.k.length, fe = 0; fe < me; fe += 1)
1216
- ye[oe].pt.k[fe].s && J(ye[oe].pt.k[fe].s[0]), ye[oe].pt.k[fe].e && J(ye[oe].pt.k[fe].e[0]);
1230
+ for (me = ye[oe].pt.k.length, ce = 0; ce < me; ce += 1)
1231
+ ye[oe].pt.k[ce].s && J(ye[oe].pt.k[ce].s[0]), ye[oe].pt.k[ce].e && J(ye[oe].pt.k[ce].e[0]);
1217
1232
  }
1218
- ae.ty === 0 ? (ae.layers = F(ae.refId, re), te(ae.layers, re)) : ae.ty === 4 ? Z(ae.shapes) : ae.ty === 5 && ve(ae);
1233
+ se.ty === 0 ? (se.layers = F(se.refId, re), te(se.layers, re)) : se.ty === 4 ? Z(se.shapes) : se.ty === 5 && pe(se);
1219
1234
  }
1220
1235
  }
1221
1236
  function M(he, re) {
1222
1237
  if (he) {
1223
- var ae = 0, q = he.length;
1224
- for (ae = 0; ae < q; ae += 1)
1225
- he[ae].t === 1 && (he[ae].data.layers = F(he[ae].data.refId, re), te(he[ae].data.layers, re));
1238
+ var se = 0, W = he.length;
1239
+ for (se = 0; se < W; se += 1)
1240
+ he[se].t === 1 && (he[se].data.layers = F(he[se].data.refId, re), te(he[se].data.layers, re));
1226
1241
  }
1227
1242
  }
1228
1243
  function j(he, re) {
1229
- for (var ae = 0, q = re.length; ae < q; ) {
1230
- if (re[ae].id === he)
1231
- return re[ae];
1232
- ae += 1;
1244
+ for (var se = 0, W = re.length; se < W; ) {
1245
+ if (re[se].id === he)
1246
+ return re[se];
1247
+ se += 1;
1233
1248
  }
1234
1249
  return null;
1235
1250
  }
1236
1251
  function F(he, re) {
1237
- var ae = j(he, re);
1238
- return ae ? ae.layers.__used ? JSON.parse(JSON.stringify(ae.layers)) : (ae.layers.__used = !0, ae.layers) : null;
1252
+ var se = j(he, re);
1253
+ return se ? se.layers.__used ? JSON.parse(JSON.stringify(se.layers)) : (se.layers.__used = !0, se.layers) : null;
1239
1254
  }
1240
1255
  function Z(he) {
1241
- var re, ae = he.length, q, Q;
1242
- for (re = ae - 1; re >= 0; re -= 1)
1256
+ var re, se = he.length, W, Q;
1257
+ for (re = se - 1; re >= 0; re -= 1)
1243
1258
  if (he[re].ty === "sh")
1244
1259
  if (he[re].ks.k.i)
1245
1260
  J(he[re].ks.k);
1246
1261
  else
1247
- for (Q = he[re].ks.k.length, q = 0; q < Q; q += 1)
1248
- he[re].ks.k[q].s && J(he[re].ks.k[q].s[0]), he[re].ks.k[q].e && J(he[re].ks.k[q].e[0]);
1262
+ for (Q = he[re].ks.k.length, W = 0; W < Q; W += 1)
1263
+ he[re].ks.k[W].s && J(he[re].ks.k[W].s[0]), he[re].ks.k[W].e && J(he[re].ks.k[W].e[0]);
1249
1264
  else he[re].ty === "gr" && Z(he[re].it);
1250
1265
  }
1251
1266
  function J(he) {
1252
- var re, ae = he.i.length;
1253
- for (re = 0; re < ae; re += 1)
1267
+ var re, se = he.i.length;
1268
+ for (re = 0; re < se; re += 1)
1254
1269
  he.i[re][0] += he.v[re][0], he.i[re][1] += he.v[re][1], he.o[re][0] += he.v[re][0], he.o[re][1] += he.v[re][1];
1255
1270
  }
1256
1271
  function ee(he, re) {
1257
- var ae = re ? re.split(".") : [100, 100, 100];
1258
- return he[0] > ae[0] ? !0 : ae[0] > he[0] ? !1 : he[1] > ae[1] ? !0 : ae[1] > he[1] ? !1 : he[2] > ae[2] ? !0 : ae[2] > he[2] ? !1 : null;
1272
+ var se = re ? re.split(".") : [100, 100, 100];
1273
+ return he[0] > se[0] ? !0 : se[0] > he[0] ? !1 : he[1] > se[1] ? !0 : se[1] > he[1] ? !1 : he[2] > se[2] ? !0 : se[2] > he[2] ? !1 : null;
1259
1274
  }
1260
1275
  var ie = /* @__PURE__ */ (function() {
1261
1276
  var he = [4, 4, 14];
1262
- function re(q) {
1263
- var Q = q.t.d;
1264
- q.t.d = {
1277
+ function re(W) {
1278
+ var Q = W.t.d;
1279
+ W.t.d = {
1265
1280
  k: [{
1266
1281
  s: Q,
1267
1282
  t: 0
1268
1283
  }]
1269
1284
  };
1270
1285
  }
1271
- function ae(q) {
1272
- var Q, oe = q.length;
1286
+ function se(W) {
1287
+ var Q, oe = W.length;
1273
1288
  for (Q = 0; Q < oe; Q += 1)
1274
- q[Q].ty === 5 && re(q[Q]);
1289
+ W[Q].ty === 5 && re(W[Q]);
1275
1290
  }
1276
- return function(q) {
1277
- if (ee(he, q.v) && (ae(q.layers), q.assets)) {
1278
- var Q, oe = q.assets.length;
1291
+ return function(W) {
1292
+ if (ee(he, W.v) && (se(W.layers), W.assets)) {
1293
+ var Q, oe = W.assets.length;
1279
1294
  for (Q = 0; Q < oe; Q += 1)
1280
- q.assets[Q].layers && ae(q.assets[Q].layers);
1295
+ W.assets[Q].layers && se(W.assets[Q].layers);
1281
1296
  }
1282
1297
  };
1283
- })(), se = /* @__PURE__ */ (function() {
1298
+ })(), ae = /* @__PURE__ */ (function() {
1284
1299
  var he = [4, 7, 99];
1285
1300
  return function(re) {
1286
1301
  if (re.chars && !ee(he, re.v)) {
1287
- var ae, q = re.chars.length;
1288
- for (ae = 0; ae < q; ae += 1) {
1289
- var Q = re.chars[ae];
1302
+ var se, W = re.chars.length;
1303
+ for (se = 0; se < W; se += 1) {
1304
+ var Q = re.chars[se];
1290
1305
  Q.data && Q.data.shapes && (Z(Q.data.shapes), Q.data.ip = 0, Q.data.op = 99999, Q.data.st = 0, Q.data.sr = 1, Q.data.ks = {
1291
1306
  p: {
1292
1307
  k: [0, 0],
@@ -1308,7 +1323,7 @@ function requireLottie() {
1308
1323
  k: 100,
1309
1324
  a: 0
1310
1325
  }
1311
- }, re.chars[ae].t || (Q.data.shapes.push({
1326
+ }, re.chars[se].t || (Q.data.shapes.push({
1312
1327
  ty: "no"
1313
1328
  }), Q.data.shapes[0].it.push({
1314
1329
  p: {
@@ -1346,8 +1361,8 @@ function requireLottie() {
1346
1361
  };
1347
1362
  })(), le = /* @__PURE__ */ (function() {
1348
1363
  var he = [5, 7, 15];
1349
- function re(q) {
1350
- var Q = q.t.p;
1364
+ function re(W) {
1365
+ var Q = W.t.p;
1351
1366
  typeof Q.a == "number" && (Q.a = {
1352
1367
  a: 0,
1353
1368
  k: Q.a
@@ -1359,88 +1374,88 @@ function requireLottie() {
1359
1374
  k: Q.r
1360
1375
  });
1361
1376
  }
1362
- function ae(q) {
1363
- var Q, oe = q.length;
1377
+ function se(W) {
1378
+ var Q, oe = W.length;
1364
1379
  for (Q = 0; Q < oe; Q += 1)
1365
- q[Q].ty === 5 && re(q[Q]);
1380
+ W[Q].ty === 5 && re(W[Q]);
1366
1381
  }
1367
- return function(q) {
1368
- if (ee(he, q.v) && (ae(q.layers), q.assets)) {
1369
- var Q, oe = q.assets.length;
1382
+ return function(W) {
1383
+ if (ee(he, W.v) && (se(W.layers), W.assets)) {
1384
+ var Q, oe = W.assets.length;
1370
1385
  for (Q = 0; Q < oe; Q += 1)
1371
- q.assets[Q].layers && ae(q.assets[Q].layers);
1386
+ W.assets[Q].layers && se(W.assets[Q].layers);
1372
1387
  }
1373
1388
  };
1374
- })(), pe = /* @__PURE__ */ (function() {
1389
+ })(), ue = /* @__PURE__ */ (function() {
1375
1390
  var he = [4, 1, 9];
1376
- function re(q) {
1377
- var Q, oe = q.length, ne, fe;
1391
+ function re(W) {
1392
+ var Q, oe = W.length, ne, ce;
1378
1393
  for (Q = 0; Q < oe; Q += 1)
1379
- if (q[Q].ty === "gr")
1380
- re(q[Q].it);
1381
- else if (q[Q].ty === "fl" || q[Q].ty === "st")
1382
- if (q[Q].c.k && q[Q].c.k[0].i)
1383
- for (fe = q[Q].c.k.length, ne = 0; ne < fe; ne += 1)
1384
- q[Q].c.k[ne].s && (q[Q].c.k[ne].s[0] /= 255, q[Q].c.k[ne].s[1] /= 255, q[Q].c.k[ne].s[2] /= 255, q[Q].c.k[ne].s[3] /= 255), q[Q].c.k[ne].e && (q[Q].c.k[ne].e[0] /= 255, q[Q].c.k[ne].e[1] /= 255, q[Q].c.k[ne].e[2] /= 255, q[Q].c.k[ne].e[3] /= 255);
1394
+ if (W[Q].ty === "gr")
1395
+ re(W[Q].it);
1396
+ else if (W[Q].ty === "fl" || W[Q].ty === "st")
1397
+ if (W[Q].c.k && W[Q].c.k[0].i)
1398
+ for (ce = W[Q].c.k.length, ne = 0; ne < ce; ne += 1)
1399
+ W[Q].c.k[ne].s && (W[Q].c.k[ne].s[0] /= 255, W[Q].c.k[ne].s[1] /= 255, W[Q].c.k[ne].s[2] /= 255, W[Q].c.k[ne].s[3] /= 255), W[Q].c.k[ne].e && (W[Q].c.k[ne].e[0] /= 255, W[Q].c.k[ne].e[1] /= 255, W[Q].c.k[ne].e[2] /= 255, W[Q].c.k[ne].e[3] /= 255);
1385
1400
  else
1386
- q[Q].c.k[0] /= 255, q[Q].c.k[1] /= 255, q[Q].c.k[2] /= 255, q[Q].c.k[3] /= 255;
1401
+ W[Q].c.k[0] /= 255, W[Q].c.k[1] /= 255, W[Q].c.k[2] /= 255, W[Q].c.k[3] /= 255;
1387
1402
  }
1388
- function ae(q) {
1389
- var Q, oe = q.length;
1403
+ function se(W) {
1404
+ var Q, oe = W.length;
1390
1405
  for (Q = 0; Q < oe; Q += 1)
1391
- q[Q].ty === 4 && re(q[Q].shapes);
1406
+ W[Q].ty === 4 && re(W[Q].shapes);
1392
1407
  }
1393
- return function(q) {
1394
- if (ee(he, q.v) && (ae(q.layers), q.assets)) {
1395
- var Q, oe = q.assets.length;
1408
+ return function(W) {
1409
+ if (ee(he, W.v) && (se(W.layers), W.assets)) {
1410
+ var Q, oe = W.assets.length;
1396
1411
  for (Q = 0; Q < oe; Q += 1)
1397
- q.assets[Q].layers && ae(q.assets[Q].layers);
1412
+ W.assets[Q].layers && se(W.assets[Q].layers);
1398
1413
  }
1399
1414
  };
1400
1415
  })(), de = /* @__PURE__ */ (function() {
1401
1416
  var he = [4, 4, 18];
1402
- function re(q) {
1403
- var Q, oe = q.length, ne, fe;
1417
+ function re(W) {
1418
+ var Q, oe = W.length, ne, ce;
1404
1419
  for (Q = oe - 1; Q >= 0; Q -= 1)
1405
- if (q[Q].ty === "sh")
1406
- if (q[Q].ks.k.i)
1407
- q[Q].ks.k.c = q[Q].closed;
1420
+ if (W[Q].ty === "sh")
1421
+ if (W[Q].ks.k.i)
1422
+ W[Q].ks.k.c = W[Q].closed;
1408
1423
  else
1409
- for (fe = q[Q].ks.k.length, ne = 0; ne < fe; ne += 1)
1410
- q[Q].ks.k[ne].s && (q[Q].ks.k[ne].s[0].c = q[Q].closed), q[Q].ks.k[ne].e && (q[Q].ks.k[ne].e[0].c = q[Q].closed);
1411
- else q[Q].ty === "gr" && re(q[Q].it);
1424
+ for (ce = W[Q].ks.k.length, ne = 0; ne < ce; ne += 1)
1425
+ W[Q].ks.k[ne].s && (W[Q].ks.k[ne].s[0].c = W[Q].closed), W[Q].ks.k[ne].e && (W[Q].ks.k[ne].e[0].c = W[Q].closed);
1426
+ else W[Q].ty === "gr" && re(W[Q].it);
1412
1427
  }
1413
- function ae(q) {
1414
- var Q, oe, ne = q.length, fe, me, ye, xe;
1428
+ function se(W) {
1429
+ var Q, oe, ne = W.length, ce, me, ye, xe;
1415
1430
  for (oe = 0; oe < ne; oe += 1) {
1416
- if (Q = q[oe], Q.hasMask) {
1431
+ if (Q = W[oe], Q.hasMask) {
1417
1432
  var be = Q.masksProperties;
1418
- for (me = be.length, fe = 0; fe < me; fe += 1)
1419
- if (be[fe].pt.k.i)
1420
- be[fe].pt.k.c = be[fe].cl;
1433
+ for (me = be.length, ce = 0; ce < me; ce += 1)
1434
+ if (be[ce].pt.k.i)
1435
+ be[ce].pt.k.c = be[ce].cl;
1421
1436
  else
1422
- for (xe = be[fe].pt.k.length, ye = 0; ye < xe; ye += 1)
1423
- be[fe].pt.k[ye].s && (be[fe].pt.k[ye].s[0].c = be[fe].cl), be[fe].pt.k[ye].e && (be[fe].pt.k[ye].e[0].c = be[fe].cl);
1437
+ for (xe = be[ce].pt.k.length, ye = 0; ye < xe; ye += 1)
1438
+ be[ce].pt.k[ye].s && (be[ce].pt.k[ye].s[0].c = be[ce].cl), be[ce].pt.k[ye].e && (be[ce].pt.k[ye].e[0].c = be[ce].cl);
1424
1439
  }
1425
1440
  Q.ty === 4 && re(Q.shapes);
1426
1441
  }
1427
1442
  }
1428
- return function(q) {
1429
- if (ee(he, q.v) && (ae(q.layers), q.assets)) {
1430
- var Q, oe = q.assets.length;
1443
+ return function(W) {
1444
+ if (ee(he, W.v) && (se(W.layers), W.assets)) {
1445
+ var Q, oe = W.assets.length;
1431
1446
  for (Q = 0; Q < oe; Q += 1)
1432
- q.assets[Q].layers && ae(q.assets[Q].layers);
1447
+ W.assets[Q].layers && se(W.assets[Q].layers);
1433
1448
  }
1434
1449
  };
1435
1450
  })();
1436
- function ce(he) {
1437
- he.__complete || (pe(he), ie(he), se(he), le(he), de(he), te(he.layers, he.assets), M(he.chars, he.assets), he.__complete = !0);
1451
+ function fe(he) {
1452
+ he.__complete || (ue(he), ie(he), ae(he), le(he), de(he), te(he.layers, he.assets), M(he.chars, he.assets), he.__complete = !0);
1438
1453
  }
1439
- function ve(he) {
1454
+ function pe(he) {
1440
1455
  he.t.a.length === 0 && "m" in he.t.p;
1441
1456
  }
1442
- var ue = {};
1443
- return ue.completeData = ce, ue.checkColors = pe, ue.checkChars = se, ue.checkPathProperties = le, ue.checkShapes = de, ue.completeLayers = te, ue;
1457
+ var ve = {};
1458
+ return ve.completeData = fe, ve.checkColors = ue, ve.checkChars = ae, ve.checkPathProperties = le, ve.checkShapes = de, ve.completeLayers = te, ve;
1444
1459
  }
1445
1460
  if (a.dataManager || (a.dataManager = G()), a.assetLoader || (a.assetLoader = /* @__PURE__ */ (function() {
1446
1461
  function te(j) {
@@ -1460,8 +1475,8 @@ function requireLottie() {
1460
1475
  else
1461
1476
  try {
1462
1477
  ee = te(ie), Z(ee);
1463
- } catch (se) {
1464
- J && J(se);
1478
+ } catch (ae) {
1479
+ J && J(ae);
1465
1480
  }
1466
1481
  };
1467
1482
  try {
@@ -1474,54 +1489,54 @@ function requireLottie() {
1474
1489
  return {
1475
1490
  load: M
1476
1491
  };
1477
- })()), W.data.type === "loadAnimation")
1478
- a.assetLoader.load(W.data.path, W.data.fullPath, function(te) {
1492
+ })()), q.data.type === "loadAnimation")
1493
+ a.assetLoader.load(q.data.path, q.data.fullPath, function(te) {
1479
1494
  a.dataManager.completeData(te), a.postMessage({
1480
- id: W.data.id,
1495
+ id: q.data.id,
1481
1496
  payload: te,
1482
1497
  status: "success"
1483
1498
  });
1484
1499
  }, function() {
1485
1500
  a.postMessage({
1486
- id: W.data.id,
1501
+ id: q.data.id,
1487
1502
  status: "error"
1488
1503
  });
1489
1504
  });
1490
- else if (W.data.type === "complete") {
1491
- var H = W.data.animation;
1505
+ else if (q.data.type === "complete") {
1506
+ var H = q.data.animation;
1492
1507
  a.dataManager.completeData(H), a.postMessage({
1493
- id: W.data.id,
1508
+ id: q.data.id,
1494
1509
  payload: H,
1495
1510
  status: "success"
1496
1511
  });
1497
- } else W.data.type === "loadData" && a.assetLoader.load(W.data.path, W.data.fullPath, function(te) {
1512
+ } else q.data.type === "loadData" && a.assetLoader.load(q.data.path, q.data.fullPath, function(te) {
1498
1513
  a.postMessage({
1499
- id: W.data.id,
1514
+ id: q.data.id,
1500
1515
  payload: te,
1501
1516
  status: "success"
1502
1517
  });
1503
1518
  }, function() {
1504
1519
  a.postMessage({
1505
- id: W.data.id,
1520
+ id: q.data.id,
1506
1521
  status: "error"
1507
1522
  });
1508
1523
  });
1509
1524
  }), i.onmessage = function(y) {
1510
- var W = y.data, G = W.id, H = t[G];
1511
- t[G] = null, W.status === "success" ? H.onComplete(W.payload) : H.onError && H.onError();
1525
+ var q = y.data, G = q.id, H = t[G];
1526
+ t[G] = null, q.status === "success" ? H.onComplete(q.payload) : H.onError && H.onError();
1512
1527
  });
1513
1528
  }
1514
- function h(y, W) {
1529
+ function h(y, q) {
1515
1530
  e += 1;
1516
1531
  var G = "processId_" + e;
1517
1532
  return t[G] = {
1518
1533
  onComplete: y,
1519
- onError: W
1534
+ onError: q
1520
1535
  }, G;
1521
1536
  }
1522
- function d(y, W, G) {
1537
+ function d(y, q, G) {
1523
1538
  l();
1524
- var H = h(W, G);
1539
+ var H = h(q, G);
1525
1540
  i.postMessage({
1526
1541
  type: "loadAnimation",
1527
1542
  path: y,
@@ -1529,9 +1544,9 @@ function requireLottie() {
1529
1544
  id: H
1530
1545
  });
1531
1546
  }
1532
- function V(y, W, G) {
1547
+ function V(y, q, G) {
1533
1548
  l();
1534
- var H = h(W, G);
1549
+ var H = h(q, G);
1535
1550
  i.postMessage({
1536
1551
  type: "loadData",
1537
1552
  path: y,
@@ -1539,9 +1554,9 @@ function requireLottie() {
1539
1554
  id: H
1540
1555
  });
1541
1556
  }
1542
- function K(y, W, G) {
1557
+ function K(y, q, G) {
1543
1558
  l();
1544
- var H = h(W, G);
1559
+ var H = h(q, G);
1545
1560
  i.postMessage({
1546
1561
  type: "complete",
1547
1562
  animation: y,
@@ -1638,7 +1653,7 @@ function requireLottie() {
1638
1653
  function y() {
1639
1654
  this.imagesLoadedCb = null, this.images.length = 0;
1640
1655
  }
1641
- function W() {
1656
+ function q() {
1642
1657
  return this.totalImages === this.loadedAssets;
1643
1658
  }
1644
1659
  function G() {
@@ -1654,7 +1669,7 @@ function requireLottie() {
1654
1669
  loadAssets: h,
1655
1670
  setAssetsPath: V,
1656
1671
  setPath: d,
1657
- loadedImages: W,
1672
+ loadedImages: q,
1658
1673
  loadedFootages: G,
1659
1674
  destroy: y,
1660
1675
  getAsset: K,
@@ -1990,101 +2005,101 @@ function requireLottie() {
1990
2005
  var animationManager = (function() {
1991
2006
  var e = {}, t = [], r = 0, i = 0, s = 0, a = !0, n = !1;
1992
2007
  function l(re) {
1993
- for (var ae = 0, q = re.target; ae < i; )
1994
- t[ae].animation === q && (t.splice(ae, 1), ae -= 1, i -= 1, q.isPaused || K()), ae += 1;
2008
+ for (var se = 0, W = re.target; se < i; )
2009
+ t[se].animation === W && (t.splice(se, 1), se -= 1, i -= 1, W.isPaused || K()), se += 1;
1995
2010
  }
1996
- function h(re, ae) {
2011
+ function h(re, se) {
1997
2012
  if (!re)
1998
2013
  return null;
1999
- for (var q = 0; q < i; ) {
2000
- if (t[q].elem === re && t[q].elem !== null)
2001
- return t[q].animation;
2002
- q += 1;
2014
+ for (var W = 0; W < i; ) {
2015
+ if (t[W].elem === re && t[W].elem !== null)
2016
+ return t[W].animation;
2017
+ W += 1;
2003
2018
  }
2004
2019
  var Q = new AnimationItem();
2005
- return y(Q, re), Q.setData(re, ae), Q;
2020
+ return y(Q, re), Q.setData(re, se), Q;
2006
2021
  }
2007
2022
  function d() {
2008
- var re, ae = t.length, q = [];
2009
- for (re = 0; re < ae; re += 1)
2010
- q.push(t[re].animation);
2011
- return q;
2023
+ var re, se = t.length, W = [];
2024
+ for (re = 0; re < se; re += 1)
2025
+ W.push(t[re].animation);
2026
+ return W;
2012
2027
  }
2013
2028
  function V() {
2014
- s += 1, pe();
2029
+ s += 1, ue();
2015
2030
  }
2016
2031
  function K() {
2017
2032
  s -= 1;
2018
2033
  }
2019
- function y(re, ae) {
2034
+ function y(re, se) {
2020
2035
  re.addEventListener("destroy", l), re.addEventListener("_active", V), re.addEventListener("_idle", K), t.push({
2021
- elem: ae,
2036
+ elem: se,
2022
2037
  animation: re
2023
2038
  }), i += 1;
2024
2039
  }
2025
- function W(re) {
2026
- var ae = new AnimationItem();
2027
- return y(ae, null), ae.setParams(re), ae;
2040
+ function q(re) {
2041
+ var se = new AnimationItem();
2042
+ return y(se, null), se.setParams(re), se;
2028
2043
  }
2029
- function G(re, ae) {
2030
- var q;
2031
- for (q = 0; q < i; q += 1)
2032
- t[q].animation.setSpeed(re, ae);
2044
+ function G(re, se) {
2045
+ var W;
2046
+ for (W = 0; W < i; W += 1)
2047
+ t[W].animation.setSpeed(re, se);
2033
2048
  }
2034
- function H(re, ae) {
2035
- var q;
2036
- for (q = 0; q < i; q += 1)
2037
- t[q].animation.setDirection(re, ae);
2049
+ function H(re, se) {
2050
+ var W;
2051
+ for (W = 0; W < i; W += 1)
2052
+ t[W].animation.setDirection(re, se);
2038
2053
  }
2039
2054
  function te(re) {
2040
- var ae;
2041
- for (ae = 0; ae < i; ae += 1)
2042
- t[ae].animation.play(re);
2055
+ var se;
2056
+ for (se = 0; se < i; se += 1)
2057
+ t[se].animation.play(re);
2043
2058
  }
2044
2059
  function M(re) {
2045
- var ae = re - r, q;
2046
- for (q = 0; q < i; q += 1)
2047
- t[q].animation.advanceTime(ae);
2060
+ var se = re - r, W;
2061
+ for (W = 0; W < i; W += 1)
2062
+ t[W].animation.advanceTime(se);
2048
2063
  r = re, s && !n ? window.requestAnimationFrame(M) : a = !0;
2049
2064
  }
2050
2065
  function j(re) {
2051
2066
  r = re, window.requestAnimationFrame(M);
2052
2067
  }
2053
2068
  function F(re) {
2054
- var ae;
2055
- for (ae = 0; ae < i; ae += 1)
2056
- t[ae].animation.pause(re);
2069
+ var se;
2070
+ for (se = 0; se < i; se += 1)
2071
+ t[se].animation.pause(re);
2057
2072
  }
2058
- function Z(re, ae, q) {
2073
+ function Z(re, se, W) {
2059
2074
  var Q;
2060
2075
  for (Q = 0; Q < i; Q += 1)
2061
- t[Q].animation.goToAndStop(re, ae, q);
2076
+ t[Q].animation.goToAndStop(re, se, W);
2062
2077
  }
2063
2078
  function J(re) {
2064
- var ae;
2065
- for (ae = 0; ae < i; ae += 1)
2066
- t[ae].animation.stop(re);
2079
+ var se;
2080
+ for (se = 0; se < i; se += 1)
2081
+ t[se].animation.stop(re);
2067
2082
  }
2068
2083
  function ee(re) {
2069
- var ae;
2070
- for (ae = 0; ae < i; ae += 1)
2071
- t[ae].animation.togglePause(re);
2084
+ var se;
2085
+ for (se = 0; se < i; se += 1)
2086
+ t[se].animation.togglePause(re);
2072
2087
  }
2073
2088
  function ie(re) {
2074
- var ae;
2075
- for (ae = i - 1; ae >= 0; ae -= 1)
2076
- t[ae].animation.destroy(re);
2089
+ var se;
2090
+ for (se = i - 1; se >= 0; se -= 1)
2091
+ t[se].animation.destroy(re);
2077
2092
  }
2078
- function se(re, ae, q) {
2093
+ function ae(re, se, W) {
2079
2094
  var Q = [].concat([].slice.call(document.getElementsByClassName("lottie")), [].slice.call(document.getElementsByClassName("bodymovin"))), oe, ne = Q.length;
2080
2095
  for (oe = 0; oe < ne; oe += 1)
2081
- q && Q[oe].setAttribute("data-bm-type", q), h(Q[oe], re);
2082
- if (ae && ne === 0) {
2083
- q || (q = "svg");
2084
- var fe = document.getElementsByTagName("body")[0];
2085
- fe.innerText = "";
2096
+ W && Q[oe].setAttribute("data-bm-type", W), h(Q[oe], re);
2097
+ if (se && ne === 0) {
2098
+ W || (W = "svg");
2099
+ var ce = document.getElementsByTagName("body")[0];
2100
+ ce.innerText = "";
2086
2101
  var me = createTag("div");
2087
- me.style.width = "100%", me.style.height = "100%", me.setAttribute("data-bm-type", q), fe.appendChild(me), h(me, re);
2102
+ me.style.width = "100%", me.style.height = "100%", me.setAttribute("data-bm-type", W), ce.appendChild(me), h(me, re);
2088
2103
  }
2089
2104
  }
2090
2105
  function le() {
@@ -2092,31 +2107,31 @@ function requireLottie() {
2092
2107
  for (re = 0; re < i; re += 1)
2093
2108
  t[re].animation.resize();
2094
2109
  }
2095
- function pe() {
2110
+ function ue() {
2096
2111
  !n && s && a && (window.requestAnimationFrame(j), a = !1);
2097
2112
  }
2098
2113
  function de() {
2099
2114
  n = !0;
2100
2115
  }
2101
- function ce() {
2102
- n = !1, pe();
2116
+ function fe() {
2117
+ n = !1, ue();
2103
2118
  }
2104
- function ve(re, ae) {
2105
- var q;
2106
- for (q = 0; q < i; q += 1)
2107
- t[q].animation.setVolume(re, ae);
2119
+ function pe(re, se) {
2120
+ var W;
2121
+ for (W = 0; W < i; W += 1)
2122
+ t[W].animation.setVolume(re, se);
2108
2123
  }
2109
- function ue(re) {
2110
- var ae;
2111
- for (ae = 0; ae < i; ae += 1)
2112
- t[ae].animation.mute(re);
2124
+ function ve(re) {
2125
+ var se;
2126
+ for (se = 0; se < i; se += 1)
2127
+ t[se].animation.mute(re);
2113
2128
  }
2114
2129
  function he(re) {
2115
- var ae;
2116
- for (ae = 0; ae < i; ae += 1)
2117
- t[ae].animation.unmute(re);
2130
+ var se;
2131
+ for (se = 0; se < i; se += 1)
2132
+ t[se].animation.unmute(re);
2118
2133
  }
2119
- return e.registerAnimation = h, e.loadAnimation = W, e.setSpeed = G, e.setDirection = H, e.play = te, e.pause = F, e.stop = J, e.togglePause = ee, e.searchAnimations = se, e.resize = le, e.goToAndStop = Z, e.destroy = ie, e.freeze = de, e.unfreeze = ce, e.setVolume = ve, e.mute = ue, e.unmute = he, e.getRegisteredAnimations = d, e;
2134
+ return e.registerAnimation = h, e.loadAnimation = q, e.setSpeed = G, e.setDirection = H, e.play = te, e.pause = F, e.stop = J, e.togglePause = ee, e.searchAnimations = ae, e.resize = le, e.goToAndStop = Z, e.destroy = ie, e.freeze = de, e.unfreeze = fe, e.setVolume = pe, e.mute = ve, e.unmute = he, e.getRegisteredAnimations = d, e;
2120
2135
  })(), BezierFactory = (function() {
2121
2136
  var e = {};
2122
2137
  e.getBezierEasing = r;
@@ -2125,8 +2140,8 @@ function requireLottie() {
2125
2140
  var ie = ee || ("bez_" + j + "_" + F + "_" + Z + "_" + J).replace(/\./g, "p");
2126
2141
  if (t[ie])
2127
2142
  return t[ie];
2128
- var se = new M([j, F, Z, J]);
2129
- return t[ie] = se, se;
2143
+ var ae = new M([j, F, Z, J]);
2144
+ return t[ie] = ae, ae;
2130
2145
  }
2131
2146
  var i = 4, s = 1e-3, a = 1e-7, n = 10, l = 11, h = 1 / (l - 1), d = typeof Float32Array == "function";
2132
2147
  function V(j, F) {
@@ -2138,25 +2153,25 @@ function requireLottie() {
2138
2153
  function y(j) {
2139
2154
  return 3 * j;
2140
2155
  }
2141
- function W(j, F, Z) {
2156
+ function q(j, F, Z) {
2142
2157
  return ((V(F, Z) * j + K(F, Z)) * j + y(F)) * j;
2143
2158
  }
2144
2159
  function G(j, F, Z) {
2145
2160
  return 3 * V(F, Z) * j * j + 2 * K(F, Z) * j + y(F);
2146
2161
  }
2147
2162
  function H(j, F, Z, J, ee) {
2148
- var ie, se, le = 0;
2163
+ var ie, ae, le = 0;
2149
2164
  do
2150
- se = F + (Z - F) / 2, ie = W(se, J, ee) - j, ie > 0 ? Z = se : F = se;
2165
+ ae = F + (Z - F) / 2, ie = q(ae, J, ee) - j, ie > 0 ? Z = ae : F = ae;
2151
2166
  while (Math.abs(ie) > a && ++le < n);
2152
- return se;
2167
+ return ae;
2153
2168
  }
2154
2169
  function te(j, F, Z, J) {
2155
2170
  for (var ee = 0; ee < i; ++ee) {
2156
2171
  var ie = G(F, Z, J);
2157
2172
  if (ie === 0) return F;
2158
- var se = W(F, Z, J) - j;
2159
- F -= se / ie;
2173
+ var ae = q(F, Z, J) - j;
2174
+ F -= ae / ie;
2160
2175
  }
2161
2176
  return F;
2162
2177
  }
@@ -2166,7 +2181,7 @@ function requireLottie() {
2166
2181
  return M.prototype = {
2167
2182
  get: function(F) {
2168
2183
  var Z = this._p[0], J = this._p[1], ee = this._p[2], ie = this._p[3];
2169
- return this._precomputed || this._precompute(), Z === J && ee === ie ? F : F === 0 ? 0 : F === 1 ? 1 : W(this._getTForX(F), J, ie);
2184
+ return this._precomputed || this._precompute(), Z === J && ee === ie ? F : F === 0 ? 0 : F === 1 ? 1 : q(this._getTForX(F), J, ie);
2170
2185
  },
2171
2186
  // Private part
2172
2187
  _precompute: function() {
@@ -2175,17 +2190,17 @@ function requireLottie() {
2175
2190
  },
2176
2191
  _calcSampleValues: function() {
2177
2192
  for (var F = this._p[0], Z = this._p[2], J = 0; J < l; ++J)
2178
- this._mSampleValues[J] = W(J * h, F, Z);
2193
+ this._mSampleValues[J] = q(J * h, F, Z);
2179
2194
  },
2180
2195
  /**
2181
2196
  * getTForX chose the fastest heuristic to determine the percentage value precisely from a given X projection.
2182
2197
  */
2183
2198
  _getTForX: function(F) {
2184
- for (var Z = this._p[0], J = this._p[2], ee = this._mSampleValues, ie = 0, se = 1, le = l - 1; se !== le && ee[se] <= F; ++se)
2199
+ for (var Z = this._p[0], J = this._p[2], ee = this._mSampleValues, ie = 0, ae = 1, le = l - 1; ae !== le && ee[ae] <= F; ++ae)
2185
2200
  ie += h;
2186
- --se;
2187
- var pe = (F - ee[se]) / (ee[se + 1] - ee[se]), de = ie + pe * h, ce = G(de, Z, J);
2188
- return ce >= s ? te(F, de, Z, J) : ce === 0 ? de : H(F, ie, ie + h, Z, J);
2201
+ --ae;
2202
+ var ue = (F - ee[ae]) / (ee[ae + 1] - ee[ae]), de = ie + ue * h, fe = G(de, Z, J);
2203
+ return fe >= s ? te(F, de, Z, J) : fe === 0 ? de : H(F, ie, ie + h, Z, J);
2189
2204
  }
2190
2205
  }, e;
2191
2206
  })(), pooling = /* @__PURE__ */ (function() {
@@ -2236,59 +2251,59 @@ function requireLottie() {
2236
2251
  })();
2237
2252
  function bezFunction() {
2238
2253
  var e = Math;
2239
- function t(y, W, G, H, te, M) {
2240
- var j = y * H + W * te + G * M - te * H - M * y - G * W;
2254
+ function t(y, q, G, H, te, M) {
2255
+ var j = y * H + q * te + G * M - te * H - M * y - G * q;
2241
2256
  return j > -1e-3 && j < 1e-3;
2242
2257
  }
2243
- function r(y, W, G, H, te, M, j, F, Z) {
2258
+ function r(y, q, G, H, te, M, j, F, Z) {
2244
2259
  if (G === 0 && M === 0 && Z === 0)
2245
- return t(y, W, H, te, j, F);
2246
- var J = e.sqrt(e.pow(H - y, 2) + e.pow(te - W, 2) + e.pow(M - G, 2)), ee = e.sqrt(e.pow(j - y, 2) + e.pow(F - W, 2) + e.pow(Z - G, 2)), ie = e.sqrt(e.pow(j - H, 2) + e.pow(F - te, 2) + e.pow(Z - M, 2)), se;
2247
- return J > ee ? J > ie ? se = J - ee - ie : se = ie - ee - J : ie > ee ? se = ie - ee - J : se = ee - J - ie, se > -1e-4 && se < 1e-4;
2260
+ return t(y, q, H, te, j, F);
2261
+ var J = e.sqrt(e.pow(H - y, 2) + e.pow(te - q, 2) + e.pow(M - G, 2)), ee = e.sqrt(e.pow(j - y, 2) + e.pow(F - q, 2) + e.pow(Z - G, 2)), ie = e.sqrt(e.pow(j - H, 2) + e.pow(F - te, 2) + e.pow(Z - M, 2)), ae;
2262
+ return J > ee ? J > ie ? ae = J - ee - ie : ae = ie - ee - J : ie > ee ? ae = ie - ee - J : ae = ee - J - ie, ae > -1e-4 && ae < 1e-4;
2248
2263
  }
2249
2264
  var i = /* @__PURE__ */ (function() {
2250
- return function(y, W, G, H) {
2251
- var te = getDefaultCurveSegments(), M, j, F, Z, J, ee = 0, ie, se = [], le = [], pe = bezierLengthPool.newElement();
2265
+ return function(y, q, G, H) {
2266
+ var te = getDefaultCurveSegments(), M, j, F, Z, J, ee = 0, ie, ae = [], le = [], ue = bezierLengthPool.newElement();
2252
2267
  for (F = G.length, M = 0; M < te; M += 1) {
2253
2268
  for (J = M / (te - 1), ie = 0, j = 0; j < F; j += 1)
2254
- Z = bmPow(1 - J, 3) * y[j] + 3 * bmPow(1 - J, 2) * J * G[j] + 3 * (1 - J) * bmPow(J, 2) * H[j] + bmPow(J, 3) * W[j], se[j] = Z, le[j] !== null && (ie += bmPow(se[j] - le[j], 2)), le[j] = se[j];
2255
- ie && (ie = bmSqrt(ie), ee += ie), pe.percents[M] = J, pe.lengths[M] = ee;
2269
+ Z = bmPow(1 - J, 3) * y[j] + 3 * bmPow(1 - J, 2) * J * G[j] + 3 * (1 - J) * bmPow(J, 2) * H[j] + bmPow(J, 3) * q[j], ae[j] = Z, le[j] !== null && (ie += bmPow(ae[j] - le[j], 2)), le[j] = ae[j];
2270
+ ie && (ie = bmSqrt(ie), ee += ie), ue.percents[M] = J, ue.lengths[M] = ee;
2256
2271
  }
2257
- return pe.addedLength = ee, pe;
2272
+ return ue.addedLength = ee, ue;
2258
2273
  };
2259
2274
  })();
2260
2275
  function s(y) {
2261
- var W = segmentsLengthPool.newElement(), G = y.c, H = y.v, te = y.o, M = y.i, j, F = y._length, Z = W.lengths, J = 0;
2276
+ var q = segmentsLengthPool.newElement(), G = y.c, H = y.v, te = y.o, M = y.i, j, F = y._length, Z = q.lengths, J = 0;
2262
2277
  for (j = 0; j < F - 1; j += 1)
2263
2278
  Z[j] = i(H[j], H[j + 1], te[j], M[j + 1]), J += Z[j].addedLength;
2264
- return G && F && (Z[j] = i(H[j], H[0], te[j], M[0]), J += Z[j].addedLength), W.totalLength = J, W;
2279
+ return G && F && (Z[j] = i(H[j], H[0], te[j], M[0]), J += Z[j].addedLength), q.totalLength = J, q;
2265
2280
  }
2266
2281
  function a(y) {
2267
2282
  this.segmentLength = 0, this.points = new Array(y);
2268
2283
  }
2269
- function n(y, W) {
2270
- this.partialLength = y, this.point = W;
2284
+ function n(y, q) {
2285
+ this.partialLength = y, this.point = q;
2271
2286
  }
2272
2287
  var l = /* @__PURE__ */ (function() {
2273
2288
  var y = {};
2274
- return function(W, G, H, te) {
2275
- var M = (W[0] + "_" + W[1] + "_" + G[0] + "_" + G[1] + "_" + H[0] + "_" + H[1] + "_" + te[0] + "_" + te[1]).replace(/\./g, "p");
2289
+ return function(q, G, H, te) {
2290
+ var M = (q[0] + "_" + q[1] + "_" + G[0] + "_" + G[1] + "_" + H[0] + "_" + H[1] + "_" + te[0] + "_" + te[1]).replace(/\./g, "p");
2276
2291
  if (!y[M]) {
2277
- var j = getDefaultCurveSegments(), F, Z, J, ee, ie, se = 0, le, pe, de = null;
2278
- W.length === 2 && (W[0] !== G[0] || W[1] !== G[1]) && t(W[0], W[1], G[0], G[1], W[0] + H[0], W[1] + H[1]) && t(W[0], W[1], G[0], G[1], G[0] + te[0], G[1] + te[1]) && (j = 2);
2279
- var ce = new a(j);
2292
+ var j = getDefaultCurveSegments(), F, Z, J, ee, ie, ae = 0, le, ue, de = null;
2293
+ q.length === 2 && (q[0] !== G[0] || q[1] !== G[1]) && t(q[0], q[1], G[0], G[1], q[0] + H[0], q[1] + H[1]) && t(q[0], q[1], G[0], G[1], G[0] + te[0], G[1] + te[1]) && (j = 2);
2294
+ var fe = new a(j);
2280
2295
  for (J = H.length, F = 0; F < j; F += 1) {
2281
- for (pe = createSizedArray(J), ie = F / (j - 1), le = 0, Z = 0; Z < J; Z += 1)
2282
- ee = bmPow(1 - ie, 3) * W[Z] + 3 * bmPow(1 - ie, 2) * ie * (W[Z] + H[Z]) + 3 * (1 - ie) * bmPow(ie, 2) * (G[Z] + te[Z]) + bmPow(ie, 3) * G[Z], pe[Z] = ee, de !== null && (le += bmPow(pe[Z] - de[Z], 2));
2283
- le = bmSqrt(le), se += le, ce.points[F] = new n(le, pe), de = pe;
2296
+ for (ue = createSizedArray(J), ie = F / (j - 1), le = 0, Z = 0; Z < J; Z += 1)
2297
+ ee = bmPow(1 - ie, 3) * q[Z] + 3 * bmPow(1 - ie, 2) * ie * (q[Z] + H[Z]) + 3 * (1 - ie) * bmPow(ie, 2) * (G[Z] + te[Z]) + bmPow(ie, 3) * G[Z], ue[Z] = ee, de !== null && (le += bmPow(ue[Z] - de[Z], 2));
2298
+ le = bmSqrt(le), ae += le, fe.points[F] = new n(le, ue), de = ue;
2284
2299
  }
2285
- ce.segmentLength = se, y[M] = ce;
2300
+ fe.segmentLength = ae, y[M] = fe;
2286
2301
  }
2287
2302
  return y[M];
2288
2303
  };
2289
2304
  })();
2290
- function h(y, W) {
2291
- var G = W.percents, H = W.lengths, te = G.length, M = bmFloor((te - 1) * y), j = y * W.addedLength, F = 0;
2305
+ function h(y, q) {
2306
+ var G = q.percents, H = q.lengths, te = G.length, M = bmFloor((te - 1) * y), j = y * q.addedLength, F = 0;
2292
2307
  if (M === te - 1 || M === 0 || j === H[M])
2293
2308
  return G[M];
2294
2309
  for (var Z = H[M] > j ? -1 : 1, J = !0; J; )
@@ -2299,18 +2314,18 @@ function requireLottie() {
2299
2314
  }
2300
2315
  return G[M] + (G[M + 1] - G[M]) * F;
2301
2316
  }
2302
- function d(y, W, G, H, te, M) {
2303
- var j = h(te, M), F = 1 - j, Z = e.round((F * F * F * y[0] + (j * F * F + F * j * F + F * F * j) * G[0] + (j * j * F + F * j * j + j * F * j) * H[0] + j * j * j * W[0]) * 1e3) / 1e3, J = e.round((F * F * F * y[1] + (j * F * F + F * j * F + F * F * j) * G[1] + (j * j * F + F * j * j + j * F * j) * H[1] + j * j * j * W[1]) * 1e3) / 1e3;
2317
+ function d(y, q, G, H, te, M) {
2318
+ var j = h(te, M), F = 1 - j, Z = e.round((F * F * F * y[0] + (j * F * F + F * j * F + F * F * j) * G[0] + (j * j * F + F * j * j + j * F * j) * H[0] + j * j * j * q[0]) * 1e3) / 1e3, J = e.round((F * F * F * y[1] + (j * F * F + F * j * F + F * F * j) * G[1] + (j * j * F + F * j * j + j * F * j) * H[1] + j * j * j * q[1]) * 1e3) / 1e3;
2304
2319
  return [Z, J];
2305
2320
  }
2306
2321
  var V = createTypedArray("float32", 8);
2307
- function K(y, W, G, H, te, M, j) {
2322
+ function K(y, q, G, H, te, M, j) {
2308
2323
  te < 0 ? te = 0 : te > 1 && (te = 1);
2309
2324
  var F = h(te, j);
2310
2325
  M = M > 1 ? 1 : M;
2311
- var Z = h(M, j), J, ee = y.length, ie = 1 - F, se = 1 - Z, le = ie * ie * ie, pe = F * ie * ie * 3, de = F * F * ie * 3, ce = F * F * F, ve = ie * ie * se, ue = F * ie * se + ie * F * se + ie * ie * Z, he = F * F * se + ie * F * Z + F * ie * Z, re = F * F * Z, ae = ie * se * se, q = F * se * se + ie * Z * se + ie * se * Z, Q = F * Z * se + ie * Z * Z + F * se * Z, oe = F * Z * Z, ne = se * se * se, fe = Z * se * se + se * Z * se + se * se * Z, me = Z * Z * se + se * Z * Z + Z * se * Z, ye = Z * Z * Z;
2326
+ var Z = h(M, j), J, ee = y.length, ie = 1 - F, ae = 1 - Z, le = ie * ie * ie, ue = F * ie * ie * 3, de = F * F * ie * 3, fe = F * F * F, pe = ie * ie * ae, ve = F * ie * ae + ie * F * ae + ie * ie * Z, he = F * F * ae + ie * F * Z + F * ie * Z, re = F * F * Z, se = ie * ae * ae, W = F * ae * ae + ie * Z * ae + ie * ae * Z, Q = F * Z * ae + ie * Z * Z + F * ae * Z, oe = F * Z * Z, ne = ae * ae * ae, ce = Z * ae * ae + ae * Z * ae + ae * ae * Z, me = Z * Z * ae + ae * Z * Z + Z * ae * Z, ye = Z * Z * Z;
2312
2327
  for (J = 0; J < ee; J += 1)
2313
- V[J * 4] = e.round((le * y[J] + pe * G[J] + de * H[J] + ce * W[J]) * 1e3) / 1e3, V[J * 4 + 1] = e.round((ve * y[J] + ue * G[J] + he * H[J] + re * W[J]) * 1e3) / 1e3, V[J * 4 + 2] = e.round((ae * y[J] + q * G[J] + Q * H[J] + oe * W[J]) * 1e3) / 1e3, V[J * 4 + 3] = e.round((ne * y[J] + fe * G[J] + me * H[J] + ye * W[J]) * 1e3) / 1e3;
2328
+ V[J * 4] = e.round((le * y[J] + ue * G[J] + de * H[J] + fe * q[J]) * 1e3) / 1e3, V[J * 4 + 1] = e.round((pe * y[J] + ve * G[J] + he * H[J] + re * q[J]) * 1e3) / 1e3, V[J * 4 + 2] = e.round((se * y[J] + W * G[J] + Q * H[J] + oe * q[J]) * 1e3) / 1e3, V[J * 4 + 3] = e.round((ne * y[J] + ce * G[J] + me * H[J] + ye * q[J]) * 1e3) / 1e3;
2314
2329
  return V;
2315
2330
  }
2316
2331
  return {
@@ -2338,7 +2353,7 @@ function requireLottie() {
2338
2353
  a < n - 1 ? a += 1 : (s = 0, l = !1);
2339
2354
  }
2340
2355
  V = this.keyframesMetadata[a] || {};
2341
- var K, y, W, G, H, te, M = d.t - r, j = h.t - r, F;
2356
+ var K, y, q, G, H, te, M = d.t - r, j = h.t - r, F;
2342
2357
  if (h.to) {
2343
2358
  V.bezierData || (V.bezierData = bez.buildBezierData(h.s, d.s || h.e, h.to, h.ti));
2344
2359
  var Z = V.bezierData;
@@ -2347,50 +2362,50 @@ function requireLottie() {
2347
2362
  for (y = Z.points[J].point.length, K = 0; K < y; K += 1)
2348
2363
  i[K] = Z.points[J].point[K];
2349
2364
  } else {
2350
- V.__fnct ? te = V.__fnct : (te = BezierFactory.getBezierEasing(h.o.x, h.o.y, h.i.x, h.i.y, h.n).get, V.__fnct = te), W = te((e - j) / (M - j));
2351
- var ee = Z.segmentLength * W, ie, se = t.lastFrame < e && t._lastKeyframeIndex === a ? t._lastAddedLength : 0;
2365
+ V.__fnct ? te = V.__fnct : (te = BezierFactory.getBezierEasing(h.o.x, h.o.y, h.i.x, h.i.y, h.n).get, V.__fnct = te), q = te((e - j) / (M - j));
2366
+ var ee = Z.segmentLength * q, ie, ae = t.lastFrame < e && t._lastKeyframeIndex === a ? t._lastAddedLength : 0;
2352
2367
  for (H = t.lastFrame < e && t._lastKeyframeIndex === a ? t._lastPoint : 0, l = !0, G = Z.points.length; l; ) {
2353
- if (se += Z.points[H].partialLength, ee === 0 || W === 0 || H === Z.points.length - 1) {
2368
+ if (ae += Z.points[H].partialLength, ee === 0 || q === 0 || H === Z.points.length - 1) {
2354
2369
  for (y = Z.points[H].point.length, K = 0; K < y; K += 1)
2355
2370
  i[K] = Z.points[H].point[K];
2356
2371
  break;
2357
- } else if (ee >= se && ee < se + Z.points[H + 1].partialLength) {
2358
- for (ie = (ee - se) / Z.points[H + 1].partialLength, y = Z.points[H].point.length, K = 0; K < y; K += 1)
2372
+ } else if (ee >= ae && ee < ae + Z.points[H + 1].partialLength) {
2373
+ for (ie = (ee - ae) / Z.points[H + 1].partialLength, y = Z.points[H].point.length, K = 0; K < y; K += 1)
2359
2374
  i[K] = Z.points[H].point[K] + (Z.points[H + 1].point[K] - Z.points[H].point[K]) * ie;
2360
2375
  break;
2361
2376
  }
2362
2377
  H < G - 1 ? H += 1 : l = !1;
2363
2378
  }
2364
- t._lastPoint = H, t._lastAddedLength = se - Z.points[H].partialLength, t._lastKeyframeIndex = a;
2379
+ t._lastPoint = H, t._lastAddedLength = ae - Z.points[H].partialLength, t._lastKeyframeIndex = a;
2365
2380
  }
2366
2381
  } else {
2367
- var le, pe, de, ce, ve;
2382
+ var le, ue, de, fe, pe;
2368
2383
  if (n = h.s.length, F = d.s || h.e, this.sh && h.h !== 1)
2369
2384
  if (e >= M)
2370
2385
  i[0] = F[0], i[1] = F[1], i[2] = F[2];
2371
2386
  else if (e <= j)
2372
2387
  i[0] = h.s[0], i[1] = h.s[1], i[2] = h.s[2];
2373
2388
  else {
2374
- var ue = createQuaternion(h.s), he = createQuaternion(F), re = (e - j) / (M - j);
2375
- quaternionToEuler(i, slerp(ue, he, re));
2389
+ var ve = createQuaternion(h.s), he = createQuaternion(F), re = (e - j) / (M - j);
2390
+ quaternionToEuler(i, slerp(ve, he, re));
2376
2391
  }
2377
2392
  else
2378
2393
  for (a = 0; a < n; a += 1)
2379
- h.h !== 1 && (e >= M ? W = 1 : e < j ? W = 0 : (h.o.x.constructor === Array ? (V.__fnct || (V.__fnct = []), V.__fnct[a] ? te = V.__fnct[a] : (le = h.o.x[a] === void 0 ? h.o.x[0] : h.o.x[a], pe = h.o.y[a] === void 0 ? h.o.y[0] : h.o.y[a], de = h.i.x[a] === void 0 ? h.i.x[0] : h.i.x[a], ce = h.i.y[a] === void 0 ? h.i.y[0] : h.i.y[a], te = BezierFactory.getBezierEasing(le, pe, de, ce).get, V.__fnct[a] = te)) : V.__fnct ? te = V.__fnct : (le = h.o.x, pe = h.o.y, de = h.i.x, ce = h.i.y, te = BezierFactory.getBezierEasing(le, pe, de, ce).get, h.keyframeMetadata = te), W = te((e - j) / (M - j)))), F = d.s || h.e, ve = h.h === 1 ? h.s[a] : h.s[a] + (F[a] - h.s[a]) * W, this.propType === "multidimensional" ? i[a] = ve : i = ve;
2394
+ h.h !== 1 && (e >= M ? q = 1 : e < j ? q = 0 : (h.o.x.constructor === Array ? (V.__fnct || (V.__fnct = []), V.__fnct[a] ? te = V.__fnct[a] : (le = h.o.x[a] === void 0 ? h.o.x[0] : h.o.x[a], ue = h.o.y[a] === void 0 ? h.o.y[0] : h.o.y[a], de = h.i.x[a] === void 0 ? h.i.x[0] : h.i.x[a], fe = h.i.y[a] === void 0 ? h.i.y[0] : h.i.y[a], te = BezierFactory.getBezierEasing(le, ue, de, fe).get, V.__fnct[a] = te)) : V.__fnct ? te = V.__fnct : (le = h.o.x, ue = h.o.y, de = h.i.x, fe = h.i.y, te = BezierFactory.getBezierEasing(le, ue, de, fe).get, h.keyframeMetadata = te), q = te((e - j) / (M - j)))), F = d.s || h.e, pe = h.h === 1 ? h.s[a] : h.s[a] + (F[a] - h.s[a]) * q, this.propType === "multidimensional" ? i[a] = pe : i = pe;
2380
2395
  }
2381
2396
  return t.lastIndex = s, i;
2382
2397
  }
2383
2398
  function slerp(e, t, r) {
2384
- var i = [], s = e[0], a = e[1], n = e[2], l = e[3], h = t[0], d = t[1], V = t[2], K = t[3], y, W, G, H, te;
2385
- return W = s * h + a * d + n * V + l * K, W < 0 && (W = -W, h = -h, d = -d, V = -V, K = -K), 1 - W > 1e-6 ? (y = Math.acos(W), G = Math.sin(y), H = Math.sin((1 - r) * y) / G, te = Math.sin(r * y) / G) : (H = 1 - r, te = r), i[0] = H * s + te * h, i[1] = H * a + te * d, i[2] = H * n + te * V, i[3] = H * l + te * K, i;
2399
+ var i = [], s = e[0], a = e[1], n = e[2], l = e[3], h = t[0], d = t[1], V = t[2], K = t[3], y, q, G, H, te;
2400
+ return q = s * h + a * d + n * V + l * K, q < 0 && (q = -q, h = -h, d = -d, V = -V, K = -K), 1 - q > 1e-6 ? (y = Math.acos(q), G = Math.sin(y), H = Math.sin((1 - r) * y) / G, te = Math.sin(r * y) / G) : (H = 1 - r, te = r), i[0] = H * s + te * h, i[1] = H * a + te * d, i[2] = H * n + te * V, i[3] = H * l + te * K, i;
2386
2401
  }
2387
2402
  function quaternionToEuler(e, t) {
2388
2403
  var r = t[0], i = t[1], s = t[2], a = t[3], n = Math.atan2(2 * i * a - 2 * r * s, 1 - 2 * i * i - 2 * s * s), l = Math.asin(2 * r * i + 2 * s * a), h = Math.atan2(2 * r * a - 2 * i * s, 1 - 2 * r * r - 2 * s * s);
2389
2404
  e[0] = n / degToRads, e[1] = l / degToRads, e[2] = h / degToRads;
2390
2405
  }
2391
2406
  function createQuaternion(e) {
2392
- var t = e[0] * degToRads, r = e[1] * degToRads, i = e[2] * degToRads, s = Math.cos(t / 2), a = Math.cos(r / 2), n = Math.cos(i / 2), l = Math.sin(t / 2), h = Math.sin(r / 2), d = Math.sin(i / 2), V = s * a * n - l * h * d, K = l * h * n + s * a * d, y = l * a * n + s * h * d, W = s * h * n - l * a * d;
2393
- return [K, y, W, V];
2407
+ var t = e[0] * degToRads, r = e[1] * degToRads, i = e[2] * degToRads, s = Math.cos(t / 2), a = Math.cos(r / 2), n = Math.cos(i / 2), l = Math.sin(t / 2), h = Math.sin(r / 2), d = Math.sin(i / 2), V = s * a * n - l * h * d, K = l * h * n + s * a * d, y = l * a * n + s * h * d, q = s * h * n - l * a * d;
2408
+ return [K, y, q, V];
2394
2409
  }
2395
2410
  function getValueAtCurrentTime() {
2396
2411
  var e = this.comp.renderedFrame - this.offsetTime, t = this.keyframes[0].t - this.offsetTime, r = this.keyframes[this.keyframes.length - 1].t - this.offsetTime;
@@ -2597,30 +2612,30 @@ function requireLottie() {
2597
2612
  })(), ShapePropertyFactory = (function() {
2598
2613
  var e = -999999;
2599
2614
  function t(M, j, F) {
2600
- var Z = F.lastIndex, J, ee, ie, se, le, pe, de, ce, ve, ue = this.keyframes;
2601
- if (M < ue[0].t - this.offsetTime)
2602
- J = ue[0].s[0], ie = !0, Z = 0;
2603
- else if (M >= ue[ue.length - 1].t - this.offsetTime)
2604
- J = ue[ue.length - 1].s ? ue[ue.length - 1].s[0] : ue[ue.length - 2].e[0], ie = !0;
2615
+ var Z = F.lastIndex, J, ee, ie, ae, le, ue, de, fe, pe, ve = this.keyframes;
2616
+ if (M < ve[0].t - this.offsetTime)
2617
+ J = ve[0].s[0], ie = !0, Z = 0;
2618
+ else if (M >= ve[ve.length - 1].t - this.offsetTime)
2619
+ J = ve[ve.length - 1].s ? ve[ve.length - 1].s[0] : ve[ve.length - 2].e[0], ie = !0;
2605
2620
  else {
2606
- for (var he = Z, re = ue.length - 1, ae = !0, q, Q, oe; ae && (q = ue[he], Q = ue[he + 1], !(Q.t - this.offsetTime > M)); )
2607
- he < re - 1 ? he += 1 : ae = !1;
2608
- if (oe = this.keyframesMetadata[he] || {}, ie = q.h === 1, Z = he, !ie) {
2621
+ for (var he = Z, re = ve.length - 1, se = !0, W, Q, oe; se && (W = ve[he], Q = ve[he + 1], !(Q.t - this.offsetTime > M)); )
2622
+ he < re - 1 ? he += 1 : se = !1;
2623
+ if (oe = this.keyframesMetadata[he] || {}, ie = W.h === 1, Z = he, !ie) {
2609
2624
  if (M >= Q.t - this.offsetTime)
2610
- ce = 1;
2611
- else if (M < q.t - this.offsetTime)
2612
- ce = 0;
2625
+ fe = 1;
2626
+ else if (M < W.t - this.offsetTime)
2627
+ fe = 0;
2613
2628
  else {
2614
2629
  var ne;
2615
- oe.__fnct ? ne = oe.__fnct : (ne = BezierFactory.getBezierEasing(q.o.x, q.o.y, q.i.x, q.i.y).get, oe.__fnct = ne), ce = ne((M - (q.t - this.offsetTime)) / (Q.t - this.offsetTime - (q.t - this.offsetTime)));
2630
+ oe.__fnct ? ne = oe.__fnct : (ne = BezierFactory.getBezierEasing(W.o.x, W.o.y, W.i.x, W.i.y).get, oe.__fnct = ne), fe = ne((M - (W.t - this.offsetTime)) / (Q.t - this.offsetTime - (W.t - this.offsetTime)));
2616
2631
  }
2617
- ee = Q.s ? Q.s[0] : q.e[0];
2632
+ ee = Q.s ? Q.s[0] : W.e[0];
2618
2633
  }
2619
- J = q.s[0];
2634
+ J = W.s[0];
2620
2635
  }
2621
- for (pe = j._length, de = J.i[0].length, F.lastIndex = Z, se = 0; se < pe; se += 1)
2636
+ for (ue = j._length, de = J.i[0].length, F.lastIndex = Z, ae = 0; ae < ue; ae += 1)
2622
2637
  for (le = 0; le < de; le += 1)
2623
- ve = ie ? J.i[se][le] : J.i[se][le] + (ee.i[se][le] - J.i[se][le]) * ce, j.i[se][le] = ve, ve = ie ? J.o[se][le] : J.o[se][le] + (ee.o[se][le] - J.o[se][le]) * ce, j.o[se][le] = ve, ve = ie ? J.v[se][le] : J.v[se][le] + (ee.v[se][le] - J.v[se][le]) * ce, j.v[se][le] = ve;
2638
+ pe = ie ? J.i[ae][le] : J.i[ae][le] + (ee.i[ae][le] - J.i[ae][le]) * fe, j.i[ae][le] = pe, pe = ie ? J.o[ae][le] : J.o[ae][le] + (ee.o[ae][le] - J.o[ae][le]) * fe, j.o[ae][le] = pe, pe = ie ? J.v[ae][le] : J.v[ae][le] + (ee.v[ae][le] - J.v[ae][le]) * fe, j.v[ae][le] = pe;
2624
2639
  }
2625
2640
  function r() {
2626
2641
  var M = this.comp.renderedFrame - this.offsetTime, j = this.keyframes[0].t - this.offsetTime, F = this.keyframes[this.keyframes.length - 1].t - this.offsetTime, Z = this._caching.lastFrame;
@@ -2689,8 +2704,8 @@ function requireLottie() {
2689
2704
  this.elem.globalData.frameId !== this.frameId && (this.frameId = this.elem.globalData.frameId, this.iterateDynamicProperties(), this._mdf && this.convertEllToPath());
2690
2705
  },
2691
2706
  convertEllToPath: function() {
2692
- var Z = this.p.v[0], J = this.p.v[1], ee = this.s.v[0] / 2, ie = this.s.v[1] / 2, se = this.d !== 3, le = this.v;
2693
- le.v[0][0] = Z, le.v[0][1] = J - ie, le.v[1][0] = se ? Z + ee : Z - ee, le.v[1][1] = J, le.v[2][0] = Z, le.v[2][1] = J + ie, le.v[3][0] = se ? Z - ee : Z + ee, le.v[3][1] = J, le.i[0][0] = se ? Z - ee * M : Z + ee * M, le.i[0][1] = J - ie, le.i[1][0] = se ? Z + ee : Z - ee, le.i[1][1] = J - ie * M, le.i[2][0] = se ? Z + ee * M : Z - ee * M, le.i[2][1] = J + ie, le.i[3][0] = se ? Z - ee : Z + ee, le.i[3][1] = J + ie * M, le.o[0][0] = se ? Z + ee * M : Z - ee * M, le.o[0][1] = J - ie, le.o[1][0] = se ? Z + ee : Z - ee, le.o[1][1] = J + ie * M, le.o[2][0] = se ? Z - ee * M : Z + ee * M, le.o[2][1] = J + ie, le.o[3][0] = se ? Z - ee : Z + ee, le.o[3][1] = J - ie * M;
2707
+ var Z = this.p.v[0], J = this.p.v[1], ee = this.s.v[0] / 2, ie = this.s.v[1] / 2, ae = this.d !== 3, le = this.v;
2708
+ le.v[0][0] = Z, le.v[0][1] = J - ie, le.v[1][0] = ae ? Z + ee : Z - ee, le.v[1][1] = J, le.v[2][0] = Z, le.v[2][1] = J + ie, le.v[3][0] = ae ? Z - ee : Z + ee, le.v[3][1] = J, le.i[0][0] = ae ? Z - ee * M : Z + ee * M, le.i[0][1] = J - ie, le.i[1][0] = ae ? Z + ee : Z - ee, le.i[1][1] = J - ie * M, le.i[2][0] = ae ? Z + ee * M : Z - ee * M, le.i[2][1] = J + ie, le.i[3][0] = ae ? Z - ee : Z + ee, le.i[3][1] = J + ie * M, le.o[0][0] = ae ? Z + ee * M : Z - ee * M, le.o[0][1] = J - ie, le.o[1][0] = ae ? Z + ee : Z - ee, le.o[1][1] = J + ie * M, le.o[2][0] = ae ? Z - ee * M : Z + ee * M, le.o[2][1] = J + ie, le.o[3][0] = ae ? Z - ee : Z + ee, le.o[3][1] = J - ie * M;
2694
2709
  }
2695
2710
  }, extendPrototype([DynamicPropertyContainer], j), j;
2696
2711
  })(), K = (function() {
@@ -2703,20 +2718,20 @@ function requireLottie() {
2703
2718
  this.elem.globalData.frameId !== this.frameId && (this.frameId = this.elem.globalData.frameId, this.iterateDynamicProperties(), this._mdf && this.convertToPath());
2704
2719
  },
2705
2720
  convertStarToPath: function() {
2706
- var F = Math.floor(this.pt.v) * 2, Z = Math.PI * 2 / F, J = !0, ee = this.or.v, ie = this.ir.v, se = this.os.v, le = this.is.v, pe = 2 * Math.PI * ee / (F * 2), de = 2 * Math.PI * ie / (F * 2), ce, ve, ue, he, re = -Math.PI / 2;
2721
+ var F = Math.floor(this.pt.v) * 2, Z = Math.PI * 2 / F, J = !0, ee = this.or.v, ie = this.ir.v, ae = this.os.v, le = this.is.v, ue = 2 * Math.PI * ee / (F * 2), de = 2 * Math.PI * ie / (F * 2), fe, pe, ve, he, re = -Math.PI / 2;
2707
2722
  re += this.r.v;
2708
- var ae = this.data.d === 3 ? -1 : 1;
2709
- for (this.v._length = 0, ce = 0; ce < F; ce += 1) {
2710
- ve = J ? ee : ie, ue = J ? se : le, he = J ? pe : de;
2711
- var q = ve * Math.cos(re), Q = ve * Math.sin(re), oe = q === 0 && Q === 0 ? 0 : Q / Math.sqrt(q * q + Q * Q), ne = q === 0 && Q === 0 ? 0 : -q / Math.sqrt(q * q + Q * Q);
2712
- q += +this.p.v[0], Q += +this.p.v[1], this.v.setTripleAt(q, Q, q - oe * he * ue * ae, Q - ne * he * ue * ae, q + oe * he * ue * ae, Q + ne * he * ue * ae, ce, !0), J = !J, re += Z * ae;
2723
+ var se = this.data.d === 3 ? -1 : 1;
2724
+ for (this.v._length = 0, fe = 0; fe < F; fe += 1) {
2725
+ pe = J ? ee : ie, ve = J ? ae : le, he = J ? ue : de;
2726
+ var W = pe * Math.cos(re), Q = pe * Math.sin(re), oe = W === 0 && Q === 0 ? 0 : Q / Math.sqrt(W * W + Q * Q), ne = W === 0 && Q === 0 ? 0 : -W / Math.sqrt(W * W + Q * Q);
2727
+ W += +this.p.v[0], Q += +this.p.v[1], this.v.setTripleAt(W, Q, W - oe * he * ve * se, Q - ne * he * ve * se, W + oe * he * ve * se, Q + ne * he * ve * se, fe, !0), J = !J, re += Z * se;
2713
2728
  }
2714
2729
  },
2715
2730
  convertPolygonToPath: function() {
2716
- var F = Math.floor(this.pt.v), Z = Math.PI * 2 / F, J = this.or.v, ee = this.os.v, ie = 2 * Math.PI * J / (F * 4), se, le = -Math.PI * 0.5, pe = this.data.d === 3 ? -1 : 1;
2717
- for (le += this.r.v, this.v._length = 0, se = 0; se < F; se += 1) {
2718
- var de = J * Math.cos(le), ce = J * Math.sin(le), ve = de === 0 && ce === 0 ? 0 : ce / Math.sqrt(de * de + ce * ce), ue = de === 0 && ce === 0 ? 0 : -de / Math.sqrt(de * de + ce * ce);
2719
- de += +this.p.v[0], ce += +this.p.v[1], this.v.setTripleAt(de, ce, de - ve * ie * ee * pe, ce - ue * ie * ee * pe, de + ve * ie * ee * pe, ce + ue * ie * ee * pe, se, !0), le += Z * pe;
2731
+ var F = Math.floor(this.pt.v), Z = Math.PI * 2 / F, J = this.or.v, ee = this.os.v, ie = 2 * Math.PI * J / (F * 4), ae, le = -Math.PI * 0.5, ue = this.data.d === 3 ? -1 : 1;
2732
+ for (le += this.r.v, this.v._length = 0, ae = 0; ae < F; ae += 1) {
2733
+ var de = J * Math.cos(le), fe = J * Math.sin(le), pe = de === 0 && fe === 0 ? 0 : fe / Math.sqrt(de * de + fe * fe), ve = de === 0 && fe === 0 ? 0 : -de / Math.sqrt(de * de + fe * fe);
2734
+ de += +this.p.v[0], fe += +this.p.v[1], this.v.setTripleAt(de, fe, de - pe * ie * ee * ue, fe - ve * ie * ee * ue, de + pe * ie * ee * ue, fe + ve * ie * ee * ue, ae, !0), le += Z * ue;
2720
2735
  }
2721
2736
  this.paths.length = 0, this.paths[0] = this.v;
2722
2737
  }
@@ -2727,8 +2742,8 @@ function requireLottie() {
2727
2742
  }
2728
2743
  return M.prototype = {
2729
2744
  convertRectToPath: function() {
2730
- var F = this.p.v[0], Z = this.p.v[1], J = this.s.v[0] / 2, ee = this.s.v[1] / 2, ie = bmMin(J, ee, this.r.v), se = ie * (1 - roundCorner);
2731
- this.v._length = 0, this.d === 2 || this.d === 1 ? (this.v.setTripleAt(F + J, Z - ee + ie, F + J, Z - ee + ie, F + J, Z - ee + se, 0, !0), this.v.setTripleAt(F + J, Z + ee - ie, F + J, Z + ee - se, F + J, Z + ee - ie, 1, !0), ie !== 0 ? (this.v.setTripleAt(F + J - ie, Z + ee, F + J - ie, Z + ee, F + J - se, Z + ee, 2, !0), this.v.setTripleAt(F - J + ie, Z + ee, F - J + se, Z + ee, F - J + ie, Z + ee, 3, !0), this.v.setTripleAt(F - J, Z + ee - ie, F - J, Z + ee - ie, F - J, Z + ee - se, 4, !0), this.v.setTripleAt(F - J, Z - ee + ie, F - J, Z - ee + se, F - J, Z - ee + ie, 5, !0), this.v.setTripleAt(F - J + ie, Z - ee, F - J + ie, Z - ee, F - J + se, Z - ee, 6, !0), this.v.setTripleAt(F + J - ie, Z - ee, F + J - se, Z - ee, F + J - ie, Z - ee, 7, !0)) : (this.v.setTripleAt(F - J, Z + ee, F - J + se, Z + ee, F - J, Z + ee, 2), this.v.setTripleAt(F - J, Z - ee, F - J, Z - ee + se, F - J, Z - ee, 3))) : (this.v.setTripleAt(F + J, Z - ee + ie, F + J, Z - ee + se, F + J, Z - ee + ie, 0, !0), ie !== 0 ? (this.v.setTripleAt(F + J - ie, Z - ee, F + J - ie, Z - ee, F + J - se, Z - ee, 1, !0), this.v.setTripleAt(F - J + ie, Z - ee, F - J + se, Z - ee, F - J + ie, Z - ee, 2, !0), this.v.setTripleAt(F - J, Z - ee + ie, F - J, Z - ee + ie, F - J, Z - ee + se, 3, !0), this.v.setTripleAt(F - J, Z + ee - ie, F - J, Z + ee - se, F - J, Z + ee - ie, 4, !0), this.v.setTripleAt(F - J + ie, Z + ee, F - J + ie, Z + ee, F - J + se, Z + ee, 5, !0), this.v.setTripleAt(F + J - ie, Z + ee, F + J - se, Z + ee, F + J - ie, Z + ee, 6, !0), this.v.setTripleAt(F + J, Z + ee - ie, F + J, Z + ee - ie, F + J, Z + ee - se, 7, !0)) : (this.v.setTripleAt(F - J, Z - ee, F - J + se, Z - ee, F - J, Z - ee, 1, !0), this.v.setTripleAt(F - J, Z + ee, F - J, Z + ee - se, F - J, Z + ee, 2, !0), this.v.setTripleAt(F + J, Z + ee, F + J - se, Z + ee, F + J, Z + ee, 3, !0)));
2745
+ var F = this.p.v[0], Z = this.p.v[1], J = this.s.v[0] / 2, ee = this.s.v[1] / 2, ie = bmMin(J, ee, this.r.v), ae = ie * (1 - roundCorner);
2746
+ this.v._length = 0, this.d === 2 || this.d === 1 ? (this.v.setTripleAt(F + J, Z - ee + ie, F + J, Z - ee + ie, F + J, Z - ee + ae, 0, !0), this.v.setTripleAt(F + J, Z + ee - ie, F + J, Z + ee - ae, F + J, Z + ee - ie, 1, !0), ie !== 0 ? (this.v.setTripleAt(F + J - ie, Z + ee, F + J - ie, Z + ee, F + J - ae, Z + ee, 2, !0), this.v.setTripleAt(F - J + ie, Z + ee, F - J + ae, Z + ee, F - J + ie, Z + ee, 3, !0), this.v.setTripleAt(F - J, Z + ee - ie, F - J, Z + ee - ie, F - J, Z + ee - ae, 4, !0), this.v.setTripleAt(F - J, Z - ee + ie, F - J, Z - ee + ae, F - J, Z - ee + ie, 5, !0), this.v.setTripleAt(F - J + ie, Z - ee, F - J + ie, Z - ee, F - J + ae, Z - ee, 6, !0), this.v.setTripleAt(F + J - ie, Z - ee, F + J - ae, Z - ee, F + J - ie, Z - ee, 7, !0)) : (this.v.setTripleAt(F - J, Z + ee, F - J + ae, Z + ee, F - J, Z + ee, 2), this.v.setTripleAt(F - J, Z - ee, F - J, Z - ee + ae, F - J, Z - ee, 3))) : (this.v.setTripleAt(F + J, Z - ee + ie, F + J, Z - ee + ae, F + J, Z - ee + ie, 0, !0), ie !== 0 ? (this.v.setTripleAt(F + J - ie, Z - ee, F + J - ie, Z - ee, F + J - ae, Z - ee, 1, !0), this.v.setTripleAt(F - J + ie, Z - ee, F - J + ae, Z - ee, F - J + ie, Z - ee, 2, !0), this.v.setTripleAt(F - J, Z - ee + ie, F - J, Z - ee + ie, F - J, Z - ee + ae, 3, !0), this.v.setTripleAt(F - J, Z + ee - ie, F - J, Z + ee - ae, F - J, Z + ee - ie, 4, !0), this.v.setTripleAt(F - J + ie, Z + ee, F - J + ie, Z + ee, F - J + ae, Z + ee, 5, !0), this.v.setTripleAt(F + J - ie, Z + ee, F + J - ae, Z + ee, F + J - ie, Z + ee, 6, !0), this.v.setTripleAt(F + J, Z + ee - ie, F + J, Z + ee - ie, F + J, Z + ee - ae, 7, !0)) : (this.v.setTripleAt(F - J, Z - ee, F - J + ae, Z - ee, F - J, Z - ee, 1, !0), this.v.setTripleAt(F - J, Z + ee, F - J, Z + ee - ae, F - J, Z + ee, 2, !0), this.v.setTripleAt(F + J, Z + ee, F + J - ae, Z + ee, F + J, Z + ee, 3, !0)));
2732
2747
  },
2733
2748
  getValue: function() {
2734
2749
  this.elem.globalData.frameId !== this.frameId && (this.frameId = this.elem.globalData.frameId, this.iterateDynamicProperties(), this._mdf && this.convertRectToPath());
@@ -2736,7 +2751,7 @@ function requireLottie() {
2736
2751
  reset: i
2737
2752
  }, extendPrototype([DynamicPropertyContainer], M), M;
2738
2753
  })();
2739
- function W(M, j, F) {
2754
+ function q(M, j, F) {
2740
2755
  var Z;
2741
2756
  if (F === 3 || F === 4) {
2742
2757
  var J = F === 3 ? j.pt : j.ks, ee = J.k;
@@ -2751,154 +2766,154 @@ function requireLottie() {
2751
2766
  return d;
2752
2767
  }
2753
2768
  var te = {};
2754
- return te.getShapeProp = W, te.getConstructorFunction = G, te.getKeyframedConstructorFunction = H, te;
2769
+ return te.getShapeProp = q, te.getConstructorFunction = G, te.getKeyframedConstructorFunction = H, te;
2755
2770
  })();
2756
2771
  var Matrix = /* @__PURE__ */ (function() {
2757
2772
  var e = Math.cos, t = Math.sin, r = Math.tan, i = Math.round;
2758
2773
  function s() {
2759
2774
  return this.props[0] = 1, this.props[1] = 0, this.props[2] = 0, this.props[3] = 0, this.props[4] = 0, this.props[5] = 1, this.props[6] = 0, this.props[7] = 0, this.props[8] = 0, this.props[9] = 0, this.props[10] = 1, this.props[11] = 0, this.props[12] = 0, this.props[13] = 0, this.props[14] = 0, this.props[15] = 1, this;
2760
2775
  }
2761
- function a(q) {
2762
- if (q === 0)
2776
+ function a(W) {
2777
+ if (W === 0)
2763
2778
  return this;
2764
- var Q = e(q), oe = t(q);
2779
+ var Q = e(W), oe = t(W);
2765
2780
  return this._t(Q, -oe, 0, 0, oe, Q, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
2766
2781
  }
2767
- function n(q) {
2768
- if (q === 0)
2782
+ function n(W) {
2783
+ if (W === 0)
2769
2784
  return this;
2770
- var Q = e(q), oe = t(q);
2785
+ var Q = e(W), oe = t(W);
2771
2786
  return this._t(1, 0, 0, 0, 0, Q, -oe, 0, 0, oe, Q, 0, 0, 0, 0, 1);
2772
2787
  }
2773
- function l(q) {
2774
- if (q === 0)
2788
+ function l(W) {
2789
+ if (W === 0)
2775
2790
  return this;
2776
- var Q = e(q), oe = t(q);
2791
+ var Q = e(W), oe = t(W);
2777
2792
  return this._t(Q, 0, oe, 0, 0, 1, 0, 0, -oe, 0, Q, 0, 0, 0, 0, 1);
2778
2793
  }
2779
- function h(q) {
2780
- if (q === 0)
2794
+ function h(W) {
2795
+ if (W === 0)
2781
2796
  return this;
2782
- var Q = e(q), oe = t(q);
2797
+ var Q = e(W), oe = t(W);
2783
2798
  return this._t(Q, -oe, 0, 0, oe, Q, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
2784
2799
  }
2785
- function d(q, Q) {
2786
- return this._t(1, Q, q, 1, 0, 0);
2800
+ function d(W, Q) {
2801
+ return this._t(1, Q, W, 1, 0, 0);
2787
2802
  }
2788
- function V(q, Q) {
2789
- return this.shear(r(q), r(Q));
2803
+ function V(W, Q) {
2804
+ return this.shear(r(W), r(Q));
2790
2805
  }
2791
- function K(q, Q) {
2806
+ function K(W, Q) {
2792
2807
  var oe = e(Q), ne = t(Q);
2793
- return this._t(oe, ne, 0, 0, -ne, oe, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)._t(1, 0, 0, 0, r(q), 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)._t(oe, -ne, 0, 0, ne, oe, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
2808
+ return this._t(oe, ne, 0, 0, -ne, oe, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)._t(1, 0, 0, 0, r(W), 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)._t(oe, -ne, 0, 0, ne, oe, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
2794
2809
  }
2795
- function y(q, Q, oe) {
2796
- return !oe && oe !== 0 && (oe = 1), q === 1 && Q === 1 && oe === 1 ? this : this._t(q, 0, 0, 0, 0, Q, 0, 0, 0, 0, oe, 0, 0, 0, 0, 1);
2810
+ function y(W, Q, oe) {
2811
+ return !oe && oe !== 0 && (oe = 1), W === 1 && Q === 1 && oe === 1 ? this : this._t(W, 0, 0, 0, 0, Q, 0, 0, 0, 0, oe, 0, 0, 0, 0, 1);
2797
2812
  }
2798
- function W(q, Q, oe, ne, fe, me, ye, xe, be, Ce, Se, Ie, Ee, Pe, we, _e) {
2799
- return this.props[0] = q, this.props[1] = Q, this.props[2] = oe, this.props[3] = ne, this.props[4] = fe, this.props[5] = me, this.props[6] = ye, this.props[7] = xe, this.props[8] = be, this.props[9] = Ce, this.props[10] = Se, this.props[11] = Ie, this.props[12] = Ee, this.props[13] = Pe, this.props[14] = we, this.props[15] = _e, this;
2813
+ function q(W, Q, oe, ne, ce, me, ye, xe, be, Ce, Se, Ie, Ee, Pe, we, _e) {
2814
+ return this.props[0] = W, this.props[1] = Q, this.props[2] = oe, this.props[3] = ne, this.props[4] = ce, this.props[5] = me, this.props[6] = ye, this.props[7] = xe, this.props[8] = be, this.props[9] = Ce, this.props[10] = Se, this.props[11] = Ie, this.props[12] = Ee, this.props[13] = Pe, this.props[14] = we, this.props[15] = _e, this;
2800
2815
  }
2801
- function G(q, Q, oe) {
2802
- return oe = oe || 0, q !== 0 || Q !== 0 || oe !== 0 ? this._t(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, q, Q, oe, 1) : this;
2816
+ function G(W, Q, oe) {
2817
+ return oe = oe || 0, W !== 0 || Q !== 0 || oe !== 0 ? this._t(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, W, Q, oe, 1) : this;
2803
2818
  }
2804
- function H(q, Q, oe, ne, fe, me, ye, xe, be, Ce, Se, Ie, Ee, Pe, we, _e) {
2819
+ function H(W, Q, oe, ne, ce, me, ye, xe, be, Ce, Se, Ie, Ee, Pe, we, _e) {
2805
2820
  var ge = this.props;
2806
- if (q === 1 && Q === 0 && oe === 0 && ne === 0 && fe === 0 && me === 1 && ye === 0 && xe === 0 && be === 0 && Ce === 0 && Se === 1 && Ie === 0)
2807
- return ge[12] = ge[12] * q + ge[15] * Ee, ge[13] = ge[13] * me + ge[15] * Pe, ge[14] = ge[14] * Se + ge[15] * we, ge[15] *= _e, this._identityCalculated = !1, this;
2808
- var Me = ge[0], De = ge[1], Re = ge[2], Fe = ge[3], Ve = ge[4], Le = ge[5], Te = ge[6], je = ge[7], Ne = ge[8], ke = ge[9], Oe = ge[10], Ae = ge[11], Be = ge[12], Ze = ge[13], ze = ge[14], Ge = ge[15];
2809
- return ge[0] = Me * q + De * fe + Re * be + Fe * Ee, ge[1] = Me * Q + De * me + Re * Ce + Fe * Pe, ge[2] = Me * oe + De * ye + Re * Se + Fe * we, ge[3] = Me * ne + De * xe + Re * Ie + Fe * _e, ge[4] = Ve * q + Le * fe + Te * be + je * Ee, ge[5] = Ve * Q + Le * me + Te * Ce + je * Pe, ge[6] = Ve * oe + Le * ye + Te * Se + je * we, ge[7] = Ve * ne + Le * xe + Te * Ie + je * _e, ge[8] = Ne * q + ke * fe + Oe * be + Ae * Ee, ge[9] = Ne * Q + ke * me + Oe * Ce + Ae * Pe, ge[10] = Ne * oe + ke * ye + Oe * Se + Ae * we, ge[11] = Ne * ne + ke * xe + Oe * Ie + Ae * _e, ge[12] = Be * q + Ze * fe + ze * be + Ge * Ee, ge[13] = Be * Q + Ze * me + ze * Ce + Ge * Pe, ge[14] = Be * oe + Ze * ye + ze * Se + Ge * we, ge[15] = Be * ne + Ze * xe + ze * Ie + Ge * _e, this._identityCalculated = !1, this;
2821
+ if (W === 1 && Q === 0 && oe === 0 && ne === 0 && ce === 0 && me === 1 && ye === 0 && xe === 0 && be === 0 && Ce === 0 && Se === 1 && Ie === 0)
2822
+ return ge[12] = ge[12] * W + ge[15] * Ee, ge[13] = ge[13] * me + ge[15] * Pe, ge[14] = ge[14] * Se + ge[15] * we, ge[15] *= _e, this._identityCalculated = !1, this;
2823
+ var Me = ge[0], je = ge[1], Re = ge[2], Fe = ge[3], Le = ge[4], Ve = ge[5], Te = ge[6], De = ge[7], Ne = ge[8], Ae = ge[9], Oe = ge[10], ke = ge[11], Be = ge[12], Ze = ge[13], ze = ge[14], Ge = ge[15];
2824
+ return ge[0] = Me * W + je * ce + Re * be + Fe * Ee, ge[1] = Me * Q + je * me + Re * Ce + Fe * Pe, ge[2] = Me * oe + je * ye + Re * Se + Fe * we, ge[3] = Me * ne + je * xe + Re * Ie + Fe * _e, ge[4] = Le * W + Ve * ce + Te * be + De * Ee, ge[5] = Le * Q + Ve * me + Te * Ce + De * Pe, ge[6] = Le * oe + Ve * ye + Te * Se + De * we, ge[7] = Le * ne + Ve * xe + Te * Ie + De * _e, ge[8] = Ne * W + Ae * ce + Oe * be + ke * Ee, ge[9] = Ne * Q + Ae * me + Oe * Ce + ke * Pe, ge[10] = Ne * oe + Ae * ye + Oe * Se + ke * we, ge[11] = Ne * ne + Ae * xe + Oe * Ie + ke * _e, ge[12] = Be * W + Ze * ce + ze * be + Ge * Ee, ge[13] = Be * Q + Ze * me + ze * Ce + Ge * Pe, ge[14] = Be * oe + Ze * ye + ze * Se + Ge * we, ge[15] = Be * ne + Ze * xe + ze * Ie + Ge * _e, this._identityCalculated = !1, this;
2810
2825
  }
2811
- function te(q) {
2812
- var Q = q.props;
2826
+ function te(W) {
2827
+ var Q = W.props;
2813
2828
  return this.transform(Q[0], Q[1], Q[2], Q[3], Q[4], Q[5], Q[6], Q[7], Q[8], Q[9], Q[10], Q[11], Q[12], Q[13], Q[14], Q[15]);
2814
2829
  }
2815
2830
  function M() {
2816
2831
  return this._identityCalculated || (this._identity = !(this.props[0] !== 1 || this.props[1] !== 0 || this.props[2] !== 0 || this.props[3] !== 0 || this.props[4] !== 0 || this.props[5] !== 1 || this.props[6] !== 0 || this.props[7] !== 0 || this.props[8] !== 0 || this.props[9] !== 0 || this.props[10] !== 1 || this.props[11] !== 0 || this.props[12] !== 0 || this.props[13] !== 0 || this.props[14] !== 0 || this.props[15] !== 1), this._identityCalculated = !0), this._identity;
2817
2832
  }
2818
- function j(q) {
2833
+ function j(W) {
2819
2834
  for (var Q = 0; Q < 16; ) {
2820
- if (q.props[Q] !== this.props[Q])
2835
+ if (W.props[Q] !== this.props[Q])
2821
2836
  return !1;
2822
2837
  Q += 1;
2823
2838
  }
2824
2839
  return !0;
2825
2840
  }
2826
- function F(q) {
2841
+ function F(W) {
2827
2842
  var Q;
2828
2843
  for (Q = 0; Q < 16; Q += 1)
2829
- q.props[Q] = this.props[Q];
2830
- return q;
2844
+ W.props[Q] = this.props[Q];
2845
+ return W;
2831
2846
  }
2832
- function Z(q) {
2847
+ function Z(W) {
2833
2848
  var Q;
2834
2849
  for (Q = 0; Q < 16; Q += 1)
2835
- this.props[Q] = q[Q];
2850
+ this.props[Q] = W[Q];
2836
2851
  }
2837
- function J(q, Q, oe) {
2852
+ function J(W, Q, oe) {
2838
2853
  return {
2839
- x: q * this.props[0] + Q * this.props[4] + oe * this.props[8] + this.props[12],
2840
- y: q * this.props[1] + Q * this.props[5] + oe * this.props[9] + this.props[13],
2841
- z: q * this.props[2] + Q * this.props[6] + oe * this.props[10] + this.props[14]
2854
+ x: W * this.props[0] + Q * this.props[4] + oe * this.props[8] + this.props[12],
2855
+ y: W * this.props[1] + Q * this.props[5] + oe * this.props[9] + this.props[13],
2856
+ z: W * this.props[2] + Q * this.props[6] + oe * this.props[10] + this.props[14]
2842
2857
  };
2843
2858
  }
2844
- function ee(q, Q, oe) {
2845
- return q * this.props[0] + Q * this.props[4] + oe * this.props[8] + this.props[12];
2859
+ function ee(W, Q, oe) {
2860
+ return W * this.props[0] + Q * this.props[4] + oe * this.props[8] + this.props[12];
2846
2861
  }
2847
- function ie(q, Q, oe) {
2848
- return q * this.props[1] + Q * this.props[5] + oe * this.props[9] + this.props[13];
2862
+ function ie(W, Q, oe) {
2863
+ return W * this.props[1] + Q * this.props[5] + oe * this.props[9] + this.props[13];
2849
2864
  }
2850
- function se(q, Q, oe) {
2851
- return q * this.props[2] + Q * this.props[6] + oe * this.props[10] + this.props[14];
2865
+ function ae(W, Q, oe) {
2866
+ return W * this.props[2] + Q * this.props[6] + oe * this.props[10] + this.props[14];
2852
2867
  }
2853
2868
  function le() {
2854
- var q = this.props[0] * this.props[5] - this.props[1] * this.props[4], Q = this.props[5] / q, oe = -this.props[1] / q, ne = -this.props[4] / q, fe = this.props[0] / q, me = (this.props[4] * this.props[13] - this.props[5] * this.props[12]) / q, ye = -(this.props[0] * this.props[13] - this.props[1] * this.props[12]) / q, xe = new Matrix();
2855
- return xe.props[0] = Q, xe.props[1] = oe, xe.props[4] = ne, xe.props[5] = fe, xe.props[12] = me, xe.props[13] = ye, xe;
2869
+ var W = this.props[0] * this.props[5] - this.props[1] * this.props[4], Q = this.props[5] / W, oe = -this.props[1] / W, ne = -this.props[4] / W, ce = this.props[0] / W, me = (this.props[4] * this.props[13] - this.props[5] * this.props[12]) / W, ye = -(this.props[0] * this.props[13] - this.props[1] * this.props[12]) / W, xe = new Matrix();
2870
+ return xe.props[0] = Q, xe.props[1] = oe, xe.props[4] = ne, xe.props[5] = ce, xe.props[12] = me, xe.props[13] = ye, xe;
2856
2871
  }
2857
- function pe(q) {
2872
+ function ue(W) {
2858
2873
  var Q = this.getInverseMatrix();
2859
- return Q.applyToPointArray(q[0], q[1], q[2] || 0);
2874
+ return Q.applyToPointArray(W[0], W[1], W[2] || 0);
2860
2875
  }
2861
- function de(q) {
2862
- var Q, oe = q.length, ne = [];
2876
+ function de(W) {
2877
+ var Q, oe = W.length, ne = [];
2863
2878
  for (Q = 0; Q < oe; Q += 1)
2864
- ne[Q] = pe(q[Q]);
2879
+ ne[Q] = ue(W[Q]);
2865
2880
  return ne;
2866
2881
  }
2867
- function ce(q, Q, oe) {
2882
+ function fe(W, Q, oe) {
2868
2883
  var ne = createTypedArray("float32", 6);
2869
2884
  if (this.isIdentity())
2870
- ne[0] = q[0], ne[1] = q[1], ne[2] = Q[0], ne[3] = Q[1], ne[4] = oe[0], ne[5] = oe[1];
2885
+ ne[0] = W[0], ne[1] = W[1], ne[2] = Q[0], ne[3] = Q[1], ne[4] = oe[0], ne[5] = oe[1];
2871
2886
  else {
2872
- var fe = this.props[0], me = this.props[1], ye = this.props[4], xe = this.props[5], be = this.props[12], Ce = this.props[13];
2873
- ne[0] = q[0] * fe + q[1] * ye + be, ne[1] = q[0] * me + q[1] * xe + Ce, ne[2] = Q[0] * fe + Q[1] * ye + be, ne[3] = Q[0] * me + Q[1] * xe + Ce, ne[4] = oe[0] * fe + oe[1] * ye + be, ne[5] = oe[0] * me + oe[1] * xe + Ce;
2887
+ var ce = this.props[0], me = this.props[1], ye = this.props[4], xe = this.props[5], be = this.props[12], Ce = this.props[13];
2888
+ ne[0] = W[0] * ce + W[1] * ye + be, ne[1] = W[0] * me + W[1] * xe + Ce, ne[2] = Q[0] * ce + Q[1] * ye + be, ne[3] = Q[0] * me + Q[1] * xe + Ce, ne[4] = oe[0] * ce + oe[1] * ye + be, ne[5] = oe[0] * me + oe[1] * xe + Ce;
2874
2889
  }
2875
2890
  return ne;
2876
2891
  }
2877
- function ve(q, Q, oe) {
2892
+ function pe(W, Q, oe) {
2878
2893
  var ne;
2879
- return this.isIdentity() ? ne = [q, Q, oe] : ne = [q * this.props[0] + Q * this.props[4] + oe * this.props[8] + this.props[12], q * this.props[1] + Q * this.props[5] + oe * this.props[9] + this.props[13], q * this.props[2] + Q * this.props[6] + oe * this.props[10] + this.props[14]], ne;
2894
+ return this.isIdentity() ? ne = [W, Q, oe] : ne = [W * this.props[0] + Q * this.props[4] + oe * this.props[8] + this.props[12], W * this.props[1] + Q * this.props[5] + oe * this.props[9] + this.props[13], W * this.props[2] + Q * this.props[6] + oe * this.props[10] + this.props[14]], ne;
2880
2895
  }
2881
- function ue(q, Q) {
2896
+ function ve(W, Q) {
2882
2897
  if (this.isIdentity())
2883
- return q + "," + Q;
2898
+ return W + "," + Q;
2884
2899
  var oe = this.props;
2885
- return Math.round((q * oe[0] + Q * oe[4] + oe[12]) * 100) / 100 + "," + Math.round((q * oe[1] + Q * oe[5] + oe[13]) * 100) / 100;
2900
+ return Math.round((W * oe[0] + Q * oe[4] + oe[12]) * 100) / 100 + "," + Math.round((W * oe[1] + Q * oe[5] + oe[13]) * 100) / 100;
2886
2901
  }
2887
2902
  function he() {
2888
- for (var q = 0, Q = this.props, oe = "matrix3d(", ne = 1e4; q < 16; )
2889
- oe += i(Q[q] * ne) / ne, oe += q === 15 ? ")" : ",", q += 1;
2903
+ for (var W = 0, Q = this.props, oe = "matrix3d(", ne = 1e4; W < 16; )
2904
+ oe += i(Q[W] * ne) / ne, oe += W === 15 ? ")" : ",", W += 1;
2890
2905
  return oe;
2891
2906
  }
2892
- function re(q) {
2907
+ function re(W) {
2893
2908
  var Q = 1e4;
2894
- return q < 1e-6 && q > 0 || q > -1e-6 && q < 0 ? i(q * Q) / Q : q;
2909
+ return W < 1e-6 && W > 0 || W > -1e-6 && W < 0 ? i(W * Q) / Q : W;
2895
2910
  }
2896
- function ae() {
2897
- var q = this.props, Q = re(q[0]), oe = re(q[1]), ne = re(q[4]), fe = re(q[5]), me = re(q[12]), ye = re(q[13]);
2898
- return "matrix(" + Q + "," + oe + "," + ne + "," + fe + "," + me + "," + ye + ")";
2911
+ function se() {
2912
+ var W = this.props, Q = re(W[0]), oe = re(W[1]), ne = re(W[4]), ce = re(W[5]), me = re(W[12]), ye = re(W[13]);
2913
+ return "matrix(" + Q + "," + oe + "," + ne + "," + ce + "," + me + "," + ye + ")";
2899
2914
  }
2900
2915
  return function() {
2901
- this.reset = s, this.rotate = a, this.rotateX = n, this.rotateY = l, this.rotateZ = h, this.skew = V, this.skewFromAxis = K, this.shear = d, this.scale = y, this.setTransform = W, this.translate = G, this.transform = H, this.multiply = te, this.applyToPoint = J, this.applyToX = ee, this.applyToY = ie, this.applyToZ = se, this.applyToPointArray = ve, this.applyToTriplePoints = ce, this.applyToPointStringified = ue, this.toCSS = he, this.to2dCSS = ae, this.clone = F, this.cloneFromProps = Z, this.equals = j, this.inversePoints = de, this.inversePoint = pe, this.getInverseMatrix = le, this._t = this.transform, this.isIdentity = M, this._identity = !0, this._identityCalculated = !1, this.props = createTypedArray("float32", 16), this.reset();
2916
+ this.reset = s, this.rotate = a, this.rotateX = n, this.rotateY = l, this.rotateZ = h, this.skew = V, this.skewFromAxis = K, this.shear = d, this.scale = y, this.setTransform = q, this.translate = G, this.transform = H, this.multiply = te, this.applyToPoint = J, this.applyToX = ee, this.applyToY = ie, this.applyToZ = ae, this.applyToPointArray = pe, this.applyToTriplePoints = fe, this.applyToPointStringified = ve, this.toCSS = he, this.to2dCSS = se, this.clone = F, this.cloneFromProps = Z, this.equals = j, this.inversePoints = de, this.inversePoint = ue, this.getInverseMatrix = le, this._t = this.transform, this.isIdentity = M, this._identity = !0, this._identityCalculated = !1, this.props = createTypedArray("float32", 16), this.reset();
2902
2917
  };
2903
2918
  })();
2904
2919
  function _typeof$3(e) {
@@ -3057,7 +3072,7 @@ function requireLottie() {
3057
3072
  t = Math.round(t * 1e4) * 1e-4, r = Math.round(r * 1e4) * 1e-4, this.sValue = t, this.eValue = r;
3058
3073
  } else
3059
3074
  t = this.sValue, r = this.eValue;
3060
- var a, n, l = this.shapes.length, h, d, V, K, y, W = 0;
3075
+ var a, n, l = this.shapes.length, h, d, V, K, y, q = 0;
3061
3076
  if (r === t)
3062
3077
  for (n = 0; n < l; n += 1)
3063
3078
  this.shapes[n].localShapeCollection.releaseShapes(), this.shapes[n].shape._mdf = !0, this.shapes[n].shape.paths = this.shapes[n].localShapeCollection, this._mdf && (this.shapes[n].pathsData.length = 0);
@@ -3078,12 +3093,12 @@ function requireLottie() {
3078
3093
  K = bez.getSegmentsLength(a.shapes[h]), V.push(K), y += K.totalLength;
3079
3094
  H.totalShapeLength = y, H.pathsData = V;
3080
3095
  }
3081
- W += y, H.shape._mdf = !0;
3096
+ q += y, H.shape._mdf = !0;
3082
3097
  }
3083
3098
  var M = t, j = r, F = 0, Z;
3084
3099
  for (n = l - 1; n >= 0; n -= 1)
3085
3100
  if (H = this.shapes[n], H.shape._mdf) {
3086
- for (te = H.localShapeCollection, te.releaseShapes(), this.m === 2 && l > 1 ? (Z = this.calculateShapeEdges(t, r, H.totalShapeLength, F, W), F += H.totalShapeLength) : Z = [[M, j]], d = Z.length, h = 0; h < d; h += 1) {
3101
+ for (te = H.localShapeCollection, te.releaseShapes(), this.m === 2 && l > 1 ? (Z = this.calculateShapeEdges(t, r, H.totalShapeLength, F, q), F += H.totalShapeLength) : Z = [[M, j]], d = Z.length, h = 0; h < d; h += 1) {
3087
3102
  M = Z[h][0], j = Z[h][1], G.length = 0, j <= 1 ? G.push({
3088
3103
  s: H.totalShapeLength * M,
3089
3104
  e: H.totalShapeLength * j
@@ -3122,7 +3137,7 @@ function requireLottie() {
3122
3137
  }, TrimModifier.prototype.addSegmentFromArray = function(e, t, r, i) {
3123
3138
  t.setXYAt(e[1], e[5], "o", r), t.setXYAt(e[2], e[6], "i", r + 1), i && t.setXYAt(e[0], e[4], "v", r), t.setXYAt(e[3], e[7], "v", r + 1);
3124
3139
  }, TrimModifier.prototype.addShapes = function(e, t, r) {
3125
- var i = e.pathsData, s = e.shape.paths.shapes, a, n = e.shape.paths._length, l, h, d = 0, V, K, y, W, G = [], H, te = !0;
3140
+ var i = e.pathsData, s = e.shape.paths.shapes, a, n = e.shape.paths._length, l, h, d = 0, V, K, y, q, G = [], H, te = !0;
3126
3141
  for (r ? (K = r._length, H = r._length) : (r = shapePool.newElement(), K = 0, H = 0), G.push(r), a = 0; a < n; a += 1) {
3127
3142
  for (y = i[a].lengths, r.c = s[a].c, h = s[a].c ? y.length : y.length + 1, l = 1; l < h; l += 1)
3128
3143
  if (V = y[l - 1], d + V.addedLength < t.s)
@@ -3131,11 +3146,11 @@ function requireLottie() {
3131
3146
  r.c = !1;
3132
3147
  break;
3133
3148
  } else
3134
- t.s <= d && t.e >= d + V.addedLength ? (this.addSegment(s[a].v[l - 1], s[a].o[l - 1], s[a].i[l], s[a].v[l], r, K, te), te = !1) : (W = bez.getNewSegment(s[a].v[l - 1], s[a].v[l], s[a].o[l - 1], s[a].i[l], (t.s - d) / V.addedLength, (t.e - d) / V.addedLength, y[l - 1]), this.addSegmentFromArray(W, r, K, te), te = !1, r.c = !1), d += V.addedLength, K += 1;
3149
+ t.s <= d && t.e >= d + V.addedLength ? (this.addSegment(s[a].v[l - 1], s[a].o[l - 1], s[a].i[l], s[a].v[l], r, K, te), te = !1) : (q = bez.getNewSegment(s[a].v[l - 1], s[a].v[l], s[a].o[l - 1], s[a].i[l], (t.s - d) / V.addedLength, (t.e - d) / V.addedLength, y[l - 1]), this.addSegmentFromArray(q, r, K, te), te = !1, r.c = !1), d += V.addedLength, K += 1;
3135
3150
  if (s[a].c && y.length) {
3136
3151
  if (V = y[l - 1], d <= t.e) {
3137
3152
  var M = y[l - 1].addedLength;
3138
- t.s <= d && t.e >= d + M ? (this.addSegment(s[a].v[l - 1], s[a].o[l - 1], s[a].i[0], s[a].v[0], r, K, te), te = !1) : (W = bez.getNewSegment(s[a].v[l - 1], s[a].v[0], s[a].o[l - 1], s[a].i[0], (t.s - d) / M, (t.e - d) / M, y[l - 1]), this.addSegmentFromArray(W, r, K, te), te = !1, r.c = !1);
3153
+ t.s <= d && t.e >= d + M ? (this.addSegment(s[a].v[l - 1], s[a].o[l - 1], s[a].i[0], s[a].v[0], r, K, te), te = !1) : (q = bez.getNewSegment(s[a].v[l - 1], s[a].v[0], s[a].o[l - 1], s[a].i[0], (t.s - d) / M, (t.e - d) / M, y[l - 1]), this.addSegmentFromArray(q, r, K, te), te = !1, r.c = !1);
3139
3154
  } else
3140
3155
  r.c = !1;
3141
3156
  d += V.addedLength, K += 1;
@@ -3190,8 +3205,8 @@ function requireLottie() {
3190
3205
  this.p._caching.lastFrame + this.p.offsetTime <= this.p.keyframes[0].t ? (V = this.p.getValueAtTime((this.p.keyframes[0].t + 0.01) / d, 0), K = this.p.getValueAtTime(this.p.keyframes[0].t / d, 0)) : this.p._caching.lastFrame + this.p.offsetTime >= this.p.keyframes[this.p.keyframes.length - 1].t ? (V = this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length - 1].t / d, 0), K = this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length - 1].t - 0.05) / d, 0)) : (V = this.p.pv, K = this.p.getValueAtTime((this.p._caching.lastFrame + this.p.offsetTime - 0.01) / d, this.p.offsetTime));
3191
3206
  else if (this.px && this.px.keyframes && this.py.keyframes && this.px.getValueAtTime && this.py.getValueAtTime) {
3192
3207
  V = [], K = [];
3193
- var y = this.px, W = this.py;
3194
- y._caching.lastFrame + y.offsetTime <= y.keyframes[0].t ? (V[0] = y.getValueAtTime((y.keyframes[0].t + 0.01) / d, 0), V[1] = W.getValueAtTime((W.keyframes[0].t + 0.01) / d, 0), K[0] = y.getValueAtTime(y.keyframes[0].t / d, 0), K[1] = W.getValueAtTime(W.keyframes[0].t / d, 0)) : y._caching.lastFrame + y.offsetTime >= y.keyframes[y.keyframes.length - 1].t ? (V[0] = y.getValueAtTime(y.keyframes[y.keyframes.length - 1].t / d, 0), V[1] = W.getValueAtTime(W.keyframes[W.keyframes.length - 1].t / d, 0), K[0] = y.getValueAtTime((y.keyframes[y.keyframes.length - 1].t - 0.01) / d, 0), K[1] = W.getValueAtTime((W.keyframes[W.keyframes.length - 1].t - 0.01) / d, 0)) : (V = [y.pv, W.pv], K[0] = y.getValueAtTime((y._caching.lastFrame + y.offsetTime - 0.01) / d, y.offsetTime), K[1] = W.getValueAtTime((W._caching.lastFrame + W.offsetTime - 0.01) / d, W.offsetTime));
3208
+ var y = this.px, q = this.py;
3209
+ y._caching.lastFrame + y.offsetTime <= y.keyframes[0].t ? (V[0] = y.getValueAtTime((y.keyframes[0].t + 0.01) / d, 0), V[1] = q.getValueAtTime((q.keyframes[0].t + 0.01) / d, 0), K[0] = y.getValueAtTime(y.keyframes[0].t / d, 0), K[1] = q.getValueAtTime(q.keyframes[0].t / d, 0)) : y._caching.lastFrame + y.offsetTime >= y.keyframes[y.keyframes.length - 1].t ? (V[0] = y.getValueAtTime(y.keyframes[y.keyframes.length - 1].t / d, 0), V[1] = q.getValueAtTime(q.keyframes[q.keyframes.length - 1].t / d, 0), K[0] = y.getValueAtTime((y.keyframes[y.keyframes.length - 1].t - 0.01) / d, 0), K[1] = q.getValueAtTime((q.keyframes[q.keyframes.length - 1].t - 0.01) / d, 0)) : (V = [y.pv, q.pv], K[0] = y.getValueAtTime((y._caching.lastFrame + y.offsetTime - 0.01) / d, y.offsetTime), K[1] = q.getValueAtTime((q._caching.lastFrame + q.offsetTime - 0.01) / d, q.offsetTime));
3195
3210
  } else
3196
3211
  K = e, V = K;
3197
3212
  this.v.rotate(-Math.atan2(V[1] - K[1], V[0] - K[0]));
@@ -3350,17 +3365,17 @@ function requireLottie() {
3350
3365
  a += 1;
3351
3366
  }
3352
3367
  this._currentCopies = l;
3353
- var y = this.o.v, W = y % 1, G = y > 0 ? Math.floor(y) : Math.ceil(y), H = this.pMatrix.props, te = this.rMatrix.props, M = this.sMatrix.props;
3368
+ var y = this.o.v, q = y % 1, G = y > 0 ? Math.floor(y) : Math.ceil(y), H = this.pMatrix.props, te = this.rMatrix.props, M = this.sMatrix.props;
3354
3369
  this.pMatrix.reset(), this.rMatrix.reset(), this.sMatrix.reset(), this.tMatrix.reset(), this.matrix.reset();
3355
3370
  var j = 0;
3356
3371
  if (y > 0) {
3357
3372
  for (; j < G; )
3358
3373
  this.applyTransforms(this.pMatrix, this.rMatrix, this.sMatrix, this.tr, 1, !1), j += 1;
3359
- W && (this.applyTransforms(this.pMatrix, this.rMatrix, this.sMatrix, this.tr, W, !1), j += W);
3374
+ q && (this.applyTransforms(this.pMatrix, this.rMatrix, this.sMatrix, this.tr, q, !1), j += q);
3360
3375
  } else if (y < 0) {
3361
3376
  for (; j > G; )
3362
3377
  this.applyTransforms(this.pMatrix, this.rMatrix, this.sMatrix, this.tr, 1, !0), j -= 1;
3363
- W && (this.applyTransforms(this.pMatrix, this.rMatrix, this.sMatrix, this.tr, -W, !0), j -= W);
3378
+ q && (this.applyTransforms(this.pMatrix, this.rMatrix, this.sMatrix, this.tr, -q, !0), j -= q);
3364
3379
  }
3365
3380
  i = this.data.m === 1 ? 0 : this._currentCopies - 1, s = this.data.m === 1 ? 1 : -1, a = this._currentCopies;
3366
3381
  for (var F, Z; a; ) {
@@ -3386,9 +3401,9 @@ function requireLottie() {
3386
3401
  }, RoundCornersModifier.prototype.processPath = function(e, t) {
3387
3402
  var r = shapePool.newElement();
3388
3403
  r.c = e.c;
3389
- var i, s = e._length, a, n, l, h, d, V, K = 0, y, W, G, H, te, M;
3404
+ var i, s = e._length, a, n, l, h, d, V, K = 0, y, q, G, H, te, M;
3390
3405
  for (i = 0; i < s; i += 1)
3391
- a = e.v[i], l = e.o[i], n = e.i[i], a[0] === l[0] && a[1] === l[1] && a[0] === n[0] && a[1] === n[1] ? (i === 0 || i === s - 1) && !e.c ? (r.setTripleAt(a[0], a[1], l[0], l[1], n[0], n[1], K), K += 1) : (i === 0 ? h = e.v[s - 1] : h = e.v[i - 1], d = Math.sqrt(Math.pow(a[0] - h[0], 2) + Math.pow(a[1] - h[1], 2)), V = d ? Math.min(d / 2, t) / d : 0, te = a[0] + (h[0] - a[0]) * V, y = te, M = a[1] - (a[1] - h[1]) * V, W = M, G = y - (y - a[0]) * roundCorner, H = W - (W - a[1]) * roundCorner, r.setTripleAt(y, W, G, H, te, M, K), K += 1, i === s - 1 ? h = e.v[0] : h = e.v[i + 1], d = Math.sqrt(Math.pow(a[0] - h[0], 2) + Math.pow(a[1] - h[1], 2)), V = d ? Math.min(d / 2, t) / d : 0, G = a[0] + (h[0] - a[0]) * V, y = G, H = a[1] + (h[1] - a[1]) * V, W = H, te = y - (y - a[0]) * roundCorner, M = W - (W - a[1]) * roundCorner, r.setTripleAt(y, W, G, H, te, M, K), K += 1) : (r.setTripleAt(e.v[i][0], e.v[i][1], e.o[i][0], e.o[i][1], e.i[i][0], e.i[i][1], K), K += 1);
3406
+ a = e.v[i], l = e.o[i], n = e.i[i], a[0] === l[0] && a[1] === l[1] && a[0] === n[0] && a[1] === n[1] ? (i === 0 || i === s - 1) && !e.c ? (r.setTripleAt(a[0], a[1], l[0], l[1], n[0], n[1], K), K += 1) : (i === 0 ? h = e.v[s - 1] : h = e.v[i - 1], d = Math.sqrt(Math.pow(a[0] - h[0], 2) + Math.pow(a[1] - h[1], 2)), V = d ? Math.min(d / 2, t) / d : 0, te = a[0] + (h[0] - a[0]) * V, y = te, M = a[1] - (a[1] - h[1]) * V, q = M, G = y - (y - a[0]) * roundCorner, H = q - (q - a[1]) * roundCorner, r.setTripleAt(y, q, G, H, te, M, K), K += 1, i === s - 1 ? h = e.v[0] : h = e.v[i + 1], d = Math.sqrt(Math.pow(a[0] - h[0], 2) + Math.pow(a[1] - h[1], 2)), V = d ? Math.min(d / 2, t) / d : 0, G = a[0] + (h[0] - a[0]) * V, y = G, H = a[1] + (h[1] - a[1]) * V, q = H, te = y - (y - a[0]) * roundCorner, M = q - (q - a[1]) * roundCorner, r.setTripleAt(y, q, G, H, te, M, K), K += 1) : (r.setTripleAt(e.v[i][0], e.v[i][1], e.o[i][0], e.o[i][1], e.i[i][0], e.i[i][1], K), K += 1);
3392
3407
  return r;
3393
3408
  }, RoundCornersModifier.prototype.processShapes = function(e) {
3394
3409
  var t, r, i = this.shapes.length, s, a, n = this.rd.v;
@@ -3619,7 +3634,7 @@ function requireLottie() {
3619
3634
  var l = -t.tangentAngle(1), h = -r.tangentAngle(0) + Math.PI, d = lineIntersection(a, polarOffset(a, l + Math.PI / 2, 100), n, polarOffset(n, l + Math.PI / 2, 100)), V = d ? pointDistance(d, a) : pointDistance(a, n) / 2, K = polarOffset(a, l, 2 * V * roundCorner);
3620
3635
  return e.setXYAt(K[0], K[1], "o", e.length() - 1), K = polarOffset(n, h, 2 * V * roundCorner), e.setTripleAt(n[0], n[1], n[0], n[1], K[0], K[1], e.length()), n;
3621
3636
  }
3622
- var y = pointEqual(a, t.points[2]) ? t.points[0] : t.points[2], W = pointEqual(n, r.points[1]) ? r.points[3] : r.points[1], G = lineIntersection(y, a, n, W);
3637
+ var y = pointEqual(a, t.points[2]) ? t.points[0] : t.points[2], q = pointEqual(n, r.points[1]) ? r.points[3] : r.points[1], G = lineIntersection(y, a, n, q);
3623
3638
  return G && pointDistance(G, a) < s ? (e.setTripleAt(G[0], G[1], G[0], G[1], G[0], G[1], e.length()), G) : a;
3624
3639
  }
3625
3640
  function getIntersection(e, t) {
@@ -3722,46 +3737,46 @@ function requireLottie() {
3722
3737
  r = r.concat([2304, 2305, 2306, 2307, 2362, 2363, 2364, 2364, 2366, 2367, 2368, 2369, 2370, 2371, 2372, 2373, 2374, 2375, 2376, 2377, 2378, 2379, 2380, 2381, 2382, 2383, 2387, 2388, 2389, 2390, 2391, 2402, 2403]);
3723
3738
  var i = 127988, s = 917631, a = 917601, n = 917626, l = 65039, h = 8205, d = 127462, V = 127487, K = ["d83cdffb", "d83cdffc", "d83cdffd", "d83cdffe", "d83cdfff"];
3724
3739
  function y(re) {
3725
- var ae = re.split(","), q, Q = ae.length, oe = [];
3726
- for (q = 0; q < Q; q += 1)
3727
- ae[q] !== "sans-serif" && ae[q] !== "monospace" && oe.push(ae[q]);
3740
+ var se = re.split(","), W, Q = se.length, oe = [];
3741
+ for (W = 0; W < Q; W += 1)
3742
+ se[W] !== "sans-serif" && se[W] !== "monospace" && oe.push(se[W]);
3728
3743
  return oe.join(",");
3729
3744
  }
3730
- function W(re, ae) {
3731
- var q = createTag("span");
3732
- q.setAttribute("aria-hidden", !0), q.style.fontFamily = ae;
3745
+ function q(re, se) {
3746
+ var W = createTag("span");
3747
+ W.setAttribute("aria-hidden", !0), W.style.fontFamily = se;
3733
3748
  var Q = createTag("span");
3734
- Q.innerText = "giItT1WQy@!-/#", q.style.position = "absolute", q.style.left = "-10000px", q.style.top = "-10000px", q.style.fontSize = "300px", q.style.fontVariant = "normal", q.style.fontStyle = "normal", q.style.fontWeight = "normal", q.style.letterSpacing = "0", q.appendChild(Q), document.body.appendChild(q);
3749
+ Q.innerText = "giItT1WQy@!-/#", W.style.position = "absolute", W.style.left = "-10000px", W.style.top = "-10000px", W.style.fontSize = "300px", W.style.fontVariant = "normal", W.style.fontStyle = "normal", W.style.fontWeight = "normal", W.style.letterSpacing = "0", W.appendChild(Q), document.body.appendChild(W);
3735
3750
  var oe = Q.offsetWidth;
3736
- return Q.style.fontFamily = y(re) + ", " + ae, {
3751
+ return Q.style.fontFamily = y(re) + ", " + se, {
3737
3752
  node: Q,
3738
3753
  w: oe,
3739
- parent: q
3754
+ parent: W
3740
3755
  };
3741
3756
  }
3742
3757
  function G() {
3743
- var re, ae = this.fonts.length, q, Q, oe = ae;
3744
- for (re = 0; re < ae; re += 1)
3745
- this.fonts[re].loaded ? oe -= 1 : this.fonts[re].fOrigin === "n" || this.fonts[re].origin === 0 ? this.fonts[re].loaded = !0 : (q = this.fonts[re].monoCase.node, Q = this.fonts[re].monoCase.w, q.offsetWidth !== Q ? (oe -= 1, this.fonts[re].loaded = !0) : (q = this.fonts[re].sansCase.node, Q = this.fonts[re].sansCase.w, q.offsetWidth !== Q && (oe -= 1, this.fonts[re].loaded = !0)), this.fonts[re].loaded && (this.fonts[re].sansCase.parent.parentNode.removeChild(this.fonts[re].sansCase.parent), this.fonts[re].monoCase.parent.parentNode.removeChild(this.fonts[re].monoCase.parent)));
3758
+ var re, se = this.fonts.length, W, Q, oe = se;
3759
+ for (re = 0; re < se; re += 1)
3760
+ this.fonts[re].loaded ? oe -= 1 : this.fonts[re].fOrigin === "n" || this.fonts[re].origin === 0 ? this.fonts[re].loaded = !0 : (W = this.fonts[re].monoCase.node, Q = this.fonts[re].monoCase.w, W.offsetWidth !== Q ? (oe -= 1, this.fonts[re].loaded = !0) : (W = this.fonts[re].sansCase.node, Q = this.fonts[re].sansCase.w, W.offsetWidth !== Q && (oe -= 1, this.fonts[re].loaded = !0)), this.fonts[re].loaded && (this.fonts[re].sansCase.parent.parentNode.removeChild(this.fonts[re].sansCase.parent), this.fonts[re].monoCase.parent.parentNode.removeChild(this.fonts[re].monoCase.parent)));
3746
3761
  oe !== 0 && Date.now() - this.initTime < e ? setTimeout(this.checkLoadedFontsBinded, 20) : setTimeout(this.setIsLoadedBinded, 10);
3747
3762
  }
3748
- function H(re, ae) {
3749
- var q = document.body && ae ? "svg" : "canvas", Q, oe = getFontProperties(re);
3750
- if (q === "svg") {
3763
+ function H(re, se) {
3764
+ var W = document.body && se ? "svg" : "canvas", Q, oe = getFontProperties(re);
3765
+ if (W === "svg") {
3751
3766
  var ne = createNS("text");
3752
- ne.style.fontSize = "100px", ne.setAttribute("font-family", re.fFamily), ne.setAttribute("font-style", oe.style), ne.setAttribute("font-weight", oe.weight), ne.textContent = "1", re.fClass ? (ne.style.fontFamily = "inherit", ne.setAttribute("class", re.fClass)) : ne.style.fontFamily = re.fFamily, ae.appendChild(ne), Q = ne;
3767
+ ne.style.fontSize = "100px", ne.setAttribute("font-family", re.fFamily), ne.setAttribute("font-style", oe.style), ne.setAttribute("font-weight", oe.weight), ne.textContent = "1", re.fClass ? (ne.style.fontFamily = "inherit", ne.setAttribute("class", re.fClass)) : ne.style.fontFamily = re.fFamily, se.appendChild(ne), Q = ne;
3753
3768
  } else {
3754
- var fe = new OffscreenCanvas(500, 500).getContext("2d");
3755
- fe.font = oe.style + " " + oe.weight + " 100px " + re.fFamily, Q = fe;
3769
+ var ce = new OffscreenCanvas(500, 500).getContext("2d");
3770
+ ce.font = oe.style + " " + oe.weight + " 100px " + re.fFamily, Q = ce;
3756
3771
  }
3757
3772
  function me(ye) {
3758
- return q === "svg" ? (Q.textContent = ye, Q.getComputedTextLength()) : Q.measureText(ye).width;
3773
+ return W === "svg" ? (Q.textContent = ye, Q.getComputedTextLength()) : Q.measureText(ye).width;
3759
3774
  }
3760
3775
  return {
3761
3776
  measureText: me
3762
3777
  };
3763
3778
  }
3764
- function te(re, ae) {
3779
+ function te(re, se) {
3765
3780
  if (!re) {
3766
3781
  this.isLoaded = !0;
3767
3782
  return;
@@ -3776,121 +3791,121 @@ function requireLottie() {
3776
3791
  }), this.fonts = re.list;
3777
3792
  return;
3778
3793
  }
3779
- var q = re.list, Q, oe = q.length, ne = oe;
3794
+ var W = re.list, Q, oe = W.length, ne = oe;
3780
3795
  for (Q = 0; Q < oe; Q += 1) {
3781
- var fe = !0, me, ye;
3782
- if (q[Q].loaded = !1, q[Q].monoCase = W(q[Q].fFamily, "monospace"), q[Q].sansCase = W(q[Q].fFamily, "sans-serif"), !q[Q].fPath)
3783
- q[Q].loaded = !0, ne -= 1;
3784
- else if (q[Q].fOrigin === "p" || q[Q].origin === 3) {
3785
- if (me = document.querySelectorAll('style[f-forigin="p"][f-family="' + q[Q].fFamily + '"], style[f-origin="3"][f-family="' + q[Q].fFamily + '"]'), me.length > 0 && (fe = !1), fe) {
3796
+ var ce = !0, me, ye;
3797
+ if (W[Q].loaded = !1, W[Q].monoCase = q(W[Q].fFamily, "monospace"), W[Q].sansCase = q(W[Q].fFamily, "sans-serif"), !W[Q].fPath)
3798
+ W[Q].loaded = !0, ne -= 1;
3799
+ else if (W[Q].fOrigin === "p" || W[Q].origin === 3) {
3800
+ if (me = document.querySelectorAll('style[f-forigin="p"][f-family="' + W[Q].fFamily + '"], style[f-origin="3"][f-family="' + W[Q].fFamily + '"]'), me.length > 0 && (ce = !1), ce) {
3786
3801
  var xe = createTag("style");
3787
- xe.setAttribute("f-forigin", q[Q].fOrigin), xe.setAttribute("f-origin", q[Q].origin), xe.setAttribute("f-family", q[Q].fFamily), xe.type = "text/css", xe.innerText = "@font-face {font-family: " + q[Q].fFamily + "; font-style: normal; src: url('" + q[Q].fPath + "');}", ae.appendChild(xe);
3802
+ xe.setAttribute("f-forigin", W[Q].fOrigin), xe.setAttribute("f-origin", W[Q].origin), xe.setAttribute("f-family", W[Q].fFamily), xe.type = "text/css", xe.innerText = "@font-face {font-family: " + W[Q].fFamily + "; font-style: normal; src: url('" + W[Q].fPath + "');}", se.appendChild(xe);
3788
3803
  }
3789
- } else if (q[Q].fOrigin === "g" || q[Q].origin === 1) {
3804
+ } else if (W[Q].fOrigin === "g" || W[Q].origin === 1) {
3790
3805
  for (me = document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'), ye = 0; ye < me.length; ye += 1)
3791
- me[ye].href.indexOf(q[Q].fPath) !== -1 && (fe = !1);
3792
- if (fe) {
3806
+ me[ye].href.indexOf(W[Q].fPath) !== -1 && (ce = !1);
3807
+ if (ce) {
3793
3808
  var be = createTag("link");
3794
- be.setAttribute("f-forigin", q[Q].fOrigin), be.setAttribute("f-origin", q[Q].origin), be.type = "text/css", be.rel = "stylesheet", be.href = q[Q].fPath, document.body.appendChild(be);
3809
+ be.setAttribute("f-forigin", W[Q].fOrigin), be.setAttribute("f-origin", W[Q].origin), be.type = "text/css", be.rel = "stylesheet", be.href = W[Q].fPath, document.body.appendChild(be);
3795
3810
  }
3796
- } else if (q[Q].fOrigin === "t" || q[Q].origin === 2) {
3811
+ } else if (W[Q].fOrigin === "t" || W[Q].origin === 2) {
3797
3812
  for (me = document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'), ye = 0; ye < me.length; ye += 1)
3798
- q[Q].fPath === me[ye].src && (fe = !1);
3799
- if (fe) {
3813
+ W[Q].fPath === me[ye].src && (ce = !1);
3814
+ if (ce) {
3800
3815
  var Ce = createTag("link");
3801
- Ce.setAttribute("f-forigin", q[Q].fOrigin), Ce.setAttribute("f-origin", q[Q].origin), Ce.setAttribute("rel", "stylesheet"), Ce.setAttribute("href", q[Q].fPath), ae.appendChild(Ce);
3816
+ Ce.setAttribute("f-forigin", W[Q].fOrigin), Ce.setAttribute("f-origin", W[Q].origin), Ce.setAttribute("rel", "stylesheet"), Ce.setAttribute("href", W[Q].fPath), se.appendChild(Ce);
3802
3817
  }
3803
3818
  }
3804
- q[Q].helper = H(q[Q], ae), q[Q].cache = {}, this.fonts.push(q[Q]);
3819
+ W[Q].helper = H(W[Q], se), W[Q].cache = {}, this.fonts.push(W[Q]);
3805
3820
  }
3806
3821
  ne === 0 ? this.isLoaded = !0 : setTimeout(this.checkLoadedFonts.bind(this), 100);
3807
3822
  }
3808
3823
  function M(re) {
3809
3824
  if (re) {
3810
3825
  this.chars || (this.chars = []);
3811
- var ae, q = re.length, Q, oe = this.chars.length, ne;
3812
- for (ae = 0; ae < q; ae += 1) {
3826
+ var se, W = re.length, Q, oe = this.chars.length, ne;
3827
+ for (se = 0; se < W; se += 1) {
3813
3828
  for (Q = 0, ne = !1; Q < oe; )
3814
- this.chars[Q].style === re[ae].style && this.chars[Q].fFamily === re[ae].fFamily && this.chars[Q].ch === re[ae].ch && (ne = !0), Q += 1;
3815
- ne || (this.chars.push(re[ae]), oe += 1);
3829
+ this.chars[Q].style === re[se].style && this.chars[Q].fFamily === re[se].fFamily && this.chars[Q].ch === re[se].ch && (ne = !0), Q += 1;
3830
+ ne || (this.chars.push(re[se]), oe += 1);
3816
3831
  }
3817
3832
  }
3818
3833
  }
3819
- function j(re, ae, q) {
3834
+ function j(re, se, W) {
3820
3835
  for (var Q = 0, oe = this.chars.length; Q < oe; ) {
3821
- if (this.chars[Q].ch === re && this.chars[Q].style === ae && this.chars[Q].fFamily === q)
3836
+ if (this.chars[Q].ch === re && this.chars[Q].style === se && this.chars[Q].fFamily === W)
3822
3837
  return this.chars[Q];
3823
3838
  Q += 1;
3824
3839
  }
3825
- return (typeof re == "string" && re.charCodeAt(0) !== 13 || !re) && console && console.warn && !this._warned && (this._warned = !0, console.warn("Missing character from exported characters list: ", re, ae, q)), t;
3840
+ return (typeof re == "string" && re.charCodeAt(0) !== 13 || !re) && console && console.warn && !this._warned && (this._warned = !0, console.warn("Missing character from exported characters list: ", re, se, W)), t;
3826
3841
  }
3827
- function F(re, ae, q) {
3828
- var Q = this.getFontByName(ae), oe = re;
3842
+ function F(re, se, W) {
3843
+ var Q = this.getFontByName(se), oe = re;
3829
3844
  if (!Q.cache[oe]) {
3830
3845
  var ne = Q.helper;
3831
3846
  if (re === " ") {
3832
- var fe = ne.measureText("|" + re + "|"), me = ne.measureText("||");
3833
- Q.cache[oe] = (fe - me) / 100;
3847
+ var ce = ne.measureText("|" + re + "|"), me = ne.measureText("||");
3848
+ Q.cache[oe] = (ce - me) / 100;
3834
3849
  } else
3835
3850
  Q.cache[oe] = ne.measureText(re) / 100;
3836
3851
  }
3837
- return Q.cache[oe] * q;
3852
+ return Q.cache[oe] * W;
3838
3853
  }
3839
3854
  function Z(re) {
3840
- for (var ae = 0, q = this.fonts.length; ae < q; ) {
3841
- if (this.fonts[ae].fName === re)
3842
- return this.fonts[ae];
3843
- ae += 1;
3855
+ for (var se = 0, W = this.fonts.length; se < W; ) {
3856
+ if (this.fonts[se].fName === re)
3857
+ return this.fonts[se];
3858
+ se += 1;
3844
3859
  }
3845
3860
  return this.fonts[0];
3846
3861
  }
3847
3862
  function J(re) {
3848
- var ae = 0, q = re.charCodeAt(0);
3849
- if (q >= 55296 && q <= 56319) {
3863
+ var se = 0, W = re.charCodeAt(0);
3864
+ if (W >= 55296 && W <= 56319) {
3850
3865
  var Q = re.charCodeAt(1);
3851
- Q >= 56320 && Q <= 57343 && (ae = (q - 55296) * 1024 + Q - 56320 + 65536);
3866
+ Q >= 56320 && Q <= 57343 && (se = (W - 55296) * 1024 + Q - 56320 + 65536);
3852
3867
  }
3853
- return ae;
3868
+ return se;
3854
3869
  }
3855
- function ee(re, ae) {
3856
- var q = re.toString(16) + ae.toString(16);
3857
- return K.indexOf(q) !== -1;
3870
+ function ee(re, se) {
3871
+ var W = re.toString(16) + se.toString(16);
3872
+ return K.indexOf(W) !== -1;
3858
3873
  }
3859
3874
  function ie(re) {
3860
3875
  return re === h;
3861
3876
  }
3862
- function se(re) {
3877
+ function ae(re) {
3863
3878
  return re === l;
3864
3879
  }
3865
3880
  function le(re) {
3866
- var ae = J(re);
3867
- return ae >= d && ae <= V;
3881
+ var se = J(re);
3882
+ return se >= d && se <= V;
3868
3883
  }
3869
- function pe(re) {
3884
+ function ue(re) {
3870
3885
  return le(re.substr(0, 2)) && le(re.substr(2, 2));
3871
3886
  }
3872
3887
  function de(re) {
3873
3888
  return r.indexOf(re) !== -1;
3874
3889
  }
3875
- function ce(re, ae) {
3876
- var q = J(re.substr(ae, 2));
3877
- if (q !== i)
3890
+ function fe(re, se) {
3891
+ var W = J(re.substr(se, 2));
3892
+ if (W !== i)
3878
3893
  return !1;
3879
3894
  var Q = 0;
3880
- for (ae += 2; Q < 5; ) {
3881
- if (q = J(re.substr(ae, 2)), q < a || q > n)
3895
+ for (se += 2; Q < 5; ) {
3896
+ if (W = J(re.substr(se, 2)), W < a || W > n)
3882
3897
  return !1;
3883
- Q += 1, ae += 2;
3898
+ Q += 1, se += 2;
3884
3899
  }
3885
- return J(re.substr(ae, 2)) === s;
3900
+ return J(re.substr(se, 2)) === s;
3886
3901
  }
3887
- function ve() {
3902
+ function pe() {
3888
3903
  this.isLoaded = !0;
3889
3904
  }
3890
- var ue = function() {
3905
+ var ve = function() {
3891
3906
  this.fonts = [], this.chars = null, this.typekitLoaded = 0, this.isLoaded = !1, this._warned = !1, this.initTime = Date.now(), this.setIsLoadedBinded = this.setIsLoaded.bind(this), this.checkLoadedFontsBinded = this.checkLoadedFonts.bind(this);
3892
3907
  };
3893
- ue.isModifier = ee, ue.isZeroWidthJoiner = ie, ue.isFlagEmoji = pe, ue.isRegionalCode = le, ue.isCombinedCharacter = de, ue.isRegionalFlag = ce, ue.isVariationSelector = se, ue.BLACK_FLAG_CODE_POINT = i;
3908
+ ve.isModifier = ee, ve.isZeroWidthJoiner = ie, ve.isFlagEmoji = ue, ve.isRegionalCode = le, ve.isCombinedCharacter = de, ve.isRegionalFlag = fe, ve.isVariationSelector = ae, ve.BLACK_FLAG_CODE_POINT = i;
3894
3909
  var he = {
3895
3910
  addChars: M,
3896
3911
  addFonts: te,
@@ -3898,9 +3913,9 @@ function requireLottie() {
3898
3913
  getFontByName: Z,
3899
3914
  measureText: F,
3900
3915
  checkLoadedFonts: G,
3901
- setIsLoaded: ve
3916
+ setIsLoaded: pe
3902
3917
  };
3903
- return ue.prototype = he, ue;
3918
+ return ve.prototype = he, ve;
3904
3919
  })();
3905
3920
  function SlotManager(e) {
3906
3921
  this.animationData = e;
@@ -4357,9 +4372,9 @@ function requireLottie() {
4357
4372
  this.data = e, this.element = t, this.globalData = r, this.storedData = [], this.masksProperties = this.data.masksProperties || [], this.maskElement = null;
4358
4373
  var i = this.globalData.defs, s, a = this.masksProperties ? this.masksProperties.length : 0;
4359
4374
  this.viewData = createSizedArray(a), this.solidPath = "";
4360
- var n, l = this.masksProperties, h = 0, d = [], V, K, y = createElementID(), W, G, H, te, M = "clipPath", j = "clip-path";
4375
+ var n, l = this.masksProperties, h = 0, d = [], V, K, y = createElementID(), q, G, H, te, M = "clipPath", j = "clip-path";
4361
4376
  for (s = 0; s < a; s += 1)
4362
- if ((l[s].mode !== "a" && l[s].mode !== "n" || l[s].inv || l[s].o.k !== 100 || l[s].o.x) && (M = "mask", j = "mask"), (l[s].mode === "s" || l[s].mode === "i") && h === 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), d.push(W)) : W = null, n = createNS("path"), l[s].mode === "n")
4377
+ if ((l[s].mode !== "a" && l[s].mode !== "n" || l[s].inv || l[s].o.k !== 100 || l[s].o.x) && (M = "mask", j = "mask"), (l[s].mode === "s" || l[s].mode === "i") && h === 0 ? (q = createNS("rect"), q.setAttribute("fill", "#ffffff"), q.setAttribute("width", this.element.comp.data.w || 0), q.setAttribute("height", this.element.comp.data.h || 0), d.push(q)) : q = null, n = createNS("path"), l[s].mode === "n")
4363
4378
  this.viewData[s] = {
4364
4379
  op: PropertyFactory.getProp(this.element, l[s].o, 0, 0.01, this.element),
4365
4380
  prop: ShapePropertyFactory.getShapeProp(this.element, l[s], 3),
@@ -4391,7 +4406,7 @@ function requireLottie() {
4391
4406
  lastPath: "",
4392
4407
  op: PropertyFactory.getProp(this.element, l[s].o, 0, 0.01, this.element),
4393
4408
  prop: ShapePropertyFactory.getShapeProp(this.element, l[s], 3),
4394
- invRect: W
4409
+ invRect: q
4395
4410
  }, this.viewData[s].prop.k || this.drawPath(l[s], this.viewData[s].prop.v, this.viewData[s]);
4396
4411
  }
4397
4412
  for (this.maskElement = createNS(M), a = d.length, s = 0; s < a; s += 1)
@@ -4844,20 +4859,20 @@ function requireLottie() {
4844
4859
  return null;
4845
4860
  }
4846
4861
  }
4847
- function s(K, y, W) {
4848
- (W || y.transform.op._mdf) && y.transform.container.setAttribute("opacity", y.transform.op.v), (W || y.transform.mProps._mdf) && y.transform.container.setAttribute("transform", y.transform.mProps.v.to2dCSS());
4862
+ function s(K, y, q) {
4863
+ (q || y.transform.op._mdf) && y.transform.container.setAttribute("opacity", y.transform.op.v), (q || y.transform.mProps._mdf) && y.transform.container.setAttribute("transform", y.transform.mProps.v.to2dCSS());
4849
4864
  }
4850
4865
  function a() {
4851
4866
  }
4852
- function n(K, y, W) {
4853
- var G, H, te, M, j, F, Z = y.styles.length, J = y.lvl, ee, ie, se, le;
4867
+ function n(K, y, q) {
4868
+ var G, H, te, M, j, F, Z = y.styles.length, J = y.lvl, ee, ie, ae, le;
4854
4869
  for (F = 0; F < Z; F += 1) {
4855
- if (M = y.sh._mdf || W, y.styles[F].lvl < J) {
4856
- for (ie = t.reset(), se = J - y.styles[F].lvl, le = y.transformers.length - 1; !M && se > 0; )
4857
- M = y.transformers[le].mProps._mdf || M, se -= 1, le -= 1;
4870
+ if (M = y.sh._mdf || q, y.styles[F].lvl < J) {
4871
+ for (ie = t.reset(), ae = J - y.styles[F].lvl, le = y.transformers.length - 1; !M && ae > 0; )
4872
+ M = y.transformers[le].mProps._mdf || M, ae -= 1, le -= 1;
4858
4873
  if (M)
4859
- for (se = J - y.styles[F].lvl, le = y.transformers.length - 1; se > 0; )
4860
- ie.multiply(y.transformers[le].mProps.v), se -= 1, le -= 1;
4874
+ for (ae = J - y.styles[F].lvl, le = y.transformers.length - 1; ae > 0; )
4875
+ ie.multiply(y.transformers[le].mProps.v), ae -= 1, le -= 1;
4861
4876
  } else
4862
4877
  ie = e;
4863
4878
  if (ee = y.sh.paths, H = ee._length, M) {
@@ -4869,51 +4884,51 @@ function requireLottie() {
4869
4884
  y.styles[F].d += K.hd === !0 ? "" : te, y.styles[F]._mdf = M || y.styles[F]._mdf;
4870
4885
  }
4871
4886
  }
4872
- function l(K, y, W) {
4887
+ function l(K, y, q) {
4873
4888
  var G = y.style;
4874
- (y.c._mdf || W) && G.pElem.setAttribute("fill", "rgb(" + bmFloor(y.c.v[0]) + "," + bmFloor(y.c.v[1]) + "," + bmFloor(y.c.v[2]) + ")"), (y.o._mdf || W) && G.pElem.setAttribute("fill-opacity", y.o.v);
4889
+ (y.c._mdf || q) && G.pElem.setAttribute("fill", "rgb(" + bmFloor(y.c.v[0]) + "," + bmFloor(y.c.v[1]) + "," + bmFloor(y.c.v[2]) + ")"), (y.o._mdf || q) && G.pElem.setAttribute("fill-opacity", y.o.v);
4875
4890
  }
4876
- function h(K, y, W) {
4877
- d(K, y, W), V(K, y, W);
4891
+ function h(K, y, q) {
4892
+ d(K, y, q), V(K, y, q);
4878
4893
  }
4879
- function d(K, y, W) {
4894
+ function d(K, y, q) {
4880
4895
  var G = y.gf, H = y.g._hasOpacity, te = y.s.v, M = y.e.v;
4881
- if (y.o._mdf || W) {
4896
+ if (y.o._mdf || q) {
4882
4897
  var j = K.ty === "gf" ? "fill-opacity" : "stroke-opacity";
4883
4898
  y.style.pElem.setAttribute(j, y.o.v);
4884
4899
  }
4885
- if (y.s._mdf || W) {
4900
+ if (y.s._mdf || q) {
4886
4901
  var F = K.t === 1 ? "x1" : "cx", Z = F === "x1" ? "y1" : "cy";
4887
4902
  G.setAttribute(F, te[0]), G.setAttribute(Z, te[1]), H && !y.g._collapsable && (y.of.setAttribute(F, te[0]), y.of.setAttribute(Z, te[1]));
4888
4903
  }
4889
- var J, ee, ie, se;
4890
- if (y.g._cmdf || W) {
4904
+ var J, ee, ie, ae;
4905
+ if (y.g._cmdf || q) {
4891
4906
  J = y.cst;
4892
4907
  var le = y.g.c;
4893
4908
  for (ie = J.length, ee = 0; ee < ie; ee += 1)
4894
- se = J[ee], se.setAttribute("offset", le[ee * 4] + "%"), se.setAttribute("stop-color", "rgb(" + le[ee * 4 + 1] + "," + le[ee * 4 + 2] + "," + le[ee * 4 + 3] + ")");
4909
+ ae = J[ee], ae.setAttribute("offset", le[ee * 4] + "%"), ae.setAttribute("stop-color", "rgb(" + le[ee * 4 + 1] + "," + le[ee * 4 + 2] + "," + le[ee * 4 + 3] + ")");
4895
4910
  }
4896
- if (H && (y.g._omdf || W)) {
4897
- var pe = y.g.o;
4911
+ if (H && (y.g._omdf || q)) {
4912
+ var ue = y.g.o;
4898
4913
  for (y.g._collapsable ? J = y.cst : J = y.ost, ie = J.length, ee = 0; ee < ie; ee += 1)
4899
- se = J[ee], y.g._collapsable || se.setAttribute("offset", pe[ee * 2] + "%"), se.setAttribute("stop-opacity", pe[ee * 2 + 1]);
4914
+ ae = J[ee], y.g._collapsable || ae.setAttribute("offset", ue[ee * 2] + "%"), ae.setAttribute("stop-opacity", ue[ee * 2 + 1]);
4900
4915
  }
4901
4916
  if (K.t === 1)
4902
- (y.e._mdf || W) && (G.setAttribute("x2", M[0]), G.setAttribute("y2", M[1]), H && !y.g._collapsable && (y.of.setAttribute("x2", M[0]), y.of.setAttribute("y2", M[1])));
4917
+ (y.e._mdf || q) && (G.setAttribute("x2", M[0]), G.setAttribute("y2", M[1]), H && !y.g._collapsable && (y.of.setAttribute("x2", M[0]), y.of.setAttribute("y2", M[1])));
4903
4918
  else {
4904
4919
  var de;
4905
- if ((y.s._mdf || y.e._mdf || W) && (de = Math.sqrt(Math.pow(te[0] - M[0], 2) + Math.pow(te[1] - M[1], 2)), G.setAttribute("r", de), H && !y.g._collapsable && y.of.setAttribute("r", de)), y.s._mdf || y.e._mdf || y.h._mdf || y.a._mdf || W) {
4920
+ if ((y.s._mdf || y.e._mdf || q) && (de = Math.sqrt(Math.pow(te[0] - M[0], 2) + Math.pow(te[1] - M[1], 2)), G.setAttribute("r", de), H && !y.g._collapsable && y.of.setAttribute("r", de)), y.s._mdf || y.e._mdf || y.h._mdf || y.a._mdf || q) {
4906
4921
  de || (de = Math.sqrt(Math.pow(te[0] - M[0], 2) + Math.pow(te[1] - M[1], 2)));
4907
- var ce = Math.atan2(M[1] - te[1], M[0] - te[0]), ve = y.h.v;
4908
- ve >= 1 ? ve = 0.99 : ve <= -1 && (ve = -0.99);
4909
- var ue = de * ve, he = Math.cos(ce + y.a.v) * ue + te[0], re = Math.sin(ce + y.a.v) * ue + te[1];
4922
+ var fe = Math.atan2(M[1] - te[1], M[0] - te[0]), pe = y.h.v;
4923
+ pe >= 1 ? pe = 0.99 : pe <= -1 && (pe = -0.99);
4924
+ var ve = de * pe, he = Math.cos(fe + y.a.v) * ve + te[0], re = Math.sin(fe + y.a.v) * ve + te[1];
4910
4925
  G.setAttribute("fx", he), G.setAttribute("fy", re), H && !y.g._collapsable && (y.of.setAttribute("fx", he), y.of.setAttribute("fy", re));
4911
4926
  }
4912
4927
  }
4913
4928
  }
4914
- function V(K, y, W) {
4929
+ function V(K, y, q) {
4915
4930
  var G = y.style, H = y.d;
4916
- H && (H._mdf || W) && H.dashStr && (G.pElem.setAttribute("stroke-dasharray", H.dashStr), G.pElem.setAttribute("stroke-dashoffset", H.dashoffset[0])), y.c && (y.c._mdf || W) && G.pElem.setAttribute("stroke", "rgb(" + bmFloor(y.c.v[0]) + "," + bmFloor(y.c.v[1]) + "," + bmFloor(y.c.v[2]) + ")"), (y.o._mdf || W) && G.pElem.setAttribute("stroke-opacity", y.o.v), (y.w._mdf || W) && (G.pElem.setAttribute("stroke-width", y.w.v), G.msElem && G.msElem.setAttribute("stroke-width", y.w.v));
4931
+ H && (H._mdf || q) && H.dashStr && (G.pElem.setAttribute("stroke-dasharray", H.dashStr), G.pElem.setAttribute("stroke-dashoffset", H.dashoffset[0])), y.c && (y.c._mdf || q) && G.pElem.setAttribute("stroke", "rgb(" + bmFloor(y.c.v[0]) + "," + bmFloor(y.c.v[1]) + "," + bmFloor(y.c.v[2]) + ")"), (y.o._mdf || q) && G.pElem.setAttribute("stroke-opacity", y.o.v), (y.w._mdf || q) && (G.pElem.setAttribute("stroke-width", y.w.v), G.msElem && G.msElem.setAttribute("stroke-width", y.w.v));
4917
4932
  }
4918
4933
  return r;
4919
4934
  })();
@@ -4981,7 +4996,7 @@ function requireLottie() {
4981
4996
  this.dynamicProperties[e].getValue();
4982
4997
  this.renderModifiers();
4983
4998
  }, SVGShapeElement.prototype.searchShapes = function(e, t, r, i, s, a, n) {
4984
- var l = [].concat(a), h, d = e.length - 1, V, K, y = [], W = [], G, H, te;
4999
+ var l = [].concat(a), h, d = e.length - 1, V, K, y = [], q = [], G, H, te;
4985
5000
  for (h = d; h >= 0; h -= 1) {
4986
5001
  if (te = this.searchProcessedElement(e[h]), te ? t[h] = r[te - 1] : e[h]._render = n, e[h].ty === "fl" || e[h].ty === "st" || e[h].ty === "gf" || e[h].ty === "gs" || e[h].ty === "no")
4987
5002
  te ? t[h].style.closed = e[h].hd : t[h] = this.createStyleElement(e[h], s), e[h]._render && t[h].style.pElem.parentNode !== i && i.appendChild(t[h].style.pElem), y.push(t[h].style);
@@ -4992,13 +5007,13 @@ function requireLottie() {
4992
5007
  for (K = t[h].it.length, V = 0; V < K; V += 1)
4993
5008
  t[h].prevViewData[V] = t[h].it[V];
4994
5009
  this.searchShapes(e[h].it, t[h].it, t[h].prevViewData, t[h].gr, s + 1, l, n), e[h]._render && t[h].gr.parentNode !== i && i.appendChild(t[h].gr);
4995
- } else e[h].ty === "tr" ? (te || (t[h] = this.createTransformElement(e[h], i)), G = t[h].transform, l.push(G)) : e[h].ty === "sh" || e[h].ty === "rc" || e[h].ty === "el" || e[h].ty === "sr" ? (te || (t[h] = this.createShapeElement(e[h], l, s)), this.setElementStyles(t[h])) : e[h].ty === "tm" || e[h].ty === "rd" || e[h].ty === "ms" || e[h].ty === "pb" || e[h].ty === "zz" || e[h].ty === "op" ? (te ? (H = t[h], H.closed = !1) : (H = ShapeModifiers.getModifier(e[h].ty), H.init(this, e[h]), t[h] = H, this.shapeModifiers.push(H)), W.push(H)) : e[h].ty === "rp" && (te ? (H = t[h], H.closed = !0) : (H = ShapeModifiers.getModifier(e[h].ty), t[h] = H, H.init(this, e, h, t), this.shapeModifiers.push(H), n = !1), W.push(H));
5010
+ } else e[h].ty === "tr" ? (te || (t[h] = this.createTransformElement(e[h], i)), G = t[h].transform, l.push(G)) : e[h].ty === "sh" || e[h].ty === "rc" || e[h].ty === "el" || e[h].ty === "sr" ? (te || (t[h] = this.createShapeElement(e[h], l, s)), this.setElementStyles(t[h])) : e[h].ty === "tm" || e[h].ty === "rd" || e[h].ty === "ms" || e[h].ty === "pb" || e[h].ty === "zz" || e[h].ty === "op" ? (te ? (H = t[h], H.closed = !1) : (H = ShapeModifiers.getModifier(e[h].ty), H.init(this, e[h]), t[h] = H, this.shapeModifiers.push(H)), q.push(H)) : e[h].ty === "rp" && (te ? (H = t[h], H.closed = !0) : (H = ShapeModifiers.getModifier(e[h].ty), t[h] = H, H.init(this, e, h, t), this.shapeModifiers.push(H), n = !1), q.push(H));
4996
5011
  this.addProcessedElement(e[h], h + 1);
4997
5012
  }
4998
5013
  for (d = y.length, h = 0; h < d; h += 1)
4999
5014
  y[h].closed = !0;
5000
- for (d = W.length, h = 0; h < d; h += 1)
5001
- W[h].closed = !0;
5015
+ for (d = q.length, h = 0; h < d; h += 1)
5016
+ q[h].closed = !0;
5002
5017
  }, SVGShapeElement.prototype.renderInnerContent = function() {
5003
5018
  this.renderModifiers();
5004
5019
  var e, t = this.stylesList.length;
@@ -5096,21 +5111,21 @@ function requireLottie() {
5096
5111
  return t;
5097
5112
  }, TextProperty.prototype.completeTextData = function(e) {
5098
5113
  e.__complete = !0;
5099
- var t = this.elem.globalData.fontManager, r = this.data, i = [], s, a, n, l = 0, h, d = r.m.g, V = 0, K = 0, y = 0, W = [], G = 0, H = 0, te, M, j = t.getFontByName(e.f), F, Z = 0, J = getFontProperties(j);
5114
+ var t = this.elem.globalData.fontManager, r = this.data, i = [], s, a, n, l = 0, h, d = r.m.g, V = 0, K = 0, y = 0, q = [], G = 0, H = 0, te, M, j = t.getFontByName(e.f), F, Z = 0, J = getFontProperties(j);
5100
5115
  e.fWeight = J.weight, e.fStyle = J.style, e.finalSize = e.s, e.finalText = this.buildFinalText(e.t), a = e.finalText.length, e.finalLineHeight = e.lh;
5101
5116
  var ee = e.tr / 1e3 * e.finalSize, ie;
5102
5117
  if (e.sz)
5103
- for (var se = !0, le = e.sz[0], pe = e.sz[1], de, ce; se; ) {
5104
- ce = this.buildFinalText(e.t), de = 0, G = 0, a = ce.length, ee = e.tr / 1e3 * e.finalSize;
5105
- var ve = -1;
5118
+ for (var ae = !0, le = e.sz[0], ue = e.sz[1], de, fe; ae; ) {
5119
+ fe = this.buildFinalText(e.t), de = 0, G = 0, a = fe.length, ee = e.tr / 1e3 * e.finalSize;
5120
+ var pe = -1;
5106
5121
  for (s = 0; s < a; s += 1)
5107
- ie = ce[s].charCodeAt(0), n = !1, ce[s] === " " ? ve = s : (ie === 13 || ie === 3) && (G = 0, n = !0, de += e.finalLineHeight || e.finalSize * 1.2), t.chars ? (F = t.getCharData(ce[s], j.fStyle, j.fFamily), Z = n ? 0 : F.w * e.finalSize / 100) : Z = t.measureText(ce[s], e.f, e.finalSize), G + Z > le && ce[s] !== " " ? (ve === -1 ? a += 1 : s = ve, de += e.finalLineHeight || e.finalSize * 1.2, ce.splice(s, ve === s ? 1 : 0, "\r"), ve = -1, G = 0) : (G += Z, G += ee);
5108
- de += j.ascent * e.finalSize / 100, this.canResize && e.finalSize > this.minimumFontSize && pe < de ? (e.finalSize -= 1, e.finalLineHeight = e.finalSize * e.lh / e.s) : (e.finalText = ce, a = e.finalText.length, se = !1);
5122
+ ie = fe[s].charCodeAt(0), n = !1, fe[s] === " " ? pe = s : (ie === 13 || ie === 3) && (G = 0, n = !0, de += e.finalLineHeight || e.finalSize * 1.2), t.chars ? (F = t.getCharData(fe[s], j.fStyle, j.fFamily), Z = n ? 0 : F.w * e.finalSize / 100) : Z = t.measureText(fe[s], e.f, e.finalSize), G + Z > le && fe[s] !== " " ? (pe === -1 ? a += 1 : s = pe, de += e.finalLineHeight || e.finalSize * 1.2, fe.splice(s, pe === s ? 1 : 0, "\r"), pe = -1, G = 0) : (G += Z, G += ee);
5123
+ de += j.ascent * e.finalSize / 100, this.canResize && e.finalSize > this.minimumFontSize && ue < de ? (e.finalSize -= 1, e.finalLineHeight = e.finalSize * e.lh / e.s) : (e.finalText = fe, a = e.finalText.length, ae = !1);
5109
5124
  }
5110
5125
  G = -ee, Z = 0;
5111
- var ue = 0, he;
5126
+ var ve = 0, he;
5112
5127
  for (s = 0; s < a; s += 1)
5113
- if (n = !1, he = e.finalText[s], ie = he.charCodeAt(0), ie === 13 || ie === 3 ? (ue = 0, W.push(G), H = G > H ? G : H, G = -2 * ee, h = "", n = !0, y += 1) : h = he, t.chars ? (F = t.getCharData(he, j.fStyle, t.getFontByName(e.f).fFamily), Z = n ? 0 : F.w * e.finalSize / 100) : Z = t.measureText(h, e.f, e.finalSize), he === " " ? ue += Z + ee : (G += Z + ee + ue, ue = 0), i.push({
5128
+ if (n = !1, he = e.finalText[s], ie = he.charCodeAt(0), ie === 13 || ie === 3 ? (ve = 0, q.push(G), H = G > H ? G : H, G = -2 * ee, h = "", n = !0, y += 1) : h = he, t.chars ? (F = t.getCharData(he, j.fStyle, t.getFontByName(e.f).fFamily), Z = n ? 0 : F.w * e.finalSize / 100) : Z = t.measureText(h, e.f, e.finalSize), he === " " ? ve += Z + ee : (G += Z + ee + ve, ve = 0), i.push({
5114
5129
  l: Z,
5115
5130
  an: Z,
5116
5131
  add: V,
@@ -5133,7 +5148,7 @@ function requireLottie() {
5133
5148
  }
5134
5149
  } else
5135
5150
  i[l].ind = l, i[l].extra = 0, l += 1;
5136
- if (e.l = i, H = G > H ? G : H, W.push(G), e.sz)
5151
+ if (e.l = i, H = G > H ? G : H, q.push(G), e.sz)
5137
5152
  e.boxWidth = e.sz[0], e.justifyOffset = 0;
5138
5153
  else
5139
5154
  switch (e.boxWidth = H, e.j) {
@@ -5146,18 +5161,18 @@ function requireLottie() {
5146
5161
  default:
5147
5162
  e.justifyOffset = 0;
5148
5163
  }
5149
- e.lineWidths = W;
5150
- var re = r.a, ae, q;
5164
+ e.lineWidths = q;
5165
+ var re = r.a, se, W;
5151
5166
  M = re.length;
5152
5167
  var Q, oe, ne = [];
5153
5168
  for (te = 0; te < M; te += 1) {
5154
- for (ae = re[te], ae.a.sc && (e.strokeColorAnim = !0), ae.a.sw && (e.strokeWidthAnim = !0), (ae.a.fc || ae.a.fh || ae.a.fs || ae.a.fb) && (e.fillColorAnim = !0), oe = 0, Q = ae.s.b, s = 0; s < a; s += 1)
5155
- q = i[s], q.anIndexes[te] = oe, (Q == 1 && q.val !== "" || Q == 2 && q.val !== "" && q.val !== " " || Q == 3 && (q.n || q.val == " " || s == a - 1) || Q == 4 && (q.n || s == a - 1)) && (ae.s.rn === 1 && ne.push(oe), oe += 1);
5169
+ for (se = re[te], se.a.sc && (e.strokeColorAnim = !0), se.a.sw && (e.strokeWidthAnim = !0), (se.a.fc || se.a.fh || se.a.fs || se.a.fb) && (e.fillColorAnim = !0), oe = 0, Q = se.s.b, s = 0; s < a; s += 1)
5170
+ W = i[s], W.anIndexes[te] = oe, (Q == 1 && W.val !== "" || Q == 2 && W.val !== "" && W.val !== " " || Q == 3 && (W.n || W.val == " " || s == a - 1) || Q == 4 && (W.n || s == a - 1)) && (se.s.rn === 1 && ne.push(oe), oe += 1);
5156
5171
  r.a[te].s.totalChars = oe;
5157
- var fe = -1, me;
5158
- if (ae.s.rn === 1)
5172
+ var ce = -1, me;
5173
+ if (se.s.rn === 1)
5159
5174
  for (s = 0; s < a; s += 1)
5160
- q = i[s], fe != q.anIndexes[te] && (fe = q.anIndexes[te], me = ne.splice(Math.floor(Math.random() * ne.length), 1)[0]), q.anIndexes[te] = me;
5175
+ W = i[s], ce != W.anIndexes[te] && (ce = W.anIndexes[te], me = ne.splice(Math.floor(Math.random() * ne.length), 1)[0]), W.anIndexes[te] = me;
5161
5176
  }
5162
5177
  e.yOffset = e.finalLineHeight || e.finalSize * 1.2, e.ls = e.ls || 0, e.ascent = j.ascent * e.finalSize / 100;
5163
5178
  }, TextProperty.prototype.updateDocumentData = function(e, t) {
@@ -5194,24 +5209,24 @@ function requireLottie() {
5194
5209
  this._currentTextLength !== this.elem.textProperty.currentData.l.length && this.getValue();
5195
5210
  var l = 0, h = 0, d = 1, V = 1;
5196
5211
  this.ne.v > 0 ? l = this.ne.v / 100 : h = -this.ne.v / 100, this.xe.v > 0 ? d = 1 - this.xe.v / 100 : V = 1 + this.xe.v / 100;
5197
- var K = BezierFactory.getBezierEasing(l, h, d, V).get, y = 0, W = this.finalS, G = this.finalE, H = this.data.sh;
5212
+ var K = BezierFactory.getBezierEasing(l, h, d, V).get, y = 0, q = this.finalS, G = this.finalE, H = this.data.sh;
5198
5213
  if (H === 2)
5199
- G === W ? y = n >= G ? 1 : 0 : y = e(0, t(0.5 / (G - W) + (n - W) / (G - W), 1)), y = K(y);
5214
+ G === q ? y = n >= G ? 1 : 0 : y = e(0, t(0.5 / (G - q) + (n - q) / (G - q), 1)), y = K(y);
5200
5215
  else if (H === 3)
5201
- G === W ? y = n >= G ? 0 : 1 : y = 1 - e(0, t(0.5 / (G - W) + (n - W) / (G - W), 1)), y = K(y);
5216
+ G === q ? y = n >= G ? 0 : 1 : y = 1 - e(0, t(0.5 / (G - q) + (n - q) / (G - q), 1)), y = K(y);
5202
5217
  else if (H === 4)
5203
- G === W ? y = 0 : (y = e(0, t(0.5 / (G - W) + (n - W) / (G - W), 1)), y < 0.5 ? y *= 2 : y = 1 - 2 * (y - 0.5)), y = K(y);
5218
+ G === q ? y = 0 : (y = e(0, t(0.5 / (G - q) + (n - q) / (G - q), 1)), y < 0.5 ? y *= 2 : y = 1 - 2 * (y - 0.5)), y = K(y);
5204
5219
  else if (H === 5) {
5205
- if (G === W)
5220
+ if (G === q)
5206
5221
  y = 0;
5207
5222
  else {
5208
- var te = G - W;
5209
- n = t(e(0, n + 0.5 - W), G - W);
5223
+ var te = G - q;
5224
+ n = t(e(0, n + 0.5 - q), G - q);
5210
5225
  var M = -te / 2 + n, j = te / 2;
5211
5226
  y = Math.sqrt(1 - M * M / (j * j));
5212
5227
  }
5213
5228
  y = K(y);
5214
- } else H === 6 ? (G === W ? y = 0 : (n = t(e(0, n + 0.5 - W), G - W), y = (1 + Math.cos(Math.PI + Math.PI * 2 * n / (G - W))) / 2), y = K(y)) : (n >= r(W) && (n - W < 0 ? y = e(0, t(t(G, 1) - (W - n), 1)) : y = e(0, t(G - n, 1))), y = K(y));
5229
+ } else H === 6 ? (G === q ? y = 0 : (n = t(e(0, n + 0.5 - q), G - q), y = (1 + Math.cos(Math.PI + Math.PI * 2 * n / (G - q))) / 2), y = K(y)) : (n >= r(q) && (n - q < 0 ? y = e(0, t(t(G, 1) - (q - n), 1)) : y = e(0, t(G - n, 1))), y = K(y));
5215
5230
  if (this.sm.v !== 100) {
5216
5231
  var F = this.sm.v * 0.01;
5217
5232
  F === 0 && (F = 1e-8);
@@ -5280,76 +5295,76 @@ function requireLottie() {
5280
5295
  }, TextAnimatorProperty.prototype.getMeasures = function(e, t) {
5281
5296
  if (this.lettersChangedFlag = t, !(!this._mdf && !this._isFirstFrame && !t && (!this._hasMaskedPath || !this._pathData.m._mdf))) {
5282
5297
  this._isFirstFrame = !1;
5283
- var r = this._moreOptions.alignment.v, i = this._animatorsData, s = this._textData, a = this.mHelper, n = this._renderType, l = this.renderedLetters.length, h, d, V, K, y = e.l, W, G, H, te, M, j, F, Z, J, ee, ie, se, le, pe, de;
5298
+ var r = this._moreOptions.alignment.v, i = this._animatorsData, s = this._textData, a = this.mHelper, n = this._renderType, l = this.renderedLetters.length, h, d, V, K, y = e.l, q, G, H, te, M, j, F, Z, J, ee, ie, ae, le, ue, de;
5284
5299
  if (this._hasMaskedPath) {
5285
5300
  if (de = this._pathData.m, !this._pathData.n || this._pathData._mdf) {
5286
- var ce = de.v;
5287
- this._pathData.r.v && (ce = ce.reverse()), W = {
5301
+ var fe = de.v;
5302
+ this._pathData.r.v && (fe = fe.reverse()), q = {
5288
5303
  tLength: 0,
5289
5304
  segments: []
5290
- }, K = ce._length - 1;
5291
- var ve;
5292
- for (se = 0, V = 0; V < K; V += 1)
5293
- ve = bez.buildBezierData(ce.v[V], ce.v[V + 1], [ce.o[V][0] - ce.v[V][0], ce.o[V][1] - ce.v[V][1]], [ce.i[V + 1][0] - ce.v[V + 1][0], ce.i[V + 1][1] - ce.v[V + 1][1]]), W.tLength += ve.segmentLength, W.segments.push(ve), se += ve.segmentLength;
5294
- V = K, de.v.c && (ve = bez.buildBezierData(ce.v[V], ce.v[0], [ce.o[V][0] - ce.v[V][0], ce.o[V][1] - ce.v[V][1]], [ce.i[0][0] - ce.v[0][0], ce.i[0][1] - ce.v[0][1]]), W.tLength += ve.segmentLength, W.segments.push(ve), se += ve.segmentLength), this._pathData.pi = W;
5305
+ }, K = fe._length - 1;
5306
+ var pe;
5307
+ for (ae = 0, V = 0; V < K; V += 1)
5308
+ pe = bez.buildBezierData(fe.v[V], fe.v[V + 1], [fe.o[V][0] - fe.v[V][0], fe.o[V][1] - fe.v[V][1]], [fe.i[V + 1][0] - fe.v[V + 1][0], fe.i[V + 1][1] - fe.v[V + 1][1]]), q.tLength += pe.segmentLength, q.segments.push(pe), ae += pe.segmentLength;
5309
+ V = K, de.v.c && (pe = bez.buildBezierData(fe.v[V], fe.v[0], [fe.o[V][0] - fe.v[V][0], fe.o[V][1] - fe.v[V][1]], [fe.i[0][0] - fe.v[0][0], fe.i[0][1] - fe.v[0][1]]), q.tLength += pe.segmentLength, q.segments.push(pe), ae += pe.segmentLength), this._pathData.pi = q;
5295
5310
  }
5296
- if (W = this._pathData.pi, G = this._pathData.f.v, F = 0, j = 1, te = 0, M = !0, ee = W.segments, G < 0 && de.v.c)
5297
- for (W.tLength < Math.abs(G) && (G = -Math.abs(G) % W.tLength), F = ee.length - 1, J = ee[F].points, j = J.length - 1; G < 0; )
5311
+ if (q = this._pathData.pi, G = this._pathData.f.v, F = 0, j = 1, te = 0, M = !0, ee = q.segments, G < 0 && de.v.c)
5312
+ for (q.tLength < Math.abs(G) && (G = -Math.abs(G) % q.tLength), F = ee.length - 1, J = ee[F].points, j = J.length - 1; G < 0; )
5298
5313
  G += J[j].partialLength, j -= 1, j < 0 && (F -= 1, J = ee[F].points, j = J.length - 1);
5299
5314
  J = ee[F].points, Z = J[j - 1], H = J[j], ie = H.partialLength;
5300
5315
  }
5301
5316
  K = y.length, h = 0, d = 0;
5302
- var ue = e.finalSize * 1.2 * 0.714, he = !0, re, ae, q, Q, oe;
5317
+ var ve = e.finalSize * 1.2 * 0.714, he = !0, re, se, W, Q, oe;
5303
5318
  Q = i.length;
5304
- var ne, fe = -1, me, ye, xe, be = G, Ce = F, Se = j, Ie = -1, Ee, Pe, we, _e, ge, Me, De, Re, Fe = "", Ve = this.defaultPropsArray, Le;
5319
+ var ne, ce = -1, me, ye, xe, be = G, Ce = F, Se = j, Ie = -1, Ee, Pe, we, _e, ge, Me, je, Re, Fe = "", Le = this.defaultPropsArray, Ve;
5305
5320
  if (e.j === 2 || e.j === 1) {
5306
- var Te = 0, je = 0, Ne = e.j === 2 ? -0.5 : -1, ke = 0, Oe = !0;
5321
+ var Te = 0, De = 0, Ne = e.j === 2 ? -0.5 : -1, Ae = 0, Oe = !0;
5307
5322
  for (V = 0; V < K; V += 1)
5308
5323
  if (y[V].n) {
5309
- for (Te && (Te += je); ke < V; )
5310
- y[ke].animatorJustifyOffset = Te, ke += 1;
5324
+ for (Te && (Te += De); Ae < V; )
5325
+ y[Ae].animatorJustifyOffset = Te, Ae += 1;
5311
5326
  Te = 0, Oe = !0;
5312
5327
  } else {
5313
- for (q = 0; q < Q; q += 1)
5314
- re = i[q].a, re.t.propType && (Oe && e.j === 2 && (je += re.t.v * Ne), ae = i[q].s, ne = ae.getMult(y[V].anIndexes[q], s.a[q].s.totalChars), ne.length ? Te += re.t.v * ne[0] * Ne : Te += re.t.v * ne * Ne);
5328
+ for (W = 0; W < Q; W += 1)
5329
+ re = i[W].a, re.t.propType && (Oe && e.j === 2 && (De += re.t.v * Ne), se = i[W].s, ne = se.getMult(y[V].anIndexes[W], s.a[W].s.totalChars), ne.length ? Te += re.t.v * ne[0] * Ne : Te += re.t.v * ne * Ne);
5315
5330
  Oe = !1;
5316
5331
  }
5317
- for (Te && (Te += je); ke < V; )
5318
- y[ke].animatorJustifyOffset = Te, ke += 1;
5332
+ for (Te && (Te += De); Ae < V; )
5333
+ y[Ae].animatorJustifyOffset = Te, Ae += 1;
5319
5334
  }
5320
5335
  for (V = 0; V < K; V += 1) {
5321
5336
  if (a.reset(), Ee = 1, y[V].n)
5322
- h = 0, d += e.yOffset, d += he ? 1 : 0, G = be, he = !1, this._hasMaskedPath && (F = Ce, j = Se, J = ee[F].points, Z = J[j - 1], H = J[j], ie = H.partialLength, te = 0), Fe = "", Re = "", Me = "", Le = "", Ve = this.defaultPropsArray;
5337
+ h = 0, d += e.yOffset, d += he ? 1 : 0, G = be, he = !1, this._hasMaskedPath && (F = Ce, j = Se, J = ee[F].points, Z = J[j - 1], H = J[j], ie = H.partialLength, te = 0), Fe = "", Re = "", Me = "", Ve = "", Le = this.defaultPropsArray;
5323
5338
  else {
5324
5339
  if (this._hasMaskedPath) {
5325
5340
  if (Ie !== y[V].line) {
5326
5341
  switch (e.j) {
5327
5342
  case 1:
5328
- G += se - e.lineWidths[y[V].line];
5343
+ G += ae - e.lineWidths[y[V].line];
5329
5344
  break;
5330
5345
  case 2:
5331
- G += (se - e.lineWidths[y[V].line]) / 2;
5346
+ G += (ae - e.lineWidths[y[V].line]) / 2;
5332
5347
  break;
5333
5348
  }
5334
5349
  Ie = y[V].line;
5335
5350
  }
5336
- fe !== y[V].ind && (y[fe] && (G += y[fe].extra), G += y[V].an / 2, fe = y[V].ind), G += r[0] * y[V].an * 5e-3;
5337
- var Ae = 0;
5338
- for (q = 0; q < Q; q += 1)
5339
- re = i[q].a, re.p.propType && (ae = i[q].s, ne = ae.getMult(y[V].anIndexes[q], s.a[q].s.totalChars), ne.length ? Ae += re.p.v[0] * ne[0] : Ae += re.p.v[0] * ne), re.a.propType && (ae = i[q].s, ne = ae.getMult(y[V].anIndexes[q], s.a[q].s.totalChars), ne.length ? Ae += re.a.v[0] * ne[0] : Ae += re.a.v[0] * ne);
5340
- for (M = !0, this._pathData.a.v && (G = y[0].an * 0.5 + (se - this._pathData.f.v - y[0].an * 0.5 - y[y.length - 1].an * 0.5) * fe / (K - 1), G += this._pathData.f.v); M; )
5341
- te + ie >= G + Ae || !J ? (le = (G + Ae - te) / H.partialLength, ye = Z.point[0] + (H.point[0] - Z.point[0]) * le, xe = Z.point[1] + (H.point[1] - Z.point[1]) * le, a.translate(-r[0] * y[V].an * 5e-3, -(r[1] * ue) * 0.01), M = !1) : J && (te += H.partialLength, j += 1, j >= J.length && (j = 0, F += 1, ee[F] ? J = ee[F].points : de.v.c ? (j = 0, F = 0, J = ee[F].points) : (te -= H.partialLength, J = null)), J && (Z = H, H = J[j], ie = H.partialLength));
5351
+ ce !== y[V].ind && (y[ce] && (G += y[ce].extra), G += y[V].an / 2, ce = y[V].ind), G += r[0] * y[V].an * 5e-3;
5352
+ var ke = 0;
5353
+ for (W = 0; W < Q; W += 1)
5354
+ re = i[W].a, re.p.propType && (se = i[W].s, ne = se.getMult(y[V].anIndexes[W], s.a[W].s.totalChars), ne.length ? ke += re.p.v[0] * ne[0] : ke += re.p.v[0] * ne), re.a.propType && (se = i[W].s, ne = se.getMult(y[V].anIndexes[W], s.a[W].s.totalChars), ne.length ? ke += re.a.v[0] * ne[0] : ke += re.a.v[0] * ne);
5355
+ for (M = !0, this._pathData.a.v && (G = y[0].an * 0.5 + (ae - this._pathData.f.v - y[0].an * 0.5 - y[y.length - 1].an * 0.5) * ce / (K - 1), G += this._pathData.f.v); M; )
5356
+ te + ie >= G + ke || !J ? (le = (G + ke - te) / H.partialLength, ye = Z.point[0] + (H.point[0] - Z.point[0]) * le, xe = Z.point[1] + (H.point[1] - Z.point[1]) * le, a.translate(-r[0] * y[V].an * 5e-3, -(r[1] * ve) * 0.01), M = !1) : J && (te += H.partialLength, j += 1, j >= J.length && (j = 0, F += 1, ee[F] ? J = ee[F].points : de.v.c ? (j = 0, F = 0, J = ee[F].points) : (te -= H.partialLength, J = null)), J && (Z = H, H = J[j], ie = H.partialLength));
5342
5357
  me = y[V].an / 2 - y[V].add, a.translate(-me, 0, 0);
5343
5358
  } else
5344
- me = y[V].an / 2 - y[V].add, a.translate(-me, 0, 0), a.translate(-r[0] * y[V].an * 5e-3, -r[1] * ue * 0.01, 0);
5345
- for (q = 0; q < Q; q += 1)
5346
- re = i[q].a, re.t.propType && (ae = i[q].s, ne = ae.getMult(y[V].anIndexes[q], s.a[q].s.totalChars), (h !== 0 || e.j !== 0) && (this._hasMaskedPath ? ne.length ? G += re.t.v * ne[0] : G += re.t.v * ne : ne.length ? h += re.t.v * ne[0] : h += re.t.v * ne));
5347
- for (e.strokeWidthAnim && (we = e.sw || 0), e.strokeColorAnim && (e.sc ? Pe = [e.sc[0], e.sc[1], e.sc[2]] : Pe = [0, 0, 0]), e.fillColorAnim && e.fc && (_e = [e.fc[0], e.fc[1], e.fc[2]]), q = 0; q < Q; q += 1)
5348
- re = i[q].a, re.a.propType && (ae = i[q].s, ne = ae.getMult(y[V].anIndexes[q], s.a[q].s.totalChars), ne.length ? a.translate(-re.a.v[0] * ne[0], -re.a.v[1] * ne[1], re.a.v[2] * ne[2]) : a.translate(-re.a.v[0] * ne, -re.a.v[1] * ne, re.a.v[2] * ne));
5349
- for (q = 0; q < Q; q += 1)
5350
- re = i[q].a, re.s.propType && (ae = i[q].s, ne = ae.getMult(y[V].anIndexes[q], s.a[q].s.totalChars), ne.length ? a.scale(1 + (re.s.v[0] - 1) * ne[0], 1 + (re.s.v[1] - 1) * ne[1], 1) : a.scale(1 + (re.s.v[0] - 1) * ne, 1 + (re.s.v[1] - 1) * ne, 1));
5351
- for (q = 0; q < Q; q += 1) {
5352
- if (re = i[q].a, ae = i[q].s, ne = ae.getMult(y[V].anIndexes[q], s.a[q].s.totalChars), re.sk.propType && (ne.length ? a.skewFromAxis(-re.sk.v * ne[0], re.sa.v * ne[1]) : a.skewFromAxis(-re.sk.v * ne, re.sa.v * ne)), re.r.propType && (ne.length ? a.rotateZ(-re.r.v * ne[2]) : a.rotateZ(-re.r.v * ne)), re.ry.propType && (ne.length ? a.rotateY(re.ry.v * ne[1]) : a.rotateY(re.ry.v * ne)), re.rx.propType && (ne.length ? a.rotateX(re.rx.v * ne[0]) : a.rotateX(re.rx.v * ne)), re.o.propType && (ne.length ? Ee += (re.o.v * ne[0] - Ee) * ne[0] : Ee += (re.o.v * ne - Ee) * ne), e.strokeWidthAnim && re.sw.propType && (ne.length ? we += re.sw.v * ne[0] : we += re.sw.v * ne), e.strokeColorAnim && re.sc.propType)
5359
+ me = y[V].an / 2 - y[V].add, a.translate(-me, 0, 0), a.translate(-r[0] * y[V].an * 5e-3, -r[1] * ve * 0.01, 0);
5360
+ for (W = 0; W < Q; W += 1)
5361
+ re = i[W].a, re.t.propType && (se = i[W].s, ne = se.getMult(y[V].anIndexes[W], s.a[W].s.totalChars), (h !== 0 || e.j !== 0) && (this._hasMaskedPath ? ne.length ? G += re.t.v * ne[0] : G += re.t.v * ne : ne.length ? h += re.t.v * ne[0] : h += re.t.v * ne));
5362
+ for (e.strokeWidthAnim && (we = e.sw || 0), e.strokeColorAnim && (e.sc ? Pe = [e.sc[0], e.sc[1], e.sc[2]] : Pe = [0, 0, 0]), e.fillColorAnim && e.fc && (_e = [e.fc[0], e.fc[1], e.fc[2]]), W = 0; W < Q; W += 1)
5363
+ re = i[W].a, re.a.propType && (se = i[W].s, ne = se.getMult(y[V].anIndexes[W], s.a[W].s.totalChars), ne.length ? a.translate(-re.a.v[0] * ne[0], -re.a.v[1] * ne[1], re.a.v[2] * ne[2]) : a.translate(-re.a.v[0] * ne, -re.a.v[1] * ne, re.a.v[2] * ne));
5364
+ for (W = 0; W < Q; W += 1)
5365
+ re = i[W].a, re.s.propType && (se = i[W].s, ne = se.getMult(y[V].anIndexes[W], s.a[W].s.totalChars), ne.length ? a.scale(1 + (re.s.v[0] - 1) * ne[0], 1 + (re.s.v[1] - 1) * ne[1], 1) : a.scale(1 + (re.s.v[0] - 1) * ne, 1 + (re.s.v[1] - 1) * ne, 1));
5366
+ for (W = 0; W < Q; W += 1) {
5367
+ if (re = i[W].a, se = i[W].s, ne = se.getMult(y[V].anIndexes[W], s.a[W].s.totalChars), re.sk.propType && (ne.length ? a.skewFromAxis(-re.sk.v * ne[0], re.sa.v * ne[1]) : a.skewFromAxis(-re.sk.v * ne, re.sa.v * ne)), re.r.propType && (ne.length ? a.rotateZ(-re.r.v * ne[2]) : a.rotateZ(-re.r.v * ne)), re.ry.propType && (ne.length ? a.rotateY(re.ry.v * ne[1]) : a.rotateY(re.ry.v * ne)), re.rx.propType && (ne.length ? a.rotateX(re.rx.v * ne[0]) : a.rotateX(re.rx.v * ne)), re.o.propType && (ne.length ? Ee += (re.o.v * ne[0] - Ee) * ne[0] : Ee += (re.o.v * ne - Ee) * ne), e.strokeWidthAnim && re.sw.propType && (ne.length ? we += re.sw.v * ne[0] : we += re.sw.v * ne), e.strokeColorAnim && re.sc.propType)
5353
5368
  for (ge = 0; ge < 3; ge += 1)
5354
5369
  ne.length ? Pe[ge] += (re.sc.v[ge] - Pe[ge]) * ne[0] : Pe[ge] += (re.sc.v[ge] - Pe[ge]) * ne;
5355
5370
  if (e.fillColorAnim && e.fc) {
@@ -5359,15 +5374,15 @@ function requireLottie() {
5359
5374
  re.fh.propType && (ne.length ? _e = addHueToRGB(_e, re.fh.v * ne[0]) : _e = addHueToRGB(_e, re.fh.v * ne)), re.fs.propType && (ne.length ? _e = addSaturationToRGB(_e, re.fs.v * ne[0]) : _e = addSaturationToRGB(_e, re.fs.v * ne)), re.fb.propType && (ne.length ? _e = addBrightnessToRGB(_e, re.fb.v * ne[0]) : _e = addBrightnessToRGB(_e, re.fb.v * ne));
5360
5375
  }
5361
5376
  }
5362
- for (q = 0; q < Q; q += 1)
5363
- re = i[q].a, re.p.propType && (ae = i[q].s, ne = ae.getMult(y[V].anIndexes[q], s.a[q].s.totalChars), this._hasMaskedPath ? ne.length ? a.translate(0, re.p.v[1] * ne[0], -re.p.v[2] * ne[1]) : a.translate(0, re.p.v[1] * ne, -re.p.v[2] * ne) : ne.length ? a.translate(re.p.v[0] * ne[0], re.p.v[1] * ne[1], -re.p.v[2] * ne[2]) : a.translate(re.p.v[0] * ne, re.p.v[1] * ne, -re.p.v[2] * ne));
5364
- if (e.strokeWidthAnim && (Me = we < 0 ? 0 : we), e.strokeColorAnim && (De = "rgb(" + Math.round(Pe[0] * 255) + "," + Math.round(Pe[1] * 255) + "," + Math.round(Pe[2] * 255) + ")"), e.fillColorAnim && e.fc && (Re = "rgb(" + Math.round(_e[0] * 255) + "," + Math.round(_e[1] * 255) + "," + Math.round(_e[2] * 255) + ")"), this._hasMaskedPath) {
5365
- if (a.translate(0, -e.ls), a.translate(0, r[1] * ue * 0.01 + d, 0), this._pathData.p.v) {
5366
- pe = (H.point[1] - Z.point[1]) / (H.point[0] - Z.point[0]);
5367
- var Be = Math.atan(pe) * 180 / Math.PI;
5377
+ for (W = 0; W < Q; W += 1)
5378
+ re = i[W].a, re.p.propType && (se = i[W].s, ne = se.getMult(y[V].anIndexes[W], s.a[W].s.totalChars), this._hasMaskedPath ? ne.length ? a.translate(0, re.p.v[1] * ne[0], -re.p.v[2] * ne[1]) : a.translate(0, re.p.v[1] * ne, -re.p.v[2] * ne) : ne.length ? a.translate(re.p.v[0] * ne[0], re.p.v[1] * ne[1], -re.p.v[2] * ne[2]) : a.translate(re.p.v[0] * ne, re.p.v[1] * ne, -re.p.v[2] * ne));
5379
+ if (e.strokeWidthAnim && (Me = we < 0 ? 0 : we), e.strokeColorAnim && (je = "rgb(" + Math.round(Pe[0] * 255) + "," + Math.round(Pe[1] * 255) + "," + Math.round(Pe[2] * 255) + ")"), e.fillColorAnim && e.fc && (Re = "rgb(" + Math.round(_e[0] * 255) + "," + Math.round(_e[1] * 255) + "," + Math.round(_e[2] * 255) + ")"), this._hasMaskedPath) {
5380
+ if (a.translate(0, -e.ls), a.translate(0, r[1] * ve * 0.01 + d, 0), this._pathData.p.v) {
5381
+ ue = (H.point[1] - Z.point[1]) / (H.point[0] - Z.point[0]);
5382
+ var Be = Math.atan(ue) * 180 / Math.PI;
5368
5383
  H.point[0] < Z.point[0] && (Be += 180), a.rotate(-Be * Math.PI / 180);
5369
5384
  }
5370
- a.translate(ye, xe, 0), G -= r[0] * y[V].an * 5e-3, y[V + 1] && fe !== y[V + 1].ind && (G += y[V].an / 2, G += e.tr * 1e-3 * e.finalSize);
5385
+ a.translate(ye, xe, 0), G -= r[0] * y[V].an * 5e-3, y[V + 1] && ce !== y[V + 1].ind && (G += y[V].an / 2, G += e.tr * 1e-3 * e.finalSize);
5371
5386
  } else {
5372
5387
  switch (a.translate(h, d, 0), e.ps && a.translate(e.ps[0], e.ps[1] + e.ascent, 0), e.j) {
5373
5388
  case 1:
@@ -5377,11 +5392,11 @@ function requireLottie() {
5377
5392
  a.translate(y[V].animatorJustifyOffset + e.justifyOffset + (e.boxWidth - e.lineWidths[y[V].line]) / 2, 0, 0);
5378
5393
  break;
5379
5394
  }
5380
- a.translate(0, -e.ls), a.translate(me, 0, 0), a.translate(r[0] * y[V].an * 5e-3, r[1] * ue * 0.01, 0), h += y[V].l + e.tr * 1e-3 * e.finalSize;
5395
+ a.translate(0, -e.ls), a.translate(me, 0, 0), a.translate(r[0] * y[V].an * 5e-3, r[1] * ve * 0.01, 0), h += y[V].l + e.tr * 1e-3 * e.finalSize;
5381
5396
  }
5382
- n === "html" ? Fe = a.toCSS() : n === "svg" ? Fe = a.to2dCSS() : Ve = [a.props[0], a.props[1], a.props[2], a.props[3], a.props[4], a.props[5], a.props[6], a.props[7], a.props[8], a.props[9], a.props[10], a.props[11], a.props[12], a.props[13], a.props[14], a.props[15]], Le = Ee;
5397
+ n === "html" ? Fe = a.toCSS() : n === "svg" ? Fe = a.to2dCSS() : Le = [a.props[0], a.props[1], a.props[2], a.props[3], a.props[4], a.props[5], a.props[6], a.props[7], a.props[8], a.props[9], a.props[10], a.props[11], a.props[12], a.props[13], a.props[14], a.props[15]], Ve = Ee;
5383
5398
  }
5384
- l <= V ? (oe = new LetterProps(Le, Me, De, Re, Fe, Ve), this.renderedLetters.push(oe), l += 1, this.lettersChangedFlag = !0) : (oe = this.renderedLetters[V], this.lettersChangedFlag = oe.update(Le, Me, De, Re, Fe, Ve) || this.lettersChangedFlag);
5399
+ l <= V ? (oe = new LetterProps(Ve, Me, je, Re, Fe, Le), this.renderedLetters.push(oe), l += 1, this.lettersChangedFlag = !0) : (oe = this.renderedLetters[V], this.lettersChangedFlag = oe.update(Ve, Me, je, Re, Fe, Le) || this.lettersChangedFlag);
5385
5400
  }
5386
5401
  }
5387
5402
  }, TextAnimatorProperty.prototype.getValue = function() {
@@ -5456,7 +5471,7 @@ function requireLottie() {
5456
5471
  this.layerElement.setAttribute("aria-label", r.t);
5457
5472
  var n = r.l || [], l = !!this.globalData.fontManager.chars;
5458
5473
  t = n.length;
5459
- var h, d = this.mHelper, V = "", K = this.data.singleShape, y = 0, W = 0, G = !0, H = r.tr * 1e-3 * r.finalSize;
5474
+ var h, d = this.mHelper, V = "", K = this.data.singleShape, y = 0, q = 0, G = !0, H = r.tr * 1e-3 * r.finalSize;
5460
5475
  if (K && !l && !r.sz) {
5461
5476
  var te = this.textContainer, M = "start";
5462
5477
  switch (r.j) {
@@ -5472,11 +5487,11 @@ function requireLottie() {
5472
5487
  }
5473
5488
  te.setAttribute("text-anchor", M), te.setAttribute("letter-spacing", H);
5474
5489
  var j = this.buildTextContents(r.finalText);
5475
- for (t = j.length, W = r.ps ? r.ps[1] + r.ascent : 0, e = 0; e < t; e += 1)
5476
- h = this.textSpans[e].span || createNS("tspan"), h.textContent = j[e], h.setAttribute("x", 0), h.setAttribute("y", W), h.style.display = "inherit", te.appendChild(h), this.textSpans[e] || (this.textSpans[e] = {
5490
+ for (t = j.length, q = r.ps ? r.ps[1] + r.ascent : 0, e = 0; e < t; e += 1)
5491
+ h = this.textSpans[e].span || createNS("tspan"), h.textContent = j[e], h.setAttribute("x", 0), h.setAttribute("y", q), h.style.display = "inherit", te.appendChild(h), this.textSpans[e] || (this.textSpans[e] = {
5477
5492
  span: null,
5478
5493
  glyph: null
5479
- }), this.textSpans[e].span = h, W += r.finalLineHeight;
5494
+ }), this.textSpans[e].span = h, q += r.finalLineHeight;
5480
5495
  this.layerElement.appendChild(te);
5481
5496
  } else {
5482
5497
  var F = this.textSpans.length, Z;
@@ -5495,7 +5510,7 @@ function requireLottie() {
5495
5510
  }
5496
5511
  h.style.display = "inherit";
5497
5512
  }
5498
- if (d.reset(), K && (n[e].n && (y = -H, W += r.yOffset, W += G ? 1 : 0, G = !1), this.applyTextPropertiesToMatrix(r, d, n[e].line, y, W), y += n[e].l || 0, y += H), l) {
5513
+ if (d.reset(), K && (n[e].n && (y = -H, q += r.yOffset, q += G ? 1 : 0, G = !1), this.applyTextPropertiesToMatrix(r, d, n[e].line, y, q), y += n[e].l || 0, y += H), l) {
5499
5514
  Z = this.globalData.fontManager.getCharData(r.finalText[e], i.fStyle, this.globalData.fontManager.getFontByName(r.f).fFamily);
5500
5515
  var ee;
5501
5516
  if (Z.t === 1)
@@ -5505,8 +5520,8 @@ function requireLottie() {
5505
5520
  Z.data && Z.data.shapes && (ie = this.buildShapeData(Z.data, r.finalSize)), ee = new SVGShapeElement(ie, this.globalData, this);
5506
5521
  }
5507
5522
  if (this.textSpans[e].glyph) {
5508
- var se = this.textSpans[e].glyph;
5509
- this.textSpans[e].childSpan.removeChild(se.layerElement), se.destroy();
5523
+ var ae = this.textSpans[e].glyph;
5524
+ this.textSpans[e].childSpan.removeChild(ae.layerElement), ae.destroy();
5510
5525
  }
5511
5526
  this.textSpans[e].glyph = ee, ee._debug = !0, ee.prepareFrame(0), ee.renderFrame(), this.textSpans[e].childSpan.appendChild(ee.layerElement), Z.t === 1 && this.textSpans[e].childSpan.setAttribute("transform", "scale(" + r.finalSize / 100 + "," + r.finalSize / 100 + ")");
5512
5527
  } else
@@ -6008,7 +6023,7 @@ function requireLottie() {
6008
6023
  for (t = 0; t < r; t += 1)
6009
6024
  e[t].closed = !0;
6010
6025
  }, CVShapeElement.prototype.searchShapes = function(e, t, r, i, s) {
6011
- var a, n = e.length - 1, l, h, d = [], V = [], K, y, W, G = [].concat(s);
6026
+ var a, n = e.length - 1, l, h, d = [], V = [], K, y, q, G = [].concat(s);
6012
6027
  for (a = n; a >= 0; a -= 1) {
6013
6028
  if (K = this.searchProcessedElement(e[a]), K ? t[a] = r[K - 1] : e[a]._shouldRender = i, e[a].ty === "fl" || e[a].ty === "st" || e[a].ty === "gf" || e[a].ty === "gs")
6014
6029
  K ? t[a].style.closed = !1 : t[a] = this.createStyleElement(e[a], G), d.push(t[a].style);
@@ -6019,7 +6034,7 @@ function requireLottie() {
6019
6034
  for (h = t[a].it.length, l = 0; l < h; l += 1)
6020
6035
  t[a].prevViewData[l] = t[a].it[l];
6021
6036
  this.searchShapes(e[a].it, t[a].it, t[a].prevViewData, i, G);
6022
- } else e[a].ty === "tr" ? (K || (W = this.createTransformElement(e[a]), t[a] = W), G.push(t[a]), this.addTransformToStyleList(t[a])) : e[a].ty === "sh" || e[a].ty === "rc" || e[a].ty === "el" || e[a].ty === "sr" ? K || (t[a] = this.createShapeElement(e[a])) : e[a].ty === "tm" || e[a].ty === "rd" || e[a].ty === "pb" || e[a].ty === "zz" || e[a].ty === "op" ? (K ? (y = t[a], y.closed = !1) : (y = ShapeModifiers.getModifier(e[a].ty), y.init(this, e[a]), t[a] = y, this.shapeModifiers.push(y)), V.push(y)) : e[a].ty === "rp" && (K ? (y = t[a], y.closed = !0) : (y = ShapeModifiers.getModifier(e[a].ty), t[a] = y, y.init(this, e, a, t), this.shapeModifiers.push(y), i = !1), V.push(y));
6037
+ } else e[a].ty === "tr" ? (K || (q = this.createTransformElement(e[a]), t[a] = q), G.push(t[a]), this.addTransformToStyleList(t[a])) : e[a].ty === "sh" || e[a].ty === "rc" || e[a].ty === "el" || e[a].ty === "sr" ? K || (t[a] = this.createShapeElement(e[a])) : e[a].ty === "tm" || e[a].ty === "rd" || e[a].ty === "pb" || e[a].ty === "zz" || e[a].ty === "op" ? (K ? (y = t[a], y.closed = !1) : (y = ShapeModifiers.getModifier(e[a].ty), y.init(this, e[a]), t[a] = y, this.shapeModifiers.push(y)), V.push(y)) : e[a].ty === "rp" && (K ? (y = t[a], y.closed = !0) : (y = ShapeModifiers.getModifier(e[a].ty), t[a] = y, y.init(this, e, a, t), this.shapeModifiers.push(y), i = !1), V.push(y));
6023
6038
  this.addProcessedElement(e[a], a + 1);
6024
6039
  }
6025
6040
  for (this.removeTransformFromStyleList(), this.closeStyles(d), n = V.length, a = 0; a < n; a += 1)
@@ -6091,8 +6106,8 @@ function requireLottie() {
6091
6106
  else {
6092
6107
  var h = Math.sqrt(Math.pow(n[0] - l[0], 2) + Math.pow(n[1] - l[1], 2)), d = Math.atan2(l[1] - n[1], l[0] - n[0]), V = t.h.v;
6093
6108
  V >= 1 ? V = 0.99 : V <= -1 && (V = -0.99);
6094
- var K = h * V, y = Math.cos(d + t.a.v) * K + n[0], W = Math.sin(d + t.a.v) * K + n[1];
6095
- s = a.createRadialGradient(y, W, 0, n[0], n[1], h);
6109
+ var K = h * V, y = Math.cos(d + t.a.v) * K + n[0], q = Math.sin(d + t.a.v) * K + n[1];
6110
+ s = a.createRadialGradient(y, q, 0, n[0], n[1], h);
6096
6111
  }
6097
6112
  var G, H = e.g.p, te = t.g.c, M = 1;
6098
6113
  for (G = 0; G < H; G += 1)
@@ -6123,15 +6138,15 @@ function requireLottie() {
6123
6138
  e.sc && (r = !0, this.values.stroke = this.buildColor(e.sc), this.values.sWidth = e.sw);
6124
6139
  var i = this.globalData.fontManager.getFontByName(e.f), s, a, n = e.l, l = this.mHelper;
6125
6140
  this.stroke = r, this.values.fValue = e.finalSize + "px " + this.globalData.fontManager.getFontByName(e.f).fFamily, a = e.finalText.length;
6126
- var h, d, V, K, y, W, G, H, te, M, j = this.data.singleShape, F = e.tr * 1e-3 * e.finalSize, Z = 0, J = 0, ee = !0, ie = 0;
6141
+ var h, d, V, K, y, q, G, H, te, M, j = this.data.singleShape, F = e.tr * 1e-3 * e.finalSize, Z = 0, J = 0, ee = !0, ie = 0;
6127
6142
  for (s = 0; s < a; s += 1) {
6128
6143
  h = this.globalData.fontManager.getCharData(e.finalText[s], i.fStyle, this.globalData.fontManager.getFontByName(e.f).fFamily), d = h && h.data || {}, l.reset(), j && n[s].n && (Z = -F, J += e.yOffset, J += ee ? 1 : 0, ee = !1), y = d.shapes ? d.shapes[0].it : [], G = y.length, l.scale(e.finalSize / 100, e.finalSize / 100), j && this.applyTextPropertiesToMatrix(e, l, n[s].line, Z, J), te = createSizedArray(G - 1);
6129
- var se = 0;
6130
- for (W = 0; W < G; W += 1)
6131
- if (y[W].ty === "sh") {
6132
- for (K = y[W].ks.k.i.length, H = y[W].ks.k, M = [], V = 1; V < K; V += 1)
6144
+ var ae = 0;
6145
+ for (q = 0; q < G; q += 1)
6146
+ if (y[q].ty === "sh") {
6147
+ for (K = y[q].ks.k.i.length, H = y[q].ks.k, M = [], V = 1; V < K; V += 1)
6133
6148
  V === 1 && M.push(l.applyToX(H.v[0][0], H.v[0][1], 0), l.applyToY(H.v[0][0], H.v[0][1], 0)), M.push(l.applyToX(H.o[V - 1][0], H.o[V - 1][1], 0), l.applyToY(H.o[V - 1][0], H.o[V - 1][1], 0), l.applyToX(H.i[V][0], H.i[V][1], 0), l.applyToY(H.i[V][0], H.i[V][1], 0), l.applyToX(H.v[V][0], H.v[V][1], 0), l.applyToY(H.v[V][0], H.v[V][1], 0));
6134
- M.push(l.applyToX(H.o[V - 1][0], H.o[V - 1][1], 0), l.applyToY(H.o[V - 1][0], H.o[V - 1][1], 0), l.applyToX(H.i[0][0], H.i[0][1], 0), l.applyToY(H.i[0][0], H.i[0][1], 0), l.applyToX(H.v[0][0], H.v[0][1], 0), l.applyToY(H.v[0][0], H.v[0][1], 0)), te[se] = M, se += 1;
6149
+ M.push(l.applyToX(H.o[V - 1][0], H.o[V - 1][1], 0), l.applyToY(H.o[V - 1][0], H.o[V - 1][1], 0), l.applyToX(H.i[0][0], H.i[0][1], 0), l.applyToY(H.i[0][0], H.i[0][1], 0), l.applyToX(H.v[0][0], H.v[0][1], 0), l.applyToY(H.v[0][0], H.v[0][1], 0)), te[ae] = M, ae += 1;
6135
6150
  }
6136
6151
  j && (Z += n[s].l, Z += F), this.textSpans[ie] ? this.textSpans[ie].elem = te : this.textSpans[ie] = {
6137
6152
  elem: te
@@ -6143,18 +6158,18 @@ function requireLottie() {
6143
6158
  e.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);
6144
6159
  var t, r, i, s, a, n, l = this.textAnimator.renderedLetters, h = this.textProperty.currentData.l;
6145
6160
  r = h.length;
6146
- var d, V = null, K = null, y = null, W, G, H = this.globalData.renderer;
6161
+ var d, V = null, K = null, y = null, q, G, H = this.globalData.renderer;
6147
6162
  for (t = 0; t < r; t += 1)
6148
6163
  if (!h[t].n) {
6149
6164
  if (d = l[t], d && (H.save(), H.ctxTransform(d.p), H.ctxOpacity(d.o)), this.fill) {
6150
- for (d && d.fc ? V !== d.fc && (H.ctxFillStyle(d.fc), V = d.fc) : V !== this.values.fill && (V = this.values.fill, H.ctxFillStyle(this.values.fill)), W = this.textSpans[t].elem, s = W.length, this.globalData.canvasContext.beginPath(), i = 0; i < s; i += 1)
6151
- for (G = W[i], n = G.length, this.globalData.canvasContext.moveTo(G[0], G[1]), a = 2; a < n; a += 6)
6165
+ for (d && d.fc ? V !== d.fc && (H.ctxFillStyle(d.fc), V = d.fc) : V !== this.values.fill && (V = this.values.fill, H.ctxFillStyle(this.values.fill)), q = this.textSpans[t].elem, s = q.length, this.globalData.canvasContext.beginPath(), i = 0; i < s; i += 1)
6166
+ for (G = q[i], n = G.length, this.globalData.canvasContext.moveTo(G[0], G[1]), a = 2; a < n; a += 6)
6152
6167
  this.globalData.canvasContext.bezierCurveTo(G[a], G[a + 1], G[a + 2], G[a + 3], G[a + 4], G[a + 5]);
6153
6168
  this.globalData.canvasContext.closePath(), H.ctxFill();
6154
6169
  }
6155
6170
  if (this.stroke) {
6156
- for (d && d.sw ? y !== d.sw && (y = d.sw, H.ctxLineWidth(d.sw)) : y !== this.values.sWidth && (y = this.values.sWidth, H.ctxLineWidth(this.values.sWidth)), d && d.sc ? K !== d.sc && (K = d.sc, H.ctxStrokeStyle(d.sc)) : K !== this.values.stroke && (K = this.values.stroke, H.ctxStrokeStyle(this.values.stroke)), W = this.textSpans[t].elem, s = W.length, this.globalData.canvasContext.beginPath(), i = 0; i < s; i += 1)
6157
- for (G = W[i], n = G.length, this.globalData.canvasContext.moveTo(G[0], G[1]), a = 2; a < n; a += 6)
6171
+ for (d && d.sw ? y !== d.sw && (y = d.sw, H.ctxLineWidth(d.sw)) : y !== this.values.sWidth && (y = this.values.sWidth, H.ctxLineWidth(this.values.sWidth)), d && d.sc ? K !== d.sc && (K = d.sc, H.ctxStrokeStyle(d.sc)) : K !== this.values.stroke && (K = this.values.stroke, H.ctxStrokeStyle(this.values.stroke)), q = this.textSpans[t].elem, s = q.length, this.globalData.canvasContext.beginPath(), i = 0; i < s; i += 1)
6172
+ for (G = q[i], n = G.length, this.globalData.canvasContext.moveTo(G[0], G[1]), a = 2; a < n; a += 6)
6158
6173
  this.globalData.canvasContext.bezierCurveTo(G[a], G[a + 1], G[a + 2], G[a + 3], G[a + 4], G[a + 5]);
6159
6174
  this.globalData.canvasContext.closePath(), H.ctxStroke();
6160
6175
  }
@@ -6555,11 +6570,11 @@ function requireLottie() {
6555
6570
  }
6556
6571
  var n, l, h = e.l;
6557
6572
  l = h.length;
6558
- var d, V, K, y = this.mHelper, W, G = "", H = 0;
6573
+ var d, V, K, y = this.mHelper, q, G = "", H = 0;
6559
6574
  for (n = 0; n < l; n += 1) {
6560
6575
  if (this.globalData.fontManager.chars ? (this.textPaths[H] ? d = this.textPaths[H] : (d = createNS("path"), d.setAttribute("stroke-linecap", lineCapEnum[1]), d.setAttribute("stroke-linejoin", lineJoinEnum[2]), d.setAttribute("stroke-miterlimit", "4")), this.isMasked || (this.textSpans[H] ? (V = this.textSpans[H], K = V.children[0]) : (V = createTag("div"), V.style.lineHeight = 0, K = createNS("svg"), K.appendChild(d), styleDiv(V)))) : this.isMasked ? d = this.textPaths[H] ? this.textPaths[H] : createNS("text") : this.textSpans[H] ? (V = this.textSpans[H], d = this.textPaths[H]) : (V = createTag("span"), styleDiv(V), d = createTag("span"), styleDiv(d), V.appendChild(d)), this.globalData.fontManager.chars) {
6561
6576
  var te = this.globalData.fontManager.getCharData(e.finalText[n], i.fStyle, this.globalData.fontManager.getFontByName(e.f).fFamily), M;
6562
- if (te ? M = te.data : M = null, y.reset(), M && M.shapes && M.shapes.length && (W = M.shapes[0].it, y.scale(e.finalSize / 100, e.finalSize / 100), G = this.createPathShape(y, W), d.setAttribute("d", G)), this.isMasked)
6577
+ if (te ? M = te.data : M = null, y.reset(), M && M.shapes && M.shapes.length && (q = M.shapes[0].it, y.scale(e.finalSize / 100, e.finalSize / 100), G = this.createPathShape(y, q), d.setAttribute("d", G)), this.isMasked)
6563
6578
  this.innerElem.appendChild(d);
6564
6579
  else {
6565
6580
  if (this.innerElem.appendChild(V), M && M.shapes) {
@@ -6656,12 +6671,12 @@ function requireLottie() {
6656
6671
  var V = !this._prevMat.equals(this.mat);
6657
6672
  if ((V || this.pe._mdf) && this.comp.threeDElements) {
6658
6673
  r = this.comp.threeDElements.length;
6659
- var K, y, W;
6674
+ var K, y, q;
6660
6675
  for (t = 0; t < r; t += 1)
6661
6676
  if (K = this.comp.threeDElements[t], K.type === "3d") {
6662
6677
  if (V) {
6663
6678
  var G = this.mat.toCSS();
6664
- W = K.container.style, W.transform = G, W.webkitTransform = G;
6679
+ q = K.container.style, q.transform = G, q.webkitTransform = G;
6665
6680
  }
6666
6681
  this.pe._mdf && (y = K.perspectiveElem.style, y.perspective = this.pe.v + "px", y.webkitPerspective = this.pe.v + "px");
6667
6682
  }
@@ -6877,34 +6892,34 @@ function requireLottie() {
6877
6892
  Z = Z === !0 ? {
6878
6893
  entropy: !0
6879
6894
  } : Z || {};
6880
- var ie = te(H(Z.entropy ? [F, j(e)] : F === null ? M() : F, 3), ee), se = new W(ee), le = function() {
6881
- for (var de = se.g(s), ce = l, ve = 0; de < h; )
6882
- de = (de + ve) * i, ce *= i, ve = se.g(1);
6895
+ var ie = te(H(Z.entropy ? [F, j(e)] : F === null ? M() : F, 3), ee), ae = new q(ee), le = function() {
6896
+ for (var de = ae.g(s), fe = l, pe = 0; de < h; )
6897
+ de = (de + pe) * i, fe *= i, pe = ae.g(1);
6883
6898
  for (; de >= d; )
6884
- de /= 2, ce /= 2, ve >>>= 1;
6885
- return (de + ve) / ce;
6899
+ de /= 2, fe /= 2, pe >>>= 1;
6900
+ return (de + pe) / fe;
6886
6901
  };
6887
6902
  return le.int32 = function() {
6888
- return se.g(4) | 0;
6903
+ return ae.g(4) | 0;
6889
6904
  }, le.quick = function() {
6890
- return se.g(4) / 4294967296;
6891
- }, le.double = le, te(j(se.S), e), (Z.pass || J || function(pe, de, ce, ve) {
6892
- return ve && (ve.S && G(ve, se), pe.state = function() {
6893
- return G(se, {});
6894
- }), ce ? (t[n] = pe, de) : pe;
6905
+ return ae.g(4) / 4294967296;
6906
+ }, le.double = le, te(j(ae.S), e), (Z.pass || J || function(ue, de, fe, pe) {
6907
+ return pe && (pe.S && G(pe, ae), ue.state = function() {
6908
+ return G(ae, {});
6909
+ }), fe ? (t[n] = ue, de) : ue;
6895
6910
  })(le, ie, "global" in Z ? Z.global : this == t, Z.state);
6896
6911
  }
6897
6912
  t["seed" + n] = y;
6898
- function W(F) {
6899
- var Z, J = F.length, ee = this, ie = 0, se = ee.i = ee.j = 0, le = ee.S = [];
6913
+ function q(F) {
6914
+ var Z, J = F.length, ee = this, ie = 0, ae = ee.i = ee.j = 0, le = ee.S = [];
6900
6915
  for (J || (F = [J++]); ie < i; )
6901
6916
  le[ie] = ie++;
6902
6917
  for (ie = 0; ie < i; ie++)
6903
- le[ie] = le[se = V & se + F[ie % J] + (Z = le[ie])], le[se] = Z;
6904
- ee.g = function(pe) {
6905
- for (var de, ce = 0, ve = ee.i, ue = ee.j, he = ee.S; pe--; )
6906
- de = he[ve = V & ve + 1], ce = ce * i + he[V & (he[ve] = he[ue = V & ue + de]) + (he[ue] = de)];
6907
- return ee.i = ve, ee.j = ue, ce;
6918
+ le[ie] = le[ae = V & ae + F[ie % J] + (Z = le[ie])], le[ae] = Z;
6919
+ ee.g = function(ue) {
6920
+ for (var de, fe = 0, pe = ee.i, ve = ee.j, he = ee.S; ue--; )
6921
+ de = he[pe = V & pe + 1], fe = fe * i + he[V & (he[pe] = he[ve = V & ve + de]) + (he[ve] = de)];
6922
+ return ee.i = pe, ee.j = ve, fe;
6908
6923
  };
6909
6924
  }
6910
6925
  function G(F, Z) {
@@ -7505,17 +7520,17 @@ function requireLottie() {
7505
7520
  return function(d) {
7506
7521
  var V;
7507
7522
  function K(H) {
7508
- W.mask = new MaskManagerInterface(H, d);
7523
+ q.mask = new MaskManagerInterface(H, d);
7509
7524
  }
7510
7525
  function y(H) {
7511
- W.effect = H;
7526
+ q.effect = H;
7512
7527
  }
7513
- function W(H) {
7528
+ function q(H) {
7514
7529
  switch (H) {
7515
7530
  case "ADBE Root Vectors Group":
7516
7531
  case "Contents":
7517
7532
  case 2:
7518
- return W.shapeInterface;
7533
+ return q.shapeInterface;
7519
7534
  case 1:
7520
7535
  case 6:
7521
7536
  case "Transform":
@@ -7526,16 +7541,16 @@ function requireLottie() {
7526
7541
  case "ADBE Effect Parade":
7527
7542
  case "effects":
7528
7543
  case "Effects":
7529
- return W.effect;
7544
+ return q.effect;
7530
7545
  case "ADBE Text Properties":
7531
- return W.textInterface;
7546
+ return q.textInterface;
7532
7547
  default:
7533
7548
  return null;
7534
7549
  }
7535
7550
  }
7536
- W.getMatrix = e, W.invertPoint = n, W.applyPoint = a, W.toWorld = r, W.toWorldVec = t, W.fromWorld = s, W.fromWorldVec = i, W.toComp = r, W.fromComp = l, W.sampleImage = h, W.sourceRectAtTime = d.sourceRectAtTime.bind(d), W._elem = d, V = TransformExpressionInterface(d.finalTransform.mProp);
7551
+ q.getMatrix = e, q.invertPoint = n, q.applyPoint = a, q.toWorld = r, q.toWorldVec = t, q.fromWorld = s, q.fromWorldVec = i, q.toComp = r, q.fromComp = l, q.sampleImage = h, q.sourceRectAtTime = d.sourceRectAtTime.bind(d), q._elem = d, V = TransformExpressionInterface(d.finalTransform.mProp);
7537
7552
  var G = getDescriptor(V, "anchorPoint");
7538
- return Object.defineProperties(W, {
7553
+ return Object.defineProperties(q, {
7539
7554
  hasParent: {
7540
7555
  get: function() {
7541
7556
  return d.hierarchy.length;
@@ -7562,7 +7577,7 @@ function requireLottie() {
7562
7577
  return d.isInRange;
7563
7578
  }
7564
7579
  }
7565
- }), W.startTime = d.data.st, W.index = d.data.ind, W.source = d.data.refId, W.height = d.data.ty === 0 ? d.data.h : 100, W.width = d.data.ty === 0 ? d.data.w : 100, W.inPoint = d.data.ip / d.comp.globalData.frameRate, W.outPoint = d.data.op / d.comp.globalData.frameRate, W._name = d.data.nm, W.registerMaskInterface = K, W.registerEffectsInterface = y, W;
7580
+ }), q.startTime = d.data.st, q.index = d.data.ind, q.source = d.data.refId, q.height = d.data.ty === 0 ? d.data.h : 100, q.width = d.data.ty === 0 ? d.data.w : 100, q.inPoint = d.data.ip / d.comp.globalData.frameRate, q.outPoint = d.data.op / d.comp.globalData.frameRate, q._name = d.data.nm, q.registerMaskInterface = K, q.registerEffectsInterface = y, q;
7566
7581
  };
7567
7582
  })(), propertyGroupFactory = /* @__PURE__ */ (function() {
7568
7583
  return function(e, t) {
@@ -7589,9 +7604,9 @@ function requireLottie() {
7589
7604
  var n = [], l = s.data.ef, h, d = s.effectsManager.effectElements.length;
7590
7605
  for (h = 0; h < d; h += 1)
7591
7606
  n.push(r(l[h], s.effectsManager.effectElements[h], a, s));
7592
- var V = s.data.ef || [], K = function(W) {
7607
+ var V = s.data.ef || [], K = function(q) {
7593
7608
  for (h = 0, d = V.length; h < d; ) {
7594
- if (W === V[h].nm || W === V[h].mn || W === V[h].ix)
7609
+ if (q === V[h].nm || q === V[h].mn || q === V[h].ix)
7595
7610
  return n[h];
7596
7611
  h += 1;
7597
7612
  }
@@ -7606,9 +7621,9 @@ function requireLottie() {
7606
7621
  return null;
7607
7622
  }
7608
7623
  function r(s, a, n, l) {
7609
- function h(W) {
7624
+ function h(q) {
7610
7625
  for (var G = s.ef, H = 0, te = G.length; H < te; ) {
7611
- if (W === G[H].nm || W === G[H].mn || W === G[H].ix)
7626
+ if (q === G[H].nm || q === G[H].mn || q === G[H].ix)
7612
7627
  return G[H].ty === 5 ? V[H] : V[H]();
7613
7628
  H += 1;
7614
7629
  }
@@ -7682,7 +7697,7 @@ function requireLottie() {
7682
7697
  function e(G, H, te) {
7683
7698
  var M = [], j, F = G ? G.length : 0;
7684
7699
  for (j = 0; j < F; j += 1)
7685
- G[j].ty === "gr" ? M.push(r(G[j], H[j], te)) : G[j].ty === "fl" ? M.push(i(G[j], H[j], te)) : G[j].ty === "st" ? M.push(n(G[j], H[j], te)) : G[j].ty === "tm" ? M.push(l(G[j], H[j], te)) : G[j].ty === "tr" || (G[j].ty === "el" ? M.push(d(G[j], H[j], te)) : G[j].ty === "sr" ? M.push(V(G[j], H[j], te)) : G[j].ty === "sh" ? M.push(ShapePathInterface(G[j], H[j], te)) : G[j].ty === "rc" ? M.push(K(G[j], H[j], te)) : G[j].ty === "rd" ? M.push(y(G[j], H[j], te)) : G[j].ty === "rp" ? M.push(W(G[j], H[j], te)) : G[j].ty === "gf" ? M.push(s(G[j], H[j], te)) : M.push(a(G[j], H[j])));
7700
+ G[j].ty === "gr" ? M.push(r(G[j], H[j], te)) : G[j].ty === "fl" ? M.push(i(G[j], H[j], te)) : G[j].ty === "st" ? M.push(n(G[j], H[j], te)) : G[j].ty === "tm" ? M.push(l(G[j], H[j], te)) : G[j].ty === "tr" || (G[j].ty === "el" ? M.push(d(G[j], H[j], te)) : G[j].ty === "sr" ? M.push(V(G[j], H[j], te)) : G[j].ty === "sh" ? M.push(ShapePathInterface(G[j], H[j], te)) : G[j].ty === "rc" ? M.push(K(G[j], H[j], te)) : G[j].ty === "rd" ? M.push(y(G[j], H[j], te)) : G[j].ty === "rp" ? M.push(q(G[j], H[j], te)) : G[j].ty === "gf" ? M.push(s(G[j], H[j], te)) : M.push(a(G[j], H[j])));
7686
7701
  return M;
7687
7702
  }
7688
7703
  function t(G, H, te) {
@@ -7774,16 +7789,16 @@ function requireLottie() {
7774
7789
  }
7775
7790
  function n(G, H, te) {
7776
7791
  var M = propertyGroupFactory(ie, te), j = propertyGroupFactory(ee, M);
7777
- function F(se) {
7778
- Object.defineProperty(ee, G.d[se].nm, {
7779
- get: ExpressionPropertyInterface(H.d.dataProps[se].p)
7792
+ function F(ae) {
7793
+ Object.defineProperty(ee, G.d[ae].nm, {
7794
+ get: ExpressionPropertyInterface(H.d.dataProps[ae].p)
7780
7795
  });
7781
7796
  }
7782
7797
  var Z, J = G.d ? G.d.length : 0, ee = {};
7783
7798
  for (Z = 0; Z < J; Z += 1)
7784
7799
  F(Z), H.d.dataProps[Z].p.setGroupProperty(j);
7785
- function ie(se) {
7786
- return se === "Color" || se === "color" ? ie.color : se === "Opacity" || se === "opacity" ? ie.opacity : se === "Stroke Width" || se === "stroke width" ? ie.strokeWidth : null;
7800
+ function ie(ae) {
7801
+ return ae === "Color" || ae === "color" ? ie.color : ae === "Opacity" || ae === "opacity" ? ie.opacity : ae === "Stroke Width" || ae === "stroke width" ? ie.strokeWidth : null;
7787
7802
  }
7788
7803
  return Object.defineProperties(ie, {
7789
7804
  color: {
@@ -7945,7 +7960,7 @@ function requireLottie() {
7945
7960
  }
7946
7961
  }), M.mn = G.mn, M;
7947
7962
  }
7948
- function W(G, H, te) {
7963
+ function q(G, H, te) {
7949
7964
  function M(Z) {
7950
7965
  return G.c.ix === Z || Z === "Copies" ? M.copies : G.o.ix === Z || Z === "Offset" ? M.offset : null;
7951
7966
  }
@@ -8095,7 +8110,7 @@ function requireLottie() {
8095
8110
  };
8096
8111
  })();
8097
8112
  function addPropertyDecorator() {
8098
- function e(y, W, G) {
8113
+ function e(y, q, G) {
8099
8114
  if (!this.k || !this.keyframes)
8100
8115
  return this.pv;
8101
8116
  y = y ? y.toLowerCase() : "";
@@ -8103,32 +8118,32 @@ function requireLottie() {
8103
8118
  if (H <= M)
8104
8119
  return this.pv;
8105
8120
  var j, F;
8106
- G ? (W ? j = Math.abs(M - this.elem.comp.globalData.frameRate * W) : j = Math.max(0, M - this.elem.data.ip), F = M - j) : ((!W || W > te.length - 1) && (W = te.length - 1), F = te[te.length - 1 - W].t, j = M - F);
8121
+ G ? (q ? j = Math.abs(M - this.elem.comp.globalData.frameRate * q) : j = Math.max(0, M - this.elem.data.ip), F = M - j) : ((!q || q > te.length - 1) && (q = te.length - 1), F = te[te.length - 1 - q].t, j = M - F);
8107
8122
  var Z, J, ee;
8108
8123
  if (y === "pingpong") {
8109
8124
  var ie = Math.floor((H - F) / j);
8110
8125
  if (ie % 2 !== 0)
8111
8126
  return this.getValueAtTime((j - (H - F) % j + F) / this.comp.globalData.frameRate, 0);
8112
8127
  } else if (y === "offset") {
8113
- var se = this.getValueAtTime(F / this.comp.globalData.frameRate, 0), le = this.getValueAtTime(M / this.comp.globalData.frameRate, 0), pe = this.getValueAtTime(((H - F) % j + F) / this.comp.globalData.frameRate, 0), de = Math.floor((H - F) / j);
8128
+ var ae = this.getValueAtTime(F / this.comp.globalData.frameRate, 0), le = this.getValueAtTime(M / this.comp.globalData.frameRate, 0), ue = this.getValueAtTime(((H - F) % j + F) / this.comp.globalData.frameRate, 0), de = Math.floor((H - F) / j);
8114
8129
  if (this.pv.length) {
8115
- for (ee = new Array(se.length), J = ee.length, Z = 0; Z < J; Z += 1)
8116
- ee[Z] = (le[Z] - se[Z]) * de + pe[Z];
8130
+ for (ee = new Array(ae.length), J = ee.length, Z = 0; Z < J; Z += 1)
8131
+ ee[Z] = (le[Z] - ae[Z]) * de + ue[Z];
8117
8132
  return ee;
8118
8133
  }
8119
- return (le - se) * de + pe;
8134
+ return (le - ae) * de + ue;
8120
8135
  } else if (y === "continue") {
8121
- var ce = this.getValueAtTime(M / this.comp.globalData.frameRate, 0), ve = this.getValueAtTime((M - 1e-3) / this.comp.globalData.frameRate, 0);
8136
+ var fe = this.getValueAtTime(M / this.comp.globalData.frameRate, 0), pe = this.getValueAtTime((M - 1e-3) / this.comp.globalData.frameRate, 0);
8122
8137
  if (this.pv.length) {
8123
- for (ee = new Array(ce.length), J = ee.length, Z = 0; Z < J; Z += 1)
8124
- ee[Z] = ce[Z] + (ce[Z] - ve[Z]) * ((H - M) / this.comp.globalData.frameRate) / 5e-4;
8138
+ for (ee = new Array(fe.length), J = ee.length, Z = 0; Z < J; Z += 1)
8139
+ ee[Z] = fe[Z] + (fe[Z] - pe[Z]) * ((H - M) / this.comp.globalData.frameRate) / 5e-4;
8125
8140
  return ee;
8126
8141
  }
8127
- return ce + (ce - ve) * ((H - M) / 1e-3);
8142
+ return fe + (fe - pe) * ((H - M) / 1e-3);
8128
8143
  }
8129
8144
  return this.getValueAtTime(((H - F) % j + F) / this.comp.globalData.frameRate, 0);
8130
8145
  }
8131
- function t(y, W, G) {
8146
+ function t(y, q, G) {
8132
8147
  if (!this.k)
8133
8148
  return this.pv;
8134
8149
  y = y ? y.toLowerCase() : "";
@@ -8136,39 +8151,39 @@ function requireLottie() {
8136
8151
  if (H >= M)
8137
8152
  return this.pv;
8138
8153
  var j, F;
8139
- G ? (W ? j = Math.abs(this.elem.comp.globalData.frameRate * W) : j = Math.max(0, this.elem.data.op - M), F = M + j) : ((!W || W > te.length - 1) && (W = te.length - 1), F = te[W].t, j = F - M);
8154
+ G ? (q ? j = Math.abs(this.elem.comp.globalData.frameRate * q) : j = Math.max(0, this.elem.data.op - M), F = M + j) : ((!q || q > te.length - 1) && (q = te.length - 1), F = te[q].t, j = F - M);
8140
8155
  var Z, J, ee;
8141
8156
  if (y === "pingpong") {
8142
8157
  var ie = Math.floor((M - H) / j);
8143
8158
  if (ie % 2 === 0)
8144
8159
  return this.getValueAtTime(((M - H) % j + M) / this.comp.globalData.frameRate, 0);
8145
8160
  } else if (y === "offset") {
8146
- var se = this.getValueAtTime(M / this.comp.globalData.frameRate, 0), le = this.getValueAtTime(F / this.comp.globalData.frameRate, 0), pe = this.getValueAtTime((j - (M - H) % j + M) / this.comp.globalData.frameRate, 0), de = Math.floor((M - H) / j) + 1;
8161
+ var ae = this.getValueAtTime(M / this.comp.globalData.frameRate, 0), le = this.getValueAtTime(F / this.comp.globalData.frameRate, 0), ue = this.getValueAtTime((j - (M - H) % j + M) / this.comp.globalData.frameRate, 0), de = Math.floor((M - H) / j) + 1;
8147
8162
  if (this.pv.length) {
8148
- for (ee = new Array(se.length), J = ee.length, Z = 0; Z < J; Z += 1)
8149
- ee[Z] = pe[Z] - (le[Z] - se[Z]) * de;
8163
+ for (ee = new Array(ae.length), J = ee.length, Z = 0; Z < J; Z += 1)
8164
+ ee[Z] = ue[Z] - (le[Z] - ae[Z]) * de;
8150
8165
  return ee;
8151
8166
  }
8152
- return pe - (le - se) * de;
8167
+ return ue - (le - ae) * de;
8153
8168
  } else if (y === "continue") {
8154
- var ce = this.getValueAtTime(M / this.comp.globalData.frameRate, 0), ve = this.getValueAtTime((M + 1e-3) / this.comp.globalData.frameRate, 0);
8169
+ var fe = this.getValueAtTime(M / this.comp.globalData.frameRate, 0), pe = this.getValueAtTime((M + 1e-3) / this.comp.globalData.frameRate, 0);
8155
8170
  if (this.pv.length) {
8156
- for (ee = new Array(ce.length), J = ee.length, Z = 0; Z < J; Z += 1)
8157
- ee[Z] = ce[Z] + (ce[Z] - ve[Z]) * (M - H) / 1e-3;
8171
+ for (ee = new Array(fe.length), J = ee.length, Z = 0; Z < J; Z += 1)
8172
+ ee[Z] = fe[Z] + (fe[Z] - pe[Z]) * (M - H) / 1e-3;
8158
8173
  return ee;
8159
8174
  }
8160
- return ce + (ce - ve) * (M - H) / 1e-3;
8175
+ return fe + (fe - pe) * (M - H) / 1e-3;
8161
8176
  }
8162
8177
  return this.getValueAtTime((j - ((M - H) % j + M)) / this.comp.globalData.frameRate, 0);
8163
8178
  }
8164
- function r(y, W) {
8179
+ function r(y, q) {
8165
8180
  if (!this.k)
8166
8181
  return this.pv;
8167
- if (y = (y || 0.4) * 0.5, W = Math.floor(W || 5), W <= 1)
8182
+ if (y = (y || 0.4) * 0.5, q = Math.floor(q || 5), q <= 1)
8168
8183
  return this.pv;
8169
- var G = this.comp.renderedFrame / this.comp.globalData.frameRate, H = G - y, te = G + y, M = W > 1 ? (te - H) / (W - 1) : 1, j = 0, F = 0, Z;
8184
+ var G = this.comp.renderedFrame / this.comp.globalData.frameRate, H = G - y, te = G + y, M = q > 1 ? (te - H) / (q - 1) : 1, j = 0, F = 0, Z;
8170
8185
  this.pv.length ? Z = createTypedArray("float32", this.pv.length) : Z = 0;
8171
- for (var J; j < W; ) {
8186
+ for (var J; j < q; ) {
8172
8187
  if (J = this.getValueAtTime(H + j * M), this.pv.length)
8173
8188
  for (F = 0; F < this.pv.length; F += 1)
8174
8189
  Z[F] += J[F];
@@ -8178,66 +8193,66 @@ function requireLottie() {
8178
8193
  }
8179
8194
  if (this.pv.length)
8180
8195
  for (F = 0; F < this.pv.length; F += 1)
8181
- Z[F] /= W;
8196
+ Z[F] /= q;
8182
8197
  else
8183
- Z /= W;
8198
+ Z /= q;
8184
8199
  return Z;
8185
8200
  }
8186
8201
  function i(y) {
8187
8202
  this._transformCachingAtTime || (this._transformCachingAtTime = {
8188
8203
  v: new Matrix()
8189
8204
  });
8190
- var W = this._transformCachingAtTime.v;
8191
- if (W.cloneFromProps(this.pre.props), this.appliedTransformations < 1) {
8205
+ var q = this._transformCachingAtTime.v;
8206
+ if (q.cloneFromProps(this.pre.props), this.appliedTransformations < 1) {
8192
8207
  var G = this.a.getValueAtTime(y);
8193
- W.translate(-G[0] * this.a.mult, -G[1] * this.a.mult, G[2] * this.a.mult);
8208
+ q.translate(-G[0] * this.a.mult, -G[1] * this.a.mult, G[2] * this.a.mult);
8194
8209
  }
8195
8210
  if (this.appliedTransformations < 2) {
8196
8211
  var H = this.s.getValueAtTime(y);
8197
- W.scale(H[0] * this.s.mult, H[1] * this.s.mult, H[2] * this.s.mult);
8212
+ q.scale(H[0] * this.s.mult, H[1] * this.s.mult, H[2] * this.s.mult);
8198
8213
  }
8199
8214
  if (this.sk && this.appliedTransformations < 3) {
8200
8215
  var te = this.sk.getValueAtTime(y), M = this.sa.getValueAtTime(y);
8201
- W.skewFromAxis(-te * this.sk.mult, M * this.sa.mult);
8216
+ q.skewFromAxis(-te * this.sk.mult, M * this.sa.mult);
8202
8217
  }
8203
8218
  if (this.r && this.appliedTransformations < 4) {
8204
8219
  var j = this.r.getValueAtTime(y);
8205
- W.rotate(-j * this.r.mult);
8220
+ q.rotate(-j * this.r.mult);
8206
8221
  } else if (!this.r && this.appliedTransformations < 4) {
8207
8222
  var F = this.rz.getValueAtTime(y), Z = this.ry.getValueAtTime(y), J = this.rx.getValueAtTime(y), ee = this.or.getValueAtTime(y);
8208
- W.rotateZ(-F * this.rz.mult).rotateY(Z * this.ry.mult).rotateX(J * this.rx.mult).rotateZ(-ee[2] * this.or.mult).rotateY(ee[1] * this.or.mult).rotateX(ee[0] * this.or.mult);
8223
+ q.rotateZ(-F * this.rz.mult).rotateY(Z * this.ry.mult).rotateX(J * this.rx.mult).rotateZ(-ee[2] * this.or.mult).rotateY(ee[1] * this.or.mult).rotateX(ee[0] * this.or.mult);
8209
8224
  }
8210
8225
  if (this.data.p && this.data.p.s) {
8211
- var ie = this.px.getValueAtTime(y), se = this.py.getValueAtTime(y);
8226
+ var ie = this.px.getValueAtTime(y), ae = this.py.getValueAtTime(y);
8212
8227
  if (this.data.p.z) {
8213
8228
  var le = this.pz.getValueAtTime(y);
8214
- W.translate(ie * this.px.mult, se * this.py.mult, -le * this.pz.mult);
8229
+ q.translate(ie * this.px.mult, ae * this.py.mult, -le * this.pz.mult);
8215
8230
  } else
8216
- W.translate(ie * this.px.mult, se * this.py.mult, 0);
8231
+ q.translate(ie * this.px.mult, ae * this.py.mult, 0);
8217
8232
  } else {
8218
- var pe = this.p.getValueAtTime(y);
8219
- W.translate(pe[0] * this.p.mult, pe[1] * this.p.mult, -pe[2] * this.p.mult);
8233
+ var ue = this.p.getValueAtTime(y);
8234
+ q.translate(ue[0] * this.p.mult, ue[1] * this.p.mult, -ue[2] * this.p.mult);
8220
8235
  }
8221
- return W;
8236
+ return q;
8222
8237
  }
8223
8238
  function s() {
8224
8239
  return this.v.clone(new Matrix());
8225
8240
  }
8226
8241
  var a = TransformPropertyFactory.getTransformProperty;
8227
- TransformPropertyFactory.getTransformProperty = function(y, W, G) {
8228
- var H = a(y, W, G);
8242
+ TransformPropertyFactory.getTransformProperty = function(y, q, G) {
8243
+ var H = a(y, q, G);
8229
8244
  return H.dynamicProperties.length ? H.getValueAtTime = i.bind(H) : H.getValueAtTime = s.bind(H), H.setGroupProperty = expressionHelpers.setGroupProperty, H;
8230
8245
  };
8231
8246
  var n = PropertyFactory.getProp;
8232
- PropertyFactory.getProp = function(y, W, G, H, te) {
8233
- var M = n(y, W, G, H, te);
8234
- M.kf ? M.getValueAtTime = expressionHelpers.getValueAtTime.bind(M) : M.getValueAtTime = expressionHelpers.getStaticValueAtTime.bind(M), M.setGroupProperty = expressionHelpers.setGroupProperty, M.loopOut = e, M.loopIn = t, M.smooth = r, M.getVelocityAtTime = expressionHelpers.getVelocityAtTime.bind(M), M.getSpeedAtTime = expressionHelpers.getSpeedAtTime.bind(M), M.numKeys = W.a === 1 ? W.k.length : 0, M.propertyIndex = W.ix;
8247
+ PropertyFactory.getProp = function(y, q, G, H, te) {
8248
+ var M = n(y, q, G, H, te);
8249
+ M.kf ? M.getValueAtTime = expressionHelpers.getValueAtTime.bind(M) : M.getValueAtTime = expressionHelpers.getStaticValueAtTime.bind(M), M.setGroupProperty = expressionHelpers.setGroupProperty, M.loopOut = e, M.loopIn = t, M.smooth = r, M.getVelocityAtTime = expressionHelpers.getVelocityAtTime.bind(M), M.getSpeedAtTime = expressionHelpers.getSpeedAtTime.bind(M), M.numKeys = q.a === 1 ? q.k.length : 0, M.propertyIndex = q.ix;
8235
8250
  var j = 0;
8236
- return G !== 0 && (j = createTypedArray("float32", W.a === 1 ? W.k[0].s.length : W.k.length)), M._cachingAtTime = {
8251
+ return G !== 0 && (j = createTypedArray("float32", q.a === 1 ? q.k[0].s.length : q.k.length)), M._cachingAtTime = {
8237
8252
  lastFrame: initialDefaultFrame,
8238
8253
  lastIndex: 0,
8239
8254
  value: j
8240
- }, expressionHelpers.searchExpressions(y, W, M), M.k && te.addDynamicProperty(M), M;
8255
+ }, expressionHelpers.searchExpressions(y, q, M), M.k && te.addDynamicProperty(M), M;
8241
8256
  };
8242
8257
  function l(y) {
8243
8258
  return this._cachingAtTime || (this._cachingAtTime = {
@@ -8250,34 +8265,34 @@ function requireLottie() {
8250
8265
  function V() {
8251
8266
  }
8252
8267
  V.prototype = {
8253
- vertices: function(W, G) {
8268
+ vertices: function(q, G) {
8254
8269
  this.k && this.getValue();
8255
8270
  var H = this.v;
8256
8271
  G !== void 0 && (H = this.getValueAtTime(G, 0));
8257
- var te, M = H._length, j = H[W], F = H.v, Z = createSizedArray(M);
8272
+ var te, M = H._length, j = H[q], F = H.v, Z = createSizedArray(M);
8258
8273
  for (te = 0; te < M; te += 1)
8259
- W === "i" || W === "o" ? Z[te] = [j[te][0] - F[te][0], j[te][1] - F[te][1]] : Z[te] = [j[te][0], j[te][1]];
8274
+ q === "i" || q === "o" ? Z[te] = [j[te][0] - F[te][0], j[te][1] - F[te][1]] : Z[te] = [j[te][0], j[te][1]];
8260
8275
  return Z;
8261
8276
  },
8262
- points: function(W) {
8263
- return this.vertices("v", W);
8277
+ points: function(q) {
8278
+ return this.vertices("v", q);
8264
8279
  },
8265
- inTangents: function(W) {
8266
- return this.vertices("i", W);
8280
+ inTangents: function(q) {
8281
+ return this.vertices("i", q);
8267
8282
  },
8268
- outTangents: function(W) {
8269
- return this.vertices("o", W);
8283
+ outTangents: function(q) {
8284
+ return this.vertices("o", q);
8270
8285
  },
8271
8286
  isClosed: function() {
8272
8287
  return this.v.c;
8273
8288
  },
8274
- pointOnPath: function(W, G) {
8289
+ pointOnPath: function(q, G) {
8275
8290
  var H = this.v;
8276
8291
  G !== void 0 && (H = this.getValueAtTime(G, 0)), this._segmentsLength || (this._segmentsLength = bez.getSegmentsLength(H));
8277
- for (var te = this._segmentsLength, M = te.lengths, j = te.totalLength * W, F = 0, Z = M.length, J = 0, ee; F < Z; ) {
8292
+ for (var te = this._segmentsLength, M = te.lengths, j = te.totalLength * q, F = 0, Z = M.length, J = 0, ee; F < Z; ) {
8278
8293
  if (J + M[F].addedLength > j) {
8279
- var ie = F, se = H.c && F === Z - 1 ? 0 : F + 1, le = (j - J) / M[F].addedLength;
8280
- ee = bez.getPointInSegment(H.v[ie], H.v[se], H.o[ie], H.i[se], le, M[F]);
8294
+ var ie = F, ae = H.c && F === Z - 1 ? 0 : F + 1, le = (j - J) / M[F].addedLength;
8295
+ ee = bez.getPointInSegment(H.v[ie], H.v[ae], H.o[ie], H.i[ae], le, M[F]);
8281
8296
  break;
8282
8297
  } else
8283
8298
  J += M[F].addedLength;
@@ -8285,27 +8300,27 @@ function requireLottie() {
8285
8300
  }
8286
8301
  return ee || (ee = H.c ? [H.v[0][0], H.v[0][1]] : [H.v[H._length - 1][0], H.v[H._length - 1][1]]), ee;
8287
8302
  },
8288
- vectorOnPath: function(W, G, H) {
8289
- W == 1 ? W = this.v.c : W == 0 && (W = 0.999);
8290
- var te = this.pointOnPath(W, G), M = this.pointOnPath(W + 1e-3, G), j = M[0] - te[0], F = M[1] - te[1], Z = Math.sqrt(Math.pow(j, 2) + Math.pow(F, 2));
8303
+ vectorOnPath: function(q, G, H) {
8304
+ q == 1 ? q = this.v.c : q == 0 && (q = 0.999);
8305
+ var te = this.pointOnPath(q, G), M = this.pointOnPath(q + 1e-3, G), j = M[0] - te[0], F = M[1] - te[1], Z = Math.sqrt(Math.pow(j, 2) + Math.pow(F, 2));
8291
8306
  if (Z === 0)
8292
8307
  return [0, 0];
8293
8308
  var J = H === "tangent" ? [j / Z, F / Z] : [-F / Z, j / Z];
8294
8309
  return J;
8295
8310
  },
8296
- tangentOnPath: function(W, G) {
8297
- return this.vectorOnPath(W, G, "tangent");
8311
+ tangentOnPath: function(q, G) {
8312
+ return this.vectorOnPath(q, G, "tangent");
8298
8313
  },
8299
- normalOnPath: function(W, G) {
8300
- return this.vectorOnPath(W, G, "normal");
8314
+ normalOnPath: function(q, G) {
8315
+ return this.vectorOnPath(q, G, "normal");
8301
8316
  },
8302
8317
  setGroupProperty: expressionHelpers.setGroupProperty,
8303
8318
  getValueAtTime: expressionHelpers.getStaticValueAtTime
8304
8319
  }, extendPrototype([V], h), extendPrototype([V], d), d.prototype.getValueAtTime = l, d.prototype.initiateExpression = ExpressionManager.initiateExpression;
8305
8320
  var K = ShapePropertyFactory.getShapeProp;
8306
- ShapePropertyFactory.getShapeProp = function(y, W, G, H, te) {
8307
- var M = K(y, W, G, H, te);
8308
- return M.propertyIndex = W.ix, M.lock = !1, G === 3 ? expressionHelpers.searchExpressions(y, W.pt, M) : G === 4 && expressionHelpers.searchExpressions(y, W.ks, M), M.k && y.addDynamicProperty(M), M;
8321
+ ShapePropertyFactory.getShapeProp = function(y, q, G, H, te) {
8322
+ var M = K(y, q, G, H, te);
8323
+ return M.propertyIndex = q.ix, M.lock = !1, G === 3 ? expressionHelpers.searchExpressions(y, q.pt, M) : G === 4 && expressionHelpers.searchExpressions(y, q.ks, M), M.k && y.addDynamicProperty(M), M;
8309
8324
  };
8310
8325
  }
8311
8326
  function initialize$1() {
@@ -8409,8 +8424,8 @@ function requireLottie() {
8409
8424
  s.setAttribute("stroke-dasharray", a);
8410
8425
  }
8411
8426
  if ((e || this.filterManager.effectElements[4].p._mdf) && this.pathMasker.setAttribute("stroke-width", this.filterManager.effectElements[4].p.v * 2), (e || 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) && (e || this.filterManager.effectElements[3].p._mdf)) {
8412
- var W = this.filterManager.effectElements[3].p.v;
8413
- this.pathMasker.setAttribute("stroke", "rgb(" + bmFloor(W[0] * 255) + "," + bmFloor(W[1] * 255) + "," + bmFloor(W[2] * 255) + ")");
8427
+ var q = this.filterManager.effectElements[3].p.v;
8428
+ this.pathMasker.setAttribute("stroke", "rgb(" + bmFloor(q[0] * 255) + "," + bmFloor(q[1] * 255) + "," + bmFloor(q[2] * 255) + ")");
8414
8429
  }
8415
8430
  };
8416
8431
  function SVGTritoneFilter(e, t, r, i) {
@@ -8443,8 +8458,8 @@ function requireLottie() {
8443
8458
  }, SVGProLevelsFilter.prototype.getTableValue = function(e, t, r, i, s) {
8444
8459
  for (var a = 0, n = 256, l, h = Math.min(e, t), d = Math.max(e, t), V = Array.call(null, {
8445
8460
  length: n
8446
- }), K, y = 0, W = s - i, G = t - e; a <= 256; )
8447
- l = a / 256, l <= h ? K = G < 0 ? s : i : l >= d ? K = G < 0 ? i : s : K = i + W * Math.pow((l - e) / G, 1 / r), V[y] = K, y += 1, a += 256 / (n - 1);
8461
+ }), K, y = 0, q = s - i, G = t - e; a <= 256; )
8462
+ l = a / 256, l <= h ? K = G < 0 ? s : i : l >= d ? K = G < 0 ? i : s : K = i + q * Math.pow((l - e) / G, 1 / r), V[y] = K, y += 1, a += 256 / (n - 1);
8448
8463
  return V.join(" ");
8449
8464
  }, SVGProLevelsFilter.prototype.renderFrame = function(e) {
8450
8465
  if (e || this.filterManager._mdf) {
@@ -8656,46 +8671,46 @@ function _unsupportedIterableToArray(e, t) {
8656
8671
  }
8657
8672
  }
8658
8673
  var _excluded$1 = ["animationData", "loop", "autoplay", "initialSegment", "onComplete", "onLoopComplete", "onEnterFrame", "onSegmentStart", "onConfigReady", "onDataReady", "onDataFailed", "onLoadedImages", "onDOMLoaded", "onDestroy", "lottieRef", "renderer", "name", "assetsPath", "rendererSettings"], useLottie = function e(t, r) {
8659
- var i = t.animationData, s = t.loop, a = t.autoplay, n = t.initialSegment, l = t.onComplete, h = t.onLoopComplete, d = t.onEnterFrame, V = t.onSegmentStart, K = t.onConfigReady, y = t.onDataReady, W = t.onDataFailed, G = t.onLoadedImages, H = t.onDOMLoaded, te = t.onDestroy;
8674
+ var i = t.animationData, s = t.loop, a = t.autoplay, n = t.initialSegment, l = t.onComplete, h = t.onLoopComplete, d = t.onEnterFrame, V = t.onSegmentStart, K = t.onConfigReady, y = t.onDataReady, q = t.onDataFailed, G = t.onLoadedImages, H = t.onDOMLoaded, te = t.onDestroy;
8660
8675
  t.lottieRef, t.renderer, t.name, t.assetsPath, t.rendererSettings;
8661
- var M = _objectWithoutProperties(t, _excluded$1), j = useState(!1), F = _slicedToArray(j, 2), Z = F[0], J = F[1], ee = useRef(), ie = useRef(null), se = function() {
8662
- var fe;
8663
- (fe = ee.current) === null || fe === void 0 || fe.play();
8676
+ var M = _objectWithoutProperties(t, _excluded$1), j = useState(!1), F = _slicedToArray(j, 2), Z = F[0], J = F[1], ee = useRef(), ie = useRef(null), ae = function() {
8677
+ var ce;
8678
+ (ce = ee.current) === null || ce === void 0 || ce.play();
8664
8679
  }, le = function() {
8665
- var fe;
8666
- (fe = ee.current) === null || fe === void 0 || fe.stop();
8667
- }, pe = function() {
8668
- var fe;
8669
- (fe = ee.current) === null || fe === void 0 || fe.pause();
8670
- }, de = function(fe) {
8680
+ var ce;
8681
+ (ce = ee.current) === null || ce === void 0 || ce.stop();
8682
+ }, ue = function() {
8683
+ var ce;
8684
+ (ce = ee.current) === null || ce === void 0 || ce.pause();
8685
+ }, de = function(ce) {
8671
8686
  var me;
8672
- (me = ee.current) === null || me === void 0 || me.setSpeed(fe);
8673
- }, ce = function(fe, me) {
8687
+ (me = ee.current) === null || me === void 0 || me.setSpeed(ce);
8688
+ }, fe = function(ce, me) {
8674
8689
  var ye;
8675
- (ye = ee.current) === null || ye === void 0 || ye.goToAndPlay(fe, me);
8676
- }, ve = function(fe, me) {
8690
+ (ye = ee.current) === null || ye === void 0 || ye.goToAndPlay(ce, me);
8691
+ }, pe = function(ce, me) {
8677
8692
  var ye;
8678
- (ye = ee.current) === null || ye === void 0 || ye.goToAndStop(fe, me);
8679
- }, ue = function(fe) {
8693
+ (ye = ee.current) === null || ye === void 0 || ye.goToAndStop(ce, me);
8694
+ }, ve = function(ce) {
8680
8695
  var me;
8681
- (me = ee.current) === null || me === void 0 || me.setDirection(fe);
8682
- }, he = function(fe, me) {
8696
+ (me = ee.current) === null || me === void 0 || me.setDirection(ce);
8697
+ }, he = function(ce, me) {
8683
8698
  var ye;
8684
- (ye = ee.current) === null || ye === void 0 || ye.playSegments(fe, me);
8685
- }, re = function(fe) {
8699
+ (ye = ee.current) === null || ye === void 0 || ye.playSegments(ce, me);
8700
+ }, re = function(ce) {
8686
8701
  var me;
8687
- (me = ee.current) === null || me === void 0 || me.setSubframe(fe);
8688
- }, ae = function(fe) {
8702
+ (me = ee.current) === null || me === void 0 || me.setSubframe(ce);
8703
+ }, se = function(ce) {
8689
8704
  var me;
8690
- return (me = ee.current) === null || me === void 0 ? void 0 : me.getDuration(fe);
8691
- }, q = function() {
8692
- var fe;
8693
- (fe = ee.current) === null || fe === void 0 || fe.destroy(), ee.current = void 0;
8705
+ return (me = ee.current) === null || me === void 0 ? void 0 : me.getDuration(ce);
8706
+ }, W = function() {
8707
+ var ce;
8708
+ (ce = ee.current) === null || ce === void 0 || ce.destroy(), ee.current = void 0;
8694
8709
  }, Q = function() {
8695
- var fe = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, me;
8710
+ var ce = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, me;
8696
8711
  if (ie.current) {
8697
8712
  (me = ee.current) === null || me === void 0 || me.destroy();
8698
- var ye = _objectSpread2(_objectSpread2(_objectSpread2({}, t), fe), {}, {
8713
+ var ye = _objectSpread2(_objectSpread2(_objectSpread2({}, t), ce), {}, {
8699
8714
  container: ie.current
8700
8715
  });
8701
8716
  return ee.current = lottie.loadAnimation(ye), J(!!ee.current), function() {
@@ -8740,7 +8755,7 @@ var _excluded$1 = ["animationData", "loop", "autoplay", "initialSegment", "onCom
8740
8755
  handler: y
8741
8756
  }, {
8742
8757
  name: "data_failed",
8743
- handler: W
8758
+ handler: q
8744
8759
  }, {
8745
8760
  name: "loaded_images",
8746
8761
  handler: G
@@ -8750,11 +8765,11 @@ var _excluded$1 = ["animationData", "loop", "autoplay", "initialSegment", "onCom
8750
8765
  }, {
8751
8766
  name: "destroy",
8752
8767
  handler: te
8753
- }], fe = ne.filter(function(ye) {
8768
+ }], ce = ne.filter(function(ye) {
8754
8769
  return ye.handler != null;
8755
8770
  });
8756
- if (fe.length) {
8757
- var me = fe.map(
8771
+ if (ce.length) {
8772
+ var me = ce.map(
8758
8773
  /**
8759
8774
  * Handle the process of adding an event listener
8760
8775
  * @param {Listener} listener
@@ -8774,24 +8789,24 @@ var _excluded$1 = ["animationData", "loop", "autoplay", "initialSegment", "onCom
8774
8789
  });
8775
8790
  };
8776
8791
  }
8777
- }, [l, h, d, V, K, y, W, G, H, te]);
8792
+ }, [l, h, d, V, K, y, q, G, H, te]);
8778
8793
  var oe = /* @__PURE__ */ React__default.createElement("div", _objectSpread2({
8779
8794
  style: r,
8780
8795
  ref: ie
8781
8796
  }, M));
8782
8797
  return {
8783
8798
  View: oe,
8784
- play: se,
8799
+ play: ae,
8785
8800
  stop: le,
8786
- pause: pe,
8801
+ pause: ue,
8787
8802
  setSpeed: de,
8788
- goToAndStop: ve,
8789
- goToAndPlay: ce,
8790
- setDirection: ue,
8803
+ goToAndStop: pe,
8804
+ goToAndPlay: fe,
8805
+ setDirection: ve,
8791
8806
  playSegments: he,
8792
8807
  setSubframe: re,
8793
- getDuration: ae,
8794
- destroy: q,
8808
+ getDuration: se,
8809
+ destroy: W,
8795
8810
  animationContainerRef: ie,
8796
8811
  animationLoaded: Z,
8797
8812
  animationItem: ee.current
@@ -8816,13 +8831,13 @@ var useInitInteractivity = function e(t) {
8816
8831
  i.stop();
8817
8832
  var l = function() {
8818
8833
  var V = null, K = function() {
8819
- var W = getContainerVisibility(n), G = a.find(function(te) {
8834
+ var q = getContainerVisibility(n), G = a.find(function(te) {
8820
8835
  var M = te.visibility;
8821
- return M && W >= M[0] && W <= M[1];
8836
+ return M && q >= M[0] && q <= M[1];
8822
8837
  });
8823
8838
  if (G) {
8824
8839
  if (G.type === "seek" && G.visibility && G.frames.length === 2) {
8825
- var H = G.frames[0] + Math.ceil((W - G.visibility[0]) / (G.visibility[1] - G.visibility[0]) * G.frames[1]);
8840
+ var H = G.frames[0] + Math.ceil((q - G.visibility[0]) / (G.visibility[1] - G.visibility[0]) * G.frames[1]);
8826
8841
  i.goToAndStop(H - i.firstFrame - 1, !0);
8827
8842
  }
8828
8843
  G.type === "loop" && (V === null || V !== G.frames || i.isPaused) && (i.playSegments(G.frames, !0), V = G.frames), G.type === "play" && i.isPaused && (i.resetSegments(!0), i.play()), G.type === "stop" && i.goToAndStop(G.frames[0] - i.firstFrame - 1, !0);
@@ -8875,13 +8890,13 @@ var useInitInteractivity = function e(t) {
8875
8890
  wrapperRef: l
8876
8891
  }), n;
8877
8892
  }, _excluded = ["style", "interactivity"], Lottie = function e(t) {
8878
- var r, i, s, a = t.style, n = t.interactivity, l = _objectWithoutProperties(t, _excluded), h = useLottie(l, a), d = h.View, V = h.play, K = h.stop, y = h.pause, W = h.setSpeed, G = h.goToAndStop, H = h.goToAndPlay, te = h.setDirection, M = h.playSegments, j = h.setSubframe, F = h.getDuration, Z = h.destroy, J = h.animationContainerRef, ee = h.animationLoaded, ie = h.animationItem;
8893
+ var r, i, s, a = t.style, n = t.interactivity, l = _objectWithoutProperties(t, _excluded), h = useLottie(l, a), d = h.View, V = h.play, K = h.stop, y = h.pause, q = h.setSpeed, G = h.goToAndStop, H = h.goToAndPlay, te = h.setDirection, M = h.playSegments, j = h.setSubframe, F = h.getDuration, Z = h.destroy, J = h.animationContainerRef, ee = h.animationLoaded, ie = h.animationItem;
8879
8894
  return useEffect(function() {
8880
8895
  t.lottieRef && (t.lottieRef.current = {
8881
8896
  play: V,
8882
8897
  stop: K,
8883
8898
  pause: y,
8884
- setSpeed: W,
8899
+ setSpeed: q,
8885
8900
  goToAndPlay: H,
8886
8901
  goToAndStop: G,
8887
8902
  setDirection: te,
@@ -8899,7 +8914,7 @@ var useInitInteractivity = function e(t) {
8899
8914
  play: V,
8900
8915
  stop: K,
8901
8916
  pause: y,
8902
- setSpeed: W,
8917
+ setSpeed: q,
8903
8918
  goToAndStop: G,
8904
8919
  goToAndPlay: H,
8905
8920
  setDirection: te,
@@ -8972,8 +8987,8 @@ const Toggle = ({
8972
8987
  className: n,
8973
8988
  ariaLabel: l
8974
8989
  }) => {
8975
- const h = e !== void 0, [d, V] = useState(t), K = h ? e : d, y = (W) => {
8976
- h || V(W), r?.(W);
8990
+ const h = e !== void 0, [d, V] = useState(t), K = h ? e : d, y = (q) => {
8991
+ h || V(q), r?.(q);
8977
8992
  };
8978
8993
  return /* @__PURE__ */ jsxs(
8979
8994
  "label",
@@ -8991,7 +9006,7 @@ const Toggle = ({
8991
9006
  checked: K,
8992
9007
  disabled: s,
8993
9008
  "aria-label": l,
8994
- onChange: (W) => y(W.target.checked)
9009
+ onChange: (q) => y(q.target.checked)
8995
9010
  }
8996
9011
  ),
8997
9012
  /* @__PURE__ */ jsx("span", { className: "oniratec-toggle__track", children: /* @__PURE__ */ jsx("span", { className: "oniratec-toggle__thumb" }) }),
@@ -9034,18 +9049,18 @@ function DataTable({
9034
9049
  errorContent: K,
9035
9050
  isLoading: y = !1
9036
9051
  }) {
9037
- const [W, G] = useState(s), H = i !== void 0 ? i : W, te = normalizeSortState$1(H), M = useMemo(() => new Map(e.map((J) => [J.key, J])), [e]), j = useMemo(() => {
9052
+ const [q, G] = useState(s), H = i !== void 0 ? i : q, te = normalizeSortState$1(H), M = useMemo(() => new Map(e.map((J) => [J.key, J])), [e]), j = useMemo(() => {
9038
9053
  if (h || !r || te.length === 0) return t;
9039
9054
  const J = [...t];
9040
9055
  return J.sort((ee, ie) => {
9041
- for (const se of te) {
9042
- const le = M.get(se.columnId);
9056
+ for (const ae of te) {
9057
+ const le = M.get(ae.columnId);
9043
9058
  if (!le) continue;
9044
- const de = (le.sortFn ?? ((ce, ve) => {
9045
- const ue = le.sortValue?.(ce) ?? ce[le.key], he = le.sortValue?.(ve) ?? ve[le.key];
9046
- return compareValues(ue, he);
9059
+ const de = (le.sortFn ?? ((fe, pe) => {
9060
+ const ve = le.sortValue?.(fe) ?? fe[le.key], he = le.sortValue?.(pe) ?? pe[le.key];
9061
+ return compareValues(ve, he);
9047
9062
  }))(ee, ie);
9048
- if (de !== 0) return se.direction === "asc" ? de : -de;
9063
+ if (de !== 0) return ae.direction === "asc" ? de : -de;
9049
9064
  }
9050
9065
  return 0;
9051
9066
  }), J;
@@ -9053,26 +9068,26 @@ function DataTable({
9053
9068
  i === void 0 && G(J), a?.(J);
9054
9069
  }, Z = (J, ee) => {
9055
9070
  if (!(r && (J.sortable ?? !!(J.sortFn || J.sortValue)))) return;
9056
- const se = normalizeSortState$1(H), le = se.find((de) => de.columnId === J.key), pe = le?.direction === "asc" ? "desc" : le?.direction === "desc" ? null : "asc";
9071
+ const ae = normalizeSortState$1(H), le = ae.find((de) => de.columnId === J.key), ue = le?.direction === "asc" ? "desc" : le?.direction === "desc" ? null : "asc";
9057
9072
  if (l === "multi" && ee) {
9058
- const de = se.filter((ce) => ce.columnId !== J.key);
9059
- pe && de.push({ columnId: J.key, direction: pe }), F(de.length ? de : null);
9073
+ const de = ae.filter((fe) => fe.columnId !== J.key);
9074
+ ue && de.push({ columnId: J.key, direction: ue }), F(de.length ? de : null);
9060
9075
  return;
9061
9076
  }
9062
- if (!pe) {
9077
+ if (!ue) {
9063
9078
  F(null);
9064
9079
  return;
9065
9080
  }
9066
- F({ columnId: J.key, direction: pe });
9081
+ F({ columnId: J.key, direction: ue });
9067
9082
  };
9068
9083
  return /* @__PURE__ */ jsx("div", { className: "overflow-hidden rounded-xl border border-[color:var(--oniratec-border-primary)] bg-[color:var(--oniratec-fill-primary)]", children: /* @__PURE__ */ jsxs("table", { className: "w-full border-collapse text-sm", children: [
9069
9084
  /* @__PURE__ */ jsx("thead", { className: "bg-[color:color-mix(in srgb, var(--oniratec-fill-primary) 95%, var(--oniratec-border-primary))]", children: /* @__PURE__ */ jsx("tr", { className: "border-b border-[color:var(--oniratec-border-primary)]", children: e.map((J) => {
9070
- const ee = r && (J.sortable ?? !!(J.sortFn || J.sortValue)), se = te.find((pe) => pe.columnId === J.key)?.direction;
9085
+ const ee = r && (J.sortable ?? !!(J.sortFn || J.sortValue)), ae = te.find((ue) => ue.columnId === J.key)?.direction;
9071
9086
  return /* @__PURE__ */ jsx(
9072
9087
  "th",
9073
9088
  {
9074
9089
  scope: "col",
9075
- "aria-sort": ee ? se === "asc" ? "ascending" : se === "desc" ? "descending" : "none" : void 0,
9090
+ "aria-sort": ee ? ae === "asc" ? "ascending" : ae === "desc" ? "descending" : "none" : void 0,
9076
9091
  className: cn(
9077
9092
  "px-4 py-3 text-left text-xs font-semibold uppercase tracking-wide text-[color:var(--oniratec-label-secondary)]",
9078
9093
  J.className,
@@ -9082,7 +9097,7 @@ function DataTable({
9082
9097
  "button",
9083
9098
  {
9084
9099
  type: "button",
9085
- onClick: (pe) => Z(J, pe.shiftKey),
9100
+ onClick: (ue) => Z(J, ue.shiftKey),
9086
9101
  className: cn(
9087
9102
  "group inline-flex w-full items-center gap-2 rounded-md px-1 py-1 text-left transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[color:var(--oniratec-focus)] focus-visible:ring-offset-2 focus-visible:ring-offset-[color:var(--oniratec-fill-primary)]",
9088
9103
  "hover:bg-[color:color-mix(in srgb, var(--oniratec-brand) 12%, transparent)]",
@@ -9095,15 +9110,15 @@ function DataTable({
9095
9110
  {
9096
9111
  className: cn(
9097
9112
  "flex h-4 w-4 items-center justify-center transition-opacity",
9098
- se && "text-[color:var(--oniratec-brand)]",
9099
- !se && n === "muted" && "text-[color:var(--oniratec-label-secondary)] opacity-60",
9100
- !se && n === "placeholder" && "opacity-0"
9113
+ ae && "text-[color:var(--oniratec-brand)]",
9114
+ !ae && n === "muted" && "text-[color:var(--oniratec-label-secondary)] opacity-60",
9115
+ !ae && n === "placeholder" && "opacity-0"
9101
9116
  ),
9102
9117
  "aria-hidden": "true",
9103
9118
  children: [
9104
- se === "asc" && /* @__PURE__ */ jsx(ChevronUp, { className: "h-4 w-4" }),
9105
- se === "desc" && /* @__PURE__ */ jsx(ChevronDown, { className: "h-4 w-4" }),
9106
- !se && n !== "hidden" && /* @__PURE__ */ jsx(ChevronsUpDown, { className: "h-4 w-4" })
9119
+ ae === "asc" && /* @__PURE__ */ jsx(ChevronUp, { className: "h-4 w-4" }),
9120
+ ae === "desc" && /* @__PURE__ */ jsx(ChevronDown, { className: "h-4 w-4" }),
9121
+ !ae && n !== "hidden" && /* @__PURE__ */ jsx(ChevronsUpDown, { className: "h-4 w-4" })
9107
9122
  ]
9108
9123
  }
9109
9124
  )
@@ -9205,30 +9220,30 @@ function AsyncSelect({
9205
9220
  getOptionLabel: V,
9206
9221
  emptyLabel: K = "Sin resultados",
9207
9222
  loadingLabel: y = "Buscando...",
9208
- emptyActionLabel: W,
9223
+ emptyActionLabel: q,
9209
9224
  onEmptyActionClick: G,
9210
9225
  contentClassName: H,
9211
9226
  triggerClassName: te
9212
9227
  }) {
9213
- const [M, j] = React.useState(!1), [F, Z] = React.useState(""), [J, ee] = React.useState(!1), [ie, se] = React.useState([]), [le, pe] = React.useState(""), de = useDebouncedValue(F, l), ce = de.trim().length >= n, ve = React.useRef(null);
9228
+ const [M, j] = React.useState(!1), [F, Z] = React.useState(""), [J, ee] = React.useState(!1), [ie, ae] = React.useState([]), [le, ue] = React.useState(""), de = useDebouncedValue(F, l), fe = de.trim().length >= n, pe = React.useRef(null);
9214
9229
  React.useEffect(() => {
9215
9230
  const he = (re) => {
9216
- ve.current && (ve.current.contains(re.target) || j(!1));
9231
+ pe.current && (pe.current.contains(re.target) || j(!1));
9217
9232
  };
9218
9233
  return document.addEventListener("mousedown", he), () => document.removeEventListener("mousedown", he);
9219
9234
  }, []), React.useEffect(() => {
9220
9235
  let he = !0;
9221
9236
  return (async () => {
9222
9237
  if (M) {
9223
- if (!ce) {
9224
- se([]);
9238
+ if (!fe) {
9239
+ ae([]);
9225
9240
  return;
9226
9241
  }
9227
9242
  ee(!0);
9228
9243
  try {
9229
- const ae = await h(de.trim());
9244
+ const se = await h(de.trim());
9230
9245
  if (!he) return;
9231
- se(ae ?? []);
9246
+ ae(se ?? []);
9232
9247
  } finally {
9233
9248
  he && ee(!1);
9234
9249
  }
@@ -9236,16 +9251,16 @@ function AsyncSelect({
9236
9251
  })(), () => {
9237
9252
  he = !1;
9238
9253
  };
9239
- }, [M, de, ce, h]), React.useEffect(() => {
9254
+ }, [M, de, fe, h]), React.useEffect(() => {
9240
9255
  if (!e) {
9241
- pe("");
9256
+ ue("");
9242
9257
  return;
9243
9258
  }
9244
9259
  const he = ie.find((re) => d(re) === e);
9245
- he && pe(V(he));
9260
+ he && ue(V(he));
9246
9261
  }, [e, ie, d, V]);
9247
- const ue = le || r;
9248
- return /* @__PURE__ */ jsxs("div", { ref: ve, className: "relative w-full", children: [
9262
+ const ve = le || r;
9263
+ return /* @__PURE__ */ jsxs("div", { ref: pe, className: "relative w-full", children: [
9249
9264
  /* @__PURE__ */ jsxs(
9250
9265
  "button",
9251
9266
  {
@@ -9266,7 +9281,7 @@ function AsyncSelect({
9266
9281
  "oniratec-async-select__value",
9267
9282
  !le && "oniratec-async-select__value--placeholder"
9268
9283
  ),
9269
- children: ue
9284
+ children: ve
9270
9285
  }
9271
9286
  ),
9272
9287
  /* @__PURE__ */ jsx(ChevronDown, { className: cn("oniratec-async-select__chevron", M && "rotate-180") })
@@ -9288,40 +9303,40 @@ function AsyncSelect({
9288
9303
  J && /* @__PURE__ */ jsx(Loader2, { className: "oniratec-async-select__loader" })
9289
9304
  ] }),
9290
9305
  /* @__PURE__ */ jsxs("div", { className: "oniratec-async-select__viewport", children: [
9291
- !ce && /* @__PURE__ */ jsxs("div", { className: "oniratec-async-select__hint", children: [
9306
+ !fe && /* @__PURE__ */ jsxs("div", { className: "oniratec-async-select__hint", children: [
9292
9307
  "Escribe al menos ",
9293
9308
  n,
9294
9309
  " caracteres"
9295
9310
  ] }),
9296
- ce && J && /* @__PURE__ */ jsx("div", { className: "oniratec-async-select__hint", children: y }),
9297
- ce && !J && ie.length === 0 && /* @__PURE__ */ jsxs("div", { className: "oniratec-async-select__empty", children: [
9311
+ fe && J && /* @__PURE__ */ jsx("div", { className: "oniratec-async-select__hint", children: y }),
9312
+ fe && !J && ie.length === 0 && /* @__PURE__ */ jsxs("div", { className: "oniratec-async-select__empty", children: [
9298
9313
  /* @__PURE__ */ jsx("span", { children: K }),
9299
- W && G && /* @__PURE__ */ jsx(
9314
+ q && G && /* @__PURE__ */ jsx(
9300
9315
  "button",
9301
9316
  {
9302
9317
  type: "button",
9303
9318
  className: "oniratec-async-select__empty-action",
9304
9319
  onClick: G,
9305
- children: W
9320
+ children: q
9306
9321
  }
9307
9322
  )
9308
9323
  ] }),
9309
9324
  ie.length > 0 && /* @__PURE__ */ jsx("ul", { className: "oniratec-async-select__list", children: ie.map((he) => {
9310
- const re = d(he), ae = V(he), q = re === e;
9325
+ const re = d(he), se = V(he), W = re === e;
9311
9326
  return /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs(
9312
9327
  "button",
9313
9328
  {
9314
9329
  type: "button",
9315
9330
  className: cn(
9316
9331
  "oniratec-async-select__item",
9317
- q && "oniratec-async-select__item--selected"
9332
+ W && "oniratec-async-select__item--selected"
9318
9333
  ),
9319
9334
  onClick: () => {
9320
- t(re), pe(ae), j(!1), Z("");
9335
+ t(re), ue(se), j(!1), Z("");
9321
9336
  },
9322
9337
  children: [
9323
- /* @__PURE__ */ jsx("span", { children: ae }),
9324
- q && /* @__PURE__ */ jsx("span", { className: "oniratec-async-select__indicator", children: /* @__PURE__ */ jsx(Check, { className: "h-4 w-4" }) })
9338
+ /* @__PURE__ */ jsx("span", { children: se }),
9339
+ W && /* @__PURE__ */ jsx("span", { className: "oniratec-async-select__indicator", children: /* @__PURE__ */ jsx(Check, { className: "h-4 w-4" }) })
9325
9340
  ]
9326
9341
  }
9327
9342
  ) }, re);
@@ -9341,8 +9356,8 @@ function FiltersPanel({
9341
9356
  layout: l = "inline",
9342
9357
  actions: h
9343
9358
  }) {
9344
- const d = (y, W) => {
9345
- r({ ...t, [y]: W });
9359
+ const d = (y, q) => {
9360
+ r({ ...t, [y]: q });
9346
9361
  }, V = a && !!i, K = l === "stacked" ? "grid gap-4" : "grid gap-4 sm:grid-cols-2 lg:grid-cols-3";
9347
9362
  return /* @__PURE__ */ jsxs("section", { className: cn("rounded-xl border border-[color:var(--oniratec-border-primary)] bg-[color:var(--oniratec-fill-primary)] p-4 shadow-[var(--oniratec-shadow-card-sm)]", n), children: [
9348
9363
  /* @__PURE__ */ jsx("div", { className: K, children: e.map((y) => /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-2", children: [
@@ -9355,7 +9370,7 @@ function FiltersPanel({
9355
9370
  {
9356
9371
  placeholder: y.placeholder,
9357
9372
  value: t[y.id] ?? "",
9358
- onChange: (W) => d(y.id, W.target.value),
9373
+ onChange: (q) => d(y.id, q.target.value),
9359
9374
  disabled: y.disabled
9360
9375
  }
9361
9376
  ),
@@ -9363,11 +9378,11 @@ function FiltersPanel({
9363
9378
  Select,
9364
9379
  {
9365
9380
  value: t[y.id] ?? "",
9366
- onValueChange: (W) => d(y.id, W),
9381
+ onValueChange: (q) => d(y.id, q),
9367
9382
  disabled: y.disabled,
9368
9383
  children: [
9369
9384
  /* @__PURE__ */ jsx(SelectTrigger, { children: /* @__PURE__ */ jsx(SelectValue, { placeholder: y.placeholder ?? "Seleccionar" }) }),
9370
- /* @__PURE__ */ jsx(SelectContent, { children: y.options.map((W) => /* @__PURE__ */ jsx(SelectItem, { value: W.value, children: W.label }, W.value)) })
9385
+ /* @__PURE__ */ jsx(SelectContent, { children: y.options.map((q) => /* @__PURE__ */ jsx(SelectItem, { value: q.value, children: q.label }, q.value)) })
9371
9386
  ]
9372
9387
  }
9373
9388
  ),
@@ -9375,7 +9390,7 @@ function FiltersPanel({
9375
9390
  AsyncSelect,
9376
9391
  {
9377
9392
  value: t[y.id] ?? "",
9378
- onValueChange: (W) => d(y.id, W),
9393
+ onValueChange: (q) => d(y.id, q),
9379
9394
  placeholder: y.placeholder,
9380
9395
  searchPlaceholder: y.searchPlaceholder,
9381
9396
  minChars: y.minChars,
@@ -9394,7 +9409,7 @@ function FiltersPanel({
9394
9409
  Toggle,
9395
9410
  {
9396
9411
  checked: t[y.id] ?? !1,
9397
- onChange: (W) => d(y.id, W),
9412
+ onChange: (q) => d(y.id, q),
9398
9413
  disabled: y.disabled,
9399
9414
  ariaLabel: y.label,
9400
9415
  label: y.description
@@ -9420,11 +9435,11 @@ function FiltersModal({
9420
9435
  closeLabel: d = "Cerrar",
9421
9436
  className: V
9422
9437
  }) {
9423
- const K = useId(), y = t ? `${K}-description` : void 0, W = s !== void 0, [G, H] = useState(a), te = W ? s : G, M = useCallback(
9438
+ const K = useId(), y = t ? `${K}-description` : void 0, q = s !== void 0, [G, H] = useState(a), te = q ? s : G, M = useCallback(
9424
9439
  (j) => {
9425
- W || H(j), n?.(j);
9440
+ q || H(j), n?.(j);
9426
9441
  },
9427
- [W, n]
9442
+ [q, n]
9428
9443
  );
9429
9444
  return useEffect(() => {
9430
9445
  if (!te) return;
@@ -9516,310 +9531,16 @@ function Breadcrumbs({
9516
9531
  ] }, `${a.label}-${n}`);
9517
9532
  }) }) });
9518
9533
  }
9519
- const brand = {
9520
- light: "#148103",
9521
- dark: "#0f6a02"
9522
- }, fill = {
9523
- primary: {
9524
- light: "#fefefe",
9525
- dark: "#0f172a"
9526
- },
9527
- secondary: {
9528
- light: "#0f172a",
9529
- dark: "#e0e0e0"
9530
- },
9531
- disabled: {
9532
- light: "#e0e0e0",
9533
- dark: "#394258"
9534
- }
9535
- }, label = {
9536
- primary: {
9537
- light: "#0f172a",
9538
- dark: "#fefefe"
9539
- },
9540
- secondary: {
9541
- light: "#384258",
9542
- dark: "#f2f2f2"
9543
- },
9544
- disabled: {
9545
- light: "#bdbdbd",
9546
- dark: "#bdbdbd"
9547
- }
9548
- }, border = {
9549
- primary: {
9550
- light: "#e0e0e0",
9551
- dark: "#394258"
9552
- },
9553
- secondary: {
9554
- light: "#0f172a",
9555
- dark: "#e0e0e0"
9556
- },
9557
- disabled: {
9558
- light: "#ececec",
9559
- dark: "#394258"
9560
- }
9561
- }, functional = {
9562
- focus: {
9563
- light: "#1982fc",
9564
- dark: "#1982fc"
9565
- },
9566
- error: {
9567
- light: "#d13a3a",
9568
- dark: "#d13a3a"
9569
- }
9570
- }, shadows = {
9571
- card: {
9572
- sm: "0px 0.5px 12px -5px rgba(30,41,59,0.20)",
9573
- md: "0px 1px 25px -10px rgba(30,41,59,0.30)",
9574
- lg: "0px 2px 51px -19px rgba(30,41,59,0.40)",
9575
- xl: "0px 20px 25px -5px rgba(0,0,0,0.10), 0px 10px 10px -5px rgba(0,0,0,0.04)"
9576
- }
9577
- };
9578
- function createTheme(e) {
9579
- return {
9580
- mode: e,
9581
- colors: {
9582
- brand: brand[e],
9583
- fill: {
9584
- primary: fill.primary[e],
9585
- secondary: fill.secondary[e],
9586
- disabled: fill.disabled[e]
9587
- },
9588
- label: {
9589
- primary: label.primary[e],
9590
- secondary: label.secondary[e],
9591
- disabled: label.disabled[e]
9592
- },
9593
- border: {
9594
- primary: border.primary[e],
9595
- secondary: border.secondary[e],
9596
- disabled: border.disabled[e]
9597
- },
9598
- focus: functional.focus[e],
9599
- error: functional.error[e]
9600
- },
9601
- shadows: {
9602
- card: {
9603
- sm: shadows.card.sm,
9604
- md: shadows.card.md,
9605
- lg: shadows.card.lg,
9606
- xl: shadows.card.xl
9607
- }
9608
- }
9609
- };
9610
- }
9611
- const lightTheme = createTheme("light"), darkTheme = createTheme("dark"), defaultTheme = lightTheme;
9612
- function themeToCssVars(e) {
9613
- return {
9614
- "--onira-brand": e.colors.brand,
9615
- "--oniratec-brand": e.colors.brand,
9616
- "--oniratec-fill-primary": e.colors.fill.primary,
9617
- "--oniratec-fill-secondary": e.colors.fill.secondary,
9618
- "--oniratec-fill-disabled": e.colors.fill.disabled,
9619
- "--oniratec-label-primary": e.colors.label.primary,
9620
- "--oniratec-label-secondary": e.colors.label.secondary,
9621
- "--oniratec-label-disabled": e.colors.label.disabled,
9622
- "--oniratec-border-primary": e.colors.border.primary,
9623
- "--oniratec-border-secondary": e.colors.border.secondary,
9624
- "--oniratec-border-disabled": e.colors.border.disabled,
9625
- "--oniratec-focus": e.colors.focus,
9626
- "--oniratec-error": e.colors.error,
9627
- "--oniratec-shadow-card-sm": e.shadows.card.sm,
9628
- "--oniratec-shadow-card-md": e.shadows.card.md,
9629
- "--oniratec-shadow-card-lg": e.shadows.card.lg,
9630
- "--oniratec-shadow-card-xl": e.shadows.card.xl
9631
- };
9632
- }
9633
- const ThemeContext = createContext(null);
9634
- function ThemeProvider({ mode: e = "light", children: t, customTheme: r }) {
9635
- const i = useMemo(() => {
9636
- const a = e === "dark" ? darkTheme : defaultTheme;
9637
- return r ? {
9638
- ...a,
9639
- ...r,
9640
- colors: {
9641
- ...a.colors,
9642
- ...r.colors,
9643
- fill: { ...a.colors.fill, ...r.colors?.fill },
9644
- label: { ...a.colors.label, ...r.colors?.label },
9645
- border: { ...a.colors.border, ...r.colors?.border }
9646
- },
9647
- shadows: {
9648
- ...a.shadows,
9649
- ...r.shadows
9650
- }
9651
- } : a;
9652
- }, [e, r]);
9653
- useEffect(() => {
9654
- const a = document.documentElement, n = themeToCssVars(i);
9655
- for (const [l, h] of Object.entries(n))
9656
- a.style.setProperty(l, h);
9657
- a.classList.toggle("dark", i.mode === "dark");
9658
- }, [i]);
9659
- const s = useMemo(
9660
- () => ({
9661
- theme: i,
9662
- setMode: () => {
9663
- }
9664
- }),
9665
- [i]
9666
- );
9667
- return /* @__PURE__ */ jsx(ThemeContext.Provider, { value: s, children: t });
9668
- }
9669
- function useTheme() {
9670
- const e = useContext(ThemeContext);
9671
- if (!e)
9672
- throw new Error("useTheme must be used within ThemeProvider");
9673
- return e;
9534
+ function ThemeProvider({
9535
+ mode: e = "light",
9536
+ theme: t = "onira",
9537
+ children: r
9538
+ }) {
9539
+ return useEffect(() => {
9540
+ const i = document.documentElement;
9541
+ i.dataset.mode = e, i.dataset.theme = t;
9542
+ }, [e, t]), r;
9674
9543
  }
9675
- const themePresets = {
9676
- onira: {
9677
- label: "Onira",
9678
- light: {},
9679
- dark: {}
9680
- },
9681
- mint: {
9682
- label: "Mint",
9683
- light: {
9684
- colors: {
9685
- brand: "#22c55e",
9686
- focus: "#16a34a",
9687
- error: "#dc2626",
9688
- fill: {
9689
- primary: "#f6fdf8",
9690
- secondary: "#064e3b",
9691
- disabled: "#d8f3e3"
9692
- },
9693
- label: {
9694
- primary: "#0f172a",
9695
- secondary: "#334155",
9696
- disabled: "#94a3b8"
9697
- },
9698
- border: {
9699
- primary: "#c9ead7",
9700
- secondary: "#065f46",
9701
- disabled: "#e2e8f0"
9702
- }
9703
- }
9704
- },
9705
- dark: {
9706
- colors: {
9707
- brand: "#34d399",
9708
- focus: "#22c55e",
9709
- error: "#f87171",
9710
- fill: {
9711
- primary: "#0f1f17",
9712
- secondary: "#ecfdf5",
9713
- disabled: "#1f2933"
9714
- },
9715
- label: {
9716
- primary: "#e2e8f0",
9717
- secondary: "#94a3b8",
9718
- disabled: "#64748b"
9719
- },
9720
- border: {
9721
- primary: "#1f4031",
9722
- secondary: "#34d399",
9723
- disabled: "#2b3a32"
9724
- }
9725
- }
9726
- }
9727
- },
9728
- forest: {
9729
- label: "Forest",
9730
- light: {
9731
- colors: {
9732
- brand: "#166534",
9733
- focus: "#15803d",
9734
- error: "#dc2626",
9735
- fill: {
9736
- primary: "#f7fbf7",
9737
- secondary: "#052e16",
9738
- disabled: "#d7e5d9"
9739
- },
9740
- label: {
9741
- primary: "#0f172a",
9742
- secondary: "#475569",
9743
- disabled: "#94a3b8"
9744
- },
9745
- border: {
9746
- primary: "#cbded0",
9747
- secondary: "#14532d",
9748
- disabled: "#e2e8f0"
9749
- }
9750
- }
9751
- },
9752
- dark: {
9753
- colors: {
9754
- brand: "#4ade80",
9755
- focus: "#22c55e",
9756
- error: "#f87171",
9757
- fill: {
9758
- primary: "#0d1b12",
9759
- secondary: "#f0fdf4",
9760
- disabled: "#1f2a24"
9761
- },
9762
- label: {
9763
- primary: "#e2e8f0",
9764
- secondary: "#a1a1aa",
9765
- disabled: "#6b7280"
9766
- },
9767
- border: {
9768
- primary: "#1f382a",
9769
- secondary: "#4ade80",
9770
- disabled: "#2c3b33"
9771
- }
9772
- }
9773
- }
9774
- },
9775
- ocean: {
9776
- label: "Ocean",
9777
- light: {
9778
- colors: {
9779
- brand: "#0ea5e9",
9780
- focus: "#0284c7",
9781
- error: "#dc2626",
9782
- fill: {
9783
- primary: "#f5fbff",
9784
- secondary: "#0f172a",
9785
- disabled: "#dbeafe"
9786
- },
9787
- label: {
9788
- primary: "#0f172a",
9789
- secondary: "#475569",
9790
- disabled: "#94a3b8"
9791
- },
9792
- border: {
9793
- primary: "#c7e3f6",
9794
- secondary: "#0f172a",
9795
- disabled: "#e2e8f0"
9796
- }
9797
- }
9798
- },
9799
- dark: {
9800
- colors: {
9801
- brand: "#38bdf8",
9802
- focus: "#0ea5e9",
9803
- error: "#f87171",
9804
- fill: {
9805
- primary: "#0b1220",
9806
- secondary: "#e0f2fe",
9807
- disabled: "#1f2b3a"
9808
- },
9809
- label: {
9810
- primary: "#e2e8f0",
9811
- secondary: "#94a3b8",
9812
- disabled: "#64748b"
9813
- },
9814
- border: {
9815
- primary: "#1f2f45",
9816
- secondary: "#38bdf8",
9817
- disabled: "#2b3646"
9818
- }
9819
- }
9820
- }
9821
- }
9822
- };
9823
9544
  var util;
9824
9545
  (function(e) {
9825
9546
  e.assertEqual = (s) => {
@@ -12568,7 +12289,7 @@ function deepEqual(e, t, r = /* @__PURE__ */ new WeakSet()) {
12568
12289
  function useWatch(e) {
12569
12290
  const t = useFormContext(), { control: r = t.control, name: i, defaultValue: s, disabled: a, exact: n, compute: l } = e || {}, h = React__default.useRef(s), d = React__default.useRef(l), V = React__default.useRef(void 0), K = React__default.useRef(r), y = React__default.useRef(i);
12570
12291
  d.current = l;
12571
- const [W, G] = React__default.useState(() => {
12292
+ const [q, G] = React__default.useState(() => {
12572
12293
  const Z = r._getWatch(i, h.current);
12573
12294
  return d.current ? d.current(Z) : Z;
12574
12295
  }), H = React__default.useCallback((Z) => {
@@ -12600,7 +12321,7 @@ function useWatch(e) {
12600
12321
  const Z = !M && !deepEqual(j, i);
12601
12322
  return M || Z ? H() : null;
12602
12323
  }, [a, M, i, j, H]);
12603
- return F !== null ? F : W;
12324
+ return F !== null ? F : q;
12604
12325
  }
12605
12326
  function useController(e) {
12606
12327
  const t = useFormContext(), { name: r, disabled: i, control: s = t.control, shouldUnregister: a, defaultValue: n, exact: l = !0 } = e, h = isNameInFieldArray(s._names.array, r), d = React__default.useMemo(() => get(s._formValues, r, get(s._defaultValues, r, n)), [s, r, n]), V = useWatch({
@@ -12612,7 +12333,7 @@ function useController(e) {
12612
12333
  control: s,
12613
12334
  name: r,
12614
12335
  exact: l
12615
- }), y = React__default.useRef(e), W = React__default.useRef(void 0), G = React__default.useRef(s.register(r, {
12336
+ }), y = React__default.useRef(e), q = React__default.useRef(void 0), G = React__default.useRef(s.register(r, {
12616
12337
  ...e.rules,
12617
12338
  value: V,
12618
12339
  ...isBoolean(e.disabled) ? { disabled: e.disabled } : {}
@@ -12668,20 +12389,20 @@ function useController(e) {
12668
12389
  ref: j
12669
12390
  }), [r, i, K.disabled, te, M, j, V]);
12670
12391
  return React__default.useEffect(() => {
12671
- const Z = s._options.shouldUnregister || a, J = W.current;
12392
+ const Z = s._options.shouldUnregister || a, J = q.current;
12672
12393
  J && J !== r && !h && s.unregister(J), s.register(r, {
12673
12394
  ...y.current.rules,
12674
12395
  ...isBoolean(y.current.disabled) ? { disabled: y.current.disabled } : {}
12675
12396
  });
12676
- const ee = (ie, se) => {
12397
+ const ee = (ie, ae) => {
12677
12398
  const le = get(s._fields, ie);
12678
- le && le._f && (le._f.mount = se);
12399
+ le && le._f && (le._f.mount = ae);
12679
12400
  };
12680
12401
  if (ee(r, !0), Z) {
12681
12402
  const ie = cloneObject(get(s._options.defaultValues, r, y.current.defaultValue));
12682
12403
  set(s._defaultValues, r, ie), isUndefined(get(s._formValues, r)) && set(s._formValues, r, ie);
12683
12404
  }
12684
- return !h && s.register(r), W.current = r, () => {
12405
+ return !h && s.register(r), q.current = r, () => {
12685
12406
  (h ? Z && !s._state.action : Z) ? s.unregister(r) : ee(r, !1);
12686
12407
  };
12687
12408
  }, [r, s, h, a]), React__default.useEffect(() => {
@@ -12927,13 +12648,13 @@ function FormFactoryRenderer({
12927
12648
  /* @__PURE__ */ jsx("div", { className: "space-y-4", children: l.fields.map((d, V) => {
12928
12649
  const K = flattenRow(d).filter((G) => !G.hidden?.(n));
12929
12650
  if (!K.length) return null;
12930
- const y = K.reduce((G, H) => G + (H.colSpan ?? 1), 0), W = y > 1 ? cn(
12651
+ const y = K.reduce((G, H) => G + (H.colSpan ?? 1), 0), q = y > 1 ? cn(
12931
12652
  "grid gap-4",
12932
12653
  y === 2 && "grid-cols-2",
12933
12654
  y === 3 && "grid-cols-3",
12934
12655
  y === 4 && "grid-cols-4"
12935
12656
  ) : "";
12936
- return /* @__PURE__ */ jsx("div", { className: W, children: K.map((G) => /* @__PURE__ */ jsx(
12657
+ return /* @__PURE__ */ jsx("div", { className: q, children: K.map((G) => /* @__PURE__ */ jsx(
12937
12658
  "div",
12938
12659
  {
12939
12660
  className: G.colSpan ? `col-span-${G.colSpan}` : void 0,
@@ -13079,14 +12800,9 @@ export {
13079
12800
  buildZodSchema,
13080
12801
  createFiltersFactory,
13081
12802
  createTableFactory,
13082
- darkTheme,
13083
- defaultTheme,
13084
- lightTheme,
13085
12803
  renderFiltersModal,
13086
12804
  renderFiltersPanel,
13087
12805
  renderTable,
13088
- themePresets,
13089
- useField,
13090
- useTheme
12806
+ useField
13091
12807
  };
13092
12808
  //# sourceMappingURL=index.js.map