cecomponent 1.0.26 → 1.0.28

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.
@@ -59,9 +59,9 @@ function requireReactJsxRuntime_development() {
59
59
  return "Fragment";
60
60
  case p:
61
61
  return "Profiler";
62
- case S:
63
- return "StrictMode";
64
62
  case k:
63
+ return "StrictMode";
64
+ case S:
65
65
  return "Suspense";
66
66
  case P:
67
67
  return "SuspenseList";
@@ -79,14 +79,14 @@ function requireReactJsxRuntime_development() {
79
79
  case x:
80
80
  return (j._context.displayName || "Context") + ".Consumer";
81
81
  case g:
82
- var _ = j.render;
83
- return j = j.displayName, j || (j = _.displayName || _.name || "", j = j !== "" ? "ForwardRef(" + j + ")" : "ForwardRef"), j;
84
- case T:
85
- return _ = j.displayName || null, _ !== null ? _ : t(j.type) || "Memo";
82
+ var T = j.render;
83
+ return j = j.displayName, j || (j = T.displayName || T.name || "", j = j !== "" ? "ForwardRef(" + j + ")" : "ForwardRef"), j;
84
+ case _:
85
+ return T = j.displayName || null, T !== null ? T : t(j.type) || "Memo";
86
86
  case F:
87
- _ = j._payload, j = j._init;
87
+ T = j._payload, j = j._init;
88
88
  try {
89
- return t(j(_));
89
+ return t(j(T));
90
90
  } catch {
91
91
  }
92
92
  }
@@ -98,17 +98,17 @@ function requireReactJsxRuntime_development() {
98
98
  function r(j) {
99
99
  try {
100
100
  e(j);
101
- var _ = !1;
101
+ var T = !1;
102
102
  } catch {
103
- _ = !0;
103
+ T = !0;
104
104
  }
105
- if (_) {
106
- _ = console;
107
- var D = _.error, V = typeof Symbol == "function" && Symbol.toStringTag && j[Symbol.toStringTag] || j.constructor.name || "Object";
105
+ if (T) {
106
+ T = console;
107
+ var D = T.error, B = typeof Symbol == "function" && Symbol.toStringTag && j[Symbol.toStringTag] || j.constructor.name || "Object";
108
108
  return D.call(
109
- _,
109
+ T,
110
110
  "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
111
- V
111
+ B
112
112
  ), e(j);
113
113
  }
114
114
  }
@@ -117,8 +117,8 @@ function requireReactJsxRuntime_development() {
117
117
  if (typeof j == "object" && j !== null && j.$$typeof === F)
118
118
  return "<...>";
119
119
  try {
120
- var _ = t(j);
121
- return _ ? "<" + _ + ">" : "<...>";
120
+ var T = t(j);
121
+ return T ? "<" + T + ">" : "<...>";
122
122
  } catch {
123
123
  return "<...>";
124
124
  }
@@ -131,17 +131,17 @@ function requireReactJsxRuntime_development() {
131
131
  return Error("react-stack-top-frame");
132
132
  }
133
133
  function a(j) {
134
- if (N.call(j, "key")) {
135
- var _ = Object.getOwnPropertyDescriptor(j, "key").get;
136
- if (_ && _.isReactWarning) return !1;
134
+ if (V.call(j, "key")) {
135
+ var T = Object.getOwnPropertyDescriptor(j, "key").get;
136
+ if (T && T.isReactWarning) return !1;
137
137
  }
138
138
  return j.key !== void 0;
139
139
  }
140
- function l(j, _) {
140
+ function l(j, T) {
141
141
  function D() {
142
142
  L || (L = !0, console.error(
143
143
  "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
144
- _
144
+ T
145
145
  ));
146
146
  }
147
147
  D.isReactWarning = !0, Object.defineProperty(j, "key", {
@@ -155,11 +155,11 @@ function requireReactJsxRuntime_development() {
155
155
  "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
156
156
  )), j = this.props.ref, j !== void 0 ? j : null;
157
157
  }
158
- function c(j, _, D, V, G, J, K, X) {
158
+ function c(j, T, D, B, G, J, K, X) {
159
159
  return D = J.ref, j = {
160
160
  $$typeof: b,
161
161
  type: j,
162
- key: _,
162
+ key: T,
163
163
  props: J,
164
164
  _owner: G
165
165
  }, (D !== void 0 ? D : null) !== null ? Object.defineProperty(j, "ref", {
@@ -187,42 +187,42 @@ function requireReactJsxRuntime_development() {
187
187
  value: X
188
188
  }), Object.freeze && (Object.freeze(j.props), Object.freeze(j)), j;
189
189
  }
190
- function u(j, _, D, V, G, J, K, X) {
191
- var Q = _.children;
190
+ function u(j, T, D, B, G, J, K, X) {
191
+ var Q = T.children;
192
192
  if (Q !== void 0)
193
- if (V)
193
+ if (B)
194
194
  if (z(Q)) {
195
- for (V = 0; V < Q.length; V++)
196
- E(Q[V]);
195
+ for (B = 0; B < Q.length; B++)
196
+ E(Q[B]);
197
197
  Object.freeze && Object.freeze(Q);
198
198
  } else
199
199
  console.error(
200
200
  "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
201
201
  );
202
202
  else E(Q);
203
- if (N.call(_, "key")) {
203
+ if (V.call(T, "key")) {
204
204
  Q = t(j);
205
- var st = Object.keys(_).filter(function(nt) {
205
+ var st = Object.keys(T).filter(function(nt) {
206
206
  return nt !== "key";
207
207
  });
208
- V = 0 < st.length ? "{key: someKey, " + st.join(": ..., ") + ": ...}" : "{key: someKey}", R[Q + V] || (st = 0 < st.length ? "{" + st.join(": ..., ") + ": ...}" : "{}", console.error(
208
+ B = 0 < st.length ? "{key: someKey, " + st.join(": ..., ") + ": ...}" : "{key: someKey}", R[Q + B] || (st = 0 < st.length ? "{" + st.join(": ..., ") + ": ...}" : "{}", console.error(
209
209
  `A props object containing a "key" prop is being spread into JSX:
210
210
  let props = %s;
211
211
  <%s {...props} />
212
212
  React keys must be passed directly to JSX without using spread:
213
213
  let props = %s;
214
214
  <%s key={someKey} {...props} />`,
215
- V,
215
+ B,
216
216
  Q,
217
217
  st,
218
218
  Q
219
- ), R[Q + V] = !0);
219
+ ), R[Q + B] = !0);
220
220
  }
221
- if (Q = null, D !== void 0 && (r(D), Q = "" + D), a(_) && (r(_.key), Q = "" + _.key), "key" in _) {
221
+ if (Q = null, D !== void 0 && (r(D), Q = "" + D), a(T) && (r(T.key), Q = "" + T.key), "key" in T) {
222
222
  D = {};
223
- for (var at in _)
224
- at !== "key" && (D[at] = _[at]);
225
- } else D = _;
223
+ for (var at in T)
224
+ at !== "key" && (D[at] = T[at]);
225
+ } else D = T;
226
226
  return Q && l(
227
227
  D,
228
228
  typeof j == "function" ? j.displayName || j.name || "Unknown" : j
@@ -240,7 +240,7 @@ React keys must be passed directly to JSX without using spread:
240
240
  function E(j) {
241
241
  typeof j == "object" && j !== null && j.$$typeof === b && j._store && (j._store.validated = 1);
242
242
  }
243
- var f = React2__default, b = Symbol.for("react.transitional.element"), d = Symbol.for("react.portal"), m = Symbol.for("react.fragment"), S = Symbol.for("react.strict_mode"), p = Symbol.for("react.profiler"), x = Symbol.for("react.consumer"), y = Symbol.for("react.context"), g = Symbol.for("react.forward_ref"), k = Symbol.for("react.suspense"), P = Symbol.for("react.suspense_list"), T = Symbol.for("react.memo"), F = Symbol.for("react.lazy"), I = Symbol.for("react.activity"), $ = Symbol.for("react.client.reference"), O = f.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, N = Object.prototype.hasOwnProperty, z = Array.isArray, H = console.createTask ? console.createTask : function() {
243
+ var f = React2__default, b = Symbol.for("react.transitional.element"), d = Symbol.for("react.portal"), m = Symbol.for("react.fragment"), k = Symbol.for("react.strict_mode"), p = Symbol.for("react.profiler"), x = Symbol.for("react.consumer"), y = Symbol.for("react.context"), g = Symbol.for("react.forward_ref"), S = Symbol.for("react.suspense"), P = Symbol.for("react.suspense_list"), _ = Symbol.for("react.memo"), F = Symbol.for("react.lazy"), I = Symbol.for("react.activity"), $ = Symbol.for("react.client.reference"), O = f.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, V = Object.prototype.hasOwnProperty, z = Array.isArray, H = console.createTask ? console.createTask : function() {
244
244
  return null;
245
245
  };
246
246
  f = {
@@ -252,26 +252,26 @@ React keys must be passed directly to JSX without using spread:
252
252
  f,
253
253
  n
254
254
  )(), C = H(i(n)), R = {};
255
- reactJsxRuntime_development.Fragment = m, reactJsxRuntime_development.jsx = function(j, _, D, V, G) {
255
+ reactJsxRuntime_development.Fragment = m, reactJsxRuntime_development.jsx = function(j, T, D, B, G) {
256
256
  var J = 1e4 > O.recentlyCreatedOwnerStacks++;
257
257
  return u(
258
258
  j,
259
- _,
259
+ T,
260
260
  D,
261
261
  !1,
262
- V,
262
+ B,
263
263
  G,
264
264
  J ? Error("react-stack-top-frame") : M,
265
265
  J ? H(i(j)) : C
266
266
  );
267
- }, reactJsxRuntime_development.jsxs = function(j, _, D, V, G) {
267
+ }, reactJsxRuntime_development.jsxs = function(j, T, D, B, G) {
268
268
  var J = 1e4 > O.recentlyCreatedOwnerStacks++;
269
269
  return u(
270
270
  j,
271
- _,
271
+ T,
272
272
  D,
273
273
  !0,
274
- V,
274
+ B,
275
275
  G,
276
276
  J ? Error("react-stack-top-frame") : M,
277
277
  J ? H(i(j)) : C
@@ -296,7 +296,7 @@ function requireDist() {
296
296
  const d = new n(), m = f.length;
297
297
  if (m < 2)
298
298
  return d;
299
- const S = (b == null ? void 0 : b.decode) || u;
299
+ const k = (b == null ? void 0 : b.decode) || u;
300
300
  let p = 0;
301
301
  do {
302
302
  const x = f.indexOf("=", p);
@@ -307,11 +307,11 @@ function requireDist() {
307
307
  p = f.lastIndexOf(";", x - 1) + 1;
308
308
  continue;
309
309
  }
310
- const k = l(f, p, x), P = o(f, x, k), T = f.slice(k, P);
311
- if (d[T] === void 0) {
310
+ const S = l(f, p, x), P = o(f, x, S), _ = f.slice(S, P);
311
+ if (d[_] === void 0) {
312
312
  let F = l(f, x + 1, g), I = o(f, g, F);
313
- const $ = S(f.slice(F, I));
314
- d[T] = $;
313
+ const $ = k(f.slice(F, I));
314
+ d[_] = $;
315
315
  }
316
316
  p = g + 1;
317
317
  } while (p < m);
@@ -337,10 +337,10 @@ function requireDist() {
337
337
  const m = (d == null ? void 0 : d.encode) || encodeURIComponent;
338
338
  if (!t.test(f))
339
339
  throw new TypeError(`argument name is invalid: ${f}`);
340
- const S = m(b);
341
- if (!e.test(S))
340
+ const k = m(b);
341
+ if (!e.test(k))
342
342
  throw new TypeError(`argument val is invalid: ${b}`);
343
- let p = f + "=" + S;
343
+ let p = f + "=" + k;
344
344
  if (!d)
345
345
  return p;
346
346
  if (d.maxAge !== void 0) {
@@ -966,7 +966,7 @@ function _renderMatches(t, e = [], r = null, i = null) {
966
966
  !1,
967
967
  "No `HydrateFallback` element provided to render during initial hydration"
968
968
  ), f = !0, d = null) : l === u && (f = !0, d = c.route.hydrateFallbackElement || null)));
969
- let m = e.concat(s.slice(0, u + 1)), S = () => {
969
+ let m = e.concat(s.slice(0, u + 1)), k = () => {
970
970
  let p;
971
971
  return E ? p = b : f ? p = d : c.route.Component ? p = /* @__PURE__ */ React2.createElement(c.route.Component, null) : c.route.element ? p = c.route.element : p = o, /* @__PURE__ */ React2.createElement(
972
972
  RenderedRoute,
@@ -988,10 +988,10 @@ function _renderMatches(t, e = [], r = null, i = null) {
988
988
  revalidation: r.revalidation,
989
989
  component: b,
990
990
  error: E,
991
- children: S(),
991
+ children: k(),
992
992
  routeContext: { outlet: null, matches: m, isDataRoute: !0 }
993
993
  }
994
- ) : S();
994
+ ) : k();
995
995
  }, null);
996
996
  }
997
997
  function getDataRouterConsoleError(t) {
@@ -1281,9 +1281,9 @@ function usePrefetchBehavior(t, e) {
1281
1281
  p.forEach((x) => {
1282
1282
  a(x.isIntersecting);
1283
1283
  });
1284
- }, S = new IntersectionObserver(m, { threshold: 0.5 });
1285
- return f.current && S.observe(f.current), () => {
1286
- S.disconnect();
1284
+ }, k = new IntersectionObserver(m, { threshold: 0.5 });
1285
+ return f.current && k.observe(f.current), () => {
1286
+ k.disconnect();
1287
1287
  };
1288
1288
  }
1289
1289
  }, [t]), React2.useEffect(() => {
@@ -1376,11 +1376,11 @@ function PrefetchPageLinksImpl({
1376
1376
  !x || !x.hasLoader || (!c.some((g) => g.route.id === p.route.id) && p.route.id in l && ((y = n[p.route.id]) != null && y.shouldRevalidate) || x.hasClientLoader ? m = !0 : d.add(p.route.id));
1377
1377
  }), d.size === 0)
1378
1378
  return [];
1379
- let S = singleFetchUrl(t, a);
1380
- return m && d.size > 0 && S.searchParams.set(
1379
+ let k = singleFetchUrl(t, a);
1380
+ return m && d.size > 0 && k.searchParams.set(
1381
1381
  "_routes",
1382
1382
  e.filter((p) => d.has(p.route.id)).map((p) => p.route.id).join(",")
1383
- ), [S.pathname + S.search];
1383
+ ), [k.pathname + k.search];
1384
1384
  }, [
1385
1385
  a,
1386
1386
  l,
@@ -1427,8 +1427,8 @@ var ABSOLUTE_URL_REGEX2 = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, Link = React2.forward
1427
1427
  viewTransition: E,
1428
1428
  ...f
1429
1429
  }, b) {
1430
- let { basename: d } = React2.useContext(NavigationContext), m = typeof c == "string" && ABSOLUTE_URL_REGEX2.test(c), S, p = !1;
1431
- if (typeof c == "string" && m && (S = c, isBrowser))
1430
+ let { basename: d } = React2.useContext(NavigationContext), m = typeof c == "string" && ABSOLUTE_URL_REGEX2.test(c), k, p = !1;
1431
+ if (typeof c == "string" && m && (k = c, isBrowser))
1432
1432
  try {
1433
1433
  let I = new URL(window.location.href), $ = c.startsWith("//") ? new URL(I.protocol + c) : new URL(c), O = stripBasename($.pathname, d);
1434
1434
  $.origin === I.origin && O != null ? c = O + $.search + $.hash : p = !0;
@@ -1438,7 +1438,7 @@ var ABSOLUTE_URL_REGEX2 = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, Link = React2.forward
1438
1438
  `<Link to="${c}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`
1439
1439
  );
1440
1440
  }
1441
- let x = useHref(c, { relative: s }), [y, g, k] = usePrefetchBehavior(
1441
+ let x = useHref(c, { relative: s }), [y, g, S] = usePrefetchBehavior(
1442
1442
  i,
1443
1443
  f
1444
1444
  ), P = useLinkClickHandler(c, {
@@ -1449,7 +1449,7 @@ var ABSOLUTE_URL_REGEX2 = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, Link = React2.forward
1449
1449
  relative: s,
1450
1450
  viewTransition: E
1451
1451
  });
1452
- function T(I) {
1452
+ function _(I) {
1453
1453
  e && e(I), I.defaultPrevented || P(I);
1454
1454
  }
1455
1455
  let F = (
@@ -1458,9 +1458,9 @@ var ABSOLUTE_URL_REGEX2 = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, Link = React2.forward
1458
1458
  "a",
1459
1459
  {
1460
1460
  ...f,
1461
- ...k,
1462
- href: S || x,
1463
- onClick: p || n ? e : T,
1461
+ ...S,
1462
+ href: k || x,
1463
+ onClick: p || n ? e : _,
1464
1464
  ref: mergeRefs(b, g),
1465
1465
  target: o,
1466
1466
  "data-discover": !m && r === "render" ? "true" : void 0
@@ -1483,23 +1483,23 @@ var NavLink = React2.forwardRef(
1483
1483
  children: o,
1484
1484
  ...c
1485
1485
  }, u) {
1486
- let E = useResolvedPath(a, { relative: c.relative }), f = useLocation(), b = React2.useContext(DataRouterStateContext), { navigator: d, basename: m } = React2.useContext(NavigationContext), S = b != null && // Conditional usage is OK here because the usage of a data router is static
1486
+ let E = useResolvedPath(a, { relative: c.relative }), f = useLocation(), b = React2.useContext(DataRouterStateContext), { navigator: d, basename: m } = React2.useContext(NavigationContext), k = b != null && // Conditional usage is OK here because the usage of a data router is static
1487
1487
  // eslint-disable-next-line react-hooks/rules-of-hooks
1488
1488
  useViewTransitionState(E) && l === !0, p = d.encodeLocation ? d.encodeLocation(E).pathname : E.pathname, x = f.pathname, y = b && b.navigation && b.navigation.location ? b.navigation.location.pathname : null;
1489
1489
  r || (x = x.toLowerCase(), y = y ? y.toLowerCase() : null, p = p.toLowerCase()), y && m && (y = stripBasename(y, m) || y);
1490
1490
  const g = p !== "/" && p.endsWith("/") ? p.length - 1 : p.length;
1491
- let k = x === p || !s && x.startsWith(p) && x.charAt(g) === "/", P = y != null && (y === p || !s && y.startsWith(p) && y.charAt(p.length) === "/"), T = {
1492
- isActive: k,
1491
+ let S = x === p || !s && x.startsWith(p) && x.charAt(g) === "/", P = y != null && (y === p || !s && y.startsWith(p) && y.charAt(p.length) === "/"), _ = {
1492
+ isActive: S,
1493
1493
  isPending: P,
1494
- isTransitioning: S
1495
- }, F = k ? e : void 0, I;
1496
- typeof i == "function" ? I = i(T) : I = [
1494
+ isTransitioning: k
1495
+ }, F = S ? e : void 0, I;
1496
+ typeof i == "function" ? I = i(_) : I = [
1497
1497
  i,
1498
- k ? "active" : null,
1498
+ S ? "active" : null,
1499
1499
  P ? "pending" : null,
1500
- S ? "transitioning" : null
1500
+ k ? "transitioning" : null
1501
1501
  ].filter(Boolean).join(" ");
1502
- let $ = typeof n == "function" ? n(T) : n;
1502
+ let $ = typeof n == "function" ? n(_) : n;
1503
1503
  return /* @__PURE__ */ React2.createElement(
1504
1504
  Link,
1505
1505
  {
@@ -1511,7 +1511,7 @@ var NavLink = React2.forwardRef(
1511
1511
  to: a,
1512
1512
  viewTransition: l
1513
1513
  },
1514
- typeof o == "function" ? o(T) : o
1514
+ typeof o == "function" ? o(_) : o
1515
1515
  );
1516
1516
  }
1517
1517
  );
@@ -1532,13 +1532,13 @@ var Form = React2.forwardRef(
1532
1532
  viewTransition: E,
1533
1533
  ...f
1534
1534
  }, b) => {
1535
- let d = useSubmit(), m = useFormAction(l, { relative: c }), S = a.toLowerCase() === "get" ? "get" : "post", p = typeof l == "string" && ABSOLUTE_URL_REGEX2.test(l), x = (y) => {
1535
+ let d = useSubmit(), m = useFormAction(l, { relative: c }), k = a.toLowerCase() === "get" ? "get" : "post", p = typeof l == "string" && ABSOLUTE_URL_REGEX2.test(l), x = (y) => {
1536
1536
  if (o && o(y), y.defaultPrevented) return;
1537
1537
  y.preventDefault();
1538
- let g = y.nativeEvent.submitter, k = (g == null ? void 0 : g.getAttribute("formmethod")) || a;
1538
+ let g = y.nativeEvent.submitter, S = (g == null ? void 0 : g.getAttribute("formmethod")) || a;
1539
1539
  d(g || y.currentTarget, {
1540
1540
  fetcherKey: e,
1541
- method: k,
1541
+ method: S,
1542
1542
  navigate: r,
1543
1543
  replace: s,
1544
1544
  state: n,
@@ -1551,7 +1551,7 @@ var Form = React2.forwardRef(
1551
1551
  "form",
1552
1552
  {
1553
1553
  ref: b,
1554
- method: S,
1554
+ method: k,
1555
1555
  action: m,
1556
1556
  onSubmit: i ? o : x,
1557
1557
  ...f,
@@ -1741,23 +1741,25 @@ const Breadcrumbs = ({ items: t, maxVisible: e = 4, onItemClick: r }) => {
1741
1741
  onClick: r,
1742
1742
  children: i,
1743
1743
  className: s = "",
1744
- sx: n = {}
1744
+ sx: n = {},
1745
+ color: a
1745
1746
  }) => {
1746
- const a = getSizeStyle(e), l = getVariantClass(t);
1747
+ const l = getSizeStyle(e), o = getVariantClass(t);
1747
1748
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
1748
1749
  "button",
1749
1750
  {
1750
- className: `ce-button ${l} ${s}`,
1751
+ className: `ce-button ${o} ${s}`,
1751
1752
  onClick: r,
1752
1753
  style: {
1753
- ...a,
1754
- ...n
1754
+ ...l,
1755
+ ...n,
1756
+ ...a ? { color: a } : {}
1755
1757
  },
1756
1758
  disabled: t === "disabled",
1757
1759
  children: i
1758
1760
  }
1759
1761
  );
1760
- }, CEAutoSuggestInput = ({
1762
+ }, SearchIcon = "data:image/svg+xml,%3csvg%20width='24'%20height='25'%20viewBox='0%200%2024%2025'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M15.5001%2014.5H14.7101L14.4301%2014.23C15.6301%2012.83%2016.2501%2010.92%2015.9101%208.89002C15.4401%206.11002%2013.1201%203.89002%2010.3201%203.55002C6.09014%203.03002%202.53014%206.59001%203.05014%2010.82C3.39014%2013.62%205.61014%2015.94%208.39014%2016.41C10.4201%2016.75%2012.3301%2016.13%2013.7301%2014.93L14.0001%2015.21V16L18.2501%2020.25C18.6601%2020.66%2019.3301%2020.66%2019.7401%2020.25C20.1501%2019.84%2020.1501%2019.17%2019.7401%2018.76L15.5001%2014.5ZM9.50014%2014.5C7.01014%2014.5%205.00014%2012.49%205.00014%2010C5.00014%207.51002%207.01014%205.50002%209.50014%205.50002C11.9901%205.50002%2014.0001%207.51002%2014.0001%2010C14.0001%2012.49%2011.9901%2014.5%209.50014%2014.5Z'%20fill='black'%20fill-opacity='0.54'/%3e%3c/svg%3e", CEAutoSuggestInput = ({
1761
1763
  label: t,
1762
1764
  placeholder: e = "",
1763
1765
  fetchSuggestions: r,
@@ -1765,59 +1767,68 @@ const Breadcrumbs = ({ items: t, maxVisible: e = 4, onItemClick: r }) => {
1765
1767
  onChange: s,
1766
1768
  width: n = "100%",
1767
1769
  height: a = "3.5rem",
1768
- // default height
1769
1770
  style: l = {},
1770
- size: o = "medium"
1771
+ size: o = "medium",
1772
+ multipleSelection: c = !1,
1773
+ showSearchIcon: u = !0
1771
1774
  }) => {
1772
- const [c, u] = useState([]), [E, f] = useState(!1), [b, d] = useState(!1), [m, S] = useState(!1), p = useRef(null);
1775
+ const [E, f] = useState([]), [b, d] = useState(!1), [m, k] = useState(!1), [p, x] = useState(!1), [y, g] = useState(
1776
+ Array.isArray(i) ? i : []
1777
+ ), S = useRef(null);
1773
1778
  useEffect(() => {
1774
- if (i.trim() === "") {
1775
- u([]);
1779
+ const O = Array.isArray(i) ? "" : i;
1780
+ if (O.trim() === "") {
1781
+ f([]);
1776
1782
  return;
1777
1783
  }
1778
- d(!0), r(i).then((g) => u(g)).finally(() => d(!1));
1784
+ k(!0), r(O).then((V) => f(V)).finally(() => k(!1));
1779
1785
  }, [i, r]);
1780
- const x = getSizeStyle$1(o || "medium"), y = {
1781
- "--input-font-size": x.fontSize,
1782
- "--label-font-size": x.fontSize,
1783
- "--icon-size": `calc(${x.fontSize} + 0.25rem)`,
1784
- "--suggestion-font-size": x.fontSize,
1785
- "--input-padding": x.padding,
1786
+ const P = getSizeStyle$1(o || "medium"), _ = {
1787
+ "--input-font-size": P.fontSize,
1788
+ "--label-font-size": P.fontSize,
1789
+ "--icon-size": `calc(${P.fontSize} + 0.25rem)`,
1790
+ "--suggestion-font-size": P.fontSize,
1791
+ "--input-padding": P.padding,
1786
1792
  "--input-padding-top": "1.25em",
1787
1793
  "--icon-top": "1.2em",
1788
- fontSize: x.fontSize,
1794
+ fontSize: P.fontSize,
1789
1795
  ...l
1790
- };
1791
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "auto-suggest-input", style: y, children: [
1796
+ }, F = (O) => {
1797
+ let V = [];
1798
+ y.includes(O) ? V = y.filter((z) => z !== O) : V = [...y, O], g(V), s(V);
1799
+ }, I = () => {
1800
+ y.length === E.length ? (g([]), s([])) : (g(E), s(E));
1801
+ }, $ = E.length > 0 && y.length === E.length;
1802
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "auto-suggest-input", style: _, children: [
1792
1803
  /* @__PURE__ */ jsxRuntimeExports.jsxs(
1793
1804
  "div",
1794
1805
  {
1795
- className: `input-wrapper floating-label-wrapper${m || i ? " focused" : ""}`,
1796
- style: y,
1806
+ className: `input-wrapper floating-label-wrapper${p || i ? " focused" : ""}`,
1807
+ style: _,
1797
1808
  children: [
1798
1809
  /* @__PURE__ */ jsxRuntimeExports.jsx(
1799
1810
  "input",
1800
1811
  {
1801
- ref: p,
1812
+ ref: S,
1802
1813
  type: "text",
1803
- value: i,
1814
+ value: Array.isArray(i) ? "" : i,
1804
1815
  placeholder: "",
1805
- onChange: (g) => {
1806
- s(g.target.value), f(!0);
1816
+ onChange: (O) => {
1817
+ s(O.target.value), d(!0);
1807
1818
  },
1808
1819
  onFocus: () => {
1809
- f(!0), S(!0);
1820
+ d(!0), x(!0);
1810
1821
  },
1811
1822
  onBlur: () => {
1812
- setTimeout(() => f(!1), 150), S(!1);
1823
+ setTimeout(() => d(!1), 150), x(!1);
1813
1824
  }
1814
1825
  }
1815
1826
  ),
1816
1827
  /* @__PURE__ */ jsxRuntimeExports.jsx("label", { className: "floating-label", children: t }),
1817
- /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "search-icon", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
1828
+ u && /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "search-icon", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
1818
1829
  "img",
1819
1830
  {
1820
- src: "src/assets/SearchRounded.svg",
1831
+ src: SearchIcon,
1821
1832
  alt: "Search",
1822
1833
  className: "search-icon-img"
1823
1834
  }
@@ -1825,16 +1836,31 @@ const Breadcrumbs = ({ items: t, maxVisible: e = 4, onItemClick: r }) => {
1825
1836
  ]
1826
1837
  }
1827
1838
  ),
1828
- E && c.length > 0 && /* @__PURE__ */ jsxRuntimeExports.jsx("ul", { className: "suggestions-list", children: c.map((g, k) => /* @__PURE__ */ jsxRuntimeExports.jsx(
1829
- "li",
1830
- {
1831
- className: "suggestion-item",
1832
- onMouseDown: () => s(g),
1833
- children: g
1834
- },
1835
- k
1836
- )) }),
1837
- b && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "loading-text", children: "Loading..." })
1839
+ b && E.length > 0 && /* @__PURE__ */ jsxRuntimeExports.jsxs("ul", { className: "suggestions-list", children: [
1840
+ c && /* @__PURE__ */ jsxRuntimeExports.jsx("li", { className: "suggestion-item select-all", children: /* @__PURE__ */ jsxRuntimeExports.jsxs("label", { children: [
1841
+ /* @__PURE__ */ jsxRuntimeExports.jsx(
1842
+ "input",
1843
+ {
1844
+ type: "checkbox",
1845
+ checked: $,
1846
+ onChange: I
1847
+ }
1848
+ ),
1849
+ "Select All"
1850
+ ] }) }),
1851
+ E.map((O, V) => /* @__PURE__ */ jsxRuntimeExports.jsx("li", { className: "suggestion-item", children: c ? /* @__PURE__ */ jsxRuntimeExports.jsxs("label", { children: [
1852
+ /* @__PURE__ */ jsxRuntimeExports.jsx(
1853
+ "input",
1854
+ {
1855
+ type: "checkbox",
1856
+ checked: y.includes(O),
1857
+ onChange: () => F(O)
1858
+ }
1859
+ ),
1860
+ O
1861
+ ] }) : /* @__PURE__ */ jsxRuntimeExports.jsx("span", { onMouseDown: () => s(O), children: O }) }, V))
1862
+ ] }),
1863
+ m && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "loading-text", children: "Loading..." })
1838
1864
  ] });
1839
1865
  };
1840
1866
  function bind(t, e) {
@@ -2134,8 +2160,8 @@ function toFormData$1(t, e, r) {
2134
2160
  metaTokens: !0,
2135
2161
  dots: !1,
2136
2162
  indexes: !1
2137
- }, !1, function(m, S) {
2138
- return !utils$1.isUndefined(S[m]);
2163
+ }, !1, function(m, k) {
2164
+ return !utils$1.isUndefined(k[m]);
2139
2165
  });
2140
2166
  const i = r.metaTokens, s = r.visitor || u, n = r.dots, a = r.indexes, o = (r.Blob || typeof Blob < "u" && Blob) && utils$1.isSpecCompliantForm(e);
2141
2167
  if (!utils$1.isFunction(s))
@@ -2148,9 +2174,9 @@ function toFormData$1(t, e, r) {
2148
2174
  throw new AxiosError$1("Blob is not supported. Use a Buffer instead.");
2149
2175
  return utils$1.isArrayBuffer(d) || utils$1.isTypedArray(d) ? o && typeof Blob == "function" ? new Blob([d]) : Buffer.from(d) : d;
2150
2176
  }
2151
- function u(d, m, S) {
2177
+ function u(d, m, k) {
2152
2178
  let p = d;
2153
- if (d && !S && typeof d == "object") {
2179
+ if (d && !k && typeof d == "object") {
2154
2180
  if (utils$1.endsWith(m, "{}"))
2155
2181
  m = i ? m : m.slice(0, -2), d = JSON.stringify(d);
2156
2182
  else if (utils$1.isArray(d) && isFlatArray(d) || (utils$1.isFileList(d) || utils$1.endsWith(m, "[]")) && (p = utils$1.toArray(d)))
@@ -2162,7 +2188,7 @@ function toFormData$1(t, e, r) {
2162
2188
  );
2163
2189
  }), !1;
2164
2190
  }
2165
- return isVisitable(d) ? !0 : (e.append(renderKey(S, m, n), c(d)), !1);
2191
+ return isVisitable(d) ? !0 : (e.append(renderKey(k, m, n), c(d)), !1);
2166
2192
  }
2167
2193
  const E = [], f = Object.assign(predicates, {
2168
2194
  defaultVisitor: u,
@@ -2838,53 +2864,53 @@ const resolveConfig = (t) => {
2838
2864
  function m() {
2839
2865
  b && b(), d && d(), s.cancelToken && s.cancelToken.unsubscribe(u), s.signal && s.signal.removeEventListener("abort", u);
2840
2866
  }
2841
- let S = new XMLHttpRequest();
2842
- S.open(s.method.toUpperCase(), s.url, !0), S.timeout = s.timeout;
2867
+ let k = new XMLHttpRequest();
2868
+ k.open(s.method.toUpperCase(), s.url, !0), k.timeout = s.timeout;
2843
2869
  function p() {
2844
- if (!S)
2870
+ if (!k)
2845
2871
  return;
2846
2872
  const y = AxiosHeaders$1.from(
2847
- "getAllResponseHeaders" in S && S.getAllResponseHeaders()
2848
- ), k = {
2849
- data: !l || l === "text" || l === "json" ? S.responseText : S.response,
2850
- status: S.status,
2851
- statusText: S.statusText,
2873
+ "getAllResponseHeaders" in k && k.getAllResponseHeaders()
2874
+ ), S = {
2875
+ data: !l || l === "text" || l === "json" ? k.responseText : k.response,
2876
+ status: k.status,
2877
+ statusText: k.statusText,
2852
2878
  headers: y,
2853
2879
  config: t,
2854
- request: S
2880
+ request: k
2855
2881
  };
2856
- settle(function(T) {
2857
- r(T), m();
2858
- }, function(T) {
2859
- i(T), m();
2860
- }, k), S = null;
2882
+ settle(function(_) {
2883
+ r(_), m();
2884
+ }, function(_) {
2885
+ i(_), m();
2886
+ }, S), k = null;
2861
2887
  }
2862
- "onloadend" in S ? S.onloadend = p : S.onreadystatechange = function() {
2863
- !S || S.readyState !== 4 || S.status === 0 && !(S.responseURL && S.responseURL.indexOf("file:") === 0) || setTimeout(p);
2864
- }, S.onabort = function() {
2865
- S && (i(new AxiosError$1("Request aborted", AxiosError$1.ECONNABORTED, t, S)), S = null);
2866
- }, S.onerror = function() {
2867
- i(new AxiosError$1("Network Error", AxiosError$1.ERR_NETWORK, t, S)), S = null;
2868
- }, S.ontimeout = function() {
2888
+ "onloadend" in k ? k.onloadend = p : k.onreadystatechange = function() {
2889
+ !k || k.readyState !== 4 || k.status === 0 && !(k.responseURL && k.responseURL.indexOf("file:") === 0) || setTimeout(p);
2890
+ }, k.onabort = function() {
2891
+ k && (i(new AxiosError$1("Request aborted", AxiosError$1.ECONNABORTED, t, k)), k = null);
2892
+ }, k.onerror = function() {
2893
+ i(new AxiosError$1("Network Error", AxiosError$1.ERR_NETWORK, t, k)), k = null;
2894
+ }, k.ontimeout = function() {
2869
2895
  let g = s.timeout ? "timeout of " + s.timeout + "ms exceeded" : "timeout exceeded";
2870
- const k = s.transitional || transitionalDefaults;
2896
+ const S = s.transitional || transitionalDefaults;
2871
2897
  s.timeoutErrorMessage && (g = s.timeoutErrorMessage), i(new AxiosError$1(
2872
2898
  g,
2873
- k.clarifyTimeoutError ? AxiosError$1.ETIMEDOUT : AxiosError$1.ECONNABORTED,
2899
+ S.clarifyTimeoutError ? AxiosError$1.ETIMEDOUT : AxiosError$1.ECONNABORTED,
2874
2900
  t,
2875
- S
2876
- )), S = null;
2877
- }, n === void 0 && a.setContentType(null), "setRequestHeader" in S && utils$1.forEach(a.toJSON(), function(g, k) {
2878
- S.setRequestHeader(k, g);
2879
- }), utils$1.isUndefined(s.withCredentials) || (S.withCredentials = !!s.withCredentials), l && l !== "json" && (S.responseType = s.responseType), c && ([f, d] = progressEventReducer(c, !0), S.addEventListener("progress", f)), o && S.upload && ([E, b] = progressEventReducer(o), S.upload.addEventListener("progress", E), S.upload.addEventListener("loadend", b)), (s.cancelToken || s.signal) && (u = (y) => {
2880
- S && (i(!y || y.type ? new CanceledError$1(null, t, S) : y), S.abort(), S = null);
2901
+ k
2902
+ )), k = null;
2903
+ }, n === void 0 && a.setContentType(null), "setRequestHeader" in k && utils$1.forEach(a.toJSON(), function(g, S) {
2904
+ k.setRequestHeader(S, g);
2905
+ }), utils$1.isUndefined(s.withCredentials) || (k.withCredentials = !!s.withCredentials), l && l !== "json" && (k.responseType = s.responseType), c && ([f, d] = progressEventReducer(c, !0), k.addEventListener("progress", f)), o && k.upload && ([E, b] = progressEventReducer(o), k.upload.addEventListener("progress", E), k.upload.addEventListener("loadend", b)), (s.cancelToken || s.signal) && (u = (y) => {
2906
+ k && (i(!y || y.type ? new CanceledError$1(null, t, k) : y), k.abort(), k = null);
2881
2907
  }, s.cancelToken && s.cancelToken.subscribe(u), s.signal && (s.signal.aborted ? u() : s.signal.addEventListener("abort", u)));
2882
2908
  const x = parseProtocol(s.url);
2883
2909
  if (x && platform.protocols.indexOf(x) === -1) {
2884
2910
  i(new AxiosError$1("Unsupported protocol " + x + ":", AxiosError$1.ERR_BAD_REQUEST, t));
2885
2911
  return;
2886
2912
  }
2887
- S.send(n || null);
2913
+ k.send(n || null);
2888
2914
  });
2889
2915
  }, composeSignals = (t, e) => {
2890
2916
  const { length: r } = t = t ? t.filter(Boolean) : [];
@@ -3029,20 +3055,20 @@ const getBodyLength = async (t) => {
3029
3055
  const m = b && b.unsubscribe && (() => {
3030
3056
  b.unsubscribe();
3031
3057
  });
3032
- let S;
3058
+ let k;
3033
3059
  try {
3034
- if (o && supportsRequestStream && r !== "get" && r !== "head" && (S = await resolveBodyLength(u, i)) !== 0) {
3035
- let k = new Request(e, {
3060
+ if (o && supportsRequestStream && r !== "get" && r !== "head" && (k = await resolveBodyLength(u, i)) !== 0) {
3061
+ let S = new Request(e, {
3036
3062
  method: "POST",
3037
3063
  body: i,
3038
3064
  duplex: "half"
3039
3065
  }), P;
3040
- if (utils$1.isFormData(i) && (P = k.headers.get("content-type")) && u.setContentType(P), k.body) {
3041
- const [T, F] = progressEventDecorator(
3042
- S,
3066
+ if (utils$1.isFormData(i) && (P = S.headers.get("content-type")) && u.setContentType(P), S.body) {
3067
+ const [_, F] = progressEventDecorator(
3068
+ k,
3043
3069
  progressEventReducer(asyncDecorator(o))
3044
3070
  );
3045
- i = trackStream(k.body, DEFAULT_CHUNK_SIZE, T, F);
3071
+ i = trackStream(S.body, DEFAULT_CHUNK_SIZE, _, F);
3046
3072
  }
3047
3073
  }
3048
3074
  utils$1.isString(E) || (E = E ? "include" : "omit");
@@ -3059,25 +3085,25 @@ const getBodyLength = async (t) => {
3059
3085
  let x = await fetch(d);
3060
3086
  const y = supportsResponseStream && (c === "stream" || c === "response");
3061
3087
  if (supportsResponseStream && (l || y && m)) {
3062
- const k = {};
3088
+ const S = {};
3063
3089
  ["status", "statusText", "headers"].forEach((I) => {
3064
- k[I] = x[I];
3090
+ S[I] = x[I];
3065
3091
  });
3066
- const P = utils$1.toFiniteNumber(x.headers.get("content-length")), [T, F] = l && progressEventDecorator(
3092
+ const P = utils$1.toFiniteNumber(x.headers.get("content-length")), [_, F] = l && progressEventDecorator(
3067
3093
  P,
3068
3094
  progressEventReducer(asyncDecorator(l), !0)
3069
3095
  ) || [];
3070
3096
  x = new Response(
3071
- trackStream(x.body, DEFAULT_CHUNK_SIZE, T, () => {
3097
+ trackStream(x.body, DEFAULT_CHUNK_SIZE, _, () => {
3072
3098
  F && F(), m && m();
3073
3099
  }),
3074
- k
3100
+ S
3075
3101
  );
3076
3102
  }
3077
3103
  c = c || "text";
3078
3104
  let g = await resolvers[utils$1.findKey(resolvers, c) || "text"](x, t);
3079
- return !y && m && m(), await new Promise((k, P) => {
3080
- settle(k, P, {
3105
+ return !y && m && m(), await new Promise((S, P) => {
3106
+ settle(S, P, {
3081
3107
  data: g,
3082
3108
  headers: AxiosHeaders$1.from(x.headers),
3083
3109
  status: x.status,
@@ -3290,8 +3316,8 @@ let Axios$1 = class {
3290
3316
  const d = l[E++], m = l[E++];
3291
3317
  try {
3292
3318
  b = d(b);
3293
- } catch (S) {
3294
- m.call(this, S);
3319
+ } catch (k) {
3320
+ m.call(this, k);
3295
3321
  break;
3296
3322
  }
3297
3323
  }
@@ -3595,8 +3621,8 @@ const {
3595
3621
  useEffect(() => {
3596
3622
  (async () => {
3597
3623
  try {
3598
- const S = await axios.get(t);
3599
- n(S.data.headerItem), l(S.data.menuItems || []), E(!1);
3624
+ const k = await axios.get(t);
3625
+ n(k.data.headerItem), l(k.data.menuItems || []), E(!1);
3600
3626
  } catch {
3601
3627
  b("Failed to load drawer data."), E(!1);
3602
3628
  }
@@ -3690,7 +3716,7 @@ const {
3690
3716
  useEffect(() => {
3691
3717
  r && axios.get(r).then((g) => {
3692
3718
  g.data && g.data.steps && (s(g.data.steps), o(g.data.steps.map(
3693
- (k) => k.fields.reduce((P, T) => (P[T.name] = "", P), {})
3719
+ (S) => S.fields.reduce((P, _) => (P[_.name] = "", P), {})
3694
3720
  )));
3695
3721
  }).catch((g) => {
3696
3722
  console.error("Error loading stepper config:", g);
@@ -3698,20 +3724,20 @@ const {
3698
3724
  }, []);
3699
3725
  const [c, u] = useState(
3700
3726
  i.map(() => !1)
3701
- ), E = (g, k) => {
3727
+ ), E = (g, S) => {
3702
3728
  const P = [...l];
3703
- P[n][g] = k, o(P);
3704
- const T = [...c];
3705
- f(n) && (T[n] = !0, u(T));
3729
+ P[n][g] = S, o(P);
3730
+ const _ = [...c];
3731
+ f(n) && (_[n] = !0, u(_));
3706
3732
  }, f = (g) => i[g].fields.every((P) => {
3707
- var T;
3708
- return P.required ? ((T = l[g][P.name]) == null ? void 0 : T.trim()) !== "" : !0;
3733
+ var _;
3734
+ return P.required ? ((_ = l[g][P.name]) == null ? void 0 : _.trim()) !== "" : !0;
3709
3735
  }), b = () => {
3710
3736
  const g = [...c];
3711
- g[n] = !0, u(g), a((k) => k < i.length - 1 ? k + 1 : k);
3737
+ g[n] = !0, u(g), a((S) => S < i.length - 1 ? S + 1 : S);
3712
3738
  }, d = () => {
3713
3739
  a((g) => g > 0 ? g - 1 : g);
3714
- }, m = () => i.every((g, k) => f(k)), S = () => {
3740
+ }, m = () => i.every((g, S) => f(S)), k = () => {
3715
3741
  alert("Form submitted successfully!");
3716
3742
  }, p = () => /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "step-content", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
3717
3743
  StepForm,
@@ -3720,22 +3746,22 @@ const {
3720
3746
  formData: l[n],
3721
3747
  onInputChange: E
3722
3748
  }
3723
- ) }), x = (g) => i.map((k, P) => {
3724
- const T = f(P), F = P === n, I = c[P] && !T, $ = T && c[P];
3749
+ ) }), x = (g) => i.map((S, P) => {
3750
+ const _ = f(P), F = P === n, I = c[P] && !_, $ = _ && c[P];
3725
3751
  return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: `step-item${g ? "-vertical" : ""} ${I ? "error" : ""}`, children: [
3726
3752
  g ? /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "step-left", children: [
3727
3753
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: `step-circle ${$ ? "completed" : I ? "warning" : F ? "current" : "future"}`, children: $ ? /* @__PURE__ */ jsxRuntimeExports.jsx("img", { src: completed_ico, alt: "completed", className: "step-icon" }) : I ? /* @__PURE__ */ jsxRuntimeExports.jsx("img", { src: warning_ico, alt: "warning", className: "step-icon" }) : P + 1 }),
3728
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: `step-label ${I ? "error-label" : ""}`, children: k.label })
3754
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: `step-label ${I ? "error-label" : ""}`, children: S.label })
3729
3755
  ] }) : /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
3730
3756
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: `step-circle ${$ ? "completed" : I ? "warning" : F ? "current" : "future"}`, children: $ ? /* @__PURE__ */ jsxRuntimeExports.jsx("img", { src: completed_ico, alt: "completed", className: "step-icon" }) : I ? /* @__PURE__ */ jsxRuntimeExports.jsx("img", { src: warning_ico, alt: "warning", className: "step-icon" }) : P + 1 }),
3731
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: `step-label ${I ? "error-label" : ""}`, children: k.label })
3757
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: `step-label ${I ? "error-label" : ""}`, children: S.label })
3732
3758
  ] }),
3733
3759
  P !== i.length - 1 && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: `${g ? "vertical" : "horizontal"}-connector` }),
3734
3760
  I && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "error-msg", children: "fill the mandatory fields" })
3735
3761
  ] }, P);
3736
3762
  }), y = () => /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "step-actions", children: [
3737
3763
  /* @__PURE__ */ jsxRuntimeExports.jsx("button", { onClick: d, disabled: n === 0, children: "Back" }),
3738
- n < i.length - 1 ? /* @__PURE__ */ jsxRuntimeExports.jsx("button", { onClick: b, children: "Next" }) : /* @__PURE__ */ jsxRuntimeExports.jsx("button", { onClick: S, disabled: !m(), children: "Submit" })
3764
+ n < i.length - 1 ? /* @__PURE__ */ jsxRuntimeExports.jsx("button", { onClick: b, children: "Next" }) : /* @__PURE__ */ jsxRuntimeExports.jsx("button", { onClick: k, disabled: !m(), children: "Submit" })
3739
3765
  ] });
3740
3766
  return !i || i.length === 0 ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: "No steps configured" }) : /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: `stepper-container ${e}`, children: e === "vertical" ? /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
3741
3767
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "vertical-left-column", children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: `stepper-header ${e}`, children: x(!0) }) }),
@@ -4103,27 +4129,27 @@ function requireLottie() {
4103
4129
  function l() {
4104
4130
  i || (i = a(function(b) {
4105
4131
  function d() {
4106
- function S(L, A) {
4107
- var M, C, R = L.length, j, _, D, V;
4132
+ function k(L, A) {
4133
+ var M, C, R = L.length, j, T, D, B;
4108
4134
  for (C = 0; C < R; C += 1)
4109
4135
  if (M = L[C], "ks" in M && !M.completed) {
4110
4136
  if (M.completed = !0, M.hasMask) {
4111
4137
  var G = M.masksProperties;
4112
- for (_ = G.length, j = 0; j < _; j += 1)
4138
+ for (T = G.length, j = 0; j < T; j += 1)
4113
4139
  if (G[j].pt.k.i)
4114
- k(G[j].pt.k);
4140
+ S(G[j].pt.k);
4115
4141
  else
4116
- for (V = G[j].pt.k.length, D = 0; D < V; D += 1)
4117
- G[j].pt.k[D].s && k(G[j].pt.k[D].s[0]), G[j].pt.k[D].e && k(G[j].pt.k[D].e[0]);
4142
+ for (B = G[j].pt.k.length, D = 0; D < B; D += 1)
4143
+ G[j].pt.k[D].s && S(G[j].pt.k[D].s[0]), G[j].pt.k[D].e && S(G[j].pt.k[D].e[0]);
4118
4144
  }
4119
- M.ty === 0 ? (M.layers = y(M.refId, A), S(M.layers, A)) : M.ty === 4 ? g(M.shapes) : M.ty === 5 && z(M);
4145
+ M.ty === 0 ? (M.layers = y(M.refId, A), k(M.layers, A)) : M.ty === 4 ? g(M.shapes) : M.ty === 5 && z(M);
4120
4146
  }
4121
4147
  }
4122
4148
  function p(L, A) {
4123
4149
  if (L) {
4124
4150
  var M = 0, C = L.length;
4125
4151
  for (M = 0; M < C; M += 1)
4126
- L[M].t === 1 && (L[M].data.layers = y(L[M].data.refId, A), S(L[M].data.layers, A));
4152
+ L[M].t === 1 && (L[M].data.layers = y(L[M].data.refId, A), k(L[M].data.layers, A));
4127
4153
  }
4128
4154
  }
4129
4155
  function x(L, A) {
@@ -4143,13 +4169,13 @@ function requireLottie() {
4143
4169
  for (A = M - 1; A >= 0; A -= 1)
4144
4170
  if (L[A].ty === "sh")
4145
4171
  if (L[A].ks.k.i)
4146
- k(L[A].ks.k);
4172
+ S(L[A].ks.k);
4147
4173
  else
4148
4174
  for (R = L[A].ks.k.length, C = 0; C < R; C += 1)
4149
- L[A].ks.k[C].s && k(L[A].ks.k[C].s[0]), L[A].ks.k[C].e && k(L[A].ks.k[C].e[0]);
4175
+ L[A].ks.k[C].s && S(L[A].ks.k[C].s[0]), L[A].ks.k[C].e && S(L[A].ks.k[C].e[0]);
4150
4176
  else L[A].ty === "gr" && g(L[A].it);
4151
4177
  }
4152
- function k(L) {
4178
+ function S(L) {
4153
4179
  var A, M = L.i.length;
4154
4180
  for (A = 0; A < M; A += 1)
4155
4181
  L.i[A][0] += L.v[A][0], L.i[A][1] += L.v[A][1], L.o[A][0] += L.v[A][0], L.o[A][1] += L.v[A][1];
@@ -4158,7 +4184,7 @@ function requireLottie() {
4158
4184
  var M = A ? A.split(".") : [100, 100, 100];
4159
4185
  return L[0] > M[0] ? !0 : M[0] > L[0] ? !1 : L[1] > M[1] ? !0 : M[1] > L[1] ? !1 : L[2] > M[2] ? !0 : M[2] > L[2] ? !1 : null;
4160
4186
  }
4161
- var T = /* @__PURE__ */ function() {
4187
+ var _ = /* @__PURE__ */ function() {
4162
4188
  var L = [4, 4, 14];
4163
4189
  function A(C) {
4164
4190
  var R = C.t.d;
@@ -4275,14 +4301,14 @@ function requireLottie() {
4275
4301
  }(), $ = /* @__PURE__ */ function() {
4276
4302
  var L = [4, 1, 9];
4277
4303
  function A(C) {
4278
- var R, j = C.length, _, D;
4304
+ var R, j = C.length, T, D;
4279
4305
  for (R = 0; R < j; R += 1)
4280
4306
  if (C[R].ty === "gr")
4281
4307
  A(C[R].it);
4282
4308
  else if (C[R].ty === "fl" || C[R].ty === "st")
4283
4309
  if (C[R].c.k && C[R].c.k[0].i)
4284
- for (D = C[R].c.k.length, _ = 0; _ < D; _ += 1)
4285
- C[R].c.k[_].s && (C[R].c.k[_].s[0] /= 255, C[R].c.k[_].s[1] /= 255, C[R].c.k[_].s[2] /= 255, C[R].c.k[_].s[3] /= 255), C[R].c.k[_].e && (C[R].c.k[_].e[0] /= 255, C[R].c.k[_].e[1] /= 255, C[R].c.k[_].e[2] /= 255, C[R].c.k[_].e[3] /= 255);
4310
+ for (D = C[R].c.k.length, T = 0; T < D; T += 1)
4311
+ C[R].c.k[T].s && (C[R].c.k[T].s[0] /= 255, C[R].c.k[T].s[1] /= 255, C[R].c.k[T].s[2] /= 255, C[R].c.k[T].s[3] /= 255), C[R].c.k[T].e && (C[R].c.k[T].e[0] /= 255, C[R].c.k[T].e[1] /= 255, C[R].c.k[T].e[2] /= 255, C[R].c.k[T].e[3] /= 255);
4286
4312
  else
4287
4313
  C[R].c.k[0] /= 255, C[R].c.k[1] /= 255, C[R].c.k[2] /= 255, C[R].c.k[3] /= 255;
4288
4314
  }
@@ -4301,22 +4327,22 @@ function requireLottie() {
4301
4327
  }(), O = /* @__PURE__ */ function() {
4302
4328
  var L = [4, 4, 18];
4303
4329
  function A(C) {
4304
- var R, j = C.length, _, D;
4330
+ var R, j = C.length, T, D;
4305
4331
  for (R = j - 1; R >= 0; R -= 1)
4306
4332
  if (C[R].ty === "sh")
4307
4333
  if (C[R].ks.k.i)
4308
4334
  C[R].ks.k.c = C[R].closed;
4309
4335
  else
4310
- for (D = C[R].ks.k.length, _ = 0; _ < D; _ += 1)
4311
- C[R].ks.k[_].s && (C[R].ks.k[_].s[0].c = C[R].closed), C[R].ks.k[_].e && (C[R].ks.k[_].e[0].c = C[R].closed);
4336
+ for (D = C[R].ks.k.length, T = 0; T < D; T += 1)
4337
+ C[R].ks.k[T].s && (C[R].ks.k[T].s[0].c = C[R].closed), C[R].ks.k[T].e && (C[R].ks.k[T].e[0].c = C[R].closed);
4312
4338
  else C[R].ty === "gr" && A(C[R].it);
4313
4339
  }
4314
4340
  function M(C) {
4315
- var R, j, _ = C.length, D, V, G, J;
4316
- for (j = 0; j < _; j += 1) {
4341
+ var R, j, T = C.length, D, B, G, J;
4342
+ for (j = 0; j < T; j += 1) {
4317
4343
  if (R = C[j], R.hasMask) {
4318
4344
  var K = R.masksProperties;
4319
- for (V = K.length, D = 0; D < V; D += 1)
4345
+ for (B = K.length, D = 0; D < B; D += 1)
4320
4346
  if (K[D].pt.k.i)
4321
4347
  K[D].pt.k.c = K[D].cl;
4322
4348
  else
@@ -4334,52 +4360,52 @@ function requireLottie() {
4334
4360
  }
4335
4361
  };
4336
4362
  }();
4337
- function N(L) {
4338
- L.__complete || ($(L), T(L), F(L), I(L), O(L), S(L.layers, L.assets), p(L.chars, L.assets), L.__complete = !0);
4363
+ function V(L) {
4364
+ L.__complete || ($(L), _(L), F(L), I(L), O(L), k(L.layers, L.assets), p(L.chars, L.assets), L.__complete = !0);
4339
4365
  }
4340
4366
  function z(L) {
4341
4367
  L.t.a.length === 0 && "m" in L.t.p;
4342
4368
  }
4343
4369
  var H = {};
4344
- return H.completeData = N, H.checkColors = $, H.checkChars = F, H.checkPathProperties = I, H.checkShapes = O, H.completeLayers = S, H;
4370
+ return H.completeData = V, H.checkColors = $, H.checkChars = F, H.checkPathProperties = I, H.checkShapes = O, H.completeLayers = k, H;
4345
4371
  }
4346
4372
  if (n.dataManager || (n.dataManager = d()), n.assetLoader || (n.assetLoader = /* @__PURE__ */ function() {
4347
- function S(x) {
4373
+ function k(x) {
4348
4374
  var y = x.getResponseHeader("content-type");
4349
4375
  return y && x.responseType === "json" && y.indexOf("json") !== -1 || x.response && _typeof$5(x.response) === "object" ? x.response : x.response && typeof x.response == "string" ? JSON.parse(x.response) : x.responseText ? JSON.parse(x.responseText) : null;
4350
4376
  }
4351
- function p(x, y, g, k) {
4352
- var P, T = new XMLHttpRequest();
4377
+ function p(x, y, g, S) {
4378
+ var P, _ = new XMLHttpRequest();
4353
4379
  try {
4354
- T.responseType = "json";
4380
+ _.responseType = "json";
4355
4381
  } catch {
4356
4382
  }
4357
- T.onreadystatechange = function() {
4358
- if (T.readyState === 4)
4359
- if (T.status === 200)
4360
- P = S(T), g(P);
4383
+ _.onreadystatechange = function() {
4384
+ if (_.readyState === 4)
4385
+ if (_.status === 200)
4386
+ P = k(_), g(P);
4361
4387
  else
4362
4388
  try {
4363
- P = S(T), g(P);
4389
+ P = k(_), g(P);
4364
4390
  } catch (F) {
4365
- k && k(F);
4391
+ S && S(F);
4366
4392
  }
4367
4393
  };
4368
4394
  try {
4369
- T.open(["G", "E", "T"].join(""), x, !0);
4395
+ _.open(["G", "E", "T"].join(""), x, !0);
4370
4396
  } catch {
4371
- T.open(["G", "E", "T"].join(""), y + "/" + x, !0);
4397
+ _.open(["G", "E", "T"].join(""), y + "/" + x, !0);
4372
4398
  }
4373
- T.send();
4399
+ _.send();
4374
4400
  }
4375
4401
  return {
4376
4402
  load: p
4377
4403
  };
4378
4404
  }()), b.data.type === "loadAnimation")
4379
- n.assetLoader.load(b.data.path, b.data.fullPath, function(S) {
4380
- n.dataManager.completeData(S), n.postMessage({
4405
+ n.assetLoader.load(b.data.path, b.data.fullPath, function(k) {
4406
+ n.dataManager.completeData(k), n.postMessage({
4381
4407
  id: b.data.id,
4382
- payload: S,
4408
+ payload: k,
4383
4409
  status: "success"
4384
4410
  });
4385
4411
  }, function() {
@@ -4395,10 +4421,10 @@ function requireLottie() {
4395
4421
  payload: m,
4396
4422
  status: "success"
4397
4423
  });
4398
- } else b.data.type === "loadData" && n.assetLoader.load(b.data.path, b.data.fullPath, function(S) {
4424
+ } else b.data.type === "loadData" && n.assetLoader.load(b.data.path, b.data.fullPath, function(k) {
4399
4425
  n.postMessage({
4400
4426
  id: b.data.id,
4401
- payload: S,
4427
+ payload: k,
4402
4428
  status: "success"
4403
4429
  });
4404
4430
  }, function() {
@@ -4472,8 +4498,8 @@ function requireLottie() {
4472
4498
  if (p.e)
4473
4499
  g = p.p;
4474
4500
  else if (x) {
4475
- var k = p.p;
4476
- k.indexOf("images/") !== -1 && (k = k.split("/")[1]), g = x + k;
4501
+ var S = p.p;
4502
+ S.indexOf("images/") !== -1 && (S = S.split("/")[1]), g = x + S;
4477
4503
  } else
4478
4504
  g = y, g += p.u ? p.u : "", g += p.p;
4479
4505
  return g;
@@ -4548,10 +4574,10 @@ function requireLottie() {
4548
4574
  function m(p, x) {
4549
4575
  p === "svg" ? (this._elementHelper = x, this._createImageData = this.createImageData.bind(this)) : this._createImageData = this.createImgData.bind(this);
4550
4576
  }
4551
- function S() {
4577
+ function k() {
4552
4578
  this._imageLoaded = e.bind(this), this._footageLoaded = r.bind(this), this.testImageLoaded = s.bind(this), this.createFootageData = l.bind(this), this.assetsPath = "", this.path = "", this.totalImages = 0, this.totalFootages = 0, this.loadedAssets = 0, this.loadedFootagesCount = 0, this.imagesLoadedCb = null, this.images = [];
4553
4579
  }
4554
- return S.prototype = {
4580
+ return k.prototype = {
4555
4581
  loadAssets: o,
4556
4582
  setAssetsPath: u,
4557
4583
  setPath: c,
@@ -4564,7 +4590,7 @@ function requireLottie() {
4564
4590
  imageLoaded: e,
4565
4591
  footageLoaded: r,
4566
4592
  setCacheType: m
4567
- }, S;
4593
+ }, k;
4568
4594
  }();
4569
4595
  function BaseEvent() {
4570
4596
  }
@@ -4937,7 +4963,7 @@ function requireLottie() {
4937
4963
  for (C = 0; C < i; C += 1)
4938
4964
  e[C].animation.setDirection(A, M);
4939
4965
  }
4940
- function S(A) {
4966
+ function k(A) {
4941
4967
  var M;
4942
4968
  for (M = 0; M < i; M += 1)
4943
4969
  e[M].animation.play(A);
@@ -4961,7 +4987,7 @@ function requireLottie() {
4961
4987
  for (R = 0; R < i; R += 1)
4962
4988
  e[R].animation.goToAndStop(A, M, C);
4963
4989
  }
4964
- function k(A) {
4990
+ function S(A) {
4965
4991
  var M;
4966
4992
  for (M = 0; M < i; M += 1)
4967
4993
  e[M].animation.stop(A);
@@ -4971,21 +4997,21 @@ function requireLottie() {
4971
4997
  for (M = 0; M < i; M += 1)
4972
4998
  e[M].animation.togglePause(A);
4973
4999
  }
4974
- function T(A) {
5000
+ function _(A) {
4975
5001
  var M;
4976
5002
  for (M = i - 1; M >= 0; M -= 1)
4977
5003
  e[M].animation.destroy(A);
4978
5004
  }
4979
5005
  function F(A, M, C) {
4980
- var R = [].concat([].slice.call(document.getElementsByClassName("lottie")), [].slice.call(document.getElementsByClassName("bodymovin"))), j, _ = R.length;
4981
- for (j = 0; j < _; j += 1)
5006
+ var R = [].concat([].slice.call(document.getElementsByClassName("lottie")), [].slice.call(document.getElementsByClassName("bodymovin"))), j, T = R.length;
5007
+ for (j = 0; j < T; j += 1)
4982
5008
  C && R[j].setAttribute("data-bm-type", C), o(R[j], A);
4983
- if (M && _ === 0) {
5009
+ if (M && T === 0) {
4984
5010
  C || (C = "svg");
4985
5011
  var D = document.getElementsByTagName("body")[0];
4986
5012
  D.innerText = "";
4987
- var V = createTag("div");
4988
- V.style.width = "100%", V.style.height = "100%", V.setAttribute("data-bm-type", C), D.appendChild(V), o(V, A);
5013
+ var B = createTag("div");
5014
+ B.style.width = "100%", B.style.height = "100%", B.setAttribute("data-bm-type", C), D.appendChild(B), o(B, A);
4989
5015
  }
4990
5016
  }
4991
5017
  function I() {
@@ -4999,7 +5025,7 @@ function requireLottie() {
4999
5025
  function O() {
5000
5026
  a = !0;
5001
5027
  }
5002
- function N() {
5028
+ function V() {
5003
5029
  a = !1, $();
5004
5030
  }
5005
5031
  function z(A, M) {
@@ -5017,17 +5043,17 @@ function requireLottie() {
5017
5043
  for (M = 0; M < i; M += 1)
5018
5044
  e[M].animation.unmute(A);
5019
5045
  }
5020
- return t.registerAnimation = o, t.loadAnimation = b, t.setSpeed = d, t.setDirection = m, t.play = S, t.pause = y, t.stop = k, t.togglePause = P, t.searchAnimations = F, t.resize = I, t.goToAndStop = g, t.destroy = T, t.freeze = O, t.unfreeze = N, t.setVolume = z, t.mute = H, t.unmute = L, t.getRegisteredAnimations = c, t;
5046
+ return t.registerAnimation = o, t.loadAnimation = b, t.setSpeed = d, t.setDirection = m, t.play = k, t.pause = y, t.stop = S, t.togglePause = P, t.searchAnimations = F, t.resize = I, t.goToAndStop = g, t.destroy = _, t.freeze = O, t.unfreeze = V, t.setVolume = z, t.mute = H, t.unmute = L, t.getRegisteredAnimations = c, t;
5021
5047
  }(), BezierFactory = function() {
5022
5048
  var t = {};
5023
5049
  t.getBezierEasing = r;
5024
5050
  var e = {};
5025
- function r(x, y, g, k, P) {
5026
- var T = P || ("bez_" + x + "_" + y + "_" + g + "_" + k).replace(/\./g, "p");
5027
- if (e[T])
5028
- return e[T];
5029
- var F = new p([x, y, g, k]);
5030
- return e[T] = F, F;
5051
+ function r(x, y, g, S, P) {
5052
+ var _ = P || ("bez_" + x + "_" + y + "_" + g + "_" + S).replace(/\./g, "p");
5053
+ if (e[_])
5054
+ return e[_];
5055
+ var F = new p([x, y, g, S]);
5056
+ return e[_] = F, F;
5031
5057
  }
5032
5058
  var i = 4, s = 1e-3, n = 1e-7, a = 10, l = 11, o = 1 / (l - 1), c = typeof Float32Array == "function";
5033
5059
  function u(x, y) {
@@ -5045,19 +5071,19 @@ function requireLottie() {
5045
5071
  function d(x, y, g) {
5046
5072
  return 3 * u(y, g) * x * x + 2 * E(y, g) * x + f(y);
5047
5073
  }
5048
- function m(x, y, g, k, P) {
5049
- var T, F, I = 0;
5074
+ function m(x, y, g, S, P) {
5075
+ var _, F, I = 0;
5050
5076
  do
5051
- F = y + (g - y) / 2, T = b(F, k, P) - x, T > 0 ? g = F : y = F;
5052
- while (Math.abs(T) > n && ++I < a);
5077
+ F = y + (g - y) / 2, _ = b(F, S, P) - x, _ > 0 ? g = F : y = F;
5078
+ while (Math.abs(_) > n && ++I < a);
5053
5079
  return F;
5054
5080
  }
5055
- function S(x, y, g, k) {
5081
+ function k(x, y, g, S) {
5056
5082
  for (var P = 0; P < i; ++P) {
5057
- var T = d(y, g, k);
5058
- if (T === 0) return y;
5059
- var F = b(y, g, k) - x;
5060
- y -= F / T;
5083
+ var _ = d(y, g, S);
5084
+ if (_ === 0) return y;
5085
+ var F = b(y, g, S) - x;
5086
+ y -= F / _;
5061
5087
  }
5062
5088
  return y;
5063
5089
  }
@@ -5066,27 +5092,27 @@ function requireLottie() {
5066
5092
  }
5067
5093
  return p.prototype = {
5068
5094
  get: function(y) {
5069
- var g = this._p[0], k = this._p[1], P = this._p[2], T = this._p[3];
5070
- return this._precomputed || this._precompute(), g === k && P === T ? y : y === 0 ? 0 : y === 1 ? 1 : b(this._getTForX(y), k, T);
5095
+ var g = this._p[0], S = this._p[1], P = this._p[2], _ = this._p[3];
5096
+ return this._precomputed || this._precompute(), g === S && P === _ ? y : y === 0 ? 0 : y === 1 ? 1 : b(this._getTForX(y), S, _);
5071
5097
  },
5072
5098
  // Private part
5073
5099
  _precompute: function() {
5074
- var y = this._p[0], g = this._p[1], k = this._p[2], P = this._p[3];
5075
- this._precomputed = !0, (y !== g || k !== P) && this._calcSampleValues();
5100
+ var y = this._p[0], g = this._p[1], S = this._p[2], P = this._p[3];
5101
+ this._precomputed = !0, (y !== g || S !== P) && this._calcSampleValues();
5076
5102
  },
5077
5103
  _calcSampleValues: function() {
5078
- for (var y = this._p[0], g = this._p[2], k = 0; k < l; ++k)
5079
- this._mSampleValues[k] = b(k * o, y, g);
5104
+ for (var y = this._p[0], g = this._p[2], S = 0; S < l; ++S)
5105
+ this._mSampleValues[S] = b(S * o, y, g);
5080
5106
  },
5081
5107
  /**
5082
5108
  * getTForX chose the fastest heuristic to determine the percentage value precisely from a given X projection.
5083
5109
  */
5084
5110
  _getTForX: function(y) {
5085
- for (var g = this._p[0], k = this._p[2], P = this._mSampleValues, T = 0, F = 1, I = l - 1; F !== I && P[F] <= y; ++F)
5086
- T += o;
5111
+ for (var g = this._p[0], S = this._p[2], P = this._mSampleValues, _ = 0, F = 1, I = l - 1; F !== I && P[F] <= y; ++F)
5112
+ _ += o;
5087
5113
  --F;
5088
- var $ = (y - P[F]) / (P[F + 1] - P[F]), O = T + $ * o, N = d(O, g, k);
5089
- return N >= s ? S(y, O, g, k) : N === 0 ? O : m(y, T, T + o, g, k);
5114
+ var $ = (y - P[F]) / (P[F + 1] - P[F]), O = _ + $ * o, V = d(O, g, S);
5115
+ return V >= s ? k(y, O, g, S) : V === 0 ? O : m(y, _, _ + o, g, S);
5090
5116
  }
5091
5117
  }, t;
5092
5118
  }(), pooling = /* @__PURE__ */ function() {
@@ -5137,32 +5163,32 @@ function requireLottie() {
5137
5163
  }();
5138
5164
  function bezFunction() {
5139
5165
  var t = Math;
5140
- function e(f, b, d, m, S, p) {
5141
- var x = f * m + b * S + d * p - S * m - p * f - d * b;
5166
+ function e(f, b, d, m, k, p) {
5167
+ var x = f * m + b * k + d * p - k * m - p * f - d * b;
5142
5168
  return x > -1e-3 && x < 1e-3;
5143
5169
  }
5144
- function r(f, b, d, m, S, p, x, y, g) {
5170
+ function r(f, b, d, m, k, p, x, y, g) {
5145
5171
  if (d === 0 && p === 0 && g === 0)
5146
- return e(f, b, m, S, x, y);
5147
- var k = t.sqrt(t.pow(m - f, 2) + t.pow(S - b, 2) + t.pow(p - d, 2)), P = t.sqrt(t.pow(x - f, 2) + t.pow(y - b, 2) + t.pow(g - d, 2)), T = t.sqrt(t.pow(x - m, 2) + t.pow(y - S, 2) + t.pow(g - p, 2)), F;
5148
- return k > P ? k > T ? F = k - P - T : F = T - P - k : T > P ? F = T - P - k : F = P - k - T, F > -1e-4 && F < 1e-4;
5172
+ return e(f, b, m, k, x, y);
5173
+ var S = t.sqrt(t.pow(m - f, 2) + t.pow(k - b, 2) + t.pow(p - d, 2)), P = t.sqrt(t.pow(x - f, 2) + t.pow(y - b, 2) + t.pow(g - d, 2)), _ = t.sqrt(t.pow(x - m, 2) + t.pow(y - k, 2) + t.pow(g - p, 2)), F;
5174
+ return S > P ? S > _ ? F = S - P - _ : F = _ - P - S : _ > P ? F = _ - P - S : F = P - S - _, F > -1e-4 && F < 1e-4;
5149
5175
  }
5150
5176
  var i = /* @__PURE__ */ function() {
5151
5177
  return function(f, b, d, m) {
5152
- var S = getDefaultCurveSegments(), p, x, y, g, k, P = 0, T, F = [], I = [], $ = bezierLengthPool.newElement();
5153
- for (y = d.length, p = 0; p < S; p += 1) {
5154
- for (k = p / (S - 1), T = 0, x = 0; x < y; x += 1)
5155
- g = bmPow(1 - k, 3) * f[x] + 3 * bmPow(1 - k, 2) * k * d[x] + 3 * (1 - k) * bmPow(k, 2) * m[x] + bmPow(k, 3) * b[x], F[x] = g, I[x] !== null && (T += bmPow(F[x] - I[x], 2)), I[x] = F[x];
5156
- T && (T = bmSqrt(T), P += T), $.percents[p] = k, $.lengths[p] = P;
5178
+ var k = getDefaultCurveSegments(), p, x, y, g, S, P = 0, _, F = [], I = [], $ = bezierLengthPool.newElement();
5179
+ for (y = d.length, p = 0; p < k; p += 1) {
5180
+ for (S = p / (k - 1), _ = 0, x = 0; x < y; x += 1)
5181
+ g = bmPow(1 - S, 3) * f[x] + 3 * bmPow(1 - S, 2) * S * d[x] + 3 * (1 - S) * bmPow(S, 2) * m[x] + bmPow(S, 3) * b[x], F[x] = g, I[x] !== null && (_ += bmPow(F[x] - I[x], 2)), I[x] = F[x];
5182
+ _ && (_ = bmSqrt(_), P += _), $.percents[p] = S, $.lengths[p] = P;
5157
5183
  }
5158
5184
  return $.addedLength = P, $;
5159
5185
  };
5160
5186
  }();
5161
5187
  function s(f) {
5162
- var b = segmentsLengthPool.newElement(), d = f.c, m = f.v, S = f.o, p = f.i, x, y = f._length, g = b.lengths, k = 0;
5188
+ var b = segmentsLengthPool.newElement(), d = f.c, m = f.v, k = f.o, p = f.i, x, y = f._length, g = b.lengths, S = 0;
5163
5189
  for (x = 0; x < y - 1; x += 1)
5164
- g[x] = i(m[x], m[x + 1], S[x], p[x + 1]), k += g[x].addedLength;
5165
- return d && y && (g[x] = i(m[x], m[0], S[x], p[0]), k += g[x].addedLength), b.totalLength = k, b;
5190
+ g[x] = i(m[x], m[x + 1], k[x], p[x + 1]), S += g[x].addedLength;
5191
+ return d && y && (g[x] = i(m[x], m[0], k[x], p[0]), S += g[x].addedLength), b.totalLength = S, b;
5166
5192
  }
5167
5193
  function n(f) {
5168
5194
  this.segmentLength = 0, this.points = new Array(f);
@@ -5172,46 +5198,46 @@ function requireLottie() {
5172
5198
  }
5173
5199
  var l = /* @__PURE__ */ function() {
5174
5200
  var f = {};
5175
- return function(b, d, m, S) {
5176
- var p = (b[0] + "_" + b[1] + "_" + d[0] + "_" + d[1] + "_" + m[0] + "_" + m[1] + "_" + S[0] + "_" + S[1]).replace(/\./g, "p");
5201
+ return function(b, d, m, k) {
5202
+ var p = (b[0] + "_" + b[1] + "_" + d[0] + "_" + d[1] + "_" + m[0] + "_" + m[1] + "_" + k[0] + "_" + k[1]).replace(/\./g, "p");
5177
5203
  if (!f[p]) {
5178
- var x = getDefaultCurveSegments(), y, g, k, P, T, F = 0, I, $, O = null;
5179
- b.length === 2 && (b[0] !== d[0] || b[1] !== d[1]) && e(b[0], b[1], d[0], d[1], b[0] + m[0], b[1] + m[1]) && e(b[0], b[1], d[0], d[1], d[0] + S[0], d[1] + S[1]) && (x = 2);
5180
- var N = new n(x);
5181
- for (k = m.length, y = 0; y < x; y += 1) {
5182
- for ($ = createSizedArray(k), T = y / (x - 1), I = 0, g = 0; g < k; g += 1)
5183
- P = bmPow(1 - T, 3) * b[g] + 3 * bmPow(1 - T, 2) * T * (b[g] + m[g]) + 3 * (1 - T) * bmPow(T, 2) * (d[g] + S[g]) + bmPow(T, 3) * d[g], $[g] = P, O !== null && (I += bmPow($[g] - O[g], 2));
5184
- I = bmSqrt(I), F += I, N.points[y] = new a(I, $), O = $;
5204
+ var x = getDefaultCurveSegments(), y, g, S, P, _, F = 0, I, $, O = null;
5205
+ b.length === 2 && (b[0] !== d[0] || b[1] !== d[1]) && e(b[0], b[1], d[0], d[1], b[0] + m[0], b[1] + m[1]) && e(b[0], b[1], d[0], d[1], d[0] + k[0], d[1] + k[1]) && (x = 2);
5206
+ var V = new n(x);
5207
+ for (S = m.length, y = 0; y < x; y += 1) {
5208
+ for ($ = createSizedArray(S), _ = y / (x - 1), I = 0, g = 0; g < S; g += 1)
5209
+ P = bmPow(1 - _, 3) * b[g] + 3 * bmPow(1 - _, 2) * _ * (b[g] + m[g]) + 3 * (1 - _) * bmPow(_, 2) * (d[g] + k[g]) + bmPow(_, 3) * d[g], $[g] = P, O !== null && (I += bmPow($[g] - O[g], 2));
5210
+ I = bmSqrt(I), F += I, V.points[y] = new a(I, $), O = $;
5185
5211
  }
5186
- N.segmentLength = F, f[p] = N;
5212
+ V.segmentLength = F, f[p] = V;
5187
5213
  }
5188
5214
  return f[p];
5189
5215
  };
5190
5216
  }();
5191
5217
  function o(f, b) {
5192
- var d = b.percents, m = b.lengths, S = d.length, p = bmFloor((S - 1) * f), x = f * b.addedLength, y = 0;
5193
- if (p === S - 1 || p === 0 || x === m[p])
5218
+ var d = b.percents, m = b.lengths, k = d.length, p = bmFloor((k - 1) * f), x = f * b.addedLength, y = 0;
5219
+ if (p === k - 1 || p === 0 || x === m[p])
5194
5220
  return d[p];
5195
- for (var g = m[p] > x ? -1 : 1, k = !0; k; )
5196
- if (m[p] <= x && m[p + 1] > x ? (y = (x - m[p]) / (m[p + 1] - m[p]), k = !1) : p += g, p < 0 || p >= S - 1) {
5197
- if (p === S - 1)
5221
+ for (var g = m[p] > x ? -1 : 1, S = !0; S; )
5222
+ if (m[p] <= x && m[p + 1] > x ? (y = (x - m[p]) / (m[p + 1] - m[p]), S = !1) : p += g, p < 0 || p >= k - 1) {
5223
+ if (p === k - 1)
5198
5224
  return d[p];
5199
- k = !1;
5225
+ S = !1;
5200
5226
  }
5201
5227
  return d[p] + (d[p + 1] - d[p]) * y;
5202
5228
  }
5203
- function c(f, b, d, m, S, p) {
5204
- var x = o(S, p), y = 1 - x, g = t.round((y * y * y * f[0] + (x * y * y + y * x * y + y * y * x) * d[0] + (x * x * y + y * x * x + x * y * x) * m[0] + x * x * x * b[0]) * 1e3) / 1e3, k = t.round((y * y * y * f[1] + (x * y * y + y * x * y + y * y * x) * d[1] + (x * x * y + y * x * x + x * y * x) * m[1] + x * x * x * b[1]) * 1e3) / 1e3;
5205
- return [g, k];
5229
+ function c(f, b, d, m, k, p) {
5230
+ var x = o(k, p), y = 1 - x, g = t.round((y * y * y * f[0] + (x * y * y + y * x * y + y * y * x) * d[0] + (x * x * y + y * x * x + x * y * x) * m[0] + x * x * x * b[0]) * 1e3) / 1e3, S = t.round((y * y * y * f[1] + (x * y * y + y * x * y + y * y * x) * d[1] + (x * x * y + y * x * x + x * y * x) * m[1] + x * x * x * b[1]) * 1e3) / 1e3;
5231
+ return [g, S];
5206
5232
  }
5207
5233
  var u = createTypedArray("float32", 8);
5208
- function E(f, b, d, m, S, p, x) {
5209
- S < 0 ? S = 0 : S > 1 && (S = 1);
5210
- var y = o(S, x);
5234
+ function E(f, b, d, m, k, p, x) {
5235
+ k < 0 ? k = 0 : k > 1 && (k = 1);
5236
+ var y = o(k, x);
5211
5237
  p = p > 1 ? 1 : p;
5212
- var g = o(p, x), k, P = f.length, T = 1 - y, F = 1 - g, I = T * T * T, $ = y * T * T * 3, O = y * y * T * 3, N = y * y * y, z = T * T * F, H = y * T * F + T * y * F + T * T * g, L = y * y * F + T * y * g + y * T * g, A = y * y * g, M = T * F * F, C = y * F * F + T * g * F + T * F * g, R = y * g * F + T * g * g + y * F * g, j = y * g * g, _ = F * F * F, D = g * F * F + F * g * F + F * F * g, V = g * g * F + F * g * g + g * F * g, G = g * g * g;
5213
- for (k = 0; k < P; k += 1)
5214
- u[k * 4] = t.round((I * f[k] + $ * d[k] + O * m[k] + N * b[k]) * 1e3) / 1e3, u[k * 4 + 1] = t.round((z * f[k] + H * d[k] + L * m[k] + A * b[k]) * 1e3) / 1e3, u[k * 4 + 2] = t.round((M * f[k] + C * d[k] + R * m[k] + j * b[k]) * 1e3) / 1e3, u[k * 4 + 3] = t.round((_ * f[k] + D * d[k] + V * m[k] + G * b[k]) * 1e3) / 1e3;
5238
+ var g = o(p, x), S, P = f.length, _ = 1 - y, F = 1 - g, I = _ * _ * _, $ = y * _ * _ * 3, O = y * y * _ * 3, V = y * y * y, z = _ * _ * F, H = y * _ * F + _ * y * F + _ * _ * g, L = y * y * F + _ * y * g + y * _ * g, A = y * y * g, M = _ * F * F, C = y * F * F + _ * g * F + _ * F * g, R = y * g * F + _ * g * g + y * F * g, j = y * g * g, T = F * F * F, D = g * F * F + F * g * F + F * F * g, B = g * g * F + F * g * g + g * F * g, G = g * g * g;
5239
+ for (S = 0; S < P; S += 1)
5240
+ u[S * 4] = t.round((I * f[S] + $ * d[S] + O * m[S] + V * b[S]) * 1e3) / 1e3, u[S * 4 + 1] = t.round((z * f[S] + H * d[S] + L * m[S] + A * b[S]) * 1e3) / 1e3, u[S * 4 + 2] = t.round((M * f[S] + C * d[S] + R * m[S] + j * b[S]) * 1e3) / 1e3, u[S * 4 + 3] = t.round((T * f[S] + D * d[S] + B * m[S] + G * b[S]) * 1e3) / 1e3;
5215
5241
  return u;
5216
5242
  }
5217
5243
  return {
@@ -5239,25 +5265,25 @@ function requireLottie() {
5239
5265
  n < a - 1 ? n += 1 : (s = 0, l = !1);
5240
5266
  }
5241
5267
  u = this.keyframesMetadata[n] || {};
5242
- var E, f, b, d, m, S, p = c.t - r, x = o.t - r, y;
5268
+ var E, f, b, d, m, k, p = c.t - r, x = o.t - r, y;
5243
5269
  if (o.to) {
5244
5270
  u.bezierData || (u.bezierData = bez.buildBezierData(o.s, c.s || o.e, o.to, o.ti));
5245
5271
  var g = u.bezierData;
5246
5272
  if (t >= p || t < x) {
5247
- var k = t >= p ? g.points.length - 1 : 0;
5248
- for (f = g.points[k].point.length, E = 0; E < f; E += 1)
5249
- i[E] = g.points[k].point[E];
5273
+ var S = t >= p ? g.points.length - 1 : 0;
5274
+ for (f = g.points[S].point.length, E = 0; E < f; E += 1)
5275
+ i[E] = g.points[S].point[E];
5250
5276
  } else {
5251
- u.__fnct ? S = u.__fnct : (S = BezierFactory.getBezierEasing(o.o.x, o.o.y, o.i.x, o.i.y, o.n).get, u.__fnct = S), b = S((t - x) / (p - x));
5252
- var P = g.segmentLength * b, T, F = e.lastFrame < t && e._lastKeyframeIndex === n ? e._lastAddedLength : 0;
5277
+ u.__fnct ? k = u.__fnct : (k = BezierFactory.getBezierEasing(o.o.x, o.o.y, o.i.x, o.i.y, o.n).get, u.__fnct = k), b = k((t - x) / (p - x));
5278
+ var P = g.segmentLength * b, _, F = e.lastFrame < t && e._lastKeyframeIndex === n ? e._lastAddedLength : 0;
5253
5279
  for (m = e.lastFrame < t && e._lastKeyframeIndex === n ? e._lastPoint : 0, l = !0, d = g.points.length; l; ) {
5254
5280
  if (F += g.points[m].partialLength, P === 0 || b === 0 || m === g.points.length - 1) {
5255
5281
  for (f = g.points[m].point.length, E = 0; E < f; E += 1)
5256
5282
  i[E] = g.points[m].point[E];
5257
5283
  break;
5258
5284
  } else if (P >= F && P < F + g.points[m + 1].partialLength) {
5259
- for (T = (P - F) / g.points[m + 1].partialLength, f = g.points[m].point.length, E = 0; E < f; E += 1)
5260
- i[E] = g.points[m].point[E] + (g.points[m + 1].point[E] - g.points[m].point[E]) * T;
5285
+ for (_ = (P - F) / g.points[m + 1].partialLength, f = g.points[m].point.length, E = 0; E < f; E += 1)
5286
+ i[E] = g.points[m].point[E] + (g.points[m + 1].point[E] - g.points[m].point[E]) * _;
5261
5287
  break;
5262
5288
  }
5263
5289
  m < d - 1 ? m += 1 : l = !1;
@@ -5265,7 +5291,7 @@ function requireLottie() {
5265
5291
  e._lastPoint = m, e._lastAddedLength = F - g.points[m].partialLength, e._lastKeyframeIndex = n;
5266
5292
  }
5267
5293
  } else {
5268
- var I, $, O, N, z;
5294
+ var I, $, O, V, z;
5269
5295
  if (a = o.s.length, y = c.s || o.e, this.sh && o.h !== 1)
5270
5296
  if (t >= p)
5271
5297
  i[0] = y[0], i[1] = y[1], i[2] = y[2];
@@ -5277,13 +5303,13 @@ function requireLottie() {
5277
5303
  }
5278
5304
  else
5279
5305
  for (n = 0; n < a; n += 1)
5280
- o.h !== 1 && (t >= p ? b = 1 : t < x ? b = 0 : (o.o.x.constructor === Array ? (u.__fnct || (u.__fnct = []), u.__fnct[n] ? S = u.__fnct[n] : (I = o.o.x[n] === void 0 ? o.o.x[0] : o.o.x[n], $ = o.o.y[n] === void 0 ? o.o.y[0] : o.o.y[n], O = o.i.x[n] === void 0 ? o.i.x[0] : o.i.x[n], N = o.i.y[n] === void 0 ? o.i.y[0] : o.i.y[n], S = BezierFactory.getBezierEasing(I, $, O, N).get, u.__fnct[n] = S)) : u.__fnct ? S = u.__fnct : (I = o.o.x, $ = o.o.y, O = o.i.x, N = o.i.y, S = BezierFactory.getBezierEasing(I, $, O, N).get, o.keyframeMetadata = S), b = S((t - x) / (p - x)))), y = c.s || o.e, z = o.h === 1 ? o.s[n] : o.s[n] + (y[n] - o.s[n]) * b, this.propType === "multidimensional" ? i[n] = z : i = z;
5306
+ o.h !== 1 && (t >= p ? b = 1 : t < x ? b = 0 : (o.o.x.constructor === Array ? (u.__fnct || (u.__fnct = []), u.__fnct[n] ? k = u.__fnct[n] : (I = o.o.x[n] === void 0 ? o.o.x[0] : o.o.x[n], $ = o.o.y[n] === void 0 ? o.o.y[0] : o.o.y[n], O = o.i.x[n] === void 0 ? o.i.x[0] : o.i.x[n], V = o.i.y[n] === void 0 ? o.i.y[0] : o.i.y[n], k = BezierFactory.getBezierEasing(I, $, O, V).get, u.__fnct[n] = k)) : u.__fnct ? k = u.__fnct : (I = o.o.x, $ = o.o.y, O = o.i.x, V = o.i.y, k = BezierFactory.getBezierEasing(I, $, O, V).get, o.keyframeMetadata = k), b = k((t - x) / (p - x)))), y = c.s || o.e, z = o.h === 1 ? o.s[n] : o.s[n] + (y[n] - o.s[n]) * b, this.propType === "multidimensional" ? i[n] = z : i = z;
5281
5307
  }
5282
5308
  return e.lastIndex = s, i;
5283
5309
  }
5284
5310
  function slerp(t, e, r) {
5285
- var i = [], s = t[0], n = t[1], a = t[2], l = t[3], o = e[0], c = e[1], u = e[2], E = e[3], f, b, d, m, S;
5286
- return b = s * o + n * c + a * u + l * E, b < 0 && (b = -b, o = -o, c = -c, u = -u, E = -E), 1 - b > 1e-6 ? (f = Math.acos(b), d = Math.sin(f), m = Math.sin((1 - r) * f) / d, S = Math.sin(r * f) / d) : (m = 1 - r, S = r), i[0] = m * s + S * o, i[1] = m * n + S * c, i[2] = m * a + S * u, i[3] = m * l + S * E, i;
5311
+ var i = [], s = t[0], n = t[1], a = t[2], l = t[3], o = e[0], c = e[1], u = e[2], E = e[3], f, b, d, m, k;
5312
+ return b = s * o + n * c + a * u + l * E, b < 0 && (b = -b, o = -o, c = -c, u = -u, E = -E), 1 - b > 1e-6 ? (f = Math.acos(b), d = Math.sin(f), m = Math.sin((1 - r) * f) / d, k = Math.sin(r * f) / d) : (m = 1 - r, k = r), i[0] = m * s + k * o, i[1] = m * n + k * c, i[2] = m * a + k * u, i[3] = m * l + k * E, i;
5287
5313
  }
5288
5314
  function quaternionToEuler(t, e) {
5289
5315
  var r = e[0], i = e[1], s = e[2], n = e[3], a = Math.atan2(2 * i * n - 2 * r * s, 1 - 2 * i * i - 2 * s * s), l = Math.asin(2 * r * i + 2 * s * n), o = Math.atan2(2 * r * n - 2 * i * s, 1 - 2 * r * r - 2 * s * s);
@@ -5498,30 +5524,30 @@ function requireLottie() {
5498
5524
  }(), ShapePropertyFactory = function() {
5499
5525
  var t = -999999;
5500
5526
  function e(p, x, y) {
5501
- var g = y.lastIndex, k, P, T, F, I, $, O, N, z, H = this.keyframes;
5527
+ var g = y.lastIndex, S, P, _, F, I, $, O, V, z, H = this.keyframes;
5502
5528
  if (p < H[0].t - this.offsetTime)
5503
- k = H[0].s[0], T = !0, g = 0;
5529
+ S = H[0].s[0], _ = !0, g = 0;
5504
5530
  else if (p >= H[H.length - 1].t - this.offsetTime)
5505
- k = H[H.length - 1].s ? H[H.length - 1].s[0] : H[H.length - 2].e[0], T = !0;
5531
+ S = H[H.length - 1].s ? H[H.length - 1].s[0] : H[H.length - 2].e[0], _ = !0;
5506
5532
  else {
5507
5533
  for (var L = g, A = H.length - 1, M = !0, C, R, j; M && (C = H[L], R = H[L + 1], !(R.t - this.offsetTime > p)); )
5508
5534
  L < A - 1 ? L += 1 : M = !1;
5509
- if (j = this.keyframesMetadata[L] || {}, T = C.h === 1, g = L, !T) {
5535
+ if (j = this.keyframesMetadata[L] || {}, _ = C.h === 1, g = L, !_) {
5510
5536
  if (p >= R.t - this.offsetTime)
5511
- N = 1;
5537
+ V = 1;
5512
5538
  else if (p < C.t - this.offsetTime)
5513
- N = 0;
5539
+ V = 0;
5514
5540
  else {
5515
- var _;
5516
- j.__fnct ? _ = j.__fnct : (_ = BezierFactory.getBezierEasing(C.o.x, C.o.y, C.i.x, C.i.y).get, j.__fnct = _), N = _((p - (C.t - this.offsetTime)) / (R.t - this.offsetTime - (C.t - this.offsetTime)));
5541
+ var T;
5542
+ j.__fnct ? T = j.__fnct : (T = BezierFactory.getBezierEasing(C.o.x, C.o.y, C.i.x, C.i.y).get, j.__fnct = T), V = T((p - (C.t - this.offsetTime)) / (R.t - this.offsetTime - (C.t - this.offsetTime)));
5517
5543
  }
5518
5544
  P = R.s ? R.s[0] : C.e[0];
5519
5545
  }
5520
- k = C.s[0];
5546
+ S = C.s[0];
5521
5547
  }
5522
- for ($ = x._length, O = k.i[0].length, y.lastIndex = g, F = 0; F < $; F += 1)
5548
+ for ($ = x._length, O = S.i[0].length, y.lastIndex = g, F = 0; F < $; F += 1)
5523
5549
  for (I = 0; I < O; I += 1)
5524
- z = T ? k.i[F][I] : k.i[F][I] + (P.i[F][I] - k.i[F][I]) * N, x.i[F][I] = z, z = T ? k.o[F][I] : k.o[F][I] + (P.o[F][I] - k.o[F][I]) * N, x.o[F][I] = z, z = T ? k.v[F][I] : k.v[F][I] + (P.v[F][I] - k.v[F][I]) * N, x.v[F][I] = z;
5550
+ z = _ ? S.i[F][I] : S.i[F][I] + (P.i[F][I] - S.i[F][I]) * V, x.i[F][I] = z, z = _ ? S.o[F][I] : S.o[F][I] + (P.o[F][I] - S.o[F][I]) * V, x.o[F][I] = z, z = _ ? S.v[F][I] : S.v[F][I] + (P.v[F][I] - S.v[F][I]) * V, x.v[F][I] = z;
5525
5551
  }
5526
5552
  function r() {
5527
5553
  var p = this.comp.renderedFrame - this.offsetTime, x = this.keyframes[0].t - this.offsetTime, y = this.keyframes[this.keyframes.length - 1].t - this.offsetTime, g = this._caching.lastFrame;
@@ -5590,8 +5616,8 @@ function requireLottie() {
5590
5616
  this.elem.globalData.frameId !== this.frameId && (this.frameId = this.elem.globalData.frameId, this.iterateDynamicProperties(), this._mdf && this.convertEllToPath());
5591
5617
  },
5592
5618
  convertEllToPath: function() {
5593
- var g = this.p.v[0], k = this.p.v[1], P = this.s.v[0] / 2, T = this.s.v[1] / 2, F = this.d !== 3, I = this.v;
5594
- I.v[0][0] = g, I.v[0][1] = k - T, I.v[1][0] = F ? g + P : g - P, I.v[1][1] = k, I.v[2][0] = g, I.v[2][1] = k + T, I.v[3][0] = F ? g - P : g + P, I.v[3][1] = k, I.i[0][0] = F ? g - P * p : g + P * p, I.i[0][1] = k - T, I.i[1][0] = F ? g + P : g - P, I.i[1][1] = k - T * p, I.i[2][0] = F ? g + P * p : g - P * p, I.i[2][1] = k + T, I.i[3][0] = F ? g - P : g + P, I.i[3][1] = k + T * p, I.o[0][0] = F ? g + P * p : g - P * p, I.o[0][1] = k - T, I.o[1][0] = F ? g + P : g - P, I.o[1][1] = k + T * p, I.o[2][0] = F ? g - P * p : g + P * p, I.o[2][1] = k + T, I.o[3][0] = F ? g - P : g + P, I.o[3][1] = k - T * p;
5619
+ var g = this.p.v[0], S = this.p.v[1], P = this.s.v[0] / 2, _ = this.s.v[1] / 2, F = this.d !== 3, I = this.v;
5620
+ I.v[0][0] = g, I.v[0][1] = S - _, I.v[1][0] = F ? g + P : g - P, I.v[1][1] = S, I.v[2][0] = g, I.v[2][1] = S + _, I.v[3][0] = F ? g - P : g + P, I.v[3][1] = S, I.i[0][0] = F ? g - P * p : g + P * p, I.i[0][1] = S - _, I.i[1][0] = F ? g + P : g - P, I.i[1][1] = S - _ * p, I.i[2][0] = F ? g + P * p : g - P * p, I.i[2][1] = S + _, I.i[3][0] = F ? g - P : g + P, I.i[3][1] = S + _ * p, I.o[0][0] = F ? g + P * p : g - P * p, I.o[0][1] = S - _, I.o[1][0] = F ? g + P : g - P, I.o[1][1] = S + _ * p, I.o[2][0] = F ? g - P * p : g + P * p, I.o[2][1] = S + _, I.o[3][0] = F ? g - P : g + P, I.o[3][1] = S - _ * p;
5595
5621
  }
5596
5622
  }, extendPrototype([DynamicPropertyContainer], x), x;
5597
5623
  }(), E = function() {
@@ -5604,20 +5630,20 @@ function requireLottie() {
5604
5630
  this.elem.globalData.frameId !== this.frameId && (this.frameId = this.elem.globalData.frameId, this.iterateDynamicProperties(), this._mdf && this.convertToPath());
5605
5631
  },
5606
5632
  convertStarToPath: function() {
5607
- var y = Math.floor(this.pt.v) * 2, g = Math.PI * 2 / y, k = !0, P = this.or.v, T = this.ir.v, F = this.os.v, I = this.is.v, $ = 2 * Math.PI * P / (y * 2), O = 2 * Math.PI * T / (y * 2), N, z, H, L, A = -Math.PI / 2;
5633
+ var y = Math.floor(this.pt.v) * 2, g = Math.PI * 2 / y, S = !0, P = this.or.v, _ = this.ir.v, F = this.os.v, I = this.is.v, $ = 2 * Math.PI * P / (y * 2), O = 2 * Math.PI * _ / (y * 2), V, z, H, L, A = -Math.PI / 2;
5608
5634
  A += this.r.v;
5609
5635
  var M = this.data.d === 3 ? -1 : 1;
5610
- for (this.v._length = 0, N = 0; N < y; N += 1) {
5611
- z = k ? P : T, H = k ? F : I, L = k ? $ : O;
5612
- var C = z * Math.cos(A), R = z * Math.sin(A), j = C === 0 && R === 0 ? 0 : R / Math.sqrt(C * C + R * R), _ = C === 0 && R === 0 ? 0 : -C / Math.sqrt(C * C + R * R);
5613
- C += +this.p.v[0], R += +this.p.v[1], this.v.setTripleAt(C, R, C - j * L * H * M, R - _ * L * H * M, C + j * L * H * M, R + _ * L * H * M, N, !0), k = !k, A += g * M;
5636
+ for (this.v._length = 0, V = 0; V < y; V += 1) {
5637
+ z = S ? P : _, H = S ? F : I, L = S ? $ : O;
5638
+ var C = z * Math.cos(A), R = z * Math.sin(A), j = C === 0 && R === 0 ? 0 : R / Math.sqrt(C * C + R * R), T = C === 0 && R === 0 ? 0 : -C / Math.sqrt(C * C + R * R);
5639
+ C += +this.p.v[0], R += +this.p.v[1], this.v.setTripleAt(C, R, C - j * L * H * M, R - T * L * H * M, C + j * L * H * M, R + T * L * H * M, V, !0), S = !S, A += g * M;
5614
5640
  }
5615
5641
  },
5616
5642
  convertPolygonToPath: function() {
5617
- var y = Math.floor(this.pt.v), g = Math.PI * 2 / y, k = this.or.v, P = this.os.v, T = 2 * Math.PI * k / (y * 4), F, I = -Math.PI * 0.5, $ = this.data.d === 3 ? -1 : 1;
5643
+ var y = Math.floor(this.pt.v), g = Math.PI * 2 / y, S = this.or.v, P = this.os.v, _ = 2 * Math.PI * S / (y * 4), F, I = -Math.PI * 0.5, $ = this.data.d === 3 ? -1 : 1;
5618
5644
  for (I += this.r.v, this.v._length = 0, F = 0; F < y; F += 1) {
5619
- var O = k * Math.cos(I), N = k * Math.sin(I), z = O === 0 && N === 0 ? 0 : N / Math.sqrt(O * O + N * N), H = O === 0 && N === 0 ? 0 : -O / Math.sqrt(O * O + N * N);
5620
- O += +this.p.v[0], N += +this.p.v[1], this.v.setTripleAt(O, N, O - z * T * P * $, N - H * T * P * $, O + z * T * P * $, N + H * T * P * $, F, !0), I += g * $;
5645
+ var O = S * Math.cos(I), V = S * Math.sin(I), z = O === 0 && V === 0 ? 0 : V / Math.sqrt(O * O + V * V), H = O === 0 && V === 0 ? 0 : -O / Math.sqrt(O * O + V * V);
5646
+ O += +this.p.v[0], V += +this.p.v[1], this.v.setTripleAt(O, V, O - z * _ * P * $, V - H * _ * P * $, O + z * _ * P * $, V + H * _ * P * $, F, !0), I += g * $;
5621
5647
  }
5622
5648
  this.paths.length = 0, this.paths[0] = this.v;
5623
5649
  }
@@ -5628,8 +5654,8 @@ function requireLottie() {
5628
5654
  }
5629
5655
  return p.prototype = {
5630
5656
  convertRectToPath: function() {
5631
- var y = this.p.v[0], g = this.p.v[1], k = this.s.v[0] / 2, P = this.s.v[1] / 2, T = bmMin(k, P, this.r.v), F = T * (1 - roundCorner);
5632
- this.v._length = 0, this.d === 2 || this.d === 1 ? (this.v.setTripleAt(y + k, g - P + T, y + k, g - P + T, y + k, g - P + F, 0, !0), this.v.setTripleAt(y + k, g + P - T, y + k, g + P - F, y + k, g + P - T, 1, !0), T !== 0 ? (this.v.setTripleAt(y + k - T, g + P, y + k - T, g + P, y + k - F, g + P, 2, !0), this.v.setTripleAt(y - k + T, g + P, y - k + F, g + P, y - k + T, g + P, 3, !0), this.v.setTripleAt(y - k, g + P - T, y - k, g + P - T, y - k, g + P - F, 4, !0), this.v.setTripleAt(y - k, g - P + T, y - k, g - P + F, y - k, g - P + T, 5, !0), this.v.setTripleAt(y - k + T, g - P, y - k + T, g - P, y - k + F, g - P, 6, !0), this.v.setTripleAt(y + k - T, g - P, y + k - F, g - P, y + k - T, g - P, 7, !0)) : (this.v.setTripleAt(y - k, g + P, y - k + F, g + P, y - k, g + P, 2), this.v.setTripleAt(y - k, g - P, y - k, g - P + F, y - k, g - P, 3))) : (this.v.setTripleAt(y + k, g - P + T, y + k, g - P + F, y + k, g - P + T, 0, !0), T !== 0 ? (this.v.setTripleAt(y + k - T, g - P, y + k - T, g - P, y + k - F, g - P, 1, !0), this.v.setTripleAt(y - k + T, g - P, y - k + F, g - P, y - k + T, g - P, 2, !0), this.v.setTripleAt(y - k, g - P + T, y - k, g - P + T, y - k, g - P + F, 3, !0), this.v.setTripleAt(y - k, g + P - T, y - k, g + P - F, y - k, g + P - T, 4, !0), this.v.setTripleAt(y - k + T, g + P, y - k + T, g + P, y - k + F, g + P, 5, !0), this.v.setTripleAt(y + k - T, g + P, y + k - F, g + P, y + k - T, g + P, 6, !0), this.v.setTripleAt(y + k, g + P - T, y + k, g + P - T, y + k, g + P - F, 7, !0)) : (this.v.setTripleAt(y - k, g - P, y - k + F, g - P, y - k, g - P, 1, !0), this.v.setTripleAt(y - k, g + P, y - k, g + P - F, y - k, g + P, 2, !0), this.v.setTripleAt(y + k, g + P, y + k - F, g + P, y + k, g + P, 3, !0)));
5657
+ var y = this.p.v[0], g = this.p.v[1], S = this.s.v[0] / 2, P = this.s.v[1] / 2, _ = bmMin(S, P, this.r.v), F = _ * (1 - roundCorner);
5658
+ this.v._length = 0, this.d === 2 || this.d === 1 ? (this.v.setTripleAt(y + S, g - P + _, y + S, g - P + _, y + S, g - P + F, 0, !0), this.v.setTripleAt(y + S, g + P - _, y + S, g + P - F, y + S, g + P - _, 1, !0), _ !== 0 ? (this.v.setTripleAt(y + S - _, g + P, y + S - _, g + P, y + S - F, g + P, 2, !0), this.v.setTripleAt(y - S + _, g + P, y - S + F, g + P, y - S + _, g + P, 3, !0), this.v.setTripleAt(y - S, g + P - _, y - S, g + P - _, y - S, g + P - F, 4, !0), this.v.setTripleAt(y - S, g - P + _, y - S, g - P + F, y - S, g - P + _, 5, !0), this.v.setTripleAt(y - S + _, g - P, y - S + _, g - P, y - S + F, g - P, 6, !0), this.v.setTripleAt(y + S - _, g - P, y + S - F, g - P, y + S - _, g - P, 7, !0)) : (this.v.setTripleAt(y - S, g + P, y - S + F, g + P, y - S, g + P, 2), this.v.setTripleAt(y - S, g - P, y - S, g - P + F, y - S, g - P, 3))) : (this.v.setTripleAt(y + S, g - P + _, y + S, g - P + F, y + S, g - P + _, 0, !0), _ !== 0 ? (this.v.setTripleAt(y + S - _, g - P, y + S - _, g - P, y + S - F, g - P, 1, !0), this.v.setTripleAt(y - S + _, g - P, y - S + F, g - P, y - S + _, g - P, 2, !0), this.v.setTripleAt(y - S, g - P + _, y - S, g - P + _, y - S, g - P + F, 3, !0), this.v.setTripleAt(y - S, g + P - _, y - S, g + P - F, y - S, g + P - _, 4, !0), this.v.setTripleAt(y - S + _, g + P, y - S + _, g + P, y - S + F, g + P, 5, !0), this.v.setTripleAt(y + S - _, g + P, y + S - F, g + P, y + S - _, g + P, 6, !0), this.v.setTripleAt(y + S, g + P - _, y + S, g + P - _, y + S, g + P - F, 7, !0)) : (this.v.setTripleAt(y - S, g - P, y - S + F, g - P, y - S, g - P, 1, !0), this.v.setTripleAt(y - S, g + P, y - S, g + P - F, y - S, g + P, 2, !0), this.v.setTripleAt(y + S, g + P, y + S - F, g + P, y + S, g + P, 3, !0)));
5633
5659
  },
5634
5660
  getValue: function() {
5635
5661
  this.elem.globalData.frameId !== this.frameId && (this.frameId = this.elem.globalData.frameId, this.iterateDynamicProperties(), this._mdf && this.convertRectToPath());
@@ -5640,7 +5666,7 @@ function requireLottie() {
5640
5666
  function b(p, x, y) {
5641
5667
  var g;
5642
5668
  if (y === 3 || y === 4) {
5643
- var k = y === 3 ? x.pt : x.ks, P = k.k;
5669
+ var S = y === 3 ? x.pt : x.ks, P = S.k;
5644
5670
  P.length ? g = new c(p, x, y) : g = new l(p, x, y);
5645
5671
  } else y === 5 ? g = new f(p, x) : y === 6 ? g = new u(p, x) : y === 7 && (g = new E(p, x));
5646
5672
  return g.k && p.addDynamicProperty(g), g;
@@ -5651,8 +5677,8 @@ function requireLottie() {
5651
5677
  function m() {
5652
5678
  return c;
5653
5679
  }
5654
- var S = {};
5655
- return S.getShapeProp = b, S.getConstructorFunction = d, S.getKeyframedConstructorFunction = m, S;
5680
+ var k = {};
5681
+ return k.getShapeProp = b, k.getConstructorFunction = d, k.getKeyframedConstructorFunction = m, k;
5656
5682
  }();
5657
5683
  /*!
5658
5684
  Transformation Matrix v2.0
@@ -5698,26 +5724,26 @@ function requireLottie() {
5698
5724
  return this.shear(r(C), r(R));
5699
5725
  }
5700
5726
  function E(C, R) {
5701
- var j = t(R), _ = e(R);
5702
- return this._t(j, _, 0, 0, -_, j, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)._t(1, 0, 0, 0, r(C), 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)._t(j, -_, 0, 0, _, j, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
5727
+ var j = t(R), T = e(R);
5728
+ return this._t(j, T, 0, 0, -T, j, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)._t(1, 0, 0, 0, r(C), 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)._t(j, -T, 0, 0, T, j, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
5703
5729
  }
5704
5730
  function f(C, R, j) {
5705
5731
  return !j && j !== 0 && (j = 1), C === 1 && R === 1 && j === 1 ? this : this._t(C, 0, 0, 0, 0, R, 0, 0, 0, 0, j, 0, 0, 0, 0, 1);
5706
5732
  }
5707
- function b(C, R, j, _, D, V, G, J, K, X, Q, st, at, nt, ct, tt) {
5708
- return this.props[0] = C, this.props[1] = R, this.props[2] = j, this.props[3] = _, this.props[4] = D, this.props[5] = V, this.props[6] = G, this.props[7] = J, this.props[8] = K, this.props[9] = X, this.props[10] = Q, this.props[11] = st, this.props[12] = at, this.props[13] = nt, this.props[14] = ct, this.props[15] = tt, this;
5733
+ function b(C, R, j, T, D, B, G, J, K, X, Q, st, at, nt, ct, tt) {
5734
+ return this.props[0] = C, this.props[1] = R, this.props[2] = j, this.props[3] = T, this.props[4] = D, this.props[5] = B, this.props[6] = G, this.props[7] = J, this.props[8] = K, this.props[9] = X, this.props[10] = Q, this.props[11] = st, this.props[12] = at, this.props[13] = nt, this.props[14] = ct, this.props[15] = tt, this;
5709
5735
  }
5710
5736
  function d(C, R, j) {
5711
5737
  return j = j || 0, C !== 0 || R !== 0 || j !== 0 ? this._t(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, C, R, j, 1) : this;
5712
5738
  }
5713
- function m(C, R, j, _, D, V, G, J, K, X, Q, st, at, nt, ct, tt) {
5739
+ function m(C, R, j, T, D, B, G, J, K, X, Q, st, at, nt, ct, tt) {
5714
5740
  var q = this.props;
5715
- if (C === 1 && R === 0 && j === 0 && _ === 0 && D === 0 && V === 1 && G === 0 && J === 0 && K === 0 && X === 0 && Q === 1 && st === 0)
5716
- return q[12] = q[12] * C + q[15] * at, q[13] = q[13] * V + q[15] * nt, q[14] = q[14] * Q + q[15] * ct, q[15] *= tt, this._identityCalculated = !1, this;
5741
+ if (C === 1 && R === 0 && j === 0 && T === 0 && D === 0 && B === 1 && G === 0 && J === 0 && K === 0 && X === 0 && Q === 1 && st === 0)
5742
+ return q[12] = q[12] * C + q[15] * at, q[13] = q[13] * B + q[15] * nt, q[14] = q[14] * Q + q[15] * ct, q[15] *= tt, this._identityCalculated = !1, this;
5717
5743
  var ot = q[0], ut = q[1], pt = q[2], mt = q[3], dt = q[4], ft = q[5], lt = q[6], ht = q[7], xt = q[8], yt = q[9], vt = q[10], it = q[11], gt = q[12], bt = q[13], St = q[14], Ct = q[15];
5718
- return q[0] = ot * C + ut * D + pt * K + mt * at, q[1] = ot * R + ut * V + pt * X + mt * nt, q[2] = ot * j + ut * G + pt * Q + mt * ct, q[3] = ot * _ + ut * J + pt * st + mt * tt, q[4] = dt * C + ft * D + lt * K + ht * at, q[5] = dt * R + ft * V + lt * X + ht * nt, q[6] = dt * j + ft * G + lt * Q + ht * ct, q[7] = dt * _ + ft * J + lt * st + ht * tt, q[8] = xt * C + yt * D + vt * K + it * at, q[9] = xt * R + yt * V + vt * X + it * nt, q[10] = xt * j + yt * G + vt * Q + it * ct, q[11] = xt * _ + yt * J + vt * st + it * tt, q[12] = gt * C + bt * D + St * K + Ct * at, q[13] = gt * R + bt * V + St * X + Ct * nt, q[14] = gt * j + bt * G + St * Q + Ct * ct, q[15] = gt * _ + bt * J + St * st + Ct * tt, this._identityCalculated = !1, this;
5744
+ return q[0] = ot * C + ut * D + pt * K + mt * at, q[1] = ot * R + ut * B + pt * X + mt * nt, q[2] = ot * j + ut * G + pt * Q + mt * ct, q[3] = ot * T + ut * J + pt * st + mt * tt, q[4] = dt * C + ft * D + lt * K + ht * at, q[5] = dt * R + ft * B + lt * X + ht * nt, q[6] = dt * j + ft * G + lt * Q + ht * ct, q[7] = dt * T + ft * J + lt * st + ht * tt, q[8] = xt * C + yt * D + vt * K + it * at, q[9] = xt * R + yt * B + vt * X + it * nt, q[10] = xt * j + yt * G + vt * Q + it * ct, q[11] = xt * T + yt * J + vt * st + it * tt, q[12] = gt * C + bt * D + St * K + Ct * at, q[13] = gt * R + bt * B + St * X + Ct * nt, q[14] = gt * j + bt * G + St * Q + Ct * ct, q[15] = gt * T + bt * J + St * st + Ct * tt, this._identityCalculated = !1, this;
5719
5745
  }
5720
- function S(C) {
5746
+ function k(C) {
5721
5747
  var R = C.props;
5722
5748
  return this.transform(R[0], R[1], R[2], R[3], R[4], R[5], R[6], R[7], R[8], R[9], R[10], R[11], R[12], R[13], R[14], R[15]);
5723
5749
  }
@@ -5743,7 +5769,7 @@ function requireLottie() {
5743
5769
  for (R = 0; R < 16; R += 1)
5744
5770
  this.props[R] = C[R];
5745
5771
  }
5746
- function k(C, R, j) {
5772
+ function S(C, R, j) {
5747
5773
  return {
5748
5774
  x: C * this.props[0] + R * this.props[4] + j * this.props[8] + this.props[12],
5749
5775
  y: C * this.props[1] + R * this.props[5] + j * this.props[9] + this.props[13],
@@ -5753,39 +5779,39 @@ function requireLottie() {
5753
5779
  function P(C, R, j) {
5754
5780
  return C * this.props[0] + R * this.props[4] + j * this.props[8] + this.props[12];
5755
5781
  }
5756
- function T(C, R, j) {
5782
+ function _(C, R, j) {
5757
5783
  return C * this.props[1] + R * this.props[5] + j * this.props[9] + this.props[13];
5758
5784
  }
5759
5785
  function F(C, R, j) {
5760
5786
  return C * this.props[2] + R * this.props[6] + j * this.props[10] + this.props[14];
5761
5787
  }
5762
5788
  function I() {
5763
- var C = this.props[0] * this.props[5] - this.props[1] * this.props[4], R = this.props[5] / C, j = -this.props[1] / C, _ = -this.props[4] / C, D = this.props[0] / C, V = (this.props[4] * this.props[13] - this.props[5] * this.props[12]) / C, G = -(this.props[0] * this.props[13] - this.props[1] * this.props[12]) / C, J = new Matrix();
5764
- return J.props[0] = R, J.props[1] = j, J.props[4] = _, J.props[5] = D, J.props[12] = V, J.props[13] = G, J;
5789
+ var C = this.props[0] * this.props[5] - this.props[1] * this.props[4], R = this.props[5] / C, j = -this.props[1] / C, T = -this.props[4] / C, D = this.props[0] / C, B = (this.props[4] * this.props[13] - this.props[5] * this.props[12]) / C, G = -(this.props[0] * this.props[13] - this.props[1] * this.props[12]) / C, J = new Matrix();
5790
+ return J.props[0] = R, J.props[1] = j, J.props[4] = T, J.props[5] = D, J.props[12] = B, J.props[13] = G, J;
5765
5791
  }
5766
5792
  function $(C) {
5767
5793
  var R = this.getInverseMatrix();
5768
5794
  return R.applyToPointArray(C[0], C[1], C[2] || 0);
5769
5795
  }
5770
5796
  function O(C) {
5771
- var R, j = C.length, _ = [];
5797
+ var R, j = C.length, T = [];
5772
5798
  for (R = 0; R < j; R += 1)
5773
- _[R] = $(C[R]);
5774
- return _;
5799
+ T[R] = $(C[R]);
5800
+ return T;
5775
5801
  }
5776
- function N(C, R, j) {
5777
- var _ = createTypedArray("float32", 6);
5802
+ function V(C, R, j) {
5803
+ var T = createTypedArray("float32", 6);
5778
5804
  if (this.isIdentity())
5779
- _[0] = C[0], _[1] = C[1], _[2] = R[0], _[3] = R[1], _[4] = j[0], _[5] = j[1];
5805
+ T[0] = C[0], T[1] = C[1], T[2] = R[0], T[3] = R[1], T[4] = j[0], T[5] = j[1];
5780
5806
  else {
5781
- var D = this.props[0], V = this.props[1], G = this.props[4], J = this.props[5], K = this.props[12], X = this.props[13];
5782
- _[0] = C[0] * D + C[1] * G + K, _[1] = C[0] * V + C[1] * J + X, _[2] = R[0] * D + R[1] * G + K, _[3] = R[0] * V + R[1] * J + X, _[4] = j[0] * D + j[1] * G + K, _[5] = j[0] * V + j[1] * J + X;
5807
+ var D = this.props[0], B = this.props[1], G = this.props[4], J = this.props[5], K = this.props[12], X = this.props[13];
5808
+ T[0] = C[0] * D + C[1] * G + K, T[1] = C[0] * B + C[1] * J + X, T[2] = R[0] * D + R[1] * G + K, T[3] = R[0] * B + R[1] * J + X, T[4] = j[0] * D + j[1] * G + K, T[5] = j[0] * B + j[1] * J + X;
5783
5809
  }
5784
- return _;
5810
+ return T;
5785
5811
  }
5786
5812
  function z(C, R, j) {
5787
- var _;
5788
- return this.isIdentity() ? _ = [C, R, j] : _ = [C * this.props[0] + R * this.props[4] + j * this.props[8] + this.props[12], C * this.props[1] + R * this.props[5] + j * this.props[9] + this.props[13], C * this.props[2] + R * this.props[6] + j * this.props[10] + this.props[14]], _;
5813
+ var T;
5814
+ return this.isIdentity() ? T = [C, R, j] : T = [C * this.props[0] + R * this.props[4] + j * this.props[8] + this.props[12], C * this.props[1] + R * this.props[5] + j * this.props[9] + this.props[13], C * this.props[2] + R * this.props[6] + j * this.props[10] + this.props[14]], T;
5789
5815
  }
5790
5816
  function H(C, R) {
5791
5817
  if (this.isIdentity())
@@ -5794,8 +5820,8 @@ function requireLottie() {
5794
5820
  return Math.round((C * j[0] + R * j[4] + j[12]) * 100) / 100 + "," + Math.round((C * j[1] + R * j[5] + j[13]) * 100) / 100;
5795
5821
  }
5796
5822
  function L() {
5797
- for (var C = 0, R = this.props, j = "matrix3d(", _ = 1e4; C < 16; )
5798
- j += i(R[C] * _) / _, j += C === 15 ? ")" : ",", C += 1;
5823
+ for (var C = 0, R = this.props, j = "matrix3d(", T = 1e4; C < 16; )
5824
+ j += i(R[C] * T) / T, j += C === 15 ? ")" : ",", C += 1;
5799
5825
  return j;
5800
5826
  }
5801
5827
  function A(C) {
@@ -5803,11 +5829,11 @@ function requireLottie() {
5803
5829
  return C < 1e-6 && C > 0 || C > -1e-6 && C < 0 ? i(C * R) / R : C;
5804
5830
  }
5805
5831
  function M() {
5806
- var C = this.props, R = A(C[0]), j = A(C[1]), _ = A(C[4]), D = A(C[5]), V = A(C[12]), G = A(C[13]);
5807
- return "matrix(" + R + "," + j + "," + _ + "," + D + "," + V + "," + G + ")";
5832
+ var C = this.props, R = A(C[0]), j = A(C[1]), T = A(C[4]), D = A(C[5]), B = A(C[12]), G = A(C[13]);
5833
+ return "matrix(" + R + "," + j + "," + T + "," + D + "," + B + "," + G + ")";
5808
5834
  }
5809
5835
  return function() {
5810
- this.reset = s, this.rotate = n, this.rotateX = a, this.rotateY = l, this.rotateZ = o, this.skew = u, this.skewFromAxis = E, this.shear = c, this.scale = f, this.setTransform = b, this.translate = d, this.transform = m, this.multiply = S, this.applyToPoint = k, this.applyToX = P, this.applyToY = T, this.applyToZ = F, this.applyToPointArray = z, this.applyToTriplePoints = N, this.applyToPointStringified = H, this.toCSS = L, this.to2dCSS = M, this.clone = y, this.cloneFromProps = g, this.equals = x, this.inversePoints = O, this.inversePoint = $, this.getInverseMatrix = I, this._t = this.transform, this.isIdentity = p, this._identity = !0, this._identityCalculated = !1, this.props = createTypedArray("float32", 16), this.reset();
5836
+ this.reset = s, this.rotate = n, this.rotateX = a, this.rotateY = l, this.rotateZ = o, this.skew = u, this.skewFromAxis = E, this.shear = c, this.scale = f, this.setTransform = b, this.translate = d, this.transform = m, this.multiply = k, this.applyToPoint = S, this.applyToX = P, this.applyToY = _, this.applyToZ = F, this.applyToPointArray = z, this.applyToTriplePoints = V, this.applyToPointStringified = H, this.toCSS = L, this.to2dCSS = M, this.clone = y, this.cloneFromProps = g, this.equals = x, this.inversePoints = O, this.inversePoint = $, this.getInverseMatrix = I, this._t = this.transform, this.isIdentity = p, this._identity = !0, this._identityCalculated = !1, this.props = createTypedArray("float32", 16), this.reset();
5811
5837
  };
5812
5838
  }();
5813
5839
  function _typeof$3(t) {
@@ -5975,7 +6001,7 @@ function requireLottie() {
5975
6001
  for (a = 0; a < l; a += 1)
5976
6002
  this.shapes[a].pathsData.length = 0, this.shapes[a].shape._mdf = !0;
5977
6003
  } else {
5978
- var d = [], m, S;
6004
+ var d = [], m, k;
5979
6005
  for (a = 0; a < l; a += 1)
5980
6006
  if (m = this.shapes[a], !m.shape._mdf && !this._mdf && !t && this.m !== 2)
5981
6007
  m.shape.paths = m.localShapeCollection;
@@ -5992,7 +6018,7 @@ function requireLottie() {
5992
6018
  var p = e, x = r, y = 0, g;
5993
6019
  for (a = l - 1; a >= 0; a -= 1)
5994
6020
  if (m = this.shapes[a], m.shape._mdf) {
5995
- for (S = m.localShapeCollection, S.releaseShapes(), this.m === 2 && l > 1 ? (g = this.calculateShapeEdges(e, r, m.totalShapeLength, y, b), y += m.totalShapeLength) : g = [[p, x]], c = g.length, o = 0; o < c; o += 1) {
6021
+ for (k = m.localShapeCollection, k.releaseShapes(), this.m === 2 && l > 1 ? (g = this.calculateShapeEdges(e, r, m.totalShapeLength, y, b), y += m.totalShapeLength) : g = [[p, x]], c = g.length, o = 0; o < c; o += 1) {
5996
6022
  p = g[o][0], x = g[o][1], d.length = 0, x <= 1 ? d.push({
5997
6023
  s: m.totalShapeLength * p,
5998
6024
  e: m.totalShapeLength * x
@@ -6006,20 +6032,20 @@ function requireLottie() {
6006
6032
  s: 0,
6007
6033
  e: m.totalShapeLength * (x - 1)
6008
6034
  }));
6009
- var k = this.addShapes(m, d[0]);
6035
+ var S = this.addShapes(m, d[0]);
6010
6036
  if (d[0].s !== d[0].e) {
6011
6037
  if (d.length > 1) {
6012
6038
  var P = m.shape.paths.shapes[m.shape.paths._length - 1];
6013
6039
  if (P.c) {
6014
- var T = k.pop();
6015
- this.addPaths(k, S), k = this.addShapes(m, d[1], T);
6040
+ var _ = S.pop();
6041
+ this.addPaths(S, k), S = this.addShapes(m, d[1], _);
6016
6042
  } else
6017
- this.addPaths(k, S), k = this.addShapes(m, d[1]);
6043
+ this.addPaths(S, k), S = this.addShapes(m, d[1]);
6018
6044
  }
6019
- this.addPaths(k, S);
6045
+ this.addPaths(S, k);
6020
6046
  }
6021
6047
  }
6022
- m.shape.paths = S;
6048
+ m.shape.paths = k;
6023
6049
  }
6024
6050
  }
6025
6051
  }, TrimModifier.prototype.addPaths = function(t, e) {
@@ -6031,7 +6057,7 @@ function requireLottie() {
6031
6057
  }, TrimModifier.prototype.addSegmentFromArray = function(t, e, r, i) {
6032
6058
  e.setXYAt(t[1], t[5], "o", r), e.setXYAt(t[2], t[6], "i", r + 1), i && e.setXYAt(t[0], t[4], "v", r), e.setXYAt(t[3], t[7], "v", r + 1);
6033
6059
  }, TrimModifier.prototype.addShapes = function(t, e, r) {
6034
- var i = t.pathsData, s = t.shape.paths.shapes, n, a = t.shape.paths._length, l, o, c = 0, u, E, f, b, d = [], m, S = !0;
6060
+ var i = t.pathsData, s = t.shape.paths.shapes, n, a = t.shape.paths._length, l, o, c = 0, u, E, f, b, d = [], m, k = !0;
6035
6061
  for (r ? (E = r._length, m = r._length) : (r = shapePool.newElement(), E = 0, m = 0), d.push(r), n = 0; n < a; n += 1) {
6036
6062
  for (f = i[n].lengths, r.c = s[n].c, o = s[n].c ? f.length : f.length + 1, l = 1; l < o; l += 1)
6037
6063
  if (u = f[l - 1], c + u.addedLength < e.s)
@@ -6040,18 +6066,18 @@ function requireLottie() {
6040
6066
  r.c = !1;
6041
6067
  break;
6042
6068
  } else
6043
- e.s <= c && e.e >= c + u.addedLength ? (this.addSegment(s[n].v[l - 1], s[n].o[l - 1], s[n].i[l], s[n].v[l], r, E, S), S = !1) : (b = bez.getNewSegment(s[n].v[l - 1], s[n].v[l], s[n].o[l - 1], s[n].i[l], (e.s - c) / u.addedLength, (e.e - c) / u.addedLength, f[l - 1]), this.addSegmentFromArray(b, r, E, S), S = !1, r.c = !1), c += u.addedLength, E += 1;
6069
+ e.s <= c && e.e >= c + u.addedLength ? (this.addSegment(s[n].v[l - 1], s[n].o[l - 1], s[n].i[l], s[n].v[l], r, E, k), k = !1) : (b = bez.getNewSegment(s[n].v[l - 1], s[n].v[l], s[n].o[l - 1], s[n].i[l], (e.s - c) / u.addedLength, (e.e - c) / u.addedLength, f[l - 1]), this.addSegmentFromArray(b, r, E, k), k = !1, r.c = !1), c += u.addedLength, E += 1;
6044
6070
  if (s[n].c && f.length) {
6045
6071
  if (u = f[l - 1], c <= e.e) {
6046
6072
  var p = f[l - 1].addedLength;
6047
- e.s <= c && e.e >= c + p ? (this.addSegment(s[n].v[l - 1], s[n].o[l - 1], s[n].i[0], s[n].v[0], r, E, S), S = !1) : (b = bez.getNewSegment(s[n].v[l - 1], s[n].v[0], s[n].o[l - 1], s[n].i[0], (e.s - c) / p, (e.e - c) / p, f[l - 1]), this.addSegmentFromArray(b, r, E, S), S = !1, r.c = !1);
6073
+ e.s <= c && e.e >= c + p ? (this.addSegment(s[n].v[l - 1], s[n].o[l - 1], s[n].i[0], s[n].v[0], r, E, k), k = !1) : (b = bez.getNewSegment(s[n].v[l - 1], s[n].v[0], s[n].o[l - 1], s[n].i[0], (e.s - c) / p, (e.e - c) / p, f[l - 1]), this.addSegmentFromArray(b, r, E, k), k = !1, r.c = !1);
6048
6074
  } else
6049
6075
  r.c = !1;
6050
6076
  c += u.addedLength, E += 1;
6051
6077
  }
6052
6078
  if (r._length && (r.setXYAt(r.v[m][0], r.v[m][1], "i", m), r.setXYAt(r.v[r._length - 1][0], r.v[r._length - 1][1], "o", r._length - 1)), c > e.e)
6053
6079
  break;
6054
- n < a - 1 && (r = shapePool.newElement(), S = !0, d.push(r), E = 0);
6080
+ n < a - 1 && (r = shapePool.newElement(), k = !0, d.push(r), E = 0);
6055
6081
  }
6056
6082
  return d;
6057
6083
  };
@@ -6259,7 +6285,7 @@ function requireLottie() {
6259
6285
  n += 1;
6260
6286
  }
6261
6287
  this._currentCopies = l;
6262
- var f = this.o.v, b = f % 1, d = f > 0 ? Math.floor(f) : Math.ceil(f), m = this.pMatrix.props, S = this.rMatrix.props, p = this.sMatrix.props;
6288
+ var f = this.o.v, b = f % 1, d = f > 0 ? Math.floor(f) : Math.ceil(f), m = this.pMatrix.props, k = this.rMatrix.props, p = this.sMatrix.props;
6263
6289
  this.pMatrix.reset(), this.rMatrix.reset(), this.sMatrix.reset(), this.tMatrix.reset(), this.matrix.reset();
6264
6290
  var x = 0;
6265
6291
  if (f > 0) {
@@ -6274,7 +6300,7 @@ function requireLottie() {
6274
6300
  i = this.data.m === 1 ? 0 : this._currentCopies - 1, s = this.data.m === 1 ? 1 : -1, n = this._currentCopies;
6275
6301
  for (var y, g; n; ) {
6276
6302
  if (e = this.elemsData[i].it, r = e[e.length - 1].transform.mProps.v.props, g = r.length, e[e.length - 1].transform.mProps._mdf = !0, e[e.length - 1].transform.op._mdf = !0, e[e.length - 1].transform.op.v = this._currentCopies === 1 ? this.so.v : this.so.v + (this.eo.v - this.so.v) * (i / (this._currentCopies - 1)), x !== 0) {
6277
- for ((i !== 0 && s === 1 || i !== this._currentCopies - 1 && s === -1) && this.applyTransforms(this.pMatrix, this.rMatrix, this.sMatrix, this.tr, 1, !1), this.matrix.transform(S[0], S[1], S[2], S[3], S[4], S[5], S[6], S[7], S[8], S[9], S[10], S[11], S[12], S[13], S[14], S[15]), this.matrix.transform(p[0], p[1], p[2], p[3], p[4], p[5], p[6], p[7], p[8], p[9], p[10], p[11], p[12], p[13], p[14], p[15]), this.matrix.transform(m[0], m[1], m[2], m[3], m[4], m[5], m[6], m[7], m[8], m[9], m[10], m[11], m[12], m[13], m[14], m[15]), y = 0; y < g; y += 1)
6303
+ for ((i !== 0 && s === 1 || i !== this._currentCopies - 1 && s === -1) && this.applyTransforms(this.pMatrix, this.rMatrix, this.sMatrix, this.tr, 1, !1), this.matrix.transform(k[0], k[1], k[2], k[3], k[4], k[5], k[6], k[7], k[8], k[9], k[10], k[11], k[12], k[13], k[14], k[15]), this.matrix.transform(p[0], p[1], p[2], p[3], p[4], p[5], p[6], p[7], p[8], p[9], p[10], p[11], p[12], p[13], p[14], p[15]), this.matrix.transform(m[0], m[1], m[2], m[3], m[4], m[5], m[6], m[7], m[8], m[9], m[10], m[11], m[12], m[13], m[14], m[15]), y = 0; y < g; y += 1)
6278
6304
  r[y] = this.matrix.props[y];
6279
6305
  this.matrix.reset();
6280
6306
  } else
@@ -6295,9 +6321,9 @@ function requireLottie() {
6295
6321
  }, RoundCornersModifier.prototype.processPath = function(t, e) {
6296
6322
  var r = shapePool.newElement();
6297
6323
  r.c = t.c;
6298
- var i, s = t._length, n, a, l, o, c, u, E = 0, f, b, d, m, S, p;
6324
+ var i, s = t._length, n, a, l, o, c, u, E = 0, f, b, d, m, k, p;
6299
6325
  for (i = 0; i < s; i += 1)
6300
- n = t.v[i], l = t.o[i], a = t.i[i], n[0] === l[0] && n[1] === l[1] && n[0] === a[0] && n[1] === a[1] ? (i === 0 || i === s - 1) && !t.c ? (r.setTripleAt(n[0], n[1], l[0], l[1], a[0], a[1], E), E += 1) : (i === 0 ? o = t.v[s - 1] : o = t.v[i - 1], c = Math.sqrt(Math.pow(n[0] - o[0], 2) + Math.pow(n[1] - o[1], 2)), u = c ? Math.min(c / 2, e) / c : 0, S = n[0] + (o[0] - n[0]) * u, f = S, p = n[1] - (n[1] - o[1]) * u, b = p, d = f - (f - n[0]) * roundCorner, m = b - (b - n[1]) * roundCorner, r.setTripleAt(f, b, d, m, S, p, E), E += 1, i === s - 1 ? o = t.v[0] : o = t.v[i + 1], c = Math.sqrt(Math.pow(n[0] - o[0], 2) + Math.pow(n[1] - o[1], 2)), u = c ? Math.min(c / 2, e) / c : 0, d = n[0] + (o[0] - n[0]) * u, f = d, m = n[1] + (o[1] - n[1]) * u, b = m, S = f - (f - n[0]) * roundCorner, p = b - (b - n[1]) * roundCorner, r.setTripleAt(f, b, d, m, S, p, E), E += 1) : (r.setTripleAt(t.v[i][0], t.v[i][1], t.o[i][0], t.o[i][1], t.i[i][0], t.i[i][1], E), E += 1);
6326
+ n = t.v[i], l = t.o[i], a = t.i[i], n[0] === l[0] && n[1] === l[1] && n[0] === a[0] && n[1] === a[1] ? (i === 0 || i === s - 1) && !t.c ? (r.setTripleAt(n[0], n[1], l[0], l[1], a[0], a[1], E), E += 1) : (i === 0 ? o = t.v[s - 1] : o = t.v[i - 1], c = Math.sqrt(Math.pow(n[0] - o[0], 2) + Math.pow(n[1] - o[1], 2)), u = c ? Math.min(c / 2, e) / c : 0, k = n[0] + (o[0] - n[0]) * u, f = k, p = n[1] - (n[1] - o[1]) * u, b = p, d = f - (f - n[0]) * roundCorner, m = b - (b - n[1]) * roundCorner, r.setTripleAt(f, b, d, m, k, p, E), E += 1, i === s - 1 ? o = t.v[0] : o = t.v[i + 1], c = Math.sqrt(Math.pow(n[0] - o[0], 2) + Math.pow(n[1] - o[1], 2)), u = c ? Math.min(c / 2, e) / c : 0, d = n[0] + (o[0] - n[0]) * u, f = d, m = n[1] + (o[1] - n[1]) * u, b = m, k = f - (f - n[0]) * roundCorner, p = b - (b - n[1]) * roundCorner, r.setTripleAt(f, b, d, m, k, p, E), E += 1) : (r.setTripleAt(t.v[i][0], t.v[i][1], t.o[i][0], t.o[i][1], t.i[i][0], t.i[i][1], E), E += 1);
6301
6327
  return r;
6302
6328
  }, RoundCornersModifier.prototype.processShapes = function(t) {
6303
6329
  var e, r, i = this.shapes.length, s, n, a = this.rd.v;
@@ -6657,20 +6683,20 @@ function requireLottie() {
6657
6683
  function m(A, M) {
6658
6684
  var C = document.body && M ? "svg" : "canvas", R, j = getFontProperties(A);
6659
6685
  if (C === "svg") {
6660
- var _ = createNS("text");
6661
- _.style.fontSize = "100px", _.setAttribute("font-family", A.fFamily), _.setAttribute("font-style", j.style), _.setAttribute("font-weight", j.weight), _.textContent = "1", A.fClass ? (_.style.fontFamily = "inherit", _.setAttribute("class", A.fClass)) : _.style.fontFamily = A.fFamily, M.appendChild(_), R = _;
6686
+ var T = createNS("text");
6687
+ T.style.fontSize = "100px", T.setAttribute("font-family", A.fFamily), T.setAttribute("font-style", j.style), T.setAttribute("font-weight", j.weight), T.textContent = "1", A.fClass ? (T.style.fontFamily = "inherit", T.setAttribute("class", A.fClass)) : T.style.fontFamily = A.fFamily, M.appendChild(T), R = T;
6662
6688
  } else {
6663
6689
  var D = new OffscreenCanvas(500, 500).getContext("2d");
6664
6690
  D.font = j.style + " " + j.weight + " 100px " + A.fFamily, R = D;
6665
6691
  }
6666
- function V(G) {
6692
+ function B(G) {
6667
6693
  return C === "svg" ? (R.textContent = G, R.getComputedTextLength()) : R.measureText(G).width;
6668
6694
  }
6669
6695
  return {
6670
- measureText: V
6696
+ measureText: B
6671
6697
  };
6672
6698
  }
6673
- function S(A, M) {
6699
+ function k(A, M) {
6674
6700
  if (!A) {
6675
6701
  this.isLoaded = !0;
6676
6702
  return;
@@ -6685,26 +6711,26 @@ function requireLottie() {
6685
6711
  }), this.fonts = A.list;
6686
6712
  return;
6687
6713
  }
6688
- var C = A.list, R, j = C.length, _ = j;
6714
+ var C = A.list, R, j = C.length, T = j;
6689
6715
  for (R = 0; R < j; R += 1) {
6690
- var D = !0, V, G;
6716
+ var D = !0, B, G;
6691
6717
  if (C[R].loaded = !1, C[R].monoCase = b(C[R].fFamily, "monospace"), C[R].sansCase = b(C[R].fFamily, "sans-serif"), !C[R].fPath)
6692
- C[R].loaded = !0, _ -= 1;
6718
+ C[R].loaded = !0, T -= 1;
6693
6719
  else if (C[R].fOrigin === "p" || C[R].origin === 3) {
6694
- if (V = document.querySelectorAll('style[f-forigin="p"][f-family="' + C[R].fFamily + '"], style[f-origin="3"][f-family="' + C[R].fFamily + '"]'), V.length > 0 && (D = !1), D) {
6720
+ if (B = document.querySelectorAll('style[f-forigin="p"][f-family="' + C[R].fFamily + '"], style[f-origin="3"][f-family="' + C[R].fFamily + '"]'), B.length > 0 && (D = !1), D) {
6695
6721
  var J = createTag("style");
6696
6722
  J.setAttribute("f-forigin", C[R].fOrigin), J.setAttribute("f-origin", C[R].origin), J.setAttribute("f-family", C[R].fFamily), J.type = "text/css", J.innerText = "@font-face {font-family: " + C[R].fFamily + "; font-style: normal; src: url('" + C[R].fPath + "');}", M.appendChild(J);
6697
6723
  }
6698
6724
  } else if (C[R].fOrigin === "g" || C[R].origin === 1) {
6699
- for (V = document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'), G = 0; G < V.length; G += 1)
6700
- V[G].href.indexOf(C[R].fPath) !== -1 && (D = !1);
6725
+ for (B = document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'), G = 0; G < B.length; G += 1)
6726
+ B[G].href.indexOf(C[R].fPath) !== -1 && (D = !1);
6701
6727
  if (D) {
6702
6728
  var K = createTag("link");
6703
6729
  K.setAttribute("f-forigin", C[R].fOrigin), K.setAttribute("f-origin", C[R].origin), K.type = "text/css", K.rel = "stylesheet", K.href = C[R].fPath, document.body.appendChild(K);
6704
6730
  }
6705
6731
  } else if (C[R].fOrigin === "t" || C[R].origin === 2) {
6706
- for (V = document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'), G = 0; G < V.length; G += 1)
6707
- C[R].fPath === V[G].src && (D = !1);
6732
+ for (B = document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'), G = 0; G < B.length; G += 1)
6733
+ C[R].fPath === B[G].src && (D = !1);
6708
6734
  if (D) {
6709
6735
  var X = createTag("link");
6710
6736
  X.setAttribute("f-forigin", C[R].fOrigin), X.setAttribute("f-origin", C[R].origin), X.setAttribute("rel", "stylesheet"), X.setAttribute("href", C[R].fPath), M.appendChild(X);
@@ -6712,16 +6738,16 @@ function requireLottie() {
6712
6738
  }
6713
6739
  C[R].helper = m(C[R], M), C[R].cache = {}, this.fonts.push(C[R]);
6714
6740
  }
6715
- _ === 0 ? this.isLoaded = !0 : setTimeout(this.checkLoadedFonts.bind(this), 100);
6741
+ T === 0 ? this.isLoaded = !0 : setTimeout(this.checkLoadedFonts.bind(this), 100);
6716
6742
  }
6717
6743
  function p(A) {
6718
6744
  if (A) {
6719
6745
  this.chars || (this.chars = []);
6720
- var M, C = A.length, R, j = this.chars.length, _;
6746
+ var M, C = A.length, R, j = this.chars.length, T;
6721
6747
  for (M = 0; M < C; M += 1) {
6722
- for (R = 0, _ = !1; R < j; )
6723
- this.chars[R].style === A[M].style && this.chars[R].fFamily === A[M].fFamily && this.chars[R].ch === A[M].ch && (_ = !0), R += 1;
6724
- _ || (this.chars.push(A[M]), j += 1);
6748
+ for (R = 0, T = !1; R < j; )
6749
+ this.chars[R].style === A[M].style && this.chars[R].fFamily === A[M].fFamily && this.chars[R].ch === A[M].ch && (T = !0), R += 1;
6750
+ T || (this.chars.push(A[M]), j += 1);
6725
6751
  }
6726
6752
  }
6727
6753
  }
@@ -6736,12 +6762,12 @@ function requireLottie() {
6736
6762
  function y(A, M, C) {
6737
6763
  var R = this.getFontByName(M), j = A;
6738
6764
  if (!R.cache[j]) {
6739
- var _ = R.helper;
6765
+ var T = R.helper;
6740
6766
  if (A === " ") {
6741
- var D = _.measureText("|" + A + "|"), V = _.measureText("||");
6742
- R.cache[j] = (D - V) / 100;
6767
+ var D = T.measureText("|" + A + "|"), B = T.measureText("||");
6768
+ R.cache[j] = (D - B) / 100;
6743
6769
  } else
6744
- R.cache[j] = _.measureText(A) / 100;
6770
+ R.cache[j] = T.measureText(A) / 100;
6745
6771
  }
6746
6772
  return R.cache[j] * C;
6747
6773
  }
@@ -6753,7 +6779,7 @@ function requireLottie() {
6753
6779
  }
6754
6780
  return this.fonts[0];
6755
6781
  }
6756
- function k(A) {
6782
+ function S(A) {
6757
6783
  var M = 0, C = A.charCodeAt(0);
6758
6784
  if (C >= 55296 && C <= 56319) {
6759
6785
  var R = A.charCodeAt(1);
@@ -6765,14 +6791,14 @@ function requireLottie() {
6765
6791
  var C = A.toString(16) + M.toString(16);
6766
6792
  return E.indexOf(C) !== -1;
6767
6793
  }
6768
- function T(A) {
6794
+ function _(A) {
6769
6795
  return A === o;
6770
6796
  }
6771
6797
  function F(A) {
6772
6798
  return A === l;
6773
6799
  }
6774
6800
  function I(A) {
6775
- var M = k(A);
6801
+ var M = S(A);
6776
6802
  return M >= c && M <= u;
6777
6803
  }
6778
6804
  function $(A) {
@@ -6781,17 +6807,17 @@ function requireLottie() {
6781
6807
  function O(A) {
6782
6808
  return r.indexOf(A) !== -1;
6783
6809
  }
6784
- function N(A, M) {
6785
- var C = k(A.substr(M, 2));
6810
+ function V(A, M) {
6811
+ var C = S(A.substr(M, 2));
6786
6812
  if (C !== i)
6787
6813
  return !1;
6788
6814
  var R = 0;
6789
6815
  for (M += 2; R < 5; ) {
6790
- if (C = k(A.substr(M, 2)), C < n || C > a)
6816
+ if (C = S(A.substr(M, 2)), C < n || C > a)
6791
6817
  return !1;
6792
6818
  R += 1, M += 2;
6793
6819
  }
6794
- return k(A.substr(M, 2)) === s;
6820
+ return S(A.substr(M, 2)) === s;
6795
6821
  }
6796
6822
  function z() {
6797
6823
  this.isLoaded = !0;
@@ -6799,10 +6825,10 @@ function requireLottie() {
6799
6825
  var H = function() {
6800
6826
  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);
6801
6827
  };
6802
- H.isModifier = P, H.isZeroWidthJoiner = T, H.isFlagEmoji = $, H.isRegionalCode = I, H.isCombinedCharacter = O, H.isRegionalFlag = N, H.isVariationSelector = F, H.BLACK_FLAG_CODE_POINT = i;
6828
+ H.isModifier = P, H.isZeroWidthJoiner = _, H.isFlagEmoji = $, H.isRegionalCode = I, H.isCombinedCharacter = O, H.isRegionalFlag = V, H.isVariationSelector = F, H.BLACK_FLAG_CODE_POINT = i;
6803
6829
  var L = {
6804
6830
  addChars: p,
6805
- addFonts: S,
6831
+ addFonts: k,
6806
6832
  getCharData: x,
6807
6833
  getFontByName: g,
6808
6834
  measureText: y,
@@ -7266,7 +7292,7 @@ function requireLottie() {
7266
7292
  this.data = t, this.element = e, this.globalData = r, this.storedData = [], this.masksProperties = this.data.masksProperties || [], this.maskElement = null;
7267
7293
  var i = this.globalData.defs, s, n = this.masksProperties ? this.masksProperties.length : 0;
7268
7294
  this.viewData = createSizedArray(n), this.solidPath = "";
7269
- var a, l = this.masksProperties, o = 0, c = [], u, E, f = createElementID(), b, d, m, S, p = "clipPath", x = "clip-path";
7295
+ var a, l = this.masksProperties, o = 0, c = [], u, E, f = createElementID(), b, d, m, k, p = "clipPath", x = "clip-path";
7270
7296
  for (s = 0; s < n; s += 1)
7271
7297
  if ((l[s].mode !== "a" && l[s].mode !== "n" || l[s].inv || l[s].o.k !== 100 || l[s].o.x) && (p = "mask", x = "mask"), (l[s].mode === "s" || l[s].mode === "i") && o === 0 ? (b = createNS("rect"), b.setAttribute("fill", "#ffffff"), b.setAttribute("width", this.element.comp.data.w || 0), b.setAttribute("height", this.element.comp.data.h || 0), c.push(b)) : b = null, a = createNS("path"), l[s].mode === "n")
7272
7298
  this.viewData[s] = {
@@ -7278,9 +7304,9 @@ function requireLottie() {
7278
7304
  else {
7279
7305
  o += 1, a.setAttribute("fill", l[s].mode === "s" ? "#000000" : "#ffffff"), a.setAttribute("clip-rule", "nonzero");
7280
7306
  var y;
7281
- if (l[s].x.k !== 0 ? (p = "mask", x = "mask", S = PropertyFactory.getProp(this.element, l[s].x, 0, null, this.element), y = createElementID(), d = createNS("filter"), d.setAttribute("id", y), m = createNS("feMorphology"), m.setAttribute("operator", "erode"), m.setAttribute("in", "SourceGraphic"), m.setAttribute("radius", "0"), d.appendChild(m), i.appendChild(d), a.setAttribute("stroke", l[s].mode === "s" ? "#000000" : "#ffffff")) : (m = null, S = null), this.storedData[s] = {
7307
+ if (l[s].x.k !== 0 ? (p = "mask", x = "mask", k = PropertyFactory.getProp(this.element, l[s].x, 0, null, this.element), y = createElementID(), d = createNS("filter"), d.setAttribute("id", y), m = createNS("feMorphology"), m.setAttribute("operator", "erode"), m.setAttribute("in", "SourceGraphic"), m.setAttribute("radius", "0"), d.appendChild(m), i.appendChild(d), a.setAttribute("stroke", l[s].mode === "s" ? "#000000" : "#ffffff")) : (m = null, k = null), this.storedData[s] = {
7282
7308
  elem: a,
7283
- x: S,
7309
+ x: k,
7284
7310
  expan: m,
7285
7311
  lastPath: "",
7286
7312
  lastOperator: "",
@@ -7291,8 +7317,8 @@ function requireLottie() {
7291
7317
  var g = createNS("g");
7292
7318
  for (u = 0; u < E; u += 1)
7293
7319
  g.appendChild(c[u]);
7294
- var k = createNS("mask");
7295
- k.setAttribute("mask-type", "alpha"), k.setAttribute("id", f + "_" + o), k.appendChild(a), i.appendChild(k), g.setAttribute("mask", "url(" + getLocationHref() + "#" + f + "_" + o + ")"), c.length = 0, c.push(g);
7320
+ var S = createNS("mask");
7321
+ S.setAttribute("mask-type", "alpha"), S.setAttribute("id", f + "_" + o), S.appendChild(a), i.appendChild(S), g.setAttribute("mask", "url(" + getLocationHref() + "#" + f + "_" + o + ")"), c.length = 0, c.push(g);
7296
7322
  } else
7297
7323
  c.push(a);
7298
7324
  l[s].inv && !this.solidPath && (this.solidPath = this.createLayerSolidPath()), this.viewData[s] = {
@@ -7759,23 +7785,23 @@ function requireLottie() {
7759
7785
  function n() {
7760
7786
  }
7761
7787
  function a(E, f, b) {
7762
- var d, m, S, p, x, y, g = f.styles.length, k = f.lvl, P, T, F, I;
7788
+ var d, m, k, p, x, y, g = f.styles.length, S = f.lvl, P, _, F, I;
7763
7789
  for (y = 0; y < g; y += 1) {
7764
- if (p = f.sh._mdf || b, f.styles[y].lvl < k) {
7765
- for (T = e.reset(), F = k - f.styles[y].lvl, I = f.transformers.length - 1; !p && F > 0; )
7790
+ if (p = f.sh._mdf || b, f.styles[y].lvl < S) {
7791
+ for (_ = e.reset(), F = S - f.styles[y].lvl, I = f.transformers.length - 1; !p && F > 0; )
7766
7792
  p = f.transformers[I].mProps._mdf || p, F -= 1, I -= 1;
7767
7793
  if (p)
7768
- for (F = k - f.styles[y].lvl, I = f.transformers.length - 1; F > 0; )
7769
- T.multiply(f.transformers[I].mProps.v), F -= 1, I -= 1;
7794
+ for (F = S - f.styles[y].lvl, I = f.transformers.length - 1; F > 0; )
7795
+ _.multiply(f.transformers[I].mProps.v), F -= 1, I -= 1;
7770
7796
  } else
7771
- T = t;
7797
+ _ = t;
7772
7798
  if (P = f.sh.paths, m = P._length, p) {
7773
- for (S = "", d = 0; d < m; d += 1)
7774
- x = P.shapes[d], x && x._length && (S += buildShapeString(x, x._length, x.c, T));
7775
- f.caches[y] = S;
7799
+ for (k = "", d = 0; d < m; d += 1)
7800
+ x = P.shapes[d], x && x._length && (k += buildShapeString(x, x._length, x.c, _));
7801
+ f.caches[y] = k;
7776
7802
  } else
7777
- S = f.caches[y];
7778
- f.styles[y].d += E.hd === !0 ? "" : S, f.styles[y]._mdf = p || f.styles[y]._mdf;
7803
+ k = f.caches[y];
7804
+ f.styles[y].d += E.hd === !0 ? "" : k, f.styles[y]._mdf = p || f.styles[y]._mdf;
7779
7805
  }
7780
7806
  }
7781
7807
  function l(E, f, b) {
@@ -7786,36 +7812,36 @@ function requireLottie() {
7786
7812
  c(E, f, b), u(E, f, b);
7787
7813
  }
7788
7814
  function c(E, f, b) {
7789
- var d = f.gf, m = f.g._hasOpacity, S = f.s.v, p = f.e.v;
7815
+ var d = f.gf, m = f.g._hasOpacity, k = f.s.v, p = f.e.v;
7790
7816
  if (f.o._mdf || b) {
7791
7817
  var x = E.ty === "gf" ? "fill-opacity" : "stroke-opacity";
7792
7818
  f.style.pElem.setAttribute(x, f.o.v);
7793
7819
  }
7794
7820
  if (f.s._mdf || b) {
7795
7821
  var y = E.t === 1 ? "x1" : "cx", g = y === "x1" ? "y1" : "cy";
7796
- d.setAttribute(y, S[0]), d.setAttribute(g, S[1]), m && !f.g._collapsable && (f.of.setAttribute(y, S[0]), f.of.setAttribute(g, S[1]));
7822
+ d.setAttribute(y, k[0]), d.setAttribute(g, k[1]), m && !f.g._collapsable && (f.of.setAttribute(y, k[0]), f.of.setAttribute(g, k[1]));
7797
7823
  }
7798
- var k, P, T, F;
7824
+ var S, P, _, F;
7799
7825
  if (f.g._cmdf || b) {
7800
- k = f.cst;
7826
+ S = f.cst;
7801
7827
  var I = f.g.c;
7802
- for (T = k.length, P = 0; P < T; P += 1)
7803
- F = k[P], F.setAttribute("offset", I[P * 4] + "%"), F.setAttribute("stop-color", "rgb(" + I[P * 4 + 1] + "," + I[P * 4 + 2] + "," + I[P * 4 + 3] + ")");
7828
+ for (_ = S.length, P = 0; P < _; P += 1)
7829
+ F = S[P], F.setAttribute("offset", I[P * 4] + "%"), F.setAttribute("stop-color", "rgb(" + I[P * 4 + 1] + "," + I[P * 4 + 2] + "," + I[P * 4 + 3] + ")");
7804
7830
  }
7805
7831
  if (m && (f.g._omdf || b)) {
7806
7832
  var $ = f.g.o;
7807
- for (f.g._collapsable ? k = f.cst : k = f.ost, T = k.length, P = 0; P < T; P += 1)
7808
- F = k[P], f.g._collapsable || F.setAttribute("offset", $[P * 2] + "%"), F.setAttribute("stop-opacity", $[P * 2 + 1]);
7833
+ for (f.g._collapsable ? S = f.cst : S = f.ost, _ = S.length, P = 0; P < _; P += 1)
7834
+ F = S[P], f.g._collapsable || F.setAttribute("offset", $[P * 2] + "%"), F.setAttribute("stop-opacity", $[P * 2 + 1]);
7809
7835
  }
7810
7836
  if (E.t === 1)
7811
7837
  (f.e._mdf || b) && (d.setAttribute("x2", p[0]), d.setAttribute("y2", p[1]), m && !f.g._collapsable && (f.of.setAttribute("x2", p[0]), f.of.setAttribute("y2", p[1])));
7812
7838
  else {
7813
7839
  var O;
7814
- if ((f.s._mdf || f.e._mdf || b) && (O = Math.sqrt(Math.pow(S[0] - p[0], 2) + Math.pow(S[1] - p[1], 2)), d.setAttribute("r", O), m && !f.g._collapsable && f.of.setAttribute("r", O)), f.e._mdf || f.h._mdf || f.a._mdf || b) {
7815
- O || (O = Math.sqrt(Math.pow(S[0] - p[0], 2) + Math.pow(S[1] - p[1], 2)));
7816
- var N = Math.atan2(p[1] - S[1], p[0] - S[0]), z = f.h.v;
7840
+ if ((f.s._mdf || f.e._mdf || b) && (O = Math.sqrt(Math.pow(k[0] - p[0], 2) + Math.pow(k[1] - p[1], 2)), d.setAttribute("r", O), m && !f.g._collapsable && f.of.setAttribute("r", O)), f.e._mdf || f.h._mdf || f.a._mdf || b) {
7841
+ O || (O = Math.sqrt(Math.pow(k[0] - p[0], 2) + Math.pow(k[1] - p[1], 2)));
7842
+ var V = Math.atan2(p[1] - k[1], p[0] - k[0]), z = f.h.v;
7817
7843
  z >= 1 ? z = 0.99 : z <= -1 && (z = -0.99);
7818
- var H = O * z, L = Math.cos(N + f.a.v) * H + S[0], A = Math.sin(N + f.a.v) * H + S[1];
7844
+ var H = O * z, L = Math.cos(V + f.a.v) * H + k[0], A = Math.sin(V + f.a.v) * H + k[1];
7819
7845
  d.setAttribute("fx", L), d.setAttribute("fy", A), m && !f.g._collapsable && (f.of.setAttribute("fx", L), f.of.setAttribute("fy", A));
7820
7846
  }
7821
7847
  }
@@ -7890,18 +7916,18 @@ function requireLottie() {
7890
7916
  this.dynamicProperties[t].getValue();
7891
7917
  this.renderModifiers();
7892
7918
  }, SVGShapeElement.prototype.searchShapes = function(t, e, r, i, s, n, a) {
7893
- var l = [].concat(n), o, c = t.length - 1, u, E, f = [], b = [], d, m, S;
7919
+ var l = [].concat(n), o, c = t.length - 1, u, E, f = [], b = [], d, m, k;
7894
7920
  for (o = c; o >= 0; o -= 1) {
7895
- if (S = this.searchProcessedElement(t[o]), S ? e[o] = r[S - 1] : t[o]._render = a, t[o].ty === "fl" || t[o].ty === "st" || t[o].ty === "gf" || t[o].ty === "gs" || t[o].ty === "no")
7896
- S ? e[o].style.closed = !1 : e[o] = this.createStyleElement(t[o], s), t[o]._render && e[o].style.pElem.parentNode !== i && i.appendChild(e[o].style.pElem), f.push(e[o].style);
7921
+ if (k = this.searchProcessedElement(t[o]), k ? e[o] = r[k - 1] : t[o]._render = a, t[o].ty === "fl" || t[o].ty === "st" || t[o].ty === "gf" || t[o].ty === "gs" || t[o].ty === "no")
7922
+ k ? e[o].style.closed = !1 : e[o] = this.createStyleElement(t[o], s), t[o]._render && e[o].style.pElem.parentNode !== i && i.appendChild(e[o].style.pElem), f.push(e[o].style);
7897
7923
  else if (t[o].ty === "gr") {
7898
- if (!S)
7924
+ if (!k)
7899
7925
  e[o] = this.createGroupElement(t[o]);
7900
7926
  else
7901
7927
  for (E = e[o].it.length, u = 0; u < E; u += 1)
7902
7928
  e[o].prevViewData[u] = e[o].it[u];
7903
7929
  this.searchShapes(t[o].it, e[o].it, e[o].prevViewData, e[o].gr, s + 1, l, a), t[o]._render && e[o].gr.parentNode !== i && i.appendChild(e[o].gr);
7904
- } else t[o].ty === "tr" ? (S || (e[o] = this.createTransformElement(t[o], i)), d = e[o].transform, l.push(d)) : t[o].ty === "sh" || t[o].ty === "rc" || t[o].ty === "el" || t[o].ty === "sr" ? (S || (e[o] = this.createShapeElement(t[o], l, s)), this.setElementStyles(e[o])) : t[o].ty === "tm" || t[o].ty === "rd" || t[o].ty === "ms" || t[o].ty === "pb" || t[o].ty === "zz" || t[o].ty === "op" ? (S ? (m = e[o], m.closed = !1) : (m = ShapeModifiers.getModifier(t[o].ty), m.init(this, t[o]), e[o] = m, this.shapeModifiers.push(m)), b.push(m)) : t[o].ty === "rp" && (S ? (m = e[o], m.closed = !0) : (m = ShapeModifiers.getModifier(t[o].ty), e[o] = m, m.init(this, t, o, e), this.shapeModifiers.push(m), a = !1), b.push(m));
7930
+ } else t[o].ty === "tr" ? (k || (e[o] = this.createTransformElement(t[o], i)), d = e[o].transform, l.push(d)) : t[o].ty === "sh" || t[o].ty === "rc" || t[o].ty === "el" || t[o].ty === "sr" ? (k || (e[o] = this.createShapeElement(t[o], l, s)), this.setElementStyles(e[o])) : t[o].ty === "tm" || t[o].ty === "rd" || t[o].ty === "ms" || t[o].ty === "pb" || t[o].ty === "zz" || t[o].ty === "op" ? (k ? (m = e[o], m.closed = !1) : (m = ShapeModifiers.getModifier(t[o].ty), m.init(this, t[o]), e[o] = m, this.shapeModifiers.push(m)), b.push(m)) : t[o].ty === "rp" && (k ? (m = e[o], m.closed = !0) : (m = ShapeModifiers.getModifier(t[o].ty), e[o] = m, m.init(this, t, o, e), this.shapeModifiers.push(m), a = !1), b.push(m));
7905
7931
  this.addProcessedElement(t[o], o + 1);
7906
7932
  }
7907
7933
  for (c = f.length, o = 0; o < c; o += 1)
@@ -8005,21 +8031,21 @@ function requireLottie() {
8005
8031
  return e;
8006
8032
  }, TextProperty.prototype.completeTextData = function(t) {
8007
8033
  t.__complete = !0;
8008
- var e = this.elem.globalData.fontManager, r = this.data, i = [], s, n, a, l = 0, o, c = r.m.g, u = 0, E = 0, f = 0, b = [], d = 0, m = 0, S, p, x = e.getFontByName(t.f), y, g = 0, k = getFontProperties(x);
8009
- t.fWeight = k.weight, t.fStyle = k.style, t.finalSize = t.s, t.finalText = this.buildFinalText(t.t), n = t.finalText.length, t.finalLineHeight = t.lh;
8010
- var P = t.tr / 1e3 * t.finalSize, T;
8034
+ var e = this.elem.globalData.fontManager, r = this.data, i = [], s, n, a, l = 0, o, c = r.m.g, u = 0, E = 0, f = 0, b = [], d = 0, m = 0, k, p, x = e.getFontByName(t.f), y, g = 0, S = getFontProperties(x);
8035
+ t.fWeight = S.weight, t.fStyle = S.style, t.finalSize = t.s, t.finalText = this.buildFinalText(t.t), n = t.finalText.length, t.finalLineHeight = t.lh;
8036
+ var P = t.tr / 1e3 * t.finalSize, _;
8011
8037
  if (t.sz)
8012
- for (var F = !0, I = t.sz[0], $ = t.sz[1], O, N; F; ) {
8013
- N = this.buildFinalText(t.t), O = 0, d = 0, n = N.length, P = t.tr / 1e3 * t.finalSize;
8038
+ for (var F = !0, I = t.sz[0], $ = t.sz[1], O, V; F; ) {
8039
+ V = this.buildFinalText(t.t), O = 0, d = 0, n = V.length, P = t.tr / 1e3 * t.finalSize;
8014
8040
  var z = -1;
8015
8041
  for (s = 0; s < n; s += 1)
8016
- T = N[s].charCodeAt(0), a = !1, N[s] === " " ? z = s : (T === 13 || T === 3) && (d = 0, a = !0, O += t.finalLineHeight || t.finalSize * 1.2), e.chars ? (y = e.getCharData(N[s], x.fStyle, x.fFamily), g = a ? 0 : y.w * t.finalSize / 100) : g = e.measureText(N[s], t.f, t.finalSize), d + g > I && N[s] !== " " ? (z === -1 ? n += 1 : s = z, O += t.finalLineHeight || t.finalSize * 1.2, N.splice(s, z === s ? 1 : 0, "\r"), z = -1, d = 0) : (d += g, d += P);
8017
- O += x.ascent * t.finalSize / 100, this.canResize && t.finalSize > this.minimumFontSize && $ < O ? (t.finalSize -= 1, t.finalLineHeight = t.finalSize * t.lh / t.s) : (t.finalText = N, n = t.finalText.length, F = !1);
8042
+ _ = V[s].charCodeAt(0), a = !1, V[s] === " " ? z = s : (_ === 13 || _ === 3) && (d = 0, a = !0, O += t.finalLineHeight || t.finalSize * 1.2), e.chars ? (y = e.getCharData(V[s], x.fStyle, x.fFamily), g = a ? 0 : y.w * t.finalSize / 100) : g = e.measureText(V[s], t.f, t.finalSize), d + g > I && V[s] !== " " ? (z === -1 ? n += 1 : s = z, O += t.finalLineHeight || t.finalSize * 1.2, V.splice(s, z === s ? 1 : 0, "\r"), z = -1, d = 0) : (d += g, d += P);
8043
+ O += x.ascent * t.finalSize / 100, this.canResize && t.finalSize > this.minimumFontSize && $ < O ? (t.finalSize -= 1, t.finalLineHeight = t.finalSize * t.lh / t.s) : (t.finalText = V, n = t.finalText.length, F = !1);
8018
8044
  }
8019
8045
  d = -P, g = 0;
8020
8046
  var H = 0, L;
8021
8047
  for (s = 0; s < n; s += 1)
8022
- if (a = !1, L = t.finalText[s], T = L.charCodeAt(0), T === 13 || T === 3 ? (H = 0, b.push(d), m = d > m ? d : m, d = -2 * P, o = "", a = !0, f += 1) : o = L, e.chars ? (y = e.getCharData(L, x.fStyle, e.getFontByName(t.f).fFamily), g = a ? 0 : y.w * t.finalSize / 100) : g = e.measureText(o, t.f, t.finalSize), L === " " ? H += g + P : (d += g + P + H, H = 0), i.push({
8048
+ if (a = !1, L = t.finalText[s], _ = L.charCodeAt(0), _ === 13 || _ === 3 ? (H = 0, b.push(d), m = d > m ? d : m, d = -2 * P, o = "", a = !0, f += 1) : o = L, e.chars ? (y = e.getCharData(L, x.fStyle, e.getFontByName(t.f).fFamily), g = a ? 0 : y.w * t.finalSize / 100) : g = e.measureText(o, t.f, t.finalSize), L === " " ? H += g + P : (d += g + P + H, H = 0), i.push({
8023
8049
  l: g,
8024
8050
  an: g,
8025
8051
  add: u,
@@ -8058,15 +8084,15 @@ function requireLottie() {
8058
8084
  t.lineWidths = b;
8059
8085
  var A = r.a, M, C;
8060
8086
  p = A.length;
8061
- var R, j, _ = [];
8062
- for (S = 0; S < p; S += 1) {
8063
- for (M = A[S], M.a.sc && (t.strokeColorAnim = !0), M.a.sw && (t.strokeWidthAnim = !0), (M.a.fc || M.a.fh || M.a.fs || M.a.fb) && (t.fillColorAnim = !0), j = 0, R = M.s.b, s = 0; s < n; s += 1)
8064
- C = i[s], C.anIndexes[S] = j, (R == 1 && C.val !== "" || R == 2 && C.val !== "" && C.val !== " " || R == 3 && (C.n || C.val == " " || s == n - 1) || R == 4 && (C.n || s == n - 1)) && (M.s.rn === 1 && _.push(j), j += 1);
8065
- r.a[S].s.totalChars = j;
8066
- var D = -1, V;
8087
+ var R, j, T = [];
8088
+ for (k = 0; k < p; k += 1) {
8089
+ for (M = A[k], M.a.sc && (t.strokeColorAnim = !0), M.a.sw && (t.strokeWidthAnim = !0), (M.a.fc || M.a.fh || M.a.fs || M.a.fb) && (t.fillColorAnim = !0), j = 0, R = M.s.b, s = 0; s < n; s += 1)
8090
+ C = i[s], C.anIndexes[k] = j, (R == 1 && C.val !== "" || R == 2 && C.val !== "" && C.val !== " " || R == 3 && (C.n || C.val == " " || s == n - 1) || R == 4 && (C.n || s == n - 1)) && (M.s.rn === 1 && T.push(j), j += 1);
8091
+ r.a[k].s.totalChars = j;
8092
+ var D = -1, B;
8067
8093
  if (M.s.rn === 1)
8068
8094
  for (s = 0; s < n; s += 1)
8069
- C = i[s], D != C.anIndexes[S] && (D = C.anIndexes[S], V = _.splice(Math.floor(Math.random() * _.length), 1)[0]), C.anIndexes[S] = V;
8095
+ C = i[s], D != C.anIndexes[k] && (D = C.anIndexes[k], B = T.splice(Math.floor(Math.random() * T.length), 1)[0]), C.anIndexes[k] = B;
8070
8096
  }
8071
8097
  t.yOffset = t.finalLineHeight || t.finalSize * 1.2, t.ls = t.ls || 0, t.ascent = x.ascent * t.finalSize / 100;
8072
8098
  }, TextProperty.prototype.updateDocumentData = function(t, e) {
@@ -8114,9 +8140,9 @@ function requireLottie() {
8114
8140
  if (d === b)
8115
8141
  f = 0;
8116
8142
  else {
8117
- var S = d - b;
8143
+ var k = d - b;
8118
8144
  a = e(t(0, a + 0.5 - b), d - b);
8119
- var p = -S / 2 + a, x = S / 2;
8145
+ var p = -k / 2 + a, x = k / 2;
8120
8146
  f = Math.sqrt(1 - p * p / (x * x));
8121
8147
  }
8122
8148
  f = E(f);
@@ -8189,28 +8215,28 @@ function requireLottie() {
8189
8215
  }, TextAnimatorProperty.prototype.getMeasures = function(t, e) {
8190
8216
  if (this.lettersChangedFlag = e, !(!this._mdf && !this._isFirstFrame && !e && (!this._hasMaskedPath || !this._pathData.m._mdf))) {
8191
8217
  this._isFirstFrame = !1;
8192
- var r = this._moreOptions.alignment.v, i = this._animatorsData, s = this._textData, n = this.mHelper, a = this._renderType, l = this.renderedLetters.length, o, c, u, E, f = t.l, b, d, m, S, p, x, y, g, k, P, T, F, I, $, O;
8218
+ var r = this._moreOptions.alignment.v, i = this._animatorsData, s = this._textData, n = this.mHelper, a = this._renderType, l = this.renderedLetters.length, o, c, u, E, f = t.l, b, d, m, k, p, x, y, g, S, P, _, F, I, $, O;
8193
8219
  if (this._hasMaskedPath) {
8194
8220
  if (O = this._pathData.m, !this._pathData.n || this._pathData._mdf) {
8195
- var N = O.v;
8196
- this._pathData.r.v && (N = N.reverse()), b = {
8221
+ var V = O.v;
8222
+ this._pathData.r.v && (V = V.reverse()), b = {
8197
8223
  tLength: 0,
8198
8224
  segments: []
8199
- }, E = N._length - 1;
8225
+ }, E = V._length - 1;
8200
8226
  var z;
8201
8227
  for (F = 0, u = 0; u < E; u += 1)
8202
- z = bez.buildBezierData(N.v[u], N.v[u + 1], [N.o[u][0] - N.v[u][0], N.o[u][1] - N.v[u][1]], [N.i[u + 1][0] - N.v[u + 1][0], N.i[u + 1][1] - N.v[u + 1][1]]), b.tLength += z.segmentLength, b.segments.push(z), F += z.segmentLength;
8203
- u = E, O.v.c && (z = bez.buildBezierData(N.v[u], N.v[0], [N.o[u][0] - N.v[u][0], N.o[u][1] - N.v[u][1]], [N.i[0][0] - N.v[0][0], N.i[0][1] - N.v[0][1]]), b.tLength += z.segmentLength, b.segments.push(z), F += z.segmentLength), this._pathData.pi = b;
8228
+ z = bez.buildBezierData(V.v[u], V.v[u + 1], [V.o[u][0] - V.v[u][0], V.o[u][1] - V.v[u][1]], [V.i[u + 1][0] - V.v[u + 1][0], V.i[u + 1][1] - V.v[u + 1][1]]), b.tLength += z.segmentLength, b.segments.push(z), F += z.segmentLength;
8229
+ u = E, O.v.c && (z = bez.buildBezierData(V.v[u], V.v[0], [V.o[u][0] - V.v[u][0], V.o[u][1] - V.v[u][1]], [V.i[0][0] - V.v[0][0], V.i[0][1] - V.v[0][1]]), b.tLength += z.segmentLength, b.segments.push(z), F += z.segmentLength), this._pathData.pi = b;
8204
8230
  }
8205
- if (b = this._pathData.pi, d = this._pathData.f.v, y = 0, x = 1, S = 0, p = !0, P = b.segments, d < 0 && O.v.c)
8206
- for (b.tLength < Math.abs(d) && (d = -Math.abs(d) % b.tLength), y = P.length - 1, k = P[y].points, x = k.length - 1; d < 0; )
8207
- d += k[x].partialLength, x -= 1, x < 0 && (y -= 1, k = P[y].points, x = k.length - 1);
8208
- k = P[y].points, g = k[x - 1], m = k[x], T = m.partialLength;
8231
+ if (b = this._pathData.pi, d = this._pathData.f.v, y = 0, x = 1, k = 0, p = !0, P = b.segments, d < 0 && O.v.c)
8232
+ for (b.tLength < Math.abs(d) && (d = -Math.abs(d) % b.tLength), y = P.length - 1, S = P[y].points, x = S.length - 1; d < 0; )
8233
+ d += S[x].partialLength, x -= 1, x < 0 && (y -= 1, S = P[y].points, x = S.length - 1);
8234
+ S = P[y].points, g = S[x - 1], m = S[x], _ = m.partialLength;
8209
8235
  }
8210
8236
  E = f.length, o = 0, c = 0;
8211
8237
  var H = t.finalSize * 1.2 * 0.714, L = !0, A, M, C, R, j;
8212
8238
  R = i.length;
8213
- var _, D = -1, V, G, J, K = d, X = y, Q = x, st = -1, at, nt, ct, tt, q, ot, ut, pt, mt = "", dt = this.defaultPropsArray, ft;
8239
+ var T, D = -1, B, G, J, K = d, X = y, Q = x, st = -1, at, nt, ct, tt, q, ot, ut, pt, mt = "", dt = this.defaultPropsArray, ft;
8214
8240
  if (t.j === 2 || t.j === 1) {
8215
8241
  var lt = 0, ht = 0, xt = t.j === 2 ? -0.5 : -1, yt = 0, vt = !0;
8216
8242
  for (u = 0; u < E; u += 1)
@@ -8220,7 +8246,7 @@ function requireLottie() {
8220
8246
  lt = 0, vt = !0;
8221
8247
  } else {
8222
8248
  for (C = 0; C < R; C += 1)
8223
- A = i[C].a, A.t.propType && (vt && t.j === 2 && (ht += A.t.v * xt), M = i[C].s, _ = M.getMult(f[u].anIndexes[C], s.a[C].s.totalChars), _.length ? lt += A.t.v * _[0] * xt : lt += A.t.v * _ * xt);
8249
+ A = i[C].a, A.t.propType && (vt && t.j === 2 && (ht += A.t.v * xt), M = i[C].s, T = M.getMult(f[u].anIndexes[C], s.a[C].s.totalChars), T.length ? lt += A.t.v * T[0] * xt : lt += A.t.v * T * xt);
8224
8250
  vt = !1;
8225
8251
  }
8226
8252
  for (lt && (lt += ht); yt < u; )
@@ -8228,7 +8254,7 @@ function requireLottie() {
8228
8254
  }
8229
8255
  for (u = 0; u < E; u += 1) {
8230
8256
  if (n.reset(), at = 1, f[u].n)
8231
- o = 0, c += t.yOffset, c += L ? 1 : 0, d = K, L = !1, this._hasMaskedPath && (y = X, x = Q, k = P[y].points, g = k[x - 1], m = k[x], T = m.partialLength, S = 0), mt = "", pt = "", ot = "", ft = "", dt = this.defaultPropsArray;
8257
+ o = 0, c += t.yOffset, c += L ? 1 : 0, d = K, L = !1, this._hasMaskedPath && (y = X, x = Q, S = P[y].points, g = S[x - 1], m = S[x], _ = m.partialLength, k = 0), mt = "", pt = "", ot = "", ft = "", dt = this.defaultPropsArray;
8232
8258
  else {
8233
8259
  if (this._hasMaskedPath) {
8234
8260
  if (st !== f[u].line) {
@@ -8245,31 +8271,31 @@ function requireLottie() {
8245
8271
  D !== f[u].ind && (f[D] && (d += f[D].extra), d += f[u].an / 2, D = f[u].ind), d += r[0] * f[u].an * 5e-3;
8246
8272
  var it = 0;
8247
8273
  for (C = 0; C < R; C += 1)
8248
- A = i[C].a, A.p.propType && (M = i[C].s, _ = M.getMult(f[u].anIndexes[C], s.a[C].s.totalChars), _.length ? it += A.p.v[0] * _[0] : it += A.p.v[0] * _), A.a.propType && (M = i[C].s, _ = M.getMult(f[u].anIndexes[C], s.a[C].s.totalChars), _.length ? it += A.a.v[0] * _[0] : it += A.a.v[0] * _);
8274
+ A = i[C].a, A.p.propType && (M = i[C].s, T = M.getMult(f[u].anIndexes[C], s.a[C].s.totalChars), T.length ? it += A.p.v[0] * T[0] : it += A.p.v[0] * T), A.a.propType && (M = i[C].s, T = M.getMult(f[u].anIndexes[C], s.a[C].s.totalChars), T.length ? it += A.a.v[0] * T[0] : it += A.a.v[0] * T);
8249
8275
  for (p = !0, this._pathData.a.v && (d = f[0].an * 0.5 + (F - this._pathData.f.v - f[0].an * 0.5 - f[f.length - 1].an * 0.5) * D / (E - 1), d += this._pathData.f.v); p; )
8250
- S + T >= d + it || !k ? (I = (d + it - S) / m.partialLength, G = g.point[0] + (m.point[0] - g.point[0]) * I, J = g.point[1] + (m.point[1] - g.point[1]) * I, n.translate(-r[0] * f[u].an * 5e-3, -(r[1] * H) * 0.01), p = !1) : k && (S += m.partialLength, x += 1, x >= k.length && (x = 0, y += 1, P[y] ? k = P[y].points : O.v.c ? (x = 0, y = 0, k = P[y].points) : (S -= m.partialLength, k = null)), k && (g = m, m = k[x], T = m.partialLength));
8251
- V = f[u].an / 2 - f[u].add, n.translate(-V, 0, 0);
8276
+ k + _ >= d + it || !S ? (I = (d + it - k) / m.partialLength, G = g.point[0] + (m.point[0] - g.point[0]) * I, J = g.point[1] + (m.point[1] - g.point[1]) * I, n.translate(-r[0] * f[u].an * 5e-3, -(r[1] * H) * 0.01), p = !1) : S && (k += m.partialLength, x += 1, x >= S.length && (x = 0, y += 1, P[y] ? S = P[y].points : O.v.c ? (x = 0, y = 0, S = P[y].points) : (k -= m.partialLength, S = null)), S && (g = m, m = S[x], _ = m.partialLength));
8277
+ B = f[u].an / 2 - f[u].add, n.translate(-B, 0, 0);
8252
8278
  } else
8253
- V = f[u].an / 2 - f[u].add, n.translate(-V, 0, 0), n.translate(-r[0] * f[u].an * 5e-3, -r[1] * H * 0.01, 0);
8279
+ B = f[u].an / 2 - f[u].add, n.translate(-B, 0, 0), n.translate(-r[0] * f[u].an * 5e-3, -r[1] * H * 0.01, 0);
8254
8280
  for (C = 0; C < R; C += 1)
8255
- A = i[C].a, A.t.propType && (M = i[C].s, _ = M.getMult(f[u].anIndexes[C], s.a[C].s.totalChars), (o !== 0 || t.j !== 0) && (this._hasMaskedPath ? _.length ? d += A.t.v * _[0] : d += A.t.v * _ : _.length ? o += A.t.v * _[0] : o += A.t.v * _));
8281
+ A = i[C].a, A.t.propType && (M = i[C].s, T = M.getMult(f[u].anIndexes[C], s.a[C].s.totalChars), (o !== 0 || t.j !== 0) && (this._hasMaskedPath ? T.length ? d += A.t.v * T[0] : d += A.t.v * T : T.length ? o += A.t.v * T[0] : o += A.t.v * T));
8256
8282
  for (t.strokeWidthAnim && (ct = t.sw || 0), t.strokeColorAnim && (t.sc ? nt = [t.sc[0], t.sc[1], t.sc[2]] : nt = [0, 0, 0]), t.fillColorAnim && t.fc && (tt = [t.fc[0], t.fc[1], t.fc[2]]), C = 0; C < R; C += 1)
8257
- A = i[C].a, A.a.propType && (M = i[C].s, _ = M.getMult(f[u].anIndexes[C], s.a[C].s.totalChars), _.length ? n.translate(-A.a.v[0] * _[0], -A.a.v[1] * _[1], A.a.v[2] * _[2]) : n.translate(-A.a.v[0] * _, -A.a.v[1] * _, A.a.v[2] * _));
8283
+ A = i[C].a, A.a.propType && (M = i[C].s, T = M.getMult(f[u].anIndexes[C], s.a[C].s.totalChars), T.length ? n.translate(-A.a.v[0] * T[0], -A.a.v[1] * T[1], A.a.v[2] * T[2]) : n.translate(-A.a.v[0] * T, -A.a.v[1] * T, A.a.v[2] * T));
8258
8284
  for (C = 0; C < R; C += 1)
8259
- A = i[C].a, A.s.propType && (M = i[C].s, _ = M.getMult(f[u].anIndexes[C], s.a[C].s.totalChars), _.length ? n.scale(1 + (A.s.v[0] - 1) * _[0], 1 + (A.s.v[1] - 1) * _[1], 1) : n.scale(1 + (A.s.v[0] - 1) * _, 1 + (A.s.v[1] - 1) * _, 1));
8285
+ A = i[C].a, A.s.propType && (M = i[C].s, T = M.getMult(f[u].anIndexes[C], s.a[C].s.totalChars), T.length ? n.scale(1 + (A.s.v[0] - 1) * T[0], 1 + (A.s.v[1] - 1) * T[1], 1) : n.scale(1 + (A.s.v[0] - 1) * T, 1 + (A.s.v[1] - 1) * T, 1));
8260
8286
  for (C = 0; C < R; C += 1) {
8261
- if (A = i[C].a, M = i[C].s, _ = M.getMult(f[u].anIndexes[C], s.a[C].s.totalChars), A.sk.propType && (_.length ? n.skewFromAxis(-A.sk.v * _[0], A.sa.v * _[1]) : n.skewFromAxis(-A.sk.v * _, A.sa.v * _)), A.r.propType && (_.length ? n.rotateZ(-A.r.v * _[2]) : n.rotateZ(-A.r.v * _)), A.ry.propType && (_.length ? n.rotateY(A.ry.v * _[1]) : n.rotateY(A.ry.v * _)), A.rx.propType && (_.length ? n.rotateX(A.rx.v * _[0]) : n.rotateX(A.rx.v * _)), A.o.propType && (_.length ? at += (A.o.v * _[0] - at) * _[0] : at += (A.o.v * _ - at) * _), t.strokeWidthAnim && A.sw.propType && (_.length ? ct += A.sw.v * _[0] : ct += A.sw.v * _), t.strokeColorAnim && A.sc.propType)
8287
+ if (A = i[C].a, M = i[C].s, T = M.getMult(f[u].anIndexes[C], s.a[C].s.totalChars), A.sk.propType && (T.length ? n.skewFromAxis(-A.sk.v * T[0], A.sa.v * T[1]) : n.skewFromAxis(-A.sk.v * T, A.sa.v * T)), A.r.propType && (T.length ? n.rotateZ(-A.r.v * T[2]) : n.rotateZ(-A.r.v * T)), A.ry.propType && (T.length ? n.rotateY(A.ry.v * T[1]) : n.rotateY(A.ry.v * T)), A.rx.propType && (T.length ? n.rotateX(A.rx.v * T[0]) : n.rotateX(A.rx.v * T)), A.o.propType && (T.length ? at += (A.o.v * T[0] - at) * T[0] : at += (A.o.v * T - at) * T), t.strokeWidthAnim && A.sw.propType && (T.length ? ct += A.sw.v * T[0] : ct += A.sw.v * T), t.strokeColorAnim && A.sc.propType)
8262
8288
  for (q = 0; q < 3; q += 1)
8263
- _.length ? nt[q] += (A.sc.v[q] - nt[q]) * _[0] : nt[q] += (A.sc.v[q] - nt[q]) * _;
8289
+ T.length ? nt[q] += (A.sc.v[q] - nt[q]) * T[0] : nt[q] += (A.sc.v[q] - nt[q]) * T;
8264
8290
  if (t.fillColorAnim && t.fc) {
8265
8291
  if (A.fc.propType)
8266
8292
  for (q = 0; q < 3; q += 1)
8267
- _.length ? tt[q] += (A.fc.v[q] - tt[q]) * _[0] : tt[q] += (A.fc.v[q] - tt[q]) * _;
8268
- A.fh.propType && (_.length ? tt = addHueToRGB(tt, A.fh.v * _[0]) : tt = addHueToRGB(tt, A.fh.v * _)), A.fs.propType && (_.length ? tt = addSaturationToRGB(tt, A.fs.v * _[0]) : tt = addSaturationToRGB(tt, A.fs.v * _)), A.fb.propType && (_.length ? tt = addBrightnessToRGB(tt, A.fb.v * _[0]) : tt = addBrightnessToRGB(tt, A.fb.v * _));
8293
+ T.length ? tt[q] += (A.fc.v[q] - tt[q]) * T[0] : tt[q] += (A.fc.v[q] - tt[q]) * T;
8294
+ A.fh.propType && (T.length ? tt = addHueToRGB(tt, A.fh.v * T[0]) : tt = addHueToRGB(tt, A.fh.v * T)), A.fs.propType && (T.length ? tt = addSaturationToRGB(tt, A.fs.v * T[0]) : tt = addSaturationToRGB(tt, A.fs.v * T)), A.fb.propType && (T.length ? tt = addBrightnessToRGB(tt, A.fb.v * T[0]) : tt = addBrightnessToRGB(tt, A.fb.v * T));
8269
8295
  }
8270
8296
  }
8271
8297
  for (C = 0; C < R; C += 1)
8272
- A = i[C].a, A.p.propType && (M = i[C].s, _ = M.getMult(f[u].anIndexes[C], s.a[C].s.totalChars), this._hasMaskedPath ? _.length ? n.translate(0, A.p.v[1] * _[0], -A.p.v[2] * _[1]) : n.translate(0, A.p.v[1] * _, -A.p.v[2] * _) : _.length ? n.translate(A.p.v[0] * _[0], A.p.v[1] * _[1], -A.p.v[2] * _[2]) : n.translate(A.p.v[0] * _, A.p.v[1] * _, -A.p.v[2] * _));
8298
+ A = i[C].a, A.p.propType && (M = i[C].s, T = M.getMult(f[u].anIndexes[C], s.a[C].s.totalChars), this._hasMaskedPath ? T.length ? n.translate(0, A.p.v[1] * T[0], -A.p.v[2] * T[1]) : n.translate(0, A.p.v[1] * T, -A.p.v[2] * T) : T.length ? n.translate(A.p.v[0] * T[0], A.p.v[1] * T[1], -A.p.v[2] * T[2]) : n.translate(A.p.v[0] * T, A.p.v[1] * T, -A.p.v[2] * T));
8273
8299
  if (t.strokeWidthAnim && (ot = ct < 0 ? 0 : ct), t.strokeColorAnim && (ut = "rgb(" + Math.round(nt[0] * 255) + "," + Math.round(nt[1] * 255) + "," + Math.round(nt[2] * 255) + ")"), t.fillColorAnim && t.fc && (pt = "rgb(" + Math.round(tt[0] * 255) + "," + Math.round(tt[1] * 255) + "," + Math.round(tt[2] * 255) + ")"), this._hasMaskedPath) {
8274
8300
  if (n.translate(0, -t.ls), n.translate(0, r[1] * H * 0.01 + c, 0), this._pathData.p.v) {
8275
8301
  $ = (m.point[1] - g.point[1]) / (m.point[0] - g.point[0]);
@@ -8286,7 +8312,7 @@ function requireLottie() {
8286
8312
  n.translate(f[u].animatorJustifyOffset + t.justifyOffset + (t.boxWidth - t.lineWidths[f[u].line]) / 2, 0, 0);
8287
8313
  break;
8288
8314
  }
8289
- n.translate(0, -t.ls), n.translate(V, 0, 0), n.translate(r[0] * f[u].an * 5e-3, r[1] * H * 0.01, 0), o += f[u].l + t.tr * 1e-3 * t.finalSize;
8315
+ n.translate(0, -t.ls), n.translate(B, 0, 0), n.translate(r[0] * f[u].an * 5e-3, r[1] * H * 0.01, 0), o += f[u].l + t.tr * 1e-3 * t.finalSize;
8290
8316
  }
8291
8317
  a === "html" ? mt = n.toCSS() : a === "svg" ? mt = n.to2dCSS() : dt = [n.props[0], n.props[1], n.props[2], n.props[3], n.props[4], n.props[5], n.props[6], n.props[7], n.props[8], n.props[9], n.props[10], n.props[11], n.props[12], n.props[13], n.props[14], n.props[15]], ft = at;
8292
8318
  }
@@ -8367,7 +8393,7 @@ function requireLottie() {
8367
8393
  e = a.length;
8368
8394
  var o, c = this.mHelper, u = "", E = this.data.singleShape, f = 0, b = 0, d = !0, m = r.tr * 1e-3 * r.finalSize;
8369
8395
  if (E && !l && !r.sz) {
8370
- var S = this.textContainer, p = "start";
8396
+ var k = this.textContainer, p = "start";
8371
8397
  switch (r.j) {
8372
8398
  case 1:
8373
8399
  p = "end";
@@ -8379,14 +8405,14 @@ function requireLottie() {
8379
8405
  p = "start";
8380
8406
  break;
8381
8407
  }
8382
- S.setAttribute("text-anchor", p), S.setAttribute("letter-spacing", m);
8408
+ k.setAttribute("text-anchor", p), k.setAttribute("letter-spacing", m);
8383
8409
  var x = this.buildTextContents(r.finalText);
8384
8410
  for (e = x.length, b = r.ps ? r.ps[1] + r.ascent : 0, t = 0; t < e; t += 1)
8385
- o = this.textSpans[t].span || createNS("tspan"), o.textContent = x[t], o.setAttribute("x", 0), o.setAttribute("y", b), o.style.display = "inherit", S.appendChild(o), this.textSpans[t] || (this.textSpans[t] = {
8411
+ o = this.textSpans[t].span || createNS("tspan"), o.textContent = x[t], o.setAttribute("x", 0), o.setAttribute("y", b), o.style.display = "inherit", k.appendChild(o), this.textSpans[t] || (this.textSpans[t] = {
8386
8412
  span: null,
8387
8413
  glyph: null
8388
8414
  }), this.textSpans[t].span = o, b += r.finalLineHeight;
8389
- this.layerElement.appendChild(S);
8415
+ this.layerElement.appendChild(k);
8390
8416
  } else {
8391
8417
  var y = this.textSpans.length, g;
8392
8418
  for (t = 0; t < e; t += 1) {
@@ -8397,8 +8423,8 @@ function requireLottie() {
8397
8423
  }), !l || !E || t === 0) {
8398
8424
  if (o = y > t ? this.textSpans[t].span : createNS(l ? "g" : "text"), y <= t) {
8399
8425
  if (o.setAttribute("stroke-linecap", "butt"), o.setAttribute("stroke-linejoin", "round"), o.setAttribute("stroke-miterlimit", "4"), this.textSpans[t].span = o, l) {
8400
- var k = createNS("g");
8401
- o.appendChild(k), this.textSpans[t].childSpan = k;
8426
+ var S = createNS("g");
8427
+ o.appendChild(S), this.textSpans[t].childSpan = S;
8402
8428
  }
8403
8429
  this.textSpans[t].span = o, this.layerElement.appendChild(o);
8404
8430
  }
@@ -8410,8 +8436,8 @@ function requireLottie() {
8410
8436
  if (g.t === 1)
8411
8437
  P = new SVGCompElement(g.data, this.globalData, this);
8412
8438
  else {
8413
- var T = emptyShapeData;
8414
- g.data && g.data.shapes && (T = this.buildShapeData(g.data, r.finalSize)), P = new SVGShapeElement(T, this.globalData, this);
8439
+ var _ = emptyShapeData;
8440
+ g.data && g.data.shapes && (_ = this.buildShapeData(g.data, r.finalSize)), P = new SVGShapeElement(_, this.globalData, this);
8415
8441
  }
8416
8442
  if (this.textSpans[t].glyph) {
8417
8443
  var F = this.textSpans[t].glyph;
@@ -9003,9 +9029,9 @@ function requireLottie() {
9003
9029
  var E = o * u, f = Math.cos(c + e.a.v) * E + a[0], b = Math.sin(c + e.a.v) * E + a[1];
9004
9030
  s = n.createRadialGradient(f, b, 0, a[0], a[1], o);
9005
9031
  }
9006
- var d, m = t.g.p, S = e.g.c, p = 1;
9032
+ var d, m = t.g.p, k = e.g.c, p = 1;
9007
9033
  for (d = 0; d < m; d += 1)
9008
- e.g._hasOpacity && e.g._collapsable && (p = e.g.o[d * 2 + 1]), s.addColorStop(S[d * 4] / 100, "rgba(" + S[d * 4 + 1] + "," + S[d * 4 + 2] + "," + S[d * 4 + 3] + "," + p + ")");
9034
+ e.g._hasOpacity && e.g._collapsable && (p = e.g.o[d * 2 + 1]), s.addColorStop(k[d * 4] / 100, "rgba(" + k[d * 4 + 1] + "," + k[d * 4 + 2] + "," + k[d * 4 + 3] + "," + p + ")");
9009
9035
  i.grd = s;
9010
9036
  }
9011
9037
  i.coOp = e.o.v * r.opacity;
@@ -9032,19 +9058,19 @@ function requireLottie() {
9032
9058
  t.sc && (r = !0, this.values.stroke = this.buildColor(t.sc), this.values.sWidth = t.sw);
9033
9059
  var i = this.globalData.fontManager.getFontByName(t.f), s, n, a = t.l, l = this.mHelper;
9034
9060
  this.stroke = r, this.values.fValue = t.finalSize + "px " + this.globalData.fontManager.getFontByName(t.f).fFamily, n = t.finalText.length;
9035
- var o, c, u, E, f, b, d, m, S, p, x = this.data.singleShape, y = t.tr * 1e-3 * t.finalSize, g = 0, k = 0, P = !0, T = 0;
9061
+ var o, c, u, E, f, b, d, m, k, p, x = this.data.singleShape, y = t.tr * 1e-3 * t.finalSize, g = 0, S = 0, P = !0, _ = 0;
9036
9062
  for (s = 0; s < n; s += 1) {
9037
- o = this.globalData.fontManager.getCharData(t.finalText[s], i.fStyle, this.globalData.fontManager.getFontByName(t.f).fFamily), c = o && o.data || {}, l.reset(), x && a[s].n && (g = -y, k += t.yOffset, k += P ? 1 : 0, P = !1), f = c.shapes ? c.shapes[0].it : [], d = f.length, l.scale(t.finalSize / 100, t.finalSize / 100), x && this.applyTextPropertiesToMatrix(t, l, a[s].line, g, k), S = createSizedArray(d - 1);
9063
+ o = this.globalData.fontManager.getCharData(t.finalText[s], i.fStyle, this.globalData.fontManager.getFontByName(t.f).fFamily), c = o && o.data || {}, l.reset(), x && a[s].n && (g = -y, S += t.yOffset, S += P ? 1 : 0, P = !1), f = c.shapes ? c.shapes[0].it : [], d = f.length, l.scale(t.finalSize / 100, t.finalSize / 100), x && this.applyTextPropertiesToMatrix(t, l, a[s].line, g, S), k = createSizedArray(d - 1);
9038
9064
  var F = 0;
9039
9065
  for (b = 0; b < d; b += 1)
9040
9066
  if (f[b].ty === "sh") {
9041
9067
  for (E = f[b].ks.k.i.length, m = f[b].ks.k, p = [], u = 1; u < E; u += 1)
9042
9068
  u === 1 && p.push(l.applyToX(m.v[0][0], m.v[0][1], 0), l.applyToY(m.v[0][0], m.v[0][1], 0)), p.push(l.applyToX(m.o[u - 1][0], m.o[u - 1][1], 0), l.applyToY(m.o[u - 1][0], m.o[u - 1][1], 0), l.applyToX(m.i[u][0], m.i[u][1], 0), l.applyToY(m.i[u][0], m.i[u][1], 0), l.applyToX(m.v[u][0], m.v[u][1], 0), l.applyToY(m.v[u][0], m.v[u][1], 0));
9043
- p.push(l.applyToX(m.o[u - 1][0], m.o[u - 1][1], 0), l.applyToY(m.o[u - 1][0], m.o[u - 1][1], 0), l.applyToX(m.i[0][0], m.i[0][1], 0), l.applyToY(m.i[0][0], m.i[0][1], 0), l.applyToX(m.v[0][0], m.v[0][1], 0), l.applyToY(m.v[0][0], m.v[0][1], 0)), S[F] = p, F += 1;
9069
+ p.push(l.applyToX(m.o[u - 1][0], m.o[u - 1][1], 0), l.applyToY(m.o[u - 1][0], m.o[u - 1][1], 0), l.applyToX(m.i[0][0], m.i[0][1], 0), l.applyToY(m.i[0][0], m.i[0][1], 0), l.applyToX(m.v[0][0], m.v[0][1], 0), l.applyToY(m.v[0][0], m.v[0][1], 0)), k[F] = p, F += 1;
9044
9070
  }
9045
- x && (g += a[s].l, g += y), this.textSpans[T] ? this.textSpans[T].elem = S : this.textSpans[T] = {
9046
- elem: S
9047
- }, T += 1;
9071
+ x && (g += a[s].l, g += y), this.textSpans[_] ? this.textSpans[_].elem = k : this.textSpans[_] = {
9072
+ elem: k
9073
+ }, _ += 1;
9048
9074
  }
9049
9075
  }, CVTextElement.prototype.renderInnerContent = function() {
9050
9076
  this.validateText();
@@ -9467,8 +9493,8 @@ function requireLottie() {
9467
9493
  var c, u, E, f = this.mHelper, b, d = "", m = 0;
9468
9494
  for (a = 0; a < l; a += 1) {
9469
9495
  if (this.globalData.fontManager.chars ? (this.textPaths[m] ? c = this.textPaths[m] : (c = createNS("path"), c.setAttribute("stroke-linecap", lineCapEnum[1]), c.setAttribute("stroke-linejoin", lineJoinEnum[2]), c.setAttribute("stroke-miterlimit", "4")), this.isMasked || (this.textSpans[m] ? (u = this.textSpans[m], E = u.children[0]) : (u = createTag("div"), u.style.lineHeight = 0, E = createNS("svg"), E.appendChild(c), styleDiv(u)))) : this.isMasked ? c = this.textPaths[m] ? this.textPaths[m] : createNS("text") : this.textSpans[m] ? (u = this.textSpans[m], c = this.textPaths[m]) : (u = createTag("span"), styleDiv(u), c = createTag("span"), styleDiv(c), u.appendChild(c)), this.globalData.fontManager.chars) {
9470
- var S = this.globalData.fontManager.getCharData(t.finalText[a], i.fStyle, this.globalData.fontManager.getFontByName(t.f).fFamily), p;
9471
- if (S ? p = S.data : p = null, f.reset(), p && p.shapes && p.shapes.length && (b = p.shapes[0].it, f.scale(t.finalSize / 100, t.finalSize / 100), d = this.createPathShape(f, b), c.setAttribute("d", d)), this.isMasked)
9496
+ var k = this.globalData.fontManager.getCharData(t.finalText[a], i.fStyle, this.globalData.fontManager.getFontByName(t.f).fFamily), p;
9497
+ if (k ? p = k.data : p = null, f.reset(), p && p.shapes && p.shapes.length && (b = p.shapes[0].it, f.scale(t.finalSize / 100, t.finalSize / 100), d = this.createPathShape(f, b), c.setAttribute("d", d)), this.isMasked)
9472
9498
  this.innerElem.appendChild(c);
9473
9499
  else {
9474
9500
  if (this.innerElem.appendChild(u), p && p.shapes) {
@@ -9485,8 +9511,8 @@ function requireLottie() {
9485
9511
  this.innerElem.appendChild(c);
9486
9512
  else {
9487
9513
  this.innerElem.appendChild(u);
9488
- var k = c.style, P = "translate3d(0," + -t.finalSize / 1.2 + "px,0)";
9489
- k.transform = P, k.webkitTransform = P;
9514
+ var S = c.style, P = "translate3d(0," + -t.finalSize / 1.2 + "px,0)";
9515
+ S.transform = P, S.webkitTransform = P;
9490
9516
  }
9491
9517
  this.isMasked ? this.textSpans[m] = c : this.textSpans[m] = u, this.textSpans[m].style.display = "block", this.textPaths[m] = c, m += 1;
9492
9518
  }
@@ -9781,57 +9807,57 @@ function requireLottie() {
9781
9807
  }
9782
9808
  function seedRandom(t, e) {
9783
9809
  var r = this, i = 256, s = 6, n = 52, a = "random", l = e.pow(i, s), o = e.pow(2, n), c = o * 2, u = i - 1, E;
9784
- function f(y, g, k) {
9810
+ function f(y, g, S) {
9785
9811
  var P = [];
9786
9812
  g = g === !0 ? {
9787
9813
  entropy: !0
9788
9814
  } : g || {};
9789
- var T = S(m(g.entropy ? [y, x(t)] : y === null ? p() : y, 3), P), F = new b(P), I = function() {
9790
- for (var O = F.g(s), N = l, z = 0; O < o; )
9791
- O = (O + z) * i, N *= i, z = F.g(1);
9815
+ var _ = k(m(g.entropy ? [y, x(t)] : y === null ? p() : y, 3), P), F = new b(P), I = function() {
9816
+ for (var O = F.g(s), V = l, z = 0; O < o; )
9817
+ O = (O + z) * i, V *= i, z = F.g(1);
9792
9818
  for (; O >= c; )
9793
- O /= 2, N /= 2, z >>>= 1;
9794
- return (O + z) / N;
9819
+ O /= 2, V /= 2, z >>>= 1;
9820
+ return (O + z) / V;
9795
9821
  };
9796
9822
  return I.int32 = function() {
9797
9823
  return F.g(4) | 0;
9798
9824
  }, I.quick = function() {
9799
9825
  return F.g(4) / 4294967296;
9800
- }, I.double = I, S(x(F.S), t), (g.pass || k || function($, O, N, z) {
9826
+ }, I.double = I, k(x(F.S), t), (g.pass || S || function($, O, V, z) {
9801
9827
  return z && (z.S && d(z, F), $.state = function() {
9802
9828
  return d(F, {});
9803
- }), N ? (e[a] = $, O) : $;
9804
- })(I, T, "global" in g ? g.global : this == e, g.state);
9829
+ }), V ? (e[a] = $, O) : $;
9830
+ })(I, _, "global" in g ? g.global : this == e, g.state);
9805
9831
  }
9806
9832
  e["seed" + a] = f;
9807
9833
  function b(y) {
9808
- var g, k = y.length, P = this, T = 0, F = P.i = P.j = 0, I = P.S = [];
9809
- for (k || (y = [k++]); T < i; )
9810
- I[T] = T++;
9811
- for (T = 0; T < i; T++)
9812
- I[T] = I[F = u & F + y[T % k] + (g = I[T])], I[F] = g;
9834
+ var g, S = y.length, P = this, _ = 0, F = P.i = P.j = 0, I = P.S = [];
9835
+ for (S || (y = [S++]); _ < i; )
9836
+ I[_] = _++;
9837
+ for (_ = 0; _ < i; _++)
9838
+ I[_] = I[F = u & F + y[_ % S] + (g = I[_])], I[F] = g;
9813
9839
  P.g = function($) {
9814
- for (var O, N = 0, z = P.i, H = P.j, L = P.S; $--; )
9815
- O = L[z = u & z + 1], N = N * i + L[u & (L[z] = L[H = u & H + O]) + (L[H] = O)];
9816
- return P.i = z, P.j = H, N;
9840
+ for (var O, V = 0, z = P.i, H = P.j, L = P.S; $--; )
9841
+ O = L[z = u & z + 1], V = V * i + L[u & (L[z] = L[H = u & H + O]) + (L[H] = O)];
9842
+ return P.i = z, P.j = H, V;
9817
9843
  };
9818
9844
  }
9819
9845
  function d(y, g) {
9820
9846
  return g.i = y.i, g.j = y.j, g.S = y.S.slice(), g;
9821
9847
  }
9822
9848
  function m(y, g) {
9823
- var k = [], P = _typeof$2(y), T;
9849
+ var S = [], P = _typeof$2(y), _;
9824
9850
  if (g && P == "object")
9825
- for (T in y)
9851
+ for (_ in y)
9826
9852
  try {
9827
- k.push(m(y[T], g - 1));
9853
+ S.push(m(y[_], g - 1));
9828
9854
  } catch {
9829
9855
  }
9830
- return k.length ? k : P == "string" ? y : y + "\0";
9856
+ return S.length ? S : P == "string" ? y : y + "\0";
9831
9857
  }
9832
- function S(y, g) {
9833
- for (var k = y + "", P, T = 0; T < k.length; )
9834
- g[u & T] = u & (P ^= g[u & T] * 19) + k.charCodeAt(T++);
9858
+ function k(y, g) {
9859
+ for (var S = y + "", P, _ = 0; _ < S.length; )
9860
+ g[u & _] = u & (P ^= g[u & _] * 19) + S.charCodeAt(_++);
9835
9861
  return x(g);
9836
9862
  }
9837
9863
  function p() {
@@ -9839,14 +9865,14 @@ function requireLottie() {
9839
9865
  var y = new Uint8Array(i);
9840
9866
  return (r.crypto || r.msCrypto).getRandomValues(y), x(y);
9841
9867
  } catch {
9842
- var g = r.navigator, k = g && g.plugins;
9843
- return [+/* @__PURE__ */ new Date(), r, k, r.screen, x(t)];
9868
+ var g = r.navigator, S = g && g.plugins;
9869
+ return [+/* @__PURE__ */ new Date(), r, S, r.screen, x(t)];
9844
9870
  }
9845
9871
  }
9846
9872
  function x(y) {
9847
9873
  return String.fromCharCode.apply(0, y);
9848
9874
  }
9849
- S(e.random(), t);
9875
+ k(e.random(), t);
9850
9876
  }
9851
9877
  function initialize$2(t) {
9852
9878
  seedRandom([], t);
@@ -10516,7 +10542,7 @@ function requireLottie() {
10516
10542
  }
10517
10543
  function r(s, n, a, l) {
10518
10544
  function o(b) {
10519
- for (var d = s.ef, m = 0, S = d.length; m < S; ) {
10545
+ for (var d = s.ef, m = 0, k = d.length; m < k; ) {
10520
10546
  if (b === d[m].nm || b === d[m].mn || b === d[m].ix)
10521
10547
  return d[m].ty === 5 ? u[m] : u[m]();
10522
10548
  m += 1;
@@ -10588,28 +10614,28 @@ function requireLottie() {
10588
10614
  }), n;
10589
10615
  };
10590
10616
  }(), ShapeExpressionInterface = /* @__PURE__ */ function() {
10591
- function t(d, m, S) {
10617
+ function t(d, m, k) {
10592
10618
  var p = [], x, y = d ? d.length : 0;
10593
10619
  for (x = 0; x < y; x += 1)
10594
- d[x].ty === "gr" ? p.push(r(d[x], m[x], S)) : d[x].ty === "fl" ? p.push(i(d[x], m[x], S)) : d[x].ty === "st" ? p.push(a(d[x], m[x], S)) : d[x].ty === "tm" ? p.push(l(d[x], m[x], S)) : d[x].ty === "tr" || (d[x].ty === "el" ? p.push(c(d[x], m[x], S)) : d[x].ty === "sr" ? p.push(u(d[x], m[x], S)) : d[x].ty === "sh" ? p.push(ShapePathInterface(d[x], m[x], S)) : d[x].ty === "rc" ? p.push(E(d[x], m[x], S)) : d[x].ty === "rd" ? p.push(f(d[x], m[x], S)) : d[x].ty === "rp" ? p.push(b(d[x], m[x], S)) : d[x].ty === "gf" ? p.push(s(d[x], m[x], S)) : p.push(n(d[x], m[x])));
10620
+ d[x].ty === "gr" ? p.push(r(d[x], m[x], k)) : d[x].ty === "fl" ? p.push(i(d[x], m[x], k)) : d[x].ty === "st" ? p.push(a(d[x], m[x], k)) : d[x].ty === "tm" ? p.push(l(d[x], m[x], k)) : d[x].ty === "tr" || (d[x].ty === "el" ? p.push(c(d[x], m[x], k)) : d[x].ty === "sr" ? p.push(u(d[x], m[x], k)) : d[x].ty === "sh" ? p.push(ShapePathInterface(d[x], m[x], k)) : d[x].ty === "rc" ? p.push(E(d[x], m[x], k)) : d[x].ty === "rd" ? p.push(f(d[x], m[x], k)) : d[x].ty === "rp" ? p.push(b(d[x], m[x], k)) : d[x].ty === "gf" ? p.push(s(d[x], m[x], k)) : p.push(n(d[x], m[x])));
10595
10621
  return p;
10596
10622
  }
10597
- function e(d, m, S) {
10598
- var p, x = function(k) {
10599
- for (var P = 0, T = p.length; P < T; ) {
10600
- if (p[P]._name === k || p[P].mn === k || p[P].propertyIndex === k || p[P].ix === k || p[P].ind === k)
10623
+ function e(d, m, k) {
10624
+ var p, x = function(S) {
10625
+ for (var P = 0, _ = p.length; P < _; ) {
10626
+ if (p[P]._name === S || p[P].mn === S || p[P].propertyIndex === S || p[P].ix === S || p[P].ind === S)
10601
10627
  return p[P];
10602
10628
  P += 1;
10603
10629
  }
10604
- return typeof k == "number" ? p[k - 1] : null;
10630
+ return typeof S == "number" ? p[S - 1] : null;
10605
10631
  };
10606
- x.propertyGroup = propertyGroupFactory(x, S), p = t(d.it, m.it, x.propertyGroup), x.numProperties = p.length;
10632
+ x.propertyGroup = propertyGroupFactory(x, k), p = t(d.it, m.it, x.propertyGroup), x.numProperties = p.length;
10607
10633
  var y = o(d.it[d.it.length - 1], m.it[m.it.length - 1], x.propertyGroup);
10608
10634
  return x.transform = y, x.propertyIndex = d.cix, x._name = d.nm, x;
10609
10635
  }
10610
- function r(d, m, S) {
10611
- var p = function(k) {
10612
- switch (k) {
10636
+ function r(d, m, k) {
10637
+ var p = function(S) {
10638
+ switch (S) {
10613
10639
  case "ADBE Vectors Group":
10614
10640
  case "Contents":
10615
10641
  case 2:
@@ -10621,7 +10647,7 @@ function requireLottie() {
10621
10647
  return p.transform;
10622
10648
  }
10623
10649
  };
10624
- p.propertyGroup = propertyGroupFactory(p, S);
10650
+ p.propertyGroup = propertyGroupFactory(p, k);
10625
10651
  var x = e(d, m, p.propertyGroup), y = o(d.it[d.it.length - 1], m.it[m.it.length - 1], p.propertyGroup);
10626
10652
  return p.content = x, p.transform = y, Object.defineProperty(p, "_name", {
10627
10653
  get: function() {
@@ -10629,7 +10655,7 @@ function requireLottie() {
10629
10655
  }
10630
10656
  }), p.numProperties = d.np, p.propertyIndex = d.ix, p.nm = d.nm, p.mn = d.mn, p;
10631
10657
  }
10632
- function i(d, m, S) {
10658
+ function i(d, m, k) {
10633
10659
  function p(x) {
10634
10660
  return x === "Color" || x === "color" ? p.color : x === "Opacity" || x === "opacity" ? p.opacity : null;
10635
10661
  }
@@ -10646,9 +10672,9 @@ function requireLottie() {
10646
10672
  mn: {
10647
10673
  value: d.mn
10648
10674
  }
10649
- }), m.c.setGroupProperty(PropertyInterface("Color", S)), m.o.setGroupProperty(PropertyInterface("Opacity", S)), p;
10675
+ }), m.c.setGroupProperty(PropertyInterface("Color", k)), m.o.setGroupProperty(PropertyInterface("Opacity", k)), p;
10650
10676
  }
10651
- function s(d, m, S) {
10677
+ function s(d, m, k) {
10652
10678
  function p(x) {
10653
10679
  return x === "Start Point" || x === "start point" ? p.startPoint : x === "End Point" || x === "end point" ? p.endPoint : x === "Opacity" || x === "opacity" ? p.opacity : null;
10654
10680
  }
@@ -10673,7 +10699,7 @@ function requireLottie() {
10673
10699
  mn: {
10674
10700
  value: d.mn
10675
10701
  }
10676
- }), m.s.setGroupProperty(PropertyInterface("Start Point", S)), m.e.setGroupProperty(PropertyInterface("End Point", S)), m.o.setGroupProperty(PropertyInterface("Opacity", S)), p;
10702
+ }), m.s.setGroupProperty(PropertyInterface("Start Point", k)), m.e.setGroupProperty(PropertyInterface("End Point", k)), m.o.setGroupProperty(PropertyInterface("Opacity", k)), p;
10677
10703
  }
10678
10704
  function n() {
10679
10705
  function d() {
@@ -10681,20 +10707,20 @@ function requireLottie() {
10681
10707
  }
10682
10708
  return d;
10683
10709
  }
10684
- function a(d, m, S) {
10685
- var p = propertyGroupFactory(T, S), x = propertyGroupFactory(P, p);
10710
+ function a(d, m, k) {
10711
+ var p = propertyGroupFactory(_, k), x = propertyGroupFactory(P, p);
10686
10712
  function y(F) {
10687
10713
  Object.defineProperty(P, d.d[F].nm, {
10688
10714
  get: ExpressionPropertyInterface(m.d.dataProps[F].p)
10689
10715
  });
10690
10716
  }
10691
- var g, k = d.d ? d.d.length : 0, P = {};
10692
- for (g = 0; g < k; g += 1)
10717
+ var g, S = d.d ? d.d.length : 0, P = {};
10718
+ for (g = 0; g < S; g += 1)
10693
10719
  y(g), m.d.dataProps[g].p.setGroupProperty(x);
10694
- function T(F) {
10695
- return F === "Color" || F === "color" ? T.color : F === "Opacity" || F === "opacity" ? T.opacity : F === "Stroke Width" || F === "stroke width" ? T.strokeWidth : null;
10720
+ function _(F) {
10721
+ return F === "Color" || F === "color" ? _.color : F === "Opacity" || F === "opacity" ? _.opacity : F === "Stroke Width" || F === "stroke width" ? _.strokeWidth : null;
10696
10722
  }
10697
- return Object.defineProperties(T, {
10723
+ return Object.defineProperties(_, {
10698
10724
  color: {
10699
10725
  get: ExpressionPropertyInterface(m.c)
10700
10726
  },
@@ -10715,14 +10741,14 @@ function requireLottie() {
10715
10741
  mn: {
10716
10742
  value: d.mn
10717
10743
  }
10718
- }), m.c.setGroupProperty(PropertyInterface("Color", p)), m.o.setGroupProperty(PropertyInterface("Opacity", p)), m.w.setGroupProperty(PropertyInterface("Stroke Width", p)), T;
10744
+ }), m.c.setGroupProperty(PropertyInterface("Color", p)), m.o.setGroupProperty(PropertyInterface("Opacity", p)), m.w.setGroupProperty(PropertyInterface("Stroke Width", p)), _;
10719
10745
  }
10720
- function l(d, m, S) {
10746
+ function l(d, m, k) {
10721
10747
  function p(y) {
10722
10748
  return y === d.e.ix || y === "End" || y === "end" ? p.end : y === d.s.ix ? p.start : y === d.o.ix ? p.offset : null;
10723
10749
  }
10724
- var x = propertyGroupFactory(p, S);
10725
- return p.propertyIndex = d.ix, m.s.setGroupProperty(PropertyInterface("Start", x)), m.e.setGroupProperty(PropertyInterface("End", x)), m.o.setGroupProperty(PropertyInterface("Offset", x)), p.propertyIndex = d.ix, p.propertyGroup = S, Object.defineProperties(p, {
10750
+ var x = propertyGroupFactory(p, k);
10751
+ return p.propertyIndex = d.ix, m.s.setGroupProperty(PropertyInterface("Start", x)), m.e.setGroupProperty(PropertyInterface("End", x)), m.o.setGroupProperty(PropertyInterface("Offset", x)), p.propertyIndex = d.ix, p.propertyGroup = k, Object.defineProperties(p, {
10726
10752
  start: {
10727
10753
  get: ExpressionPropertyInterface(m.s)
10728
10754
  },
@@ -10737,11 +10763,11 @@ function requireLottie() {
10737
10763
  }
10738
10764
  }), p.mn = d.mn, p;
10739
10765
  }
10740
- function o(d, m, S) {
10766
+ function o(d, m, k) {
10741
10767
  function p(y) {
10742
10768
  return d.a.ix === y || y === "Anchor Point" ? p.anchorPoint : d.o.ix === y || y === "Opacity" ? p.opacity : d.p.ix === y || y === "Position" ? p.position : d.r.ix === y || y === "Rotation" || y === "ADBE Vector Rotation" ? p.rotation : d.s.ix === y || y === "Scale" ? p.scale : d.sk && d.sk.ix === y || y === "Skew" ? p.skew : d.sa && d.sa.ix === y || y === "Skew Axis" ? p.skewAxis : null;
10743
10769
  }
10744
- var x = propertyGroupFactory(p, S);
10770
+ var x = propertyGroupFactory(p, k);
10745
10771
  return m.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity", x)), m.transform.mProps.p.setGroupProperty(PropertyInterface("Position", x)), m.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point", x)), m.transform.mProps.s.setGroupProperty(PropertyInterface("Scale", x)), m.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation", x)), m.transform.mProps.sk && (m.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew", x)), m.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle", x))), m.transform.op.setGroupProperty(PropertyInterface("Opacity", x)), Object.defineProperties(p, {
10746
10772
  opacity: {
10747
10773
  get: ExpressionPropertyInterface(m.transform.mProps.o)
@@ -10767,13 +10793,13 @@ function requireLottie() {
10767
10793
  _name: {
10768
10794
  value: d.nm
10769
10795
  }
10770
- }), p.ty = "tr", p.mn = d.mn, p.propertyGroup = S, p;
10796
+ }), p.ty = "tr", p.mn = d.mn, p.propertyGroup = k, p;
10771
10797
  }
10772
- function c(d, m, S) {
10798
+ function c(d, m, k) {
10773
10799
  function p(g) {
10774
10800
  return d.p.ix === g ? p.position : d.s.ix === g ? p.size : null;
10775
10801
  }
10776
- var x = propertyGroupFactory(p, S);
10802
+ var x = propertyGroupFactory(p, k);
10777
10803
  p.propertyIndex = d.ix;
10778
10804
  var y = m.sh.ty === "tm" ? m.sh.prop : m.sh;
10779
10805
  return y.s.setGroupProperty(PropertyInterface("Size", x)), y.p.setGroupProperty(PropertyInterface("Position", x)), Object.defineProperties(p, {
@@ -10788,11 +10814,11 @@ function requireLottie() {
10788
10814
  }
10789
10815
  }), p.mn = d.mn, p;
10790
10816
  }
10791
- function u(d, m, S) {
10817
+ function u(d, m, k) {
10792
10818
  function p(g) {
10793
10819
  return d.p.ix === g ? p.position : d.r.ix === g ? p.rotation : d.pt.ix === g ? p.points : d.or.ix === g || g === "ADBE Vector Star Outer Radius" ? p.outerRadius : d.os.ix === g ? p.outerRoundness : d.ir && (d.ir.ix === g || g === "ADBE Vector Star Inner Radius") ? p.innerRadius : d.is && d.is.ix === g ? p.innerRoundness : null;
10794
10820
  }
10795
- var x = propertyGroupFactory(p, S), y = m.sh.ty === "tm" ? m.sh.prop : m.sh;
10821
+ var x = propertyGroupFactory(p, k), y = m.sh.ty === "tm" ? m.sh.prop : m.sh;
10796
10822
  return p.propertyIndex = d.ix, y.or.setGroupProperty(PropertyInterface("Outer Radius", x)), y.os.setGroupProperty(PropertyInterface("Outer Roundness", x)), y.pt.setGroupProperty(PropertyInterface("Points", x)), y.p.setGroupProperty(PropertyInterface("Position", x)), y.r.setGroupProperty(PropertyInterface("Rotation", x)), d.ir && (y.ir.setGroupProperty(PropertyInterface("Inner Radius", x)), y.is.setGroupProperty(PropertyInterface("Inner Roundness", x))), Object.defineProperties(p, {
10797
10823
  position: {
10798
10824
  get: ExpressionPropertyInterface(y.p)
@@ -10820,11 +10846,11 @@ function requireLottie() {
10820
10846
  }
10821
10847
  }), p.mn = d.mn, p;
10822
10848
  }
10823
- function E(d, m, S) {
10849
+ function E(d, m, k) {
10824
10850
  function p(g) {
10825
10851
  return d.p.ix === g ? p.position : d.r.ix === g ? p.roundness : d.s.ix === g || g === "Size" || g === "ADBE Vector Rect Size" ? p.size : null;
10826
10852
  }
10827
- var x = propertyGroupFactory(p, S), y = m.sh.ty === "tm" ? m.sh.prop : m.sh;
10853
+ var x = propertyGroupFactory(p, k), y = m.sh.ty === "tm" ? m.sh.prop : m.sh;
10828
10854
  return p.propertyIndex = d.ix, y.p.setGroupProperty(PropertyInterface("Position", x)), y.s.setGroupProperty(PropertyInterface("Size", x)), y.r.setGroupProperty(PropertyInterface("Rotation", x)), Object.defineProperties(p, {
10829
10855
  position: {
10830
10856
  get: ExpressionPropertyInterface(y.p)
@@ -10840,11 +10866,11 @@ function requireLottie() {
10840
10866
  }
10841
10867
  }), p.mn = d.mn, p;
10842
10868
  }
10843
- function f(d, m, S) {
10869
+ function f(d, m, k) {
10844
10870
  function p(g) {
10845
10871
  return d.r.ix === g || g === "Round Corners 1" ? p.radius : null;
10846
10872
  }
10847
- var x = propertyGroupFactory(p, S), y = m;
10873
+ var x = propertyGroupFactory(p, k), y = m;
10848
10874
  return p.propertyIndex = d.ix, y.rd.setGroupProperty(PropertyInterface("Radius", x)), Object.defineProperties(p, {
10849
10875
  radius: {
10850
10876
  get: ExpressionPropertyInterface(y.rd)
@@ -10854,11 +10880,11 @@ function requireLottie() {
10854
10880
  }
10855
10881
  }), p.mn = d.mn, p;
10856
10882
  }
10857
- function b(d, m, S) {
10883
+ function b(d, m, k) {
10858
10884
  function p(g) {
10859
10885
  return d.c.ix === g || g === "Copies" ? p.copies : d.o.ix === g || g === "Offset" ? p.offset : null;
10860
10886
  }
10861
- var x = propertyGroupFactory(p, S), y = m;
10887
+ var x = propertyGroupFactory(p, k), y = m;
10862
10888
  return p.propertyIndex = d.ix, y.c.setGroupProperty(PropertyInterface("Copies", x)), y.o.setGroupProperty(PropertyInterface("Offset", x)), Object.defineProperties(p, {
10863
10889
  copies: {
10864
10890
  get: ExpressionPropertyInterface(y.c)
@@ -10871,20 +10897,20 @@ function requireLottie() {
10871
10897
  }
10872
10898
  }), p.mn = d.mn, p;
10873
10899
  }
10874
- return function(d, m, S) {
10900
+ return function(d, m, k) {
10875
10901
  var p;
10876
10902
  function x(g) {
10877
10903
  if (typeof g == "number")
10878
- return g = g === void 0 ? 1 : g, g === 0 ? S : p[g - 1];
10879
- for (var k = 0, P = p.length; k < P; ) {
10880
- if (p[k]._name === g)
10881
- return p[k];
10882
- k += 1;
10904
+ return g = g === void 0 ? 1 : g, g === 0 ? k : p[g - 1];
10905
+ for (var S = 0, P = p.length; S < P; ) {
10906
+ if (p[S]._name === g)
10907
+ return p[S];
10908
+ S += 1;
10883
10909
  }
10884
10910
  return null;
10885
10911
  }
10886
10912
  function y() {
10887
- return S;
10913
+ return k;
10888
10914
  }
10889
10915
  return x.propertyGroup = propertyGroupFactory(x, y), p = t(d, m, x.propertyGroup), x.numProperties = p.length, x._name = "Contents", x;
10890
10916
  };
@@ -11013,32 +11039,32 @@ function requireLottie() {
11013
11039
  if (!this.k || !this.keyframes)
11014
11040
  return this.pv;
11015
11041
  f = f ? f.toLowerCase() : "";
11016
- var m = this.comp.renderedFrame, S = this.keyframes, p = S[S.length - 1].t;
11042
+ var m = this.comp.renderedFrame, k = this.keyframes, p = k[k.length - 1].t;
11017
11043
  if (m <= p)
11018
11044
  return this.pv;
11019
11045
  var x, y;
11020
- d ? (b ? x = Math.abs(p - this.elem.comp.globalData.frameRate * b) : x = Math.max(0, p - this.elem.data.ip), y = p - x) : ((!b || b > S.length - 1) && (b = S.length - 1), y = S[S.length - 1 - b].t, x = p - y);
11021
- var g, k, P;
11046
+ d ? (b ? x = Math.abs(p - this.elem.comp.globalData.frameRate * b) : x = Math.max(0, p - this.elem.data.ip), y = p - x) : ((!b || b > k.length - 1) && (b = k.length - 1), y = k[k.length - 1 - b].t, x = p - y);
11047
+ var g, S, P;
11022
11048
  if (f === "pingpong") {
11023
- var T = Math.floor((m - y) / x);
11024
- if (T % 2 !== 0)
11049
+ var _ = Math.floor((m - y) / x);
11050
+ if (_ % 2 !== 0)
11025
11051
  return this.getValueAtTime((x - (m - y) % x + y) / this.comp.globalData.frameRate, 0);
11026
11052
  } else if (f === "offset") {
11027
11053
  var F = this.getValueAtTime(y / this.comp.globalData.frameRate, 0), I = this.getValueAtTime(p / this.comp.globalData.frameRate, 0), $ = this.getValueAtTime(((m - y) % x + y) / this.comp.globalData.frameRate, 0), O = Math.floor((m - y) / x);
11028
11054
  if (this.pv.length) {
11029
- for (P = new Array(F.length), k = P.length, g = 0; g < k; g += 1)
11055
+ for (P = new Array(F.length), S = P.length, g = 0; g < S; g += 1)
11030
11056
  P[g] = (I[g] - F[g]) * O + $[g];
11031
11057
  return P;
11032
11058
  }
11033
11059
  return (I - F) * O + $;
11034
11060
  } else if (f === "continue") {
11035
- var N = this.getValueAtTime(p / this.comp.globalData.frameRate, 0), z = this.getValueAtTime((p - 1e-3) / this.comp.globalData.frameRate, 0);
11061
+ var V = this.getValueAtTime(p / this.comp.globalData.frameRate, 0), z = this.getValueAtTime((p - 1e-3) / this.comp.globalData.frameRate, 0);
11036
11062
  if (this.pv.length) {
11037
- for (P = new Array(N.length), k = P.length, g = 0; g < k; g += 1)
11038
- P[g] = N[g] + (N[g] - z[g]) * ((m - p) / this.comp.globalData.frameRate) / 5e-4;
11063
+ for (P = new Array(V.length), S = P.length, g = 0; g < S; g += 1)
11064
+ P[g] = V[g] + (V[g] - z[g]) * ((m - p) / this.comp.globalData.frameRate) / 5e-4;
11039
11065
  return P;
11040
11066
  }
11041
- return N + (N - z) * ((m - p) / 1e-3);
11067
+ return V + (V - z) * ((m - p) / 1e-3);
11042
11068
  }
11043
11069
  return this.getValueAtTime(((m - y) % x + y) / this.comp.globalData.frameRate, 0);
11044
11070
  }
@@ -11046,32 +11072,32 @@ function requireLottie() {
11046
11072
  if (!this.k)
11047
11073
  return this.pv;
11048
11074
  f = f ? f.toLowerCase() : "";
11049
- var m = this.comp.renderedFrame, S = this.keyframes, p = S[0].t;
11075
+ var m = this.comp.renderedFrame, k = this.keyframes, p = k[0].t;
11050
11076
  if (m >= p)
11051
11077
  return this.pv;
11052
11078
  var x, y;
11053
- d ? (b ? x = Math.abs(this.elem.comp.globalData.frameRate * b) : x = Math.max(0, this.elem.data.op - p), y = p + x) : ((!b || b > S.length - 1) && (b = S.length - 1), y = S[b].t, x = y - p);
11054
- var g, k, P;
11079
+ d ? (b ? x = Math.abs(this.elem.comp.globalData.frameRate * b) : x = Math.max(0, this.elem.data.op - p), y = p + x) : ((!b || b > k.length - 1) && (b = k.length - 1), y = k[b].t, x = y - p);
11080
+ var g, S, P;
11055
11081
  if (f === "pingpong") {
11056
- var T = Math.floor((p - m) / x);
11057
- if (T % 2 === 0)
11082
+ var _ = Math.floor((p - m) / x);
11083
+ if (_ % 2 === 0)
11058
11084
  return this.getValueAtTime(((p - m) % x + p) / this.comp.globalData.frameRate, 0);
11059
11085
  } else if (f === "offset") {
11060
11086
  var F = this.getValueAtTime(p / this.comp.globalData.frameRate, 0), I = this.getValueAtTime(y / this.comp.globalData.frameRate, 0), $ = this.getValueAtTime((x - (p - m) % x + p) / this.comp.globalData.frameRate, 0), O = Math.floor((p - m) / x) + 1;
11061
11087
  if (this.pv.length) {
11062
- for (P = new Array(F.length), k = P.length, g = 0; g < k; g += 1)
11088
+ for (P = new Array(F.length), S = P.length, g = 0; g < S; g += 1)
11063
11089
  P[g] = $[g] - (I[g] - F[g]) * O;
11064
11090
  return P;
11065
11091
  }
11066
11092
  return $ - (I - F) * O;
11067
11093
  } else if (f === "continue") {
11068
- var N = this.getValueAtTime(p / this.comp.globalData.frameRate, 0), z = this.getValueAtTime((p + 1e-3) / this.comp.globalData.frameRate, 0);
11094
+ var V = this.getValueAtTime(p / this.comp.globalData.frameRate, 0), z = this.getValueAtTime((p + 1e-3) / this.comp.globalData.frameRate, 0);
11069
11095
  if (this.pv.length) {
11070
- for (P = new Array(N.length), k = P.length, g = 0; g < k; g += 1)
11071
- P[g] = N[g] + (N[g] - z[g]) * (p - m) / 1e-3;
11096
+ for (P = new Array(V.length), S = P.length, g = 0; g < S; g += 1)
11097
+ P[g] = V[g] + (V[g] - z[g]) * (p - m) / 1e-3;
11072
11098
  return P;
11073
11099
  }
11074
- return N + (N - z) * (p - m) / 1e-3;
11100
+ return V + (V - z) * (p - m) / 1e-3;
11075
11101
  }
11076
11102
  return this.getValueAtTime((x - ((p - m) % x + p)) / this.comp.globalData.frameRate, 0);
11077
11103
  }
@@ -11080,14 +11106,14 @@ function requireLottie() {
11080
11106
  return this.pv;
11081
11107
  if (f = (f || 0.4) * 0.5, b = Math.floor(b || 5), b <= 1)
11082
11108
  return this.pv;
11083
- var d = this.comp.renderedFrame / this.comp.globalData.frameRate, m = d - f, S = d + f, p = b > 1 ? (S - m) / (b - 1) : 1, x = 0, y = 0, g;
11109
+ var d = this.comp.renderedFrame / this.comp.globalData.frameRate, m = d - f, k = d + f, p = b > 1 ? (k - m) / (b - 1) : 1, x = 0, y = 0, g;
11084
11110
  this.pv.length ? g = createTypedArray("float32", this.pv.length) : g = 0;
11085
- for (var k; x < b; ) {
11086
- if (k = this.getValueAtTime(m + x * p), this.pv.length)
11111
+ for (var S; x < b; ) {
11112
+ if (S = this.getValueAtTime(m + x * p), this.pv.length)
11087
11113
  for (y = 0; y < this.pv.length; y += 1)
11088
- g[y] += k[y];
11114
+ g[y] += S[y];
11089
11115
  else
11090
- g += k;
11116
+ g += S;
11091
11117
  x += 1;
11092
11118
  }
11093
11119
  if (this.pv.length)
@@ -11111,23 +11137,23 @@ function requireLottie() {
11111
11137
  b.scale(m[0] * this.s.mult, m[1] * this.s.mult, m[2] * this.s.mult);
11112
11138
  }
11113
11139
  if (this.sk && this.appliedTransformations < 3) {
11114
- var S = this.sk.getValueAtTime(f), p = this.sa.getValueAtTime(f);
11115
- b.skewFromAxis(-S * this.sk.mult, p * this.sa.mult);
11140
+ var k = this.sk.getValueAtTime(f), p = this.sa.getValueAtTime(f);
11141
+ b.skewFromAxis(-k * this.sk.mult, p * this.sa.mult);
11116
11142
  }
11117
11143
  if (this.r && this.appliedTransformations < 4) {
11118
11144
  var x = this.r.getValueAtTime(f);
11119
11145
  b.rotate(-x * this.r.mult);
11120
11146
  } else if (!this.r && this.appliedTransformations < 4) {
11121
- var y = this.rz.getValueAtTime(f), g = this.ry.getValueAtTime(f), k = this.rx.getValueAtTime(f), P = this.or.getValueAtTime(f);
11122
- b.rotateZ(-y * this.rz.mult).rotateY(g * this.ry.mult).rotateX(k * this.rx.mult).rotateZ(-P[2] * this.or.mult).rotateY(P[1] * this.or.mult).rotateX(P[0] * this.or.mult);
11147
+ var y = this.rz.getValueAtTime(f), g = this.ry.getValueAtTime(f), S = this.rx.getValueAtTime(f), P = this.or.getValueAtTime(f);
11148
+ b.rotateZ(-y * this.rz.mult).rotateY(g * this.ry.mult).rotateX(S * this.rx.mult).rotateZ(-P[2] * this.or.mult).rotateY(P[1] * this.or.mult).rotateX(P[0] * this.or.mult);
11123
11149
  }
11124
11150
  if (this.data.p && this.data.p.s) {
11125
- var T = this.px.getValueAtTime(f), F = this.py.getValueAtTime(f);
11151
+ var _ = this.px.getValueAtTime(f), F = this.py.getValueAtTime(f);
11126
11152
  if (this.data.p.z) {
11127
11153
  var I = this.pz.getValueAtTime(f);
11128
- b.translate(T * this.px.mult, F * this.py.mult, -I * this.pz.mult);
11154
+ b.translate(_ * this.px.mult, F * this.py.mult, -I * this.pz.mult);
11129
11155
  } else
11130
- b.translate(T * this.px.mult, F * this.py.mult, 0);
11156
+ b.translate(_ * this.px.mult, F * this.py.mult, 0);
11131
11157
  } else {
11132
11158
  var $ = this.p.getValueAtTime(f);
11133
11159
  b.translate($[0] * this.p.mult, $[1] * this.p.mult, -$[2] * this.p.mult);
@@ -11143,15 +11169,15 @@ function requireLottie() {
11143
11169
  return m.dynamicProperties.length ? m.getValueAtTime = i.bind(m) : m.getValueAtTime = s.bind(m), m.setGroupProperty = expressionHelpers.setGroupProperty, m;
11144
11170
  };
11145
11171
  var a = PropertyFactory.getProp;
11146
- PropertyFactory.getProp = function(f, b, d, m, S) {
11147
- var p = a(f, b, d, m, S);
11172
+ PropertyFactory.getProp = function(f, b, d, m, k) {
11173
+ var p = a(f, b, d, m, k);
11148
11174
  p.kf ? p.getValueAtTime = expressionHelpers.getValueAtTime.bind(p) : p.getValueAtTime = expressionHelpers.getStaticValueAtTime.bind(p), p.setGroupProperty = expressionHelpers.setGroupProperty, p.loopOut = t, p.loopIn = e, p.smooth = r, p.getVelocityAtTime = expressionHelpers.getVelocityAtTime.bind(p), p.getSpeedAtTime = expressionHelpers.getSpeedAtTime.bind(p), p.numKeys = b.a === 1 ? b.k.length : 0, p.propertyIndex = b.ix;
11149
11175
  var x = 0;
11150
11176
  return d !== 0 && (x = createTypedArray("float32", b.a === 1 ? b.k[0].s.length : b.k.length)), p._cachingAtTime = {
11151
11177
  lastFrame: initialDefaultFrame,
11152
11178
  lastIndex: 0,
11153
11179
  value: x
11154
- }, expressionHelpers.searchExpressions(f, b, p), p.k && S.addDynamicProperty(p), p;
11180
+ }, expressionHelpers.searchExpressions(f, b, p), p.k && k.addDynamicProperty(p), p;
11155
11181
  };
11156
11182
  function l(f) {
11157
11183
  return this._cachingAtTime || (this._cachingAtTime = {
@@ -11168,9 +11194,9 @@ function requireLottie() {
11168
11194
  this.k && this.getValue();
11169
11195
  var m = this.v;
11170
11196
  d !== void 0 && (m = this.getValueAtTime(d, 0));
11171
- var S, p = m._length, x = m[b], y = m.v, g = createSizedArray(p);
11172
- for (S = 0; S < p; S += 1)
11173
- b === "i" || b === "o" ? g[S] = [x[S][0] - y[S][0], x[S][1] - y[S][1]] : g[S] = [x[S][0], x[S][1]];
11197
+ var k, p = m._length, x = m[b], y = m.v, g = createSizedArray(p);
11198
+ for (k = 0; k < p; k += 1)
11199
+ b === "i" || b === "o" ? g[k] = [x[k][0] - y[k][0], x[k][1] - y[k][1]] : g[k] = [x[k][0], x[k][1]];
11174
11200
  return g;
11175
11201
  },
11176
11202
  points: function(b) {
@@ -11188,24 +11214,24 @@ function requireLottie() {
11188
11214
  pointOnPath: function(b, d) {
11189
11215
  var m = this.v;
11190
11216
  d !== void 0 && (m = this.getValueAtTime(d, 0)), this._segmentsLength || (this._segmentsLength = bez.getSegmentsLength(m));
11191
- for (var S = this._segmentsLength, p = S.lengths, x = S.totalLength * b, y = 0, g = p.length, k = 0, P; y < g; ) {
11192
- if (k + p[y].addedLength > x) {
11193
- var T = y, F = m.c && y === g - 1 ? 0 : y + 1, I = (x - k) / p[y].addedLength;
11194
- P = bez.getPointInSegment(m.v[T], m.v[F], m.o[T], m.i[F], I, p[y]);
11217
+ for (var k = this._segmentsLength, p = k.lengths, x = k.totalLength * b, y = 0, g = p.length, S = 0, P; y < g; ) {
11218
+ if (S + p[y].addedLength > x) {
11219
+ var _ = y, F = m.c && y === g - 1 ? 0 : y + 1, I = (x - S) / p[y].addedLength;
11220
+ P = bez.getPointInSegment(m.v[_], m.v[F], m.o[_], m.i[F], I, p[y]);
11195
11221
  break;
11196
11222
  } else
11197
- k += p[y].addedLength;
11223
+ S += p[y].addedLength;
11198
11224
  y += 1;
11199
11225
  }
11200
11226
  return P || (P = m.c ? [m.v[0][0], m.v[0][1]] : [m.v[m._length - 1][0], m.v[m._length - 1][1]]), P;
11201
11227
  },
11202
11228
  vectorOnPath: function(b, d, m) {
11203
11229
  b == 1 ? b = this.v.c : b == 0 && (b = 0.999);
11204
- var S = this.pointOnPath(b, d), p = this.pointOnPath(b + 1e-3, d), x = p[0] - S[0], y = p[1] - S[1], g = Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2));
11230
+ var k = this.pointOnPath(b, d), p = this.pointOnPath(b + 1e-3, d), x = p[0] - k[0], y = p[1] - k[1], g = Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2));
11205
11231
  if (g === 0)
11206
11232
  return [0, 0];
11207
- var k = m === "tangent" ? [x / g, y / g] : [-y / g, x / g];
11208
- return k;
11233
+ var S = m === "tangent" ? [x / g, y / g] : [-y / g, x / g];
11234
+ return S;
11209
11235
  },
11210
11236
  tangentOnPath: function(b, d) {
11211
11237
  return this.vectorOnPath(b, d, "tangent");
@@ -11217,8 +11243,8 @@ function requireLottie() {
11217
11243
  getValueAtTime: expressionHelpers.getStaticValueAtTime
11218
11244
  }, extendPrototype([u], o), extendPrototype([u], c), c.prototype.getValueAtTime = l, c.prototype.initiateExpression = ExpressionManager.initiateExpression;
11219
11245
  var E = ShapePropertyFactory.getShapeProp;
11220
- ShapePropertyFactory.getShapeProp = function(f, b, d, m, S) {
11221
- var p = E(f, b, d, m, S);
11246
+ ShapePropertyFactory.getShapeProp = function(f, b, d, m, k) {
11247
+ var p = E(f, b, d, m, k);
11222
11248
  return p.propertyIndex = b.ix, p.lock = !1, d === 3 ? expressionHelpers.searchExpressions(f, b.pt, p) : d === 4 && expressionHelpers.searchExpressions(f, b.ks, p), p.k && f.addDynamicProperty(p), p;
11223
11249
  };
11224
11250
  }
@@ -11570,9 +11596,9 @@ function _unsupportedIterableToArray(t, e) {
11570
11596
  }
11571
11597
  }
11572
11598
  var _excluded$1 = ["animationData", "loop", "autoplay", "initialSegment", "onComplete", "onLoopComplete", "onEnterFrame", "onSegmentStart", "onConfigReady", "onDataReady", "onDataFailed", "onLoadedImages", "onDOMLoaded", "onDestroy", "lottieRef", "renderer", "name", "assetsPath", "rendererSettings"], useLottie = function t(e, r) {
11573
- var i = e.animationData, s = e.loop, n = e.autoplay, a = e.initialSegment, l = e.onComplete, o = e.onLoopComplete, c = e.onEnterFrame, u = e.onSegmentStart, E = e.onConfigReady, f = e.onDataReady, b = e.onDataFailed, d = e.onLoadedImages, m = e.onDOMLoaded, S = e.onDestroy;
11599
+ var i = e.animationData, s = e.loop, n = e.autoplay, a = e.initialSegment, l = e.onComplete, o = e.onLoopComplete, c = e.onEnterFrame, u = e.onSegmentStart, E = e.onConfigReady, f = e.onDataReady, b = e.onDataFailed, d = e.onLoadedImages, m = e.onDOMLoaded, k = e.onDestroy;
11574
11600
  e.lottieRef, e.renderer, e.name, e.assetsPath, e.rendererSettings;
11575
- var p = _objectWithoutProperties(e, _excluded$1), x = useState(!1), y = _slicedToArray(x, 2), g = y[0], k = y[1], P = useRef(), T = useRef(null), F = function() {
11601
+ var p = _objectWithoutProperties(e, _excluded$1), x = useState(!1), y = _slicedToArray(x, 2), g = y[0], S = y[1], P = useRef(), _ = useRef(null), F = function() {
11576
11602
  var D;
11577
11603
  (D = P.current) === null || D === void 0 || D.play();
11578
11604
  }, I = function() {
@@ -11582,46 +11608,46 @@ var _excluded$1 = ["animationData", "loop", "autoplay", "initialSegment", "onCom
11582
11608
  var D;
11583
11609
  (D = P.current) === null || D === void 0 || D.pause();
11584
11610
  }, O = function(D) {
11585
- var V;
11586
- (V = P.current) === null || V === void 0 || V.setSpeed(D);
11587
- }, N = function(D, V) {
11611
+ var B;
11612
+ (B = P.current) === null || B === void 0 || B.setSpeed(D);
11613
+ }, V = function(D, B) {
11588
11614
  var G;
11589
- (G = P.current) === null || G === void 0 || G.goToAndPlay(D, V);
11590
- }, z = function(D, V) {
11615
+ (G = P.current) === null || G === void 0 || G.goToAndPlay(D, B);
11616
+ }, z = function(D, B) {
11591
11617
  var G;
11592
- (G = P.current) === null || G === void 0 || G.goToAndStop(D, V);
11618
+ (G = P.current) === null || G === void 0 || G.goToAndStop(D, B);
11593
11619
  }, H = function(D) {
11594
- var V;
11595
- (V = P.current) === null || V === void 0 || V.setDirection(D);
11596
- }, L = function(D, V) {
11620
+ var B;
11621
+ (B = P.current) === null || B === void 0 || B.setDirection(D);
11622
+ }, L = function(D, B) {
11597
11623
  var G;
11598
- (G = P.current) === null || G === void 0 || G.playSegments(D, V);
11624
+ (G = P.current) === null || G === void 0 || G.playSegments(D, B);
11599
11625
  }, A = function(D) {
11600
- var V;
11601
- (V = P.current) === null || V === void 0 || V.setSubframe(D);
11626
+ var B;
11627
+ (B = P.current) === null || B === void 0 || B.setSubframe(D);
11602
11628
  }, M = function(D) {
11603
- var V;
11604
- return (V = P.current) === null || V === void 0 ? void 0 : V.getDuration(D);
11629
+ var B;
11630
+ return (B = P.current) === null || B === void 0 ? void 0 : B.getDuration(D);
11605
11631
  }, C = function() {
11606
11632
  var D;
11607
11633
  (D = P.current) === null || D === void 0 || D.destroy(), P.current = void 0;
11608
11634
  }, R = function() {
11609
- var D = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, V;
11610
- if (T.current) {
11611
- (V = P.current) === null || V === void 0 || V.destroy();
11635
+ var D = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, B;
11636
+ if (_.current) {
11637
+ (B = P.current) === null || B === void 0 || B.destroy();
11612
11638
  var G = _objectSpread2(_objectSpread2(_objectSpread2({}, e), D), {}, {
11613
- container: T.current
11639
+ container: _.current
11614
11640
  });
11615
- return P.current = lottie.loadAnimation(G), k(!!P.current), function() {
11641
+ return P.current = lottie.loadAnimation(G), S(!!P.current), function() {
11616
11642
  var J;
11617
11643
  (J = P.current) === null || J === void 0 || J.destroy(), P.current = void 0;
11618
11644
  };
11619
11645
  }
11620
11646
  };
11621
11647
  useEffect(function() {
11622
- var _ = R();
11648
+ var T = R();
11623
11649
  return function() {
11624
- return _ == null ? void 0 : _();
11650
+ return T == null ? void 0 : T();
11625
11651
  };
11626
11652
  }, [i, s]), useEffect(function() {
11627
11653
  P.current && (P.current.autoplay = !!n);
@@ -11634,7 +11660,7 @@ var _excluded$1 = ["animationData", "loop", "autoplay", "initialSegment", "onCom
11634
11660
  !Array.isArray(a) || !a.length || ((P.current.currentRawFrame < a[0] || P.current.currentRawFrame > a[1]) && (P.current.currentRawFrame = a[0]), P.current.setSegment(a[0], a[1]));
11635
11661
  }
11636
11662
  }, [a]), useEffect(function() {
11637
- var _ = [{
11663
+ var T = [{
11638
11664
  name: "complete",
11639
11665
  handler: l
11640
11666
  }, {
@@ -11663,12 +11689,12 @@ var _excluded$1 = ["animationData", "loop", "autoplay", "initialSegment", "onCom
11663
11689
  handler: m
11664
11690
  }, {
11665
11691
  name: "destroy",
11666
- handler: S
11667
- }], D = _.filter(function(G) {
11692
+ handler: k
11693
+ }], D = T.filter(function(G) {
11668
11694
  return G.handler != null;
11669
11695
  });
11670
11696
  if (D.length) {
11671
- var V = D.map(
11697
+ var B = D.map(
11672
11698
  /**
11673
11699
  * Handle the process of adding an event listener
11674
11700
  * @param {Listener} listener
@@ -11683,15 +11709,15 @@ var _excluded$1 = ["animationData", "loop", "autoplay", "initialSegment", "onCom
11683
11709
  }
11684
11710
  );
11685
11711
  return function() {
11686
- V.forEach(function(G) {
11712
+ B.forEach(function(G) {
11687
11713
  return G();
11688
11714
  });
11689
11715
  };
11690
11716
  }
11691
- }, [l, o, c, u, E, f, b, d, m, S]);
11717
+ }, [l, o, c, u, E, f, b, d, m, k]);
11692
11718
  var j = /* @__PURE__ */ React2__default.createElement("div", _objectSpread2({
11693
11719
  style: r,
11694
- ref: T
11720
+ ref: _
11695
11721
  }, p));
11696
11722
  return {
11697
11723
  View: j,
@@ -11700,13 +11726,13 @@ var _excluded$1 = ["animationData", "loop", "autoplay", "initialSegment", "onCom
11700
11726
  pause: $,
11701
11727
  setSpeed: O,
11702
11728
  goToAndStop: z,
11703
- goToAndPlay: N,
11729
+ goToAndPlay: V,
11704
11730
  setDirection: H,
11705
11731
  playSegments: L,
11706
11732
  setSubframe: A,
11707
11733
  getDuration: M,
11708
11734
  destroy: C,
11709
- animationContainerRef: T,
11735
+ animationContainerRef: _,
11710
11736
  animationLoaded: g,
11711
11737
  animationItem: P.current
11712
11738
  };
@@ -11730,8 +11756,8 @@ var useInitInteractivity = function t(e) {
11730
11756
  i.stop();
11731
11757
  var l = function() {
11732
11758
  var u = null, E = function() {
11733
- var b = getContainerVisibility(a), d = n.find(function(S) {
11734
- var p = S.visibility;
11759
+ var b = getContainerVisibility(a), d = n.find(function(k) {
11760
+ var p = k.visibility;
11735
11761
  return p && b >= p[0] && b <= p[1];
11736
11762
  });
11737
11763
  if (d) {
@@ -11748,19 +11774,19 @@ var useInitInteractivity = function t(e) {
11748
11774
  };
11749
11775
  }, o = function() {
11750
11776
  var u = function(d, m) {
11751
- var S = d, p = m;
11752
- if (S !== -1 && p !== -1) {
11753
- var x = getContainerCursorPosition(a, S, p);
11754
- S = x.x, p = x.y;
11777
+ var k = d, p = m;
11778
+ if (k !== -1 && p !== -1) {
11779
+ var x = getContainerCursorPosition(a, k, p);
11780
+ k = x.x, p = x.y;
11755
11781
  }
11756
11782
  var y = n.find(function(P) {
11757
- var T = P.position;
11758
- return T && Array.isArray(T.x) && Array.isArray(T.y) ? S >= T.x[0] && S <= T.x[1] && p >= T.y[0] && p <= T.y[1] : T && !Number.isNaN(T.x) && !Number.isNaN(T.y) ? S === T.x && p === T.y : !1;
11783
+ var _ = P.position;
11784
+ return _ && Array.isArray(_.x) && Array.isArray(_.y) ? k >= _.x[0] && k <= _.x[1] && p >= _.y[0] && p <= _.y[1] : _ && !Number.isNaN(_.x) && !Number.isNaN(_.y) ? k === _.x && p === _.y : !1;
11759
11785
  });
11760
11786
  if (y) {
11761
11787
  if (y.type === "seek" && y.position && Array.isArray(y.position.x) && Array.isArray(y.position.y) && y.frames.length === 2) {
11762
- var g = (S - y.position.x[0]) / (y.position.x[1] - y.position.x[0]), k = (p - y.position.y[0]) / (y.position.y[1] - y.position.y[0]);
11763
- i.playSegments(y.frames, !0), i.goToAndStop(Math.ceil((g + k) / 2 * (y.frames[1] - y.frames[0])), !0);
11788
+ var g = (k - y.position.x[0]) / (y.position.x[1] - y.position.x[0]), S = (p - y.position.y[0]) / (y.position.y[1] - y.position.y[0]);
11789
+ i.playSegments(y.frames, !0), i.goToAndStop(Math.ceil((g + S) / 2 * (y.frames[1] - y.frames[0])), !0);
11764
11790
  }
11765
11791
  y.type === "loop" && i.playSegments(y.frames, !0), y.type === "play" && (i.isPaused && i.resetSegments(!1), i.playSegments(y.frames)), y.type === "stop" && i.goToAndStop(y.frames[0], !0);
11766
11792
  }
@@ -11790,7 +11816,7 @@ var useInitInteractivity = function t(e) {
11790
11816
  wrapperRef: l
11791
11817
  }), a;
11792
11818
  }, _excluded = ["style", "interactivity"], Lottie = function t(e) {
11793
- var r, i, s, n = e.style, a = e.interactivity, l = _objectWithoutProperties(e, _excluded), o = useLottie(l, n), c = o.View, u = o.play, E = o.stop, f = o.pause, b = o.setSpeed, d = o.goToAndStop, m = o.goToAndPlay, S = o.setDirection, p = o.playSegments, x = o.setSubframe, y = o.getDuration, g = o.destroy, k = o.animationContainerRef, P = o.animationLoaded, T = o.animationItem;
11819
+ var r, i, s, n = e.style, a = e.interactivity, l = _objectWithoutProperties(e, _excluded), o = useLottie(l, n), c = o.View, u = o.play, E = o.stop, f = o.pause, b = o.setSpeed, d = o.goToAndStop, m = o.goToAndPlay, k = o.setDirection, p = o.playSegments, x = o.setSubframe, y = o.getDuration, g = o.destroy, S = o.animationContainerRef, P = o.animationLoaded, _ = o.animationItem;
11794
11820
  return useEffect(function() {
11795
11821
  e.lottieRef && (e.lottieRef.current = {
11796
11822
  play: u,
@@ -11799,14 +11825,14 @@ var useInitInteractivity = function t(e) {
11799
11825
  setSpeed: b,
11800
11826
  goToAndPlay: m,
11801
11827
  goToAndStop: d,
11802
- setDirection: S,
11828
+ setDirection: k,
11803
11829
  playSegments: p,
11804
11830
  setSubframe: x,
11805
11831
  getDuration: y,
11806
11832
  destroy: g,
11807
- animationContainerRef: k,
11833
+ animationContainerRef: S,
11808
11834
  animationLoaded: P,
11809
- animationItem: T
11835
+ animationItem: _
11810
11836
  });
11811
11837
  }, [(r = e.lottieRef) === null || r === void 0 ? void 0 : r.current]), useLottieInteractivity({
11812
11838
  lottieObj: {
@@ -11817,14 +11843,14 @@ var useInitInteractivity = function t(e) {
11817
11843
  setSpeed: b,
11818
11844
  goToAndStop: d,
11819
11845
  goToAndPlay: m,
11820
- setDirection: S,
11846
+ setDirection: k,
11821
11847
  playSegments: p,
11822
11848
  setSubframe: x,
11823
11849
  getDuration: y,
11824
11850
  destroy: g,
11825
- animationContainerRef: k,
11851
+ animationContainerRef: S,
11826
11852
  animationLoaded: P,
11827
- animationItem: T
11853
+ animationItem: _
11828
11854
  },
11829
11855
  actions: (i = a == null ? void 0 : a.actions) !== null && i !== void 0 ? i : [],
11830
11856
  mode: (s = a == null ? void 0 : a.mode) !== null && s !== void 0 ? s : "scroll"
@@ -11954,14 +11980,14 @@ const v$2 = "5.1.7", fr$2 = 30, ip$2 = 25, op$2 = 69, w$2 = 600, h$2 = 600, nm$2
11954
11980
  buttons: E,
11955
11981
  classNames: f = {}
11956
11982
  }) => {
11957
- const [b, d] = useState(!1), [m, S] = useState(!1);
11983
+ const [b, d] = useState(!1), [m, k] = useState(!1);
11958
11984
  if (!t) return null;
11959
11985
  const p = {
11960
11986
  left: "flex-start",
11961
11987
  center: "center",
11962
11988
  right: "flex-end"
11963
11989
  }, x = (y) => {
11964
- d(y), y && S(!1);
11990
+ d(y), y && k(!1);
11965
11991
  };
11966
11992
  return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: `dialog-overlay ${t ? "open" : ""}`, children: /* @__PURE__ */ jsxRuntimeExports.jsxs(
11967
11993
  "div",
@@ -12003,10 +12029,10 @@ const v$2 = "5.1.7", fr$2 = 30, ip$2 = 25, op$2 = 69, w$2 = 600, h$2 = 600, nm$2
12003
12029
  {
12004
12030
  onClick: () => {
12005
12031
  if (l && !b && !y.bypassCheckbox) {
12006
- S(!0);
12032
+ k(!0);
12007
12033
  return;
12008
12034
  }
12009
- S(!1), y.onClick();
12035
+ k(!1), y.onClick();
12010
12036
  },
12011
12037
  children: y.text
12012
12038
  },
@@ -12107,18 +12133,18 @@ const v$2 = "5.1.7", fr$2 = 30, ip$2 = 25, op$2 = 69, w$2 = 600, h$2 = 600, nm$2
12107
12133
  handleApproveClick: b,
12108
12134
  handleReassignClick: d,
12109
12135
  handleCancelClick: m,
12110
- noOfPagesPerPage: S,
12136
+ noOfPagesPerPage: k,
12111
12137
  clickableColumns: p,
12112
12138
  handleCellClick: x
12113
12139
  }) => {
12114
12140
  const [y, g] = useState(
12115
12141
  {}
12116
- ), [k, P] = useState(!1), [T, F] = useState([]), [I, $] = useState([]), [O, N] = useState(!1), [z, H] = useState(/* @__PURE__ */ new Set()), [L, A] = useState(null), [M, C] = useState(!1), [R, j] = useState(""), [_, D] = useState("contains"), [V, G] = useState(""), [J, K] = useState(0), [X, Q] = useState(
12117
- S ?? 10
12142
+ ), [S, P] = useState(!1), [_, F] = useState([]), [I, $] = useState([]), [O, V] = useState(!1), [z, H] = useState(/* @__PURE__ */ new Set()), [L, A] = useState(null), [M, C] = useState(!1), [R, j] = useState(""), [T, D] = useState("contains"), [B, G] = useState(""), [J, K] = useState(0), [X, Q] = useState(
12143
+ k ?? 10
12118
12144
  ), [st, at] = useState(/* @__PURE__ */ new Set()), [nt, ct] = useState(""), [tt, q] = useState(!1), [ot, ut] = useState(/* @__PURE__ */ new Set()), pt = useRef(null), mt = useRef(null), dt = useRef(null), [ft, lt] = useState(/* @__PURE__ */ new Set()), [ht, xt] = useState([]), [yt, vt] = useState(!1), [it, gt] = useState(null);
12119
12145
  useEffect(() => {
12120
- if (T.length > 0) {
12121
- const B = Object.keys(T[0]), W = B.map((Y) => {
12146
+ if (_.length > 0) {
12147
+ const N = Object.keys(_[0]), W = N.map((Y) => {
12122
12148
  const U = e == null ? void 0 : e.find((Z) => Z.id === Y);
12123
12149
  return {
12124
12150
  id: Y,
@@ -12127,70 +12153,70 @@ const v$2 = "5.1.7", fr$2 = 30, ip$2 = 25, op$2 = 69, w$2 = 600, h$2 = 600, nm$2
12127
12153
  };
12128
12154
  });
12129
12155
  if (xt(W), !yt) {
12130
- const Y = (e == null ? void 0 : e.map((U) => U.id)) || B;
12156
+ const Y = (e == null ? void 0 : e.map((U) => U.id)) || N;
12131
12157
  ut(new Set(Y)), vt(!0);
12132
12158
  }
12133
12159
  }
12134
- }, [T, e]), useEffect(() => {
12160
+ }, [_, e]), useEffect(() => {
12135
12161
  t && Array.isArray(t) ? (F(t), $(t)) : console.warn("Invalid or missing jsonData prop");
12136
12162
  }, [t]);
12137
12163
  const bt = useMemo(() => {
12138
- const B = J * X, W = B + X;
12139
- return T.slice(B, W);
12140
- }, [T, J, X]), St = (B) => {
12164
+ const N = J * X, W = N + X;
12165
+ return _.slice(N, W);
12166
+ }, [_, J, X]), St = (N) => {
12141
12167
  const W = new Set(ot);
12142
- W.has(B) ? W.size > 1 && W.delete(B) : W.add(B), ut(W);
12143
- }, Ct = (B, W = null) => {
12144
- const Y = W ? `${B}-${W}` : `${B}`, U = new Set(st);
12168
+ W.has(N) ? W.size > 1 && W.delete(N) : W.add(N), ut(W);
12169
+ }, Ct = (N, W = null) => {
12170
+ const Y = W ? `${N}-${W}` : `${N}`, U = new Set(st);
12145
12171
  U.has(Y) ? U.delete(Y) : (Array.from(U).forEach((Z) => {
12146
- Z.startsWith(`${B}`) && U.delete(Z);
12172
+ Z.startsWith(`${N}`) && U.delete(Z);
12147
12173
  }), U.add(Y)), at(U);
12148
- }, _t = (B) => {
12149
- A(L === B ? null : B);
12150
- }, Tt = (B) => {
12174
+ }, _t = (N) => {
12175
+ A(L === N ? null : N);
12176
+ }, Tt = (N) => {
12151
12177
  if (I.length === 0) return;
12152
12178
  let W = "asc";
12153
- it && it.column === B && (W = it.direction === "asc" ? "desc" : "asc");
12154
- const Y = [...I].sort((U, Z) => U[B] == null ? 1 : Z[B] == null ? -1 : U[B] === Z[B] ? 0 : W === "asc" ? U[B] > Z[B] ? 1 : -1 : U[B] < Z[B] ? 1 : -1);
12155
- F(Y), gt({ column: B, direction: W });
12179
+ it && it.column === N && (W = it.direction === "asc" ? "desc" : "asc");
12180
+ const Y = [...I].sort((U, Z) => U[N] == null ? 1 : Z[N] == null ? -1 : U[N] === Z[N] ? 0 : W === "asc" ? U[N] > Z[N] ? 1 : -1 : U[N] < Z[N] ? 1 : -1);
12181
+ F(Y), gt({ column: N, direction: W });
12156
12182
  }, jt = () => {
12157
- let B = [];
12158
- T.length === I.length ? B = T : B = I;
12159
- const W = B.filter((Y) => {
12183
+ let N = [];
12184
+ _.length === I.length ? N = _ : N = I;
12185
+ const W = N.filter((Y) => {
12160
12186
  var Z;
12161
12187
  const U = ((Z = Y[R]) == null ? void 0 : Z.toLowerCase().toString()) || "";
12162
- return _ === "contains" ? U.includes(V.toLowerCase()) : _ === "equals" ? U === V : _ === "startsWith" ? U.startsWith(V) : _ === "endsWith" ? U.endsWith(V) : _ === "does not contain" ? !U.includes(V) : _ === "does not equal" ? U !== V : _ === "is empty" ? U.trim() === "" : _ === "is not empty" ? U.trim() !== "" : _ === "is any of" ? V.split(",").map((et) => et.trim()).includes(U) : !0;
12188
+ return T === "contains" ? U.includes(B.toLowerCase()) : T === "equals" ? U === B : T === "startsWith" ? U.startsWith(B) : T === "endsWith" ? U.endsWith(B) : T === "does not contain" ? !U.includes(B) : T === "does not equal" ? U !== B : T === "is empty" ? U.trim() === "" : T === "is not empty" ? U.trim() !== "" : T === "is any of" ? B.split(",").map((et) => et.trim()).includes(U) : !0;
12163
12189
  });
12164
12190
  F(W), C(!1);
12165
- }, wt = (B, W) => {
12191
+ }, wt = (N, W) => {
12166
12192
  let Y = [];
12167
- T.length === I.length ? Y = T : Y = I;
12193
+ _.length === I.length ? Y = _ : Y = I;
12168
12194
  const U = Y.filter((Z) => {
12169
12195
  var rt;
12170
- const et = ((rt = Z[B]) == null ? void 0 : rt.toLowerCase().toString()) || "";
12171
- return _ === "contains" ? et.includes(W.toLowerCase()) : _ === "equals" ? et === W : _ === "startsWith" ? et.startsWith(W) : _ === "endsWith" ? et.endsWith(W) : _ === "does not contain" ? !et.includes(W) : _ === "does not equal" ? et !== W : _ === "is empty" ? et.trim() === "" : _ === "is not empty" ? et.trim() !== "" : _ === "is any of" ? W.split(",").map((Et) => Et.trim()).includes(et) : !0;
12196
+ const et = ((rt = Z[N]) == null ? void 0 : rt.toLowerCase().toString()) || "";
12197
+ return T === "contains" ? et.includes(W.toLowerCase()) : T === "equals" ? et === W : T === "startsWith" ? et.startsWith(W) : T === "endsWith" ? et.endsWith(W) : T === "does not contain" ? !et.includes(W) : T === "does not equal" ? et !== W : T === "is empty" ? et.trim() === "" : T === "is not empty" ? et.trim() !== "" : T === "is any of" ? W.split(",").map((Et) => Et.trim()).includes(et) : !0;
12172
12198
  });
12173
12199
  F(U), C(!1);
12174
- }, Ft = (B) => {
12175
- B.key === "Enter" && wt();
12200
+ }, Ft = (N) => {
12201
+ N.key === "Enter" && wt();
12176
12202
  };
12177
12203
  useEscapeKey(() => {
12178
12204
  A(null), C(!1);
12179
12205
  });
12180
- const Pt = (B, W = "") => {
12206
+ const Pt = (N, W = "") => {
12181
12207
  const Y = (U) => {
12182
12208
  const Z = new Set(ft);
12183
12209
  Z.has(U) ? Z.delete(U) : Z.add(U), lt(Z);
12184
12210
  };
12185
- if (Array.isArray(B)) {
12211
+ if (Array.isArray(N)) {
12186
12212
  const U = Array.from(
12187
12213
  new Set(
12188
- B.reduce((Z, et) => typeof et == "object" && et !== null ? [...Z, ...Object.keys(et)] : Z, [])
12214
+ N.reduce((Z, et) => typeof et == "object" && et !== null ? [...Z, ...Object.keys(et)] : Z, [])
12189
12215
  )
12190
12216
  );
12191
12217
  return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "expanded-section", children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "nested-table", children: /* @__PURE__ */ jsxRuntimeExports.jsxs("table", { children: [
12192
12218
  /* @__PURE__ */ jsxRuntimeExports.jsx("thead", { children: /* @__PURE__ */ jsxRuntimeExports.jsx("tr", { children: U.map((Z) => /* @__PURE__ */ jsxRuntimeExports.jsx("th", { children: Z.charAt(0).toUpperCase() + Z.slice(1) }, Z)) }) }),
12193
- /* @__PURE__ */ jsxRuntimeExports.jsx("tbody", { children: B.map((Z, et) => /* @__PURE__ */ jsxRuntimeExports.jsx("tr", { children: U.map((rt) => /* @__PURE__ */ jsxRuntimeExports.jsx("td", { children: typeof Z[rt] == "object" && Z[rt] !== null ? /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
12219
+ /* @__PURE__ */ jsxRuntimeExports.jsx("tbody", { children: N.map((Z, et) => /* @__PURE__ */ jsxRuntimeExports.jsx("tr", { children: U.map((rt) => /* @__PURE__ */ jsxRuntimeExports.jsx("td", { children: typeof Z[rt] == "object" && Z[rt] !== null ? /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
12194
12220
  /* @__PURE__ */ jsxRuntimeExports.jsx(
12195
12221
  "button",
12196
12222
  {
@@ -12205,13 +12231,13 @@ const v$2 = "5.1.7", fr$2 = 30, ip$2 = 25, op$2 = 69, w$2 = 600, h$2 = 600, nm$2
12205
12231
  )
12206
12232
  ] }) : String(Z[rt] || "") }, `${W}-${et}-${rt}`)) }, `${W}-${et}`)) })
12207
12233
  ] }) }) });
12208
- } else if (typeof B == "object" && B !== null)
12234
+ } else if (typeof N == "object" && N !== null)
12209
12235
  return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "nested-object", children: /* @__PURE__ */ jsxRuntimeExports.jsxs("table", { className: "custom-table nested", children: [
12210
12236
  /* @__PURE__ */ jsxRuntimeExports.jsx("thead", { children: /* @__PURE__ */ jsxRuntimeExports.jsxs("tr", { children: [
12211
12237
  /* @__PURE__ */ jsxRuntimeExports.jsx("th", { className: "table-header-cell", children: "Property" }),
12212
12238
  /* @__PURE__ */ jsxRuntimeExports.jsx("th", { className: "table-header-cell", children: "Value" })
12213
12239
  ] }) }),
12214
- /* @__PURE__ */ jsxRuntimeExports.jsx("tbody", { children: Object.entries(B).map(([U, Z]) => /* @__PURE__ */ jsxRuntimeExports.jsxs("tr", { children: [
12240
+ /* @__PURE__ */ jsxRuntimeExports.jsx("tbody", { children: Object.entries(N).map(([U, Z]) => /* @__PURE__ */ jsxRuntimeExports.jsxs("tr", { children: [
12215
12241
  /* @__PURE__ */ jsxRuntimeExports.jsx("td", { className: "table-cell", children: /* @__PURE__ */ jsxRuntimeExports.jsx("strong", { children: U }) }),
12216
12242
  /* @__PURE__ */ jsxRuntimeExports.jsx("td", { className: "table-cell", children: typeof Z == "object" ? /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
12217
12243
  /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -12226,32 +12252,32 @@ const v$2 = "5.1.7", fr$2 = 30, ip$2 = 25, op$2 = 69, w$2 = 600, h$2 = 600, nm$2
12226
12252
  ] }) : String(Z) })
12227
12253
  ] }, `${W}-${U}`)) })
12228
12254
  ] }) });
12229
- return /* @__PURE__ */ jsxRuntimeExports.jsx("span", { children: String(B) });
12230
- }, Mt = (B) => {
12231
- if (B) {
12232
- const W = B.getBoundingClientRect(), Y = W.right > window.innerWidth, U = W.left < 0;
12233
- Y ? (B.classList.add("adjust-left"), B.classList.remove("adjust-right")) : U ? (B.classList.add("adjust-right"), B.classList.remove("adjust-left")) : (B.classList.remove("adjust-left"), B.classList.remove("adjust-right"));
12255
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("span", { children: String(N) });
12256
+ }, Mt = (N) => {
12257
+ if (N) {
12258
+ const W = N.getBoundingClientRect(), Y = W.right > window.innerWidth, U = W.left < 0;
12259
+ Y ? (N.classList.add("adjust-left"), N.classList.remove("adjust-right")) : U ? (N.classList.add("adjust-right"), N.classList.remove("adjust-left")) : (N.classList.remove("adjust-left"), N.classList.remove("adjust-right"));
12234
12260
  }
12235
12261
  };
12236
12262
  useEffect(() => {
12237
- const B = (W) => {
12263
+ const N = (W) => {
12238
12264
  M && pt.current && !pt.current.contains(W.target) && C(!1);
12239
12265
  };
12240
- return document.addEventListener("mousedown", B), () => {
12241
- document.removeEventListener("mousedown", B);
12266
+ return document.addEventListener("mousedown", N), () => {
12267
+ document.removeEventListener("mousedown", N);
12242
12268
  };
12243
12269
  }, [M]), useEffect(() => {
12244
- const B = (W) => {
12270
+ const N = (W) => {
12245
12271
  tt && dt.current && !dt.current.contains(W.target) && q(!1);
12246
12272
  };
12247
- return document.addEventListener("mousedown", B), () => {
12248
- document.removeEventListener("mousedown", B);
12273
+ return document.addEventListener("mousedown", N), () => {
12274
+ document.removeEventListener("mousedown", N);
12249
12275
  };
12250
12276
  }, [tt]);
12251
- const It = (B, W) => {
12252
- B.preventDefault(), P(!0);
12253
- const Y = B.pageX, U = y[W] || 150, Z = (rt) => {
12254
- if (k) {
12277
+ const It = (N, W) => {
12278
+ N.preventDefault(), P(!0);
12279
+ const Y = N.pageX, U = y[W] || 150, Z = (rt) => {
12280
+ if (S) {
12255
12281
  const Et = Math.max(
12256
12282
  100,
12257
12283
  U + (rt.pageX - Y)
@@ -12265,11 +12291,11 @@ const v$2 = "5.1.7", fr$2 = 30, ip$2 = 25, op$2 = 69, w$2 = 600, h$2 = 600, nm$2
12265
12291
  P(!1), document.removeEventListener("mousemove", Z), document.removeEventListener("mouseup", et);
12266
12292
  };
12267
12293
  document.addEventListener("mousemove", Z), document.addEventListener("mouseup", et);
12268
- }, Lt = (B, W) => {
12269
- p != null && p.includes(W) && x && x(B);
12294
+ }, Lt = (N, W) => {
12295
+ p != null && p.includes(W) && x && x(N);
12270
12296
  }, Rt = bt.some(
12271
- (B) => Array.from(ot).some(
12272
- (W) => Array.isArray(B[W]) && B[W].length > 0 && B[W].some(
12297
+ (N) => Array.from(ot).some(
12298
+ (W) => Array.isArray(N[W]) && N[W].length > 0 && N[W].some(
12273
12299
  (Y) => typeof Y == "object" && Y !== null
12274
12300
  )
12275
12301
  )
@@ -12286,7 +12312,7 @@ const v$2 = "5.1.7", fr$2 = 30, ip$2 = 25, op$2 = 69, w$2 = 600, h$2 = 600, nm$2
12286
12312
  width: 20,
12287
12313
  height: 20,
12288
12314
  style: { cursor: "pointer" },
12289
- onClick: () => N((B) => !B)
12315
+ onClick: () => V((N) => !N)
12290
12316
  }
12291
12317
  ),
12292
12318
  nt && /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -12328,19 +12354,19 @@ const v$2 = "5.1.7", fr$2 = 30, ip$2 = 25, op$2 = 69, w$2 = 600, h$2 = 600, nm$2
12328
12354
  {
12329
12355
  label: "Select All",
12330
12356
  checked: ot.size === ht.length,
12331
- onChange: (B) => {
12332
- ut(B ? new Set(ht.map((W) => W.id)) : /* @__PURE__ */ new Set());
12357
+ onChange: (N) => {
12358
+ ut(N ? new Set(ht.map((W) => W.id)) : /* @__PURE__ */ new Set());
12333
12359
  }
12334
12360
  }
12335
12361
  ) }) }),
12336
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "column-list", children: ht.map((B) => /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "column-item", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
12362
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "column-list", children: ht.map((N) => /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "column-item", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
12337
12363
  CECheckBox,
12338
12364
  {
12339
- label: B.label ?? B.id,
12340
- checked: ot.has(B.id),
12341
- onChange: () => St(B.id)
12365
+ label: N.label ?? N.id,
12366
+ checked: ot.has(N.id),
12367
+ onChange: () => St(N.id)
12342
12368
  }
12343
- ) }, B.id)) })
12369
+ ) }, N.id)) })
12344
12370
  ] }) }),
12345
12371
  /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "table-container", children: [
12346
12372
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "table-scroll-container", children: /* @__PURE__ */ jsxRuntimeExports.jsxs("table", { className: "custom-table", children: [
@@ -12351,11 +12377,11 @@ const v$2 = "5.1.7", fr$2 = 30, ip$2 = 25, op$2 = 69, w$2 = 600, h$2 = 600, nm$2
12351
12377
  CECheckBox,
12352
12378
  {
12353
12379
  label: "",
12354
- checked: z.size === T.length && T.length > 0,
12355
- onChange: (B) => {
12356
- if (B) {
12380
+ checked: z.size === _.length && _.length > 0,
12381
+ onChange: (N) => {
12382
+ if (N) {
12357
12383
  const W = new Set(
12358
- T.map((Y, U) => U)
12384
+ _.map((Y, U) => U)
12359
12385
  );
12360
12386
  H(W);
12361
12387
  } else
@@ -12364,7 +12390,7 @@ const v$2 = "5.1.7", fr$2 = 30, ip$2 = 25, op$2 = 69, w$2 = 600, h$2 = 600, nm$2
12364
12390
  }
12365
12391
  ) }),
12366
12392
  ht.map(
12367
- (B) => ot.has(B.id) && /* @__PURE__ */ jsxRuntimeExports.jsx(
12393
+ (N) => ot.has(N.id) && /* @__PURE__ */ jsxRuntimeExports.jsx(
12368
12394
  "th",
12369
12395
  {
12370
12396
  className: "table-header-cell",
@@ -12375,13 +12401,13 @@ const v$2 = "5.1.7", fr$2 = 30, ip$2 = 25, op$2 = 69, w$2 = 600, h$2 = 600, nm$2
12375
12401
  },
12376
12402
  children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "column-header", children: [
12377
12403
  /* @__PURE__ */ jsxRuntimeExports.jsxs("span", { className: "column-label-with-info", children: [
12378
- B.label,
12379
- B.tooltip && /* @__PURE__ */ jsxRuntimeExports.jsx(
12404
+ N.label,
12405
+ N.tooltip && /* @__PURE__ */ jsxRuntimeExports.jsx(
12380
12406
  "img",
12381
12407
  {
12382
12408
  src: InfoIcon,
12383
12409
  alt: "info",
12384
- title: B.tooltip,
12410
+ title: N.tooltip,
12385
12411
  width: 14,
12386
12412
  height: 14,
12387
12413
  className: "info-icon"
@@ -12397,12 +12423,12 @@ const v$2 = "5.1.7", fr$2 = 30, ip$2 = 25, op$2 = 69, w$2 = 600, h$2 = 600, nm$2
12397
12423
  title: "Sort",
12398
12424
  width: 20,
12399
12425
  height: 20,
12400
- onClick: () => Tt(B.id),
12426
+ onClick: () => Tt(N.id),
12401
12427
  style: {
12402
12428
  cursor: "pointer",
12403
12429
  transition: "transform 0.2s ease-in-out",
12404
- transform: (it == null ? void 0 : it.column) === B.id ? it.direction === "asc" ? "rotate(0deg)" : "rotate(180deg)" : "none",
12405
- filter: (it == null ? void 0 : it.column) === B.id ? "brightness(0.6)" : "none"
12430
+ transform: (it == null ? void 0 : it.column) === N.id ? it.direction === "asc" ? "rotate(0deg)" : "rotate(180deg)" : "none",
12431
+ filter: (it == null ? void 0 : it.column) === N.id ? "brightness(0.6)" : "none"
12406
12432
  }
12407
12433
  }
12408
12434
  ),
@@ -12416,11 +12442,11 @@ const v$2 = "5.1.7", fr$2 = 30, ip$2 = 25, op$2 = 69, w$2 = 600, h$2 = 600, nm$2
12416
12442
  "span",
12417
12443
  {
12418
12444
  className: "dropdown-trigger",
12419
- onClick: () => _t(B.id),
12445
+ onClick: () => _t(N.id),
12420
12446
  children: "⋮"
12421
12447
  }
12422
12448
  ),
12423
- L === B.id && /* @__PURE__ */ jsxRuntimeExports.jsx(
12449
+ L === N.id && /* @__PURE__ */ jsxRuntimeExports.jsx(
12424
12450
  "div",
12425
12451
  {
12426
12452
  className: "dropdown-menu",
@@ -12430,7 +12456,7 @@ const v$2 = "5.1.7", fr$2 = 30, ip$2 = 25, op$2 = 69, w$2 = 600, h$2 = 600, nm$2
12430
12456
  {
12431
12457
  className: "dropdown-item",
12432
12458
  onClick: () => {
12433
- j(B.id), C(!0), A(null);
12459
+ j(N.id), C(!0), A(null);
12434
12460
  },
12435
12461
  children: "Filter"
12436
12462
  }
@@ -12445,12 +12471,12 @@ const v$2 = "5.1.7", fr$2 = 30, ip$2 = 25, op$2 = 69, w$2 = 600, h$2 = 600, nm$2
12445
12471
  "div",
12446
12472
  {
12447
12473
  className: "column-resizer",
12448
- onMouseDown: (W) => It(W, B.id)
12474
+ onMouseDown: (W) => It(W, N.id)
12449
12475
  }
12450
12476
  )
12451
12477
  ] })
12452
12478
  },
12453
- B.id
12479
+ N.id
12454
12480
  )
12455
12481
  ),
12456
12482
  (n || o || c || l || a || s) && // (handleEditClick || handleAddClick || handleDeleteClick || handleApproveClick || handleReassignClick || handleCancelClick) &&
@@ -12473,30 +12499,30 @@ const v$2 = "5.1.7", fr$2 = 30, ip$2 = 25, op$2 = 69, w$2 = 600, h$2 = 600, nm$2
12473
12499
  r && /* @__PURE__ */ jsxRuntimeExports.jsx("td", {}),
12474
12500
  " ",
12475
12501
  ht.map(
12476
- (B) => ot.has(B.id) && /* @__PURE__ */ jsxRuntimeExports.jsx("td", { children: /* @__PURE__ */ jsxRuntimeExports.jsx(
12502
+ (N) => ot.has(N.id) && /* @__PURE__ */ jsxRuntimeExports.jsx("td", { children: /* @__PURE__ */ jsxRuntimeExports.jsx(
12477
12503
  "input",
12478
12504
  {
12479
12505
  type: "text",
12480
- placeholder: `Filter ${B.label}`,
12481
- value: R === B.id ? V : "",
12506
+ placeholder: `Filter ${N.label}`,
12507
+ value: R === N.id ? B : "",
12482
12508
  onChange: (W) => {
12483
12509
  const Y = W.target.value;
12484
- G(Y), j(B.id), wt(B.id, Y);
12510
+ G(Y), j(N.id), wt(N.id, Y);
12485
12511
  }
12486
12512
  }
12487
- ) }, `filter-${B.id}`)
12513
+ ) }, `filter-${N.id}`)
12488
12514
  ),
12489
12515
  (n || o || c || l || a || s) && /* @__PURE__ */ jsxRuntimeExports.jsx("td", {})
12490
12516
  ] })
12491
12517
  ] }),
12492
- /* @__PURE__ */ jsxRuntimeExports.jsx("tbody", { children: bt.map((B, W) => /* @__PURE__ */ jsxRuntimeExports.jsxs(React2__default.Fragment, { children: [
12518
+ /* @__PURE__ */ jsxRuntimeExports.jsx("tbody", { children: bt.map((N, W) => /* @__PURE__ */ jsxRuntimeExports.jsxs(React2__default.Fragment, { children: [
12493
12519
  /* @__PURE__ */ jsxRuntimeExports.jsxs(
12494
12520
  "tr",
12495
12521
  {
12496
12522
  className: W % 2 === 0 ? "table-row-even" : "table-row-odd",
12497
12523
  children: [
12498
12524
  Rt && /* @__PURE__ */ jsxRuntimeExports.jsx("td", { className: "expand-column", children: Array.from(ot).some(
12499
- (Y) => Array.isArray(B[Y]) && B[Y].length > 0 && B[Y].some(
12525
+ (Y) => Array.isArray(N[Y]) && N[Y].length > 0 && N[Y].some(
12500
12526
  (U) => typeof U == "object" && U !== null
12501
12527
  )
12502
12528
  ) && /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -12524,11 +12550,11 @@ const v$2 = "5.1.7", fr$2 = 30, ip$2 = 25, op$2 = 69, w$2 = 600, h$2 = 600, nm$2
12524
12550
  (Y) => ot.has(Y.id) && /* @__PURE__ */ jsxRuntimeExports.jsx(
12525
12551
  "td",
12526
12552
  {
12527
- className: `table-cell ${p != null && p.includes(Y.id) ? "ce-clickable-cell" : ""} ${Array.isArray(B[Y.id]) && B[Y.id].length > 0 && typeof B[Y.id][0] == "object" ? "highlight-cell" : ""}`,
12553
+ className: `table-cell ${p != null && p.includes(Y.id) ? "ce-clickable-cell" : ""} ${Array.isArray(N[Y.id]) && N[Y.id].length > 0 && typeof N[Y.id][0] == "object" ? "highlight-cell" : ""}`,
12528
12554
  onClick: () => {
12529
- p != null && p.includes(Y.id) ? Lt(B, Y.id) : Array.isArray(B[Y.id]) && B[Y.id].length > 0 && Ct(W, Y.id);
12555
+ p != null && p.includes(Y.id) ? Lt(N, Y.id) : Array.isArray(N[Y.id]) && N[Y.id].length > 0 && Ct(W, Y.id);
12530
12556
  },
12531
- children: Array.isArray(B[Y.id]) ? `${B[Y.id].length}` : typeof B[Y.id] == "object" ? Object.entries(B[Y.id]).map(([U, Z]) => `${U}: ${Z}`).join(", ") : B[Y.id]
12557
+ children: Array.isArray(N[Y.id]) ? `${N[Y.id].length}` : typeof N[Y.id] == "object" ? Object.entries(N[Y.id]).map(([U, Z]) => `${U}: ${Z}`).join(", ") : N[Y.id]
12532
12558
  },
12533
12559
  Y.id
12534
12560
  )
@@ -12626,10 +12652,10 @@ const v$2 = "5.1.7", fr$2 = 30, ip$2 = 25, op$2 = 69, w$2 = 600, h$2 = 600, nm$2
12626
12652
  Array.from(st).map((Y) => {
12627
12653
  const [U, Z] = Y.split("-");
12628
12654
  if (Number(U) === W) {
12629
- const et = Z ? { [Z]: B[Z] } : Object.keys(B).filter(
12630
- (rt) => Array.isArray(B[rt]) || typeof B[rt] == "object"
12655
+ const et = Z ? { [Z]: N[Z] } : Object.keys(N).filter(
12656
+ (rt) => Array.isArray(N[rt]) || typeof N[rt] == "object"
12631
12657
  ).reduce(
12632
- (rt, Et) => ({ ...rt, [Et]: B[Et] }),
12658
+ (rt, Et) => ({ ...rt, [Et]: N[Et] }),
12633
12659
  {}
12634
12660
  );
12635
12661
  return /* @__PURE__ */ jsxRuntimeExports.jsx("tr", { className: "expanded-row", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -12679,8 +12705,8 @@ const v$2 = "5.1.7", fr$2 = 30, ip$2 = 25, op$2 = 69, w$2 = 600, h$2 = 600, nm$2
12679
12705
  "select",
12680
12706
  {
12681
12707
  value: X,
12682
- onChange: (B) => {
12683
- Q(Number(B.target.value)), K(0);
12708
+ onChange: (N) => {
12709
+ Q(Number(N.target.value)), K(0);
12684
12710
  },
12685
12711
  children: [
12686
12712
  /* @__PURE__ */ jsxRuntimeExports.jsx("option", { value: 5, children: "5" }),
@@ -12696,8 +12722,8 @@ const v$2 = "5.1.7", fr$2 = 30, ip$2 = 25, op$2 = 69, w$2 = 600, h$2 = 600, nm$2
12696
12722
  CEPagination,
12697
12723
  {
12698
12724
  currentPage: J,
12699
- totalPages: Math.ceil(T.length / X),
12700
- onPageChange: (B) => K(B)
12725
+ totalPages: Math.ceil(_.length / X),
12726
+ onPageChange: (N) => K(N)
12701
12727
  }
12702
12728
  )
12703
12729
  ] }),
@@ -12723,8 +12749,8 @@ const v$2 = "5.1.7", fr$2 = 30, ip$2 = 25, op$2 = 69, w$2 = 600, h$2 = 600, nm$2
12723
12749
  "select",
12724
12750
  {
12725
12751
  value: R,
12726
- onChange: (B) => j(B.target.value),
12727
- children: ht.map((B) => /* @__PURE__ */ jsxRuntimeExports.jsx("option", { value: B.id, children: B.label }, B.id))
12752
+ onChange: (N) => j(N.target.value),
12753
+ children: ht.map((N) => /* @__PURE__ */ jsxRuntimeExports.jsx("option", { value: N.id, children: N.label }, N.id))
12728
12754
  }
12729
12755
  )
12730
12756
  ] }),
@@ -12733,8 +12759,8 @@ const v$2 = "5.1.7", fr$2 = 30, ip$2 = 25, op$2 = 69, w$2 = 600, h$2 = 600, nm$2
12733
12759
  /* @__PURE__ */ jsxRuntimeExports.jsxs(
12734
12760
  "select",
12735
12761
  {
12736
- value: _,
12737
- onChange: (B) => D(B.target.value),
12762
+ value: T,
12763
+ onChange: (N) => D(N.target.value),
12738
12764
  children: [
12739
12765
  /* @__PURE__ */ jsxRuntimeExports.jsx("option", { value: "contains", children: "contains" }),
12740
12766
  /* @__PURE__ */ jsxRuntimeExports.jsx("option", { value: "equals", children: "equals" }),
@@ -12755,8 +12781,8 @@ const v$2 = "5.1.7", fr$2 = 30, ip$2 = 25, op$2 = 69, w$2 = 600, h$2 = 600, nm$2
12755
12781
  "input",
12756
12782
  {
12757
12783
  type: "text",
12758
- value: V,
12759
- onChange: (B) => G(B.target.value)
12784
+ value: B,
12785
+ onChange: (N) => G(N.target.value)
12760
12786
  }
12761
12787
  )
12762
12788
  ] }),
@@ -12816,51 +12842,51 @@ const v$2 = "5.1.7", fr$2 = 30, ip$2 = 25, op$2 = 69, w$2 = 600, h$2 = 600, nm$2
12816
12842
  }
12817
12843
  );
12818
12844
  }, DateRangeIcon = "data:image/svg+xml,%3csvg%20width='24'%20height='25'%20viewBox='0%200%2024%2025'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M19%204.5H18V3.5C18%202.95%2017.55%202.5%2017%202.5C16.45%202.5%2016%202.95%2016%203.5V4.5H8V3.5C8%202.95%207.55%202.5%207%202.5C6.45%202.5%206%202.95%206%203.5V4.5H5C3.89%204.5%203.01%205.4%203.01%206.5L3%2020.5C3%2021.6%203.89%2022.5%205%2022.5H19C20.1%2022.5%2021%2021.6%2021%2020.5V6.5C21%205.4%2020.1%204.5%2019%204.5ZM19%2019.5C19%2020.05%2018.55%2020.5%2018%2020.5H6C5.45%2020.5%205%2020.05%205%2019.5V9.5H19V19.5ZM7%2011.5H9V13.5H7V11.5ZM11%2011.5H13V13.5H11V11.5ZM15%2011.5H17V13.5H15V11.5Z'%20fill='black'%20fill-opacity='0.54'/%3e%3c/svg%3e", WEEKDAYS = ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], CEDatePicker = ({ onChange: t, label: e = "Calendar" }) => {
12819
- const [r, i] = useState(!1), [s, n] = useState(null), [a, l] = useState(/* @__PURE__ */ new Date()), [o, c] = useState(!1), [u, E] = useState({ start: 2020, end: 2031 }), [f, b] = useState("left"), [d, m] = useState(0), S = useRef(null), [p, x] = useState(!1), [y, g] = useState(""), [k, P] = useState(""), [T, F] = useState(""), [I, $] = useState(!0), O = () => {
12820
- i(!1), !y && !k && !T && x(!1);
12845
+ const [r, i] = useState(!1), [s, n] = useState(null), [a, l] = useState(/* @__PURE__ */ new Date()), [o, c] = useState(!1), [u, E] = useState({ start: 2020, end: 2031 }), [f, b] = useState("left"), [d, m] = useState(0), k = useRef(null), [p, x] = useState(!1), [y, g] = useState(""), [S, P] = useState(""), [_, F] = useState(""), [I, $] = useState(!0), O = () => {
12846
+ i(!1), !y && !S && !_ && x(!1);
12821
12847
  };
12822
12848
  useEscapeKey(O);
12823
- const N = () => {
12849
+ const V = () => {
12824
12850
  i((j) => {
12825
12851
  if (!j) {
12826
- const _ = s || /* @__PURE__ */ new Date();
12827
- l(_), y || g(String(_.getMonth() + 1).padStart(2, "0")), k || P(String(_.getDate()).padStart(2, "0")), T || F(String(_.getFullYear()));
12852
+ const T = s || /* @__PURE__ */ new Date();
12853
+ l(T), y || g(String(T.getMonth() + 1).padStart(2, "0")), S || P(String(T.getDate()).padStart(2, "0")), _ || F(String(T.getFullYear()));
12828
12854
  }
12829
12855
  return !j;
12830
12856
  });
12831
12857
  };
12832
12858
  useEffect(() => {
12833
- const j = (_) => {
12834
- S.current && !S.current.contains(_.target) && O();
12859
+ const j = (T) => {
12860
+ k.current && !k.current.contains(T.target) && O();
12835
12861
  };
12836
12862
  return document.addEventListener("mousedown", j), () => document.removeEventListener("mousedown", j);
12837
- }, [y, k, T]);
12863
+ }, [y, S, _]);
12838
12864
  const z = (j) => {
12839
- const _ = new Date(a.getFullYear(), a.getMonth(), j);
12840
- n(_), l(_);
12841
- const D = String(_.getMonth() + 1).padStart(2, "0"), V = String(_.getDate()).padStart(2, "0"), G = String(_.getFullYear());
12842
- g(D), P(V), F(G), $(!0), t(`${D}/${V}/${G}`), i(!1);
12865
+ const T = new Date(a.getFullYear(), a.getMonth(), j);
12866
+ n(T), l(T);
12867
+ const D = String(T.getMonth() + 1).padStart(2, "0"), B = String(T.getDate()).padStart(2, "0"), G = String(T.getFullYear());
12868
+ g(D), P(B), F(G), $(!0), t(`${D}/${B}/${G}`), i(!1);
12843
12869
  }, H = (j) => {
12844
- b(j > 0 ? "left" : "right"), l((_) => {
12845
- const D = new Date(_.getFullYear(), _.getMonth() + j, 1);
12846
- return s && g(String(D.getMonth() + 1).padStart(2, "0")), m((V) => V + 1), D;
12870
+ b(j > 0 ? "left" : "right"), l((T) => {
12871
+ const D = new Date(T.getFullYear(), T.getMonth() + j, 1);
12872
+ return s && g(String(D.getMonth() + 1).padStart(2, "0")), m((B) => B + 1), D;
12847
12873
  });
12848
12874
  }, L = () => {
12849
12875
  c((j) => !j);
12850
12876
  }, A = (j) => {
12851
- E((_) => ({
12852
- start: _.start + j * 10,
12853
- end: _.end + j * 10
12877
+ E((T) => ({
12878
+ start: T.start + j * 10,
12879
+ end: T.end + j * 10
12854
12880
  }));
12855
12881
  }, M = (j) => {
12856
- const _ = new Date(j, a.getMonth(), 1);
12857
- l(_), F(String(j)), c(!1);
12882
+ const T = new Date(j, a.getMonth(), 1);
12883
+ l(T), F(String(j)), c(!1);
12858
12884
  }, C = () => {
12859
- const j = new Date(a.getFullYear(), a.getMonth(), 1), _ = new Date(a.getFullYear(), a.getMonth() + 1, 0), D = j.getDay(), V = _.getDate(), G = /* @__PURE__ */ new Date(), J = (X) => !s && // Only highlight today if no date is selected
12885
+ const j = new Date(a.getFullYear(), a.getMonth(), 1), T = new Date(a.getFullYear(), a.getMonth() + 1, 0), D = j.getDay(), B = T.getDate(), G = /* @__PURE__ */ new Date(), J = (X) => !s && // Only highlight today if no date is selected
12860
12886
  G.getDate() === X && G.getMonth() === a.getMonth() && G.getFullYear() === a.getFullYear(), K = [];
12861
12887
  for (let X = 0; X < D; X++)
12862
12888
  K.push(/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "dp-day empty" }, `empty-${X}`));
12863
- for (let X = 1; X <= V; X++) {
12889
+ for (let X = 1; X <= B; X++) {
12864
12890
  const Q = (s == null ? void 0 : s.getDate()) === X && (s == null ? void 0 : s.getMonth()) === a.getMonth() && (s == null ? void 0 : s.getFullYear()) === a.getFullYear();
12865
12891
  K.push(
12866
12892
  /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -12875,22 +12901,22 @@ const v$2 = "5.1.7", fr$2 = 30, ip$2 = 25, op$2 = 69, w$2 = 600, h$2 = 600, nm$2
12875
12901
  );
12876
12902
  }
12877
12903
  return K;
12878
- }, R = (j, _, D) => {
12879
- if (!j || !_ || !D) {
12904
+ }, R = (j, T, D) => {
12905
+ if (!j || !T || !D) {
12880
12906
  $(!1), l(/* @__PURE__ */ new Date()), n(null);
12881
12907
  return;
12882
12908
  }
12883
- const V = `${D}-${j}-${_}`, G = new Date(V);
12884
- if (G.getFullYear() === parseInt(D) && G.getMonth() + 1 === parseInt(j) && G.getDate() === parseInt(_))
12885
- n(G), l(G), $(!0), t(`${j}/${_}/${D}`);
12909
+ const B = `${D}-${j}-${T}`, G = new Date(B);
12910
+ if (G.getFullYear() === parseInt(D) && G.getMonth() + 1 === parseInt(j) && G.getDate() === parseInt(T))
12911
+ n(G), l(G), $(!0), t(`${j}/${T}/${D}`);
12886
12912
  else {
12887
12913
  const J = /* @__PURE__ */ new Date();
12888
- $(!1), n(null), l(J), g(j), P(_), F(D);
12914
+ $(!1), n(null), l(J), g(j), P(T), F(D);
12889
12915
  }
12890
12916
  };
12891
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "dp-wrapper", ref: S, children: [
12917
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "dp-wrapper", ref: k, children: [
12892
12918
  /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: `dp-input-container ${p || r ? "focused" : ""} ${I ? "" : "invalid"}`, children: [
12893
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: `dp-label ${p || r || s || y || k || T ? "floating" : ""} ${I ? "" : "invalid"}`, children: e }),
12919
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: `dp-label ${p || r || s || y || S || _ ? "floating" : ""} ${I ? "" : "invalid"}`, children: e }),
12894
12920
  /* @__PURE__ */ jsxRuntimeExports.jsxs(
12895
12921
  "div",
12896
12922
  {
@@ -12904,28 +12930,28 @@ const v$2 = "5.1.7", fr$2 = 30, ip$2 = 25, op$2 = 69, w$2 = 600, h$2 = 600, nm$2
12904
12930
  {
12905
12931
  value: y,
12906
12932
  onChange: (j) => {
12907
- g(j), R(j, k, T);
12933
+ g(j), R(j, S, _);
12908
12934
  },
12909
12935
  max: 12,
12910
12936
  min: 1,
12911
12937
  length: 2,
12912
12938
  placeholder: "MM",
12913
- onClick: N
12939
+ onClick: V
12914
12940
  }
12915
12941
  ),
12916
12942
  /* @__PURE__ */ jsxRuntimeExports.jsx("span", { children: "/" }),
12917
12943
  /* @__PURE__ */ jsxRuntimeExports.jsx(
12918
12944
  DateInputPart,
12919
12945
  {
12920
- value: k,
12946
+ value: S,
12921
12947
  onChange: (j) => {
12922
- P(j), R(y, j, T);
12948
+ P(j), R(y, j, _);
12923
12949
  },
12924
12950
  placeholder: "DD",
12925
12951
  max: 31,
12926
12952
  min: 1,
12927
12953
  length: 2,
12928
- onClick: N
12954
+ onClick: V
12929
12955
  }
12930
12956
  ),
12931
12957
  /* @__PURE__ */ jsxRuntimeExports.jsx("span", { children: "/" }),
@@ -12933,21 +12959,21 @@ const v$2 = "5.1.7", fr$2 = 30, ip$2 = 25, op$2 = 69, w$2 = 600, h$2 = 600, nm$2
12933
12959
  "input",
12934
12960
  {
12935
12961
  type: "text",
12936
- value: T,
12962
+ value: _,
12937
12963
  onChange: (j) => {
12938
- const _ = j.target.value.replace(/\D/g, "");
12939
- _.length <= 4 && (F(_), _.length === 4 && R(y, k, _));
12964
+ const T = j.target.value.replace(/\D/g, "");
12965
+ T.length <= 4 && (F(T), T.length === 4 && R(y, S, T));
12940
12966
  },
12941
12967
  onFocus: (j) => j.target.select(),
12942
12968
  onBlur: () => {
12943
- T.length === 4 && R(y, k, T);
12969
+ _.length === 4 && R(y, S, _);
12944
12970
  },
12945
12971
  className: "date-input-part",
12946
12972
  maxLength: 4,
12947
12973
  placeholder: "YYYY"
12948
12974
  }
12949
12975
  ),
12950
- /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "dp-icon", onClick: N, children: /* @__PURE__ */ jsxRuntimeExports.jsx("img", { src: DateRangeIcon, alt: "Calendar Icon" }) })
12976
+ /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "dp-icon", onClick: V, children: /* @__PURE__ */ jsxRuntimeExports.jsx("img", { src: DateRangeIcon, alt: "Calendar Icon" }) })
12951
12977
  ]
12952
12978
  }
12953
12979
  )
@@ -12964,8 +12990,8 @@ const v$2 = "5.1.7", fr$2 = 30, ip$2 = 25, op$2 = 69, w$2 = 600, h$2 = 600, nm$2
12964
12990
  ] })
12965
12991
  ] }),
12966
12992
  !o && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "dp-weekdays", children: WEEKDAYS.map((j) => /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "dp-weekday", children: j }, j)) }),
12967
- o ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "dp-years-grid", children: Array.from({ length: u.end - u.start + 1 }, (j, _) => {
12968
- const D = u.start + _;
12993
+ o ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "dp-years-grid", children: Array.from({ length: u.end - u.start + 1 }, (j, T) => {
12994
+ const D = u.start + T;
12969
12995
  return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "dp-year-item", onClick: () => M(D), children: D }, D);
12970
12996
  }) }) : /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: `dp-days dp-slide-${f}`, children: C() }, d)
12971
12997
  ] })
@@ -12985,14 +13011,14 @@ const v$2 = "5.1.7", fr$2 = 30, ip$2 = 25, op$2 = 69, w$2 = 600, h$2 = 600, nm$2
12985
13011
  }, m = (p) => {
12986
13012
  const x = p.target.value;
12987
13013
  a(x), b(i, x);
12988
- }, S = getSizeStyle$1(r);
13014
+ }, k = getSizeStyle$1(r);
12989
13015
  return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "date-range-picker", children: [
12990
13016
  /* @__PURE__ */ jsxRuntimeExports.jsx("label", { className: "floating-label float", children: t }),
12991
13017
  /* @__PURE__ */ jsxRuntimeExports.jsxs(
12992
13018
  "div",
12993
13019
  {
12994
13020
  className: `input-group ${c ? "input-error" : ""}`,
12995
- style: { padding: S.padding, fontSize: S.fontSize },
13021
+ style: { padding: k.padding, fontSize: k.fontSize },
12996
13022
  children: [
12997
13023
  /* @__PURE__ */ jsxRuntimeExports.jsx(
12998
13024
  "input",
@@ -13002,7 +13028,7 @@ const v$2 = "5.1.7", fr$2 = 30, ip$2 = 25, op$2 = 69, w$2 = 600, h$2 = 600, nm$2
13002
13028
  onChange: d,
13003
13029
  onFocus: E,
13004
13030
  onBlur: f,
13005
- style: { fontSize: S.fontSize }
13031
+ style: { fontSize: k.fontSize }
13006
13032
  }
13007
13033
  ),
13008
13034
  /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "separator", children: " - " }),
@@ -13014,7 +13040,7 @@ const v$2 = "5.1.7", fr$2 = 30, ip$2 = 25, op$2 = 69, w$2 = 600, h$2 = 600, nm$2
13014
13040
  onChange: m,
13015
13041
  onFocus: E,
13016
13042
  onBlur: f,
13017
- style: { fontSize: S.fontSize }
13043
+ style: { fontSize: k.fontSize }
13018
13044
  }
13019
13045
  )
13020
13046
  ]
@@ -13027,33 +13053,41 @@ const v$2 = "5.1.7", fr$2 = 30, ip$2 = 25, op$2 = 69, w$2 = 600, h$2 = 600, nm$2
13027
13053
  name: e,
13028
13054
  placeholder: r = "",
13029
13055
  value: i = "",
13030
- onChange: s
13056
+ onChange: s,
13057
+ size: n = "medium"
13031
13058
  }) => {
13032
- const [n, a] = useState(!1), [l, o] = useState(!1);
13059
+ const [a, l] = useState(!1), [o, c] = useState(!1), u = getSizeStyle$1(n);
13033
13060
  useEffect(() => {
13034
- i && i.trim().length > 0 && o(!0);
13061
+ i && i.trim().length > 0 && c(!0);
13035
13062
  }, [i]);
13036
- const c = () => {
13037
- a(!0), o(!0);
13038
- }, u = (f) => {
13039
- a(!1), f.target.value.trim() || o(!1);
13040
- }, E = n || !!i;
13041
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: `floating-input-wrapper ${l ? "focused" : ""}`, children: [
13042
- /* @__PURE__ */ jsxRuntimeExports.jsx("label", { htmlFor: e, className: "floating-label", children: t }),
13043
- /* @__PURE__ */ jsxRuntimeExports.jsx(
13044
- "input",
13045
- {
13046
- id: e,
13047
- name: e,
13048
- className: "floating-input",
13049
- placeholder: E ? r : "",
13050
- value: i,
13051
- onChange: s,
13052
- onFocus: c,
13053
- onBlur: u
13054
- }
13055
- )
13056
- ] });
13063
+ const E = () => {
13064
+ l(!0), c(!0);
13065
+ }, f = (d) => {
13066
+ l(!1), d.target.value.trim() || c(!1);
13067
+ }, b = a || !!i;
13068
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs(
13069
+ "div",
13070
+ {
13071
+ className: `floating-input-wrapper${o ? " focused" : ""}`,
13072
+ style: u,
13073
+ children: [
13074
+ /* @__PURE__ */ jsxRuntimeExports.jsx("label", { htmlFor: e, className: "floating-label", children: t }),
13075
+ /* @__PURE__ */ jsxRuntimeExports.jsx(
13076
+ "input",
13077
+ {
13078
+ id: e,
13079
+ name: e,
13080
+ className: "floating-input",
13081
+ placeholder: b ? r : "",
13082
+ value: i,
13083
+ onChange: s,
13084
+ onFocus: E,
13085
+ onBlur: f
13086
+ }
13087
+ )
13088
+ ]
13089
+ }
13090
+ );
13057
13091
  }, CECustomModal = ({
13058
13092
  isOpen: t,
13059
13093
  onClose: e,
@@ -13062,67 +13096,57 @@ const v$2 = "5.1.7", fr$2 = 30, ip$2 = 25, op$2 = 69, w$2 = 600, h$2 = 600, nm$2
13062
13096
  primaryButtonText: s,
13063
13097
  secondaryButtonText: n,
13064
13098
  onPrimaryClick: a,
13065
- onSecondaryClick: l,
13066
- size: o = "medium"
13067
- }) => {
13068
- if (useEffect(() => {
13069
- const u = (E) => {
13070
- E.key === "Escape" && e();
13071
- };
13072
- return document.addEventListener("keydown", u), () => document.removeEventListener("keydown", u);
13073
- }, [e]), !t) return null;
13074
- const c = getSizeStyle$1(o);
13075
- return ReactDOM.createPortal(
13076
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "modal-overlay", onClick: e, children: /* @__PURE__ */ jsxRuntimeExports.jsxs(
13077
- "div",
13078
- {
13079
- className: "modal-container",
13080
- onClick: (u) => u.stopPropagation(),
13081
- style: {
13082
- fontSize: c.fontSize
13083
- },
13084
- children: [
13085
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "modal-header", children: [
13086
- /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "modal-title", children: r }),
13087
- /* @__PURE__ */ jsxRuntimeExports.jsx(
13088
- "button",
13089
- {
13090
- className: "modal-close",
13091
- onClick: e,
13092
- "aria-label": "Close modal",
13093
- children: "×"
13094
- }
13095
- )
13096
- ] }),
13097
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "modal-content", children: i }),
13098
- (s || n) && /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "modal-footer", children: [
13099
- n && /* @__PURE__ */ jsxRuntimeExports.jsx(
13100
- CEButton,
13101
- {
13102
- variant: "outlinedGreen",
13103
- size: o,
13104
- onClick: l ?? (() => {
13105
- }),
13106
- children: n
13107
- }
13108
- ),
13109
- s && /* @__PURE__ */ jsxRuntimeExports.jsx(
13110
- CEButton,
13111
- {
13112
- className: "modal-button primary",
13113
- size: o,
13114
- onClick: a ?? (() => {
13115
- }),
13116
- children: s
13117
- }
13118
- )
13119
- ] })
13120
- ]
13121
- }
13122
- ) }),
13123
- document.body
13124
- );
13125
- }, CEFooter = () => /* @__PURE__ */ jsxRuntimeExports.jsx(
13099
+ onSecondaryClick: l
13100
+ }) => (useEffect(() => {
13101
+ const o = (c) => {
13102
+ c.key === "Escape" && e();
13103
+ };
13104
+ return document.addEventListener("keydown", o), () => document.removeEventListener("keydown", o);
13105
+ }, [e]), t ? ReactDOM.createPortal(
13106
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "modal-overlay", children: /* @__PURE__ */ jsxRuntimeExports.jsxs(
13107
+ "div",
13108
+ {
13109
+ className: "modal-container",
13110
+ onClick: (o) => o.stopPropagation(),
13111
+ children: [
13112
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "modal-header", children: [
13113
+ /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "modal-title", children: r }),
13114
+ /* @__PURE__ */ jsxRuntimeExports.jsx(
13115
+ "button",
13116
+ {
13117
+ className: "modal-close",
13118
+ onClick: e,
13119
+ "aria-label": "Close modal",
13120
+ children: "×"
13121
+ }
13122
+ )
13123
+ ] }),
13124
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "modal-content", children: i }),
13125
+ (s || n) && /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "modal-footer", children: [
13126
+ n && /* @__PURE__ */ jsxRuntimeExports.jsx(
13127
+ CEButton,
13128
+ {
13129
+ variant: "outlinedGreen",
13130
+ onClick: l ?? (() => {
13131
+ }),
13132
+ children: n
13133
+ }
13134
+ ),
13135
+ s && /* @__PURE__ */ jsxRuntimeExports.jsx(
13136
+ CEButton,
13137
+ {
13138
+ className: "modal-button primary",
13139
+ onClick: a ?? (() => {
13140
+ }),
13141
+ children: s
13142
+ }
13143
+ )
13144
+ ] })
13145
+ ]
13146
+ }
13147
+ ) }),
13148
+ document.body
13149
+ ) : null), CEFooter = () => /* @__PURE__ */ jsxRuntimeExports.jsx(
13126
13150
  "footer",
13127
13151
  {
13128
13152
  style: {
@@ -13183,7 +13207,7 @@ const v$2 = "5.1.7", fr$2 = 30, ip$2 = 25, op$2 = 69, w$2 = 600, h$2 = 600, nm$2
13183
13207
  recentSearches: i = []
13184
13208
  }) => {
13185
13209
  const [s, n] = useState(!1), [a, l] = useState(""), [o, c] = useState(r), [u, E] = useState(i), f = (d, m) => {
13186
- d === "quickActions" ? c((S) => S.filter((p, x) => x !== m)) : E((S) => S.filter((p, x) => x !== m));
13210
+ d === "quickActions" ? c((k) => k.filter((p, x) => x !== m)) : E((k) => k.filter((p, x) => x !== m));
13187
13211
  }, b = () => {
13188
13212
  a.trim() !== "" && (E((d) => [a, ...d]), l(""));
13189
13213
  };
@@ -13372,7 +13396,7 @@ const v$2 = "5.1.7", fr$2 = 30, ip$2 = 25, op$2 = 69, w$2 = 600, h$2 = 600, nm$2
13372
13396
  userInfoProps: b,
13373
13397
  onMenuClick: d,
13374
13398
  drawerJsonUrl: m = "",
13375
- isDrawerOpen: S = !1,
13399
+ isDrawerOpen: k = !1,
13376
13400
  onDrawerClose: p
13377
13401
  }) => /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
13378
13402
  /* @__PURE__ */ jsxRuntimeExports.jsxs("header", { className: "ceui-header", style: { backgroundColor: t }, children: [
@@ -13412,7 +13436,7 @@ const v$2 = "5.1.7", fr$2 = 30, ip$2 = 25, op$2 = 69, w$2 = 600, h$2 = 600, nm$2
13412
13436
  CEDrawer,
13413
13437
  {
13414
13438
  jsonUrl: m,
13415
- isOpen: S,
13439
+ isOpen: k,
13416
13440
  onClose: p || (() => {
13417
13441
  })
13418
13442
  }
@@ -13462,12 +13486,12 @@ const v$2 = "5.1.7", fr$2 = 30, ip$2 = 25, op$2 = 69, w$2 = 600, h$2 = 600, nm$2
13462
13486
  style: f = {},
13463
13487
  size: b = "medium"
13464
13488
  }) => {
13465
- const [d, m] = useState(!1), S = (k) => {
13489
+ const [d, m] = useState(!1), k = (S) => {
13466
13490
  m(!0);
13467
- }, p = (k) => {
13491
+ }, p = (S) => {
13468
13492
  m(!1);
13469
- }, x = (k) => {
13470
- const P = k.target.value;
13493
+ }, x = (S) => {
13494
+ const P = S.target.value;
13471
13495
  i === "number" && !/^\d*$/.test(P) || i === "alphanumeric" && !/^[a-zA-Z0-9]*$/.test(P) || e(P);
13472
13496
  }, y = getSizeStyle$1(b || "medium"), g = {
13473
13497
  fontSize: y.fontSize,
@@ -13489,7 +13513,7 @@ const v$2 = "5.1.7", fr$2 = 30, ip$2 = 25, op$2 = 69, w$2 = 600, h$2 = 600, nm$2
13489
13513
  type: i,
13490
13514
  value: t,
13491
13515
  onChange: x,
13492
- onFocus: S,
13516
+ onFocus: k,
13493
13517
  onBlur: p,
13494
13518
  placeholder: r || " ",
13495
13519
  className: "validated-input-field",
@@ -13505,127 +13529,122 @@ const v$2 = "5.1.7", fr$2 = 30, ip$2 = 25, op$2 = 69, w$2 = 600, h$2 = 600, nm$2
13505
13529
  onChange: r,
13506
13530
  placeholder: i = "Select options",
13507
13531
  multipleSelection: s = !0,
13508
- size: n = "medium"
13532
+ style: n = {},
13533
+ size: a = "medium"
13509
13534
  }) => {
13510
- const [a, l] = useState(!1), [o, c] = useState(""), u = useRef(null), E = "src/assets/KeyboardArrowDownRounded.svg", [f, b] = useState(!1), d = (g) => {
13511
- let k;
13512
- s ? k = e.includes(g) ? e.filter((P) => P !== g) : [...e, g] : (k = e.includes(g) ? [] : [g], l(!1)), r(k), c("");
13513
- }, m = () => {
13535
+ const [l, o] = useState(!1), [c, u] = useState(""), E = useRef(null), f = "src/assets/KeyboardArrowDownRounded.svg", [b, d] = useState(!1), m = (S) => {
13536
+ let P;
13537
+ s ? P = e.includes(S) ? e.filter((_) => _ !== S) : [...e, S] : (P = e.includes(S) ? [] : [S], o(!1)), r(P), u("");
13538
+ }, k = () => {
13514
13539
  r([]);
13515
- }, S = (g) => {
13516
- const k = e.filter((P) => P !== g);
13517
- r(k);
13518
- }, p = getSizeStyle$1(n || "medium"), x = t.filter(
13519
- (g) => g.label.toLowerCase().includes(o.toLowerCase())
13540
+ }, p = (S) => {
13541
+ const P = e.filter((_) => _ !== S);
13542
+ r(P);
13543
+ }, x = getSizeStyle$1(a || "medium"), y = t.filter(
13544
+ (S) => S.label.toLowerCase().includes(c.toLowerCase())
13520
13545
  );
13521
13546
  useEffect(() => {
13522
- const g = (k) => {
13523
- u.current && !u.current.contains(k.target) && l(!1);
13547
+ const S = (P) => {
13548
+ E.current && !E.current.contains(P.target) && o(!1);
13524
13549
  };
13525
- return document.addEventListener("mousedown", g), () => {
13526
- document.removeEventListener("mousedown", g);
13550
+ return document.addEventListener("mousedown", S), () => {
13551
+ document.removeEventListener("mousedown", S);
13527
13552
  };
13528
13553
  }, []);
13529
- const y = () => {
13554
+ const g = () => {
13530
13555
  if (e.length === t.length)
13531
13556
  r([]);
13532
13557
  else {
13533
- const g = t.map((k) => k.label);
13534
- r(g);
13558
+ const S = t.map((P) => P.label);
13559
+ r(S);
13535
13560
  }
13536
13561
  };
13537
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "dropdown-container", ref: u, style: p, children: [
13538
- /* @__PURE__ */ jsxRuntimeExports.jsxs(
13539
- "div",
13540
- {
13541
- className: `dropdown${f ? " focused" : ""}${e.length > 0 || o ? " has-value" : ""}`,
13542
- children: [
13543
- /* @__PURE__ */ jsxRuntimeExports.jsx("label", { className: "dropdown-label", children: i }),
13544
- /* @__PURE__ */ jsxRuntimeExports.jsxs(
13545
- "div",
13546
- {
13547
- className: "search-container",
13548
- onClick: () => l((g) => !g),
13549
- children: [
13550
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "selected-tags", children: e.map((g) => /* @__PURE__ */ jsxRuntimeExports.jsxs("span", { className: "tag", children: [
13551
- g,
13552
- s && /* @__PURE__ */ jsxRuntimeExports.jsx(
13553
- "button",
13554
- {
13555
- className: "remove-tag",
13556
- onClick: (k) => {
13557
- k.stopPropagation(), S(g);
13558
- },
13559
- children: "×"
13560
- }
13561
- )
13562
- ] }, g)) }),
13563
- /* @__PURE__ */ jsxRuntimeExports.jsx(
13564
- "input",
13565
- {
13566
- type: "text",
13567
- className: "search-input",
13568
- value: o,
13569
- onFocus: () => b(!0),
13570
- onBlur: () => b(!1),
13571
- onChange: (g) => c(g.target.value),
13572
- readOnly: !s
13573
- }
13574
- ),
13575
- s && e.length > 0 && /* @__PURE__ */ jsxRuntimeExports.jsx(
13576
- "button",
13577
- {
13578
- className: "clear-button",
13579
- onClick: (g) => {
13580
- g.stopPropagation(), m(), c("");
13581
- },
13582
- children: "×"
13583
- }
13584
- ),
13585
- /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "dropdown-toggle-icon", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
13586
- "img",
13587
- {
13588
- src: E,
13589
- alt: "Toggle Dropdown",
13590
- className: a ? "rotate-icon" : ""
13591
- }
13592
- ) })
13593
- ]
13594
- }
13595
- )
13596
- ]
13597
- }
13598
- ),
13599
- a && /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "options open", children: [
13600
- s && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "select-clear-container", children: /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "select-all", onClick: y, children: e.length === t.length ? "Clear All" : "Select All" }) }),
13601
- x.map((g) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
13562
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "dropdown-container", ref: E, style: x, children: [
13563
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: `dropdown${b ? " focused" : ""}${e.length > 0 || c.length > 0 ? " has-value" : ""}`, children: [
13564
+ /* @__PURE__ */ jsxRuntimeExports.jsx("label", { className: "dropdown-label", children: i }),
13565
+ /* @__PURE__ */ jsxRuntimeExports.jsxs(
13566
+ "div",
13567
+ {
13568
+ className: "search-container",
13569
+ onClick: () => o((S) => !S),
13570
+ children: [
13571
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "selected-tags", children: e.map((S) => /* @__PURE__ */ jsxRuntimeExports.jsxs("span", { className: "tag", children: [
13572
+ S,
13573
+ s && /* @__PURE__ */ jsxRuntimeExports.jsx(
13574
+ "button",
13575
+ {
13576
+ className: "remove-tag",
13577
+ onClick: (P) => {
13578
+ P.stopPropagation(), p(S);
13579
+ },
13580
+ children: "×"
13581
+ }
13582
+ )
13583
+ ] }, S)) }),
13584
+ /* @__PURE__ */ jsxRuntimeExports.jsx(
13585
+ "input",
13586
+ {
13587
+ type: "text",
13588
+ className: "search-input",
13589
+ value: c,
13590
+ onFocus: () => d(!0),
13591
+ onBlur: () => d(!1),
13592
+ onChange: (S) => u(S.target.value),
13593
+ readOnly: !s
13594
+ }
13595
+ ),
13596
+ s && e.length > 0 && /* @__PURE__ */ jsxRuntimeExports.jsx(
13597
+ "button",
13598
+ {
13599
+ className: "clear-button",
13600
+ onClick: (S) => {
13601
+ S.stopPropagation(), k(), u("");
13602
+ },
13603
+ children: "×"
13604
+ }
13605
+ ),
13606
+ /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "dropdown-toggle-icon", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
13607
+ "img",
13608
+ {
13609
+ src: f,
13610
+ alt: "Toggle Dropdown",
13611
+ className: l ? "rotate-icon" : ""
13612
+ }
13613
+ ) })
13614
+ ]
13615
+ }
13616
+ )
13617
+ ] }),
13618
+ l && /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "options open", children: [
13619
+ s && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "select-clear-container", children: /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "select-all", onClick: g, children: e.length === t.length ? "Clear All" : "Select All" }) }),
13620
+ y.map((S) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
13602
13621
  "div",
13603
13622
  {
13604
13623
  className: "option",
13605
- onClick: () => d(g.label),
13624
+ onClick: () => m(S.label),
13606
13625
  children: [
13607
13626
  s ? /* @__PURE__ */ jsxRuntimeExports.jsx(
13608
13627
  "input",
13609
13628
  {
13610
13629
  type: "checkbox",
13611
- checked: e.includes(g.label),
13612
- onChange: () => d(g.label),
13613
- onClick: (k) => k.stopPropagation()
13630
+ checked: e.includes(S.label),
13631
+ onChange: () => m(S.label),
13632
+ onClick: (P) => P.stopPropagation()
13614
13633
  }
13615
13634
  ) : /* @__PURE__ */ jsxRuntimeExports.jsx(
13616
13635
  "input",
13617
13636
  {
13618
13637
  type: "radio",
13619
- checked: e.includes(g.label),
13638
+ checked: e.includes(S.label),
13620
13639
  readOnly: !0,
13621
13640
  tabIndex: -1,
13622
13641
  style: { display: "none" }
13623
13642
  }
13624
13643
  ),
13625
- /* @__PURE__ */ jsxRuntimeExports.jsx("label", { children: g.label })
13644
+ /* @__PURE__ */ jsxRuntimeExports.jsx("label", { children: S.label })
13626
13645
  ]
13627
13646
  },
13628
- g.label
13647
+ S.label
13629
13648
  ))
13630
13649
  ] })
13631
13650
  ] });
@@ -13775,7 +13794,7 @@ const v$2 = "5.1.7", fr$2 = 30, ip$2 = 25, op$2 = 69, w$2 = 600, h$2 = 600, nm$2
13775
13794
  useEffect(() => {
13776
13795
  c.current && t && (c.current.innerHTML = t);
13777
13796
  }, [t]);
13778
- const S = useCallback((P) => {
13797
+ const k = useCallback((P) => {
13779
13798
  try {
13780
13799
  return document.queryCommandState(P);
13781
13800
  } catch {
@@ -13783,35 +13802,35 @@ const v$2 = "5.1.7", fr$2 = 30, ip$2 = 25, op$2 = 69, w$2 = 600, h$2 = 600, nm$2
13783
13802
  }
13784
13803
  }, []), p = useCallback(() => {
13785
13804
  m({
13786
- bold: S("bold"),
13787
- italic: S("italic"),
13788
- underline: S("underline"),
13789
- strikeThrough: S("strikethrough"),
13790
- subscript: S("subscript"),
13791
- superscript: S("superscript"),
13792
- justifyLeft: S("justifyLeft"),
13793
- justifyCenter: S("justifyCenter"),
13794
- justifyRight: S("justifyRight"),
13795
- justifyFull: S("justifyFull")
13805
+ bold: k("bold"),
13806
+ italic: k("italic"),
13807
+ underline: k("underline"),
13808
+ strikeThrough: k("strikethrough"),
13809
+ subscript: k("subscript"),
13810
+ superscript: k("superscript"),
13811
+ justifyLeft: k("justifyLeft"),
13812
+ justifyCenter: k("justifyCenter"),
13813
+ justifyRight: k("justifyRight"),
13814
+ justifyFull: k("justifyFull")
13796
13815
  });
13797
- }, [S]), x = useCallback((P, T = "") => {
13816
+ }, [k]), x = useCallback((P, _ = "") => {
13798
13817
  var $, O;
13799
13818
  const F = saveSelection(), I = document.getSelection();
13800
13819
  if (P === "createLink") {
13801
- const N = prompt("Enter URL:");
13802
- if (N) {
13803
- restoreSelection(F), document.execCommand("createLink", !1, N);
13820
+ const V = prompt("Enter URL:");
13821
+ if (V) {
13822
+ restoreSelection(F), document.execCommand("createLink", !1, V);
13804
13823
  const z = ($ = I == null ? void 0 : I.anchorNode) == null ? void 0 : $.parentElement;
13805
13824
  z instanceof HTMLAnchorElement && (z.target = "_blank", z.rel = "noopener noreferrer");
13806
13825
  }
13807
13826
  } else if (P === "insertImage") {
13808
- const N = prompt("Enter image URL:");
13809
- if (N) {
13827
+ const V = prompt("Enter image URL:");
13828
+ if (V) {
13810
13829
  restoreSelection(F);
13811
- const z = `<img src="${N}" alt="image" style="max-width: 100%; height: auto;"/>`;
13830
+ const z = `<img src="${V}" alt="image" style="max-width: 100%; height: auto;"/>`;
13812
13831
  document.execCommand("insertHTML", !1, z);
13813
13832
  }
13814
- } else P === "fontSize" || P === "fontName" ? (restoreSelection(F), document.execCommand(P, !0, T), P === "fontSize" ? E(T) : b(T)) : (restoreSelection(F), document.execCommand(P, !1, T));
13833
+ } else P === "fontSize" || P === "fontName" ? (restoreSelection(F), document.execCommand(P, !0, _), P === "fontSize" ? E(_) : b(_)) : (restoreSelection(F), document.execCommand(P, !1, _));
13815
13834
  c.current && (e == null || e(c.current.innerHTML)), (O = c.current) == null || O.focus(), p();
13816
13835
  }, [e, p]), y = (P) => {
13817
13836
  if (P.key === "Tab" && (P.preventDefault(), document.execCommand("insertHTML", !1, "&nbsp;&nbsp;&nbsp;&nbsp;")), P.ctrlKey || P.metaKey)
@@ -13831,7 +13850,7 @@ const v$2 = "5.1.7", fr$2 = 30, ip$2 = 25, op$2 = 69, w$2 = 600, h$2 = 600, nm$2
13831
13850
  { value: "5", label: "10" },
13832
13851
  { value: "6", label: "12" },
13833
13852
  { value: "7", label: "14" }
13834
- ], k = [
13853
+ ], S = [
13835
13854
  "Arial",
13836
13855
  "Times New Roman",
13837
13856
  "Courier New",
@@ -13979,7 +13998,7 @@ const v$2 = "5.1.7", fr$2 = 30, ip$2 = 25, op$2 = 69, w$2 = 600, h$2 = 600, nm$2
13979
13998
  onChange: (P) => x("fontName", P.target.value),
13980
13999
  className: "toolbar-select",
13981
14000
  title: "Font Family",
13982
- children: k.map((P) => /* @__PURE__ */ jsxRuntimeExports.jsx("option", { value: P, children: P }, P))
14001
+ children: S.map((P) => /* @__PURE__ */ jsxRuntimeExports.jsx("option", { value: P, children: P }, P))
13983
14002
  }
13984
14003
  ) }),
13985
14004
  /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "toolbar-group", children: [
@@ -14052,55 +14071,55 @@ const v$2 = "5.1.7", fr$2 = 30, ip$2 = 25, op$2 = 69, w$2 = 600, h$2 = 600, nm$2
14052
14071
  initialTime: r = "",
14053
14072
  className: i = ""
14054
14073
  }) => {
14055
- const [s, n] = useState(!1), [a, l] = useState(r), [o, c] = useState("12"), [u, E] = useState("00"), [f, b] = useState("AM"), [d, m] = useState(!1), [S, p] = useState(""), [x, y] = useState(""), g = useRef(null), k = Array.from({ length: 12 }, (L, A) => String(A + 1).padStart(2, "0")), P = Array.from({ length: 60 }, (L, A) => String(A).padStart(2, "0")), T = (L, A) => {
14074
+ const [s, n] = useState(!1), [a, l] = useState(r), [o, c] = useState("12"), [u, E] = useState("00"), [f, b] = useState("AM"), [d, m] = useState(!1), [k, p] = useState(""), [x, y] = useState(""), g = useRef(null), S = Array.from({ length: 12 }, (L, A) => String(A + 1).padStart(2, "0")), P = Array.from({ length: 60 }, (L, A) => String(A).padStart(2, "0")), _ = (L, A) => {
14056
14075
  if (!L) return "";
14057
14076
  const M = parseInt(L);
14058
14077
  return A === "hours" ? M > 12 ? "12" : M === 0 ? "01" : L.padStart(2, "0") : M > 59 ? "59" : L.padStart(2, "0");
14059
14078
  }, F = (L) => {
14060
14079
  const A = L.target.value, M = L.target.selectionStart || 0;
14061
- let C = o, R = u, j = f, _ = a;
14080
+ let C = o, R = u, j = f, T = a;
14062
14081
  if (M <= 2) {
14063
14082
  const D = A.substring(0, 2).replace(/[^0-9]/g, "");
14064
14083
  if (D) {
14065
14084
  if (D.length === 1) {
14066
- const V = parseInt(D);
14067
- V >= 2 && V <= 9 ? (C = D.padStart(2, "0"), setTimeout(() => {
14085
+ const B = parseInt(D);
14086
+ B >= 2 && B <= 9 ? (C = D.padStart(2, "0"), setTimeout(() => {
14068
14087
  g.current && g.current.setSelectionRange(3, 5);
14069
14088
  }, 10)) : (C = D, setTimeout(() => {
14070
14089
  g.current && g.current.setSelectionRange(1, 1);
14071
14090
  }, 10));
14072
14091
  } else if (D.length === 2) {
14073
- const V = parseInt(D);
14074
- V >= 1 && V <= 12 ? (C = D, setTimeout(() => {
14092
+ const B = parseInt(D);
14093
+ B >= 1 && B <= 12 ? (C = D, setTimeout(() => {
14075
14094
  g.current && g.current.setSelectionRange(3, 5);
14076
14095
  }, 10)) : (C = D[0], setTimeout(() => {
14077
14096
  g.current && g.current.setSelectionRange(1, 1);
14078
14097
  }, 10));
14079
14098
  }
14080
- _ = `${C}:${u} ${f}`;
14099
+ T = `${C}:${u} ${f}`;
14081
14100
  }
14082
14101
  } else if (M >= 3 && M <= 5) {
14083
- const D = A.indexOf(":") + 1, V = A.substring(D, D + 2).replace(/[^0-9]/g, "");
14084
- if (V) {
14085
- if (V.length === 1)
14086
- R = V, _ = `${o}:${R} ${f}`, setTimeout(() => {
14102
+ const D = A.indexOf(":") + 1, B = A.substring(D, D + 2).replace(/[^0-9]/g, "");
14103
+ if (B) {
14104
+ if (B.length === 1)
14105
+ R = B, T = `${o}:${R} ${f}`, setTimeout(() => {
14087
14106
  g.current && g.current.setSelectionRange(4, 4);
14088
14107
  }, 10);
14089
- else if (V.length === 2) {
14090
- const G = parseInt(V);
14091
- G >= 0 && G <= 59 ? (R = V, setTimeout(() => {
14108
+ else if (B.length === 2) {
14109
+ const G = parseInt(B);
14110
+ G >= 0 && G <= 59 ? (R = B, setTimeout(() => {
14092
14111
  g.current && g.current.setSelectionRange(6, 8);
14093
- }, 10)) : (R = V[0], setTimeout(() => {
14112
+ }, 10)) : (R = B[0], setTimeout(() => {
14094
14113
  g.current && g.current.setSelectionRange(4, 4);
14095
14114
  }, 10));
14096
14115
  }
14097
- _ = `${o}:${R} ${f}`;
14116
+ T = `${o}:${R} ${f}`;
14098
14117
  }
14099
14118
  } else if (M >= 6) {
14100
- const V = A.substring(A.lastIndexOf(" ") + 1).toUpperCase();
14101
- V.startsWith("A") ? (j = "AM", _ = `${o}:${u} AM`) : V.startsWith("P") && (j = "PM", _ = `${o}:${u} PM`);
14119
+ const B = A.substring(A.lastIndexOf(" ") + 1).toUpperCase();
14120
+ B.startsWith("A") ? (j = "AM", T = `${o}:${u} AM`) : B.startsWith("P") && (j = "PM", T = `${o}:${u} PM`);
14102
14121
  }
14103
- c(C), E(R), b(j), l(_), n(!1), e == null || e(_);
14122
+ c(C), E(R), b(j), l(T), n(!1), e == null || e(T);
14104
14123
  }, I = (L) => {
14105
14124
  if (![
14106
14125
  "Backspace",
@@ -14135,14 +14154,14 @@ const v$2 = "5.1.7", fr$2 = 30, ip$2 = 25, op$2 = 69, w$2 = 600, h$2 = 600, nm$2
14135
14154
  L.preventDefault();
14136
14155
  const M = L.currentTarget.selectionStart || 0;
14137
14156
  if (M <= 2) {
14138
- if (S) {
14139
- const C = T(S, "hours");
14157
+ if (k) {
14158
+ const C = _(k, "hours");
14140
14159
  c(C), p(""), l(`${C}:${u} ${f}`);
14141
14160
  }
14142
14161
  L.currentTarget.setSelectionRange(3, 5);
14143
14162
  } else if (M >= 3 && M <= 5) {
14144
14163
  if (x) {
14145
- const C = T(x, "minutes");
14164
+ const C = _(x, "minutes");
14146
14165
  E(C), y(""), l(`${o}:${C} ${f}`);
14147
14166
  }
14148
14167
  L.currentTarget.setSelectionRange(6, 8);
@@ -14153,7 +14172,7 @@ const v$2 = "5.1.7", fr$2 = 30, ip$2 = 25, op$2 = 69, w$2 = 600, h$2 = 600, nm$2
14153
14172
  M && (A <= 1 ? M.setSelectionRange(0, 2) : A >= 3 && A <= 4 ? M.setSelectionRange(3, 5) : A >= 6 && M.setSelectionRange(6, 8));
14154
14173
  }, O = () => {
14155
14174
  n(!0), m(!0);
14156
- }, N = (L, A) => {
14175
+ }, V = (L, A) => {
14157
14176
  const M = L === "hours" ? A : o, C = L === "minutes" ? A : u, R = L === "period" ? A : f;
14158
14177
  c(M), E(C), b(R);
14159
14178
  const j = `${M}:${C} ${R}`;
@@ -14196,11 +14215,11 @@ const v$2 = "5.1.7", fr$2 = 30, ip$2 = 25, op$2 = 69, w$2 = 600, h$2 = 600, nm$2
14196
14215
  /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "time-picker-sections", children: [
14197
14216
  /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "time-section", children: [
14198
14217
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "section-label", children: "Hours" }),
14199
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "time-list", children: k.map((L) => /* @__PURE__ */ jsxRuntimeExports.jsx(
14218
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "time-list", children: S.map((L) => /* @__PURE__ */ jsxRuntimeExports.jsx(
14200
14219
  "div",
14201
14220
  {
14202
14221
  className: `time-item ${L === o ? "selected" : ""}`,
14203
- onClick: () => N("hours", L),
14222
+ onClick: () => V("hours", L),
14204
14223
  children: L
14205
14224
  },
14206
14225
  L
@@ -14212,7 +14231,7 @@ const v$2 = "5.1.7", fr$2 = 30, ip$2 = 25, op$2 = 69, w$2 = 600, h$2 = 600, nm$2
14212
14231
  "div",
14213
14232
  {
14214
14233
  className: `time-item ${L === u ? "selected" : ""}`,
14215
- onClick: () => N("minutes", L),
14234
+ onClick: () => V("minutes", L),
14216
14235
  children: L
14217
14236
  },
14218
14237
  L
@@ -14224,7 +14243,7 @@ const v$2 = "5.1.7", fr$2 = 30, ip$2 = 25, op$2 = 69, w$2 = 600, h$2 = 600, nm$2
14224
14243
  "div",
14225
14244
  {
14226
14245
  className: `period-item ${L === f ? "selected" : ""}`,
14227
- onClick: () => N("period", L),
14246
+ onClick: () => V("period", L),
14228
14247
  children: L
14229
14248
  },
14230
14249
  L
@@ -14244,54 +14263,54 @@ const v$2 = "5.1.7", fr$2 = 30, ip$2 = 25, op$2 = 69, w$2 = 600, h$2 = 600, nm$2
14244
14263
  boxClass: i = "",
14245
14264
  buttonClass: s = ""
14246
14265
  }) => {
14247
- const [n, a] = useState([]), [l, o] = useState([]), [c, u] = useState(!0), [E, f] = useState(null), [b, d] = useState(/* @__PURE__ */ new Set()), [m, S] = useState(/* @__PURE__ */ new Set());
14266
+ const [n, a] = useState([]), [l, o] = useState([]), [c, u] = useState(!0), [E, f] = useState(null), [b, d] = useState(/* @__PURE__ */ new Set()), [m, k] = useState(/* @__PURE__ */ new Set());
14248
14267
  useEffect(() => {
14249
14268
  (async () => {
14250
- var P, T;
14269
+ var P, _;
14251
14270
  try {
14252
14271
  u(!0), f(null);
14253
14272
  const I = (await axios.get(t)).data.items || [];
14254
14273
  a(I.slice(0, Math.ceil(I.length / 2))), o(I.slice(Math.ceil(I.length / 2)));
14255
14274
  } catch (F) {
14256
14275
  f(
14257
- axios.isAxiosError(F) ? ((T = (P = F.response) == null ? void 0 : P.data) == null ? void 0 : T.message) || F.message : "An error occurred"
14276
+ axios.isAxiosError(F) ? ((_ = (P = F.response) == null ? void 0 : P.data) == null ? void 0 : _.message) || F.message : "An error occurred"
14258
14277
  );
14259
14278
  } finally {
14260
14279
  u(!1);
14261
14280
  }
14262
14281
  })();
14263
14282
  }, []);
14264
- const p = (k) => {
14265
- if (k === "available") {
14283
+ const p = (S) => {
14284
+ if (S === "available") {
14266
14285
  const P = n.filter((F) => b.has(F.id)).sort((F, I) => {
14267
14286
  const $ = parseInt(F.id.replace(/\D/g, "")), O = parseInt(I.id.replace(/\D/g, ""));
14268
14287
  return $ - O;
14269
- }), T = n.filter((F) => !b.has(F.id));
14270
- a(T), o((F) => [...F, ...P].sort(($, O) => {
14271
- const N = parseInt($.id.replace(/\D/g, "")), z = parseInt(O.id.replace(/\D/g, ""));
14272
- return N - z;
14288
+ }), _ = n.filter((F) => !b.has(F.id));
14289
+ a(_), o((F) => [...F, ...P].sort(($, O) => {
14290
+ const V = parseInt($.id.replace(/\D/g, "")), z = parseInt(O.id.replace(/\D/g, ""));
14291
+ return V - z;
14273
14292
  })), d(/* @__PURE__ */ new Set());
14274
14293
  } else {
14275
14294
  const P = l.filter((F) => m.has(F.id)).sort((F, I) => {
14276
14295
  const $ = parseInt(F.id.replace(/\D/g, "")), O = parseInt(I.id.replace(/\D/g, ""));
14277
14296
  return $ - O;
14278
- }), T = l.filter((F) => !m.has(F.id));
14279
- o(T), a((F) => [...F, ...P].sort(($, O) => {
14280
- const N = parseInt($.id.replace(/\D/g, "")), z = parseInt(O.id.replace(/\D/g, ""));
14281
- return N - z;
14282
- })), S(/* @__PURE__ */ new Set());
14297
+ }), _ = l.filter((F) => !m.has(F.id));
14298
+ o(_), a((F) => [...F, ...P].sort(($, O) => {
14299
+ const V = parseInt($.id.replace(/\D/g, "")), z = parseInt(O.id.replace(/\D/g, ""));
14300
+ return V - z;
14301
+ })), k(/* @__PURE__ */ new Set());
14283
14302
  }
14284
14303
  e(l, n);
14285
- }, x = (k, P, T) => {
14286
- T((F) => {
14304
+ }, x = (S, P, _) => {
14305
+ _((F) => {
14287
14306
  const I = new Set(F);
14288
- return I.has(k) ? I.delete(k) : I.add(k), I;
14307
+ return I.has(S) ? I.delete(S) : I.add(S), I;
14289
14308
  });
14290
- }, y = (k, P, T) => (F) => {
14291
- const I = new Set(P), $ = k.filter((O) => !O.disabled);
14292
- F ? $.forEach((O) => I.add(O.id)) : $.forEach((O) => I.delete(O.id)), T(I);
14293
- }, g = (k, P, T, F) => {
14294
- const I = k.filter((H) => !H.disabled), $ = I.length > 0 && I.every((H) => P.has(H.id)), O = P.size, N = k.length, z = k.length === 0;
14309
+ }, y = (S, P, _) => (F) => {
14310
+ const I = new Set(P), $ = S.filter((O) => !O.disabled);
14311
+ F ? $.forEach((O) => I.add(O.id)) : $.forEach((O) => I.delete(O.id)), _(I);
14312
+ }, g = (S, P, _, F) => {
14313
+ const I = S.filter((H) => !H.disabled), $ = I.length > 0 && I.every((H) => P.has(H.id)), O = P.size, V = S.length, z = S.length === 0;
14295
14314
  return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: `transfer-box ${i}`, children: [
14296
14315
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "transfer-box-header", children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "header-content", children: [
14297
14316
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "checkbox-wrapper", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -14299,7 +14318,7 @@ const v$2 = "5.1.7", fr$2 = 30, ip$2 = 25, op$2 = 69, w$2 = 600, h$2 = 600, nm$2
14299
14318
  {
14300
14319
  label: "",
14301
14320
  checked: $,
14302
- onChange: y(k, P, T),
14321
+ onChange: y(S, P, _),
14303
14322
  disabled: z
14304
14323
  }
14305
14324
  ) }),
@@ -14308,18 +14327,18 @@ const v$2 = "5.1.7", fr$2 = 30, ip$2 = 25, op$2 = 69, w$2 = 600, h$2 = 600, nm$2
14308
14327
  /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "count-text", children: [
14309
14328
  O,
14310
14329
  "/",
14311
- N,
14330
+ V,
14312
14331
  " selected"
14313
14332
  ] })
14314
14333
  ] })
14315
14334
  ] }) }),
14316
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "transfer-items", children: k.map((H) => /* @__PURE__ */ jsxRuntimeExports.jsx(
14335
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "transfer-items", children: S.map((H) => /* @__PURE__ */ jsxRuntimeExports.jsx(
14317
14336
  TransferItem,
14318
14337
  {
14319
14338
  label: H.label,
14320
14339
  checked: P.has(H.id),
14321
14340
  disabled: H.disabled,
14322
- onChange: () => x(H.id, P, T)
14341
+ onChange: () => x(H.id, P, _)
14323
14342
  },
14324
14343
  H.id
14325
14344
  )) })
@@ -14350,7 +14369,7 @@ const v$2 = "5.1.7", fr$2 = 30, ip$2 = 25, op$2 = 69, w$2 = 600, h$2 = 600, nm$2
14350
14369
  }
14351
14370
  )
14352
14371
  ] }),
14353
- g(l, m, S, "Chosen")
14372
+ g(l, m, k, "Chosen")
14354
14373
  ] });
14355
14374
  };
14356
14375
  export {